Initial commit

This commit is contained in:
Jesús 2018-10-11 12:33:40 -05:00
commit 932fd81b90
No known key found for this signature in database
GPG Key ID: F6EE7BC59A315766
195 changed files with 33791 additions and 0 deletions

14
.gitignore vendored Normal file
View File

@ -0,0 +1,14 @@
### Django ###
*.log
*.pot
*.pyc
__pycache__/
personalsite/settings.py
db.sqlite3
media
venv/
### Sass ###
.sass-cache/
*.css.map
*.sass.map
*.scss.map

10
AUTHORS Normal file
View File

@ -0,0 +1,10 @@
=========
AUTHORS
=========
Esta es una lista de colaboradores de Personal-Site. Ellos contribuyen en una
variedad de formas diferentes y este software no existiría sin ellos.
Gracias!
* Jesús E. «heckyel@hyperbola.info»

661
LICENSE Normal file
View File

@ -0,0 +1,661 @@
GNU AFFERO GENERAL PUBLIC LICENSE
Version 3, 19 November 2007
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU Affero General Public License is a free, copyleft license for
software and other kinds of works, specifically designed to ensure
cooperation with the community in the case of network server software.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
our General Public Licenses are intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
Developers that use our General Public Licenses protect your rights
with two steps: (1) assert copyright on the software, and (2) offer
you this License which gives you legal permission to copy, distribute
and/or modify the software.
A secondary benefit of defending all users' freedom is that
improvements made in alternate versions of the program, if they
receive widespread use, become available for other developers to
incorporate. Many developers of free software are heartened and
encouraged by the resulting cooperation. However, in the case of
software used on network servers, this result may fail to come about.
The GNU General Public License permits making a modified version and
letting the public access it on a server without ever releasing its
source code to the public.
The GNU Affero General Public License is designed specifically to
ensure that, in such cases, the modified source code becomes available
to the community. It requires the operator of a network server to
provide the source code of the modified version running there to the
users of that server. Therefore, public use of a modified version, on
a publicly accessible server, gives the public access to the source
code of the modified version.
An older license, called the Affero General Public License and
published by Affero, was designed to accomplish similar goals. This is
a different license, not a version of the Affero GPL, but Affero has
released a new version of the Affero GPL which permits relicensing under
this license.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU Affero General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Remote Network Interaction; Use with the GNU General Public License.
Notwithstanding any other provision of this License, if you modify the
Program, your modified version must prominently offer all users
interacting with it remotely through a computer network (if your version
supports such interaction) an opportunity to receive the Corresponding
Source of your version by providing access to the Corresponding Source
from a network server at no charge, through some standard or customary
means of facilitating copying of software. This Corresponding Source
shall include the Corresponding Source for any work covered by version 3
of the GNU General Public License that is incorporated pursuant to the
following paragraph.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the work with which it is combined will remain governed by version
3 of the GNU General Public License.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU Affero General Public License from time to time. Such new versions
will be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU Affero General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU Affero General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU Affero General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If your software can interact with users remotely through a computer
network, you should also make sure that it provides a way for users to
get its source. For example, if your program is a web application, its
interface could display a "Source" link that leads users to an archive
of the code. There are many ways you could offer source, and different
solutions will be better for different programs; see section 13 for the
specific requirements.
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU AGPL, see
<http://www.gnu.org/licenses/>.

59
README.md Normal file
View File

@ -0,0 +1,59 @@
# Personal-site README
To get a pretty version of this document, run
$ markdown README > README.html
# License
See LICENSE file.
# Authors
See AUTHORS file.
# Dependencies
- python
- python-virtualenv
# Python dependencies
More detail in `requirements.txt` and `requirements_prod.txt`; it is best to
use virtualenv and pip to handle these. But if you insist on (Arch GNU/Linux)
packages, you will probably want the following:
- django
- python-psycopg2
- python-markdown
- python-memcached
# Testing Installation
1. Run `virtualenv`.
cd /path/to/personalsite && virtualenv ./env/
2. Activate the virtualenv.
source ./env/bin/activate
3. Install dependencies through `pip`.
pip install -r requirements.txt
4. Copy `settings.py.example` to `settings.py` and modify.
Make sure to uncomment the appropriate database section (either sqlite or
PostgreSQL).
5. Migrate changes.
./manage.py migrate
6. Use the following commands to start a service instance
./manage.py runserver
# Production Installation
Ask someone who knows, or you are going to be in trouble.

0
core/__init__.py Normal file
View File

3
core/admin.py Normal file
View File

@ -0,0 +1,3 @@
from django.contrib import admin
# Register your models here.

5
core/apps.py Normal file
View File

@ -0,0 +1,5 @@
from django.apps import AppConfig
class CoreConfig(AppConfig):
name = 'core'

3
core/models.py Normal file
View File

@ -0,0 +1,3 @@
from django.db import models
# Create your models here.

View File

@ -0,0 +1,21 @@
## Hacking
## SASS to CSS
1. Requeriments:
```
gem install sass
```
2. Generate CSS from SASS:
```
sass -t compressed --sourcemap=none sass/estilos.sass:css/estilos.min.css
```
3. Show CSS to SASS live
```
sass --watch -t compressed sass/estilos.sass:css/estilos.min.css
```

1
core/static/core/css/estilos.min.css vendored Normal file

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,114 @@
[ Copyleft Attitude ]
Free Art License 1.3 (FAL 1.3)
Preamble
The Free Art License grants the right to freely copy, distribute, and transform creative works without infringing the authors rights.
The Free Art License recognizes and protects these rights. Their implementation has been reformulated in order to allow everyone to use creations of the human mind in a creative manner, regardless of their types and ways of expression.
While the publics access to creations of the human mind usually is restricted by the implementation of copyright law, it is favoured by the Free Art License. This license intends to allow the use of a works resources; to establish new conditions for creating in order to increase creation opportunities. The Free Art License grants the right to use a work, and acknowledges the right holders and the users rights and responsibility.
The invention and development of digital technologies, Internet and Free Software have changed creation methods: creations of the human mind can obviously be distributed, exchanged, and transformed. They allow to produce common works to which everyone can contribute to the benefit of all.
The main rationale for this Free Art License is to promote and protect these creations of the human mind according to the principles of copyleft: freedom to use, copy, distribute, transform, and prohibition of exclusive appropriation.
Definitions
« work » either means the initial work, the subsequent works or the common work as defined hereafter:
« common work » means a work composed of the initial work and all subsequent contributions to it (originals and copies). The initial author is the one who, by choosing this license, defines the conditions under which contributions are made.
« Initial work » means the work created by the initiator of the common work (as defined above), the copies of which can be modified by whoever wants to
« Subsequent works » means the contributions made by authors who participate in the evolution of the common work by exercising the rights to reproduce, distribute, and modify that are granted by the license.
« Originals » (sources or resources of the work) means all copies of either the initial work or any subsequent work mentioning a date and used by their author(s) as references for any subsequent updates, interpretations, copies or reproductions.
« Copy » means any reproduction of an original as defined by this license.
1. OBJECT
The aim of this license is to define the conditions under which one can use this work freely.
2. SCOPE
This work is subject to copyright law. Through this license its author specifies the extent to which you can copy, distribute, and modify it.
2.1 FREEDOM TO COPY (OR TO MAKE REPRODUCTIONS)
You have the right to copy this work for yourself, your friends or any other person, whatever the technique used.
2.2 FREEDOM TO DISTRIBUTE, TO PERFORM IN PUBLIC
You have the right to distribute copies of this work; whether modified or not, whatever the medium and the place, with or without any charge, provided that you:
attach this license without any modification to the copies of this work or indicate precisely where the license can be found,
specify to the recipient the names of the author(s) of the originals, including yours if you have modified the work,
specify to the recipient where to access the originals (either initial or subsequent).
The authors of the originals may, if they wish to, give you the right to distribute the originals under the same conditions as the copies.
2.3 FREEDOM TO MODIFY
You have the right to modify copies of the originals (whether initial or subsequent) provided you comply with the following conditions:
all conditions in article 2.2 above, if you distribute modified copies;
indicate that the work has been modified and, if it is possible, what kind of modifications have been made;
distribute the subsequent work under the same license or any compatible license.
The author(s) of the original work may give you the right to modify it under the same conditions as the copies.
3. RELATED RIGHTS
Activities giving rise to authors rights and related rights shall not challenge the rights granted by this license.
For example, this is the reason why performances must be subject to the same license or a compatible license. Similarly, integrating the work in a database, a compilation or an anthology shall not prevent anyone from using the work under the same conditions as those defined in this license.
4. INCORPORATION OF THE WORK
Incorporating this work into a larger work that is not subject to the Free Art License shall not challenge the rights granted by this license.
If the work can no longer be accessed apart from the larger work in which it is incorporated, then incorporation shall only be allowed under the condition that the larger work is subject either to the Free Art License or a compatible license.
5. COMPATIBILITY
A license is compatible with the Free Art License provided:
it gives the right to copy, distribute, and modify copies of the work including for commercial purposes and without any other restrictions than those required by the respect of the other compatibility criteria;
it ensures proper attribution of the work to its authors and access to previous versions of the work when possible;
it recognizes the Free Art License as compatible (reciprocity);
it requires that changes made to the work be subject to the same license or to a license which also meets these compatibility criteria.
6. YOUR INTELLECTUAL RIGHTS
This license does not aim at denying your authors rights in your contribution or any related right. By choosing to contribute to the development of this common work, you only agree to grant others the same rights with regard to your contribution as those you were granted by this license. Conferring these rights does not mean you have to give up your intellectual rights.
7. YOUR RESPONSIBILITIES
The freedom to use the work as defined by the Free Art License (right to copy, distribute, modify) implies that everyone is responsible for their own actions.
8. DURATION OF THE LICENSE
This license takes effect as of your acceptance of its terms. The act of copying, distributing, or modifying the work constitutes a tacit agreement. This license will remain in effect for as long as the copyright which is attached to the work. If you do not respect the terms of this license, you automatically lose the rights that it confers.
If the legal status or legislation to which you are subject makes it impossible for you to respect the terms of this license, you may not make use of the rights which it confers.
9. VARIOUS VERSIONS OF THE LICENSE
This license may undergo periodic modifications to incorporate improvements by its authors (instigators of the « Copyleft Attitude » movement) by way of new, numbered versions.
You will always have the choice of accepting the terms contained in the version under which the copy of the work was distributed to you, or alternatively, to use the provisions of one of the subsequent versions.
10. SUB-LICENSING
Sub-licenses are not authorized by this license. Any person wishing to make use of the rights that it confers will be directly bound to the authors of the common work.
11. LEGAL FRAMEWORK
This license is written with respect to both French law and the Berne Convention for the Protection of Literary and Artistic Works.
USER GUIDE
How to use the Free Art License?
To benefit from the Free Art License, you only need to mention the following elements on your work:
[Name of the author, title, date of the work. When applicable, names of authors of the common work and, if possible, where to find the originals].
Copyleft: This is a free work, you can copy, distribute, and modify it under the terms of the Free Art License http://artlibre.org/licence/lal/en/
Why to use the Free Art License?
1.To give the greatest number of people access to your work.
2.To allow it to be distributed freely.
3.To allow it to evolve by allowing its copy, distribution, and transformation by others.
4.So that you benefit from the resources of a work when it is under the Free Art License: to be able to copy, distribute or transform it freely.
5.But also, because the Free Art License offers a legal framework to disallow any misappropriation. It is forbidden to take hold of your work and bypass the creative process for ones exclusive possession.
When to use the Free Art License?
Any time you want to benefit and make others benefit from the right to copy, distribute and transform creative works without any exclusive appropriation, you should use the Free Art License. You can for example use it for scientific, artistic or educational projects.
What kinds of works can be subject to the Free Art License?
The Free Art License can be applied to digital as well as physical works.
You can choose to apply the Free Art License on any text, picture, sound, gesture, or whatever sort of stuff on which you have sufficient authors rights.
Historical background of this license:
It is the result of observing, using and creating digital technologies, free software, the Internet and art. It arose from the « Copyleft Attitude » meetings which took place in Paris in 2000. For the first time, these meetings brought together members of the Free Software community, artists, and members of the art world. The goal was to adapt the principles of Copyleft and free software to all sorts of creations. http://www.artlibre.org
Copyleft Attitude, 2007.
You can make reproductions and distribute this license verbatim (without any changes).

Binary file not shown.

View File

@ -0,0 +1,328 @@
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
<!--
2018-10-10: Created with FontForge (http://fontforge.org)
-->
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1">
<metadata>
Created by FontForge 20170320 at Wed Oct 10 20:31:51 2018
By heckyel
Copyright (c) 2018, heckyel
</metadata>
<defs>
<font id="libresocial" horiz-adv-x="128" >
<font-face
font-family="libresocial"
font-weight="400"
font-stretch="normal"
units-per-em="128"
panose-1="2 0 5 9 0 0 0 0 0 0"
ascent="96"
descent="-32"
bbox="-433.952 -6.39046 122.799 825.675"
underline-thickness="50"
underline-position="-100"
unicode-range="U+E800-E815"
/>
<missing-glyph />
<glyph glyph-name="uniE800" unicode="&#xe800;"
d="M36.251 51.1787c2.80469 12.0195 15.0986 21.7744 27.4404 21.7744c15.5547 0 28.1787 -12.624 28.1787 -28.1787c0 -15.5537 -12.624 -28.1777 -28.1787 -28.1777c-12.3418 0 -24.6357 9.75488 -27.4404 21.7734h13.4229
c2.26855 -4.94824 8.52832 -8.96582 13.9727 -8.96582c8.48438 0 15.3701 6.88574 15.3701 15.3701s-6.88574 15.3701 -15.3701 15.3701c-5.44434 0 -11.7041 -4.0166 -13.9727 -8.96582h-13.4229zM13.8105 44.8262c0 -27.7295 22.4795 -50.209 50.209 -50.209
c27.7285 0 50.208 22.4795 50.208 50.209c0 27.7285 -22.4795 50.208 -50.208 50.208c-27.7295 0 -50.209 -22.4795 -50.209 -50.208zM24.0566 44.8262c0 22.0703 17.8916 39.9619 39.9629 39.9619c22.0703 0 39.9619 -17.8916 39.9619 -39.9619
c0 -22.0713 -17.8916 -39.9629 -39.9619 -39.9629c-22.0713 0 -39.9629 17.8916 -39.9629 39.9629z" />
<glyph glyph-name="uniE801" unicode="&#xe801;"
d="M42.2178 -4.2041l-2.87012 2.15137l-3.98828 3.06348l-3.9873 3.0625l-2.53809 1.94043l-2.53711 1.94141l-0.786133 0.608398l-0.785156 0.609375v0.216797v0.216797l3.32324 4.81836l3.32324 4.81836l0.75 1.11816l0.75 1.11816l2.99609 4.32324l2.99609 4.32324
l0.362305 0.550781l0.362305 0.551758l1.75293 2.53027l1.75195 2.53027v0.274414v0.274414l-4.89453 1.6709l-4.89355 1.6709l-5.31738 1.80371l-5.31738 1.80469l-1.20801 0.453125l-1.20898 0.453125l-3.57617 1.21387l-3.57617 1.21484l-0.0810547 0.147461
l-0.0820312 0.147461l0.709961 2.28809l0.709961 2.28906l1.80469 5.84863l1.80566 5.84863l1.35645 4.38672l1.35742 4.38672h0.481445h0.482422l2.08301 -0.736328l2.08398 -0.735352l7.6123 -2.58984l7.61328 -2.58984l4.7959 -1.65137l4.79492 -1.65137
l0.338867 0.136719l0.338867 0.136719l0.0625 16.6016l0.0625 16.6006l12.5518 0.0664062l12.5527 0.0654297l0.192383 -0.320312l0.193359 -0.320312l0.00390625 -16.4648l0.00390625 -16.4658h0.386719h0.385742l2.81641 0.989258l2.81543 0.989258l5.80078 1.96191
l5.80078 1.96289l5.0752 1.74805l5.0752 1.74805l0.742188 0.258789l0.742188 0.259766l0.466797 -0.00390625l0.46582 -0.00390625l1.30762 -4.25586l1.30762 -4.25586l1.37891 -4.4502l1.37891 -4.4502l1.12012 -3.70605l1.12012 -3.70605v-0.282227v-0.28125
l-0.543945 -0.164062l-0.543945 -0.163086l-6.7666 -2.30664l-6.76758 -2.30664l-6.52539 -2.25684l-6.52539 -2.25684l-0.966797 -0.274414l-0.966797 -0.273438l-0.299805 -0.257812l-0.298828 -0.257812l0.524414 -0.797852l0.525391 -0.797852l1.14355 -1.65332
l1.14453 -1.65234l3.41699 -4.95898l3.41797 -4.95898l0.350586 -0.508789l0.351562 -0.507812l1.9375 -2.79785l1.9375 -2.79688l0.839844 -1.27148l0.839844 -1.27148l1.0918 -1.5752l1.0918 -1.5752l-0.548828 -0.546875l-0.547852 -0.546875l-1.08789 -0.791992
l-1.08691 -0.791992l-0.242188 -0.211914l-0.241211 -0.211914l-2.65918 -2.03516l-2.6582 -2.03516l-0.845703 -0.616211l-0.84668 -0.617188l-2.57227 -1.97754l-2.57227 -1.97852l-2.06055 -1.58984l-2.06055 -1.58887h-0.363281h-0.364258l-0.527344 0.699219
l-0.527344 0.699219l-3.24805 4.7041l-3.24805 4.70508l-0.998047 1.52539l-0.998047 1.52539l-0.157227 0.12793l-0.157227 0.126953l-1.00391 1.52539l-1.00391 1.52637l-1.34082 1.90723l-1.3418 1.90723l-0.413086 0.635742l-0.412109 0.635742l-1.41895 2.03418
l-1.41992 2.03418l-0.330078 0.200195l-0.331055 0.199219l-0.834961 -1.22363l-0.835938 -1.22363l-1.88965 -2.7041l-1.88867 -2.70508l-1.08789 -1.5918l-1.08789 -1.5918l-1.49902 -2.18164l-1.5 -2.18066l-0.700195 -1.01758l-0.699219 -1.01758l-2.04199 -2.92383
l-2.04297 -2.9248l-1.15527 -1.71387l-1.15527 -1.71484l-0.192383 -0.124023l-0.191406 -0.125z" />
<glyph glyph-name="uniE802" unicode="&#xe802;"
d="M66.3379 91.8926c-6.65234 0.0332031 -17.6064 0.0332031 -24.3418 0l12.0957 -0.0615234zM22.4766 88.9473c0.288086 0.359375 0.280273 0.367188 -0.0878906 0.0849609c-0.222656 -0.170898 -0.405273 -0.348633 -0.405273 -0.396484
c0 -0.186523 0.19043 -0.0664062 0.493164 0.311523zM19.9268 86.4551c0.288086 0.359375 0.280273 0.367188 -0.0878906 0.0849609c-0.385742 -0.295898 -0.318359 -0.481445 -0.318359 -0.481445c0.0488281 0 0.231445 0.178711 0.40625 0.396484zM17.041 80.4375
c-0.0732422 0.180664 -0.128906 0.126953 -0.139648 -0.137695c-0.0107422 -0.238281 0.12207 -0.296875 0.12207 -0.296875c0.0771484 0.0751953 0.0849609 0.270508 0.0175781 0.43457zM70.1455 69.4629c-4.55859 0.0351562 -12.0176 0.0351562 -16.5752 0
l8.28711 -0.0625zM70.1455 44.3154c-4.55859 0.0341797 -12.0176 0.0341797 -16.5752 0l8.28711 -0.0625zM70.1455 24.6055c-4.55859 0.0341797 -12.0176 0.0341797 -16.5752 0l8.28711 -0.0625zM16.8252 62.082l-0.0605469 -17.1436l0.0605469 -17.292
c0.0332031 9.42871 0.0332031 24.9248 0 34.4355zM21.752 1.39551c0 0.0380859 -0.391602 0.419922 -0.870117 0.849609l-0.869141 0.78125l0.798828 -0.849609c0.744141 -0.791016 0.94043 -0.78125 0.94043 -0.78125zM22.9111 0.505859
c0 0.0478516 -0.182617 0.225586 -0.40625 0.396484c-0.367188 0.282227 -0.375977 0.274414 -0.0878906 -0.0849609c0.303711 -0.37793 0.494141 -0.311523 0.494141 -0.311523zM101.333 -1.33496c4.81836 1.66602 8.19238 5.25586 9.44727 10.0498
c0.445312 1.70117 0.457031 2.65137 0.457031 36.2236c0 33.3467 -0.0146484 34.5332 -0.448242 36.1914c-1.32129 5.04688 -5.04395 8.77637 -10.2949 10.3145c-0.953125 0.280273 -2.90039 0.370117 -9.59961 0.445312l-8.4043 0.09375v-13.2705v-13.2705h-16.46h-16.459
v-9.96875v-9.96875h16.459h16.46v-12.5732v-12.5742h-16.46h-16.459v-11.2197v-11.2188l24.9795 0.0615234l24.9795 0.0615234zM30.5029 -1.91504c-0.222656 0.0566406 -0.587891 0.0566406 -0.811523 0c-0.222656 -0.0576172 -0.0400391 -0.103516 0.40625 -0.103516
s0.405273 0.103516 0.405273 0.103516zM28.5908 -5.9873c-2.45215 0.331055 -5.80566 1.61523 -7.92285 3.03418c-3.59668 2.41016 -6.21387 6.13184 -7.54883 10.7363l-0.524414 1.8125v35.3428l0.000976562 35.3428l0.523438 1.8125
c1.95703 6.77637 6.82715 11.5664 13.5371 13.3154l1.93457 0.504883h35.585h35.5859l2.07812 -0.636719c6.50293 -1.99023 11.0703 -6.58594 12.9434 -13.0244l0.507812 -1.74512l0.0693359 -34.3232c0.0488281 -24.166 -0.00683594 -34.8926 -0.1875 -36.249
c-0.564453 -4.23145 -2.2666 -7.64258 -5.32617 -10.6699c-2.91406 -2.88184 -6.1748 -4.53516 -10.2012 -5.17285c-1.44531 -0.229492 -69.3877 -0.305664 -71.0547 -0.0800781z" />
<glyph glyph-name="uniE803" unicode="&#xe803;"
d="M84.5303 56.5996c0 0.0908203 2.75781 8.72754 6.12793 19.1943c3.85742 11.9785 6.37988 19.2148 6.80859 19.5303c0.945312 0.694336 1.88184 0.624023 2.60059 -0.196289c0.506836 -0.578125 12.5986 -37.4639 12.5859 -38.3936
c-0.000976562 -0.164062 -6.33008 -0.298828 -14.0635 -0.298828c-7.73242 0 -14.0596 0.0742188 -14.0596 0.164062zM15.2188 56.7344c-0.0117188 0.929688 12.0801 37.8154 12.5859 38.3936c0.71875 0.819336 1.65625 0.891602 2.5957 0.199219
c0.419922 -0.30957 2.99023 -7.67871 6.80859 -19.5254c3.37305 -10.4658 6.13281 -19.1045 6.13281 -19.1973s-6.32617 -0.167969 -14.0596 -0.167969c-7.73242 0 -14.0635 0.133789 -14.0635 0.297852zM37.1846 12.749
c-14.3662 10.4668 -26.6992 19.6514 -27.4072 20.4111c-0.729492 0.783203 -1.28711 1.80566 -1.28711 2.35938c0 0.898438 6.20996 20.5186 6.49414 20.5186c0.0693359 0 10.9668 -13.9609 24.2178 -31.0244c13.251 -17.0625 24.248 -30.8672 24.248 -30.8672
c0.0859375 0.0869141 -4.31445 13.9805 -9.77734 30.875c-5.46387 16.8945 -9.93457 30.874 -9.93457 31.0664c0 0.194336 8.89746 0.348633 20.1982 0.348633c11.1084 0 20.1982 -0.148438 20.1982 -0.330078s-4.4541 -14.1016 -9.89844 -30.9336
s-9.85254 -30.7451 -9.79688 -30.918s10.9512 13.6582 24.2119 30.7344c13.2617 17.0771 24.168 31.0488 24.2363 31.0488c0.277344 0 6.49414 -19.6084 6.49414 -20.4824c0 -0.517578 -0.441406 -1.46875 -0.981445 -2.11328
c-1.2793 -1.52734 -53.4971 -39.6055 -54.4043 -39.6719c-0.379883 -0.0283203 -12.4453 8.51172 -26.8115 18.9785z" />
<glyph glyph-name="uniE804" unicode="&#xe804;"
d="M59.0303 -5.70117l-2.82129 0.429688l-3.29199 0.970703l-3.29102 0.97168l-3.05664 1.57715l-3.05566 1.57812l-1.34668 1.0332l-1.3457 1.03223l-1.87109 1.5918l-1.87109 1.5918l-1.99414 2.79102l-1.99512 2.79199l-1.9209 3.92188l-1.92188 3.92285
l-0.960938 3.70215l-0.960938 3.70215l-0.483398 4.1416l-0.483398 4.1416l0.0224609 3.45996l0.0214844 3.46094l0.62793 3.69141l0.62793 3.69141l0.283203 1.20215l0.28418 1.20215l0.723633 2.0127l0.723633 2.01172l1.17578 1.96875l1.1748 1.96875l1.16113 1.22852
l1.16016 1.22852v0.746094v0.746094l-1.03613 0.455078l-1.03613 0.455078l-1.54102 2.11914l-1.54102 2.11914l-0.755859 2.89453l-0.755859 2.89551l0.166992 4.67578l0.166992 4.67578l1.40234 2.75195l1.40234 2.75293l2.75781 2.89941l2.75781 2.89941
l0.401367 0.171875l0.40625 0.239258l0.726562 0.444336l0.827148 0.579102l1.22949 -0.140625l1.23047 -0.140625l0.167969 -0.866211l0.166992 -0.866211l-1.7998 -3.74707l-1.7998 -3.74805l-0.178711 -4.97168l-0.179688 -4.9707l0.553711 -1.31152l0.552734 -1.31152
l1.21582 -0.638672l1.21582 -0.637695h3.49414h3.49316l1.72559 1.91797l1.72461 1.91895l1.02734 0.503906l1.02637 0.503906h2.64062h2.64062l1.37891 -0.700195l1.37988 -0.700195l0.751953 -1.42676l0.751953 -1.42773l1.10645 1.59766l1.10645 1.59766
l1.43945 0.584961l1.44043 0.584961l2.7998 -0.198242l2.7998 -0.199219l2.64453 -2.4541l2.64453 -2.45312l3.18555 0.223633l3.18555 0.223633l1.44824 0.838867l1.44727 0.838867l0.338867 3.49609l0.337891 3.49512l-0.55957 2.99902l-0.55957 2.99902
l-0.12793 0.460938l-0.126953 0.461914l-1.51172 2.89258l-1.51074 2.89355l0.498047 0.913086l0.499023 0.914062h0.484375h0.484375l0.853516 -0.448242l0.852539 -0.448242l2.64258 -2.49121l2.13867 -2.48145l0.293945 -0.350586l0.209961 -0.27832l0.938477 -0.988281
l0.9375 -0.988281l1.70703 -3.43555l1.70703 -3.43652l-0.212891 -4.7002l-0.212891 -4.7002l-0.426758 -0.661133l-0.341797 -0.692383l-0.0498047 -0.209961l-0.0595703 -0.220703l-0.639648 -1.49902l-0.639648 -1.5l-0.155273 -0.257812l-0.09375 -0.164062
l-0.157227 -0.292969l-0.419922 -0.591797l-1.88281 -1.46289l-1.88184 -1.46289l1.64355 -1.88477l1.41211 -1.77051l0.820312 -1.41895l0.588867 -1.30566l0.0908203 -0.124023l0.0888672 -0.130859l1.22852 -1.70605l0.84082 -1.96094l0.62793 -1.42578l0.62793 -1.42578
l0.71875 -2.70898l0.71875 -2.70801v-0.606445v-0.607422l-7.40039 0.126953l-7.40039 0.126953l-1.70801 3.38086l-1.70801 3.38086l-1.82422 1.83398l-1.82324 1.83496l-2.13184 1.34375l-2.13184 1.34375l-3.04004 0.768555l-3.04102 0.768555l-5.87793 -0.282227
l-5.87695 -0.282227l-2.11621 -0.487305l-2.11621 -0.487305l-2.46777 -1.21191l-2.12012 -1.45898l-0.185547 -0.206055l-0.163086 -0.177734l-0.875977 -0.990234l-0.875 -0.990234l-0.65332 -2.88672l-1.28223 -6.67676l-0.24707 -7.39941l0.885742 -7.72852
l0.841797 -2.76855l0.841797 -2.76855l0.15332 -0.460938l0.154297 -0.460938l0.630859 -1.5l0.631836 -1.5l0.12207 -0.225586l0.189453 -0.196289l0.214844 -0.248047l0.208008 -0.21875l1.99805 -1.89648l1.99902 -1.89746l2.83789 -1.34668l2.83887 -1.34766
l2.80371 -0.513672l2.80371 -0.513672l4.9375 0.217773l4.9375 0.217773l2.69824 1.0166l2.69922 1.0166l1.88574 1.8877l1.71777 1.76953l0.137695 0.283203l0.0654297 0.380859l0.263672 1.78809l0.263672 1.78906l-4.0166 -0.328125l-4.0166 -0.329102
l-0.966797 0.301758l-0.336914 0.352539l-0.368164 0.657227l-0.261719 0.625977l-0.470703 0.800781l-0.470703 0.800781l-1.79297 4.87207l-1.79297 4.87207l-0.327148 1.0957l0.701172 0.00292969h15.9873h15.9883l-0.325195 -3.5752l-0.325195 -3.57617
l-0.660156 -3.22949l-0.660156 -3.23047l-0.194336 -0.691406l-0.194336 -0.692383l-0.0947266 -0.115234l-0.0947266 -0.115234l-0.118164 -0.461914l-0.117188 -0.460938l-0.117188 -0.230469l-0.118164 -0.231445l-0.0996094 -0.345703l-0.0986328 -0.345703
l-0.332031 -0.922852l-0.332031 -0.922852l-1.69141 -3.38086l-1.69043 -3.38086l-3.63477 -3.56738l-3.63574 -3.56836l-2.76562 -1.32324l-2.76465 -1.32324l-0.94043 -0.392578l-0.94043 -0.393555l-2.58594 -0.708008l-2.58594 -0.707031l-6.34766 -0.175781
l-6.34766 -0.175781z" />
<glyph glyph-name="uniE805" unicode="&#xe805;"
d="M59.624 21.9521c-4.03027 2.87012 -4.50879 3.38086 -4.14258 4.42871c0.227539 0.650391 0.396484 3.03711 0.376953 5.30176l-0.0361328 4.11914l3.63477 1.87598l3.63379 1.87598l2.61621 -2.78516c1.43848 -1.53125 3.59961 -3.25586 4.80273 -3.83203
c1.20312 -0.577148 2.19336 -1.36133 2.2002 -1.74316c0.0351562 -1.82227 -2.25488 -9.84473 -2.81055 -9.84473c-0.34375 0 -1.77148 -0.607422 -3.17188 -1.34961c-1.40137 -0.742188 -2.54785 -1.32031 -2.54785 -1.32031c0 0.015625 -2.0498 1.48828 -4.55566 3.27344z
M75.0391 3.66406c2.35352 1.3916 4.24902 4.04102 4.70508 6.57812c0.65332 3.63965 -1.57031 8.14648 -5.08008 10.2949c-0.824219 0.504883 -0.803711 0.866211 0.301758 5.40527l1.18555 4.86523l3.39746 0.307617c14.4688 1.31055 20.9844 19.5801 10.7803 30.2305
c-4.29785 4.4873 -11.0186 6.38086 -16.6172 4.68164c-8.88672 -2.69629 -13.8311 -11.1455 -12.2344 -20.9062l0.399414 -2.44141l-3.93457 -2.0332l-3.93555 -2.03223l-1.64551 1.4502c-5.35742 4.7207 -12.1377 4.58984 -16.9961 -0.329102
c-4.37012 -4.42383 -5.03418 -10.2061 -1.80859 -15.7578c2.19531 -3.78027 5.85938 -5.97363 10.0479 -6.01465c3.27051 -0.03125 6.98145 1.38477 8.59375 3.28027l0.962891 1.13379l4.60645 -3.2334l4.60742 -3.2334l-0.325195 -2.12012
c-0.484375 -3.1582 0.172852 -5.74512 2.0166 -7.93652c2.99805 -3.56445 7.22168 -4.40723 10.9727 -2.18945zM20.9424 26.4688v32.6865l-7.54395 0.149414l-7.54492 0.149414l28.832 17.8369c15.8574 9.81055 29.0645 17.7676 29.3477 17.6826
s13.4756 -8.2334 29.3154 -18.1074l28.8018 -17.9521l-7.88477 -0.149414l-7.88379 -0.149414v-32.417v-32.416h-42.7197h-42.7197v32.6865z" />
<glyph glyph-name="uniE806" unicode="&#xe806;"
d="M55.7637 27.6016c0.530273 2.21875 0.964844 4.19922 0.964844 4.40137c0 0.203125 -0.699219 0.526367 -1.55273 0.719727c-1.00488 0.227539 -1.82324 0.717773 -2.32031 1.3916l-0.768555 1.04004l0.770508 3.61914c0.423828 1.99023 2.6709 11.4609 4.99316 21.0449
s4.11133 17.5371 3.97559 17.6719c-0.273438 0.273438 -8.89746 -0.912109 -10.2236 -1.40527c-0.460938 -0.171875 -0.838867 -0.554688 -0.838867 -0.852539c0 -0.296875 -0.660156 -3.27832 -1.46777 -6.62598c-4.87012 -20.1904 -7.43652 -31.3223 -7.65527 -33.2021
c-0.302734 -2.6084 0.298828 -5.76172 1.41602 -7.41895c1.78613 -2.65039 5.51172 -4.31445 9.81836 -4.38574l1.9248 -0.03125zM68.5059 33.167c1.45703 6.24121 3.95801 16.6377 4.25977 17.7061l0.393555 1.39746h3.07129
c2.23633 0 3.30664 -0.165039 3.93945 -0.608398c3.00684 -2.10645 3.04492 -9.69336 0.0712891 -14.3818c-2.04395 -3.22363 -5.07227 -4.76562 -9.36035 -4.76562c-2.2168 0 -2.50879 0.0800781 -2.375 0.652344zM64.5283 16.3926
c0.650391 2.61426 1.33691 5.33984 1.52637 6.05762l0.342773 1.30469l3.64551 -0.124023c2.40527 -0.0820312 4.50195 0.0742188 6.15918 0.459961c7.88281 1.83105 14.0098 7.86816 16.1494 15.9111c0.918945 3.45312 0.839844 9.54395 -0.160156 12.3701
c-2.98242 8.42285 -10.7139 10.917 -24.4746 7.89258c-1.43945 -0.316406 -2.8418 -0.713867 -3.11621 -0.883789c-0.290039 -0.179688 -2.2793 -7.70801 -4.74707 -17.9678c-2.33691 -9.71191 -4.77734 -19.8389 -5.42383 -22.5039
c-0.646484 -2.66602 -1.25098 -5.3916 -1.34277 -6.05762l-0.167969 -1.21191h5.21387h5.21289zM20.0352 -5.49902c-2.3877 0.931641 -4.87109 3.38281 -5.60254 5.52832c-0.500977 1.47168 -0.569336 6.90723 -0.555664 44.0137
c0.0136719 34.3916 0.110352 42.5977 0.515625 43.7344c0.736328 2.06152 2.24805 3.85547 4.2334 5.02246l1.75879 1.0332h43.4258h43.4268l1.54395 -0.825195c0.849609 -0.454102 2.15332 -1.53711 2.89746 -2.40723c2.57129 -3.00391 2.4541 -0.780273 2.4541 -46.7705
c0 -41.4395 0 -41.4834 -0.795898 -43.6387c-0.512695 -1.38965 -1.3584 -2.70215 -2.37598 -3.69043c-3.01855 -2.92871 -0.0283203 -2.75586 -47.123 -2.73633c-40.5244 0.0175781 -42.0254 0.0419922 -43.8027 0.736328z" />
<glyph glyph-name="uniE807" unicode="&#xe807;"
d="M91.0215 61.7354h-0.125977c-4.40039 0 -7.9209 -3.41699 -7.9209 -7.84766v-20.252c0 -2.15234 -0.691406 -6.45508 -2.70312 -7.84766h10.6865c4.46387 0 7.98438 3.41699 7.98438 7.84766v20.252c0 4.36719 -3.52051 7.84766 -7.9209 7.84766zM36.3311 61.7354
c-4.46289 0 -7.9209 -3.41699 -7.9209 -7.84766v-20.252c0 -4.36719 3.52051 -7.84766 7.9209 -7.84766h10.624c-2.0752 1.39258 -2.70312 5.69531 -2.70312 7.84766v20.252c0 4.36719 -3.52051 7.84766 -7.9209 7.84766zM63.7393 66.6719
c-4.46387 0 -7.9209 -3.54395 -7.9209 -7.84766v-20.252c0 -4.43066 3.52051 -7.91113 7.9209 -7.91113c4.46289 0 7.9209 3.41797 7.9209 7.84766v20.252c0 2.21582 0.691406 6.45605 2.76562 7.91113h-10.6865zM63.9902 93.7598
c27.4131 0 49.6611 -22.3994 49.6611 -49.998s-22.248 -49.998 -49.6611 -49.998s-49.6611 22.3994 -49.6611 49.998s22.248 49.998 49.6611 49.998z" />
<glyph glyph-name="uniE808" unicode="&#xe808;"
d="M112.593 -3.90918v94.3721h-6.79199v2.26367h9.39941v-98.8994h-9.39941v2.26367h6.79199zM45.251 60.5459v-4.77637h0.135742c1.27344 1.81836 2.80762 3.22949 4.60547 4.23047c1.7959 0.999023 3.85449 1.5 6.17383 1.5c2.22852 0 4.26465 -0.432617 6.10547 -1.2959
c1.84277 -0.865234 3.24121 -2.3877 4.19727 -4.57129c1.04492 1.5459 2.46582 2.91113 4.26367 4.09375c1.7959 1.18164 3.92188 1.77344 6.37891 1.77344c1.86523 0 3.59277 -0.227539 5.18555 -0.682617c1.59082 -0.454102 2.95605 -1.18262 4.09277 -2.18262
c1.13574 -1.00098 2.02246 -2.30859 2.66113 -3.92188c0.635742 -1.61621 0.955078 -3.55957 0.955078 -5.83496v-23.6035h-9.68848v19.9893c0 1.18164 -0.0449219 2.2959 -0.135742 3.34277c-0.0917969 1.04492 -0.34082 1.9541 -0.750977 2.72852
c-0.40918 0.772461 -1.0127 1.3877 -1.80762 1.84277c-0.795898 0.453125 -1.87695 0.681641 -3.24121 0.681641s-2.4668 -0.262695 -3.30859 -0.78418c-0.841797 -0.524414 -1.50098 -1.20703 -1.97852 -2.04688
c-0.477539 -0.842773 -0.795898 -1.79688 -0.955078 -2.86719c-0.15918 -1.06738 -0.238281 -2.14844 -0.238281 -3.24023v-19.6475h-9.6875v19.7842c0 1.0459 -0.0244141 2.08105 -0.0683594 3.10352c-0.0458984 1.02441 -0.238281 1.96777 -0.580078 2.83301
c-0.341797 0.863281 -0.910156 1.55664 -1.70605 2.08105c-0.795898 0.521484 -1.9668 0.78418 -3.51367 0.78418c-0.455078 0 -1.05762 -0.102539 -1.80762 -0.307617s-1.47852 -0.591797 -2.18262 -1.16016c-0.706055 -0.568359 -1.30859 -1.3877 -1.80859 -2.45508
c-0.500977 -1.06934 -0.75 -2.46777 -0.75 -4.19531v-20.4668h-9.6875v35.2715h9.1416zM15.3057 90.4629v-94.3721h6.79199v-2.26367h-9.39844v98.8994h9.39844v-2.26367h-6.79199z" />
<glyph glyph-name="uniE809" unicode="&#xe809;"
d="M54.9766 67.2256c0.34082 0.134766 0.748047 0.118164 0.905273 -0.0371094s-0.12207 -0.265625 -0.620117 -0.245117c-0.549805 0.0224609 -0.285156 0.282227 -0.285156 0.282227zM66.8711 57.9746c0 0.418945 1.41895 1.1416 1.69824 0.865234
c0.0810547 -0.0800781 -0.267578 -0.402344 -0.775391 -0.71582c-0.507812 -0.314453 -0.922852 -0.149414 -0.922852 -0.149414zM38.1836 57.8955c0.713867 0.107422 1.29785 0.40332 1.29785 0.65918c0 0.254883 0.21582 0.331055 0.480469 0.169922
c0.870117 -0.532227 -0.0371094 -1.16504 -1.57031 -1.09375c-1.42871 0.0664062 -1.43945 0.0800781 -0.208008 0.264648zM26.0234 56.627c0.160156 0.256836 0.503906 0.466797 0.763672 0.466797s0.34082 -0.209961 0.180664 -0.466797
s-0.503906 -0.467773 -0.763672 -0.467773s-0.341797 0.210938 -0.180664 0.467773zM28.0303 56.002c0.324219 0.128906 0.855469 0.128906 1.18066 0c0.324219 -0.129883 0.0585938 -0.236328 -0.59082 -0.236328c-0.648438 0 -0.589844 0.236328 -0.589844 0.236328z
M22.9541 56.1152c0 0.387695 1.93652 1.08691 2.22461 0.802734c0.0771484 -0.0771484 -0.391602 -0.379883 -1.04199 -0.672852s-1.18262 -0.129883 -1.18262 -0.129883zM49.5605 57.0957c0.333008 3.1543 2.30762 7.47461 3.41504 7.47461
c0.401367 0 0.59668 0.210938 0.436523 0.467773c-0.161133 0.257812 0.304688 0.678711 1.03418 0.93457c0.730469 0.256836 1.67188 0.662109 2.09375 0.900391c1.03809 0.587891 4.62891 0.141602 6.08105 -0.755859
c1.27344 -0.787109 2.80566 -2.47266 2.82227 -3.10645c0.00585938 -0.214844 -0.880859 0.258789 -1.9707 1.05176c-1.95898 1.4248 -2.51953 0.998047 -2.51953 0.998047c0.297852 -0.476562 -1.02344 -1.32812 -2.42871 -1.56543
c-0.473633 -0.0791016 -1.55859 -0.509766 -2.41016 -0.956055c-0.852539 -0.445312 -1.76074 -0.681641 -2.01953 -0.523438c-0.257812 0.158203 -0.34375 -0.0976562 -0.34375 -0.0976562c0.0693359 -0.211914 -0.244141 -0.905273 -0.696289 -1.54004
c-0.532227 -0.74707 -0.852539 -0.467773 -0.852539 -0.467773c-0.0166016 0.378906 -0.229492 0.196289 -0.473633 -0.40625c-0.243164 -0.601562 -0.303711 -1.31738 -0.132812 -1.59082c0.182617 -0.291992 0.0859375 -0.359375 -0.235352 -0.163086
c-0.356445 0.217773 -0.544922 -0.0673828 -0.544922 -0.824219c0 -1.51465 -0.452148 -2.63574 -1.0625 -2.63574c-0.31543 0 -0.383789 0.994141 -0.192383 2.80566zM106.065 53.3555c0 0.256836 0.225586 0.467773 0.5 0.467773
c0.275391 0 0.369141 -0.210938 0.208008 -0.467773c-0.160156 -0.256836 -0.384766 -0.466797 -0.5 -0.466797c-0.114258 0 -0.208008 0.209961 -0.208008 0.466797zM40.0371 46.752c-0.588867 0.439453 -0.920898 0.946289 -0.738281 1.12695
s0.603516 0.105469 0.935547 -0.166992c0.427734 -0.350586 0.898438 -0.338867 1.61426 0.0400391c0.924805 0.489258 0.966797 0.455078 0.5 -0.40918c-0.749023 -1.38379 -1.12207 -1.47852 -2.31152 -0.59082zM95.7998 51.4346
c0.292969 1.10938 -0.318359 2.14551 -1.01465 1.71973c-0.760742 -0.464844 -0.655273 -2.60254 0.12793 -2.60254c0.359375 0 0.758789 0.397461 0.886719 0.882812zM95.6768 48.0098c0 0.370117 -0.298828 0.673828 -0.664062 0.673828
c-0.430664 0 -0.578125 -0.327148 -0.418945 -0.929688c0.268555 -1.0166 1.08301 -0.824219 1.08301 0.255859zM93.21 46.4639c-1.87402 2.86816 -1.08887 7.35938 1.28613 7.35938c1.63574 0 2.7959 -2.60645 2.46191 -5.53418
c-0.333008 -2.92969 -2.37695 -3.9248 -3.74805 -1.8252zM88.8682 44.415c-0.203125 0.326172 -0.242188 0.71875 -0.0859375 0.873047c0.422852 0.417969 0.882812 -0.197266 0.655273 -0.875c-0.160156 -0.474609 -0.271484 -0.474609 -0.569336 0.00195312z
M75.6426 44.4775c-0.167969 0.899414 -0.209961 2.37109 -0.0917969 3.27148c0.378906 2.90039 -0.53125 5.71973 -2.49805 7.72949c-2.41016 2.46387 -3.17676 3.02441 -3.61035 2.63867c-0.199219 -0.177734 -0.216797 -0.0722656 -0.0390625 0.234375
c0.239258 0.413086 0.682617 0.352539 1.72559 -0.234375c0.771484 -0.43457 1.4043 -0.947266 1.40527 -1.13965c0.00195312 -0.193359 0.313477 -0.350586 0.691406 -0.350586c0.378906 0 1.24023 -0.930664 1.91309 -2.06836
c0.979492 -1.65234 1.26172 -2.83203 1.4082 -5.87695c0.208984 -4.33105 -0.373047 -7.03516 -0.904297 -4.2041zM31.0996 43.5059c-0.583984 0.744141 -1.0625 1.69727 -1.0625 2.11816c0 0.461914 -0.928711 1.19141 -2.3418 1.83887
c-3.37305 1.54688 -3.79688 2.01172 -3.79688 4.16211v1.89355l-1.24512 -1.13281c-0.853516 -0.775391 -1.45605 -0.548828 -1.45605 -0.548828c-0.116211 0.321289 -0.587891 0.583984 -1.04785 0.583984c-0.776367 0 -4.95898 3.96289 -5.96191 5.64941
c-0.243164 0.408203 -0.867188 0.979492 -1.38672 1.27051c-0.806641 0.451172 -0.619141 0.530273 1.28418 0.541992c1.74414 0.0107422 2.1709 0.161133 1.9668 0.688477c-0.219727 0.566406 0.0283203 0.594727 1.5498 0.176758
c1.31152 -0.361328 3.05078 -0.342773 6.3125 0.0664062c4.18848 0.525391 4.69629 0.496094 7.30273 -0.410156c1.54102 -0.536133 3.1582 -0.973633 3.59375 -0.973633s0.905273 -0.292969 1.04395 -0.650391
c0.214844 -0.553711 -0.107422 -0.554688 -2.19238 -0.00488281c-1.34473 0.354492 -3.08203 0.661133 -3.86133 0.682617c-1.15527 0.03125 -1.24707 0.103516 -0.49707 0.394531c1.81738 0.703125 -0.78418 0.884766 -3.29883 0.229492
c-1.28809 -0.335938 -4.28223 -0.619141 -6.65332 -0.630859l-4.31055 -0.0205078l0.737305 -1.61035c0.40625 -0.885742 0.880859 -1.52246 1.05469 -1.41602s0.81543 -0.332031 1.42578 -0.973633c0.609375 -0.642578 1.38379 -1.0625 1.7207 -0.93457
s0.613281 0.0283203 0.613281 -0.220703c0 -0.762695 0.93457 -0.506836 2.52148 0.69043c1.35547 1.02344 1.72656 1.09473 3.56445 0.686523c2.08105 -0.462891 3.83105 -0.230469 3.83105 0.509766c0 0.223633 0.427734 0.375 0.950195 0.335938
s0.873047 -0.289062 0.779297 -0.554688c-0.09375 -0.266602 0.488281 -0.722656 1.29297 -1.0127c0.804688 -0.291016 1.41016 -0.763672 1.3457 -1.05176c-0.0654297 -0.287109 0.0742188 -0.522461 0.30957 -0.522461s0.316406 -0.420898 0.180664 -0.93457
c-0.135742 -0.514648 -0.43457 -0.93457 -0.664062 -0.93457s-0.416992 -0.445312 -0.416992 -0.989258c0 -0.750977 0.22168 -0.931641 0.921875 -0.750977c0.506836 0.131836 0.996094 0.0185547 1.08691 -0.25c0.0976562 -0.291992 0.713867 -0.133789 1.52148 0.389648
c0.986328 0.639648 1.40918 0.72168 1.55078 0.302734c0.106445 -0.317383 0.342773 -0.486328 0.525391 -0.375c0.181641 0.111328 0.330078 -0.1875 0.330078 -0.664062c0 -0.475586 -0.317383 -0.671875 -0.317383 -0.671875
c-0.174805 0.107422 -0.597656 -0.138672 -0.939453 -0.546875c-0.521484 -0.62207 -0.492188 -0.811523 0.182617 -1.18555c1.20215 -0.665039 0.977539 -1.18262 -0.652344 -1.50488c-0.866211 -0.171875 -1.37793 -0.524414 -1.2627 -0.868164
c0.234375 -0.694336 -1.46094 -1.63477 -3.55762 -1.97461c-1.26465 -0.206055 -1.68945 -0.0234375 -2.57715 1.10742zM54.8906 42.7256c-0.15625 0.578125 -0.288086 2.90137 -0.291016 5.16309c-0.00683594 4.27637 0.78418 6.86914 2.09668 6.86914
c0.364258 0 1.42773 0.712891 2.3623 1.58594c0.93457 0.87207 2.38379 1.69824 3.2207 1.83496c0.836914 0.137695 2.10645 0.394531 2.82031 0.571289c0.835938 0.207031 1.29883 0.135742 1.29883 -0.200195c0 -0.286133 -0.37207 -0.523438 -0.826172 -0.526367
c-1.77051 -0.00976562 -6.11328 -2.48828 -8.19434 -4.67676l-2.17285 -2.28613l0.141602 -4.69336c0.078125 -2.58105 0.0712891 -4.69336 -0.0146484 -4.69336s-0.285156 0.473633 -0.441406 1.05176zM65.9268 45.4121c0 1.57812 -1.10645 1.93457 -1.80859 0.583984
c-0.581055 -1.11719 -0.186523 -1.98535 0.90332 -1.98535c0.69043 0 0.905273 0.332031 0.905273 1.40137zM65.0527 40.9736c0 0.244141 -0.228516 0.518555 -0.507812 0.611328c-0.279297 0.0917969 -0.507812 -0.183594 -0.507812 -0.611328
c0 -0.428711 0.228516 -0.704102 0.507812 -0.611328c0.279297 0.0917969 0.507812 0.367188 0.507812 0.611328zM63.0332 39.1768c-0.833984 0.994141 -0.77832 4.66113 0.0976562 6.46875c0.741211 1.53027 2.33008 2.05273 3.17676 1.04395
c0.293945 -0.350586 0.668945 -1.78027 0.833008 -3.17676c0.254883 -2.1709 0.149414 -2.72559 -0.728516 -3.82422c-1.16406 -1.45703 -2.42676 -1.64844 -3.37891 -0.511719zM56.9541 32.8232c0 0.272461 0.212891 0.365234 0.472656 0.206055
c0.259766 -0.158203 0.47168 -0.380859 0.47168 -0.494141s-0.211914 -0.206055 -0.47168 -0.206055s-0.472656 0.222656 -0.472656 0.494141zM90.8779 29.2891c-0.375977 0.37207 0.144531 3.04004 0.592773 3.04004c0.544922 0 1.07227 -2.15039 0.680664 -2.77734
c-0.328125 -0.526367 -0.889648 -0.641602 -1.27344 -0.262695zM83.3984 29.3809c0 1.61719 0.0439453 1.66797 0.693359 0.817383c0.905273 -1.18262 0.913086 -2.54199 0.015625 -2.54199c-0.501953 0 -0.708984 0.50293 -0.708984 1.72461zM68.6826 24.1504
c-0.114258 0.113281 -0.873047 0.255859 -1.68555 0.317383s-1.25879 0.460938 -1.25879 0.460938c0.120117 0.193359 0.56543 0.21875 0.989258 0.0576172c0.542969 -0.206055 0.661133 -0.117188 0.399414 0.300781
c-0.239258 0.383789 -0.881836 0.493164 -1.81348 0.308594c-0.793945 -0.157227 -1.13574 0.0185547 -1.13574 0.0185547c0.168945 0.166992 -0.589844 0.874023 -1.6875 1.56934c-1.09668 0.696289 -2.33594 1.66504 -2.75391 2.1543
c-0.901367 1.05371 -1.84473 3.66797 -1.82129 5.04688c0.015625 0.914062 0.0634766 0.901367 0.691406 -0.186523c0.37207 -0.642578 0.6875 -1.48438 0.703125 -1.86914c0.0400391 -1.02246 2.84473 -3.94336 4.69336 -4.88965
c1.41797 -0.724609 1.91406 -0.75 4.47461 -0.22168c1.58398 0.326172 3.0498 0.874023 3.25684 1.2168c0.208008 0.342773 0.667969 0.623047 1.02148 0.623047c0.354492 0 1.30078 0.882812 2.10156 1.96094c1.41016 1.89648 1.45801 2.12305 1.45801 6.85352
c0 2.69043 0.181641 4.69727 0.181641 4.69727c0.427734 -0.458008 0.640625 -11.6621 0.226562 -11.915c-0.246094 -0.150391 -0.318359 -0.728516 -0.160156 -1.28516c0.224609 -0.796875 0.181641 -0.863281 -0.205078 -0.311523
c-0.396484 0.566406 -0.642578 0.319336 -1.2832 -1.28516c-0.435547 -1.0918 -1.07812 -1.98535 -1.42871 -1.98535s-0.636719 -0.1875 -0.636719 -0.416992c0 -0.55957 -3.88672 -1.65527 -4.32715 -1.21973zM68.0518 23.4512
c-0.161133 0.256836 -0.0673828 0.466797 0.208008 0.466797s0.5 -0.209961 0.5 -0.466797s-0.09375 -0.467773 -0.208008 -0.467773c-0.115234 0 -0.339844 0.210938 -0.5 0.467773zM94.5498 16.9951c0.135742 0.217773 0.445312 0.275391 0.6875 0.12793
c0.617188 -0.37793 0.547852 -0.525391 -0.248047 -0.525391c-0.37793 0 -0.576172 0.178711 -0.439453 0.397461zM94.4961 21.1143l0.732422 1.40234h-1.58594c-2.13086 0 -2.42383 -0.421875 -1.19336 -1.71777c0.567383 -0.597656 1.09473 -1.08594 1.17285 -1.08594
s0.470703 0.630859 0.874023 1.40137zM87.9375 19.4941c0.988281 1.49121 0.75293 1.7168 -1.21387 1.1582c-0.863281 -0.245117 -1.80566 -0.313477 -2.09375 -0.151367c-0.287109 0.161133 0.00878906 -0.243164 0.658203 -0.898438
c1.51074 -1.52637 1.70605 -1.53516 2.64941 -0.108398zM73.4639 19.2207c0.364258 0.5 0.835938 0.802734 1.04883 0.672852c0.211914 -0.129883 0.385742 -0.0136719 0.385742 0.258789s-0.796875 0.498047 -1.77051 0.500977
c-0.973633 0.00390625 -2.30176 0.113281 -2.95117 0.243164c-1.0293 0.207031 -1.05957 0.180664 -0.236328 -0.207031c0.519531 -0.244141 0.538086 -0.476562 0.538086 -0.476562c-0.40625 -0.0322266 1.59863 -1.85645 2.07324 -1.88672
c0.136719 -0.00878906 0.547852 0.394531 0.912109 0.894531zM79.8535 18.8623c0.651367 0.560547 1.18457 1.19043 1.18457 1.39941c0 0.209961 -1.16895 0.354492 -2.59766 0.322266c-1.42871 -0.0332031 -2.59766 -0.128906 -2.59766 -0.212891
c0 -0.172852 2.52246 -2.52734 2.70703 -2.52734c0.0654297 0 0.652344 0.458008 1.30371 1.01855zM82.8076 17.9619c1.19141 0.495117 1.34668 0.746094 1.01465 1.63477c-0.216797 0.578125 -0.498047 1.05078 -0.625 1.05078
c-0.511719 0 -2.56543 -2.53223 -2.34277 -2.88867c0.304688 -0.488281 0.288086 -0.490234 1.95312 0.203125zM76.7705 16.9004c-0.658203 0.720703 -1.10938 1.57227 -1.00098 1.89258c0.230469 0.68457 -0.632812 0.266602 -2.05957 -0.998047
c-0.523438 -0.463867 -1.41797 -0.80957 -1.98633 -0.766602c-0.569336 0.0419922 -0.858398 0.250977 -0.858398 0.250977c0.0976562 0.0966797 -0.176758 0.546875 -0.610352 1c-1.38086 1.44922 -2.36719 2.75098 -2.2041 2.91211
c0.0869141 0.0869141 -0.547852 0.157227 -1.41016 0.157227s-1.34961 -0.350586 -1.34961 -0.350586c0.357422 -0.573242 -0.310547 -0.40332 -1.77051 0.451172c-1.29688 0.756836 -1.91992 2.46875 -0.899414 2.46875c0.259766 0 0.47168 -0.232422 0.47168 -0.517578
c0 -0.28418 0.330078 -0.391602 0.733398 -0.238281s1.28125 -0.0771484 1.95117 -0.511719c1.20117 -0.77832 1.21289 -0.774414 0.866211 0.306641l-0.351562 1.0957l1.04102 -0.958984c1.19727 -1.10449 2.99414 -1.36035 12.5244 -1.78711
c6.42871 -0.287109 6.68457 -0.261719 9.28223 0.918945c1.46973 0.666992 4.3916 1.75098 6.49316 2.4082c2.10254 0.65625 3.82129 1.38086 3.82129 1.60938s0.425781 0.548828 0.944336 0.711914c0.519531 0.163086 0.945312 0.610352 0.945312 0.994141
c0 0.382812 0.205078 0.571289 0.456055 0.416992c0.251953 -0.15332 0.727539 0.149414 1.05859 0.673828c0.698242 1.10645 1.31836 1.24219 1.31836 0.288086c0 -0.887695 -4.26367 -4.46875 -5.32422 -4.47266
c-0.479492 -0.00195312 -1.04688 -0.552734 -1.32715 -1.28809c-0.268555 -0.706055 -1.25 -2.06055 -2.18164 -3.00879l-1.69238 -1.72461l-1.56445 1.18066c-1.64551 1.24121 -2.22266 1.17578 -3.04688 -0.349609
c-0.454102 -0.838867 -0.415039 -0.875 0.407227 -0.367188c0.547852 0.338867 1.2627 0.411133 1.79883 0.182617c0.819336 -0.349609 0.824219 -0.394531 0.0625 -0.575195c-0.454102 -0.107422 -0.826172 -0.530273 -0.826172 -0.94043
c0 -0.40918 -0.292969 -0.455078 -0.292969 -0.455078c-0.160156 0.15918 -0.607422 -0.0234375 -0.994141 -0.405273c-0.444336 -0.439453 -1.07324 -0.576172 -1.71387 -0.37207c-1.61621 0.514648 -3.13867 0.166992 -3.13867 0.166992
c0 -0.380859 -1.65918 -0.234375 -3.46289 0.305664c-0.510742 0.15332 -1.28711 -0.125 -1.88965 -0.676758l-1.02246 -0.936523zM67.3428 15.0674c0 0.272461 0.212891 0.365234 0.472656 0.206055c0.259766 -0.158203 0.47168 -0.380859 0.47168 -0.494141
c0 -0.114258 -0.211914 -0.206055 -0.47168 -0.206055s-0.472656 0.222656 -0.472656 0.494141zM92.6855 13.9502c-0.599609 0.592773 -0.311523 1.05957 0.47168 0.761719c0.52832 -0.200195 0.444336 0.249023 0.444336 0.249023
c-0.188477 0.300781 -0.152344 0.546875 0.0791016 0.546875c0.826172 0 0.996094 -0.588867 0.354492 -1.22461c-0.739258 -0.730469 -0.90625 -0.772461 -1.34961 -0.333008zM73.4824 12.0029c0 0.385742 0.211914 0.701172 0.47168 0.701172
s0.472656 -0.31543 0.472656 -0.701172s-0.212891 -0.701172 -0.472656 -0.701172s-0.47168 0.31543 -0.47168 0.701172zM74.6143 93.9297c0.133789 0.214844 -0.0576172 0.389648 -0.423828 0.389648c-0.367188 0 -0.557617 -0.174805 -0.423828 -0.389648
c0.133789 -0.213867 0.324219 -0.388672 0.423828 -0.388672s0.290039 0.174805 0.423828 0.388672zM65.2568 81.3008c0.951172 -0.0361328 1.82812 -0.370117 2.06445 -0.788086c0.333008 -0.589844 0.616211 -0.625 1.51465 -0.189453
c0.607422 0.294922 1.90137 0.777344 2.875 1.07227c1.94336 0.587891 2.20801 1.09961 0.944336 1.82812c-0.741211 0.426758 -0.71875 0.477539 0.214844 0.490234c0.572266 0.00683594 1.56152 -0.458984 2.19824 -1.03711
c2.41797 -2.19727 2.41309 -2.19531 4.60156 -1.44922c1.43945 0.490234 2.10547 0.543945 2.22754 0.180664c0.105469 -0.310547 1.57031 0.238281 3.64941 1.36816c1.91113 1.03711 3.90918 1.88574 4.44043 1.88574c0.532227 0 0.966797 0.292969 0.966797 0.651367
s0.319336 0.771484 0.708984 0.919922c0.415039 0.157227 0.708008 0.00683594 0.708008 -0.366211c0 -0.737305 2.94434 -1.20801 4.69531 -0.751953c1.13672 0.296875 2.36621 2.81836 1.375 2.81836c-0.25293 0 -0.327148 0.211914 -0.165039 0.470703
c0.161133 0.258789 -0.0439453 0.598633 -0.457031 0.754883c-0.580078 0.220703 -0.626953 0.431641 -0.208008 0.931641c0.423828 0.504883 0.375 0.646484 -0.223633 0.646484c-0.421875 0 -0.791016 -0.368164 -0.821289 -0.818359
c-0.0517578 -0.775391 -0.0664062 -0.775391 -0.271484 0.00390625c-0.194336 0.737305 -0.753906 0.798828 -5.49414 0.611328c-4.66992 -0.185547 -5.35156 -0.320312 -5.9248 -1.1709c-0.422852 -0.62793 -1.16016 -0.962891 -2.125 -0.963867
c-0.8125 -0.000976562 -2.74902 -0.62793 -4.30273 -1.39355c-1.79199 -0.882812 -3.46875 -1.36816 -4.58203 -1.32422c-0.96582 0.0371094 -2.08496 -0.202148 -2.48633 -0.532227c-0.402344 -0.330078 -0.731445 -0.332031 -0.731445 -0.332031
c0 0.147461 -0.557617 -0.243164 -1.24023 -0.868164c-0.681641 -0.625977 -1.44824 -1.00977 -1.70312 -0.854492c-0.282227 0.172852 -0.235352 0.422852 0.120117 0.640625c0.863281 0.527344 0.105469 1.39551 -1.21875 1.39551
c-0.633789 0 -1.15234 0.222656 -1.15234 0.494141c0 0.272461 -0.231445 0.353516 -0.513672 0.181641c-0.369141 -0.226562 -0.369141 -0.456055 0 -0.822266c0.65332 -0.646484 0.660156 -1.25586 0.0136719 -1.25586c-0.275391 0 -0.382812 0.188477 -0.239258 0.418945
c0.143555 0.229492 -0.0673828 0.542969 -0.46875 0.695312c-0.417969 0.158203 -0.441406 -0.18457 -0.441406 -0.18457c0.158203 -0.253906 -0.0556641 -0.461914 -0.475586 -0.461914s-0.641602 -0.196289 -0.492188 -0.435547s0.0556641 -0.566406 -0.208984 -0.728516
c-0.263672 -0.161133 -0.479492 -0.926758 -0.479492 -1.70117c0 -1.2666 0.0722656 -1.33496 0.726562 -0.6875c0.411133 0.40625 1.44727 0.692383 2.38184 0.657227zM51.3154 79.9297c1.12012 0.386719 1.38867 0.348633 1.38867 -0.197266
c0 -0.777344 0.746094 -0.905273 1.18457 -0.203125c0.365234 0.584961 3.4834 1.90625 4.19727 1.7793c0.286133 -0.0517578 1.22656 0.0712891 2.08887 0.272461c1.45215 0.339844 1.5127 0.425781 0.825195 1.17773
c-0.408203 0.446289 -0.600586 0.952148 -0.426758 1.12402c0 0 -0.756836 0.360352 -1.81836 -0.201172c-0.727539 -0.385742 -0.630859 0.0292969 -0.630859 0.0292969c0.460938 0.737305 -2.90918 0.151367 -4.37891 -0.760742
c-1.09375 -0.678711 -2.92969 -0.464844 -2.92969 0.341797c0 0.240234 -0.283203 0.436523 -0.628906 0.436523c-0.888672 0 -1.72949 -3.86719 -1.08301 -4.98145c0.447266 -0.771484 0.515625 -0.779297 0.660156 -0.078125
c0.0898438 0.429688 0.787109 0.99707 1.55176 1.26074zM56.3066 70.083c-0.746094 0.0917969 -1.54297 -0.0175781 -1.77051 -0.242188c-0.238281 -0.235352 0.34082 -0.306641 1.35547 -0.167969c1.62988 0.223633 1.66309 0.255859 0.415039 0.410156zM103.232 65.5049
c0 0.256836 -0.225586 0.466797 -0.5 0.466797c-0.275391 0 -0.369141 -0.209961 -0.208984 -0.466797c0.161133 -0.256836 0.385742 -0.467773 0.500977 -0.467773c0.114258 0 0.208008 0.210938 0.208008 0.467773zM107.954 61.8213
c0 0.257812 -0.211914 0.337891 -0.47168 0.178711c-0.259766 -0.158203 -0.472656 -0.499023 -0.472656 -0.755859s0.212891 -0.336914 0.472656 -0.178711c0.259766 0.15918 0.47168 0.499023 0.47168 0.755859zM42.8457 45.5371
c-0.46582 0.458008 -0.520508 0.404297 -0.263672 -0.261719c0.176758 -0.460938 0.441406 -0.719727 0.585938 -0.576172c0.145508 0.143555 0.000976562 0.520508 -0.322266 0.837891zM50.6436 29.8994c0 0.957031 -0.244141 1.32715 -0.90918 1.37695
c-0.870117 0.0644531 -0.873047 0.0292969 -0.0761719 -0.841797c0.457031 -0.5 0.494141 -0.90918 0.494141 -0.90918c-0.185547 0 -0.206055 -0.209961 -0.0458984 -0.467773c0.448242 -0.716797 0.537109 -0.577148 0.537109 0.841797zM52.29 23.1084
c-0.46582 0.458008 -0.520508 0.404297 -0.263672 -0.261719c0.176758 -0.460938 0.441406 -0.719727 0.586914 -0.576172c0.144531 0.143555 0 0.520508 -0.323242 0.837891zM69.1045 12.9863c-0.157227 0.155273 -0.564453 0.171875 -0.905273 0.0371094
c-0.376953 -0.149414 -0.264648 -0.260742 0.285156 -0.283203c0.498047 -0.0195312 0.620117 0.246094 0.620117 0.246094zM77.2598 11.3018c0 0.256836 -0.224609 0.467773 -0.5 0.467773s-0.369141 -0.210938 -0.208008 -0.467773
c0.160156 -0.256836 0.385742 -0.466797 0.5 -0.466797s0.208008 0.209961 0.208008 0.466797zM42.6973 -5.56152c-0.426758 0.493164 -0.701172 0.972656 -0.608398 1.06445s0.266602 0.6875 0.386719 1.32422s0.665039 2.26953 1.20996 3.62793
c0.544922 1.35938 0.990234 3.18555 0.990234 4.05859s0.210938 2.13477 0.467773 2.80273c0.364258 0.950195 0.313477 1.27344 -0.236328 1.48242c-0.386719 0.146484 -0.703125 0.572266 -0.703125 0.945312s0.1875 0.563477 0.417969 0.422852
c0.397461 -0.243164 0.955078 3.6123 1.17773 8.1543c0.128906 2.62012 0.427734 3.1084 2.39746 3.92285c1.52539 0.630859 1.56152 0.709961 1.33789 2.91309c-0.155273 1.5332 -0.557617 2.5498 -1.24609 3.14453
c-0.558594 0.484375 -0.957031 1.07812 -0.885742 1.32031s-0.0625 0.322266 -0.297852 0.178711c-0.235352 -0.144531 -1.22656 0.366211 -2.20215 1.13281c-0.975586 0.767578 -1.90332 1.39551 -2.0625 1.39648c-0.15918 0 -0.359375 1.41113 -0.443359 3.13477
c-0.0849609 1.72363 -0.375 3.54004 -0.643555 4.03809c-0.347656 0.642578 -0.316406 1.42188 0.106445 2.69043c0.480469 1.44238 0.479492 1.9248 -0.00488281 2.50293c-0.467773 0.557617 -0.475586 0.865234 -0.0361328 1.38965
c0.953125 1.13574 1.85254 0.293945 2.13574 -2c0.147461 -1.19824 0.473633 -2.79785 0.725586 -3.55566c0.250977 -0.757812 0.277344 -1.49414 0.0585938 -1.63574s-0.125977 -0.993164 0.206055 -1.89258s0.639648 -1.06641 0.639648 -1.06641
c0.0195312 0.313477 0.354492 0.448242 0.744141 0.300781c0.794922 -0.302734 0.958008 -1.83008 0.241211 -2.26855c-0.277344 -0.169922 -0.34082 0.0400391 -0.155273 0.516602c0.200195 0.516602 -0.204102 0.487305 -0.204102 0.487305
c-0.283203 -0.173828 -0.850586 0.0175781 -1.26074 0.423828c-1.0791 1.06836 -0.917969 0.455078 0.44043 -1.67383c1.17676 -1.8457 1.48145 -1.17383 1.48145 -1.17383c-0.146484 0.376953 -0.0615234 0.810547 0.189453 0.963867
c0.25 0.15332 0.582031 -0.0507812 0.738281 -0.452148c0.163086 -0.420898 0.84082 -0.730469 1.59863 -0.730469c1.29297 0 1.88867 -0.696289 1.88867 -2.20605c0 -0.400391 0.334961 -0.970703 0.743164 -1.2666
c0.603516 -0.436523 0.642578 -0.755859 0.208984 -1.69824c-0.601562 -1.30762 0.212891 -3.47363 1.30664 -3.47363c0.582031 0 1.41016 -1.15332 2.43164 -3.3877c0.264648 -0.578125 0.751953 -1.05469 1.08301 -1.05859
c0.423828 -0.00488281 0.392578 -0.15625 -0.106445 -0.511719c-0.612305 -0.43457 -0.603516 -0.470703 0.0625 -0.261719c0.958984 0.300781 4.51367 -0.87793 5.4541 -1.80762c0.383789 -0.379883 0.871094 -0.584961 1.08301 -0.456055
c0.211914 0.129883 0.506836 -0.0791016 0.655273 -0.462891c0.318359 -0.820312 -0.298828 -0.892578 -1.7373 -0.205078c-1.00293 0.479492 -1.00586 0.472656 -0.103516 -0.241211c0.509766 -0.404297 1.58008 -0.691406 2.37891 -0.638672
c1.54492 0.103516 2.75391 -0.383789 2.39258 -0.962891c-0.120117 -0.192383 0.407227 -0.259766 1.17285 -0.148438s1.3916 -0.00878906 1.3916 -0.265625c0 -0.257812 0.723633 -0.602539 1.60742 -0.766602s1.72754 -0.608398 1.87402 -0.987305
c0.341797 -0.881836 2.00391 -0.894531 2.34375 -0.0175781c0.15332 0.394531 0.854492 0.654297 1.7041 0.629883c1.57422 -0.0439453 1.75488 -0.313477 0.852539 -1.27539c-0.482422 -0.514648 -0.432617 -0.574219 0.275391 -0.327148
c0.475586 0.166016 1.05273 0.302734 1.2832 0.302734s0.279297 0.367188 0.109375 0.817383c-0.264648 0.697266 -0.199219 0.729492 0.439453 0.21582c0.783203 -0.629883 3.48535 -0.560547 4.59375 0.118164c0.46582 0.28418 0.538086 0.22168 0.259766 -0.224609
c-0.28418 -0.455078 -0.167969 -0.536133 0.4375 -0.305664c0.454102 0.171875 0.926758 0.313477 1.0498 0.313477c0.124023 0 0.101562 0.199219 -0.0517578 0.443359c-0.370117 0.592773 2.73047 1.13965 4.48828 0.791016
c0.770508 -0.152344 1.40039 -0.078125 1.40039 0.164062s0.290039 0.331055 0.645508 0.196289s1.35352 0.449219 2.21777 1.29883c0.865234 0.849609 1.21875 0.966797 1.21875 0.966797c-0.240234 -0.393555 -0.119141 -0.490234 0.376953 -0.301758
c0.401367 0.152344 0.589844 0.500977 0.418945 0.774414c-0.200195 0.320312 -0.00585938 0.382812 0.542969 0.173828c0.979492 -0.37207 2.75586 0.951172 2.28613 1.70215c-0.163086 0.261719 -0.0927734 0.351562 0.157227 0.198242
c0.506836 -0.30957 2.99707 2.09668 2.99707 2.89551c0 0.280273 0.235352 0.509766 0.522461 0.509766c0.300781 0 0.390625 0.341797 0.210938 0.803711c-0.170898 0.441406 0.0449219 0.450195 0.0449219 0.450195c0.582031 -0.575195 2.01562 3.65527 1.80273 5.32031
c-0.108398 0.84375 0.0371094 1.81348 0.321289 2.15332c0.385742 0.458984 0.359375 0.617188 -0.101562 0.617188c-0.464844 0 -0.442383 0.147461 0.0898438 0.583984c0.889648 0.732422 1.73047 2.68359 1.5791 3.66504
c-0.0634766 0.410156 -0.671875 1.61816 -1.35352 2.68555l-1.23828 1.94141l-1.39844 -1.23242c-0.768555 -0.677734 -1.28516 -1.41309 -1.14746 -1.63477c0.138672 -0.220703 0.0791016 -0.416992 -0.130859 -0.436523
c-0.209961 -0.0205078 -0.753906 -0.125 -1.20801 -0.234375c-0.455078 -0.108398 -1.19824 -0.287109 -1.65332 -0.395508c-0.454102 -0.108398 -1.10449 -0.213867 -1.44434 -0.233398s-0.486328 -0.24707 -0.325195 -0.504883s0.8125 -0.339844 1.44824 -0.181641
c1.05371 0.261719 1.11914 0.189453 0.739258 -0.816406c-0.298828 -0.791016 -0.714844 -1.05957 -1.47168 -0.948242c-0.674805 0.0986328 -0.735352 -0.358398 -0.735352 -0.358398c0.175781 -0.282227 -0.467773 0.015625 -1.43164 0.663086
c-0.962891 0.646484 -2.04004 1.17578 -2.39355 1.17578s-0.642578 0.222656 -0.642578 0.495117s-0.212891 0.365234 -0.472656 0.206055s-0.47168 -0.0273438 -0.47168 0.292969c0 0.319336 -0.413086 1.01562 -0.916992 1.54688
c-0.504883 0.53125 -1.04492 1.68359 -1.20117 2.56152c-0.15625 0.876953 -0.381836 1.75 -0.5 1.94043c-0.119141 0.19043 0.226562 0.231445 0.768555 0.0917969c0.749023 -0.194336 0.833984 -0.349609 0.354492 -0.650391
c-0.482422 -0.302734 -0.436523 -0.397461 0.196289 -0.402344c0.553711 -0.00585938 0.826172 -0.375 0.826172 -1.11914c0 -0.793945 0.404297 -1.27637 1.41699 -1.69141c0.779297 -0.319336 1.41699 -0.765625 1.41699 -0.991211
c0 -0.226562 1.24902 -0.411133 2.77734 -0.411133c2.50586 0 2.92578 0.148438 4.2998 1.51855c0.837891 0.834961 1.83398 1.97852 2.21484 2.54004c1.16211 1.71289 1.32617 7.41309 0.364258 12.6396c-0.802734 4.36133 -0.994141 4.81445 -2.91992 6.88965
c-2.24512 2.41895 -4.40527 3.24121 -6.76172 2.57227c-1.58301 -0.449219 -3.71582 -2.64551 -3.73828 -3.84766c-0.0078125 -0.450195 -0.18457 -0.818359 -0.392578 -0.818359c-0.207031 0 -0.37793 -0.774414 -0.37793 -1.7207
c0 -0.947266 -0.255859 -1.80566 -0.569336 -1.90918s-0.475586 -0.337891 -0.361328 -0.520508c0.114258 -0.183594 0.0136719 -0.638672 -0.222656 -1.01172c-0.266602 -0.419922 -0.317383 0.836914 -0.132812 3.29297
c0.163086 2.18457 0.477539 4.04199 0.697266 4.12793c0.220703 0.0859375 0.400391 0.427734 0.400391 0.760742c0 0.834961 1.20898 1.74805 3.24219 2.44922c3.67578 1.26758 7.1084 0.361328 9.09375 -2.40039c1.13086 -1.57129 1.24902 -1.62402 1.92676 -0.852539
c1.17676 1.33984 1.40625 3.11426 0.477539 3.6875c-0.445312 0.275391 -0.936523 0.479492 -1.09082 0.453125c-0.632812 -0.107422 -1.84766 1.2959 -1.73145 2c0.0761719 0.463867 -0.149414 0.695312 -0.583984 0.599609
c-0.389648 -0.0859375 -0.358398 0.19043 -0.358398 0.19043c0.516602 0.511719 -0.564453 1.60059 -1.58887 1.60059c-0.487305 0 -0.886719 0.201172 -0.886719 0.446289c0 0.246094 -1.19434 0.394531 -2.65527 0.331055
c-2.22168 -0.0966797 -2.83398 -0.321289 -3.75488 -1.38086c-1.32227 -1.52051 -1.89258 -1.59277 -2.23926 -0.28418c-0.142578 0.539062 0.0322266 0.692383 0.0322266 0.692383c0.15918 -0.158203 0.573242 0.378906 0.918945 1.19336
c0.34668 0.813477 0.519531 1.58789 0.385742 1.7207s-0.243164 0.0302734 -0.243164 -0.227539s-0.890625 -0.50293 -1.97949 -0.545898c-1.08789 -0.0419922 -2.12891 -0.317383 -2.31348 -0.611328c-0.183594 -0.294922 -0.685547 -0.402344 -1.11426 -0.239258
c-0.429688 0.163086 -0.523438 -0.115234 -0.523438 -0.115234c0.306641 -0.491211 0.460938 -0.481445 -10.5967 -0.677734c-7.78516 -0.138672 -8.72168 -0.239258 -8.59961 -0.921875c0.112305 -0.629883 -0.138672 -0.711914 -1.41699 -0.460938
c-1.46191 0.286133 -1.51172 0.253906 -0.844727 -0.551758c0.667969 -0.807617 0.643555 -0.822266 -0.4375 -0.251953l-1.14648 0.604492l1.26465 0.655273c1.37988 0.71582 0.4375 0.724609 0.4375 0.724609c-0.455078 -0.220703 -1.46387 -0.25293 -2.24316 -0.0722656
c-0.779297 0.181641 -0.798828 0.384766 -0.798828 0.384766c0.339844 0.0302734 0.486328 0.265625 0.326172 0.522461c-0.37793 0.606445 -2.45508 0.606445 -2.83301 0c-0.161133 -0.256836 -0.87207 -0.466797 -1.58105 -0.466797
c-3.2832 0 -8.05176 -2.64844 -8.08887 -4.49316c-0.00585938 -0.286133 -0.428711 -1.04688 -0.94043 -1.68945c-0.510742 -0.642578 -0.793945 -1.30176 -0.628906 -1.46484c0.164062 -0.163086 0.0146484 -0.295898 -0.333008 -0.295898
s-0.966797 -0.287109 -1.37695 -0.638672c-0.410156 -0.350586 -1.31641 -0.772461 -2.01465 -0.935547c-1.06445 -0.25 -1.61328 0.0371094 -3.39648 1.77637c-1.16992 1.14062 -2.43848 2.67188 -2.82031 3.40234c-0.918945 1.75879 -1.74316 6.6748 -1.74316 6.6748
c0.199219 0 0.509766 1.6123 0.69043 3.58301c0.384766 4.20312 1.10938 6.13281 3.08203 8.21484c0.791016 0.835938 1.43945 1.67578 1.44043 1.86719c0.00292969 0.488281 3.48828 1.97949 6.84961 2.92969l2.83301 0.800781v2.63379
c0 3.38086 0.368164 4.26953 1.63184 3.94238c0.688477 -0.177734 1.13965 -0.875977 1.51172 -2.33984c0.291992 -1.14746 0.819336 -2.19629 1.17285 -2.33008s0.648438 -0.484375 0.655273 -0.777344c0.00683594 -0.293945 0.960938 -1.00781 2.12012 -1.58594
c2.4707 -1.2334 2.11719 -0.350586 2.11719 -0.350586c-0.734375 0.875 -0.536133 0.875 1.58008 0c0.931641 -0.385742 1.90723 -0.701172 2.16602 -0.701172c0.259766 0 1.5293 0.928711 2.82031 2.06445c2.55176 2.24219 7.70898 5.41211 8.80566 5.41211
c0.375977 0 0.683594 -0.205078 0.683594 -0.455078c0 -0.296875 0.423828 -0.296875 1.21094 0c1.49707 0.5625 9.02832 0.604492 9.37402 0.0517578c0.137695 -0.22168 2.75391 -0.543945 5.8125 -0.716797s6.72949 -0.537109 8.1582 -0.80957
c6.45508 -1.22949 8.3584 -7.07422 4.62207 -14.1904c-1.31738 -2.50879 -2.56152 -3.84473 -5.06934 -5.43945c-1.25098 -0.796875 -1.27051 -1.33594 -1.27051 -1.33594c0.456055 0 0.710938 -0.188477 0.567383 -0.418945
c-0.143555 -0.229492 0.0800781 -0.547852 0.49707 -0.706055c0.609375 -0.231445 0.701172 -0.0625 0.467773 0.857422c-0.160156 0.628906 -0.0771484 1.27441 0.183594 1.43457c0.260742 0.15918 0.473633 0.0136719 0.474609 -0.322266
c0 -0.655273 2.67188 -6.45215 2.97363 -6.45215c0.0986328 0 1.33008 0.626953 2.73535 1.39355c1.4043 0.765625 2.83496 1.39648 3.17871 1.40137c0.342773 0.00488281 0.942383 0.324219 1.33203 0.708984c0.389648 0.385742 1.10547 0.701172 1.59082 0.701172
c0.486328 0 1.01465 0.209961 1.1748 0.467773c0.368164 0.588867 1.18066 0.610352 1.18066 0.03125c0 -0.240234 -0.478516 -0.580078 -1.0625 -0.756836c-1.4209 -0.428711 -5.87598 -2.49805 -7.83008 -3.63574l-1.57324 -0.916016l1.21875 -1.11914
c0.670898 -0.614258 1.21973 -1.32129 1.21973 -1.57031c0 -0.25293 0.402344 -0.204102 0.913086 0.112305c0.501953 0.30957 0.874023 0.762695 0.826172 1.00586c-0.0478516 0.242188 0.625977 0.632812 1.49707 0.867188
c1.82324 0.490234 3.41797 1.87012 4.48242 3.87793c0.649414 1.22559 0.745117 1.27441 0.761719 0.386719c0.0273438 -1.4248 -2.04102 -3.69141 -4.24316 -4.65332c-1.02246 -0.446289 -1.63574 -1.0332 -1.63574 -1.0332
c0.123047 -0.121094 0.0341797 -0.450195 -0.196289 -0.731445c-0.230469 -0.280273 -0.549805 -1.66699 -0.708984 -3.08008s-0.477539 -3.30566 -0.708008 -4.20508c-0.416992 -1.625 -0.419922 -1.62109 -0.467773 0.662109
c-0.0273438 1.2627 -0.232422 2.10254 -0.232422 2.10254c-0.567383 -0.599609 -0.941406 -5.24609 -0.921875 -11.4375c0.0244141 -7.57031 0.130859 -7.97266 2.96289 -11.1416c0.859375 -0.961914 0.410156 -1.0752 0.410156 -1.0752
c-0.551758 0.194336 -0.725586 0.0830078 -0.556641 -0.352539c0.135742 -0.349609 -0.0957031 -1.29004 -0.514648 -2.09082c-0.417969 -0.800781 -0.978516 -2.62598 -1.24609 -4.05566c-0.428711 -2.2959 -0.386719 -2.67285 0.358398 -3.21191
c0.495117 -0.358398 0.864258 -1.25781 0.893555 -2.17676c0.140625 -4.39062 0.136719 -4.37891 1.51367 -4.39746c0.713867 -0.0107422 2.31152 -0.0605469 3.54883 -0.112305l2.25098 -0.0947266l-0.125977 -12.2656l-0.125 -12.2656l-35.9004 -0.119141
c-34.9072 -0.117188 -35.9209 -0.0947266 -36.6768 0.77832z" />
<glyph glyph-name="uniE810" unicode="&#xe810;"
d="M56.7275 30.46c1.05469 0.572266 1.6416 1.77637 1.59863 3.27734c-0.0380859 1.30566 -0.50293 1.28027 -0.50293 1.28027c-0.697266 -1.75293 -2.87402 -1.25684 -2.87402 0.65625c0 1.07129 0.583008 1.75879 1.50684 1.77539
c1.36426 0.0253906 1.34863 0.150391 -0.165039 1.31152c-2.33105 1.78906 -3.68262 1.60938 -6.0625 -0.805664c-2.07812 -2.10938 -2.1582 -4.79004 -0.217773 -7.30762c1.02344 -1.32617 4.44434 -1.42188 6.7168 -0.1875zM53.2266 -5.58691
c0 0.381836 1.74414 5.09668 3.87598 10.4785c2.13086 5.38184 3.875 10.5654 3.875 11.5186s1.16309 4.96582 2.58398 8.91699c1.4209 3.95215 2.58398 7.50293 2.58398 7.8916c0 1.45801 -2.48926 0.638672 -2.99805 -0.987305
c-1.3584 -4.34375 -11.5615 -10.542 -17.3525 -10.542c-3.50977 0 -6.86719 2.93262 -7.66504 6.69824c-0.289062 1.36328 -0.917969 3.4541 -1.39844 4.64648c-0.84375 2.09473 -0.817383 2.11719 0.773438 0.65625c1.89648 -1.74219 6.28125 -2.00293 7.79785 -0.463867
c0.568359 0.576172 1.00293 2.05176 0.96582 3.27734s-0.50293 1.13574 -0.50293 1.13574c-0.679688 -1.70898 -3.0498 -1.32129 -2.6709 0.4375c0.181641 0.84082 0.827148 1.41895 1.43555 1.28418c0.608398 -0.135742 0.943359 0.257812 0.744141 0.874023
c-0.495117 1.5293 -5.63477 1.93262 -7.25391 0.569336c0 0 -0.125977 0.938477 1.32715 3.43848l2.63965 4.54492l-3.35254 2.25195c-3.89648 2.61621 -3.67578 2.68848 -13.5342 -4.39941c-3.51074 -2.52539 -8.25 -5.5332 -10.5322 -6.68652l-4.14844 -2.0957
l-0.561523 -7.8252c-0.308594 -4.30469 -0.864258 -8.13281 -1.23438 -8.50879c-0.662109 -0.671875 -0.449219 15.5391 0.25 18.9648c0.243164 1.19238 2.22754 2.58301 6.1875 4.33398c3.20703 1.41699 8.60645 4.46191 12 6.76465
c3.39355 2.30371 7.01465 4.18848 8.04785 4.18848c1.03223 0 3.69043 -1.0498 5.90625 -2.33203l4.0293 -2.33203l-3.01465 3.29297c-3.29395 3.59863 -11.2441 10.0498 -14.6152 11.8584c-1.16992 0.62793 -5.23926 1.66602 -9.04297 2.30664l-6.91602 1.16406
l7.20215 -0.404297c5.80273 -0.325195 7.97852 -0.862305 11.1963 -2.7627c2.19629 -1.29688 5.83398 -3.32227 8.08301 -4.5s5.3916 -3.60547 6.98438 -5.39453c2.43652 -2.7373 3.32324 -3.18848 5.59961 -2.84961c1.78418 0.266602 2.70508 0.896484 2.70508 1.85156
c0 3.02344 -3.55664 14.3008 -5.49121 17.4102c-1.11035 1.78418 -2.77051 4.81445 -3.68945 6.7334c-0.918945 1.91992 -2.42676 4.65527 -3.35059 6.0791l-1.67969 2.58887l2.87598 -2.15234c3.81543 -2.85547 8.46191 -11.4355 12.2881 -22.6914
c2.4209 -7.12207 3.5 -9.23535 4.81641 -9.4375c1.5625 -0.240234 1.80566 0.675781 3.06152 11.5361c1.15723 10.001 1.92676 13.2021 5.05273 21.0186c2.02734 5.07227 3.94629 9.22168 4.2627 9.22168c0.802734 0 1.66016 -5.78223 1.55566 -10.4883l-0.0869141 -3.93262
l-1.09863 4.80664c-0.604492 2.64453 -1.20312 3.49609 -1.20312 3.49609c-0.0576172 -0.720703 -1.12012 -3.47461 -2.36133 -6.11816c-1.82617 -3.89258 -2.47754 -7.2168 -3.4209 -17.4756l-1.16602 -12.6699l2.18457 -2.18945l2.18457 -2.18945l3.4248 3.93359
c1.88281 2.16309 5.14258 6.32227 7.24219 9.24316c3.52832 4.9082 4.22266 5.4248 9.16016 6.81836c2.93848 0.829102 9.43066 3.25586 14.4277 5.39258l9.08691 3.88574l3.75488 -3.71094c2.06641 -2.04102 4.15918 -4.49805 4.65137 -5.45996
c0 0 -1.21777 0.338867 -3.7998 2.8877l-4.69629 4.63574l-10.5391 -5.2627c-5.7959 -2.89551 -11.833 -5.51074 -13.415 -5.81152c-2.43066 -0.462891 -4.11035 -2.18164 -10.8311 -11.0801c-8.73535 -11.5674 -8.87012 -11.0039 1.9209 -8.00781l5.74414 1.59473
l8.17578 -2.80664c4.49609 -1.54395 9.12598 -2.80664 10.2881 -2.80664c2.87793 0 5.82031 -2.53223 8.25586 -7.10449l2.03516 -3.82129l-3.32715 3.64453c-3.62793 3.97363 -6.61719 5.19727 -19.5547 8.00391l-7.61523 1.65234l-7.02637 -2.60645
c-8.42578 -3.12402 -9.77734 -4.13867 -5.51562 -4.13867c2.92383 0 3.27344 -0.291992 4.95215 -4.14355c0.993164 -2.2793 2.9043 -5.91797 4.24609 -8.08496c2.53418 -4.09277 5.72754 -12.8994 4.95996 -13.6777
c-0.241211 -0.246094 -0.724609 0.467773 -1.07227 1.58594c-0.348633 1.11719 -1.50488 3.21191 -2.56836 4.6543c-1.06445 1.44238 -3.33691 5.46973 -5.05078 8.9502c-2.5498 5.18066 -3.67871 6.56641 -6.22754 7.64746
c-3.78809 1.60645 -4.54688 1.6709 -2.67871 0.227539c1.30859 -1.01074 1.29102 -1.70996 -0.233398 -9.32422c-0.907227 -4.52734 -2.5791 -10.2305 -3.7168 -12.6738c-1.1377 -2.44238 -3.52344 -7.88281 -5.30176 -12.0889
c-3.00684 -7.1123 -3.89062 -6.95508 -3.89062 -6.95508z" />
<glyph glyph-name="uniE811" unicode="&#xe811;"
d="M63.9971 70.0186v-50.3779l38.3037 25.1865zM25.6934 44.8271v-50.3789l38.3037 25.1875zM25.6934 95.2061v-50.3789l38.3037 25.1865zM-395.648 775.296l-38.3037 25.1875l38.3037 25.1914v-50.3789z" />
<glyph glyph-name="uniE812" unicode="&#xe812;"
d="M48.0615 45.7881c-1.03906 -0.157227 -2.06543 -0.408203 -3.06738 -0.753906c-2.47852 -0.854492 -4.71973 -2.23438 -6.5791 -4.09375l-9.81445 -9.81641c-0.385742 -0.385742 -0.751953 -0.795898 -1.10938 -1.23926
c-6.16504 1.46387 -10.6875 7.04004 -10.6875 13.5088c0 6.81055 5.02148 12.6221 11.7197 13.6904c0.28125 0.0478516 1.64648 0.192383 2.15918 0.192383h13.8789c1.59277 0 3.13086 -0.275391 4.56543 -0.78125c-0.679688 -1.21484 -1.06543 -2.60938 -1.06543 -4.09277
v-6.61426zM48.0615 23.0596c-0.00488281 -0.162109 -0.0078125 -0.325195 -0.0078125 -0.488281v-13.8818c0 -0.536133 0.0302734 -1.0752 0.0898438 -1.63379c-5.39746 -3.32227 -12.5234 -2.58398 -17.0889 1.98242c-4.80957 4.80957 -5.37207 12.4609 -1.41699 17.9395
c0.47168 0.655273 0.930664 1.20605 1.41699 1.69238l9.81348 9.81641c1.48145 1.48145 3.26855 2.58105 5.25684 3.26758c0.634766 0.217773 1.28125 0.389648 1.93652 0.514648v-19.209zM51.5811 59.25c-2.1543 0.962891 -4.53223 1.49609 -7.01953 1.49609h-13.8789
c-0.52832 0 -1.05957 -0.0292969 -1.61035 -0.0859375c-3.32227 5.39844 -2.58398 12.5244 1.98242 17.0918c4.80859 4.80957 12.458 5.37207 17.9355 1.41602c0.655273 -0.47168 1.20605 -0.929688 1.69238 -1.41602l9.81348 -9.81836
c1.48145 -1.48145 2.58105 -3.26855 3.2666 -5.25781c0.199219 -0.577148 0.359375 -1.16602 0.480469 -1.76074h-7.50781c-1.93066 0 -3.71289 -0.618164 -5.1543 -1.66504zM73.5586 31.5859c1.4502 -1.55566 3.18262 -2.84375 5.11621 -3.78613
c2.35645 -1.14941 4.91602 -1.75879 7.54688 -1.75879h13.8789c0.535156 0 1.07422 0.0302734 1.63281 0.0898438c3.32324 -5.39746 2.58398 -12.5254 -1.98145 -17.0928c-4.80957 -4.81055 -12.459 -5.37305 -17.9365 -1.41699
c-0.655273 0.472656 -1.20605 0.930664 -1.69238 1.41699l-9.81348 9.81641c-1.48145 1.48047 -2.58105 3.26855 -3.2666 5.25781c-0.80957 2.34863 -0.973633 4.87207 -0.493164 7.29199h4.64258c0.805664 0 1.5957 0.0615234 2.36621 0.181641zM81.2207 57.1543
c1.00195 2.22168 1.53125 4.6123 1.53125 7.06445v13.8818c0 0.536133 -0.0302734 1.0752 -0.0888672 1.63379c5.39648 3.32227 12.5225 2.58398 17.0879 -1.98242c4.81055 -4.8125 5.37305 -12.4619 1.41699 -17.9395
c-0.47168 -0.655273 -0.930664 -1.20703 -1.41699 -1.69336l-9.81348 -9.81641c-1.08789 -1.08691 -2.34082 -1.96973 -3.7168 -2.63281c0.00488281 0.162109 0.0078125 0.326172 0.0078125 0.490234c0 4.36719 -1.93457 8.29199 -5.00781 10.9941zM85.5146 41.6543
c0.0986328 0.0322266 0.198242 0.0654297 0.296875 0.0986328c2.47852 0.855469 4.71973 2.23535 6.5791 4.09473l9.81445 9.81641c0.379883 0.379883 0.740234 0.782227 1.09277 1.21777c6.16406 -1.46582 10.6816 -7.02832 10.6816 -13.4883
c0 -6.80273 -5.01074 -12.6104 -11.6816 -13.6865c-0.801758 -0.129883 -1.51465 -0.195312 -2.19727 -0.195312h-13.8789c-2.0957 0 -4.13672 0.486328 -6.02734 1.40723c-1.00293 0.489258 -1.93848 1.09473 -2.78906 1.7998
c3.83496 1.70996 6.80957 4.95508 8.10938 8.93555zM63.0264 31.4043c-0.444336 -2.81152 -0.198242 -5.70898 0.736328 -8.42285c0.851562 -2.47656 2.23242 -4.71973 4.09277 -6.58105l9.81641 -9.81836c0.378906 -0.37793 0.78125 -0.737305 1.21582 -1.08984
c-1.46582 -6.16699 -7.02637 -10.6855 -13.4844 -10.6855c-6.80273 0 -12.6084 5.0127 -13.6846 11.6846c-0.128906 0.801758 -0.195312 1.51465 -0.195312 2.19824v13.8818v0.0380859l9.12012 8.79492h2.38281zM67.7695 60.915
c-0.158203 0.979492 -0.400391 1.94727 -0.726562 2.89355c-0.851562 2.47656 -2.23242 4.71973 -4.09277 6.58105l-9.81445 9.81641c-0.379883 0.379883 -0.783203 0.740234 -1.21777 1.09277c1.4668 6.16602 7.02734 10.6836 13.4854 10.6836
c6.80176 0 12.6074 -5.01172 13.6836 -11.6836c0.128906 -0.802734 0.195312 -1.51465 0.195312 -2.19824v-13.8818c0 -1.74121 -0.335938 -3.44434 -0.976562 -5.05566c-2.11816 1.11816 -4.54004 1.75195 -7.11328 1.75195h-3.42285z" />
<glyph glyph-name="uniE813" unicode="&#xe813;"
d="M45.3096 9.37305c3.08789 2.48145 36.7285 30.667 40.7998 34.1836c0.694906 0.599622 0.958326 0.833763 0.82495 1.12622c-0.206762 0.209402 -0.632584 0.616256 -1.50733 1.39659c-1.98554 1.67064 -7.19792 6.03395 -14.467 12.109
c-9.44141 7.88965 -22.9229 19.1133 -25.1436 20.9307c-1.71094 1.40039 -1.73926 1.41113 -2.5957 0.96582c-0.829102 -0.430664 -3.64453 -2.34766 -4.76758 -3.24512c-5.58203 -4.46387 -9.79395 -10.0332 -12.5195 -16.5586
c-3.39258 -8.11914 -4.0127 -17.1846 -1.76953 -25.8477c1.38867 -5.36133 3.87695 -10.4229 7.23828 -14.7207c2.21973 -2.83887 5.42871 -5.96973 8.26758 -8.06836c1.16504 -0.861328 2.9502 -2.01367 3.7373 -2.41309
c0.959961 -0.487305 1.13672 -0.473633 1.90234 0.141602zM68.1348 3.93555c4.4707 0.398438 9.58105 1.85254 13.8633 3.94629c11.0107 5.38086 18.9844 15.2822 21.9062 27.2012c0.861328 3.51562 1.04004 5.22949 1.04004 10.0059
c0 3.40234 -0.015625 3.78418 -0.201172 5.02539c-1.18848 7.94629 -4.22754 14.7764 -9.26855 20.835c-1.70898 2.05371 -4.5 4.72656 -6.63477 6.35254c-4.92188 3.74902 -10.9697 6.42969 -17.3154 7.67188c-2.75488 0.540039 -4.4834 0.701172 -7.47461 0.697266
c-2.70801 -0.00292969 -4.79785 -0.166992 -7.08008 -0.555664c-1.125 -0.192383 -1.4375 -0.330078 -1.4375 -0.634766c0 -0.317383 0 -0.291392 23.5977 -20.6777c17.7862 -15.3664 21.1007 -18.2301 21.7181 -18.8638
c0.836712 -0.737036 0.714398 -0.653191 0.468005 -0.473693c-0.0361569 0.0156899 -0.233349 0.166492 -0.34189 0.235664c-0.00759756 -0.0111985 -0.0181196 -0.0248154 -0.0317245 -0.0409904c0.338241 -0.308307 0.145761 -0.165307 -0.0365641 -0.0415221
c-0.459956 -0.503987 -2.92248 -2.67453 -9.86869 -8.71316c-0.908203 -0.790039 -3.86133 -3.34277 -6.56152 -5.67285c-2.70117 -2.33008 -5.3418 -4.61133 -5.86719 -5.07031c-0.525391 -0.458008 -2.55957 -2.21289 -4.51953 -3.90039
c-15.0283 -12.9355 -17.8438 -15.4219 -18.1787 -16.0547c-0.172852 -0.325195 -0.0898438 -0.617188 0.208008 -0.736328c0.504883 -0.203125 3.26074 -0.561523 5.02051 -0.65332c1.07812 -0.0556641 5.96484 0.0263672 6.99609 0.118164zM61.9639 -5.8877
c-3.31055 0.21875 -5.38672 0.458984 -7.50977 0.867188c-9.90332 1.90723 -18.7803 6.5293 -25.9404 13.5059c-7.99707 7.79102 -13.1357 17.7793 -14.7773 28.7207c-0.363781 2.42578 -0.464207 3.55844 -0.484132 6.20201
c-0.0211288 0.841077 -0.000390323 1.68413 -0.000390323 2.52846c0.0189791 2.6807 0.118299 3.81051 0.484522 6.25684c2.72852 18.2168 15.207 33.5166 32.5986 39.9697c5.68262 2.10742 11.3613 3.11035 17.6279 3.11035c8.1377 0 15.6133 -1.75879 22.7725 -5.35645
c14.5322 -7.30273 24.5928 -20.8906 27.2861 -36.8525c0.521484 -3.08984 0.647461 -4.70996 0.649414 -8.32129c0.00195312 -3.49121 -0.0859375 -4.76855 -0.523438 -7.62402c-2.33594 -15.2119 -11.3145 -28.3799 -24.6572 -36.1602
c-6.41504 -3.74023 -13.6162 -6.0127 -21.1816 -6.68359c-1.39648 -0.124023 -5.38574 -0.226562 -6.34473 -0.163086z" />
<glyph glyph-name="uniE814" unicode="&#xe814;"
d="M80.0137 64.5537c-1.4707 -4.31543 -4.25586 -7.77246 -7.16504 -11.1475c-2.24707 -2.60449 -4.8877 -4.7959 -7.69922 -6.78125c-0.134766 -0.0966797 -0.280273 -0.176758 -0.644531 -0.400391c1.67676 2.87891 3.0293 5.61328 3.4209 8.80078
c-3.9873 -0.9375 -7.74707 -0.52832 -11.3867 1.06641c-6.46094 2.8291 -10.3223 9 -9.66309 15.9678c0.539062 5.7334 3.70898 9.86523 8.77637 12.5342c8.16016 4.29785 18.5811 1.54883 23.2461 -6.09766c2.71875 -4.45215 2.76074 -9.11523 1.11523 -13.9424z
M70.9062 6.52148c2.18457 0 3.95605 1.79102 3.95508 3.99805c0 0.0595703 -0.00585938 0.119141 0 0.176758v1.91211c0 1.05469 -0.625 3.96289 -2.15137 6.05469c-1.63477 2.24023 -3.71094 3.69922 -5.90625 4.4043c3.10059 1.15039 5.30762 4.11816 5.30762 7.59863
c0 4.48145 -3.65137 8.11133 -8.16113 8.11133c-4.50781 0 -8.16113 -3.62988 -8.16113 -8.11133c0 -3.39453 2.10059 -6.30176 5.08105 -7.50977c-2.26172 -0.662109 -4.3457 -2.13281 -5.8916 -4.39551c-1.45898 -2.1377 -1.94141 -5.09473 -1.94043 -6.15137
c0.00195312 -0.955078 0.00292969 -1.91016 0.0078125 -1.91016c-0.00195312 -0.0585938 -0.00878906 -0.119141 -0.00878906 -0.177734c0 -2.20898 1.77148 -4 3.95801 -4h13.9111zM89.2363 56.3682l12.1465 0.0283203c2.61328 0 4.73047 -2.10547 4.73047 -4.70117
v-53.2217c0 -2.5957 -2.11719 -4.70117 -4.73047 -4.70117h-74.8096c-2.61133 0 -4.72949 2.10547 -4.72949 4.70117v53.2217c0 2.5957 2.11816 4.70117 4.72949 4.70117h10.8115c0.302734 0.000976562 0.603516 0 1.05078 0v1.09473v12.9746
c0 11.9941 8.8291 22.5117 20.6895 24.6445c13.3975 2.40918 26.1572 -5.7373 29.3779 -18.8369c0.450195 -1.83301 0.658203 -3.75879 0.702148 -5.64746c0.101562 -4.38281 0.03125 -9.87402 0.03125 -14.2578z" />
<glyph glyph-name="uniE815" unicode="&#xe815;"
d="M5.23438 80.6982c0.0136719 1.09375 0.311523 0.81543 0.311523 0.81543c0.158203 -0.644531 0.148438 -1.53906 -0.0234375 -1.9873c-0.170898 -0.449219 -0.300781 0.0791016 -0.288086 1.17188zM82.8721 -1.87988c-4.80957 1.72168 -10.4385 4.05566 -12.5098 5.18652
c-3.25977 1.78027 -3.95898 1.94727 -5.2002 1.24219c-1.3584 -0.770508 -1.17285 -0.939453 3.45312 -3.16113c8.1416 -3.90918 15.9883 -6.35059 20.5029 -6.38086c2.01074 -0.0126953 0.791992 0.59375 -6.24609 3.11328zM85.4492 -5.41992
c-5.4668 1.1709 -11.3486 3.23633 -17.0986 6.00586l-4.52832 2.18066l-4.45703 -1.9502c-9.59473 -4.19727 -22.4199 -7.49414 -23.7334 -6.10059c-0.854492 0.90625 0.328125 1.6748 5.72852 3.72266c2.58887 0.980469 6.94531 3.30762 9.68164 5.16992l4.97363 3.38574
l-1.56152 1.19531c-20.4863 15.6846 -32.1172 28.501 -40.5898 44.7285c-3.50977 6.71973 -7.0957 16.7109 -7.77246 21.6514c-0.576172 4.21094 0.369141 4.00586 1.53125 -0.331055l0.931641 -3.47949l5.77051 -0.19043
c5.57227 -0.183594 5.79883 -0.251953 6.62012 -1.9873c0.466797 -0.988281 1.19824 -3.72754 1.62402 -6.08594c1.91797 -10.627 7.8457 -23.9971 15.332 -34.5791c4.32715 -6.11719 17.9482 -20.46 21.041 -22.1562c1.49121 -0.818359 2.2666 -0.897461 3.40527 -0.34668
c0.811523 0.392578 1.47461 0.951172 1.47461 1.24121c0 0.291016 -1.85938 2.01172 -4.13281 3.82422c-5.69238 4.53809 -13.9639 14.0029 -18.4316 21.0898c-8.07031 12.7988 -13.6182 28.9268 -13.6494 39.6729c-0.00976562 3.27344 -0.217773 3.93848 -1.51855 4.84277
c-0.830078 0.576172 -2.25195 1.13281 -3.16113 1.23535c-1.98926 0.224609 -15.3066 5.84668 -15.3125 6.46484c-0.0078125 0.686523 2.15234 -0.0683594 12.1738 -4.25586c5.15332 -2.15332 12.0049 -4.76172 15.2266 -5.79688
c3.2207 -1.03516 6.06934 -2.12793 6.3291 -2.42773s0.774414 -3.67578 1.14355 -7.50195c1.125 -11.6562 5.18164 -24.1787 11.2021 -34.582c3.64551 -6.2998 8.58008 -13.0449 9.95117 -13.6025c0.705078 -0.287109 1.70117 0.397461 3.17383 2.18262
c11.1279 13.4912 19.4365 34.1553 19.4775 48.4395c0.00878906 3.18652 0.302734 5.06445 0.891602 5.6875c0.482422 0.512695 3.22266 1.625 6.08887 2.47266c2.86719 0.847656 10.0605 3.43164 15.9863 5.74219s10.9707 4.20117 11.2109 4.20117
c2.00098 0 -9.4375 -5.35449 -11.9922 -5.61426c-1.12988 -0.114258 -1.26074 -0.65918 -1.37109 -5.7041c-0.227539 -10.4551 -2.35547 -19.1729 -7.14453 -29.2773c-6.23633 -13.1592 -13.6211 -22.4795 -26.7979 -33.8203l-2.16113 -1.86035l2.67285 1.49609
c1.46973 0.823242 6.00195 5.09863 10.0723 9.50293c12.7168 13.7598 19.5732 26.6318 23.4766 44.0732c1.6582 7.41113 1.46191 7.2041 7.03809 7.42676l4.83301 0.193359l1.11035 3.64453c0.611328 2.00488 1.17285 5.20703 1.24902 7.11816
c0.133789 3.34863 0.617188 4.38477 1.24023 2.65527c0.447266 -1.24316 -0.641602 -8.79395 -2.07812 -14.4111c-1.61133 -6.29688 -6.95801 -18.1738 -11.1455 -24.7588c-4.71582 -7.41406 -11.8271 -16.1709 -17.7031 -21.7988
c-5.0293 -4.81641 -13.6748 -11.8867 -17.3623 -14.1973c-1.0127 -0.634766 -1.8418 -1.50781 -1.8418 -1.94043c0 -1.75293 9.95801 -7.68945 17.0518 -10.165c7.12012 -2.48535 4.19434 -4.11719 -4.16895 -2.3252z" />
</font>
</defs></svg>

After

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,202 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

View File

@ -0,0 +1,47 @@
/*
@licstart The following is the entire license notice for the
JavaScript code in this page.
Copyleft 2017 | Heckyel
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
@licend The above is the entire license notice
for the JavaScript code in this page.
*/
$(document).ready(function(){
// scroll elementos Menu
var acercade = $('#acerca-de').offset().top,
proyecto = $('#trabajos').offset().top,
contactar = $('#contacto').offset().top;
$('#btn-acerca-de').on('click', function(e){
e.preventDefault();
$('html, body').animate({
scrollTop: 240
}, 500);
});
$('#btn-trabajos').on('click', function(e){
e.preventDefault();
$('html, body').animate({
scrollTop: proyecto
}, 500);
});
$('#btn-contacto').on('click', function(e){
e.preventDefault();
$('html, body').animate({
scrollTop: contactar
}, 500);
});
});

3
core/static/core/js/efectos.min.js vendored Normal file
View File

@ -0,0 +1,3 @@
// @license magnet:?xt=urn:btih:1f739d935676111cfff4b4693e3816e664797050&dn=gpl-3.0.txt GPL-v3-or-Later
$(document).ready(function(){$("#acerca-de").offset().top;var t=$("#trabajos").offset().top,o=$("#contacto").offset().top;$("#btn-acerca-de").on("click",function(t){t.preventDefault(),$("html, body").animate({scrollTop:240},500)}),$("#btn-trabajos").on("click",function(o){o.preventDefault(),$("html, body").animate({scrollTop:t},500)}),$("#btn-contacto").on("click",function(t){t.preventDefault(),$("html, body").animate({scrollTop:o},500)})});
// @license-end

View File

@ -0,0 +1,64 @@
/*
@licstart The following is the entire license notice for the
JavaScript code in this page.
Copyleft 2017 | Heckyel
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU General Public License for more details.
@licend The above is the entire license notice
for the JavaScript code in this page.
*/
(function(){
var formulario = document.getElementById('formulario'),
nombre = formulario.name,
correo = formulario.email,
mensaje = formulario.content,
error = document.getElementById('error');
function validarNombre(e){
if(nombre.value == '' || nombre.value == null){
console.info('Por favor completa el nombre');
error.style.display = 'block';
error.innerHTML = error.innerHTML + '<li>Por favor completa el nombre</li>';
e.preventDefault();
}
}
function validarCorreo(e){
if(correo.value == '' || correo.value == null){
console.info('Por favor completa el correo');
error.style.display = 'block';
error.innerHTML = error.innerHTML + '<li>Por favor completa el correo</li>';
e.preventDefault();
}
}
function validarMensaje(e){
if(mensaje.value == '' || mensaje.value == null){
console.info('Por favor completa el mensaje');
error.style.display = 'block';
error.innerHTML = error.innerHTML + '<li>Por favor completa el mensaje</li>';
e.preventDefault();
}
}
function validarFormulario(e){
error.innerHTML = '';
error.style.display = 'none';
validarNombre(e);
validarCorreo(e);
validarMensaje(e);
}
formulario.addEventListener('submit', validarFormulario);
}());

1
core/static/core/js/formulario.min.js vendored Normal file
View File

@ -0,0 +1 @@
!function(){function e(e){""!=a.value&&null!=a.value||(console.info("Por favor completa el nombre"),c.style.display="block",c.innerHTML=c.innerHTML+"<li>Por favor completa el nombre</li>",e.preventDefault())}function l(e){""!=t.value&&null!=t.value||(console.info("Por favor completa el correo"),c.style.display="block",c.innerHTML=c.innerHTML+"<li>Por favor completa el correo</li>",e.preventDefault())}function n(e){""!=i.value&&null!=i.value||(console.info("Por favor completa el mensaje"),c.style.display="block",c.innerHTML=c.innerHTML+"<li>Por favor completa el mensaje</li>",e.preventDefault())}function o(o){c.innerHTML="",c.style.display="none",e(o),l(o),n(o)}var r=document.getElementById("formulario"),a=r.name,t=r.email,i=r.content,c=document.getElementById("error");r.addEventListener("submit",o)}();

View File

@ -0,0 +1,25 @@
{
"name": "jquery",
"main": "dist/jquery.js",
"license": "MIT",
"ignore": [
"package.json"
],
"keywords": [
"jquery",
"javascript",
"browser",
"library"
],
"homepage": "https://github.com/jquery/jquery-dist",
"version": "3.2.1",
"_release": "3.2.1",
"_resolution": {
"type": "version",
"tag": "3.2.1",
"commit": "77d2a51d0520d2ee44173afdf4e40a9201f5964e"
},
"_source": "https://github.com/jquery/jquery-dist.git",
"_target": "~3.2.1",
"_originalSource": "jquery"
}

View File

@ -0,0 +1,301 @@
Authors ordered by first contribution.
John Resig <jeresig@gmail.com>
Gilles van den Hoven <gilles0181@gmail.com>
Michael Geary <mike@geary.com>
Stefan Petre <stefan.petre@gmail.com>
Yehuda Katz <wycats@gmail.com>
Corey Jewett <cj@syntheticplayground.com>
Klaus Hartl <klaus.hartl@gmail.com>
Franck Marcia <franck.marcia@gmail.com>
Jörn Zaefferer <joern.zaefferer@gmail.com>
Paul Bakaus <paul.bakaus@gmail.com>
Brandon Aaron <brandon.aaron@gmail.com>
Mike Alsup <malsup@gmail.com>
Dave Methvin <dave.methvin@gmail.com>
Ed Engelhardt <edengelhardt@gmail.com>
Sean Catchpole <littlecooldude@gmail.com>
Paul Mclanahan <pmclanahan@gmail.com>
David Serduke <davidserduke@gmail.com>
Richard D. Worth <rdworth@gmail.com>
Scott González <scott.gonzalez@gmail.com>
Ariel Flesler <aflesler@gmail.com>
Jon Evans <jon@springyweb.com>
TJ Holowaychuk <tj@vision-media.ca>
Michael Bensoussan <mickey@seesmic.com>
Robert Katić <robert.katic@gmail.com>
Louis-Rémi Babé <lrbabe@gmail.com>
Earle Castledine <mrspeaker@gmail.com>
Damian Janowski <damian.janowski@gmail.com>
Rich Dougherty <rich@rd.gen.nz>
Kim Dalsgaard <kim@kimdalsgaard.com>
Andrea Giammarchi <andrea.giammarchi@gmail.com>
Mark Gibson <jollytoad@gmail.com>
Karl Swedberg <kswedberg@gmail.com>
Justin Meyer <justinbmeyer@gmail.com>
Ben Alman <cowboy@rj3.net>
James Padolsey <cla@padolsey.net>
David Petersen <public@petersendidit.com>
Batiste Bieler <batiste.bieler@gmail.com>
Alexander Farkas <info@corrupt-system.de>
Rick Waldron <waldron.rick@gmail.com>
Filipe Fortes <filipe@fortes.com>
Neeraj Singh <neerajdotname@gmail.com>
Paul Irish <paul.irish@gmail.com>
Iraê Carvalho <irae@irae.pro.br>
Matt Curry <matt@pseudocoder.com>
Michael Monteleone <michael@michaelmonteleone.net>
Noah Sloan <noah.sloan@gmail.com>
Tom Viner <github@viner.tv>
Douglas Neiner <doug@dougneiner.com>
Adam J. Sontag <ajpiano@ajpiano.com>
Dave Reed <dareed@microsoft.com>
Ralph Whitbeck <ralph.whitbeck@gmail.com>
Carl Fürstenberg <azatoth@gmail.com>
Jacob Wright <jacwright@gmail.com>
J. Ryan Stinnett <jryans@gmail.com>
unknown <Igen005@.upcorp.ad.uprr.com>
temp01 <temp01irc@gmail.com>
Heungsub Lee <h@subl.ee>
Colin Snover <github.com@zetafleet.com>
Ryan W Tenney <ryan@10e.us>
Pinhook <contact@pinhooklabs.com>
Ron Otten <r.j.g.otten@gmail.com>
Jephte Clain <Jephte.Clain@univ-reunion.fr>
Anton Matzneller <obhvsbypqghgc@gmail.com>
Alex Sexton <AlexSexton@gmail.com>
Dan Heberden <danheberden@gmail.com>
Henri Wiechers <hwiechers@gmail.com>
Russell Holbrook <russell.holbrook@patch.com>
Julian Aubourg <aubourg.julian@gmail.com>
Gianni Alessandro Chiappetta <gianni@runlevel6.org>
Scott Jehl <scottjehl@gmail.com>
James Burke <jrburke@gmail.com>
Jonas Pfenniger <jonas@pfenniger.name>
Xavi Ramirez <xavi.rmz@gmail.com>
Jared Grippe <jared@deadlyicon.com>
Sylvester Keil <sylvester@keil.or.at>
Brandon Sterne <bsterne@mozilla.com>
Mathias Bynens <mathias@qiwi.be>
Timmy Willison <4timmywil@gmail.com>
Corey Frang <gnarf37@gmail.com>
Digitalxero <digitalxero>
Anton Kovalyov <anton@kovalyov.net>
David Murdoch <david@davidmurdoch.com>
Josh Varner <josh.varner@gmail.com>
Charles McNulty <cmcnulty@kznf.com>
Jordan Boesch <jboesch26@gmail.com>
Jess Thrysoee <jess@thrysoee.dk>
Michael Murray <m@murz.net>
Lee Carpenter <elcarpie@gmail.com>
Alexis Abril <me@alexisabril.com>
Rob Morgan <robbym@gmail.com>
John Firebaugh <john_firebaugh@bigfix.com>
Sam Bisbee <sam@sbisbee.com>
Gilmore Davidson <gilmoreorless@gmail.com>
Brian Brennan <me@brianlovesthings.com>
Xavier Montillet <xavierm02.net@gmail.com>
Daniel Pihlstrom <sciolist.se@gmail.com>
Sahab Yazdani <sahab.yazdani+github@gmail.com>
avaly <github-com@agachi.name>
Scott Hughes <hi@scott-hughes.me>
Mike Sherov <mike.sherov@gmail.com>
Greg Hazel <ghazel@gmail.com>
Schalk Neethling <schalk@ossreleasefeed.com>
Denis Knauf <Denis.Knauf@gmail.com>
Timo Tijhof <krinklemail@gmail.com>
Steen Nielsen <swinedk@gmail.com>
Anton Ryzhov <anton@ryzhov.me>
Shi Chuan <shichuanr@gmail.com>
Berker Peksag <berker.peksag@gmail.com>
Toby Brain <tobyb@freshview.com>
Matt Mueller <mattmuelle@gmail.com>
Justin <drakefjustin@gmail.com>
Daniel Herman <daniel.c.herman@gmail.com>
Oleg Gaidarenko <markelog@gmail.com>
Richard Gibson <richard.gibson@gmail.com>
Rafaël Blais Masson <rafbmasson@gmail.com>
cmc3cn <59194618@qq.com>
Joe Presbrey <presbrey@gmail.com>
Sindre Sorhus <sindresorhus@gmail.com>
Arne de Bree <arne@bukkie.nl>
Vladislav Zarakovsky <vlad.zar@gmail.com>
Andrew E Monat <amonat@gmail.com>
Oskari <admin@o-programs.com>
Joao Henrique de Andrade Bruni <joaohbruni@yahoo.com.br>
tsinha <tsinha@Anthonys-MacBook-Pro.local>
Matt Farmer <matt@frmr.me>
Trey Hunner <treyhunner@gmail.com>
Jason Moon <jmoon@socialcast.com>
Jeffery To <jeffery.to@gmail.com>
Kris Borchers <kris.borchers@gmail.com>
Vladimir Zhuravlev <private.face@gmail.com>
Jacob Thornton <jacobthornton@gmail.com>
Chad Killingsworth <chadkillingsworth@missouristate.edu>
Nowres Rafid <nowres.rafed@gmail.com>
David Benjamin <davidben@mit.edu>
Uri Gilad <antishok@gmail.com>
Chris Faulkner <thefaulkner@gmail.com>
Elijah Manor <elijah.manor@gmail.com>
Daniel Chatfield <chatfielddaniel@gmail.com>
Nikita Govorov <nikita.govorov@gmail.com>
Wesley Walser <waw325@gmail.com>
Mike Pennisi <mike@mikepennisi.com>
Markus Staab <markus.staab@redaxo.de>
Dave Riddle <david@joyvuu.com>
Callum Macrae <callum@lynxphp.com>
Benjamin Truyman <bentruyman@gmail.com>
James Huston <james@jameshuston.net>
Erick Ruiz de Chávez <erickrdch@gmail.com>
David Bonner <dbonner@cogolabs.com>
Akintayo Akinwunmi <aakinwunmi@judge.com>
MORGAN <morgan@morgangraphics.com>
Ismail Khair <ismail.khair@gmail.com>
Carl Danley <carldanley@gmail.com>
Mike Petrovich <michael.c.petrovich@gmail.com>
Greg Lavallee <greglavallee@wapolabs.com>
Daniel Gálvez <dgalvez@editablething.com>
Sai Lung Wong <sai.wong@huffingtonpost.com>
Tom H Fuertes <TomFuertes@gmail.com>
Roland Eckl <eckl.roland@googlemail.com>
Jay Merrifield <fracmak@gmail.com>
Allen J Schmidt Jr <cobrasoft@gmail.com>
Jonathan Sampson <jjdsampson@gmail.com>
Marcel Greter <marcel.greter@ocbnet.ch>
Matthias Jäggli <matthias.jaeggli@gmail.com>
David Fox <dfoxinator@gmail.com>
Yiming He <yiminghe@gmail.com>
Devin Cooper <cooper.semantics@gmail.com>
Paul Ramos <paul.b.ramos@gmail.com>
Rod Vagg <rod@vagg.org>
Bennett Sorbo <bsorbo@gmail.com>
Sebastian Burkhard <sebi.burkhard@gmail.com>
Zachary Adam Kaplan <razic@viralkitty.com>
nanto_vi <nanto@moon.email.ne.jp>
nanto <nanto@moon.email.ne.jp>
Danil Somsikov <danilasomsikov@gmail.com>
Ryunosuke SATO <tricknotes.rs@gmail.com>
Jean Boussier <jean.boussier@gmail.com>
Adam Coulombe <me@adam.co>
Andrew Plummer <plummer.andrew@gmail.com>
Mark Raddatz <mraddatz@gmail.com>
Isaac Z. Schlueter <i@izs.me>
Karl Sieburg <ksieburg@yahoo.com>
Pascal Borreli <pascal@borreli.com>
Nguyen Phuc Lam <ruado1987@gmail.com>
Dmitry Gusev <dmitry.gusev@gmail.com>
Michał Gołębiowski <m.goleb@gmail.com>
Li Xudong <istonelee@gmail.com>
Steven Benner <admin@stevenbenner.com>
Tom H Fuertes <tomfuertes@gmail.com>
Renato Oliveira dos Santos <ros3@cin.ufpe.br>
ros3cin <ros3@cin.ufpe.br>
Jason Bedard <jason+jquery@jbedard.ca>
Kyle Robinson Young <kyle@dontkry.com>
Chris Talkington <chris@talkingtontech.com>
Eddie Monge <eddie@eddiemonge.com>
Terry Jones <terry@jon.es>
Jason Merino <jasonmerino@gmail.com>
Jeremy Dunck <jdunck@gmail.com>
Chris Price <price.c@gmail.com>
Guy Bedford <guybedford@gmail.com>
Amey Sakhadeo <me@ameyms.com>
Mike Sidorov <mikes.ekb@gmail.com>
Anthony Ryan <anthonyryan1@gmail.com>
Dominik D. Geyer <dominik.geyer@gmail.com>
George Kats <katsgeorgeek@gmail.com>
Lihan Li <frankieteardrop@gmail.com>
Ronny Springer <springer.ronny@gmail.com>
Chris Antaki <ChrisAntaki@gmail.com>
Marian Sollmann <marian.sollmann@cargomedia.ch>
njhamann <njhamann@gmail.com>
Ilya Kantor <iliakan@gmail.com>
David Hong <d.hong@me.com>
John Paul <john@johnkpaul.com>
Jakob Stoeck <jakob@pokermania.de>
Christopher Jones <chris@cjqed.com>
Forbes Lindesay <forbes@lindesay.co.uk>
S. Andrew Sheppard <andrew@wq.io>
Leonardo Balter <leonardo.balter@gmail.com>
Roman Reiß <me@silverwind.io>
Benjy Cui <benjytrys@gmail.com>
Rodrigo Rosenfeld Rosas <rr.rosas@gmail.com>
John Hoven <hovenj@gmail.com>
Philip Jägenstedt <philip@foolip.org>
Christian Kosmowski <ksmwsk@gmail.com>
Liang Peng <poppinlp@gmail.com>
TJ VanToll <tj.vantoll@gmail.com>
Senya Pugach <upisfree@outlook.com>
Aurelio De Rosa <aurelioderosa@gmail.com>
Nazar Mokrynskyi <nazar@mokrynskyi.com>
Amit Merchant <bullredeyes@gmail.com>
Jason Bedard <jason+github@jbedard.ca>
Arthur Verschaeve <contact@arthurverschaeve.be>
Dan Hart <danhart@notonthehighstreet.com>
Bin Xin <rhyzix@gmail.com>
David Corbacho <davidcorbacho@gmail.com>
Veaceslav Grimalschi <grimalschi@yandex.ru>
Daniel Husar <dano.husar@gmail.com>
Frederic Hemberger <mail@frederic-hemberger.de>
Ben Toews <mastahyeti@gmail.com>
Aditya Raghavan <araghavan3@gmail.com>
Victor Homyakov <vkhomyackov@gmail.com>
Shivaji Varma <contact@shivajivarma.com>
Nicolas HENRY <icewil@gmail.com>
Anne-Gaelle Colom <coloma@westminster.ac.uk>
George Mauer <gmauer@gmail.com>
Leonardo Braga <leonardo.braga@gmail.com>
Stephen Edgar <stephen@netweb.com.au>
Thomas Tortorini <thomastortorini@gmail.com>
Winston Howes <winstonhowes@gmail.com>
Jon Hester <jon.d.hester@gmail.com>
Alexander O'Mara <me@alexomara.com>
Bastian Buchholz <buchholz.bastian@googlemail.com>
Arthur Stolyar <nekr.fabula@gmail.com>
Calvin Metcalf <calvin.metcalf@gmail.com>
Mu Haibao <mhbseal@163.com>
Richard McDaniel <rm0026@uah.edu>
Chris Rebert <github@rebertia.com>
Gabriel Schulhof <gabriel.schulhof@intel.com>
Gilad Peleg <giladp007@gmail.com>
Martin Naumann <martin@geekonaut.de>
Marek Lewandowski <m.lewandowski@cksource.com>
Bruno Pérel <brunoperel@gmail.com>
Reed Loden <reed@reedloden.com>
Daniel Nill <daniellnill@gmail.com>
Yongwoo Jeon <yongwoo.jeon@navercorp.com>
Sean Henderson <seanh.za@gmail.com>
Richard Kraaijenhagen <stdin+git@riichard.com>
Connor Atherton <c.liam.atherton@gmail.com>
Gary Ye <garysye@gmail.com>
Christian Grete <webmaster@christiangrete.com>
Liza Ramo <liza.h.ramo@gmail.com>
Julian Alexander Murillo <julian.alexander.murillo@gmail.com>
Joelle Fleurantin <joasqueeniebee@gmail.com>
Jae Sung Park <alberto.park@gmail.com>
Jun Sun <klsforever@gmail.com>
Josh Soref <apache@soref.com>
Henry Wong <henryw4k@gmail.com>
Jon Dufresne <jon.dufresne@gmail.com>
Martijn W. van der Lee <martijn@vanderlee.com>
Devin Wilson <dwilson6.github@gmail.com>
Steve Mao <maochenyan@gmail.com>
Zack Hall <zackhall@outlook.com>
Bernhard M. Wiedemann <jquerybmw@lsmod.de>
Todor Prikumov <tono_pr@abv.bg>
Jha Naman <createnaman@gmail.com>
William Robinet <william.robinet@conostix.com>
Alexander Lisianoi <all3fox@gmail.com>
Vitaliy Terziev <vitaliyterziev@gmail.com>
Joe Trumbull <trumbull.j@gmail.com>
Alexander K <xpyro@ya.ru>
Damian Senn <jquery@topaxi.codes>
Ralin Chimev <ralin.chimev@gmail.com>
Felipe Sateler <fsateler@gmail.com>
Christophe Tafani-Dereeper <christophetd@hotmail.fr>
Manoj Kumar <nithmanoj@gmail.com>
David Broder-Rodgers <broder93@gmail.com>
Alex Louden <alex@louden.com>
Alex Padilla <alexonezero@outlook.com>
南漂一卒 <shiy007@qq.com>
karan-96 <karanbatra96@gmail.com>

View File

@ -0,0 +1,36 @@
Copyright JS Foundation and other contributors, https://js.foundation/
This software consists of voluntary contributions made by many
individuals. For exact contribution history, see the revision history
available at https://github.com/jquery/jquery
The following license applies to all parts of this software except as
documented below:
====
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.
====
All files located in the node_modules and external directories are
externally maintained libraries used by this software which have their
own licenses; we recommend you read them, as their terms may differ from
the terms above.

View File

@ -0,0 +1,67 @@
# jQuery
> jQuery is a fast, small, and feature-rich JavaScript library.
For information on how to get started and how to use jQuery, please see [jQuery's documentation](http://api.jquery.com/).
For source files and issues, please visit the [jQuery repo](https://github.com/jquery/jquery).
If upgrading, please see the [blog post for 3.2.1](https://blog.jquery.com/2017/03/20/jquery-3-2-1-now-available/). This includes notable differences from the previous version and a more readable changelog.
## Including jQuery
Below are some of the most common ways to include jQuery.
### Browser
#### Script tag
```html
<script src="https://code.jquery.com/jquery-3.2.1.min.js"></script>
```
#### Babel
[Babel](http://babeljs.io/) is a next generation JavaScript compiler. One of the features is the ability to use ES6/ES2015 modules now, even though browsers do not yet support this feature natively.
```js
import $ from "jquery";
```
#### Browserify/Webpack
There are several ways to use [Browserify](http://browserify.org/) and [Webpack](https://webpack.github.io/). For more information on using these tools, please refer to the corresponding project's documention. In the script, including jQuery will usually look like this...
```js
var $ = require("jquery");
```
#### AMD (Asynchronous Module Definition)
AMD is a module format built for the browser. For more information, we recommend [require.js' documentation](http://requirejs.org/docs/whyamd.html).
```js
define(["jquery"], function($) {
});
```
### Node
To include jQuery in [Node](nodejs.org), first install with npm.
```sh
npm install jquery
```
For jQuery to work in Node, a window with a document is required. Since no such window exists natively in Node, one can be mocked by tools such as [jsdom](https://github.com/tmpvar/jsdom). This can be useful for testing purposes.
```js
require("jsdom").env("", function(err, window) {
if (err) {
console.error(err);
return;
}
var $ = require("jquery")(window);
});
```

View File

@ -0,0 +1,14 @@
{
"name": "jquery",
"main": "dist/jquery.js",
"license": "MIT",
"ignore": [
"package.json"
],
"keywords": [
"jquery",
"javascript",
"browser",
"library"
]
}

476
core/static/core/lib/jquery/dist/core.js vendored Normal file
View File

@ -0,0 +1,476 @@
/* global Symbol */
// Defining this global in .eslintrc.json would create a danger of using the global
// unguarded in another place, it seems safer to define global only for this module
define( [
"./var/arr",
"./var/document",
"./var/getProto",
"./var/slice",
"./var/concat",
"./var/push",
"./var/indexOf",
"./var/class2type",
"./var/toString",
"./var/hasOwn",
"./var/fnToString",
"./var/ObjectFunctionString",
"./var/support",
"./core/DOMEval"
], function( arr, document, getProto, slice, concat, push, indexOf,
class2type, toString, hasOwn, fnToString, ObjectFunctionString,
support, DOMEval ) {
"use strict";
var
version = "3.2.1",
// Define a local copy of jQuery
jQuery = function( selector, context ) {
// The jQuery object is actually just the init constructor 'enhanced'
// Need init if jQuery is called (just allow error to be thrown if not included)
return new jQuery.fn.init( selector, context );
},
// Support: Android <=4.0 only
// Make sure we trim BOM and NBSP
rtrim = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,
// Matches dashed string for camelizing
rmsPrefix = /^-ms-/,
rdashAlpha = /-([a-z])/g,
// Used by jQuery.camelCase as callback to replace()
fcamelCase = function( all, letter ) {
return letter.toUpperCase();
};
jQuery.fn = jQuery.prototype = {
// The current version of jQuery being used
jquery: version,
constructor: jQuery,
// The default length of a jQuery object is 0
length: 0,
toArray: function() {
return slice.call( this );
},
// Get the Nth element in the matched element set OR
// Get the whole matched element set as a clean array
get: function( num ) {
// Return all the elements in a clean array
if ( num == null ) {
return slice.call( this );
}
// Return just the one element from the set
return num < 0 ? this[ num + this.length ] : this[ num ];
},
// Take an array of elements and push it onto the stack
// (returning the new matched element set)
pushStack: function( elems ) {
// Build a new jQuery matched element set
var ret = jQuery.merge( this.constructor(), elems );
// Add the old object onto the stack (as a reference)
ret.prevObject = this;
// Return the newly-formed element set
return ret;
},
// Execute a callback for every element in the matched set.
each: function( callback ) {
return jQuery.each( this, callback );
},
map: function( callback ) {
return this.pushStack( jQuery.map( this, function( elem, i ) {
return callback.call( elem, i, elem );
} ) );
},
slice: function() {
return this.pushStack( slice.apply( this, arguments ) );
},
first: function() {
return this.eq( 0 );
},
last: function() {
return this.eq( -1 );
},
eq: function( i ) {
var len = this.length,
j = +i + ( i < 0 ? len : 0 );
return this.pushStack( j >= 0 && j < len ? [ this[ j ] ] : [] );
},
end: function() {
return this.prevObject || this.constructor();
},
// For internal use only.
// Behaves like an Array's method, not like a jQuery method.
push: push,
sort: arr.sort,
splice: arr.splice
};
jQuery.extend = jQuery.fn.extend = function() {
var options, name, src, copy, copyIsArray, clone,
target = arguments[ 0 ] || {},
i = 1,
length = arguments.length,
deep = false;
// Handle a deep copy situation
if ( typeof target === "boolean" ) {
deep = target;
// Skip the boolean and the target
target = arguments[ i ] || {};
i++;
}
// Handle case when target is a string or something (possible in deep copy)
if ( typeof target !== "object" && !jQuery.isFunction( target ) ) {
target = {};
}
// Extend jQuery itself if only one argument is passed
if ( i === length ) {
target = this;
i--;
}
for ( ; i < length; i++ ) {
// Only deal with non-null/undefined values
if ( ( options = arguments[ i ] ) != null ) {
// Extend the base object
for ( name in options ) {
src = target[ name ];
copy = options[ name ];
// Prevent never-ending loop
if ( target === copy ) {
continue;
}
// Recurse if we're merging plain objects or arrays
if ( deep && copy && ( jQuery.isPlainObject( copy ) ||
( copyIsArray = Array.isArray( copy ) ) ) ) {
if ( copyIsArray ) {
copyIsArray = false;
clone = src && Array.isArray( src ) ? src : [];
} else {
clone = src && jQuery.isPlainObject( src ) ? src : {};
}
// Never move original objects, clone them
target[ name ] = jQuery.extend( deep, clone, copy );
// Don't bring in undefined values
} else if ( copy !== undefined ) {
target[ name ] = copy;
}
}
}
}
// Return the modified object
return target;
};
jQuery.extend( {
// Unique for each copy of jQuery on the page
expando: "jQuery" + ( version + Math.random() ).replace( /\D/g, "" ),
// Assume jQuery is ready without the ready module
isReady: true,
error: function( msg ) {
throw new Error( msg );
},
noop: function() {},
isFunction: function( obj ) {
return jQuery.type( obj ) === "function";
},
isWindow: function( obj ) {
return obj != null && obj === obj.window;
},
isNumeric: function( obj ) {
// As of jQuery 3.0, isNumeric is limited to
// strings and numbers (primitives or objects)
// that can be coerced to finite numbers (gh-2662)
var type = jQuery.type( obj );
return ( type === "number" || type === "string" ) &&
// parseFloat NaNs numeric-cast false positives ("")
// ...but misinterprets leading-number strings, particularly hex literals ("0x...")
// subtraction forces infinities to NaN
!isNaN( obj - parseFloat( obj ) );
},
isPlainObject: function( obj ) {
var proto, Ctor;
// Detect obvious negatives
// Use toString instead of jQuery.type to catch host objects
if ( !obj || toString.call( obj ) !== "[object Object]" ) {
return false;
}
proto = getProto( obj );
// Objects with no prototype (e.g., `Object.create( null )`) are plain
if ( !proto ) {
return true;
}
// Objects with prototype are plain iff they were constructed by a global Object function
Ctor = hasOwn.call( proto, "constructor" ) && proto.constructor;
return typeof Ctor === "function" && fnToString.call( Ctor ) === ObjectFunctionString;
},
isEmptyObject: function( obj ) {
/* eslint-disable no-unused-vars */
// See https://github.com/eslint/eslint/issues/6125
var name;
for ( name in obj ) {
return false;
}
return true;
},
type: function( obj ) {
if ( obj == null ) {
return obj + "";
}
// Support: Android <=2.3 only (functionish RegExp)
return typeof obj === "object" || typeof obj === "function" ?
class2type[ toString.call( obj ) ] || "object" :
typeof obj;
},
// Evaluates a script in a global context
globalEval: function( code ) {
DOMEval( code );
},
// Convert dashed to camelCase; used by the css and data modules
// Support: IE <=9 - 11, Edge 12 - 13
// Microsoft forgot to hump their vendor prefix (#9572)
camelCase: function( string ) {
return string.replace( rmsPrefix, "ms-" ).replace( rdashAlpha, fcamelCase );
},
each: function( obj, callback ) {
var length, i = 0;
if ( isArrayLike( obj ) ) {
length = obj.length;
for ( ; i < length; i++ ) {
if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) {
break;
}
}
} else {
for ( i in obj ) {
if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) {
break;
}
}
}
return obj;
},
// Support: Android <=4.0 only
trim: function( text ) {
return text == null ?
"" :
( text + "" ).replace( rtrim, "" );
},
// results is for internal usage only
makeArray: function( arr, results ) {
var ret = results || [];
if ( arr != null ) {
if ( isArrayLike( Object( arr ) ) ) {
jQuery.merge( ret,
typeof arr === "string" ?
[ arr ] : arr
);
} else {
push.call( ret, arr );
}
}
return ret;
},
inArray: function( elem, arr, i ) {
return arr == null ? -1 : indexOf.call( arr, elem, i );
},
// Support: Android <=4.0 only, PhantomJS 1 only
// push.apply(_, arraylike) throws on ancient WebKit
merge: function( first, second ) {
var len = +second.length,
j = 0,
i = first.length;
for ( ; j < len; j++ ) {
first[ i++ ] = second[ j ];
}
first.length = i;
return first;
},
grep: function( elems, callback, invert ) {
var callbackInverse,
matches = [],
i = 0,
length = elems.length,
callbackExpect = !invert;
// Go through the array, only saving the items
// that pass the validator function
for ( ; i < length; i++ ) {
callbackInverse = !callback( elems[ i ], i );
if ( callbackInverse !== callbackExpect ) {
matches.push( elems[ i ] );
}
}
return matches;
},
// arg is for internal usage only
map: function( elems, callback, arg ) {
var length, value,
i = 0,
ret = [];
// Go through the array, translating each of the items to their new values
if ( isArrayLike( elems ) ) {
length = elems.length;
for ( ; i < length; i++ ) {
value = callback( elems[ i ], i, arg );
if ( value != null ) {
ret.push( value );
}
}
// Go through every key on the object,
} else {
for ( i in elems ) {
value = callback( elems[ i ], i, arg );
if ( value != null ) {
ret.push( value );
}
}
}
// Flatten any nested arrays
return concat.apply( [], ret );
},
// A global GUID counter for objects
guid: 1,
// Bind a function to a context, optionally partially applying any
// arguments.
proxy: function( fn, context ) {
var tmp, args, proxy;
if ( typeof context === "string" ) {
tmp = fn[ context ];
context = fn;
fn = tmp;
}
// Quick check to determine if target is callable, in the spec
// this throws a TypeError, but we will just return undefined.
if ( !jQuery.isFunction( fn ) ) {
return undefined;
}
// Simulated bind
args = slice.call( arguments, 2 );
proxy = function() {
return fn.apply( context || this, args.concat( slice.call( arguments ) ) );
};
// Set the guid of unique handler to the same of original handler, so it can be removed
proxy.guid = fn.guid = fn.guid || jQuery.guid++;
return proxy;
},
now: Date.now,
// jQuery.support is not used in Core but other projects attach their
// properties to it so it needs to exist.
support: support
} );
if ( typeof Symbol === "function" ) {
jQuery.fn[ Symbol.iterator ] = arr[ Symbol.iterator ];
}
// Populate the class2type map
jQuery.each( "Boolean Number String Function Array Date RegExp Object Error Symbol".split( " " ),
function( i, name ) {
class2type[ "[object " + name + "]" ] = name.toLowerCase();
} );
function isArrayLike( obj ) {
// Support: real iOS 8.2 only (not reproducible in simulator)
// `in` check used to prevent JIT error (gh-2145)
// hasOwn isn't used here due to false negatives
// regarding Nodelist length in IE
var length = !!obj && "length" in obj && obj.length,
type = jQuery.type( obj );
if ( type === "function" || jQuery.isWindow( obj ) ) {
return false;
}
return type === "array" || length === 0 ||
typeof length === "number" && length > 0 && ( length - 1 ) in obj;
}
return jQuery;
} );

10253
core/static/core/lib/jquery/dist/jquery.js vendored Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,36 @@
Copyright jQuery Foundation and other contributors, https://jquery.org/
This software consists of voluntary contributions made by many
individuals. For exact contribution history, see the revision history
available at https://github.com/jquery/sizzle
The following license applies to all parts of this software except as
documented below:
====
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.
====
All files located in the node_modules and external directories are
externally maintained libraries used by this software which have their
own licenses; we recommend you read them, as their terms may differ from
the terms above.

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,5 @@
{
"root": true,
"extends": "../.eslintrc-browser.json"
}

855
core/static/core/lib/jquery/src/ajax.js vendored Normal file
View File

@ -0,0 +1,855 @@
define( [
"./core",
"./var/document",
"./var/rnothtmlwhite",
"./ajax/var/location",
"./ajax/var/nonce",
"./ajax/var/rquery",
"./core/init",
"./ajax/parseXML",
"./event/trigger",
"./deferred",
"./serialize" // jQuery.param
], function( jQuery, document, rnothtmlwhite, location, nonce, rquery ) {
"use strict";
var
r20 = /%20/g,
rhash = /#.*$/,
rantiCache = /([?&])_=[^&]*/,
rheaders = /^(.*?):[ \t]*([^\r\n]*)$/mg,
// #7653, #8125, #8152: local protocol detection
rlocalProtocol = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/,
rnoContent = /^(?:GET|HEAD)$/,
rprotocol = /^\/\//,
/* Prefilters
* 1) They are useful to introduce custom dataTypes (see ajax/jsonp.js for an example)
* 2) These are called:
* - BEFORE asking for a transport
* - AFTER param serialization (s.data is a string if s.processData is true)
* 3) key is the dataType
* 4) the catchall symbol "*" can be used
* 5) execution will start with transport dataType and THEN continue down to "*" if needed
*/
prefilters = {},
/* Transports bindings
* 1) key is the dataType
* 2) the catchall symbol "*" can be used
* 3) selection will start with transport dataType and THEN go to "*" if needed
*/
transports = {},
// Avoid comment-prolog char sequence (#10098); must appease lint and evade compression
allTypes = "*/".concat( "*" ),
// Anchor tag for parsing the document origin
originAnchor = document.createElement( "a" );
originAnchor.href = location.href;
// Base "constructor" for jQuery.ajaxPrefilter and jQuery.ajaxTransport
function addToPrefiltersOrTransports( structure ) {
// dataTypeExpression is optional and defaults to "*"
return function( dataTypeExpression, func ) {
if ( typeof dataTypeExpression !== "string" ) {
func = dataTypeExpression;
dataTypeExpression = "*";
}
var dataType,
i = 0,
dataTypes = dataTypeExpression.toLowerCase().match( rnothtmlwhite ) || [];
if ( jQuery.isFunction( func ) ) {
// For each dataType in the dataTypeExpression
while ( ( dataType = dataTypes[ i++ ] ) ) {
// Prepend if requested
if ( dataType[ 0 ] === "+" ) {
dataType = dataType.slice( 1 ) || "*";
( structure[ dataType ] = structure[ dataType ] || [] ).unshift( func );
// Otherwise append
} else {
( structure[ dataType ] = structure[ dataType ] || [] ).push( func );
}
}
}
};
}
// Base inspection function for prefilters and transports
function inspectPrefiltersOrTransports( structure, options, originalOptions, jqXHR ) {
var inspected = {},
seekingTransport = ( structure === transports );
function inspect( dataType ) {
var selected;
inspected[ dataType ] = true;
jQuery.each( structure[ dataType ] || [], function( _, prefilterOrFactory ) {
var dataTypeOrTransport = prefilterOrFactory( options, originalOptions, jqXHR );
if ( typeof dataTypeOrTransport === "string" &&
!seekingTransport && !inspected[ dataTypeOrTransport ] ) {
options.dataTypes.unshift( dataTypeOrTransport );
inspect( dataTypeOrTransport );
return false;
} else if ( seekingTransport ) {
return !( selected = dataTypeOrTransport );
}
} );
return selected;
}
return inspect( options.dataTypes[ 0 ] ) || !inspected[ "*" ] && inspect( "*" );
}
// A special extend for ajax options
// that takes "flat" options (not to be deep extended)
// Fixes #9887
function ajaxExtend( target, src ) {
var key, deep,
flatOptions = jQuery.ajaxSettings.flatOptions || {};
for ( key in src ) {
if ( src[ key ] !== undefined ) {
( flatOptions[ key ] ? target : ( deep || ( deep = {} ) ) )[ key ] = src[ key ];
}
}
if ( deep ) {
jQuery.extend( true, target, deep );
}
return target;
}
/* Handles responses to an ajax request:
* - finds the right dataType (mediates between content-type and expected dataType)
* - returns the corresponding response
*/
function ajaxHandleResponses( s, jqXHR, responses ) {
var ct, type, finalDataType, firstDataType,
contents = s.contents,
dataTypes = s.dataTypes;
// Remove auto dataType and get content-type in the process
while ( dataTypes[ 0 ] === "*" ) {
dataTypes.shift();
if ( ct === undefined ) {
ct = s.mimeType || jqXHR.getResponseHeader( "Content-Type" );
}
}
// Check if we're dealing with a known content-type
if ( ct ) {
for ( type in contents ) {
if ( contents[ type ] && contents[ type ].test( ct ) ) {
dataTypes.unshift( type );
break;
}
}
}
// Check to see if we have a response for the expected dataType
if ( dataTypes[ 0 ] in responses ) {
finalDataType = dataTypes[ 0 ];
} else {
// Try convertible dataTypes
for ( type in responses ) {
if ( !dataTypes[ 0 ] || s.converters[ type + " " + dataTypes[ 0 ] ] ) {
finalDataType = type;
break;
}
if ( !firstDataType ) {
firstDataType = type;
}
}
// Or just use first one
finalDataType = finalDataType || firstDataType;
}
// If we found a dataType
// We add the dataType to the list if needed
// and return the corresponding response
if ( finalDataType ) {
if ( finalDataType !== dataTypes[ 0 ] ) {
dataTypes.unshift( finalDataType );
}
return responses[ finalDataType ];
}
}
/* Chain conversions given the request and the original response
* Also sets the responseXXX fields on the jqXHR instance
*/
function ajaxConvert( s, response, jqXHR, isSuccess ) {
var conv2, current, conv, tmp, prev,
converters = {},
// Work with a copy of dataTypes in case we need to modify it for conversion
dataTypes = s.dataTypes.slice();
// Create converters map with lowercased keys
if ( dataTypes[ 1 ] ) {
for ( conv in s.converters ) {
converters[ conv.toLowerCase() ] = s.converters[ conv ];
}
}
current = dataTypes.shift();
// Convert to each sequential dataType
while ( current ) {
if ( s.responseFields[ current ] ) {
jqXHR[ s.responseFields[ current ] ] = response;
}
// Apply the dataFilter if provided
if ( !prev && isSuccess && s.dataFilter ) {
response = s.dataFilter( response, s.dataType );
}
prev = current;
current = dataTypes.shift();
if ( current ) {
// There's only work to do if current dataType is non-auto
if ( current === "*" ) {
current = prev;
// Convert response if prev dataType is non-auto and differs from current
} else if ( prev !== "*" && prev !== current ) {
// Seek a direct converter
conv = converters[ prev + " " + current ] || converters[ "* " + current ];
// If none found, seek a pair
if ( !conv ) {
for ( conv2 in converters ) {
// If conv2 outputs current
tmp = conv2.split( " " );
if ( tmp[ 1 ] === current ) {
// If prev can be converted to accepted input
conv = converters[ prev + " " + tmp[ 0 ] ] ||
converters[ "* " + tmp[ 0 ] ];
if ( conv ) {
// Condense equivalence converters
if ( conv === true ) {
conv = converters[ conv2 ];
// Otherwise, insert the intermediate dataType
} else if ( converters[ conv2 ] !== true ) {
current = tmp[ 0 ];
dataTypes.unshift( tmp[ 1 ] );
}
break;
}
}
}
}
// Apply converter (if not an equivalence)
if ( conv !== true ) {
// Unless errors are allowed to bubble, catch and return them
if ( conv && s.throws ) {
response = conv( response );
} else {
try {
response = conv( response );
} catch ( e ) {
return {
state: "parsererror",
error: conv ? e : "No conversion from " + prev + " to " + current
};
}
}
}
}
}
}
return { state: "success", data: response };
}
jQuery.extend( {
// Counter for holding the number of active queries
active: 0,
// Last-Modified header cache for next request
lastModified: {},
etag: {},
ajaxSettings: {
url: location.href,
type: "GET",
isLocal: rlocalProtocol.test( location.protocol ),
global: true,
processData: true,
async: true,
contentType: "application/x-www-form-urlencoded; charset=UTF-8",
/*
timeout: 0,
data: null,
dataType: null,
username: null,
password: null,
cache: null,
throws: false,
traditional: false,
headers: {},
*/
accepts: {
"*": allTypes,
text: "text/plain",
html: "text/html",
xml: "application/xml, text/xml",
json: "application/json, text/javascript"
},
contents: {
xml: /\bxml\b/,
html: /\bhtml/,
json: /\bjson\b/
},
responseFields: {
xml: "responseXML",
text: "responseText",
json: "responseJSON"
},
// Data converters
// Keys separate source (or catchall "*") and destination types with a single space
converters: {
// Convert anything to text
"* text": String,
// Text to html (true = no transformation)
"text html": true,
// Evaluate text as a json expression
"text json": JSON.parse,
// Parse text as xml
"text xml": jQuery.parseXML
},
// For options that shouldn't be deep extended:
// you can add your own custom options here if
// and when you create one that shouldn't be
// deep extended (see ajaxExtend)
flatOptions: {
url: true,
context: true
}
},
// Creates a full fledged settings object into target
// with both ajaxSettings and settings fields.
// If target is omitted, writes into ajaxSettings.
ajaxSetup: function( target, settings ) {
return settings ?
// Building a settings object
ajaxExtend( ajaxExtend( target, jQuery.ajaxSettings ), settings ) :
// Extending ajaxSettings
ajaxExtend( jQuery.ajaxSettings, target );
},
ajaxPrefilter: addToPrefiltersOrTransports( prefilters ),
ajaxTransport: addToPrefiltersOrTransports( transports ),
// Main method
ajax: function( url, options ) {
// If url is an object, simulate pre-1.5 signature
if ( typeof url === "object" ) {
options = url;
url = undefined;
}
// Force options to be an object
options = options || {};
var transport,
// URL without anti-cache param
cacheURL,
// Response headers
responseHeadersString,
responseHeaders,
// timeout handle
timeoutTimer,
// Url cleanup var
urlAnchor,
// Request state (becomes false upon send and true upon completion)
completed,
// To know if global events are to be dispatched
fireGlobals,
// Loop variable
i,
// uncached part of the url
uncached,
// Create the final options object
s = jQuery.ajaxSetup( {}, options ),
// Callbacks context
callbackContext = s.context || s,
// Context for global events is callbackContext if it is a DOM node or jQuery collection
globalEventContext = s.context &&
( callbackContext.nodeType || callbackContext.jquery ) ?
jQuery( callbackContext ) :
jQuery.event,
// Deferreds
deferred = jQuery.Deferred(),
completeDeferred = jQuery.Callbacks( "once memory" ),
// Status-dependent callbacks
statusCode = s.statusCode || {},
// Headers (they are sent all at once)
requestHeaders = {},
requestHeadersNames = {},
// Default abort message
strAbort = "canceled",
// Fake xhr
jqXHR = {
readyState: 0,
// Builds headers hashtable if needed
getResponseHeader: function( key ) {
var match;
if ( completed ) {
if ( !responseHeaders ) {
responseHeaders = {};
while ( ( match = rheaders.exec( responseHeadersString ) ) ) {
responseHeaders[ match[ 1 ].toLowerCase() ] = match[ 2 ];
}
}
match = responseHeaders[ key.toLowerCase() ];
}
return match == null ? null : match;
},
// Raw string
getAllResponseHeaders: function() {
return completed ? responseHeadersString : null;
},
// Caches the header
setRequestHeader: function( name, value ) {
if ( completed == null ) {
name = requestHeadersNames[ name.toLowerCase() ] =
requestHeadersNames[ name.toLowerCase() ] || name;
requestHeaders[ name ] = value;
}
return this;
},
// Overrides response content-type header
overrideMimeType: function( type ) {
if ( completed == null ) {
s.mimeType = type;
}
return this;
},
// Status-dependent callbacks
statusCode: function( map ) {
var code;
if ( map ) {
if ( completed ) {
// Execute the appropriate callbacks
jqXHR.always( map[ jqXHR.status ] );
} else {
// Lazy-add the new callbacks in a way that preserves old ones
for ( code in map ) {
statusCode[ code ] = [ statusCode[ code ], map[ code ] ];
}
}
}
return this;
},
// Cancel the request
abort: function( statusText ) {
var finalText = statusText || strAbort;
if ( transport ) {
transport.abort( finalText );
}
done( 0, finalText );
return this;
}
};
// Attach deferreds
deferred.promise( jqXHR );
// Add protocol if not provided (prefilters might expect it)
// Handle falsy url in the settings object (#10093: consistency with old signature)
// We also use the url parameter if available
s.url = ( ( url || s.url || location.href ) + "" )
.replace( rprotocol, location.protocol + "//" );
// Alias method option to type as per ticket #12004
s.type = options.method || options.type || s.method || s.type;
// Extract dataTypes list
s.dataTypes = ( s.dataType || "*" ).toLowerCase().match( rnothtmlwhite ) || [ "" ];
// A cross-domain request is in order when the origin doesn't match the current origin.
if ( s.crossDomain == null ) {
urlAnchor = document.createElement( "a" );
// Support: IE <=8 - 11, Edge 12 - 13
// IE throws exception on accessing the href property if url is malformed,
// e.g. http://example.com:80x/
try {
urlAnchor.href = s.url;
// Support: IE <=8 - 11 only
// Anchor's host property isn't correctly set when s.url is relative
urlAnchor.href = urlAnchor.href;
s.crossDomain = originAnchor.protocol + "//" + originAnchor.host !==
urlAnchor.protocol + "//" + urlAnchor.host;
} catch ( e ) {
// If there is an error parsing the URL, assume it is crossDomain,
// it can be rejected by the transport if it is invalid
s.crossDomain = true;
}
}
// Convert data if not already a string
if ( s.data && s.processData && typeof s.data !== "string" ) {
s.data = jQuery.param( s.data, s.traditional );
}
// Apply prefilters
inspectPrefiltersOrTransports( prefilters, s, options, jqXHR );
// If request was aborted inside a prefilter, stop there
if ( completed ) {
return jqXHR;
}
// We can fire global events as of now if asked to
// Don't fire events if jQuery.event is undefined in an AMD-usage scenario (#15118)
fireGlobals = jQuery.event && s.global;
// Watch for a new set of requests
if ( fireGlobals && jQuery.active++ === 0 ) {
jQuery.event.trigger( "ajaxStart" );
}
// Uppercase the type
s.type = s.type.toUpperCase();
// Determine if request has content
s.hasContent = !rnoContent.test( s.type );
// Save the URL in case we're toying with the If-Modified-Since
// and/or If-None-Match header later on
// Remove hash to simplify url manipulation
cacheURL = s.url.replace( rhash, "" );
// More options handling for requests with no content
if ( !s.hasContent ) {
// Remember the hash so we can put it back
uncached = s.url.slice( cacheURL.length );
// If data is available, append data to url
if ( s.data ) {
cacheURL += ( rquery.test( cacheURL ) ? "&" : "?" ) + s.data;
// #9682: remove data so that it's not used in an eventual retry
delete s.data;
}
// Add or update anti-cache param if needed
if ( s.cache === false ) {
cacheURL = cacheURL.replace( rantiCache, "$1" );
uncached = ( rquery.test( cacheURL ) ? "&" : "?" ) + "_=" + ( nonce++ ) + uncached;
}
// Put hash and anti-cache on the URL that will be requested (gh-1732)
s.url = cacheURL + uncached;
// Change '%20' to '+' if this is encoded form body content (gh-2658)
} else if ( s.data && s.processData &&
( s.contentType || "" ).indexOf( "application/x-www-form-urlencoded" ) === 0 ) {
s.data = s.data.replace( r20, "+" );
}
// Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode.
if ( s.ifModified ) {
if ( jQuery.lastModified[ cacheURL ] ) {
jqXHR.setRequestHeader( "If-Modified-Since", jQuery.lastModified[ cacheURL ] );
}
if ( jQuery.etag[ cacheURL ] ) {
jqXHR.setRequestHeader( "If-None-Match", jQuery.etag[ cacheURL ] );
}
}
// Set the correct header, if data is being sent
if ( s.data && s.hasContent && s.contentType !== false || options.contentType ) {
jqXHR.setRequestHeader( "Content-Type", s.contentType );
}
// Set the Accepts header for the server, depending on the dataType
jqXHR.setRequestHeader(
"Accept",
s.dataTypes[ 0 ] && s.accepts[ s.dataTypes[ 0 ] ] ?
s.accepts[ s.dataTypes[ 0 ] ] +
( s.dataTypes[ 0 ] !== "*" ? ", " + allTypes + "; q=0.01" : "" ) :
s.accepts[ "*" ]
);
// Check for headers option
for ( i in s.headers ) {
jqXHR.setRequestHeader( i, s.headers[ i ] );
}
// Allow custom headers/mimetypes and early abort
if ( s.beforeSend &&
( s.beforeSend.call( callbackContext, jqXHR, s ) === false || completed ) ) {
// Abort if not done already and return
return jqXHR.abort();
}
// Aborting is no longer a cancellation
strAbort = "abort";
// Install callbacks on deferreds
completeDeferred.add( s.complete );
jqXHR.done( s.success );
jqXHR.fail( s.error );
// Get transport
transport = inspectPrefiltersOrTransports( transports, s, options, jqXHR );
// If no transport, we auto-abort
if ( !transport ) {
done( -1, "No Transport" );
} else {
jqXHR.readyState = 1;
// Send global event
if ( fireGlobals ) {
globalEventContext.trigger( "ajaxSend", [ jqXHR, s ] );
}
// If request was aborted inside ajaxSend, stop there
if ( completed ) {
return jqXHR;
}
// Timeout
if ( s.async && s.timeout > 0 ) {
timeoutTimer = window.setTimeout( function() {
jqXHR.abort( "timeout" );
}, s.timeout );
}
try {
completed = false;
transport.send( requestHeaders, done );
} catch ( e ) {
// Rethrow post-completion exceptions
if ( completed ) {
throw e;
}
// Propagate others as results
done( -1, e );
}
}
// Callback for when everything is done
function done( status, nativeStatusText, responses, headers ) {
var isSuccess, success, error, response, modified,
statusText = nativeStatusText;
// Ignore repeat invocations
if ( completed ) {
return;
}
completed = true;
// Clear timeout if it exists
if ( timeoutTimer ) {
window.clearTimeout( timeoutTimer );
}
// Dereference transport for early garbage collection
// (no matter how long the jqXHR object will be used)
transport = undefined;
// Cache response headers
responseHeadersString = headers || "";
// Set readyState
jqXHR.readyState = status > 0 ? 4 : 0;
// Determine if successful
isSuccess = status >= 200 && status < 300 || status === 304;
// Get response data
if ( responses ) {
response = ajaxHandleResponses( s, jqXHR, responses );
}
// Convert no matter what (that way responseXXX fields are always set)
response = ajaxConvert( s, response, jqXHR, isSuccess );
// If successful, handle type chaining
if ( isSuccess ) {
// Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode.
if ( s.ifModified ) {
modified = jqXHR.getResponseHeader( "Last-Modified" );
if ( modified ) {
jQuery.lastModified[ cacheURL ] = modified;
}
modified = jqXHR.getResponseHeader( "etag" );
if ( modified ) {
jQuery.etag[ cacheURL ] = modified;
}
}
// if no content
if ( status === 204 || s.type === "HEAD" ) {
statusText = "nocontent";
// if not modified
} else if ( status === 304 ) {
statusText = "notmodified";
// If we have data, let's convert it
} else {
statusText = response.state;
success = response.data;
error = response.error;
isSuccess = !error;
}
} else {
// Extract error from statusText and normalize for non-aborts
error = statusText;
if ( status || !statusText ) {
statusText = "error";
if ( status < 0 ) {
status = 0;
}
}
}
// Set data for the fake xhr object
jqXHR.status = status;
jqXHR.statusText = ( nativeStatusText || statusText ) + "";
// Success/Error
if ( isSuccess ) {
deferred.resolveWith( callbackContext, [ success, statusText, jqXHR ] );
} else {
deferred.rejectWith( callbackContext, [ jqXHR, statusText, error ] );
}
// Status-dependent callbacks
jqXHR.statusCode( statusCode );
statusCode = undefined;
if ( fireGlobals ) {
globalEventContext.trigger( isSuccess ? "ajaxSuccess" : "ajaxError",
[ jqXHR, s, isSuccess ? success : error ] );
}
// Complete
completeDeferred.fireWith( callbackContext, [ jqXHR, statusText ] );
if ( fireGlobals ) {
globalEventContext.trigger( "ajaxComplete", [ jqXHR, s ] );
// Handle the global AJAX counter
if ( !( --jQuery.active ) ) {
jQuery.event.trigger( "ajaxStop" );
}
}
}
return jqXHR;
},
getJSON: function( url, data, callback ) {
return jQuery.get( url, data, callback, "json" );
},
getScript: function( url, callback ) {
return jQuery.get( url, undefined, callback, "script" );
}
} );
jQuery.each( [ "get", "post" ], function( i, method ) {
jQuery[ method ] = function( url, data, callback, type ) {
// Shift arguments if data argument was omitted
if ( jQuery.isFunction( data ) ) {
type = type || callback;
callback = data;
data = undefined;
}
// The url can be an options object (which then must have .url)
return jQuery.ajax( jQuery.extend( {
url: url,
type: method,
dataType: type,
data: data,
success: callback
}, jQuery.isPlainObject( url ) && url ) );
};
} );
return jQuery;
} );

View File

@ -0,0 +1,102 @@
define( [
"../core",
"./var/nonce",
"./var/rquery",
"../ajax"
], function( jQuery, nonce, rquery ) {
"use strict";
var oldCallbacks = [],
rjsonp = /(=)\?(?=&|$)|\?\?/;
// Default jsonp settings
jQuery.ajaxSetup( {
jsonp: "callback",
jsonpCallback: function() {
var callback = oldCallbacks.pop() || ( jQuery.expando + "_" + ( nonce++ ) );
this[ callback ] = true;
return callback;
}
} );
// Detect, normalize options and install callbacks for jsonp requests
jQuery.ajaxPrefilter( "json jsonp", function( s, originalSettings, jqXHR ) {
var callbackName, overwritten, responseContainer,
jsonProp = s.jsonp !== false && ( rjsonp.test( s.url ) ?
"url" :
typeof s.data === "string" &&
( s.contentType || "" )
.indexOf( "application/x-www-form-urlencoded" ) === 0 &&
rjsonp.test( s.data ) && "data"
);
// Handle iff the expected data type is "jsonp" or we have a parameter to set
if ( jsonProp || s.dataTypes[ 0 ] === "jsonp" ) {
// Get callback name, remembering preexisting value associated with it
callbackName = s.jsonpCallback = jQuery.isFunction( s.jsonpCallback ) ?
s.jsonpCallback() :
s.jsonpCallback;
// Insert callback into url or form data
if ( jsonProp ) {
s[ jsonProp ] = s[ jsonProp ].replace( rjsonp, "$1" + callbackName );
} else if ( s.jsonp !== false ) {
s.url += ( rquery.test( s.url ) ? "&" : "?" ) + s.jsonp + "=" + callbackName;
}
// Use data converter to retrieve json after script execution
s.converters[ "script json" ] = function() {
if ( !responseContainer ) {
jQuery.error( callbackName + " was not called" );
}
return responseContainer[ 0 ];
};
// Force json dataType
s.dataTypes[ 0 ] = "json";
// Install callback
overwritten = window[ callbackName ];
window[ callbackName ] = function() {
responseContainer = arguments;
};
// Clean-up function (fires after converters)
jqXHR.always( function() {
// If previous value didn't exist - remove it
if ( overwritten === undefined ) {
jQuery( window ).removeProp( callbackName );
// Otherwise restore preexisting value
} else {
window[ callbackName ] = overwritten;
}
// Save back as free
if ( s[ callbackName ] ) {
// Make sure that re-using the options doesn't screw things around
s.jsonpCallback = originalSettings.jsonpCallback;
// Save the callback name for future use
oldCallbacks.push( callbackName );
}
// Call if it was a function and we have a response
if ( responseContainer && jQuery.isFunction( overwritten ) ) {
overwritten( responseContainer[ 0 ] );
}
responseContainer = overwritten = undefined;
} );
// Delegate to script
return "script";
}
} );
} );

View File

@ -0,0 +1,76 @@
define( [
"../core",
"../core/stripAndCollapse",
"../core/parseHTML",
"../ajax",
"../traversing",
"../manipulation",
"../selector"
], function( jQuery, stripAndCollapse ) {
"use strict";
/**
* Load a url into a page
*/
jQuery.fn.load = function( url, params, callback ) {
var selector, type, response,
self = this,
off = url.indexOf( " " );
if ( off > -1 ) {
selector = stripAndCollapse( url.slice( off ) );
url = url.slice( 0, off );
}
// If it's a function
if ( jQuery.isFunction( params ) ) {
// We assume that it's the callback
callback = params;
params = undefined;
// Otherwise, build a param string
} else if ( params && typeof params === "object" ) {
type = "POST";
}
// If we have elements to modify, make the request
if ( self.length > 0 ) {
jQuery.ajax( {
url: url,
// If "type" variable is undefined, then "GET" method will be used.
// Make value of this field explicit since
// user can override it through ajaxSetup method
type: type || "GET",
dataType: "html",
data: params
} ).done( function( responseText ) {
// Save response for use in complete callback
response = arguments;
self.html( selector ?
// If a selector was specified, locate the right elements in a dummy div
// Exclude scripts to avoid IE 'Permission Denied' errors
jQuery( "<div>" ).append( jQuery.parseHTML( responseText ) ).find( selector ) :
// Otherwise use the full result
responseText );
// If the request succeeds, this function gets "data", "status", "jqXHR"
// but they are ignored because response was set above.
// If it fails, this function gets "jqXHR", "status", "error"
} ).always( callback && function( jqXHR, status ) {
self.each( function() {
callback.apply( this, response || [ jqXHR.responseText, status, jqXHR ] );
} );
} );
}
return this;
};
} );

View File

@ -0,0 +1,30 @@
define( [
"../core"
], function( jQuery ) {
"use strict";
// Cross-browser xml parsing
jQuery.parseXML = function( data ) {
var xml;
if ( !data || typeof data !== "string" ) {
return null;
}
// Support: IE 9 - 11 only
// IE throws on parseFromString with invalid input.
try {
xml = ( new window.DOMParser() ).parseFromString( data, "text/xml" );
} catch ( e ) {
xml = undefined;
}
if ( !xml || xml.getElementsByTagName( "parsererror" ).length ) {
jQuery.error( "Invalid XML: " + data );
}
return xml;
};
return jQuery.parseXML;
} );

View File

@ -0,0 +1,77 @@
define( [
"../core",
"../var/document",
"../ajax"
], function( jQuery, document ) {
"use strict";
// Prevent auto-execution of scripts when no explicit dataType was provided (See gh-2432)
jQuery.ajaxPrefilter( function( s ) {
if ( s.crossDomain ) {
s.contents.script = false;
}
} );
// Install script dataType
jQuery.ajaxSetup( {
accepts: {
script: "text/javascript, application/javascript, " +
"application/ecmascript, application/x-ecmascript"
},
contents: {
script: /\b(?:java|ecma)script\b/
},
converters: {
"text script": function( text ) {
jQuery.globalEval( text );
return text;
}
}
} );
// Handle cache's special case and crossDomain
jQuery.ajaxPrefilter( "script", function( s ) {
if ( s.cache === undefined ) {
s.cache = false;
}
if ( s.crossDomain ) {
s.type = "GET";
}
} );
// Bind script tag hack transport
jQuery.ajaxTransport( "script", function( s ) {
// This transport only deals with cross domain requests
if ( s.crossDomain ) {
var script, callback;
return {
send: function( _, complete ) {
script = jQuery( "<script>" ).prop( {
charset: s.scriptCharset,
src: s.url
} ).on(
"load error",
callback = function( evt ) {
script.remove();
callback = null;
if ( evt ) {
complete( evt.type === "error" ? 404 : 200, evt.type );
}
}
);
// Use native DOM manipulation to avoid our domManip AJAX trickery
document.head.appendChild( script[ 0 ] );
},
abort: function() {
if ( callback ) {
callback();
}
}
};
}
} );
} );

View File

@ -0,0 +1,5 @@
define( function() {
"use strict";
return window.location;
} );

View File

@ -0,0 +1,7 @@
define( [
"../../core"
], function( jQuery ) {
"use strict";
return jQuery.now();
} );

View File

@ -0,0 +1,5 @@
define( function() {
"use strict";
return ( /\?/ );
} );

View File

@ -0,0 +1,169 @@
define( [
"../core",
"../var/support",
"../ajax"
], function( jQuery, support ) {
"use strict";
jQuery.ajaxSettings.xhr = function() {
try {
return new window.XMLHttpRequest();
} catch ( e ) {}
};
var xhrSuccessStatus = {
// File protocol always yields status code 0, assume 200
0: 200,
// Support: IE <=9 only
// #1450: sometimes IE returns 1223 when it should be 204
1223: 204
},
xhrSupported = jQuery.ajaxSettings.xhr();
support.cors = !!xhrSupported && ( "withCredentials" in xhrSupported );
support.ajax = xhrSupported = !!xhrSupported;
jQuery.ajaxTransport( function( options ) {
var callback, errorCallback;
// Cross domain only allowed if supported through XMLHttpRequest
if ( support.cors || xhrSupported && !options.crossDomain ) {
return {
send: function( headers, complete ) {
var i,
xhr = options.xhr();
xhr.open(
options.type,
options.url,
options.async,
options.username,
options.password
);
// Apply custom fields if provided
if ( options.xhrFields ) {
for ( i in options.xhrFields ) {
xhr[ i ] = options.xhrFields[ i ];
}
}
// Override mime type if needed
if ( options.mimeType && xhr.overrideMimeType ) {
xhr.overrideMimeType( options.mimeType );
}
// X-Requested-With header
// For cross-domain requests, seeing as conditions for a preflight are
// akin to a jigsaw puzzle, we simply never set it to be sure.
// (it can always be set on a per-request basis or even using ajaxSetup)
// For same-domain requests, won't change header if already provided.
if ( !options.crossDomain && !headers[ "X-Requested-With" ] ) {
headers[ "X-Requested-With" ] = "XMLHttpRequest";
}
// Set headers
for ( i in headers ) {
xhr.setRequestHeader( i, headers[ i ] );
}
// Callback
callback = function( type ) {
return function() {
if ( callback ) {
callback = errorCallback = xhr.onload =
xhr.onerror = xhr.onabort = xhr.onreadystatechange = null;
if ( type === "abort" ) {
xhr.abort();
} else if ( type === "error" ) {
// Support: IE <=9 only
// On a manual native abort, IE9 throws
// errors on any property access that is not readyState
if ( typeof xhr.status !== "number" ) {
complete( 0, "error" );
} else {
complete(
// File: protocol always yields status 0; see #8605, #14207
xhr.status,
xhr.statusText
);
}
} else {
complete(
xhrSuccessStatus[ xhr.status ] || xhr.status,
xhr.statusText,
// Support: IE <=9 only
// IE9 has no XHR2 but throws on binary (trac-11426)
// For XHR2 non-text, let the caller handle it (gh-2498)
( xhr.responseType || "text" ) !== "text" ||
typeof xhr.responseText !== "string" ?
{ binary: xhr.response } :
{ text: xhr.responseText },
xhr.getAllResponseHeaders()
);
}
}
};
};
// Listen to events
xhr.onload = callback();
errorCallback = xhr.onerror = callback( "error" );
// Support: IE 9 only
// Use onreadystatechange to replace onabort
// to handle uncaught aborts
if ( xhr.onabort !== undefined ) {
xhr.onabort = errorCallback;
} else {
xhr.onreadystatechange = function() {
// Check readyState before timeout as it changes
if ( xhr.readyState === 4 ) {
// Allow onerror to be called first,
// but that will not handle a native abort
// Also, save errorCallback to a variable
// as xhr.onerror cannot be accessed
window.setTimeout( function() {
if ( callback ) {
errorCallback();
}
} );
}
};
}
// Create the abort callback
callback = callback( "abort" );
try {
// Do send the request (this may raise an exception)
xhr.send( options.hasContent && options.data || null );
} catch ( e ) {
// #14683: Only rethrow if this hasn't been notified as an error yet
if ( callback ) {
throw e;
}
}
},
abort: function() {
if ( callback ) {
callback();
}
}
};
}
} );
} );

View File

@ -0,0 +1,13 @@
define( [
"./core",
"./attributes/attr",
"./attributes/prop",
"./attributes/classes",
"./attributes/val"
], function( jQuery ) {
"use strict";
// Return jQuery for attributes-only inclusion
return jQuery;
} );

View File

@ -0,0 +1,141 @@
define( [
"../core",
"../core/access",
"../core/nodeName",
"./support",
"../var/rnothtmlwhite",
"../selector"
], function( jQuery, access, nodeName, support, rnothtmlwhite ) {
"use strict";
var boolHook,
attrHandle = jQuery.expr.attrHandle;
jQuery.fn.extend( {
attr: function( name, value ) {
return access( this, jQuery.attr, name, value, arguments.length > 1 );
},
removeAttr: function( name ) {
return this.each( function() {
jQuery.removeAttr( this, name );
} );
}
} );
jQuery.extend( {
attr: function( elem, name, value ) {
var ret, hooks,
nType = elem.nodeType;
// Don't get/set attributes on text, comment and attribute nodes
if ( nType === 3 || nType === 8 || nType === 2 ) {
return;
}
// Fallback to prop when attributes are not supported
if ( typeof elem.getAttribute === "undefined" ) {
return jQuery.prop( elem, name, value );
}
// Attribute hooks are determined by the lowercase version
// Grab necessary hook if one is defined
if ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) {
hooks = jQuery.attrHooks[ name.toLowerCase() ] ||
( jQuery.expr.match.bool.test( name ) ? boolHook : undefined );
}
if ( value !== undefined ) {
if ( value === null ) {
jQuery.removeAttr( elem, name );
return;
}
if ( hooks && "set" in hooks &&
( ret = hooks.set( elem, value, name ) ) !== undefined ) {
return ret;
}
elem.setAttribute( name, value + "" );
return value;
}
if ( hooks && "get" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) {
return ret;
}
ret = jQuery.find.attr( elem, name );
// Non-existent attributes return null, we normalize to undefined
return ret == null ? undefined : ret;
},
attrHooks: {
type: {
set: function( elem, value ) {
if ( !support.radioValue && value === "radio" &&
nodeName( elem, "input" ) ) {
var val = elem.value;
elem.setAttribute( "type", value );
if ( val ) {
elem.value = val;
}
return value;
}
}
}
},
removeAttr: function( elem, value ) {
var name,
i = 0,
// Attribute names can contain non-HTML whitespace characters
// https://html.spec.whatwg.org/multipage/syntax.html#attributes-2
attrNames = value && value.match( rnothtmlwhite );
if ( attrNames && elem.nodeType === 1 ) {
while ( ( name = attrNames[ i++ ] ) ) {
elem.removeAttribute( name );
}
}
}
} );
// Hooks for boolean attributes
boolHook = {
set: function( elem, value, name ) {
if ( value === false ) {
// Remove boolean attributes when set to false
jQuery.removeAttr( elem, name );
} else {
elem.setAttribute( name, name );
}
return name;
}
};
jQuery.each( jQuery.expr.match.bool.source.match( /\w+/g ), function( i, name ) {
var getter = attrHandle[ name ] || jQuery.find.attr;
attrHandle[ name ] = function( elem, name, isXML ) {
var ret, handle,
lowercaseName = name.toLowerCase();
if ( !isXML ) {
// Avoid an infinite loop by temporarily removing this function from the getter
handle = attrHandle[ lowercaseName ];
attrHandle[ lowercaseName ] = ret;
ret = getter( elem, name, isXML ) != null ?
lowercaseName :
null;
attrHandle[ lowercaseName ] = handle;
}
return ret;
};
} );
} );

View File

@ -0,0 +1,174 @@
define( [
"../core",
"../core/stripAndCollapse",
"../var/rnothtmlwhite",
"../data/var/dataPriv",
"../core/init"
], function( jQuery, stripAndCollapse, rnothtmlwhite, dataPriv ) {
"use strict";
function getClass( elem ) {
return elem.getAttribute && elem.getAttribute( "class" ) || "";
}
jQuery.fn.extend( {
addClass: function( value ) {
var classes, elem, cur, curValue, clazz, j, finalValue,
i = 0;
if ( jQuery.isFunction( value ) ) {
return this.each( function( j ) {
jQuery( this ).addClass( value.call( this, j, getClass( this ) ) );
} );
}
if ( typeof value === "string" && value ) {
classes = value.match( rnothtmlwhite ) || [];
while ( ( elem = this[ i++ ] ) ) {
curValue = getClass( elem );
cur = elem.nodeType === 1 && ( " " + stripAndCollapse( curValue ) + " " );
if ( cur ) {
j = 0;
while ( ( clazz = classes[ j++ ] ) ) {
if ( cur.indexOf( " " + clazz + " " ) < 0 ) {
cur += clazz + " ";
}
}
// Only assign if different to avoid unneeded rendering.
finalValue = stripAndCollapse( cur );
if ( curValue !== finalValue ) {
elem.setAttribute( "class", finalValue );
}
}
}
}
return this;
},
removeClass: function( value ) {
var classes, elem, cur, curValue, clazz, j, finalValue,
i = 0;
if ( jQuery.isFunction( value ) ) {
return this.each( function( j ) {
jQuery( this ).removeClass( value.call( this, j, getClass( this ) ) );
} );
}
if ( !arguments.length ) {
return this.attr( "class", "" );
}
if ( typeof value === "string" && value ) {
classes = value.match( rnothtmlwhite ) || [];
while ( ( elem = this[ i++ ] ) ) {
curValue = getClass( elem );
// This expression is here for better compressibility (see addClass)
cur = elem.nodeType === 1 && ( " " + stripAndCollapse( curValue ) + " " );
if ( cur ) {
j = 0;
while ( ( clazz = classes[ j++ ] ) ) {
// Remove *all* instances
while ( cur.indexOf( " " + clazz + " " ) > -1 ) {
cur = cur.replace( " " + clazz + " ", " " );
}
}
// Only assign if different to avoid unneeded rendering.
finalValue = stripAndCollapse( cur );
if ( curValue !== finalValue ) {
elem.setAttribute( "class", finalValue );
}
}
}
}
return this;
},
toggleClass: function( value, stateVal ) {
var type = typeof value;
if ( typeof stateVal === "boolean" && type === "string" ) {
return stateVal ? this.addClass( value ) : this.removeClass( value );
}
if ( jQuery.isFunction( value ) ) {
return this.each( function( i ) {
jQuery( this ).toggleClass(
value.call( this, i, getClass( this ), stateVal ),
stateVal
);
} );
}
return this.each( function() {
var className, i, self, classNames;
if ( type === "string" ) {
// Toggle individual class names
i = 0;
self = jQuery( this );
classNames = value.match( rnothtmlwhite ) || [];
while ( ( className = classNames[ i++ ] ) ) {
// Check each className given, space separated list
if ( self.hasClass( className ) ) {
self.removeClass( className );
} else {
self.addClass( className );
}
}
// Toggle whole class name
} else if ( value === undefined || type === "boolean" ) {
className = getClass( this );
if ( className ) {
// Store className if set
dataPriv.set( this, "__className__", className );
}
// If the element has a class name or if we're passed `false`,
// then remove the whole classname (if there was one, the above saved it).
// Otherwise bring back whatever was previously saved (if anything),
// falling back to the empty string if nothing was stored.
if ( this.setAttribute ) {
this.setAttribute( "class",
className || value === false ?
"" :
dataPriv.get( this, "__className__" ) || ""
);
}
}
} );
},
hasClass: function( selector ) {
var className, elem,
i = 0;
className = " " + selector + " ";
while ( ( elem = this[ i++ ] ) ) {
if ( elem.nodeType === 1 &&
( " " + stripAndCollapse( getClass( elem ) ) + " " ).indexOf( className ) > -1 ) {
return true;
}
}
return false;
}
} );
} );

View File

@ -0,0 +1,143 @@
define( [
"../core",
"../core/access",
"./support",
"../selector"
], function( jQuery, access, support ) {
"use strict";
var rfocusable = /^(?:input|select|textarea|button)$/i,
rclickable = /^(?:a|area)$/i;
jQuery.fn.extend( {
prop: function( name, value ) {
return access( this, jQuery.prop, name, value, arguments.length > 1 );
},
removeProp: function( name ) {
return this.each( function() {
delete this[ jQuery.propFix[ name ] || name ];
} );
}
} );
jQuery.extend( {
prop: function( elem, name, value ) {
var ret, hooks,
nType = elem.nodeType;
// Don't get/set properties on text, comment and attribute nodes
if ( nType === 3 || nType === 8 || nType === 2 ) {
return;
}
if ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) {
// Fix name and attach hooks
name = jQuery.propFix[ name ] || name;
hooks = jQuery.propHooks[ name ];
}
if ( value !== undefined ) {
if ( hooks && "set" in hooks &&
( ret = hooks.set( elem, value, name ) ) !== undefined ) {
return ret;
}
return ( elem[ name ] = value );
}
if ( hooks && "get" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) {
return ret;
}
return elem[ name ];
},
propHooks: {
tabIndex: {
get: function( elem ) {
// Support: IE <=9 - 11 only
// elem.tabIndex doesn't always return the
// correct value when it hasn't been explicitly set
// https://web.archive.org/web/20141116233347/http://fluidproject.org/blog/2008/01/09/getting-setting-and-removing-tabindex-values-with-javascript/
// Use proper attribute retrieval(#12072)
var tabindex = jQuery.find.attr( elem, "tabindex" );
if ( tabindex ) {
return parseInt( tabindex, 10 );
}
if (
rfocusable.test( elem.nodeName ) ||
rclickable.test( elem.nodeName ) &&
elem.href
) {
return 0;
}
return -1;
}
}
},
propFix: {
"for": "htmlFor",
"class": "className"
}
} );
// Support: IE <=11 only
// Accessing the selectedIndex property
// forces the browser to respect setting selected
// on the option
// The getter ensures a default option is selected
// when in an optgroup
// eslint rule "no-unused-expressions" is disabled for this code
// since it considers such accessions noop
if ( !support.optSelected ) {
jQuery.propHooks.selected = {
get: function( elem ) {
/* eslint no-unused-expressions: "off" */
var parent = elem.parentNode;
if ( parent && parent.parentNode ) {
parent.parentNode.selectedIndex;
}
return null;
},
set: function( elem ) {
/* eslint no-unused-expressions: "off" */
var parent = elem.parentNode;
if ( parent ) {
parent.selectedIndex;
if ( parent.parentNode ) {
parent.parentNode.selectedIndex;
}
}
}
};
}
jQuery.each( [
"tabIndex",
"readOnly",
"maxLength",
"cellSpacing",
"cellPadding",
"rowSpan",
"colSpan",
"useMap",
"frameBorder",
"contentEditable"
], function() {
jQuery.propFix[ this.toLowerCase() ] = this;
} );
} );

View File

@ -0,0 +1,33 @@
define( [
"../var/document",
"../var/support"
], function( document, support ) {
"use strict";
( function() {
var input = document.createElement( "input" ),
select = document.createElement( "select" ),
opt = select.appendChild( document.createElement( "option" ) );
input.type = "checkbox";
// Support: Android <=4.3 only
// Default value for a checkbox should be "on"
support.checkOn = input.value !== "";
// Support: IE <=11 only
// Must access selectedIndex to make default options select
support.optSelected = opt.selected;
// Support: IE <=11 only
// An input loses its value after becoming a radio
input = document.createElement( "input" );
input.value = "t";
input.type = "radio";
support.radioValue = input.value === "t";
} )();
return support;
} );

View File

@ -0,0 +1,190 @@
define( [
"../core",
"../core/stripAndCollapse",
"./support",
"../core/nodeName",
"../core/init"
], function( jQuery, stripAndCollapse, support, nodeName ) {
"use strict";
var rreturn = /\r/g;
jQuery.fn.extend( {
val: function( value ) {
var hooks, ret, isFunction,
elem = this[ 0 ];
if ( !arguments.length ) {
if ( elem ) {
hooks = jQuery.valHooks[ elem.type ] ||
jQuery.valHooks[ elem.nodeName.toLowerCase() ];
if ( hooks &&
"get" in hooks &&
( ret = hooks.get( elem, "value" ) ) !== undefined
) {
return ret;
}
ret = elem.value;
// Handle most common string cases
if ( typeof ret === "string" ) {
return ret.replace( rreturn, "" );
}
// Handle cases where value is null/undef or number
return ret == null ? "" : ret;
}
return;
}
isFunction = jQuery.isFunction( value );
return this.each( function( i ) {
var val;
if ( this.nodeType !== 1 ) {
return;
}
if ( isFunction ) {
val = value.call( this, i, jQuery( this ).val() );
} else {
val = value;
}
// Treat null/undefined as ""; convert numbers to string
if ( val == null ) {
val = "";
} else if ( typeof val === "number" ) {
val += "";
} else if ( Array.isArray( val ) ) {
val = jQuery.map( val, function( value ) {
return value == null ? "" : value + "";
} );
}
hooks = jQuery.valHooks[ this.type ] || jQuery.valHooks[ this.nodeName.toLowerCase() ];
// If set returns undefined, fall back to normal setting
if ( !hooks || !( "set" in hooks ) || hooks.set( this, val, "value" ) === undefined ) {
this.value = val;
}
} );
}
} );
jQuery.extend( {
valHooks: {
option: {
get: function( elem ) {
var val = jQuery.find.attr( elem, "value" );
return val != null ?
val :
// Support: IE <=10 - 11 only
// option.text throws exceptions (#14686, #14858)
// Strip and collapse whitespace
// https://html.spec.whatwg.org/#strip-and-collapse-whitespace
stripAndCollapse( jQuery.text( elem ) );
}
},
select: {
get: function( elem ) {
var value, option, i,
options = elem.options,
index = elem.selectedIndex,
one = elem.type === "select-one",
values = one ? null : [],
max = one ? index + 1 : options.length;
if ( index < 0 ) {
i = max;
} else {
i = one ? index : 0;
}
// Loop through all the selected options
for ( ; i < max; i++ ) {
option = options[ i ];
// Support: IE <=9 only
// IE8-9 doesn't update selected after form reset (#2551)
if ( ( option.selected || i === index ) &&
// Don't return options that are disabled or in a disabled optgroup
!option.disabled &&
( !option.parentNode.disabled ||
!nodeName( option.parentNode, "optgroup" ) ) ) {
// Get the specific value for the option
value = jQuery( option ).val();
// We don't need an array for one selects
if ( one ) {
return value;
}
// Multi-Selects return an array
values.push( value );
}
}
return values;
},
set: function( elem, value ) {
var optionSet, option,
options = elem.options,
values = jQuery.makeArray( value ),
i = options.length;
while ( i-- ) {
option = options[ i ];
/* eslint-disable no-cond-assign */
if ( option.selected =
jQuery.inArray( jQuery.valHooks.option.get( option ), values ) > -1
) {
optionSet = true;
}
/* eslint-enable no-cond-assign */
}
// Force browsers to behave consistently when non-matching value is set
if ( !optionSet ) {
elem.selectedIndex = -1;
}
return values;
}
}
}
} );
// Radios and checkboxes getter/setter
jQuery.each( [ "radio", "checkbox" ], function() {
jQuery.valHooks[ this ] = {
set: function( elem, value ) {
if ( Array.isArray( value ) ) {
return ( elem.checked = jQuery.inArray( jQuery( elem ).val(), value ) > -1 );
}
}
};
if ( !support.checkOn ) {
jQuery.valHooks[ this ].get = function( elem ) {
return elem.getAttribute( "value" ) === null ? "on" : elem.value;
};
}
} );
} );

View File

@ -0,0 +1,234 @@
define( [
"./core",
"./var/rnothtmlwhite"
], function( jQuery, rnothtmlwhite ) {
"use strict";
// Convert String-formatted options into Object-formatted ones
function createOptions( options ) {
var object = {};
jQuery.each( options.match( rnothtmlwhite ) || [], function( _, flag ) {
object[ flag ] = true;
} );
return object;
}
/*
* Create a callback list using the following parameters:
*
* options: an optional list of space-separated options that will change how
* the callback list behaves or a more traditional option object
*
* By default a callback list will act like an event callback list and can be
* "fired" multiple times.
*
* Possible options:
*
* once: will ensure the callback list can only be fired once (like a Deferred)
*
* memory: will keep track of previous values and will call any callback added
* after the list has been fired right away with the latest "memorized"
* values (like a Deferred)
*
* unique: will ensure a callback can only be added once (no duplicate in the list)
*
* stopOnFalse: interrupt callings when a callback returns false
*
*/
jQuery.Callbacks = function( options ) {
// Convert options from String-formatted to Object-formatted if needed
// (we check in cache first)
options = typeof options === "string" ?
createOptions( options ) :
jQuery.extend( {}, options );
var // Flag to know if list is currently firing
firing,
// Last fire value for non-forgettable lists
memory,
// Flag to know if list was already fired
fired,
// Flag to prevent firing
locked,
// Actual callback list
list = [],
// Queue of execution data for repeatable lists
queue = [],
// Index of currently firing callback (modified by add/remove as needed)
firingIndex = -1,
// Fire callbacks
fire = function() {
// Enforce single-firing
locked = locked || options.once;
// Execute callbacks for all pending executions,
// respecting firingIndex overrides and runtime changes
fired = firing = true;
for ( ; queue.length; firingIndex = -1 ) {
memory = queue.shift();
while ( ++firingIndex < list.length ) {
// Run callback and check for early termination
if ( list[ firingIndex ].apply( memory[ 0 ], memory[ 1 ] ) === false &&
options.stopOnFalse ) {
// Jump to end and forget the data so .add doesn't re-fire
firingIndex = list.length;
memory = false;
}
}
}
// Forget the data if we're done with it
if ( !options.memory ) {
memory = false;
}
firing = false;
// Clean up if we're done firing for good
if ( locked ) {
// Keep an empty list if we have data for future add calls
if ( memory ) {
list = [];
// Otherwise, this object is spent
} else {
list = "";
}
}
},
// Actual Callbacks object
self = {
// Add a callback or a collection of callbacks to the list
add: function() {
if ( list ) {
// If we have memory from a past run, we should fire after adding
if ( memory && !firing ) {
firingIndex = list.length - 1;
queue.push( memory );
}
( function add( args ) {
jQuery.each( args, function( _, arg ) {
if ( jQuery.isFunction( arg ) ) {
if ( !options.unique || !self.has( arg ) ) {
list.push( arg );
}
} else if ( arg && arg.length && jQuery.type( arg ) !== "string" ) {
// Inspect recursively
add( arg );
}
} );
} )( arguments );
if ( memory && !firing ) {
fire();
}
}
return this;
},
// Remove a callback from the list
remove: function() {
jQuery.each( arguments, function( _, arg ) {
var index;
while ( ( index = jQuery.inArray( arg, list, index ) ) > -1 ) {
list.splice( index, 1 );
// Handle firing indexes
if ( index <= firingIndex ) {
firingIndex--;
}
}
} );
return this;
},
// Check if a given callback is in the list.
// If no argument is given, return whether or not list has callbacks attached.
has: function( fn ) {
return fn ?
jQuery.inArray( fn, list ) > -1 :
list.length > 0;
},
// Remove all callbacks from the list
empty: function() {
if ( list ) {
list = [];
}
return this;
},
// Disable .fire and .add
// Abort any current/pending executions
// Clear all callbacks and values
disable: function() {
locked = queue = [];
list = memory = "";
return this;
},
disabled: function() {
return !list;
},
// Disable .fire
// Also disable .add unless we have memory (since it would have no effect)
// Abort any pending executions
lock: function() {
locked = queue = [];
if ( !memory && !firing ) {
list = memory = "";
}
return this;
},
locked: function() {
return !!locked;
},
// Call all callbacks with the given context and arguments
fireWith: function( context, args ) {
if ( !locked ) {
args = args || [];
args = [ context, args.slice ? args.slice() : args ];
queue.push( args );
if ( !firing ) {
fire();
}
}
return this;
},
// Call all the callbacks with the given arguments
fire: function() {
self.fireWith( this, arguments );
return this;
},
// To know if the callbacks have already been called at least once
fired: function() {
return !!fired;
}
};
return self;
};
return jQuery;
} );

476
core/static/core/lib/jquery/src/core.js vendored Normal file
View File

@ -0,0 +1,476 @@
/* global Symbol */
// Defining this global in .eslintrc.json would create a danger of using the global
// unguarded in another place, it seems safer to define global only for this module
define( [
"./var/arr",
"./var/document",
"./var/getProto",
"./var/slice",
"./var/concat",
"./var/push",
"./var/indexOf",
"./var/class2type",
"./var/toString",
"./var/hasOwn",
"./var/fnToString",
"./var/ObjectFunctionString",
"./var/support",
"./core/DOMEval"
], function( arr, document, getProto, slice, concat, push, indexOf,
class2type, toString, hasOwn, fnToString, ObjectFunctionString,
support, DOMEval ) {
"use strict";
var
version = "3.2.1",
// Define a local copy of jQuery
jQuery = function( selector, context ) {
// The jQuery object is actually just the init constructor 'enhanced'
// Need init if jQuery is called (just allow error to be thrown if not included)
return new jQuery.fn.init( selector, context );
},
// Support: Android <=4.0 only
// Make sure we trim BOM and NBSP
rtrim = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,
// Matches dashed string for camelizing
rmsPrefix = /^-ms-/,
rdashAlpha = /-([a-z])/g,
// Used by jQuery.camelCase as callback to replace()
fcamelCase = function( all, letter ) {
return letter.toUpperCase();
};
jQuery.fn = jQuery.prototype = {
// The current version of jQuery being used
jquery: version,
constructor: jQuery,
// The default length of a jQuery object is 0
length: 0,
toArray: function() {
return slice.call( this );
},
// Get the Nth element in the matched element set OR
// Get the whole matched element set as a clean array
get: function( num ) {
// Return all the elements in a clean array
if ( num == null ) {
return slice.call( this );
}
// Return just the one element from the set
return num < 0 ? this[ num + this.length ] : this[ num ];
},
// Take an array of elements and push it onto the stack
// (returning the new matched element set)
pushStack: function( elems ) {
// Build a new jQuery matched element set
var ret = jQuery.merge( this.constructor(), elems );
// Add the old object onto the stack (as a reference)
ret.prevObject = this;
// Return the newly-formed element set
return ret;
},
// Execute a callback for every element in the matched set.
each: function( callback ) {
return jQuery.each( this, callback );
},
map: function( callback ) {
return this.pushStack( jQuery.map( this, function( elem, i ) {
return callback.call( elem, i, elem );
} ) );
},
slice: function() {
return this.pushStack( slice.apply( this, arguments ) );
},
first: function() {
return this.eq( 0 );
},
last: function() {
return this.eq( -1 );
},
eq: function( i ) {
var len = this.length,
j = +i + ( i < 0 ? len : 0 );
return this.pushStack( j >= 0 && j < len ? [ this[ j ] ] : [] );
},
end: function() {
return this.prevObject || this.constructor();
},
// For internal use only.
// Behaves like an Array's method, not like a jQuery method.
push: push,
sort: arr.sort,
splice: arr.splice
};
jQuery.extend = jQuery.fn.extend = function() {
var options, name, src, copy, copyIsArray, clone,
target = arguments[ 0 ] || {},
i = 1,
length = arguments.length,
deep = false;
// Handle a deep copy situation
if ( typeof target === "boolean" ) {
deep = target;
// Skip the boolean and the target
target = arguments[ i ] || {};
i++;
}
// Handle case when target is a string or something (possible in deep copy)
if ( typeof target !== "object" && !jQuery.isFunction( target ) ) {
target = {};
}
// Extend jQuery itself if only one argument is passed
if ( i === length ) {
target = this;
i--;
}
for ( ; i < length; i++ ) {
// Only deal with non-null/undefined values
if ( ( options = arguments[ i ] ) != null ) {
// Extend the base object
for ( name in options ) {
src = target[ name ];
copy = options[ name ];
// Prevent never-ending loop
if ( target === copy ) {
continue;
}
// Recurse if we're merging plain objects or arrays
if ( deep && copy && ( jQuery.isPlainObject( copy ) ||
( copyIsArray = Array.isArray( copy ) ) ) ) {
if ( copyIsArray ) {
copyIsArray = false;
clone = src && Array.isArray( src ) ? src : [];
} else {
clone = src && jQuery.isPlainObject( src ) ? src : {};
}
// Never move original objects, clone them
target[ name ] = jQuery.extend( deep, clone, copy );
// Don't bring in undefined values
} else if ( copy !== undefined ) {
target[ name ] = copy;
}
}
}
}
// Return the modified object
return target;
};
jQuery.extend( {
// Unique for each copy of jQuery on the page
expando: "jQuery" + ( version + Math.random() ).replace( /\D/g, "" ),
// Assume jQuery is ready without the ready module
isReady: true,
error: function( msg ) {
throw new Error( msg );
},
noop: function() {},
isFunction: function( obj ) {
return jQuery.type( obj ) === "function";
},
isWindow: function( obj ) {
return obj != null && obj === obj.window;
},
isNumeric: function( obj ) {
// As of jQuery 3.0, isNumeric is limited to
// strings and numbers (primitives or objects)
// that can be coerced to finite numbers (gh-2662)
var type = jQuery.type( obj );
return ( type === "number" || type === "string" ) &&
// parseFloat NaNs numeric-cast false positives ("")
// ...but misinterprets leading-number strings, particularly hex literals ("0x...")
// subtraction forces infinities to NaN
!isNaN( obj - parseFloat( obj ) );
},
isPlainObject: function( obj ) {
var proto, Ctor;
// Detect obvious negatives
// Use toString instead of jQuery.type to catch host objects
if ( !obj || toString.call( obj ) !== "[object Object]" ) {
return false;
}
proto = getProto( obj );
// Objects with no prototype (e.g., `Object.create( null )`) are plain
if ( !proto ) {
return true;
}
// Objects with prototype are plain iff they were constructed by a global Object function
Ctor = hasOwn.call( proto, "constructor" ) && proto.constructor;
return typeof Ctor === "function" && fnToString.call( Ctor ) === ObjectFunctionString;
},
isEmptyObject: function( obj ) {
/* eslint-disable no-unused-vars */
// See https://github.com/eslint/eslint/issues/6125
var name;
for ( name in obj ) {
return false;
}
return true;
},
type: function( obj ) {
if ( obj == null ) {
return obj + "";
}
// Support: Android <=2.3 only (functionish RegExp)
return typeof obj === "object" || typeof obj === "function" ?
class2type[ toString.call( obj ) ] || "object" :
typeof obj;
},
// Evaluates a script in a global context
globalEval: function( code ) {
DOMEval( code );
},
// Convert dashed to camelCase; used by the css and data modules
// Support: IE <=9 - 11, Edge 12 - 13
// Microsoft forgot to hump their vendor prefix (#9572)
camelCase: function( string ) {
return string.replace( rmsPrefix, "ms-" ).replace( rdashAlpha, fcamelCase );
},
each: function( obj, callback ) {
var length, i = 0;
if ( isArrayLike( obj ) ) {
length = obj.length;
for ( ; i < length; i++ ) {
if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) {
break;
}
}
} else {
for ( i in obj ) {
if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) {
break;
}
}
}
return obj;
},
// Support: Android <=4.0 only
trim: function( text ) {
return text == null ?
"" :
( text + "" ).replace( rtrim, "" );
},
// results is for internal usage only
makeArray: function( arr, results ) {
var ret = results || [];
if ( arr != null ) {
if ( isArrayLike( Object( arr ) ) ) {
jQuery.merge( ret,
typeof arr === "string" ?
[ arr ] : arr
);
} else {
push.call( ret, arr );
}
}
return ret;
},
inArray: function( elem, arr, i ) {
return arr == null ? -1 : indexOf.call( arr, elem, i );
},
// Support: Android <=4.0 only, PhantomJS 1 only
// push.apply(_, arraylike) throws on ancient WebKit
merge: function( first, second ) {
var len = +second.length,
j = 0,
i = first.length;
for ( ; j < len; j++ ) {
first[ i++ ] = second[ j ];
}
first.length = i;
return first;
},
grep: function( elems, callback, invert ) {
var callbackInverse,
matches = [],
i = 0,
length = elems.length,
callbackExpect = !invert;
// Go through the array, only saving the items
// that pass the validator function
for ( ; i < length; i++ ) {
callbackInverse = !callback( elems[ i ], i );
if ( callbackInverse !== callbackExpect ) {
matches.push( elems[ i ] );
}
}
return matches;
},
// arg is for internal usage only
map: function( elems, callback, arg ) {
var length, value,
i = 0,
ret = [];
// Go through the array, translating each of the items to their new values
if ( isArrayLike( elems ) ) {
length = elems.length;
for ( ; i < length; i++ ) {
value = callback( elems[ i ], i, arg );
if ( value != null ) {
ret.push( value );
}
}
// Go through every key on the object,
} else {
for ( i in elems ) {
value = callback( elems[ i ], i, arg );
if ( value != null ) {
ret.push( value );
}
}
}
// Flatten any nested arrays
return concat.apply( [], ret );
},
// A global GUID counter for objects
guid: 1,
// Bind a function to a context, optionally partially applying any
// arguments.
proxy: function( fn, context ) {
var tmp, args, proxy;
if ( typeof context === "string" ) {
tmp = fn[ context ];
context = fn;
fn = tmp;
}
// Quick check to determine if target is callable, in the spec
// this throws a TypeError, but we will just return undefined.
if ( !jQuery.isFunction( fn ) ) {
return undefined;
}
// Simulated bind
args = slice.call( arguments, 2 );
proxy = function() {
return fn.apply( context || this, args.concat( slice.call( arguments ) ) );
};
// Set the guid of unique handler to the same of original handler, so it can be removed
proxy.guid = fn.guid = fn.guid || jQuery.guid++;
return proxy;
},
now: Date.now,
// jQuery.support is not used in Core but other projects attach their
// properties to it so it needs to exist.
support: support
} );
if ( typeof Symbol === "function" ) {
jQuery.fn[ Symbol.iterator ] = arr[ Symbol.iterator ];
}
// Populate the class2type map
jQuery.each( "Boolean Number String Function Array Date RegExp Object Error Symbol".split( " " ),
function( i, name ) {
class2type[ "[object " + name + "]" ] = name.toLowerCase();
} );
function isArrayLike( obj ) {
// Support: real iOS 8.2 only (not reproducible in simulator)
// `in` check used to prevent JIT error (gh-2145)
// hasOwn isn't used here due to false negatives
// regarding Nodelist length in IE
var length = !!obj && "length" in obj && obj.length,
type = jQuery.type( obj );
if ( type === "function" || jQuery.isWindow( obj ) ) {
return false;
}
return type === "array" || length === 0 ||
typeof length === "number" && length > 0 && ( length - 1 ) in obj;
}
return jQuery;
} );

View File

@ -0,0 +1,16 @@
define( [
"../var/document"
], function( document ) {
"use strict";
function DOMEval( code, doc ) {
doc = doc || document;
var script = doc.createElement( "script" );
script.text = code;
doc.head.appendChild( script ).parentNode.removeChild( script );
}
return DOMEval;
} );

View File

@ -0,0 +1,70 @@
define( [
"../core"
], function( jQuery ) {
"use strict";
// Multifunctional method to get and set values of a collection
// The value/s can optionally be executed if it's a function
var access = function( elems, fn, key, value, chainable, emptyGet, raw ) {
var i = 0,
len = elems.length,
bulk = key == null;
// Sets many values
if ( jQuery.type( key ) === "object" ) {
chainable = true;
for ( i in key ) {
access( elems, fn, i, key[ i ], true, emptyGet, raw );
}
// Sets one value
} else if ( value !== undefined ) {
chainable = true;
if ( !jQuery.isFunction( value ) ) {
raw = true;
}
if ( bulk ) {
// Bulk operations run against the entire set
if ( raw ) {
fn.call( elems, value );
fn = null;
// ...except when executing function values
} else {
bulk = fn;
fn = function( elem, key, value ) {
return bulk.call( jQuery( elem ), value );
};
}
}
if ( fn ) {
for ( ; i < len; i++ ) {
fn(
elems[ i ], key, raw ?
value :
value.call( elems[ i ], i, fn( elems[ i ], key ) )
);
}
}
}
if ( chainable ) {
return elems;
}
// Gets
if ( bulk ) {
return fn.call( elems );
}
return len ? fn( elems[ 0 ], key ) : emptyGet;
};
return access;
} );

View File

@ -0,0 +1,128 @@
// Initialize a jQuery object
define( [
"../core",
"../var/document",
"./var/rsingleTag",
"../traversing/findFilter"
], function( jQuery, document, rsingleTag ) {
"use strict";
// A central reference to the root jQuery(document)
var rootjQuery,
// A simple way to check for HTML strings
// Prioritize #id over <tag> to avoid XSS via location.hash (#9521)
// Strict HTML recognition (#11290: must start with <)
// Shortcut simple #id case for speed
rquickExpr = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,
init = jQuery.fn.init = function( selector, context, root ) {
var match, elem;
// HANDLE: $(""), $(null), $(undefined), $(false)
if ( !selector ) {
return this;
}
// Method init() accepts an alternate rootjQuery
// so migrate can support jQuery.sub (gh-2101)
root = root || rootjQuery;
// Handle HTML strings
if ( typeof selector === "string" ) {
if ( selector[ 0 ] === "<" &&
selector[ selector.length - 1 ] === ">" &&
selector.length >= 3 ) {
// Assume that strings that start and end with <> are HTML and skip the regex check
match = [ null, selector, null ];
} else {
match = rquickExpr.exec( selector );
}
// Match html or make sure no context is specified for #id
if ( match && ( match[ 1 ] || !context ) ) {
// HANDLE: $(html) -> $(array)
if ( match[ 1 ] ) {
context = context instanceof jQuery ? context[ 0 ] : context;
// Option to run scripts is true for back-compat
// Intentionally let the error be thrown if parseHTML is not present
jQuery.merge( this, jQuery.parseHTML(
match[ 1 ],
context && context.nodeType ? context.ownerDocument || context : document,
true
) );
// HANDLE: $(html, props)
if ( rsingleTag.test( match[ 1 ] ) && jQuery.isPlainObject( context ) ) {
for ( match in context ) {
// Properties of context are called as methods if possible
if ( jQuery.isFunction( this[ match ] ) ) {
this[ match ]( context[ match ] );
// ...and otherwise set as attributes
} else {
this.attr( match, context[ match ] );
}
}
}
return this;
// HANDLE: $(#id)
} else {
elem = document.getElementById( match[ 2 ] );
if ( elem ) {
// Inject the element directly into the jQuery object
this[ 0 ] = elem;
this.length = 1;
}
return this;
}
// HANDLE: $(expr, $(...))
} else if ( !context || context.jquery ) {
return ( context || root ).find( selector );
// HANDLE: $(expr, context)
// (which is just equivalent to: $(context).find(expr)
} else {
return this.constructor( context ).find( selector );
}
// HANDLE: $(DOMElement)
} else if ( selector.nodeType ) {
this[ 0 ] = selector;
this.length = 1;
return this;
// HANDLE: $(function)
// Shortcut for document ready
} else if ( jQuery.isFunction( selector ) ) {
return root.ready !== undefined ?
root.ready( selector ) :
// Execute immediately if ready is not present
selector( jQuery );
}
return jQuery.makeArray( selector, this );
};
// Give the init function the jQuery prototype for later instantiation
init.prototype = jQuery.fn;
// Initialize central reference
rootjQuery = jQuery( document );
return init;
} );

View File

@ -0,0 +1,13 @@
define( function() {
"use strict";
function nodeName( elem, name ) {
return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase();
};
return nodeName;
} );

View File

@ -0,0 +1,65 @@
define( [
"../core",
"../var/document",
"./var/rsingleTag",
"../manipulation/buildFragment",
// This is the only module that needs core/support
"./support"
], function( jQuery, document, rsingleTag, buildFragment, support ) {
"use strict";
// Argument "data" should be string of html
// context (optional): If specified, the fragment will be created in this context,
// defaults to document
// keepScripts (optional): If true, will include scripts passed in the html string
jQuery.parseHTML = function( data, context, keepScripts ) {
if ( typeof data !== "string" ) {
return [];
}
if ( typeof context === "boolean" ) {
keepScripts = context;
context = false;
}
var base, parsed, scripts;
if ( !context ) {
// Stop scripts or inline event handlers from being executed immediately
// by using document.implementation
if ( support.createHTMLDocument ) {
context = document.implementation.createHTMLDocument( "" );
// Set the base href for the created document
// so any parsed elements with URLs
// are based on the document's URL (gh-2965)
base = context.createElement( "base" );
base.href = document.location.href;
context.head.appendChild( base );
} else {
context = document;
}
}
parsed = rsingleTag.exec( data );
scripts = !keepScripts && [];
// Single tag
if ( parsed ) {
return [ context.createElement( parsed[ 1 ] ) ];
}
parsed = buildFragment( [ data ], context, scripts );
if ( scripts && scripts.length ) {
jQuery( scripts ).remove();
}
return jQuery.merge( [], parsed.childNodes );
};
return jQuery.parseHTML;
} );

View File

@ -0,0 +1,96 @@
define( [
"../core",
"../var/document"
], function( jQuery, document ) {
"use strict";
var readyCallbacks = [],
whenReady = function( fn ) {
readyCallbacks.push( fn );
},
executeReady = function( fn ) {
// Prevent errors from freezing future callback execution (gh-1823)
// Not backwards-compatible as this does not execute sync
window.setTimeout( function() {
fn.call( document, jQuery );
} );
};
jQuery.fn.ready = function( fn ) {
whenReady( fn );
return this;
};
jQuery.extend( {
// Is the DOM ready to be used? Set to true once it occurs.
isReady: false,
// A counter to track how many items to wait for before
// the ready event fires. See #6781
readyWait: 1,
ready: function( wait ) {
// Abort if there are pending holds or we're already ready
if ( wait === true ? --jQuery.readyWait : jQuery.isReady ) {
return;
}
// Remember that the DOM is ready
jQuery.isReady = true;
// If a normal DOM Ready event fired, decrement, and wait if need be
if ( wait !== true && --jQuery.readyWait > 0 ) {
return;
}
whenReady = function( fn ) {
readyCallbacks.push( fn );
while ( readyCallbacks.length ) {
fn = readyCallbacks.shift();
if ( jQuery.isFunction( fn ) ) {
executeReady( fn );
}
}
};
whenReady();
}
} );
// Make jQuery.ready Promise consumable (gh-1778)
jQuery.ready.then = jQuery.fn.ready;
/**
* The ready event handler and self cleanup method
*/
function completed() {
document.removeEventListener( "DOMContentLoaded", completed );
window.removeEventListener( "load", completed );
jQuery.ready();
}
// Catch cases where $(document).ready() is called
// after the browser event has already occurred.
// Support: IE9-10 only
// Older IE sometimes signals "interactive" too soon
if ( document.readyState === "complete" ||
( document.readyState !== "loading" && !document.documentElement.doScroll ) ) {
// Handle it asynchronously to allow scripts the opportunity to delay ready
window.setTimeout( jQuery.ready );
} else {
// Use the handy event callback
document.addEventListener( "DOMContentLoaded", completed );
// A fallback to window.onload, that will always work
window.addEventListener( "load", completed );
}
} );

View File

@ -0,0 +1,86 @@
define( [
"../core",
"../var/document",
"../core/readyException",
"../deferred"
], function( jQuery, document ) {
"use strict";
// The deferred used on DOM ready
var readyList = jQuery.Deferred();
jQuery.fn.ready = function( fn ) {
readyList
.then( fn )
// Wrap jQuery.readyException in a function so that the lookup
// happens at the time of error handling instead of callback
// registration.
.catch( function( error ) {
jQuery.readyException( error );
} );
return this;
};
jQuery.extend( {
// Is the DOM ready to be used? Set to true once it occurs.
isReady: false,
// A counter to track how many items to wait for before
// the ready event fires. See #6781
readyWait: 1,
// Handle when the DOM is ready
ready: function( wait ) {
// Abort if there are pending holds or we're already ready
if ( wait === true ? --jQuery.readyWait : jQuery.isReady ) {
return;
}
// Remember that the DOM is ready
jQuery.isReady = true;
// If a normal DOM Ready event fired, decrement, and wait if need be
if ( wait !== true && --jQuery.readyWait > 0 ) {
return;
}
// If there are functions bound, to execute
readyList.resolveWith( document, [ jQuery ] );
}
} );
jQuery.ready.then = readyList.then;
// The ready event handler and self cleanup method
function completed() {
document.removeEventListener( "DOMContentLoaded", completed );
window.removeEventListener( "load", completed );
jQuery.ready();
}
// Catch cases where $(document).ready() is called
// after the browser event has already occurred.
// Support: IE <=9 - 10 only
// Older IE sometimes signals "interactive" too soon
if ( document.readyState === "complete" ||
( document.readyState !== "loading" && !document.documentElement.doScroll ) ) {
// Handle it asynchronously to allow scripts the opportunity to delay ready
window.setTimeout( jQuery.ready );
} else {
// Use the handy event callback
document.addEventListener( "DOMContentLoaded", completed );
// A fallback to window.onload, that will always work
window.addEventListener( "load", completed );
}
} );

View File

@ -0,0 +1,13 @@
define( [
"../core"
], function( jQuery ) {
"use strict";
jQuery.readyException = function( error ) {
window.setTimeout( function() {
throw error;
} );
};
} );

View File

@ -0,0 +1,14 @@
define( [
"../var/rnothtmlwhite"
], function( rnothtmlwhite ) {
"use strict";
// Strip and collapse whitespace according to HTML spec
// https://html.spec.whatwg.org/multipage/infrastructure.html#strip-and-collapse-whitespace
function stripAndCollapse( value ) {
var tokens = value.match( rnothtmlwhite ) || [];
return tokens.join( " " );
}
return stripAndCollapse;
} );

View File

@ -0,0 +1,20 @@
define( [
"../var/document",
"../var/support"
], function( document, support ) {
"use strict";
// Support: Safari 8 only
// In Safari 8 documents created via document.implementation.createHTMLDocument
// collapse sibling forms: the second one becomes a child of the first one.
// Because of that, this security measure has to be disabled in Safari 8.
// https://bugs.webkit.org/show_bug.cgi?id=137337
support.createHTMLDocument = ( function() {
var body = document.implementation.createHTMLDocument( "" ).body;
body.innerHTML = "<form></form><form></form>";
return body.childNodes.length === 2;
} )();
return support;
} );

View File

@ -0,0 +1,6 @@
define( function() {
"use strict";
// Match a standalone tag
return ( /^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i );
} );

438
core/static/core/lib/jquery/src/css.js vendored Normal file
View File

@ -0,0 +1,438 @@
define( [
"./core",
"./var/pnum",
"./core/access",
"./css/var/rmargin",
"./var/document",
"./var/rcssNum",
"./css/var/rnumnonpx",
"./css/var/cssExpand",
"./css/var/getStyles",
"./css/var/swap",
"./css/curCSS",
"./css/adjustCSS",
"./css/addGetHookIf",
"./css/support",
"./core/init",
"./core/ready",
"./selector" // contains
], function( jQuery, pnum, access, rmargin, document, rcssNum, rnumnonpx, cssExpand,
getStyles, swap, curCSS, adjustCSS, addGetHookIf, support ) {
"use strict";
var
// Swappable if display is none or starts with table
// except "table", "table-cell", or "table-caption"
// See here for display values: https://developer.mozilla.org/en-US/docs/CSS/display
rdisplayswap = /^(none|table(?!-c[ea]).+)/,
rcustomProp = /^--/,
cssShow = { position: "absolute", visibility: "hidden", display: "block" },
cssNormalTransform = {
letterSpacing: "0",
fontWeight: "400"
},
cssPrefixes = [ "Webkit", "Moz", "ms" ],
emptyStyle = document.createElement( "div" ).style;
// Return a css property mapped to a potentially vendor prefixed property
function vendorPropName( name ) {
// Shortcut for names that are not vendor prefixed
if ( name in emptyStyle ) {
return name;
}
// Check for vendor prefixed names
var capName = name[ 0 ].toUpperCase() + name.slice( 1 ),
i = cssPrefixes.length;
while ( i-- ) {
name = cssPrefixes[ i ] + capName;
if ( name in emptyStyle ) {
return name;
}
}
}
// Return a property mapped along what jQuery.cssProps suggests or to
// a vendor prefixed property.
function finalPropName( name ) {
var ret = jQuery.cssProps[ name ];
if ( !ret ) {
ret = jQuery.cssProps[ name ] = vendorPropName( name ) || name;
}
return ret;
}
function setPositiveNumber( elem, value, subtract ) {
// Any relative (+/-) values have already been
// normalized at this point
var matches = rcssNum.exec( value );
return matches ?
// Guard against undefined "subtract", e.g., when used as in cssHooks
Math.max( 0, matches[ 2 ] - ( subtract || 0 ) ) + ( matches[ 3 ] || "px" ) :
value;
}
function augmentWidthOrHeight( elem, name, extra, isBorderBox, styles ) {
var i,
val = 0;
// If we already have the right measurement, avoid augmentation
if ( extra === ( isBorderBox ? "border" : "content" ) ) {
i = 4;
// Otherwise initialize for horizontal or vertical properties
} else {
i = name === "width" ? 1 : 0;
}
for ( ; i < 4; i += 2 ) {
// Both box models exclude margin, so add it if we want it
if ( extra === "margin" ) {
val += jQuery.css( elem, extra + cssExpand[ i ], true, styles );
}
if ( isBorderBox ) {
// border-box includes padding, so remove it if we want content
if ( extra === "content" ) {
val -= jQuery.css( elem, "padding" + cssExpand[ i ], true, styles );
}
// At this point, extra isn't border nor margin, so remove border
if ( extra !== "margin" ) {
val -= jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles );
}
} else {
// At this point, extra isn't content, so add padding
val += jQuery.css( elem, "padding" + cssExpand[ i ], true, styles );
// At this point, extra isn't content nor padding, so add border
if ( extra !== "padding" ) {
val += jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles );
}
}
}
return val;
}
function getWidthOrHeight( elem, name, extra ) {
// Start with computed style
var valueIsBorderBox,
styles = getStyles( elem ),
val = curCSS( elem, name, styles ),
isBorderBox = jQuery.css( elem, "boxSizing", false, styles ) === "border-box";
// Computed unit is not pixels. Stop here and return.
if ( rnumnonpx.test( val ) ) {
return val;
}
// Check for style in case a browser which returns unreliable values
// for getComputedStyle silently falls back to the reliable elem.style
valueIsBorderBox = isBorderBox &&
( support.boxSizingReliable() || val === elem.style[ name ] );
// Fall back to offsetWidth/Height when value is "auto"
// This happens for inline elements with no explicit setting (gh-3571)
if ( val === "auto" ) {
val = elem[ "offset" + name[ 0 ].toUpperCase() + name.slice( 1 ) ];
}
// Normalize "", auto, and prepare for extra
val = parseFloat( val ) || 0;
// Use the active box-sizing model to add/subtract irrelevant styles
return ( val +
augmentWidthOrHeight(
elem,
name,
extra || ( isBorderBox ? "border" : "content" ),
valueIsBorderBox,
styles
)
) + "px";
}
jQuery.extend( {
// Add in style property hooks for overriding the default
// behavior of getting and setting a style property
cssHooks: {
opacity: {
get: function( elem, computed ) {
if ( computed ) {
// We should always get a number back from opacity
var ret = curCSS( elem, "opacity" );
return ret === "" ? "1" : ret;
}
}
}
},
// Don't automatically add "px" to these possibly-unitless properties
cssNumber: {
"animationIterationCount": true,
"columnCount": true,
"fillOpacity": true,
"flexGrow": true,
"flexShrink": true,
"fontWeight": true,
"lineHeight": true,
"opacity": true,
"order": true,
"orphans": true,
"widows": true,
"zIndex": true,
"zoom": true
},
// Add in properties whose names you wish to fix before
// setting or getting the value
cssProps: {
"float": "cssFloat"
},
// Get and set the style property on a DOM Node
style: function( elem, name, value, extra ) {
// Don't set styles on text and comment nodes
if ( !elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style ) {
return;
}
// Make sure that we're working with the right name
var ret, type, hooks,
origName = jQuery.camelCase( name ),
isCustomProp = rcustomProp.test( name ),
style = elem.style;
// Make sure that we're working with the right name. We don't
// want to query the value if it is a CSS custom property
// since they are user-defined.
if ( !isCustomProp ) {
name = finalPropName( origName );
}
// Gets hook for the prefixed version, then unprefixed version
hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ];
// Check if we're setting a value
if ( value !== undefined ) {
type = typeof value;
// Convert "+=" or "-=" to relative numbers (#7345)
if ( type === "string" && ( ret = rcssNum.exec( value ) ) && ret[ 1 ] ) {
value = adjustCSS( elem, name, ret );
// Fixes bug #9237
type = "number";
}
// Make sure that null and NaN values aren't set (#7116)
if ( value == null || value !== value ) {
return;
}
// If a number was passed in, add the unit (except for certain CSS properties)
if ( type === "number" ) {
value += ret && ret[ 3 ] || ( jQuery.cssNumber[ origName ] ? "" : "px" );
}
// background-* props affect original clone's values
if ( !support.clearCloneStyle && value === "" && name.indexOf( "background" ) === 0 ) {
style[ name ] = "inherit";
}
// If a hook was provided, use that value, otherwise just set the specified value
if ( !hooks || !( "set" in hooks ) ||
( value = hooks.set( elem, value, extra ) ) !== undefined ) {
if ( isCustomProp ) {
style.setProperty( name, value );
} else {
style[ name ] = value;
}
}
} else {
// If a hook was provided get the non-computed value from there
if ( hooks && "get" in hooks &&
( ret = hooks.get( elem, false, extra ) ) !== undefined ) {
return ret;
}
// Otherwise just get the value from the style object
return style[ name ];
}
},
css: function( elem, name, extra, styles ) {
var val, num, hooks,
origName = jQuery.camelCase( name ),
isCustomProp = rcustomProp.test( name );
// Make sure that we're working with the right name. We don't
// want to modify the value if it is a CSS custom property
// since they are user-defined.
if ( !isCustomProp ) {
name = finalPropName( origName );
}
// Try prefixed name followed by the unprefixed name
hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ];
// If a hook was provided get the computed value from there
if ( hooks && "get" in hooks ) {
val = hooks.get( elem, true, extra );
}
// Otherwise, if a way to get the computed value exists, use that
if ( val === undefined ) {
val = curCSS( elem, name, styles );
}
// Convert "normal" to computed value
if ( val === "normal" && name in cssNormalTransform ) {
val = cssNormalTransform[ name ];
}
// Make numeric if forced or a qualifier was provided and val looks numeric
if ( extra === "" || extra ) {
num = parseFloat( val );
return extra === true || isFinite( num ) ? num || 0 : val;
}
return val;
}
} );
jQuery.each( [ "height", "width" ], function( i, name ) {
jQuery.cssHooks[ name ] = {
get: function( elem, computed, extra ) {
if ( computed ) {
// Certain elements can have dimension info if we invisibly show them
// but it must have a current display style that would benefit
return rdisplayswap.test( jQuery.css( elem, "display" ) ) &&
// Support: Safari 8+
// Table columns in Safari have non-zero offsetWidth & zero
// getBoundingClientRect().width unless display is changed.
// Support: IE <=11 only
// Running getBoundingClientRect on a disconnected node
// in IE throws an error.
( !elem.getClientRects().length || !elem.getBoundingClientRect().width ) ?
swap( elem, cssShow, function() {
return getWidthOrHeight( elem, name, extra );
} ) :
getWidthOrHeight( elem, name, extra );
}
},
set: function( elem, value, extra ) {
var matches,
styles = extra && getStyles( elem ),
subtract = extra && augmentWidthOrHeight(
elem,
name,
extra,
jQuery.css( elem, "boxSizing", false, styles ) === "border-box",
styles
);
// Convert to pixels if value adjustment is needed
if ( subtract && ( matches = rcssNum.exec( value ) ) &&
( matches[ 3 ] || "px" ) !== "px" ) {
elem.style[ name ] = value;
value = jQuery.css( elem, name );
}
return setPositiveNumber( elem, value, subtract );
}
};
} );
jQuery.cssHooks.marginLeft = addGetHookIf( support.reliableMarginLeft,
function( elem, computed ) {
if ( computed ) {
return ( parseFloat( curCSS( elem, "marginLeft" ) ) ||
elem.getBoundingClientRect().left -
swap( elem, { marginLeft: 0 }, function() {
return elem.getBoundingClientRect().left;
} )
) + "px";
}
}
);
// These hooks are used by animate to expand properties
jQuery.each( {
margin: "",
padding: "",
border: "Width"
}, function( prefix, suffix ) {
jQuery.cssHooks[ prefix + suffix ] = {
expand: function( value ) {
var i = 0,
expanded = {},
// Assumes a single number if not a string
parts = typeof value === "string" ? value.split( " " ) : [ value ];
for ( ; i < 4; i++ ) {
expanded[ prefix + cssExpand[ i ] + suffix ] =
parts[ i ] || parts[ i - 2 ] || parts[ 0 ];
}
return expanded;
}
};
if ( !rmargin.test( prefix ) ) {
jQuery.cssHooks[ prefix + suffix ].set = setPositiveNumber;
}
} );
jQuery.fn.extend( {
css: function( name, value ) {
return access( this, function( elem, name, value ) {
var styles, len,
map = {},
i = 0;
if ( Array.isArray( name ) ) {
styles = getStyles( elem );
len = name.length;
for ( ; i < len; i++ ) {
map[ name[ i ] ] = jQuery.css( elem, name[ i ], false, styles );
}
return map;
}
return value !== undefined ?
jQuery.style( elem, name, value ) :
jQuery.css( elem, name );
}, name, value, arguments.length > 1 );
}
} );
return jQuery;
} );

View File

@ -0,0 +1,26 @@
define( function() {
"use strict";
function addGetHookIf( conditionFn, hookFn ) {
// Define the hook, we'll check on the first run if it's really needed.
return {
get: function() {
if ( conditionFn() ) {
// Hook not needed (or it's not possible to use it due
// to missing dependency), remove it.
delete this.get;
return;
}
// Hook needed; redefine it so that the support test is not executed again.
return ( this.get = hookFn ).apply( this, arguments );
}
};
}
return addGetHookIf;
} );

View File

@ -0,0 +1,71 @@
define( [
"../core",
"../var/rcssNum"
], function( jQuery, rcssNum ) {
"use strict";
function adjustCSS( elem, prop, valueParts, tween ) {
var adjusted,
scale = 1,
maxIterations = 20,
currentValue = tween ?
function() {
return tween.cur();
} :
function() {
return jQuery.css( elem, prop, "" );
},
initial = currentValue(),
unit = valueParts && valueParts[ 3 ] || ( jQuery.cssNumber[ prop ] ? "" : "px" ),
// Starting value computation is required for potential unit mismatches
initialInUnit = ( jQuery.cssNumber[ prop ] || unit !== "px" && +initial ) &&
rcssNum.exec( jQuery.css( elem, prop ) );
if ( initialInUnit && initialInUnit[ 3 ] !== unit ) {
// Trust units reported by jQuery.css
unit = unit || initialInUnit[ 3 ];
// Make sure we update the tween properties later on
valueParts = valueParts || [];
// Iteratively approximate from a nonzero starting point
initialInUnit = +initial || 1;
do {
// If previous iteration zeroed out, double until we get *something*.
// Use string for doubling so we don't accidentally see scale as unchanged below
scale = scale || ".5";
// Adjust and apply
initialInUnit = initialInUnit / scale;
jQuery.style( elem, prop, initialInUnit + unit );
// Update scale, tolerating zero or NaN from tween.cur()
// Break the loop if scale is unchanged or perfect, or if we've just had enough.
} while (
scale !== ( scale = currentValue() / initial ) && scale !== 1 && --maxIterations
);
}
if ( valueParts ) {
initialInUnit = +initialInUnit || +initial || 0;
// Apply relative offset (+=/-=) if specified
adjusted = valueParts[ 1 ] ?
initialInUnit + ( valueParts[ 1 ] + 1 ) * valueParts[ 2 ] :
+valueParts[ 2 ];
if ( tween ) {
tween.unit = unit;
tween.start = initialInUnit;
tween.end = adjusted;
}
}
return adjusted;
}
return adjustCSS;
} );

