remove node_modules
This commit is contained in:
parent
79b04c376d
commit
d66cc53c73
159 changed files with 0 additions and 17496 deletions
2
node_modules/buffertools/.mailmap
generated
vendored
2
node_modules/buffertools/.mailmap
generated
vendored
|
@ -1,2 +0,0 @@
|
|||
# update AUTHORS with:
|
||||
# git log --all --reverse --format='%aN <%aE>' | perl -ne 'BEGIN{print "# Authors ordered by first contribution.\n"} print unless $h{$_}; $h{$_} = 1' > AUTHORS
|
1
node_modules/buffertools/.npmignore
generated
vendored
1
node_modules/buffertools/.npmignore
generated
vendored
|
@ -1 +0,0 @@
|
|||
buffertools.node
|
4
node_modules/buffertools/AUTHORS
generated
vendored
4
node_modules/buffertools/AUTHORS
generated
vendored
|
@ -1,4 +0,0 @@
|
|||
# Authors ordered by first contribution.
|
||||
Ben Noordhuis <info@bnoordhuis.nl>
|
||||
Nathan Rajlich <nathan@tootallnate.net>
|
||||
Stefan Thomas <justmoon@members.fsf.org>
|
127
node_modules/buffertools/BoyerMoore.h
generated
vendored
127
node_modules/buffertools/BoyerMoore.h
generated
vendored
|
@ -1,127 +0,0 @@
|
|||
/* adapted from http://en.wikipedia.org/wiki/Boyer–Moore_string_search_algorithm */
|
||||
#ifndef BOYER_MOORE_H
|
||||
#define BOYER_MOORE_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include <limits.h>
|
||||
#include <string.h>
|
||||
|
||||
#define ALPHABET_SIZE (1 << CHAR_BIT)
|
||||
|
||||
static void compute_prefix(const uint8_t* str, size_t size, int result[]) {
|
||||
size_t q;
|
||||
int k;
|
||||
result[0] = 0;
|
||||
|
||||
k = 0;
|
||||
for (q = 1; q < size; q++) {
|
||||
while (k > 0 && str[k] != str[q])
|
||||
k = result[k-1];
|
||||
|
||||
if (str[k] == str[q])
|
||||
k++;
|
||||
|
||||
result[q] = k;
|
||||
}
|
||||
}
|
||||
|
||||
static void prepare_badcharacter_heuristic(const uint8_t *str, size_t size, int result[ALPHABET_SIZE]) {
|
||||
size_t i;
|
||||
|
||||
for (i = 0; i < ALPHABET_SIZE; i++)
|
||||
result[i] = -1;
|
||||
|
||||
for (i = 0; i < size; i++)
|
||||
result[str[i]] = i;
|
||||
}
|
||||
|
||||
void prepare_goodsuffix_heuristic(const uint8_t *normal, const size_t size, int result[]) {
|
||||
const uint8_t *left = normal;
|
||||
const uint8_t *right = left + size;
|
||||
uint8_t * reversed = new uint8_t[size+1];
|
||||
uint8_t *tmp = reversed + size;
|
||||
size_t i;
|
||||
|
||||
/* reverse string */
|
||||
*tmp = 0;
|
||||
while (left < right)
|
||||
*(--tmp) = *(left++);
|
||||
|
||||
int * prefix_normal = new int[size];
|
||||
int * prefix_reversed = new int[size];
|
||||
|
||||
compute_prefix(normal, size, prefix_normal);
|
||||
compute_prefix(reversed, size, prefix_reversed);
|
||||
|
||||
for (i = 0; i <= size; i++) {
|
||||
result[i] = size - prefix_normal[size-1];
|
||||
}
|
||||
|
||||
for (i = 0; i < size; i++) {
|
||||
const int j = size - prefix_reversed[i];
|
||||
const int k = i - prefix_reversed[i]+1;
|
||||
|
||||
if (result[j] > k)
|
||||
result[j] = k;
|
||||
}
|
||||
|
||||
delete[] reversed;
|
||||
delete[] prefix_normal;
|
||||
delete[] prefix_reversed;
|
||||
}
|
||||
|
||||
/*
|
||||
* Boyer-Moore search algorithm
|
||||
*/
|
||||
const uint8_t *boyermoore_search(const uint8_t *haystack, size_t haystack_len, const uint8_t *needle, size_t needle_len) {
|
||||
/*
|
||||
* Simple checks
|
||||
*/
|
||||
if(haystack_len == 0)
|
||||
return NULL;
|
||||
if(needle_len == 0)
|
||||
return NULL;
|
||||
if(needle_len > haystack_len)
|
||||
return NULL;
|
||||
|
||||
/*
|
||||
* Initialize heuristics
|
||||
*/
|
||||
int badcharacter[ALPHABET_SIZE];
|
||||
int * goodsuffix = new int[needle_len+1];
|
||||
|
||||
prepare_badcharacter_heuristic(needle, needle_len, badcharacter);
|
||||
prepare_goodsuffix_heuristic(needle, needle_len, goodsuffix);
|
||||
|
||||
/*
|
||||
* Boyer-Moore search
|
||||
*/
|
||||
size_t s = 0;
|
||||
while(s <= (haystack_len - needle_len))
|
||||
{
|
||||
size_t j = needle_len;
|
||||
while(j > 0 && needle[j-1] == haystack[s+j-1])
|
||||
j--;
|
||||
|
||||
if(j > 0)
|
||||
{
|
||||
int k = badcharacter[haystack[s+j-1]];
|
||||
int m;
|
||||
if(k < (int)j && (m = j-k-1) > goodsuffix[j])
|
||||
s+= m;
|
||||
else
|
||||
s+= goodsuffix[j];
|
||||
}
|
||||
else
|
||||
{
|
||||
delete[] goodsuffix;
|
||||
return haystack + s;
|
||||
}
|
||||
}
|
||||
|
||||
delete[] goodsuffix;
|
||||
/* not found */
|
||||
return NULL;
|
||||
}
|
||||
|
||||
#endif /* BoyerMoore.h */
|
119
node_modules/buffertools/README.md
generated
vendored
119
node_modules/buffertools/README.md
generated
vendored
|
@ -1,119 +0,0 @@
|
|||
# node-buffertools
|
||||
|
||||
Utilities for manipulating buffers.
|
||||
|
||||
## Installing the module
|
||||
|
||||
Easy! With [npm](http://npmjs.org/):
|
||||
|
||||
npm install buffertools
|
||||
|
||||
From source:
|
||||
|
||||
node-gyp configure
|
||||
node-gyp build
|
||||
|
||||
Now you can include the module in your project.
|
||||
|
||||
require('buffertools');
|
||||
new Buffer(42).clear();
|
||||
|
||||
## Methods
|
||||
|
||||
Note that most methods that take a buffer as an argument, will also accept a string.
|
||||
|
||||
### Buffer.clear()
|
||||
|
||||
Clear the buffer. This is equivalent to `Buffer.fill(0)`.
|
||||
Returns the buffer object so you can chain method calls.
|
||||
|
||||
### Buffer.compare(buffer|string)
|
||||
|
||||
Lexicographically compare two buffers. Returns a number less than zero
|
||||
if a < b, zero if a == b or greater than zero if a > b.
|
||||
|
||||
Buffers are considered equal when they are of the same length and contain
|
||||
the same binary data.
|
||||
|
||||
Smaller buffers are considered to be less than larger ones. Some buffers
|
||||
find this hurtful.
|
||||
|
||||
### Buffer.concat(a, b, c, ...)
|
||||
### buffertools.concat(a, b, c, ...)
|
||||
|
||||
Concatenate two or more buffers/strings and return the result. Example:
|
||||
|
||||
// identical to new Buffer('foobarbaz')
|
||||
a = new Buffer('foo');
|
||||
b = new Buffer('bar');
|
||||
c = a.concat(b, 'baz');
|
||||
console.log(a, b, c); // "foo bar foobarbaz"
|
||||
|
||||
// static variant
|
||||
buffertools.concat('foo', new Buffer('bar'), 'baz');
|
||||
|
||||
### Buffer.equals(buffer|string)
|
||||
|
||||
Returns true if this buffer equals the argument, false otherwise.
|
||||
|
||||
Buffers are considered equal when they are of the same length and contain
|
||||
the same binary data.
|
||||
|
||||
Caveat emptor: If your buffers contain strings with different character encodings,
|
||||
they will most likely *not* be equal.
|
||||
|
||||
### Buffer.fill(integer|string|buffer)
|
||||
|
||||
Fill the buffer (repeatedly if necessary) with the argument.
|
||||
Returns the buffer object so you can chain method calls.
|
||||
|
||||
### Buffer.fromHex()
|
||||
|
||||
Assumes this buffer contains hexadecimal data (packed, no whitespace)
|
||||
and decodes it into binary data. Returns a new buffer with the decoded
|
||||
content. Throws an exception if non-hexadecimal data is encountered.
|
||||
|
||||
### Buffer.indexOf(buffer|string, [start=0])
|
||||
|
||||
Search this buffer for the first occurrence of the argument, starting at
|
||||
offset `start`. Returns the zero-based index or -1 if there is no match.
|
||||
|
||||
### Buffer.reverse()
|
||||
|
||||
Reverse the content of the buffer in place. Example:
|
||||
|
||||
b = new Buffer('live');
|
||||
b.reverse();
|
||||
console.log(b); // "evil"
|
||||
|
||||
### Buffer.toHex()
|
||||
|
||||
Returns the contents of this buffer encoded as a hexadecimal string.
|
||||
|
||||
## Classes
|
||||
|
||||
Singular, actually. To wit:
|
||||
|
||||
## WritableBufferStream
|
||||
|
||||
This is a regular node.js [writable stream](http://nodejs.org/docs/v0.3.4/api/streams.html#writable_Stream)
|
||||
that accumulates the data it receives into a buffer.
|
||||
|
||||
Example usage:
|
||||
|
||||
// slurp stdin into a buffer
|
||||
process.stdin.resume();
|
||||
ostream = new WritableBufferStream();
|
||||
util.pump(process.stdin, ostream);
|
||||
console.log(ostream.getBuffer());
|
||||
|
||||
The stream never emits 'error' or 'drain' events.
|
||||
|
||||
### WritableBufferStream.getBuffer()
|
||||
|
||||
Return the data accumulated so far as a buffer.
|
||||
|
||||
## TODO
|
||||
|
||||
* Logical operations on buffers (AND, OR, XOR).
|
||||
* Add lastIndexOf() functions.
|
8
node_modules/buffertools/binding.gyp
generated
vendored
8
node_modules/buffertools/binding.gyp
generated
vendored
|
@ -1,8 +0,0 @@
|
|||
{
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'buffertools',
|
||||
'sources': [ 'buffertools.cc' ]
|
||||
}
|
||||
]
|
||||
}
|
350
node_modules/buffertools/buffertools.cc
generated
vendored
350
node_modules/buffertools/buffertools.cc
generated
vendored
|
@ -1,350 +0,0 @@
|
|||
#include <v8.h>
|
||||
#include <node.h>
|
||||
#include <node_buffer.h>
|
||||
|
||||
#include <stdint.h>
|
||||
#include <sstream>
|
||||
#include <cstring>
|
||||
#include <string>
|
||||
|
||||
#include "BoyerMoore.h"
|
||||
|
||||
using namespace v8;
|
||||
using namespace node;
|
||||
|
||||
namespace {
|
||||
|
||||
// this is an application of the Curiously Recurring Template Pattern
|
||||
template <class Derived> struct UnaryAction {
|
||||
Handle<Value> apply(Handle<Object>& buffer, const Arguments& args, HandleScope& scope);
|
||||
|
||||
Handle<Value> operator()(const Arguments& args) {
|
||||
HandleScope scope;
|
||||
|
||||
Local<Object> self = args.This();
|
||||
if (!Buffer::HasInstance(self)) {
|
||||
return ThrowException(Exception::TypeError(String::New(
|
||||
"Argument should be a buffer object.")));
|
||||
}
|
||||
|
||||
return static_cast<Derived*>(this)->apply(self, args, scope);
|
||||
}
|
||||
};
|
||||
|
||||
template <class Derived> struct BinaryAction {
|
||||
Handle<Value> apply(Handle<Object>& buffer, const uint8_t* data, size_t size, const Arguments& args, HandleScope& scope);
|
||||
|
||||
Handle<Value> operator()(const Arguments& args) {
|
||||
HandleScope scope;
|
||||
|
||||
Local<Object> self = args.This();
|
||||
if (!Buffer::HasInstance(self)) {
|
||||
return ThrowException(Exception::TypeError(String::New(
|
||||
"Argument should be a buffer object.")));
|
||||
}
|
||||
|
||||
if (args[0]->IsString()) {
|
||||
String::Utf8Value s(args[0]->ToString());
|
||||
return static_cast<Derived*>(this)->apply(self, (uint8_t*) *s, s.length(), args, scope);
|
||||
}
|
||||
if (Buffer::HasInstance(args[0])) {
|
||||
Local<Object> other = args[0]->ToObject();
|
||||
return static_cast<Derived*>(this)->apply(
|
||||
self, (const uint8_t*) Buffer::Data(other), Buffer::Length(other), args, scope);
|
||||
}
|
||||
|
||||
static Persistent<String> illegalArgumentException = Persistent<String>::New(String::New(
|
||||
"Second argument must be a string or a buffer."));
|
||||
return ThrowException(Exception::TypeError(illegalArgumentException));
|
||||
}
|
||||
};
|
||||
|
||||
//
|
||||
// helper functions
|
||||
//
|
||||
Handle<Value> clear(Handle<Object>& buffer, int c) {
|
||||
size_t length = Buffer::Length(buffer);
|
||||
uint8_t* data = (uint8_t*) Buffer::Data(buffer);
|
||||
memset(data, c, length);
|
||||
return buffer;
|
||||
}
|
||||
|
||||
Handle<Value> fill(Handle<Object>& buffer, void* pattern, size_t size) {
|
||||
size_t length = Buffer::Length(buffer);
|
||||
uint8_t* data = (uint8_t*) Buffer::Data(buffer);
|
||||
|
||||
if (size >= length) {
|
||||
memcpy(data, pattern, length);
|
||||
} else {
|
||||
const int n_copies = length / size;
|
||||
const int remainder = length % size;
|
||||
for (int i = 0; i < n_copies; i++) {
|
||||
memcpy(data + size * i, pattern, size);
|
||||
}
|
||||
memcpy(data + size * n_copies, pattern, remainder);
|
||||
}
|
||||
|
||||
return buffer;
|
||||
}
|
||||
|
||||
int compare(Handle<Object>& buffer, const uint8_t* data2, size_t length2) {
|
||||
size_t length = Buffer::Length(buffer);
|
||||
if (length != length2) {
|
||||
return length > length2 ? 1 : -1;
|
||||
}
|
||||
|
||||
const uint8_t* data = (const uint8_t*) Buffer::Data(buffer);
|
||||
return memcmp(data, data2, length);
|
||||
}
|
||||
|
||||
//
|
||||
// actions
|
||||
//
|
||||
struct ClearAction: UnaryAction<ClearAction> {
|
||||
Handle<Value> apply(Handle<Object>& buffer, const Arguments& args, HandleScope& scope) {
|
||||
return clear(buffer, 0);
|
||||
}
|
||||
};
|
||||
|
||||
struct FillAction: UnaryAction<FillAction> {
|
||||
Handle<Value> apply(Handle<Object>& buffer, const Arguments& args, HandleScope& scope) {
|
||||
if (args[0]->IsInt32()) {
|
||||
int c = args[0]->ToInt32()->Int32Value();
|
||||
return clear(buffer, c);
|
||||
}
|
||||
|
||||
if (args[0]->IsString()) {
|
||||
String::Utf8Value s(args[0]->ToString());
|
||||
return fill(buffer, *s, s.length());
|
||||
}
|
||||
|
||||
if (Buffer::HasInstance(args[0])) {
|
||||
Handle<Object> other = args[0]->ToObject();
|
||||
size_t length = Buffer::Length(other);
|
||||
uint8_t* data = (uint8_t*) Buffer::Data(other);
|
||||
return fill(buffer, data, length);
|
||||
}
|
||||
|
||||
static Persistent<String> illegalArgumentException = Persistent<String>::New(String::New(
|
||||
"Second argument should be either a string, a buffer or an integer."));
|
||||
return ThrowException(Exception::TypeError(illegalArgumentException));
|
||||
}
|
||||
};
|
||||
|
||||
struct ReverseAction: UnaryAction<ReverseAction> {
|
||||
// O(n/2) for all cases which is okay, might be optimized some more with whole-word swaps
|
||||
// XXX won't this trash the L1 cache something awful?
|
||||
Handle<Value> apply(Handle<Object>& buffer, const Arguments& args, HandleScope& scope) {
|
||||
uint8_t* head = (uint8_t*) Buffer::Data(buffer);
|
||||
uint8_t* tail = head + Buffer::Length(buffer) - 1;
|
||||
|
||||
// xor swap, just because I can
|
||||
while (head < tail) *head ^= *tail, *tail ^= *head, *head ^= *tail, ++head, --tail;
|
||||
|
||||
return buffer;
|
||||
}
|
||||
};
|
||||
|
||||
struct EqualsAction: BinaryAction<EqualsAction> {
|
||||
Handle<Value> apply(Handle<Object>& buffer, const uint8_t* data, size_t size, const Arguments& args, HandleScope& scope) {
|
||||
return compare(buffer, data, size) == 0 ? True() : False();
|
||||
}
|
||||
};
|
||||
|
||||
struct CompareAction: BinaryAction<CompareAction> {
|
||||
Handle<Value> apply(Handle<Object>& buffer, const uint8_t* data, size_t size, const Arguments& args, HandleScope& scope) {
|
||||
return scope.Close(Integer::New(compare(buffer, data, size)));
|
||||
}
|
||||
};
|
||||
|
||||
struct IndexOfAction: BinaryAction<IndexOfAction> {
|
||||
Handle<Value> apply(Handle<Object>& buffer, const uint8_t* data2, size_t size2, const Arguments& args, HandleScope& scope) {
|
||||
const uint8_t* data = (const uint8_t*) Buffer::Data(buffer);
|
||||
const size_t size = Buffer::Length(buffer);
|
||||
|
||||
int32_t start = args[1]->Int32Value();
|
||||
|
||||
if (start < 0)
|
||||
start = size - std::min<size_t>(size, -start);
|
||||
else if (static_cast<size_t>(start) > size)
|
||||
start = size;
|
||||
|
||||
const uint8_t* p = boyermoore_search(
|
||||
data + start, size - start, data2, size2);
|
||||
|
||||
const ptrdiff_t offset = p ? (p - data) : -1;
|
||||
return scope.Close(Integer::New(offset));
|
||||
}
|
||||
};
|
||||
|
||||
static char toHexTable[] = "0123456789abcdef";
|
||||
|
||||
// CHECKME is this cache efficient?
|
||||
static char fromHexTable[] = {
|
||||
-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,
|
||||
-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,-1,-1,-1,-1,-1,-1,-1,
|
||||
10,11,12,13,14,15,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,
|
||||
10,11,12,13,14,15,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,
|
||||
-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,
|
||||
-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,
|
||||
-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,
|
||||
-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
|
||||
};
|
||||
|
||||
inline Handle<Value> decodeHex(const uint8_t* const data, const size_t size, const Arguments& args, HandleScope& scope) {
|
||||
if (size & 1) {
|
||||
return ThrowException(Exception::Error(String::New(
|
||||
"Odd string length, this is not hexadecimal data.")));
|
||||
}
|
||||
|
||||
if (size == 0) {
|
||||
return String::Empty();
|
||||
}
|
||||
|
||||
Handle<Object>& buffer = Buffer::New(size / 2)->handle_;
|
||||
|
||||
uint8_t *src = (uint8_t *) data;
|
||||
uint8_t *dst = (uint8_t *) (const uint8_t*) Buffer::Data(buffer);
|
||||
|
||||
for (size_t i = 0; i < size; i += 2) {
|
||||
int a = fromHexTable[*src++];
|
||||
int b = fromHexTable[*src++];
|
||||
|
||||
if (a == -1 || b == -1) {
|
||||
return ThrowException(Exception::Error(String::New(
|
||||
"This is not hexadecimal data.")));
|
||||
}
|
||||
|
||||
*dst++ = b | (a << 4);
|
||||
}
|
||||
|
||||
return buffer;
|
||||
}
|
||||
|
||||
struct FromHexAction: UnaryAction<FromHexAction> {
|
||||
Handle<Value> apply(Handle<Object>& buffer, const Arguments& args, HandleScope& scope) {
|
||||
const uint8_t* data = (const uint8_t*) Buffer::Data(buffer);
|
||||
size_t length = Buffer::Length(buffer);
|
||||
return decodeHex(data, length, args, scope);
|
||||
}
|
||||
};
|
||||
|
||||
struct ToHexAction: UnaryAction<ToHexAction> {
|
||||
Handle<Value> apply(Handle<Object>& buffer, const Arguments& args, HandleScope& scope) {
|
||||
const size_t size = Buffer::Length(buffer);
|
||||
const uint8_t* data = (const uint8_t*) Buffer::Data(buffer);
|
||||
|
||||
if (size == 0) {
|
||||
return String::Empty();
|
||||
}
|
||||
|
||||
std::string s(size * 2, 0);
|
||||
for (size_t i = 0; i < size; ++i) {
|
||||
const uint8_t c = (uint8_t) data[i];
|
||||
s[i * 2] = toHexTable[c >> 4];
|
||||
s[i * 2 + 1] = toHexTable[c & 15];
|
||||
}
|
||||
|
||||
return scope.Close(String::New(s.c_str(), s.size()));
|
||||
}
|
||||
};
|
||||
|
||||
//
|
||||
// V8 function callbacks
|
||||
//
|
||||
Handle<Value> Clear(const Arguments& args) {
|
||||
return ClearAction()(args);
|
||||
}
|
||||
|
||||
Handle<Value> Fill(const Arguments& args) {
|
||||
return FillAction()(args);
|
||||
}
|
||||
|
||||
Handle<Value> Reverse(const Arguments& args) {
|
||||
return ReverseAction()(args);
|
||||
}
|
||||
|
||||
Handle<Value> Equals(const Arguments& args) {
|
||||
return EqualsAction()(args);
|
||||
}
|
||||
|
||||
Handle<Value> Compare(const Arguments& args) {
|
||||
return CompareAction()(args);
|
||||
}
|
||||
|
||||
Handle<Value> IndexOf(const Arguments& args) {
|
||||
return IndexOfAction()(args);
|
||||
}
|
||||
|
||||
Handle<Value> FromHex(const Arguments& args) {
|
||||
return FromHexAction()(args);
|
||||
}
|
||||
|
||||
Handle<Value> ToHex(const Arguments& args) {
|
||||
return ToHexAction()(args);
|
||||
}
|
||||
|
||||
Handle<Value> Concat(const Arguments& args) {
|
||||
HandleScope scope;
|
||||
|
||||
size_t size = 0;
|
||||
for (int index = 0, length = args.Length(); index < length; ++index) {
|
||||
Local<Value> arg = args[index];
|
||||
if (arg->IsString()) {
|
||||
// Utf8Length() because we need the length in bytes, not characters
|
||||
size += arg->ToString()->Utf8Length();
|
||||
}
|
||||
else if (Buffer::HasInstance(arg)) {
|
||||
size += Buffer::Length(arg->ToObject());
|
||||
}
|
||||
else {
|
||||
std::stringstream s;
|
||||
s << "Argument #" << index << " is neither a string nor a buffer object.";
|
||||
return ThrowException(
|
||||
Exception::TypeError(
|
||||
String::New(s.str().c_str())));
|
||||
}
|
||||
}
|
||||
|
||||
Buffer& dst = *Buffer::New(size);
|
||||
uint8_t* s = (uint8_t*) Buffer::Data(dst.handle_);
|
||||
|
||||
for (int index = 0, length = args.Length(); index < length; ++index) {
|
||||
Local<Value> arg = args[index];
|
||||
if (arg->IsString()) {
|
||||
String::Utf8Value v(arg->ToString());
|
||||
memcpy(s, *v, v.length());
|
||||
s += v.length();
|
||||
}
|
||||
else if (Buffer::HasInstance(arg)) {
|
||||
Local<Object> b = arg->ToObject();
|
||||
const uint8_t* data = (const uint8_t*) Buffer::Data(b);
|
||||
size_t length = Buffer::Length(b);
|
||||
memcpy(s, data, length);
|
||||
s += length;
|
||||
}
|
||||
else {
|
||||
return ThrowException(Exception::Error(String::New(
|
||||
"Congratulations! You have run into a bug: argument is neither a string nor a buffer object. "
|
||||
"Please make the world a better place and report it.")));
|
||||
}
|
||||
}
|
||||
|
||||
return scope.Close(dst.handle_);
|
||||
}
|
||||
|
||||
void RegisterModule(Handle<Object> target) {
|
||||
target->Set(String::NewSymbol("concat"), FunctionTemplate::New(Concat)->GetFunction());
|
||||
target->Set(String::NewSymbol("fill"), FunctionTemplate::New(Fill)->GetFunction());
|
||||
target->Set(String::NewSymbol("clear"), FunctionTemplate::New(Clear)->GetFunction());
|
||||
target->Set(String::NewSymbol("reverse"), FunctionTemplate::New(Reverse)->GetFunction());
|
||||
target->Set(String::NewSymbol("equals"), FunctionTemplate::New(Equals)->GetFunction());
|
||||
target->Set(String::NewSymbol("compare"), FunctionTemplate::New(Compare)->GetFunction());
|
||||
target->Set(String::NewSymbol("indexOf"), FunctionTemplate::New(IndexOf)->GetFunction());
|
||||
target->Set(String::NewSymbol("fromHex"), FunctionTemplate::New(FromHex)->GetFunction());
|
||||
target->Set(String::NewSymbol("toHex"), FunctionTemplate::New(ToHex)->GetFunction());
|
||||
}
|
||||
|
||||
} // anonymous namespace
|
||||
|
||||
NODE_MODULE(buffertools, RegisterModule)
|
90
node_modules/buffertools/buffertools.js
generated
vendored
90
node_modules/buffertools/buffertools.js
generated
vendored
|
@ -1,90 +0,0 @@
|
|||
buffertools = require('./build/Release/buffertools.node');
|
||||
SlowBuffer = require('buffer').SlowBuffer;
|
||||
Buffer = require('buffer').Buffer;
|
||||
|
||||
// requires node 3.1
|
||||
events = require('events');
|
||||
util = require('util');
|
||||
|
||||
// extend object prototypes
|
||||
for (var key in buffertools) {
|
||||
var val = buffertools[key];
|
||||
SlowBuffer.prototype[key] = val;
|
||||
Buffer.prototype[key] = val;
|
||||
exports[key] = val;
|
||||
}
|
||||
|
||||
// bug fix, see https://github.com/bnoordhuis/node-buffertools/issues/#issue/6
|
||||
Buffer.prototype.concat = SlowBuffer.prototype.concat = function() {
|
||||
var args = [this].concat(Array.prototype.slice.call(arguments));
|
||||
return buffertools.concat.apply(buffertools, args);
|
||||
};
|
||||
|
||||
//
|
||||
// WritableBufferStream
|
||||
//
|
||||
// - never emits 'error'
|
||||
// - never emits 'drain'
|
||||
//
|
||||
function WritableBufferStream() {
|
||||
this.writable = true;
|
||||
this.buffer = null;
|
||||
}
|
||||
|
||||
util.inherits(WritableBufferStream, events.EventEmitter);
|
||||
|
||||
WritableBufferStream.prototype._append = function(buffer, encoding) {
|
||||
if (!this.writable) {
|
||||
throw new Error('Stream is not writable.');
|
||||
}
|
||||
|
||||
if (Buffer.isBuffer(buffer)) {
|
||||
// no action required
|
||||
}
|
||||
else if (typeof buffer == 'string') {
|
||||
// TODO optimize
|
||||
buffer = new Buffer(buffer, encoding || 'utf8');
|
||||
}
|
||||
else {
|
||||
throw new Error('Argument should be either a buffer or a string.');
|
||||
}
|
||||
|
||||
// FIXME optimize!
|
||||
if (this.buffer) {
|
||||
this.buffer = buffertools.concat(this.buffer, buffer);
|
||||
}
|
||||
else {
|
||||
this.buffer = new Buffer(buffer.length);
|
||||
buffer.copy(this.buffer);
|
||||
}
|
||||
};
|
||||
|
||||
WritableBufferStream.prototype.write = function(buffer, encoding) {
|
||||
this._append(buffer, encoding);
|
||||
|
||||
// signal that it's safe to immediately write again
|
||||
return true;
|
||||
};
|
||||
|
||||
WritableBufferStream.prototype.end = function(buffer, encoding) {
|
||||
if (buffer) {
|
||||
this._append(buffer, encoding);
|
||||
}
|
||||
|
||||
this.emit('close');
|
||||
|
||||
this.writable = false;
|
||||
};
|
||||
|
||||
WritableBufferStream.prototype.getBuffer = function() {
|
||||
if (this.buffer) {
|
||||
return this.buffer;
|
||||
}
|
||||
return new Buffer(0);
|
||||
};
|
||||
|
||||
WritableBufferStream.prototype.toString = function() {
|
||||
return this.getBuffer().toString();
|
||||
};
|
||||
|
||||
exports.WritableBufferStream = WritableBufferStream;
|
334
node_modules/buffertools/build/Makefile
generated
vendored
334
node_modules/buffertools/build/Makefile
generated
vendored
|
@ -1,334 +0,0 @@
|
|||
# We borrow heavily from the kernel build setup, though we are simpler since
|
||||
# we don't have Kconfig tweaking settings on us.
|
||||
|
||||
# The implicit make rules have it looking for RCS files, among other things.
|
||||
# We instead explicitly write all the rules we care about.
|
||||
# It's even quicker (saves ~200ms) to pass -r on the command line.
|
||||
MAKEFLAGS=-r
|
||||
|
||||
# The source directory tree.
|
||||
srcdir := ..
|
||||
abs_srcdir := $(abspath $(srcdir))
|
||||
|
||||
# The name of the builddir.
|
||||
builddir_name ?= .
|
||||
|
||||
# The V=1 flag on command line makes us verbosely print command lines.
|
||||
ifdef V
|
||||
quiet=
|
||||
else
|
||||
quiet=quiet_
|
||||
endif
|
||||
|
||||
# Specify BUILDTYPE=Release on the command line for a release build.
|
||||
BUILDTYPE ?= Release
|
||||
|
||||
# Directory all our build output goes into.
|
||||
# Note that this must be two directories beneath src/ for unit tests to pass,
|
||||
# as they reach into the src/ directory for data with relative paths.
|
||||
builddir ?= $(builddir_name)/$(BUILDTYPE)
|
||||
abs_builddir := $(abspath $(builddir))
|
||||
depsdir := $(builddir)/.deps
|
||||
|
||||
# Object output directory.
|
||||
obj := $(builddir)/obj
|
||||
abs_obj := $(abspath $(obj))
|
||||
|
||||
# We build up a list of every single one of the targets so we can slurp in the
|
||||
# generated dependency rule Makefiles in one pass.
|
||||
all_deps :=
|
||||
|
||||
|
||||
|
||||
# C++ apps need to be linked with g++.
|
||||
#
|
||||
# Note: flock is used to seralize linking. Linking is a memory-intensive
|
||||
# process so running parallel links can often lead to thrashing. To disable
|
||||
# the serialization, override LINK via an envrionment variable as follows:
|
||||
#
|
||||
# export LINK=g++
|
||||
#
|
||||
# This will allow make to invoke N linker processes as specified in -jN.
|
||||
LINK ?= flock $(builddir)/linker.lock $(CXX)
|
||||
|
||||
CC.target ?= $(CC)
|
||||
CFLAGS.target ?= $(CFLAGS)
|
||||
CXX.target ?= $(CXX)
|
||||
CXXFLAGS.target ?= $(CXXFLAGS)
|
||||
LINK.target ?= $(LINK)
|
||||
LDFLAGS.target ?= $(LDFLAGS)
|
||||
AR.target ?= $(AR)
|
||||
ARFLAGS.target ?= crsT
|
||||
|
||||
# N.B.: the logic of which commands to run should match the computation done
|
||||
# in gyp's make.py where ARFLAGS.host etc. is computed.
|
||||
# TODO(evan): move all cross-compilation logic to gyp-time so we don't need
|
||||
# to replicate this environment fallback in make as well.
|
||||
CC.host ?= gcc
|
||||
CFLAGS.host ?=
|
||||
CXX.host ?= g++
|
||||
CXXFLAGS.host ?=
|
||||
LINK.host ?= g++
|
||||
LDFLAGS.host ?=
|
||||
AR.host ?= ar
|
||||
ARFLAGS.host := crsT
|
||||
|
||||
# Define a dir function that can handle spaces.
|
||||
# http://www.gnu.org/software/make/manual/make.html#Syntax-of-Functions
|
||||
# "leading spaces cannot appear in the text of the first argument as written.
|
||||
# These characters can be put into the argument value by variable substitution."
|
||||
empty :=
|
||||
space := $(empty) $(empty)
|
||||
|
||||
# http://stackoverflow.com/questions/1189781/using-make-dir-or-notdir-on-a-path-with-spaces
|
||||
replace_spaces = $(subst $(space),?,$1)
|
||||
unreplace_spaces = $(subst ?,$(space),$1)
|
||||
dirx = $(call unreplace_spaces,$(dir $(call replace_spaces,$1)))
|
||||
|
||||
# Flags to make gcc output dependency info. Note that you need to be
|
||||
# careful here to use the flags that ccache and distcc can understand.
|
||||
# We write to a dep file on the side first and then rename at the end
|
||||
# so we can't end up with a broken dep file.
|
||||
depfile = $(depsdir)/$(call replace_spaces,$@).d
|
||||
DEPFLAGS = -MMD -MF $(depfile).raw
|
||||
|
||||
# We have to fixup the deps output in a few ways.
|
||||
# (1) the file output should mention the proper .o file.
|
||||
# ccache or distcc lose the path to the target, so we convert a rule of
|
||||
# the form:
|
||||
# foobar.o: DEP1 DEP2
|
||||
# into
|
||||
# path/to/foobar.o: DEP1 DEP2
|
||||
# (2) we want missing files not to cause us to fail to build.
|
||||
# We want to rewrite
|
||||
# foobar.o: DEP1 DEP2 \
|
||||
# DEP3
|
||||
# to
|
||||
# DEP1:
|
||||
# DEP2:
|
||||
# DEP3:
|
||||
# so if the files are missing, they're just considered phony rules.
|
||||
# We have to do some pretty insane escaping to get those backslashes
|
||||
# and dollar signs past make, the shell, and sed at the same time.
|
||||
# Doesn't work with spaces, but that's fine: .d files have spaces in
|
||||
# their names replaced with other characters.
|
||||
define fixup_dep
|
||||
# The depfile may not exist if the input file didn't have any #includes.
|
||||
touch $(depfile).raw
|
||||
# Fixup path as in (1).
|
||||
sed -e "s|^$(notdir $@)|$@|" $(depfile).raw >> $(depfile)
|
||||
# Add extra rules as in (2).
|
||||
# We remove slashes and replace spaces with new lines;
|
||||
# remove blank lines;
|
||||
# delete the first line and append a colon to the remaining lines.
|
||||
sed -e 's|\\||' -e 'y| |\n|' $(depfile).raw |\
|
||||
grep -v '^$$' |\
|
||||
sed -e 1d -e 's|$$|:|' \
|
||||
>> $(depfile)
|
||||
rm $(depfile).raw
|
||||
endef
|
||||
|
||||
# Command definitions:
|
||||
# - cmd_foo is the actual command to run;
|
||||
# - quiet_cmd_foo is the brief-output summary of the command.
|
||||
|
||||
quiet_cmd_cc = CC($(TOOLSET)) $@
|
||||
cmd_cc = $(CC.$(TOOLSET)) $(GYP_CFLAGS) $(DEPFLAGS) $(CFLAGS.$(TOOLSET)) -c -o $@ $<
|
||||
|
||||
quiet_cmd_cxx = CXX($(TOOLSET)) $@
|
||||
cmd_cxx = $(CXX.$(TOOLSET)) $(GYP_CXXFLAGS) $(DEPFLAGS) $(CXXFLAGS.$(TOOLSET)) -c -o $@ $<
|
||||
|
||||
quiet_cmd_touch = TOUCH $@
|
||||
cmd_touch = touch $@
|
||||
|
||||
quiet_cmd_copy = COPY $@
|
||||
# send stderr to /dev/null to ignore messages when linking directories.
|
||||
cmd_copy = ln -f "$<" "$@" 2>/dev/null || (rm -rf "$@" && cp -af "$<" "$@")
|
||||
|
||||
quiet_cmd_alink = AR($(TOOLSET)) $@
|
||||
cmd_alink = rm -f $@ && $(AR.$(TOOLSET)) $(ARFLAGS.$(TOOLSET)) $@ $(filter %.o,$^)
|
||||
|
||||
# Due to circular dependencies between libraries :(, we wrap the
|
||||
# special "figure out circular dependencies" flags around the entire
|
||||
# input list during linking.
|
||||
quiet_cmd_link = LINK($(TOOLSET)) $@
|
||||
cmd_link = $(LINK.$(TOOLSET)) $(GYP_LDFLAGS) $(LDFLAGS.$(TOOLSET)) -o $@ -Wl,--start-group $(LD_INPUTS) -Wl,--end-group $(LIBS)
|
||||
|
||||
# We support two kinds of shared objects (.so):
|
||||
# 1) shared_library, which is just bundling together many dependent libraries
|
||||
# into a link line.
|
||||
# 2) loadable_module, which is generating a module intended for dlopen().
|
||||
#
|
||||
# They differ only slightly:
|
||||
# In the former case, we want to package all dependent code into the .so.
|
||||
# In the latter case, we want to package just the API exposed by the
|
||||
# outermost module.
|
||||
# This means shared_library uses --whole-archive, while loadable_module doesn't.
|
||||
# (Note that --whole-archive is incompatible with the --start-group used in
|
||||
# normal linking.)
|
||||
|
||||
# Other shared-object link notes:
|
||||
# - Set SONAME to the library filename so our binaries don't reference
|
||||
# the local, absolute paths used on the link command-line.
|
||||
quiet_cmd_solink = SOLINK($(TOOLSET)) $@
|
||||
cmd_solink = $(LINK.$(TOOLSET)) -shared $(GYP_LDFLAGS) $(LDFLAGS.$(TOOLSET)) -Wl,-soname=$(@F) -o $@ -Wl,--whole-archive $(LD_INPUTS) -Wl,--no-whole-archive $(LIBS)
|
||||
|
||||
quiet_cmd_solink_module = SOLINK_MODULE($(TOOLSET)) $@
|
||||
cmd_solink_module = $(LINK.$(TOOLSET)) -shared $(GYP_LDFLAGS) $(LDFLAGS.$(TOOLSET)) -Wl,-soname=$(@F) -o $@ -Wl,--start-group $(filter-out FORCE_DO_CMD, $^) -Wl,--end-group $(LIBS)
|
||||
|
||||
|
||||
# Define an escape_quotes function to escape single quotes.
|
||||
# This allows us to handle quotes properly as long as we always use
|
||||
# use single quotes and escape_quotes.
|
||||
escape_quotes = $(subst ','\'',$(1))
|
||||
# This comment is here just to include a ' to unconfuse syntax highlighting.
|
||||
# Define an escape_vars function to escape '$' variable syntax.
|
||||
# This allows us to read/write command lines with shell variables (e.g.
|
||||
# $LD_LIBRARY_PATH), without triggering make substitution.
|
||||
escape_vars = $(subst $$,$$$$,$(1))
|
||||
# Helper that expands to a shell command to echo a string exactly as it is in
|
||||
# make. This uses printf instead of echo because printf's behaviour with respect
|
||||
# to escape sequences is more portable than echo's across different shells
|
||||
# (e.g., dash, bash).
|
||||
exact_echo = printf '%s\n' '$(call escape_quotes,$(1))'
|
||||
|
||||
# Helper to compare the command we're about to run against the command
|
||||
# we logged the last time we ran the command. Produces an empty
|
||||
# string (false) when the commands match.
|
||||
# Tricky point: Make has no string-equality test function.
|
||||
# The kernel uses the following, but it seems like it would have false
|
||||
# positives, where one string reordered its arguments.
|
||||
# arg_check = $(strip $(filter-out $(cmd_$(1)), $(cmd_$@)) \
|
||||
# $(filter-out $(cmd_$@), $(cmd_$(1))))
|
||||
# We instead substitute each for the empty string into the other, and
|
||||
# say they're equal if both substitutions produce the empty string.
|
||||
# .d files contain ? instead of spaces, take that into account.
|
||||
command_changed = $(or $(subst $(cmd_$(1)),,$(cmd_$(call replace_spaces,$@))),\
|
||||
$(subst $(cmd_$(call replace_spaces,$@)),,$(cmd_$(1))))
|
||||
|
||||
# Helper that is non-empty when a prerequisite changes.
|
||||
# Normally make does this implicitly, but we force rules to always run
|
||||
# so we can check their command lines.
|
||||
# $? -- new prerequisites
|
||||
# $| -- order-only dependencies
|
||||
prereq_changed = $(filter-out FORCE_DO_CMD,$(filter-out $|,$?))
|
||||
|
||||
# Helper that executes all postbuilds, and deletes the output file when done
|
||||
# if any of the postbuilds failed.
|
||||
define do_postbuilds
|
||||
@E=0;\
|
||||
for p in $(POSTBUILDS); do\
|
||||
eval $$p;\
|
||||
F=$$?;\
|
||||
if [ $$F -ne 0 ]; then\
|
||||
E=$$F;\
|
||||
fi;\
|
||||
done;\
|
||||
if [ $$E -ne 0 ]; then\
|
||||
rm -rf "$@";\
|
||||
exit $$E;\
|
||||
fi
|
||||
endef
|
||||
|
||||
# do_cmd: run a command via the above cmd_foo names, if necessary.
|
||||
# Should always run for a given target to handle command-line changes.
|
||||
# Second argument, if non-zero, makes it do asm/C/C++ dependency munging.
|
||||
# Third argument, if non-zero, makes it do POSTBUILDS processing.
|
||||
# Note: We intentionally do NOT call dirx for depfile, since it contains ? for
|
||||
# spaces already and dirx strips the ? characters.
|
||||
define do_cmd
|
||||
$(if $(or $(command_changed),$(prereq_changed)),
|
||||
@$(call exact_echo, $($(quiet)cmd_$(1)))
|
||||
@mkdir -p "$(call dirx,$@)" "$(dir $(depfile))"
|
||||
$(if $(findstring flock,$(word 1,$(cmd_$1))),
|
||||
@$(cmd_$(1))
|
||||
@echo " $(quiet_cmd_$(1)): Finished",
|
||||
@$(cmd_$(1))
|
||||
)
|
||||
@$(call exact_echo,$(call escape_vars,cmd_$(call replace_spaces,$@) := $(cmd_$(1)))) > $(depfile)
|
||||
@$(if $(2),$(fixup_dep))
|
||||
$(if $(and $(3), $(POSTBUILDS)),
|
||||
$(call do_postbuilds)
|
||||
)
|
||||
)
|
||||
endef
|
||||
|
||||
# Declare the "all" target first so it is the default,
|
||||
# even though we don't have the deps yet.
|
||||
.PHONY: all
|
||||
all:
|
||||
|
||||
# make looks for ways to re-generate included makefiles, but in our case, we
|
||||
# don't have a direct way. Explicitly telling make that it has nothing to do
|
||||
# for them makes it go faster.
|
||||
%.d: ;
|
||||
|
||||
# Use FORCE_DO_CMD to force a target to run. Should be coupled with
|
||||
# do_cmd.
|
||||
.PHONY: FORCE_DO_CMD
|
||||
FORCE_DO_CMD:
|
||||
|
||||
TOOLSET := target
|
||||
# Suffix rules, putting all outputs into $(obj).
|
||||
$(obj).$(TOOLSET)/%.o: $(srcdir)/%.c FORCE_DO_CMD
|
||||
@$(call do_cmd,cc,1)
|
||||
$(obj).$(TOOLSET)/%.o: $(srcdir)/%.cc FORCE_DO_CMD
|
||||
@$(call do_cmd,cxx,1)
|
||||
$(obj).$(TOOLSET)/%.o: $(srcdir)/%.cpp FORCE_DO_CMD
|
||||
@$(call do_cmd,cxx,1)
|
||||
$(obj).$(TOOLSET)/%.o: $(srcdir)/%.cxx FORCE_DO_CMD
|
||||
@$(call do_cmd,cxx,1)
|
||||
$(obj).$(TOOLSET)/%.o: $(srcdir)/%.S FORCE_DO_CMD
|
||||
@$(call do_cmd,cc,1)
|
||||
$(obj).$(TOOLSET)/%.o: $(srcdir)/%.s FORCE_DO_CMD
|
||||
@$(call do_cmd,cc,1)
|
||||
|
||||
# Try building from generated source, too.
|
||||
$(obj).$(TOOLSET)/%.o: $(obj).$(TOOLSET)/%.c FORCE_DO_CMD
|
||||
@$(call do_cmd,cc,1)
|
||||
$(obj).$(TOOLSET)/%.o: $(obj).$(TOOLSET)/%.cc FORCE_DO_CMD
|
||||
@$(call do_cmd,cxx,1)
|
||||
$(obj).$(TOOLSET)/%.o: $(obj).$(TOOLSET)/%.cpp FORCE_DO_CMD
|
||||
@$(call do_cmd,cxx,1)
|
||||
$(obj).$(TOOLSET)/%.o: $(obj).$(TOOLSET)/%.cxx FORCE_DO_CMD
|
||||
@$(call do_cmd,cxx,1)
|
||||
$(obj).$(TOOLSET)/%.o: $(obj).$(TOOLSET)/%.S FORCE_DO_CMD
|
||||
@$(call do_cmd,cc,1)
|
||||
$(obj).$(TOOLSET)/%.o: $(obj).$(TOOLSET)/%.s FORCE_DO_CMD
|
||||
@$(call do_cmd,cc,1)
|
||||
|
||||
$(obj).$(TOOLSET)/%.o: $(obj)/%.c FORCE_DO_CMD
|
||||
@$(call do_cmd,cc,1)
|
||||
$(obj).$(TOOLSET)/%.o: $(obj)/%.cc FORCE_DO_CMD
|
||||
@$(call do_cmd,cxx,1)
|
||||
$(obj).$(TOOLSET)/%.o: $(obj)/%.cpp FORCE_DO_CMD
|
||||
@$(call do_cmd,cxx,1)
|
||||
$(obj).$(TOOLSET)/%.o: $(obj)/%.cxx FORCE_DO_CMD
|
||||
@$(call do_cmd,cxx,1)
|
||||
$(obj).$(TOOLSET)/%.o: $(obj)/%.S FORCE_DO_CMD
|
||||
@$(call do_cmd,cc,1)
|
||||
$(obj).$(TOOLSET)/%.o: $(obj)/%.s FORCE_DO_CMD
|
||||
@$(call do_cmd,cc,1)
|
||||
|
||||
|
||||
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
|
||||
$(findstring $(join ^,$(prefix)),\
|
||||
$(join ^,buffertools.target.mk)))),)
|
||||
include buffertools.target.mk
|
||||
endif
|
||||
|
||||
quiet_cmd_regen_makefile = ACTION Regenerating $@
|
||||
cmd_regen_makefile = /home/jose/.node-gyp/0.8.14/tools/gyp/gyp -fmake --ignore-environment "--toplevel-dir=." -I/home/jose/etherpad-lite-dev/node_modules/ep_invite_via_email/node_modules/buffertools/build/config.gypi -I/usr/local/lib/node_modules/npm/node_modules/node-gyp/addon.gypi -I/home/jose/.node-gyp/0.8.14/common.gypi "--depth=." "-Goutput_dir=." "--generator-output=build" "-Dlibrary=shared_library" "-Dvisibility=default" "-Dnode_root_dir=/home/jose/.node-gyp/0.8.14" "-Dmodule_root_dir=/home/jose/etherpad-lite-dev/node_modules/ep_invite_via_email/node_modules/buffertools" binding.gyp
|
||||
Makefile: $(srcdir)/../../../../../.node-gyp/0.8.14/common.gypi $(srcdir)/../../../../../../../usr/local/lib/node_modules/npm/node_modules/node-gyp/addon.gypi $(srcdir)/build/config.gypi $(srcdir)/binding.gyp
|
||||
$(call do_cmd,regen_makefile)
|
||||
|
||||
# "all" is a concatenation of the "all" targets from all the included
|
||||
# sub-makefiles. This is just here to clarify.
|
||||
all:
|
||||
|
||||
# Add in dependency-tracking rules. $(all_deps) is the list of every single
|
||||
# target in our tree. Only consider the ones with .d (dependency) info:
|
||||
d_files := $(wildcard $(foreach f,$(all_deps),$(depsdir)/$(f).d))
|
||||
ifneq ($(d_files),)
|
||||
include $(d_files)
|
||||
endif
|
1
node_modules/buffertools/build/Release/.deps/Release/buffertools.node.d
generated
vendored
1
node_modules/buffertools/build/Release/.deps/Release/buffertools.node.d
generated
vendored
|
@ -1 +0,0 @@
|
|||
cmd_Release/buffertools.node := ln -f "Release/obj.target/buffertools.node" "Release/buffertools.node" 2>/dev/null || (rm -rf "Release/buffertools.node" && cp -af "Release/obj.target/buffertools.node" "Release/buffertools.node")
|
1
node_modules/buffertools/build/Release/.deps/Release/obj.target/buffertools.node.d
generated
vendored
1
node_modules/buffertools/build/Release/.deps/Release/obj.target/buffertools.node.d
generated
vendored
|
@ -1 +0,0 @@
|
|||
cmd_Release/obj.target/buffertools.node := flock ./Release/linker.lock g++ -shared -pthread -rdynamic -m32 -Wl,-soname=buffertools.node -o Release/obj.target/buffertools.node -Wl,--start-group Release/obj.target/buffertools/buffertools.o -Wl,--end-group
|
|
@ -1,34 +0,0 @@
|
|||
cmd_Release/obj.target/buffertools/buffertools.o := g++ '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' -I/home/jose/.node-gyp/0.8.14/src -I/home/jose/.node-gyp/0.8.14/deps/uv/include -I/home/jose/.node-gyp/0.8.14/deps/v8/include -Wall -pthread -m32 -O2 -fno-strict-aliasing -fno-tree-vrp -fno-tree-sink -fno-rtti -fno-exceptions -MMD -MF ./Release/.deps/Release/obj.target/buffertools/buffertools.o.d.raw -c -o Release/obj.target/buffertools/buffertools.o ../buffertools.cc
|
||||
Release/obj.target/buffertools/buffertools.o: ../buffertools.cc \
|
||||
/home/jose/.node-gyp/0.8.14/deps/v8/include/v8.h \
|
||||
/home/jose/.node-gyp/0.8.14/deps/v8/include/v8stdint.h \
|
||||
/home/jose/.node-gyp/0.8.14/src/node.h \
|
||||
/home/jose/.node-gyp/0.8.14/deps/uv/include/uv.h \
|
||||
/home/jose/.node-gyp/0.8.14/deps/uv/include/ares.h \
|
||||
/home/jose/.node-gyp/0.8.14/deps/uv/include/ares_version.h \
|
||||
/home/jose/.node-gyp/0.8.14/deps/uv/include/uv-private/uv-unix.h \
|
||||
/home/jose/.node-gyp/0.8.14/deps/uv/include/uv-private/ngx-queue.h \
|
||||
/home/jose/.node-gyp/0.8.14/deps/uv/include/uv-private/ev.h \
|
||||
/home/jose/.node-gyp/0.8.14/deps/uv/include/uv-private/eio.h \
|
||||
/home/jose/.node-gyp/0.8.14/src/node_object_wrap.h \
|
||||
/home/jose/.node-gyp/0.8.14/src/node.h \
|
||||
/home/jose/.node-gyp/0.8.14/src/ev-emul.h \
|
||||
/home/jose/.node-gyp/0.8.14/src/eio-emul.h \
|
||||
/home/jose/.node-gyp/0.8.14/src/node_buffer.h ../BoyerMoore.h
|
||||
../buffertools.cc:
|
||||
/home/jose/.node-gyp/0.8.14/deps/v8/include/v8.h:
|
||||
/home/jose/.node-gyp/0.8.14/deps/v8/include/v8stdint.h:
|
||||
/home/jose/.node-gyp/0.8.14/src/node.h:
|
||||
/home/jose/.node-gyp/0.8.14/deps/uv/include/uv.h:
|
||||
/home/jose/.node-gyp/0.8.14/deps/uv/include/ares.h:
|
||||
/home/jose/.node-gyp/0.8.14/deps/uv/include/ares_version.h:
|
||||
/home/jose/.node-gyp/0.8.14/deps/uv/include/uv-private/uv-unix.h:
|
||||
/home/jose/.node-gyp/0.8.14/deps/uv/include/uv-private/ngx-queue.h:
|
||||
/home/jose/.node-gyp/0.8.14/deps/uv/include/uv-private/ev.h:
|
||||
/home/jose/.node-gyp/0.8.14/deps/uv/include/uv-private/eio.h:
|
||||
/home/jose/.node-gyp/0.8.14/src/node_object_wrap.h:
|
||||
/home/jose/.node-gyp/0.8.14/src/node.h:
|
||||
/home/jose/.node-gyp/0.8.14/src/ev-emul.h:
|
||||
/home/jose/.node-gyp/0.8.14/src/eio-emul.h:
|
||||
/home/jose/.node-gyp/0.8.14/src/node_buffer.h:
|
||||
../BoyerMoore.h:
|
BIN
node_modules/buffertools/build/Release/buffertools.node
generated
vendored
BIN
node_modules/buffertools/build/Release/buffertools.node
generated
vendored
Binary file not shown.
0
node_modules/buffertools/build/Release/linker.lock
generated
vendored
0
node_modules/buffertools/build/Release/linker.lock
generated
vendored
BIN
node_modules/buffertools/build/Release/obj.target/buffertools.node
generated
vendored
BIN
node_modules/buffertools/build/Release/obj.target/buffertools.node
generated
vendored
Binary file not shown.
BIN
node_modules/buffertools/build/Release/obj.target/buffertools/buffertools.o
generated
vendored
BIN
node_modules/buffertools/build/Release/obj.target/buffertools/buffertools.o
generated
vendored
Binary file not shown.
6
node_modules/buffertools/build/binding.Makefile
generated
vendored
6
node_modules/buffertools/build/binding.Makefile
generated
vendored
|
@ -1,6 +0,0 @@
|
|||
# This file is generated by gyp; do not edit.
|
||||
|
||||
export builddir_name ?= build/./.
|
||||
.PHONY: all
|
||||
all:
|
||||
$(MAKE) buffertools
|
122
node_modules/buffertools/build/buffertools.target.mk
generated
vendored
122
node_modules/buffertools/build/buffertools.target.mk
generated
vendored
|
@ -1,122 +0,0 @@
|
|||
# This file is generated by gyp; do not edit.
|
||||
|
||||
TOOLSET := target
|
||||
TARGET := buffertools
|
||||
DEFS_Debug := \
|
||||
'-D_LARGEFILE_SOURCE' \
|
||||
'-D_FILE_OFFSET_BITS=64' \
|
||||
'-DDEBUG' \
|
||||
'-D_DEBUG'
|
||||
|
||||
# Flags passed to all source files.
|
||||
CFLAGS_Debug := \
|
||||
-Wall \
|
||||
-pthread \
|
||||
-m32 \
|
||||
-g \
|
||||
-O0
|
||||
|
||||
# Flags passed to only C files.
|
||||
CFLAGS_C_Debug :=
|
||||
|
||||
# Flags passed to only C++ files.
|
||||
CFLAGS_CC_Debug := \
|
||||
-fno-rtti \
|
||||
-fno-exceptions
|
||||
|
||||
INCS_Debug := \
|
||||
-I/home/jose/.node-gyp/0.8.14/src \
|
||||
-I/home/jose/.node-gyp/0.8.14/deps/uv/include \
|
||||
-I/home/jose/.node-gyp/0.8.14/deps/v8/include
|
||||
|
||||
DEFS_Release := \
|
||||
'-D_LARGEFILE_SOURCE' \
|
||||
'-D_FILE_OFFSET_BITS=64'
|
||||
|
||||
# Flags passed to all source files.
|
||||
CFLAGS_Release := \
|
||||
-Wall \
|
||||
-pthread \
|
||||
-m32 \
|
||||
-O2 \
|
||||
-fno-strict-aliasing \
|
||||
-fno-tree-vrp \
|
||||
-fno-tree-sink
|
||||
|
||||
# Flags passed to only C files.
|
||||
CFLAGS_C_Release :=
|
||||
|
||||
# Flags passed to only C++ files.
|
||||
CFLAGS_CC_Release := \
|
||||
-fno-rtti \
|
||||
-fno-exceptions
|
||||
|
||||
INCS_Release := \
|
||||
-I/home/jose/.node-gyp/0.8.14/src \
|
||||
-I/home/jose/.node-gyp/0.8.14/deps/uv/include \
|
||||
-I/home/jose/.node-gyp/0.8.14/deps/v8/include
|
||||
|
||||
OBJS := \
|
||||
$(obj).target/$(TARGET)/buffertools.o
|
||||
|
||||
# Add to the list of files we specially track dependencies for.
|
||||
all_deps += $(OBJS)
|
||||
|
||||
# CFLAGS et al overrides must be target-local.
|
||||
# See "Target-specific Variable Values" in the GNU Make manual.
|
||||
$(OBJS): TOOLSET := $(TOOLSET)
|
||||
$(OBJS): GYP_CFLAGS := $(DEFS_$(BUILDTYPE)) $(INCS_$(BUILDTYPE)) $(CFLAGS_$(BUILDTYPE)) $(CFLAGS_C_$(BUILDTYPE))
|
||||
$(OBJS): GYP_CXXFLAGS := $(DEFS_$(BUILDTYPE)) $(INCS_$(BUILDTYPE)) $(CFLAGS_$(BUILDTYPE)) $(CFLAGS_CC_$(BUILDTYPE))
|
||||
|
||||
# Suffix rules, putting all outputs into $(obj).
|
||||
|
||||
$(obj).$(TOOLSET)/$(TARGET)/%.o: $(srcdir)/%.cc FORCE_DO_CMD
|
||||
@$(call do_cmd,cxx,1)
|
||||
|
||||
# Try building from generated source, too.
|
||||
|
||||
$(obj).$(TOOLSET)/$(TARGET)/%.o: $(obj).$(TOOLSET)/%.cc FORCE_DO_CMD
|
||||
@$(call do_cmd,cxx,1)
|
||||
|
||||
$(obj).$(TOOLSET)/$(TARGET)/%.o: $(obj)/%.cc FORCE_DO_CMD
|
||||
@$(call do_cmd,cxx,1)
|
||||
|
||||
# End of this set of suffix rules
|
||||
### Rules for final target.
|
||||
LDFLAGS_Debug := \
|
||||
-pthread \
|
||||
-rdynamic \
|
||||
-m32
|
||||
|
||||
LDFLAGS_Release := \
|
||||
-pthread \
|
||||
-rdynamic \
|
||||
-m32
|
||||
|
||||
LIBS :=
|
||||
|
||||
$(obj).target/buffertools.node: GYP_LDFLAGS := $(LDFLAGS_$(BUILDTYPE))
|
||||
$(obj).target/buffertools.node: LIBS := $(LIBS)
|
||||
$(obj).target/buffertools.node: TOOLSET := $(TOOLSET)
|
||||
$(obj).target/buffertools.node: $(OBJS) FORCE_DO_CMD
|
||||
$(call do_cmd,solink_module)
|
||||
|
||||
all_deps += $(obj).target/buffertools.node
|
||||
# Add target alias
|
||||
.PHONY: buffertools
|
||||
buffertools: $(builddir)/buffertools.node
|
||||
|
||||
# Copy this to the executable output path.
|
||||
$(builddir)/buffertools.node: TOOLSET := $(TOOLSET)
|
||||
$(builddir)/buffertools.node: $(obj).target/buffertools.node FORCE_DO_CMD
|
||||
$(call do_cmd,copy)
|
||||
|
||||
all_deps += $(builddir)/buffertools.node
|
||||
# Short alias for building this executable.
|
||||
.PHONY: buffertools.node
|
||||
buffertools.node: $(obj).target/buffertools.node $(builddir)/buffertools.node
|
||||
|
||||
# Add executable to "all" target.
|
||||
.PHONY: all
|
||||
all: $(builddir)/buffertools.node
|
||||
|
105
node_modules/buffertools/build/config.gypi
generated
vendored
105
node_modules/buffertools/build/config.gypi
generated
vendored
|
@ -1,105 +0,0 @@
|
|||
# Do not edit. File was generated by node-gyp's "configure" step
|
||||
{
|
||||
"target_defaults": {
|
||||
"cflags": [],
|
||||
"default_configuration": "Release",
|
||||
"defines": [],
|
||||
"include_dirs": [],
|
||||
"libraries": []
|
||||
},
|
||||
"variables": {
|
||||
"clang": 0,
|
||||
"gcc_version": 44,
|
||||
"host_arch": "ia32",
|
||||
"node_install_npm": "true",
|
||||
"node_install_waf": "true",
|
||||
"node_prefix": "",
|
||||
"node_shared_openssl": "false",
|
||||
"node_shared_v8": "false",
|
||||
"node_shared_zlib": "false",
|
||||
"node_unsafe_optimizations": 0,
|
||||
"node_use_dtrace": "false",
|
||||
"node_use_etw": "false",
|
||||
"node_use_openssl": "true",
|
||||
"target_arch": "ia32",
|
||||
"v8_no_strict_aliasing": 1,
|
||||
"v8_use_snapshot": "true",
|
||||
"nodedir": "/home/jose/.node-gyp/0.8.14",
|
||||
"copy_dev_lib": "true",
|
||||
"cache_lock_stale": "60000",
|
||||
"pre": "",
|
||||
"sign_git_tag": "",
|
||||
"always_auth": "",
|
||||
"user_agent": "node/v0.8.14",
|
||||
"description": "true",
|
||||
"fetch_retries": "2",
|
||||
"init_version": "0.0.0",
|
||||
"user": "",
|
||||
"force": "",
|
||||
"ignore": "",
|
||||
"cache_min": "",
|
||||
"editor": "vi",
|
||||
"rollback": "true",
|
||||
"cache_max": "null",
|
||||
"userconfig": "/home/jose/.npmrc",
|
||||
"coverage": "",
|
||||
"engine_strict": "",
|
||||
"init_author_name": "",
|
||||
"init_author_url": "",
|
||||
"tmp": "/home/jose/tmp",
|
||||
"userignorefile": "/home/jose/.npmignore",
|
||||
"yes": "",
|
||||
"depth": "null",
|
||||
"save_dev": "",
|
||||
"usage": "",
|
||||
"https_proxy": "",
|
||||
"onload_script": "",
|
||||
"rebuild_bundle": "true",
|
||||
"save_bundle": "",
|
||||
"shell": "/bin/bash",
|
||||
"prefix": "/usr/local",
|
||||
"registry": "https://registry.npmjs.org/",
|
||||
"browser": "",
|
||||
"cache_lock_wait": "10000",
|
||||
"save_optional": "",
|
||||
"searchopts": "",
|
||||
"versions": "",
|
||||
"cache": "/home/jose/.npm",
|
||||
"npaturl": "http://npat.npmjs.org/",
|
||||
"searchsort": "name",
|
||||
"version": "",
|
||||
"viewer": "man",
|
||||
"color": "true",
|
||||
"fetch_retry_mintimeout": "10000",
|
||||
"umask": "18",
|
||||
"fetch_retry_maxtimeout": "60000",
|
||||
"message": "%s",
|
||||
"global": "",
|
||||
"link": "",
|
||||
"save": "",
|
||||
"unicode": "true",
|
||||
"long": "",
|
||||
"production": "",
|
||||
"unsafe_perm": "true",
|
||||
"node_version": "v0.8.14",
|
||||
"tag": "latest",
|
||||
"username": "johnyma22",
|
||||
"fetch_retry_factor": "10",
|
||||
"npat": "",
|
||||
"proprietary_attribs": "true",
|
||||
"strict_ssl": "true",
|
||||
"dev": "",
|
||||
"globalconfig": "/usr/local/etc/npmrc",
|
||||
"init_module": "/home/jose/.npm-init.js",
|
||||
"parseable": "",
|
||||
"globalignorefile": "/usr/local/etc/npmignore",
|
||||
"cache_lock_retries": "10",
|
||||
"group": "1000",
|
||||
"init_author_email": "",
|
||||
"searchexclude": "",
|
||||
"git": "git",
|
||||
"optional": "true",
|
||||
"email": "john@mclear.co.uk",
|
||||
"json": ""
|
||||
}
|
||||
}
|
48
node_modules/buffertools/package.json
generated
vendored
48
node_modules/buffertools/package.json
generated
vendored
|
@ -1,48 +0,0 @@
|
|||
{
|
||||
"name": "buffertools",
|
||||
"main": "buffertools",
|
||||
"version": "1.1.0",
|
||||
"keywords": [
|
||||
"buffer",
|
||||
"buffers"
|
||||
],
|
||||
"description": "Working with node.js buffers made easy.",
|
||||
"homepage": "https://github.com/bnoordhuis/node-buffertools",
|
||||
"author": {
|
||||
"name": "Ben Noordhuis",
|
||||
"email": "info@bnoordhuis.nl",
|
||||
"url": "http://bnoordhuis.nl/"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/bnoordhuis/node-buffertools.git"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=0.3.0"
|
||||
},
|
||||
"scripts": {
|
||||
"install": "node-gyp rebuild"
|
||||
},
|
||||
"gypfile": true,
|
||||
"contributors": [
|
||||
{
|
||||
"name": "Ben Noordhuis",
|
||||
"email": "info@bnoordhuis.nl"
|
||||
},
|
||||
{
|
||||
"name": "Nathan Rajlich",
|
||||
"email": "nathan@tootallnate.net"
|
||||
},
|
||||
{
|
||||
"name": "Stefan Thomas",
|
||||
"email": "justmoon@members.fsf.org"
|
||||
}
|
||||
],
|
||||
"readme": "# node-buffertools\n\nUtilities for manipulating buffers.\n\n## Installing the module\n\nEasy! With [npm](http://npmjs.org/):\n\n\tnpm install buffertools\n\nFrom source:\n\n\tnode-gyp configure\n\tnode-gyp build\n\nNow you can include the module in your project.\n\n\trequire('buffertools');\n\tnew Buffer(42).clear();\n\n## Methods\n\nNote that most methods that take a buffer as an argument, will also accept a string.\n\n### Buffer.clear()\n\nClear the buffer. This is equivalent to `Buffer.fill(0)`.\nReturns the buffer object so you can chain method calls.\n\n### Buffer.compare(buffer|string)\n\nLexicographically compare two buffers. Returns a number less than zero\nif a < b, zero if a == b or greater than zero if a > b.\n\nBuffers are considered equal when they are of the same length and contain\nthe same binary data.\n\nSmaller buffers are considered to be less than larger ones. Some buffers\nfind this hurtful.\n\n### Buffer.concat(a, b, c, ...)\n### buffertools.concat(a, b, c, ...)\n\nConcatenate two or more buffers/strings and return the result. Example:\n\n\t// identical to new Buffer('foobarbaz')\n\ta = new Buffer('foo');\n\tb = new Buffer('bar');\n\tc = a.concat(b, 'baz');\n\tconsole.log(a, b, c); // \"foo bar foobarbaz\"\n\n\t// static variant\n\tbuffertools.concat('foo', new Buffer('bar'), 'baz');\n\n### Buffer.equals(buffer|string)\n\nReturns true if this buffer equals the argument, false otherwise.\n\nBuffers are considered equal when they are of the same length and contain\nthe same binary data.\n\nCaveat emptor: If your buffers contain strings with different character encodings,\nthey will most likely *not* be equal.\n\n### Buffer.fill(integer|string|buffer)\n\nFill the buffer (repeatedly if necessary) with the argument.\nReturns the buffer object so you can chain method calls.\n\n### Buffer.fromHex()\n\nAssumes this buffer contains hexadecimal data (packed, no whitespace)\nand decodes it into binary data. Returns a new buffer with the decoded\ncontent. Throws an exception if non-hexadecimal data is encountered.\n\n### Buffer.indexOf(buffer|string, [start=0])\n\nSearch this buffer for the first occurrence of the argument, starting at\noffset `start`. Returns the zero-based index or -1 if there is no match.\n\n### Buffer.reverse()\n\nReverse the content of the buffer in place. Example:\n\n\tb = new Buffer('live');\n\tb.reverse();\n\tconsole.log(b); // \"evil\"\n\n### Buffer.toHex()\n\nReturns the contents of this buffer encoded as a hexadecimal string.\n\n## Classes\n\nSingular, actually. To wit:\n\n## WritableBufferStream\n\nThis is a regular node.js [writable stream](http://nodejs.org/docs/v0.3.4/api/streams.html#writable_Stream)\nthat accumulates the data it receives into a buffer.\n\nExample usage:\n\n\t// slurp stdin into a buffer\n\tprocess.stdin.resume();\n\tostream = new WritableBufferStream();\n\tutil.pump(process.stdin, ostream);\n\tconsole.log(ostream.getBuffer());\n\nThe stream never emits 'error' or 'drain' events.\n\n### WritableBufferStream.getBuffer()\n\nReturn the data accumulated so far as a buffer.\n\n## TODO\n\n* Logical operations on buffers (AND, OR, XOR).\n* Add lastIndexOf() functions.\n",
|
||||
"readmeFilename": "README.md",
|
||||
"_id": "buffertools@1.1.0",
|
||||
"dist": {
|
||||
"shasum": "97335a55f8347273aec0673bb981ab849e891416"
|
||||
},
|
||||
"_from": "buffertools@>= 1.0.8"
|
||||
}
|
118
node_modules/buffertools/test.js
generated
vendored
118
node_modules/buffertools/test.js
generated
vendored
|
@ -1,118 +0,0 @@
|
|||
buffertools = require('./buffertools');
|
||||
Buffer = require('buffer').Buffer;
|
||||
assert = require('assert');
|
||||
|
||||
WritableBufferStream = buffertools.WritableBufferStream;
|
||||
|
||||
// these trigger the code paths for UnaryAction and BinaryAction
|
||||
assert.throws(function() { buffertools.clear({}); });
|
||||
assert.throws(function() { buffertools.equals({}, {}); });
|
||||
|
||||
a = new Buffer('abcd'), b = new Buffer('abcd'), c = new Buffer('efgh');
|
||||
assert.ok(a.equals(b));
|
||||
assert.ok(!a.equals(c));
|
||||
assert.ok(a.equals('abcd'));
|
||||
assert.ok(!a.equals('efgh'));
|
||||
|
||||
assert.ok(a.compare(a) == 0);
|
||||
assert.ok(a.compare(c) < 0);
|
||||
assert.ok(c.compare(a) > 0);
|
||||
|
||||
assert.ok(a.compare('abcd') == 0);
|
||||
assert.ok(a.compare('efgh') < 0);
|
||||
assert.ok(c.compare('abcd') > 0);
|
||||
|
||||
b = new Buffer('****');
|
||||
assert.equal(b, b.clear());
|
||||
assert.equal(b.inspect(), '<Buffer 00 00 00 00>'); // FIXME brittle test
|
||||
|
||||
b = new Buffer(4);
|
||||
assert.equal(b, b.fill(42));
|
||||
assert.equal(b.inspect(), '<Buffer 2a 2a 2a 2a>');
|
||||
|
||||
b = new Buffer(4);
|
||||
assert.equal(b, b.fill('*'));
|
||||
assert.equal(b.inspect(), '<Buffer 2a 2a 2a 2a>');
|
||||
|
||||
b = new Buffer(4);
|
||||
assert.equal(b, b.fill('ab'));
|
||||
assert.equal(b.inspect(), '<Buffer 61 62 61 62>');
|
||||
|
||||
b = new Buffer(4);
|
||||
assert.equal(b, b.fill('abcd1234'));
|
||||
assert.equal(b.inspect(), '<Buffer 61 62 63 64>');
|
||||
|
||||
b = new Buffer('Hello, world!');
|
||||
assert.equal(-1, b.indexOf(new Buffer('foo')));
|
||||
assert.equal(0, b.indexOf(new Buffer('Hell')));
|
||||
assert.equal(7, b.indexOf(new Buffer('world')));
|
||||
assert.equal(7, b.indexOf(new Buffer('world!')));
|
||||
assert.equal(-1, b.indexOf('foo'));
|
||||
assert.equal(0, b.indexOf('Hell'));
|
||||
assert.equal(7, b.indexOf('world'));
|
||||
assert.equal(-1, b.indexOf(''));
|
||||
assert.equal(-1, b.indexOf('x'));
|
||||
assert.equal(7, b.indexOf('w'));
|
||||
assert.equal(0, b.indexOf('Hello, world!'));
|
||||
assert.equal(-1, b.indexOf('Hello, world!1'));
|
||||
assert.equal(7, b.indexOf('world', 7));
|
||||
assert.equal(-1, b.indexOf('world', 8));
|
||||
assert.equal(7, b.indexOf('world', -256));
|
||||
assert.equal(7, b.indexOf('world', -6));
|
||||
assert.equal(-1, b.indexOf('world', -5));
|
||||
assert.equal(-1, b.indexOf('world', 256));
|
||||
assert.equal(-1, b.indexOf('', 256));
|
||||
|
||||
b = new Buffer("\t \r\n");
|
||||
assert.equal('09200d0a', b.toHex());
|
||||
assert.equal(b.toString(), new Buffer('09200d0a').fromHex().toString());
|
||||
|
||||
// https://github.com/bnoordhuis/node-buffertools/pull/9
|
||||
b = new Buffer(4);
|
||||
b[0] = 0x98;
|
||||
b[1] = 0x95;
|
||||
b[2] = 0x60;
|
||||
b[3] = 0x2f;
|
||||
assert.equal('9895602f', b.toHex());
|
||||
|
||||
assert.equal('', buffertools.concat());
|
||||
assert.equal('', buffertools.concat(''));
|
||||
assert.equal('foobar', new Buffer('foo').concat('bar'));
|
||||
assert.equal('foobarbaz', buffertools.concat(new Buffer('foo'), 'bar', new Buffer('baz')));
|
||||
assert.throws(function() { buffertools.concat('foo', 123, 'baz'); });
|
||||
// assert that the buffer is copied, not returned as-is
|
||||
a = new Buffer('For great justice.'), b = buffertools.concat(a);
|
||||
assert.equal(a.toString(), b.toString());
|
||||
assert.notEqual(a, b);
|
||||
|
||||
assert.equal('', new Buffer('').reverse());
|
||||
assert.equal('For great justice.', new Buffer('.ecitsuj taerg roF').reverse());
|
||||
|
||||
// bug fix, see http://github.com/bnoordhuis/node-buffertools/issues#issue/5
|
||||
endOfHeader = new Buffer('\r\n\r\n');
|
||||
assert.equal(0, endOfHeader.indexOf(endOfHeader));
|
||||
assert.equal(0, endOfHeader.indexOf('\r\n\r\n'));
|
||||
|
||||
// feature request, see https://github.com/bnoordhuis/node-buffertools/issues#issue/8
|
||||
closed = false;
|
||||
stream = new WritableBufferStream();
|
||||
|
||||
stream.on('close', function() { closed = true; });
|
||||
stream.write('Hello,');
|
||||
stream.write(' ');
|
||||
stream.write('world!');
|
||||
stream.end();
|
||||
|
||||
assert.equal(true, closed);
|
||||
assert.equal(false, stream.writable);
|
||||
assert.equal('Hello, world!', stream.toString());
|
||||
assert.equal('Hello, world!', stream.getBuffer().toString());
|
||||
|
||||
// closed stream should throw
|
||||
assert.throws(function() { stream.write('ZIG!'); });
|
||||
|
||||
// GH-10 indexOf sometimes incorrectly returns -1
|
||||
for (i = 0; i < 100; i++) {
|
||||
buffer = new Buffer('9A8B3F4491734D18DEFC6D2FA96A2D3BC1020EECB811F037F977D039B4713B1984FBAB40FCB4D4833D4A31C538B76EB50F40FA672866D8F50D0A1063666721B8D8322EDEEC74B62E5F5B959393CD3FCE831CC3D1FA69D79C758853AFA3DC54D411043263596BAD1C9652970B80869DD411E82301DF93D47DCD32421A950EF3E555152E051C6943CC3CA71ED0461B37EC97C5A00EBACADAA55B9A7835F148DEF8906914617C6BD3A38E08C14735FC2EFE075CC61DFE5F2F9686AB0D0A3926604E320160FDC1A4488A323CB4308CDCA4FD9701D87CE689AF999C5C409854B268D00B063A89C2EEF6673C80A4F4D8D0A00163082EDD20A2F1861512F6FE9BB479A22A3D4ACDD2AA848254BA74613190957C7FCD106BF7441946D0E1A562DA68BC37752B1551B8855C8DA08DFE588902D44B2CAB163F3D7D7706B9CC78900D0AFD5DAE5492535A17DB17E24389F3BAA6F5A95B9F6FE955193D40932B5988BC53E49CAC81955A28B81F7B36A1EDA3B4063CBC187B0488FCD51FAE71E4FBAEE56059D847591B960921247A6B7C5C2A7A757EC62A2A2A2A2A2A2A25552591C03EF48994BD9F594A5E14672F55359EF1B38BF2976D1216C86A59847A6B7C4A5C585A0D0A2A6D9C8F8B9E999C2A836F786D577A79816F7C577A797D7E576B506B57A05B5B8C4A8D99989E8B8D9E644A6B9D9D8F9C9E4A504A6B968B93984A93984A988FA19D919C999F9A4A8B969E588C93988B9C938F9D588D8B9C9E9999989D58909C8F988D92588E0D0A3D79656E642073697A653D373035393620706172743D31207063726333323D33616230646235300D0A2E0D0A').fromHex();
|
||||
assert.equal(551, buffer.indexOf('=yend'));
|
||||
}
|
14
node_modules/buffertools/wscript
generated
vendored
14
node_modules/buffertools/wscript
generated
vendored
|
@ -1,14 +0,0 @@
|
|||
#!/usr/bin/env python
|
||||
|
||||
def set_options(ctx):
|
||||
ctx.tool_options('compiler_cxx')
|
||||
|
||||
def configure(ctx):
|
||||
ctx.check_tool('compiler_cxx')
|
||||
ctx.check_tool('node_addon')
|
||||
ctx.env.set_variant('Release')
|
||||
|
||||
def build(ctx):
|
||||
t = ctx.new_task_gen('cxx', 'shlib', 'node_addon')
|
||||
t.target = 'buffertools'
|
||||
t.source = 'buffertools.cc'
|
19
node_modules/emailjs/LICENSE
generated
vendored
19
node_modules/emailjs/LICENSE
generated
vendored
|
@ -1,19 +0,0 @@
|
|||
Copyright (C) <2011> <leith / eleith.com>
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||
this software and associated documentation files (the "Software"), to deal in
|
||||
the Software without restriction, including without limitation the rights to
|
||||
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
||||
of the Software, and to permit persons to whom the Software is furnished to do
|
||||
so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
154
node_modules/emailjs/Readme.md
generated
vendored
154
node_modules/emailjs/Readme.md
generated
vendored
|
@ -1,154 +0,0 @@
|
|||
# emailjs (v0.3.3) [![Build Status](https://secure.travis-ci.org/eleith/emailjs.png)](http://travis-ci.org/eleith/emailjs)
|
||||
|
||||
send emails, html and attachments (files, streams and strings) from node.js to any smtp server
|
||||
|
||||
## INSTALLING
|
||||
|
||||
npm install emailjs
|
||||
|
||||
## FEATURES
|
||||
- works with SSL and TLS smtp servers (ex: gmail)
|
||||
- supports smtp authentication (PLAIN, LOGIN, CRAMMD5)
|
||||
- emails are queued and the queue is sent asynchronously
|
||||
- supports sending html emails and emails with multiple attachments (MIME)
|
||||
- attachments can be added as strings, streams or file paths
|
||||
- works with nodejs 3.8 and above
|
||||
|
||||
## REQUIRES
|
||||
- access to an SMTP Server (ex: gmail)
|
||||
|
||||
## EXAMPLE USAGE - text only emails
|
||||
|
||||
```javascript
|
||||
var email = require("./path/to/emailjs/email");
|
||||
var server = email.server.connect({
|
||||
user: "username",
|
||||
password:"password",
|
||||
host: "smtp.gmail.com",
|
||||
ssl: true
|
||||
|
||||
});
|
||||
|
||||
// send the message and get a callback with an error or details of the message that was sent
|
||||
server.send({
|
||||
text: "i hope this works",
|
||||
from: "you <username@gmail.com>",
|
||||
to: "someone <someone@gmail.com>, another <another@gmail.com>",
|
||||
cc: "else <else@gmail.com>",
|
||||
subject: "testing emailjs"
|
||||
}, function(err, message) { console.log(err || message); });
|
||||
```
|
||||
|
||||
## EXAMPLE USAGE - html emails and attachments
|
||||
|
||||
```javascript
|
||||
var email = require("./path/to/emailjs/email");
|
||||
var server = email.server.connect({
|
||||
user: "username",
|
||||
password:"password",
|
||||
host: "smtp.gmail.com",
|
||||
ssl: true
|
||||
});
|
||||
|
||||
var message = {
|
||||
text: "i hope this works",
|
||||
from: "you <username@gmail.com>",
|
||||
to: "someone <someone@gmail.com>, another <another@gmail.com>",
|
||||
cc: "else <else@gmail.com>",
|
||||
subject: "testing emailjs",
|
||||
attachment:
|
||||
[
|
||||
{data:"<html>i <i>hope</i> this works!</html>", alternative:true},
|
||||
{path:"path/to/file.zip", type:"application/zip", name:"renamed.zip"}
|
||||
]
|
||||
};
|
||||
|
||||
// send the message and get a callback with an error or details of the message that was sent
|
||||
server.send(message, function(err, message) { console.log(err || message); });
|
||||
|
||||
// you can continue to send more messages with successive calls to 'server.send',
|
||||
// they will be queued on the same smtp connection
|
||||
|
||||
// or you can create a new server connection with 'email.server.connect'
|
||||
// to asynchronously send individual emails instead of a queue
|
||||
```
|
||||
# API
|
||||
|
||||
## email.server.connect(options)
|
||||
|
||||
// options is an object with the following keys
|
||||
options =
|
||||
{
|
||||
user // username for logging into smtp
|
||||
password // password for logging into smtp
|
||||
host // smtp host
|
||||
port // smtp port (if null a standard port number will be used)
|
||||
ssl // boolean or object {key, ca, cert} (if exists, ssl connection will be made)
|
||||
tls // boolean (if true, starttls will be initiated)
|
||||
timeout // max number of milliseconds to wait for smtp responses (defaults to 5000)
|
||||
domain // domain to greet smtp with (defaults to os.hostname)
|
||||
}
|
||||
|
||||
## email.server.send(message, callback)
|
||||
|
||||
// message can be a smtp.Message (as returned by email.message.create)
|
||||
// or an object identical to the first argument accepted by email.message.create
|
||||
|
||||
// callback will be executed with (err, message)
|
||||
// either when message is sent or an error has occurred
|
||||
|
||||
## message
|
||||
|
||||
// headers is an object ('from' and 'to' are required)
|
||||
// returns a Message object
|
||||
|
||||
// you can actually pass more message headers than listed, the below are just the
|
||||
// most common ones you would want to use
|
||||
|
||||
headers =
|
||||
{
|
||||
text // text of the email
|
||||
from // sender of the format (address or name <address> or "name" <address>)
|
||||
to // recipients (same format as above), multiple recipients are separated by a comma
|
||||
cc // carbon copied recipients (same format as above)
|
||||
bcc // blind carbon copied recipients (same format as above)
|
||||
subject // string subject of the email
|
||||
attachment // one attachment or array of attachments
|
||||
}
|
||||
|
||||
## attachment
|
||||
|
||||
// can be called multiple times, each adding a new attachment
|
||||
// options is an object with the following possible keys:
|
||||
|
||||
options =
|
||||
{
|
||||
// one of these fields is required
|
||||
path // string to where the file is located
|
||||
data // string of the data you want to attach
|
||||
stream // binary stream that will provide attachment data (make sure it is in the paused state)
|
||||
// better performance for binary streams is achieved if buffer.length % (76*6) == 0
|
||||
// current max size of buffer must be no larger than Message.BUFFERSIZE
|
||||
|
||||
// optionally these fields are also accepted
|
||||
type // string of the file mime type
|
||||
name // name to give the file as perceived by the recipient
|
||||
alternative // if true, will be attached inline as an alternative (also defaults type='text/html')
|
||||
inline // if true, will be attached inline
|
||||
encoded // set this to true if the data is already base64 encoded, (avoid this if possible)
|
||||
headers // object containing header=>value pairs for inclusion in this attachment's header
|
||||
related // an array of attachments that you want to be related to the parent attachment
|
||||
}
|
||||
|
||||
## Authors
|
||||
|
||||
eleith
|
||||
|
||||
## Testing
|
||||
|
||||
npm install -d
|
||||
npm test
|
||||
|
||||
## Contributions
|
||||
|
||||
issues and pull requests are welcome
|
3
node_modules/emailjs/email.js
generated
vendored
3
node_modules/emailjs/email.js
generated
vendored
|
@ -1,3 +0,0 @@
|
|||
exports.server = require('./smtp/client');
|
||||
exports.message = require('./smtp/message');
|
||||
exports.SMTP = require('./smtp/smtp');
|
29
node_modules/emailjs/node_modules/bufferjs/add-chunk.js
generated
vendored
29
node_modules/emailjs/node_modules/bufferjs/add-chunk.js
generated
vendored
|
@ -1,29 +0,0 @@
|
|||
(function () {
|
||||
"use strict";
|
||||
|
||||
Buffer.prototype.__addchunk_index = 0;
|
||||
|
||||
Buffer.prototype.addChunk = function (chunk) {
|
||||
var len = Math.min(chunk.length, this.length - this.__addchunk_index);
|
||||
|
||||
if (this.__addchunk_index === this.length) {
|
||||
//throw new Error("Buffer is full");
|
||||
return false;
|
||||
}
|
||||
|
||||
chunk.copy(this, this.__addchunk_index, 0, len);
|
||||
|
||||
this.__addchunk_index += len;
|
||||
|
||||
if (len < chunk.length) {
|
||||
//remnant = new Buffer(chunk.length - len);
|
||||
//chunk.copy(remnant, 0, len, chunk.length);
|
||||
// return remnant;
|
||||
return chunk.slice(len, chunk.length);
|
||||
}
|
||||
|
||||
if (this.__addchunk_index === this.length) {
|
||||
return true;
|
||||
}
|
||||
};
|
||||
}());
|
31
node_modules/emailjs/node_modules/bufferjs/concat.js
generated
vendored
31
node_modules/emailjs/node_modules/bufferjs/concat.js
generated
vendored
|
@ -1,31 +0,0 @@
|
|||
(function () {
|
||||
"use strict";
|
||||
|
||||
function concat(bufs) {
|
||||
if (!Array.isArray(bufs)) {
|
||||
bufs = Array.prototype.slice.call(arguments);
|
||||
}
|
||||
|
||||
var bufsToConcat = [], length = 0;
|
||||
bufs.forEach(function (buf) {
|
||||
if (buf) {
|
||||
if (!Buffer.isBuffer(buf)) {
|
||||
buf = new Buffer(buf);
|
||||
}
|
||||
length += buf.length;
|
||||
bufsToConcat.push(buf);
|
||||
}
|
||||
});
|
||||
|
||||
var concatBuf = new Buffer(length), index = 0;
|
||||
bufsToConcat.forEach(function (buf) {
|
||||
buf.copy(concatBuf, index, 0, buf.length);
|
||||
index += buf.length;
|
||||
});
|
||||
|
||||
return concatBuf;
|
||||
}
|
||||
|
||||
Buffer.concat = concat;
|
||||
|
||||
}());
|
7
node_modules/emailjs/node_modules/bufferjs/index.js
generated
vendored
7
node_modules/emailjs/node_modules/bufferjs/index.js
generated
vendored
|
@ -1,7 +0,0 @@
|
|||
(function () {
|
||||
"use strict";
|
||||
|
||||
require('./concat');
|
||||
require('./add-chunk');
|
||||
require('./indexOf');
|
||||
}());
|
30
node_modules/emailjs/node_modules/bufferjs/indexOf.js
generated
vendored
30
node_modules/emailjs/node_modules/bufferjs/indexOf.js
generated
vendored
|
@ -1,30 +0,0 @@
|
|||
(function () {
|
||||
"use strict";
|
||||
|
||||
/**
|
||||
* A naiive 'Buffer.indexOf' function. Requires both the
|
||||
* needle and haystack to be Buffer instances.
|
||||
*/
|
||||
function indexOf(haystack, needle, i) {
|
||||
if (!Buffer.isBuffer(needle)) needle = new Buffer(needle);
|
||||
if (typeof i === 'undefined') i = 0;
|
||||
var l = haystack.length - needle.length + 1;
|
||||
while (i<l) {
|
||||
var good = true;
|
||||
for (var j=0, n=needle.length; j<n; j++) {
|
||||
if (haystack.get(i+j) !== needle.get(j)) {
|
||||
good = false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (good) return i;
|
||||
i++;
|
||||
}
|
||||
return -1;
|
||||
}
|
||||
Buffer.indexOf = indexOf;
|
||||
Buffer.prototype.indexOf = function(needle, i) {
|
||||
return Buffer.indexOf(this, needle, i);
|
||||
}
|
||||
|
||||
})();
|
37
node_modules/emailjs/node_modules/bufferjs/package.json
generated
vendored
37
node_modules/emailjs/node_modules/bufferjs/package.json
generated
vendored
|
@ -1,37 +0,0 @@
|
|||
{
|
||||
"name": "bufferjs",
|
||||
"description": "Pure JavaScript Buffer utils.",
|
||||
"url": "http://github.com/coolaj86/node-bufferjs/",
|
||||
"keywords": [
|
||||
"util",
|
||||
"buffer",
|
||||
"concat",
|
||||
"chunk",
|
||||
"indexOf"
|
||||
],
|
||||
"author": {
|
||||
"name": "AJ ONeal",
|
||||
"email": "coolaj86@gmail.com"
|
||||
},
|
||||
"contributors": [
|
||||
{
|
||||
"name": "Nathan Rajlich",
|
||||
"email": "nathan@tootallnate.net"
|
||||
},
|
||||
{
|
||||
"name": "Justin Freitag @justinfreitag"
|
||||
}
|
||||
],
|
||||
"dependencies": {},
|
||||
"version": "1.1.0",
|
||||
"main": "./index",
|
||||
"engines": {
|
||||
"node": ">=0.2.0"
|
||||
},
|
||||
"_id": "bufferjs@1.1.0",
|
||||
"readme": "ERROR: No README.md file found!",
|
||||
"dist": {
|
||||
"shasum": "870c7b1b3eb5e2fc1083bc2500f243b3cd7bb895"
|
||||
},
|
||||
"_from": "bufferjs@=1.1.0"
|
||||
}
|
26
node_modules/emailjs/node_modules/moment/.jshintrc
generated
vendored
26
node_modules/emailjs/node_modules/moment/.jshintrc
generated
vendored
|
@ -1,26 +0,0 @@
|
|||
{
|
||||
"node" : true,
|
||||
"es5" : true,
|
||||
"browser" : true,
|
||||
"boss" : false,
|
||||
"curly": true,
|
||||
"debug": false,
|
||||
"devel": false,
|
||||
"eqeqeq": true,
|
||||
"eqnull": true,
|
||||
"evil": false,
|
||||
"forin": false,
|
||||
"immed": false,
|
||||
"laxbreak": false,
|
||||
"newcap": true,
|
||||
"noarg": true,
|
||||
"noempty": false,
|
||||
"nonew": false,
|
||||
"onevar": true,
|
||||
"plusplus": false,
|
||||
"regexp": false,
|
||||
"undef": true,
|
||||
"sub": true,
|
||||
"strict": false,
|
||||
"white": true
|
||||
}
|
2
node_modules/emailjs/node_modules/moment/.npmignore
generated
vendored
2
node_modules/emailjs/node_modules/moment/.npmignore
generated
vendored
|
@ -1,2 +0,0 @@
|
|||
node_modules/
|
||||
.DS_Store
|
5
node_modules/emailjs/node_modules/moment/.travis.yml
generated
vendored
5
node_modules/emailjs/node_modules/moment/.travis.yml
generated
vendored
|
@ -1,5 +0,0 @@
|
|||
language: node_js
|
||||
node_js:
|
||||
- 0.4
|
||||
- 0.6
|
||||
- 0.8
|
22
node_modules/emailjs/node_modules/moment/LICENSE
generated
vendored
22
node_modules/emailjs/node_modules/moment/LICENSE
generated
vendored
|
@ -1,22 +0,0 @@
|
|||
Copyright (c) 2011-2012 Tim Wood
|
||||
|
||||
Permission is hereby granted, free of charge, to any person
|
||||
obtaining a copy of this software and associated documentation
|
||||
files (the "Software"), to deal in the Software without
|
||||
restriction, including without limitation the rights to use,
|
||||
copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the
|
||||
Software is furnished to do so, subject to the following
|
||||
conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be
|
||||
included in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
||||
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
||||
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
OTHER DEALINGS IN THE SOFTWARE.
|
71
node_modules/emailjs/node_modules/moment/Makefile
generated
vendored
71
node_modules/emailjs/node_modules/moment/Makefile
generated
vendored
|
@ -1,71 +0,0 @@
|
|||
LANG_ALL = $(wildcard lang/*.js)
|
||||
MIN_LANG_ALL = $(addprefix min/,$(LANG_ALL))
|
||||
|
||||
|
||||
.PHONY: all
|
||||
all: moment langs
|
||||
|
||||
min/:
|
||||
mkdir min/
|
||||
|
||||
min/lang/:
|
||||
mkdir -p min/lang/
|
||||
|
||||
.PHONY: moment pretty
|
||||
moment: min/ min/moment.min.js pretty
|
||||
|
||||
pretty: min/ min/moment.min.pretty.js
|
||||
|
||||
min/moment.min.js: moment.js
|
||||
node_modules/.bin/uglifyjs -o $@ $<
|
||||
|
||||
min/moment.min.pretty.js: moment.js
|
||||
node_modules/.bin/uglifyjs -b -o $@ $<
|
||||
|
||||
min/lang/%: lang/%
|
||||
node_modules/.bin/uglifyjs -o $@ $<
|
||||
|
||||
min/lang-all.min.js: $(LANG_ALL)
|
||||
cat $^ | node_modules/.bin/uglifyjs -o $@
|
||||
|
||||
.PHONY: langs
|
||||
langs: min/lang/ $(MIN_LANG_ALL) min/lang-all.min.js
|
||||
|
||||
.PHONY: size
|
||||
size: moment langs
|
||||
# FILESIZE FOR ALL LANGS
|
||||
cp min/lang-all.min.js min/lang-all.min.gzip.js
|
||||
gzip min/lang-all.min.gzip.js
|
||||
gzip -l min/lang-all.min.gzip.js.gz
|
||||
rm min/lang-all.min.gzip.js.gz
|
||||
# FILESIZE FOR LIBRARY
|
||||
cp min/moment.min.js min/moment.min.gzip.js
|
||||
gzip min/moment.min.gzip.js
|
||||
gzip -l min/moment.min.gzip.js.gz
|
||||
rm min/moment.min.gzip.js.gz
|
||||
|
||||
.PHONY: size-history
|
||||
size-history: moment
|
||||
node test/filesize-history.js
|
||||
|
||||
size-diff: moment
|
||||
node test/filesize-diff.js
|
||||
|
||||
|
||||
.PHONY: test hint test-moment test-lang
|
||||
test: hint test-moment test-lang
|
||||
test-zone:
|
||||
node test/zone
|
||||
|
||||
hint:
|
||||
node_modules/.bin/jshint moment.js
|
||||
|
||||
test-moment:
|
||||
node_modules/.bin/nodeunit ./test/moment
|
||||
|
||||
test-lang:
|
||||
node_modules/.bin/nodeunit ./test/lang
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
rm -rf min/
|
1
node_modules/emailjs/node_modules/moment/ender.js
generated
vendored
1
node_modules/emailjs/node_modules/moment/ender.js
generated
vendored
|
@ -1 +0,0 @@
|
|||
$.ender({ moment: require('moment') })
|
66
node_modules/emailjs/node_modules/moment/lang/bg.js
generated
vendored
66
node_modules/emailjs/node_modules/moment/lang/bg.js
generated
vendored
|
@ -1,66 +0,0 @@
|
|||
// moment.js language configuration
|
||||
// language : bulgarian (bg)
|
||||
// author : Krasen Borisov : https://github.com/kraz
|
||||
(function () {
|
||||
var lang = {
|
||||
months : "януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),
|
||||
monthsShort : "янр_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек".split("_"),
|
||||
weekdays : "неделя_понеделник_вторник_сряда_четвъртък_петък_събота".split("_"),
|
||||
weekdaysShort : "нед_пон_вто_сря_чет_пет_съб".split("_"),
|
||||
weekdaysMin : "нд_пн_вт_ср_чт_пт_сб".split("_"),
|
||||
longDateFormat : {
|
||||
LT : "h:mm",
|
||||
L : "D.MM.YYYY",
|
||||
LL : "D MMMM YYYY",
|
||||
LLL : "D MMMM YYYY LT",
|
||||
LLLL : "dddd, D MMMM YYYY LT"
|
||||
},
|
||||
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 : "няколко секунди",
|
||||
m : "минута",
|
||||
mm : "%d минути",
|
||||
h : "час",
|
||||
hh : "%d часа",
|
||||
d : "ден",
|
||||
dd : "%d дни",
|
||||
M : "месец",
|
||||
MM : "%d месеца",
|
||||
y : "година",
|
||||
yy : "%d години"
|
||||
},
|
||||
ordinal : function (number) {
|
||||
return '.';
|
||||
}
|
||||
};
|
||||
|
||||
// Node
|
||||
if (typeof module !== 'undefined') {
|
||||
module.exports = lang;
|
||||
}
|
||||
// Browser
|
||||
if (typeof window !== 'undefined' && this.moment && this.moment.lang) {
|
||||
this.moment.lang('bg', lang);
|
||||
}
|
||||
}());
|
64
node_modules/emailjs/node_modules/moment/lang/ca.js
generated
vendored
64
node_modules/emailjs/node_modules/moment/lang/ca.js
generated
vendored
|
@ -1,64 +0,0 @@
|
|||
// moment.js language configuration
|
||||
// language : catalan (ca)
|
||||
// author : Juan G. Hurtado : https://github.com/juanghurtado
|
||||
(function () {
|
||||
var lang = {
|
||||
months : "Gener_Febrer_Març_Abril_Maig_Juny_Juliol_Agost_Setembre_Octubre_Novembre_Desembre".split("_"),
|
||||
monthsShort : "Gen._Febr._Mar._Abr._Mai._Jun._Jul._Ag._Set._Oct._Nov._Des.".split("_"),
|
||||
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("_"),
|
||||
longDateFormat : {
|
||||
LT : "H:mm",
|
||||
L : "DD/MM/YYYY",
|
||||
LL : "D MMMM YYYY",
|
||||
LLL : "D MMMM YYYY LT",
|
||||
LLLL : "dddd D MMMM YYYY LT"
|
||||
},
|
||||
calendar : {
|
||||
sameDay : function () {
|
||||
return '[avui a ' + ((this.hours() !== 1) ? 'les' : 'la') + '] LT';
|
||||
},
|
||||
nextDay : function () {
|
||||
return '[demà a ' + ((this.hours() !== 1) ? 'les' : 'la') + '] LT';
|
||||
},
|
||||
nextWeek : function () {
|
||||
return 'dddd [a ' + ((this.hours() !== 1) ? 'les' : 'la') + '] LT';
|
||||
},
|
||||
lastDay : function () {
|
||||
return '[ahir a ' + ((this.hours() !== 1) ? 'les' : 'la') + '] LT';
|
||||
},
|
||||
lastWeek : function () {
|
||||
return '[el] dddd [passat a ' + ((this.hours() !== 1) ? 'les' : 'la') + '] LT';
|
||||
},
|
||||
sameElse : 'L'
|
||||
},
|
||||
relativeTime : {
|
||||
future : "en %s",
|
||||
past : "fa %s",
|
||||
s : "uns 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"
|
||||
},
|
||||
ordinal : function (number) {
|
||||
return 'º';
|
||||
}
|
||||
};
|
||||
|
||||
// Node
|
||||
if (typeof module !== 'undefined' && module.exports) {
|
||||
module.exports = lang;
|
||||
}
|
||||
// Browser
|
||||
if (typeof window !== 'undefined' && this.moment && this.moment.lang) {
|
||||
this.moment.lang('ca', lang);
|
||||
}
|
||||
}());
|
54
node_modules/emailjs/node_modules/moment/lang/cv.js
generated
vendored
54
node_modules/emailjs/node_modules/moment/lang/cv.js
generated
vendored
|
@ -1,54 +0,0 @@
|
|||
// moment.js language configuration
|
||||
// language : chuvash (cv)
|
||||
// author : Anatoly Mironov : https://github.com/mirontoli
|
||||
(function () {
|
||||
var lang = {
|
||||
months : "кăрлач_нарăс_пуш_ака_май_çĕртме_утă_çурла_авăн_юпа_чӳк_раштав".split("_"),
|
||||
monthsShort : "кăр_нар_пуш_ака_май_çĕр_утă_çур_ав_юпа_чӳк_раш".split("_"),
|
||||
weekdays : "вырсарникун_тунтикун_ытларикун_юнкун_кĕçнерникун_эрнекун_шăматкун".split("_"),
|
||||
weekdaysShort : "выр_тун_ытл_юн_кĕç_эрн_шăм".split("_"),
|
||||
weekdaysMin : "вр_тн_ыт_юн_кç_эр_шм".split("_"),
|
||||
longDateFormat : {
|
||||
LT : "HH:mm",
|
||||
L : "DD-MM-YYYY",
|
||||
LL : "YYYY çулхи MMMM уйăхĕн D-мĕшĕ",
|
||||
LLL : "YYYY çулхи MMMM уйăхĕн D-мĕшĕ, LT",
|
||||
LLLL : "dddd, YYYY çулхи MMMM уйăхĕн D-мĕшĕ, LT"
|
||||
},
|
||||
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 çул"
|
||||
},
|
||||
ordinal : function (number) {
|
||||
return '-мĕш';
|
||||
}
|
||||
};
|
||||
|
||||
// Node
|
||||
if (typeof module !== 'undefined' && module.exports) {
|
||||
module.exports = lang;
|
||||
}
|
||||
// Browser
|
||||
if (typeof window !== 'undefined' && this.moment && this.moment.lang) {
|
||||
this.moment.lang('cv', lang);
|
||||
}
|
||||
}());
|
54
node_modules/emailjs/node_modules/moment/lang/da.js
generated
vendored
54
node_modules/emailjs/node_modules/moment/lang/da.js
generated
vendored
|
@ -1,54 +0,0 @@
|
|||
// moment.js language configuration
|
||||
// language : danish (da)
|
||||
// author : Ulrik Nielsen : https://github.com/mrbase
|
||||
(function () {
|
||||
var lang = {
|
||||
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 : "h:mm 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 : '[I dag kl.] LT',
|
||||
nextDay : '[I morgen kl.] LT',
|
||||
nextWeek : 'dddd [kl.] LT',
|
||||
lastDay : '[I går kl.] LT',
|
||||
lastWeek : '[sidste] dddd [kl] LT',
|
||||
sameElse : 'L'
|
||||
},
|
||||
relativeTime : {
|
||||
future : "om %s",
|
||||
past : "%s siden",
|
||||
s : "få sekunder",
|
||||
m : "minut",
|
||||
mm : "%d minutter",
|
||||
h : "time",
|
||||
hh : "%d timer",
|
||||
d : "dag",
|
||||
dd : "%d dage",
|
||||
M : "månede",
|
||||
MM : "%d måneder",
|
||||
y : "år",
|
||||
yy : "%d år"
|
||||
},
|
||||
ordinal : function (number) {
|
||||
return '.';
|
||||
}
|
||||
};
|
||||
|
||||
// Node
|
||||
if (typeof module !== 'undefined' && module.exports) {
|
||||
module.exports = lang;
|
||||
}
|
||||
// Browser
|
||||
if (typeof window !== 'undefined' && this.moment && this.moment.lang) {
|
||||
this.moment.lang('da', lang);
|
||||
}
|
||||
}());
|
54
node_modules/emailjs/node_modules/moment/lang/de.js
generated
vendored
54
node_modules/emailjs/node_modules/moment/lang/de.js
generated
vendored
|
@ -1,54 +0,0 @@
|
|||
// moment.js language configuration
|
||||
// language : german (de)
|
||||
// author : lluchs : https://github.com/lluchs
|
||||
(function () {
|
||||
var lang = {
|
||||
months : "Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),
|
||||
monthsShort : "Jan._Febr._Mrz._Apr._Mai_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),
|
||||
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("_"),
|
||||
longDateFormat : {
|
||||
LT: "H:mm U\\hr",
|
||||
L : "DD.MM.YYYY",
|
||||
LL : "D. MMMM YYYY",
|
||||
LLL : "D. MMMM YYYY LT",
|
||||
LLLL : "dddd, D. MMMM YYYY LT"
|
||||
},
|
||||
calendar : {
|
||||
sameDay: "[Heute um] LT",
|
||||
sameElse: "L",
|
||||
nextDay: '[Morgen um] LT',
|
||||
nextWeek: 'dddd [um] LT',
|
||||
lastDay: '[Gestern um] LT',
|
||||
lastWeek: '[letzten] dddd [um] LT'
|
||||
},
|
||||
relativeTime : {
|
||||
future : "in %s",
|
||||
past : "vor %s",
|
||||
s : "ein paar Sekunden",
|
||||
m : "einer Minute",
|
||||
mm : "%d Minuten",
|
||||
h : "einer Stunde",
|
||||
hh : "%d Stunden",
|
||||
d : "einem Tag",
|
||||
dd : "%d Tagen",
|
||||
M : "einem Monat",
|
||||
MM : "%d Monaten",
|
||||
y : "einem Jahr",
|
||||
yy : "%d Jahren"
|
||||
},
|
||||
ordinal : function (number) {
|
||||
return '.';
|
||||
}
|
||||
};
|
||||
|
||||
// Node
|
||||
if (typeof module !== 'undefined' && module.exports) {
|
||||
module.exports = lang;
|
||||
}
|
||||
// Browser
|
||||
if (typeof window !== 'undefined' && this.moment && this.moment.lang) {
|
||||
this.moment.lang('de', lang);
|
||||
}
|
||||
}());
|
58
node_modules/emailjs/node_modules/moment/lang/en-ca.js
generated
vendored
58
node_modules/emailjs/node_modules/moment/lang/en-ca.js
generated
vendored
|
@ -1,58 +0,0 @@
|
|||
// moment.js language configuration
|
||||
// language : canadian english (en-ca)
|
||||
// author : Jonathan Abourbih : https://github.com/jonbca
|
||||
(function () {
|
||||
var lang = {
|
||||
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",
|
||||
L : "YYYY-MM-DD",
|
||||
LL : "D MMMM, YYYY",
|
||||
LLL : "D MMMM, YYYY LT",
|
||||
LLLL : "dddd, D MMMM, YYYY LT"
|
||||
},
|
||||
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",
|
||||
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"
|
||||
},
|
||||
ordinal : function (number) {
|
||||
var b = number % 10;
|
||||
return (~~ (number % 100 / 10) === 1) ? 'th' :
|
||||
(b === 1) ? 'st' :
|
||||
(b === 2) ? 'nd' :
|
||||
(b === 3) ? 'rd' : 'th';
|
||||
}
|
||||
};
|
||||
|
||||
// Node
|
||||
if (typeof module !== 'undefined' && module.exports) {
|
||||
module.exports = lang;
|
||||
}
|
||||
// Browser
|
||||
if (typeof window !== 'undefined' && this.moment && this.moment.lang) {
|
||||
this.moment.lang('en-gb', lang);
|
||||
}
|
||||
}());
|
58
node_modules/emailjs/node_modules/moment/lang/en-gb.js
generated
vendored
58
node_modules/emailjs/node_modules/moment/lang/en-gb.js
generated
vendored
|
@ -1,58 +0,0 @@
|
|||
// moment.js language configuration
|
||||
// language : great britain english (en-gb)
|
||||
// author : Chris Gedrim : https://github.com/chrisgedrim
|
||||
(function () {
|
||||
var lang = {
|
||||
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",
|
||||
L : "DD/MM/YYYY",
|
||||
LL : "D MMMM YYYY",
|
||||
LLL : "D MMMM YYYY LT",
|
||||
LLLL : "dddd, D MMMM YYYY LT"
|
||||
},
|
||||
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",
|
||||
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"
|
||||
},
|
||||
ordinal : function (number) {
|
||||
var b = number % 10;
|
||||
return (~~ (number % 100 / 10) === 1) ? 'th' :
|
||||
(b === 1) ? 'st' :
|
||||
(b === 2) ? 'nd' :
|
||||
(b === 3) ? 'rd' : 'th';
|
||||
}
|
||||
};
|
||||
|
||||
// Node
|
||||
if (typeof module !== 'undefined' && module.exports) {
|
||||
module.exports = lang;
|
||||
}
|
||||
// Browser
|
||||
if (typeof window !== 'undefined' && this.moment && this.moment.lang) {
|
||||
this.moment.lang('en-gb', lang);
|
||||
}
|
||||
}());
|
64
node_modules/emailjs/node_modules/moment/lang/es.js
generated
vendored
64
node_modules/emailjs/node_modules/moment/lang/es.js
generated
vendored
|
@ -1,64 +0,0 @@
|
|||
// moment.js language configuration
|
||||
// language : spanish (es)
|
||||
// author : Julio Napurí : https://github.com/julionc
|
||||
(function () {
|
||||
var lang = {
|
||||
months : "Enero_Febrero_Marzo_Abril_Mayo_Junio_Julio_Agosto_Septiembre_Octubre_Noviembre_Diciembre".split("_"),
|
||||
monthsShort : "Ene._Feb._Mar._Abr._May._Jun._Jul._Ago._Sep._Oct._Nov._Dic.".split("_"),
|
||||
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("_"),
|
||||
longDateFormat : {
|
||||
LT : "H:mm",
|
||||
L : "DD/MM/YYYY",
|
||||
LL : "D MMMM YYYY",
|
||||
LLL : "D MMMM YYYY LT",
|
||||
LLLL : "dddd D MMMM YYYY LT"
|
||||
},
|
||||
calendar : {
|
||||
sameDay : function () {
|
||||
return '[hoy a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
|
||||
},
|
||||
nextDay : function () {
|
||||
return '[mañana a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
|
||||
},
|
||||
nextWeek : function () {
|
||||
return 'dddd [a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
|
||||
},
|
||||
lastDay : function () {
|
||||
return '[ayer a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
|
||||
},
|
||||
lastWeek : function () {
|
||||
return '[el] dddd [pasado a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
|
||||
},
|
||||
sameElse : 'L'
|
||||
},
|
||||
relativeTime : {
|
||||
future : "en %s",
|
||||
past : "hace %s",
|
||||
s : "unos segundos",
|
||||
m : "un minuto",
|
||||
mm : "%d minutos",
|
||||
h : "una hora",
|
||||
hh : "%d horas",
|
||||
d : "un día",
|
||||
dd : "%d días",
|
||||
M : "un mes",
|
||||
MM : "%d meses",
|
||||
y : "un año",
|
||||
yy : "%d años"
|
||||
},
|
||||
ordinal : function (number) {
|
||||
return 'º';
|
||||
}
|
||||
};
|
||||
|
||||
// Node
|
||||
if (typeof module !== 'undefined' && module.exports) {
|
||||
module.exports = lang;
|
||||
}
|
||||
// Browser
|
||||
if (typeof window !== 'undefined' && this.moment && this.moment.lang) {
|
||||
this.moment.lang('es', lang);
|
||||
}
|
||||
}());
|
54
node_modules/emailjs/node_modules/moment/lang/eu.js
generated
vendored
54
node_modules/emailjs/node_modules/moment/lang/eu.js
generated
vendored
|
@ -1,54 +0,0 @@
|
|||
// moment.js language configuration
|
||||
// language : euskara (eu)
|
||||
// author : Eneko Illarramendi : https://github.com/eillarra
|
||||
(function () {
|
||||
var lang = {
|
||||
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("_"),
|
||||
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("_"),
|
||||
longDateFormat : {
|
||||
LT : "HH:mm",
|
||||
L : "YYYY-MM-DD",
|
||||
LL : "YYYYko MMMMren D[a]",
|
||||
LLL : "YYYYko MMMMren D[a] LT",
|
||||
LLLL : "dddd, YYYYko MMMMren D[a] LT"
|
||||
},
|
||||
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",
|
||||
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"
|
||||
},
|
||||
ordinal : function (number) {
|
||||
return '.';
|
||||
}
|
||||
};
|
||||
|
||||
// Node
|
||||
if (typeof module !== 'undefined' && module.exports) {
|
||||
module.exports = lang;
|
||||
}
|
||||
// Browser
|
||||
if (typeof window !== 'undefined' && this.moment && this.moment.lang) {
|
||||
this.moment.lang('eu', lang);
|
||||
}
|
||||
}());
|
98
node_modules/emailjs/node_modules/moment/lang/fi.js
generated
vendored
98
node_modules/emailjs/node_modules/moment/lang/fi.js
generated
vendored
|
@ -1,98 +0,0 @@
|
|||
// moment.js language configuration
|
||||
// language : finnish (fi)
|
||||
// author : Tarmo Aidantausta : https://github.com/bleadof
|
||||
(function () {
|
||||
var numbers_past = ['nolla', 'yksi', 'kaksi', 'kolme', 'neljä', 'viisi',
|
||||
'kuusi', 'seitsemän', 'kahdeksan', 'yhdeksän'];
|
||||
var numbers_future = ['nolla', 'yhden', 'kahden', 'kolmen', 'neljän', 'viiden',
|
||||
'kuuden', numbers_past[7], numbers_past[8], numbers_past[9]];
|
||||
|
||||
function translate(number, withoutSuffix, key, isFuture) {
|
||||
var result = "";
|
||||
switch (key) {
|
||||
case 's':
|
||||
return isFuture ? 'muutaman sekunnin' : 'muutama sekunti';
|
||||
case 'm':
|
||||
return isFuture ? 'minuutin' : 'minuutti';
|
||||
case 'mm':
|
||||
result = isFuture ? 'minuutin' : 'minuuttia';
|
||||
break;
|
||||
case 'h':
|
||||
return isFuture ? 'tunnin' : 'tunti';
|
||||
case 'hh':
|
||||
result = isFuture ? 'tunnin' : 'tuntia';
|
||||
break;
|
||||
case 'd':
|
||||
return isFuture ? 'päivän' : 'päivä';
|
||||
case 'dd':
|
||||
result = isFuture ? 'päivän' : 'päivää';
|
||||
break;
|
||||
case 'M':
|
||||
return isFuture ? 'kuukauden' : 'kuukausi';
|
||||
case 'MM':
|
||||
result = isFuture ? 'kuukauden' : 'kuukautta';
|
||||
break;
|
||||
case 'y':
|
||||
return isFuture ? 'vuoden' : 'vuosi';
|
||||
case 'yy':
|
||||
result = isFuture ? 'vuoden' : 'vuotta';
|
||||
break;
|
||||
}
|
||||
result = verbal_number(number, isFuture) + " " + result;
|
||||
return result;
|
||||
}
|
||||
|
||||
function verbal_number(number, isFuture) {
|
||||
return number < 10 ? (isFuture ? numbers_future[number] : numbers_past[number]) : number;
|
||||
}
|
||||
|
||||
var lang = {
|
||||
months : "tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),
|
||||
monthsShort : "tam_hel_maa_huh_tou_kes_hei_elo_syy_lok_mar_jou".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",
|
||||
L : "DD.MM.YYYY",
|
||||
LL : "Do MMMMt\\a YYYY",
|
||||
LLL : "Do MMMMt\\a YYYY, klo LT",
|
||||
LLLL : "dddd, Do MMMMt\\a YYYY, klo LT"
|
||||
},
|
||||
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 : translate,
|
||||
m : translate,
|
||||
mm : translate,
|
||||
h : translate,
|
||||
hh : translate,
|
||||
d : translate,
|
||||
dd : translate,
|
||||
M : translate,
|
||||
MM : translate,
|
||||
y : translate,
|
||||
yy : translate
|
||||
},
|
||||
ordinal : function (number) {
|
||||
return ".";
|
||||
}
|
||||
};
|
||||
|
||||
// Node
|
||||
if (typeof module !== 'undefined' && module.exports) {
|
||||
module.exports = lang;
|
||||
}
|
||||
// Browser
|
||||
if (typeof window !== 'undefined' && this.moment && this.moment.lang) {
|
||||
this.moment.lang('fi', lang);
|
||||
}
|
||||
}());
|
54
node_modules/emailjs/node_modules/moment/lang/fr-ca.js
generated
vendored
54
node_modules/emailjs/node_modules/moment/lang/fr-ca.js
generated
vendored
|
@ -1,54 +0,0 @@
|
|||
// moment.js language configuration
|
||||
// language : canadian french (fr-ca)
|
||||
// author : Jonathan Abourbih : https://github.com/jonbca
|
||||
(function () {
|
||||
var lang = {
|
||||
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("_"),
|
||||
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("_"),
|
||||
longDateFormat : {
|
||||
LT : "HH:mm",
|
||||
L : "YYYY-MM-DD",
|
||||
LL : "D MMMM YYYY",
|
||||
LLL : "D MMMM YYYY LT",
|
||||
LLLL : "dddd D MMMM YYYY LT"
|
||||
},
|
||||
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",
|
||||
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 : "une année",
|
||||
yy : "%d années"
|
||||
},
|
||||
ordinal : function (number) {
|
||||
return number === 1 ? 'er' : 'ème';
|
||||
}
|
||||
};
|
||||
|
||||
// Node
|
||||
if (typeof module !== 'undefined' && module.exports) {
|
||||
module.exports = lang;
|
||||
}
|
||||
// Browser
|
||||
if (typeof window !== 'undefined' && this.moment && this.moment.lang) {
|
||||
this.moment.lang('fr', lang);
|
||||
}
|
||||
}());
|
54
node_modules/emailjs/node_modules/moment/lang/fr.js
generated
vendored
54
node_modules/emailjs/node_modules/moment/lang/fr.js
generated
vendored
|
@ -1,54 +0,0 @@
|
|||
// moment.js language configuration
|
||||
// language : french (fr)
|
||||
// author : John Fischer : https://github.com/jfroffice
|
||||
(function () {
|
||||
var lang = {
|
||||
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("_"),
|
||||
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("_"),
|
||||
longDateFormat : {
|
||||
LT : "HH:mm",
|
||||
L : "DD/MM/YYYY",
|
||||
LL : "D MMMM YYYY",
|
||||
LLL : "D MMMM YYYY LT",
|
||||
LLLL : "dddd D MMMM YYYY LT"
|
||||
},
|
||||
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",
|
||||
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 : "une année",
|
||||
yy : "%d années"
|
||||
},
|
||||
ordinal : function (number) {
|
||||
return number === 1 ? 'er' : 'ème';
|
||||
}
|
||||
};
|
||||
|
||||
// Node
|
||||
if (typeof module !== 'undefined' && module.exports) {
|
||||
module.exports = lang;
|
||||
}
|
||||
// Browser
|
||||
if (typeof window !== 'undefined' && this.moment && this.moment.lang) {
|
||||
this.moment.lang('fr', lang);
|
||||
}
|
||||
}());
|
64
node_modules/emailjs/node_modules/moment/lang/gl.js
generated
vendored
64
node_modules/emailjs/node_modules/moment/lang/gl.js
generated
vendored
|
@ -1,64 +0,0 @@
|
|||
// moment.js language configuration
|
||||
// language : galician (gl)
|
||||
// author : Juan G. Hurtado : https://github.com/juanghurtado
|
||||
(function () {
|
||||
var lang = {
|
||||
months : "Xaneiro_Febreiro_Marzo_Abril_Maio_Xuño_Xullo_Agosto_Setembro_Octubro_Novembro_Decembro".split("_"),
|
||||
monthsShort : "Xan._Feb._Mar._Abr._Mai._Xuñ._Xul._Ago._Set._Out._Nov._Dec.".split("_"),
|
||||
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("_"),
|
||||
longDateFormat : {
|
||||
LT : "H:mm",
|
||||
L : "DD/MM/YYYY",
|
||||
LL : "D MMMM YYYY",
|
||||
LLL : "D MMMM YYYY LT",
|
||||
LLLL : "dddd D MMMM YYYY LT"
|
||||
},
|
||||
calendar : {
|
||||
sameDay : function () {
|
||||
return '[hoxe ' + ((this.hours() !== 1) ? 'ás' : 'a') + '] LT';
|
||||
},
|
||||
nextDay : function () {
|
||||
return '[mañá ' + ((this.hours() !== 1) ? 'ás' : 'a') + '] LT';
|
||||
},
|
||||
nextWeek : function () {
|
||||
return 'dddd [' + ((this.hours() !== 1) ? 'ás' : 'a') + '] LT';
|
||||
},
|
||||
lastDay : function () {
|
||||
return '[onte ' + ((this.hours() !== 1) ? 'á' : 'a') + '] LT';
|
||||
},
|
||||
lastWeek : function () {
|
||||
return '[o] dddd [pasado ' + ((this.hours() !== 1) ? 'ás' : 'a') + '] LT';
|
||||
},
|
||||
sameElse : 'L'
|
||||
},
|
||||
relativeTime : {
|
||||
future : "en %s",
|
||||
past : "fai %s",
|
||||
s : "uns segundo",
|
||||
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"
|
||||
},
|
||||
ordinal : function (number) {
|
||||
return 'º';
|
||||
}
|
||||
};
|
||||
|
||||
// Node
|
||||
if (typeof module !== 'undefined' && module.exports) {
|
||||
module.exports = lang;
|
||||
}
|
||||
// Browser
|
||||
if (typeof window !== 'undefined' && this.moment && this.moment.lang) {
|
||||
this.moment.lang('gl', lang);
|
||||
}
|
||||
}());
|
108
node_modules/emailjs/node_modules/moment/lang/hu.js
generated
vendored
108
node_modules/emailjs/node_modules/moment/lang/hu.js
generated
vendored
|
@ -1,108 +0,0 @@
|
|||
// moment.js language configuration
|
||||
// language : hungarian (hu)
|
||||
// author : Adam Brunner : https://github.com/adambrunner
|
||||
(function()
|
||||
{
|
||||
function translate(number, withoutSuffix, key, isFuture) {
|
||||
var num = number;
|
||||
|
||||
switch (key) {
|
||||
case 's':
|
||||
return (isFuture || withoutSuffix) ? 'néhány másodperc' : 'néhány másodperce';
|
||||
|
||||
case 'm':
|
||||
num = 'egy';
|
||||
case 'mm':
|
||||
return num + (isFuture || withoutSuffix ? ' perc' : ' perce');
|
||||
break;
|
||||
|
||||
case 'h':
|
||||
num = 'egy';
|
||||
case 'hh':
|
||||
return num + (isFuture || withoutSuffix ? ' óra' : ' órája');
|
||||
|
||||
case 'd':
|
||||
num = 'egy';
|
||||
case 'dd':
|
||||
return num + (isFuture || withoutSuffix ? ' nap' : ' napja');
|
||||
|
||||
case 'M':
|
||||
num = 'egy';
|
||||
case 'MM':
|
||||
return num + (isFuture || withoutSuffix ? ' hónap' : ' hónapja');
|
||||
|
||||
case 'y':
|
||||
num = 'egy';
|
||||
case 'yy':
|
||||
return num + (isFuture || withoutSuffix ? ' év' : ' éve');
|
||||
|
||||
default:
|
||||
}
|
||||
|
||||
return '';
|
||||
}
|
||||
|
||||
function week(isFuture) {
|
||||
var ending = '';
|
||||
switch (this.day()) {
|
||||
case 0: ending = 'vasárnap'; break;
|
||||
case 1: ending = 'hétfőn'; break;
|
||||
case 2: ending = 'kedden'; break;
|
||||
case 3: ending = 'szerdán'; break;
|
||||
case 4: ending = 'csütörtökön'; break;
|
||||
case 5: ending = 'pénteken'; break;
|
||||
case 6: ending = 'szombaton'; break;
|
||||
}
|
||||
return (isFuture ? '' : 'múlt ')+'['+ending+'] LT[-kor]';
|
||||
}
|
||||
|
||||
var lang = {
|
||||
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("_"),
|
||||
weekdays : "vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),
|
||||
weekdaysShort : "v_h_k_sze_cs_p_szo".split("_"),
|
||||
longDateFormat : {
|
||||
LT : "H:mm",
|
||||
L : "YYYY.MM.DD.",
|
||||
LL : "YYYY. MMMM D.",
|
||||
LLL : "YYYY. MMMM D., LT",
|
||||
LLLL : "YYYY. MMMM D., dddd LT"
|
||||
},
|
||||
calendar : {
|
||||
sameDay : '[ma] LT[-kor]',
|
||||
nextDay : '[holnap] LT[-kor]',
|
||||
nextWeek : function(){return week.call(this, true);},
|
||||
lastDay : '[tegnap] LT[-kor]',
|
||||
lastWeek : function(){return week.call(this, false);},
|
||||
sameElse : 'L'
|
||||
},
|
||||
relativeTime : {
|
||||
future : "%s múlva",
|
||||
past : "%s",
|
||||
s : translate,
|
||||
m : translate,
|
||||
mm : translate,
|
||||
h : translate,
|
||||
hh : translate,
|
||||
d : translate,
|
||||
dd : translate,
|
||||
M : translate,
|
||||
MM : translate,
|
||||
y : translate,
|
||||
yy : translate
|
||||
},
|
||||
ordinal : function(number) {
|
||||
return '.';
|
||||
}
|
||||
};
|
||||
|
||||
// Node
|
||||
if (typeof module !== 'undefined' && module.exports) {
|
||||
module.exports = lang;
|
||||
}
|
||||
|
||||
// Browser
|
||||
if (typeof window !== 'undefined' && this.moment && this.moment.lang) {
|
||||
this.moment.lang('hu', lang);
|
||||
}
|
||||
}());
|
132
node_modules/emailjs/node_modules/moment/lang/is.js
generated
vendored
132
node_modules/emailjs/node_modules/moment/lang/is.js
generated
vendored
|
@ -1,132 +0,0 @@
|
|||
// moment.js language configuration
|
||||
// language : icelandic (is)
|
||||
// author : Hinrik Örn Sigurðsson : https://github.com/hinrik
|
||||
(function () {
|
||||
var plural = function (n) {
|
||||
if (n % 100 == 11) {
|
||||
return true;
|
||||
} else if (n % 10 == 1) {
|
||||
return false;
|
||||
} else {
|
||||
return true;
|
||||
}
|
||||
},
|
||||
|
||||
translate = function (number, withoutSuffix, key, isFuture) {
|
||||
var result = number + " ";
|
||||
switch (key) {
|
||||
case 's':
|
||||
return withoutSuffix || isFuture ? 'nokkrar sekúndur' : 'nokkrum sekúndum';
|
||||
case 'm':
|
||||
return withoutSuffix ? 'mínúta' : 'mínútu';
|
||||
case 'mm':
|
||||
if (plural(number)) {
|
||||
return result + (withoutSuffix || isFuture ? 'mínútur' : 'mínútum');
|
||||
} else if (withoutSuffix) {
|
||||
return result + 'mínúta';
|
||||
} else {
|
||||
return result + 'mínútu';
|
||||
}
|
||||
case 'hh':
|
||||
if (plural(number)) {
|
||||
return result + (withoutSuffix || isFuture ? 'klukkustundir' : 'klukkustundum');
|
||||
} else {
|
||||
return result + 'klukkustund';
|
||||
}
|
||||
case 'd':
|
||||
if (withoutSuffix) {
|
||||
return 'dagur'
|
||||
} else {
|
||||
return isFuture ? 'dag' : 'degi';
|
||||
}
|
||||
case 'dd':
|
||||
if (plural(number)) {
|
||||
if (withoutSuffix) {
|
||||
return result + 'dagar'
|
||||
} else {
|
||||
return result + (isFuture ? 'daga' : 'dögum');
|
||||
}
|
||||
} else if (withoutSuffix) {
|
||||
return result + 'dagur'
|
||||
} else {
|
||||
return result + (isFuture ? 'dag' : 'degi');
|
||||
}
|
||||
case 'M':
|
||||
if (withoutSuffix) {
|
||||
return 'mánuður'
|
||||
} else {
|
||||
return isFuture ? 'mánuð' : 'mánuði';
|
||||
}
|
||||
case 'MM':
|
||||
if (plural(number)) {
|
||||
if (withoutSuffix) {
|
||||
return result + 'mánuðir'
|
||||
} else {
|
||||
return result + (isFuture ? 'mánuði' : 'mánuðum');
|
||||
}
|
||||
} else if (withoutSuffix) {
|
||||
return result + 'mánuður';
|
||||
} else {
|
||||
return result + (isFuture ? 'mánuð' : 'mánuði');
|
||||
}
|
||||
case 'y':
|
||||
return withoutSuffix || isFuture ? 'ár' : 'ári';
|
||||
case 'yy':
|
||||
if (plural(number)) {
|
||||
return result + (withoutSuffix || isFuture ? 'ár' : 'árum');
|
||||
} else {
|
||||
return result + (withoutSuffix || isFuture ? 'ár' : 'ári');
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
lang = {
|
||||
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",
|
||||
L : "DD/MM/YYYY",
|
||||
LL : "D. MMMM YYYY",
|
||||
LLL : "D. MMMM YYYY kl. LT",
|
||||
LLLL : "dddd, D. MMMM YYYY kl. LT"
|
||||
},
|
||||
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 : translate,
|
||||
m : translate,
|
||||
mm : translate,
|
||||
h : "klukkustund",
|
||||
hh : translate,
|
||||
d : translate,
|
||||
dd : translate,
|
||||
M : translate,
|
||||
MM : translate,
|
||||
y : translate,
|
||||
yy : translate,
|
||||
},
|
||||
ordinal : function (number) {
|
||||
return '.';
|
||||
}
|
||||
};
|
||||
|
||||
// Node
|
||||
if (typeof module !== 'undefined' && module.exports) {
|
||||
module.exports = lang;
|
||||
}
|
||||
// Browser
|
||||
if (typeof window !== 'undefined' && this.moment && this.moment.lang) {
|
||||
this.moment.lang('is', lang);
|
||||
}
|
||||
}());
|
54
node_modules/emailjs/node_modules/moment/lang/it.js
generated
vendored
54
node_modules/emailjs/node_modules/moment/lang/it.js
generated
vendored
|
@ -1,54 +0,0 @@
|
|||
// moment.js language configuration
|
||||
// language : italian (it)
|
||||
// author : Lorenzo : https://github.com/aliem
|
||||
(function () {
|
||||
var lang = {
|
||||
months : "Gennaio_Febbraio_Marzo_Aprile_Maggio_Giugno_Luglio_Agosto_Settebre_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 : "D_L_Ma_Me_G_V_S".split("_"),
|
||||
longDateFormat : {
|
||||
LT : "HH:mm",
|
||||
L : "DD/MM/YYYY",
|
||||
LL : "D MMMM YYYY",
|
||||
LLL : "D MMMM YYYY LT",
|
||||
LLLL : "dddd, D MMMM YYYY LT"
|
||||
},
|
||||
calendar : {
|
||||
sameDay: '[Oggi alle] LT',
|
||||
nextDay: '[Domani alle] LT',
|
||||
nextWeek: 'dddd [alle] LT',
|
||||
lastDay: '[Ieri alle] LT',
|
||||
lastWeek: '[lo scorso] dddd [alle] LT',
|
||||
sameElse: 'L'
|
||||
},
|
||||
relativeTime : {
|
||||
future : "in %s",
|
||||
past : "%s fa",
|
||||
s : "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"
|
||||
},
|
||||
ordinal: function () {
|
||||
return 'º';
|
||||
}
|
||||
};
|
||||
|
||||
// Node
|
||||
if (typeof module !== 'undefined' && module.exports) {
|
||||
module.exports = lang;
|
||||
}
|
||||
// Browser
|
||||
if (typeof window !== 'undefined' && this.moment && this.moment.lang) {
|
||||
this.moment.lang('it', lang);
|
||||
}
|
||||
}());
|
61
node_modules/emailjs/node_modules/moment/lang/ja.js
generated
vendored
61
node_modules/emailjs/node_modules/moment/lang/ja.js
generated
vendored
|
@ -1,61 +0,0 @@
|
|||
// moment.js language configuration
|
||||
// language : japanese (ja)
|
||||
// author : LI Long : https://github.com/baryon
|
||||
(function () {
|
||||
var lang = {
|
||||
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 : "Ah時m分",
|
||||
L : "YYYY/MM/DD",
|
||||
LL : "YYYY年M月D日",
|
||||
LLL : "YYYY年M月D日LT",
|
||||
LLLL : "YYYY年M月D日LT dddd"
|
||||
},
|
||||
meridiem : function (hour, minute, isLower) {
|
||||
if (hour < 12) {
|
||||
return "午前";
|
||||
} else {
|
||||
return "午後";
|
||||
}
|
||||
},
|
||||
calendar : {
|
||||
sameDay : '[今日] LT',
|
||||
nextDay : '[明日] LT',
|
||||
nextWeek : '[来週]dddd LT',
|
||||
lastDay : '[昨日] LT',
|
||||
lastWeek : '[前週]dddd LT',
|
||||
sameElse : 'L'
|
||||
},
|
||||
relativeTime : {
|
||||
future : "%s後",
|
||||
past : "%s前",
|
||||
s : "数秒",
|
||||
m : "1分",
|
||||
mm : "%d分",
|
||||
h : "1時間",
|
||||
hh : "%d時間",
|
||||
d : "1日",
|
||||
dd : "%d日",
|
||||
M : "1ヶ月",
|
||||
MM : "%dヶ月",
|
||||
y : "1年",
|
||||
yy : "%d年"
|
||||
},
|
||||
ordinal : function (number) {
|
||||
return '';
|
||||
}
|
||||
};
|
||||
|
||||
// Node
|
||||
if (typeof module !== 'undefined' && module.exports) {
|
||||
module.exports = lang;
|
||||
}
|
||||
// Browser
|
||||
if (typeof window !== 'undefined' && this.moment && this.moment.lang) {
|
||||
this.moment.lang('ja', lang);
|
||||
}
|
||||
}());
|
64
node_modules/emailjs/node_modules/moment/lang/jp.js
generated
vendored
64
node_modules/emailjs/node_modules/moment/lang/jp.js
generated
vendored
|
@ -1,64 +0,0 @@
|
|||
// moment.js language configuration
|
||||
// language : japanese (jp)
|
||||
// author : LI Long : https://github.com/baryon
|
||||
|
||||
// This language config was incorrectly named 'jp' instead of 'ja'.
|
||||
// In version 2.0.0, this will be deprecated and you should use 'ja' instead.
|
||||
(function () {
|
||||
var lang = {
|
||||
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 : "Ah時m分",
|
||||
L : "YYYY/MM/DD",
|
||||
LL : "YYYY年M月D日",
|
||||
LLL : "YYYY年M月D日LT",
|
||||
LLLL : "YYYY年M月D日LT dddd"
|
||||
},
|
||||
meridiem : function (hour, minute, isLower) {
|
||||
if (hour < 12) {
|
||||
return "午前";
|
||||
} else {
|
||||
return "午後";
|
||||
}
|
||||
},
|
||||
calendar : {
|
||||
sameDay : '[今日] LT',
|
||||
nextDay : '[明日] LT',
|
||||
nextWeek : '[来週]dddd LT',
|
||||
lastDay : '[昨日] LT',
|
||||
lastWeek : '[前週]dddd LT',
|
||||
sameElse : 'L'
|
||||
},
|
||||
relativeTime : {
|
||||
future : "%s後",
|
||||
past : "%s前",
|
||||
s : "数秒",
|
||||
m : "1分",
|
||||
mm : "%d分",
|
||||
h : "1時間",
|
||||
hh : "%d時間",
|
||||
d : "1日",
|
||||
dd : "%d日",
|
||||
M : "1ヶ月",
|
||||
MM : "%dヶ月",
|
||||
y : "1年",
|
||||
yy : "%d年"
|
||||
},
|
||||
ordinal : function (number) {
|
||||
return '';
|
||||
}
|
||||
};
|
||||
|
||||
// Node
|
||||
if (typeof module !== 'undefined' && module.exports) {
|
||||
module.exports = lang;
|
||||
}
|
||||
// Browser
|
||||
if (typeof window !== 'undefined' && this.moment && this.moment.lang) {
|
||||
this.moment.lang('jp', lang);
|
||||
}
|
||||
}());
|
58
node_modules/emailjs/node_modules/moment/lang/ko.js
generated
vendored
58
node_modules/emailjs/node_modules/moment/lang/ko.js
generated
vendored
|
@ -1,58 +0,0 @@
|
|||
// moment.js language configuration
|
||||
// language : korean (ko)
|
||||
// author : Kyungwook, Park : https://github.com/kyungw00k
|
||||
(function () {
|
||||
var lang = {
|
||||
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분",
|
||||
L : "YYYY.MM.DD",
|
||||
LL : "YYYY년 MMMM D일",
|
||||
LLL : "YYYY년 MMMM D일 LT",
|
||||
LLLL : "YYYY년 MMMM D일 dddd LT"
|
||||
},
|
||||
meridiem : function (hour, minute, isUpper) {
|
||||
return hour < 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년"
|
||||
},
|
||||
ordinal : function (number) {
|
||||
return '일';
|
||||
}
|
||||
};
|
||||
|
||||
// Node
|
||||
if (typeof module !== 'undefined' && module.exports) {
|
||||
module.exports = lang;
|
||||
}
|
||||
// Browser
|
||||
if (typeof window !== 'undefined' && this.moment && this.moment.lang) {
|
||||
this.moment.lang('ko', lang);
|
||||
}
|
||||
}());
|
61
node_modules/emailjs/node_modules/moment/lang/kr.js
generated
vendored
61
node_modules/emailjs/node_modules/moment/lang/kr.js
generated
vendored
|
@ -1,61 +0,0 @@
|
|||
// moment.js language configuration
|
||||
// language : korean (kr)
|
||||
// author : Kyungwook, Park : https://github.com/kyungw00k
|
||||
|
||||
// This language config was incorrectly named 'kr' instead of 'ko'.
|
||||
// In version 2.0.0, this will be deprecated and you should use 'ko' instead.
|
||||
(function () {
|
||||
var lang = {
|
||||
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분",
|
||||
L : "YYYY.MM.DD",
|
||||
LL : "YYYY년 MMMM D일",
|
||||
LLL : "YYYY년 MMMM D일 LT",
|
||||
LLLL : "YYYY년 MMMM D일 dddd LT"
|
||||
},
|
||||
meridiem : function (hour, minute, isUpper) {
|
||||
return hour < 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년"
|
||||
},
|
||||
ordinal : function (number) {
|
||||
return '일';
|
||||
}
|
||||
};
|
||||
|
||||
// Node
|
||||
if (typeof module !== 'undefined' && module.exports) {
|
||||
module.exports = lang;
|
||||
}
|
||||
// Browser
|
||||
if (typeof window !== 'undefined' && this.moment && this.moment.lang) {
|
||||
this.moment.lang('kr', lang);
|
||||
}
|
||||
}());
|
54
node_modules/emailjs/node_modules/moment/lang/nb.js
generated
vendored
54
node_modules/emailjs/node_modules/moment/lang/nb.js
generated
vendored
|
@ -1,54 +0,0 @@
|
|||
// moment.js language configuration
|
||||
// language : norwegian bokmål (nb)
|
||||
// author : Espen Hovlandsdal : https://github.com/rexxars
|
||||
(function () {
|
||||
var lang = {
|
||||
months : "januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),
|
||||
monthsShort : "jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".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",
|
||||
L : "YYYY-MM-DD",
|
||||
LL : "D MMMM YYYY",
|
||||
LLL : "D MMMM YYYY LT",
|
||||
LLLL : "dddd D MMMM YYYY LT"
|
||||
},
|
||||
calendar : {
|
||||
sameDay: '[I dag klokken] LT',
|
||||
nextDay: '[I morgen klokken] LT',
|
||||
nextWeek: 'dddd [klokken] LT',
|
||||
lastDay: '[I går klokken] LT',
|
||||
lastWeek: '[Forrige] dddd [klokken] LT',
|
||||
sameElse: 'L'
|
||||
},
|
||||
relativeTime : {
|
||||
future : "om %s",
|
||||
past : "for %s siden",
|
||||
s : "noen sekunder",
|
||||
m : "ett minutt",
|
||||
mm : "%d minutter",
|
||||
h : "en time",
|
||||
hh : "%d timer",
|
||||
d : "en dag",
|
||||
dd : "%d dager",
|
||||
M : "en måned",
|
||||
MM : "%d måneder",
|
||||
y : "ett år",
|
||||
yy : "%d år"
|
||||
},
|
||||
ordinal : function (number) {
|
||||
return '.';
|
||||
}
|
||||
};
|
||||
|
||||
// Node
|
||||
if (typeof module !== 'undefined' && module.exports) {
|
||||
module.exports = lang;
|
||||
}
|
||||
// Browser
|
||||
if (typeof window !== 'undefined' && this.moment && this.moment.lang) {
|
||||
this.moment.lang('nb', lang);
|
||||
}
|
||||
}());
|
62
node_modules/emailjs/node_modules/moment/lang/nl.js
generated
vendored
62
node_modules/emailjs/node_modules/moment/lang/nl.js
generated
vendored
|
@ -1,62 +0,0 @@
|
|||
// moment.js language configuration
|
||||
// language : dutch (nl)
|
||||
// author : Joris Röling : https://github.com/jjupiter
|
||||
(function () {
|
||||
var monthsShortWithDots = "jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_");
|
||||
var monthsShortWithoutDots = "jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_");
|
||||
var lang = {
|
||||
months : "januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),
|
||||
monthsShort : function (m, format) {
|
||||
if (/-MMM-/.test(format)) {
|
||||
return monthsShortWithoutDots[m.month()];
|
||||
} else {
|
||||
return monthsShortWithDots[m.month()];
|
||||
}
|
||||
},
|
||||
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("_"),
|
||||
longDateFormat : {
|
||||
LT : "HH:mm",
|
||||
L : "DD-MM-YYYY",
|
||||
LL : "D MMMM YYYY",
|
||||
LLL : "D MMMM YYYY LT",
|
||||
LLLL : "dddd D MMMM YYYY LT"
|
||||
},
|
||||
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",
|
||||
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"
|
||||
},
|
||||
ordinal : function (number) {
|
||||
return (number === 1 || number === 8 || number >= 20) ? 'ste' : 'de';
|
||||
}
|
||||
};
|
||||
|
||||
// Node
|
||||
if (typeof module !== 'undefined' && module.exports) {
|
||||
module.exports = lang;
|
||||
}
|
||||
// Browser
|
||||
if (typeof window !== 'undefined' && this.moment && this.moment.lang) {
|
||||
this.moment.lang('nl', lang);
|
||||
}
|
||||
}());
|
76
node_modules/emailjs/node_modules/moment/lang/pl.js
generated
vendored
76
node_modules/emailjs/node_modules/moment/lang/pl.js
generated
vendored
|
@ -1,76 +0,0 @@
|
|||
// moment.js language configuration
|
||||
// language : polish (pl)
|
||||
// author : Rafal Hirsz : https://github.com/evoL
|
||||
(function () {
|
||||
var plural = function (n) {
|
||||
return (n % 10 < 5) && (n % 10 > 1) && (~~(n / 10) !== 1);
|
||||
},
|
||||
|
||||
translate = function (number, withoutSuffix, key) {
|
||||
var result = number + " ";
|
||||
switch (key) {
|
||||
case 'm':
|
||||
return withoutSuffix ? 'minuta' : 'minutę';
|
||||
case 'mm':
|
||||
return result + (plural(number) ? 'minuty' : 'minut');
|
||||
case 'h':
|
||||
return withoutSuffix ? 'godzina' : 'godzinę';
|
||||
case 'hh':
|
||||
return result + (plural(number) ? 'godziny' : 'godzin');
|
||||
case 'MM':
|
||||
return result + (plural(number) ? 'miesiące' : 'miesięcy');
|
||||
case 'yy':
|
||||
return result + (plural(number) ? 'lata' : 'lat');
|
||||
}
|
||||
},
|
||||
|
||||
lang = {
|
||||
months : "styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),
|
||||
monthsShort : "sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),
|
||||
weekdays : "niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),
|
||||
weekdaysShort : "nie_pon_wt_śr_czw_pt_sb".split("_"),
|
||||
weekdaysMin : "N_Pn_Wt_Śr_Cz_Pt_So".split("_"),
|
||||
longDateFormat : {
|
||||
LT : "HH:mm",
|
||||
L : "DD-MM-YYYY",
|
||||
LL : "D MMMM YYYY",
|
||||
LLL : "D MMMM YYYY LT",
|
||||
LLLL : "dddd, D MMMM YYYY LT"
|
||||
},
|
||||
calendar : {
|
||||
sameDay: '[Dziś o] LT',
|
||||
nextDay: '[Jutro o] LT',
|
||||
nextWeek: '[W] dddd [o] LT',
|
||||
lastDay: '[Wczoraj o] LT',
|
||||
lastWeek: '[W zeszły/łą] dddd [o] LT',
|
||||
sameElse: 'L'
|
||||
},
|
||||
relativeTime : {
|
||||
future : "za %s",
|
||||
past : "%s temu",
|
||||
s : "kilka sekund",
|
||||
m : translate,
|
||||
mm : translate,
|
||||
h : translate,
|
||||
hh : translate,
|
||||
d : "1 dzień",
|
||||
dd : '%d dni',
|
||||
M : "miesiąc",
|
||||
MM : translate,
|
||||
y : "rok",
|
||||
yy : translate
|
||||
},
|
||||
ordinal : function (number) {
|
||||
return '.';
|
||||
}
|
||||
};
|
||||
|
||||
// Node
|
||||
if (typeof module !== 'undefined' && module.exports) {
|
||||
module.exports = lang;
|
||||
}
|
||||
// Browser
|
||||
if (typeof window !== 'undefined' && this.moment && this.moment.lang) {
|
||||
this.moment.lang('pl', lang);
|
||||
}
|
||||
}());
|
58
node_modules/emailjs/node_modules/moment/lang/pt-br.js
generated
vendored
58
node_modules/emailjs/node_modules/moment/lang/pt-br.js
generated
vendored
|
@ -1,58 +0,0 @@
|
|||
// moment.js language configuration
|
||||
// language : brazilian portuguese (pt-br)
|
||||
// author : Caio Ribeiro Pereira : https://github.com/caio-ribeiro-pereira
|
||||
(function () {
|
||||
var lang = {
|
||||
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 : "Dom_2ª_3ª_4ª_5ª_6ª_Sáb".split("_"),
|
||||
longDateFormat : {
|
||||
LT : "HH:mm",
|
||||
L : "DD/MM/YYYY",
|
||||
LL : "D \\de MMMM \\de YYYY",
|
||||
LLL : "D \\de MMMM \\de YYYY LT",
|
||||
LLLL : "dddd, D \\de MMMM \\de YYYY LT"
|
||||
},
|
||||
calendar : {
|
||||
sameDay: '[Hoje às] LT',
|
||||
nextDay: '[Amanhã às] LT',
|
||||
nextWeek: 'dddd [às] LT',
|
||||
lastDay: '[Ontem às] LT',
|
||||
lastWeek: function () {
|
||||
return (this.day() === 0 || this.day() === 6) ?
|
||||
'[Último] dddd [às] LT' : // Saturday + Sunday
|
||||
'[Última] dddd [às] LT'; // Monday - Friday
|
||||
},
|
||||
sameElse: 'L'
|
||||
},
|
||||
relativeTime : {
|
||||
future : "em %s",
|
||||
past : "%s atrás",
|
||||
s : "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"
|
||||
},
|
||||
ordinal : function (number) {
|
||||
return 'º';
|
||||
}
|
||||
};
|
||||
|
||||
// Node
|
||||
if (typeof module !== 'undefined' && module.exports) {
|
||||
module.exports = lang;
|
||||
}
|
||||
// Browser
|
||||
if (typeof window !== 'undefined' && this.moment && this.moment.lang) {
|
||||
this.moment.lang('pt-br', lang);
|
||||
}
|
||||
}());
|
58
node_modules/emailjs/node_modules/moment/lang/pt.js
generated
vendored
58
node_modules/emailjs/node_modules/moment/lang/pt.js
generated
vendored
|
@ -1,58 +0,0 @@
|
|||
// moment.js language configuration
|
||||
// language : portuguese (pt)
|
||||
// author : Jefferson : https://github.com/jalex79
|
||||
(function () {
|
||||
var lang = {
|
||||
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 : "Dom_2ª_3ª_4ª_5ª_6ª_Sáb".split("_"),
|
||||
longDateFormat : {
|
||||
LT : "HH:mm",
|
||||
L : "DD/MM/YYYY",
|
||||
LL : "D \\de MMMM \\de YYYY",
|
||||
LLL : "D \\de MMMM \\de YYYY LT",
|
||||
LLLL : "dddd, D \\de MMMM \\de YYYY LT"
|
||||
},
|
||||
calendar : {
|
||||
sameDay: '[Hoje às] LT',
|
||||
nextDay: '[Amanhã às] LT',
|
||||
nextWeek: 'dddd [às] LT',
|
||||
lastDay: '[Ontem às] LT',
|
||||
lastWeek: function () {
|
||||
return (this.day() === 0 || this.day() === 6) ?
|
||||
'[Último] dddd [às] LT' : // Saturday + Sunday
|
||||
'[Última] dddd [às] LT'; // Monday - Friday
|
||||
},
|
||||
sameElse: 'L'
|
||||
},
|
||||
relativeTime : {
|
||||
future : "em %s",
|
||||
past : "%s atrás",
|
||||
s : "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"
|
||||
},
|
||||
ordinal : function (number) {
|
||||
return 'º';
|
||||
}
|
||||
};
|
||||
|
||||
// Node
|
||||
if (typeof module !== 'undefined' && module.exports) {
|
||||
module.exports = lang;
|
||||
}
|
||||
// Browser
|
||||
if (typeof window !== 'undefined' && this.moment && this.moment.lang) {
|
||||
this.moment.lang('pt', lang);
|
||||
}
|
||||
}());
|
133
node_modules/emailjs/node_modules/moment/lang/ru.js
generated
vendored
133
node_modules/emailjs/node_modules/moment/lang/ru.js
generated
vendored
|
@ -1,133 +0,0 @@
|
|||
// moment.js language configuration
|
||||
// language : russian (ru)
|
||||
// author : Viktorminator : https://github.com/Viktorminator
|
||||
(function () {
|
||||
|
||||
var pluralRules = [
|
||||
function (n) { return ((n % 10 === 1) && (n % 100 !== 11)); },
|
||||
function (n) { return ((n % 10) >= 2 && (n % 10) <= 4 && ((n % 10) % 1) === 0) && ((n % 100) < 12 || (n % 100) > 14); },
|
||||
function (n) { return ((n % 10) === 0 || ((n % 10) >= 5 && (n % 10) <= 9 && ((n % 10) % 1) === 0) || ((n % 100) >= 11 && (n % 100) <= 14 && ((n % 100) % 1) === 0)); },
|
||||
function (n) { return true; }
|
||||
],
|
||||
|
||||
plural = function (word, num) {
|
||||
var forms = word.split('_'),
|
||||
minCount = Math.min(pluralRules.length, forms.length),
|
||||
i = -1;
|
||||
|
||||
while (++i < minCount) {
|
||||
if (pluralRules[i](num)) {
|
||||
return forms[i];
|
||||
}
|
||||
}
|
||||
return forms[minCount - 1];
|
||||
},
|
||||
|
||||
relativeTimeWithPlural = function (number, withoutSuffix, key) {
|
||||
var format = {
|
||||
'mm': 'минута_минуты_минут_минуты',
|
||||
'hh': 'час_часа_часов_часа',
|
||||
'dd': 'день_дня_дней_дня',
|
||||
'MM': 'месяц_месяца_месяцев_месяца',
|
||||
'yy': 'год_года_лет_года'
|
||||
};
|
||||
if (key === 'm') {
|
||||
return withoutSuffix ? 'минута' : 'минуту';
|
||||
}
|
||||
else {
|
||||
return number + ' ' + plural(format[key], +number);
|
||||
}
|
||||
},
|
||||
|
||||
monthsCaseReplace = function (m, format) {
|
||||
var months = {
|
||||
'nominative': 'январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь'.split('_'),
|
||||
'accusative': 'января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря'.split('_')
|
||||
},
|
||||
|
||||
nounCase = (/D[oD]? *MMMM?/).test(format) ?
|
||||
'accusative' :
|
||||
'nominative';
|
||||
|
||||
return months[nounCase][m.month()];
|
||||
},
|
||||
|
||||
weekdaysCaseReplace = function (m, format) {
|
||||
var weekdays = {
|
||||
'nominative': 'воскресенье_понедельник_вторник_среда_четверг_пятница_суббота'.split('_'),
|
||||
'accusative': 'воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу'.split('_'),
|
||||
},
|
||||
|
||||
nounCase = (/\[ ?[Вв] ?(?:прошлую|следующую)? ?\] ?dddd/).test(format) ?
|
||||
'accusative' :
|
||||
'nominative';
|
||||
|
||||
return weekdays[nounCase][m.day()];
|
||||
},
|
||||
|
||||
lang = {
|
||||
months : monthsCaseReplace,
|
||||
monthsShort : "янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),
|
||||
weekdays : weekdaysCaseReplace,
|
||||
weekdaysShort : "вск_пнд_втр_срд_чтв_птн_сбт".split("_"),
|
||||
weekdaysMin : "вс_пн_вт_ср_чт_пт_сб".split("_"),
|
||||
longDateFormat : {
|
||||
LT : "HH:mm",
|
||||
L : "DD.MM.YYYY",
|
||||
LL : "D MMMM YYYY г.",
|
||||
LLL : "D MMMM YYYY г., LT",
|
||||
LLLL : "dddd, D MMMM YYYY г., LT"
|
||||
},
|
||||
calendar : {
|
||||
sameDay: '[Сегодня в] LT',
|
||||
nextDay: '[Завтра в] LT',
|
||||
lastDay: '[Вчера в] LT',
|
||||
nextWeek: function () {
|
||||
return this.day() === 2 ? '[Во] dddd [в] LT' : '[В] dddd [в] LT';
|
||||
},
|
||||
lastWeek: function () {
|
||||
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'
|
||||
},
|
||||
// It needs checking (adding) russian plurals and cases.
|
||||
relativeTime : {
|
||||
future : "через %s",
|
||||
past : "%s назад",
|
||||
s : "несколько секунд",
|
||||
m : relativeTimeWithPlural,
|
||||
mm : relativeTimeWithPlural,
|
||||
h : "час",
|
||||
hh : relativeTimeWithPlural,
|
||||
d : "день",
|
||||
dd : relativeTimeWithPlural,
|
||||
M : "месяц",
|
||||
MM : relativeTimeWithPlural,
|
||||
y : "год",
|
||||
yy : relativeTimeWithPlural
|
||||
},
|
||||
ordinal : function (number) {
|
||||
return '.';
|
||||
}
|
||||
};
|
||||
|
||||
// Node
|
||||
if (typeof module !== 'undefined' && module.exports) {
|
||||
module.exports = lang;
|
||||
}
|
||||
// Browser
|
||||
if (typeof window !== 'undefined' && this.moment && this.moment.lang) {
|
||||
this.moment.lang('ru', lang);
|
||||
}
|
||||
}());
|
58
node_modules/emailjs/node_modules/moment/lang/sv.js
generated
vendored
58
node_modules/emailjs/node_modules/moment/lang/sv.js
generated
vendored
|
@ -1,58 +0,0 @@
|
|||
// moment.js language configuration
|
||||
// language : swedish (sv)
|
||||
// author : Jens Alm : https://github.com/ulmus
|
||||
(function () {
|
||||
var lang = {
|
||||
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",
|
||||
L : "YYYY-MM-DD",
|
||||
LL : "D MMMM YYYY",
|
||||
LLL : "D MMMM YYYY LT",
|
||||
LLLL : "dddd D MMMM YYYY LT"
|
||||
},
|
||||
calendar : {
|
||||
sameDay: '[Idag klockan] LT',
|
||||
nextDay: '[Imorgon klockan] LT',
|
||||
lastDay: '[Igår klockan] LT',
|
||||
nextWeek: 'dddd [klockan] LT',
|
||||
lastWeek: '[Förra] dddd[en klockan] LT',
|
||||
sameElse: 'L'
|
||||
},
|
||||
relativeTime : {
|
||||
future : "om %s",
|
||||
past : "för %s sen",
|
||||
s : "några 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"
|
||||
},
|
||||
ordinal : function (number) {
|
||||
var b = number % 10;
|
||||
return (~~ (number % 100 / 10) === 1) ? 'e' :
|
||||
(b === 1) ? 'a' :
|
||||
(b === 2) ? 'a' :
|
||||
(b === 3) ? 'e' : 'e';
|
||||
}
|
||||
};
|
||||
|
||||
// Node
|
||||
if (typeof module !== 'undefined' && module.exports) {
|
||||
module.exports = lang;
|
||||
}
|
||||
// Browser
|
||||
if (typeof window !== 'undefined' && this.moment && this.moment.lang) {
|
||||
this.moment.lang('sv', lang);
|
||||
}
|
||||
}());
|
88
node_modules/emailjs/node_modules/moment/lang/tr.js
generated
vendored
88
node_modules/emailjs/node_modules/moment/lang/tr.js
generated
vendored
|
@ -1,88 +0,0 @@
|
|||
// moment.js language configuration
|
||||
// language : turkish (tr)
|
||||
// authors : Erhan Gundogan : https://github.com/erhangundogan,
|
||||
// Burak Yiğit Kaya: https://github.com/BYK
|
||||
(function () {
|
||||
var suffixes = {
|
||||
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ı"
|
||||
};
|
||||
var lang = {
|
||||
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("_"),
|
||||
longDateFormat : {
|
||||
LT : "HH:mm",
|
||||
L : "DD.MM.YYYY",
|
||||
LL : "D MMMM YYYY",
|
||||
LLL : "D MMMM YYYY LT",
|
||||
LLLL : "dddd, D MMMM YYYY LT"
|
||||
},
|
||||
calendar : {
|
||||
sameDay : '[bugün saat] LT',
|
||||
nextDay : '[yarın saat] LT',
|
||||
nextWeek : '[haftaya] dddd [saat] LT',
|
||||
lastDay : '[dün] LT',
|
||||
lastWeek : '[geçen hafta] dddd [saat] LT',
|
||||
sameElse : 'L'
|
||||
},
|
||||
relativeTime : {
|
||||
future : "%s sonra",
|
||||
past : "%s önce",
|
||||
s : "birkaç saniye",
|
||||
m : "bir dakika",
|
||||
mm : "%d dakika",
|
||||
h : "bir saat",
|
||||
hh : "%d saat",
|
||||
d : "bir gün",
|
||||
dd : "%d gün",
|
||||
M : "bir ay",
|
||||
MM : "%d ay",
|
||||
y : "bir yıl",
|
||||
yy : "%d yıl"
|
||||
},
|
||||
ordinal : function (number) {
|
||||
if (number === 0) { // special case for zero
|
||||
return "'ıncı";
|
||||
}
|
||||
|
||||
var a = number % 10;
|
||||
var b = number % 100 - a;
|
||||
var c = number >= 100 ? 100 : null;
|
||||
|
||||
return suffixes[a] || suffixes[b] || suffixes[c];
|
||||
}
|
||||
};
|
||||
|
||||
// Node
|
||||
if (typeof module !== 'undefined' && module.exports) {
|
||||
module.exports = lang;
|
||||
}
|
||||
// Browser
|
||||
if (typeof window !== 'undefined' && this.moment && this.moment.lang) {
|
||||
this.moment.lang('tr', lang);
|
||||
}
|
||||
}());
|
67
node_modules/emailjs/node_modules/moment/lang/zh-cn.js
generated
vendored
67
node_modules/emailjs/node_modules/moment/lang/zh-cn.js
generated
vendored
|
@ -1,67 +0,0 @@
|
|||
// moment.js language configuration
|
||||
// language : chinese
|
||||
// author : suupic : https://github.com/suupic
|
||||
(function () {
|
||||
var lang = {
|
||||
months : "一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),
|
||||
monthsShort : "1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),
|
||||
weekdays : "星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),
|
||||
weekdaysShort : "周日_周一_周二_周三_周四_周五_周六".split("_"),
|
||||
weekdaysMin : "日_一_二_三_四_五_六".split("_"),
|
||||
longDateFormat : {
|
||||
LT : "Ah点mm",
|
||||
L : "YYYY年MMMD日",
|
||||
LL : "YYYY年MMMD日",
|
||||
LLL : "YYYY年MMMD日LT",
|
||||
LLLL : "YYYY年MMMD日ddddLT"
|
||||
},
|
||||
meridiem : function (hour, minute, isLower) {
|
||||
if (hour < 9) {
|
||||
return "早上";
|
||||
} else if (hour < 11 && minute < 30) {
|
||||
return "上午";
|
||||
} else if (hour < 13 && minute < 30) {
|
||||
return "中午";
|
||||
} else if (hour < 18) {
|
||||
return "下午";
|
||||
} else {
|
||||
return "晚上";
|
||||
}
|
||||
},
|
||||
calendar : {
|
||||
sameDay : '[今天]LT',
|
||||
nextDay : '[明天]LT',
|
||||
nextWeek : '[下]ddddLT',
|
||||
lastDay : '[昨天]LT',
|
||||
lastWeek : '[上]ddddLT',
|
||||
sameElse : 'L'
|
||||
},
|
||||
relativeTime : {
|
||||
future : "%s内",
|
||||
past : "%s前",
|
||||
s : "几秒",
|
||||
m : "1分钟",
|
||||
mm : "%d分钟",
|
||||
h : "1小时",
|
||||
hh : "%d小时",
|
||||
d : "1天",
|
||||
dd : "%d天",
|
||||
M : "1个月",
|
||||
MM : "%d个月",
|
||||
y : "1年",
|
||||
yy : "%d年"
|
||||
},
|
||||
ordinal : function (number) {
|
||||
return '';
|
||||
}
|
||||
};
|
||||
|
||||
// Node
|
||||
if (typeof module !== 'undefined' && module.exports) {
|
||||
module.exports = lang;
|
||||
}
|
||||
// Browser
|
||||
if (typeof window !== 'undefined' && this.moment && this.moment.lang) {
|
||||
this.moment.lang('zh-cn', lang);
|
||||
}
|
||||
}());
|
67
node_modules/emailjs/node_modules/moment/lang/zh-tw.js
generated
vendored
67
node_modules/emailjs/node_modules/moment/lang/zh-tw.js
generated
vendored
|
@ -1,67 +0,0 @@
|
|||
// moment.js language configuration
|
||||
// language : traditional chinese (zh-tw)
|
||||
// author : Ben : https://github.com/ben-lin
|
||||
(function () {
|
||||
var lang = {
|
||||
months : "一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),
|
||||
monthsShort : "1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),
|
||||
weekdays : "星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),
|
||||
weekdaysShort : "週日_週一_週二_週三_週四_週五_週六".split("_"),
|
||||
weekdaysMin : "日_一_二_三_四_五_六".split("_"),
|
||||
longDateFormat : {
|
||||
LT : "Ah點mm",
|
||||
L : "YYYY年MMMD日",
|
||||
LL : "YYYY年MMMD日",
|
||||
LLL : "YYYY年MMMD日LT",
|
||||
LLLL : "YYYY年MMMD日ddddLT"
|
||||
},
|
||||
meridiem : function (hour, minute, isLower) {
|
||||
if (hour < 9) {
|
||||
return "早上";
|
||||
} else if (hour < 11 && minute < 30) {
|
||||
return "上午";
|
||||
} else if (hour < 13 && minute < 30) {
|
||||
return "中午";
|
||||
} else if (hour < 18) {
|
||||
return "下午";
|
||||
} else {
|
||||
return "晚上";
|
||||
}
|
||||
},
|
||||
calendar : {
|
||||
sameDay : '[今天]LT',
|
||||
nextDay : '[明天]LT',
|
||||
nextWeek : '[下]ddddLT',
|
||||
lastDay : '[昨天]LT',
|
||||
lastWeek : '[上]ddddLT',
|
||||
sameElse : 'L'
|
||||
},
|
||||
relativeTime : {
|
||||
future : "%s內",
|
||||
past : "%s前",
|
||||
s : "幾秒",
|
||||
m : "一分鐘",
|
||||
mm : "%d分鐘",
|
||||
h : "一小時",
|
||||
hh : "%d小時",
|
||||
d : "一天",
|
||||
dd : "%d天",
|
||||
M : "一個月",
|
||||
MM : "%d個月",
|
||||
y : "一年",
|
||||
yy : "%d年"
|
||||
},
|
||||
ordinal : function (number) {
|
||||
return '';
|
||||
}
|
||||
};
|
||||
|
||||
// Node
|
||||
if (typeof module !== 'undefined' && module.exports) {
|
||||
module.exports = lang;
|
||||
}
|
||||
// Browser
|
||||
if (typeof window !== 'undefined' && this.moment && this.moment.lang) {
|
||||
this.moment.lang('zh-tw', lang);
|
||||
}
|
||||
}());
|
5
node_modules/emailjs/node_modules/moment/min/lang-all.min.js
generated
vendored
5
node_modules/emailjs/node_modules/moment/min/lang-all.min.js
generated
vendored
File diff suppressed because one or more lines are too long
4
node_modules/emailjs/node_modules/moment/min/lang/bg.js
generated
vendored
4
node_modules/emailjs/node_modules/moment/min/lang/bg.js
generated
vendored
|
@ -1,4 +0,0 @@
|
|||
// moment.js language configuration
|
||||
// language : bulgarian (bg)
|
||||
// author : Krasen Borisov : https://github.com/kraz
|
||||
(function(){var a={months:"януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),monthsShort:"янр_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек".split("_"),weekdays:"неделя_понеделник_вторник_сряда_четвъртък_петък_събота".split("_"),weekdaysShort:"нед_пон_вто_сря_чет_пет_съб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"h:mm",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd, D MMMM YYYY LT"},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:"няколко секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дни",M:"месец",MM:"%d месеца",y:"година",yy:"%d години"},ordinal:function(a){return"."}};typeof module!="undefined"&&(module.exports=a),typeof window!="undefined"&&this.moment&&this.moment.lang&&this.moment.lang("bg",a)})();
|
4
node_modules/emailjs/node_modules/moment/min/lang/ca.js
generated
vendored
4
node_modules/emailjs/node_modules/moment/min/lang/ca.js
generated
vendored
|
@ -1,4 +0,0 @@
|
|||
// moment.js language configuration
|
||||
// language : catalan (ca)
|
||||
// author : Juan G. Hurtado : https://github.com/juanghurtado
|
||||
(function(){var a={months:"Gener_Febrer_Març_Abril_Maig_Juny_Juliol_Agost_Setembre_Octubre_Novembre_Desembre".split("_"),monthsShort:"Gen._Febr._Mar._Abr._Mai._Jun._Jul._Ag._Set._Oct._Nov._Des.".split("_"),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("_"),longDateFormat:{LT:"H:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd D MMMM YYYY LT"},calendar:{sameDay:function(){return"[avui a "+(this.hours()!==1?"les":"la")+"] LT"},nextDay:function(){return"[demà a "+(this.hours()!==1?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(this.hours()!==1?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(this.hours()!==1?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(this.hours()!==1?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"fa %s",s:"uns 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"},ordinal:function(a){return"º"}};typeof module!="undefined"&&module.exports&&(module.exports=a),typeof window!="undefined"&&this.moment&&this.moment.lang&&this.moment.lang("ca",a)})();
|
4
node_modules/emailjs/node_modules/moment/min/lang/cv.js
generated
vendored
4
node_modules/emailjs/node_modules/moment/min/lang/cv.js
generated
vendored
|
@ -1,4 +0,0 @@
|
|||
// moment.js language configuration
|
||||
// language : chuvash (cv)
|
||||
// author : Anatoly Mironov : https://github.com/mirontoli
|
||||
(function(){var a={months:"кăрлач_нарăс_пуш_ака_май_çĕртме_утă_çурла_авăн_юпа_чӳк_раштав".split("_"),monthsShort:"кăр_нар_пуш_ака_май_çĕр_утă_çур_ав_юпа_чӳк_раш".split("_"),weekdays:"вырсарникун_тунтикун_ытларикун_юнкун_кĕçнерникун_эрнекун_шăматкун".split("_"),weekdaysShort:"выр_тун_ытл_юн_кĕç_эрн_шăм".split("_"),weekdaysMin:"вр_тн_ыт_юн_кç_эр_шм".split("_"),longDateFormat:{LT:"HH:mm",L:"DD-MM-YYYY",LL:"YYYY çулхи MMMM уйăхĕн D-мĕшĕ",LLL:"YYYY çулхи MMMM уйăхĕн D-мĕшĕ, LT",LLLL:"dddd, YYYY çулхи MMMM уйăхĕн D-мĕшĕ, LT"},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 çул"},ordinal:function(a){return"-мĕш"}};typeof module!="undefined"&&module.exports&&(module.exports=a),typeof window!="undefined"&&this.moment&&this.moment.lang&&this.moment.lang("cv",a)})();
|
4
node_modules/emailjs/node_modules/moment/min/lang/da.js
generated
vendored
4
node_modules/emailjs/node_modules/moment/min/lang/da.js
generated
vendored
|
@ -1,4 +0,0 @@
|
|||
// moment.js language configuration
|
||||
// language : danish (da)
|
||||
// author : Ulrik Nielsen : https://github.com/mrbase
|
||||
(function(){var a={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:"h:mm 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:"[I dag kl.] LT",nextDay:"[I morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[I går kl.] LT",lastWeek:"[sidste] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"få sekunder",m:"minut",mm:"%d minutter",h:"time",hh:"%d timer",d:"dag",dd:"%d dage",M:"månede",MM:"%d måneder",y:"år",yy:"%d år"},ordinal:function(a){return"."}};typeof module!="undefined"&&module.exports&&(module.exports=a),typeof window!="undefined"&&this.moment&&this.moment.lang&&this.moment.lang("da",a)})();
|
4
node_modules/emailjs/node_modules/moment/min/lang/de.js
generated
vendored
4
node_modules/emailjs/node_modules/moment/min/lang/de.js
generated
vendored
|
@ -1,4 +0,0 @@
|
|||
// moment.js language configuration
|
||||
// language : german (de)
|
||||
// author : lluchs : https://github.com/lluchs
|
||||
(function(){var a={months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Apr._Mai_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),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("_"),longDateFormat:{LT:"H:mm U\\hr",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY LT",LLLL:"dddd, D. MMMM YYYY LT"},calendar:{sameDay:"[Heute um] LT",sameElse:"L",nextDay:"[Morgen um] LT",nextWeek:"dddd [um] LT",lastDay:"[Gestern um] LT",lastWeek:"[letzten] dddd [um] LT"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",m:"einer Minute",mm:"%d Minuten",h:"einer Stunde",hh:"%d Stunden",d:"einem Tag",dd:"%d Tagen",M:"einem Monat",MM:"%d Monaten",y:"einem Jahr",yy:"%d Jahren"},ordinal:function(a){return"."}};typeof module!="undefined"&&module.exports&&(module.exports=a),typeof window!="undefined"&&this.moment&&this.moment.lang&&this.moment.lang("de",a)})();
|
4
node_modules/emailjs/node_modules/moment/min/lang/en-ca.js
generated
vendored
4
node_modules/emailjs/node_modules/moment/min/lang/en-ca.js
generated
vendored
|
@ -1,4 +0,0 @@
|
|||
// moment.js language configuration
|
||||
// language : canadian english (en-ca)
|
||||
// author : Jonathan Abourbih : https://github.com/jonbca
|
||||
(function(){var a={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",L:"YYYY-MM-DD",LL:"D MMMM, YYYY",LLL:"D MMMM, YYYY LT",LLLL:"dddd, D MMMM, YYYY LT"},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",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"},ordinal:function(a){var b=a%10;return~~(a%100/10)===1?"th":b===1?"st":b===2?"nd":b===3?"rd":"th"}};typeof module!="undefined"&&module.exports&&(module.exports=a),typeof window!="undefined"&&this.moment&&this.moment.lang&&this.moment.lang("en-gb",a)})();
|
4
node_modules/emailjs/node_modules/moment/min/lang/en-gb.js
generated
vendored
4
node_modules/emailjs/node_modules/moment/min/lang/en-gb.js
generated
vendored
|
@ -1,4 +0,0 @@
|
|||
// moment.js language configuration
|
||||
// language : great britain english (en-gb)
|
||||
// author : Chris Gedrim : https://github.com/chrisgedrim
|
||||
(function(){var a={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",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd, D MMMM YYYY LT"},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",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"},ordinal:function(a){var b=a%10;return~~(a%100/10)===1?"th":b===1?"st":b===2?"nd":b===3?"rd":"th"}};typeof module!="undefined"&&module.exports&&(module.exports=a),typeof window!="undefined"&&this.moment&&this.moment.lang&&this.moment.lang("en-gb",a)})();
|
4
node_modules/emailjs/node_modules/moment/min/lang/es.js
generated
vendored
4
node_modules/emailjs/node_modules/moment/min/lang/es.js
generated
vendored
|
@ -1,4 +0,0 @@
|
|||
// moment.js language configuration
|
||||
// language : spanish (es)
|
||||
// author : Julio Napurí : https://github.com/julionc
|
||||
(function(){var a={months:"Enero_Febrero_Marzo_Abril_Mayo_Junio_Julio_Agosto_Septiembre_Octubre_Noviembre_Diciembre".split("_"),monthsShort:"Ene._Feb._Mar._Abr._May._Jun._Jul._Ago._Sep._Oct._Nov._Dic.".split("_"),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("_"),longDateFormat:{LT:"H:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd D MMMM YYYY LT"},calendar:{sameDay:function(){return"[hoy a la"+(this.hours()!==1?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(this.hours()!==1?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(this.hours()!==1?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(this.hours()!==1?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(this.hours()!==1?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinal:function(a){return"º"}};typeof module!="undefined"&&module.exports&&(module.exports=a),typeof window!="undefined"&&this.moment&&this.moment.lang&&this.moment.lang("es",a)})();
|
4
node_modules/emailjs/node_modules/moment/min/lang/eu.js
generated
vendored
4
node_modules/emailjs/node_modules/moment/min/lang/eu.js
generated
vendored
|
@ -1,4 +0,0 @@
|
|||
// moment.js language configuration
|
||||
// language : euskara (eu)
|
||||
// author : Eneko Illarramendi : https://github.com/eillarra
|
||||
(function(){var a={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("_"),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("_"),longDateFormat:{LT:"HH:mm",L:"YYYY-MM-DD",LL:"YYYYko MMMMren D[a]",LLL:"YYYYko MMMMren D[a] LT",LLLL:"dddd, YYYYko MMMMren D[a] LT"},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",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"},ordinal:function(a){return"."}};typeof module!="undefined"&&module.exports&&(module.exports=a),typeof window!="undefined"&&this.moment&&this.moment.lang&&this.moment.lang("eu",a)})();
|
4
node_modules/emailjs/node_modules/moment/min/lang/fi.js
generated
vendored
4
node_modules/emailjs/node_modules/moment/min/lang/fi.js
generated
vendored
|
@ -1,4 +0,0 @@
|
|||
// moment.js language configuration
|
||||
// language : finnish (fi)
|
||||
// author : Tarmo Aidantausta : https://github.com/bleadof
|
||||
(function(){function c(a,b,c,e){var f="";switch(c){case"s":return e?"muutaman sekunnin":"muutama sekunti";case"m":return e?"minuutin":"minuutti";case"mm":f=e?"minuutin":"minuuttia";break;case"h":return e?"tunnin":"tunti";case"hh":f=e?"tunnin":"tuntia";break;case"d":return e?"päivän":"päivä";case"dd":f=e?"päivän":"päivää";break;case"M":return e?"kuukauden":"kuukausi";case"MM":f=e?"kuukauden":"kuukautta";break;case"y":return e?"vuoden":"vuosi";case"yy":f=e?"vuoden":"vuotta"}return f=d(a,e)+" "+f,f}function d(c,d){return c<10?d?b[c]:a[c]:c}var a=["nolla","yksi","kaksi","kolme","neljä","viisi","kuusi","seitsemän","kahdeksan","yhdeksän"],b=["nolla","yhden","kahden","kolmen","neljän","viiden","kuuden",a[7],a[8],a[9]],e={months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tam_hel_maa_huh_tou_kes_hei_elo_syy_lok_mar_jou".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",L:"DD.MM.YYYY",LL:"Do MMMMt\\a YYYY",LLL:"Do MMMMt\\a YYYY, klo LT",LLLL:"dddd, Do MMMMt\\a YYYY, klo LT"},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:c,m:c,mm:c,h:c,hh:c,d:c,dd:c,M:c,MM:c,y:c,yy:c},ordinal:function(a){return"."}};typeof module!="undefined"&&module.exports&&(module.exports=e),typeof window!="undefined"&&this.moment&&this.moment.lang&&this.moment.lang("fi",e)})();
|
4
node_modules/emailjs/node_modules/moment/min/lang/fr-ca.js
generated
vendored
4
node_modules/emailjs/node_modules/moment/min/lang/fr-ca.js
generated
vendored
|
@ -1,4 +0,0 @@
|
|||
// moment.js language configuration
|
||||
// language : canadian french (fr-ca)
|
||||
// author : Jonathan Abourbih : https://github.com/jonbca
|
||||
(function(){var a={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("_"),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("_"),longDateFormat:{LT:"HH:mm",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd D MMMM YYYY LT"},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",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:"une année",yy:"%d années"},ordinal:function(a){return a===1?"er":"ème"}};typeof module!="undefined"&&module.exports&&(module.exports=a),typeof window!="undefined"&&this.moment&&this.moment.lang&&this.moment.lang("fr",a)})();
|
4
node_modules/emailjs/node_modules/moment/min/lang/fr.js
generated
vendored
4
node_modules/emailjs/node_modules/moment/min/lang/fr.js
generated
vendored
|
@ -1,4 +0,0 @@
|
|||
// moment.js language configuration
|
||||
// language : french (fr)
|
||||
// author : John Fischer : https://github.com/jfroffice
|
||||
(function(){var a={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("_"),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("_"),longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd D MMMM YYYY LT"},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",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:"une année",yy:"%d années"},ordinal:function(a){return a===1?"er":"ème"}};typeof module!="undefined"&&module.exports&&(module.exports=a),typeof window!="undefined"&&this.moment&&this.moment.lang&&this.moment.lang("fr",a)})();
|
4
node_modules/emailjs/node_modules/moment/min/lang/gl.js
generated
vendored
4
node_modules/emailjs/node_modules/moment/min/lang/gl.js
generated
vendored
|
@ -1,4 +0,0 @@
|
|||
// moment.js language configuration
|
||||
// language : galician (gl)
|
||||
// author : Juan G. Hurtado : https://github.com/juanghurtado
|
||||
(function(){var a={months:"Xaneiro_Febreiro_Marzo_Abril_Maio_Xuño_Xullo_Agosto_Setembro_Octubro_Novembro_Decembro".split("_"),monthsShort:"Xan._Feb._Mar._Abr._Mai._Xuñ._Xul._Ago._Set._Out._Nov._Dec.".split("_"),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("_"),longDateFormat:{LT:"H:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd D MMMM YYYY LT"},calendar:{sameDay:function(){return"[hoxe "+(this.hours()!==1?"ás":"a")+"] LT"},nextDay:function(){return"[mañá "+(this.hours()!==1?"ás":"a")+"] LT"},nextWeek:function(){return"dddd ["+(this.hours()!==1?"ás":"a")+"] LT"},lastDay:function(){return"[onte "+(this.hours()!==1?"á":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(this.hours()!==1?"ás":"a")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"fai %s",s:"uns segundo",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"},ordinal:function(a){return"º"}};typeof module!="undefined"&&module.exports&&(module.exports=a),typeof window!="undefined"&&this.moment&&this.moment.lang&&this.moment.lang("gl",a)})();
|
4
node_modules/emailjs/node_modules/moment/min/lang/hu.js
generated
vendored
4
node_modules/emailjs/node_modules/moment/min/lang/hu.js
generated
vendored
|
@ -1,4 +0,0 @@
|
|||
// moment.js language configuration
|
||||
// language : hungarian (hu)
|
||||
// author : Adam Brunner : https://github.com/adambrunner
|
||||
(function(){function a(a,b,c,d){var e=a;switch(c){case"s":return d||b?"néhány másodperc":"néhány másodperce";case"m":e="egy";case"mm":return e+(d||b?" perc":" perce");case"h":e="egy";case"hh":return e+(d||b?" óra":" órája");case"d":e="egy";case"dd":return e+(d||b?" nap":" napja");case"M":e="egy";case"MM":return e+(d||b?" hónap":" hónapja");case"y":e="egy";case"yy":return e+(d||b?" év":" éve");default:}return""}function b(a){var b="";switch(this.day()){case 0:b="vasárnap";break;case 1:b="hétfőn";break;case 2:b="kedden";break;case 3:b="szerdán";break;case 4:b="csütörtökön";break;case 5:b="pénteken";break;case 6:b="szombaton"}return(a?"":"múlt ")+"["+b+"] LT[-kor]"}var c={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("_"),weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D., LT",LLLL:"YYYY. MMMM D., dddd LT"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return b.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return b.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s múlva",past:"%s",s:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a},ordinal:function(a){return"."}};typeof module!="undefined"&&module.exports&&(module.exports=c),typeof window!="undefined"&&this.moment&&this.moment.lang&&this.moment.lang("hu",c)})();
|
4
node_modules/emailjs/node_modules/moment/min/lang/is.js
generated
vendored
4
node_modules/emailjs/node_modules/moment/min/lang/is.js
generated
vendored
|
@ -1,4 +0,0 @@
|
|||
// moment.js language configuration
|
||||
// language : icelandic (is)
|
||||
// author : Hinrik Örn Sigurðsson : https://github.com/hinrik
|
||||
(function(){var a=function(a){return a%100==11?!0:a%10==1?!1:!0},b=function(b,c,d,e){var f=b+" ";switch(d){case"s":return c||e?"nokkrar sekúndur":"nokkrum sekúndum";case"m":return c?"mínúta":"mínútu";case"mm":return a(b)?f+(c||e?"mínútur":"mínútum"):c?f+"mínúta":f+"mínútu";case"hh":return a(b)?f+(c||e?"klukkustundir":"klukkustundum"):f+"klukkustund";case"d":return c?"dagur":e?"dag":"degi";case"dd":return a(b)?c?f+"dagar":f+(e?"daga":"dögum"):c?f+"dagur":f+(e?"dag":"degi");case"M":return c?"mánuður":e?"mánuð":"mánuði";case"MM":return a(b)?c?f+"mánuðir":f+(e?"mánuði":"mánuðum"):c?f+"mánuður":f+(e?"mánuð":"mánuði");case"y":return c||e?"ár":"ári";case"yy":return a(b)?f+(c||e?"ár":"árum"):f+(c||e?"ár":"ári")}},c={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",L:"DD/MM/YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY kl. LT",LLLL:"dddd, D. MMMM YYYY kl. LT"},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:b,m:b,mm:b,h:"klukkustund",hh:b,d:b,dd:b,M:b,MM:b,y:b,yy:b},ordinal:function(a){return"."}};typeof module!="undefined"&&module.exports&&(module.exports=c),typeof window!="undefined"&&this.moment&&this.moment.lang&&this.moment.lang("is",c)})();
|
4
node_modules/emailjs/node_modules/moment/min/lang/it.js
generated
vendored
4
node_modules/emailjs/node_modules/moment/min/lang/it.js
generated
vendored
|
@ -1,4 +0,0 @@
|
|||
// moment.js language configuration
|
||||
// language : italian (it)
|
||||
// author : Lorenzo : https://github.com/aliem
|
||||
(function(){var a={months:"Gennaio_Febbraio_Marzo_Aprile_Maggio_Giugno_Luglio_Agosto_Settebre_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:"D_L_Ma_Me_G_V_S".split("_"),longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd, D MMMM YYYY LT"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:"[lo scorso] dddd [alle] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s fa",s:"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"},ordinal:function(){return"º"}};typeof module!="undefined"&&module.exports&&(module.exports=a),typeof window!="undefined"&&this.moment&&this.moment.lang&&this.moment.lang("it",a)})();
|
4
node_modules/emailjs/node_modules/moment/min/lang/ja.js
generated
vendored
4
node_modules/emailjs/node_modules/moment/min/lang/ja.js
generated
vendored
|
@ -1,4 +0,0 @@
|
|||
// moment.js language configuration
|
||||
// language : japanese (ja)
|
||||
// author : LI Long : https://github.com/baryon
|
||||
(function(){var a={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:"Ah時m分",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日LT",LLLL:"YYYY年M月D日LT dddd"},meridiem:function(a,b,c){return a<12?"午前":"午後"},calendar:{sameDay:"[今日] LT",nextDay:"[明日] LT",nextWeek:"[来週]dddd LT",lastDay:"[昨日] LT",lastWeek:"[前週]dddd LT",sameElse:"L"},relativeTime:{future:"%s後",past:"%s前",s:"数秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"},ordinal:function(a){return""}};typeof module!="undefined"&&module.exports&&(module.exports=a),typeof window!="undefined"&&this.moment&&this.moment.lang&&this.moment.lang("ja",a)})();
|
6
node_modules/emailjs/node_modules/moment/min/lang/jp.js
generated
vendored
6
node_modules/emailjs/node_modules/moment/min/lang/jp.js
generated
vendored
|
@ -1,6 +0,0 @@
|
|||
// moment.js language configuration
|
||||
// language : japanese (jp)
|
||||
// author : LI Long : https://github.com/baryon
|
||||
// This language config was incorrectly named 'jp' instead of 'ja'.
|
||||
// In version 2.0.0, this will be deprecated and you should use 'ja' instead.
|
||||
(function(){var a={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:"Ah時m分",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日LT",LLLL:"YYYY年M月D日LT dddd"},meridiem:function(a,b,c){return a<12?"午前":"午後"},calendar:{sameDay:"[今日] LT",nextDay:"[明日] LT",nextWeek:"[来週]dddd LT",lastDay:"[昨日] LT",lastWeek:"[前週]dddd LT",sameElse:"L"},relativeTime:{future:"%s後",past:"%s前",s:"数秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"},ordinal:function(a){return""}};typeof module!="undefined"&&module.exports&&(module.exports=a),typeof window!="undefined"&&this.moment&&this.moment.lang&&this.moment.lang("jp",a)})();
|
4
node_modules/emailjs/node_modules/moment/min/lang/ko.js
generated
vendored
4
node_modules/emailjs/node_modules/moment/min/lang/ko.js
generated
vendored
|
@ -1,4 +0,0 @@
|
|||
// moment.js language configuration
|
||||
// language : korean (ko)
|
||||
// author : Kyungwook, Park : https://github.com/kyungw00k
|
||||
(function(){var a={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분",L:"YYYY.MM.DD",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 LT",LLLL:"YYYY년 MMMM D일 dddd LT"},meridiem:function(a,b,c){return a<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년"},ordinal:function(a){return"일"}};typeof module!="undefined"&&module.exports&&(module.exports=a),typeof window!="undefined"&&this.moment&&this.moment.lang&&this.moment.lang("ko",a)})();
|
6
node_modules/emailjs/node_modules/moment/min/lang/kr.js
generated
vendored
6
node_modules/emailjs/node_modules/moment/min/lang/kr.js
generated
vendored
|
@ -1,6 +0,0 @@
|
|||
// moment.js language configuration
|
||||
// language : korean (kr)
|
||||
// author : Kyungwook, Park : https://github.com/kyungw00k
|
||||
// This language config was incorrectly named 'kr' instead of 'ko'.
|
||||
// In version 2.0.0, this will be deprecated and you should use 'ko' instead.
|
||||
(function(){var a={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분",L:"YYYY.MM.DD",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 LT",LLLL:"YYYY년 MMMM D일 dddd LT"},meridiem:function(a,b,c){return a<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년"},ordinal:function(a){return"일"}};typeof module!="undefined"&&module.exports&&(module.exports=a),typeof window!="undefined"&&this.moment&&this.moment.lang&&this.moment.lang("kr",a)})();
|
4
node_modules/emailjs/node_modules/moment/min/lang/nb.js
generated
vendored
4
node_modules/emailjs/node_modules/moment/min/lang/nb.js
generated
vendored
|
@ -1,4 +0,0 @@
|
|||
// moment.js language configuration
|
||||
// language : norwegian bokmål (nb)
|
||||
// author : Espen Hovlandsdal : https://github.com/rexxars
|
||||
(function(){var a={months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".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",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd D MMMM YYYY LT"},calendar:{sameDay:"[I dag klokken] LT",nextDay:"[I morgen klokken] LT",nextWeek:"dddd [klokken] LT",lastDay:"[I går klokken] LT",lastWeek:"[Forrige] dddd [klokken] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"for %s siden",s:"noen sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",M:"en måned",MM:"%d måneder",y:"ett år",yy:"%d år"},ordinal:function(a){return"."}};typeof module!="undefined"&&module.exports&&(module.exports=a),typeof window!="undefined"&&this.moment&&this.moment.lang&&this.moment.lang("nb",a)})();
|
4
node_modules/emailjs/node_modules/moment/min/lang/nl.js
generated
vendored
4
node_modules/emailjs/node_modules/moment/min/lang/nl.js
generated
vendored
|
@ -1,4 +0,0 @@
|
|||
// moment.js language configuration
|
||||
// language : dutch (nl)
|
||||
// author : Joris Röling : https://github.com/jjupiter
|
||||
(function(){var a="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),b="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),c={months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(c,d){return/-MMM-/.test(d)?b[c.month()]:a[c.month()]},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("_"),longDateFormat:{LT:"HH:mm",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd D MMMM YYYY LT"},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",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"},ordinal:function(a){return a===1||a===8||a>=20?"ste":"de"}};typeof module!="undefined"&&module.exports&&(module.exports=c),typeof window!="undefined"&&this.moment&&this.moment.lang&&this.moment.lang("nl",c)})();
|
4
node_modules/emailjs/node_modules/moment/min/lang/pl.js
generated
vendored
4
node_modules/emailjs/node_modules/moment/min/lang/pl.js
generated
vendored
|
@ -1,4 +0,0 @@
|
|||
// moment.js language configuration
|
||||
// language : polish (pl)
|
||||
// author : Rafal Hirsz : https://github.com/evoL
|
||||
(function(){var a=function(a){return a%10<5&&a%10>1&&~~(a/10)!==1},b=function(b,c,d){var e=b+" ";switch(d){case"m":return c?"minuta":"minutę";case"mm":return e+(a(b)?"minuty":"minut");case"h":return c?"godzina":"godzinę";case"hh":return e+(a(b)?"godziny":"godzin");case"MM":return e+(a(b)?"miesiące":"miesięcy");case"yy":return e+(a(b)?"lata":"lat")}},c={months:"styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"nie_pon_wt_śr_czw_pt_sb".split("_"),weekdaysMin:"N_Pn_Wt_Śr_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd, D MMMM YYYY LT"},calendar:{sameDay:"[Dziś o] LT",nextDay:"[Jutro o] LT",nextWeek:"[W] dddd [o] LT",lastDay:"[Wczoraj o] LT",lastWeek:"[W zeszły/łą] dddd [o] LT",sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",m:b,mm:b,h:b,hh:b,d:"1 dzień",dd:"%d dni",M:"miesiąc",MM:b,y:"rok",yy:b},ordinal:function(a){return"."}};typeof module!="undefined"&&module.exports&&(module.exports=c),typeof window!="undefined"&&this.moment&&this.moment.lang&&this.moment.lang("pl",c)})();
|
4
node_modules/emailjs/node_modules/moment/min/lang/pt-br.js
generated
vendored
4
node_modules/emailjs/node_modules/moment/min/lang/pt-br.js
generated
vendored
|
@ -1,4 +0,0 @@
|
|||
// moment.js language configuration
|
||||
// language : brazilian portuguese (pt-br)
|
||||
// author : Caio Ribeiro Pereira : https://github.com/caio-ribeiro-pereira
|
||||
(function(){var a={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:"Dom_2ª_3ª_4ª_5ª_6ª_Sáb".split("_"),longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D \\de MMMM \\de YYYY",LLL:"D \\de MMMM \\de YYYY LT",LLLL:"dddd, D \\de MMMM \\de YYYY LT"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return this.day()===0||this.day()===6?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"%s atrás",s:"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"},ordinal:function(a){return"º"}};typeof module!="undefined"&&module.exports&&(module.exports=a),typeof window!="undefined"&&this.moment&&this.moment.lang&&this.moment.lang("pt-br",a)})();
|
4
node_modules/emailjs/node_modules/moment/min/lang/pt.js
generated
vendored
4
node_modules/emailjs/node_modules/moment/min/lang/pt.js
generated
vendored
|
@ -1,4 +0,0 @@
|
|||
// moment.js language configuration
|
||||
// language : portuguese (pt)
|
||||
// author : Jefferson : https://github.com/jalex79
|
||||
(function(){var a={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:"Dom_2ª_3ª_4ª_5ª_6ª_Sáb".split("_"),longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D \\de MMMM \\de YYYY",LLL:"D \\de MMMM \\de YYYY LT",LLLL:"dddd, D \\de MMMM \\de YYYY LT"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return this.day()===0||this.day()===6?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"%s atrás",s:"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"},ordinal:function(a){return"º"}};typeof module!="undefined"&&module.exports&&(module.exports=a),typeof window!="undefined"&&this.moment&&this.moment.lang&&this.moment.lang("pt",a)})();
|
4
node_modules/emailjs/node_modules/moment/min/lang/ru.js
generated
vendored
4
node_modules/emailjs/node_modules/moment/min/lang/ru.js
generated
vendored
|
@ -1,4 +0,0 @@
|
|||
// moment.js language configuration
|
||||
// language : russian (ru)
|
||||
// author : Viktorminator : https://github.com/Viktorminator
|
||||
(function(){var a=[function(a){return a%10===1&&a%100!==11},function(a){return a%10>=2&&a%10<=4&&a%10%1===0&&(a%100<12||a%100>14)},function(a){return a%10===0||a%10>=5&&a%10<=9&&a%10%1===0||a%100>=11&&a%100<=14&&a%100%1===0},function(a){return!0}],b=function(b,c){var d=b.split("_"),e=Math.min(a.length,d.length),f=-1;while(++f<e)if(a[f](c))return d[f];return d[e-1]},c=function(a,c,d){var e={mm:"минута_минуты_минут_минуты",hh:"час_часа_часов_часа",dd:"день_дня_дней_дня",MM:"месяц_месяца_месяцев_месяца",yy:"год_года_лет_года"};return d==="m"?c?"минута":"минуту":a+" "+b(e[d],+a)},d=function(a,b){var c={nominative:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),accusative:"января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_")},d=/D[oD]? *MMMM?/.test(b)?"accusative":"nominative";return c[d][a.month()]},e=function(a,b){var c={nominative:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),accusative:"воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу".split("_")},d=/\[ ?[Вв] ?(?:прошлую|следующую)? ?\] ?dddd/.test(b)?"accusative":"nominative";return c[d][a.day()]},f={months:d,monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:e,weekdaysShort:"вск_пнд_втр_срд_чтв_птн_сбт".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., LT",LLLL:"dddd, D MMMM YYYY г., LT"},calendar:{sameDay:"[Сегодня в] LT",nextDay:"[Завтра в] LT",lastDay:"[Вчера в] LT",nextWeek:function(){return this.day()===2?"[Во] dddd [в] LT":"[В] dddd [в] LT"},lastWeek:function(){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:"несколько секунд",m:c,mm:c,h:"час",hh:c,d:"день",dd:c,M:"месяц",MM:c,y:"год",yy:c},ordinal:function(a){return"."}};typeof module!="undefined"&&module.exports&&(module.exports=f),typeof window!="undefined"&&this.moment&&this.moment.lang&&this.moment.lang("ru",f)})();
|
4
node_modules/emailjs/node_modules/moment/min/lang/sv.js
generated
vendored
4
node_modules/emailjs/node_modules/moment/min/lang/sv.js
generated
vendored
|
@ -1,4 +0,0 @@
|
|||
// moment.js language configuration
|
||||
// language : swedish (sv)
|
||||
// author : Jens Alm : https://github.com/ulmus
|
||||
(function(){var a={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",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd D MMMM YYYY LT"},calendar:{sameDay:"[Idag klockan] LT",nextDay:"[Imorgon klockan] LT",lastDay:"[Igår klockan] LT",nextWeek:"dddd [klockan] LT",lastWeek:"[Förra] dddd[en klockan] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"för %s sen",s:"några 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"},ordinal:function(a){var b=a%10;return~~(a%100/10)===1?"e":b===1?"a":b===2?"a":b===3?"e":"e"}};typeof module!="undefined"&&module.exports&&(module.exports=a),typeof window!="undefined"&&this.moment&&this.moment.lang&&this.moment.lang("sv",a)})();
|
5
node_modules/emailjs/node_modules/moment/min/lang/tr.js
generated
vendored
5
node_modules/emailjs/node_modules/moment/min/lang/tr.js
generated
vendored
|
@ -1,5 +0,0 @@
|
|||
// moment.js language configuration
|
||||
// language : turkish (tr)
|
||||
// authors : Erhan Gundogan : https://github.com/erhangundogan,
|
||||
// Burak Yiğit Kaya: https://github.com/BYK
|
||||
(function(){var a={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ı"},b={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("_"),longDateFormat:{LT:"HH:mm",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY LT",LLLL:"dddd, D MMMM YYYY LT"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[yarın saat] LT",nextWeek:"[haftaya] dddd [saat] LT",lastDay:"[dün] LT",lastWeek:"[geçen hafta] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function(b){if(b===0)return"'ıncı";var c=b%10,d=b%100-c,e=b>=100?100:null;return a[c]||a[d]||a[e]}};typeof module!="undefined"&&module.exports&&(module.exports=b),typeof window!="undefined"&&this.moment&&this.moment.lang&&this.moment.lang("tr",b)})();
|
4
node_modules/emailjs/node_modules/moment/min/lang/zh-cn.js
generated
vendored
4
node_modules/emailjs/node_modules/moment/min/lang/zh-cn.js
generated
vendored
|
@ -1,4 +0,0 @@
|
|||
// moment.js language configuration
|
||||
// language : chinese
|
||||
// author : suupic : https://github.com/suupic
|
||||
(function(){var a={months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"Ah点mm",L:"YYYY年MMMD日",LL:"YYYY年MMMD日",LLL:"YYYY年MMMD日LT",LLLL:"YYYY年MMMD日ddddLT"},meridiem:function(a,b,c){return a<9?"早上":a<11&&b<30?"上午":a<13&&b<30?"中午":a<18?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},relativeTime:{future:"%s内",past:"%s前",s:"几秒",m:"1分钟",mm:"%d分钟",h:"1小时",hh:"%d小时",d:"1天",dd:"%d天",M:"1个月",MM:"%d个月",y:"1年",yy:"%d年"},ordinal:function(a){return""}};typeof module!="undefined"&&module.exports&&(module.exports=a),typeof window!="undefined"&&this.moment&&this.moment.lang&&this.moment.lang("zh-cn",a)})();
|
4
node_modules/emailjs/node_modules/moment/min/lang/zh-tw.js
generated
vendored
4
node_modules/emailjs/node_modules/moment/min/lang/zh-tw.js
generated
vendored
|
@ -1,4 +0,0 @@
|
|||
// moment.js language configuration
|
||||
// language : traditional chinese (zh-tw)
|
||||
// author : Ben : https://github.com/ben-lin
|
||||
(function(){var a={months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"Ah點mm",L:"YYYY年MMMD日",LL:"YYYY年MMMD日",LLL:"YYYY年MMMD日LT",LLLL:"YYYY年MMMD日ddddLT"},meridiem:function(a,b,c){return a<9?"早上":a<11&&b<30?"上午":a<13&&b<30?"中午":a<18?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",m:"一分鐘",mm:"%d分鐘",h:"一小時",hh:"%d小時",d:"一天",dd:"%d天",M:"一個月",MM:"%d個月",y:"一年",yy:"%d年"},ordinal:function(a){return""}};typeof module!="undefined"&&module.exports&&(module.exports=a),typeof window!="undefined"&&this.moment&&this.moment.lang&&this.moment.lang("zh-tw",a)})();
|
6
node_modules/emailjs/node_modules/moment/min/moment.min.js
generated
vendored
6
node_modules/emailjs/node_modules/moment/min/moment.min.js
generated
vendored
File diff suppressed because one or more lines are too long
440
node_modules/emailjs/node_modules/moment/min/moment.min.pretty.js
generated
vendored
440
node_modules/emailjs/node_modules/moment/min/moment.min.pretty.js
generated
vendored
|
@ -1,440 +0,0 @@
|
|||
// moment.js
|
||||
// version : 1.7.0
|
||||
// author : Tim Wood
|
||||
// license : MIT
|
||||
// momentjs.com
|
||||
(function(a, b) {
|
||||
function G(a, b, c) {
|
||||
this._d = a, this._isUTC = !!b, this._a = a._a || null, a._a = null, this._lang = c || !1;
|
||||
}
|
||||
function H(a) {
|
||||
var b = this._data = {}, c = a.years || a.y || 0, d = a.months || a.M || 0, e = a.weeks || a.w || 0, f = a.days || a.d || 0, g = a.hours || a.h || 0, h = a.minutes || a.m || 0, i = a.seconds || a.s || 0, j = a.milliseconds || a.ms || 0;
|
||||
this._milliseconds = j + i * 1e3 + h * 6e4 + g * 36e5, this._days = f + e * 7, this._months = d + c * 12, b.milliseconds = j % 1e3, i += I(j / 1e3), b.seconds = i % 60, h += I(i / 60), b.minutes = h % 60, g += I(h / 60), b.hours = g % 24, f += I(g / 24), f += e * 7, b.days = f % 30, d += I(f / 30), b.months = d % 12, c += I(d / 12), b.years = c, this._lang = !1;
|
||||
}
|
||||
function I(a) {
|
||||
return a < 0 ? Math.ceil(a) : Math.floor(a);
|
||||
}
|
||||
function J(a, b) {
|
||||
var c = a + "";
|
||||
while (c.length < b) c = "0" + c;
|
||||
return c;
|
||||
}
|
||||
function K(a, b, c) {
|
||||
var d = b._milliseconds, e = b._days, f = b._months, g;
|
||||
d && a._d.setTime(+a + d * c), e && a.date(a.date() + e * c), f && (g = a.date(), a.date(1).month(a.month() + f * c).date(Math.min(g, a.daysInMonth())));
|
||||
}
|
||||
function L(a) {
|
||||
return Object.prototype.toString.call(a) === "[object Array]";
|
||||
}
|
||||
function M(a, b) {
|
||||
var c = Math.min(a.length, b.length), d = Math.abs(a.length - b.length), e = 0, f;
|
||||
for (f = 0; f < c; f++) ~~a[f] !== ~~b[f] && e++;
|
||||
return e + d;
|
||||
}
|
||||
function N(b, c) {
|
||||
var d, e;
|
||||
for (d = 1; d < 7; d++) b[d] = b[d] == null ? d === 2 ? 1 : 0 : b[d];
|
||||
return b[7] = c, e = new a(0), c ? (e.setUTCFullYear(b[0], b[1], b[2]), e.setUTCHours(b[3], b[4], b[5], b[6])) : (e.setFullYear(b[0], b[1], b[2]), e.setHours(b[3], b[4], b[5], b[6])), e._a = b, e;
|
||||
}
|
||||
function O(a, b) {
|
||||
var d, e, f = [];
|
||||
!b && i && (b = require("./lang/" + a));
|
||||
for (d = 0; d < j.length; d++) b[j[d]] = b[j[d]] || g.en[j[d]];
|
||||
for (d = 0; d < 12; d++) e = c([ 2e3, d ]), f[d] = new RegExp("^" + (b.months[d] || b.months(e, "")) + "|^" + (b.monthsShort[d] || b.monthsShort(e, "")).replace(".", ""), "i");
|
||||
return b.monthsParse = b.monthsParse || f, g[a] = b, b;
|
||||
}
|
||||
function P(a) {
|
||||
var b = typeof a == "string" && a || a && a._lang || null;
|
||||
return b ? g[b] || O(b) : c;
|
||||
}
|
||||
function Q(a) {
|
||||
return D[a] ? "'+(" + D[a] + ")+'" : a.replace(n, "").replace(/\\?'/g, "\\'");
|
||||
}
|
||||
function R(a) {
|
||||
return P().longDateFormat[a] || a;
|
||||
}
|
||||
function S(a) {
|
||||
var b = "var a,b;return '" + a.replace(l, Q) + "';", c = Function;
|
||||
return new c("t", "v", "o", "p", "m", b);
|
||||
}
|
||||
function T(a) {
|
||||
return C[a] || (C[a] = S(a)), C[a];
|
||||
}
|
||||
function U(a, b) {
|
||||
function d(d, e) {
|
||||
return c[d].call ? c[d](a, b) : c[d][e];
|
||||
}
|
||||
var c = P(a);
|
||||
while (m.test(b)) b = b.replace(m, R);
|
||||
return C[b] || (C[b] = S(b)), C[b](a, d, c.ordinal, J, c.meridiem);
|
||||
}
|
||||
function V(a) {
|
||||
switch (a) {
|
||||
case "DDDD":
|
||||
return r;
|
||||
case "YYYY":
|
||||
return s;
|
||||
case "S":
|
||||
case "SS":
|
||||
case "SSS":
|
||||
case "DDD":
|
||||
return q;
|
||||
case "MMM":
|
||||
case "MMMM":
|
||||
case "dd":
|
||||
case "ddd":
|
||||
case "dddd":
|
||||
case "a":
|
||||
case "A":
|
||||
return t;
|
||||
case "Z":
|
||||
case "ZZ":
|
||||
return u;
|
||||
case "T":
|
||||
return v;
|
||||
case "MM":
|
||||
case "DD":
|
||||
case "YY":
|
||||
case "HH":
|
||||
case "hh":
|
||||
case "mm":
|
||||
case "ss":
|
||||
case "M":
|
||||
case "D":
|
||||
case "d":
|
||||
case "H":
|
||||
case "h":
|
||||
case "m":
|
||||
case "s":
|
||||
return p;
|
||||
default:
|
||||
return new RegExp(a.replace("\\", ""));
|
||||
}
|
||||
}
|
||||
function W(a, b, c, d) {
|
||||
var e;
|
||||
switch (a) {
|
||||
case "M":
|
||||
case "MM":
|
||||
c[1] = b == null ? 0 : ~~b - 1;
|
||||
break;
|
||||
case "MMM":
|
||||
case "MMMM":
|
||||
for (e = 0; e < 12; e++) if (P().monthsParse[e].test(b)) {
|
||||
c[1] = e;
|
||||
break;
|
||||
}
|
||||
break;
|
||||
case "D":
|
||||
case "DD":
|
||||
case "DDD":
|
||||
case "DDDD":
|
||||
b != null && (c[2] = ~~b);
|
||||
break;
|
||||
case "YY":
|
||||
b = ~~b, c[0] = b + (b > 70 ? 1900 : 2e3);
|
||||
break;
|
||||
case "YYYY":
|
||||
c[0] = ~~Math.abs(b);
|
||||
break;
|
||||
case "a":
|
||||
case "A":
|
||||
d.isPm = (b + "").toLowerCase() === "pm";
|
||||
break;
|
||||
case "H":
|
||||
case "HH":
|
||||
case "h":
|
||||
case "hh":
|
||||
c[3] = ~~b;
|
||||
break;
|
||||
case "m":
|
||||
case "mm":
|
||||
c[4] = ~~b;
|
||||
break;
|
||||
case "s":
|
||||
case "ss":
|
||||
c[5] = ~~b;
|
||||
break;
|
||||
case "S":
|
||||
case "SS":
|
||||
case "SSS":
|
||||
c[6] = ~~(("0." + b) * 1e3);
|
||||
break;
|
||||
case "Z":
|
||||
case "ZZ":
|
||||
d.isUTC = !0, e = (b + "").match(z), e && e[1] && (d.tzh = ~~e[1]), e && e[2] && (d.tzm = ~~e[2]), e && e[0] === "+" && (d.tzh = -d.tzh, d.tzm = -d.tzm);
|
||||
}
|
||||
}
|
||||
function X(a, b) {
|
||||
var c = [ 0, 0, 1, 0, 0, 0, 0 ], d = {
|
||||
tzh: 0,
|
||||
tzm: 0
|
||||
}, e = b.match(l), f, g;
|
||||
for (f = 0; f < e.length; f++) g = (V(e[f]).exec(a) || [])[0], a = a.replace(V(e[f]), ""), W(e[f], g, c, d);
|
||||
return d.isPm && c[3] < 12 && (c[3] += 12), d.isPm === !1 && c[3] === 12 && (c[3] = 0), c[3] += d.tzh, c[4] += d.tzm, N(c, d.isUTC);
|
||||
}
|
||||
function Y(a, b) {
|
||||
var c, d = a.match(o) || [], e, f = 99, g, h, i;
|
||||
for (g = 0; g < b.length; g++) h = X(a, b[g]), e = U(new G(h), b[g]).match(o) || [], i = M(d, e), i < f && (f = i, c = h);
|
||||
return c;
|
||||
}
|
||||
function Z(b) {
|
||||
var c = "YYYY-MM-DDT", d;
|
||||
if (w.exec(b)) {
|
||||
for (d = 0; d < 4; d++) if (y[d][1].exec(b)) {
|
||||
c += y[d][0];
|
||||
break;
|
||||
}
|
||||
return u.exec(b) ? X(b, c + " Z") : X(b, c);
|
||||
}
|
||||
return new a(b);
|
||||
}
|
||||
function $(a, b, c, d, e) {
|
||||
var f = e.relativeTime[a];
|
||||
return typeof f == "function" ? f(b || 1, !!c, a, d) : f.replace(/%d/i, b || 1);
|
||||
}
|
||||
function _(a, b, c) {
|
||||
var d = e(Math.abs(a) / 1e3), f = e(d / 60), g = e(f / 60), h = e(g / 24), i = e(h / 365), j = d < 45 && [ "s", d ] || f === 1 && [ "m" ] || f < 45 && [ "mm", f ] || g === 1 && [ "h" ] || g < 22 && [ "hh", g ] || h === 1 && [ "d" ] || h <= 25 && [ "dd", h ] || h <= 45 && [ "M" ] || h < 345 && [ "MM", e(h / 30) ] || i === 1 && [ "y" ] || [ "yy", i ];
|
||||
return j[2] = b, j[3] = a > 0, j[4] = c, $.apply({}, j);
|
||||
}
|
||||
function ab(a, b) {
|
||||
c.fn[a] = function(a) {
|
||||
var c = this._isUTC ? "UTC" : "";
|
||||
return a != null ? (this._d["set" + c + b](a), this) : this._d["get" + c + b]();
|
||||
};
|
||||
}
|
||||
function bb(a) {
|
||||
c.duration.fn[a] = function() {
|
||||
return this._data[a];
|
||||
};
|
||||
}
|
||||
function cb(a, b) {
|
||||
c.duration.fn["as" + a] = function() {
|
||||
return +this / b;
|
||||
};
|
||||
}
|
||||
var c, d = "1.7.0", e = Math.round, f, g = {}, h = "en", i = typeof module != "undefined" && module.exports, j = "months|monthsShort|weekdays|weekdaysShort|weekdaysMin|longDateFormat|calendar|relativeTime|ordinal|meridiem".split("|"), k = /^\/?Date\((\-?\d+)/i, l = /(\[[^\[]*\])|(\\)?(Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|YYYY|YY|a|A|hh?|HH?|mm?|ss?|SS?S?|zz?|ZZ?)/g, m = /(LT|LL?L?L?)/g, n = /(^\[)|(\\)|\]$/g, o = /([0-9a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+)/gi, p = /\d\d?/, q = /\d{1,3}/, r = /\d{3}/, s = /\d{1,4}/, t = /[0-9a-z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+/i, u = /Z|[\+\-]\d\d:?\d\d/i, v = /T/i, w = /^\s*\d{4}-\d\d-\d\d(T(\d\d(:\d\d(:\d\d(\.\d\d?\d?)?)?)?)?([\+\-]\d\d:?\d\d)?)?/, x = "YYYY-MM-DDTHH:mm:ssZ", y = [ [ "HH:mm:ss.S", /T\d\d:\d\d:\d\d\.\d{1,3}/ ], [ "HH:mm:ss", /T\d\d:\d\d:\d\d/ ], [ "HH:mm", /T\d\d:\d\d/ ], [ "HH", /T\d\d/ ] ], z = /([\+\-]|\d\d)/gi, A = "Month|Date|Hours|Minutes|Seconds|Milliseconds".split("|"), B = {
|
||||
Milliseconds: 1,
|
||||
Seconds: 1e3,
|
||||
Minutes: 6e4,
|
||||
Hours: 36e5,
|
||||
Days: 864e5,
|
||||
Months: 2592e6,
|
||||
Years: 31536e6
|
||||
}, C = {}, D = {
|
||||
M: "(a=t.month()+1)",
|
||||
MMM: 'v("monthsShort",t.month())',
|
||||
MMMM: 'v("months",t.month())',
|
||||
D: "(a=t.date())",
|
||||
DDD: "(a=new Date(t.year(),t.month(),t.date()),b=new Date(t.year(),0,1),a=~~(((a-b)/864e5)+1.5))",
|
||||
d: "(a=t.day())",
|
||||
dd: 'v("weekdaysMin",t.day())',
|
||||
ddd: 'v("weekdaysShort",t.day())',
|
||||
dddd: 'v("weekdays",t.day())',
|
||||
w: "(a=new Date(t.year(),t.month(),t.date()-t.day()+5),b=new Date(a.getFullYear(),0,4),a=~~((a-b)/864e5/7+1.5))",
|
||||
YY: "p(t.year()%100,2)",
|
||||
YYYY: "p(t.year(),4)",
|
||||
a: "m(t.hours(),t.minutes(),!0)",
|
||||
A: "m(t.hours(),t.minutes(),!1)",
|
||||
H: "t.hours()",
|
||||
h: "t.hours()%12||12",
|
||||
m: "t.minutes()",
|
||||
s: "t.seconds()",
|
||||
S: "~~(t.milliseconds()/100)",
|
||||
SS: "p(~~(t.milliseconds()/10),2)",
|
||||
SSS: "p(t.milliseconds(),3)",
|
||||
Z: '((a=-t.zone())<0?((a=-a),"-"):"+")+p(~~(a/60),2)+":"+p(~~a%60,2)',
|
||||
ZZ: '((a=-t.zone())<0?((a=-a),"-"):"+")+p(~~(10*a/6),4)'
|
||||
}, E = "DDD w M D d".split(" "), F = "M D H h m s w".split(" ");
|
||||
while (E.length) f = E.pop(), D[f + "o"] = D[f] + "+o(a)";
|
||||
while (F.length) f = F.pop(), D[f + f] = "p(" + D[f] + ",2)";
|
||||
D.DDDD = "p(" + D.DDD + ",3)", c = function(d, e) {
|
||||
if (d === null || d === "") return null;
|
||||
var f, g;
|
||||
return c.isMoment(d) ? new G(new a(+d._d), d._isUTC, d._lang) : (e ? L(e) ? f = Y(d, e) : f = X(d, e) : (g = k.exec(d), f = d === b ? new a : g ? new a(+g[1]) : d instanceof a ? d : L(d) ? N(d) : typeof d == "string" ? Z(d) : new a(d)), new G(f));
|
||||
}, c.utc = function(a, b) {
|
||||
return L(a) ? new G(N(a, !0), !0) : (typeof a == "string" && !u.exec(a) && (a += " +0000", b && (b += " Z")), c(a, b).utc());
|
||||
}, c.unix = function(a) {
|
||||
return c(a * 1e3);
|
||||
}, c.duration = function(a, b) {
|
||||
var d = c.isDuration(a), e = typeof a == "number", f = d ? a._data : e ? {} : a, g;
|
||||
return e && (b ? f[b] = a : f.milliseconds = a), g = new H(f), d && (g._lang = a._lang), g;
|
||||
}, c.humanizeDuration = function(a, b, d) {
|
||||
return c.duration(a, b === !0 ? null : b).humanize(b === !0 ? !0 : d);
|
||||
}, c.version = d, c.defaultFormat = x, c.lang = function(a, b) {
|
||||
var d;
|
||||
if (!a) return h;
|
||||
(b || !g[a]) && O(a, b);
|
||||
if (g[a]) {
|
||||
for (d = 0; d < j.length; d++) c[j[d]] = g[a][j[d]];
|
||||
c.monthsParse = g[a].monthsParse, h = a;
|
||||
}
|
||||
}, c.langData = P, c.isMoment = function(a) {
|
||||
return a instanceof G;
|
||||
}, c.isDuration = function(a) {
|
||||
return a instanceof H;
|
||||
}, c.lang("en", {
|
||||
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",
|
||||
L: "MM/DD/YYYY",
|
||||
LL: "MMMM D YYYY",
|
||||
LLL: "MMMM D YYYY LT",
|
||||
LLLL: "dddd, MMMM D YYYY LT"
|
||||
},
|
||||
meridiem: function(a, b, c) {
|
||||
return a > 11 ? c ? "pm" : "PM" : c ? "am" : "AM";
|
||||
},
|
||||
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",
|
||||
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"
|
||||
},
|
||||
ordinal: function(a) {
|
||||
var b = a % 10;
|
||||
return ~~(a % 100 / 10) === 1 ? "th" : b === 1 ? "st" : b === 2 ? "nd" : b === 3 ? "rd" : "th";
|
||||
}
|
||||
}), c.fn = G.prototype = {
|
||||
clone: function() {
|
||||
return c(this);
|
||||
},
|
||||
valueOf: function() {
|
||||
return +this._d;
|
||||
},
|
||||
unix: function() {
|
||||
return Math.floor(+this._d / 1e3);
|
||||
},
|
||||
toString: function() {
|
||||
return this._d.toString();
|
||||
},
|
||||
toDate: function() {
|
||||
return this._d;
|
||||
},
|
||||
toArray: function() {
|
||||
var a = this;
|
||||
return [ a.year(), a.month(), a.date(), a.hours(), a.minutes(), a.seconds(), a.milliseconds(), !!this._isUTC ];
|
||||
},
|
||||
isValid: function() {
|
||||
return this._a ? !M(this._a, (this._a[7] ? c.utc(this) : this).toArray()) : !isNaN(this._d.getTime());
|
||||
},
|
||||
utc: function() {
|
||||
return this._isUTC = !0, this;
|
||||
},
|
||||
local: function() {
|
||||
return this._isUTC = !1, this;
|
||||
},
|
||||
format: function(a) {
|
||||
return U(this, a ? a : c.defaultFormat);
|
||||
},
|
||||
add: function(a, b) {
|
||||
var d = b ? c.duration(+b, a) : c.duration(a);
|
||||
return K(this, d, 1), this;
|
||||
},
|
||||
subtract: function(a, b) {
|
||||
var d = b ? c.duration(+b, a) : c.duration(a);
|
||||
return K(this, d, -1), this;
|
||||
},
|
||||
diff: function(a, b, d) {
|
||||
var f = this._isUTC ? c(a).utc() : c(a).local(), g = (this.zone() - f.zone()) * 6e4, h = this._d - f._d - g, i = this.year() - f.year(), j = this.month() - f.month(), k = this.date() - f.date(), l;
|
||||
return b === "months" ? l = i * 12 + j + k / 30 : b === "years" ? l = i + (j + k / 30) / 12 : l = b === "seconds" ? h / 1e3 : b === "minutes" ? h / 6e4 : b === "hours" ? h / 36e5 : b === "days" ? h / 864e5 : b === "weeks" ? h / 6048e5 : h, d ? l : e(l);
|
||||
},
|
||||
from: function(a, b) {
|
||||
return c.duration(this.diff(a)).lang(this._lang).humanize(!b);
|
||||
},
|
||||
fromNow: function(a) {
|
||||
return this.from(c(), a);
|
||||
},
|
||||
calendar: function() {
|
||||
var a = this.diff(c().sod(), "days", !0), b = this.lang().calendar, d = b.sameElse, e = a < -6 ? d : a < -1 ? b.lastWeek : a < 0 ? b.lastDay : a < 1 ? b.sameDay : a < 2 ? b.nextDay : a < 7 ? b.nextWeek : d;
|
||||
return this.format(typeof e == "function" ? e.apply(this) : e);
|
||||
},
|
||||
isLeapYear: function() {
|
||||
var a = this.year();
|
||||
return a % 4 === 0 && a % 100 !== 0 || a % 400 === 0;
|
||||
},
|
||||
isDST: function() {
|
||||
return this.zone() < c([ this.year() ]).zone() || this.zone() < c([ this.year(), 5 ]).zone();
|
||||
},
|
||||
day: function(a) {
|
||||
var b = this._isUTC ? this._d.getUTCDay() : this._d.getDay();
|
||||
return a == null ? b : this.add({
|
||||
d: a - b
|
||||
});
|
||||
},
|
||||
startOf: function(a) {
|
||||
switch (a.replace(/s$/, "")) {
|
||||
case "year":
|
||||
this.month(0);
|
||||
case "month":
|
||||
this.date(1);
|
||||
case "day":
|
||||
this.hours(0);
|
||||
case "hour":
|
||||
this.minutes(0);
|
||||
case "minute":
|
||||
this.seconds(0);
|
||||
case "second":
|
||||
this.milliseconds(0);
|
||||
}
|
||||
return this;
|
||||
},
|
||||
endOf: function(a) {
|
||||
return this.startOf(a).add(a.replace(/s?$/, "s"), 1).subtract("ms", 1);
|
||||
},
|
||||
sod: function() {
|
||||
return this.clone().startOf("day");
|
||||
},
|
||||
eod: function() {
|
||||
return this.clone().endOf("day");
|
||||
},
|
||||
zone: function() {
|
||||
return this._isUTC ? 0 : this._d.getTimezoneOffset();
|
||||
},
|
||||
daysInMonth: function() {
|
||||
return c.utc([ this.year(), this.month() + 1, 0 ]).date();
|
||||
},
|
||||
lang: function(a) {
|
||||
return a === b ? P(this) : (this._lang = a, this);
|
||||
}
|
||||
};
|
||||
for (f = 0; f < A.length; f++) ab(A[f].toLowerCase(), A[f]);
|
||||
ab("year", "FullYear"), c.duration.fn = H.prototype = {
|
||||
weeks: function() {
|
||||
return I(this.days() / 7);
|
||||
},
|
||||
valueOf: function() {
|
||||
return this._milliseconds + this._days * 864e5 + this._months * 2592e6;
|
||||
},
|
||||
humanize: function(a) {
|
||||
var b = +this, c = this.lang().relativeTime, d = _(b, !a, this.lang());
|
||||
return a && (d = (b <= 0 ? c.past : c.future).replace(/%s/i, d)), d;
|
||||
},
|
||||
lang: c.fn.lang
|
||||
};
|
||||
for (f in B) B.hasOwnProperty(f) && (cb(f, B[f]), bb(f.toLowerCase()));
|
||||
cb("Weeks", 6048e5), i && (module.exports = c), typeof ender == "undefined" && (this.moment = c), typeof define == "function" && define.amd && define("moment", [], function() {
|
||||
return c;
|
||||
});
|
||||
}).call(this, Date);
|
1106
node_modules/emailjs/node_modules/moment/moment.js
generated
vendored
1106
node_modules/emailjs/node_modules/moment/moment.js
generated
vendored
File diff suppressed because it is too large
Load diff
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue