This commit is contained in:
Xes
2025-08-14 22:41:49 +02:00
parent 2de81ccc46
commit 8ce45119b6
39774 changed files with 4309466 additions and 0 deletions

4
vendor/h5p/h5p-core/.gitignore vendored Normal file
View File

@@ -0,0 +1,4 @@
.DS_Store
vendor
*~
.idea

40
vendor/h5p/h5p-core/.travis.yml vendored Normal file
View File

@@ -0,0 +1,40 @@
language: php
# At present the only jobs to run are a php lint.
# Run this against all supported versions of PHP.
jobs:
include:
# Bionic supports PHP 7.1, 7.2, 7.3, and 7.4.
# https://docs.travis-ci.com/user/reference/bionic/#php-support
- php: 7.4
dist: bionic
- php: 7.3
dist: bionic
- php: 7.2
dist: bionic
- php: 7.1
dist: bionic
# Xenial was the last Travis distribution to support PHP 5.6, and 7.0.
# https://docs.travis-ci.com/user/reference/xenial/#php-support
- php: 7.0
dist: xenial
- php: 5.6
dist: xenial
# Trusty was the last Travis distribution to support PHP 5.4, and 5.5.
# https://docs.travis-ci.com/user/languages/php/#php-54x---55x-support-is-available-on-precise-and-trusty-only
- php: 5.5
dist: trusty
- php: 5.4
dist: trusty
# Precise was the last Travis distribution to support PHP 5.2, and 5.3.
# https://docs.travis-ci.com/user/languages/php/#php-52x---53x-support-is-available-on-precise-only
- php: 5.3
dist: precise
script:
# Run a php lint across all PHP files.
- find . -type f -name '*\.php' -print0 | xargs -0 -n1 php -l

674
vendor/h5p/h5p-core/LICENSE.txt vendored Normal file
View File

@@ -0,0 +1,674 @@
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 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 General Public License is a free, copyleft license for
software and other kinds of works.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
the GNU General Public License is 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. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.
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.
To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights. Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received. You must make sure that they, too, receive
or can get the source code. And you must show them these terms so they
know their rights.
Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.
For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.
Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so. This is fundamentally incompatible with the aim of
protecting users' freedom to change the software. The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable. Therefore, we
have designed this version of the GPL to prohibit the practice for those
products. If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary. To prevent this, the GPL assures that
patents cannot be used to render the program non-free.
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 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. Use with the GNU Affero General Public License.
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 Affero 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 special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU 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 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 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 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 General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:
<program> Copyright (C) <year> <name of author>
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".
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 GPL, see
<http://www.gnu.org/licenses/>.
The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<http://www.gnu.org/philosophy/why-not-lgpl.html>.

18
vendor/h5p/h5p-core/README.txt vendored Normal file
View File

@@ -0,0 +1,18 @@
This folder contains the general H5P library. The files within this folder are not specific to any framework.
Any interaction with an LMS, CMS or other frameworks is done through interfaces. Platforms need to implement
the H5PFrameworkInterface(in h5p.classes.php) and also do the following:
- Provide a form for uploading H5P packages.
- Place the uploaded H5P packages in a temporary directory
+++
See existing implementations for details. For instance the Drupal H5P module located at drupal.org/project/h5p
We will make available documentation and tutorials for creating platform integrations in the future.
The H5P PHP library is GPL licensed due to GPL code being used for purifying HTML provided by authors.
## License
Open Sans font is licensed under Apache license, Version 2.0

35
vendor/h5p/h5p-core/composer.json vendored Normal file
View File

@@ -0,0 +1,35 @@
{
"name": "h5p/h5p-core",
"type": "library",
"description": "H5P Core functionality in PHP",
"keywords": ["h5p","hvp","interactive","content","quiz"],
"homepage": "https://h5p.org",
"license": "GPL-3.0",
"authors": [
{
"name": "Svein-Tore Griff With",
"email": "with@joubel.com",
"homepage": "http://joubel.com",
"role": "CEO"
},
{
"name": "Frode Petterson",
"email": "frode.petterson@joubel.com",
"homepage": "http://joubel.com",
"role": "Developer"
}
],
"require": {
"php": ">=7.0.0"
},
"autoload": {
"files": [
"h5p.classes.php",
"h5p-development.class.php",
"h5p-file-storage.interface.php",
"h5p-default-storage.class.php",
"h5p-event-base.class.php",
"h5p-metadata.class.php"
]
}
}

168
vendor/h5p/h5p-core/doc/spec_en.html vendored Normal file
View File

@@ -0,0 +1,168 @@
<h2>Overview</h2>
<p>H5P is a file format for content/applications made using modern, open web technologies (HTML5). The format enables easy installation and transfer of applications/content on different CMSes, LMSes and other platforms. An H5P can be uploaded and published on a platform in mostly the same way one would publish a Flash file today. H5P files may also be updated by simply uploading a new version of the file, the same way as one would using Flash.</p>
<p>H5P opens for extensive reuse of code and wide flexibility regarding what may be developed as an H5P.</p>
<p>The system uses package files containing all necessary files and libraries for the application to function. These files are based on open formats.</p>
<h2>Overview of package files</h2>
<p>Package files are normal <em>zip</em> files, with a naming convention of <i>&lt;filename&gt;.h5p</i> to distinguish from any random zip file. This zip file then requires a specific file structure as described below.</p>
<p>There will be a file in JSON format named h5p.json describing the contents of the package and how the system should interpret and use it. This file contains information about title, content type, usage, copyright, licensing, version, language etc. This is described in detail below.</p>
<p>There shall be a folder for each included H5P library used by the package. These generic libraries may be reused by other H5P packages. As an example, a multi-choice question task may be used as a standalone block, or be included in a larger H5P package generating a game with quizzes.</p>
<h2>Package file structure</h2>
<p>A package contains the following elements:</p>
<ol>
<li>A mandatory file in the root folder named <i>h5p.json</i></li>
<li>An optional image file named <i>h5p.jpg</i>. This is an icon or an image of the application, 512 × 512 pixels. This image may be used by the platform as a preview of the application, and could be included in OG meta tags for use with social media.</li>
<li>One content folder, named <i>content</i>. This will contain the preset configuration for the application, as well as any required media files.</li>
<li>One or more library directories named the same as the library's internal name.</li>
</ol>
<h2>h5p.json</h2>
<p>The <i>h5p.json</i> file is a normal JSON text file containing a JSON object with the following predefined properties.</p>
<p>Mandatory properties:</p>
<ul>
<li>title - Name of the package. Would typically be used as header for a page displaying the package.</li>
<li>language - Standard language code. Use 'en' for english, 'nb' for norwegian "bokmål". Neutral content use "und".</li>
<li>machineName - Machine readable name of the library. This is the name that will be used for the library folder in the package too.</li>
<li>preloadedDependencies - Libraries that must be loaded on init. Specified as a list of objects with machineName, majorVersion and minorVersion. One would normally list all dependencies here to allow the platform displaying the package to merge JS and CSS files before returning the page.</li>
<li>embedTypes - List of ways to embed the package in the web page. Currently "div" and "iframe" are supported.</li>
</ul><p>Optional properties:</p>
<ul><li>contentType - Textual description of the type of content.</li>
<li>description - Textual description of the package.</li>
<li>author - Name of author.</li>
<li>license - Code for the content license. Use the following Creative Commons codes: cc-by, cc-by-sa, cc-by-nd, cc-by-nc, cc-by-nc-sa, cc-by-nc-nd. In addition for public domain: pd, and closed license: cr. More may be added later.</li>
<li>dynamicDependencies - Libraries that may be loaded dynamically during execution.</li>
<li>width - Width of the package content in cases where the package is not dynamically resizable.</li>
<li>height - Height of the package content.</li>
<li>metaKeywords - Suggestion for keywords for the application, as a string. May be used for OG meta tags for social media.</li>
<li>metaDescription - Suggestion for application metaDescription. May be used for OG meta tags for social media.</li>
</ul>
<h3>Eksempel på h5p.json:</h3>
<code>{ <br/>
"title": "Biologi-spillet",<br/>
"contentType": "Game",<br/>
"utilization": "Lær om biologi",<br/>
"language": "nb",<br/>
"author": "Amendor AS", <br/>
"license": "cc-by-sa", <br/>
"preloadedDependencies": [ <br/>
{<br/>
"machineName": "H5P.Boardgame", <br/>
"majorVersion": 1, <br/>
"minorVersion": 0<br/>
}, {<br/>
"machineName": "H5P.QuestionSet", <br/>
"majorVersion": 1, <br/>
"minorVersion": 0<br/>
}, {<br/>
"machineName": "H5P.MultiChoice", <br/>
"majorVersion": 1, "minorVersion": 0<br/>
}, {<br/>
"machineName": "EmbeddedJS", <br/>
"majorVersion": 1, <br/>
"minorVersion": 0<br/>
} ], <br/>
"embedTypes": ["div", "iframe"], <br/>
"w": 635, <br/>
"h": 500 <br/>
}</code>
<h2>The content folder</h2>
<p>Contains all the content for the package and its libraries. There shall be no content inside the library folders. The content folder shall contain a file named <i>content.json</i>, containing the JSON object that will be passed to the initializer for the main package library.</p>
<p>Content required by libraries invoked from the main package library will get their contents passed from the main library. The JSON for this will be found within the main content.json for the package, and passed during initialization.</p>
<h2>Library folders</h2>
<p>A library folder contains all logic, stylesheets and graphics that will be common for all instances of a library. There shall be no content or interface text directly in these folders. All text displayed to the end user shall be passed as part of the library configuration. This make the libraries language independent.</p>
<p>The root of a library folder shall contain a file name <i>library.json</i> formatted similar to the package's <i>hp5.json</i>, but with a few differences. The library shall also have one or more images in the root folder, named <i>library.jpg</i>, <i>library1.jpg</i> etc. Image sizes 512px × 512px, and will be used in the H5P editor tool.</p>
<p>Libraries are not allowed to modify the document tree in ways that will have consequences for the web site or will be noticeable by the user without the library explicitly being initialized from the main package library or another invoked library.</p>
<p>The library shall always include a JavaScript object function named the same as the defined library <i>machineName</i> (defined in <i>library.json</i> and used as the library folder name). This object will be instantiated with the library options as parameter. The resulting object must contain a function <i>attach(target)</i> that will be called after instantiation to attach the library DOM to the main DOM inside <i>target</i></p>
<h3>Example</h3>
<p>A library called H5P.multichoice would typically be instantiated and attached to the page like this:</p>
<code>var multichoice = new H5P.multichoice(contentFromJson, contentId); <br/>
multichoice.attach($multichoiceContainer);</code>
<h2>library.json</h2>
<p>Mandatory properties:</p>
<ul>
<li>title - Human readable name of the library. May be used in the H5P editor and overviews of installed libraries.</li>
<li>majorVersion - Version major number. (The x in x.y.z). Positive integer.</li>
<li>minorVersion - Version minor number. (The y in x.y.z). Positive integer.</li>
<li>patchVersion - Version patch number. (The z in x.y.z). Positive integer. The system will automatically update to the latest patchVersion installed for all packages that use the library with the same major and minor version number. A new patch version must therefore not change any behaviour of the library, only fix errors.</li>
<li>machineName - Machine readable name for the library. Same as the folder name used.</li>
<li>preloadedJs - List of path to the javascript files required for the library. At least one file need to be present (the one defining the library object). Paths are relative to the library root folder.</li>
</ul>
<p>Optional properties:</p>
<ul>
<li>author - Author name as text.</li>
<li>license - Code describing the library license. Use the following creative commons codes: cc-by, cc-by-sa, cc-by-nd, cc-by-nc, cc-by-nc-sa, cc-by-nc-nd. In addition use <i>pd</i> for public domain, and <i>cr</i> for closed source</li>
<li>description - Textual description of the library.</li>
<li>preloadedDependencies - Libraries that need to be loaded for this library to work. Specified as a list of objects with <i>machineName</i>, <i>majorVersion</i> and <i>minorVersion</i> for the required libraries.</li>
<li>dynamicDependencies - Libraries that may be loaded dynamically during library execution. Specified as a list of objects like preloadedDependencies above.</li>
<li>preloadedCss - List of paths to CSS files to be loaded with the library. Paths are relative to the library root folder.</li>
<li>w - Width in pixels for libraries that use a fixed width. Mandatory if the library shall be embedded in an iframe (see embedTypes below).</li>
<li>h - Height in pixels for libraries that use a fixed height. Mandatory if the library shall be embedded in an iframe (see embedTypes below).</li>
<li>embedTypes - List of possible ways to embed the package in the page. Available values are <i>div</i> and <i>iframe</i>.</li>
</ul>
<h3>Eksempel på library.json:</h3>
<code>{<br/>
"title": "Boardgame", <br/>
"description": "The user is presented with a board with several hotspots. By clicking a hotspot he invokes a mini-game.", <br/>
"majorVersion": 1, <br/>
"minorVersion": 0, <br/>
"patchVersion": 6, <br/>
"runnable": 1, <br/>
"machineName": "H5P.Boardgame", <br/>
"author": "Amendor AS", <br/>
"license": "cc-by-sa", <br/>
"preloadedDependencies": [ <br/>
{<br/>
"machineName": "EmbeddedJS", <br/>
"majorVersion": 1, <br/>
"minorVersion": 0<br/>
}, {<br/>
"machineName": "H5P.MultiChoice",<br/>
"majorVersion": 1,<br/>
"minorVersion": 0<br/>
}, {<br/>
"machineName": "H5P.QuestionSet",<br/>
"majorVersion": 1,<br/>
"minorVersion": 0<br/>
} ],<br/>
"preloadedCss": [ {"path": "css/boardgame.css"} ], <br/>
"preloadedJs": [ {"path": "js/boardgame.js"} ], <br/>
"w": 635, <br/>
"h": 500 }</code>
<h2>Allowed file types</h2>
<p>Files that require server side execution or that cannot be regarded an open standard shall not be used. Allowed file types: js, json, png, jpg, gif, svg, css, mp3, wav (audio: PCM), m4a (audio: AAC), mp4 (video: H.264, audio: AAC/MP3), ogg (video: Theora, audio: Vorbis) and webm (video VP8, audio: Vorbis). Administrators of web sites implementing H5P may open for accepting further formats. HTML files shall not be used. HTML for each library shall be inserted from the library scripts to ease code reuse. (By avoiding content being defined in said HTML).</p>
<h2>API functions</h2>
<p>The following JavaScript functions are available through h5p:</p>
<ul>
<li>H5P.getUserData(namespace, variable)</li>
<li>H5P.setUserData(namespace, variable, data)</li>
<li>H5P.getUserStart(namespace)</li>
<li>H5P.setUserStop(namespace)</li>
<li>H5P.deleteUserData(namespace, variable)</li>
<li>H5P.getGlobalData(namespace, variable)</li>
<li>H5P.setGlobalData(namespace, variable, data)</li>
<li>H5P.deleteGlobalData(namespace, variable)</li>
</ul>
<p>I tillegg er følgende api funksjoner tilgjengelig via ndla:</p>
<ul>
<li>H5P.setUserScore(contentId, score, maxScore)</li>
</ul>
<h2>Best practices</h2>
<p>H5P is a very open standard. This is positive for flexibility. Most content may be produces as H5P. But this also allows for bad code, security weaknesses, code that may be difficult to reuse. Therefore the following best practices should be followed to get the most from H5P:</p>
<ul>
<li>Think reusability when creating a library. H5P support dependencies between libraries, so the same small quiz-library may be used in various larger packages or libraries.</li>
<li>H5P supports library updates. This enables all content using a common library to be updated at once. This must be accounted for when writing new libraries. A library should be as general as possible. The content format should be thought out so there are no changes to the required content data when a library is updated. Note: Multiple versions of a library may exists at the same time, only patch level updates will be automatically installed.</li>
<li>An H5P should not interact directly with the containing web site. It shall only affect elements within its own generated DOM tree. Elements shall also only be injected within the target defined on initialization. This is to avoid dependencies to a specific platform or web page.</li>
<li>Prefix objects, global functions, etc with h5p to minimize the chance of namespace conflicts with the rest of the web page. Remember that there may also be multiple H5P objects inserted on a page, so plan ahead to avoid conflicts.</li>
<li>Content should be responsive.</li>
<li>Content should be WCAG 2 AA compliant</li>
<li>All generated HTML should validate.</li>
<li>All CSS should validate (some browser specific non-standard CSS may at times be required)</li>
<li>Best practices for JavaScript, HTML, etc. should of course also be followed when writing an H5P.</li>
</ul>

20
vendor/h5p/h5p-core/embed.php vendored Normal file
View File

@@ -0,0 +1,20 @@
<!doctype html>
<html lang="<?php print $lang; ?>" class="h5p-iframe">
<head>
<meta charset="utf-8">
<title><?php print $content['title']; ?></title>
<?php for ($i = 0, $s = count($scripts); $i < $s; $i++): ?>
<script src="<?php print $scripts[$i]; ?>"></script>
<?php endfor; ?>
<?php for ($i = 0, $s = count($styles); $i < $s; $i++): ?>
<link rel="stylesheet" href="<?php print $styles[$i]; ?>">
<?php endfor; ?>
<?php if (!empty($additional_embed_head_tags)): print implode("\n", $additional_embed_head_tags); endif; ?>
</head>
<body>
<div class="h5p-content" data-content-id="<?php print $content['id']; ?>"></div>
<script>
H5PIntegration = <?php print json_encode($integration); ?>;
</script>
</body>
</html>

Binary file not shown.

View File

@@ -0,0 +1,599 @@
<?xml version="1.0" standalone="no"?>
<<<<<<< HEAD
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg xmlns="http://www.w3.org/2000/svg">
<metadata>Copyright (C) 2024 by original authors @ fontello.com</metadata>
<defs>
<font id="h5p-core-28" horiz-adv-x="1000" >
<font-face font-family="h5p-core-28" font-weight="400" font-stretch="normal" units-per-em="1000" ascent="850" descent="-150" />
<missing-glyph horiz-adv-x="1000" />
<glyph glyph-name="arrow-down" unicode="&#xe565;" d="M229 444h543l-272-271z" horiz-adv-x="1000" />
<glyph glyph-name="arrow-left" unicode="&#xe566;" d="M372 53v511l256-256z" horiz-adv-x="1000" />
<glyph glyph-name="colapse" unicode="&#xe58e;" d="M500 463l250-250-59-59-191 191-191-191-59 59z" horiz-adv-x="1000" />
<glyph glyph-name="expand" unicode="&#xe58f;" d="M691 463l59-59-250-250-250 250 59 59 191-192z" horiz-adv-x="1000" />
<glyph glyph-name="move" unicode="&#xe600;" d="M378 725h69v-70h-69v70z m175 0h69v-70h-69v70z m-175-153h69v-69h-69v69z m175 0h69v-69h-69v69z m-175-153h69v-69h-69v69z m175 0h69v-69h-69v69z m-175-152h69v-70h-69v70z m175 0h69v-70h-69v70z m-175-153h69v-69h-69v69z m175 0h69v-69h-69v69z m-175-153h69v-69h-69v69z m175 0h69v-69h-69v69z" horiz-adv-x="1000" />
<glyph glyph-name="check-mark" unicode="&#xe601;" d="M444 278l-114 114-83-83 197-197 309 310-82 83z" horiz-adv-x="1000" />
<glyph glyph-name="drag-text" unicode="&#xe602;" d="M649 272c-11 15-26 24-46 24-21 0-37-13-47-23h-2c1 10 0 23 0 30v50h-49v-229h40l8 20h3c11-20 26-22 46-22 19 0 35 8 47 23s17 36 17 64c0 27-6 48-17 63z m-38-100c-5-9-13-13-22-13-12 0-21 4-26 11s-9 21-9 39v5c0 16 4 27 9 34 5 7 14 10 25 10 10 0 17-4 23-12s8-21 8-37c0-16-2-29-8-37z m164-13c9 0 17 1 24 3s13 6 22 11v-39c-9-4-14-8-22-9-7-2-17-3-28-3-52 0-78 28-78 85 0 29 7 50 21 65s35 22 61 22c19 0 36-3 52-11l-14-35c-7 3-13 5-20 7-6 2-12 3-18 3-24 0-35-17-35-51-1-32 11-48 35-48z m-342 122c-12 10-25 15-47 15-24 0-45-5-64-15l15-31c18 8 32 12 46 12 17 0 24-8 24-25v-7l-27-1c-25-1-43-6-55-14-12-9-18-22-18-39 0-17 4-30 13-40 10-9 22-14 38-14 13 0 24 1 32 5 8 4 16 8 24 18h1l9-19h22v111c0 20-1 35-13 44z m-26-91c0-10-2-18-8-24s-13-10-24-10c-15 0-22 7-22 20 0 9 4 15 10 20s15 6 28 7l16 0v-13z m476 200c8 0 14-7 14-14v-285c0-7-6-14-14-14h-607c-8 0-14 7-14 14v285c0 7 6 14 14 14h607z m0 36h-607c-28 0-50-23-50-50v-285c0-27 22-50 50-50h607c28 0 50 23 50 50v285c0 27-22 50-50 50v0z m-637-254h-64v32h64v-32z m-115 0h-35c-16 0-29 13-29 29v9h32v-6h32v-32z m-32 102h-32v64h32v-64z m0 128h-32v64h32v-64z m644 11h-32v63h32v-63z m-644 117h-32v17c0 16 13 28 29 28h27v-32h-24v-13z m612 13h-24v32h27c16 0 29-12 29-28v-17h-32v13z m-77 0h-63v32h63v-32z m-127 0h-64v32h64v-32z m-128 0h-64v32h64v-32z m-128 0h-64v32h64v-32z" horiz-adv-x="1000" />
<glyph glyph-name="mark-the-words" unicode="&#xe603;" d="M518 338c-14 0-23-4-29-13s-10-23-10-43v-6c0-23 3-39 9-49 7-10 17-15 32-15 12 0 21 6 28 17s10 26 10 47c0 21-4 36-11 47-7 10-16 15-29 15z m113 184h-244c-41 0-76-34-76-76v-263c0-42 35-89 76-89h244c42 0 75 34 75 76v276c0 42-33 76-75 76z m-36-328c-15-19-35-28-60-28-24 0-44 3-58 28h-4l-9-25h-47v290h62v-64c0-9-3-23-4-36h2c14 13 33 28 60 28 25 0 44-11 58-30 15-20 22-47 22-81 0-35-8-63-22-82z m259 21c11 0 20 1 30 4 9 3 15 8 27 14v-49c-12-6-18-10-27-12s-21-3-35-3c-65 0-98 35-98 107 0 35 9 62 27 81s43 28 76 28c24 0 45-5 65-14l-17-44c-9 3-17 6-25 8-8 3-16 4-23 4-30 0-45-21-45-63 0-41 15-61 45-61z m-615 167c-15 12-31 18-59 18-29 0-56-6-80-19l19-38c23 10 41 15 57 15 22 0 31-11 31-32v-9l-34-1c-31-1-53-7-69-18-15-10-22-27-22-49 0-21 5-37 17-49 11-11 27-18 47-18 16 0 30 2 40 6s20 12 29 23h2l11-23h27v138c0 25-1 43-16 56z m-32-115c0-13-2-23-10-31-8-7-17-11-30-11-18 0-27 8-27 24 0 11 4 19 12 25s19 8 35 9l20 1v-17z" horiz-adv-x="1000" />
<glyph glyph-name="multiple-choice" unicode="&#xe604;" d="M278 588l-125-125c-2-3-6-4-10-4s-7 1-10 4l-72 72c-2 3-4 6-4 10s2 7 4 10l20 20c3 2 6 4 10 4s7-2 10-4l42-43 95 95c3 3 7 4 10 4s7-1 10-4l20-20c2-2 4-6 4-9s-2-8-4-10z m-34-343l-21-21c-3-3-7-4-10-4-4 0-8 1-11 4l-45 45-45-45c-3-3-6-4-10-4-4 0-8 1-10 4l-21 21c-3 3-5 7-5 10 0 4 2 8 5 11l45 45-45 45c-3 2-5 6-5 10 0 4 2 8 5 10l21 21c2 3 6 4 10 4 4 0 7-1 10-4l45-45 45 45c3 3 7 4 10 4 4 0 8-1 11-4l20-21c3-3 5-6 5-10 0-4-2-8-5-10l-45-45 45-45c3-3 5-7 5-10 0-4-2-8-4-11z m0-234l-21-21c-3-3-7-5-10-5-4 0-8 2-11 5l-45 45-45-45c-2-3-6-5-10-5-4 0-8 2-10 5l-21 21c-3 3-5 6-5 10 0 4 2 8 5 10l45 45-45 45c-3 3-5 7-5 11 0 4 2 7 5 10l21 21c2 3 6 4 10 4 4 0 7-1 10-4l45-45 45 45c3 3 7 4 10 4 4 0 8-1 11-4l20-21c3-3 5-7 5-10 0-4-2-8-5-11l-45-44 45-45c3-3 5-7 5-11 0-4-2-7-4-10z m699 499c0-20-16-36-36-36h-567c-20 0-36 16-36 36v25c0 20 16 36 36 36h567c20 0 36-16 36-36v-25z m0-221c0-19-16-35-36-35h-567c-20 0-36 16-36 35v26c0 20 16 36 36 36h567c20 0 36-16 36-36v-26z m0-220c0-20-16-36-36-36h-567c-20 0-36 16-36 36v25c0 20 16 36 36 36h567c20 0 36-16 36-36v-25z" horiz-adv-x="1000" />
<glyph glyph-name="icon-warning" unicode="&#xe859;" d="M199 99l301 502 301-502-602 0 0 0z m95 53h412l-206 343-206-343z m206 26c8 0 14 3 20 8s7 11 7 19-2 14-7 19c-6 5-12 7-20 7s-14-2-19-7-8-12-8-19 2-14 8-19c5-5 11-8 19-8z m-27 80h54v132h-54v-132z" horiz-adv-x="1000" />
<glyph glyph-name="icon-link" unicode="&#xe85c;" d="M372 48c-44 0-88 17-123 51-67 68-67 179 0 247l42 42c9 9 23 9 32 0s10-24 0-33l-41-42c-24-23-38-56-38-90s14-65 38-91c23-26 55-37 90-37s65 14 91 37l42 42c9 9 23 9 32 0s9-23 0-33l-42-42c-35-35-79-51-123-51z m23 175c-6 0-11 2-16 6-9 10-9 24 0 33l212 211c9 10 23 10 32 0s9-23 0-32l-211-212c-5-4-12-6-17-6z m298 83c-7 0-12 3-16 7-10 9-10 23 0 33l41 41c24 24 38 56 38 91s-14 65-38 91c-23 25-55 37-90 37s-65-14-91-37l-42-42c-9-9-23-9-32 0s-9 23 0 32l42 42c67 68 179 68 246 0s67-179 0-246l-42-42c-4-4-11-7-16-7z" horiz-adv-x="1000" />
<glyph glyph-name="icon-upload" unicode="&#xe85d;" d="M484 645c9 9 23 9 32 0l155-154c9-10 10-25 0-35-9-10-24-10-33-1l-114 114v-311c0-14-11-25-24-25-13 0-24 11-24 25v311l-114-114c-9-9-24-9-33 1-9 10-9 25 0 35l155 154z m-262-363c13 0 24-11 24-24v-37c0-26 0-45 1-59 1-13 3-21 6-27 7-12 17-23 30-30 6-3 14-5 28-6 15-1 33-1 59-1h260c26 0 44 0 59 1 14 1 22 3 28 6 13 7 23 18 30 30 3 6 5 14 6 27 1 14 1 33 1 59v37c0 13 11 24 24 24s24-11 24-24v-38c0-25 0-45-2-62-1-17-4-32-11-46-12-22-30-40-51-51-14-7-29-10-46-11-16-1-36-1-61-1h-262c-25 0-45 0-61 1-17 1-32 4-46 11-21 11-39 29-51 51-7 14-10 29-11 46-1 17-1 37-1 62v38c0 13 10 24 23 24z" horiz-adv-x="1000" />
<glyph glyph-name="icon-edit" unicode="&#xe85e;" d="M754 486c6 1 13 2 20 5 10 5 18 13 23 23 3 7 4 14 5 20 0 6 0 14 0 22v26c0 8 0 16 0 22-1 6-2 13-5 20-5 10-13 18-23 23-7 3-14 4-20 5-6 0-14 0-22 0h-26c-8 0-16 0-22 0-6-1-13-2-20-5-10-5-18-13-23-23-3-7-5-14-5-20 0-4-1-9-1-14h-270c0 5-1 10-1 14 0 6-2 13-5 20-5 10-13 18-23 23-7 3-14 4-20 5-6 0-14 0-22 0 0 0 0 0 0 0h-25c-1 0-1 0-1 0-8 0-16 0-22 0-6-1-13-2-20-5-10-5-18-13-23-23-3-7-4-14-5-20 0-6 0-14 0-22 0 0 0 0 0-1v-25c0 0 0 0 0 0 0-8 0-16 0-22 1-6 2-13 5-20 5-10 13-18 23-23 7-3 14-4 20-5 4 0 9 0 14 0v-271c-5 0-10-1-14-1-6 0-13-2-20-5-10-5-18-13-23-23-3-7-4-14-5-20 0-6 0-14 0-22v-26c0-8 0-16 0-22 1-6 2-13 5-20 5-10 13-18 23-23 7-3 14-4 20-5 6 0 14 0 22 0h26c8 0 16 0 22 0 6 1 13 2 20 5 10 5 18 13 23 23 3 7 5 14 5 20 0 4 1 9 1 14h271c0-5 0-10 0-14 1-6 2-13 5-20 5-10 13-18 23-23 7-3 14-4 20-5 6 0 14 0 22 0h26c8 0 16 0 22 0 6 1 13 2 20 5 10 5 18 13 23 23 3 7 4 14 5 20 0 6 0 14 0 22v26c0 8 0 16 0 22-1 6-2 13-5 20-5 10-13 18-23 23-7 3-14 5-20 5-4 0-9 1-14 1v271c5 0 10 0 14 0z m-504 42c-2 0-3 0-4 0 0 0-1 0-1 0 0 0 0 0 0 0-2 1-3 3-5 5 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 2 0 4-1 4-1 9-1 18v25c0 10 0 15 1 19 0 2 0 3 0 4 0 0 0 1 0 1 0 0 0 0 0 0 1 2 3 4 5 5 0 0 0 0 0 0 0 0 1 0 1 0 1 0 2 0 4 0 4 1 10 1 19 1h25c9 0 14 0 18-1 2 0 4 0 4 0 1 0 1 0 1 0 0 0 0 0 0 0 2-1 4-3 5-5 0 0 0 0 0 0 0 0 0 0 0-1 0-1 0-2 1-4 0-4 0-9 0-19v-25c0-9 0-14 0-18-1-2-1-3-1-4 0 0 0-1 0-1s0 0 0 0c-1-2-3-4-5-5 0 0 0 0 0 0 0 0 0 0-1 0 0 0-2 0-4 0-4-1-9-1-18-1h-25c-9 0-15 0-19 1z m73-409c0-9 0-15-1-19 0-2 0-3 0-4 0 0 0-1 0-1 0 0 0 0 0 0-1-2-3-3-5-5 0 0 0 0 0 0 0 0 0 0-1 0-1 0-2 0-4 0-4-1-9-1-18-1h-25c-9 0-15 0-19 1-2 0-3 0-4 0 0 0-1 0-1 0 0 0 0 0 0 0-2 1-3 3-5 5 0 0 0 0 0 0 0 0 0 1 0 1 0 1 0 2 0 4-1 4-1 10-1 19v25c0 9 0 14 1 18 0 2 0 4 0 4 0 1 0 1 0 1 0 0 0 0 0 0 1 2 3 4 5 5 0 0 0 0 0 0 0 0 1 0 1 0 1 0 2 0 4 1 4 0 10 0 19 0h25c9 0 14 0 18 0 2-1 4-1 4-1 1 0 1 0 1 0s0 0 0 0c2-1 4-3 5-5 0 0 0 0 0 0 0 0 0 0 0-1 0 0 0-2 1-4 0-4 0-9 0-18v-25h0z m318 67c-3-7-4-14-5-20 0-4 0-9 0-14h-271c0 5-1 10-1 14 0 6-2 13-5 20-5 10-13 18-23 23-7 3-14 5-20 5-4 0-9 1-14 1v271c5 0 10 0 14 0 6 1 13 2 20 5 10 5 18 13 23 23 3 7 5 14 5 20 0 4 1 9 1 14h271c0-5 0-10 0-14 1-6 2-13 5-20 5-10 13-18 23-23 7-3 14-4 20-5 4 0 9 0 14 0v-271c-5 0-10-1-14-1-6 0-13-2-20-5-10-5-18-13-23-23z m109-13c2-1 3-1 4-1 0 0 1 0 1 0 0 0 0 0 0 0 2-1 4-3 5-5 0 0 0 0 0 0 0 0 0 0 0-1 0 0 0-2 0-4 1-4 1-9 1-18v-25c0-9 0-15-1-19 0-2 0-3 0-4 0 0 0-1 0-1v0 0c-1-2-3-3-5-5 0 0 0 0 0 0 0 0 0 0-1 0 0 0-2 0-4 0-4-1-9-1-18-1h-25c-9 0-15 0-19 1-2 0-3 0-4 0 0 0-1 0-1 0 0 0 0 0 0 0-2 1-3 3-5 5 0 0 0 0 0 0 0 0 0 1 0 1 0 1 0 2 0 4-1 4-1 10-1 19v25c0 9 0 14 1 18 0 2 0 4 0 4 0 1 0 1 0 1 0 0 0 0 0 0 1 2 3 4 5 5 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 1 0 1 0 2 0 4 1 4 0 10 0 19 0h24c10 0 15 0 19 0z m-19 354h-25c-9 0-14 0-18 1-2 0-3 0-4 0 0 0-1 0-1 0 0 0 0 0 0 0-2 1-4 3-5 5 0 0 0 0 0 0 0 0 0 1 0 1 0 1 0 2 0 4-1 4-1 10-1 19v24c0 10 0 15 1 19 0 2 0 3 0 4 0 0 0 1 0 1 0 0 0 0 0 0 1 2 3 4 5 5 0 0 0 0 0 0 0 0 0 0 1 0 1 0 2 0 4 0 4 1 9 1 18 1h25c10 0 15 0 19-1 2 0 3 0 4 0 0 0 1 0 1 0 0 0 0 0 0 0 2-1 4-3 5-5 0 0 0 0 0 0v0c0 0 0 0 0-1 0-1 0-2 0-4 1-4 1-9 1-19v-25c0-9 0-14-1-18 0-2 0-3 0-4 0 0 0-1 0-1s0 0 0 0c-1-2-3-4-5-5 0 0 0 0 0 0 0 0-1 0-1 0-1 0-2 0-4 0-4-1-9-1-19-1z" horiz-adv-x="1000" />
<glyph glyph-name="icon-delete" unicode="&#xe85f;" d="M570 165c20 0 34 14 34 34v171c0 20-14 34-34 34-20 0-35-14-35-34v-171c0-20 15-34 35-34z m200 394l0 0h-120c0 12 0 26 0 35 0 13-3 23-10 35-8 18-23 31-41 38-12 5-22 8-35 10-10 0-25 0-40 0h-50c-15 0-30 0-41 0-12-2-25-5-35-10-17-7-33-23-40-38-5-12-8-22-10-35 0-9 0-21 0-35h-121c-17 0-30-15-30-30 0-18 13-31 30-31h30v-304c0-25 0-43 3-60s5-33 12-46c10-22 28-40 51-52 15-8 30-10 47-13 16 0 36 0 61 0h136c25 0 45 0 60 3 18 2 33 5 48 12 22 13 40 30 53 53 7 15 10 30 12 45 3 15 3 36 3 61v301h30c17 0 30 13 30 31-2 15-15 30-33 30z m-362 30c0 8 3 10 3 13 2 5 7 10 12 12 3 0 5 3 13 3s20 0 38 0h50c18 0 28 0 38 0 7 0 10-3 12-3 5-2 10-7 13-12 0-3 2-5 2-13 0-7 0-16 0-30h-181c0 14 0 23 0 30l0 0z m274-392c0 0 0-43 0-56s-5-20-7-25c-5-10-15-20-25-25-5-3-13-5-25-5-13 0-31 0-58 0h-134c-25 0-42 0-58 0-12 0-20 2-25 5-12 5-20 15-25 25-2 5-5 10-5 25 0 13 0 30 0 56v301h362v-301h0z m-251-32c21 0 35 14 35 34v171c0 20-14 34-35 34s-34-14-34-34v-171c0-20 14-34 34-34z" horiz-adv-x="1000" />
<glyph glyph-name="arrow-up-circle" unicode="&#xe888;" d="M501 565c-145 0-258-118-254-263 0-123 87-227 204-250v209h-90c-14 0-14 9-9 18l136 168c4 9 13 9 22 4 0 0 5-4 5-4l136-168c9-9 5-18-9-18h-91v-209c141 32 227 168 195 309-22 117-127 199-245 204z" horiz-adv-x="1000" />
<glyph glyph-name="info-circle" unicode="&#xe889;" d="M500 563c-141 0-254-114-254-255s113-254 254-254 254 114 254 254v0c0 137-113 250-254 255z m-41-50h86v-68h-86v68z m127-382h-177v50h50v159h-50v50h136v-213h46l-5-46z" horiz-adv-x="1000" />
<glyph glyph-name="search" unicode="&#xe88a;" d="M751 110l-108 108c70 97 49 238-48 308s-238 43-308-54c-71-98-49-238 48-308 76-54 178-54 254 0l108-108c6-6 11-6 16 0 0 0 0 0 0 0l33 32c11 5 11 16 5 22 0 0 0 0 0 0z m-286 75c-87 0-157 71-157 157s70 157 157 157 157-70 157-157-71-157-157-157v0z" horiz-adv-x="1000" />
<glyph glyph-name="fullscreen" unicode="&#xe88c;" d="M349 451c5 6 0 6-6 6l-101 11c-5 6-11 0-11-6l11-106c0-6 6-6 6-6l101 101z m-73-61l62-62c5-6 11-6 16 0l23 22c5 6 5 12 0 17l-62 56-39-33z m482-40c5-5 5 0 5 6l12 106c0 6-6 12-12 12l-106-12c-6 0-6-5-6-5l107-107z m-62 73l-61-61c-6-6-6-12 0-17l22-23c6-5 11-5 17 0l61 62-39 39z m-33-274c-6-6 0-6 5-6l107-11c5 0 11 5 11 11l-17 101c0 6-6 6-6 6l-100-101z m67 67l-62 62c-5 5-11 5-17 0l-22-23c-6-5-6-11 0-17l62-61 39 39z m-482 34c-6 5-6 0-6-6l-11-107c0-5 6-11 11-11l107 11c5 0 5 6 5 6l-106 107z m67-73l62 61c5 6 5 12 0 17l-23 23c-5 5-11 5-16 0l-62-62 39-39z m-168 375v-487h706v487h-706z m667-448h-622v403h622v-403z" horiz-adv-x="1000" />
<glyph glyph-name="h5p" unicode="&#xe88e;" d="M871 453c-22 16-49 27-88 27h-136v-65h-152l-11-55c11 6 27 11 38 11s22 0 33 0c32 0 65-11 87-33s32-49 32-81c0-22-5-44-16-66s-27-38-49-49c-5-5-16 0-22-11h115v131h65c44 0 76 11 98 27 22 22 33 49 33 82 0 38-11 65-27 82v0z m-93-109c-11-6-22-11-44-11h-32v82h38c22 0 32-6 43-11 6-6 11-17 11-28 0-16-5-27-16-32v0z m-267-38c-16 0-33-11-44-28l-92 17 43 190h-92v-147h-115v147h-109v-354h109v131h115v-131h136c-16 11-33 11-44 22s-21 22-27 33c-5 11-11 22-16 38l92 16c6-16 22-27 44-27 27 0 49 22 49 49 0 22-22 44-49 44v0z" horiz-adv-x="1000" />
<glyph glyph-name="rights-of-use" unicode="&#xe88f;" d="M858 296c0-5 0-5 0-5-23-23-46-35-75-41-12 0-23-6-35-6s-17 0-29 0c0 0-5 0-5 6-64 58-133 116-197 179 0 0-5 0-5 0-23-6-47-11-70-17s-52 0-75 11c-17 12-23 18-28 35-6 6 0 23 11 23 40 12 87 29 127 46 12 6 29 6 40 6 6 0 12-6 12-6 40-17 81-29 121-46 0 0 6 0 6 0 29 6 63 17 92 23 6 0 6 0 6 0l104-208z m-594 6c17 12 34 6 51-11 12-12 12-29 6-47 18 6 35-5 41-17 11-17 5-34-6-46 6 0 11 0 17 0 12-6 23-12 29-29s0-29-6-34c-6-6-11-12-17-18s-12-11-17-17-35-17-52 0c-29 29-52 63-81 92-17 23-35 41-46 64-6 11-12 17-12 29 0 5 0 17 6 23 12 11 17 17 29 28 17 18 46 12 63-5-5 0-5-6-5-12v0z m144-202l29-29c17-17 46-11 57 6l-5 6c-24 23-47 46-70 69-5 6-5 6-5 12s5 5 11 11c6 0 12 0 12-6 11-11 28-28 46-46 11-11 29-29 46-46 6-11 17-11 29-11 11 5 23 11 29 23 0 5 0 5 0 5-41 41-87 81-127 127-6 6-6 6-6 12 0 11 11 11 23 6 0 0 6 0 6-6 40-40 86-87 127-127 5-6 5-6 5-6 18 0 35 18 35 35 0 6 0 6 0 6-46 46-98 98-144 144-6 6-6 6-6 11s6 12 6 12c6 0 11 0 11-6 6-6 6-6 12-11 35-35 69-70 104-104 11-12 23-23 29-29 0 0 5-6 5 0 23 6 35 29 29 52h35c0 0 0 0 0 0 0-6 0-17 0-23-6-29-23-46-52-58 0 0-6 0-6-6-11-29-34-52-63-52-6 0-6 0-6-5-17-35-58-47-87-35-5 0-11 6-11 6-6-6-12-12-23-18-29-11-58-5-75 12-12 11-18 17-29 29 17 23 23 29 29 40v0 0z m-162 502c29-11 64-23 93-29 34-11 63-23 98-29 0 0 0 0 5 0-17-5-34-11-46-17 0 0-6 0-6 0-46 12-92 23-132 41-6 0-6 0-6 0l-75-179c0-12 6-18 12-23s5-6 5-12c-5-6-11-17-23-23-17 17-29 35-29 63l87 208c-6-11 6 6 17 0v0z" horiz-adv-x="1000" />
<glyph glyph-name="delete-circle" unicode="&#xe890;" d="M500 563c-144 0-254-116-254-255s116-254 254-254 254 116 254 254-110 255-254 255z m138-332c6-5 6-17 0-28l-33-33c-5-5-17-5-28 0l-77 78-77-78c-6-5-17-5-28 0l-33 33c-6 6-6 17 0 28l83 77-78 78c-5 5-5 16 0 27l34 34c5 5 16 5 27 0l72-83 77 77c6 6 17 6 28 0l33-33c6-6 6-17 0-28l-77-72 77-77z" horiz-adv-x="1000" />
<glyph glyph-name="window" unicode="&#xe891;" d="M182 428c-5-5 0-5 6-5l106-12c5 0 11 6 11 12l-17 100c0 5-5 5-5 5l-101-100z m67 61l-61 62c-6 5-11 5-17 0l-16-23c-6-5-6-11 0-16l61-62 33 39z m468 34c-5 5-5 0-5-6l-11-106c0-5 5-11 11-11l106 11c5 0 5 6 5 6l-106 106z m62-73l61 62c5 5 5 11 0 16l-22 23c-6 5-12 5-17 0l-61-62 39-39z m33-256c6 6 0 6-6 6l-100 16c-5 0-11-5-11-11l11-106c0-5 6-5 6-5l100 100z m-67-61l61-61c6-6 12-6 17 0l22 22c6 5 6 11 0 17l-61 61-39-39z m-468-34c6-5 6 0 6 6l11 106c0 5-6 11-11 11l-106-11c-6 0-6-6-6-6l106-106z m-61 67l-61-61c-6-6-6-11 0-17l22-22c5-6 11-6 17 0l61 61-39 39z m111 268v-234h340v234h-340z m296-195h-257v150h257v-150z" horiz-adv-x="1000" />
<glyph glyph-name="code" unicode="&#xe892;" d="M436 196c6-6 6-12 6-19v-60c0-7-6-7-6-7l-225 153c-6 6-6 12-6 18v49c0 6 6 12 6 18l225 152c6 6 6 0 6-6v-61c0-6-6-12-6-18l-158-110c-6-6-6-6 0-12l158-97z m280 103c6 6 6 6 0 12l-152 110c-6 6-6 12-6 18v61c0 6 6 6 6 6l225-152c6-6 6-12 6-18v-49c0-6-6-12-6-18l-225-152c-6-7-6 0-6 6v61c0 6 6 12 6 18l152 97z" horiz-adv-x="1000" />
<glyph glyph-name="download" unicode="&#xe893;" d="M345 392c-12 0-17-6-6-18l150-183c5-12 23-12 28 0l150 183c6 12 6 18-6 18h-316z m213-12v132c0 12-12 23-23 23h-69c-12 0-23-11-23-23v-138h115z m74-132c-5 0-17-6-23-11l-74-92c-6-6-18-18-23-23 0 0-6-6-12-6s-17 11-17 11c-6 6-17 18-23 23l-75 92c-6 6-17 12-23 12h-121c-5 0-17-6-17-17v-138c0-6 6-18 17-18h518c6 0 17 6 17 18v138c0 5-6 17-17 17l-127-6z m-339-109c-17 0-29 11-29 29s12 28 29 28c17 0 29-11 29-28s-12-29-29-29v0z" horiz-adv-x="1000" />
<glyph glyph-name="delete" unicode="&#xe894;" d="M601 308l131 131c10 10 10 30 0 41l-61 60c-10 10-30 10-40 0l-131-131-131 131c-10 10-30 10-40 0l-61-60c-10-11-10-31 0-41l131-131-131-131c-10-10-10-30 0-40l61-60c10-10 30-10 40 0l131 131 131-131c10-10 30-10 40 0l61 60c10 10 10 30 0 40l-131 131z" horiz-adv-x="1000" />
<glyph glyph-name="edit-image" unicode="&#xe900;" d="M293 624c68 22 131 14 185-33 55-47 76-108 62-179-3-12 0-19 8-27 92-92 153-153 245-245 5-5 11-10 15-16 39-49 17-121-43-139-36-11-67 0-93 27-94 93-157 157-251 251-7 6-12 8-22 6-115-26-224 60-226 177-1 26 3 51 15 76 34-34 67-66 99-99 11-10 21-15 36-15 14 0 24 4 34 15 10 12 22 22 33 34 14 14 14 45 0 59-34 34-69 69-104 104 4 2 6 3 7 4z m394-545c0-24 20-45 44-44 23 0 43 20 43 43 0 23-20 43-43 43-24 1-44-19-44-42z" horiz-adv-x="1000" />
<glyph glyph-name="hourglass" unicode="&#xe901;" d="M716 6c-144 0-288 0-433 0 0 2 0 4 0 6 0 14-1 32-1 46 1 39 7 76 19 112 17 51 43 94 79 128 5 4 9 7 14 11 0 1 0 1-1 1-1 1-2 3-4 4-27 22-49 50-66 83-30 58-43 121-41 188 1 7 1 18 1 25 145 0 289 0 433 0 0-1 1-2 1-4 2-36 1-75-6-111-14-71-44-130-93-175-4-4-8-7-12-10 0-1 0-1 1-2 0 0 1-1 2-2 41-33 70-78 89-132 11-34 18-68 19-104 1-20 0-44-1-64z m-45 43c0 6 1 12 0 18-1 36-7 72-19 106-18 48-45 86-87 106-2 1-3 3-3 6 1 16 1 32 0 49 0 3 2 5 4 6 9 6 18 10 27 17 29 23 48 55 61 93 10 30 15 61 17 93 1 9 0 18 0 27-114 0-228 0-343 0 1-9 1-17 1-25 2-36 9-71 21-105 18-46 44-81 85-100 2-1 3-3 3-6-1-16-1-33 0-50 0-3-1-5-4-6-5-2-11-5-16-9-33-22-55-56-70-97-12-35-18-71-19-108-1-5 0-10 0-16 114 1 228 1 342 1z m-270 409c66 0 132 0 199 0-4-6-7-12-11-18-11-16-24-30-39-40s-27-25-32-46c-1-7-2-14-2-21-1-17-1-33 0-50 1-28 12-48 31-61 42-30 65-75 74-130 1-1 1-3 1-5-81 0-162 0-244 0 3 20 8 39 16 57 13 33 32 58 58 76 16 12 27 28 31 50 1 5 2 10 2 15 0 18 0 36-1 54-1 24-11 42-27 56-9 7-19 14-27 22-12 11-21 25-29 41z" horiz-adv-x="1000" />
<glyph glyph-name="plus-icon" unicode="&#xe902;" d="M750 274c0-18-15-34-34-34h-148v-148c0-19-15-34-34-34h-68c-19 0-34 15-34 34v148h-148c-19 0-34 16-34 34v68c0 19 15 35 34 35h148v147c0 19 15 35 34 35h68c19 0 34-16 34-35v-147h148c19 0 34-16 34-35z" horiz-adv-x="1000" />
<glyph glyph-name="video-upload-icon" unicode="&#xe903;" d="M387 270v-125c0-21 20-42 41-42h125c21 0 42 17 42 42v125c0 21-17 42-42 42h-125c-21 0-41-17-41-42z m391 167l-100 104c-12 12-37 21-54 21h-137l20-42h88v-133c0-17 12-30 29-30h138v-333h-417v321h-42v-333c0-17 13-30 29-30h438c17 0 29 13 29 30v375c4 16-8 37-21 50z m-141-42v121c4 0 12-4 12-9l100-100c4-4 4-8 8-12h-120z m83-283v191c0 4-4 9-8 9s-9 0-13-5l-87-87v-29l87-88c8-4 8 0 13 0 4 4 8 4 8 9z m-367 300v133l59-58c8-9 16-5 25 0l12 12c8 8 8 17 0 25l-112 104c-9 9-17 9-21 0l-113-108c-4-8-4-17 0-25l13-13c8-8 16-8 21 0l58 59v-134c0-8 8-16 17-16h25c0 0 16 8 16 21z" horiz-adv-x="1000" />
<glyph glyph-name="play-icon" unicode="&#xe904;" d="M367 538c79 45 183 45 266 0 42-25 71-55 96-96 71-125 29-288-96-363-125-71-287-29-362 96-46 79-46 183 0 267 21 41 54 71 96 96z m262-246c13 8 13 29 0 37l-187 109c-9 4-13 4-21 0s-13-13-13-21v-221c0-8 5-17 13-21s17-4 21 0l187 117z" horiz-adv-x="1000" />
<glyph glyph-name="copy" unicode="&#xe905;" d="M705 481h-242c-64 0-116-52-116-116v-282c0-64 52-116 116-116h242c65 0 117 52 117 116v282c0 64-52 116-117 116z m55-395c0-30-24-55-55-55h-242c-30 0-55 25-55 55v279c0 31 25 55 55 55h242c31 0 55-24 55-55v-279z m-520 166v282c0 30 24 55 55 55h242c30 0 55-25 55-55v-19h61v19c0 64-52 116-117 116h-241c-65 0-117-52-117-116v-282c0-65 52-117 117-117h18v62h-18c-31-3-55 21-55 55z m425 33h-159c-18 0-31 13-31 31s13 31 31 31h159c19 0 31-13 31-31s-15-31-31-31z m0-91h-159c-18 0-31 12-31 30s13 31 31 31h159c19 0 31-13 31-31s-15-30-31-30z m0-92h-159c-18 0-31 12-31 30s13 31 31 31h159c19 0 31-12 31-31s-15-30-31-30z" horiz-adv-x="1000" />
<glyph glyph-name="examples-icon" unicode="&#xe906;" d="M208 160c88 38 180 67 267 17v275c-67 46-154 54-229 13l-38-305z m584 0l-42 309c-71 37-162 33-229-17v-279c92 50 183 21 271-13z m21 346c-50 29-109 46-167 54-50 0-100-8-146-29-46 21-96 29-146 29-58-4-116-25-166-54l-63-441c0 0 29-17 108 20 46 25 100 34 155 25 41-4 83-20 112-54v0c29 34 71 50 113 54 54 5 104-4 154-29 79-37 108-21 108-21l-62 446z m-38-396c-42 21-87 34-137 34-9 0-21 0-30 0-41-4-79-17-112-42-33 25-71 38-113 42-12 0-20 0-33 0-46 0-92-9-133-29-21-13-46-21-71-25l62 404c46 25 96 37 146 41 46 0 92-8 134-25l12-8 13 4c41 17 87 25 133 25 50-4 100-16 146-41l58-409c-29 9-50 17-75 29z" horiz-adv-x="1000" />
<glyph glyph-name="tutorials-icon" unicode="&#xe907;" d="M867 417l-367-109h-4l-213 67c-20-25-33-58-33-96 21-12 25-37 13-58-5-4-9-8-13-13l17-141c0-4 0-4-4-9 0 0 0 0-5 0h-62c-4 0-4 0-8 5 0 4-5 4-5 8l17 142c-12 8-17 20-17 33 0 17 9 29 21 37 0 38 13 75 34 109l-105 29c-8 4-8 8-8 17 0 4 4 4 4 4l367 116h4l367-120c4 0 8-5 8-9s-4-8-8-12z m-159-192c5-46-91-83-208-83s-208 37-208 83l4 104 187-62c5 0 13 0 17 0s13 0 17 4l187 58 4-104z" horiz-adv-x="1000" />
<glyph glyph-name="info-important-description" unicode="&#xe908;" d="M500 642c-184 0-333-149-333-334s149-333 333-333 333 149 333 333-149 334-333 334v0z m0-639c-169 0-305 137-305 305s136 306 305 306c169 0 305-137 305-306 0-168-136-305-305-305v0z m0 549c-135 0-244-109-244-244s109-243 244-243 244 109 244 243-109 244-244 244v0z" horiz-adv-x="1000" />
<glyph glyph-name="icon-info" unicode="&#xe909;" d="M458 444h85c0 0 0 0 0 0 6 0 12 3 15 7 4 4 7 10 7 16 0 0 0 0 0 0v69c0 0 0 0 0 0 0 6-3 11-7 16-3 4-9 6-15 6 0 0 0 0 0 0h-85c0 0 0 0 0 0-6 0-11-2-15-6-4-5-6-10-6-16 0 0 0 0 0 0v-69c0 0 0 0 0 0 0-6 2-11 6-15 4-5 9-7 15-8z m127-295h-22v205c0 0 0 0 0 0 0 6-2 11-6 15-4 5-9 7-15 7 0 0 0 0 0 0h-127c0 0 0 0 0 0-6 0-11-2-15-7-4-4-6-9-6-15 0 0 0 0 0 0v-46c0 0 0 0 0 0 0-6 2-12 6-16 4-4 9-6 15-6 0 0 0 0 0 0h22v-137h-22c0 0 0 0 0 0-6 0-11-3-15-7-4-4-6-9-6-15 0 0 0 0 0-1v-45c0 0 0 0 0 0 0-6 2-12 6-16 4-4 9-6 15-6 0 0 0 0 0 0h170c0 0 0 0 0 0 6 0 11 2 15 6 4 4 6 10 6 16 0 0 0 0 0 0v45c0 1 0 1 0 2 0 5-1 10-4 14-4 4-9 7-16 7 0 0-1 0-1 0z" horiz-adv-x="1000" />
<glyph glyph-name="paste" unicode="&#xe90a;" d="M385 619h-73c-65 0-117-52-117-116v-282c0-55 37-98 86-113v67c-15 10-24 25-24 46v282c0 31 24 55 55 55h128c0 0 0 0 3 3v0c0 31-27 58-58 58z m303-107c0 0-27 0-40 0-12 34-42 58-82 58s-68-24-80-58c-12 0-40 0-40 0-64 0-116-52-116-116v-282c0-64 52-117 116-117h242c65 0 117 53 117 117v279c3 64-52 119-117 119z m-119 12c21 0 40-18 40-39s-19-40-40-40c-22 0-40 18-40 40s15 39 40 39z m178-413c0-31-25-55-56-55h-245c-30 0-55 24-55 55v282c0 18 10 36 25 46v0c0-43 34-77 76-77h157c42 0 76 34 76 77v0c12-10 22-28 22-46v-282z" horiz-adv-x="1000" />
<glyph glyph-name="reuse" unicode="&#xe90b;" d="M718 523c-54 60-131 98-218 98-161 0-292-131-292-292h73c0 121 98 219 219 219 67 0 126-30 166-77l-69-69h195v195l-74-74z m-218-413c-67 0-126 31-166 78l69 68h-195v-194l74 74c54-60 131-98 218-98 161 0 292 130 292 291h-73c0-121-98-219-219-219z" horiz-adv-x="1000" />
<glyph glyph-name="info-outlined" unicode="&#xe90c;" d="M456 69h88v262h-88v-262z m44 656c-241 0-437-196-437-437s196-438 437-438 438 196 438 438-196 437-438 437z m0-788c-193 0-350 158-350 351s157 350 350 350 350-158 350-350-157-351-350-351z m-44 482h88v87h-88v-87z" horiz-adv-x="1000" />
<glyph glyph-name="spinner" unicode="&#xe90d;" d="M586 681c0-48-38-86-86-86s-86 38-86 86 39 86 86 86 86-39 86-86z m-86-659c-47 0-86-39-86-86s39-86 86-86 86 38 86 86-38 86-86 86z m372 372c-47 0-85-38-85-86s38-86 85-86 86 39 86 86-38 86-86 86z m-658-86c0 48-39 86-86 86s-86-38-86-86 38-86 86-86 86 39 86 86z m23-177c-48 0-86-38-86-86s38-86 86-86 86 38 86 86c0 48-39 86-86 86z m526 0c-47 0-86-38-86-86s39-86 86-86 86 38 86 86c0 48-38 86-86 86z m-526 527c-48 0-86-39-86-86s38-86 86-86 86 38 86 86-39 86-86 86z" horiz-adv-x="1000" />
<glyph glyph-name="copy-enabled" unicode="&#xe90e;" d="M600 682h-310c-73 0-133-59-133-133v-361c0-43 21-81 52-106v69c-4 11-7 23-7 37v361c0 48 40 88 88 88h310c15 0 29-4 41-11h67c-24 34-63 56-108 56z m59-529h-205c-14 0-22-8-22-23s8-22 22-22h205c11 0 22 8 22 22 0 15-8 23-22 23z m0 118h-205c-14 0-22-8-22-23s8-22 22-22h205c11 0 22 8 22 22 0 15-8 23-22 23z m51 291h-311c-73 0-132-60-132-133v-362c0-73 59-132 132-132v0h311c73 0 133 59 133 132v362c0 73-60 133-133 133z m87-491c0-48-39-87-87-87h-311c-48 0-87 39-87 87v358c0 48 39 88 87 88h311c48 0 87-40 87-88v-341h0v-17z m-138 318h-205c-14 0-22-8-22-23s8-22 22-22h205c11 0 22 8 22 22 0 15-8 23-22 23z" horiz-adv-x="1000" />
<glyph glyph-name="copy-disabled" unicode="&#xe90f;" d="M600 682h-310c-73 0-133-59-133-133v-361c0-43 21-81 52-106v69c-4 11-7 23-7 37v361c0 48 40 88 88 88h310c15 0 29-4 41-11h67c-24 34-63 56-108 56z m110-120h-311c-73 0-132-60-132-133v-362c0-73 59-132 132-132v0h311c73 0 133 59 133 132v362c0 73-60 133-133 133z m87-491c0-48-39-87-87-87h-311c-48 0-87 39-87 87v358c0 48 39 88 87 88h311c48 0 87-40 87-88v-341h0v-17z m-104 279l-27 26-107-106-107 106-27-26 107-107-107-107 27-27 107 107 107-107 27 27-107 107 107 107z" horiz-adv-x="1000" />
<glyph glyph-name="paste-enabled" unicode="&#xe910;" d="M401-52c-74 0-134 60-134 133v365c0 73 60 133 134 133h63l4 11c15 41 47 64 87 64 42 0 77-24 91-64l4-11h64c36 0 71-15 97-42 25-27 38-60 36-95v-361c0-73-60-133-133-133l-313 0z m-48 567c-25-14-40-43-40-73v-365c0-48 39-88 88-88h317c43 0 78 31 86 71h2l0 17v365c0 28-14 57-34 73l-27 20v-17c0-46-36-82-82-82h-203c-46 0-82 36-82 82v13l-25-16z m206 93c-27 0-48-20-48-47 0-26 22-48 48-48s48 22 48 48c0 25-22 47-48 47z m-147 30c8 8 17 16 24 25 2 2 4 4 6 6h-155c-74 0-134-60-134-134v-365c0-44 21-83 54-108v67c-6 12-9 26-9 41v365c0 49 40 88 89 88h114c3 5 7 10 11 15z" horiz-adv-x="1000" />
<glyph glyph-name="paste-disabled" unicode="&#xe911;" d="M401-52c-74 0-134 60-134 133v365c0 73 60 133 134 133h63l4 11c15 41 47 64 87 64 42 0 77-24 91-64l4-11h64c36 0 71-15 97-42 25-27 38-60 36-95v-361c0-73-60-133-133-133l-313 0z m-48 567c-25-14-40-43-40-73v-365c0-48 39-88 88-88h317c43 0 78 31 86 71h2l0 17v365c0 28-14 57-34 73l-27 20v-17c0-46-36-82-82-82h-203c-46 0-82 36-82 82v13l-25-16z m206 93c-27 0-48-20-48-47 0-26 22-48 48-48s48 22 48 48c0 25-22 47-48 47z m-147 30c8 8 17 16 24 25 2 2 4 4 6 6h-155c-74 0-134-60-134-134v-365c0-44 21-83 54-108v67c-6 12-9 26-9 41v365c0 49 40 88 89 88h114c3 5 7 10 11 15z m290-293l-28 27-108-108-108 108-27-27 108-108-108-108 27-28 108 108 108-108 28 28-108 108 108 108z" horiz-adv-x="1000" />
<glyph glyph-name="button-disabled" unicode="&#xe912;" d="M833 575l-67 67-266-266-266 266-67-67 266-267-266-266 67-67 266 266 266-266 67 67-266 266z" horiz-adv-x="1000" />
<glyph glyph-name="audio-icon" unicode="&#xe913;" d="M462 468v-312c0-10-8-18-18-18-5 0-10 2-13 5l-96 96h-75c-10 0-18 8-19 18v110c1 10 9 18 19 18h75l95 96c8 7 19 7 26 0 4-4 6-8 6-13h0z m110-115c8-12 13-26 13-41s-5-29-13-41c-7-12-19-22-33-27-2-1-4-2-7-2-5 0-9 2-13 6-4 3-6 8-5 13-1 4 1 7 3 10s5 5 8 7c4 2 7 5 10 7 4 3 7 6 9 10 4 11 4 23 0 33-2 4-5 8-9 11-3 2-6 4-10 6-3 2-6 5-8 7-2 3-4 7-3 11-1 5 2 9 5 13 4 3 8 5 13 5 3 0 5 0 7-1 14-5 25-14 33-27v0z m76 41c33-50 33-114 0-164-16-24-38-43-65-55-3-1-5-1-7-1-6 0-10 2-14 6-3 3-5 8-5 13 0 7 4 14 11 17 8 3 15 8 22 12 50 36 60 106 24 155-6 9-15 18-24 24-7 5-14 9-22 13-7 3-11 10-11 17 0 10 8 19 18 19 3 0 5-1 8-2 26-11 49-30 65-54z m76 40c67-102 39-240-64-308-11-7-22-13-34-18-3-1-5-2-8-2-10 0-18 8-18 19 0 7 4 14 11 17 2 1 4 2 7 3s4 2 6 3c8 4 16 9 24 15 23 17 42 39 56 65 26 53 26 115 0 168-14 26-33 48-56 65-8 6-16 11-24 15-2 1-4 2-6 3s-5 2-7 3c-7 3-11 10-11 17 0 10 8 18 18 19 3 0 6-1 8-2 40-17 74-45 98-82h0z" horiz-adv-x="1000" />
<glyph glyph-name="audio-upload-icon" unicode="&#xe914;" d="M778 437l-100 104c-12 12-37 20-54 20h-137l20-41h88v-134c0-16 12-29 29-29h138v-333h-417v321h-42v-333c0-17 13-30 29-30h438c17 0 29 13 29 30v375c4 16-8 37-21 50z m-141-42v121c4 0 12-5 12-9l100-100c4-4 4-8 8-12h-120z m-284 17v133l59-58c8-9 16-5 25 0l12 12c8 8 8 17 0 25l-112 104c-9 8-17 8-21 0l-113-108c-4-8-4-17 0-25l13-13c8-8 16-8 21 0l58 59v-134c0-8 8-16 17-16h25c0 0 16 8 16 21z m167-128v-183c0-6-5-11-5-11h-5c-5 0-5 0-10 5l-56 56h-46c-5 0-10 6-10 11v61c0 5 5 10 10 10h46l56 56c5 5 12 10 16 6s4-6 4-11z m82-168c20 20 30 46 30 76s-10 56-30 77c-10 10-21 10-31 0s-10-21 0-31c10-10 16-25 16-46s-5-30-16-46c-10-10-10-20 0-30 5-5 10-5 16-5s10 0 15 5z m71-51c31 36 46 76 46 122 0 46-15 87-46 123-10 15-20 15-30 10-10-10-10-21-5-31 20-25 35-61 35-97s-10-71-35-96c-11-11-5-26 5-31 5-5 10-5 15-5s10 0 15 5z" horiz-adv-x="1000" />
<glyph glyph-name="hub-icon" unicode="&#xe915;" d="M2027 723c-51 49-129 70-233 70h-333v-177h-436l-34-146c125 58 297 50 401-46 112-103 116-274 42-400-30-49-71-88-120-114-22-11-45-15-66-24h338v328h177c123 0 255 36 313 155 52 108 42 268-48 353z m-235-283c-22-19-61-25-116-25h-90v201h101c45 0 94-7 121-46 11-16 17-35 17-56 0-29-13-56-33-74z m-713-104c-50 0-94-29-114-71l-252 29 114 499h-223v-378h-327v378h-277v-907h277v328h327v-328h340c-118 27-198 117-231 230l252 36c22-42 65-71 114-71 71 0 128 57 128 128 0 70-57 127-128 127z m1215-450h-87l40 188c4 17 11 46-3 61-7 6-16 9-25 9-8 0-15-2-21-6-37-22-50-79-60-118l-28-134h-86l95 448h86c-12-57-25-113-42-169h3c31 39 86 66 134 39s42-89 32-134z m150 322h87l-40-187c-4-18-10-46 4-61 6-6 15-9 24-9 8 0 16 2 22 7 37 21 50 79 59 118l28 133h87l-68-323h-67l6 59h-1c-29-44-80-79-134-60-61 21-53 98-43 149z m515 6c118 0 96-168 64-238-17-42-51-74-92-90-10-3-21-5-31-5-34 0-64 19-79 46l-3 1-16-42h-66l94 448h87l-18-82c-8-35-16-64-27-91l4 4c18 28 48 46 82 48z m-35-71c-76 0-116-201-35-193 64 7 112 194 35 194z" horiz-adv-x="3077.1" />
<glyph glyph-name="update" unicode="&#xe916;" d="M17 433c50 225 248 391 485 391 133 0 254-52 343-138l84 84c7 8 17 12 29 12 23 0 42-18 42-41v-292c0-23-19-42-42-42h-292c-23 0-42 19-42 42 1 12 5 22 13 29l89 90c-59 57-140 92-230 92-120 0-225-64-284-160-12-22-24-47-33-73-4-13-12-19-21-19h-122c-11 1-19 10-20 21 0 1 1 2 1 4z m-16-234c0 23 18 42 41 42h292c23 0 42-19 42-42-1-11-5-21-13-29l-89-89c59-55 139-89 227-89 119 0 224 63 283 157 13 23 24 48 34 74 3 12 11 18 20 18h129c0 0 0 0 1 0 10 0 19-8 21-18l0 0c-51-224-249-389-485-389 0 0-1 0-1 0-133 1-254 53-344 138l-85-84c-7-7-17-12-29-12-23 0-42 18-42 41z" horiz-adv-x="1000" />
<glyph glyph-name="close" unicode="&#xe917;" d="M973-29l-115-115c-17-18-35-27-53-27s-44 9-53 27l-248 248-247-248c-18-18-36-27-53-27s-45 9-54 27l-123 115c-18 17-27 35-27 53s9 44 27 53l247 248-247 256c-18 18-27 36-27 54s9 44 27 53l115 115c8 17 35 26 53 26s44-9 53-26l248-248 247 248c18 17 36 26 54 26s44-9 53-26l115-115c17-18 26-36 26-53s-9-45-26-54l-248-247 248-248c17-18 26-36 26-53 9-27 0-45-17-62z" horiz-adv-x="1000" />
<glyph glyph-name="question-outlined" unicode="&#xe918;" d="M500-171c-275 0-498 224-498 499s223 498 498 498c275 0 499-223 499-498 0-275-224-499-499-499z m-415 499c0-229 186-416 415-416 229 0 416 186 416 416s-187 415-416 415c-229 0-415-186-415-415z m542-31c-33-19-54-32-54-52v-21c0-12-9-21-21-21h-104c-11 0-20 9-20 21v44c0 80 57 105 103 126 39 18 63 30 63 60 0 37-48 65-91 65-22 0-46-7-61-18-14-9-28-23-52-53-4-6-10-8-16-8-5 0-9 1-13 4l-70 53c-8 6-10 19-4 28 53 84 128 125 226 125 107 0 226-85 226-198 0-92-64-128-112-155z m-54-271c0-11-9-20-21-20h-104c-11 0-20 9-20 20v104c0 12 9 21 20 21h104c12 0 21-9 21-21v-104z" horiz-adv-x="1000" />
<glyph glyph-name="quality-approved" unicode="&#xe919;" d="M499-171c-276 1-499 224-499 500 0 276 224 500 500 500s500-224 500-500c0-276-225-500-501-500 0 0 0 0 0 0z m0 852c-195 0-354-158-354-354s159-354 354-354c196 0 354 159 354 354 0 1 0 2 0 2 0 196-158 355-354 355z m-11-572c-8-8-18-13-30-13s-21 5-29 13l-189 189c-8 7-12 18-12 29s4 22 12 30l66 66c7 7 18 12 29 12s22-5 30-12l94-95 179 179c8 8 18 12 30 12s21-4 29-12l66-66c8-7 13-18 13-29s-5-22-13-30z" horiz-adv-x="1000" />
<glyph glyph-name="arrow-thick" unicode="&#xe91a;" d="M971 288c0-1 0-3 0-5 0-42-33-76-75-77l-451 0 190-189c15-15 24-35 24-58s-9-43-24-58l-48-48c-15-15-35-24-58-24 0 0 0 0 0 0-23 0-43 9-58 24l-421 419c-14 14-23 35-23 57 0 0 0 1 0 1 0 22 9 43 23 58l421 417c15 15 35 24 58 24 23 0 43-9 58-24l48-48c15-15 24-36 24-58s-9-44-24-59l-188-188h452c41-1 74-35 74-77 0-2 0-3 0-5z" horiz-adv-x="1000" />
<glyph glyph-name="grid-view" unicode="&#xe91b;" d="M461 442c0-42-34-77-77-77h-307c-42 0-77 35-77 77v235c0 43 35 77 77 77h308c42 0 77-34 77-77z m0-461c0-42-34-77-77-77h-307c-42 0-77 35-77 77v231c0 42 35 77 77 77h308c42 0 77-35 77-77z m538 461c0-42-34-77-77-77h-307c-42 0-77 35-77 77v235c0 43 35 77 77 77h308c43 0 77-34 77-77z m0-461c0-42-34-77-77-77h-307c-42 0-77 35-77 77v231c0 42 35 77 77 77h308c43 0 77-35 77-77z" horiz-adv-x="1000" />
<glyph glyph-name="list-view" unicode="&#xe91c;" d="M286 578c0-1 0-1 0-2 0-30-24-54-54-55l-178 0c-30 1-54 25-54 55 0 1 0 1 0 2l0 115c0 1 0 1 0 2 0 30 24 54 54 55l178 0c30-1 54-25 54-55 0-1 0-1 0-2z m0-306c0-1 0-2 0-2 0-30-24-55-54-56l-178 0c-30 1-54 26-54 56 0 0 0 1 0 2l0 115c0 0 0 1 0 2 0 30 24 54 54 55l178 0c30-1 54-25 54-55 0-1 0-2 0-2z m0-307c0 0 0-1 0-2 0-29-24-54-54-55l-178 0c-30 1-54 26-54 55 0 1 0 2 0 2l0 116c0 0 0 1 0 1 0 30 24 55 54 56l178 0c30-1 54-26 54-56 0 0 0-1 0-2z m714 613c0-1 0-1 0-2 0-30-24-54-53-55l-536 0c-30 1-54 25-54 55 0 1 0 1 0 2l0 115c0 1 0 1 0 2 0 30 24 54 54 55l535 0c30-1 54-25 54-55 0-1 0-1 0-2z m0-306c0-1 0-2 0-2 0-30-24-55-53-56l-536 0c-30 1-54 26-54 56 0 0 0 1 0 2l0 115c0 0 0 1 0 2 0 30 24 54 54 55l535 0c30-1 54-25 54-55 0-1 0-2 0-2z m0-307c0 0 0-1 0-2 0-29-24-54-53-55l-536 0c-30 1-54 26-54 55 0 1 0 2 0 2l0 116c0 0 0 1 0 1 0 30 24 55 54 56l535 0c30-1 54-26 54-56 0 0 0-1 0-2z" horiz-adv-x="1000" />
<glyph glyph-name="filters" unicode="&#xe91d;" d="M212 707v96c0 14-11 26-26 26h-9c-14 0-26-12-26-26v-96c-62-14-108-69-108-134s46-121 107-134l1-579c0-15 12-27 26-27h8c15 0 27 12 27 27v575c68 8 120 66 120 136 0 69-52 126-119 136z m325-407v503c0 14-12 26-27 26h-4c-15 0-27-12-27-26v-502c-69-12-122-72-122-144s53-132 121-144l1-156c0-14 12-26 27-26h4c15 0 27 12 27 26v156c66 15 114 73 114 143s-48 127-113 142z m420 173c0 67-49 123-114 133l-1 197c0 14-12 26-27 26h-6c-14 0-26-12-26-26v-201c-57-16-98-68-98-129s41-113 97-129l1-488c0-15 12-27 26-27h5c15 0 26 12 26 27v484c66 9 117 65 117 133z" horiz-adv-x="1000" />
<glyph glyph-name="feedback-forum" unicode="&#xe91e;" d="M461 141c0 107 120 193 269 193s270-86 270-193c-4-66-44-122-100-150 9-36 28-67 53-90 5-5 10-10 8-18v0c-1-6-7-11-13-11-1 0-1 0-1 0-13 1-25 3-36 7-53 12-100 38-139 72-7-1-14-1-22-1s-15 0-23 1c-146-1-266 84-266 190z m-133 95c54 146 223 242 418 242h27c1 4 1 10 1 16s0 11-1 17c0 152-173 276-388 276s-385-126-385-279c5-96 63-178 145-218-13-51-41-94-77-127-7-8-14-15-12-25v0c2-10 10-17 20-17 0 0 1 0 1 0 19 2 36 5 52 10 75 19 142 55 197 104 3-1-2 1 2 1z" horiz-adv-x="1000" />
<glyph glyph-name="info-circle1" unicode="&#xe91f;" d="M933 581c42-72 67-159 67-251s-25-179-68-254c-43-73-105-135-179-178-74-44-161-68-253-68s-179 24-253 68c-74 43-135 105-179 178-43 75-68 161-68 254s25 179 68 253c44 73 105 134 179 177 74 44 161 69 253 69s179-25 253-69c74-43 135-104 179-177z m-266-566v103c0 1 0 1 0 1 0 11-9 20-20 20 0 0 0 0-1 0l-64 0v340c0 0 0 0 0 1 0 11-9 19-20 19 0 0 0 0-1 0l-206 0c0 0-1 0-1 0-11 0-20-8-20-19 0-1 0-1 0-1l0-104c0 0 0-1 0-1 0-11 9-20 20-20 0 0 1 0 1 0l62 0v-208h-62c0 0-1 0-1 0-11 0-20-9-20-20 0 0 0-1 0-1l0-104c0 0 0 0 0-1 0-11 9-20 20-20 0 0 1 1 1 1l291 0c1 0 1-1 1-1 11 0 20 9 20 20 0 1 0 1 0 1z m-85 585v104c0 0 0 1 0 1 0 11-9 20-20 20 0 0 0 0-1 0l-123 0c0 0-1 0-1 0-11 0-20-9-20-20 0 0 0-1 0-1l0-104c0 0 0 0 0-1 0-11 9-19 20-19 0 0 1 0 1 0l124 0c0 0 0 0 0 0 11 0 20 8 20 19 0 1 0 1 0 1z" horiz-adv-x="1000" />
<glyph glyph-name="radio" unicode="&#xe920;" d="M500-171c-276 0-500 224-500 500s224 500 500 500c276 0 500-224 500-500s-224-500-500-500z m0 912c-228 0-412-184-412-412s184-412 412-412c228 0 412 185 412 412s-184 412-412 412z m207-412c0-114-93-206-207-206s-207 92-207 206c0 114 93 207 207 207s207-93 207-207z" horiz-adv-x="1000" />
<glyph glyph-name="check" unicode="&#xe921;" d="M882-192h-764c-76 0-137 61-137 137v768c0 76 61 137 137 137h764c76 0 137-61 137-137v-768c0-76-61-137-137-137z m-764 951c-25 0-45-21-45-46v-768c0-25 20-45 45-45h764c25 0 45 20 45 45v768c0 25-20 46-45 46z m727-295c0 0 0 0 0 0 0-11-5-21-12-28l-367-367c-7-7-18-12-29-12s-21 5-29 12l-58 58-156 155c-8 7-12 17-12 29s4 21 12 29l58 58c7 7 17 11 29 11s21-4 29-11l125-126 279 280c7 7 18 12 29 12s22-5 29-12l58-58c9-7 14-18 15-29z" horiz-adv-x="1000" />
<glyph glyph-name="radio-empty" unicode="&#xe922;" d="M500-171c-276 0-500 224-500 500s224 500 500 500c276 0 500-224 500-500s-224-500-500-500z m0 912c-228 0-412-184-412-412s184-412 412-412c228 0 412 185 412 412s-184 412-412 412z" horiz-adv-x="1000" />
<glyph glyph-name="check-empty" unicode="&#xe923;" d="M867-171h-734c-72 0-131 59-131 131v738c0 72 59 131 131 131h734c72 0 131-59 131-131v-738c0-72-59-131-131-131z m-734 912c-24 0-43-19-43-43v-738c0-24 19-43 43-43h734c24 0 43 19 43 43v738c0 24-19 43-43 43z" horiz-adv-x="1000" />
<glyph glyph-name="arrow-line" unicode="&#xe924;" d="M973 576l-43 43c-17 16-40 26-66 26s-49-10-66-26l-296-297-299 298c-17 16-40 26-66 26s-49-10-66-26l-43-44c-17-17-28-40-28-66s11-49 28-66l404-405c17-16 40-27 66-27s49 11 66 27l409 405c17 17 27 40 27 66s-10 49-27 66z" horiz-adv-x="1000" />
<glyph glyph-name="accordion-arrow" unicode="&#xe925;" d="M763 285l-438-437c-11-12-27-19-44-19-34 1-62 28-62 62v876c0 34 28 62 62 62 17 0 33-7 44-18l438-438c11-11 18-27 18-44s-7-32-18-44z" horiz-adv-x="1000" />
<glyph glyph-name="search1" unicode="&#xe926;" d="M922-171c0 0 0 0 0 0-21 0-40 9-54 22l-206 209c-66-46-149-74-239-74-233 0-421 189-421 422s188 421 421 421c233 0 422-189 422-421 0-90-28-173-75-241l207-204c13-14 21-33 21-54 0-43-34-77-76-77z m-500 845c-148 0-268-120-268-268s120-269 268-269c149 0 269 120 269 269s-120 268-269 268z" horiz-adv-x="1000" />
<glyph glyph-name="scrollbar-bars-icon" unicode="&#xe927;" d="M845 680c0-29-12-51-28-51h-634c-16 0-28 22-28 51v99c0 28 12 50 28 50h629c17 0 28-22 28-50z m0-399c0-28-12-51-28-51h-634c-16 0-28 23-28 51v99c0 28 12 50 28 50h629c17 0 28-22 28-50z m0-402c0-28-12-50-28-50h-634c-16 0-28 22-28 50v100c0 28 12 50 28 50h629c17 0 28-22 28-50z" horiz-adv-x="1000" />
<glyph glyph-name="loading-search" unicode="&#xe928;" d="M503-153c-268 0-485 217-485 485 0 243 180 444 413 479v-128c-164-33-287-178-287-351 0-198 161-359 359-359s358 161 358 359c0 173-123 318-287 351v128c233-35 413-236 413-479 0-268-217-485-484-485z" horiz-adv-x="1000" />
<glyph glyph-name="interactive-video" unicode="&#xe929;" d="M714 342l-325 197c-30 17-66-4-66-38v-385c0-34 36-55 66-39l325 187c30 17 30 61 0 78z m244-34c0 254-205 459-458 459s-458-205-458-459 205-458 458-458 458 205 458 458z m-828 0c0 205 166 370 370 370s370-165 370-370-166-369-370-369-370 165-370 369z" horiz-adv-x="1000" />
<glyph glyph-name="audio" unicode="&#xe92a;" d="M386 597l-139-139h-159c-21 0-38-16-38-37v-225c0-21 17-38 38-38h159l139-139c24-23 64-7 64 27v525c0 33-41 50-64 26z m365 80c-18 12-41 7-53-11-11-17-6-41 11-52 104-68 165-182 165-306s-61-237-165-305c-17-12-22-35-11-53 11-16 35-22 53-11 124 83 199 220 199 369s-75 287-199 369z m49-369c0 100-50 191-134 245-17 11-41 5-52-12s-6-41 12-52c62-40 99-107 99-181s-37-140-99-180c-18-11-23-34-12-52 10-16 33-24 52-12 84 54 134 145 134 244z m-221 121c-19 9-41 3-51-15-10-18-4-41 14-51 21-11 33-32 33-55 0-22-12-43-33-54-18-10-24-33-14-51 10-18 32-25 51-15 44 25 71 71 71 120s-27 96-71 121z" horiz-adv-x="1000" />
<glyph glyph-name="true-false" unicode="&#xe92b;" d="M422 595l-216-223c-7-8-22-8-37 0l-30 29-81 97c-8 7-8 22 0 37l29 30c8 7 23 7 38 0l74-74 164 171c14 7 29 7 37 0l29-30c8-8 8-15 8-22 0 0-8-8-15-15v0z m520-610l-29-30c-8-7-23-7-30 0 0 0 0 0 0 0l-67 67-67-67c-7-7-22-7-30 0 0 0 0 0 0 0l-29 30c-8 7-8 22 0 30l67 67-67 67c-8 7-8 22 0 29l29 30c8 7 23 7 30 0 0 0 0 0 0 0l67-67 67 67c7 7 22 7 30 0 0 0 0 0 0 0l29-30c8-7 8-22 0-29l-66-67 66-67c8 0 8-15 0-30v0z m-178 647l-558-580c-15-15-15-37 0-52v0c15-15 38-15 52 0l558 580c15 15 15 37 0 52v0c-15 15-37 15-52 0z" horiz-adv-x="1000" />
<glyph glyph-name="dialog-cards" unicode="&#xe92c;" d="M863 624l-385 140c-27 9-56-5-66-32l-19-52h178c48 0 87-39 87-86v-686c0 0 1 1 1 2l235 647c10 27-4 57-31 67z m-247-33c0 29-23 52-52 52h-409c-28 0-52-23-52-52v-689c0-29 24-52 52-52h409c29 0 52 23 52 52v689z m-364-416c-4-1-9-3-14-3 0 0-1 0-1 0-2 0-5 2-5 5-1 3 1 5 3 7 7 8 14 14 20 28-27 16-44 40-44 67 0 46 52 84 116 84s117-38 117-84c0-47-52-85-117-85-10 0-20 1-29 2-14-10-29-17-46-21z m231-33c2-2 4-4 4-7-1-3-3-5-6-5-5 1-10 1-14 3-17 4-33 11-47 21-9-2-19-3-29-3-30 0-57 8-78 22 5 0 10-1 14-1 36 0 70 11 96 29 27 20 43 48 43 78 0 8-2 17-4 25 28-16 46-40 46-68 0-27-17-51-44-66 5-14 13-21 19-28z" horiz-adv-x="1000" />
<glyph glyph-name="questionnaire" unicode="&#xe92d;" d="M941 630l-51 51c-7 7-16 11-26 11-9 0-18-4-25-11l-245-245-110 110c-7 7-16 10-26 10s-18-3-25-10l-51-51c-7-7-11-16-11-25s4-19 11-26l186-186c7-7 16-11 26-11s18 4 25 11l322 322c6 6 10 16 10 25 0 9-4 19-10 25z m-355-476v-121h-429v429h111c-4 15-7 30-7 45 0 22 5 43 12 63h-224v-645h645v244c-24-12-50-18-76-18-11 0-21 1-32 3z" horiz-adv-x="1000" />
<glyph glyph-name="course-presentation" unicode="&#xe92e;" d="M869 669h-738c-42 0-79-37-79-79v-494c0-42 37-79 79-79h207v-69h324v69h207c42 0 79 37 79 79v494c0 42-32 79-79 79z m0-573h-738v488h738v-488z" horiz-adv-x="1000" />
<glyph glyph-name="interactive-content" unicode="&#xe92f;" d="M190 372c0 163 133 295 295 295s295-132 295-295c0-19-1-39-5-58 36-3 70-12 96-24 6 27 9 54 9 82 1 217-176 395-395 395-216 0-394-178-394-395s178-394 394-394c2 0 5 0 6 0l-42 102c-145 17-259 140-259 292z m234 133c71 30 155-4 184-76l53-128c12 3 24 6 36 7 6 20 9 40 9 62 0 122-99 221-221 221s-221-98-221-220c0-96 62-179 149-208l-67 158c-27 73 7 156 78 184z m450-290c-15 19-36 36-54 34-6-1-10-4-15-3-11 2-19 10-32 12-12 1-21-8-31-8s-20 9-35 8c-13-2-24-12-35-13-11-1-22 5-35 2-15-5-28-12-35-21-14 24-103 181-134 180-51-3-42-66-30-99 0 0 112-252 120-274 19-50 12-83 12-83s-90 0-119-20c-12-7-18-13-20-24-5-22 2-43 22-54 0 0 241-15 346 32 52 24 79 74 90 134 20 82 38 143-15 197z" horiz-adv-x="1000" />
<glyph glyph-name="enterfullscreen" unicode="&#xe930;" d="M103-98h91l293 293c7 6 7 13 0 19l-97 91c-7 7-13 7-20 0l-254-260-58-59 45-84z m118 130l-157 156c-13 7-19 0-19-13v-312c0-7 0-13 6-13h319c7 0 13 13 7 19l-157 163z m598 611h-91l-33-32-175-182c-7-7-7-13 0-20l91-91c6-6 13-6 19 0l176 182 58 59-45 84z m-39-52l156-156c13-6 19 0 19 7v318c0 7 0 7-6 7h-319c-6 0-13-7-6-13l156-163z" horiz-adv-x="1000" />
<glyph glyph-name="exit-full-screen" unicode="&#xe931;" d="M381 206h-80l-255-255c-6-6-6-12 0-17l79-80c6-5 12-5 17 0l222 227 51 51-34 74z m-102-113l136-137c6-5 17 0 17 6v278c0 6-6 12-11 12h-273c-6 0-11-12-6-17l137-142z m408 380h80l187 187c6 6 6 12 0 17l-79 85c-6 6-12 6-17 0l-154-158-56-57 39-74z m34 51l-136 136c-5 6-17 0-17-11v-273c0-5 6-11 12-11h272c6 0 11 11 6 17l-137 142z" horiz-adv-x="1000" />
<glyph glyph-name="add" unicode="&#xe932;" d="M1000 224c0-15-5-28-16-38s-23-16-38-16h-308v-308c0-15-5-28-15-38s-23-16-38-16h-170c-15 0-27 5-38 16s-15 23-15 38v308h-308c-15 0-28 5-38 16s-16 23-16 38v169c0 15 5 28 16 38s23 16 38 16h308v308c0 15 5 27 15 38s23 15 38 15h170c15 0 27-5 38-15s15-23 15-38v-308h308c15 0 28-5 38-16s16-23 16-38v-169z" horiz-adv-x="1000" />
<glyph glyph-name="check1" unicode="&#xe933;" d="M389 248l-226 225-163-163 389-389 611 611-163 164z" horiz-adv-x="1000" />
<glyph glyph-name="delete1" unicode="&#xe934;" d="M854 662c64-63 107-138 129-224s23-173 0-259c-22-86-65-161-129-225s-139-107-225-129c-86-22-172-22-258 0s-161 65-225 129c-64 64-107 139-129 225s-23 172 0 259c22 86 65 161 129 224s139 107 225 130c86 22 172 22 258 0 87-23 161-66 225-130z m-188-599l80 80c4 4 7 10 7 17s-3 12-7 17l-132 131 132 131c4 5 7 11 7 17s-3 13-7 18l-80 79c-5 5-11 7-17 7s-13-2-17-7l-132-131-131 131c-5 5-10 7-17 7s-12-2-17-7l-80-79c-5-5-7-11-7-18s2-12 7-17l131-131-131-131c-5-5-7-11-7-17s2-13 7-17l80-80c5-5 10-7 17-7s12 2 17 7l131 131 132-131c4-5 10-7 17-7s12 2 17 7z" horiz-adv-x="1000" />
<glyph glyph-name="metadata" unicode="&#xe935;" d="M392 257c-2 0-4 1-6 0-1 0-4-1-7-1s-5-2-8-2c-2 0-4 1-8 2-3 2-7 4-11 7s-9 4-10 5c-1 1-4 2-7 4-4 2-6 3-8 4s-5 3-7 5c-2 3-4 5-5 8 0 2-1 6-2 12-1 7-3 11-5 14-2 4-5 7-9 11s-7 5-10 5c3 0 3 2 0 7-3 5-6 8-8 10 0 1-3 3-6 7-4 4-7 7-9 10s-5 7-6 10c-2 4-3 7-1 9 0 1 0 1-2 2s-2 1-4 2c-1 1-3 1-4 2s-3 1-3 1c0-2 1-4 2-8s2-7 3-8c1-2 4-7 9-16 9-15 13-26 13-33-2 0-4 0-5 2s-1 3-1 5c-1 3-1 5-1 6-1 2-4 4-9 6s-7 5-8 8c1 0 1 0 1 0s1 1 2 1c0 3-2 7-6 12-4 5-6 9-5 11-3 2-5 6-7 12s-4 10-6 12c-1 2-3 4-5 6s-5 3-8 5c-3 2-5 3-6 4-1 0-2 2-4 5-12 14-16 21-11 22-5-1-9 3-11 11-3 8-4 14-3 18l-1 0c0 2 0 6 0 13s1 13 1 19c1 5 3 8 5 8-2 0-4 2-5 7-1 4-1 8 0 9 0 2 2 1 4-2 3-2 5-4 5-4 5 2 6 5 5 9 0 2-4 5-11 11-15 10-23 15-23 15 2 4 1 7-2 10-3-2-5-3-6-2s-1 3-1 6c-1 3-1 4-3 5-2 0-4 1-6 4 31 50 73 89 124 118 3 0 6 0 12 0 3 0 6-1 8-3s5-3 8-5c3-3 5-5 6-6 1 3 0 6-3 10 1 2 5 4 12 6 8 1 13 1 16 0-2 3-6 7-11 13l-2-3c-3 3-11 2-23-4 0 0-2-1-5-2-3-2-5-3-7-4-2-1-4-1-6 0 17 9 34 16 50 21 1 0 3-2 5-4 3-2 4-4 6-5-1 1-2 0-2-1-2-5-2-8 0-11 1-2 4-4 7-4s6 0 11 0c4 1 7 1 8 1l5 0c12-1 16 0 14 3 1-1 2-4 3-9s3-7 5-9c2 2 2 4 1 8-1 3-1 5 0 7 0 1 2 1 3 2s4 2 6 2c3 1 4 2 5 2 2 2 1 4-4 8-1 0-3 1-5 1s-4 2-6 2c-2 1-4 2-6 3s-2 3-2 5c0 1 1 3 3 6 2 2 5 2 10 2s8-1 11-3c9-5 11-10 4-14 4 0 8-2 13-4 5-3 7-5 6-8 2 5 5 8 8 8 2-1 3-3 5-8s3-6 3-7c3-4 6-4 8-3 3 3 6 6 9 10 3 4 5 6 5 5-3 2-4 3-1 5 6 3 10 4 15 2 1 0 2-2 4-4 3-7 3-10-2-9 3-3 5-7 4-11s-3-6-8-6c-2 0-4 1-8 3s-6 3-8 3c-1 0-4-1-7-3-1-2-3-5-6-9s-4-7-6-9c-5-5-14-7-26-6 1 0 1-1 0-3-2-2-3-5-5-7s-4-5-4-5c-4-3-5-7-7-12 0-1 0-3 0-7s-1-8-2-10c4 2 7-1 10-6 2-5 2-7 0-8 12 2 22 1 31-2 12-4 20-9 21-14 3 4 8 4 16 1 3-2 6-7 8-16 2-5 4-10 8-14 3-4 7-5 10-3l2 1c1 1 2 1 3 2s2 1 3 2c1 1 2 2 2 2s0 2-1 3c-2 2-4 5-5 8s-1 7 0 10c2 2 4 4 9 6 4 3 7 6 8 9 2 4 0 8-5 11-5 3-7 6-7 9 0 1 1 4 3 6 3 2 3 5 3 7 0 1 0 3-2 6s-2 6-2 8c0 1 1 3 3 5 2 2 8 2 17 0 9-1 15-3 18-5 1-1 3-2 7-3 4-1 7-3 9-5 3-1 4-3 5-4h-3c2-2 4-5 4-7s0-5-4-7c3 1 5 0 9-1 6-3 6-5 0-6 2 0 3 1 5 1s3 1 4 2c1 0 2 0 3 1s2 2 3 2c0 0 1 0 2 1s2-1 3-1c0 0 1 1 2 3s3 3 4 5c2 2 3 2 4 2s2 0 3-1c1-1 2-2 2-3s1-2 2-3c0-1 1-2 1-3 1-2 2-4 5-6s5-3 5-5c1-1 1-4 2-8 2-4 3-7 5-9s4-3 8-4c0 0 2 0 4 1 3 0 5 0 7 0s2-2 2-4c2 2 3 3 3 4 0-4 2-8 4-11s5-4 9-4l-1-12c-1-1-4-3-8-4-5 0-7-1-8-2-1 0-4-2-8-6-4-4-6-6-5-7-6 7-15 9-27 6-14-2-23-5-28-7-5-2-9-5-11-8-1 0-1-1-2-3s-2-4-3-6c-1-2-2-3-2-3 2 1 4 2 7 5s4 5 5 5c9 6 17 8 23 7 7-3 9-5 4-9-1-1-3-1-6-1s-5 0-6 0c3 0 6-1 8-3s2-3 1-5c6-3 7-6 4-10-5-5-11-7-17-6 1 0 1-1 0-2l-9-6c-1 0-3-1-7-3-4-1-6-3-8-4-1-2-1-4-1-7 0-3 0-5-1-6s-2-2-4-1c-1-2-4-4-10-5s-9-3-11-6c2-3 2-5 0-8-5-4-8-4-11 1-2-1-3-3-4-5-1-3-3-5-4-6 2-4 2-7-1-9 0 0 1 0 2-1s2-1 4-2c1-2 2-2 3-2-2-3-4-5-6-5 2-5-1-12-8-18-2-2-4-3-7-5s-6-2-8-3c-3-1-4-2-4-2-4-3-7-6-8-10-2-3-2-6-1-9 1-4 4-6 10-7l0-3c64 48 143 76 228 76 41 0 80-6 116-17-4 63-22 122-54 176-36 63-86 112-148 149s-131 54-205 54c-74 0-142-18-204-54s-112-86-148-149c-37-62-55-130-55-204 0-74 18-142 55-204s86-112 148-149c38-22 79-37 121-46-3 21-5 43-5 65 1 69 20 134 52 190z m77 116c-2-2-3-3-4-4s-2 0-3 0c-1 1-1 1-3 3s-3 2-4 2c-1 1-5 2-9 3-4 1-7 2-8 3-9-7-14-5-16 5 0-2 0-5 1-8 1-3 1-4 1-5-3-4-6-5-12-1-2 2-7 2-14 1-8-2-13-2-15-1 0 0 1-1 2-1 1-1 1-2 2-2-1-2-1-3-2-3s-1-1-2-1c-1 0-1 0-2 0s-2 0-3-1c-1-1-3-3-5-5s-4-5-5-5c3-6 3-10 3-13s0-8-1-14c-1-5-2-10-2-14 0-5 2-12 5-19s8-13 12-16c3-1 7-2 13-2 2-1 4-1 6-1 20 31 44 59 72 83 0 1 0 2 0 3-1 4-3 8-7 13z m-86-2c0 0 0 0 0 0 0 0 0 0 0 0z m560-176c23-39 35-82 35-129s-12-89-35-129c-22-39-54-70-93-94-40-22-83-34-129-34s-90 12-129 34c-40 23-71 55-94 94-23 39-35 83-35 129s12 90 35 129c23 40 54 71 94 94 39 23 82 35 129 35s89-12 129-35c39-23 71-54 93-94z m-136-289v53c0 3-2 6-4 8s-4 3-7 3h-32v171c0 3-1 6-3 8s-5 3-8 3h-107c-3 0-6-1-8-3s-3-4-3-8v-53c0-3 1-6 3-8s5-3 8-3h32v-107h-32c-3 0-6-1-8-3s-3-5-3-8v-53c0-4 1-6 3-8s5-3 8-3h150c3 0 6 1 8 3 2 2 3 4 3 8z m-43 300v53c0 3-1 6-3 8s-5 3-8 3h-64c-3 0-6-1-8-3s-3-5-3-8v-53c0-3 1-6 3-8s4-3 8-3h64c3 0 6 1 8 3 2 2 3 5 3 8z m-43-398c-47 0-90 12-130 35s-71 54-94 94c-23 39-34 83-34 130s11 90 34 129c23 39 55 71 94 94 40 23 83 35 130 35s90-12 129-35c40-23 71-54 94-94v0c23-39 35-83 35-129s-12-91-35-130c-23-39-54-71-94-94-39-23-83-35-129-35z m0 515c-46 0-90-12-129-35s-70-54-93-93c-23-39-34-82-34-128s11-90 34-129c23-39 54-71 93-93s82-35 129-35c46 0 89 12 128 35s71 54 94 93c22 39 34 82 34 129 0 46-12 89-34 128v0c-23 39-54 71-94 93-39 23-82 35-128 35z m75-429h-150c-4 0-6 1-9 3s-3 5-3 9v53c0 4 1 6 3 8s6 4 9 4h31v105h-31c-4 0-6 1-9 3s-3 5-3 9v53c0 4 1 6 3 9s6 3 9 3h107c3 0 6-1 8-3s3-5 3-9v-170h32c3 0 6-1 8-3s3-5 3-9v-53c0-4-1-6-3-9-2-2-5-3-8-3z m-150 75c-3 0-5-1-7-3s-3-4-3-7v-53c0-3 1-6 3-8s4-2 7-2h150c3 0 5 1 7 2s3 5 3 8v53c0 3-1 5-3 7s-4 3-7 3h-33v172c0 3-1 6-3 7s-4 3-7 3h-107c-3 0-5-1-7-3s-3-4-3-7v-53c0-3 1-5 3-7s4-3 7-3h33v-109h-33z m107 225h-64c-4 0-6 1-9 3s-3 5-3 9v53c0 4 1 6 3 8s5 4 9 4h64c3 0 6-1 8-4s3-5 3-8v-53c0-4-1-7-3-9s-5-3-8-3z m-64 75c-3 0-6-1-7-3s-3-4-3-7v-53c0-3 1-5 3-7s4-3 7-3h64c3 0 5 1 7 3s3 4 3 7v53c0 3-1 6-3 7s-4 3-7 3h-64z" horiz-adv-x="1000" />
<glyph glyph-name="edit" unicode="&#xe936;" d="M555 613c5 5 11 8 18 8s11-3 15-8l217-216c5-4 8-10 8-16s-3-12-8-18l-512-511-238-43c-15-3-29 2-41 14s-16 25-13 41l43 238 511 511z m-383-632v93h-70l-23-124 62-63 125 23v71h-94z m71 164c5-5 12-8 19-8s15 3 20 8l300 300c5 5 8 12 8 20s-3 14-8 19c-5 6-11 8-19 8s-14-2-20-8l-300-300c-5-5-8-12-8-20s3-14 8-19z m730 386c18 18 27 41 27 67s-9 48-27 66l-117 117c-19 18-41 27-67 27s-48-9-66-27l-90-90c-5-5-8-11-8-17s3-12 8-16l217-216c4-6 9-8 15-8s13 2 18 8l90 89z" horiz-adv-x="1000" />
<glyph glyph-name="details-arrow" unicode="&#xe937;" d="M500 829l-88-88 349-349h-761v-125h761l-349-350 88-88 500 500z" horiz-adv-x="1000" />
<glyph glyph-name="check2" unicode="&#xe938;" d="M889 829h-778c-61 0-111-50-111-111v-778c0-61 50-111 111-111h778c61 0 111 50 111 111v778c0 61-50 111-111 111z m-500-778l-278 278 78 78 200-200 422 422 78-78-500-500z" horiz-adv-x="1000" />
<glyph glyph-name="plus1" unicode="&#xe939;" d="M583 413v416h-166v-416h-417v-167h417v-417h166v417h417v167z" horiz-adv-x="1000" />
<glyph glyph-name="close1" unicode="&#xe93a;" d="M1000 729l-101 100-399-399-399 399-101-100 399-400-399-399 101-101 399 400 399-400 101 101-399 399z" horiz-adv-x="1000" />
<glyph glyph-name="hub-icon1" unicode="&#xe93b;" d="M232 626l37-63c5-11 16-17 28-17h65l38-69 9 14c4 6 9 9 20 11l14 2-39 69 30 53c6 11 6 22 0 32l0 0-36 64c-6 10-16 17-28 17h-73c-12 0-23-7-28-17l-37-64c-5-10-5-21 0-32l0 0z m49 16l25 46h52l27-46-27-46h-52l-25 46z m300-143c9-3 16-8 20-14l9-11 42 69 57-2c14 0 24 6 30 16l39 62c5 11 5 22 0 32l-35 64-1 1c-5 8-15 16-27 16l-71 2c-14 0-24-6-30-17l-39-62c-5-10-5-21 0-32l32-57-37-62 11-5z m43 140l27 44 52-1 26-46-27-44-52 1-26 46z m321-279l0 0-36 64c-1 3-4 7-13 13-5 2-11 6-15 6h-73c-12 0-23-7-28-17l-32-56-78 2 6-14c3-8 3-15 0-24l-5-13 78-2 31-54c5-11 16-17 28-17h73c12 0 22 6 28 17l36 63c6 11 6 22 0 32z m-46-14l-27-46h-53l-25 46 27 46h52l26-46z m-146-245c-10 17-20 34-20 34l-1 0 0 1c-6 8-14 15-27 15h-62l-35 62-9-12c-4-6-12-10-20-11l-14-3 34-61-31-55c-6-11-6-22 0-32l0 0 38-62c5-10 16-17 28-17h73c12 0 23 7 28 17l34 58 1 1 0 1c0 1 1 2 1 3 2 6 5 15 3 22 0 4-3 9-21 39z m-30-46l-27-46h-52l-27 46 27 46h52l27-46z m-302 135c-9 4-16 9-20 14l-9 11-42-68-59 1c-14 0-24-6-30-16l-39-62c-5-11-5-22 0-32l35-64 1-1c5-8 15-16 27-16l73-2c14 0 24 6 30 17l39 62c5 10 5 21 0 32l-32 58 37 61-11 5z m-43-140l-27-44-52 2-26 45 27 45 52-2 26-46z m-154 217l31 54 78-2-4 13c-4 9-4 17-1 24l6 13-78 2-32 55c-5 10-16 17-28 17h-73c-12 0-22-7-28-17l-36-64c-6-10-6-21 0-32l0 0 36-61c3-7 10-13 19-17 2-1 6-2 9-2h73c12 0 23 6 28 17z m-14 79l-27-46h-52l-25 46 27 46h52l25-46z m382-121l0 0 58 101c8 11 8 26 0 37l-58 100-1 1c-8 10-20 17-32 17h-116c-10 0-19-3-26-11-2-2-3-4-4-5 0 0 0 0 0 0l-1-1-58-101c-8-11-8-27 0-38l58-99c5-11 18-18 31-18h118c11 0 22 6 31 17z m7 121l-50-86h-100l-50 86 50 87h100l50-87z" horiz-adv-x="1000" />
<glyph glyph-name="info1" unicode="&#xe93c;" d="M728-34c-1 25-21 45-46 46h-45v409c-1 25-21 45-46 45h-272c-25 0-46-21-47-46v-90c1-26 21-45 46-46h46v-273h-45c-25 0-45-20-46-46v-90c1-25 21-45 46-46h363c25 1 45 21 46 46v91z m-105 850c-8 8-19 13-32 13h-181c-25 0-45-20-46-45v-137c1-25 21-45 46-45h182c25 1 44 21 45 45v137c0 12-5 23-14 32z" horiz-adv-x="1000" />
<glyph glyph-name="examples_2" unicode="&#xe93d;" d="M441 663l29 62 60 31-60 32-29 62-30-62-59-32 59-31z m-268-125l50 104 99 52-99 52-50 104-49-104-99-52 99-52z m654-250l-50-105-99-52 99-52 50-104 49 104 99 52-99 52z m131 378l-158 166c-11 12-27 18-42 18s-30-6-42-18l-674-710c-23-24-23-64 0-88l158-166c11-12 27-18 42-18 15 0 30 6 42 18l674 710c23 24 23 64 0 88z m-266-213l-94 99 160 169 95-99z" horiz-adv-x="1000" />
<glyph glyph-name="tutorials_2" unicode="&#xe93e;" d="M456 577c-116 74-303 94-398 100-31 2-58-24-58-55v-456c0-29 23-53 52-55 85-5 258-22 377-85 18-9 40 4 40 25v502c0 10-5 19-13 24z m486 100c-95-6-282-26-398-100-8-5-13-15-13-24v-502c0-21 22-34 40-25 120 63 292 80 377 85 29 2 52 26 52 55v456c0 31-26 57-58 55z" horiz-adv-x="1000" />
<glyph glyph-name="in-progress" unicode="&#xe93f;" d="M278 43c0 41-35 74-77 74s-77-33-77-74c0-40 34-74 77-74 20 0 40 8 54 22 15 14 23 33 23 52z m276-67c-30 29-78 29-108 0s-30-75 0-104c30-29 78-29 108 0 14 14 22 33 22 52 1 19-7 38-22 52z m-423 409c-30 29-78 29-108 0s-31-76 0-105c14-14 34-22 54-22 42 0 77 34 77 74 0 20-9 39-23 53z m722-289c-30 29-78 29-108 0-29-29-29-76 1-105 30-28 77-28 107 1 14 14 22 32 22 52 1 19-7 38-22 52z m-584 589c-37 36-98 36-135 0l-1 0c-37-37-37-95 0-131v0c38-36 98-36 136 1l1 1c35 35 35 92-1 129z m709-302c-30 29-79 29-109 0s-30-76 0-105c30-29 79-29 109 0 14 14 22 33 22 53 1 20-7 40-23 54z m-396 434c-45 44-118 44-164 1-21-21-33-49-34-78 0-61 52-111 116-111 30 0 60 12 81 32 22 21 35 50 34 79 1 30-11 58-33 79z m312-104c-52 51-137 52-190 2-27-24-41-59-41-94-1-72 59-131 133-132 37 0 72 14 98 40 52 50 53 132 1 182 0 1-1 1-1 2z" horiz-adv-x="1000" />
<glyph glyph-name="confirm-1" unicode="&#xe940;" d="M932 600c-46 77-109 141-182 182-77 45-164 68-250 68s-173-23-250-68-141-109-182-182c-45-77-68-164-68-250s23-173 68-250 109-141 182-182c77-45 164-68 250-68s173 23 250 68 141 109 182 182c45 77 68 164 68 250s-23 173-68 250z m-46-473c-36-63-95-122-163-163s-146-60-223-60-154 19-223 60c-68 36-122 91-163 163-41 69-59 146-59 223s18 155 59 223c36 68 91 123 163 163 69 41 146 60 223 60s155-19 223-60c63-36 123-95 163-163s60-146 60-223-19-154-60-223z m-452 124l-109 109-36-41 145-145 314 314-37 36-277-273z" horiz-adv-x="1000" />
<glyph glyph-name="drag-and-drop-1" unicode="&#xe991;" d="M612 186h-385c-42 0-78 37-78 78v281c0 42 36 78 78 78h380c41 0 78-36 78-78v0-281c5-47-32-78-73-78z m-385 390c-16 0-31-15-31-31v0-281c0-15 15-31 31-31h380c15 0 31 16 31 31v281c0 16-16 31-31 31h-380z m494-582h-68v47h68v-47z m-140 0h-68v47h68v-47z m-141 0h-52c-10 0-21 0-26 5l16 47c5 0 5 0 10 0h52v-52z m359 5l-16 47c16 5 21 15 21 31h47c0-36-21-68-52-78z m-437 78h-47v68h47v-68z m489 68h-47v67h47v-67z m0 140h-47v68h47v-68z m-68 104c-5 0-5 0-10 0h-52v47h52c10 0 21 0 26-5l-16-42z" horiz-adv-x="1000" />
<glyph glyph-name="summary-1" unicode="&#xe992;" d="M851 635h-702c-14 0-26-11-26-25v-52c0-14 12-26 26-26h702c14 0 26 12 26 26v52c0 14-12 25-26 25z m0-165h-545c-14 0-26-12-26-26v-52c0-14 12-25 26-25h545c14 0 26 11 26 25v52c0 14-12 26-26 26z m0-193h-545c-14 0-26-12-26-26v-51c0-14 12-26 26-26h545c14 0 26 12 26 26v51c0 14-12 26-26 26z m0-193h-545c-14 0-26-11-26-25v-52c0-14 12-26 26-26h545c14 0 26 12 26 26v52c0 14-12 25-26 25z m-654 386h-48c-14 0-26-12-26-26v-52c0-14 12-25 26-25h48c14 0 26 11 26 25v52c0 14-12 26-26 26z m0-193h-48c-14 0-26-12-26-26v-51c0-14 12-26 26-26h48c14 0 26 12 26 26v51c0 14-12 26-26 26z m0-193h-48c-14 0-26-11-26-25v-52c0-14 12-26 26-26h48c14 0 26 12 26 26v52c0 14-12 25-26 25z" horiz-adv-x="1000" />
<glyph glyph-name="single-choice-set-1" unicode="&#xe993;" d="M801 366h-405c-16 0-28-13-28-29v-57c0-15 12-28 28-28h405c16 0 29 13 29 28v57c0 16-13 29-29 29z m72-228h-477c-16 0-28-13-28-28v-57c0-16 12-29 28-29h477c16 0 29 13 29 29v57c0 15-13 28-29 28z m15 456h-492c-16 0-28-13-28-29v-57c0-16 12-28 28-28h492c16 0 28 12 28 28v57c0 16-12 29-28 29z m-703 8c36 0 66-29 66-65s-30-66-66-66c-36 0-65 29-65 66s29 65 65 65z m0 30c-52 0-95-43-95-95s43-96 95-96c53 0 95 43 95 96s-42 95-95 95v0z m0-486c36 0 66-30 66-66s-30-65-66-65c-36 0-65 29-65 65s29 66 65 66z m0 29c-52 0-95-42-95-95s43-95 95-95c53 0 95 43 95 95s-42 95-95 95v0z m102 135c0-56-46-102-102-102s-101 46-101 102c0 56 45 101 101 101s102-45 102-101z" horiz-adv-x="1000" />
<glyph glyph-name="fill-in-the-blanks-1" unicode="&#xe994;" d="M871 146h-158c-16 0-30-14-30-30v-59c0-17 14-30 30-30h158c16 0 30 13 30 30v59c0 16-14 30-30 30z m-472 222h-275c-17 0-30-14-30-30v-59c0-17 13-30 30-30h275c17 0 30 13 30 30v59c0 16-13 30-30 30z m445 0c16 0 30-14 30-30v-59c0-17-14-30-30-30h-316c-16 0-30 13-30 30v59c0 16 14 30 30 30h316z m0 32h-316c-34 0-62-28-62-62v-59c0-35 28-62 62-62h316c34 0 62 27 62 62v59c0 34-28 62-62 62v0z m-254-254c17 0 30-14 30-30v-59c0-17-13-30-30-30h-262c-16 0-30 13-30 30v59c0 16 14 30 30 30h262z m0 32h-262c-34 0-62-28-62-62v-59c0-35 28-63 62-63h262c35 0 62 28 62 63v59c0 34-27 62-62 62v0z m-12 412c16 0 30-14 30-30v-59c0-17-14-30-30-30h-141c-16 0-29 13-29 30v59c0 16 13 30 29 30h141z m0 32h-141c-34 0-62-28-62-62v-59c0-35 28-62 62-62h141c34 0 62 27 62 62v59c0 34-28 62-62 62v0z m-454-151h176c16 0 29 13 29 30v59c0 16-13 30-29 30h-176c-17 0-30-14-30-30v-59c0-17 13-30 30-30z m584 0h164c17 0 30 13 30 30v59c0 16-13 30-30 30h-164c-16 0-29-14-29-30v-59c0-17 13-30 29-30z m-584-444h78c16 0 30 13 30 30v59c0 16-14 30-30 30h-78c-17 0-30-14-30-30v-59c0-17 13-30 30-30z" horiz-adv-x="1000" />
</font>
</defs>
</svg>
=======
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1">
<metadata>
Created by FontForge 20230101 at Fri Apr 12 21:40:06 2024
By John Smith
H5P
</metadata>
<defs>
<font id="h5p-core-27" horiz-adv-x="1024" >
<font-face
font-family="h5p-core-27"
font-weight="400"
font-stretch="normal"
units-per-em="1024"
panose-1="0 0 0 0 0 0 0 0 0 0"
ascent="960"
descent="-64"
bbox="-19 -107 3122 960"
underline-thickness="0"
underline-position="0"
unicode-range="U+0001-FFFD"
/>
<missing-glyph
/>
<glyph glyph-name=".notdef" unicode="&#xfffd;"
/>
<glyph glyph-name="uni0000" horiz-adv-x="0"
d="M0 0v0v0v0z" />
<glyph glyph-name="uni0001" horiz-adv-x="0"
d="M0 0v0v0v0z" />
<glyph glyph-name="space" unicode=" " horiz-adv-x="512"
d="M0 0v0v0v0z" />
<glyph glyph-name="uniE565" unicode="&#xe565;"
d="M234 544h556l-278 -278z" />
<glyph glyph-name="uniE566" unicode="&#xe566;"
d="M381 143v524l262 -262z" />
<glyph glyph-name="uniE58E" unicode="&#xe58e;"
d="M512 563l256 -256l-60 -60l-196 196l-196 -196l-60 60z" />
<glyph glyph-name="uniE58F" unicode="&#xe58f;"
d="M708 563l60 -60l-256 -256l-256 256l60 60l196 -196z" />
<glyph glyph-name="uniE600" unicode="&#xe600;"
d="M387 832h71v-72h-71v72zM566 832h71v-72h-71v72zM387 675h71v-71h-71v71zM566 675h71v-71h-71v71zM387 519h71v-71h-71v71zM566 519h71v-71h-71v71zM387 363h71v-71h-71v71zM566 363h71v-71h-71v71zM387 206h71v-71h-71v71zM566 206h71v-71h-71v71zM387 50h71v-71h-71v71
zM566 50h71v-71h-71v71z" />
<glyph glyph-name="uniE601" unicode="&#xe601;"
d="M454 374l-117 117l-84 -85l201 -202l317 318l-84 84z" />
<glyph glyph-name="uniE602" unicode="&#xe602;"
d="M665 368q-9 12 -21 18.5t-27 6.5q-16 0 -28 -8t-20 -16h-2q1 8 0.5 16.5t-0.5 14.5v51h-50v-234h41l8 20h3q9 -15 20.5 -18.5t26.5 -3.5t27 5.5t21 17.5q9 11 13.5 27.5t4.5 37.5t-4.5 37t-12.5 28v0zM626 265q-4 -6 -10 -9.5t-13 -3.5q-9 0 -16 3t-11 9t-6.5 16t-2.5 23
v5q0 13 2.5 21.5t6.5 13.5q4 6 11 8.5t15 2.5t13.5 -3t10.5 -10q4 -6 6 -15.5t2 -21.5q0 -13 -2 -22.5t-6 -16.5zM793 252q7 0 13.5 1t11.5 3q6 1 11 4t12 7v-40q-7 -3 -12 -5.5t-11 -4.5q-5 -1 -12.5 -1.5t-16.5 -0.5q-39 0 -59 21.5t-20 65.5q0 22 5.5 38.5t15.5 27.5
q11 12 26.5 17.5t36.5 5.5q14 0 27.5 -3t24.5 -9l-13 -36q-6 3 -11 4.5t-10 3.5q-4 1 -9 1.5t-9 0.5q-19 0 -28 -12.5t-9 -38.5q0 -25 9 -37.5t27 -12.5v0zM443 378q-9 7 -20 11t-28 4q-18 0 -34.5 -4t-30.5 -12l15 -31q14 6 25.5 9t21.5 3q13 0 19 -6.5t6 -19.5v-7l-28 -1
q-19 -1 -33 -4.5t-23 -9.5q-10 -7 -14.5 -17t-4.5 -24q0 -12 3.5 -22.5t10.5 -17.5t16.5 -10.5t22.5 -3.5q10 0 18 0.5t14 3.5t12.5 7t11.5 12h2l9 -20h23v114q0 16 -2.5 27t-11.5 19v0zM417 284q0 -8 -2 -14t-6 -11q-5 -5 -11 -7t-14 -2q-11 0 -16.5 5t-5.5 14q0 7 2.5 12
t7.5 9q5 3 11.5 5t16.5 2l17 1v-14v0zM904 489q6 0 10.5 -4.5t4.5 -10.5v-291q0 -6 -4.5 -10t-10.5 -4h-622q-6 0 -10 4t-4 10v291q0 6 4 10.5t10 4.5h622zM904 525h-622q-21 0 -36 -15t-15 -36v-291q0 -21 15 -36t36 -15h622q21 0 36 15t15 36v291q0 21 -15 36t-36 15v0z
M252 266h-66v33h66v-33zM134 266h-36q-12 0 -20.5 8.5t-8.5 20.5v10h32v-6h33v-33v0zM101 370h-32v66h32v-66zM101 501h-32v66h32v-66v0zM761 512h-33v65h33v-65v0zM101 632h-32v17q0 13 8.5 21.5t20.5 8.5h28v-33h-25v-14v0zM728 646h-25v33h28q12 0 20.5 -8.5t8.5 -21.5
v-17h-32v14v0zM650 646h-66v33h66v-33zM519 646h-66v33h66v-33zM388 646h-66v33h66v-33zM257 646h-66v33h66v-33z" />
<glyph glyph-name="uniE603" unicode="&#xe603;"
d="M531 436q-11 0 -18.5 -3.5t-12.5 -10.5q-5 -6 -7 -17t-2 -27v-6q0 -18 2 -30.5t7 -19.5q5 -8 13 -11.5t19 -3.5q9 0 16 4t13 13q5 8 7.5 20t2.5 28t-2.5 28t-8.5 20q-5 8 -12.5 12t-16.5 4zM646 624h-249q-32 0 -55.5 -23t-23.5 -54v-270q0 -32 23.5 -61.5t55.5 -29.5
h249q32 0 54.5 23t22.5 55v283q0 31 -22.5 54t-54.5 23v0zM609 288q-11 -14 -26.5 -21t-34.5 -7t-34 4.5t-25 23.5h-4l-10 -25h-48v296h64v-65q0 -7 -2 -17t-3 -20h2q11 10 26 19.5t36 9.5q19 0 34 -8t26 -23q10 -15 15.5 -36t5.5 -47q0 -27 -5.5 -48t-16.5 -36v0zM874 310
q9 0 16.5 1t14.5 3t13 5.5t15 8.5v-50q-9 -4 -15 -7t-13 -5t-16 -3t-20 -1q-50 0 -75 27.5t-25 82.5q0 27 7 47.5t20 35.5q14 14 33.5 21t44.5 7q19 0 35.5 -3.5t31.5 -10.5l-18 -45q-6 3 -12.5 5t-12.5 4t-12 3t-12 1q-23 0 -34 -16.5t-11 -48.5q0 -31 11 -46.5t34 -15.5v0
zM244 480q-11 10 -24.5 14.5t-35.5 4.5t-42.5 -5t-38.5 -14l19 -40q17 8 31.5 12t27.5 4q16 0 23.5 -8t7.5 -25v-9l-35 -1q-24 -1 -41 -5.5t-29 -12.5t-18 -20.5t-6 -29.5q0 -16 4.5 -29t13.5 -22q9 -8 21 -13t28 -5q12 0 22 1.5t18 4.5q8 4 15.5 9.5t14.5 14.5h2l11 -24h28
v141q0 20 -2.5 34t-14.5 23v0zM212 363q0 -10 -2 -17.5t-8 -13.5t-13.5 -9t-17.5 -3q-14 0 -21 6t-7 19q0 8 3.5 14.5t9.5 10.5t14.5 6.5t20.5 2.5l21 1v-17v0z" />
<glyph glyph-name="uniE604" unicode="&#xe604;"
d="M284 691l-127 -127q-2 -2 -5 -3.5t-5 -1.5q-3 0 -5.5 1.5t-4.5 3.5l-74 74q-2 2 -3 4.5t-1 5.5q0 2 1 5t3 5l20 20q2 2 4.5 3t5.5 1t5.5 -1t4.5 -3l44 -44l97 98q2 2 4.5 3t5.5 1t5.5 -1t4.5 -3l20 -21q2 -2 3.5 -4.5t1.5 -5.5q0 -2 -1.5 -5t-3.5 -5v0zM249 341l-21 -22
q-2 -2 -5 -3t-5 -1q-3 0 -6 1t-5 3l-46 46l-46 -46q-2 -2 -5 -3t-6 -1t-5.5 1t-4.5 3l-22 22q-2 2 -3 4.5t-1 5.5t1 6t3 5l46 46l-46 46q-2 2 -3 4.5t-1 5.5t1 6t3 5l22 21q2 2 4.5 3.5t5.5 1.5t6 -1.5t5 -3.5l46 -46l46 46q2 2 4.5 3.5t5.5 1.5t6 -1.5t5 -3.5l21 -21
q2 -2 3.5 -5t1.5 -6t-1.5 -5.5t-3.5 -4.5l-46 -46l46 -46q2 -2 3.5 -5t1.5 -6t-1 -5.5t-4 -5.5v1zM249 101l-21 -22q-2 -2 -5 -3t-5 -1q-3 0 -6 1t-5 3l-46 46l-46 -46q-2 -2 -5 -3t-6 -1q-2 0 -5 1t-5 3l-22 22q-2 2 -3 4.5t-1 5.5t1 6t3 5l46 46l-46 46q-2 2 -3 5t-1 5
q0 3 1 6t3 5l22 21q2 2 4.5 3.5t5.5 1.5t6 -1.5t5 -3.5l46 -46l46 46q2 2 4.5 3.5t5.5 1.5t6 -1.5t5 -3.5l21 -21q2 -2 3.5 -5t1.5 -6t-1.5 -5.5t-3.5 -4.5l-46 -46l46 -46q2 -2 3.5 -5t1.5 -6t-1 -5.5t-4 -4.5v0zM965 612q0 -15 -10.5 -26t-25.5 -11h-581q-15 0 -26 11
t-11 26v26q0 15 11 25.5t26 10.5h581q15 0 25.5 -10.5t10.5 -25.5v-26zM965 386q0 -15 -10.5 -26t-25.5 -11h-581q-15 0 -26 11t-11 26v26q0 15 11 25.5t26 10.5h581q15 0 25.5 -10.5t10.5 -25.5v-26zM965 160q0 -15 -10.5 -26t-25.5 -11h-581q-15 0 -26 11t-11 26v26
q0 15 11 26t26 11h581q15 0 25.5 -11t10.5 -26v-26z" />
<glyph glyph-name="uniE888" unicode="&#xe888;"
d="M513 668q-55 0 -104 -21q-48 -22 -83 -58.5t-55 -85.5q-19 -49 -18 -105q0 -47 16 -89q16 -43 43.5 -77t66.5 -57q38 -23 83 -32v214h-93q-10 0 -11 5.5t2 12.5l139 172q4 7 10.5 7.5t13.5 -2.5l2 -2.5l2 -2.5l140 -172q7 -7 4 -12.5t-14 -5.5h-93v-214q54 12 97 43
q42 30 69 73t37 94q9 52 -3 106q-9 45 -32 83q-23 37 -56.5 64.5t-75.5 43.5q-41 16 -87 18v0z" />
<glyph glyph-name="uniE889" unicode="&#xe889;"
d="M512 666q-54 0 -101 -21q-48 -20 -83 -55.5t-56 -82.5q-20 -48 -20 -102t20 -101q21 -48 56 -83t83 -56q47 -20 101 -20t101 20q48 21 83 56t56 83q20 47 20 101v0q0 53 -20 99q-21 47 -56 82t-83 57q-47 21 -101 23v0zM470 614h88v-69h-88v69zM600 224h-181v51h51v163
h-51v51h139v-218h47l-5 -47v0z" />
<glyph glyph-name="uniE88A" unicode="&#xe88a;"
d="M769 202l-110 111q27 37 36 81q10 44 3 87t-29 81q-23 39 -60 66q-38 27 -81 36q-44 8 -87 0.5t-82 -31.5q-39 -23 -66 -60q-27 -38 -36 -82q-10 -43 -3 -86.5t29 -81.5q23 -39 60 -66q58 -41 130 -41t130 41l111 -111q4 -4 8 -4t9 4v0v0l33 34q8 4 8.5 11t-3.5 11v0v0v0
zM476 279q-66 0 -113.5 47t-47.5 114q0 66 47.5 113t113.5 47t113 -47t47 -113q0 -67 -47 -114t-113 -47v0v0z" />
<glyph glyph-name="uniE88C" unicode="&#xe88c;"
d="M357 552q4 4 1.5 4.5t-7.5 0.5l-103 12q-4 4 -7.5 1t-3.5 -7l11 -109q0 -4 3 -5l3 -1l103 104v0zM282 489l64 -64q4 -4 8.5 -4t8.5 4l23 23q4 5 4 9t-4 9l-63 57l-41 -34v0zM776 448q4 -4 5 -1t1 7l11 109q0 4 -3.5 8t-7.5 4l-109 -12q-5 0 -5.5 -3l-0.5 -3zM713 523
l-63 -63q-5 -4 -5 -8.5t5 -8.5l23 -23q4 -5 8.5 -5t8.5 5l63 63l-40 40v0zM678 242q-4 -5 -1 -5.5t7 -0.5l109 -11q4 0 8 3.5t4 7.5l-18 103q0 5 -2.5 5.5l-2.5 0.5zM747 311l-63 63q-4 4 -8.5 4t-8.5 -4l-23 -23q-4 -4 -4 -8.5t4 -8.5l63 -64l40 41v0zM254 345
q-5 4 -5.5 1.5t-0.5 -7.5l-11 -109q0 -4 3.5 -7.5t7.5 -3.5l109 11q4 0 5 3l1 3l-109 109v0zM323 270l63 64q4 4 4 8.5t-4 8.5l-23 23q-4 4 -8.5 4t-8.5 -4l-64 -63zM151 655v-499h722v499h-722zM833 196h-637v413h637v-413z" />
<glyph glyph-name="uniE88E" unicode="&#xe88e;"
d="M891 553q-16 13 -38 20.5t-51 7.5h-139v-67h-157l-11 -56q9 5 20 8t19 3h17h17q25 0 48.5 -8t40.5 -25t25.5 -38t8.5 -46q0 -16 -4.5 -33t-12.5 -34q-9 -16 -21.5 -28.5t-28.5 -21.5q-5 -4 -12 -3.5t-11 -7.5h117v134h67q34 0 59 7.5t42 20.5q17 17 25 37.5t8 45.5
q0 30 -7.5 51t-20.5 33v0v0zM797 442q-9 -5 -18.5 -8.5t-26.5 -3.5h-34v84h40q16 0 26 -3.5t18 -7.5q4 -4 7.5 -12t3.5 -16q0 -12 -4 -20.5t-12 -12.5v0v0zM523 403q-12 0 -24 -8t-20 -20l-95 16l44 196h-95v-151h-117v151h-111v-363h111v134h117v-134h140q-13 8 -24.5 11
t-20.5 11q-8 9 -15.5 17t-12.5 17q-4 8 -8 17t-8 22l95 17q4 -13 15.5 -20.5t28.5 -7.5q21 0 35.5 14.5t14.5 35.5q0 17 -14.5 31t-35.5 14v0v0z" />
<glyph glyph-name="uniE88F" unicode="&#xe88f;"
d="M878 393v-5v-1q-17 -18 -35.5 -27.5t-41.5 -13.5q-8 0 -17 -3t-18 -3h-15h-15l-2.5 0.5t-2.5 5.5q-49 44 -101 89t-100 94h-3h-3q-18 -5 -35.5 -9t-35.5 -9q-18 -4 -38.5 -0.5t-38.5 12.5q-13 9 -19 15.5t-10 19.5q-5 5 -1 14.5t12 9.5q31 9 65 21.5t65 25.5q9 5 21 5.5
t21 0.5q4 0 8 -3l4 -3q31 -13 62 -23.5t62 -23.5h3h3q22 4 47 11.5t47 12.5h5h1zM270 399q13 9 26.5 5t26.5 -17q9 -9 9.5 -21.5t-3.5 -25.5q13 4 25 -2.5t16 -15.5q9 -13 6 -25.5t-12 -21.5h9.5h8.5q9 -5 17 -10.5t13 -19.5q4 -13 1 -22t-7 -13q-5 -5 -9.5 -9t-8.5 -9
l-8.5 -8.5l-9.5 -9.5q-4 -4 -22 -8.5t-31 8.5q-22 23 -41.5 48t-41.5 47q-13 18 -25.5 32.5t-21.5 32.5q-4 9 -8 15t-4 14q0 5 1 12.5t5 11.5l15 15l15 15q13 13 32 10t33 -16q-5 0 -5.5 -4t-0.5 -8v0v0zM417 192l30 -29q13 -14 31.5 -11t27.5 17l-6 5q-18 18 -35.5 36
t-35.5 35q-4 5 -5 6.5t-1 5.5q0 5 4 6.5t8 5.5q5 0 8.5 -1t3.5 -5l21.5 -21.5l25.5 -25.5l21.5 -21.5t26.5 -25.5q4 -9 12 -10.5t17 -1.5q9 4 17 9t13 14v5.5v0.5q-31 31 -65 63t-65 67q-5 5 -5.5 6.5t-0.5 5.5q0 9 7 9.5t16 -3.5l3 -1t3 -5l65 -65l65 -65q5 -4 5.5 -5
l0.5 -1q13 0 24.5 11t11.5 25v5v1q-36 35 -74.5 73.5l-73.5 73.5q-5 5 -5.5 6.5t-0.5 5.5t3 8l3 4q4 0 8 -1t4 -5q4 -5 5.5 -6t6.5 -6q26 -26 52.5 -53t53.5 -53l17 -17t12 -13l3 -2t3 2q18 5 26 20.5t4 32.5h35v0v0v-11.5v-11.5q-4 -22 -17.5 -36t-35.5 -23l-3 -1t-3 -5
q-9 -22 -26 -37.5t-39 -15.5q-4 0 -5 -1t-1 -5q-13 -27 -39.5 -36t-48.5 0q-5 0 -8.5 3l-3.5 3q-5 -4 -10 -8.5t-14 -9.5q-22 -8 -42.5 -4.5t-34.5 16.5q-8 9 -14 15l-15 15q13 18 19 25t10 16v0v0v0zM252 706q22 -9 47 -17t48 -12q26 -9 49.5 -17.5t50.5 -12.5h0.5h5.5
q-13 -4 -25.5 -8.5t-21.5 -9.5h-3h-3q-36 9 -70.5 18.5t-65.5 23.5h-5.5h-0.5l-77 -183q0 -9 4 -14.5t8 -9.5q4 -5 5 -6t1 -6q-5 -4 -10 -11.5t-14 -12.5q-13 14 -21 28.5t-8 36.5l88 213q-4 -9 2.5 -2t15.5 2v0v0z" />
<glyph glyph-name="uniE890" unicode="&#xe890;"
d="M512 666q-55 0 -103 -21q-47 -21 -82 -56.5t-55 -82.5q-20 -48 -20 -101t21 -100q20 -47 55.5 -82.5t83.5 -56.5q47 -21 100 -21t100 21q48 21 83.5 56.5t55.5 82.5q21 47 21 100t-20 101q-20 47 -55 82.5t-82 56.5q-48 21 -103 21v0zM653 326q5 -4 5 -12t-5 -16l-33 -34
q-5 -4 -12.5 -4t-16.5 4l-79 79l-79 -79q-4 -4 -12 -4t-17 4l-33 34q-5 4 -5 12t5 16l84 79l-79 80q-4 4 -4 11.5t4 16.5l34 34q4 4 12 4t16 -4l74 -85l79 79q4 4 12 4t17 -4l33 -34q5 -4 5 -12t-5 -16l-79 -74l79 -79v0z" />
<glyph glyph-name="uniE891" unicode="&#xe891;"
d="M187 528q-4 -4 -1.5 -5t7.5 -1l108 -11q4 0 7.5 3.5t3.5 7.5l-17 103q0 4 -2.5 5l-2.5 1l-103 -103v0zM255 591l-62 62q-5 5 -9 5t-9 -5l-17 -22q-4 -5 -4 -9t4 -8l63 -63zM734 625q-4 4 -4.5 1.5t-0.5 -7.5l-12 -108q0 -4 4 -8t8 -4l108 12q4 0 5 3l1 3zM797 551l63 63
q4 4 4 8t-4 9l-23 22q-4 5 -8.5 5t-8.5 -5l-63 -62zM831 288q5 5 2 5.5t-7 0.5l-103 17q-4 0 -7.5 -3.5t-3.5 -7.5l11 -109q0 -4 3 -4.5l3 -0.5l102 102v0zM763 226l63 -63q4 -4 8.5 -4t8.5 4l23 23q4 4 4 8.5t-4 8.5l-63 63l-40 -40v0zM284 191q4 -4 5 -1t1 7l11 108
q0 5 -3.5 8.5t-7.5 3.5l-109 -12q-4 0 -5 -2.5l-1 -2.5zM221 260l-63 -63q-4 -4 -4 -8.5t4 -8.5l23 -23q4 -4 8.5 -4t8.5 4l63 63l-40 40v0zM335 534v-240h348v240h-348v0zM638 334h-263v154h263v-154z" />
<glyph glyph-name="uniE892" unicode="&#xe892;"
d="M447 290q4 -5 5 -9.5t1 -9.5v-62q0 -5 -3 -5.5l-3 -0.5l-231 156q-5 4 -5.5 9t-0.5 9v50q0 5 3 9.5t3 9.5l231 156q4 4 5 1t1 -7v-63q0 -5 -3 -9.5t-3 -9.5l-163 -112q-4 -4 -4 -6t4 -6l163 -100v0zM733 396q5 5 5 6.5t-5 5.5l-156 113q-4 4 -5 9t-1 9v63q0 4 3 5l3 1
l231 -156q5 -5 5.5 -9.5t0.5 -9.5v-49q0 -5 -3 -10t-3 -9l-231 -156q-4 -5 -5 -2t-1 8v62q0 5 3 10t3 9l156 100v0z" />
<glyph glyph-name="uniE893" unicode="&#xe893;"
d="M353 491q-9 0 -12 -4.5t6 -13.5l153 -188q5 -9 15 -9t15 9l153 188q4 9 3.5 13.5t-9.5 4.5h-324v0zM571 479v135q0 9 -7.5 16.5t-16.5 7.5h-70q-9 0 -16.5 -7.5t-7.5 -16.5v-141h118v6zM647 344q-4 0 -11.5 -4t-11.5 -8l-77 -94q-4 -5 -11.5 -12.5l-11.5 -11.5l-4 -3
t-8 -3t-11 6l-7 6l-11.5 11.5l-11.5 11.5l-77 95q-4 4 -11.5 7.5t-11.5 3.5h-124q-4 0 -11 -4t-7 -13v-142q0 -4 4.5 -10.5t13.5 -6.5h530q4 0 11 4.5t7 12.5v142q0 4 -4.5 10.5t-13.5 6.5l-130 -5v0zM300 232q-13 0 -21 8t-8 21t8 21.5t21 8.5t21 -8.5t8 -21.5t-8 -21
t-21 -8v0z" />
<glyph glyph-name="uniE894" unicode="&#xe894;"
d="M615 405l134 134q8 8 8 21t-8 21l-62 61q-7 8 -20 8t-21 -8l-134 -134l-134 134q-8 8 -21 8t-20 -8l-62 -61q-8 -8 -8 -21t8 -21l134 -134l-134 -134q-8 -7 -8 -20t8 -21l62 -62q7 -8 20 -8t21 8l134 134l134 -134q8 -8 21 -8t20 8l62 62q8 8 8 21t-8 20z" />
<glyph glyph-name="uniE900" unicode="&#xe900;"
d="M300 728q52 18 100 10.5t89 -43.5q43 -36 58.5 -82.5t5.5 -101.5q-2 -9 0 -15t8 -13q71 -70 126 -125l125 -125l8 -8t7 -9q30 -37 16 -82.5t-60 -59.5q-27 -8 -51 -0.5t-44 27.5l-128.5 128.5l-128.5 128.5q-5 6 -10 7.5t-12 -0.5q-44 -10 -86 0q-41 11 -73.5 36
t-51.5 63q-20 37 -21 83q-1 19 3 38.5t13 38.5q26 -26 51.5 -51t49.5 -50q8 -8 16.5 -12t19.5 -4t19.5 3.5t15.5 11.5q8 9 17 17.5t18 17.5q10 11 10 30.5t-11 30.5l-52.5 52.5l-53.5 53.5l4.5 3t2.5 1v0zM703 170q0 -18 13.5 -31.5t31.5 -13.5t31 13.5t13 31.5
q0 17 -13 30.5t-31 13.5t-31 -13t-14 -31z" />
<glyph glyph-name="uniE901" unicode="&#xe901;"
d="M733 96h-110h-111.5h-110.5h-111v3.5v2.5q0 11 -0.5 23.5t-0.5 23.5q1 30 5.5 58.5t13.5 56.5q13 39 33 72t49 58q3 3 6.5 6t6.5 6v1v0l-2 2l-2 2q-21 17 -38 38.5t-31 46.5q-23 45 -33 93t-8 100q0 5 0.5 12.5t0.5 13.5h111h110.5h110.5h111q0 -1 0.5 -2t0.5 -2
q2 -28 0.5 -57.5t-6.5 -56.5q-11 -55 -34 -100.5t-61 -79.5q-3 -2 -6 -5t-6 -5v-1v-1q1 0 1.5 -0.5l1.5 -1.5q31 -25 53.5 -59.5t36.5 -75.5q9 -26 14 -53t7 -54q0 -15 -0.5 -32.5t-1.5 -32.5v0zM687 139q0 5 0.5 9.5t-0.5 9.5q-1 28 -5.5 55.5t-13.5 52.5q-14 38 -35.5 66
t-53.5 43q-2 1 -2.5 2.5t-0.5 3.5v25v25q0 3 1 4.5t3 2.5l14 8t13 9q22 18 37 42.5t25 53.5q8 23 12 46.5t6 48.5v13v14h-87h-88h-88h-88q0 -6 0.5 -12.5t0.5 -12.5q2 -28 7 -55t15 -52q13 -36 34 -62.5t52 -41.5q2 0 2.5 -1.5t0.5 -3.5v-26v-26q0 -2 -1 -3.5t-2 -1.5
q-4 -3 -8.5 -5t-8.5 -5q-26 -17 -43.5 -42.5t-28.5 -57.5q-9 -26 -13.5 -53.5t-6.5 -56.5v-8v-8h88h88h88h87zM410 559h102h102q-3 -5 -5.5 -9.5t-5.5 -9.5q-8 -12 -18 -22.5t-21 -18.5q-12 -8 -20.5 -19.5t-12.5 -27.5q-1 -5 -2 -10.5t-1 -10.5v-26v-26q1 -21 9.5 -36.5
t22.5 -26.5q33 -22 51 -56t25 -76q0 -1 0.5 -2.5t0.5 -3.5h-125h-124q2 16 5.5 30.5t9.5 29.5q10 24 24.5 43.5t34.5 33.5q13 9 21.5 21.5t11.5 29.5q0 4 0.5 7.5t0.5 7.5q0 14 0.5 28t-0.5 28q-1 18 -8.5 32t-20.5 25q-6 6 -13.5 11.5t-13.5 11.5q-9 8 -16 18.5t-14 23.5v0
z" />
<glyph glyph-name="uniE902" unicode="&#xe902;"
d="M768 371q0 -15 -10.5 -25t-24.5 -10h-151v-152q0 -14 -10.5 -24.5t-24.5 -10.5h-70q-14 0 -24.5 10.5t-10.5 24.5v152h-151q-15 0 -25 10t-10 25v69q0 15 10 25t25 10h151v152q0 14 10.5 24.5t24.5 10.5h70q14 0 24.5 -10.5t10.5 -24.5v-152h151q15 0 25 -10t10 -25v-69z
" />
<glyph glyph-name="uniE903" unicode="&#xe903;"
d="M396 366v-128q0 -16 13.5 -29.5t29.5 -13.5h128q16 0 29 12t13 31v128q0 16 -11.5 29.5t-30.5 13.5h-128q-16 0 -29.5 -12t-13.5 -31v0zM797 537l-102 106q-10 10 -26.5 16t-29.5 6h-141l22 -43h89v-137q0 -12 8.5 -21t21.5 -9h141v-341h-427v329h-42v-342q0 -12 8.5 -21
t20.5 -9h448q13 0 21.5 9t8.5 21v384q3 13 -4 27.5t-17 24.5v0zM652 494v124q3 0 8 -3t5 -6l102 -102q3 -4 4 -7t5 -6h-124zM737 204v196q0 3 -2.5 6t-5.5 3q-4 0 -7 -1t-6 -4l-90 -89v-30l90 -90q6 -3 7.5 -1.5t5.5 1.5q3 3 5.5 4.5t2.5 4.5v0zM362 511v136l59 -59
q7 -7 13.5 -5t12.5 5l13 13q6 6 6 12.5t-6 12.5l-115 107q-7 6 -12.5 6t-9.5 -6l-115 -111q-3 -7 -3 -13t3 -13l13 -13q6 -6 12 -6t9 6l60 60v-136q0 -7 5.5 -12t11.5 -5h26l8.5 5.5t8.5 15.5v0z" />
<glyph glyph-name="uniE904" unicode="&#xe904;"
d="M375 640q61 35 135.5 35t138.5 -35q32 -19 55 -42.5t43 -55.5q27 -48 33 -101q6 -54 -7 -104t-45 -94q-31 -44 -79 -72t-102 -34q-53 -6 -103.5 7.5t-93.5 44.5q-44 32 -73 80q-35 61 -35 135t35 138q16 32 41 55.5t57 42.5v0zM644 388q10 7 10 19.5t-10 19.5l-192 111
q-6 3 -10.5 3t-10.5 -3q-6 -4 -9.5 -9.5t-3.5 -12.5v-226q0 -6 3.5 -12t9.5 -9t12 -3t9 3l192 119v0z" />
<glyph glyph-name="uniE905" unicode="&#xe905;"
d="M722 583h-248q-49 0 -84 -35t-35 -85v-288q0 -50 35 -84.5t84 -34.5h248q50 0 84.5 34.5t34.5 84.5v288q0 50 -34.5 85t-84.5 35v0zM779 178q0 -24 -16.5 -40.5t-40.5 -16.5h-248q-23 0 -39.5 16.5t-16.5 40.5v285q0 24 16.5 40.5t39.5 16.5h248q23 0 39.5 -16.5
t16.5 -40.5v-285h1zM245 347v289q0 23 16.5 39.5t40.5 16.5h247q24 0 40.5 -16.5t16.5 -39.5v-19h62v19q0 49 -34.5 84t-84.5 35h-247q-50 0 -84.5 -35t-34.5 -84v-289q0 -49 34.5 -84t84.5 -35h19v63h-19q-24 -2 -40.5 14t-16.5 42v0zM681 382h-163q-14 0 -22.5 8.5
t-8.5 22.5t8.5 23t22.5 9h163q14 0 23 -9t9 -23t-10 -22.5t-22 -8.5zM681 288h-163q-14 0 -22.5 8.5t-8.5 22.5t8.5 22.5t22.5 8.5h163q14 0 23 -8.5t9 -22.5t-10 -22.5t-22 -8.5zM681 194h-163q-14 0 -22.5 8.5t-8.5 22.5t8.5 22.5t22.5 8.5h163q14 0 23 -8.5t9 -22.5
t-10 -22.5t-22 -8.5z" />
<glyph glyph-name="uniE906" unicode="&#xe906;"
d="M213 254q68 29 137 42t136 -25v282q-51 35 -114 39.5t-120 -27.5l-39 -311v0zM811 254l-43 316q-54 28 -118.5 24.5t-116.5 -41.5v-286q71 38 140.5 25t137.5 -38v0zM832 608q-38 22 -82 35.5t-89 19.5q-38 0 -76 -6.5t-73 -22.5q-35 16 -73 22.5t-76 6.5q-45 -3 -89 -18
t-82 -37l-64 -452l25 -4t86 25q35 19 75.5 25.5t82.5 0.5q32 -4 62.5 -17t52.5 -39v0q22 26 52.5 39t62.5 17q42 3 81 -4t77 -26q61 -29 86 -25.5l25 3.5l-64 457v0zM794 203q-32 16 -67.5 25t-73.5 9h-15.5h-14.5q-32 -3 -61 -13.5t-54 -29.5q-26 19 -54.5 29.5t-60.5 13.5
h-17.5h-17.5q-35 0 -69.5 -7t-66.5 -23q-16 -10 -34.5 -16t-38.5 -10l64 414q36 19 73.5 29.5t76.5 13.5q35 0 69.5 -6.5t66.5 -19.5l13 -8l13 4q32 13 66.5 19.5t69.5 6.5q39 -4 76.5 -14t73.5 -29l59 -418q-22 6 -39.5 13t-36.5 17v0z" />
<glyph glyph-name="uniE907" unicode="&#xe907;"
d="M887 516l-375 -111h-4l-218 69q-16 -20 -25 -45t-9 -54q16 -9 19 -26t-6 -33l-6.5 -6.5l-6.5 -6.5l17 -145q0 -3 -0.5 -4t-3.5 -5h-0.5h-3.5h-64q-4 0 -5 0.5t-4 4.5q0 3 -2 4t-2 4l17 145q-10 7 -13.5 16t-3.5 18q0 13 5.5 22.5t15.5 16.5q0 29 9 57t25 54l-106 30
q-7 3 -8 6.5t-1 10.5q0 3 2 3.5l2 0.5l376 119h4l375 -123q4 0 6.5 -3t2.5 -6t-2.5 -6.5t-6.5 -6.5v0zM725 320q4 -35 -59.5 -60t-153.5 -25t-151.5 25t-61.5 60l4 107l192 -64h8.5h8.5t8.5 0.5t8.5 3.5l192 60l4 -107v0z" />
<glyph glyph-name="uniE908" unicode="&#xe908;"
d="M512 747q-71 0 -133 -27t-108.5 -73.5t-72.5 -108.5q-27 -62 -27 -133q0 -70 27 -132q26 -63 72.5 -109t108.5 -73t133 -27t133 27t108.5 73t72.5 108q27 63 27 133q0 71 -27 133q-26 62 -72.5 108.5t-108.5 73.5t-133 27v0v0zM512 93q-65 0 -122 24q-57 25 -99.5 67.5
t-66.5 99.5q-25 57 -25 121q0 65 25 122q24 57 66.5 99.5t99.5 66.5q57 25 122 25t122 -25q57 -24 99.5 -66.5t66.5 -99.5q25 -57 25 -122q0 -64 -25 -121t-67 -99.5t-99 -67.5q-57 -24 -122 -24v0v0zM512 655q-52 0 -97 -20q-46 -19 -79.5 -53t-53.5 -80q-20 -45 -20 -97
q0 -51 20 -97q20 -45 53.5 -79t79.5 -54q45 -19 97 -19t97 19q46 20 79.5 54t53.5 79q20 46 20 97q0 52 -20 97q-20 46 -53.5 80t-79.5 53q-45 20 -97 20v0z" />
<glyph glyph-name="uniE909" unicode="&#xe909;"
d="M469 545h87v0v0q5 0 9 1.5t7 4.5q3 4 4.5 8t1.5 8v0.5v0.5v70v0v0q0 5 -1.5 9t-4.5 7t-7 5t-9 2v0v0h-87v0v0q-5 0 -9 -2t-6 -5q-3 -3 -5 -7t-2 -9v0v0v-70v0v0q0 -5 2 -9t5 -7q2 -3 6 -5t9 -2v0zM599 242h-22v210v0v0q0 5 -2 9t-5 7q-2 3 -6 5t-9 2v0v0h-130v0v0
q-5 0 -9 -2t-6 -5q-3 -3 -5 -7t-2 -9v0v0v-47v0v0q0 -5 2 -9t5 -7q2 -3 6 -5t9 -2v0v0h22v-140h-22v0v0q-5 0 -9 -2t-6 -5q-3 -3 -5 -7t-2 -9v0v0v-46v-0.5v-0.5q0 -4 2 -8.5t5 -7.5q2 -3 6 -4.5t9 -1.5v0v0h174v0v0q5 0 9 1.5t6 4.5q3 3 5 7.5t2 8.5v0.5v0.5v46v0.5v0.5
q0 4 -1.5 8t-3.5 7q-3 3 -7 5t-9 2h-0.5h-0.5v0z" />
<glyph glyph-name="uniE90A" unicode="&#xe90a;"
d="M394 724h-75q-49 0 -84 -35t-35 -84v-289q0 -42 25 -73t63 -43v69q-12 7 -18.5 19t-6.5 28v289q0 23 16.5 39.5t39.5 16.5h132l0.5 0.5l2.5 2.5v0q0 24 -18 42t-42 18v0zM705 614h-16h-25q-9 26 -31.5 42.5t-53.5 16.5q-30 0 -51 -16.5t-30 -42.5h-25.5h-15.5
q-49 0 -84 -35t-35 -84v-289q0 -49 35 -84t84 -35h248q49 0 84 35t35 84v286q2 49 -34 85.5t-85 36.5v0zM583 627q16 0 28 -12.5t12 -28.5q0 -17 -12 -29t-28 -12q-17 0 -29 12t-12 29q0 16 11 28.5t30 12.5zM764 203q0 -23 -16 -39.5t-40 -16.5h-251q-23 0 -39.5 16.5
t-16.5 39.5v289q0 14 6.5 27t18.5 20v0q0 -33 22.5 -56t55.5 -23h160q33 0 56 23t23 56v0q9 -7 15.5 -20t6.5 -27v-289h-1z" />
<glyph glyph-name="uniE90B" unicode="&#xe90b;"
d="M735 625q-41 46 -98.5 73t-124.5 27q-62 0 -116 -23q-55 -24 -95.5 -64.5t-63.5 -94.5q-24 -54 -24 -116h75q0 46 18 87q17 41 47.5 71t71.5 48t87 18q51 0 95 -21.5t75 -57.5l-70 -71h199v199l-76 -75v0zM512 203q-51 0 -95 21.5t-75 57.5l70 70h-199v-199l76 76
q41 -47 98.5 -74t124.5 -27q62 0 116 23q55 24 95.5 64.5t63.5 94.5q24 55 24 117h-75q0 -47 -18 -88q-17 -40 -47.5 -70.5t-71.5 -48.5q-41 -17 -87 -17v0z" />
<glyph glyph-name="uniE90C" unicode="&#xe90c;"
d="M467 160h90v269h-90v-269v0zM512 832q-93 0 -174 -35q-82 -35 -143 -96t-96 -143q-35 -81 -35 -174t35 -174q35 -82 96 -143t143 -96q81 -35 174 -35t174 35q82 35 143 96t96 143q35 81 35 174t-35 174q-35 82 -96 143t-143 96q-81 35 -174 35zM512 26q-74 0 -139 28
q-66 28 -114.5 76.5t-76.5 114.5q-28 65 -28 139t28 139q28 66 76.5 114.5t114.5 76.5q65 28 139 28t139 -28q66 -28 114.5 -76.5t76.5 -114.5q28 -65 28 -139t-28 -139q-28 -66 -76.5 -114.5t-114.5 -76.5q-65 -28 -139 -28zM467 518h90v90h-90v-90z" />
<glyph glyph-name="uniE90D" unicode="&#xe90d;"
d="M600 787q0 -37 -26 -62.5t-62 -25.5t-62 25.5t-26 62.5q0 36 26 62t62 26t62 -26t26 -62zM512 112q-36 0 -62 -26t-26 -62t26 -62t62 -26t62 26t26 62t-26 62t-62 26zM893 493q-36 0 -62 -25.5t-26 -62.5q0 -36 26 -62t62 -26q37 0 62.5 26t25.5 62q0 37 -25.5 62.5
t-62.5 25.5v0zM219 405q0 37 -26 62.5t-62 25.5q-37 0 -62.5 -25.5t-25.5 -62.5q0 -36 25.5 -62t62.5 -26q36 0 62 26t26 62zM242 224q-36 0 -62 -26t-26 -62q0 -37 26 -62.5t62 -25.5q37 0 62.5 25.5t25.5 62.5q0 36 -25.5 62t-62.5 26v0zM782 224q-37 0 -62.5 -26
t-25.5 -62q0 -37 25.5 -62.5t62.5 -25.5q36 0 62 25.5t26 62.5q0 36 -26 62t-62 26zM242 763q-36 0 -62 -26t-26 -62t26 -62t62 -26q37 0 62.5 26t25.5 62t-25.5 62t-62.5 26v0z" />
<glyph glyph-name="uniE90E" unicode="&#xe90e;"
d="M615 788h-318q-56 0 -96 -40t-40 -96v-370q0 -33 14.5 -61t38.5 -47v70q-3 9 -5 18.5t-2 19.5v370q0 37 26.5 63.5t63.5 26.5h318q11 0 21.5 -3t20.5 -8h68q-18 26 -47 41.5t-63 15.5v0zM674 246h-209q-11 0 -17 -6t-6 -17t6 -17t17 -6h209q9 0 16.5 6t7.5 17t-6.5 17
t-17.5 6zM674 367h-209q-11 0 -17 -6t-6 -17t6 -17t17 -6h209q9 0 16.5 6t7.5 17t-6.5 17t-17.5 6zM727 665h-318q-56 0 -96 -40t-40 -96v-370q0 -57 40 -96.5t96 -39.5v0h318q56 0 96 39.5t40 96.5v370q0 56 -40 96t-96 40v0zM816 163q0 -37 -26 -63.5t-63 -26.5h-318
q-37 0 -63.5 26.5t-26.5 63.5v366q0 37 26.5 63.5t63.5 26.5h318q37 0 63 -26.5t26 -63.5v-349v0v-17v0zM674 488h-209q-11 0 -17 -6t-6 -17t6 -17t17 -6h209q9 0 16.5 6t7.5 17t-6.5 17t-17.5 6v0z" />
<glyph glyph-name="uniE90F" unicode="&#xe90f;"
d="M615 788h-318q-56 0 -96 -40t-40 -96v-370q0 -33 14.5 -61t38.5 -47v70q-3 9 -5 18.5t-2 19.5v370q0 37 26.5 63.5t63.5 26.5h318q11 0 21.5 -3t20.5 -8h68q-18 26 -47 41.5t-63 15.5v0zM727 665h-318q-56 0 -96 -40t-40 -96v-370q0 -57 40 -96.5t96 -39.5v0h318
q56 0 96 39.5t40 96.5v370q0 56 -40 96t-96 40v0zM816 163q0 -37 -26 -63.5t-63 -26.5h-318q-37 0 -63.5 26.5t-26.5 63.5v366q0 37 26.5 63.5t63.5 26.5h318q37 0 63 -26.5t26 -63.5v-349v0v-17v0zM710 448l-28 27l-110 -109l-109 109l-28 -27l110 -110l-110 -110l28 -27
l109 109l110 -109l27 27l-109 110l110 110v0z" />
<glyph glyph-name="uniE910" unicode="&#xe910;"
d="M410 36q-56 0 -96.5 40t-40.5 97v373q0 56 40.5 96.5t96.5 40.5h65l4 11q12 31 35 48.5t54 17.5q33 0 58 -18t36 -48l4 -11h65q27 0 53.5 -11.5t45.5 -32.5q20 -20 29.5 -45t7.5 -51v-370q0 -57 -40 -97t-96 -40h-321v0zM361 617q-19 -11 -30 -31.5t-11 -43.5v-373
q0 -38 26.5 -64.5t64.5 -26.5h324q33 0 57.5 21t31.5 52h1v18v373q0 21 -9.5 41.5t-25.5 32.5l-27 21v-17q0 -35 -24.5 -59.5t-60.5 -24.5h-207q-35 0 -59.5 24.5t-24.5 59.5v13l-26 -16v0zM572 712q-20 0 -34 -14t-14 -34t14.5 -34.5t33.5 -14.5q20 0 34.5 14.5t14.5 34.5
q0 19 -14.5 33.5t-34.5 14.5zM422 743l12.5 12.5l12.5 12.5q1 2 2.5 3.5t2.5 3.5h-158q-57 0 -97.5 -40.5t-40.5 -97.5v-374q0 -34 15 -62.5t41 -47.5v69q-5 9 -7 19.5t-2 21.5v374q0 38 26.5 64.5t64.5 26.5h116q3 4 6 7.5t6 7.5v0z" />
<glyph glyph-name="uniE911" unicode="&#xe911;"
d="M410 36q-56 0 -96.5 40t-40.5 97v373q0 56 40.5 96.5t96.5 40.5h65l4 11q12 31 35 48.5t54 17.5q33 0 58 -18t36 -48l4 -11h65q27 0 53.5 -11.5t45.5 -32.5q20 -20 29.5 -45t7.5 -51v-370q0 -57 -40 -97t-96 -40h-321v0zM361 617q-19 -11 -30 -31.5t-11 -43.5v-373
q0 -38 26.5 -64.5t64.5 -26.5h324q33 0 57.5 21t31.5 52h1v18v373q0 21 -9.5 41.5t-25.5 32.5l-27 21v-17q0 -35 -24.5 -59.5t-60.5 -24.5h-207q-35 0 -59.5 24.5t-24.5 59.5v13l-26 -16v0zM572 712q-20 0 -34 -14t-14 -34t14.5 -34.5t33.5 -14.5q20 0 34.5 14.5t14.5 34.5
q0 19 -14.5 33.5t-34.5 14.5zM422 743l12.5 12.5l12.5 12.5q1 2 2.5 3.5t2.5 3.5h-158q-57 0 -97.5 -40.5t-40.5 -97.5v-374q0 -34 15 -62.5t41 -47.5v69q-5 9 -7 19.5t-2 21.5v374q0 38 26.5 64.5t64.5 26.5h116q3 4 6 7.5t6 7.5v0zM719 443l-28 27l-111 -110l-111 110
l-28 -27l111 -111l-111 -111l28 -28l111 111l111 -111l27 28l-110 111l111 111v0z" />
<glyph glyph-name="uniE912" unicode="&#xe912;"
d="M853 678l-68 69l-273 -273l-273 273l-68 -69l272 -273l-272 -272l68 -69l273 273l273 -273l68 69l-272 272z" />
<glyph glyph-name="uniE913" unicode="&#xe913;"
d="M473 569v-319q0 -8 -5.5 -13.5t-13.5 -5.5q-4 0 -7.5 1.5t-5.5 3.5l-98 98h-77q-8 0 -13.5 5.5t-5.5 13.5v112q0 8 5.5 13.5t13.5 5.5h77l98 98q5 6 13 5.5t13 -5.5q3 -3 4.5 -6t1.5 -7v0v0zM586 451q6 -9 9 -20t3 -22t-3 -21.5t-9 -20.5q-6 -9 -14.5 -16.5t-19.5 -11.5
q-1 -1 -3 -1h-4q-4 0 -7.5 1.5t-5.5 3.5q-3 3 -4.5 6.5t-1.5 7.5q0 3 1 5.5t2 4.5q2 2 4.5 4t4.5 4q2 1 5 3t5 3q3 3 5 5.5t4 5.5q3 8 3 17t-3 17q-2 3 -4 5.5t-5 4.5q-2 2 -4.5 3.5t-5.5 3.5q-2 2 -4.5 3.5t-4.5 3.5q-1 3 -2 5.5t-1 5.5q0 4 1.5 7.5t4.5 5.5q2 3 5.5 4.5
t7.5 1.5q2 0 4 -0.5t3 -1.5q11 -3 19.5 -10t14.5 -17v0v0zM663 493q25 -38 25 -84t-25 -84q-12 -18 -29 -32.5t-37 -23.5q-2 -1 -4 -1h-4q-4 0 -7.5 1.5t-5.5 3.5q-3 3 -4.5 6.5t-1.5 7.5q0 6 3 10.5t9 6.5q5 3 11 6.5t11 6.5q38 28 45.5 74.5t-20.5 84.5q-5 7 -11.5 13
t-13.5 12q-5 3 -10.5 6.5t-11.5 6.5q-6 2 -9 6.5t-3 10.5q0 8 5.5 13.5t13.5 5.5q2 0 4 -0.5t4 -0.5q20 -9 37 -23t29 -33v0zM741 534q26 -39 34 -83q8 -45 -1 -88t-34 -80q-24 -38 -64 -64q-8 -6 -17 -10.5t-18 -8.5q-2 -1 -4 -1.5t-4 -0.5q-8 0 -13.5 5.5t-5.5 13.5
q0 6 3.5 10.5t8.5 7.5q1 1 3 1.5t3 1.5q2 0 3.5 1t3.5 2q6 3 12.5 7t11.5 8q18 13 32.5 30t24.5 37q21 41 21 86t-21 86q-10 20 -24.5 37t-32.5 30q-5 4 -11.5 8t-12.5 7q-2 1 -3.5 2t-3.5 1q-1 1 -3 1.5t-3 1.5q-5 3 -8.5 7.5t-3.5 10.5q0 8 5.5 13t13.5 6q2 0 4 -0.5
t4 -1.5q31 -13 56.5 -34.5t43.5 -49.5v0v0z" />
<glyph glyph-name="uniE914" unicode="&#xe914;"
d="M797 537l-102 106q-10 10 -26.5 15.5t-29.5 5.5h-141l21 -42h90v-137q0 -13 8.5 -21.5t21.5 -8.5h141v-341h-427v329h-43v-342q0 -12 9 -21t21 -9h448q13 0 21.5 9t8.5 21v384q3 13 -4.5 27.5t-16.5 24.5v0zM652 494v124q3 0 8 -3t5 -6l102 -102q3 -4 4 -7t4 -6h-123v0z
M362 511v136l59 -59q7 -7 13.5 -5t12.5 5l13 13q6 6 6 12.5t-6 12.5l-115 107q-7 6 -13 6t-9 -6l-115 -111q-3 -7 -3 -13t3 -13l13 -13q6 -6 12 -6t9 6l60 60v-136q0 -7 5.5 -12t11.5 -5h26l8.5 5.5t8.5 15.5v0zM533 380v-188q0 -3 -2.5 -6.5l-2.5 -3.5h-6q-4 0 -5 0.5
t-5 4.5l-58 58h-47q-3 0 -6.5 3t-3.5 7v63q0 4 3 7t7 3h47l58 58q4 4 9 6t7 0q3 -3 4 -5.5t1 -6.5v0zM616 208q16 16 24 35.5t8 42.5q0 24 -8 43.5t-24 35.5q-7 8 -15 8t-16 -8t-8 -16t8 -16q8 -7 12 -19t4 -28q0 -15 -4 -25t-12 -22q-8 -7 -8 -15t8 -16q4 -4 8 -4.5t8 -0.5
t7.5 0.5t7.5 4.5v0zM689 156q24 27 35.5 58.5t11.5 66.5q0 36 -11.5 67t-35.5 59q-7 11 -15 12.5t-16 -2.5q-8 -8 -8.5 -15.5t3.5 -15.5q16 -20 26 -46t10 -53q0 -28 -8 -54t-28 -46q-8 -7 -5.5 -17t10.5 -14q4 -4 8 -4.5t8 -0.5t7.5 0.5t7.5 4.5v0z" />
<glyph glyph-name="uniE915" unicode="&#xe915;" horiz-adv-x="3151"
d="M2076 830q-40 38 -99.5 54.5t-139.5 16.5h-341v-180h-446l-35 -151q48 23 103 32q55 10 110 4.5t106 -25.5t91 -57q43 -40 66 -90q23 -51 27 -106t-9 -110q-12 -56 -41 -104q-22 -38 -53 -67t-69 -49q-17 -9 -34.5 -13.5t-33.5 -11.5h346v335h181q47 0 95 8t90.5 26.5
t77.5 48.5q35 31 58 77q20 41 27 91q8 49 2.5 98t-25.5 94q-19 45 -54 78v1zM1835 540q-17 -14 -47 -20t-72 -6h-92v207h104q34 0 68.5 -9t55.5 -39q8 -12 12.5 -26.5t4.5 -30.5q0 -22 -9 -42t-25 -34v0zM1105 434q-39 0 -70 -20.5t-47 -52.5l-258 30l117 510h-228v-387
h-335v387h-284v-928h284v335h335v-335h347q-45 10 -82 32q-38 22 -68 52.5t-51 69.5q-22 38 -35 81l258 37q17 -32 48 -52t69 -20q54 0 92.5 38t38.5 92t-38.5 92.5t-92.5 38.5v0zM2349 -27h-89l41 192q3 14 5 32.5t-8 29.5q-6 5 -12.5 7.5t-13.5 2.5q-6 0 -11.5 -1.5
t-10.5 -4.5q-28 -17 -40.5 -54t-19.5 -67l-29 -137h-89l97 459h89q-9 -44 -19.5 -87t-23.5 -86h3q24 30 62 45t75 -5q37 -21 39 -62t-6 -76zM2503 303h88l-40 -192q-3 -14 -5 -32.5t9 -29.5q5 -5 11 -7.5t14 -2.5q6 0 11.5 2t10.5 5q28 17 40.5 54t19.5 67l29 136h89
l-70 -330h-68l6 61h-1q-22 -34 -59 -55.5t-79 -6.5q-46 16 -48.5 65t5.5 87zM3030 308q45 0 66 -28q20 -28 24.5 -66.5t-4.5 -80.5q-8 -41 -20 -68q-14 -32 -38.5 -56t-56.5 -36q-8 -2 -16 -3.5t-16 -1.5q-26 0 -47.5 13t-33.5 34l-2 1l-17 -43h-68l97 459h89l-18 -85
q-6 -26 -13 -49t-15 -44l4 5q14 21 36 34.5t48 14.5h1zM2994 236q-29 0 -50 -32t-28 -70t2 -68q9 -31 40 -28q25 3 45 35q19 31 27 67.5t1 66.5t-37 30v-1z" />
<glyph glyph-name="uniE916" unicode="&#xe916;"
d="M997 60l-118 -118q-14 -14 -27.5 -20.5t-26.5 -6.5q-14 0 -31 6.5t-24 20.5l-253 254l-254 -254q-14 -14 -27.5 -20.5t-27.5 -6.5q-13 0 -30 6.5t-24 20.5l-127 118q-13 13 -20 26.5t-7 27.5t7 31t20 23l254 254l-254 263q-13 14 -20 27.5t-7 26.5q0 14 7 31t20 24
l118 117q7 14 24 21t30 7q14 0 31 -7t24 -21l253 -253l254 253q14 14 27.5 21t27.5 7q13 0 30 -7t24 -21l118 -117q13 -14 20 -27.5t7 -27.5q0 -13 -7 -30t-20 -24l-254 -254l254 -254q13 -13 20 -26.5t7 -27.5q7 -20 1 -35t-19 -28v0z" />
<glyph glyph-name="uniE917" unicode="&#xe917;"
d="M17 533q19 86 65 160q46 73 111.5 126.5t147.5 84.5q82 30 173 30q51 0 99 -10q49 -10 93.5 -28t84.5 -45q40 -26 74 -59l86 86q6 6 13.5 9.5t16.5 3.5q17 0 30 -12.5t13 -30.5v-299q0 -17 -13 -29.5t-30 -12.5h-299q-18 0 -30.5 12.5t-12.5 29.5q1 9 4 17t9 13l92 92
q-46 44 -106.5 69.5t-129.5 25.5q-46 0 -89 -12t-80 -33.5t-68 -51.5t-54 -67q-9 -18 -18 -37t-16 -39q-3 -9 -8.5 -13.5t-12.5 -4.5h-125q-8 0 -14 6t-7 15q0 1 0.5 2t0.5 2v0zM0 294q0 17 13 30t30 13h299q18 0 30.5 -13t12.5 -30q-1 -9 -4 -16.5t-9 -13.5l-92 -92
q46 -42 105.5 -66.5t127.5 -24.5q45 0 88 12q43 11 80 32.5t68 50.5q31 30 54 67q10 17 18.5 36t15.5 39q3 9 8.5 13.5t12.5 5.5h132h0.5h0.5q8 0 14 -5.5t8 -13.5v0q-20 -86 -66 -159t-111.5 -126.5t-147.5 -83.5q-81 -29 -172 -29h-0.5h-0.5q-51 0 -100 10q-48 10 -93 28
t-85 44t-75 59l-86 -86q-6 -6 -13.5 -9t-16.5 -4q-17 0 -30 12.5t-13 30.5z" />
<glyph glyph-name="uniE918" unicode="&#xe918;"
d="M512 -85q-106 0 -198 40q-93 40 -162.5 109.5t-109.5 161.5q-40 93 -40 199t40 199t109.5 162t162.5 109q92 40 198 40t199 -40t162 -109t109 -162q41 -93 41 -199t-41 -199q-40 -93 -109 -162t-162 -109t-199 -40zM87 425q0 -88 33 -165q34 -78 91.5 -135.5t135.5 -91.5
q77 -33 165 -33t166 33q77 34 135 91.5t91 135.5q33 77 33 165t-33 166q-33 77 -91 134.5t-135 91.5q-78 33 -166 33t-165 -33q-78 -34 -135.5 -91.5t-91.5 -135.5q-33 -77 -33 -165v0zM642 394q-25 -15 -40 -26.5t-15 -27.5v-21q0 -9 -6.5 -15.5t-15.5 -6.5h-106
q-9 0 -15 6.5t-6 15.5v45q0 61 35 87t70 42q30 14 47.5 26t17.5 35q0 29 -30 48t-63 19q-17 0 -34 -5t-29 -13q-11 -7 -22.5 -19.5t-30.5 -35.5q-3 -4 -7 -6t-9 -2q-4 0 -7.5 1t-5.5 3l-72 54q-6 5 -7.5 13.5t2.5 15.5q41 64 99 96t133 32q41 0 83 -16q41 -15 74 -42t54 -64
t21 -80q0 -71 -39 -105t-76 -54v0zM587 117q0 -9 -6.5 -15.5t-15.5 -6.5h-106q-9 0 -15 6.5t-6 15.5v106q0 9 6 15t15 6h106q9 0 15.5 -6t6.5 -15v-106v0z" />
<glyph glyph-name="uniE919" unicode="&#xe919;"
d="M511 -85q-106 0 -199 40t-162.5 109.5t-109.5 163.5q-40 93 -40 199t40 199t109.5 162.5t163.5 109.5q93 41 199 41t199 -41q94 -40 163.5 -109.5t109.5 -162.5t40 -199t-41 -200q-40 -93 -109.5 -162.5t-163.5 -109.5q-93 -40 -199 -40v0v0v0zM511 787q-75 0 -141 -28
q-66 -29 -115.5 -78t-77.5 -115q-29 -66 -29 -141t29 -141q28 -67 77.5 -116t115.5 -77q66 -29 141 -29t141 29q66 28 115.5 77t77.5 116q29 66 29 141v0.5v1.5q0 75 -29 141q-28 66 -77.5 115.5t-115.5 77.5q-66 29 -141 29v-3zM499 201q-5 -6 -13 -9.5t-17 -3.5
q-8 0 -16 3.5t-14 9.5l-194 194q-5 5 -8.5 13t-3.5 17t3.5 16.5t8.5 13.5l68 68q6 5 13.5 8.5t16.5 3.5t17 -3.5t13 -8.5l97 -97l184 183q5 6 13 9t17 3q8 0 16 -3t14 -9l68 -68q5 -6 8.5 -13.5t3.5 -16.5t-3.5 -16.5t-8.5 -13.5z" />
<glyph glyph-name="uniE91A" unicode="&#xe91a;"
d="M994 385v-2.5v-2.5q0 -33 -22 -55.5t-54 -23.5h-463l195 -194q12 -11 18.5 -26.5t6.5 -32.5t-6.5 -32.5t-18.5 -26.5l-49 -50q-12 -11 -27 -17.5t-32 -6.5h-0.5h-0.5q-17 0 -32.5 6.5t-26.5 17.5l-430 429q-12 11 -18.5 26t-6.5 33v0v0q0 17 6.5 32.5t18.5 26.5l430 427
q11 12 26.5 19t33.5 7q17 -1 32 -7.5t27 -18.5l49 -48q12 -12 18.5 -27.5t6.5 -32.5q0 -18 -6.5 -33t-18.5 -27l-192 -192h462q32 -1 54.5 -24t22.5 -55v-3v-3z" />
<glyph glyph-name="uniE91B" unicode="&#xe91b;"
d="M472 542q0 -32 -23 -55.5t-56 -23.5h-314q-33 0 -56 23.5t-23 55.5v241q0 33 23 56t56 23h315q33 0 56 -23t23 -56zM472 70q0 -32 -23 -55.5t-56 -23.5h-314q-33 0 -56 23.5t-23 55.5v236q0 33 23 56t56 23h315q33 0 56 -23t23 -56zM1023 542q0 -32 -23 -55.5t-56 -23.5
h-314q-33 0 -56 23.5t-23 55.5v241q0 33 23 56t56 23h315q33 0 56 -23t23 -56zM1023 70q0 -32 -23 -55.5t-56 -23.5h-314q-33 0 -56 23.5t-23 55.5v236q0 33 23 56t56 23h315q33 0 56 -23t23 -56z" />
<glyph glyph-name="uniE91C" unicode="&#xe91c;"
d="M293 681v-0.5v-1.5q0 -23 -16 -39t-39 -17h-183q-23 1 -39 17t-16 39v1.5v0.5v118v1.5v0.5q0 23 16 39.5t39 17.5h183q23 -1 39 -17.5t16 -39.5v-0.5v-1.5v-118zM293 368v-1.5v-0.5q0 -23 -16 -39.5t-39 -17.5h-183q-23 1 -39 17.5t-16 39.5v0.5v1.5v118v0.5v0.5
q0 24 16 40t39 17h183q23 -1 39 -17t16 -40v-0.5v-0.5v-118zM293 54v-0.5v-1.5q0 -23 -16 -39.5t-39 -16.5h-183q-23 0 -39 16.5t-16 39.5v1.5v0.5v118v0.5v1.5q0 23 16 39.5t39 17.5h183q23 -1 39 -17.5t16 -39.5v-1.5v-0.5v-118zM1024 681v-0.5v-1.5q0 -23 -16 -39
t-39 -17h-548q-23 1 -39 17t-16 39v1.5v0.5v118v1.5v0.5q0 23 16 39.5t38 17.5h549q23 -1 39 -17.5t16 -39.5v-0.5v-1.5v-118zM1024 368v-1.5v-0.5q0 -23 -16 -39.5t-39 -17.5h-548q-23 1 -39 17.5t-16 39.5v0.5v1.5v118v0.5v0.5q0 24 16 40t38 17h549q23 -1 39 -17t16 -40
v-0.5v-0.5v-118zM1024 54v-0.5v-1.5q0 -23 -16 -39.5t-39 -16.5h-548q-23 0 -39 16.5t-16 39.5v1.5v0.5v118v0.5v1.5q0 23 16 39.5t38 17.5h549q23 -1 39 -17.5t16 -39.5v-1.5v-0.5v-118z" />
<glyph glyph-name="uniE91D" unicode="&#xe91d;"
d="M218 813v99q0 11 -8 19t-20 8h-8q-12 0 -20 -8t-8 -19v-99q-47 -10 -78.5 -48.5t-31.5 -88.5t31 -88.5t78 -48.5l1 -593q0 -11 8 -19t20 -8h8q11 0 19 8t8 19v588q52 7 87 46.5t35 93.5q0 53 -34.5 92.5t-86.5 46.5v0zM550 396v515q0 12 -8 20t-19 8h-5q-11 0 -19 -8
t-8 -20v-513q-54 -9 -89.5 -50.5t-35.5 -96.5q0 -56 35.5 -97.5t88.5 -50.5l1 -160q0 -11 8 -19t19 -8h5q11 0 19 8t8 19v160q50 12 83.5 52.5t33.5 93.5t-33 93.5t-83 52.5zM980 574q0 52 -33.5 90.5t-83.5 45.5l-1 201q0 12 -8 20t-19 8h-6q-12 0 -20 -8t-8 -20v-205
q-43 -12 -71.5 -48.5t-28.5 -83.5t28.5 -83t70.5 -49l1 -500q0 -11 8 -19t20 -8h4q12 0 20 8t8 19v496q50 7 84.5 45.5t34.5 90.5v0z" />
<glyph glyph-name="uniE91E" unicode="&#xe91e;"
d="M472 234q0 41 21 77q22 36 59.5 63t87.5 42q51 16 108 16t107 -16q51 -15 88.5 -42t58.5 -63q22 -36 22 -77q-3 -51 -31.5 -91.5t-71.5 -61.5q7 -28 21 -51.5t34 -41.5l6 -8t2 -10v0q-1 -5 -4.5 -8.5t-9.5 -3.5v0h-1q-10 1 -19 3l-18 4q-40 10 -76 29t-66 45
q-5 0 -10.5 -0.5t-11.5 -0.5t-12 0.5t-12 0.5q-56 0 -105 15q-50 15 -87 41.5t-59 62.5q-21 36 -21 76v0zM335 331q21 56 63 102q41 45 97.5 77.5t124.5 50.5q69 18 144 18h28q0 3 0.5 7.5t0.5 8.5t-0.5 8.5t-0.5 8.5q0 59 -31 111q-31 51 -85 89.5t-127 60.5
q-72 22 -155 22q-82 0 -154 -22q-72 -23 -125.5 -61.5t-83.5 -90.5q-31 -52 -31 -111q4 -74 44.5 -133.5t103.5 -90.5q-10 -39 -30 -71.5t-48 -58.5q-5 -6 -9.5 -12t-2.5 -13v0q1 -8 6.5 -13t13.5 -5v0h1q14 2 27 4.5t26 6.5q57 14 108 41.5t94 65.5q2 -1 0.5 -0.5t0.5 0.5
v0z" />
<glyph glyph-name="uniE91F" unicode="&#xe91f;"
d="M955 684q33 -55 51 -120.5t18 -136.5t-18.5 -136.5t-51.5 -122.5t-79.5 -103.5t-103.5 -79.5t-122.5 -51.5t-136.5 -18.5t-136.5 18.5t-122.5 51.5t-103.5 79.5t-79.5 103.5t-51.5 122.5t-18.5 136.5t18.5 136.5t51.5 122.5t79.5 103t103.5 79q57 34 122.5 52t136.5 18
t136.5 -18t122.5 -52q57 -33 103.5 -79t79.5 -103zM683 105v106v0.5v0.5q0 8 -6 14t-14 6h-1v0h-66v348v0v1q0 8 -6 14t-14 6h-0.5h-0.5h-212v0h-1q-8 0 -14 -6t-6 -14v-1v0v-106v-1v0q0 -9 6 -15t14 -6h1v0h64v-213h-64v0h-1q-8 0 -14 -6t-6 -14v-1v0v-107v0v-1q0 -8 6 -14
t14 -6h1v0h299v0h1q8 0 14 6t6 14v1v0v-6zM596 704v107v0v1q0 8 -6 14t-14 6h-0.5h-0.5h-127v0h-1q-8 0 -14 -6t-6 -14v-1v0v-107v0v-1q0 -8 6 -14t14 -6h1v0h128v0v0q8 0 14 6t6 14v1v0v0z" />
<glyph glyph-name="uniE920" unicode="&#xe920;"
d="M512 -85q-106 0 -199 40q-94 40 -163.5 109.5t-109.5 162.5q-40 94 -40 200t40 199t109.5 162.5t163.5 109.5q93 41 199 41t199 -41q94 -40 163.5 -109.5t109.5 -162.5t40 -199t-40 -200q-40 -93 -109.5 -162.5t-163.5 -109.5q-93 -40 -199 -40zM512 849q-87 0 -164 -33
q-77 -34 -134.5 -91t-90.5 -134t-33 -164q0 -88 33 -165t90.5 -134t134.5 -90t164 -33t164 33t134.5 90t90.5 134t33 165q0 87 -33 164t-90.5 134t-134.5 91q-77 33 -164 33zM724 427q0 -44 -17 -83q-17 -38 -45.5 -67t-67.5 -45q-38 -17 -82 -17t-82 17q-39 16 -67.5 45
t-45.5 67q-17 39 -17 83q0 43 17 82t45.5 67.5t67.5 45.5q38 16 82 16t82 -16q39 -17 67.5 -45.5t45.5 -67.5t17 -82z" />
<glyph glyph-name="uniE921" unicode="&#xe921;"
d="M903 -107h-782q-58 0 -99 41t-41 99v787q0 58 41 99t99 41h782q58 0 99 -41t41 -99v-787q0 -58 -41 -99t-99 -41zM121 866q-20 0 -33.5 -13.5t-13.5 -32.5v-787q0 -19 13.5 -32.5t33.5 -13.5h782q20 0 33.5 13.5t13.5 32.5v787q0 19 -13.5 32.5t-33.5 13.5h-782zM865 565
v0v0q0 -9 -3 -16.5t-9 -12.5l-376 -376q-5 -5 -13 -8.5t-16 -3.5q-9 0 -16.5 3.5t-13.5 8.5l-60 60l-160 158q-5 6 -8.5 13.5t-3.5 16.5q0 8 3.5 16t8.5 13l60 60q5 5 13 8.5t16 3.5q9 0 16.5 -3.5t13.5 -8.5l128 -129l286 287q6 5 13.5 8.5t16.5 3.5q8 0 16 -3.5t14 -8.5
l59 -60q7 -5 11 -13t4 -17v0z" />
<glyph glyph-name="uniE922" unicode="&#xe922;"
d="M512 -85q-106 0 -199 40q-94 40 -163.5 109.5t-109.5 162.5q-40 94 -40 200t40 199t109.5 162.5t163.5 109.5q93 41 199 41t199 -41q94 -40 163.5 -109.5t109.5 -162.5t40 -199t-40 -200q-40 -93 -109.5 -162.5t-163.5 -109.5q-93 -40 -199 -40zM512 849q-87 0 -164 -33
q-77 -34 -134.5 -91t-90.5 -134t-33 -164q0 -88 33 -165t90.5 -134t134.5 -90t164 -33t164 33t134.5 90t90.5 134t33 165q0 87 -33 164t-90.5 134t-134.5 91q-77 33 -164 33z" />
<glyph glyph-name="uniE923" unicode="&#xe923;"
d="M888 -85h-752q-55 0 -94.5 39t-39.5 95v755q0 56 39.5 95.5t94.5 39.5h752q55 0 94.5 -39.5t39.5 -95.5v-755q0 -56 -39.5 -95t-94.5 -39v0zM136 849q-18 0 -31 -13t-13 -32v-755q0 -18 13 -31t31 -13h752q18 0 31 13t13 31v755q0 19 -13 32t-31 13h-752z" />
<glyph glyph-name="uniE924" unicode="&#xe924;"
d="M996 679l-44 44q-13 12 -30.5 19.5t-36.5 7.5q-20 0 -37.5 -7.5t-30.5 -19.5l-303 -303l-306 304q-13 13 -30.5 20t-36.5 7q-20 0 -37.5 -7t-30.5 -20l-45 -45q-13 -12 -20.5 -29.5t-7.5 -37.5t7.5 -37.5t20.5 -29.5l415 -415q13 -13 30 -20.5t37 -7.5t37.5 7.5
t30.5 20.5l418 415q13 12 20.5 29.5t7.5 37.5t-7.5 37.5t-20.5 29.5v0z" />
<glyph glyph-name="uniE925" unicode="&#xe925;"
d="M781 382l-448 -449q-9 -8 -20.5 -13t-24.5 -5q-26 0 -44.5 18.5t-19.5 44.5v897q1 26 19.5 44.5t44.5 19.5q13 0 24.5 -5.5t20.5 -13.5l448 -448q9 -9 14 -20.5t5 -24.5t-5 -25t-14 -20v0z" />
<glyph glyph-name="uniE926" unicode="&#xe926;"
d="M944 -85v0v0q-16 0 -30 6t-25 17l-211 213q-51 -36 -113.5 -56t-131.5 -20q-89 0 -168 34q-78 34 -136.5 92.5t-92.5 137.5q-34 78 -34 168q0 89 34 168t92.5 137.5t136.5 92.5q79 34 168 34q90 0 169 -34q78 -34 136.5 -92.5t92.5 -137.5t34 -168q0 -69 -20 -131.5
t-57 -114.5l212 -210q10 -10 16 -24.5t6 -30.5q0 -32 -22.5 -55t-55.5 -24v-2zM433 780q-57 0 -108 -22q-50 -21 -87 -58.5t-59 -87.5q-21 -50 -21 -107t21 -107q22 -50 59 -87.5t87 -58.5q51 -22 108 -22q56 0 107 22q50 21 87 58.5t59 87.5t22 107t-22 107t-59 87.5
t-87 58.5q-51 22 -107 22v0z" />
<glyph glyph-name="uniE927" unicode="&#xe927;"
d="M865 785q0 -21 -8 -36t-20 -15h-650q-12 0 -20 15t-8 36v102q0 22 8 37t20 15h645q12 0 20.5 -15t8.5 -37zM865 377q0 -22 -8 -37t-20 -15h-650q-12 0 -20 15t-8 37v102q0 21 8 36t20 15h645q12 0 20.5 -15t8.5 -36zM865 -34q0 -21 -8 -36t-20 -15h-650q-12 0 -20 15
t-8 36v102q0 22 8 36.5t20 14.5h645q12 0 20.5 -14.5t8.5 -36.5z" />
<glyph glyph-name="uniE928" unicode="&#xe928;"
d="M515 -67q-103 0 -193 39q-91 39 -158 106.5t-106 157.5q-39 91 -39 193q0 94 32 177q33 83 89.5 148.5t133.5 108.5q78 44 167 57v-131q-63 -13 -116 -45q-54 -33 -93.5 -81t-61.5 -107q-23 -60 -23 -127q0 -76 29 -143t79 -116.5t117 -78.5t143 -29t142 29
q67 29 117 78.5t79 116.5t29 143q0 67 -22 127q-23 59 -62.5 107t-92.5 81q-54 32 -117 45v131q90 -13 167 -57q77 -43 134 -108.5t89 -148.5q33 -83 33 -177q0 -102 -39 -193q-39 -90 -106.5 -157.5t-157.5 -106.5q-91 -39 -193 -39v0z" />
<glyph glyph-name="uniE929" unicode="&#xe929;"
d="M731 439l-333 203q-23 12 -45.5 -1t-22.5 -39v-393q0 -27 22.5 -40t45.5 0l333 191q23 13 23 39.5t-23 39.5v0zM981 405q0 98 -37 183q-36 86 -100 149.5t-149 100.5q-86 37 -183 37t-183 -37q-85 -37 -149 -100.5t-100 -149.5q-37 -85 -37 -183q0 -97 37 -182
q36 -86 100 -149.5t149 -100.5q86 -37 183 -37t183 37q85 37 149 100.5t100 149.5q37 85 37 182v0zM134 405q0 79 29 148q30 69 81.5 120t120.5 81t147 30t147 -30t120.5 -81t81.5 -120q29 -69 29 -148q0 -78 -29 -147q-30 -69 -81.5 -120.5t-120.5 -80.5q-69 -30 -147 -30
t-147 30q-69 29 -120.5 80.5t-81.5 120.5q-29 69 -29 147z" />
<glyph glyph-name="uniE92A" unicode="&#xe92a;"
d="M395 701l-142 -142h-163q-16 0 -27.5 -11.5t-11.5 -26.5v-231q0 -16 11.5 -27t27.5 -11h163l142 -143q18 -18 42 -8t24 36v537q0 26 -24 35.5t-42 -8.5v0zM769 783q-14 9 -29.5 5.5t-24.5 -16.5q-9 -14 -5.5 -29.5t16.5 -24.5q40 -26 71 -60q32 -35 53.5 -75t33.5 -85
q11 -45 11 -93q0 -47 -11 -92q-12 -45 -33.5 -85.5t-53.5 -74.5q-31 -35 -71 -61q-13 -8 -16.5 -24t5.5 -29q8 -13 24 -16.5t30 5.5q48 31 85 73q38 41 64.5 89.5t40.5 103.5q14 54 14 111q0 58 -14 112t-40.5 103t-64.5 90q-37 42 -85 73v0zM819 405q0 77 -36.5 143
t-100.5 107q-13 9 -29 5.5t-24 -17.5q-9 -13 -5.5 -28.5t17.5 -24.5q48 -30 74.5 -79t26.5 -106q0 -56 -26.5 -105t-74.5 -79q-14 -9 -17.5 -24.5t5.5 -29.5q8 -12 23.5 -16.5t29.5 4.5q64 42 100.5 108t36.5 142zM592 528q-14 8 -29 3.5t-23 -18.5q-7 -14 -3 -29t18 -23
q16 -8 25 -23t9 -33q0 -17 -9 -32t-25 -23q-14 -8 -18 -23.5t3 -29.5q8 -14 23.5 -18t28.5 3q34 19 54 52t20 71q0 39 -20 72t-54 51v0z" />
<glyph glyph-name="uniE92B" unicode="&#xe92b;"
d="M432 698l-221 -228q-5 -6 -15.5 -6t-22.5 6l-30 31l-84 98q-6 6 -6 16.5t6 22.5l30 30q6 6 16.5 6t22.5 -6l76 -76l167 175q12 6 22.5 6t15.5 -6l31 -30q5 -6 6 -12t1 -11l-4.5 -5t-10.5 -11v0v0zM965 74l-30 -30q-6 -6 -15.5 -6t-15.5 6v0v0l-68 68l-69 -68
q-6 -6 -15.5 -6t-14.5 6v0v0l-31 30q-6 6 -6 15.5t6 15.5l69 68l-69 69q-6 5 -6 14.5t6 15.5l31 31q5 5 14.5 5t15.5 -5v0v0l69 -69l68 69q6 5 15.5 5t15.5 -5v0v0l30 -31q6 -6 6 -15.5t-6 -14.5l-69 -69l69 -68q6 0 6 -9.5t-6 -21.5v0zM782 737l-571 -594q-11 -12 -11 -27
t11 -27v0q12 -11 27 -11t27 11l571 594q11 12 11 27t-11 27v0q-12 11 -27 11t-27 -11v0z" />
<glyph glyph-name="uniE92C" unicode="&#xe92c;"
d="M883 728l-393 143q-21 8 -41 -1.5t-27 -30.5l-20 -53h183q36 0 62.5 -26t26.5 -63v-702q0 1 0.5 1.5l0.5 0.5l240 663q8 21 -1.5 41t-30.5 27v0zM631 695q0 22 -15.5 37.5t-37.5 15.5h-419q-22 0 -37.5 -15.5t-15.5 -37.5v-706q0 -22 15.5 -37.5t37.5 -15.5h419
q22 0 37.5 15.5t15.5 37.5v706zM258 269q-3 -1 -7 -2t-8 -1v0v0q-2 0 -3.5 1.5t-2.5 3.5q0 2 1 4t3 3l10 12t10 17q-21 12 -33 29.5t-12 38.5q0 36 35 61.5t84 25.5q50 0 85 -25.5t35 -61.5t-35 -61.5t-85 -25.5q-8 0 -15.5 0.5t-14.5 2.5q-10 -8 -22 -13.5t-25 -8.5v0z
M495 235q1 -2 2.5 -3.5t0.5 -4.5q0 -2 -2 -3.5t-4 -0.5q-4 0 -7.5 0.5t-6.5 1.5q-13 4 -25 9.5t-23 12.5q-7 -1 -14.5 -2t-14.5 -1q-23 0 -44 6t-37 17q4 0 8 -0.5t7 -0.5q28 0 53 7.5t45 22.5q21 15 32.5 35.5t11.5 43.5q0 7 -1 13t-3 13q21 -12 34 -30t13 -40
q0 -20 -12 -38t-33 -30q4 -10 9.5 -16t10.5 -12v0z" />
<glyph glyph-name="uniE92D" unicode="&#xe92d;"
d="M963 735l-52 52q-5 5 -12 8t-14 3t-14 -3t-12 -8l-251 -251l-113 112q-5 6 -12 8.5t-14 2.5t-14 -2.5t-12 -7.5l-52 -53q-5 -5 -8 -11.5t-3 -14.5q0 -7 3 -13.5t8 -12.5l191 -190q5 -5 12 -8t14 -3t14 2.5t12 8.5l329 329q5 5 8 12t3 14t-3 14t-8 12v0zM600 247v-124
h-440v440h114q-3 11 -4.5 22.5t-1.5 23.5q0 16 3 32.5t9 31.5h-230v-660h660v249q-18 -9 -37.5 -13.5t-39.5 -4.5q-8 0 -16.5 0.5t-16.5 2.5v0z" />
<glyph glyph-name="uniE92E" unicode="&#xe92e;"
d="M890 775h-756q-32 0 -56.5 -24.5t-24.5 -57.5v-505q0 -33 24.5 -57t56.5 -24h212v-71h332v71h212q32 0 56.5 24t24.5 57v505q0 33 -22.5 57.5t-58.5 24.5v0zM890 188h-756v500h756v-500z" />
<glyph glyph-name="uniE92F" unicode="&#xe92f;"
d="M195 471q0 62 24 117q23 55 64 96t96 65q56 24 118 24q63 0 118 -24t96 -65t64 -96q24 -55 24 -117q0 -15 -1 -30t-5 -30q28 -2 53.5 -8.5t45.5 -16.5q4 21 6.5 42t2.5 43q0 83 -31 157q-32 73 -87 128t-128 87q-74 32 -158 32q-83 0 -157 -32q-73 -32 -128 -87t-87 -128
q-32 -74 -32 -157t32 -157q32 -73 87 -128t128 -87q74 -32 157 -32h3h3l-43 105q-56 6 -104 32q-49 26 -84.5 65.5t-56.5 91.5q-20 52 -20 110v0zM434 607q55 23 110.5 0t78.5 -79l54 -130l18 4t19 3q4 15 6.5 30.5t2.5 33.5q0 46 -18 88q-18 41 -48.5 72t-72.5 48
q-41 18 -88 18t-88 -18q-41 -17 -71.5 -48t-48.5 -72t-18 -88q0 -74 43 -132t110 -81l-69 163q-21 55 2.5 110.5t77.5 77.5v0zM895 309q-12 15 -26.5 26t-28.5 10q-5 -2 -8.5 -3.5t-7.5 0.5q-8 1 -15 5.5t-17 5.5q-9 2 -17 -2.5t-15 -4.5q-8 0 -16 4.5t-20 2.5
q-10 -1 -18.5 -6.5t-17.5 -5.5q-8 -1 -16.5 1t-18.5 0q-12 -3 -21.5 -8.5t-15.5 -12.5q-5 9 -23 39q-17 30 -38.5 62.5t-42.5 58.5q-21 25 -33 24q-39 -2 -39.5 -39t8.5 -62l18 -41t40.5 -91t42.5 -95q19 -45 23 -54q14 -38 13 -61l-1 -23l-50 -2.5t-72 -18.5
q-9 -5 -14 -10.5t-6 -13.5q-5 -18 0.5 -33t20.5 -23l41 -1q40 -2 96.5 -0.5t116.5 8.5q60 8 101 26q40 18 62 54.5t31 82.5q15 63 20 111.5t-36 89.5v0z" />
<glyph glyph-name="uniE930" unicode="&#xe930;"
d="M106 -11h93l300 300q5 5 5 10t-5 10l-100 93q-5 5 -10 5t-10 -5l-260 -266l-60 -60l47 -87v0zM226 122l-160 160q-10 5 -15 1t-5 -14v-320q0 -5 1 -9t6 -4h326q5 0 8.5 7.5t-1.5 12.5l-160 166v0zM838 748h-93l-33 -33l-180 -187q-5 -4 -5 -9t5 -10l93 -94q5 -5 10 -5
t10 5l180 187l60 60l-47 86v0zM798 695l160 -160q10 -5 15 -1.5t5 8.5v326q0 5 -1 6t-6 1h-326q-5 0 -8.5 -4.5t1.5 -9.5l160 -166v0z" />
<glyph glyph-name="uniE931" unicode="&#xe931;"
d="M390 301h-81l-262 -262q-4 -4 -4 -8.5t4 -8.5l81 -82q5 -4 9 -4t9 4l227 233l52 52l-35 76v0zM285 184l140 -139q4 -4 10.5 -1.5t6.5 7.5v285q0 4 -3.5 7.5t-7.5 3.5h-279q-5 0 -8 -6.5t2 -10.5l139 -146v0zM704 574h81l192 192q4 4 4 8.5t-4 8.5l-81 87q-5 5 -9 5t-9 -5
l-157 -162l-58 -59l41 -75v0zM739 626l-140 140q-4 4 -10.5 0.5t-6.5 -12.5v-279q0 -4 3.5 -8t7.5 -4h279q5 0 8 7t-2 11l-139 145v0z" />
<glyph glyph-name="uniE932" unicode="&#xe932;"
d="M1024 318q0 -11 -4 -20.5t-12 -17.5t-17.5 -12t-21.5 -4h-315v-316q0 -11 -4 -21t-12 -18t-18 -12t-21 -4h-174q-11 0 -21 4t-18 12t-12 18t-4 21v316h-315q-12 0 -21.5 4t-17.5 12t-12 17.5t-4 20.5v174q0 12 4 21.5t12 17.5t17.5 12t21.5 4h315v315q0 12 4 21.5
t12 17.5t18 12t21 4h174q11 0 21 -4t18 -12t12 -17.5t4 -21.5v-315h315q12 0 21.5 -4t17.5 -12t12 -17.5t4 -21.5v-174z" />
<glyph glyph-name="uniE933" unicode="&#xe933;"
d="M398 343l-231 231l-167 -167l398 -398l626 626l-167 167z" />
<glyph glyph-name="uniE934" unicode="&#xe934;"
d="M875 768q49 -49 82 -106.5t50 -123.5q17 -67 17 -133t-17 -132t-50 -123.5t-82 -106.5t-107 -82t-124 -50q-66 -18 -132 -18t-132 18q-66 17 -124 50t-107 82t-82 106.5t-50 123.5t-17 132t17 133q17 66 50 123.5t82 106.5t107 82t124 50t132 17t132 -17
q67 -17 124.5 -50t106.5 -82v0zM682 154l81 82q4 3 6 7.5t2 9.5t-2 9.5t-6 8.5l-134 134l134 134q4 4 6 8.5t2 9.5t-2 9.5t-6 7.5l-81 82q-4 4 -8.5 5.5t-9.5 1.5t-9.5 -1.5t-7.5 -5.5l-135 -134l-134 134q-4 4 -8 5.5t-10 1.5q-5 0 -9 -1.5t-8 -5.5l-82 -82q-3 -3 -5 -7.5
t-2 -9.5t2 -9.5t5 -8.5l135 -134l-135 -134q-3 -4 -5 -8.5t-2 -9.5t2 -9.5t5 -7.5l82 -82q4 -4 8 -5.5t9 -1.5q6 0 10 1.5t8 5.5l134 134l135 -134q3 -4 7.5 -5.5t9.5 -1.5t9.5 1.5t8.5 5.5v0z" />
<glyph glyph-name="uniE935" unicode="&#xe935;"
d="M402 352q-2 1 -3.5 1h-2.5q-2 0 -3.5 -0.5l-4.5 -1.5q-2 0 -4 -0.5t-4 -0.5q-1 0 -3.5 0.5t-4.5 1.5q-3 1 -5.5 2.5t-6.5 3.5q-4 3 -6.5 4.5t-3.5 1.5q-1 1 -2.5 2t-4.5 2t-5 2.5t-4 1.5q-1 1 -3 2.5t-4 3.5q-1 1 -2.5 3t-1.5 4q-1 2 -1.5 5t-1.5 8t-2 8.5t-2 5.5
q-2 3 -4.5 5.5l-5.5 5.5t-5.5 4t-4.5 1q2 0 2 2t-2 6q-3 3 -4.5 6t-3.5 4l-2.5 2.5l-4.5 4.5q-2 3 -4.5 5.5t-4.5 5.5q-2 2 -3.5 4.5t-2.5 5.5q-2 3 -2 5t1 4l-0.5 0.5t-0.5 1.5q-1 0 -2 0.5t-2 1.5q-2 1 -3 1t-2 1q-1 0 -2 0.5l-1 0.5q0 -2 0.5 -3.5l1.5 -4.5t1.5 -5
t1.5 -4q0 -1 2.5 -5t6.5 -11q7 -11 10.5 -19.5t2.5 -13.5q-1 -1 -2.5 -0.5t-1.5 1.5q-1 1 -1.5 2.5t-0.5 3.5t-0.5 3t-0.5 2q-1 2 -3 3.5t-5 3.5q-4 2 -6 4t-3 4h0.5h0.5l1 1h1q0 2 -1.5 5.5t-4.5 6.5q-3 4 -4.5 7t-0.5 4q-2 2 -4 5t-4 8q-1 5 -2.5 8t-2.5 4q-1 2 -2.5 3.5
t-3.5 2.5q-1 1 -3 2.5t-5 2.5q-2 2 -3.5 3t-2.5 1l-2 2l-3 3q-9 11 -11.5 17t1.5 6q-4 0 -7 2.5t-5 8.5t-3 10.5t0 8.5h-1v4.5v8.5t0.5 10t1.5 9q0 4 1.5 6.5t3.5 2.5q-2 0 -3.5 1.5t-2.5 5.5q-1 3 -1 5.5t1 4.5q0 1 1.5 0t3.5 -3q2 -1 3 -2.5t2 -1.5q3 2 4.5 4t0.5 5
q-1 2 -3.5 4.5t-8.5 7.5q-11 8 -17 11.5t-6 2.5q1 4 0.5 6.5t-2.5 4.5q-3 -2 -4.5 -2.5t-1.5 0.5q-1 1 -1 2.5t-1 3.5q0 2 -0.5 3.5t-1.5 1.5q-2 0 -3.5 1t-3.5 3q24 39 56 69t72 52h4h8q2 0 4 -0.5t4 -1.5t4 -2.5t4 -3.5l3.5 -3.5l2.5 -2.5q1 2 0 4.5t-3 5.5q1 2 4 3.5
t8 3.5q7 1 11 0.5t6 -1.5q-2 3 -4.5 6t-6.5 8l-3 -3q-2 2 -8 1t-15 -5l-1.5 -1t-3.5 -2l-4 -2t-3 -1q-2 -1 -3.5 -1h-3.5q13 7 26 12.5t25 9.5q1 0 2.5 -1.5t3.5 -2.5l3.5 -3.5t2.5 -1.5h-1.5t-1.5 -2q-1 -3 -1 -5.5t1 -4.5l3.5 -3.5t4.5 -1.5h5t6 1q3 0 5 0.5t4 0.5l5 -1
q9 -1 12 0t1 4l2 -4t2 -6q1 -3 2.5 -5.5t2.5 -3.5q2 1 2 3t-1 5q-1 2 -1 4t1 3l1.5 1.5t2.5 0.5q1 1 2.5 1.5t3.5 1.5q2 0 3 0.5t1 1.5q2 1 1 3t-5 4q-1 0 -2 0.5l-3 1.5q-1 0 -2.5 1t-3.5 1q-1 1 -2.5 1.5t-3.5 1.5l-2 2t0 2q0 2 0.5 3.5t2.5 3.5q1 1 4 1.5t6 0.5
q4 0 6.5 -1t4.5 -2q8 -4 9 -7.5t-4 -6.5q2 -1 5.5 -2t7.5 -3q3 -2 4.5 -4t1.5 -4q2 4 4 6t4 2t3 -2t3 -5q1 -4 1.5 -5.5t0.5 -2.5q3 -3 5 -3.5t4 1.5q2 1 4.5 3.5t4.5 5.5q3 3 4 4.5l1 1.5q-2 1 -2.5 2t1.5 2q4 3 8 3.5t7 -0.5l2 -2t2 -3q3 -5 2.5 -7t-3.5 -2q2 -2 3 -5
t1 -6q-1 -3 -3 -4.5t-6 -1.5q-1 0 -3 1t-5 2l-4 2t-4 1q-1 0 -3 -0.5t-4 -2.5q-1 -1 -2.5 -3.5t-3.5 -5.5q-2 -4 -3.5 -6t-2.5 -4q-4 -4 -11 -5.5t-16 0.5v-1t-1 -3q-1 -1 -2 -3t-3 -4q-1 -2 -2 -3.5t-2 -1.5q-2 -3 -3.5 -6t-2.5 -6v-3t-1 -5q0 -3 -0.5 -5.5t-1.5 -3.5
q3 1 6 -1t4 -6q2 -3 2 -5t-2 -3q9 2 17 1.5t15 -3.5q10 -3 15.5 -7t6.5 -7q2 2 6 2.5t10 -1.5q3 -2 5 -6t4 -11q1 -4 3 -7.5t4 -6.5q3 -3 5.5 -3.5t5.5 0.5l2 1q1 1 2 1t1 1q1 0 2 0.5t1 1.5l1.5 1.5l0.5 0.5v1.5t-1 1.5t-2.5 3.5t-2.5 5.5t-1 5.5t1 4.5q1 1 3.5 2.5
t5.5 3.5q4 2 6 4.5t3 4.5q1 3 -0.5 6t-5.5 6q-3 2 -5 4t-2 4q0 1 1 3t2 3q2 2 3 4t0 4l-0.5 2t-0.5 4q-1 3 -2 5t-1 3t0.5 2.5t2.5 3.5q2 1 6.5 1t11.5 -2q7 -1 11.5 -2t6.5 -3q1 0 2.5 -1t4.5 -2t5.5 -2t4.5 -3q2 -1 3 -2t1 -2h-3q2 -2 3.5 -4t1.5 -4t-1 -3.5t-3 -2.5
q2 0 4 -0.5t5 -1.5q4 -2 4 -3.5t-4 -2.5q1 0 2 0.5t3 0.5q1 0 2.5 0.5t1.5 1.5q1 0 1.5 0.5l1.5 1.5q1 0 1.5 0.5t1.5 0.5q0 1 0.5 1h1.5h1.5t1.5 -1q1 0 1.5 1t1.5 2t2 2.5t2 2.5q1 2 2 2.5t2 0.5l1 -0.5t2 -0.5q0 -1 0.5 -1.5l1.5 -1.5q0 -1 0.5 -2t0.5 -2q1 -1 1 -1.5
t1 -1.5q0 -1 1.5 -2.5t3.5 -2.5l3.5 -3.5t1.5 -2.5t1 -3t1 -5q1 -4 2 -6t3 -3q1 -1 3 -2t5 -2q0 -1 1.5 -0.5t3.5 0.5q2 1 3.5 1h2.5t1.5 -1.5t0.5 -3.5l3 3t1 2q0 -4 1 -6.5t2 -5.5q2 -2 4 -3t6 -1l-1 -12q-1 -1 -3 -2t-6 -2q-3 0 -5 -0.5t-3 -1.5q-1 0 -2.5 -2t-5.5 -4
q-3 -4 -4 -5.5l-1 -1.5q-4 5 -11 6.5t-17 -1.5q-10 -1 -17 -3t-11 -3q-4 -2 -7 -4t-5 -4l-0.5 -1l-1.5 -3q0 -2 -1 -3.5t-1 -2.5q-1 -1 -1.5 -2t-1.5 -1q2 1 3.5 2l4.5 3q2 3 3 4l2 2q7 4 12.5 5.5t10.5 0.5q6 -2 7 -4t-3 -5h-2h-4h-3.5t-2.5 -1q2 0 4 -1t4 -1q2 -1 2 -2.5
v-3.5q4 -2 5 -4.5t-2 -6.5q-3 -3 -7.5 -4.5t-9.5 -0.5q1 0 1 -1t-1 -2l-9 -6q-1 0 -2.5 -0.5l-4.5 -1.5t-5 -2.5t-3 -2.5t-1.5 -3t-0.5 -4v-3.5v-2.5q-1 -1 -2 -1.5t-3 0.5q-1 -2 -3.5 -3t-6.5 -2t-7 -2.5t-4 -3.5q2 -2 1.5 -4.5t-1.5 -4.5q-4 -3 -6.5 -2.5t-5.5 3.5
q-1 0 -2 -1.5t-2 -3.5t-2 -3.5t-2 -2.5q2 -3 1.5 -5t-2.5 -4h0.5t1.5 -1q1 0 2 -1t2 -1q1 -1 2 -1.5l1 -0.5q-1 -3 -2.5 -4t-3.5 -1q2 -4 0 -9t-8 -10q-1 -1 -2.5 -2t-4.5 -2q-2 -2 -4 -2.5t-4 -1.5t-3 -1t-2 -1q-2 -2 -4 -4.5t-4 -5.5q-1 -2 -1.5 -4.5t0.5 -5.5
q1 -2 3.5 -3.5t6.5 -2.5l1 -4q49 37 108.5 58t125.5 21q30 0 60 -5t58 -14q-3 49 -17 94.5t-38 87.5q-28 47 -66 85t-86 66t-100.5 42t-108.5 14q-57 0 -109.5 -14t-100.5 -42t-85.5 -66t-65.5 -85q-28 -48 -42 -100.5t-14 -109.5t14 -109t42 -100t65.5 -86t85.5 -66
q30 -17 61 -29t64 -18q-3 16 -4.5 32.5t-1.5 33.5q1 53 15 102t39 92v0zM480 471l-2 -2t-2 -1q-1 -1 -2 -1t-1 1l-1 0.5t-2 1.5t-2 1.5t-2 1.5t-3.5 1.5t-5.5 1.5q-4 0 -6 1t-3 1q-6 -4 -10 -3t-5 8q-1 -1 -1 -3t1 -4q0 -2 0.5 -3.5l0.5 -1.5q-2 -4 -5 -4t-7 3
q-2 1 -5.5 1.5t-9.5 -1.5q-5 -1 -9 -1h-6h0.5t1.5 -1t1.5 -1t0.5 -1t-0.5 -1.5l-1.5 -1.5q0 -1 -0.5 -1h-1.5h-1h-1h-1.5t-1.5 -1q-1 0 -2.5 -1.5t-2.5 -3.5q-2 -2 -3 -3.5t-2 -1.5q2 -5 2.5 -8t0.5 -6q0 -2 -0.5 -5.5t-1.5 -7.5q0 -5 -0.5 -8.5t-0.5 -6.5q0 -4 1.5 -9
t3.5 -11q3 -5 6 -9t7 -6q1 -2 4.5 -2.5t8.5 -0.5h2.5h2.5q16 23 34.5 44.5t40.5 39.5l-0.5 1t-0.5 2q-1 3 -2.5 6.5t-4.5 6.5v0zM392 470v0v0v0v0zM966 290q18 -30 26.5 -63.5t8.5 -69.5q0 -35 -8.5 -68t-26.5 -64q-18 -30 -42 -54t-54 -42q-30 -17 -63 -26t-69 -9t-69 9
t-63 26q-31 18 -54.5 42t-41.5 54t-26.5 63.5t-8.5 68.5q0 36 8.5 69t26.5 64q17 30 41 54t55 42q30 17 63 26t69 9t69 -9t63 -26q30 -18 54 -42t42 -54v0zM826 -7v55q0 2 -1 4l-2 4l-4 2t-4 1h-33v175q0 3 -1 5t-2 3q-2 2 -4 2.5t-4 0.5h-110q-2 0 -4 -0.5t-4 -2.5
q-1 -1 -2 -3t-1 -5v-55q0 -2 1 -4l2 -4l4 -2t4 -1h33v-109h-33q-2 0 -4 -1l-4 -2l-2 -4t-1 -4v-55q0 -2 1 -4.5t2 -3.5q2 -2 4 -2.5t4 -0.5h154q2 0 4 0.5t4 2.5l2 4t1 4v0zM782 300v55q0 2 -1 4l-2 4l-4 2t-4 1h-66q-2 0 -4 -1l-4 -2l-2 -4t-1 -4v-55q0 -2 1 -4l2 -4l4 -2
t4 -1h66q2 0 4 1l4 2l2 4t1 4zM738 -107q-36 0 -69 9t-64 27q-30 17 -54 41.5t-42 54.5q-17 30 -26 63.5t-9 69.5q0 35 9 68.5t26 63.5q18 30 42 54.5t54 41.5q31 18 64 27t69 9t69 -9t64 -27q30 -17 54 -41t42 -55v0q18 -30 26.5 -63.5t8.5 -68.5q0 -36 -8.5 -69.5
t-26.5 -63.5t-42 -54t-54 -42q-31 -18 -64 -27t-69 -9zM738 420q-35 0 -68.5 -9t-63.5 -26q-30 -18 -54 -42t-41 -54q-18 -30 -26.5 -63t-8.5 -68q0 -36 8.5 -69t26.5 -63q17 -30 41 -54t54 -42q30 -17 63 -26t69 -9t69 9t63 26q30 18 54 42t41 54q18 30 26.5 63t8.5 69
q0 35 -8.5 68t-26.5 63v0q-17 30 -41 54t-54 42q-30 17 -63 26t-69 9v0zM815 -19h-154q-2 0 -4.5 1t-3.5 2q-2 2 -3 4t-1 5v55q0 2 1 4.5t3 3.5q1 2 3.5 3t4.5 1h32v107h-32q-2 0 -4.5 1t-3.5 3q-2 1 -3 3.5t-1 4.5v55q0 3 1 5t3 4q1 1 3.5 2t4.5 1h110q3 0 5 -1t3 -2
q2 -2 3 -4t1 -5v-174h32q2 0 4.5 -1t3.5 -3q2 -1 3 -3.5t1 -4.5v-55q0 -3 -1 -5t-3 -3q-1 -2 -3.5 -3t-4.5 -1v0zM661 58q-2 0 -4 -1t-3 -2t-2 -3t-1 -4v-55q0 -2 1 -4t2 -3q1 -2 3 -2.5t4 -0.5h154q2 0 4 0.5t3 2.5q2 1 2.5 3t0.5 4v55q0 2 -0.5 4t-2.5 3q-1 1 -3 2t-4 1
h-34v176q0 3 -0.5 4.5t-2.5 3.5q-1 1 -3 1.5t-4 0.5h-110q-2 0 -3.5 -0.5t-3.5 -1.5q-1 -2 -2 -3.5t-1 -4.5v-55q0 -2 1 -3.5t2 -3.5q2 -1 3.5 -2t3.5 -1h34v-111h-34v0zM771 288h-66q-2 0 -4.5 1t-3.5 3q-2 1 -3 3.5t-1 4.5v55q0 3 1 5t3 3q1 2 3.5 3t4.5 1h66q3 0 5 -1
t3 -3q2 -1 3 -3.5t1 -4.5v-55q0 -3 -1 -5t-3 -3q-1 -2 -3 -3t-5 -1zM705 365q-2 0 -4 -0.5t-3 -2.5q-1 -1 -2 -3t-1 -4v-55q0 -2 1 -4t2 -3t3 -2t4 -1h66q2 0 4 1t3 2q2 1 2.5 3t0.5 4v55q0 2 -0.5 4t-2.5 3q-1 2 -3 2.5t-4 0.5h-66z" />
<glyph glyph-name="uniE936" unicode="&#xe936;"
d="M568 717q4 4 8.5 6t9.5 2t9 -2t7 -6l222 -221q4 -3 6 -7t2 -9t-2 -9.5t-6 -8.5l-524 -524l-243 -44q-12 -2 -22.5 1.5t-19.5 12.5t-12.5 19.5t-1.5 22.5l44 244l523 523v0zM177 70v96h-72l-24 -128l64 -64l127 24v72h-95v0zM249 238q4 -4 9 -6t11 -2t11 2t9 6l307 308
q4 3 6 8.5t2 11.5t-2 10.5t-6 9.5q-4 4 -9 6t-11 2t-11 -2t-9 -6l-307 -308q-4 -4 -6 -9t-2 -11t2 -11t6 -9v0zM996 634q14 14 21 31t7 37q0 19 -7 36.5t-21 31.5l-120 119q-14 14 -31 21t-37 7t-37 -7t-31 -21l-92 -92q-4 -3 -6 -7.5t-2 -10.5q0 -5 2 -9t6 -7l222 -221
q3 -4 7 -6t9 -2t9.5 2t8.5 6l92 92v0z" />
<glyph glyph-name="uniE937" unicode="&#xe937;"
d="M512 939l-90 -91l357 -357h-779v-128h779l-357 -358l90 -90l512 512z" />
<glyph glyph-name="uniE938" unicode="&#xe938;"
d="M910 939h-796q-47 0 -80.5 -33.5t-33.5 -80.5v-797q0 -46 33.5 -79.5t80.5 -33.5h796q47 0 80.5 33.5t33.5 79.5v797q0 47 -33.5 80.5t-80.5 33.5zM398 142l-284 285l79 79l205 -205l433 433l79 -80l-512 -512v0z" />
<glyph glyph-name="uniE939" unicode="&#xe939;"
d="M597 512v427h-170v-427h-427v-171h427v-426h170v426h427v171h-427z" />
<glyph glyph-name="uniE93A" unicode="&#xe93a;"
d="M1024 836l-103 103l-409 -409l-409 409l-103 -103l409 -409l-409 -409l103 -103l409 409l409 -409l103 103l-409 409z" />
<glyph glyph-name="uniE93B" unicode="&#xe93b;"
d="M238 731l37 -65q4 -8 12 -12.5t17 -4.5h66l40 -71l9 14q2 5 7 7.5t13 3.5l14 3l-39 71l31 54q4 8 4 16t-4 16v1l-38 65q-4 8 -11.5 12.5t-16.5 4.5h-75q-9 0 -17 -4.5t-12 -12.5l-37 -65q-4 -9 -4 -17t4 -16v0v0zM288 747l26 47h53l28 -47l-28 -47h-53l-26 47v0zM594 601
q8 -3 13.5 -6.5t8.5 -7.5l8 -12l43 70l59 -1q10 0 18 4t12 12l40 64q4 8 4 16t-4 16l-35 66l-1 1q-4 6 -11.5 11t-16.5 5l-73 2q-10 0 -18 -4.5t-12 -12.5l-40 -63q-4 -9 -4 -17t4 -16l32 -59l-38 -64l11 -4v0zM639 744l28 45l53 -1l26 -47l-27 -46l-54 2l-26 47v0zM968 458
v1l-37 64q-1 3 -4 6t-10 8q-3 2 -7.5 4t-7.5 2h-75q-9 0 -16.5 -4.5t-11.5 -12.5l-33 -58l-80 2l6 -14q2 -6 2 -11.5t-2 -12.5l-5 -13l80 -2l32 -56q4 -8 11.5 -12.5t16.5 -4.5h75q9 0 16.5 4.5t11.5 12.5l38 65q4 8 4 16t-4 16zM920 444l-28 -47h-53l-26 47l28 47h53z
M771 193q-8 13 -14.5 24l-6.5 11v0v1q-5 6 -11.5 10.5t-16.5 4.5h-63l-36 64l-9 -12q-4 -5 -9.5 -8t-12.5 -4l-14 -3l36 -62l-33 -57q-4 -8 -4 -16t4 -16v-1l40 -63q4 -8 11.5 -12.5t16.5 -4.5h75q9 0 16.5 4.5t11.5 12.5l36 60v1v1q1 0 1 1v2q2 4 3.5 10.5t0.5 12.5l-4.5 9
t-17.5 30v0zM740 146l-28 -47h-53l-28 47l28 47h53zM431 284q-7 3 -12.5 6.5t-8.5 7.5l-9 12l-43 -70l-60 1q-10 0 -18 -4.5t-13 -12.5l-39 -63q-4 -8 -4 -16.5t4 -16.5l35 -65l1 -1q4 -6 11.5 -11t16.5 -5l75 -2q10 0 18 4.5t12 12.5l40 63q4 8 4 16.5t-4 16.5l-33 59
l38 63l-11 5v0zM387 141l-28 -45l-53 1l-26 47l27 45l54 -1zM229 362l32 56l80 -2l-5 13q-2 8 -2 13.5t2 11.5l5 13l-79 3l-33 56q-4 7 -11.5 12t-16.5 5h-75q-9 0 -16.5 -4.5t-11.5 -12.5l-38 -66q-4 -8 -4 -16t4 -16v-1l37 -62q2 -6 7 -10t12 -7q2 -1 4.5 -2t5.5 -1h75
q9 0 16.5 5t11.5 13v-1zM215 444l-28 -47h-53l-26 47l28 47h53zM606 320v0l59 103q6 8 6 19t-6 19l-59 103v0q-7 9 -16 13.5t-18 4.5h-118q-8 0 -14.5 -2.5t-12.5 -8.5q-1 -1 -2 -2.5t-2 -2.5v-0.5v-0.5l-1 -1l-59 -103q-6 -8 -6 -19t6 -19l58 -102q5 -8 14 -13.5t19 -5.5
h120q9 0 17 4.5t15 13.5v0zM614 444l-52 -88h-102l-52 88l52 89h102z" />
<glyph glyph-name="uniE93C" unicode="&#xe93c;"
d="M745 55q0 19 -13.5 32.5t-33.5 14.5h-46v419q-1 19 -14.5 32.5t-31.5 13.5h-280q-19 0 -33 -14t-14 -33v-93q0 -19 13.5 -32.5t33.5 -14.5h46v-279h-46q-19 0 -32.5 -13.5t-13.5 -33.5v-93q0 -19 13.5 -32.5t32.5 -13.5h372q20 0 33.5 13.5t13.5 32.5v94v0zM638 925
q-6 7 -14.5 10.5t-17.5 3.5h-186q-20 -1 -33 -14.5t-14 -32.5v-140q1 -19 14 -32.5t33 -13.5h186q19 1 32.5 14t13.5 32v140q0 9 -3.5 17.5t-10.5 15.5v0z" />
<glyph glyph-name="uniE93D" unicode="&#xe93d;"
d="M451 768l31 64l60 32l-60 32l-31 64l-30 -64l-61 -32l61 -32zM178 640l50 107l102 53l-102 53l-50 107l-51 -107l-101 -53l101 -53zM846 384l-50 -107l-102 -53l102 -53l50 -107l51 107l101 53l-101 53zM981 772l-162 169q-9 10 -20 14.5t-23 4.5q-11 0 -22.5 -4.5
t-20.5 -14.5l-690 -726q-17 -19 -17 -45.5t17 -45.5l162 -169q9 -10 20 -14.5t23 -4.5q11 0 22.5 4.5t20.5 14.5l690 726q17 19 17 45.5t-17 45.5v0zM709 553l-97 102l164 173l97 -102z" />
<glyph glyph-name="uniE93E" unicode="&#xe93e;"
d="M467 680q-44 29 -100 47q-56 19 -112 30.5t-108 17.5q-51 6 -87 8q-25 1 -42.5 -15.5t-17.5 -41.5v-466q0 -23 15.5 -39.5t37.5 -17.5q33 -2 80 -6q47 -5 100 -15t106 -25q54 -16 100 -40q14 -8 27.5 0t13.5 24v515q0 7 -3.5 13.5t-9.5 10.5v0zM964 783q-36 -2 -87 -8
q-52 -6 -108 -17.5t-112 -30.5q-56 -18 -100 -47q-6 -4 -9.5 -10.5t-3.5 -13.5v-515q0 -16 13.5 -24t27.5 0q46 24 100 40q53 15 106 25t100 15q47 4 80 6q22 1 37.5 17.5t15.5 39.5v466q0 25 -17.5 41.5t-42.5 15.5v0z" />
<glyph glyph-name="uniE991" unicode="&#xe991;"
d="M626 280h-394q-31 0 -55 24t-24 56v288q0 32 24 55.5t55 23.5h389q32 0 56 -23.5t24 -55.5v0v-288q4 -36 -19.5 -58t-55.5 -22v0zM232 680q-12 0 -21.5 -10t-9.5 -22v0v-288q0 -12 9.5 -22t21.5 -10h389q12 0 22 10t10 22v288q0 12 -10 22t-22 10h-389zM738 83h-69v48h69
v-48v0zM595 83h-70v48h70v-48zM451 83h-53q-8 0 -15.5 1t-11.5 5l16 47h5.5h5.5h53v-53v0zM818 89l-16 47q12 4 16.5 12t4.5 20h48q0 -28 -14.5 -49.5t-38.5 -29.5v0zM371 168h-48v70h48v-70v0zM871 238h-48v69h48v-69zM871 381h-48v70h48v-70zM802 488h-5h-5h-54v48h54
q8 0 15 -1t11 -5l-16 -42v0z" />
<glyph glyph-name="uniE992" unicode="&#xe992;"
d="M871 740h-718q-11 0 -19 -7.5t-8 -18.5v-53q0 -11 8 -18.5t19 -7.5h718q11 0 19 7.5t8 18.5v53q0 11 -8 18.5t-19 7.5zM871 570h-558q-11 0 -18.5 -7.5t-7.5 -18.5v-53q0 -11 7.5 -18.5t18.5 -7.5h558q11 0 19 7.5t8 18.5v53q0 11 -8 18.5t-19 7.5zM871 373h-558
q-11 0 -18.5 -7.5t-7.5 -18.5v-53q0 -11 7.5 -18.5t18.5 -7.5h558q11 0 19 7.5t8 18.5v53q0 11 -8 18.5t-19 7.5zM871 176h-558q-11 0 -18.5 -8t-7.5 -18v-53q0 -11 7.5 -18.5t18.5 -7.5h558q11 0 19 7.5t8 18.5v53q0 10 -8 18t-19 8zM202 570h-49q-11 0 -19 -7.5t-8 -18.5
v-53q0 -11 8 -18.5t19 -7.5h49q11 0 18.5 7.5t7.5 18.5v53q0 11 -7.5 18.5t-18.5 7.5zM202 373h-49q-11 0 -19 -7.5t-8 -18.5v-53q0 -11 8 -18.5t19 -7.5h49q11 0 18.5 7.5t7.5 18.5v53q0 11 -7.5 18.5t-18.5 7.5zM202 176h-49q-11 0 -19 -8t-8 -18v-53q0 -11 8 -18.5
t19 -7.5h49q11 0 18.5 7.5t7.5 18.5v53q0 10 -7.5 18t-18.5 8z" />
<glyph glyph-name="uniE993" unicode="&#xe993;"
d="M820 464h-415q-11 0 -20 -8.5t-9 -20.5v-58q0 -12 9 -21t20 -9h415q12 0 20.5 9t8.5 21v58q0 12 -8.5 20.5t-20.5 8.5v0zM894 231h-489q-11 0 -20 -8.5t-9 -20.5v-58q0 -12 9 -21t20 -9h489q12 0 21 9t9 21v58q0 12 -9 20.5t-21 8.5zM909 697h-504q-11 0 -20 -8.5
t-9 -20.5v-58q0 -12 9 -20.5t20 -8.5h504q12 0 20.5 8.5t8.5 20.5v58q0 12 -8.5 20.5t-20.5 8.5zM190 706q27 0 47 -19.5t20 -47.5t-20 -47.5t-47 -19.5q-28 0 -47.5 19.5t-19.5 47.5t19.5 47.5t47.5 19.5v0zM190 736q-41 0 -69.5 -28.5t-28.5 -68.5t28.5 -68.5t69.5 -28.5
q40 0 68.5 28.5t28.5 68.5t-28.5 68.5t-68.5 28.5v0v0zM190 239q27 0 47 -20t20 -47q0 -28 -20 -47.5t-47 -19.5q-28 0 -47.5 19.5t-19.5 47.5q0 27 19.5 47t47.5 20zM190 269q-41 0 -69.5 -28.5t-28.5 -68.5q0 -41 28.5 -69.5t69.5 -28.5q40 0 68.5 28.5t28.5 69.5
q0 40 -28.5 68.5t-68.5 28.5v0v0zM294 407q0 -43 -30.5 -73.5t-73.5 -30.5t-73.5 30.5t-30.5 73.5t30.5 73.5t73.5 30.5t73.5 -30.5t30.5 -73.5z" />
<glyph glyph-name="uniE994" unicode="&#xe994;"
d="M892 239h-162q-12 0 -21 -9t-9 -22v-60q0 -13 9 -22t21 -9h162q12 0 21 9t9 22v60q0 13 -9 22t-21 9v0zM409 466h-283q-12 0 -21 -9t-9 -21v-61q0 -13 9 -21.5t21 -8.5h283q12 0 21 8.5t9 21.5v61q0 12 -9 21t-21 9v0zM864 466q13 0 22 -9t9 -21v-61q0 -13 -9 -21.5
t-22 -8.5h-324q-12 0 -21 8.5t-9 21.5v61q0 12 9 21t21 9h324v0zM864 499h-324q-26 0 -44.5 -18.5t-18.5 -44.5v-61q0 -26 18.5 -45t44.5 -19h324q27 0 45.5 19t18.5 45v61q0 26 -18.5 44.5t-45.5 18.5v0v0zM604 239q13 0 22 -9t9 -22v-60q0 -13 -9 -22t-22 -9h-268
q-13 0 -22 9t-9 22v60q0 13 9 22t22 9h268v0zM604 272h-268q-26 0 -45 -18.5t-19 -45.5v-60q0 -27 19 -45.5t45 -18.5h268q27 0 45.5 18.5t18.5 45.5v60q0 27 -18.5 45.5t-45.5 18.5v0zM592 693q12 0 21 -8.5t9 -21.5v-61q0 -12 -9 -21t-21 -9h-144q-13 0 -22 9t-9 21v61
q0 13 9 21.5t22 8.5h144zM592 727h-144q-26 0 -45 -19t-19 -45v-61q0 -26 19 -44.5t45 -18.5h144q26 0 45 18.5t19 44.5v61q0 26 -19 45t-45 19v0zM126 572h181q12 0 21 9t9 21v61q0 13 -9 21.5t-21 8.5h-181q-12 0 -21 -8.5t-9 -21.5v-61q0 -12 9 -21t21 -9zM725 572h168
q13 0 22 9t9 21v61q0 13 -9 21.5t-22 8.5h-168q-12 0 -21 -8.5t-9 -21.5v-61q0 -12 9 -21t21 -9zM126 117h81q12 0 21 9t9 22v60q0 13 -9 22t-21 9h-81q-12 0 -21 -9t-9 -22v-60q0 -13 9 -22t21 -9z" />
<glyph glyph-name="uniE93F" unicode="&#xe93f;"
d="M98.209 417.639v60h817.582v-60h-817.582zM507 954.595l230 -250h-460zM507 -59.3164l-230 250h460z" />
<glyph glyph-name="uniE940" unicode="&#xe940;"
d="M98.209 417.639v60h817.582v-60h-817.582zM507 624.595l-230 250h460zM507 270.684l230 -250h-460z" />
</font>
</defs></svg>
>>>>>>> cb09d99 (HFP-3875 Add icons for expand and collapse)

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 111 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,38 @@
<?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" >
<svg xmlns="http://www.w3.org/2000/svg">
<metadata>
<json>
<![CDATA[
{
"fontFamily": "h5p-hub",
"description": "Font generated by IcoMoon.",
"majorVersion": 1,
"minorVersion": 3,
"version": "Version 1.3",
"fontId": "h5p-hub",
"psName": "h5p-hub",
"subFamily": "Regular",
"fullName": "h5p-hub"
}
]]>
</json>
</metadata>
<defs>
<font id="h5p-hub" horiz-adv-x="1024">
<font-face units-per-em="1024" ascent="960" descent="-64" />
<missing-glyph horiz-adv-x="1024" />
<glyph unicode="&#x20;" horiz-adv-x="512" d="" />
<glyph unicode="&#xe900;" glyph-name="dropdown" data-tags="dropdown" d="M1004.654 717.002c-11.526 11.526-27.853 19.209-45.142 19.209h-895.161c-35.538 0-63.391-27.853-64.352-63.391 0-17.289 6.724-33.616 19.209-46.103l447.582-447.582c24.013-24.972 63.391-25.933 88.363-1.92 0.961 0.961 0.961 0.961 1.92 1.92l447.582 447.582c24.972 24.013 25.933 63.391 1.92 88.363-0.961 0.961-0.961 0.961-1.92 1.92z" />
<glyph unicode="&#xe901;" glyph-name="info" data-tags="info" d="M745.14 76.307c-0.699 25.827-20.941 46.069-46.768 46.768h-46.069v418.813c-1.395 25.827-21.639 46.069-46.768 46.069h-279.209c-25.827 0-46.768-20.941-47.465-46.768v-92.837c0.699-25.827 20.941-46.069 46.768-46.768h46.768v-279.209h-46.069c-25.827-0.699-46.069-20.941-46.768-46.768v-92.837c0.699-25.827 20.941-46.069 46.768-46.768h372.045c25.827 0.699 46.069 20.941 46.768 46.768v93.534zM638.343 946.041c-8.376 9.075-20.242 13.96-32.806 13.96h-185.673c-25.827-0.699-46.069-20.941-46.768-46.768v-139.604c0.699-25.827 20.941-46.069 46.768-46.768h186.372c25.129 1.395 45.371 21.639 46.069 46.768v139.604c0 12.564-5.584 24.43-13.96 32.806z" />
<glyph unicode="&#xe902;" glyph-name="thick-arrow" data-tags="thick-arrow" d="M997.162 446.653c0.634 22.167-8.234 44.336-24.701 59.537l-428.789 428.789c-32.302 32.936-85.505 33.568-118.44 0.634 0 0-0.634-0.634-0.634-0.634l-49.403-49.403c-32.936-32.302-32.936-84.871-1.266-117.806 0.634-0.634 0.634-0.634 1.266-1.266l192.544-193.81h-463.625c-21.535 0.634-41.802-8.234-55.737-24.701-14.567-16.467-22.167-38.002-21.535-59.537v-84.238c-0.634-21.535 6.967-43.068 21.535-59.537 13.935-16.467 34.202-25.335 55.737-24.701h464.259l-193.81-190.644c-32.936-32.936-33.568-86.138-0.634-119.073 0 0 0.634-0.634 0.634-0.634l49.403-49.403c32.936-32.302 86.138-32.302 119.073 0l429.423 429.423c15.201 15.201 24.067 35.468 24.701 57.003v0z" />
<glyph unicode="&#xe903;" glyph-name="check" data-tags="check" d="M1021.469 686.541c0 17.084-6.328 32.903-18.349 44.924l-89.849 89.215c-24.677 24.677-64.539 24.677-89.215 0.633 0 0 0 0-0.633-0.633l-432.156-432.79-193.616 194.25c-24.677 24.677-64.539 24.677-89.215 0.633 0 0 0 0-0.633-0.633l-89.215-89.215c-24.677-24.677-24.677-64.539-0.633-89.215 0 0 0 0 0.633-0.633l327.755-327.755c24.677-24.677 64.539-24.677 89.215-0.633 0 0 0 0 0.633 0.633l569.46 569.46c12.022 12.022 18.349 27.84 18.349 44.924v0l-2.531-3.163z" />
<glyph unicode="&#xe904;" glyph-name="close" data-tags="close" d="M1024 856.869l-103.131 103.131-408.869-408.869-408.869 408.869-103.131-103.131 408.869-408.869-408.869-408.869 103.131-103.131 408.869 408.869 408.869-408.869 103.131 103.131-408.869 408.869z" />
<glyph unicode="&#xe905;" glyph-name="plus" data-tags="plus" d="M597.333 533.333v426.667h-170.667v-426.667h-426.667v-170.667h426.667v-426.667h170.667v426.667h426.667v170.667z" />
<glyph unicode="&#xe906;" glyph-name="filters" data-tags="filters" d="M217.543 834.589v98.249c0 14.999-12.163 27.162-27.162 27.162h-8.785c-14.999 0-27.162-12.163-27.162-27.162v-98.249c-63.792-14.19-110.78-70.3-110.78-137.38s46.988-123.189 109.844-137.208l0.936-592.841c0-14.999 12.163-27.162 27.162-27.162h7.99c14.999 0 27.162 12.163 27.162 27.162v588.669c69.551 9.191 122.666 68.109 122.666 139.435 0 71.041-52.699 129.772-121.13 139.246zM549.82 417.644v515.184c0 14.999-12.163 27.162-27.162 27.162h-4.796c-14.999 0-27.162-12.163-27.162-27.162v-513.593c-71.358-12.114-125.020-73.469-125.020-147.364s53.662-135.26 124.145-147.242l0.884-159.869c0-14.999 12.163-27.162 27.162-27.162h4.796c14.999 0 27.162 12.163 27.162 27.162v159.745c67.325 15.43 116.8 74.826 116.8 145.772s-49.464 130.342-115.794 145.579zM980.345 594.96c-0.075 69.212-51.022 126.499-117.453 136.489l-0.764 201.379c0 14.999-12.163 27.162-27.162 27.162h-6.387c-14.999 0-27.162-12.163-27.162-27.162v-205.273c-58.17-16.849-99.977-69.642-99.977-132.191s41.807-115.342 99-131.95l0.967-500.252c0-14.999 12.163-27.162 27.162-27.162h4.796c14.999 0 27.162 12.163 27.162 27.162v496.022c67.608 9.329 119.206 66.436 119.809 135.722z" />
<glyph unicode="&#xe907;" glyph-name="arrow-line" data-tags="arrow-line" d="M995.878 700.739l-43.703 43.703c-17.591 16.506-41.326 26.645-67.432 26.645s-49.837-10.139-67.483-26.693l-303.387-303.389-305.935 304.692c-17.468 16.781-41.244 27.116-67.432 27.116s-49.958-10.335-67.464-27.148l-44.92-44.92c-17.371-17.206-28.122-41.062-28.122-67.432s10.752-50.226 28.112-67.421l414.583-414.583c17.206-17.371 41.062-28.122 67.432-28.122s50.226 10.752 67.421 28.112l418.329 414.583c17.371 17.206 28.122 41.062 28.122 67.432s-10.752 50.226-28.112 67.421z" />
<glyph unicode="&#xe908;" glyph-name="check-empty" data-tags="check-empty" d="M910.2 846.2v-796.4h-796.4v796.4h796.4zM910.2 960h-796.4c-62.6 0-113.8-51.2-113.8-113.8v-796.4c0-62.6 51.2-113.8 113.8-113.8h796.4c62.6 0 113.8 51.2 113.8 113.8v796.4c0 62.6-51.2 113.8-113.8 113.8z" />
<glyph unicode="&#xe909;" glyph-name="check1" data-tags="check" d="M910.2 960h-796.4c-62.6 0-113.8-51.2-113.8-113.8v-796.4c0-62.6 51.2-113.8 113.8-113.8h796.4c62.6 0 113.8 51.2 113.8 113.8v796.4c0 62.6-51.2 113.8-113.8 113.8zM398.2 163.6l-284.4 284.4 79.6 79.6 204.8-204.8 432.4 432.4 79.6-79.6-512-512z" />
<glyph unicode="&#xe90a;" glyph-name="details-arrow" data-tags="details-arrow" d="M512 960.001l-90.24-90.24 357.12-357.76h-778.879v-127.999h778.879l-357.12-357.76 90.24-90.24 511.999 511.999z" />
<glyph unicode="&#xe90b;" glyph-name="Spinner" data-tags="Spinner" d="M1023.953 448.071c1.137 83.016-18.195 164.895-56.861 238.814-75.625 145.563-216.069 245.637-378.121 270.087v-135.328c85.291-16.489 162.621-63.115 217.207-130.779 89.839-108.035 112.015-257.578 56.861-387.219-38.097-91.545-110.309-163.758-201.855-201.855-93.82-40.37-200.149-40.37-293.969 0-91.545 38.097-163.758 110.309-201.855 201.855-55.155 129.642-32.979 279.184 56.861 387.219 54.586 67.663 131.917 114.289 217.207 130.779v135.328c-163.758-22.745-305.91-123.388-382.102-270.087-69.938-135.328-76.193-294.537-17.058-434.982 51.174-123.388 149.542-221.756 272.93-272.361 127.367-54.017 270.655-54.017 398.023 0 122.819 51.174 220.619 148.975 271.793 271.793 26.724 61.978 40.37 129.073 40.94 196.738v0z" />
</font></defs></svg>

After

Width:  |  Height:  |  Size: 6.6 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.

View File

@@ -0,0 +1,595 @@
<?php
/**
* File info?
*/
/**
* The default file storage class for H5P. Will carry out the requested file
* operations using PHP's standard file operation functions.
*
* Some implementations of H5P that doesn't use the standard file system will
* want to create their own implementation of the \H5P\FileStorage interface.
*
* @package H5P
* @copyright 2016 Joubel AS
* @license MIT
*/
class H5PDefaultStorage implements \H5PFileStorage {
private $path, $alteditorpath;
/**
* The great Constructor!
*
* @param string $path
* The base location of H5P files
* @param string $alteditorpath
* Optional. Use a different editor path
*/
function __construct($path, $alteditorpath = NULL) {
// Set H5P storage path
$this->path = $path;
$this->alteditorpath = $alteditorpath;
}
/**
* Store the library folder.
*
* @param array $library
* Library properties
*/
public function saveLibrary($library) {
$dest = $this->path . '/libraries/' . \H5PCore::libraryToFolderName($library);
// Make sure destination dir doesn't exist
\H5PCore::deleteFileTree($dest);
// Move library folder
self::copyFileTree($library['uploadDirectory'], $dest);
}
public function deleteLibrary($library) {
// TODO
}
/**
* Store the content folder.
*
* @param string $source
* Path on file system to content directory.
* @param array $content
* Content properties
*/
public function saveContent($source, $content) {
$dest = "{$this->path}/content/{$content['id']}";
// Remove any old content
\H5PCore::deleteFileTree($dest);
self::copyFileTree($source, $dest);
}
/**
* Remove content folder.
*
* @param array $content
* Content properties
*/
public function deleteContent($content) {
\H5PCore::deleteFileTree("{$this->path}/content/{$content['id']}");
}
/**
* Creates a stored copy of the content folder.
*
* @param string $id
* Identifier of content to clone.
* @param int $newId
* The cloned content's identifier
*/
public function cloneContent($id, $newId) {
$path = $this->path . '/content/';
if (file_exists($path . $id)) {
self::copyFileTree($path . $id, $path . $newId);
}
}
/**
* Get path to a new unique tmp folder.
*
* @return string
* Path
*/
public function getTmpPath() {
$temp = "{$this->path}/temp";
self::dirReady($temp);
return "{$temp}/" . uniqid('h5p-');
}
/**
* Fetch content folder and save in target directory.
*
* @param int $id
* Content identifier
* @param string $target
* Where the content folder will be saved
*/
public function exportContent($id, $target) {
$source = "{$this->path}/content/{$id}";
if (file_exists($source)) {
// Copy content folder if it exists
self::copyFileTree($source, $target);
}
else {
// No contnet folder, create emty dir for content.json
self::dirReady($target);
}
}
/**
* Fetch library folder and save in target directory.
*
* @param array $library
* Library properties
* @param string $target
* Where the library folder will be saved
* @param string $developmentPath
* Folder that library resides in
*/
public function exportLibrary($library, $target, $developmentPath=NULL) {
$srcFolder = \H5PCore::libraryToFolderName($library);
$srcPath = ($developmentPath === NULL ? "/libraries/{$srcFolder}" : $developmentPath);
// Library folders inside the H5P zip file shall not contain patch version in the folder name
$library['patchVersionInFolderName'] = false;
$destinationFolder = \H5PCore::libraryToFolderName($library);
self::copyFileTree("{$this->path}{$srcPath}", "{$target}/{$destinationFolder}");
}
/**
* Save export in file system
*
* @param string $source
* Path on file system to temporary export file.
* @param string $filename
* Name of export file.
* @throws Exception Unable to save the file
*/
public function saveExport($source, $filename) {
$this->deleteExport($filename);
if (!self::dirReady("{$this->path}/exports")) {
throw new Exception("Unable to create directory for H5P export file.");
}
if (!copy($source, "{$this->path}/exports/{$filename}")) {
throw new Exception("Unable to save H5P export file.");
}
}
/**
* Removes given export file
*
* @param string $filename
*/
public function deleteExport($filename) {
$target = "{$this->path}/exports/{$filename}";
if (file_exists($target)) {
unlink($target);
}
}
/**
* Check if the given export file exists
*
* @param string $filename
* @return boolean
*/
public function hasExport($filename) {
$target = "{$this->path}/exports/{$filename}";
return file_exists($target);
}
/**
* Will concatenate all JavaScrips and Stylesheets into two files in order
* to improve page performance.
*
* @param array $files
* A set of all the assets required for content to display
* @param string $key
* Hashed key for cached asset
*/
public function cacheAssets(&$files, $key) {
foreach ($files as $type => $assets) {
if (empty($assets)) {
continue; // Skip no assets
}
$content = '';
foreach ($assets as $asset) {
// Get content from asset file
$assetContent = file_get_contents($this->path . $asset->path);
$cssRelPath = preg_replace('/[^\/]+$/', '', $asset->path);
// Get file content and concatenate
if ($type === 'scripts') {
$content .= $assetContent . ";\n";
}
else {
// Rewrite relative URLs used inside stylesheets
$content .= preg_replace_callback(
'/url\([\'"]?([^"\')]+)[\'"]?\)/i',
function ($matches) use ($cssRelPath) {
if (preg_match("/^(data:|([a-z0-9]+:)?\/)/i", $matches[1]) === 1) {
return $matches[0]; // Not relative, skip
}
return 'url("../' . $cssRelPath . $matches[1] . '")';
},
$assetContent) . "\n";
}
}
self::dirReady("{$this->path}/cachedassets");
$ext = ($type === 'scripts' ? 'js' : 'css');
$outputfile = "/cachedassets/{$key}.{$ext}";
file_put_contents($this->path . $outputfile, $content);
$files[$type] = array((object) array(
'path' => $outputfile,
'version' => ''
));
}
}
/**
* Will check if there are cache assets available for content.
*
* @param string $key
* Hashed key for cached asset
* @return array
*/
public function getCachedAssets($key) {
$files = array();
$js = "/cachedassets/{$key}.js";
if (file_exists($this->path . $js)) {
$files['scripts'] = array((object) array(
'path' => $js,
'version' => ''
));
}
$css = "/cachedassets/{$key}.css";
if (file_exists($this->path . $css)) {
$files['styles'] = array((object) array(
'path' => $css,
'version' => ''
));
}
return empty($files) ? NULL : $files;
}
/**
* Remove the aggregated cache files.
*
* @param array $keys
* The hash keys of removed files
*/
public function deleteCachedAssets($keys) {
foreach ($keys as $hash) {
foreach (array('js', 'css') as $ext) {
$path = "{$this->path}/cachedassets/{$hash}.{$ext}";
if (file_exists($path)) {
unlink($path);
}
}
}
}
/**
* Read file content of given file and then return it.
*
* @param string $file_path
* @return string
*/
public function getContent($file_path) {
return file_get_contents($file_path);
}
/**
* Save files uploaded through the editor.
* The files must be marked as temporary until the content form is saved.
*
* @param \H5peditorFile $file
* @param int $contentid
*/
public function saveFile($file, $contentId) {
// Prepare directory
if (empty($contentId)) {
// Should be in editor tmp folder
$path = $this->getEditorPath();
}
else {
// Should be in content folder
$path = $this->path . '/content/' . $contentId;
}
$path .= '/' . $file->getType() . 's';
self::dirReady($path);
// Add filename to path
$path .= '/' . $file->getName();
copy($_FILES['file']['tmp_name'], $path);
return $file;
}
/**
* Copy a file from another content or editor tmp dir.
* Used when copy pasting content in H5P Editor.
*
* @param string $file path + name
* @param string|int $fromid Content ID or 'editor' string
* @param int $toid Target Content ID
*/
public function cloneContentFile($file, $fromId, $toId) {
// Determine source path
if ($fromId === 'editor') {
$sourcepath = $this->getEditorPath();
}
else {
$sourcepath = "{$this->path}/content/{$fromId}";
}
$sourcepath .= '/' . $file;
// Determine target path
$filename = basename($file);
$filedir = str_replace($filename, '', $file);
$targetpath = "{$this->path}/content/{$toId}/{$filedir}";
// Make sure it's ready
self::dirReady($targetpath);
$targetpath .= $filename;
// Check to see if source exist and if target doesn't
if (!file_exists($sourcepath) || file_exists($targetpath)) {
return; // Nothing to copy from or target already exists
}
copy($sourcepath, $targetpath);
}
/**
* Copy a content from one directory to another. Defaults to cloning
* content from the current temporary upload folder to the editor path.
*
* @param string $source path to source directory
* @param string $contentId Id of contentarray
*/
public function moveContentDirectory($source, $contentId = NULL) {
if ($source === NULL) {
return NULL;
}
// TODO: Remove $contentId and never copy temporary files into content folder. JI-366
if ($contentId === NULL || $contentId == 0) {
$target = $this->getEditorPath();
}
else {
// Use content folder
$target = "{$this->path}/content/{$contentId}";
}
$contentSource = $source . '/' . 'content';
$contentFiles = array_diff(scandir($contentSource), array('.','..', 'content.json'));
foreach ($contentFiles as $file) {
if (is_dir("{$contentSource}/{$file}")) {
self::copyFileTree("{$contentSource}/{$file}", "{$target}/{$file}");
}
else {
copy("{$contentSource}/{$file}", "{$target}/{$file}");
}
}
// TODO: Return list of all files so that they can be marked as temporary. JI-366
}
/**
* Checks to see if content has the given file.
* Used when saving content.
*
* @param string $file path + name
* @param int $contentId
* @return string File ID or NULL if not found
*/
public function getContentFile($file, $contentId) {
$path = "{$this->path}/content/{$contentId}/{$file}";
return file_exists($path) ? $path : NULL;
}
/**
* Checks to see if content has the given file.
* Used when saving content.
*
* @param string $file path + name
* @param int $contentid
* @return string|int File ID or NULL if not found
*/
public function removeContentFile($file, $contentId) {
$path = "{$this->path}/content/{$contentId}/{$file}";
if (file_exists($path)) {
unlink($path);
// Clean up any empty parent directories to avoid cluttering the file system
$parts = explode('/', $path);
while (array_pop($parts) !== NULL) {
$dir = implode('/', $parts);
if (is_dir($dir) && count(scandir($dir)) === 2) { // empty contains '.' and '..'
rmdir($dir); // Remove empty parent
}
else {
return; // Not empty
}
}
}
}
/**
* Check if server setup has write permission to
* the required folders
*
* @return bool True if site can write to the H5P files folder
*/
public function hasWriteAccess() {
return self::dirReady($this->path);
}
/**
* Check if the file presave.js exists in the root of the library
*
* @param string $libraryFolder
* @param string $developmentPath
* @return bool
*/
public function hasPresave($libraryFolder, $developmentPath = null) {
$path = is_null($developmentPath) ? 'libraries' . '/' . $libraryFolder : $developmentPath;
$filePath = realpath($this->path . '/' . $path . '/' . 'presave.js');
return file_exists($filePath);
}
/**
* Check if upgrades script exist for library.
*
* @param string $machineName
* @param int $majorVersion
* @param int $minorVersion
* @return string Relative path
*/
public function getUpgradeScript($machineName, $majorVersion, $minorVersion) {
$upgrades = "/libraries/{$machineName}-{$majorVersion}.{$minorVersion}/upgrades.js";
if (file_exists($this->path . $upgrades)) {
return $upgrades;
}
else {
return NULL;
}
}
/**
* Store the given stream into the given file.
*
* @param string $path
* @param string $file
* @param resource $stream
* @return bool
*/
public function saveFileFromZip($path, $file, $stream) {
$filePath = $path . '/' . $file;
// Make sure the directory exists first
$matches = array();
preg_match('/(.+)\/[^\/]*$/', $filePath, $matches);
self::dirReady($matches[1]);
// Store in local storage folder
return file_put_contents($filePath, $stream);
}
/**
* Recursive function for copying directories.
*
* @param string $source
* From path
* @param string $destination
* To path
* @return boolean
* Indicates if the directory existed.
*
* @throws Exception Unable to copy the file
*/
private static function copyFileTree($source, $destination) {
if (!self::dirReady($destination)) {
throw new \Exception('unabletocopy');
}
$ignoredFiles = self::getIgnoredFiles("{$source}/.h5pignore");
$dir = opendir($source);
if ($dir === FALSE) {
trigger_error('Unable to open directory ' . $source, E_USER_WARNING);
throw new \Exception('unabletocopy');
}
while (false !== ($file = readdir($dir))) {
if (($file != '.') && ($file != '..') && $file != '.git' && $file != '.gitignore' && !in_array($file, $ignoredFiles)) {
if (is_dir("{$source}/{$file}")) {
self::copyFileTree("{$source}/{$file}", "{$destination}/{$file}");
}
else {
copy("{$source}/{$file}", "{$destination}/{$file}");
}
}
}
closedir($dir);
}
/**
* Retrieve array of file names from file.
*
* @param string $file
* @return array Array with files that should be ignored
*/
private static function getIgnoredFiles($file) {
if (file_exists($file) === FALSE) {
return array();
}
$contents = file_get_contents($file);
if ($contents === FALSE) {
return array();
}
return preg_split('/\s+/', $contents);
}
/**
* Recursive function that makes sure the specified directory exists and
* is writable.
*
* @param string $path
* @return bool
*/
private static function dirReady($path) {
if (!file_exists($path)) {
$parent = preg_replace("/\/[^\/]+\/?$/", '', $path);
if (!self::dirReady($parent)) {
return FALSE;
}
mkdir($path, 0777, true);
}
if (!is_dir($path)) {
trigger_error('Path is not a directory ' . $path, E_USER_WARNING);
return FALSE;
}
if (!is_writable($path)) {
trigger_error('Unable to write to ' . $path . ' check directory permissions ', E_USER_WARNING);
return FALSE;
}
return TRUE;
}
/**
* Easy helper function for retrieving the editor path
*
* @return string Path to editor files
*/
private function getEditorPath() {
return ($this->alteditorpath !== NULL ? $this->alteditorpath : "{$this->path}/editor");
}
}

View File

@@ -0,0 +1,191 @@
<?php
/**
* This is a data layer which uses the file system so it isn't specific to any framework.
*/
class H5PDevelopment {
const MODE_NONE = 0;
const MODE_CONTENT = 1;
const MODE_LIBRARY = 2;
private $h5pF, $libraries, $language, $filesPath;
/**
* Constructor.
*
* @param H5PFrameworkInterface|object $H5PFramework
* The frameworks implementation of the H5PFrameworkInterface
* @param string $filesPath
* Path to where H5P should store its files
* @param $language
* @param array $libraries Optional cache input.
*/
public function __construct(H5PFrameworkInterface $H5PFramework, $filesPath, $language, $libraries = NULL) {
$this->h5pF = $H5PFramework;
$this->language = $language;
$this->filesPath = $filesPath;
if ($libraries !== NULL) {
$this->libraries = $libraries;
}
else {
$this->findLibraries($filesPath . '/development');
}
}
/**
* Get contents of file.
*
* @param string $file File path.
* @return mixed String on success or NULL on failure.
*/
private function getFileContents($file) {
if (file_exists($file) === FALSE) {
return NULL;
}
$contents = file_get_contents($file);
if ($contents === FALSE) {
return NULL;
}
return $contents;
}
/**
* Scans development directory and find all libraries.
*
* @param string $path Libraries development folder
*/
private function findLibraries($path) {
$this->libraries = array();
if (is_dir($path) === FALSE) {
return;
}
$contents = scandir($path);
for ($i = 0, $s = count($contents); $i < $s; $i++) {
if ($contents[$i][0] === '.') {
continue; // Skip hidden stuff.
}
$libraryPath = $path . '/' . $contents[$i];
$libraryJSON = $this->getFileContents($libraryPath . '/library.json');
if ($libraryJSON === NULL) {
continue; // No JSON file, skip.
}
$library = json_decode($libraryJSON, TRUE);
if ($library === NULL) {
continue; // Invalid JSON.
}
// TODO: Validate props? Not really needed, is it? this is a dev site.
$library['libraryId'] = $this->h5pF->getLibraryId($library['machineName'], $library['majorVersion'], $library['minorVersion']);
// Convert metadataSettings values to boolean & json_encode it before saving
$library['metadataSettings'] = isset($library['metadataSettings']) ?
H5PMetadata::boolifyAndEncodeSettings($library['metadataSettings']) :
NULL;
// Save/update library.
$this->h5pF->saveLibraryData($library, $library['libraryId'] === FALSE);
// Need to decode it again, since it is served from here.
$library['metadataSettings'] = isset($library['metadataSettings'])
? json_decode($library['metadataSettings'])
: NULL;
$library['path'] = 'development/' . $contents[$i];
$this->libraries[H5PDevelopment::libraryToString($library['machineName'], $library['majorVersion'], $library['minorVersion'])] = $library;
}
// TODO: Should we remove libraries without files? Not really needed, but must be cleaned up some time, right?
// Go trough libraries and insert dependencies. Missing deps. will just be ignored and not available. (I guess?!)
$this->h5pF->lockDependencyStorage();
foreach ($this->libraries as $library) {
$this->h5pF->deleteLibraryDependencies($library['libraryId']);
// This isn't optimal, but without it we would get duplicate warnings.
// TODO: You might get PDOExceptions if two or more requests does this at the same time!!
$types = array('preloaded', 'dynamic', 'editor');
foreach ($types as $type) {
if (isset($library[$type . 'Dependencies'])) {
$this->h5pF->saveLibraryDependencies($library['libraryId'], $library[$type . 'Dependencies'], $type);
}
}
}
$this->h5pF->unlockDependencyStorage();
// TODO: Deps must be inserted into h5p_nodes_libraries as well... ? But only if they are used?!
}
/**
* @return array Libraries in development folder.
*/
public function getLibraries() {
return $this->libraries;
}
/**
* Get library
*
* @param string $name of the library.
* @param int $majorVersion of the library.
* @param int $minorVersion of the library.
* @return array library.
*/
public function getLibrary($name, $majorVersion, $minorVersion) {
$library = H5PDevelopment::libraryToString($name, $majorVersion, $minorVersion);
return isset($this->libraries[$library]) === TRUE ? $this->libraries[$library] : NULL;
}
/**
* Get semantics for the given library.
*
* @param string $name of the library.
* @param int $majorVersion of the library.
* @param int $minorVersion of the library.
* @return string Semantics
*/
public function getSemantics($name, $majorVersion, $minorVersion) {
$library = H5PDevelopment::libraryToString($name, $majorVersion, $minorVersion);
if (isset($this->libraries[$library]) === FALSE) {
return NULL;
}
return $this->getFileContents($this->filesPath . $this->libraries[$library]['path'] . '/semantics.json');
}
/**
* Get translations for the given library.
*
* @param string $name of the library.
* @param int $majorVersion of the library.
* @param int $minorVersion of the library.
* @param $language
* @return string Translation
*/
public function getLanguage($name, $majorVersion, $minorVersion, $language) {
$library = H5PDevelopment::libraryToString($name, $majorVersion, $minorVersion);
if (isset($this->libraries[$library]) === FALSE) {
return NULL;
}
return $this->getFileContents($this->filesPath . $this->libraries[$library]['path'] . '/language/' . $language . '.json');
}
/**
* Writes library as string on the form "name majorVersion.minorVersion"
*
* @param string $name Machine readable library name
* @param integer $majorVersion
* @param $minorVersion
* @return string Library identifier.
*/
public static function libraryToString($name, $majorVersion, $minorVersion) {
return $name . ' ' . $majorVersion . '.' . $minorVersion;
}
}

View File

@@ -0,0 +1,191 @@
<?php
/**
* The base class for H5P events. Extend to track H5P events in your system.
*
* @package H5P
* @copyright 2016 Joubel AS
* @license MIT
*/
abstract class H5PEventBase {
// Constants
const LOG_NONE = 0;
const LOG_ALL = 1;
const LOG_ACTIONS = 2;
// Static options
public static $log_level = self::LOG_ACTIONS;
public static $log_time = 2592000; // 30 Days
// Protected variables
protected $id, $type, $sub_type, $content_id, $content_title, $library_name, $library_version, $time;
/**
* Adds event type, h5p library and timestamp to event before saving it.
*
* Common event types with sub type:
* content, <none> content view
* embed viewed through embed code
* shortcode viewed through internal shortcode
* edit opened in editor
* delete deleted
* create created through editor
* create upload created through upload
* update updated through editor
* update upload updated through upload
* upgrade upgraded
*
* results, <none> view own results
* content view results for content
* set new results inserted or updated
*
* settings, <none> settings page loaded
*
* library, <none> loaded in editor
* create new library installed
* update old library updated
*
* @param string $type
* Name of event type
* @param string $sub_type
* Name of event sub type
* @param string $content_id
* Identifier for content affected by the event
* @param string $content_title
* Content title (makes it easier to know which content was deleted etc.)
* @param string $library_name
* Name of the library affected by the event
* @param string $library_version
* Library version
*/
function __construct($type, $sub_type = NULL, $content_id = NULL, $content_title = NULL, $library_name = NULL, $library_version = NULL) {
$this->type = $type;
$this->sub_type = $sub_type;
$this->content_id = $content_id;
$this->content_title = $content_title;
$this->library_name = $library_name;
$this->library_version = $library_version;
$this->time = time();
if (self::validLogLevel($type, $sub_type)) {
$this->save();
}
if (self::validStats($type, $sub_type)) {
$this->saveStats();
}
}
/**
* Determines if the event type should be saved/logged.
*
* @param string $type
* Name of event type
* @param string $sub_type
* Name of event sub type
* @return boolean
*/
private static function validLogLevel($type, $sub_type) {
switch (self::$log_level) {
default:
case self::LOG_NONE:
return FALSE;
case self::LOG_ALL:
return TRUE; // Log everything
case self::LOG_ACTIONS:
if (self::isAction($type, $sub_type)) {
return TRUE; // Log actions
}
return FALSE;
}
}
/**
* Check if the event should be included in the statistics counter.
*
* @param string $type
* Name of event type
* @param string $sub_type
* Name of event sub type
* @return boolean
*/
private static function validStats($type, $sub_type) {
if ( ($type === 'content' && $sub_type === 'shortcode insert') || // Count number of shortcode inserts
($type === 'library' && $sub_type === NULL) || // Count number of times library is loaded in editor
($type === 'results' && $sub_type === 'content') ) { // Count number of times results page has been opened
return TRUE;
}
elseif (self::isAction($type, $sub_type)) { // Count all actions
return TRUE;
}
return FALSE;
}
/**
* Check if event type is an action.
*
* @param string $type
* Name of event type
* @param string $sub_type
* Name of event sub type
* @return boolean
*/
private static function isAction($type, $sub_type) {
if ( ($type === 'content' && in_array($sub_type, array('create', 'create upload', 'update', 'update upload', 'upgrade', 'delete'))) ||
($type === 'library' && in_array($sub_type, array('create', 'update'))) ) {
return TRUE; // Log actions
}
return FALSE;
}
/**
* A helper which makes it easier for systems to save the data.
* Add all relevant properties to a assoc. array.
* There are no NULL values. Empty string or 0 is used instead.
* Used by both Drupal and WordPress.
*
* @return array with keyed values
*/
protected function getDataArray() {
return array(
'created_at' => $this->time,
'type' => $this->type,
'sub_type' => empty($this->sub_type) ? '' : $this->sub_type,
'content_id' => empty($this->content_id) ? 0 : $this->content_id,
'content_title' => empty($this->content_title) ? '' : $this->content_title,
'library_name' => empty($this->library_name) ? '' : $this->library_name,
'library_version' => empty($this->library_version) ? '' : $this->library_version
);
}
/**
* A helper which makes it easier for systems to save the data.
* Used in WordPress.
*
* @return array with strings
*/
protected function getFormatArray() {
return array(
'%d',
'%s',
'%s',
'%d',
'%s',
'%s',
'%s'
);
}
/**
* Stores the event data in the database.
*
* Must be overridden by plugin.
*/
abstract protected function save();
/**
* Add current event data to statistics counter.
*
* Must be overridden by plugin.
*/
abstract protected function saveStats();
}

View File

@@ -0,0 +1,229 @@
<?php
/**
* File info?
*/
/**
* Interface needed to handle storage and export of H5P Content.
*/
interface H5PFileStorage {
/**
* Store the library folder.
*
* @param array $library
* Library properties
*/
public function saveLibrary($library);
/**
* Delete library folder
*
* @param array $library
*/
public function deleteLibrary($library);
/**
* Store the content folder.
*
* @param string $source
* Path on file system to content directory.
* @param array $content
* Content properties
*/
public function saveContent($source, $content);
/**
* Remove content folder.
*
* @param array $content
* Content properties
*/
public function deleteContent($content);
/**
* Creates a stored copy of the content folder.
*
* @param string $id
* Identifier of content to clone.
* @param int $newId
* The cloned content's identifier
*/
public function cloneContent($id, $newId);
/**
* Get path to a new unique tmp folder.
*
* @return string
* Path
*/
public function getTmpPath();
/**
* Fetch content folder and save in target directory.
*
* @param int $id
* Content identifier
* @param string $target
* Where the content folder will be saved
*/
public function exportContent($id, $target);
/**
* Fetch library folder and save in target directory.
*
* @param array $library
* Library properties
* @param string $target
* Where the library folder will be saved
*/
public function exportLibrary($library, $target);
/**
* Save export in file system
*
* @param string $source
* Path on file system to temporary export file.
* @param string $filename
* Name of export file.
*/
public function saveExport($source, $filename);
/**
* Removes given export file
*
* @param string $filename
*/
public function deleteExport($filename);
/**
* Check if the given export file exists
*
* @param string $filename
* @return boolean
*/
public function hasExport($filename);
/**
* Will concatenate all JavaScrips and Stylesheets into two files in order
* to improve page performance.
*
* @param array $files
* A set of all the assets required for content to display
* @param string $key
* Hashed key for cached asset
*/
public function cacheAssets(&$files, $key);
/**
* Will check if there are cache assets available for content.
*
* @param string $key
* Hashed key for cached asset
* @return array
*/
public function getCachedAssets($key);
/**
* Remove the aggregated cache files.
*
* @param array $keys
* The hash keys of removed files
*/
public function deleteCachedAssets($keys);
/**
* Read file content of given file and then return it.
*
* @param string $file_path
* @return string contents
*/
public function getContent($file_path);
/**
* Save files uploaded through the editor.
* The files must be marked as temporary until the content form is saved.
*
* @param \H5peditorFile $file
* @param int $contentId
*/
public function saveFile($file, $contentId);
/**
* Copy a file from another content or editor tmp dir.
* Used when copy pasting content in H5P.
*
* @param string $file path + name
* @param string|int $fromId Content ID or 'editor' string
* @param int $toId Target Content ID
*/
public function cloneContentFile($file, $fromId, $toId);
/**
* Copy a content from one directory to another. Defaults to cloning
* content from the current temporary upload folder to the editor path.
*
* @param string $source path to source directory
* @param string $contentId Id of content
*
* @return object Object containing h5p json and content json data
*/
public function moveContentDirectory($source, $contentId = NULL);
/**
* Checks to see if content has the given file.
* Used when saving content.
*
* @param string $file path + name
* @param int $contentId
* @return string|int File ID or NULL if not found
*/
public function getContentFile($file, $contentId);
/**
* Remove content files that are no longer used.
* Used when saving content.
*
* @param string $file path + name
* @param int $contentId
*/
public function removeContentFile($file, $contentId);
/**
* Check if server setup has write permission to
* the required folders
*
* @return bool True if server has the proper write access
*/
public function hasWriteAccess();
/**
* Check if the library has a presave.js in the root folder
*
* @param string $libraryName
* @param string $developmentPath
* @return bool
*/
public function hasPresave($libraryName, $developmentPath = null);
/**
* Check if upgrades script exist for library.
*
* @param string $machineName
* @param int $majorVersion
* @param int $minorVersion
* @return string Relative path
*/
public function getUpgradeScript($machineName, $majorVersion, $minorVersion);
/**
* Store the given stream into the given file.
*
* @param string $path
* @param string $file
* @param resource $stream
* @return bool
*/
public function saveFileFromZip($path, $file, $stream);
}

View File

@@ -0,0 +1,156 @@
<?php
/**
* Utility class for handling metadata
*/
abstract class H5PMetadata {
private static $fields = array(
'title' => array(
'type' => 'text',
'maxLength' => 255
),
'a11yTitle' => array(
'type' => 'text',
'maxLength' => 255,
),
'authors' => array(
'type' => 'json'
),
'changes' => array(
'type' => 'json'
),
'source' => array(
'type' => 'text',
'maxLength' => 255
),
'license' => array(
'type' => 'text',
'maxLength' => 32
),
'licenseVersion' => array(
'type' => 'text',
'maxLength' => 10
),
'licenseExtras' => array(
'type' => 'text',
'maxLength' => 5000
),
'authorComments' => array(
'type' => 'text',
'maxLength' => 5000
),
'yearFrom' => array(
'type' => 'int'
),
'yearTo' => array(
'type' => 'int'
),
'defaultLanguage' => array(
'type' => 'text',
'maxLength' => 32,
)
);
/**
* JSON encode metadata
*
* @param object $content
* @return string
*/
public static function toJSON($content) {
// Note: deliberatly creating JSON string "manually" to improve performance
return
'{"title":' . (isset($content->title) ? json_encode($content->title) : 'null') .
',"a11yTitle":' . (isset($content->a11y_title) ? $content->a11y_title : 'null') .
',"authors":' . (isset($content->authors) ? $content->authors : 'null') .
',"source":' . (isset($content->source) ? '"' . $content->source . '"' : 'null') .
',"license":' . (isset($content->license) ? '"' . $content->license . '"' : 'null') .
',"licenseVersion":' . (isset($content->license_version) ? '"' . $content->license_version . '"' : 'null') .
',"licenseExtras":' . (isset($content->license_extras) ? json_encode($content->license_extras) : 'null') .
',"yearFrom":' . (isset($content->year_from) ? $content->year_from : 'null') .
',"yearTo":' . (isset($content->year_to) ? $content->year_to : 'null') .
',"changes":' . (isset($content->changes) ? $content->changes : 'null') .
',"defaultLanguage":' . (isset($content->default_language) ? '"' . $content->default_language . '"' : 'null') .
',"authorComments":' . (isset($content->author_comments) ? json_encode($content->author_comments) : 'null') . '}';
}
/**
* Make the metadata into an associative array keyed by the property names
* @param mixed $metadata Array or object containing metadata
* @param bool $include_title
* @param bool $include_missing For metadata fields not being set, skip 'em.
* Relevant for content upgrade
* @param array $types
* @return array
*/
public static function toDBArray($metadata, $include_title = true, $include_missing = true, &$types = array()) {
$fields = array();
if (!is_array($metadata)) {
$metadata = (array) $metadata;
}
foreach (self::$fields as $key => $config) {
// Ignore title?
if ($key === 'title' && !$include_title) {
continue;
}
$exists = array_key_exists($key, $metadata);
// Don't include missing fields
if (!$include_missing && !$exists) {
continue;
}
$value = $exists ? $metadata[$key] : null;
// lowerCamelCase to snake_case
$db_field_name = strtolower(preg_replace('/(?<!^)[A-Z]/', '_$0', $key));
switch ($config['type']) {
case 'text':
if ($value !== null && strlen($value) > $config['maxLength']) {
$value = mb_substr($value, 0, $config['maxLength']);
}
$types[] = '%s';
break;
case 'int':
$value = ($value !== null) ? intval($value) : null;
$types[] = '%d';
break;
case 'json':
$value = ($value !== null) ? json_encode($value) : null;
$types[] = '%s';
break;
}
$fields[$db_field_name] = $value;
}
return $fields;
}
/**
* The metadataSettings field in libraryJson uses 1 for true and 0 for false.
* Here we are converting these to booleans, and also doing JSON encoding.
* This is invoked before the library data is beeing inserted/updated to DB.
*
* @param array $metadataSettings
* @return string
*/
public static function boolifyAndEncodeSettings($metadataSettings) {
// Convert metadataSettings values to boolean
if (isset($metadataSettings['disable'])) {
$metadataSettings['disable'] = $metadataSettings['disable'] === 1;
}
if (isset($metadataSettings['disableExtraTitleField'])) {
$metadataSettings['disableExtraTitleField'] = $metadataSettings['disableExtraTitleField'] === 1;
}
return json_encode($metadataSettings);
}
}

5598
vendor/h5p/h5p-core/h5p.classes.php vendored Normal file

File diff suppressed because it is too large Load Diff

16
vendor/h5p/h5p-core/images/h5p.svg vendored Normal file
View File

@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 17.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 345 150" enable-background="new 0 0 345 150" xml:space="preserve">
<g>
<path fill="#FFFFFF" d="M325.7,14.7C317.6,6.9,305.3,3,289,3h-43.5H234v31h-66l-5.4,22.2c4.5-2.1,10.9-4.2,15.3-5.3
c4.4-1.1,8.8-0.9,13.1-0.9c14.6,0,26.5,4.5,35.6,13.3c9.1,8.8,13.6,20,13.6,33.4c0,9.4-2.3,18.5-7,27.2c-4.7,8.7-11.3,15.4-19.9,20
c-3.1,1.6-6.5,3.1-10.2,4.1h42.4H259V95h25c18.2,0,31.7-4.2,40.6-12.5c8.9-8.3,13.3-19.9,13.3-34.6
C337.9,33.6,333.8,22.5,325.7,14.7z M288.7,60.6c-3.5,3-9.6,4.4-18.3,4.4H259V33h13.2c8.4,0,14.2,1.5,17.2,4.7
c3.1,3.2,4.6,6.9,4.6,11.5C294,53.9,292.2,57.6,288.7,60.6z"/>
<path fill="#FFFFFF" d="M176.5,76.3c-7.9,0-14.7,4.6-18,11.2L119,81.9L136.8,3h-23.6H101v62H51V3H7v145h44V95h50v53h12.2h42
c-6.7-2-12.5-4.6-17.2-8.1c-4.8-3.6-8.7-7.7-11.7-12.3c-3-4.6-5.3-9.7-7.3-16.5l39.6-5.7c3.3,6.6,10.1,11.1,17.9,11.1
c11.1,0,20.1-9,20.1-20.1S187.5,76.3,176.5,76.3z"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
vendor/h5p/h5p-core/images/throbber.gif vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

107
vendor/h5p/h5p-core/js/h5p-action-bar.js vendored Normal file
View File

@@ -0,0 +1,107 @@
/**
* @class
* @augments H5P.EventDispatcher
* @param {Object} displayOptions
* @param {boolean} displayOptions.export Triggers the display of the 'Download' button
* @param {boolean} displayOptions.copyright Triggers the display of the 'Copyright' button
* @param {boolean} displayOptions.embed Triggers the display of the 'Embed' button
* @param {boolean} displayOptions.icon Triggers the display of the 'H5P icon' link
*/
H5P.ActionBar = (function ($, EventDispatcher) {
"use strict";
function ActionBar(displayOptions) {
EventDispatcher.call(this);
/** @alias H5P.ActionBar# */
var self = this;
var hasActions = false;
// Create action bar
var $actions = H5P.jQuery('<ul class="h5p-actions"></ul>');
/**
* Helper for creating action bar buttons.
*
* @private
* @param {string} type
* @param {string} customClass Instead of type class
*/
var addActionButton = function (type, customClass) {
/**
* Handles selection of action
*/
var handler = function () {
self.trigger(type);
};
const $actionList = H5P.jQuery('<li/>', {
'class': 'h5p-button h5p-noselect h5p-' + (customClass ? customClass : type),
appendTo: $actions
});
const $actionButton = H5P.jQuery('<button/>', {
tabindex: 0,
'aria-label': H5P.t(type + 'Description'),
html: H5P.t(type),
on: {
click: handler,
keypress: function (e) {
if (e.which === 32) {
handler();
e.preventDefault(); // (since return false will block other inputs)
}
}
},
appendTo: $actionList
});
H5P.Tooltip($actionButton.get(0));
hasActions = true;
};
// Register action bar buttons
if (displayOptions.export || displayOptions.copy) {
// Add export button
addActionButton('reuse', 'export');
}
if (displayOptions.copyright) {
addActionButton('copyrights');
}
if (displayOptions.embed) {
addActionButton('embed');
}
if (displayOptions.icon) {
// Add about H5P button icon
const $h5pLogo = H5P.jQuery('<li><a class="h5p-link" href="http://h5p.org" target="_blank" aria-label="' + H5P.t('h5pDescription') + '"></a></li>').appendTo($actions);
H5P.Tooltip($h5pLogo.find('.h5p-link').get(0));
hasActions = true;
}
/**
* Returns a reference to the dom element
*
* @return {H5P.jQuery}
*/
self.getDOMElement = function () {
return $actions;
};
/**
* Does the actionbar contain actions?
*
* @return {Boolean}
*/
self.hasActions = function () {
return hasActions;
};
}
ActionBar.prototype = Object.create(EventDispatcher.prototype);
ActionBar.prototype.constructor = ActionBar;
return ActionBar;
})(H5P.jQuery, H5P.EventDispatcher);

View File

@@ -0,0 +1,420 @@
/*global H5P*/
H5P.ConfirmationDialog = (function (EventDispatcher) {
"use strict";
/**
* Create a confirmation dialog
*
* @param [options] Options for confirmation dialog
* @param [options.instance] Instance that uses confirmation dialog
* @param [options.headerText] Header text
* @param [options.dialogText] Dialog text
* @param [options.cancelText] Cancel dialog button text
* @param [options.confirmText] Confirm dialog button text
* @param [options.hideCancel] Hide cancel button
* @param [options.hideExit] Hide exit button
* @param [options.skipRestoreFocus] Skip restoring focus when hiding the dialog
* @param [options.classes] Extra classes for popup
* @constructor
*/
function ConfirmationDialog(options) {
EventDispatcher.call(this);
var self = this;
// Make sure confirmation dialogs have unique id
H5P.ConfirmationDialog.uniqueId += 1;
var uniqueId = H5P.ConfirmationDialog.uniqueId;
// Default options
options = options || {};
options.headerText = options.headerText || H5P.t('confirmDialogHeader');
options.dialogText = options.dialogText || H5P.t('confirmDialogBody');
options.cancelText = options.cancelText || H5P.t('cancelLabel');
options.confirmText = options.confirmText || H5P.t('confirmLabel');
/**
* Handle confirming event
* @param {Event} e
*/
function dialogConfirmed(e) {
self.hide();
self.trigger('confirmed');
e.preventDefault();
}
/**
* Handle dialog canceled
* @param {Event} e
*/
function dialogCanceled(e) {
self.hide();
self.trigger('canceled');
e.preventDefault();
}
/**
* Flow focus to element
* @param {HTMLElement} element Next element to be focused
* @param {Event} e Original tab event
*/
function flowTo(element, e) {
element.focus();
e.preventDefault();
}
// Offset of exit button
var exitButtonOffset = 2 * 16;
var shadowOffset = 8;
// Determine if we are too large for our container and must resize
var resizeIFrame = false;
// Create background
var popupBackground = document.createElement('div');
popupBackground.classList
.add('h5p-confirmation-dialog-background', 'hidden', 'hiding');
// Create outer popup
var popup = document.createElement('div');
popup.classList.add('h5p-confirmation-dialog-popup', 'hidden');
if (options.classes) {
options.classes.forEach(function (popupClass) {
popup.classList.add(popupClass);
});
}
popup.setAttribute('role', 'dialog');
popup.setAttribute('aria-labelledby', 'h5p-confirmation-dialog-dialog-text-' + uniqueId);
popupBackground.appendChild(popup);
popup.addEventListener('keydown', function (e) {
if (e.key === 'Escape') {// Esc key
// Exit dialog
dialogCanceled(e);
}
});
// Popup header
var header = document.createElement('div');
header.classList.add('h5p-confirmation-dialog-header');
popup.appendChild(header);
// Header text
var headerText = document.createElement('div');
headerText.classList.add('h5p-confirmation-dialog-header-text');
headerText.innerHTML = options.headerText;
header.appendChild(headerText);
// Popup body
var body = document.createElement('div');
body.classList.add('h5p-confirmation-dialog-body');
popup.appendChild(body);
// Popup text
var text = document.createElement('div');
text.classList.add('h5p-confirmation-dialog-text');
text.innerHTML = options.dialogText;
text.id = 'h5p-confirmation-dialog-dialog-text-' + uniqueId;
body.appendChild(text);
// Popup buttons
var buttons = document.createElement('div');
buttons.classList.add('h5p-confirmation-dialog-buttons');
body.appendChild(buttons);
// Cancel button
var cancelButton = document.createElement('button');
cancelButton.classList.add('h5p-core-cancel-button');
cancelButton.textContent = options.cancelText;
// Confirm button
var confirmButton = document.createElement('button');
confirmButton.classList.add('h5p-core-button');
confirmButton.classList.add('h5p-confirmation-dialog-confirm-button');
confirmButton.textContent = options.confirmText;
// Exit button
var exitButton = document.createElement('button');
exitButton.classList.add('h5p-confirmation-dialog-exit');
exitButton.tabIndex = -1;
exitButton.setAttribute('aria-label', options.cancelText);
// Cancel handler
cancelButton.addEventListener('click', dialogCanceled);
cancelButton.addEventListener('keydown', function (e) {
if (e.key === ' ') { // Space
dialogCanceled(e);
}
else if (e.key === 'Tab' && e.shiftKey) { // Shift-tab
const nextbutton = options.hideExit ? confirmButton : exitButton;
flowTo(nextbutton, e);
}
});
if (!options.hideCancel) {
buttons.appendChild(cancelButton);
}
else {
// Center buttons
buttons.classList.add('center');
}
// Confirm handler
confirmButton.addEventListener('click', dialogConfirmed);
confirmButton.addEventListener('keydown', function (e) {
if (e.key === ' ') { // Space
dialogConfirmed(e);
}
else if (e.key === 'Tab' && !e.shiftKey) { // Tab
let nextButton = confirmButton;
if (!options.hideExit) {
nextButton = exitButton;
}
else if (!options.hideCancel) {
nextButton = cancelButton;
}
flowTo(nextButton, e);
}
});
buttons.appendChild(confirmButton);
// Exit handler
exitButton.addEventListener('click', dialogCanceled);
exitButton.addEventListener('keydown', function (e) {
if (e.key === ' ') { // Space
dialogCanceled(e);
}
else if (e.key === 'Tab' && !e.shiftKey) { // Tab
const nextButton = options.hideCancel ? confirmButton : cancelButton;
flowTo(nextButton, e);
}
});
if (!options.hideExit) {
popup.appendChild(exitButton);
}
// Wrapper element
var wrapperElement;
// Focus capturing
var focusPredator;
// Maintains hidden state of elements
var wrapperSiblingsHidden = [];
var popupSiblingsHidden = [];
// Element with focus before dialog
var previouslyFocused;
/**
* Set parent of confirmation dialog
* @param {HTMLElement} wrapper
* @returns {H5P.ConfirmationDialog}
*/
this.appendTo = function (wrapper) {
wrapperElement = wrapper;
return this;
};
/**
* Capture the focus element, send it to confirmation button
* @param {Event} e Original focus event
*/
var captureFocus = function (e) {
if (!popupBackground.contains(e.target)) {
e.preventDefault();
confirmButton.focus();
}
};
/**
* Hide siblings of element from assistive technology
*
* @param {HTMLElement} element
* @returns {Array} The previous hidden state of all siblings
*/
var hideSiblings = function (element) {
var hiddenSiblings = [];
var siblings = element.parentNode.children;
var i;
for (i = 0; i < siblings.length; i += 1) {
// Preserve hidden state
hiddenSiblings[i] = siblings[i].getAttribute('aria-hidden') ?
true : false;
if (siblings[i] !== element) {
siblings[i].setAttribute('aria-hidden', true);
}
}
return hiddenSiblings;
};
/**
* Restores assistive technology state of element's siblings
*
* @param {HTMLElement} element
* @param {Array} hiddenSiblings Hidden state of all siblings
*/
var restoreSiblings = function (element, hiddenSiblings) {
var siblings = element.parentNode.children;
var i;
for (i = 0; i < siblings.length; i += 1) {
if (siblings[i] !== element && !hiddenSiblings[i]) {
siblings[i].removeAttribute('aria-hidden');
}
}
};
/**
* Start capturing focus of parent and send it to dialog
*/
var startCapturingFocus = function () {
focusPredator = wrapperElement.parentNode || wrapperElement;
focusPredator.addEventListener('focus', captureFocus, true);
};
/**
* Clean up event listener for capturing focus
*/
var stopCapturingFocus = function () {
focusPredator.removeAttribute('aria-hidden');
focusPredator.removeEventListener('focus', captureFocus, true);
};
/**
* Hide siblings in underlay from assistive technologies
*/
var disableUnderlay = function () {
wrapperSiblingsHidden = hideSiblings(wrapperElement);
popupSiblingsHidden = hideSiblings(popupBackground);
};
/**
* Restore state of underlay for assistive technologies
*/
var restoreUnderlay = function () {
restoreSiblings(wrapperElement, wrapperSiblingsHidden);
restoreSiblings(popupBackground, popupSiblingsHidden);
};
/**
* Fit popup to container. Makes sure it doesn't overflow.
* @params {number} [offsetTop] Offset of popup
*/
var fitToContainer = function (offsetTop) {
var popupOffsetTop = parseInt(popup.style.top, 10);
if (offsetTop !== undefined) {
popupOffsetTop = offsetTop;
}
if (!popupOffsetTop) {
popupOffsetTop = 0;
}
// Overflows height
if (popupOffsetTop + popup.offsetHeight > wrapperElement.offsetHeight) {
popupOffsetTop = wrapperElement.offsetHeight - popup.offsetHeight - shadowOffset;
}
if (popupOffsetTop - exitButtonOffset <= 0) {
popupOffsetTop = exitButtonOffset + shadowOffset;
// We are too big and must resize
resizeIFrame = true;
}
popup.style.top = popupOffsetTop + 'px';
};
/**
* Show confirmation dialog
* @params {number} offsetTop Offset top
* @returns {H5P.ConfirmationDialog}
*/
this.show = function (offsetTop) {
// Capture focused item
previouslyFocused = document.activeElement;
wrapperElement.appendChild(popupBackground);
startCapturingFocus();
disableUnderlay();
popupBackground.classList.remove('hidden');
fitToContainer(offsetTop);
setTimeout(function () {
popup.classList.remove('hidden');
popupBackground.classList.remove('hiding');
setTimeout(function () {
// Focus confirm button
confirmButton.focus();
// Resize iFrame if necessary
if (resizeIFrame && options.instance) {
var minHeight = parseInt(popup.offsetHeight, 10) +
exitButtonOffset + (2 * shadowOffset);
self.setViewPortMinimumHeight(minHeight);
options.instance.trigger('resize');
resizeIFrame = false;
}
}, 100);
}, 0);
return this;
};
/**
* Hide confirmation dialog
* @returns {H5P.ConfirmationDialog}
*/
this.hide = function () {
popupBackground.classList.add('hiding');
popup.classList.add('hidden');
// Restore focus
stopCapturingFocus();
if (!options.skipRestoreFocus) {
previouslyFocused.focus();
}
restoreUnderlay();
setTimeout(function () {
popupBackground.classList.add('hidden');
wrapperElement.removeChild(popupBackground);
self.setViewPortMinimumHeight(null);
}, 100);
return this;
};
/**
* Retrieve element
*
* @return {HTMLElement}
*/
this.getElement = function () {
return popup;
};
/**
* Get previously focused element
* @return {HTMLElement}
*/
this.getPreviouslyFocused = function () {
return previouslyFocused;
};
/**
* Sets the minimum height of the view port
*
* @param {number|null} minHeight
*/
this.setViewPortMinimumHeight = function (minHeight) {
var container = document.querySelector('.h5p-container') || document.body;
container.style.minHeight = (typeof minHeight === 'number') ? (minHeight + 'px') : minHeight;
};
}
ConfirmationDialog.prototype = Object.create(EventDispatcher.prototype);
ConfirmationDialog.prototype.constructor = ConfirmationDialog;
return ConfirmationDialog;
}(H5P.EventDispatcher));
H5P.ConfirmationDialog.uniqueId = -1;

View File

@@ -0,0 +1,41 @@
/**
* H5P.ContentType is a base class for all content types. Used by newRunnable()
*
* Functions here may be overridable by the libraries. In special cases,
* it is also possible to override H5P.ContentType on a global level.
*
* NOTE that this doesn't actually 'extend' the event dispatcher but instead
* it creates a single instance which all content types shares as their base
* prototype. (in some cases this may be the root of strange event behavior)
*
* @class
* @augments H5P.EventDispatcher
*/
H5P.ContentType = function (isRootLibrary) {
function ContentType() {}
// Inherit from EventDispatcher.
ContentType.prototype = new H5P.EventDispatcher();
/**
* Is library standalone or not? Not beeing standalone, means it is
* included in another library
*
* @return {Boolean}
*/
ContentType.prototype.isRoot = function () {
return isRootLibrary;
};
/**
* Returns the file path of a file in the current library
* @param {string} filePath The path to the file relative to the library folder
* @return {string} The full path to the file
*/
ContentType.prototype.getLibraryFilePath = function (filePath) {
return H5P.getLibraryPath(this.libraryInfo.versionedNameNoSpaces) + '/' + filePath;
};
return ContentType;
};

View File

@@ -0,0 +1,313 @@
/*jshint -W083 */
var H5PUpgrades = H5PUpgrades || {};
H5P.ContentUpgradeProcess = (function (Version) {
/**
* @class
* @namespace H5P
*/
function ContentUpgradeProcess(name, oldVersion, newVersion, params, id, loadLibrary, done) {
var self = this;
// Make params possible to work with
try {
params = JSON.parse(params);
if (!(params instanceof Object)) {
throw true;
}
}
catch (event) {
return done({
type: 'errorParamsBroken',
id: id
});
}
self.loadLibrary = loadLibrary;
self.upgrade(name, oldVersion, newVersion, params.params, params.metadata, function (err, upgradedParams, upgradedMetadata) {
if (err) {
err.id = id;
return done(err);
}
done(null, JSON.stringify({params: upgradedParams, metadata: upgradedMetadata}));
});
}
/**
* Run content upgrade.
*
* @public
* @param {string} name
* @param {Version} oldVersion
* @param {Version} newVersion
* @param {Object} params
* @param {Object} metadata
* @param {Function} done
*/
ContentUpgradeProcess.prototype.upgrade = function (name, oldVersion, newVersion, params, metadata, done) {
var self = this;
// Load library details and upgrade routines
self.loadLibrary(name, newVersion, function (err, library) {
if (err) {
return done(err);
}
if (library.semantics === null) {
return done({
type: 'libraryMissing',
library: library.name + ' ' + library.version.major + '.' + library.version.minor
});
}
// Run upgrade routines on params
self.processParams(library, oldVersion, newVersion, params, metadata, function (err, params, metadata) {
if (err) {
return done(err);
}
// Check if any of the sub-libraries need upgrading
asyncSerial(library.semantics, function (index, field, next) {
self.processField(field, params[field.name], function (err, upgradedParams) {
if (upgradedParams) {
params[field.name] = upgradedParams;
}
next(err);
});
}, function (err) {
done(err, params, metadata);
});
});
});
};
/**
* Run upgrade hooks on params.
*
* @public
* @param {Object} library
* @param {Version} oldVersion
* @param {Version} newVersion
* @param {Object} params
* @param {Function} next
*/
ContentUpgradeProcess.prototype.processParams = function (library, oldVersion, newVersion, params, metadata, next) {
if (H5PUpgrades[library.name] === undefined) {
if (library.upgradesScript) {
// Upgrades script should be loaded so the upgrades should be here.
return next({
type: 'scriptMissing',
library: library.name + ' ' + newVersion
});
}
// No upgrades script. Move on
return next(null, params, metadata);
}
// Run upgrade hooks. Start by going through major versions
asyncSerial(H5PUpgrades[library.name], function (major, minors, nextMajor) {
if (major < oldVersion.major || major > newVersion.major) {
// Older than the current version or newer than the selected
nextMajor();
}
else {
// Go through the minor versions for this major version
asyncSerial(minors, function (minor, upgrade, nextMinor) {
minor =+ minor;
if (minor <= oldVersion.minor || minor > newVersion.minor) {
// Older than or equal to the current version or newer than the selected
nextMinor();
}
else {
// We found an upgrade hook, run it
var unnecessaryWrapper = (upgrade.contentUpgrade !== undefined ? upgrade.contentUpgrade : upgrade);
try {
unnecessaryWrapper(params, function (err, upgradedParams, upgradedExtras) {
params = upgradedParams;
if (upgradedExtras && upgradedExtras.metadata) { // Optional
metadata = upgradedExtras.metadata;
}
nextMinor(err);
}, {metadata: metadata});
}
catch (err) {
if (console && console.error) {
console.error("Error", err.stack);
console.error("Error", err.name);
console.error("Error", err.message);
}
next(err);
}
}
}, nextMajor);
}
}, function (err) {
next(err, params, metadata);
});
};
/**
* Process parameter fields to find and upgrade sub-libraries.
*
* @public
* @param {Object} field
* @param {Object} params
* @param {Function} done
*/
ContentUpgradeProcess.prototype.processField = function (field, params, done) {
var self = this;
if (params === undefined || params === null) {
return done();
}
switch (field.type) {
case 'library':
if (params.library === undefined || params.params === undefined) {
return done();
}
// Look for available upgrades
var usedLib = params.library.split(' ', 2);
for (var i = 0; i < field.options.length; i++) {
var availableLib = (typeof field.options[i] === 'string') ? field.options[i].split(' ', 2) : field.options[i].name.split(' ', 2);
if (availableLib[0] === usedLib[0]) {
if (availableLib[1] === usedLib[1]) {
return done(); // Same version
}
// We have different versions
var usedVer = new Version(usedLib[1]);
var availableVer = new Version(availableLib[1]);
if (usedVer.major > availableVer.major || (usedVer.major === availableVer.major && usedVer.minor >= availableVer.minor)) {
return done({
type: 'errorTooHighVersion',
used: usedLib[0] + ' ' + usedVer,
supported: availableLib[0] + ' ' + availableVer
}); // Larger or same version that's available
}
// A newer version is available, upgrade params
return self.upgrade(availableLib[0], usedVer, availableVer, params.params, params.metadata, function (err, upgradedParams, upgradedMetadata) {
if (!err) {
params.library = availableLib[0] + ' ' + availableVer.major + '.' + availableVer.minor;
params.params = upgradedParams;
if (upgradedMetadata) {
params.metadata = upgradedMetadata;
}
}
done(err, params);
});
}
}
// Content type was not supporte by the higher version
done({
type: 'errorNotSupported',
used: usedLib[0] + ' ' + usedVer
});
break;
case 'group':
if (field.fields.length === 1 && field.isSubContent !== true) {
// Single field to process, wrapper will be skipped
self.processField(field.fields[0], params, function (err, upgradedParams) {
if (upgradedParams) {
params = upgradedParams;
}
done(err, params);
});
}
else {
// Go through all fields in the group
asyncSerial(field.fields, function (index, subField, next) {
var paramsToProcess = params ? params[subField.name] : null;
self.processField(subField, paramsToProcess, function (err, upgradedParams) {
if (upgradedParams) {
params[subField.name] = upgradedParams;
}
next(err);
});
}, function (err) {
done(err, params);
});
}
break;
case 'list':
// Go trough all params in the list
asyncSerial(params, function (index, subParams, next) {
self.processField(field.field, subParams, function (err, upgradedParams) {
if (upgradedParams) {
params[index] = upgradedParams;
}
next(err);
});
}, function (err) {
done(err, params);
});
break;
default:
done();
}
};
/**
* Helps process each property on the given object asynchronously in serial order.
*
* @private
* @param {Object} obj
* @param {Function} process
* @param {Function} finished
*/
var asyncSerial = function (obj, process, finished) {
var id, isArray = obj instanceof Array;
// Keep track of each property that belongs to this object.
if (!isArray) {
var ids = [];
for (id in obj) {
if (obj.hasOwnProperty(id)) {
ids.push(id);
}
}
}
var i = -1; // Keeps track of the current property
/**
* Private. Process the next property
*/
var next = function () {
id = isArray ? i : ids[i];
process(id, obj[id], check);
};
/**
* Private. Check if we're done or have an error.
*
* @param {String} err
*/
var check = function (err) {
// We need to use a real async function in order for the stack to clear.
setTimeout(function () {
i++;
if (i === (isArray ? obj.length : ids.length) || (err !== undefined && err !== null)) {
finished(err);
}
else {
next();
}
}, 0);
};
check(); // Start
};
return ContentUpgradeProcess;
})(H5P.Version);

View File

@@ -0,0 +1,63 @@
/* global importScripts */
var H5P = H5P || {};
importScripts('h5p-version.js', 'h5p-content-upgrade-process.js');
var libraryLoadedCallback;
/**
* Register message handlers
*/
var messageHandlers = {
newJob: function (job) {
// Start new job
new H5P.ContentUpgradeProcess(job.name, new H5P.Version(job.oldVersion), new H5P.Version(job.newVersion), job.params, job.id, function loadLibrary(name, version, next) {
// TODO: Cache?
postMessage({
action: 'loadLibrary',
name: name,
version: version.toString()
});
libraryLoadedCallback = next;
}, function done(err, result) {
if (err) {
// Return error
postMessage({
action: 'error',
id: job.id,
err: err.message ? err.message : err
});
return;
}
// Return upgraded content
postMessage({
action: 'done',
id: job.id,
params: result
});
});
},
libraryLoaded: function (data) {
var library = data.library;
if (library.upgradesScript) {
try {
importScripts(library.upgradesScript);
}
catch (err) {
libraryLoadedCallback(err);
return;
}
}
libraryLoadedCallback(null, data.library);
}
};
/**
* Handle messages from our master
*/
onmessage = function (event) {
if (event.data.action !== undefined && messageHandlers[event.data.action]) {
messageHandlers[event.data.action].call(this, event.data);
}
};

View File

@@ -0,0 +1,445 @@
/* global H5PAdminIntegration H5PUtils */
(function ($, Version) {
var info, $log, $container, librariesCache = {}, scriptsCache = {};
// Initialize
$(document).ready(function () {
// Get library info
info = H5PAdminIntegration.libraryInfo;
// Get and reset container
const $wrapper = $('#h5p-admin-container').html('');
$log = $('<ul class="content-upgrade-log"></ul>').appendTo($wrapper);
$container = $('<div><p>' + info.message + '</p></div>').appendTo($wrapper);
// Make it possible to select version
var $version = $(getVersionSelect(info.versions)).appendTo($container);
// Add "go" button
$('<button/>', {
class: 'h5p-admin-upgrade-button',
text: info.buttonLabel,
click: function () {
// Start new content upgrade
new ContentUpgrade($version.val());
}
}).appendTo($container);
});
/**
* Generate html for version select.
*
* @param {Object} versions
* @returns {String}
*/
var getVersionSelect = function (versions) {
var html = '';
for (var id in versions) {
html += '<option value="' + id + '">' + versions[id] + '</option>';
}
if (html !== '') {
html = '<select>' + html + '</select>';
return html;
}
};
/**
* Displays a throbber in the status field.
*
* @param {String} msg
* @returns {_L1.Throbber}
*/
function Throbber(msg) {
var $throbber = H5PUtils.throbber(msg);
$container.html('').append($throbber);
/**
* Makes it possible to set the progress.
*
* @param {String} progress
*/
this.setProgress = function (progress) {
$throbber.text(msg + ' ' + progress);
};
}
/**
* Start a new content upgrade.
*
* @param {Number} libraryId
* @returns {_L1.ContentUpgrade}
*/
function ContentUpgrade(libraryId) {
var self = this;
// Get selected version
self.version = new Version(info.versions[libraryId]);
self.version.libraryId = libraryId;
// Create throbber with loading text and progress
self.throbber = new Throbber(info.inProgress.replace('%ver', self.version));
self.started = new Date().getTime();
self.io = 0;
// Track number of working
self.working = 0;
var start = function () {
// Get the next batch
self.nextBatch({
libraryId: libraryId,
token: info.token
});
};
if (window.Worker !== undefined) {
// Prepare our workers
self.initWorkers();
start();
}
else {
// No workers, do the job ourselves
self.loadScript(info.scriptBaseUrl + '/h5p-content-upgrade-process.js' + info.buster, start);
}
}
/**
* Initialize workers
*/
ContentUpgrade.prototype.initWorkers = function () {
var self = this;
// Determine number of workers (defaults to 4)
var numWorkers = (window.navigator !== undefined && window.navigator.hardwareConcurrency ? window.navigator.hardwareConcurrency : 4);
self.workers = new Array(numWorkers);
// Register message handlers
var messageHandlers = {
done: function (result) {
self.workDone(result.id, result.params, this);
},
error: function (error) {
self.printError(error.err);
self.workDone(error.id, null, this);
},
loadLibrary: function (details) {
var worker = this;
self.loadLibrary(details.name, new Version(details.version), function (err, library) {
if (err) {
// Reset worker?
return;
}
worker.postMessage({
action: 'libraryLoaded',
library: library
});
});
}
};
for (var i = 0; i < numWorkers; i++) {
self.workers[i] = new Worker(info.scriptBaseUrl + '/h5p-content-upgrade-worker.js' + info.buster);
self.workers[i].onmessage = function (event) {
if (event.data.action !== undefined && messageHandlers[event.data.action]) {
messageHandlers[event.data.action].call(this, event.data);
}
};
}
};
/**
* Get the next batch and start processing it.
*
* @param {Object} outData
*/
ContentUpgrade.prototype.nextBatch = function (outData) {
var self = this;
// Track time spent on IO
var start = new Date().getTime();
$.post(info.infoUrl, outData, function (inData) {
self.io += new Date().getTime() - start;
if (!(inData instanceof Object)) {
// Print errors from backend
return self.setStatus(inData);
}
if (inData.left === 0) {
var total = new Date().getTime() - self.started;
if (window.console && console.log) {
console.log('The upgrade process took ' + (total / 1000) + ' seconds. (' + (Math.round((self.io / (total / 100)) * 100) / 100) + ' % IO)' );
}
// Terminate workers
self.terminate();
// Nothing left to process
return self.setStatus(info.done);
}
self.left = inData.left;
self.token = inData.token;
// Start processing
self.processBatch(inData.params, inData.skipped);
});
};
/**
* Set current status message.
*
* @param {String} msg
*/
ContentUpgrade.prototype.setStatus = function (msg) {
$container.html(msg);
};
/**
* Process the given parameters.
*
* @param {Object} parameters
*/
ContentUpgrade.prototype.processBatch = function (parameters, skipped) {
var self = this;
// Track upgraded params
self.upgraded = {};
self.skipped = skipped;
// Track current batch
self.parameters = parameters;
// Create id mapping
self.ids = [];
for (var id in parameters) {
if (parameters.hasOwnProperty(id)) {
self.ids.push(id);
}
}
// Keep track of current content
self.current = -1;
if (self.workers !== undefined) {
// Assign each worker content to upgrade
for (var i = 0; i < self.workers.length; i++) {
self.assignWork(self.workers[i]);
}
}
else {
self.assignWork();
}
};
/**
*
*/
ContentUpgrade.prototype.assignWork = function (worker) {
var self = this;
var id = self.ids[self.current + 1];
if (id === undefined) {
return false; // Out of work
}
self.current++;
self.working++;
if (worker) {
worker.postMessage({
action: 'newJob',
id: id,
name: info.library.name,
oldVersion: info.library.version,
newVersion: self.version.toString(),
params: self.parameters[id]
});
}
else {
new H5P.ContentUpgradeProcess(info.library.name, new Version(info.library.version), self.version, self.parameters[id], id, function loadLibrary(name, version, next) {
self.loadLibrary(name, version, function (err, library) {
if (library.upgradesScript) {
self.loadScript(library.upgradesScript, function (err) {
if (err) {
err = info.errorScript.replace('%lib', name + ' ' + version);
}
next(err, library);
});
}
else {
next(null, library);
}
});
}, function done(err, result) {
if (err) {
self.printError(err);
result = null;
}
self.workDone(id, result);
});
}
};
/**
*
*/
ContentUpgrade.prototype.workDone = function (id, result, worker) {
var self = this;
self.working--;
if (result === null) {
self.skipped.push(id);
}
else {
self.upgraded[id] = result;
}
// Update progress message
self.throbber.setProgress(Math.round((info.total - self.left + self.current) / (info.total / 100)) + ' %');
// Assign next job
if (self.assignWork(worker) === false && self.working === 0) {
// All workers have finsihed.
self.nextBatch({
libraryId: self.version.libraryId,
token: self.token,
skipped: JSON.stringify(self.skipped),
params: JSON.stringify(self.upgraded)
});
}
};
/**
*
*/
ContentUpgrade.prototype.terminate = function () {
var self = this;
if (self.workers) {
// Stop all workers
for (var i = 0; i < self.workers.length; i++) {
self.workers[i].terminate();
}
}
};
var librariesLoadedCallbacks = {};
/**
* Load library data needed for content upgrade.
*
* @param {String} name
* @param {Version} version
* @param {Function} next
*/
ContentUpgrade.prototype.loadLibrary = function (name, version, next) {
var self = this;
var key = name + '/' + version.major + '/' + version.minor;
if (librariesCache[key] === true) {
// Library is being loaded, que callback
if (librariesLoadedCallbacks[key] === undefined) {
librariesLoadedCallbacks[key] = [next];
return;
}
librariesLoadedCallbacks[key].push(next);
return;
}
else if (librariesCache[key] !== undefined) {
// Library has been loaded before. Return cache.
next(null, librariesCache[key]);
return;
}
// Track time spent loading
var start = new Date().getTime();
librariesCache[key] = true;
$.ajax({
dataType: 'json',
cache: true,
url: info.libraryBaseUrl + '/' + key
}).fail(function () {
self.io += new Date().getTime() - start;
next(info.errorData.replace('%lib', name + ' ' + version));
}).done(function (library) {
self.io += new Date().getTime() - start;
librariesCache[key] = library;
next(null, library);
if (librariesLoadedCallbacks[key] !== undefined) {
for (var i = 0; i < librariesLoadedCallbacks[key].length; i++) {
librariesLoadedCallbacks[key][i](null, library);
}
}
delete librariesLoadedCallbacks[key];
});
};
/**
* Load script with upgrade hooks.
*
* @param {String} url
* @param {Function} next
*/
ContentUpgrade.prototype.loadScript = function (url, next) {
var self = this;
if (scriptsCache[url] !== undefined) {
next();
return;
}
// Track time spent loading
var start = new Date().getTime();
$.ajax({
dataType: 'script',
cache: true,
url: url
}).fail(function () {
self.io += new Date().getTime() - start;
next(true);
}).done(function () {
scriptsCache[url] = true;
self.io += new Date().getTime() - start;
next();
});
};
/**
*
*/
ContentUpgrade.prototype.printError = function (error) {
var self = this;
switch (error.type) {
case 'errorParamsBroken':
error = info.errorContent.replace('%id', error.id) + ' ' + info.errorParamsBroken;
break;
case 'libraryMissing':
error = info.errorLibrary.replace('%lib', error.library);
break;
case 'scriptMissing':
error = info.errorScript.replace('%lib', error.library);
break;
case 'errorTooHighVersion':
error = info.errorContent.replace('%id', error.id) + ' ' + info.errorTooHighVersion.replace('%used', error.used).replace('%supported', error.supported);
break;
case 'errorNotSupported':
error = info.errorContent.replace('%id', error.id) + ' ' + info.errorNotSupported.replace('%used', error.used);
break;
}
$('<li>' + info.error + '<br/>' + error + '</li>').appendTo($log);
};
})(H5P.jQuery, H5P.Version);

442
vendor/h5p/h5p-core/js/h5p-data-view.js vendored Normal file
View File

@@ -0,0 +1,442 @@
/* global H5PUtils */
var H5PDataView = (function ($) {
/**
* Initialize a new H5P data view.
*
* @class
* @param {Object} container
* Element to clear out and append to.
* @param {String} source
* URL to get data from. Data format: {num: 123, rows:[[1,2,3],[2,4,6]]}
* @param {Array} headers
* List with column headers. Can be strings or objects with options like
* "text" and "sortable". E.g.
* [{text: 'Col 1', sortable: true}, 'Col 2', 'Col 3']
* @param {Object} l10n
* Localization / translations. e.g.
* {
* loading: 'Loading data.',
* ajaxFailed: 'Failed to load data.',
* noData: "There's no data available that matches your criteria.",
* currentPage: 'Page $current of $total',
* nextPage: 'Next page',
* previousPage: 'Previous page',
* search: 'Search'
* }
* @param {Object} classes
* Custom html classes to use on elements.
* e.g. {tableClass: 'fixed'}.
* @param {Array} filters
* Make it possible to filter/search in the given column.
* e.g. [null, true, null, null] will make it possible to do a text
* search in column 2.
* @param {Function} loaded
* Callback for when data has been loaded.
* @param {Object} order
*/
function H5PDataView(container, source, headers, l10n, classes, filters, loaded, order) {
var self = this;
self.$container = $(container).addClass('h5p-data-view').html('');
self.source = source;
self.headers = headers;
self.l10n = l10n;
self.classes = (classes === undefined ? {} : classes);
self.filters = (filters === undefined ? [] : filters);
self.loaded = loaded;
self.order = order;
self.limit = 20;
self.offset = 0;
self.filterOn = [];
self.facets = {};
// Index of column with author name; could be made more general by passing database column names and checking for position
self.columnIdAuthor = 2;
// Future option: Create more general solution for filter presets
if (H5PIntegration.user && parseInt(H5PIntegration.user.canToggleViewOthersH5PContents) === 1) {
self.updateTable([]);
self.filterByFacet(self.columnIdAuthor, H5PIntegration.user.id, H5PIntegration.user.name || '');
}
else {
self.loadData();
}
}
/**
* Load data from source URL.
*/
H5PDataView.prototype.loadData = function () {
var self = this;
// Throbb
self.setMessage(H5PUtils.throbber(self.l10n.loading));
// Create URL
var url = self.source;
url += (url.indexOf('?') === -1 ? '?' : '&') + 'offset=' + self.offset + '&limit=' + self.limit;
// Add sorting
if (self.order !== undefined) {
url += '&sortBy=' + self.order.by + '&sortDir=' + self.order.dir;
}
// Add filters
var filtering;
for (var i = 0; i < self.filterOn.length; i++) {
if (self.filterOn[i] === undefined) {
continue;
}
filtering = true;
url += '&filters[' + i + ']=' + encodeURIComponent(self.filterOn[i]);
}
// Add facets
for (var col in self.facets) {
if (!self.facets.hasOwnProperty(col)) {
continue;
}
url += '&facets[' + col + ']=' + self.facets[col].id;
}
// Fire ajax request
$.ajax({
dataType: 'json',
cache: true,
url: url
}).fail(function () {
// Error handling
self.setMessage($('<p/>', {text: self.l10n.ajaxFailed}));
}).done(function (data) {
if (!data.rows.length) {
self.setMessage($('<p/>', {text: filtering ? self.l10n.noData : self.l10n.empty}));
}
else {
// Update table data
self.updateTable(data.rows);
}
// Update pagination widget
self.updatePagination(data.num);
if (self.loaded !== undefined) {
self.loaded();
}
});
};
/**
* Display the given message to the user.
*
* @param {jQuery} $message wrapper with message
*/
H5PDataView.prototype.setMessage = function ($message) {
var self = this;
if (self.table === undefined) {
self.$container.html('').append($message);
}
else {
self.table.setBody($message);
}
};
/**
* Update table data.
*
* @param {Array} rows
*/
H5PDataView.prototype.updateTable = function (rows) {
var self = this;
if (self.table === undefined) {
// Clear out container
self.$container.html('');
// Add filters
self.addFilters();
// Add toggler for others' content
if (H5PIntegration.user && parseInt(H5PIntegration.user.canToggleViewOthersH5PContents) > 0) {
// canToggleViewOthersH5PContents = 1 is setting for only showing current user's contents
self.addOthersContentToggler(parseInt(H5PIntegration.user.canToggleViewOthersH5PContents) === 1);
}
// Add facets
self.$facets = $('<div/>', {
'class': 'h5p-facet-wrapper',
appendTo: self.$container
});
// Create new table
self.table = new H5PUtils.Table(self.classes, self.headers);
self.table.setHeaders(self.headers, function (order) {
// Sorting column or direction has changed.
self.order = order;
self.loadData();
}, self.order);
self.table.appendTo(self.$container);
}
// Process cell data before updating table
for (var i = 0; i < self.headers.length; i++) {
if (self.headers[i].facet === true) {
// Process rows for col, expect object or array
for (var j = 0; j < rows.length; j++) {
rows[j][i] = self.createFacets(rows[j][i], i);
}
}
}
// Add/update rows
var $tbody = self.table.setRows(rows);
// Add event handlers for facets
$('.h5p-facet', $tbody).click(function () {
var $facet = $(this);
self.filterByFacet($facet.data('col'), $facet.data('id'), $facet.text());
}).keypress(function (event) {
if (event.which === 32) {
var $facet = $(this);
self.filterByFacet($facet.data('col'), $facet.data('id'), $facet.text());
}
});
};
/**
* Create button for adding facet to filter.
*
* @param (object|Array) input
* @param number col ID of column
*/
H5PDataView.prototype.createFacets = function (input, col) {
var facets = '';
if (input instanceof Array) {
// Facet can be filtered on multiple values at the same time
for (var i = 0; i < input.length; i++) {
if (facets !== '') {
facets += ', ';
}
facets += '<span class="h5p-facet" role="button" tabindex="0" data-id="' + input[i].id + '" data-col="' + col + '">' + input[i].title + '</span>';
}
}
else {
// Single value facet filtering
facets += '<span class="h5p-facet" role="button" tabindex="0" data-id="' + input.id + '" data-col="' + col + '">' + input.title + '</span>';
}
return facets === '' ? '—' : facets;
};
/**
* Adds a filter based on the given facet.
*
* @param number col ID of column we're filtering
* @param number id ID to filter on
* @param string text Human readable label for the filter
*/
H5PDataView.prototype.filterByFacet = function (col, id, text) {
var self = this;
if (self.facets[col] !== undefined) {
if (self.facets[col].id === id) {
return; // Don't use the same filter again
}
// Remove current filter for this col
self.facets[col].$tag.remove();
}
// Add to UI
self.facets[col] = {
id: id,
'$tag': $('<span/>', {
'class': 'h5p-facet-tag',
text: text,
appendTo: self.$facets,
})
};
/**
* Callback for removing filter.
*
* @private
*/
var remove = function () {
// Uncheck toggler for others' H5P contents
if ( self.$othersContentToggler && self.facets.hasOwnProperty( self.columnIdAuthor ) ) {
self.$othersContentToggler.prop('checked', false );
}
self.facets[col].$tag.remove();
delete self.facets[col];
self.loadData();
};
// Remove button
$('<span/>', {
role: 'button',
tabindex: 0,
appendTo: self.facets[col].$tag,
text: self.l10n.remove,
title: self.l10n.remove,
on: {
click: remove,
keypress: function (event) {
if (event.which === 32) {
remove();
}
}
}
});
// Load data with new filter
self.loadData();
};
/**
* Update pagination widget.
*
* @param {Number} num size of data collection
*/
H5PDataView.prototype.updatePagination = function (num) {
var self = this;
if (self.pagination === undefined) {
if (self.table === undefined) {
// No table, no pagination
return;
}
// Create new widget
var $pagerContainer = $('<div/>', {'class': 'h5p-pagination'});
self.pagination = new H5PUtils.Pagination(num, self.limit, function (offset) {
// Handle page changes in pagination widget
self.offset = offset;
self.loadData();
}, self.l10n);
self.pagination.appendTo($pagerContainer);
self.table.setFoot($pagerContainer);
}
else {
// Update existing widget
self.pagination.update(num, self.limit);
}
};
/**
* Add filters.
*/
H5PDataView.prototype.addFilters = function () {
var self = this;
for (var i = 0; i < self.filters.length; i++) {
if (self.filters[i] === true) {
// Add text input filter for col i
self.addTextFilter(i);
}
}
};
/**
* Add text filter for given col num.
*
* @param {Number} col
*/
H5PDataView.prototype.addTextFilter = function (col) {
var self = this;
/**
* Find input value and filter on it.
* @private
*/
var search = function () {
var filterOn = $input.val().replace(/^\s+|\s+$/g, '');
if (filterOn === '') {
filterOn = undefined;
}
if (filterOn !== self.filterOn[col]) {
self.filterOn[col] = filterOn;
self.loadData();
}
};
// Add text field for filtering
var typing;
var $input = $('<input/>', {
type: 'text',
placeholder: self.l10n.search,
on: {
'blur': function () {
clearTimeout(typing);
search();
},
'keyup': function (event) {
if (event.keyCode === 13) {
clearTimeout(typing);
search();
return false;
}
else {
clearTimeout(typing);
typing = setTimeout(function () {
search();
}, 500);
}
}
}
}).appendTo(self.$container);
};
/**
* Add toggle for others' H5P content.
* @param {boolean} [checked=false] Initial check setting.
*/
H5PDataView.prototype.addOthersContentToggler = function (checked) {
var self = this;
checked = (typeof checked === 'undefined') ? false : checked;
// Checkbox
this.$othersContentToggler = $('<input/>', {
type: 'checkbox',
'class': 'h5p-others-contents-toggler',
'id': 'h5p-others-contents-toggler',
'checked': checked,
'click': function () {
if ( this.checked ) {
// Add filter on current user
self.filterByFacet( self.columnIdAuthor, H5PIntegration.user.id, H5PIntegration.user.name );
}
else {
// Remove facet indicator and reload full data view
if ( self.facets.hasOwnProperty( self.columnIdAuthor ) && self.facets[self.columnIdAuthor].$tag ) {
self.facets[self.columnIdAuthor].$tag.remove();
}
delete self.facets[self.columnIdAuthor];
self.loadData();
}
}
});
// Label
var $label = $('<label>', {
'class': 'h5p-others-contents-toggler-label',
'text': this.l10n.showOwnContentOnly,
'for': 'h5p-others-contents-toggler'
}).prepend(this.$othersContentToggler);
$('<div>', {
'class': 'h5p-others-contents-toggler-wrapper'
}).append($label)
.appendTo(this.$container);
};
return H5PDataView;
})(H5P.jQuery);

View File

@@ -0,0 +1,54 @@
/**
* Utility that makes it possible to hide fields when a checkbox is unchecked
*/
(function ($) {
function setupHiding() {
var $toggler = $(this);
// Getting the field which should be hidden:
var $subject = $($toggler.data('h5p-visibility-subject-selector'));
var toggle = function () {
$subject.toggle($toggler.is(':checked'));
};
$toggler.change(toggle);
toggle();
}
function setupRevealing() {
var $button = $(this);
// Getting the field which should have the value:
var $input = $('#' + $button.data('control'));
if (!$input.data('value')) {
$button.remove();
return;
}
// Setup button action
var revealed = false;
var text = $button.html();
$button.click(function () {
if (revealed) {
$input.val('');
$button.html(text);
revealed = false;
}
else {
$input.val($input.data('value'));
$button.html($button.data('hide'));
revealed = true;
}
});
}
$(document).ready(function () {
// Get the checkboxes making other fields being hidden:
$('.h5p-visibility-toggler').each(setupHiding);
// Get the buttons making other fields have hidden values:
$('.h5p-reveal-value').each(setupRevealing);
});
})(H5P.jQuery);

75
vendor/h5p/h5p-core/js/h5p-embed.js vendored Normal file
View File

@@ -0,0 +1,75 @@
/*jshint multistr: true */
/**
* Converts old script tag embed to iframe
*/
var H5POldEmbed = H5POldEmbed || (function () {
var head = document.getElementsByTagName('head')[0];
var resizer = false;
/**
* Loads the resizing script
*/
var loadResizer = function (url) {
var data, callback = 'H5POldEmbed';
resizer = true;
// Callback for when content data is loaded.
window[callback] = function (content) {
// Add resizing script to head
var resizer = document.createElement('script');
resizer.src = content;
head.appendChild(resizer);
// Clean up
head.removeChild(data);
delete window[callback];
};
// Create data script
data = document.createElement('script');
data.src = url + (url.indexOf('?') === -1 ? '?' : '&') + 'callback=' + callback;
head.appendChild(data);
};
/**
* Replaced script tag with iframe
*/
var addIframe = function (script) {
// Add iframe
var iframe = document.createElement('iframe');
iframe.src = script.getAttribute('data-h5p');
iframe.frameBorder = false;
iframe.allowFullscreen = true;
var parent = script.parentNode;
parent.insertBefore(iframe, script);
parent.removeChild(script);
};
/**
* Go throught all script tags with the data-h5p attribute and load content.
*/
function H5POldEmbed() {
var scripts = document.getElementsByTagName('script');
var h5ps = []; // Use seperate array since scripts grow in size.
for (var i = 0; i < scripts.length; i++) {
var script = scripts[i];
if (script.src.indexOf('/h5p-resizer.js') !== -1) {
resizer = true;
}
else if (script.hasAttribute('data-h5p')) {
h5ps.push(script);
}
}
for (i = 0; i < h5ps.length; i++) {
if (!resizer) {
loadResizer(h5ps[i].getAttribute('data-h5p'));
}
addIframe(h5ps[i]);
}
}
return H5POldEmbed;
})();
new H5POldEmbed();

View File

@@ -0,0 +1,258 @@
var H5P = window.H5P = window.H5P || {};
/**
* The Event class for the EventDispatcher.
*
* @class
* @param {string} type
* @param {*} data
* @param {Object} [extras]
* @param {boolean} [extras.bubbles]
* @param {boolean} [extras.external]
*/
H5P.Event = function (type, data, extras) {
this.type = type;
this.data = data;
var bubbles = false;
// Is this an external event?
var external = false;
// Is this event scheduled to be sent externally?
var scheduledForExternal = false;
if (extras === undefined) {
extras = {};
}
if (extras.bubbles === true) {
bubbles = true;
}
if (extras.external === true) {
external = true;
}
/**
* Prevent this event from bubbling up to parent
*/
this.preventBubbling = function () {
bubbles = false;
};
/**
* Get bubbling status
*
* @returns {boolean}
* true if bubbling false otherwise
*/
this.getBubbles = function () {
return bubbles;
};
/**
* Try to schedule an event for externalDispatcher
*
* @returns {boolean}
* true if external and not already scheduled, otherwise false
*/
this.scheduleForExternal = function () {
if (external && !scheduledForExternal) {
scheduledForExternal = true;
return true;
}
return false;
};
};
/**
* Callback type for event listeners.
*
* @callback H5P.EventCallback
* @param {H5P.Event} event
*/
H5P.EventDispatcher = (function () {
/**
* The base of the event system.
* Inherit this class if you want your H5P to dispatch events.
*
* @class
* @memberof H5P
*/
function EventDispatcher() {
var self = this;
/**
* Keep track of listeners for each event.
*
* @private
* @type {Object}
*/
var triggers = {};
/**
* Add new event listener.
*
* @throws {TypeError}
* listener must be a function
* @param {string} type
* Event type
* @param {H5P.EventCallback} listener
* Event listener
* @param {Object} [thisArg]
* Optionally specify the this value when calling listener.
*/
this.on = function (type, listener, thisArg) {
if (typeof listener !== 'function') {
throw TypeError('listener must be a function');
}
// Trigger event before adding to avoid recursion
self.trigger('newListener', {'type': type, 'listener': listener});
var trigger = {'listener': listener, 'thisArg': thisArg};
if (!triggers[type]) {
// First
triggers[type] = [trigger];
}
else {
// Append
triggers[type].push(trigger);
}
};
/**
* Add new event listener that will be fired only once.
*
* @throws {TypeError}
* listener must be a function
* @param {string} type
* Event type
* @param {H5P.EventCallback} listener
* Event listener
* @param {Object} thisArg
* Optionally specify the this value when calling listener.
*/
this.once = function (type, listener, thisArg) {
if (!(listener instanceof Function)) {
throw TypeError('listener must be a function');
}
var once = function (event) {
self.off(event.type, once);
listener.call(this, event);
};
self.on(type, once, thisArg);
};
/**
* Remove event listener.
* If no listener is specified, all listeners will be removed.
*
* @throws {TypeError}
* listener must be a function
* @param {string} type
* Event type
* @param {H5P.EventCallback} listener
* Event listener
*/
this.off = function (type, listener) {
if (listener !== undefined && !(listener instanceof Function)) {
throw TypeError('listener must be a function');
}
if (triggers[type] === undefined) {
return;
}
if (listener === undefined) {
// Remove all listeners
delete triggers[type];
self.trigger('removeListener', type);
return;
}
// Find specific listener
for (var i = 0; i < triggers[type].length; i++) {
if (triggers[type][i].listener === listener) {
triggers[type].splice(i, 1);
self.trigger('removeListener', type, {'listener': listener});
break;
}
}
// Clean up empty arrays
if (!triggers[type].length) {
delete triggers[type];
}
};
/**
* Try to call all event listeners for the given event type.
*
* @private
* @param {string} Event type
*/
var call = function (type, event) {
if (triggers[type] === undefined) {
return;
}
// Clone array (prevents triggers from being modified during the event)
var handlers = triggers[type].slice();
// Call all listeners
for (var i = 0; i < handlers.length; i++) {
var trigger = handlers[i];
var thisArg = (trigger.thisArg ? trigger.thisArg : this);
trigger.listener.call(thisArg, event);
}
};
/**
* Dispatch event.
*
* @param {string|H5P.Event} event
* Event object or event type as string
* @param {*} [eventData]
* Custom event data(used when event type as string is used as first
* argument).
* @param {Object} [extras]
* @param {boolean} [extras.bubbles]
* @param {boolean} [extras.external]
*/
this.trigger = function (event, eventData, extras) {
if (event === undefined) {
return;
}
if (event instanceof String || typeof event === 'string') {
event = new H5P.Event(event, eventData, extras);
}
else if (eventData !== undefined) {
event.data = eventData;
}
// Check to see if this event should go externally after all triggering and bubbling is done
var scheduledForExternal = event.scheduleForExternal();
// Call all listeners
call.call(this, event.type, event);
// Call all * listeners
call.call(this, '*', event);
// Bubble
if (event.getBubbles() && self.parent instanceof H5P.EventDispatcher &&
(self.parent.trigger instanceof Function || typeof self.parent.trigger === 'function')) {
self.parent.trigger(event);
}
if (scheduledForExternal) {
H5P.externalDispatcher.trigger.call(this, event);
}
};
}
return EventDispatcher;
})();

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,297 @@
/* global H5PAdminIntegration H5PUtils */
var H5PLibraryDetails = H5PLibraryDetails || {};
(function ($) {
H5PLibraryDetails.PAGER_SIZE = 20;
/**
* Initializing
*/
H5PLibraryDetails.init = function () {
H5PLibraryDetails.$adminContainer = H5P.jQuery(H5PAdminIntegration.containerSelector);
H5PLibraryDetails.library = H5PAdminIntegration.libraryInfo;
// currentContent holds the current list if data (relevant for filtering)
H5PLibraryDetails.currentContent = H5PLibraryDetails.library.content;
// The current page index (for pager)
H5PLibraryDetails.currentPage = 0;
// The current filter
H5PLibraryDetails.currentFilter = '';
// We cache the filtered results, so we don't have to do unneccessary searches
H5PLibraryDetails.filterCache = [];
// Append library info
H5PLibraryDetails.$adminContainer.append(H5PLibraryDetails.createLibraryInfo());
// Append node list
H5PLibraryDetails.$adminContainer.append(H5PLibraryDetails.createContentElement());
};
/**
* Create the library details view
*/
H5PLibraryDetails.createLibraryInfo = function () {
var $libraryInfo = $('<div class="h5p-library-info"></div>');
$.each(H5PLibraryDetails.library.info, function (title, value) {
$libraryInfo.append(H5PUtils.createLabeledField(title, value));
});
return $libraryInfo;
};
/**
* Create the content list with searching and paging
*/
H5PLibraryDetails.createContentElement = function () {
if (H5PLibraryDetails.library.notCached !== undefined) {
return H5PUtils.getRebuildCache(H5PLibraryDetails.library.notCached);
}
if (H5PLibraryDetails.currentContent === undefined) {
H5PLibraryDetails.$content = $('<div class="h5p-content empty">' + H5PLibraryDetails.library.translations.noContent + '</div>');
}
else {
H5PLibraryDetails.$content = $('<div class="h5p-content"><h3>' + H5PLibraryDetails.library.translations.contentHeader + '</h3></div>');
H5PLibraryDetails.createSearchElement();
H5PLibraryDetails.createPageSizeSelector();
H5PLibraryDetails.createContentTable();
H5PLibraryDetails.createPagerElement();
return H5PLibraryDetails.$content;
}
};
/**
* Creates the content list
*/
H5PLibraryDetails.createContentTable = function () {
// Remove it if it exists:
if (H5PLibraryDetails.$contentTable) {
H5PLibraryDetails.$contentTable.remove();
}
H5PLibraryDetails.$contentTable = H5PUtils.createTable();
var i = (H5PLibraryDetails.currentPage*H5PLibraryDetails.PAGER_SIZE);
var lastIndex = (i+H5PLibraryDetails.PAGER_SIZE);
if (lastIndex > H5PLibraryDetails.currentContent.length) {
lastIndex = H5PLibraryDetails.currentContent.length;
}
for (; i<lastIndex; i++) {
var content = H5PLibraryDetails.currentContent[i];
H5PLibraryDetails.$contentTable.append(H5PUtils.createTableRow(['<a href="' + content.url + '">' + content.title + '</a>']));
}
// Appends it to the browser DOM
H5PLibraryDetails.$contentTable.insertAfter(H5PLibraryDetails.$search);
};
/**
* Creates the pager element on the bottom of the list
*/
H5PLibraryDetails.createPagerElement = function () {
H5PLibraryDetails.$previous = $('<button type="button" class="previous h5p-admin"><</button>');
H5PLibraryDetails.$next = $('<button type="button" class="next h5p-admin">></button>');
H5PLibraryDetails.$previous.on('click', function () {
if (H5PLibraryDetails.$previous.hasClass('disabled')) {
return;
}
H5PLibraryDetails.currentPage--;
H5PLibraryDetails.updatePager();
H5PLibraryDetails.createContentTable();
});
H5PLibraryDetails.$next.on('click', function () {
if (H5PLibraryDetails.$next.hasClass('disabled')) {
return;
}
H5PLibraryDetails.currentPage++;
H5PLibraryDetails.updatePager();
H5PLibraryDetails.createContentTable();
});
// This is the Page x of y widget:
H5PLibraryDetails.$pagerInfo = $('<span class="pager-info"></span>');
H5PLibraryDetails.$pager = $('<div class="h5p-content-pager"></div>').append(H5PLibraryDetails.$previous, H5PLibraryDetails.$pagerInfo, H5PLibraryDetails.$next);
H5PLibraryDetails.$content.append(H5PLibraryDetails.$pager);
H5PLibraryDetails.$pagerInfo.on('click', function () {
var width = H5PLibraryDetails.$pagerInfo.innerWidth();
H5PLibraryDetails.$pagerInfo.hide();
// User has updated the pageNumber
var pageNumerUpdated = function () {
var newPageNum = $gotoInput.val()-1;
var intRegex = /^\d+$/;
$goto.remove();
H5PLibraryDetails.$pagerInfo.css({display: 'inline-block'});
// Check if input value is valid, and that it has actually changed
if (!(intRegex.test(newPageNum) && newPageNum >= 0 && newPageNum < H5PLibraryDetails.getNumPages() && newPageNum != H5PLibraryDetails.currentPage)) {
return;
}
H5PLibraryDetails.currentPage = newPageNum;
H5PLibraryDetails.updatePager();
H5PLibraryDetails.createContentTable();
};
// We create an input box where the user may type in the page number
// he wants to be displayed.
// Reson for doing this is when user has ten-thousands of elements in list,
// this is the easiest way of getting to a specified page
var $gotoInput = $('<input/>', {
type: 'number',
min : 1,
max: H5PLibraryDetails.getNumPages(),
on: {
// Listen to blur, and the enter-key:
'blur': pageNumerUpdated,
'keyup': function (event) {
if (event.keyCode === 13) {
pageNumerUpdated();
}
}
}
}).css({width: width});
var $goto = $('<span/>', {
'class': 'h5p-pager-goto'
}).css({width: width}).append($gotoInput).insertAfter(H5PLibraryDetails.$pagerInfo);
$gotoInput.focus();
});
H5PLibraryDetails.updatePager();
};
/**
* Calculates number of pages
*/
H5PLibraryDetails.getNumPages = function () {
return Math.ceil(H5PLibraryDetails.currentContent.length / H5PLibraryDetails.PAGER_SIZE);
};
/**
* Update the pager text, and enables/disables the next and previous buttons as needed
*/
H5PLibraryDetails.updatePager = function () {
H5PLibraryDetails.$pagerInfo.css({display: 'inline-block'});
if (H5PLibraryDetails.getNumPages() > 0) {
var message = H5PUtils.translateReplace(H5PLibraryDetails.library.translations.pageXOfY, {
'$x': (H5PLibraryDetails.currentPage+1),
'$y': H5PLibraryDetails.getNumPages()
});
H5PLibraryDetails.$pagerInfo.html(message);
}
else {
H5PLibraryDetails.$pagerInfo.html('');
}
H5PLibraryDetails.$previous.toggleClass('disabled', H5PLibraryDetails.currentPage <= 0);
H5PLibraryDetails.$next.toggleClass('disabled', H5PLibraryDetails.currentContent.length < (H5PLibraryDetails.currentPage+1)*H5PLibraryDetails.PAGER_SIZE);
};
/**
* Creates the search element
*/
H5PLibraryDetails.createSearchElement = function () {
H5PLibraryDetails.$search = $('<div class="h5p-content-search"><input placeholder="' + H5PLibraryDetails.library.translations.filterPlaceholder + '" type="search"></div>');
var performSeach = function () {
var searchString = $('.h5p-content-search > input').val();
// If search string same as previous, just do nothing
if (H5PLibraryDetails.currentFilter === searchString) {
return;
}
if (searchString.trim().length === 0) {
// If empty search, use the complete list
H5PLibraryDetails.currentContent = H5PLibraryDetails.library.content;
}
else if (H5PLibraryDetails.filterCache[searchString]) {
// If search is cached, no need to filter
H5PLibraryDetails.currentContent = H5PLibraryDetails.filterCache[searchString];
}
else {
var listToFilter = H5PLibraryDetails.library.content;
// Check if we can filter the already filtered results (for performance)
if (searchString.length > 1 && H5PLibraryDetails.currentFilter === searchString.substr(0, H5PLibraryDetails.currentFilter.length)) {
listToFilter = H5PLibraryDetails.currentContent;
}
H5PLibraryDetails.currentContent = $.grep(listToFilter, function (content) {
return content.title && content.title.match(new RegExp(searchString, 'i'));
});
}
H5PLibraryDetails.currentFilter = searchString;
// Cache the current result
H5PLibraryDetails.filterCache[searchString] = H5PLibraryDetails.currentContent;
H5PLibraryDetails.currentPage = 0;
H5PLibraryDetails.createContentTable();
// Display search results:
if (H5PLibraryDetails.$searchResults) {
H5PLibraryDetails.$searchResults.remove();
}
if (searchString.trim().length > 0) {
H5PLibraryDetails.$searchResults = $('<span class="h5p-admin-search-results">' + H5PLibraryDetails.currentContent.length + ' hits on ' + H5PLibraryDetails.currentFilter + '</span>');
H5PLibraryDetails.$search.append(H5PLibraryDetails.$searchResults);
}
H5PLibraryDetails.updatePager();
};
var inputTimer;
$('input', H5PLibraryDetails.$search).on('change keypress paste input', function () {
// Here we start the filtering
// We wait at least 500 ms after last input to perform search
if (inputTimer) {
clearTimeout(inputTimer);
}
inputTimer = setTimeout( function () {
performSeach();
}, 500);
});
H5PLibraryDetails.$content.append(H5PLibraryDetails.$search);
};
/**
* Creates the page size selector
*/
H5PLibraryDetails.createPageSizeSelector = function () {
H5PLibraryDetails.$search.append('<div class="h5p-admin-pager-size-selector">' + H5PLibraryDetails.library.translations.pageSizeSelectorLabel + ':<span data-page-size="10">10</span><span class="selected" data-page-size="20">20</span><span data-page-size="50">50</span><span data-page-size="100">100</span><span data-page-size="200">200</span></div>');
// Listen to clicks on the page size selector:
$('.h5p-admin-pager-size-selector > span', H5PLibraryDetails.$search).on('click', function () {
H5PLibraryDetails.PAGER_SIZE = $(this).data('page-size');
$('.h5p-admin-pager-size-selector > span', H5PLibraryDetails.$search).removeClass('selected');
$(this).addClass('selected');
H5PLibraryDetails.currentPage = 0;
H5PLibraryDetails.createContentTable();
H5PLibraryDetails.updatePager();
});
};
// Initialize me:
$(document).ready(function () {
if (!H5PLibraryDetails.initialized) {
H5PLibraryDetails.initialized = true;
H5PLibraryDetails.init();
}
});
})(H5P.jQuery);

View File

@@ -0,0 +1,140 @@
/* global H5PAdminIntegration H5PUtils */
var H5PLibraryList = H5PLibraryList || {};
(function ($) {
/**
* Initializing
*/
H5PLibraryList.init = function () {
var $adminContainer = H5P.jQuery(H5PAdminIntegration.containerSelector).html('');
var libraryList = H5PAdminIntegration.libraryList;
if (libraryList.notCached) {
$adminContainer.append(H5PUtils.getRebuildCache(libraryList.notCached));
}
// Create library list
$adminContainer.append(H5PLibraryList.createLibraryList(H5PAdminIntegration.libraryList));
};
/**
* Create the library list
*
* @param {object} libraries List of libraries and headers
*/
H5PLibraryList.createLibraryList = function (libraries) {
var t = H5PAdminIntegration.l10n;
if (libraries.listData === undefined || libraries.listData.length === 0) {
return $('<div>' + t.NA + '</div>');
}
// Create table
var $table = H5PUtils.createTable(libraries.listHeaders);
$table.addClass('libraries');
// Add libraries
$.each (libraries.listData, function (index, library) {
var $libraryRow = H5PUtils.createTableRow([
library.title,
'<input class="h5p-admin-restricted" type="checkbox"/>',
{
text: library.numContent,
class: 'h5p-admin-center'
},
{
text: library.numContentDependencies,
class: 'h5p-admin-center'
},
{
text: library.numLibraryDependencies,
class: 'h5p-admin-center'
},
'<div class="h5p-admin-buttons-wrapper">' +
'<button class="h5p-admin-upgrade-library"></button>' +
(library.detailsUrl ? '<button class="h5p-admin-view-library" title="' + t.viewLibrary + '"></button>' : '') +
(library.deleteUrl ? '<button class="h5p-admin-delete-library"></button>' : '') +
'</div>'
]);
H5PLibraryList.addRestricted($('.h5p-admin-restricted', $libraryRow), library.restrictedUrl, library.restricted);
var hasContent = !(library.numContent === '' || library.numContent === 0);
if (library.upgradeUrl === null) {
$('.h5p-admin-upgrade-library', $libraryRow).remove();
}
else if (library.upgradeUrl === false || !hasContent) {
$('.h5p-admin-upgrade-library', $libraryRow).attr('disabled', true);
}
else {
$('.h5p-admin-upgrade-library', $libraryRow).attr('title', t.upgradeLibrary).click(function () {
window.location.href = library.upgradeUrl;
});
}
// Open details view when clicked
$('.h5p-admin-view-library', $libraryRow).on('click', function () {
window.location.href = library.detailsUrl;
});
var $deleteButton = $('.h5p-admin-delete-library', $libraryRow);
if (libraries.notCached !== undefined ||
hasContent ||
(library.numContentDependencies !== '' &&
library.numContentDependencies !== 0) ||
(library.numLibraryDependencies !== '' &&
library.numLibraryDependencies !== 0)) {
// Disabled delete if content.
$deleteButton.attr('disabled', true);
}
else {
// Go to delete page om click.
$deleteButton.attr('title', t.deleteLibrary).on('click', function () {
window.location.href = library.deleteUrl;
});
}
$table.append($libraryRow);
});
return $table;
};
H5PLibraryList.addRestricted = function ($checkbox, url, selected) {
if (selected === null) {
$checkbox.remove();
}
else {
$checkbox.change(function () {
$checkbox.attr('disabled', true);
$.ajax({
dataType: 'json',
url: url,
cache: false
}).fail(function () {
$checkbox.attr('disabled', false);
// Reset
$checkbox.attr('checked', !$checkbox.is(':checked'));
}).done(function (result) {
url = result.url;
$checkbox.attr('disabled', false);
});
});
if (selected) {
$checkbox.attr('checked', true);
}
}
};
// Initialize me:
$(document).ready(function () {
if (!H5PLibraryList.initialized) {
H5PLibraryList.initialized = true;
H5PLibraryList.init();
}
});
})(H5P.jQuery);

131
vendor/h5p/h5p-core/js/h5p-resizer.js vendored Normal file
View File

@@ -0,0 +1,131 @@
// H5P iframe Resizer
(function () {
if (!window.postMessage || !window.addEventListener || window.h5pResizerInitialized) {
return; // Not supported
}
window.h5pResizerInitialized = true;
// Map actions to handlers
var actionHandlers = {};
/**
* Prepare iframe resize.
*
* @private
* @param {Object} iframe Element
* @param {Object} data Payload
* @param {Function} respond Send a response to the iframe
*/
actionHandlers.hello = function (iframe, data, respond) {
// Make iframe responsive
iframe.style.width = '100%';
// Bugfix for Chrome: Force update of iframe width. If this is not done the
// document size may not be updated before the content resizes.
iframe.getBoundingClientRect();
// Tell iframe that it needs to resize when our window resizes
var resize = function () {
if (iframe.contentWindow) {
// Limit resize calls to avoid flickering
respond('resize');
}
else {
// Frame is gone, unregister.
window.removeEventListener('resize', resize);
}
};
window.addEventListener('resize', resize, false);
// Respond to let the iframe know we can resize it
respond('hello');
};
/**
* Prepare iframe resize.
*
* @private
* @param {Object} iframe Element
* @param {Object} data Payload
* @param {Function} respond Send a response to the iframe
*/
actionHandlers.prepareResize = function (iframe, data, respond) {
// Do not resize unless page and scrolling differs
if (iframe.clientHeight !== data.scrollHeight ||
data.scrollHeight !== data.clientHeight) {
// Reset iframe height, in case content has shrinked.
iframe.style.height = data.clientHeight + 'px';
respond('resizePrepared');
}
};
/**
* Resize parent and iframe to desired height.
*
* @private
* @param {Object} iframe Element
* @param {Object} data Payload
* @param {Function} respond Send a response to the iframe
*/
actionHandlers.resize = function (iframe, data) {
// Resize iframe so all content is visible. Use scrollHeight to make sure we get everything
iframe.style.height = data.scrollHeight + 'px';
};
/**
* Keyup event handler. Exits full screen on escape.
*
* @param {Event} event
*/
var escape = function (event) {
if (event.keyCode === 27) {
exitFullScreen();
}
};
// Listen for messages from iframes
window.addEventListener('message', function receiveMessage(event) {
if (event.data.context !== 'h5p') {
return; // Only handle h5p requests.
}
// Find out who sent the message
var iframe, iframes = document.getElementsByTagName('iframe');
for (var i = 0; i < iframes.length; i++) {
if (iframes[i].contentWindow === event.source) {
iframe = iframes[i];
break;
}
}
if (!iframe) {
return; // Cannot find sender
}
// Find action handler handler
if (actionHandlers[event.data.action]) {
actionHandlers[event.data.action](iframe, event.data, function respond(action, data) {
if (data === undefined) {
data = {};
}
data.action = action;
data.context = 'h5p';
event.source.postMessage(data, event.origin);
});
}
}, false);
// Let h5p iframes know we're ready!
var iframes = document.getElementsByTagName('iframe');
var ready = {
context: 'h5p',
action: 'ready'
};
for (var i = 0; i < iframes.length; i++) {
if (iframes[i].src.indexOf('h5p') !== -1) {
iframes[i].contentWindow.postMessage(ready, '*');
}
}
})();

217
vendor/h5p/h5p-core/js/h5p-tooltip.js vendored Normal file
View File

@@ -0,0 +1,217 @@
/*global H5P*/
H5P.Tooltip = (function () {
'use strict';
/**
* Create an accessible tooltip
*
* @param {HTMLElement} triggeringElement The element that should trigger the tooltip
* @param {Object} options Options for tooltip
* @param {String} options.text The text to be displayed in the tooltip
* If not set, will attempt to set text = aria-label of triggeringElement
* @param {String[]} options.classes Extra css classes for the tooltip
* @param {Boolean} options.ariaHidden Whether the hover should be read by screen readers or not (default: true)
* @param {String} options.position Where the tooltip should appear in relation to the
* triggeringElement. Accepted positions are "top" (default), "left", "right" and "bottom"
*
* @constructor
*/
function Tooltip(triggeringElement, options) {
// Make sure tooltips have unique id
H5P.Tooltip.uniqueId += 1;
const tooltipId = 'h5p-tooltip-' + H5P.Tooltip.uniqueId;
// Default options
options = options || {};
options.classes = options.classes || [];
options.ariaHidden = options.ariaHidden || true;
// Initiate state
let hover = false;
let focus = false;
// Function used by the escape listener
const escapeFunction = function (e) {
if (e.key === 'Escape') {
tooltip.classList.remove('h5p-tooltip-visible');
}
}
// Create element
const tooltip = document.createElement('div');
tooltip.classList.add('h5p-tooltip');
tooltip.id = tooltipId;
tooltip.role = 'tooltip';
tooltip.innerHTML = options.text || triggeringElement.getAttribute('aria-label') || '';
tooltip.setAttribute('aria-hidden', options.ariaHidden);
tooltip.classList.add(...options.classes);
triggeringElement.appendChild(tooltip);
// Set the initial position based on options.position
switch (options.position) {
case 'left':
tooltip.classList.add('h5p-tooltip-left');
break;
case 'right':
tooltip.classList.add('h5p-tooltip-right');
break;
case 'bottom':
tooltip.classList.add('h5p-tooltip-bottom');
break;
default:
options.position = 'top';
}
// Aria-describedby will override aria-hidden
if (!options.ariaHidden) {
triggeringElement.setAttribute('aria-describedby', tooltipId);
}
// Add event listeners to triggeringElement
triggeringElement.addEventListener('mouseenter', function () {
showTooltip(true);
});
triggeringElement.addEventListener('mouseleave', function () {
hideTooltip(true);
});
triggeringElement.addEventListener('focusin', function () {
showTooltip(false);
});
triggeringElement.addEventListener('focusout', function () {
hideTooltip(false);
});
// Prevent clicks on the tooltip from triggering onClick listeners on the triggeringElement
tooltip.addEventListener('click', function (event) {
event.stopPropagation();
});
// Use a mutation observer to listen for aria-label being
// changed for the triggering element. If so, update the tooltip.
// Mutation observer will be used even if the original elements
// doesn't have any aria-label.
new MutationObserver(function (mutations) {
const ariaLabel = mutations[0].target.getAttribute('aria-label');
if (ariaLabel) {
tooltip.innerHTML = options.text || ariaLabel;
}
}).observe(triggeringElement, {
attributes: true,
attributeFilter: ['aria-label'],
});
// Use intersection observer to adjust the tooltip if it is not completely visible
new IntersectionObserver(function (entries) {
entries.forEach((entry) => {
const target = entry.target;
const positionClass = 'h5p-tooltip-' + options.position;
// Stop adjusting when hidden (to prevent a false positive next time)
if (entry.intersectionRatio === 0) {
['h5p-tooltip-down', 'h5p-tooltip-left', 'h5p-tooltip-right']
.forEach(function (adjustmentClass) {
if (adjustmentClass !== positionClass) {
target.classList.remove(adjustmentClass);
}
});
}
// Adjust if not completely visible when meant to be
else if (entry.intersectionRatio < 1 && (hover || focus)) {
const targetRect = entry.boundingClientRect;
const intersectionRect = entry.intersectionRect;
// Going out of screen on left side
if (intersectionRect.left > targetRect.left) {
target.classList.add('h5p-tooltip-right');
target.classList.remove(positionClass);
}
// Going out of screen on right side
else if (intersectionRect.right < targetRect.right) {
target.classList.add('h5p-tooltip-left');
target.classList.remove(positionClass);
}
// going out of top of screen
if (intersectionRect.top > targetRect.top) {
target.classList.add('h5p-tooltip-down');
target.classList.remove(positionClass);
}
// going out of bottom of screen
else if (intersectionRect.bottom < targetRect.bottom) {
target.classList.add('h5p-tooltip-up');
target.classList.remove(positionClass);
}
}
});
}).observe(tooltip);
/**
* Makes the tooltip visible and activates it's functionality
*
* @param {Boolean} triggeredByHover True if triggered by mouse, false if triggered by focus
*/
const showTooltip = function (triggeredByHover) {
if (triggeredByHover) {
hover = true;
}
else {
focus = true;
}
tooltip.classList.add('h5p-tooltip-visible');
// Add listener to iframe body, as esc keypress would not be detected otherwise
document.body.addEventListener('keydown', escapeFunction, true);
}
/**
* Hides the tooltip and removes listeners
*
* @param {Boolean} triggeredByHover True if triggered by mouse, false if triggered by focus
*/
const hideTooltip = function (triggeredByHover) {
if (triggeredByHover) {
hover = false;
}
else {
focus = false;
}
// Only hide tooltip if neither hovered nor focused
if (!hover && !focus) {
tooltip.classList.remove('h5p-tooltip-visible');
// Remove iframe body listener
document.body.removeEventListener('keydown', escapeFunction, true);
}
}
/**
* Change the text displayed by the tooltip
*
* @param {String} text The new text to be displayed
* Set to null to use aria-label of triggeringElement instead
*/
this.setText = function (text) {
options.text = text;
tooltip.innerHTML = options.text || triggeringElement.getAttribute('aria-label') || '';
};
/**
* Retrieve tooltip
*
* @return {HTMLElement}
*/
this.getElement = function () {
return tooltip;
};
}
return Tooltip;
})();
H5P.Tooltip.uniqueId = -1;

506
vendor/h5p/h5p-core/js/h5p-utils.js vendored Normal file
View File

@@ -0,0 +1,506 @@
/* global H5PAdminIntegration*/
var H5PUtils = H5PUtils || {};
(function ($) {
/**
* Generic function for creating a table including the headers
*
* @param {array} headers List of headers
*/
H5PUtils.createTable = function (headers) {
var $table = $('<table class="h5p-admin-table' + (H5PAdminIntegration.extraTableClasses !== undefined ? ' ' + H5PAdminIntegration.extraTableClasses : '') + '"></table>');
if (headers) {
var $thead = $('<thead></thead>');
var $tr = $('<tr></tr>');
$.each(headers, function (index, value) {
if (!(value instanceof Object)) {
value = {
html: value
};
}
$('<th/>', value).appendTo($tr);
});
$table.append($thead.append($tr));
}
return $table;
};
/**
* Generic function for creating a table row
*
* @param {array} rows Value list. Object name is used as class name in <TD>
*/
H5PUtils.createTableRow = function (rows) {
var $tr = $('<tr></tr>');
$.each(rows, function (index, value) {
if (!(value instanceof Object)) {
value = {
html: value
};
}
$('<td/>', value).appendTo($tr);
});
return $tr;
};
/**
* Generic function for creating a field containing label and value
*
* @param {string} label The label displayed in front of the value
* @param {string} value The value
*/
H5PUtils.createLabeledField = function (label, value) {
var $field = $('<div class="h5p-labeled-field"></div>');
$field.append('<div class="h5p-label">' + label + '</div>');
$field.append('<div class="h5p-value">' + value + '</div>');
return $field;
};
/**
* Replaces placeholder fields in translation strings
*
* @param {string} template The translation template string in the following format: "$name is a $sex"
* @param {array} replacors An js object with key and values. Eg: {'$name': 'Frode', '$sex': 'male'}
*/
H5PUtils.translateReplace = function (template, replacors) {
$.each(replacors, function (key, value) {
template = template.replace(new RegExp('\\'+key, 'g'), value);
});
return template;
};
/**
* Get throbber with given text.
*
* @param {String} text
* @returns {$}
*/
H5PUtils.throbber = function (text) {
return $('<div/>', {
class: 'h5p-throbber',
text: text
});
};
/**
* Makes it possbile to rebuild all content caches from admin UI.
* @param {Object} notCached
* @returns {$}
*/
H5PUtils.getRebuildCache = function (notCached) {
var $container = $('<div class="h5p-admin-rebuild-cache"><p class="message">' + notCached.message + '</p><p class="progress">' + notCached.progress + '</p></div>');
var $button = $('<button>' + notCached.button + '</button>').appendTo($container).click(function () {
var $spinner = $('<div/>', {class: 'h5p-spinner'}).replaceAll($button);
var parts = ['|', '/', '-', '\\'];
var current = 0;
var spinning = setInterval(function () {
$spinner.text(parts[current]);
current++;
if (current === parts.length) current = 0;
}, 100);
var $counter = $container.find('.progress');
var build = function () {
$.post(notCached.url, function (left) {
if (left === '0') {
clearInterval(spinning);
$container.remove();
location.reload();
}
else {
var counter = $counter.text().split(' ');
counter[0] = left;
$counter.text(counter.join(' '));
build();
}
});
};
build();
});
return $container;
};
/**
* Generic table class with useful helpers.
*
* @class
* @param {Object} classes
* Custom html classes to use on elements.
* e.g. {tableClass: 'fixed'}.
*/
H5PUtils.Table = function (classes) {
var numCols;
var sortByCol;
var $sortCol;
var sortCol;
var sortDir;
// Create basic table
var tableOptions = {};
if (classes.table !== undefined) {
tableOptions['class'] = classes.table;
}
var $table = $('<table/>', tableOptions);
var $thead = $('<thead/>').appendTo($table);
var $tfoot = $('<tfoot/>').appendTo($table);
var $tbody = $('<tbody/>').appendTo($table);
/**
* Add columns to given table row.
*
* @private
* @param {jQuery} $tr Table row
* @param {(String|Object)} col Column properties
* @param {Number} id Used to seperate the columns
*/
var addCol = function ($tr, col, id) {
var options = {
on: {}
};
if (!(col instanceof Object)) {
options.text = col;
}
else {
if (col.text !== undefined) {
options.text = col.text;
}
if (col.class !== undefined) {
options.class = col.class;
}
if (sortByCol !== undefined && col.sortable === true) {
// Make sortable
options.role = 'button';
options.tabIndex = 0;
// This is the first sortable column, use as default sort
if (sortCol === undefined) {
sortCol = id;
sortDir = 0;
}
// This is the sort column
if (sortCol === id) {
options['class'] = 'h5p-sort';
if (sortDir === 1) {
options['class'] += ' h5p-reverse';
}
}
options.on.click = function () {
sort($th, id);
};
options.on.keypress = function (event) {
if ((event.charCode || event.keyCode) === 32) { // Space
sort($th, id);
}
};
}
}
// Append
var $th = $('<th>', options).appendTo($tr);
if (sortCol === id) {
$sortCol = $th; // Default sort column
}
};
/**
* Updates the UI when a column header has been clicked.
* Triggers sorting callback.
*
* @private
* @param {jQuery} $th Table header
* @param {Number} id Used to seperate the columns
*/
var sort = function ($th, id) {
if (id === sortCol) {
// Change sorting direction
if (sortDir === 0) {
sortDir = 1;
$th.addClass('h5p-reverse');
}
else {
sortDir = 0;
$th.removeClass('h5p-reverse');
}
}
else {
// Change sorting column
$sortCol.removeClass('h5p-sort').removeClass('h5p-reverse');
$sortCol = $th.addClass('h5p-sort');
sortCol = id;
sortDir = 0;
}
sortByCol({
by: sortCol,
dir: sortDir
});
};
/**
* Set table headers.
*
* @public
* @param {Array} cols
* Table header data. Can be strings or objects with options like
* "text" and "sortable". E.g.
* [{text: 'Col 1', sortable: true}, 'Col 2', 'Col 3']
* @param {Function} sort Callback which is runned when sorting changes
* @param {Object} [order]
*/
this.setHeaders = function (cols, sort, order) {
numCols = cols.length;
sortByCol = sort;
if (order) {
sortCol = order.by;
sortDir = order.dir;
}
// Create new head
var $newThead = $('<thead/>');
var $tr = $('<tr/>').appendTo($newThead);
for (var i = 0; i < cols.length; i++) {
addCol($tr, cols[i], i);
}
// Update DOM
$thead.replaceWith($newThead);
$thead = $newThead;
};
/**
* Set table rows.
*
* @public
* @param {Array} rows Table rows with cols: [[1,'hello',3],[2,'asd',6]]
*/
this.setRows = function (rows) {
var $newTbody = $('<tbody/>');
for (var i = 0; i < rows.length; i++) {
var $tr = $('<tr/>').appendTo($newTbody);
for (var j = 0; j < rows[i].length; j++) {
$('<td>', {
html: rows[i][j]
}).appendTo($tr);
}
}
$tbody.replaceWith($newTbody);
$tbody = $newTbody;
return $tbody;
};
/**
* Set custom table body content. This can be a message or a throbber.
* Will cover all table columns.
*
* @public
* @param {jQuery} $content Custom content
*/
this.setBody = function ($content) {
var $newTbody = $('<tbody/>');
var $tr = $('<tr/>').appendTo($newTbody);
$('<td>', {
colspan: numCols
}).append($content).appendTo($tr);
$tbody.replaceWith($newTbody);
$tbody = $newTbody;
};
/**
* Set custom table foot content. This can be a pagination widget.
* Will cover all table columns.
*
* @public
* @param {jQuery} $content Custom content
*/
this.setFoot = function ($content) {
var $newTfoot = $('<tfoot/>');
var $tr = $('<tr/>').appendTo($newTfoot);
$('<td>', {
colspan: numCols
}).append($content).appendTo($tr);
$tfoot.replaceWith($newTfoot);
};
/**
* Appends the table to the given container.
*
* @public
* @param {jQuery} $container
*/
this.appendTo = function ($container) {
$table.appendTo($container);
};
};
/**
* Generic pagination class. Creates a useful pagination widget.
*
* @class
* @param {Number} num Total number of items to pagiate.
* @param {Number} limit Number of items to dispaly per page.
* @param {Function} goneTo
* Callback which is fired when the user wants to go to another page.
* @param {Object} l10n
* Localization / translations. e.g.
* {
* currentPage: 'Page $current of $total',
* nextPage: 'Next page',
* previousPage: 'Previous page'
* }
*/
H5PUtils.Pagination = function (num, limit, goneTo, l10n) {
var current = 0;
var pages = Math.ceil(num / limit);
// Create components
// Previous button
var $left = $('<button/>', {
html: '&lt;',
'class': 'button',
title: l10n.previousPage
}).click(function () {
goTo(current - 1);
});
// Current page text
var $text = $('<span/>').click(function () {
$input.width($text.width()).show().val(current + 1).focus();
$text.hide();
});
// Jump to page input
var $input = $('<input/>', {
type: 'number',
min : 1,
max: pages,
on: {
'blur': function () {
gotInput();
},
'keyup': function (event) {
if (event.keyCode === 13) {
gotInput();
return false;
}
}
}
}).hide();
// Next button
var $right = $('<button/>', {
html: '&gt;',
'class': 'button',
title: l10n.nextPage
}).click(function () {
goTo(current + 1);
});
/**
* Check what page the user has typed in and jump to it.
*
* @private
*/
var gotInput = function () {
var page = parseInt($input.hide().val());
if (!isNaN(page)) {
goTo(page - 1);
}
$text.show();
};
/**
* Update UI elements.
*
* @private
*/
var updateUI = function () {
var next = current + 1;
// Disable or enable buttons
$left.attr('disabled', current === 0);
$right.attr('disabled', next === pages);
// Update counter
$text.html(l10n.currentPage.replace('$current', next).replace('$total', pages));
};
/**
* Try to go to the requested page.
*
* @private
* @param {Number} page
*/
var goTo = function (page) {
if (page === current || page < 0 || page >= pages) {
return; // Invalid page number
}
current = page;
updateUI();
// Fire callback
goneTo(page * limit);
};
/**
* Update number of items and limit.
*
* @public
* @param {Number} newNum Total number of items to pagiate.
* @param {Number} newLimit Number of items to dispaly per page.
*/
this.update = function (newNum, newLimit) {
if (newNum !== num || newLimit !== limit) {
// Update num and limit
num = newNum;
limit = newLimit;
pages = Math.ceil(num / limit);
$input.attr('max', pages);
if (current >= pages) {
// Content is gone, move to last page.
goTo(pages - 1);
return;
}
updateUI();
}
};
/**
* Append the pagination widget to the given container.
*
* @public
* @param {jQuery} $container
*/
this.appendTo = function ($container) {
$left.add($text).add($input).add($right).appendTo($container);
};
// Update UI
updateUI();
};
})(H5P.jQuery);

40
vendor/h5p/h5p-core/js/h5p-version.js vendored Normal file
View File

@@ -0,0 +1,40 @@
H5P.Version = (function () {
/**
* Make it easy to keep track of version details.
*
* @class
* @namespace H5P
* @param {String} version
*/
function Version(version) {
if (typeof version === 'string') {
// Name version string (used by content upgrade)
var versionSplit = version.split('.', 3);
this.major =+ versionSplit[0];
this.minor =+ versionSplit[1];
}
else {
// Library objects (used by editor)
if (version.localMajorVersion !== undefined) {
this.major =+ version.localMajorVersion;
this.minor =+ version.localMinorVersion;
}
else {
this.major =+ version.majorVersion;
this.minor =+ version.minorVersion;
}
}
/**
* Public. Custom string for this object.
*
* @returns {String}
*/
this.toString = function () {
return version;
};
}
return Version;
})();

View File

@@ -0,0 +1,331 @@
var H5P = window.H5P = window.H5P || {};
/**
* Used for xAPI events.
*
* @class
* @extends H5P.Event
*/
H5P.XAPIEvent = function () {
H5P.Event.call(this, 'xAPI', {'statement': {}}, {bubbles: true, external: true});
};
H5P.XAPIEvent.prototype = Object.create(H5P.Event.prototype);
H5P.XAPIEvent.prototype.constructor = H5P.XAPIEvent;
/**
* Set scored result statements.
*
* @param {number} score
* @param {number} maxScore
* @param {object} instance
* @param {boolean} completion
* @param {boolean} success
*/
H5P.XAPIEvent.prototype.setScoredResult = function (score, maxScore, instance, completion, success) {
this.data.statement.result = {};
if (typeof score !== 'undefined') {
if (typeof maxScore === 'undefined') {
this.data.statement.result.score = {'raw': score};
}
else {
this.data.statement.result.score = {
'min': 0,
'max': maxScore,
'raw': score
};
if (maxScore > 0) {
this.data.statement.result.score.scaled = Math.round(score / maxScore * 10000) / 10000;
}
}
}
if (typeof completion === 'undefined') {
this.data.statement.result.completion = (this.getVerb() === 'completed' || this.getVerb() === 'answered');
}
else {
this.data.statement.result.completion = completion;
}
if (typeof success !== 'undefined') {
this.data.statement.result.success = success;
}
if (instance && instance.activityStartTime) {
var duration = Math.round((Date.now() - instance.activityStartTime ) / 10) / 100;
// xAPI spec allows a precision of 0.01 seconds
this.data.statement.result.duration = 'PT' + duration + 'S';
}
};
/**
* Set a verb.
*
* @param {string} verb
* Verb in short form, one of the verbs defined at
* {@link http://adlnet.gov/expapi/verbs/|ADL xAPI Vocabulary}
*
*/
H5P.XAPIEvent.prototype.setVerb = function (verb) {
if (H5P.jQuery.inArray(verb, H5P.XAPIEvent.allowedXAPIVerbs) !== -1) {
this.data.statement.verb = {
'id': 'http://adlnet.gov/expapi/verbs/' + verb,
'display': {
'en-US': verb
}
};
}
else if (verb.id !== undefined) {
this.data.statement.verb = verb;
}
};
/**
* Get the statements verb id.
*
* @param {boolean} full
* if true the full verb id prefixed by http://adlnet.gov/expapi/verbs/
* will be returned
* @returns {string}
* Verb or null if no verb with an id has been defined
*/
H5P.XAPIEvent.prototype.getVerb = function (full) {
var statement = this.data.statement;
if ('verb' in statement) {
if (full === true) {
return statement.verb;
}
return statement.verb.id.slice(31);
}
else {
return null;
}
};
/**
* Set the object part of the statement.
*
* The id is found automatically (the url to the content)
*
* @param {Object} instance
* The H5P instance
*/
H5P.XAPIEvent.prototype.setObject = function (instance) {
if (instance.contentId) {
this.data.statement.object = {
'id': this.getContentXAPIId(instance),
'objectType': 'Activity',
'definition': {
'extensions': {
'http://h5p.org/x-api/h5p-local-content-id': instance.contentId
}
}
};
if (instance.subContentId) {
this.data.statement.object.definition.extensions['http://h5p.org/x-api/h5p-subContentId'] = instance.subContentId;
// Don't set titles on main content, title should come from publishing platform
if (typeof instance.getTitle === 'function') {
this.data.statement.object.definition.name = {
"en-US": instance.getTitle()
};
}
}
else {
var content = H5P.getContentForInstance(instance.contentId);
if (content && content.metadata && content.metadata.title) {
this.data.statement.object.definition.name = {
"en-US": H5P.createTitle(content.metadata.title)
};
}
}
}
else {
// Content types view always expect to have a contentId when they are displayed.
// This is not the case if they are displayed in the editor as part of a preview.
// The fix is to set an empty object with definition for the xAPI event, so all
// the content types that rely on this does not have to handle it. This means
// that content types that are being previewed will send xAPI completed events,
// but since there are no scripts that catch these events in the editor,
// this is not a problem.
this.data.statement.object = {
definition: {}
};
}
};
/**
* Set the context part of the statement.
*
* @param {Object} instance
* The H5P instance
*/
H5P.XAPIEvent.prototype.setContext = function (instance) {
if (instance.parent && (instance.parent.contentId || instance.parent.subContentId)) {
this.data.statement.context = {
"contextActivities": {
"parent": [
{
"id": this.getContentXAPIId(instance.parent),
"objectType": "Activity"
}
]
}
};
}
if (instance.libraryInfo) {
if (this.data.statement.context === undefined) {
this.data.statement.context = {"contextActivities":{}};
}
this.data.statement.context.contextActivities.category = [
{
"id": "http://h5p.org/libraries/" + instance.libraryInfo.versionedNameNoSpaces,
"objectType": "Activity"
}
];
}
};
/**
* Set the actor. Email and name will be added automatically.
*/
H5P.XAPIEvent.prototype.setActor = function () {
if (H5PIntegration.user !== undefined) {
this.data.statement.actor = {
'name': H5PIntegration.user.name,
'mbox': 'mailto:' + H5PIntegration.user.mail,
'objectType': 'Agent'
};
}
else {
var uuid;
try {
if (localStorage.H5PUserUUID) {
uuid = localStorage.H5PUserUUID;
}
else {
uuid = H5P.createUUID();
localStorage.H5PUserUUID = uuid;
}
}
catch (err) {
// LocalStorage and Cookies are probably disabled. Do not track the user.
uuid = 'not-trackable-' + H5P.createUUID();
}
this.data.statement.actor = {
'account': {
'name': uuid,
'homePage': H5PIntegration.siteUrl
},
'objectType': 'Agent'
};
}
};
/**
* Get the max value of the result - score part of the statement
*
* @returns {number}
* The max score, or null if not defined
*/
H5P.XAPIEvent.prototype.getMaxScore = function () {
return this.getVerifiedStatementValue(['result', 'score', 'max']);
};
/**
* Get the raw value of the result - score part of the statement
*
* @returns {number}
* The score, or null if not defined
*/
H5P.XAPIEvent.prototype.getScore = function () {
return this.getVerifiedStatementValue(['result', 'score', 'raw']);
};
/**
* Get content xAPI ID.
*
* @param {Object} instance
* The H5P instance
*/
H5P.XAPIEvent.prototype.getContentXAPIId = function (instance) {
var xAPIId;
if (instance.contentId && H5PIntegration && H5PIntegration.contents && H5PIntegration.contents['cid-' + instance.contentId]) {
xAPIId = H5PIntegration.contents['cid-' + instance.contentId].url;
if (instance.subContentId) {
xAPIId += '?subContentId=' + instance.subContentId;
}
}
return xAPIId;
};
/**
* Check if this event is sent from a child (i.e not from grandchild)
*
* @return {Boolean}
*/
H5P.XAPIEvent.prototype.isFromChild = function () {
var parentId = this.getVerifiedStatementValue(['context', 'contextActivities', 'parent', 0, 'id']);
return !parentId || parentId.indexOf('subContentId') === -1;
};
/**
* Figure out if a property exists in the statement and return it
*
* @param {string[]} keys
* List describing the property we're looking for. For instance
* ['result', 'score', 'raw'] for result.score.raw
* @returns {*}
* The value of the property if it is set, null otherwise.
*/
H5P.XAPIEvent.prototype.getVerifiedStatementValue = function (keys) {
var val = this.data.statement;
for (var i = 0; i < keys.length; i++) {
if (val[keys[i]] === undefined) {
return null;
}
val = val[keys[i]];
}
return val;
};
/**
* List of verbs defined at {@link http://adlnet.gov/expapi/verbs/|ADL xAPI Vocabulary}
*
* @type Array
*/
H5P.XAPIEvent.allowedXAPIVerbs = [
'answered',
'asked',
'attempted',
'attended',
'commented',
'completed',
'exited',
'experienced',
'failed',
'imported',
'initialized',
'interacted',
'launched',
'mastered',
'passed',
'preferred',
'progressed',
'registered',
'responded',
'resumed',
'scored',
'shared',
'suspended',
'terminated',
'voided',
// Custom verbs used for action toolbar below content
'downloaded',
'copied',
'accessed-reuse',
'accessed-embed',
'accessed-copyright'
];

119
vendor/h5p/h5p-core/js/h5p-x-api.js vendored Normal file
View File

@@ -0,0 +1,119 @@
var H5P = window.H5P = window.H5P || {};
/**
* The external event dispatcher. Others, outside of H5P may register and
* listen for H5P Events here.
*
* @type {H5P.EventDispatcher}
*/
H5P.externalDispatcher = new H5P.EventDispatcher();
// EventDispatcher extensions
/**
* Helper function for triggering xAPI added to the EventDispatcher.
*
* @param {string} verb
* The short id of the verb we want to trigger
* @param {Oject} [extra]
* Extra properties for the xAPI statement
*/
H5P.EventDispatcher.prototype.triggerXAPI = function (verb, extra) {
this.trigger(this.createXAPIEventTemplate(verb, extra));
};
/**
* Helper function to create event templates added to the EventDispatcher.
*
* Will in the future be used to add representations of the questions to the
* statements.
*
* @param {string} verb
* Verb id in short form
* @param {Object} [extra]
* Extra values to be added to the statement
* @returns {H5P.XAPIEvent}
* Instance
*/
H5P.EventDispatcher.prototype.createXAPIEventTemplate = function (verb, extra) {
var event = new H5P.XAPIEvent();
event.setActor();
event.setVerb(verb);
if (extra !== undefined) {
for (var i in extra) {
event.data.statement[i] = extra[i];
}
}
if (!('object' in event.data.statement)) {
event.setObject(this);
}
if (!('context' in event.data.statement)) {
event.setContext(this);
}
return event;
};
/**
* Helper function to create xAPI completed events
*
* DEPRECATED - USE triggerXAPIScored instead
*
* @deprecated
* since 1.5, use triggerXAPIScored instead.
* @param {number} score
* Will be set as the 'raw' value of the score object
* @param {number} maxScore
* will be set as the "max" value of the score object
* @param {boolean} success
* will be set as the "success" value of the result object
*/
H5P.EventDispatcher.prototype.triggerXAPICompleted = function (score, maxScore, success) {
this.triggerXAPIScored(score, maxScore, 'completed', true, success);
};
/**
* Helper function to create scored xAPI events
*
* @param {number} score
* Will be set as the 'raw' value of the score object
* @param {number} maxScore
* Will be set as the "max" value of the score object
* @param {string} verb
* Short form of adl verb
* @param {boolean} completion
* Is this a statement from a completed activity?
* @param {boolean} success
* Is this a statement from an activity that was done successfully?
*/
H5P.EventDispatcher.prototype.triggerXAPIScored = function (score, maxScore, verb, completion, success) {
var event = this.createXAPIEventTemplate(verb);
event.setScoredResult(score, maxScore, this, completion, success);
this.trigger(event);
};
H5P.EventDispatcher.prototype.setActivityStarted = function () {
if (this.activityStartTime === undefined) {
// Don't trigger xAPI events in the editor
if (this.contentId !== undefined &&
H5PIntegration.contents !== undefined &&
H5PIntegration.contents['cid-' + this.contentId] !== undefined) {
this.triggerXAPI('attempted');
}
this.activityStartTime = Date.now();
}
};
/**
* Internal H5P function listening for xAPI completed events and stores scores
*
* @param {H5P.XAPIEvent} event
*/
H5P.xAPICompletedListener = function (event) {
if ((event.getVerb() === 'completed' || event.getVerb() === 'answered') && !event.getVerifiedStatementValue(['context', 'contextActivities', 'parent'])) {
var score = event.getScore();
var maxScore = event.getMaxScore();
var contentId = event.getVerifiedStatementValue(['object', 'definition', 'extensions', 'http://h5p.org/x-api/h5p-local-content-id']);
H5P.setFinished(contentId, score, maxScore);
}
};

2915
vendor/h5p/h5p-core/js/h5p.js vendored Normal file

File diff suppressed because it is too large Load Diff

22
vendor/h5p/h5p-core/js/jquery.js vendored Normal file

File diff suppressed because one or more lines are too long

436
vendor/h5p/h5p-core/js/request-queue.js vendored Normal file
View File

@@ -0,0 +1,436 @@
/**
* Queue requests and handle them at your convenience
*
* @type {RequestQueue}
*/
H5P.RequestQueue = (function ($, EventDispatcher) {
/**
* A queue for requests, will be automatically processed when regaining connection
*
* @param {boolean} [options.showToast] Show toast when losing or regaining connection
* @constructor
*/
const RequestQueue = function (options) {
EventDispatcher.call(this);
this.processingQueue = false;
options = options || {};
this.showToast = options.showToast;
this.itemName = 'requestQueue';
};
/**
* Add request to queue. Only supports posts currently.
*
* @param {string} url
* @param {Object} data
* @returns {boolean}
*/
RequestQueue.prototype.add = function (url, data) {
if (!window.localStorage) {
return false;
}
let storedStatements = this.getStoredRequests();
if (!storedStatements) {
storedStatements = [];
}
storedStatements.push({
url: url,
data: data,
});
window.localStorage.setItem(this.itemName, JSON.stringify(storedStatements));
this.trigger('requestQueued', {
storedStatements: storedStatements,
processingQueue: this.processingQueue,
});
return true;
};
/**
* Get stored requests
*
* @returns {boolean|Array} Stored requests
*/
RequestQueue.prototype.getStoredRequests = function () {
if (!window.localStorage) {
return false;
}
const item = window.localStorage.getItem(this.itemName);
if (!item) {
return [];
}
return JSON.parse(item);
};
/**
* Clear stored requests
*
* @returns {boolean} True if the storage was successfully cleared
*/
RequestQueue.prototype.clearQueue = function () {
if (!window.localStorage) {
return false;
}
window.localStorage.removeItem(this.itemName);
return true;
};
/**
* Start processing of requests queue
*
* @return {boolean} Returns false if it was not possible to resume processing queue
*/
RequestQueue.prototype.resumeQueue = function () {
// Not supported
if (!H5PIntegration || !window.navigator || !window.localStorage) {
return false;
}
// Already processing
if (this.processingQueue) {
return false;
}
// Attempt to send queued requests
const queue = this.getStoredRequests();
const queueLength = queue.length;
// Clear storage, failed requests will be re-added
this.clearQueue();
// No items left in queue
if (!queueLength) {
this.trigger('emptiedQueue', queue);
return true;
}
// Make sure requests are not changed while they're being handled
this.processingQueue = true;
// Process queue in original order
this.processQueue(queue);
return true
};
/**
* Process first item in the request queue
*
* @param {Array} queue Request queue
*/
RequestQueue.prototype.processQueue = function (queue) {
if (!queue.length) {
return;
}
this.trigger('processingQueue');
// Make sure the requests are processed in a FIFO order
const request = queue.shift();
const self = this;
$.post(request.url, request.data)
.fail(self.onQueuedRequestFail.bind(self, request))
.always(self.onQueuedRequestProcessed.bind(self, queue))
};
/**
* Request fail handler
*
* @param {Object} request
*/
RequestQueue.prototype.onQueuedRequestFail = function (request) {
// Queue the failed request again if we're offline
if (!window.navigator.onLine) {
this.add(request.url, request.data);
}
};
/**
* An item in the queue was processed
*
* @param {Array} queue Queue that was processed
*/
RequestQueue.prototype.onQueuedRequestProcessed = function (queue) {
if (queue.length) {
this.processQueue(queue);
return;
}
// Finished processing this queue
this.processingQueue = false;
// Run empty queue callback with next request queue
const requestQueue = this.getStoredRequests();
this.trigger('queueEmptied', requestQueue);
};
/**
* Display toast message on the first content of current page
*
* @param {string} msg Message to display
* @param {boolean} [forceShow] Force override showing the toast
* @param {Object} [configOverride] Override toast message config
*/
RequestQueue.prototype.displayToastMessage = function (msg, forceShow, configOverride) {
if (!this.showToast && !forceShow) {
return;
}
const config = H5P.jQuery.extend(true, {}, {
position: {
horizontal : 'centered',
vertical: 'centered',
noOverflowX: true,
}
}, configOverride);
H5P.attachToastTo(H5P.jQuery('.h5p-content:first')[0], msg, config);
};
return RequestQueue;
})(H5P.jQuery, H5P.EventDispatcher);
/**
* Request queue for retrying failing requests, will automatically retry them when you come online
*
* @type {offlineRequestQueue}
*/
H5P.OfflineRequestQueue = (function (RequestQueue, Dialog) {
/**
* Constructor
*
* @param {Object} [options] Options for offline request queue
* @param {Object} [options.instance] The H5P instance which UI components are placed within
*/
const offlineRequestQueue = function (options) {
const requestQueue = new RequestQueue();
// We could handle requests from previous pages here, but instead we throw them away
requestQueue.clearQueue();
let startTime = null;
const retryIntervals = [10, 20, 40, 60, 120, 300, 600];
let intervalIndex = -1;
let currentInterval = null;
let isAttached = false;
let isShowing = false;
let isLoading = false;
const instance = options.instance;
const offlineDialog = new Dialog({
headerText: H5P.t('offlineDialogHeader'),
dialogText: H5P.t('offlineDialogBody'),
confirmText: H5P.t('offlineDialogRetryButtonLabel'),
hideCancel: true,
hideExit: true,
classes: ['offline'],
instance: instance,
skipRestoreFocus: true,
});
const dialog = offlineDialog.getElement();
// Add retry text to body
const countDownText = document.createElement('div');
countDownText.classList.add('count-down');
countDownText.innerHTML = H5P.t('offlineDialogRetryMessage')
.replace(':num', '<span class="count-down-num">0</span>');
dialog.querySelector('.h5p-confirmation-dialog-text').appendChild(countDownText);
const countDownNum = countDownText.querySelector('.count-down-num');
// Create throbber
const throbberWrapper = document.createElement('div');
throbberWrapper.classList.add('throbber-wrapper');
const throbber = document.createElement('div');
throbber.classList.add('sending-requests-throbber');
throbberWrapper.appendChild(throbber);
requestQueue.on('requestQueued', function (e) {
// Already processing queue, wait until queue has finished processing before showing dialog
if (e.data && e.data.processingQueue) {
return;
}
if (!isAttached) {
const rootContent = document.body.querySelector('.h5p-content');
if (!rootContent) {
return;
}
offlineDialog.appendTo(rootContent);
rootContent.appendChild(throbberWrapper);
isAttached = true;
}
startCountDown();
}.bind(this));
requestQueue.on('queueEmptied', function (e) {
if (e.data && e.data.length) {
// New requests were added while processing queue or requests failed again. Re-queue requests.
startCountDown(true);
return;
}
// Successfully emptied queue
clearInterval(currentInterval);
toggleThrobber(false);
intervalIndex = -1;
if (isShowing) {
offlineDialog.hide();
isShowing = false;
}
requestQueue.displayToastMessage(
H5P.t('offlineSuccessfulSubmit'),
true,
{
position: {
vertical: 'top',
offsetVertical: '100',
}
}
);
}.bind(this));
offlineDialog.on('confirmed', function () {
// Show dialog on next render in case it is being hidden by the 'confirm' button
isShowing = false;
setTimeout(function () {
retryRequests();
}, 100);
}.bind(this));
// Initialize listener for when requests are added to queue
window.addEventListener('online', function () {
retryRequests();
}.bind(this));
// Listen for queued requests outside the iframe
window.addEventListener('message', function (event) {
const isValidQueueEvent = window.parent === event.source
&& event.data.context === 'h5p'
&& event.data.action === 'queueRequest';
if (!isValidQueueEvent) {
return;
}
this.add(event.data.url, event.data.data);
}.bind(this));
/**
* Toggle throbber visibility
*
* @param {boolean} [forceShow] Will force throbber visibility if set
*/
const toggleThrobber = function (forceShow) {
isLoading = !isLoading;
if (forceShow !== undefined) {
isLoading = forceShow;
}
if (isLoading && isShowing) {
offlineDialog.hide();
isShowing = false;
}
if (isLoading) {
throbberWrapper.classList.add('show');
}
else {
throbberWrapper.classList.remove('show');
}
};
/**
* Retries the failed requests
*/
const retryRequests = function () {
clearInterval(currentInterval);
toggleThrobber(true);
requestQueue.resumeQueue();
};
/**
* Increments retry interval
*/
const incrementRetryInterval = function () {
intervalIndex += 1;
if (intervalIndex >= retryIntervals.length) {
intervalIndex = retryIntervals.length - 1;
}
};
/**
* Starts counting down to retrying queued requests.
*
* @param forceDelayedShow
*/
const startCountDown = function (forceDelayedShow) {
// Already showing, wait for retry
if (isShowing) {
return;
}
toggleThrobber(false);
if (!isShowing) {
if (forceDelayedShow) {
// Must force delayed show since dialog may be hiding, and confirmation dialog does not
// support this.
setTimeout(function () {
offlineDialog.show(0);
}, 100);
}
else {
offlineDialog.show(0);
}
}
isShowing = true;
startTime = new Date().getTime();
incrementRetryInterval();
clearInterval(currentInterval);
currentInterval = setInterval(updateCountDown, 100);
};
/**
* Updates the count down timer. Retries requests when time expires.
*/
const updateCountDown = function () {
const time = new Date().getTime();
const timeElapsed = Math.floor((time - startTime) / 1000);
const timeLeft = retryIntervals[intervalIndex] - timeElapsed;
countDownNum.textContent = timeLeft.toString();
// Retry interval reached, retry requests
if (timeLeft <= 0) {
retryRequests();
}
};
/**
* Add request to offline request queue. Only supports posts for now.
*
* @param {string} url The request url
* @param {Object} data The request data
*/
this.add = function (url, data) {
// Only queue request if it failed because we are offline
if (window.navigator.onLine) {
return false;
}
requestQueue.add(url, data);
};
};
return offlineRequestQueue;
})(H5P.RequestQueue, H5P.ConfirmationDialog);

View File

@@ -0,0 +1,68 @@
/* global H5PDisableHubData */
/**
* Global data for disable hub functionality
*
* @typedef {object} H5PDisableHubData Data passed in from the backend
*
* @property {string} selector Selector for the disable hub check-button
* @property {string} overlaySelector Selector for the element that the confirmation dialog will mask
* @property {Array} errors Errors found with the current server setup
*
* @property {string} header Header of the confirmation dialog
* @property {string} confirmationDialogMsg Body of the confirmation dialog
* @property {string} cancelLabel Cancel label of the confirmation dialog
* @property {string} confirmLabel Confirm button label of the confirmation dialog
*
*/
/**
* Utility that makes it possible to force the user to confirm that he really
* wants to use the H5P hub without proper server settings.
*/
(function ($) {
$(document).on('ready', function () {
// No data found
if (!H5PDisableHubData) {
return;
}
// No errors found, no need for confirmation dialog
if (!H5PDisableHubData.errors || !H5PDisableHubData.errors.length) {
return;
}
H5PDisableHubData.selector = H5PDisableHubData.selector ||
'.h5p-settings-disable-hub-checkbox';
H5PDisableHubData.overlaySelector = H5PDisableHubData.overlaySelector ||
'.h5p-settings-container';
var dialogHtml = '<div>' +
'<p>' + H5PDisableHubData.errors.join('</p><p>') + '</p>' +
'<p>' + H5PDisableHubData.confirmationDialogMsg + '</p>';
// Create confirmation dialog, make sure to include translations
var confirmationDialog = new H5P.ConfirmationDialog({
headerText: H5PDisableHubData.header,
dialogText: dialogHtml,
cancelText: H5PDisableHubData.cancelLabel,
confirmText: H5PDisableHubData.confirmLabel
}).appendTo($(H5PDisableHubData.overlaySelector).get(0));
confirmationDialog.on('confirmed', function () {
enableButton.get(0).checked = true;
});
confirmationDialog.on('canceled', function () {
enableButton.get(0).checked = false;
});
var enableButton = $(H5PDisableHubData.selector);
enableButton.change(function () {
if ($(this).is(':checked')) {
confirmationDialog.show(enableButton.offset().top);
}
});
});
})(H5P.jQuery);

View File

@@ -0,0 +1,494 @@
/*
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.
*/
/* cyrillic-ext */
@font-face {
font-family: 'Open Sans';
font-style: italic;
font-weight: 400;
font-stretch: 100%;
font-display: swap;
src: url('../fonts/open-sans/opensans-italic-400-600-700-v28-cyrillic-ext.woff2') format('woff2');
unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
font-family: 'Open Sans';
font-style: italic;
font-weight: 400;
font-stretch: 100%;
font-display: swap;
src: url('../fonts/open-sans/opensans-italic-400-600-700-v28-cyrillic.woff2') format('woff2');
unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
font-family: 'Open Sans';
font-style: italic;
font-weight: 400;
font-stretch: 100%;
font-display: swap;
src: url('../fonts/open-sans/opensans-italic-400-600-700-v28-greek-ext.woff2') format('woff2');
unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
font-family: 'Open Sans';
font-style: italic;
font-weight: 400;
font-stretch: 100%;
font-display: swap;
src: url('../fonts/open-sans/opensans-italic-400-600-700-v28-greek.woff2') format('woff2');
unicode-range: U+0370-03FF;
}
/* hebrew */
@font-face {
font-family: 'Open Sans';
font-style: italic;
font-weight: 400;
font-stretch: 100%;
font-display: swap;
src: url('../fonts/open-sans/opensans-italic-400-600-700-v28-hebrew.woff2') format('woff2');
unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
/* vietnamese */
@font-face {
font-family: 'Open Sans';
font-style: italic;
font-weight: 400;
font-stretch: 100%;
font-display: swap;
src: url('../fonts/open-sans/opensans-italic-400-600-700-v28-vietnamese.woff2') format('woff2');
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
font-family: 'Open Sans';
font-style: italic;
font-weight: 400;
font-stretch: 100%;
font-display: swap;
src: url('../fonts/open-sans/opensans-italic-400-600-700-v28-latin-ext.woff2') format('woff2');
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
font-family: 'Open Sans';
font-style: italic;
font-weight: 400;
font-stretch: 100%;
font-display: swap;
src: url('../fonts/open-sans/opensans-italic-400-600-700-v28-latin.woff2') format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
font-family: 'Open Sans';
font-style: italic;
font-weight: 600;
font-stretch: 100%;
font-display: swap;
src: url('../fonts/open-sans/opensans-italic-400-600-700-v28-cyrillic-ext.woff2') format('woff2');
unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
font-family: 'Open Sans';
font-style: italic;
font-weight: 600;
font-stretch: 100%;
font-display: swap;
src: url('../fonts/open-sans/opensans-italic-400-600-700-v28-cyrillic.woff2') format('woff2');
unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
font-family: 'Open Sans';
font-style: italic;
font-weight: 600;
font-stretch: 100%;
font-display: swap;
src: url('../fonts/open-sans/opensans-italic-400-600-700-v28-greek-ext.woff2') format('woff2');
unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
font-family: 'Open Sans';
font-style: italic;
font-weight: 600;
font-stretch: 100%;
font-display: swap;
src: url('../fonts/open-sans/opensans-italic-400-600-700-v28-greek.woff2') format('woff2');
unicode-range: U+0370-03FF;
}
/* hebrew */
@font-face {
font-family: 'Open Sans';
font-style: italic;
font-weight: 600;
font-stretch: 100%;
font-display: swap;
src: url('../fonts/open-sans/opensans-italic-400-600-700-v28-hebrew.woff2') format('woff2');
unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
/* vietnamese */
@font-face {
font-family: 'Open Sans';
font-style: italic;
font-weight: 600;
font-stretch: 100%;
font-display: swap;
src: url('../fonts/open-sans/opensans-italic-400-600-700-v28-vietnamese.woff2') format('woff2');
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
font-family: 'Open Sans';
font-style: italic;
font-weight: 600;
font-stretch: 100%;
font-display: swap;
src: url('../fonts/open-sans/opensans-italic-400-600-700-v28-latin-ext.woff2') format('woff2');
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
font-family: 'Open Sans';
font-style: italic;
font-weight: 600;
font-stretch: 100%;
font-display: swap;
src: url('../fonts/open-sans/opensans-italic-400-600-700-v28-latin.woff2') format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
font-family: 'Open Sans';
font-style: italic;
font-weight: 700;
font-stretch: 100%;
font-display: swap;
src: url('../fonts/open-sans/opensans-italic-400-600-700-v28-cyrillic-ext.woff2') format('woff2');
unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
font-family: 'Open Sans';
font-style: italic;
font-weight: 700;
font-stretch: 100%;
font-display: swap;
src: url('../fonts/open-sans/opensans-italic-400-600-700-v28-cyrillic.woff2') format('woff2');
unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
font-family: 'Open Sans';
font-style: italic;
font-weight: 700;
font-stretch: 100%;
font-display: swap;
src: url('../fonts/open-sans/opensans-italic-400-600-700-v28-greek-ext.woff2') format('woff2');
unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
font-family: 'Open Sans';
font-style: italic;
font-weight: 700;
font-stretch: 100%;
font-display: swap;
src: url('../fonts/open-sans/opensans-italic-400-600-700-v28-greek.woff2') format('woff2');
unicode-range: U+0370-03FF;
}
/* hebrew */
@font-face {
font-family: 'Open Sans';
font-style: italic;
font-weight: 700;
font-stretch: 100%;
font-display: swap;
src: url('../fonts/open-sans/opensans-italic-400-600-700-v28-hebrew.woff2') format('woff2');
unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
/* vietnamese */
@font-face {
font-family: 'Open Sans';
font-style: italic;
font-weight: 700;
font-stretch: 100%;
font-display: swap;
src: url('../fonts/open-sans/opensans-italic-400-600-700-v28-vietnamese.woff2') format('woff2');
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
font-family: 'Open Sans';
font-style: italic;
font-weight: 700;
font-stretch: 100%;
font-display: swap;
src: url('../fonts/open-sans/opensans-italic-400-600-700-v28-latin-ext.woff2') format('woff2');
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
font-family: 'Open Sans';
font-style: italic;
font-weight: 700;
font-stretch: 100%;
font-display: swap;
src: url('../fonts/open-sans/opensans-italic-400-600-700-v28-latin.woff2') format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 400;
font-stretch: 100%;
font-display: swap;
src: url('../fonts/open-sans/opensans-400-600-700-v28-cyrillic-ext.woff2') format('woff2');
unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 400;
font-stretch: 100%;
font-display: swap;
src: url('../fonts/open-sans/opensans-400-600-700-v28-cyrillic.woff2') format('woff2');
unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 400;
font-stretch: 100%;
font-display: swap;
src: url('../fonts/open-sans/opensans-400-600-700-v28-greek-ext.woff2') format('woff2');
unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 400;
font-stretch: 100%;
font-display: swap;
src: url('../fonts/open-sans/opensans-400-600-700-v28-greek.woff2') format('woff2');
unicode-range: U+0370-03FF;
}
/* hebrew */
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 400;
font-stretch: 100%;
font-display: swap;
src: url('../fonts/open-sans/opensans-400-600-700-v28-hebrew.woff2') format('woff2');
unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
/* vietnamese */
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 400;
font-stretch: 100%;
font-display: swap;
src: url('../fonts/open-sans/opensans-400-600-700-v28-vietnamese.woff2') format('woff2');
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 400;
font-stretch: 100%;
font-display: swap;
src: url('../fonts/open-sans/opensans-400-600-700-v28-latin-ext.woff2') format('woff2');
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 400;
font-stretch: 100%;
font-display: swap;
src: url('../fonts/open-sans/opensans-400-600-700-v28-latin.woff2') format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 600;
font-stretch: 100%;
font-display: swap;
src: url('../fonts/open-sans/opensans-400-600-700-v28-cyrillic-ext.woff2') format('woff2');
unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 600;
font-stretch: 100%;
font-display: swap;
src: url('../fonts/open-sans/opensans-400-600-700-v28-cyrillic.woff2') format('woff2');
unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 600;
font-stretch: 100%;
font-display: swap;
src: url('../fonts/open-sans/opensans-400-600-700-v28-greek-ext.woff2') format('woff2');
unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 600;
font-stretch: 100%;
font-display: swap;
src: url('../fonts/open-sans/opensans-400-600-700-v28-greek.woff2') format('woff2');
unicode-range: U+0370-03FF;
}
/* hebrew */
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 600;
font-stretch: 100%;
font-display: swap;
src: url('../fonts/open-sans/opensans-400-600-700-v28-hebrew.woff2') format('woff2');
unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
/* vietnamese */
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 600;
font-stretch: 100%;
font-display: swap;
src: url('../fonts/open-sans/opensans-400-600-700-v28-vietnamese.woff2') format('woff2');
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 600;
font-stretch: 100%;
font-display: swap;
src: url('../fonts/open-sans/opensans-400-600-700-v28-latin-ext.woff2') format('woff2');
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 600;
font-stretch: 100%;
font-display: swap;
src: url('../fonts/open-sans/opensans-400-600-700-v28-latin.woff2') format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 700;
font-stretch: 100%;
font-display: swap;
src: url('../fonts/open-sans/opensans-400-600-700-v28-cyrillic-ext.woff2') format('woff2');
unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 700;
font-stretch: 100%;
font-display: swap;
src: url('../fonts/open-sans/opensans-400-600-700-v28-cyrillic.woff2') format('woff2');
unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 700;
font-stretch: 100%;
font-display: swap;
src: url('../fonts/open-sans/opensans-400-600-700-v28-greek-ext.woff2') format('woff2');
unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 700;
font-stretch: 100%;
font-display: swap;
src: url('../fonts/open-sans/opensans-400-600-700-v28-greek.woff2') format('woff2');
unicode-range: U+0370-03FF;
}
/* hebrew */
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 700;
font-stretch: 100%;
font-display: swap;
src: url('../fonts/open-sans/opensans-400-600-700-v28-hebrew.woff2') format('woff2');
unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
/* vietnamese */
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 700;
font-stretch: 100%;
font-display: swap;
src: url('../fonts/open-sans/opensans-400-600-700-v28-vietnamese.woff2') format('woff2');
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 700;
font-stretch: 100%;
font-display: swap;
src: url('../fonts/open-sans/opensans-400-600-700-v28-latin-ext.woff2') format('woff2');
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 700;
font-stretch: 100%;
font-display: swap;
src: url('../fonts/open-sans/opensans-400-600-700-v28-latin.woff2') format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

358
vendor/h5p/h5p-core/styles/h5p-admin.css vendored Normal file
View File

@@ -0,0 +1,358 @@
/* Administration interface styling */
.h5p-content {
border: 1px solid #DDD;
border-radius: 3px;
padding: 10px;
}
.h5p-admin-table,
.h5p-admin-table > tbody {
border: none;
width: 100%;
}
.h5p-admin-table tr:nth-child(odd),
.h5p-data-view tr:nth-child(odd) {
background-color: #F9F9F9;
}
.h5p-admin-table tbody tr:hover {
background-color: #EEE;
}
.h5p-admin-table.empty {
padding: 1em;
background-color: #EEE;
font-size: 1.2em;
font-weight: bold;
}
.h5p-admin-table.libraries th:last-child,
.h5p-admin-table.libraries td:last-child {
text-align: right;
}
.h5p-admin-buttons-wrapper {
white-space: nowrap;
}
.h5p-admin-table.libraries button {
font-size: 2em;
cursor: pointer;
border: 1px solid #AAA;
border-radius: .2em;
background-color: #e0e0e0;
text-shadow: 0 0 0.5em #fff;
padding: 0;
line-height: 1em;
width: 1.125em;
height: 1.05em;
text-indent: -0.125em;
margin: 0.125em 0.125em 0 0.125em;
}
.h5p-admin-upgrade-library:before {
font-family: 'H5P';
content: "\e888";
}
.h5p-admin-view-library:before {
font-family: 'H5P';
content: "\e889";
}
.h5p-admin-delete-library:before {
font-family: 'H5P';
content: "\e890";
}
.h5p-admin-table.libraries button:hover {
background-color: #d0d0d0;
}
.h5p-admin-table.libraries button:disabled:hover {
background-color: #e0e0e0;
cursor: default;
}
.h5p-admin-upgrade-library {
color: #339900;
}
.h5p-admin-view-library {
color: #0066cc;
}
.h5p-admin-delete-library {
color: #990000;
}
.h5p-admin-delete-library:disabled,
.h5p-admin-upgrade-library:disabled {
cursor: default;
color: #c0c0c0;
}
.h5p-library-info {
padding: 1em 1em;
margin: 1em 0;
width: 350px;
border: 1px solid #DDD;
border-radius: 3px;
}
/* Labeled field (label + value) */
.h5p-labeled-field {
border-bottom: 1px solid #ccc;
}
.h5p-labeled-field:last-child {
border-bottom: none;
}
.h5p-labeled-field .h5p-label {
display: inline-block;
min-width: 150px;
font-size: 1.2em;
font-weight: bold;
padding: 0.2em;
}
.h5p-labeled-field .h5p-value {
display: inline-block;
padding: 0.2em;
}
/* Search element */
.h5p-content-search {
display: inline-block;
position: relative;
width: 100%;
padding: 5px 0;
margin-top: 10px;
border: 1px solid #CCC;
border-radius: 3px;
box-shadow: 2px 2px 5px #888888;
}
.h5p-content-search:before {
font-family: 'H5P';
vertical-align: bottom;
content: "\e88a";
font-size: 2em;
line-height: 1.25em;
}
.h5p-content-search input {
font-size: 120%;
line-height: 120%;
}
.h5p-admin-search-results {
margin-left: 10px;
color: #888;
}
.h5p-admin-pager-size-selector {
position: absolute;
right: 10px;
top: .75em;
display: inline-block;
}
.h5p-admin-pager-size-selector > span {
padding: 5px;
margin-left: 10px;
cursor: pointer;
border: 1px solid #CCC;
border-radius: 3px;
}
.h5p-admin-pager-size-selector > span.selected {
background-color: #edf5fa;
}
.h5p-admin-pager-size-selector > span:hover {
background-color: #555;
color: #FFF;
}
/* Generic "javascript"-action button */
button.h5p-admin {
border: 1px solid #AAA;
border-radius: 5px;
padding: 3px 10px;
background-color: #EEE;
cursor: pointer;
display: inline-block;
text-align: center;
color: #222;
}
button.h5p-admin:hover {
background-color: #555;
color: #FFF;
}
button.h5p-admin.disabled,
button.h5p-admin.disabled:hover {
cursor: auto;
color: #CCC;
background-color: #FFF;
}
/* Pager element */
.h5p-content-pager {
display: inline-block;
border: 1px solid #CCC;
border-radius: 3px;
box-shadow: 2px 2px 5px #888888;
width: 100%;
text-align: center;
padding: 3px 0;
}
.h5p-content-pager > button {
min-width: 80px;
font-size: 130%;
line-height: 130%;
border: none;
background: none;
font-family: 'H5P';
font-size: 1.4em;
}
.h5p-content-pager > button:focus {
outline: 0;
}
.h5p-content-pager > button:last-child {
margin-left: 10px;
}
.h5p-content-pager > .pager-info {
cursor: pointer;
padding: 5px;
border-radius: 3px;
}
.h5p-content-pager > .pager-info:hover {
background-color: #555;
color: #FFF;
}
.h5p-content-pager > .pager-info,
.h5p-content-pager > .h5p-pager-goto {
margin: 0 10px;
line-height: 130%;
display: inline-block;
}
.h5p-admin-header {
margin-top: 1.5em;
}
#h5p-library-upload-form.h5p-admin-upload-libraries-form,
#h5p-content-type-cache-update-form.h5p-admin-upload-libraries-form {
position: relative;
margin: 0;
}
.h5p-admin-upload-libraries-form .form-submit {
position: absolute;
top: 0;
right: 0;
}
.h5p-spinner {
padding: 0 0.5em;
font-size: 1.5em;
font-weight: bold;
}
#h5p-admin-container .h5p-admin-center {
text-align: center;
}
.h5p-pagination {
text-align: center;
}
.h5p-pagination > span, .h5p-pagination > input {
margin: 0 1em;
}
.h5p-data-view input[type="text"] {
margin-bottom: 0.5em;
margin-right: 0.5em;
float: left;
}
.h5p-data-view input[type="text"]::-ms-clear {
display: none;
}
.h5p-data-view .h5p-others-contents-toggler-wrapper {
float: right;
line-height: 2;
margin-right: 0.5em;
}
.h5p-data-view .h5p-others-contents-toggler-label {
font-size: 14px;
}
.h5p-data-view .h5p-others-contents-toggler {
margin-right: 0.5em;
}
.h5p-data-view th[role="button"] {
cursor: pointer;
}
.h5p-data-view th[role="button"].h5p-sort:after,
.h5p-data-view th[role="button"]:hover:after,
.h5p-data-view th[role="button"].h5p-sort.h5p-reverse:hover:after {
content: "\25BE";
position: relative;
left: 0.5em;
top: -1px;
}
.h5p-data-view th[role="button"].h5p-sort.h5p-reverse:after,
.h5p-data-view th[role="button"].h5p-sort:hover:after {
content: "\25B4";
top: -2px;
}
.h5p-data-view th[role="button"]:hover:after,
.h5p-data-view th[role="button"].h5p-sort.h5p-reverse:hover:after,
.h5p-data-view th[role="button"].h5p-sort:hover:after {
color: #999;
}
.h5p-data-view .h5p-facet {
cursor: pointer;
color: #0073aa;
outline: none;
}
.h5p-data-view .h5p-facet:hover,
.h5p-data-view .h5p-facet:active {
color: #00a0d2;
}
.h5p-data-view .h5p-facet:focus {
color: #124964;
box-shadow: 0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);
}
.h5p-data-view .h5p-facet-wrapper {
line-height: 23px;
}
.h5p-data-view .h5p-facet-tag {
margin: 2px 0 0 0.5em;
font-size: 12px;
background: #e8e8e8;
border: 1px solid #cbcbcc;
border-radius: 5px;
color: #5d5d5d;
padding: 0 24px 0 10px;
display: inline-block;
position: relative;
}
.h5p-data-view .h5p-facet-tag > span {
position: absolute;
right: 0;
top: auto;
bottom: auto;
font-size: 18px;
color: #a2a2a2;
outline: none;
width: 21px;
text-indent: 4px;
letter-spacing: 10px;
overflow: hidden;
cursor: pointer;
}
.h5p-data-view .h5p-facet-tag > span:before {
content: "×";
font-weight: bold;
}
.h5p-data-view .h5p-facet-tag > span:hover,
.h5p-data-view .h5p-facet-tag > span:focus {
color: #a20000;
}
.h5p-data-view .h5p-facet-tag > span:active {
color: #d20000;
}
.content-upgrade-log {
color: red;
}

View File

@@ -0,0 +1,183 @@
.h5p-confirmation-dialog-background {
position: fixed;
height: 100%;
width: 100%;
left: 0;
top: 0;
background: rgba(44, 44, 44, 0.9);
opacity: 1;
visibility: visible;
-webkit-transition: opacity 0.1s, linear 0s, visibility 0s linear 0s;
transition: opacity 0.1s linear 0s, visibility 0s linear 0s;
z-index: 201;
}
.h5p-confirmation-dialog-background.hidden {
display: none;
}
.h5p-confirmation-dialog-background.hiding {
opacity: 0;
visibility: hidden;
-webkit-transition: opacity 0.1s, linear 0s, visibility 0s linear 0.1s;
transition: opacity 0.1s linear 0s, visibility 0s linear 0.1s;
}
.h5p-confirmation-dialog-popup:focus {
outline: none;
}
.h5p-confirmation-dialog-popup {
position: absolute;
display: flex;
flex-direction: column;
justify-content: center;
box-sizing: border-box;
max-width: 35em;
min-width: 25em;
top: 2em;
left: 50%;
-webkit-transform: translate(-50%, 0%);
-ms-transform: translate(-50%, 0%);
transform: translate(-50%, 0%);
color: #555;
box-shadow: 0 0 6px 6px rgba(10,10,10,0.3);
-webkit-transition: transform 0.1s ease-in;
transition: transform 0.1s ease-in;
}
.h5p-confirmation-dialog-popup.hidden {
-webkit-transform: translate(-50%, 50%);
-ms-transform: translate(-50%, 50%);
transform: translate(-50%, 50%);
}
.h5p-confirmation-dialog-header {
padding: 1.5em;
background: #fff;
color: #356593;
}
.h5p-confirmation-dialog-header-text {
font-size: 1.25em;
}
.h5p-confirmation-dialog-body {
background: #fafbfc;
border-top: solid 1px #dde0e9;
padding: 1.25em 1.5em;
}
.h5p-confirmation-dialog-text {
margin-bottom: 1.5em;
}
.h5p-confirmation-dialog-buttons {
float: right;
}
button.h5p-confirmation-dialog-exit:visited,
button.h5p-confirmation-dialog-exit:link,
button.h5p-confirmation-dialog-exit {
position: absolute;
background: none;
border: none;
font-size: 2.5em;
top: -0.9em;
right: -1.15em;
color: #fff;
cursor: pointer;
text-decoration: none;
}
button.h5p-confirmation-dialog-exit:focus,
button.h5p-confirmation-dialog-exit:hover {
color: #E4ECF5;
}
.h5p-confirmation-dialog-exit:before {
font-family: "H5P";
content: "\e890";
}
.h5p-core-button.h5p-confirmation-dialog-confirm-button {
padding-left: 0.75em;
margin-bottom: 0;
}
.h5p-core-button.h5p-confirmation-dialog-confirm-button:before {
content: "\e601";
margin-top: -6px;
display: inline-block;
}
.h5p-confirmation-dialog-popup.offline .h5p-confirmation-dialog-buttons {
float: none;
text-align: center;
}
.h5p-confirmation-dialog-popup.offline .count-down {
font-family: Arial;
margin-top: 0.15em;
color: #000;
}
.h5p-confirmation-dialog-popup.offline .h5p-confirmation-dialog-confirm-button:before {
content: "\e90b";
font-weight: normal;
vertical-align: text-bottom;
}
.throbber-wrapper {
display: none;
position: absolute;
height: 100%;
width: 100%;
top: 0;
left: 0;
z-index: 1;
background: rgba(44, 44, 44, 0.9);
}
.throbber-wrapper.show {
display: block;
}
.throbber-wrapper .throbber-container {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.throbber-wrapper .sending-requests-throbber{
position: absolute;
top: 7em;
left: 50%;
transform: translateX(-50%);
}
.throbber-wrapper .sending-requests-throbber:before {
display: block;
font-family: 'H5P';
content: "\e90b";
color: white;
font-size: 10em;
animation: request-throbber 1.5s infinite linear;
}
@keyframes request-throbber {
from {
transform: rotate(0);
}
to {
transform: rotate(359deg);
}
}

View File

@@ -0,0 +1,60 @@
button.h5p-core-button:visited,
button.h5p-core-button:link,
button.h5p-core-button {
font-family: "Open Sans", sans-serif;
font-weight: 600;
font-size: 1em;
line-height: 1.2;
padding: 0.5em 1.25em;
border-radius: 2em;
background: #2579c6;
color: #fff;
cursor: pointer;
border: none;
box-shadow: none;
outline: none;
display: inline-block;
text-align: center;
text-shadow: none;
vertical-align: baseline;
text-decoration: none;
-webkit-transition: initial;
transition: initial;
}
button.h5p-core-button:focus {
background: #1f67a8;
}
button.h5p-core-button:hover {
background: rgba(31, 103, 168, 0.83);
}
button.h5p-core-button:active {
background: #104888;
}
button.h5p-core-button:before {
font-family: 'H5P';
padding-right: 0.15em;
font-size: 1.5em;
vertical-align: middle;
line-height: 0.7;
}
button.h5p-core-cancel-button:visited,
button.h5p-core-cancel-button:link,
button.h5p-core-cancel-button {
border: none;
background: none;
color: #a00;
margin-right: 1em;
font-size: 1em;
text-decoration: none;
cursor: pointer;
}
button.h5p-core-cancel-button:hover,
button.h5p-core-cancel-button:focus {
background: none;
border: none;
color: #e40000;
}

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,56 @@
/* Table styling for content types to imitate ckeditor 5 */
.h5p-iframe {
/* The figure around the table */
figure.table {
display: table;
table-layout: fixed;
margin: 0 auto;
padding: 0;
float: left;
/* The actual table */
table {
border-collapse: collapse;
height: 100%;
width: 100%;
border-spacing: 0;
border-width: 1px;
border-color: #494949;
td, th {
padding: 1px;
border-color: #494949;
border-bottom-style: solid;
}
td {
border-width: 0.083em;
}
th {
text-align: left;
border-width: .167em;
}
tr:last-child > td {
border-bottom-style: none;
}
}
figcaption {
background-color: transparent;
caption-side: top;
color: #333;
display: table-caption;
font-size: .75em;
outline-offset: -1px;
padding: .6em;
text-align: center;
word-break: break-word;
}
}
.table-overflow-protection {
clear: both;
}
}

View File

@@ -0,0 +1,67 @@
.h5p-tooltip {
--translateX: -50%;
--translateY: 0;
display: none;
position: absolute;
bottom: 100%;
left: 50%;
transform: translateX(var(--translateX)) translateY(var(--translateY));
z-index: 4;
font-size: 0.9rem;
line-height: 1.5rem;
padding: 0 0.5rem;
white-space: nowrap;
background: #000;
color: #FFF;
cursor: default;
/* To hide the position adjustments and to get a bit more
pleasent popup effect */
-webkit-animation: 800ms ease 0s normal forwards 1 fadein;
animation: 800ms ease 0s normal forwards 1 fadein;
}
@keyframes fadein{
0% { opacity: 0; }
80% { opacity: 0; }
100% { opacity: 1; }
}
@-webkit-keyframes fadein{
0% { opacity: 0; }
80% { opacity: 0; }
100% { opacity: 1; }
}
.h5p-tooltip-bottom {
top: 100%;
bottom: auto;
}
.h5p-tooltip-left {
--translateY: -50%;
--translateX: 0;
top: 50%;
bottom: auto;
left: auto;
right: 100%;
}
.h5p-tooltip-right {
--translateY: -50%;
--translateX: 0;
top: 50%;
bottom: auto;
left: 100%;
right: auto;
}
.h5p-tooltip-visible {
display: block;
}

640
vendor/h5p/h5p-core/styles/h5p.css vendored Normal file
View File

@@ -0,0 +1,640 @@
/* Import common fonts */
@import 'font-open-sans.css';
/* General CSS for H5P. Licensed under the MIT License.*/
/* Custom H5P font to use for icons. */
@font-face {
font-family: 'h5p';
src: url('../fonts/h5p-core-30.eot?h1atjl');
src: url('../fonts/h5p-core-30.eot?h1atjl#iefix') format('embedded-opentype'),
url('../fonts/h5p-core-30.ttf?h1atjl') format('truetype'),
url('../fonts/h5p-core-30.woff?h1atjl') format('woff'),
url('../fonts/h5p-core-30.svg?h1atjl#h5p-core-30') format('svg');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'h5p-hub-publish';
src: url('../fonts/h5p-hub-publish.eot?wy8ylc');
src: url('../fonts/h5p-hub-publish.eot?wy8ylc#iefix') format('embedded-opentype'),
url('../fonts/h5p-hub-publish.ttf?wy8ylc') format('truetype'),
url('../fonts/h5p-hub-publish.woff?wy8ylc') format('woff'),
url('../fonts/h5p-hub-publish.svg?wy8ylc#h5p-hub') format('svg');
font-weight: normal;
font-style: normal;
font-display: block;
}
html.h5p-iframe, html.h5p-iframe > body {
font-family: Sans-Serif; /* Use the browser's default sans-serif font. (Since Heletica doesn't look nice on Windows, and Arial on OS X.) */
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
.h5p-semi-fullscreen, .h5p-fullscreen, html.h5p-iframe .h5p-container {
overflow: hidden;
}
.h5p-content {
position: relative;
background: #fefefe;
border: 1px solid #EEE;
border-bottom: none;
box-sizing: border-box;
-moz-box-sizing: border-box;
}
.h5p-noselect
{
-khtml-user-select: none;
-ms-user-select: none;
-moz-user-select: none;
-webkit-user-select: none;
user-select: none;
}
html.h5p-iframe .h5p-content {
font-size: 16px;
line-height: 1.5em;
width: 100%;
height: auto;
-webkit-text-size-adjust: none;
text-size-adjust: none;
}
html.h5p-iframe .h5p-fullscreen .h5p-content,
html.h5p-iframe .h5p-semi-fullscreen .h5p-content {
height: 100%;
}
.h5p-content.h5p-no-frame,
.h5p-fullscreen .h5p-content,
.h5p-semi-fullscreen .h5p-content {
border: 0;
}
.h5p-container {
position: relative;
z-index: 1;
}
.h5p-iframe-wrapper.h5p-fullscreen {
background-color: #000;
}
body.h5p-semi-fullscreen {
position: fixed;
width: 100%;
height: 100%;
}
.h5p-container.h5p-semi-fullscreen {
position: fixed;
top: 0;
left: 0;
z-index: 101;
width: 100%;
height: 100%;
background-color: #FFF;
}
.h5p-content-controls {
margin: 0;
position: absolute;
right: 0;
top: 0;
z-index: 3;
}
.h5p-fullscreen .h5p-content-controls {
display: none;
}
.h5p-content-controls > a:link, .h5p-content-controls > a:visited, a.h5p-disable-fullscreen:link, a.h5p-disable-fullscreen:visited {
color: #e5eef6;
}
.h5p-enable-fullscreen:before {
font-family: 'H5P';
content: "\e88c";
}
.h5p-disable-fullscreen:before {
font-family: 'H5P';
content: "\e891";
}
.h5p-enable-fullscreen, .h5p-disable-fullscreen {
cursor: pointer;
color: #EEE;
background: rgb(0,0,0);
background: rgba(0,0,0,0.3);
line-height: 0.975em;
font-size: 2em;
width: 1.125em;
height: 1em;
text-indent: 0.04em;
}
.h5p-disable-fullscreen {
line-height: 0.925em;
width: 1.1em;
height: 0.9em;
}
.h5p-enable-fullscreen:focus,
.h5p-disable-fullscreen:focus {
outline-style: solid;
outline-width: 1px;
outline-offset: 0.25em;
}
.h5p-enable-fullscreen:hover, .h5p-disable-fullscreen:hover {
background: rgba(0,0,0,0.5);
}
.h5p-semi-fullscreen .h5p-enable-fullscreen {
display: none;
}
div.h5p-fullscreen {
width: 100%;
height: 100%;
}
.h5p-iframe-wrapper {
width: auto;
height: auto;
}
.h5p-fullscreen .h5p-iframe-wrapper,
.h5p-semi-fullscreen .h5p-iframe-wrapper {
width: 100%;
height: 100%;
}
.h5p-iframe-wrapper.h5p-semi-fullscreen {
width: auto;
height: auto;
background: black;
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 100001;
}
.h5p-iframe-wrapper.h5p-semi-fullscreen .buttons {
position: absolute;
top: 0;
right: 0;
z-index: 20;
}
.h5p-iframe-wrapper iframe.h5p-iframe {
/* Hack for IOS landscape / portrait */
width: 10px;
min-width: 100%;
*width: 100%;
/* End of hack */
height: 100%;
z-index: 10;
overflow: hidden;
border: 0;
display: block;
}
.h5p-content ul.h5p-actions {
box-sizing: border-box;
-moz-box-sizing: border-box;
list-style: none;
padding: 0px 10px;
margin: 0;
height: 25px;
font-size: 12px;
background: #FAFAFA;
border-top: 1px solid #EEE;
border-bottom: 1px solid #EEE;
clear: both;
font-family: Sans-Serif;
}
.h5p-fullscreen .h5p-actions, .h5p-semi-fullscreen .h5p-actions {
display: none;
}
.h5p-actions > .h5p-button {
float: left;
cursor: pointer;
margin: 0 0.5em 0 0;
background: none;
padding: 0 0.75em 0 0.25em;
vertical-align: top;
color: #707070;
text-decoration: none;
outline: none;
line-height: 22px;
}
.h5p-actions button:hover {
color: #333;
}
.h5p-actions button:active,
.h5p-actions button:focus,
.h5p-actions .h5p-link:active,
.h5p-actions .h5p-link:focus {
color: #666;
}
.h5p-actions button {
display: inline-flex;
padding: 0;
margin: 0;
color: #6A6A6A;
position: relative;
/* Disable default button style */
background: none;
border: none;
font: inherit;
cursor: pointer;
line-height: 2;
}
.h5p-actions button:focus,
.h5p-actions .h5p-link:focus {
outline-style: solid;
outline-width: thin;
outline-offset: -2px;
outline-color: #5981A1;
}
.h5p-actions button:before {
font-family: 'H5P';
font-size: 20px;
line-height: 23px;
vertical-align: bottom;
padding-right: 0;
}
.h5p-actions > .h5p-button.h5p-export > button:before {
content: "\e90b";
}
.h5p-actions > .h5p-button.h5p-copyrights > button:before {
content: "\e88f";
}
.h5p-actions > .h5p-button.h5p-embed > button:before {
content: "\e892";
}
.h5p-actions .h5p-link {
float: right;
margin-right: 0;
font-size: 2.0em;
line-height: 23px;
position: relative;
color: #6a6a6a;
text-decoration: none;
outline: none;
}
.h5p-actions .h5p-link:before {
font-family: 'H5P';
content: "\e88e";
vertical-align: bottom;
}
.h5p-actions > li {
margin: 0;
list-style: none;
}
.h5p-popup-dialog {
position: absolute;
top: 0;
left: 0;
width: 100%;
min-height: 100%;
z-index: 100;
padding: 2em;
box-sizing: border-box;
-moz-box-sizing: border-box;
opacity: 0;
-webkit-transition: opacity 0.2s;
-moz-transition: opacity 0.2s;
-o-transition: opacity 0.2s;
transition: opacity 0.2s;
background:#000;
background:rgba(0,0,0,0.75);
}
.h5p-popup-dialog.h5p-open {
opacity: 1;
}
.h5p-popup-dialog .h5p-inner {
box-sizing: border-box;
-moz-box-sizing: border-box;
background: #fff;
height: 100%;
max-height: 100%;
position: relative;
}
.h5p-popup-dialog .h5p-inner > h2 {
position: absolute;
box-sizing: border-box;
-moz-box-sizing: border-box;
width: 100%;
margin: 0;
background: #eee;
display: block;
color: #656565;
font-size: 1.25em;
padding: 0.325em 0.5em 0.25em;
line-height: 1.25em;
border-bottom: 1px solid #ccc;
z-index: 2;
}
.h5p-popup-dialog .h5p-inner > h2 > a {
font-size: 12px;
margin-left: 1em;
}
.h5p-embed-dialog .h5p-inner,
.h5p-reuse-dialog .h5p-inner,
.h5p-content-user-data-reset-dialog .h5p-inner {
min-width: 316px;
max-width: 400px;
left: 50%;
top: 50%;
transform: translateX(-50%);
}
.h5p-embed-dialog .h5p-embed-code-container,
.h5p-embed-size {
resize: none;
outline: none;
width: 100%;
padding: 0.375em 0.5em 0.25em;
margin: 0;
overflow: hidden;
border: 1px solid #ccc;
box-shadow: 0 1px 2px 0 #d0d0d0 inset;
font-size: 0.875em;
letter-spacing: 0.065em;
font-family: sans-serif;
white-space: pre;
line-height: 1.5em;
height: 2.0714em;
background: #f5f5f5;
box-sizing: border-box;
-moz-box-sizing: border-box;
}
.h5p-embed-dialog .h5p-embed-code-container:focus {
height: 5em;
}
.h5p-embed-size {
width: 3.5em;
text-align: right;
margin: 0.5em 0;
line-height: 2em;
}
.h5p-popup-dialog .h5p-scroll-content {
border-top: 2.25em solid transparent;
padding: 1em;
box-sizing: border-box;
-moz-box-sizing: border-box;
color: #555555;
z-index: 1;
}
.h5p-popup-dialog.h5p-open .h5p-scroll-content {
overflow: auto;
overflow-x: hidden;
overflow-y: auto;
height: 100%;
}
.h5p-popup-dialog .h5p-scroll-content::-webkit-scrollbar {
width: 8px;
}
.h5p-popup-dialog .h5p-scroll-content::-webkit-scrollbar-track {
background: #e0e0e0;
}
.h5p-popup-dialog .h5p-scroll-content::-webkit-scrollbar-thumb {
box-shadow: 0 0 10px #000 inset;
border-radius: 4px;
}
.h5p-popup-dialog .h5p-close {
cursor: pointer;
font-size: 2em;
position: absolute;
right: 0;
top: 0;
width: 1.125em;
height: 1.125em;
line-height: 1.125em;
color: #656565;
cursor: pointer;
text-indent: -0.065em;
z-index: 3
}
.h5p-popup-dialog .h5p-close:after {
font-family: 'H5P';
content: "\e894";
}
.h5p-popup-dialog .h5p-close:hover:after,
.h5p-popup-dialog .h5p-close:focus:after {
color: #454545;
}
.h5p-popup-dialog .h5p-close:active:after {
color: #252525;
}
.h5p-poopup-dialog h2 {
margin: 0.25em 0 0.5em;
}
.h5p-popup-dialog h3 {
margin: 0.75em 0 0.25em;
}
.h5p-popup-dialog dl {
margin: 0.25em 0 0.75em;
}
.h5p-popup-dialog dt {
float: left;
margin: 0 0.75em 0 0;
}
.h5p-popup-dialog dt:after {
content: ':';
}
.h5p-popup-dialog dd {
margin: 0;
}
.h5p-expander {
cursor: pointer;
font-size: 1.125em;
margin: 0.5em 0 0;
display: inline-block;
}
.h5p-expander:before {
content: "+";
width: 1em;
display: inline-block;
font-weight: bold;
}
.h5p-expander.h5p-open:before {
content: "-";
text-indent: 0.125em;
}
.h5p-expander:hover,
.h5p-expander:focus {
color: #303030;
}
.h5p-expander:active {
color: #202020;
}
.h5p-expander-content {
display: none;
}
.h5p-expander-content p {
margin: 0.5em 0;
}
.h5p-content-copyrights {
border-left: 0.25em solid #d0d0d0;
margin-left: 0.25em;
padding-left: 0.25em;
}
.h5p-throbber {
background: url('../images/throbber.gif?ver=1.2.1') 10px center no-repeat;
padding-left: 38px;
min-height: 30px;
line-height: 30px;
}
.h5p-dialog-ok-button {
cursor: default;
float: right;
outline: none;
border: 2px solid #ccc;
padding: 0.25em 0.75em 0.125em;
background: #eee;
}
.h5p-dialog-ok-button:hover,
.h5p-dialog-ok-button:focus {
background: #fafafa;
}
.h5p-dialog-ok-button:active {
background: #eeffee;
}
.h5p-big-button {
line-height: 1.25;
display: block;
position: relative;
cursor: pointer;
width: 100%;
padding: 1em 1em 1em 3.75em;
text-align: left;
border: 1px solid #dedede;
background: linear-gradient(#ffffff, #f1f1f2);
border-radius: 0.25em;
}
.h5p-big-button:before {
font-family: 'h5p';
content: "\e893";
line-height: 1;
font-size: 3em;
color: #2747f7;
position: absolute;
left: 0.125em;
top: 0.125em;
}
.h5p-copy-button:before {
content: "\e905";
}
.h5p-big-button:hover {
border: 1px solid #2747f7;
background: #eff1fe;
}
.h5p-big-button:active {
border: 1px solid #dedede;
background: #dfe4fe;
}
.h5p-button-title {
color: #2747f7;
font-size: 15px;
font-weight: bold;
margin-bottom: 0.5em;
}
.h5p-button-description {
color: #757575;
}
.h5p-horizontal-line-text {
border-top: 1px solid #dadada;
line-height: 1;
color: #474747;
text-align: center;
position: relative;
margin: 1.25em 0;
}
.h5p-horizontal-line-text > span {
background: white;
padding: 0.5em;
position: absolute;
top: -1em;
left: 50%;
transform: translateX(-50%);
}
.h5p-toast {
font-size: 0.75em;
background-color: rgba(0, 0, 0, 0.9);
color: #fff;
z-index: 110;
position: absolute;
padding: 0 0.5em;
line-height: 2;
border-radius: 4px;
white-space: nowrap;
pointer-events: none;
top: 0;
opacity: 1;
visibility: visible;
transition: opacity 1s;
}
.h5p-toast-disabled {
opacity: 0;
visibility: hidden;
}
.h5p-content code,
.h5peditor code {
color: #3d3d3d;
background: #e0e0e0;
border-radius: 2px;
padding: 0 5px;
}
.h5p-content pre > code,
.h5peditor pre > code {
background-color: #fafafa;
padding: 5px;
display: block;
line-height: normal;
border: 1px solid #c7c7c7;
border-left-width: 4px;
max-width: 100%;
white-space: pre;
overflow: auto;
}
/* This is loaded as part of Core and not Editor since this needs to be outside the editor iframe */
.h5peditor-semi-fullscreen {
width: 100%;
height: 100%;
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 101;
}
iframe.h5peditor-semi-fullscreen {
background: #fff;
z-index: 100001;
}
.h5p-content.using-mouse *:not(textarea):focus {
outline: none !important;
}
.h5p-content-hub-button:before {
font-family: "h5p";
margin-right: 0.5em;
font-size: 0.7em;
line-height: 1;
}
.h5p-content-hub-button.unpublish:before {
content: "\e916";
}
.h5p-content-hub-button.waiting:before,
.h5p-content-hub-button.sync:before {
content: "\e917";
}
.h5p-content-hub-button.waiting:before {
display: inline-block;
animation: rotate 2s linear infinite;
}
@keyframes rotate {
to {
transform: rotate(360deg);
}
}