View File

@ -0,0 +1,65 @@
define( [
"../core",
"./var/rnumnonpx",
"./var/rmargin",
"./var/getStyles",
"./support",
"../selector" // Get jQuery.contains
], function( jQuery, rnumnonpx, rmargin, getStyles, support ) {
"use strict";
function curCSS( elem, name, computed ) {
var width, minWidth, maxWidth, ret,
// Support: Firefox 51+
// Retrieving style before computed somehow
// fixes an issue with getting wrong values
// on detached elements
style = elem.style;
computed = computed || getStyles( elem );
// getPropertyValue is needed for:
// .css('filter') (IE 9 only, #12537)
// .css('--customProperty) (#3144)
if ( computed ) {
ret = computed.getPropertyValue( name ) || computed[ name ];
if ( ret === "" && !jQuery.contains( elem.ownerDocument, elem ) ) {
ret = jQuery.style( elem, name );
}
// A tribute to the "awesome hack by Dean Edwards"
// Android Browser returns percentage for some values,
// but width seems to be reliably pixels.
// This is against the CSSOM draft spec:
// https://drafts.csswg.org/cssom/#resolved-values
if ( !support.pixelMarginRight() && rnumnonpx.test( ret ) && rmargin.test( name ) ) {
// Remember the original values
width = style.width;
minWidth = style.minWidth;
maxWidth = style.maxWidth;
// Put in the new values to get a computed value out
style.minWidth = style.maxWidth = style.width = ret;
ret = computed.width;
// Revert the changed values
style.width = width;
style.minWidth = minWidth;
style.maxWidth = maxWidth;
}
}
return ret !== undefined ?
// Support: IE <=9 - 11 only
// IE returns zIndex value as an integer.
ret + "" :
ret;
}
return curCSS;
} );

View File

@ -0,0 +1,15 @@
define( [
"../core",
"../selector"
], function( jQuery ) {
"use strict";
jQuery.expr.pseudos.hidden = function( elem ) {
return !jQuery.expr.pseudos.visible( elem );
};
jQuery.expr.pseudos.visible = function( elem ) {
return !!( elem.offsetWidth || elem.offsetHeight || elem.getClientRects().length );
};
} );

View File

@ -0,0 +1,105 @@
define( [
"../core",
"../data/var/dataPriv",
"../css/var/isHiddenWithinTree"
], function( jQuery, dataPriv, isHiddenWithinTree ) {
"use strict";
var defaultDisplayMap = {};
function getDefaultDisplay( elem ) {
var temp,
doc = elem.ownerDocument,
nodeName = elem.nodeName,
display = defaultDisplayMap[ nodeName ];
if ( display ) {
return display;
}
temp = doc.body.appendChild( doc.createElement( nodeName ) );
display = jQuery.css( temp, "display" );
temp.parentNode.removeChild( temp );
if ( display === "none" ) {
display = "block";
}
defaultDisplayMap[ nodeName ] = display;
return display;
}
function showHide( elements, show ) {
var display, elem,
values = [],
index = 0,
length = elements.length;
// Determine new display value for elements that need to change
for ( ; index < length; index++ ) {
elem = elements[ index ];
if ( !elem.style ) {
continue;
}
display = elem.style.display;
if ( show ) {
// Since we force visibility upon cascade-hidden elements, an immediate (and slow)
// check is required in this first loop unless we have a nonempty display value (either
// inline or about-to-be-restored)
if ( display === "none" ) {
values[ index ] = dataPriv.get( elem, "display" ) || null;
if ( !values[ index ] ) {
elem.style.display = "";
}
}
if ( elem.style.display === "" && isHiddenWithinTree( elem ) ) {
values[ index ] = getDefaultDisplay( elem );
}
} else {
if ( display !== "none" ) {
values[ index ] = "none";
// Remember what we're overwriting
dataPriv.set( elem, "display", display );
}
}
}
// Set the display of the elements in a second loop to avoid constant reflow
for ( index = 0; index < length; index++ ) {
if ( values[ index ] != null ) {
elements[ index ].style.display = values[ index ];
}
}
return elements;
}
jQuery.fn.extend( {
show: function() {
return showHide( this, true );
},
hide: function() {
return showHide( this );
},
toggle: function( state ) {
if ( typeof state === "boolean" ) {
return state ? this.show() : this.hide();
}
return this.each( function() {
if ( isHiddenWithinTree( this ) ) {
jQuery( this ).show();
} else {
jQuery( this ).hide();
}
} );
}
} );
return showHide;
} );

View File

@ -0,0 +1,89 @@
define( [
"../core",
"../var/document",
"../var/documentElement",
"../var/support"
], function( jQuery, document, documentElement, support ) {
"use strict";
( function() {
// Executing both pixelPosition & boxSizingReliable tests require only one layout
// so they're executed at the same time to save the second computation.
function computeStyleTests() {
// This is a singleton, we need to execute it only once
if ( !div ) {
return;
}
div.style.cssText =
"box-sizing:border-box;" +
"position:relative;display:block;" +
"margin:auto;border:1px;padding:1px;" +
"top:1%;width:50%";
div.innerHTML = "";
documentElement.appendChild( container );
var divStyle = window.getComputedStyle( div );
pixelPositionVal = divStyle.top !== "1%";
// Support: Android 4.0 - 4.3 only, Firefox <=3 - 44
reliableMarginLeftVal = divStyle.marginLeft === "2px";
boxSizingReliableVal = divStyle.width === "4px";
// Support: Android 4.0 - 4.3 only
// Some styles come back with percentage values, even though they shouldn't
div.style.marginRight = "50%";
pixelMarginRightVal = divStyle.marginRight === "4px";
documentElement.removeChild( container );
// Nullify the div so it wouldn't be stored in the memory and
// it will also be a sign that checks already performed
div = null;
}
var pixelPositionVal, boxSizingReliableVal, pixelMarginRightVal, reliableMarginLeftVal,
container = document.createElement( "div" ),
div = document.createElement( "div" );
// Finish early in limited (non-browser) environments
if ( !div.style ) {
return;
}
// Support: IE <=9 - 11 only
// Style of cloned element affects source element cloned (#8908)
div.style.backgroundClip = "content-box";
div.cloneNode( true ).style.backgroundClip = "";
support.clearCloneStyle = div.style.backgroundClip === "content-box";
container.style.cssText = "border:0;width:8px;height:0;top:0;left:-9999px;" +
"padding:0;margin-top:1px;position:absolute";
container.appendChild( div );
jQuery.extend( support, {
pixelPosition: function() {
computeStyleTests();
return pixelPositionVal;
},
boxSizingReliable: function() {
computeStyleTests();
return boxSizingReliableVal;
},
pixelMarginRight: function() {
computeStyleTests();
return pixelMarginRightVal;
},
reliableMarginLeft: function() {
computeStyleTests();
return reliableMarginLeftVal;
}
} );
} )();
return support;
} );

View File

@ -0,0 +1,5 @@
define( function() {
"use strict";
return [ "Top", "Right", "Bottom", "Left" ];
} );

View File

@ -0,0 +1,17 @@
define( function() {
"use strict";
return function( elem ) {
// Support: IE <=11 only, Firefox <=30 (#15098, #14150)
// IE throws on elements created in popups
// FF meanwhile throws on frame elements through "defaultView.getComputedStyle"
var view = elem.ownerDocument.defaultView;
if ( !view || !view.opener ) {
view = window;
}
return view.getComputedStyle( elem );
};
} );

View File

@ -0,0 +1,34 @@
define( [
"../../core",
"../../selector"
// css is assumed
], function( jQuery ) {
"use strict";
// isHiddenWithinTree reports if an element has a non-"none" display style (inline and/or
// through the CSS cascade), which is useful in deciding whether or not to make it visible.
// It differs from the :hidden selector (jQuery.expr.pseudos.hidden) in two important ways:
// * A hidden ancestor does not force an element to be classified as hidden.
// * Being disconnected from the document does not force an element to be classified as hidden.
// These differences improve the behavior of .toggle() et al. when applied to elements that are
// detached or contained within hidden ancestors (gh-2404, gh-2863).
return function( elem, el ) {
// isHiddenWithinTree might be called from jQuery#filter function;
// in that case, element will be second argument
elem = el || elem;
// Inline style trumps all
return elem.style.display === "none" ||
elem.style.display === "" &&
// Otherwise, check computed style
// Support: Firefox <=43 - 45
// Disconnected elements can have computed display: none, so first confirm that elem is
// in the document.
jQuery.contains( elem.ownerDocument, elem ) &&
jQuery.css( elem, "display" ) === "none";
};
} );

View File

@ -0,0 +1,5 @@
define( function() {
"use strict";
return ( /^margin/ );
} );

View File

@ -0,0 +1,7 @@
define( [
"../../var/pnum"
], function( pnum ) {
"use strict";
return new RegExp( "^(" + pnum + ")(?!px)[a-z%]+$", "i" );
} );

View File

@ -0,0 +1,26 @@
define( function() {
"use strict";
// A method for quickly swapping in/out CSS properties to get correct calculations.
return function( elem, options, callback, args ) {
var ret, name,
old = {};
// Remember the old values, and insert the new ones
for ( name in options ) {
old[ name ] = elem.style[ name ];
elem.style[ name ] = options[ name ];
}
ret = callback.apply( elem, args || [] );
// Revert the old values
for ( name in options ) {
elem.style[ name ] = old[ name ];
}
return ret;
};
} );

179
core/static/core/lib/jquery/src/data.js vendored Normal file
View File

@ -0,0 +1,179 @@
define( [
"./core",
"./core/access",
"./data/var/dataPriv",
"./data/var/dataUser"
], function( jQuery, access, dataPriv, dataUser ) {
"use strict";
// Implementation Summary
//
// 1. Enforce API surface and semantic compatibility with 1.9.x branch
// 2. Improve the module's maintainability by reducing the storage
// paths to a single mechanism.
// 3. Use the same single mechanism to support "private" and "user" data.
// 4. _Never_ expose "private" data to user code (TODO: Drop _data, _removeData)
// 5. Avoid exposing implementation details on user objects (eg. expando properties)
// 6. Provide a clear path for implementation upgrade to WeakMap in 2014
var rbrace = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,
rmultiDash = /[A-Z]/g;
function getData( data ) {
if ( data === "true" ) {
return true;
}
if ( data === "false" ) {
return false;
}
if ( data === "null" ) {
return null;
}
// Only convert to a number if it doesn't change the string
if ( data === +data + "" ) {
return +data;
}
if ( rbrace.test( data ) ) {
return JSON.parse( data );
}
return data;
}
function dataAttr( elem, key, data ) {
var name;
// If nothing was found internally, try to fetch any
// data from the HTML5 data-* attribute
if ( data === undefined && elem.nodeType === 1 ) {
name = "data-" + key.replace( rmultiDash, "-$&" ).toLowerCase();
data = elem.getAttribute( name );
if ( typeof data === "string" ) {
try {
data = getData( data );
} catch ( e ) {}
// Make sure we set the data so it isn't changed later
dataUser.set( elem, key, data );
} else {
data = undefined;
}
}
return data;
}
jQuery.extend( {
hasData: function( elem ) {
return dataUser.hasData( elem ) || dataPriv.hasData( elem );
},
data: function( elem, name, data ) {
return dataUser.access( elem, name, data );
},
removeData: function( elem, name ) {
dataUser.remove( elem, name );
},
// TODO: Now that all calls to _data and _removeData have been replaced
// with direct calls to dataPriv methods, these can be deprecated.
_data: function( elem, name, data ) {
return dataPriv.access( elem, name, data );
},
_removeData: function( elem, name ) {
dataPriv.remove( elem, name );
}
} );
jQuery.fn.extend( {
data: function( key, value ) {
var i, name, data,
elem = this[ 0 ],
attrs = elem && elem.attributes;
// Gets all values
if ( key === undefined ) {
if ( this.length ) {
data = dataUser.get( elem );
if ( elem.nodeType === 1 && !dataPriv.get( elem, "hasDataAttrs" ) ) {
i = attrs.length;
while ( i-- ) {
// Support: IE 11 only
// The attrs elements can be null (#14894)
if ( attrs[ i ] ) {
name = attrs[ i ].name;
if ( name.indexOf( "data-" ) === 0 ) {
name = jQuery.camelCase( name.slice( 5 ) );
dataAttr( elem, name, data[ name ] );
}
}
}
dataPriv.set( elem, "hasDataAttrs", true );
}
}
return data;
}
// Sets multiple values
if ( typeof key === "object" ) {
return this.each( function() {
dataUser.set( this, key );
} );
}
return access( this, function( value ) {
var data;
// The calling jQuery object (element matches) is not empty
// (and therefore has an element appears at this[ 0 ]) and the
// `value` parameter was not undefined. An empty jQuery object
// will result in `undefined` for elem = this[ 0 ] which will
// throw an exception if an attempt to read a data cache is made.
if ( elem && value === undefined ) {
// Attempt to get data from the cache
// The key will always be camelCased in Data
data = dataUser.get( elem, key );
if ( data !== undefined ) {
return data;
}
// Attempt to "discover" the data in
// HTML5 custom data-* attrs
data = dataAttr( elem, key );
if ( data !== undefined ) {
return data;
}
// We tried really hard, but the data doesn't exist.
return;
}
// Set the data...
this.each( function() {
// We always store the camelCased key
dataUser.set( this, key, value );
} );
}, null, value, arguments.length > 1, null, true );
},
removeData: function( key ) {
return this.each( function() {
dataUser.remove( this, key );
} );
}
} );
return jQuery;
} );

View File

@ -0,0 +1,161 @@
define( [
"../core",
"../var/rnothtmlwhite",
"./var/acceptData"
], function( jQuery, rnothtmlwhite, acceptData ) {
"use strict";
function Data() {
this.expando = jQuery.expando + Data.uid++;
}
Data.uid = 1;
Data.prototype = {
cache: function( owner ) {
// Check if the owner object already has a cache
var value = owner[ this.expando ];
// If not, create one
if ( !value ) {
value = {};
// We can accept data for non-element nodes in modern browsers,
// but we should not, see #8335.
// Always return an empty object.
if ( acceptData( owner ) ) {
// If it is a node unlikely to be stringify-ed or looped over
// use plain assignment
if ( owner.nodeType ) {
owner[ this.expando ] = value;
// Otherwise secure it in a non-enumerable property
// configurable must be true to allow the property to be
// deleted when data is removed
} else {
Object.defineProperty( owner, this.expando, {
value: value,
configurable: true
} );
}
}
}
return value;
},
set: function( owner, data, value ) {
var prop,
cache = this.cache( owner );
// Handle: [ owner, key, value ] args
// Always use camelCase key (gh-2257)
if ( typeof data === "string" ) {
cache[ jQuery.camelCase( data ) ] = value;
// Handle: [ owner, { properties } ] args
} else {
// Copy the properties one-by-one to the cache object
for ( prop in data ) {
cache[ jQuery.camelCase( prop ) ] = data[ prop ];
}
}
return cache;
},
get: function( owner, key ) {
return key === undefined ?
this.cache( owner ) :
// Always use camelCase key (gh-2257)
owner[ this.expando ] && owner[ this.expando ][ jQuery.camelCase( key ) ];
},
access: function( owner, key, value ) {
// In cases where either:
//
// 1. No key was specified
// 2. A string key was specified, but no value provided
//
// Take the "read" path and allow the get method to determine
// which value to return, respectively either:
//
// 1. The entire cache object
// 2. The data stored at the key
//
if ( key === undefined ||
( ( key && typeof key === "string" ) && value === undefined ) ) {
return this.get( owner, key );
}
// When the key is not a string, or both a key and value
// are specified, set or extend (existing objects) with either:
//
// 1. An object of properties
// 2. A key and value
//
this.set( owner, key, value );
// Since the "set" path can have two possible entry points
// return the expected data based on which path was taken[*]
return value !== undefined ? value : key;
},
remove: function( owner, key ) {
var i,
cache = owner[ this.expando ];
if ( cache === undefined ) {
return;
}
if ( key !== undefined ) {
// Support array or space separated string of keys
if ( Array.isArray( key ) ) {
// If key is an array of keys...
// We always set camelCase keys, so remove that.
key = key.map( jQuery.camelCase );
} else {
key = jQuery.camelCase( key );
// If a key with the spaces exists, use it.
// Otherwise, create an array by matching non-whitespace
key = key in cache ?
[ key ] :
( key.match( rnothtmlwhite ) || [] );
}
i = key.length;
while ( i-- ) {
delete cache[ key[ i ] ];
}
}
// Remove the expando if there's no more data
if ( key === undefined || jQuery.isEmptyObject( cache ) ) {
// Support: Chrome <=35 - 45
// Webkit & Blink performance suffers when deleting properties
// from DOM nodes, so set to undefined instead
// https://bugs.chromium.org/p/chromium/issues/detail?id=378607 (bug restricted)
if ( owner.nodeType ) {
owner[ this.expando ] = undefined;
} else {
delete owner[ this.expando ];
}
}
},
hasData: function( owner ) {
var cache = owner[ this.expando ];
return cache !== undefined && !jQuery.isEmptyObject( cache );
}
};
return Data;
} );

View File

@ -0,0 +1,19 @@
define( function() {
"use strict";
/**
* Determines whether an object can have data
*/
return function( owner ) {
// Accepts only:
// - Node
// - Node.ELEMENT_NODE
// - Node.DOCUMENT_NODE
// - Object
// - Any
return owner.nodeType === 1 || owner.nodeType === 9 || !( +owner.nodeType );
};
} );

View File

@ -0,0 +1,7 @@
define( [
"../Data"
], function( Data ) {
"use strict";
return new Data();
} );

View File

@ -0,0 +1,7 @@
define( [
"../Data"
], function( Data ) {
"use strict";
return new Data();
} );

View File

@ -0,0 +1,391 @@
define( [
"./core",
"./var/slice",
"./callbacks"
], function( jQuery, slice ) {
"use strict";
function Identity( v ) {
return v;
}
function Thrower( ex ) {
throw ex;
}
function adoptValue( value, resolve, reject, noValue ) {
var method;
try {
// Check for promise aspect first to privilege synchronous behavior
if ( value && jQuery.isFunction( ( method = value.promise ) ) ) {
method.call( value ).done( resolve ).fail( reject );
// Other thenables
} else if ( value && jQuery.isFunction( ( method = value.then ) ) ) {
method.call( value, resolve, reject );
// Other non-thenables
} else {
// Control `resolve` arguments by letting Array#slice cast boolean `noValue` to integer:
// * false: [ value ].slice( 0 ) => resolve( value )
// * true: [ value ].slice( 1 ) => resolve()
resolve.apply( undefined, [ value ].slice( noValue ) );
}
// For Promises/A+, convert exceptions into rejections
// Since jQuery.when doesn't unwrap thenables, we can skip the extra checks appearing in
// Deferred#then to conditionally suppress rejection.
} catch ( value ) {
// Support: Android 4.0 only
// Strict mode functions invoked without .call/.apply get global-object context
reject.apply( undefined, [ value ] );
}
}
jQuery.extend( {
Deferred: function( func ) {
var tuples = [
// action, add listener, callbacks,
// ... .then handlers, argument index, [final state]
[ "notify", "progress", jQuery.Callbacks( "memory" ),
jQuery.Callbacks( "memory" ), 2 ],
[ "resolve", "done", jQuery.Callbacks( "once memory" ),
jQuery.Callbacks( "once memory" ), 0, "resolved" ],
[ "reject", "fail", jQuery.Callbacks( "once memory" ),
jQuery.Callbacks( "once memory" ), 1, "rejected" ]
],
state = "pending",
promise = {
state: function() {
return state;
},
always: function() {
deferred.done( arguments ).fail( arguments );
return this;
},
"catch": function( fn ) {
return promise.then( null, fn );
},
// Keep pipe for back-compat
pipe: function( /* fnDone, fnFail, fnProgress */ ) {
var fns = arguments;
return jQuery.Deferred( function( newDefer ) {
jQuery.each( tuples, function( i, tuple ) {
// Map tuples (progress, done, fail) to arguments (done, fail, progress)
var fn = jQuery.isFunction( fns[ tuple[ 4 ] ] ) && fns[ tuple[ 4 ] ];
// deferred.progress(function() { bind to newDefer or newDefer.notify })
// deferred.done(function() { bind to newDefer or newDefer.resolve })
// deferred.fail(function() { bind to newDefer or newDefer.reject })
deferred[ tuple[ 1 ] ]( function() {
var returned = fn && fn.apply( this, arguments );
if ( returned && jQuery.isFunction( returned.promise ) ) {
returned.promise()
.progress( newDefer.notify )
.done( newDefer.resolve )
.fail( newDefer.reject );
} else {
newDefer[ tuple[ 0 ] + "With" ](
this,
fn ? [ returned ] : arguments
);
}
} );
} );
fns = null;
} ).promise();
},
then: function( onFulfilled, onRejected, onProgress ) {
var maxDepth = 0;
function resolve( depth, deferred, handler, special ) {
return function() {
var that = this,
args = arguments,
mightThrow = function() {
var returned, then;
// Support: Promises/A+ section 2.3.3.3.3
// https://promisesaplus.com/#point-59
// Ignore double-resolution attempts
if ( depth < maxDepth ) {
return;
}
returned = handler.apply( that, args );
// Support: Promises/A+ section 2.3.1
// https://promisesaplus.com/#point-48
if ( returned === deferred.promise() ) {
throw new TypeError( "Thenable self-resolution" );
}
// Support: Promises/A+ sections 2.3.3.1, 3.5
// https://promisesaplus.com/#point-54
// https://promisesaplus.com/#point-75
// Retrieve `then` only once
then = returned &&
// Support: Promises/A+ section 2.3.4
// https://promisesaplus.com/#point-64
// Only check objects and functions for thenability
( typeof returned === "object" ||
typeof returned === "function" ) &&
returned.then;
// Handle a returned thenable
if ( jQuery.isFunction( then ) ) {
// Special processors (notify) just wait for resolution
if ( special ) {
then.call(
returned,
resolve( maxDepth, deferred, Identity, special ),
resolve( maxDepth, deferred, Thrower, special )
);
// Normal processors (resolve) also hook into progress
} else {
// ...and disregard older resolution values
maxDepth++;
then.call(
returned,
resolve( maxDepth, deferred, Identity, special ),
resolve( maxDepth, deferred, Thrower, special ),
resolve( maxDepth, deferred, Identity,
deferred.notifyWith )
);
}
// Handle all other returned values
} else {
// Only substitute handlers pass on context
// and multiple values (non-spec behavior)
if ( handler !== Identity ) {
that = undefined;
args = [ returned ];
}
// Process the value(s)
// Default process is resolve
( special || deferred.resolveWith )( that, args );
}
},
// Only normal processors (resolve) catch and reject exceptions
process = special ?
mightThrow :
function() {
try {
mightThrow();
} catch ( e ) {
if ( jQuery.Deferred.exceptionHook ) {
jQuery.Deferred.exceptionHook( e,
process.stackTrace );
}
// Support: Promises/A+ section 2.3.3.3.4.1
// https://promisesaplus.com/#point-61
// Ignore post-resolution exceptions
if ( depth + 1 >= maxDepth ) {
// Only substitute handlers pass on context
// and multiple values (non-spec behavior)
if ( handler !== Thrower ) {
that = undefined;
args = [ e ];
}
deferred.rejectWith( that, args );
}
}
};
// Support: Promises/A+ section 2.3.3.3.1
// https://promisesaplus.com/#point-57
// Re-resolve promises immediately to dodge false rejection from
// subsequent errors
if ( depth ) {
process();
} else {
// Call an optional hook to record the stack, in case of exception
// since it's otherwise lost when execution goes async
if ( jQuery.Deferred.getStackHook ) {
process.stackTrace = jQuery.Deferred.getStackHook();
}
window.setTimeout( process );
}
};
}
return jQuery.Deferred( function( newDefer ) {
// progress_handlers.add( ... )
tuples[ 0 ][ 3 ].add(
resolve(
0,
newDefer,
jQuery.isFunction( onProgress ) ?
onProgress :
Identity,
newDefer.notifyWith
)
);
// fulfilled_handlers.add( ... )
tuples[ 1 ][ 3 ].add(
resolve(
0,
newDefer,
jQuery.isFunction( onFulfilled ) ?
onFulfilled :
Identity
)
);
// rejected_handlers.add( ... )
tuples[ 2 ][ 3 ].add(
resolve(
0,
newDefer,
jQuery.isFunction( onRejected ) ?
onRejected :
Thrower
)
);
} ).promise();
},
// Get a promise for this deferred
// If obj is provided, the promise aspect is added to the object
promise: function( obj ) {
return obj != null ? jQuery.extend( obj, promise ) : promise;
}
},
deferred = {};
// Add list-specific methods
jQuery.each( tuples, function( i, tuple ) {
var list = tuple[ 2 ],
stateString = tuple[ 5 ];
// promise.progress = list.add
// promise.done = list.add
// promise.fail = list.add
promise[ tuple[ 1 ] ] = list.add;
// Handle state
if ( stateString ) {
list.add(
function() {
// state = "resolved" (i.e., fulfilled)
// state = "rejected"
state = stateString;
},
// rejected_callbacks.disable
// fulfilled_callbacks.disable
tuples[ 3 - i ][ 2 ].disable,
// progress_callbacks.lock
tuples[ 0 ][ 2 ].lock
);
}
// progress_handlers.fire
// fulfilled_handlers.fire
// rejected_handlers.fire
list.add( tuple[ 3 ].fire );
// deferred.notify = function() { deferred.notifyWith(...) }
// deferred.resolve = function() { deferred.resolveWith(...) }
// deferred.reject = function() { deferred.rejectWith(...) }
deferred[ tuple[ 0 ] ] = function() {
deferred[ tuple[ 0 ] + "With" ]( this === deferred ? undefined : this, arguments );
return this;
};
// deferred.notifyWith = list.fireWith
// deferred.resolveWith = list.fireWith
// deferred.rejectWith = list.fireWith
deferred[ tuple[ 0 ] + "With" ] = list.fireWith;
} );
// Make the deferred a promise
promise.promise( deferred );
// Call given func if any
if ( func ) {
func.call( deferred, deferred );
}
// All done!
return deferred;
},
// Deferred helper
when: function( singleValue ) {
var
// count of uncompleted subordinates
remaining = arguments.length,
// count of unprocessed arguments
i = remaining,
// subordinate fulfillment data
resolveContexts = Array( i ),
resolveValues = slice.call( arguments ),
// the master Deferred
master = jQuery.Deferred(),
// subordinate callback factory
updateFunc = function( i ) {
return function( value ) {
resolveContexts[ i ] = this;
resolveValues[ i ] = arguments.length > 1 ? slice.call( arguments ) : value;
if ( !( --remaining ) ) {
master.resolveWith( resolveContexts, resolveValues );
}
};
};
// Single- and empty arguments are adopted like Promise.resolve
if ( remaining <= 1 ) {
adoptValue( singleValue, master.done( updateFunc( i ) ).resolve, master.reject,
!remaining );
// Use .then() to unwrap secondary thenables (cf. gh-3000)
if ( master.state() === "pending" ||
jQuery.isFunction( resolveValues[ i ] && resolveValues[ i ].then ) ) {
return master.then();
}
}
// Multiple arguments are aggregated like Promise.all array elements
while ( i-- ) {
adoptValue( resolveValues[ i ], updateFunc( i ), master.reject );
}
return master.promise();
}
} );
return jQuery;
} );

View File

@ -0,0 +1,21 @@
define( [
"../core",
"../deferred"
], function( jQuery ) {
"use strict";
// These usually indicate a programmer mistake during development,
// warn about them ASAP rather than swallowing them by default.
var rerrorNames = /^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;
jQuery.Deferred.exceptionHook = function( error, stack ) {
// Support: IE 8 - 9 only
// Console exists when dev tools are open, which can happen at any time
if ( window.console && window.console.warn && error && rerrorNames.test( error.name ) ) {
window.console.warn( "jQuery.Deferred exception: " + error.message, error.stack, stack );
}
};
} );

View File

@ -0,0 +1,40 @@
define( [
"./core",
"./core/nodeName"
], function( jQuery, nodeName ) {
"use strict";
jQuery.fn.extend( {
bind: function( types, data, fn ) {
return this.on( types, null, data, fn );
},
unbind: function( types, fn ) {
return this.off( types, null, fn );
},
delegate: function( selector, types, data, fn ) {
return this.on( types, selector, data, fn );
},
undelegate: function( selector, types, fn ) {
// ( namespace ) or ( selector, types [, fn] )
return arguments.length === 1 ?
this.off( selector, "**" ) :
this.off( types, selector || "**", fn );
}
} );
jQuery.holdReady = function( hold ) {
if ( hold ) {
jQuery.readyWait++;
} else {
jQuery.ready( true );
}
};
jQuery.isArray = Array.isArray;
jQuery.parseJSON = JSON.parse;
jQuery.nodeName = nodeName;
} );

Some files were not shown because too many files have changed in this diff Show More