Spaces:
Sleeping
Sleeping
Upload 312 files
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- .gitattributes +5 -0
- videoretalking/.gitignore +15 -0
- videoretalking/CODE_OF_CONDUCT.md +43 -0
- videoretalking/LICENSE +201 -0
- videoretalking/README.md +144 -0
- videoretalking/__pycache__/inference_function.cpython-39.pyc +0 -0
- videoretalking/cog.yaml +29 -0
- videoretalking/docs/index.html +300 -0
- videoretalking/docs/static/css/bulma-carousel.min.css +1 -0
- videoretalking/docs/static/css/bulma-slider.min.css +1 -0
- videoretalking/docs/static/css/bulma.css.map.txt +1 -0
- videoretalking/docs/static/css/bulma.min.css +0 -0
- videoretalking/docs/static/css/fontawesome.all.min.css +5 -0
- videoretalking/docs/static/css/index.css +233 -0
- videoretalking/docs/static/images/pipeline.png +0 -0
- videoretalking/docs/static/images/teaser.png +3 -0
- videoretalking/docs/static/js/bulma-carousel.js +2371 -0
- videoretalking/docs/static/js/bulma-carousel.min.js +1 -0
- videoretalking/docs/static/js/bulma-slider.js +461 -0
- videoretalking/docs/static/js/bulma-slider.min.js +1 -0
- videoretalking/docs/static/js/fontawesome.all.min.js +0 -0
- videoretalking/docs/static/js/index.js +21 -0
- videoretalking/docs/static/pdfs/sample.pdf +0 -0
- videoretalking/docs/static/videos/Ablation.mp4 +3 -0
- videoretalking/docs/static/videos/Comparison.mp4 +3 -0
- videoretalking/docs/static/videos/Results_in_the_wild.mp4 +3 -0
- videoretalking/examples/audio/1.wav +0 -0
- videoretalking/examples/audio/2.wav +0 -0
- videoretalking/examples/face/1.mp4 +0 -0
- videoretalking/examples/face/2.mp4 +0 -0
- videoretalking/examples/face/3.mp4 +0 -0
- videoretalking/examples/face/4.mp4 +0 -0
- videoretalking/examples/face/5.mp4 +0 -0
- videoretalking/inference - Copy.py +345 -0
- videoretalking/inference.py +345 -0
- videoretalking/inference1.py +347 -0
- videoretalking/inference_function.py +368 -0
- videoretalking/inference_videoretalking.sh +4 -0
- videoretalking/models/DNet.py +118 -0
- videoretalking/models/ENet.py +139 -0
- videoretalking/models/LNet.py +139 -0
- videoretalking/models/__init__.py +37 -0
- videoretalking/models/__pycache__/DNet.cpython-39.pyc +0 -0
- videoretalking/models/__pycache__/ENet.cpython-39.pyc +0 -0
- videoretalking/models/__pycache__/LNet.cpython-39.pyc +0 -0
- videoretalking/models/__pycache__/__init__.cpython-39.pyc +0 -0
- videoretalking/models/__pycache__/base_blocks.cpython-39.pyc +0 -0
- videoretalking/models/__pycache__/ffc.cpython-39.pyc +0 -0
- videoretalking/models/__pycache__/transformer.cpython-39.pyc +0 -0
- videoretalking/models/base_blocks.py +554 -0
.gitattributes
CHANGED
@@ -33,3 +33,8 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
+
videoretalking/docs/static/images/teaser.png filter=lfs diff=lfs merge=lfs -text
|
37 |
+
videoretalking/docs/static/videos/Ablation.mp4 filter=lfs diff=lfs merge=lfs -text
|
38 |
+
videoretalking/docs/static/videos/Comparison.mp4 filter=lfs diff=lfs merge=lfs -text
|
39 |
+
videoretalking/docs/static/videos/Results_in_the_wild.mp4 filter=lfs diff=lfs merge=lfs -text
|
40 |
+
videoretalking/temp/temp/temp.wav filter=lfs diff=lfs merge=lfs -text
|
videoretalking/.gitignore
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
*.pkl
|
2 |
+
*.jpg
|
3 |
+
*.pth
|
4 |
+
*.pyc
|
5 |
+
__pycache__
|
6 |
+
*.h5
|
7 |
+
*.pyc
|
8 |
+
*.mkv
|
9 |
+
*.gif
|
10 |
+
*.webm
|
11 |
+
checkpoints/*
|
12 |
+
results/*
|
13 |
+
temp/*
|
14 |
+
segments.txt
|
15 |
+
.DS_Store
|
videoretalking/CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Code of Conduct
|
2 |
+
|
3 |
+
## Our Pledge
|
4 |
+
|
5 |
+
In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to make participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
|
6 |
+
|
7 |
+
## Our Standards
|
8 |
+
|
9 |
+
Examples of behavior that contributes to creating a positive environment include:
|
10 |
+
|
11 |
+
- Using welcoming and inclusive language
|
12 |
+
- Being respectful of differing viewpoints and experiences
|
13 |
+
- Gracefully accepting constructive criticism
|
14 |
+
- Focusing on what is best for the community
|
15 |
+
- Showing empathy towards other community members
|
16 |
+
|
17 |
+
Examples of unacceptable behavior by participants include:
|
18 |
+
|
19 |
+
- The use of sexualized language or imagery and unwelcome sexual attention or advances
|
20 |
+
- Trolling, insulting/derogatory comments, and personal or political attacks
|
21 |
+
- Public or private harassment
|
22 |
+
- Publishing others' private information, such as a physical or electronic address, without explicit permission
|
23 |
+
- Other conduct that could reasonably be considered inappropriate in a professional setting
|
24 |
+
|
25 |
+
## Our Responsibilities
|
26 |
+
|
27 |
+
Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.
|
28 |
+
|
29 |
+
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned with this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
|
30 |
+
|
31 |
+
## Scope
|
32 |
+
|
33 |
+
This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project email address, posting via an official social media account, or acting as an appointed representative at an online or offline event.
|
34 |
+
|
35 |
+
## Enforcement
|
36 |
+
|
37 |
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team All complaints will be reviewed and investigated and will result in a response that is deemed necessary and appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident.
|
38 |
+
|
39 |
+
Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.
|
40 |
+
|
41 |
+
## Attribution
|
42 |
+
|
43 |
+
This Code of Conduct is adapted from the Contributor Covenant, version 2.0, available at [https://www.contributor-covenant.org/version/2/0/code_of_conduct.html](https://www.contributor-covenant.org/version/2/0/code_of_conduct.html).
|
videoretalking/LICENSE
ADDED
@@ -0,0 +1,201 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Apache License
|
2 |
+
Version 2.0, January 2004
|
3 |
+
http://www.apache.org/licenses/
|
4 |
+
|
5 |
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
6 |
+
|
7 |
+
1. Definitions.
|
8 |
+
|
9 |
+
"License" shall mean the terms and conditions for use, reproduction,
|
10 |
+
and distribution as defined by Sections 1 through 9 of this document.
|
11 |
+
|
12 |
+
"Licensor" shall mean the copyright owner or entity authorized by
|
13 |
+
the copyright owner that is granting the License.
|
14 |
+
|
15 |
+
"Legal Entity" shall mean the union of the acting entity and all
|
16 |
+
other entities that control, are controlled by, or are under common
|
17 |
+
control with that entity. For the purposes of this definition,
|
18 |
+
"control" means (i) the power, direct or indirect, to cause the
|
19 |
+
direction or management of such entity, whether by contract or
|
20 |
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
21 |
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
22 |
+
|
23 |
+
"You" (or "Your") shall mean an individual or Legal Entity
|
24 |
+
exercising permissions granted by this License.
|
25 |
+
|
26 |
+
"Source" form shall mean the preferred form for making modifications,
|
27 |
+
including but not limited to software source code, documentation
|
28 |
+
source, and configuration files.
|
29 |
+
|
30 |
+
"Object" form shall mean any form resulting from mechanical
|
31 |
+
transformation or translation of a Source form, including but
|
32 |
+
not limited to compiled object code, generated documentation,
|
33 |
+
and conversions to other media types.
|
34 |
+
|
35 |
+
"Work" shall mean the work of authorship, whether in Source or
|
36 |
+
Object form, made available under the License, as indicated by a
|
37 |
+
copyright notice that is included in or attached to the work
|
38 |
+
(an example is provided in the Appendix below).
|
39 |
+
|
40 |
+
"Derivative Works" shall mean any work, whether in Source or Object
|
41 |
+
form, that is based on (or derived from) the Work and for which the
|
42 |
+
editorial revisions, annotations, elaborations, or other modifications
|
43 |
+
represent, as a whole, an original work of authorship. For the purposes
|
44 |
+
of this License, Derivative Works shall not include works that remain
|
45 |
+
separable from, or merely link (or bind by name) to the interfaces of,
|
46 |
+
the Work and Derivative Works thereof.
|
47 |
+
|
48 |
+
"Contribution" shall mean any work of authorship, including
|
49 |
+
the original version of the Work and any modifications or additions
|
50 |
+
to that Work or Derivative Works thereof, that is intentionally
|
51 |
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
52 |
+
or by an individual or Legal Entity authorized to submit on behalf of
|
53 |
+
the copyright owner. For the purposes of this definition, "submitted"
|
54 |
+
means any form of electronic, verbal, or written communication sent
|
55 |
+
to the Licensor or its representatives, including but not limited to
|
56 |
+
communication on electronic mailing lists, source code control systems,
|
57 |
+
and issue tracking systems that are managed by, or on behalf of, the
|
58 |
+
Licensor for the purpose of discussing and improving the Work, but
|
59 |
+
excluding communication that is conspicuously marked or otherwise
|
60 |
+
designated in writing by the copyright owner as "Not a Contribution."
|
61 |
+
|
62 |
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
63 |
+
on behalf of whom a Contribution has been received by Licensor and
|
64 |
+
subsequently incorporated within the Work.
|
65 |
+
|
66 |
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
67 |
+
this License, each Contributor hereby grants to You a perpetual,
|
68 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
69 |
+
copyright license to reproduce, prepare Derivative Works of,
|
70 |
+
publicly display, publicly perform, sublicense, and distribute the
|
71 |
+
Work and such Derivative Works in Source or Object form.
|
72 |
+
|
73 |
+
3. Grant of Patent License. Subject to the terms and conditions of
|
74 |
+
this License, each Contributor hereby grants to You a perpetual,
|
75 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
76 |
+
(except as stated in this section) patent license to make, have made,
|
77 |
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
78 |
+
where such license applies only to those patent claims licensable
|
79 |
+
by such Contributor that are necessarily infringed by their
|
80 |
+
Contribution(s) alone or by combination of their Contribution(s)
|
81 |
+
with the Work to which such Contribution(s) was submitted. If You
|
82 |
+
institute patent litigation against any entity (including a
|
83 |
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
84 |
+
or a Contribution incorporated within the Work constitutes direct
|
85 |
+
or contributory patent infringement, then any patent licenses
|
86 |
+
granted to You under this License for that Work shall terminate
|
87 |
+
as of the date such litigation is filed.
|
88 |
+
|
89 |
+
4. Redistribution. You may reproduce and distribute copies of the
|
90 |
+
Work or Derivative Works thereof in any medium, with or without
|
91 |
+
modifications, and in Source or Object form, provided that You
|
92 |
+
meet the following conditions:
|
93 |
+
|
94 |
+
(a) You must give any other recipients of the Work or
|
95 |
+
Derivative Works a copy of this License; and
|
96 |
+
|
97 |
+
(b) You must cause any modified files to carry prominent notices
|
98 |
+
stating that You changed the files; and
|
99 |
+
|
100 |
+
(c) You must retain, in the Source form of any Derivative Works
|
101 |
+
that You distribute, all copyright, patent, trademark, and
|
102 |
+
attribution notices from the Source form of the Work,
|
103 |
+
excluding those notices that do not pertain to any part of
|
104 |
+
the Derivative Works; and
|
105 |
+
|
106 |
+
(d) If the Work includes a "NOTICE" text file as part of its
|
107 |
+
distribution, then any Derivative Works that You distribute must
|
108 |
+
include a readable copy of the attribution notices contained
|
109 |
+
within such NOTICE file, excluding those notices that do not
|
110 |
+
pertain to any part of the Derivative Works, in at least one
|
111 |
+
of the following places: within a NOTICE text file distributed
|
112 |
+
as part of the Derivative Works; within the Source form or
|
113 |
+
documentation, if provided along with the Derivative Works; or,
|
114 |
+
within a display generated by the Derivative Works, if and
|
115 |
+
wherever such third-party notices normally appear. The contents
|
116 |
+
of the NOTICE file are for informational purposes only and
|
117 |
+
do not modify the License. You may add Your own attribution
|
118 |
+
notices within Derivative Works that You distribute, alongside
|
119 |
+
or as an addendum to the NOTICE text from the Work, provided
|
120 |
+
that such additional attribution notices cannot be construed
|
121 |
+
as modifying the License.
|
122 |
+
|
123 |
+
You may add Your own copyright statement to Your modifications and
|
124 |
+
may provide additional or different license terms and conditions
|
125 |
+
for use, reproduction, or distribution of Your modifications, or
|
126 |
+
for any such Derivative Works as a whole, provided Your use,
|
127 |
+
reproduction, and distribution of the Work otherwise complies with
|
128 |
+
the conditions stated in this License.
|
129 |
+
|
130 |
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
131 |
+
any Contribution intentionally submitted for inclusion in the Work
|
132 |
+
by You to the Licensor shall be under the terms and conditions of
|
133 |
+
this License, without any additional terms or conditions.
|
134 |
+
Notwithstanding the above, nothing herein shall supersede or modify
|
135 |
+
the terms of any separate license agreement you may have executed
|
136 |
+
with Licensor regarding such Contributions.
|
137 |
+
|
138 |
+
6. Trademarks. This License does not grant permission to use the trade
|
139 |
+
names, trademarks, service marks, or product names of the Licensor,
|
140 |
+
except as required for reasonable and customary use in describing the
|
141 |
+
origin of the Work and reproducing the content of the NOTICE file.
|
142 |
+
|
143 |
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
144 |
+
agreed to in writing, Licensor provides the Work (and each
|
145 |
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
146 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
147 |
+
implied, including, without limitation, any warranties or conditions
|
148 |
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
149 |
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
150 |
+
appropriateness of using or redistributing the Work and assume any
|
151 |
+
risks associated with Your exercise of permissions under this License.
|
152 |
+
|
153 |
+
8. Limitation of Liability. In no event and under no legal theory,
|
154 |
+
whether in tort (including negligence), contract, or otherwise,
|
155 |
+
unless required by applicable law (such as deliberate and grossly
|
156 |
+
negligent acts) or agreed to in writing, shall any Contributor be
|
157 |
+
liable to You for damages, including any direct, indirect, special,
|
158 |
+
incidental, or consequential damages of any character arising as a
|
159 |
+
result of this License or out of the use or inability to use the
|
160 |
+
Work (including but not limited to damages for loss of goodwill,
|
161 |
+
work stoppage, computer failure or malfunction, or any and all
|
162 |
+
other commercial damages or losses), even if such Contributor
|
163 |
+
has been advised of the possibility of such damages.
|
164 |
+
|
165 |
+
9. Accepting Warranty or Additional Liability. While redistributing
|
166 |
+
the Work or Derivative Works thereof, You may choose to offer,
|
167 |
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
168 |
+
or other liability obligations and/or rights consistent with this
|
169 |
+
License. However, in accepting such obligations, You may act only
|
170 |
+
on Your own behalf and on Your sole responsibility, not on behalf
|
171 |
+
of any other Contributor, and only if You agree to indemnify,
|
172 |
+
defend, and hold each Contributor harmless for any liability
|
173 |
+
incurred by, or claims asserted against, such Contributor by reason
|
174 |
+
of your accepting any such warranty or additional liability.
|
175 |
+
|
176 |
+
END OF TERMS AND CONDITIONS
|
177 |
+
|
178 |
+
APPENDIX: How to apply the Apache License to your work.
|
179 |
+
|
180 |
+
To apply the Apache License to your work, attach the following
|
181 |
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
182 |
+
replaced with your own identifying information. (Don't include
|
183 |
+
the brackets!) The text should be enclosed in the appropriate
|
184 |
+
comment syntax for the file format. We also recommend that a
|
185 |
+
file or class name and description of purpose be included on the
|
186 |
+
same "printed page" as the copyright notice for easier
|
187 |
+
identification within third-party archives.
|
188 |
+
|
189 |
+
Copyright [yyyy] [name of copyright owner]
|
190 |
+
|
191 |
+
Licensed under the Apache License, Version 2.0 (the "License");
|
192 |
+
you may not use this file except in compliance with the License.
|
193 |
+
You may obtain a copy of the License at
|
194 |
+
|
195 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
196 |
+
|
197 |
+
Unless required by applicable law or agreed to in writing, software
|
198 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
199 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
200 |
+
See the License for the specific language governing permissions and
|
201 |
+
limitations under the License.
|
videoretalking/README.md
ADDED
@@ -0,0 +1,144 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<div align="center">
|
2 |
+
|
3 |
+
<h2>VideoReTalking <br/> <span style="font-size:12px">Audio-based Lip Synchronization for Talking Head Video Editing in the Wild</span> </h2>
|
4 |
+
|
5 |
+
<a href='https://arxiv.org/abs/2211.14758'><img src='https://img.shields.io/badge/ArXiv-2211.14758-red'></a> <a href='https://vinthony.github.io/video-retalking/'><img src='https://img.shields.io/badge/Project-Page-Green'></a> [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/vinthony/video-retalking/blob/main/quick_demo.ipynb)
|
6 |
+
[![Replicate](https://replicate.com/cjwbw/video-retalking/badge)](https://replicate.com/cjwbw/video-retalking)
|
7 |
+
|
8 |
+
<div>
|
9 |
+
<a target='_blank'>Kun Cheng <sup>*,1,2</sup> </a> 
|
10 |
+
<a href='https://vinthony.github.io/' target='_blank'>Xiaodong Cun <sup>*,2</a> 
|
11 |
+
<a href='https://yzhang2016.github.io/yongnorriszhang.github.io/' target='_blank'>Yong Zhang <sup>2</sup></a> 
|
12 |
+
<a href='https://menghanxia.github.io/' target='_blank'>Menghan Xia <sup>2</sup></a> 
|
13 |
+
<a href='https://feiiyin.github.io/' target='_blank'>Fei Yin <sup>2,3</sup></a> <br/>
|
14 |
+
<a href='https://web.xidian.edu.cn/mrzhu/en/index.html' target='_blank'>Mingrui Zhu <sup>1</sup></a> 
|
15 |
+
<a href='https://xuanwangvc.github.io/' target='_blank'>Xuan Wang <sup>2</sup></a> 
|
16 |
+
<a href='https://juewang725.github.io/' target='_blank'>Jue Wang <sup>2</sup></a> 
|
17 |
+
<a href='https://web.xidian.edu.cn/nnwang/en/index.html' target='_blank'>Nannan Wang <sup>1</sup></a>
|
18 |
+
</div>
|
19 |
+
<br>
|
20 |
+
<div>
|
21 |
+
<sup>1</sup> Xidian University   <sup>2</sup> Tencent AI Lab   <sup>3</sup> Tsinghua University
|
22 |
+
</div>
|
23 |
+
<br>
|
24 |
+
<i><strong><a href='https://sa2022.siggraph.org/' target='_blank'>SIGGRAPH Asia 2022 Conference Track</a></strong></i>
|
25 |
+
<br>
|
26 |
+
<br>
|
27 |
+
<img src="https://opentalker.github.io/video-retalking/static/images/teaser.png" width="768px">
|
28 |
+
|
29 |
+
|
30 |
+
<div align="justify"> <BR> We present VideoReTalking, a new system to edit the faces of a real-world talking head video according to input audio, producing a high-quality and lip-syncing output video even with a different emotion. Our system disentangles this objective into three sequential tasks:
|
31 |
+
|
32 |
+
<BR> (1) face video generation with a canonical expression
|
33 |
+
<BR> (2) audio-driven lip-sync and
|
34 |
+
<BR> (3) face enhancement for improving photo-realism.
|
35 |
+
|
36 |
+
<BR> Given a talking-head video, we first modify the expression of each frame according to the same expression template using the expression editing network, resulting in a video with the canonical expression. This video, together with the given audio, is then fed into the lip-sync network to generate a lip-syncing video. Finally, we improve the photo-realism of the synthesized faces through an identity-aware face enhancement network and post-processing. We use learning-based approaches for all three steps and all our modules can be tackled in a sequential pipeline without any user intervention.</div>
|
37 |
+
<BR>
|
38 |
+
|
39 |
+
<p>
|
40 |
+
<img alt='pipeline' src="./docs/static/images/pipeline.png?raw=true" width="768px"><br>
|
41 |
+
<em align='center'>Pipeline</em>
|
42 |
+
</p>
|
43 |
+
|
44 |
+
</div>
|
45 |
+
|
46 |
+
## Results in the Wild (contains audio)
|
47 |
+
https://user-images.githubusercontent.com/4397546/224310754-665eb2dd-aadc-47dc-b1f9-2029a937b20a.mp4
|
48 |
+
|
49 |
+
|
50 |
+
|
51 |
+
|
52 |
+
## Environment
|
53 |
+
```
|
54 |
+
git clone https://github.com/vinthony/video-retalking.git
|
55 |
+
cd video-retalking
|
56 |
+
conda create -n video_retalking python=3.8
|
57 |
+
conda activate video_retalking
|
58 |
+
|
59 |
+
conda install ffmpeg
|
60 |
+
|
61 |
+
# Please follow the instructions from https://pytorch.org/get-started/previous-versions/
|
62 |
+
# This installation command only works on CUDA 11.1
|
63 |
+
pip install torch==1.9.0+cu111 torchvision==0.10.0+cu111 -f https://download.pytorch.org/whl/torch_stable.html
|
64 |
+
|
65 |
+
pip install -r requirements.txt
|
66 |
+
```
|
67 |
+
|
68 |
+
## Quick Inference
|
69 |
+
|
70 |
+
#### Pretrained Models
|
71 |
+
Please download our [pre-trained models](https://drive.google.com/drive/folders/18rhjMpxK8LVVxf7PI6XwOidt8Vouv_H0?usp=share_link) and put them in `./checkpoints`.
|
72 |
+
|
73 |
+
<!-- We also provide some [example videos and audio](https://drive.google.com/drive/folders/14OwbNGDCAMPPdY-l_xO1axpUjkPxI9Dv?usp=share_link). Please put them in `./examples`. -->
|
74 |
+
|
75 |
+
#### Inference
|
76 |
+
|
77 |
+
```
|
78 |
+
python3 inference.py \
|
79 |
+
--face examples/face/1.mp4 \
|
80 |
+
--audio examples/audio/1.wav \
|
81 |
+
--outfile results/1_1.mp4
|
82 |
+
```
|
83 |
+
This script includes data preprocessing steps. You can test any talking face videos without manual alignment. But it is worth noting that DNet cannot handle extreme poses.
|
84 |
+
|
85 |
+
You can also control the expression by adding the following parameters:
|
86 |
+
|
87 |
+
```--exp_img```: Pre-defined expression template. The default is "neutral". You can choose "smile" or an image path.
|
88 |
+
|
89 |
+
```--up_face```: You can choose "surprise" or "angry" to modify the expression of upper face with [GANimation](https://github.com/donydchen/ganimation_replicate).
|
90 |
+
|
91 |
+
|
92 |
+
|
93 |
+
## Citation
|
94 |
+
|
95 |
+
If you find our work useful in your research, please consider citing:
|
96 |
+
|
97 |
+
```
|
98 |
+
@misc{cheng2022videoretalking,
|
99 |
+
title={VideoReTalking: Audio-based Lip Synchronization for Talking Head Video Editing In the Wild},
|
100 |
+
author={Kun Cheng and Xiaodong Cun and Yong Zhang and Menghan Xia and Fei Yin and Mingrui Zhu and Xuan Wang and Jue Wang and Nannan Wang},
|
101 |
+
year={2022},
|
102 |
+
eprint={2211.14758},
|
103 |
+
archivePrefix={arXiv},
|
104 |
+
primaryClass={cs.CV}
|
105 |
+
}
|
106 |
+
```
|
107 |
+
|
108 |
+
## Acknowledgement
|
109 |
+
Thanks to
|
110 |
+
[Wav2Lip](https://github.com/Rudrabha/Wav2Lip),
|
111 |
+
[PIRenderer](https://github.com/RenYurui/PIRender),
|
112 |
+
[GFP-GAN](https://github.com/TencentARC/GFPGAN),
|
113 |
+
[GPEN](https://github.com/yangxy/GPEN),
|
114 |
+
[ganimation_replicate](https://github.com/donydchen/ganimation_replicate),
|
115 |
+
[STIT](https://github.com/rotemtzaban/STIT)
|
116 |
+
for sharing their code.
|
117 |
+
|
118 |
+
|
119 |
+
## Related Work
|
120 |
+
- [StyleHEAT: One-Shot High-Resolution Editable Talking Face Generation via Pre-trained StyleGAN (ECCV 2022)](https://github.com/FeiiYin/StyleHEAT)
|
121 |
+
- [CodeTalker: Speech-Driven 3D Facial Animation with Discrete Motion Prior (CVPR 2023)](https://github.com/Doubiiu/CodeTalker)
|
122 |
+
- [SadTalker: Learning Realistic 3D Motion Coefficients for Stylized Audio-Driven Single Image Talking Face Animation (CVPR 2023)](https://github.com/Winfredy/SadTalker)
|
123 |
+
- [DPE: Disentanglement of Pose and Expression for General Video Portrait Editing (CVPR 2023)](https://github.com/Carlyx/DPE)
|
124 |
+
- [3D GAN Inversion with Facial Symmetry Prior (CVPR 2023)](https://github.com/FeiiYin/SPI/)
|
125 |
+
- [T2M-GPT: Generating Human Motion from Textual Descriptions with Discrete Representations (CVPR 2023)](https://github.com/Mael-zys/T2M-GPT)
|
126 |
+
|
127 |
+
## Disclaimer
|
128 |
+
|
129 |
+
This is not an official product of Tencent.
|
130 |
+
|
131 |
+
```
|
132 |
+
1. Please carefully read and comply with the open-source license applicable to this code before using it.
|
133 |
+
2. Please carefully read and comply with the intellectual property declaration applicable to this code before using it.
|
134 |
+
3. This open-source code runs completely offline and does not collect any personal information or other data. If you use this code to provide services to end-users and collect related data, please take necessary compliance measures according to applicable laws and regulations (such as publishing privacy policies, adopting necessary data security strategies, etc.). If the collected data involves personal information, user consent must be obtained (if applicable). Any legal liabilities arising from this are unrelated to Tencent.
|
135 |
+
4. Without Tencent's written permission, you are not authorized to use the names or logos legally owned by Tencent, such as "Tencent." Otherwise, you may be liable for your legal responsibilities.
|
136 |
+
5. This open-source code does not have the ability to directly provide services to end-users. If you need to use this code for further model training or demos, as part of your product to provide services to end-users, or for similar use, please comply with applicable laws and regulations for your product or service. Any legal liabilities arising from this are unrelated to Tencent.
|
137 |
+
6. It is prohibited to use this open-source code for activities that harm the legitimate rights and interests of others (including but not limited to fraud, deception, infringement of others' portrait rights, reputation rights, etc.), or other behaviors that violate applicable laws and regulations or go against social ethics and good customs (including providing incorrect or false information, spreading pornographic, terrorist, and violent information, etc.). Otherwise, you may be liable for your legal responsibilities.
|
138 |
+
|
139 |
+
```
|
140 |
+
## All Thanks To Our Contributors
|
141 |
+
|
142 |
+
<a href="https://github.com/OpenTalker/video-retalking/graphs/contributors">
|
143 |
+
<img src="https://contrib.rocks/image?repo=OpenTalker/video-retalking" />
|
144 |
+
</a>
|
videoretalking/__pycache__/inference_function.cpython-39.pyc
ADDED
Binary file (12.3 kB). View file
|
|
videoretalking/cog.yaml
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Configuration for Cog ⚙️
|
2 |
+
# Reference: https://github.com/replicate/cog/blob/main/docs/yaml.md
|
3 |
+
|
4 |
+
build:
|
5 |
+
gpu: true
|
6 |
+
system_packages:
|
7 |
+
- "libgl1-mesa-glx"
|
8 |
+
- "libglib2.0-0"
|
9 |
+
- "ffmpeg"
|
10 |
+
python_version: "3.11"
|
11 |
+
python_packages:
|
12 |
+
- "torch==2.0.1"
|
13 |
+
- "torchvision==0.15.2"
|
14 |
+
- "basicsr==1.4.2"
|
15 |
+
- "kornia==0.5.1"
|
16 |
+
- "face-alignment==1.3.4"
|
17 |
+
- "ninja==1.10.2.3"
|
18 |
+
- "einops==0.4.1"
|
19 |
+
- "facexlib==0.2.5"
|
20 |
+
- "librosa==0.9.2"
|
21 |
+
- "cmake==3.27.7"
|
22 |
+
- "numpy==1.23.4"
|
23 |
+
run:
|
24 |
+
- pip install dlib
|
25 |
+
- mkdir -p /root/.pyenv/versions/3.11.6/lib/python3.11/site-packages/facexlib/weights/ && wget --output-document "/root/.pyenv/versions/3.11.6/lib/python3.11/site-packages/facexlib/weights/detection_Resnet50_Final.pth" "https://github.com/xinntao/facexlib/releases/download/v0.1.0/detection_Resnet50_Final.pth"
|
26 |
+
- mkdir -p /root/.pyenv/versions/3.11.6/lib/python3.11/site-packages/facexlib/weights/ && wget --output-document "/root/.pyenv/versions/3.11.6/lib/python3.11/site-packages/facexlib/weights/parsing_parsenet.pth" "https://github.com/xinntao/facexlib/releases/download/v0.2.2/parsing_parsenet.pth"
|
27 |
+
- mkdir -p /root/.cache/torch/hub/checkpoints/ && wget --output-document "/root/.cache/torch/hub/checkpoints/s3fd-619a316812.pth" "https://www.adrianbulat.com/downloads/python-fan/s3fd-619a316812.pth"
|
28 |
+
- mkdir -p /root/.cache/torch/hub/checkpoints/ && wget --output-document "/root/.cache/torch/hub/checkpoints/2DFAN4-cd938726ad.zip" "https://www.adrianbulat.com/downloads/python-fan/2DFAN4-cd938726ad.zip"
|
29 |
+
predict: "predict.py:Predictor"
|
videoretalking/docs/index.html
ADDED
@@ -0,0 +1,300 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!DOCTYPE html>
|
2 |
+
<html>
|
3 |
+
<head>
|
4 |
+
<meta charset="utf-8">
|
5 |
+
<!-- Meta tags for social media banners, these should be filled in appropriately as they are your "business card" -->
|
6 |
+
<!-- Replace the content tag with appropriate information -->
|
7 |
+
<meta content="VideoReTalking: Audio-based Lip Synchronization for Talking Head Video Editing In the Wild"
|
8 |
+
property="og:title">
|
9 |
+
<meta content="VideoReTalking: Audio-based Lip Synchronization for Talking Head Video Editing In the Wild"
|
10 |
+
name="description" property="og:description">
|
11 |
+
<meta content="https://vinthony.github.io/video-retalking/" property="og:url">
|
12 |
+
<!-- Path to banner image, should be in the path listed below. Optimal dimenssions are 1200X630-->
|
13 |
+
<meta property="og:image" content="static/image/your_banner_image.png" />
|
14 |
+
<meta property="og:image:width" content="1200"/>
|
15 |
+
<meta property="og:image:height" content="630"/>
|
16 |
+
|
17 |
+
|
18 |
+
<meta name="twitter:title" content="TWITTER BANNER TITLE META TAG">
|
19 |
+
<meta name="twitter:description" content="TWITTER BANNER DESCRIPTION META TAG">
|
20 |
+
<!-- Path to banner image, should be in the path listed below. Optimal dimenssions are 1200X600-->
|
21 |
+
<meta name="twitter:image" content="static/images/your_twitter_banner_image.png">
|
22 |
+
<meta name="twitter:card" content="summary_large_image">
|
23 |
+
<!-- Keywords for your paper to be indexed by-->
|
24 |
+
<meta name="keywords" content="KEYWORDS SHOULD BE PLACED HERE">
|
25 |
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
26 |
+
|
27 |
+
|
28 |
+
<title>VideoRetalking</title>
|
29 |
+
<link rel="icon" type="image/x-icon" href="static/images/favicon.ico">
|
30 |
+
<link href="https://fonts.googleapis.com/css?family=Google+Sans|Noto+Sans|Castoro"
|
31 |
+
rel="stylesheet">
|
32 |
+
|
33 |
+
<link rel="stylesheet" href="static/css/bulma.min.css">
|
34 |
+
<link rel="stylesheet" href="static/css/bulma-carousel.min.css">
|
35 |
+
<link rel="stylesheet" href="static/css/bulma-slider.min.css">
|
36 |
+
<link rel="stylesheet" href="static/css/fontawesome.all.min.css">
|
37 |
+
<link rel="stylesheet"
|
38 |
+
href="https://cdn.jsdelivr.net/gh/jpswalsh/academicons@1/css/academicons.min.css">
|
39 |
+
<link rel="stylesheet" href="static/css/index.css">
|
40 |
+
|
41 |
+
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
|
42 |
+
<script src="https://documentcloud.adobe.com/view-sdk/main.js"></script>
|
43 |
+
<script defer src="static/js/fontawesome.all.min.js"></script>
|
44 |
+
<script src="static/js/bulma-carousel.min.js"></script>
|
45 |
+
<script src="static/js/bulma-slider.min.js"></script>
|
46 |
+
<script src="static/js/index.js"></script>
|
47 |
+
</head>
|
48 |
+
<body>
|
49 |
+
|
50 |
+
|
51 |
+
<section class="hero">
|
52 |
+
<div class="hero-body">
|
53 |
+
<div class="container is-max-desktop">
|
54 |
+
<div class="columns is-centered">
|
55 |
+
<div class="column has-text-centered">
|
56 |
+
<h1 class="xtitle is-1 publication-title">VideoReTalking: Audio-based Lip Synchronization for Talking Head Video Editing In the Wild</h1>
|
57 |
+
<br/>
|
58 |
+
<div class="is-size-5 publication-authors">
|
59 |
+
<!-- Paper authors -->
|
60 |
+
<span class="author-block">
|
61 |
+
<a href="#" target="_blank">Kun Cheng</a><sup>*,1,2</sup></span>
|
62 |
+
<span class="author-block">
|
63 |
+
<a href="https://vinthony.github.io" target="_blank">Xiaodong Cun</a><sup>*,2</sup></span>
|
64 |
+
<span class="author-block">
|
65 |
+
<a href="https://yzhang2016.github.io" target="_blank">Yong Zhang</a><sup>2</sup>
|
66 |
+
</span>
|
67 |
+
<span class="author-block">
|
68 |
+
<a href="https://menghanxia.github.io/" target="_blank">Menghan Xia</a><sup>2</sup>
|
69 |
+
</span>
|
70 |
+
<span class="author-block">
|
71 |
+
<a href="https://feiiyin.github.io/" target="_blank">Fei Yin</a><sup>2,3</sup>
|
72 |
+
</span>
|
73 |
+
</br>
|
74 |
+
<span class="author-block">
|
75 |
+
<a href="https://web.xidian.edu.cn/mrzhu/en/index.html" target="_blank">Mingrui Zhu</a><sup>1</sup>
|
76 |
+
</span>
|
77 |
+
<span class="author-block">
|
78 |
+
<a href="https://xuanwangvc.github.io/" target="_blank">Xuan Wang</a><sup>2</sup>
|
79 |
+
</span>
|
80 |
+
<span class="author-block">
|
81 |
+
<a href="https://juewang725.github.io/" target="_blank">Jue Wang</a><sup>2</sup>
|
82 |
+
</span>
|
83 |
+
<span class="author-block">
|
84 |
+
<a href="https://web.xidian.edu.cn/nnwang/en/index.html" target="_blank">Nannan Wang</a><sup>1</sup>
|
85 |
+
</span>
|
86 |
+
</div>
|
87 |
+
<br/>
|
88 |
+
<div class="is-size-5 publication-authors">
|
89 |
+
<span class="author-block">
|
90 |
+
<sup>1</sup> Xidian University
|
91 |
+
<sup>2</sup> Tencent AI Lab
|
92 |
+
<sup>3</sup> Tsinghua University
|
93 |
+
<br>SIGGRAPH Asia 2022 (Conference Track)</span>
|
94 |
+
<span class="eql-cntrb"><small><br><sup>*</sup>Indicates Equal Contribution</small></span>
|
95 |
+
</div>
|
96 |
+
|
97 |
+
<div class="column has-text-centered">
|
98 |
+
<div class="publication-links">
|
99 |
+
<!-- Arxiv PDF link -->
|
100 |
+
<span class="link-block">
|
101 |
+
<a href="https://arxiv.org/pdf/2211.14758.pdf" target="_blank"
|
102 |
+
class="external-link ">
|
103 |
+
<span class="icon">
|
104 |
+
<i class="fas fa-file-pdf"></i>
|
105 |
+
</span>
|
106 |
+
<span>Paper</span>
|
107 |
+
</a>
|
108 |
+
</span>
|
109 |
+
|
110 |
+
<!-- Github link -->
|
111 |
+
<span class="link-block">
|
112 |
+
<a href="https://github.com/vinthony/video-retalking/" target="_blank"
|
113 |
+
class="external-link ">
|
114 |
+
<span class="icon">
|
115 |
+
<i class="fab fa-github"></i>
|
116 |
+
</span>
|
117 |
+
<span>Code</span>
|
118 |
+
</a>
|
119 |
+
</span>
|
120 |
+
|
121 |
+
<!-- ArXiv abstract Link -->
|
122 |
+
<span class="link-block">
|
123 |
+
<a href="https://arxiv.org/abs/2211.14758" target="_blank"
|
124 |
+
class="external-link ">
|
125 |
+
<span class="icon">
|
126 |
+
<i class="ai ai-arxiv"></i>
|
127 |
+
</span>
|
128 |
+
<span>arXiv</span>
|
129 |
+
</a>
|
130 |
+
</span>
|
131 |
+
</div>
|
132 |
+
</div>
|
133 |
+
</div>
|
134 |
+
</div>
|
135 |
+
</div>
|
136 |
+
</div>
|
137 |
+
</section>
|
138 |
+
|
139 |
+
|
140 |
+
<!-- Teaser video-->
|
141 |
+
<section class="hero teaser">
|
142 |
+
<div class="container is-max-desktop">
|
143 |
+
<div class="hero-body-img">
|
144 |
+
<img src="./static/images/teaser.png" width="80%">
|
145 |
+
</div>
|
146 |
+
</div>
|
147 |
+
</section>
|
148 |
+
<!-- End teaser video -->
|
149 |
+
|
150 |
+
<!-- Paper abstract -->
|
151 |
+
<section class="section hero is-light">
|
152 |
+
<div class="container is-max-desktop">
|
153 |
+
<div class="columns is-centered has-text-centered">
|
154 |
+
<div class="column is-four-fifths">
|
155 |
+
<h2 class="title is-3">Abstract</h2>
|
156 |
+
<div class="content has-text-justified">
|
157 |
+
<p>
|
158 |
+
We present VideoReTalking, a new system to edit the faces of a real-world talking head video according to input audio,
|
159 |
+
producing a high-quality and lip-syncing output video even with a different emotion. Our system disentangles this objective
|
160 |
+
into three sequential tasks: (1) face video generation with a canonical expression; (2) audio-driven lip-sync; and
|
161 |
+
(3) face enhancement for improving photo-realism. Given a talking-head video, we first modify the expression of each frame
|
162 |
+
according to the same expression template using the expression editing network, resulting in a video with the canonical
|
163 |
+
expression. This video, together with the given audio, is then fed into the lip-sync network to generate a lip-syncing video.
|
164 |
+
Finally, we improve the photo-realism of the synthesized faces through an identity-aware face enhancement network and
|
165 |
+
post-processing. We use learning-based approaches for all three steps and all our modules can be tackled in a sequential
|
166 |
+
pipeline without any user intervention.
|
167 |
+
</p>
|
168 |
+
</div>
|
169 |
+
</div>
|
170 |
+
</div>
|
171 |
+
</div>
|
172 |
+
</section>
|
173 |
+
<!-- End paper abstract -->
|
174 |
+
|
175 |
+
|
176 |
+
|
177 |
+
|
178 |
+
|
179 |
+
|
180 |
+
<!-- Youtube video -->
|
181 |
+
<section class="hero is-small is-light">
|
182 |
+
<div class="hero-body">
|
183 |
+
<div class="container">
|
184 |
+
<!-- Paper video. -->
|
185 |
+
<h2 class="title is-3">Pipeline</h2>
|
186 |
+
<div class="columns is-centered has-text-centered">
|
187 |
+
<div class="column is-four-fifths">
|
188 |
+
|
189 |
+
<div class="hero-body-img">
|
190 |
+
<!-- Youtube embed code here -->
|
191 |
+
<img width='80%' src="static/images/pipeline.png">
|
192 |
+
</div>
|
193 |
+
</div>
|
194 |
+
</div>
|
195 |
+
</div>
|
196 |
+
</div>
|
197 |
+
</section>
|
198 |
+
<!-- End youtube video -->
|
199 |
+
|
200 |
+
|
201 |
+
<!-- Youtube video -->
|
202 |
+
<section class="hero is-small is-light">
|
203 |
+
<div class="hero-body">
|
204 |
+
<div class="container">
|
205 |
+
<!-- Paper video. -->
|
206 |
+
<h2 class="title is-3"><strong>Video1</strong>: Video Results in the Wild.</h2>
|
207 |
+
<div class="columns is-centered has-text-centered">
|
208 |
+
<div class="column is-four-fifths">
|
209 |
+
|
210 |
+
<video controls="" width="100%">
|
211 |
+
<!-- t=0.001 is a hack to make iPhone show video thumbnail -->
|
212 |
+
<source src="./static/videos/Results_in_the_wild.mp4#t=0.001" type="video/mp4">
|
213 |
+
</video>
|
214 |
+
</div>
|
215 |
+
</div>
|
216 |
+
</div>
|
217 |
+
</div>
|
218 |
+
</section>
|
219 |
+
<!-- End youtube video
|
220 |
+
|
221 |
+
!-- Youtube video -->
|
222 |
+
<section class="hero is-small is-light">
|
223 |
+
<div class="hero-body">
|
224 |
+
<div class="container">
|
225 |
+
<!-- Paper video. -->
|
226 |
+
<h2 class="title is-3"><strong>Video2</strong>: Comparison with SOTA Methods.</h2>
|
227 |
+
<div class="columns is-centered has-text-centered">
|
228 |
+
<div class="column is-four-fifths">
|
229 |
+
|
230 |
+
<video controls="" width="100%">
|
231 |
+
<!-- t=0.001 is a hack to make iPhone show video thumbnail -->
|
232 |
+
<source src="./static/videos/Comparison.mp4#t=0.001" type="video/mp4">
|
233 |
+
</video>
|
234 |
+
</div>
|
235 |
+
</div>
|
236 |
+
</div>
|
237 |
+
</div>
|
238 |
+
</section>
|
239 |
+
|
240 |
+
<section class="hero is-small is-light">
|
241 |
+
<div class="hero-body">
|
242 |
+
<div class="container">
|
243 |
+
<!-- Paper video. -->
|
244 |
+
<h2 class="title is-3"><strong>Video3</strong>: Ablation Study on Different Modules. </h2>
|
245 |
+
<div class="columns is-centered has-text-centered">
|
246 |
+
<div class="column is-four-fifths">
|
247 |
+
|
248 |
+
<video controls="" width="100%">
|
249 |
+
<!-- t=0.001 is a hack to make iPhone show video thumbnail -->
|
250 |
+
<source src="./static/videos/Ablation.mp4#0.001" type="video/mp4">
|
251 |
+
</video>
|
252 |
+
</div>
|
253 |
+
</div>
|
254 |
+
</div>
|
255 |
+
</div>
|
256 |
+
</section>
|
257 |
+
|
258 |
+
<!--BibTex citation -->
|
259 |
+
<section class="section" id="BibTeX">
|
260 |
+
<div class="container is-max-desktop content">
|
261 |
+
<h2 class="title">BibTeX</h2>
|
262 |
+
<pre><code>@misc{videoretalking,
|
263 |
+
title={VideoReTalking: Audio-based Lip Synchronization for Talking Head Video Editing In the Wild},
|
264 |
+
author={Kun Cheng and Xiaodong Cun and Yong Zhang and Menghan Xia and Fei Yin and Mingrui Zhu and Xuan Wang and Jue Wang and Nannan Wang},
|
265 |
+
year={2022},
|
266 |
+
eprint={2211.14758},
|
267 |
+
archivePrefix={arXiv},
|
268 |
+
primaryClass={cs.CV}
|
269 |
+
}</code></pre>
|
270 |
+
</div>
|
271 |
+
</section>
|
272 |
+
<!--End BibTex citation -->
|
273 |
+
|
274 |
+
|
275 |
+
<footer class="footer">
|
276 |
+
<div class="container">
|
277 |
+
<div class="columns is-centered">
|
278 |
+
<div class="column is-8">
|
279 |
+
<div class="content">
|
280 |
+
|
281 |
+
<p>
|
282 |
+
This page was built using the <a href="https://github.com/vinthony/project-page-template">modification version</a> of <a href="https://github.com/eliahuhorwitz/Academic-project-page-template" target="_blank">Academic Project Page Template</a> from <a href="https://github.com/vinthony">vinthony</a>.
|
283 |
+
You are free to borrow the of this website, we just ask that you link back to this page in the footer. <br> This website is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/" target="_blank">Creative
|
284 |
+
Commons Attribution-ShareAlike 4.0 International License</a>.
|
285 |
+
</p>
|
286 |
+
|
287 |
+
</div>
|
288 |
+
</div>
|
289 |
+
</div>
|
290 |
+
</div>
|
291 |
+
</footer>
|
292 |
+
|
293 |
+
<!-- Statcounter tracking code -->
|
294 |
+
|
295 |
+
<!-- You can add a tracker to track page visits by creating an account at statcounter.com -->
|
296 |
+
|
297 |
+
<!-- End of Statcounter Code -->
|
298 |
+
|
299 |
+
</body>
|
300 |
+
</html>
|
videoretalking/docs/static/css/bulma-carousel.min.css
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
@-webkit-keyframes spinAround{from{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes spinAround{from{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.slider{position:relative;width:100%}.slider-container{display:flex;flex-wrap:nowrap;flex-direction:row;overflow:hidden;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);min-height:100%}.slider-container.is-vertical{flex-direction:column}.slider-container .slider-item{flex:none}.slider-container .slider-item .image.is-covered img{-o-object-fit:cover;object-fit:cover;-o-object-position:center center;object-position:center center;height:100%;width:100%}.slider-container .slider-item .video-container{height:0;padding-bottom:0;padding-top:56.25%;margin:0;position:relative}.slider-container .slider-item .video-container.is-1by1,.slider-container .slider-item .video-container.is-square{padding-top:100%}.slider-container .slider-item .video-container.is-4by3{padding-top:75%}.slider-container .slider-item .video-container.is-21by9{padding-top:42.857143%}.slider-container .slider-item .video-container embed,.slider-container .slider-item .video-container iframe,.slider-container .slider-item .video-container object{position:absolute;top:0;left:0;width:100%!important;height:100%!important}.slider-navigation-next,.slider-navigation-previous{display:flex;justify-content:center;align-items:center;position:absolute;width:42px;height:42px;background:#fff center center no-repeat;background-size:20px 20px;border:1px solid #fff;border-radius:25091983px;box-shadow:0 2px 5px #3232321a;top:50%;margin-top:-20px;left:0;cursor:pointer;transition:opacity .3s,-webkit-transform .3s;transition:transform .3s,opacity .3s;transition:transform .3s,opacity .3s,-webkit-transform .3s}.slider-navigation-next:hover,.slider-navigation-previous:hover{-webkit-transform:scale(1.2);transform:scale(1.2)}.slider-navigation-next.is-hidden,.slider-navigation-previous.is-hidden{display:none;opacity:0}.slider-navigation-next svg,.slider-navigation-previous svg{width:25%}.slider-navigation-next{left:auto;right:0;background:#fff center center no-repeat;background-size:20px 20px}.slider-pagination{display:none;justify-content:center;align-items:center;position:absolute;bottom:0;left:0;right:0;padding:.5rem 1rem;text-align:center}.slider-pagination .slider-page{background:#fff;width:10px;height:10px;border-radius:25091983px;display:inline-block;margin:0 3px;box-shadow:0 2px 5px #3232321a;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s;cursor:pointer}.slider-pagination .slider-page.is-active,.slider-pagination .slider-page:hover{-webkit-transform:scale(1.4);transform:scale(1.4)}@media screen and (min-width:800px){.slider-pagination{display:flex}}.hero.has-carousel{position:relative}.hero.has-carousel+.hero-body,.hero.has-carousel+.hero-footer,.hero.has-carousel+.hero-head{z-index:10;overflow:hidden}.hero.has-carousel .hero-carousel{position:absolute;top:0;left:0;bottom:0;right:0;height:auto;border:none;margin:auto;padding:0;z-index:0}.hero.has-carousel .hero-carousel .slider{width:100%;max-width:100%;overflow:hidden;height:100%!important;max-height:100%;z-index:0}.hero.has-carousel .hero-carousel .slider .has-background{max-height:100%}.hero.has-carousel .hero-carousel .slider .has-background .is-background{-o-object-fit:cover;object-fit:cover;-o-object-position:center center;object-position:center center;height:100%;width:100%}.hero.has-carousel .hero-body{margin:0 3rem;z-index:10}
|
videoretalking/docs/static/css/bulma-slider.min.css
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
@-webkit-keyframes spinAround{from{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes spinAround{from{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}input[type=range].slider{-webkit-appearance:none;-moz-appearance:none;appearance:none;margin:1rem 0;background:0 0;touch-action:none}input[type=range].slider.is-fullwidth{display:block;width:100%}input[type=range].slider:focus{outline:0}input[type=range].slider:not([orient=vertical])::-webkit-slider-runnable-track{width:100%}input[type=range].slider:not([orient=vertical])::-moz-range-track{width:100%}input[type=range].slider:not([orient=vertical])::-ms-track{width:100%}input[type=range].slider:not([orient=vertical]).has-output+output,input[type=range].slider:not([orient=vertical]).has-output-tooltip+output{width:3rem;background:#4a4a4a;border-radius:4px;padding:.4rem .8rem;font-size:.75rem;line-height:.75rem;text-align:center;text-overflow:ellipsis;white-space:nowrap;color:#fff;overflow:hidden;pointer-events:none;z-index:200}input[type=range].slider:not([orient=vertical]).has-output-tooltip:disabled+output,input[type=range].slider:not([orient=vertical]).has-output:disabled+output{opacity:.5}input[type=range].slider:not([orient=vertical]).has-output{display:inline-block;vertical-align:middle;width:calc(100% - (4.2rem))}input[type=range].slider:not([orient=vertical]).has-output+output{display:inline-block;margin-left:.75rem;vertical-align:middle}input[type=range].slider:not([orient=vertical]).has-output-tooltip{display:block}input[type=range].slider:not([orient=vertical]).has-output-tooltip+output{position:absolute;left:0;top:-.1rem}input[type=range].slider[orient=vertical]{-webkit-appearance:slider-vertical;-moz-appearance:slider-vertical;appearance:slider-vertical;-webkit-writing-mode:bt-lr;-ms-writing-mode:bt-lr;writing-mode:bt-lr}input[type=range].slider[orient=vertical]::-webkit-slider-runnable-track{height:100%}input[type=range].slider[orient=vertical]::-moz-range-track{height:100%}input[type=range].slider[orient=vertical]::-ms-track{height:100%}input[type=range].slider::-webkit-slider-runnable-track{cursor:pointer;animate:.2s;box-shadow:0 0 0 #7a7a7a;background:#dbdbdb;border-radius:4px;border:0 solid #7a7a7a}input[type=range].slider::-moz-range-track{cursor:pointer;animate:.2s;box-shadow:0 0 0 #7a7a7a;background:#dbdbdb;border-radius:4px;border:0 solid #7a7a7a}input[type=range].slider::-ms-track{cursor:pointer;animate:.2s;box-shadow:0 0 0 #7a7a7a;background:#dbdbdb;border-radius:4px;border:0 solid #7a7a7a}input[type=range].slider::-ms-fill-lower{background:#dbdbdb;border-radius:4px}input[type=range].slider::-ms-fill-upper{background:#dbdbdb;border-radius:4px}input[type=range].slider::-webkit-slider-thumb{box-shadow:none;border:1px solid #b5b5b5;border-radius:4px;background:#fff;cursor:pointer}input[type=range].slider::-moz-range-thumb{box-shadow:none;border:1px solid #b5b5b5;border-radius:4px;background:#fff;cursor:pointer}input[type=range].slider::-ms-thumb{box-shadow:none;border:1px solid #b5b5b5;border-radius:4px;background:#fff;cursor:pointer}input[type=range].slider::-webkit-slider-thumb{-webkit-appearance:none;appearance:none}input[type=range].slider.is-circle::-webkit-slider-thumb{border-radius:290486px}input[type=range].slider.is-circle::-moz-range-thumb{border-radius:290486px}input[type=range].slider.is-circle::-ms-thumb{border-radius:290486px}input[type=range].slider:active::-webkit-slider-thumb{-webkit-transform:scale(1.25);transform:scale(1.25)}input[type=range].slider:active::-moz-range-thumb{transform:scale(1.25)}input[type=range].slider:active::-ms-thumb{transform:scale(1.25)}input[type=range].slider:disabled{opacity:.5;cursor:not-allowed}input[type=range].slider:disabled::-webkit-slider-thumb{cursor:not-allowed;-webkit-transform:scale(1);transform:scale(1)}input[type=range].slider:disabled::-moz-range-thumb{cursor:not-allowed;transform:scale(1)}input[type=range].slider:disabled::-ms-thumb{cursor:not-allowed;transform:scale(1)}input[type=range].slider:not([orient=vertical]){min-height:calc((1rem + 2px) * 1.25)}input[type=range].slider:not([orient=vertical])::-webkit-slider-runnable-track{height:.5rem}input[type=range].slider:not([orient=vertical])::-moz-range-track{height:.5rem}input[type=range].slider:not([orient=vertical])::-ms-track{height:.5rem}input[type=range].slider[orient=vertical]::-webkit-slider-runnable-track{width:.5rem}input[type=range].slider[orient=vertical]::-moz-range-track{width:.5rem}input[type=range].slider[orient=vertical]::-ms-track{width:.5rem}input[type=range].slider::-webkit-slider-thumb{height:1rem;width:1rem}input[type=range].slider::-moz-range-thumb{height:1rem;width:1rem}input[type=range].slider::-ms-thumb{height:1rem;width:1rem}input[type=range].slider::-ms-thumb{margin-top:0}input[type=range].slider::-webkit-slider-thumb{margin-top:-.25rem}input[type=range].slider[orient=vertical]::-webkit-slider-thumb{margin-top:auto;margin-left:-.25rem}input[type=range].slider.is-small:not([orient=vertical]){min-height:calc((.75rem + 2px) * 1.25)}input[type=range].slider.is-small:not([orient=vertical])::-webkit-slider-runnable-track{height:.375rem}input[type=range].slider.is-small:not([orient=vertical])::-moz-range-track{height:.375rem}input[type=range].slider.is-small:not([orient=vertical])::-ms-track{height:.375rem}input[type=range].slider.is-small[orient=vertical]::-webkit-slider-runnable-track{width:.375rem}input[type=range].slider.is-small[orient=vertical]::-moz-range-track{width:.375rem}input[type=range].slider.is-small[orient=vertical]::-ms-track{width:.375rem}input[type=range].slider.is-small::-webkit-slider-thumb{height:.75rem;width:.75rem}input[type=range].slider.is-small::-moz-range-thumb{height:.75rem;width:.75rem}input[type=range].slider.is-small::-ms-thumb{height:.75rem;width:.75rem}input[type=range].slider.is-small::-ms-thumb{margin-top:0}input[type=range].slider.is-small::-webkit-slider-thumb{margin-top:-.1875rem}input[type=range].slider.is-small[orient=vertical]::-webkit-slider-thumb{margin-top:auto;margin-left:-.1875rem}input[type=range].slider.is-medium:not([orient=vertical]){min-height:calc((1.25rem + 2px) * 1.25)}input[type=range].slider.is-medium:not([orient=vertical])::-webkit-slider-runnable-track{height:.625rem}input[type=range].slider.is-medium:not([orient=vertical])::-moz-range-track{height:.625rem}input[type=range].slider.is-medium:not([orient=vertical])::-ms-track{height:.625rem}input[type=range].slider.is-medium[orient=vertical]::-webkit-slider-runnable-track{width:.625rem}input[type=range].slider.is-medium[orient=vertical]::-moz-range-track{width:.625rem}input[type=range].slider.is-medium[orient=vertical]::-ms-track{width:.625rem}input[type=range].slider.is-medium::-webkit-slider-thumb{height:1.25rem;width:1.25rem}input[type=range].slider.is-medium::-moz-range-thumb{height:1.25rem;width:1.25rem}input[type=range].slider.is-medium::-ms-thumb{height:1.25rem;width:1.25rem}input[type=range].slider.is-medium::-ms-thumb{margin-top:0}input[type=range].slider.is-medium::-webkit-slider-thumb{margin-top:-.3125rem}input[type=range].slider.is-medium[orient=vertical]::-webkit-slider-thumb{margin-top:auto;margin-left:-.3125rem}input[type=range].slider.is-large:not([orient=vertical]){min-height:calc((1.5rem + 2px) * 1.25)}input[type=range].slider.is-large:not([orient=vertical])::-webkit-slider-runnable-track{height:.75rem}input[type=range].slider.is-large:not([orient=vertical])::-moz-range-track{height:.75rem}input[type=range].slider.is-large:not([orient=vertical])::-ms-track{height:.75rem}input[type=range].slider.is-large[orient=vertical]::-webkit-slider-runnable-track{width:.75rem}input[type=range].slider.is-large[orient=vertical]::-moz-range-track{width:.75rem}input[type=range].slider.is-large[orient=vertical]::-ms-track{width:.75rem}input[type=range].slider.is-large::-webkit-slider-thumb{height:1.5rem;width:1.5rem}input[type=range].slider.is-large::-moz-range-thumb{height:1.5rem;width:1.5rem}input[type=range].slider.is-large::-ms-thumb{height:1.5rem;width:1.5rem}input[type=range].slider.is-large::-ms-thumb{margin-top:0}input[type=range].slider.is-large::-webkit-slider-thumb{margin-top:-.375rem}input[type=range].slider.is-large[orient=vertical]::-webkit-slider-thumb{margin-top:auto;margin-left:-.375rem}input[type=range].slider.is-white::-moz-range-track{background:#fff!important}input[type=range].slider.is-white::-webkit-slider-runnable-track{background:#fff!important}input[type=range].slider.is-white::-ms-track{background:#fff!important}input[type=range].slider.is-white::-ms-fill-lower{background:#fff}input[type=range].slider.is-white::-ms-fill-upper{background:#fff}input[type=range].slider.is-white .has-output-tooltip+output,input[type=range].slider.is-white.has-output+output{background-color:#fff;color:#0a0a0a}input[type=range].slider.is-black::-moz-range-track{background:#0a0a0a!important}input[type=range].slider.is-black::-webkit-slider-runnable-track{background:#0a0a0a!important}input[type=range].slider.is-black::-ms-track{background:#0a0a0a!important}input[type=range].slider.is-black::-ms-fill-lower{background:#0a0a0a}input[type=range].slider.is-black::-ms-fill-upper{background:#0a0a0a}input[type=range].slider.is-black .has-output-tooltip+output,input[type=range].slider.is-black.has-output+output{background-color:#0a0a0a;color:#fff}input[type=range].slider.is-light::-moz-range-track{background:#f5f5f5!important}input[type=range].slider.is-light::-webkit-slider-runnable-track{background:#f5f5f5!important}input[type=range].slider.is-light::-ms-track{background:#f5f5f5!important}input[type=range].slider.is-light::-ms-fill-lower{background:#f5f5f5}input[type=range].slider.is-light::-ms-fill-upper{background:#f5f5f5}input[type=range].slider.is-light .has-output-tooltip+output,input[type=range].slider.is-light.has-output+output{background-color:#f5f5f5;color:#363636}input[type=range].slider.is-dark::-moz-range-track{background:#363636!important}input[type=range].slider.is-dark::-webkit-slider-runnable-track{background:#363636!important}input[type=range].slider.is-dark::-ms-track{background:#363636!important}input[type=range].slider.is-dark::-ms-fill-lower{background:#363636}input[type=range].slider.is-dark::-ms-fill-upper{background:#363636}input[type=range].slider.is-dark .has-output-tooltip+output,input[type=range].slider.is-dark.has-output+output{background-color:#363636;color:#f5f5f5}input[type=range].slider.is-primary::-moz-range-track{background:#00d1b2!important}input[type=range].slider.is-primary::-webkit-slider-runnable-track{background:#00d1b2!important}input[type=range].slider.is-primary::-ms-track{background:#00d1b2!important}input[type=range].slider.is-primary::-ms-fill-lower{background:#00d1b2}input[type=range].slider.is-primary::-ms-fill-upper{background:#00d1b2}input[type=range].slider.is-primary .has-output-tooltip+output,input[type=range].slider.is-primary.has-output+output{background-color:#00d1b2;color:#fff}input[type=range].slider.is-link::-moz-range-track{background:#3273dc!important}input[type=range].slider.is-link::-webkit-slider-runnable-track{background:#3273dc!important}input[type=range].slider.is-link::-ms-track{background:#3273dc!important}input[type=range].slider.is-link::-ms-fill-lower{background:#3273dc}input[type=range].slider.is-link::-ms-fill-upper{background:#3273dc}input[type=range].slider.is-link .has-output-tooltip+output,input[type=range].slider.is-link.has-output+output{background-color:#3273dc;color:#fff}input[type=range].slider.is-info::-moz-range-track{background:#209cee!important}input[type=range].slider.is-info::-webkit-slider-runnable-track{background:#209cee!important}input[type=range].slider.is-info::-ms-track{background:#209cee!important}input[type=range].slider.is-info::-ms-fill-lower{background:#209cee}input[type=range].slider.is-info::-ms-fill-upper{background:#209cee}input[type=range].slider.is-info .has-output-tooltip+output,input[type=range].slider.is-info.has-output+output{background-color:#209cee;color:#fff}input[type=range].slider.is-success::-moz-range-track{background:#23d160!important}input[type=range].slider.is-success::-webkit-slider-runnable-track{background:#23d160!important}input[type=range].slider.is-success::-ms-track{background:#23d160!important}input[type=range].slider.is-success::-ms-fill-lower{background:#23d160}input[type=range].slider.is-success::-ms-fill-upper{background:#23d160}input[type=range].slider.is-success .has-output-tooltip+output,input[type=range].slider.is-success.has-output+output{background-color:#23d160;color:#fff}input[type=range].slider.is-warning::-moz-range-track{background:#ffdd57!important}input[type=range].slider.is-warning::-webkit-slider-runnable-track{background:#ffdd57!important}input[type=range].slider.is-warning::-ms-track{background:#ffdd57!important}input[type=range].slider.is-warning::-ms-fill-lower{background:#ffdd57}input[type=range].slider.is-warning::-ms-fill-upper{background:#ffdd57}input[type=range].slider.is-warning .has-output-tooltip+output,input[type=range].slider.is-warning.has-output+output{background-color:#ffdd57;color:rgba(0,0,0,.7)}input[type=range].slider.is-danger::-moz-range-track{background:#ff3860!important}input[type=range].slider.is-danger::-webkit-slider-runnable-track{background:#ff3860!important}input[type=range].slider.is-danger::-ms-track{background:#ff3860!important}input[type=range].slider.is-danger::-ms-fill-lower{background:#ff3860}input[type=range].slider.is-danger::-ms-fill-upper{background:#ff3860}input[type=range].slider.is-danger .has-output-tooltip+output,input[type=range].slider.is-danger.has-output+output{background-color:#ff3860;color:#fff}
|
videoretalking/docs/static/css/bulma.css.map.txt
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"version":3,"sources":["../bulma.sass","../sass/utilities/_all.sass","../sass/utilities/animations.sass","bulma.css","../sass/utilities/mixins.sass","../sass/utilities/initial-variables.sass","../sass/utilities/controls.sass","../sass/base/_all.sass","../sass/base/minireset.sass","../sass/base/generic.sass","../sass/utilities/derived-variables.sass","../sass/elements/_all.sass","../sass/elements/box.sass","../sass/elements/button.sass","../sass/utilities/functions.sass","../sass/elements/container.sass","../sass/elements/content.sass","../sass/elements/icon.sass","../sass/elements/image.sass","../sass/elements/notification.sass","../sass/elements/progress.sass","../sass/elements/table.sass","../sass/elements/tag.sass","../sass/elements/title.sass","../sass/elements/other.sass","../sass/form/_all.sass","../sass/form/shared.sass","../sass/form/input-textarea.sass","../sass/form/checkbox-radio.sass","../sass/form/select.sass","../sass/form/file.sass","../sass/form/tools.sass","../sass/components/_all.sass","../sass/components/breadcrumb.sass","../sass/components/card.sass","../sass/components/dropdown.sass","../sass/components/level.sass","../sass/components/media.sass","../sass/components/menu.sass","../sass/components/message.sass","../sass/components/modal.sass","../sass/components/navbar.sass","../sass/components/pagination.sass","../sass/components/panel.sass","../sass/components/tabs.sass","../sass/grid/_all.sass","../sass/grid/columns.sass","../sass/grid/tiles.sass","../sass/helpers/_all.sass","../sass/helpers/color.sass","../sass/helpers/flexbox.sass","../sass/helpers/float.sass","../sass/helpers/other.sass","../sass/helpers/overflow.sass","../sass/helpers/position.sass","../sass/helpers/spacing.sass","../sass/helpers/typography.sass","../sass/helpers/visibility.sass","../sass/layout/_all.sass","../sass/layout/hero.sass","../sass/layout/section.sass","../sass/layout/footer.sass"],"names":[],"mappings":"AACA,6DAAA;ACDA,oBAAA;ACAA;EACE;IACE,uBAAuB;ECGzB;EDFA;IACE,yBAAyB;ECI3B;AACF;ADTA;EACE;IACE,uBAAuB;ECGzB;EDFA;IACE,yBAAyB;ECI3B;AACF;;AC0JA;;;;EANE,2BAA2B;EAC3B,yBAAyB;EACzB,sBAAsB;EACtB,qBAAqB;EACrB,iBAAiB;AD7InB;;ACkKA;EAfE,6BAD8B;EAE9B,kBAAkB;EAClB,eAAe;EACf,aAAa;EACb,YAAY;EACZ,cAAc;EACd,eAAe;EACf,qBAAqB;EACrB,oBAAoB;EACpB,kBAAkB;EAClB,Q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WA;EACE,YAAY;EACZ,cAAc;EACd,oBAlJ6B;AxDyzW/B;;AyDrzWA;EACE,oBAL2B;AzD6zW7B;;AC5tWE;EwD7FF;IAMM,oBAT8B;EzDi0WlC;EyD9zWF;IAQM,qBAV8B;EzDm0WlC;AACF;;A0Dl0WA;EACE,yBxDS4B;EwDR5B,yBAJ+B;A1Dy0WjC","file":"bulma.css"}
|
videoretalking/docs/static/css/bulma.min.css
ADDED
The diff for this file is too large to render.
See raw diff
|
|
videoretalking/docs/static/css/fontawesome.all.min.css
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*!
|
2 |
+
* Font Awesome Free 5.15.1 by @fontawesome - https://fontawesome.com
|
3 |
+
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
4 |
+
*/
|
5 |
+
.fa,.fab,.fad,.fal,.far,.fas{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:inline-block;font-style:normal;font-variant:normal;text-rendering:auto;line-height:1}.fa-lg{font-size:1.33333em;line-height:.75em;vertical-align:-.0667em}.fa-xs{font-size:.75em}.fa-sm{font-size:.875em}.fa-1x{font-size:1em}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-6x{font-size:6em}.fa-7x{font-size:7em}.fa-8x{font-size:8em}.fa-9x{font-size:9em}.fa-10x{font-size:10em}.fa-fw{text-align:center;width:1.25em}.fa-ul{list-style-type:none;margin-left:2.5em;padding-left:0}.fa-ul>li{position:relative}.fa-li{left:-2em;position:absolute;text-align:center;width:2em;line-height:inherit}.fa-border{border:.08em solid #eee;border-radius:.1em;padding:.2em .25em .15em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa.fa-pull-left,.fab.fa-pull-left,.fal.fa-pull-left,.far.fa-pull-left,.fas.fa-pull-left{margin-right:.3em}.fa.fa-pull-right,.fab.fa-pull-right,.fal.fa-pull-right,.far.fa-pull-right,.fas.fa-pull-right{margin-left:.3em}.fa-spin{-webkit-animation:fa-spin 2s linear infinite;animation:fa-spin 2s linear infinite}.fa-pulse{-webkit-animation:fa-spin 1s steps(8) infinite;animation:fa-spin 1s steps(8) infinite}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.fa-rotate-90{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";-webkit-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";-webkit-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";-webkit-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";-webkit-transform:scaleX(-1);transform:scaleX(-1)}.fa-flip-vertical{-webkit-transform:scaleY(-1);transform:scaleY(-1)}.fa-flip-both,.fa-flip-horizontal.fa-flip-vertical,.fa-flip-vertical{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)"}.fa-flip-both,.fa-flip-horizontal.fa-flip-vertical{-webkit-transform:scale(-1);transform:scale(-1)}:root .fa-flip-both,:root .fa-flip-horizontal,:root .fa-flip-vertical,:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270{-webkit-filter:none;filter:none}.fa-stack{display:inline-block;height:2em;line-height:2em;position:relative;vertical-align:middle;width:2.5em}.fa-stack-1x,.fa-stack-2x{left:0;position:absolute;text-align:center;width:100%}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-500px:before{content:"\f26e"}.fa-accessible-icon:before{content:"\f368"}.fa-accusoft:before{content:"\f369"}.fa-acquisitions-incorporated:before{content:"\f6af"}.fa-ad:before{content:"\f641"}.fa-address-book:before{content:"\f2b9"}.fa-address-card:before{content:"\f2bb"}.fa-adjust:before{content:"\f042"}.fa-adn:before{content:"\f170"}.fa-adversal:before{content:"\f36a"}.fa-affiliatetheme:before{content:"\f36b"}.fa-air-freshener:before{content:"\f5d0"}.fa-airbnb:before{content:"\f834"}.fa-algolia:before{content:"\f36c"}.fa-align-center:before{content:"\f037"}.fa-align-justify:before{content:"\f039"}.fa-align-left:before{content:"\f036"}.fa-align-right:before{content:"\f038"}.fa-alipay:before{content:"\f642"}.fa-allergies:before{content:"\f461"}.fa-amazon:before{content:"\f270"}.fa-amazon-pay:before{content:"\f42c"}.fa-ambulance:before{content:"\f0f9"}.fa-american-sign-language-interpreting:before{content:"\f2a3"}.fa-amilia:before{content:"\f36d"}.fa-anchor:before{content:"\f13d"}.fa-android:before{content:"\f17b"}.fa-angellist:before{content:"\f209"}.fa-angle-double-down:before{content:"\f103"}.fa-angle-double-left:before{content:"\f100"}.fa-angle-double-right:before{content:"\f101"}.fa-angle-double-up:before{content:"\f102"}.fa-angle-down:before{content:"\f107"}.fa-angle-left:before{content:"\f104"}.fa-angle-right:before{content:"\f105"}.fa-angle-up:before{content:"\f106"}.fa-angry:before{content:"\f556"}.fa-angrycreative:before{content:"\f36e"}.fa-angular:before{content:"\f420"}.fa-ankh:before{content:"\f644"}.fa-app-store:before{content:"\f36f"}.fa-app-store-ios:before{content:"\f370"}.fa-apper:before{content:"\f371"}.fa-apple:before{content:"\f179"}.fa-apple-alt:before{content:"\f5d1"}.fa-apple-pay:before{content:"\f415"}.fa-archive:before{content:"\f187"}.fa-archway:before{content:"\f557"}.fa-arrow-alt-circle-down:before{content:"\f358"}.fa-arrow-alt-circle-left:before{content:"\f359"}.fa-arrow-alt-circle-right:before{content:"\f35a"}.fa-arrow-alt-circle-up:before{content:"\f35b"}.fa-arrow-circle-down:before{content:"\f0ab"}.fa-arrow-circle-left:before{content:"\f0a8"}.fa-arrow-circle-right:before{content:"\f0a9"}.fa-arrow-circle-up:before{content:"\f0aa"}.fa-arrow-down:before{content:"\f063"}.fa-arrow-left:before{content:"\f060"}.fa-arrow-right:before{content:"\f061"}.fa-arrow-up:before{content:"\f062"}.fa-arrows-alt:before{content:"\f0b2"}.fa-arrows-alt-h:before{content:"\f337"}.fa-arrows-alt-v:before{content:"\f338"}.fa-artstation:before{content:"\f77a"}.fa-assistive-listening-systems:before{content:"\f2a2"}.fa-asterisk:before{content:"\f069"}.fa-asymmetrik:before{content:"\f372"}.fa-at:before{content:"\f1fa"}.fa-atlas:before{content:"\f558"}.fa-atlassian:before{content:"\f77b"}.fa-atom:before{content:"\f5d2"}.fa-audible:before{content:"\f373"}.fa-audio-description:before{content:"\f29e"}.fa-autoprefixer:before{content:"\f41c"}.fa-avianex:before{content:"\f374"}.fa-aviato:before{content:"\f421"}.fa-award:before{content:"\f559"}.fa-aws:before{content:"\f375"}.fa-baby:before{content:"\f77c"}.fa-baby-carriage:before{content:"\f77d"}.fa-backspace:before{content:"\f55a"}.fa-backward:before{content:"\f04a"}.fa-bacon:before{content:"\f7e5"}.fa-bacteria:before{content:"\e059"}.fa-bacterium:before{content:"\e05a"}.fa-bahai:before{content:"\f666"}.fa-balance-scale:before{content:"\f24e"}.fa-balance-scale-left:before{content:"\f515"}.fa-balance-scale-right:before{content:"\f516"}.fa-ban:before{content:"\f05e"}.fa-band-aid:before{content:"\f462"}.fa-bandcamp:before{content:"\f2d5"}.fa-barcode:before{content:"\f02a"}.fa-bars:before{content:"\f0c9"}.fa-baseball-ball:before{content:"\f433"}.fa-basketball-ball:before{content:"\f434"}.fa-bath:before{content:"\f2cd"}.fa-battery-empty:before{content:"\f244"}.fa-battery-full:before{content:"\f240"}.fa-battery-half:before{content:"\f242"}.fa-battery-quarter:before{content:"\f243"}.fa-battery-three-quarters:before{content:"\f241"}.fa-battle-net:before{content:"\f835"}.fa-bed:before{content:"\f236"}.fa-beer:before{content:"\f0fc"}.fa-behance:before{content:"\f1b4"}.fa-behance-square:before{content:"\f1b5"}.fa-bell:before{content:"\f0f3"}.fa-bell-slash:before{content:"\f1f6"}.fa-bezier-curve:before{content:"\f55b"}.fa-bible:before{content:"\f647"}.fa-bicycle:before{content:"\f206"}.fa-biking:before{content:"\f84a"}.fa-bimobject:before{content:"\f378"}.fa-binoculars:before{content:"\f1e5"}.fa-biohazard:before{content:"\f780"}.fa-birthday-cake:before{content:"\f1fd"}.fa-bitbucket:before{content:"\f171"}.fa-bitcoin:before{content:"\f379"}.fa-bity:before{content:"\f37a"}.fa-black-tie:before{content:"\f27e"}.fa-blackberry:before{content:"\f37b"}.fa-blender:before{content:"\f517"}.fa-blender-phone:before{content:"\f6b6"}.fa-blind:before{content:"\f29d"}.fa-blog:before{content:"\f781"}.fa-blogger:before{content:"\f37c"}.fa-blogger-b:before{content:"\f37d"}.fa-bluetooth:before{content:"\f293"}.fa-bluetooth-b:before{content:"\f294"}.fa-bold:before{content:"\f032"}.fa-bolt:before{content:"\f0e7"}.fa-bomb:before{content:"\f1e2"}.fa-bone:before{content:"\f5d7"}.fa-bong:before{content:"\f55c"}.fa-book:before{content:"\f02d"}.fa-book-dead:before{content:"\f6b7"}.fa-book-medical:before{content:"\f7e6"}.fa-book-open:before{content:"\f518"}.fa-book-reader:before{content:"\f5da"}.fa-bookmark:before{content:"\f02e"}.fa-bootstrap:before{content:"\f836"}.fa-border-all:before{content:"\f84c"}.fa-border-none:before{content:"\f850"}.fa-border-style:before{content:"\f853"}.fa-bowling-ball:before{content:"\f436"}.fa-box:before{content:"\f466"}.fa-box-open:before{content:"\f49e"}.fa-box-tissue:before{content:"\e05b"}.fa-boxes:before{content:"\f468"}.fa-braille:before{content:"\f2a1"}.fa-brain:before{content:"\f5dc"}.fa-bread-slice:before{content:"\f7ec"}.fa-briefcase:before{content:"\f0b1"}.fa-briefcase-medical:before{content:"\f469"}.fa-broadcast-tower:before{content:"\f519"}.fa-broom:before{content:"\f51a"}.fa-brush:before{content:"\f55d"}.fa-btc:before{content:"\f15a"}.fa-buffer:before{content:"\f837"}.fa-bug:before{content:"\f188"}.fa-building:before{content:"\f1ad"}.fa-bullhorn:before{content:"\f0a1"}.fa-bullseye:before{content:"\f140"}.fa-burn:before{content:"\f46a"}.fa-buromobelexperte:before{content:"\f37f"}.fa-bus:before{content:"\f207"}.fa-bus-alt:before{content:"\f55e"}.fa-business-time:before{content:"\f64a"}.fa-buy-n-large:before{content:"\f8a6"}.fa-buysellads:before{content:"\f20d"}.fa-calculator:before{content:"\f1ec"}.fa-calendar:before{content:"\f133"}.fa-calendar-alt:before{content:"\f073"}.fa-calendar-check:before{content:"\f274"}.fa-calendar-day:before{content:"\f783"}.fa-calendar-minus:before{content:"\f272"}.fa-calendar-plus:before{content:"\f271"}.fa-calendar-times:before{content:"\f273"}.fa-calendar-week:before{content:"\f784"}.fa-camera:before{content:"\f030"}.fa-camera-retro:before{content:"\f083"}.fa-campground:before{content:"\f6bb"}.fa-canadian-maple-leaf:before{content:"\f785"}.fa-candy-cane:before{content:"\f786"}.fa-cannabis:before{content:"\f55f"}.fa-capsules:before{content:"\f46b"}.fa-car:before{content:"\f1b9"}.fa-car-alt:before{content:"\f5de"}.fa-car-battery:before{content:"\f5df"}.fa-car-crash:before{content:"\f5e1"}.fa-car-side:before{content:"\f5e4"}.fa-caravan:before{content:"\f8ff"}.fa-caret-down:before{content:"\f0d7"}.fa-caret-left:before{content:"\f0d9"}.fa-caret-right:before{content:"\f0da"}.fa-caret-square-down:before{content:"\f150"}.fa-caret-square-left:before{content:"\f191"}.fa-caret-square-right:before{content:"\f152"}.fa-caret-square-up:before{content:"\f151"}.fa-caret-up:before{content:"\f0d8"}.fa-carrot:before{content:"\f787"}.fa-cart-arrow-down:before{content:"\f218"}.fa-cart-plus:before{content:"\f217"}.fa-cash-register:before{content:"\f788"}.fa-cat:before{content:"\f6be"}.fa-cc-amazon-pay:before{content:"\f42d"}.fa-cc-amex:before{content:"\f1f3"}.fa-cc-apple-pay:before{content:"\f416"}.fa-cc-diners-club:before{content:"\f24c"}.fa-cc-discover:before{content:"\f1f2"}.fa-cc-jcb:before{content:"\f24b"}.fa-cc-mastercard:before{content:"\f1f1"}.fa-cc-paypal:before{content:"\f1f4"}.fa-cc-stripe:before{content:"\f1f5"}.fa-cc-visa:before{content:"\f1f0"}.fa-centercode:before{content:"\f380"}.fa-centos:before{content:"\f789"}.fa-certificate:before{content:"\f0a3"}.fa-chair:before{content:"\f6c0"}.fa-chalkboard:before{content:"\f51b"}.fa-chalkboard-teacher:before{content:"\f51c"}.fa-charging-station:before{content:"\f5e7"}.fa-chart-area:before{content:"\f1fe"}.fa-chart-bar:before{content:"\f080"}.fa-chart-line:before{content:"\f201"}.fa-chart-pie:before{content:"\f200"}.fa-check:before{content:"\f00c"}.fa-check-circle:before{content:"\f058"}.fa-check-double:before{content:"\f560"}.fa-check-square:before{content:"\f14a"}.fa-cheese:before{content:"\f7ef"}.fa-chess:before{content:"\f439"}.fa-chess-bishop:before{content:"\f43a"}.fa-chess-board:before{content:"\f43c"}.fa-chess-king:before{content:"\f43f"}.fa-chess-knight:before{content:"\f441"}.fa-chess-pawn:before{content:"\f443"}.fa-chess-queen:before{content:"\f445"}.fa-chess-rook:before{content:"\f447"}.fa-chevron-circle-down:before{content:"\f13a"}.fa-chevron-circle-left:before{content:"\f137"}.fa-chevron-circle-right:before{content:"\f138"}.fa-chevron-circle-up:before{content:"\f139"}.fa-chevron-down:before{content:"\f078"}.fa-chevron-left:before{content:"\f053"}.fa-chevron-right:before{content:"\f054"}.fa-chevron-up:before{content:"\f077"}.fa-child:before{content:"\f1ae"}.fa-chrome:before{content:"\f268"}.fa-chromecast:before{content:"\f838"}.fa-church:before{content:"\f51d"}.fa-circle:before{content:"\f111"}.fa-circle-notch:before{content:"\f1ce"}.fa-city:before{content:"\f64f"}.fa-clinic-medical:before{content:"\f7f2"}.fa-clipboard:before{content:"\f328"}.fa-clipboard-check:before{content:"\f46c"}.fa-clipboard-list:before{content:"\f46d"}.fa-clock:before{content:"\f017"}.fa-clone:before{content:"\f24d"}.fa-closed-captioning:before{content:"\f20a"}.fa-cloud:before{content:"\f0c2"}.fa-cloud-download-alt:before{content:"\f381"}.fa-cloud-meatball:before{content:"\f73b"}.fa-cloud-moon:before{content:"\f6c3"}.fa-cloud-moon-rain:before{content:"\f73c"}.fa-cloud-rain:before{content:"\f73d"}.fa-cloud-showers-heavy:before{content:"\f740"}.fa-cloud-sun:before{content:"\f6c4"}.fa-cloud-sun-rain:before{content:"\f743"}.fa-cloud-upload-alt:before{content:"\f382"}.fa-cloudflare:before{content:"\e07d"}.fa-cloudscale:before{content:"\f383"}.fa-cloudsmith:before{content:"\f384"}.fa-cloudversify:before{content:"\f385"}.fa-cocktail:before{content:"\f561"}.fa-code:before{content:"\f121"}.fa-code-branch:before{content:"\f126"}.fa-codepen:before{content:"\f1cb"}.fa-codiepie:before{content:"\f284"}.fa-coffee:before{content:"\f0f4"}.fa-cog:before{content:"\f013"}.fa-cogs:before{content:"\f085"}.fa-coins:before{content:"\f51e"}.fa-columns:before{content:"\f0db"}.fa-comment:before{content:"\f075"}.fa-comment-alt:before{content:"\f27a"}.fa-comment-dollar:before{content:"\f651"}.fa-comment-dots:before{content:"\f4ad"}.fa-comment-medical:before{content:"\f7f5"}.fa-comment-slash:before{content:"\f4b3"}.fa-comments:before{content:"\f086"}.fa-comments-dollar:before{content:"\f653"}.fa-compact-disc:before{content:"\f51f"}.fa-compass:before{content:"\f14e"}.fa-compress:before{content:"\f066"}.fa-compress-alt:before{content:"\f422"}.fa-compress-arrows-alt:before{content:"\f78c"}.fa-concierge-bell:before{content:"\f562"}.fa-confluence:before{content:"\f78d"}.fa-connectdevelop:before{content:"\f20e"}.fa-contao:before{content:"\f26d"}.fa-cookie:before{content:"\f563"}.fa-cookie-bite:before{content:"\f564"}.fa-copy:before{content:"\f0c5"}.fa-copyright:before{content:"\f1f9"}.fa-cotton-bureau:before{content:"\f89e"}.fa-couch:before{content:"\f4b8"}.fa-cpanel:before{content:"\f388"}.fa-creative-commons:before{content:"\f25e"}.fa-creative-commons-by:before{content:"\f4e7"}.fa-creative-commons-nc:before{content:"\f4e8"}.fa-creative-commons-nc-eu:before{content:"\f4e9"}.fa-creative-commons-nc-jp:before{content:"\f4ea"}.fa-creative-commons-nd:before{content:"\f4eb"}.fa-creative-commons-pd:before{content:"\f4ec"}.fa-creative-commons-pd-alt:before{content:"\f4ed"}.fa-creative-commons-remix:before{content:"\f4ee"}.fa-creative-commons-sa:before{content:"\f4ef"}.fa-creative-commons-sampling:before{content:"\f4f0"}.fa-creative-commons-sampling-plus:before{content:"\f4f1"}.fa-creative-commons-share:before{content:"\f4f2"}.fa-creative-commons-zero:before{content:"\f4f3"}.fa-credit-card:before{content:"\f09d"}.fa-critical-role:before{content:"\f6c9"}.fa-crop:before{content:"\f125"}.fa-crop-alt:before{content:"\f565"}.fa-cross:before{content:"\f654"}.fa-crosshairs:before{content:"\f05b"}.fa-crow:before{content:"\f520"}.fa-crown:before{content:"\f521"}.fa-crutch:before{content:"\f7f7"}.fa-css3:before{content:"\f13c"}.fa-css3-alt:before{content:"\f38b"}.fa-cube:before{content:"\f1b2"}.fa-cubes:before{content:"\f1b3"}.fa-cut:before{content:"\f0c4"}.fa-cuttlefish:before{content:"\f38c"}.fa-d-and-d:before{content:"\f38d"}.fa-d-and-d-beyond:before{content:"\f6ca"}.fa-dailymotion:before{content:"\e052"}.fa-dashcube:before{content:"\f210"}.fa-database:before{content:"\f1c0"}.fa-deaf:before{content:"\f2a4"}.fa-deezer:before{content:"\e077"}.fa-delicious:before{content:"\f1a5"}.fa-democrat:before{content:"\f747"}.fa-deploydog:before{content:"\f38e"}.fa-deskpro:before{content:"\f38f"}.fa-desktop:before{content:"\f108"}.fa-dev:before{content:"\f6cc"}.fa-deviantart:before{content:"\f1bd"}.fa-dharmachakra:before{content:"\f655"}.fa-dhl:before{content:"\f790"}.fa-diagnoses:before{content:"\f470"}.fa-diaspora:before{content:"\f791"}.fa-dice:before{content:"\f522"}.fa-dice-d20:before{content:"\f6cf"}.fa-dice-d6:before{content:"\f6d1"}.fa-dice-five:before{content:"\f523"}.fa-dice-four:before{content:"\f524"}.fa-dice-one:before{content:"\f525"}.fa-dice-six:before{content:"\f526"}.fa-dice-three:before{content:"\f527"}.fa-dice-two:before{content:"\f528"}.fa-digg:before{content:"\f1a6"}.fa-digital-ocean:before{content:"\f391"}.fa-digital-tachograph:before{content:"\f566"}.fa-directions:before{content:"\f5eb"}.fa-discord:before{content:"\f392"}.fa-discourse:before{content:"\f393"}.fa-disease:before{content:"\f7fa"}.fa-divide:before{content:"\f529"}.fa-dizzy:before{content:"\f567"}.fa-dna:before{content:"\f471"}.fa-dochub:before{content:"\f394"}.fa-docker:before{content:"\f395"}.fa-dog:before{content:"\f6d3"}.fa-dollar-sign:before{content:"\f155"}.fa-dolly:before{content:"\f472"}.fa-dolly-flatbed:before{content:"\f474"}.fa-donate:before{content:"\f4b9"}.fa-door-closed:before{content:"\f52a"}.fa-door-open:before{content:"\f52b"}.fa-dot-circle:before{content:"\f192"}.fa-dove:before{content:"\f4ba"}.fa-download:before{content:"\f019"}.fa-draft2digital:before{content:"\f396"}.fa-drafting-compass:before{content:"\f568"}.fa-dragon:before{content:"\f6d5"}.fa-draw-polygon:before{content:"\f5ee"}.fa-dribbble:before{content:"\f17d"}.fa-dribbble-square:before{content:"\f397"}.fa-dropbox:before{content:"\f16b"}.fa-drum:before{content:"\f569"}.fa-drum-steelpan:before{content:"\f56a"}.fa-drumstick-bite:before{content:"\f6d7"}.fa-drupal:before{content:"\f1a9"}.fa-dumbbell:before{content:"\f44b"}.fa-dumpster:before{content:"\f793"}.fa-dumpster-fire:before{content:"\f794"}.fa-dungeon:before{content:"\f6d9"}.fa-dyalog:before{content:"\f399"}.fa-earlybirds:before{content:"\f39a"}.fa-ebay:before{content:"\f4f4"}.fa-edge:before{content:"\f282"}.fa-edge-legacy:before{content:"\e078"}.fa-edit:before{content:"\f044"}.fa-egg:before{content:"\f7fb"}.fa-eject:before{content:"\f052"}.fa-elementor:before{content:"\f430"}.fa-ellipsis-h:before{content:"\f141"}.fa-ellipsis-v:before{content:"\f142"}.fa-ello:before{content:"\f5f1"}.fa-ember:before{content:"\f423"}.fa-empire:before{content:"\f1d1"}.fa-envelope:before{content:"\f0e0"}.fa-envelope-open:before{content:"\f2b6"}.fa-envelope-open-text:before{content:"\f658"}.fa-envelope-square:before{content:"\f199"}.fa-envira:before{content:"\f299"}.fa-equals:before{content:"\f52c"}.fa-eraser:before{content:"\f12d"}.fa-erlang:before{content:"\f39d"}.fa-ethereum:before{content:"\f42e"}.fa-ethernet:before{content:"\f796"}.fa-etsy:before{content:"\f2d7"}.fa-euro-sign:before{content:"\f153"}.fa-evernote:before{content:"\f839"}.fa-exchange-alt:before{content:"\f362"}.fa-exclamation:before{content:"\f12a"}.fa-exclamation-circle:before{content:"\f06a"}.fa-exclamation-triangle:before{content:"\f071"}.fa-expand:before{content:"\f065"}.fa-expand-alt:before{content:"\f424"}.fa-expand-arrows-alt:before{content:"\f31e"}.fa-expeditedssl:before{content:"\f23e"}.fa-external-link-alt:before{content:"\f35d"}.fa-external-link-square-alt:before{content:"\f360"}.fa-eye:before{content:"\f06e"}.fa-eye-dropper:before{content:"\f1fb"}.fa-eye-slash:before{content:"\f070"}.fa-facebook:before{content:"\f09a"}.fa-facebook-f:before{content:"\f39e"}.fa-facebook-messenger:before{content:"\f39f"}.fa-facebook-square:before{content:"\f082"}.fa-fan:before{content:"\f863"}.fa-fantasy-flight-games:before{content:"\f6dc"}.fa-fast-backward:before{content:"\f049"}.fa-fast-forward:before{content:"\f050"}.fa-faucet:before{content:"\e005"}.fa-fax:before{content:"\f1ac"}.fa-feather:before{content:"\f52d"}.fa-feather-alt:before{content:"\f56b"}.fa-fedex:before{content:"\f797"}.fa-fedora:before{content:"\f798"}.fa-female:before{content:"\f182"}.fa-fighter-jet:before{content:"\f0fb"}.fa-figma:before{content:"\f799"}.fa-file:before{content:"\f15b"}.fa-file-alt:before{content:"\f15c"}.fa-file-archive:before{content:"\f1c6"}.fa-file-audio:before{content:"\f1c7"}.fa-file-code:before{content:"\f1c9"}.fa-file-contract:before{content:"\f56c"}.fa-file-csv:before{content:"\f6dd"}.fa-file-download:before{content:"\f56d"}.fa-file-excel:before{content:"\f1c3"}.fa-file-export:before{content:"\f56e"}.fa-file-image:before{content:"\f1c5"}.fa-file-import:before{content:"\f56f"}.fa-file-invoice:before{content:"\f570"}.fa-file-invoice-dollar:before{content:"\f571"}.fa-file-medical:before{content:"\f477"}.fa-file-medical-alt:before{content:"\f478"}.fa-file-pdf:before{content:"\f1c1"}.fa-file-powerpoint:before{content:"\f1c4"}.fa-file-prescription:before{content:"\f572"}.fa-file-signature:before{content:"\f573"}.fa-file-upload:before{content:"\f574"}.fa-file-video:before{content:"\f1c8"}.fa-file-word:before{content:"\f1c2"}.fa-fill:before{content:"\f575"}.fa-fill-drip:before{content:"\f576"}.fa-film:before{content:"\f008"}.fa-filter:before{content:"\f0b0"}.fa-fingerprint:before{content:"\f577"}.fa-fire:before{content:"\f06d"}.fa-fire-alt:before{content:"\f7e4"}.fa-fire-extinguisher:before{content:"\f134"}.fa-firefox:before{content:"\f269"}.fa-firefox-browser:before{content:"\e007"}.fa-first-aid:before{content:"\f479"}.fa-first-order:before{content:"\f2b0"}.fa-first-order-alt:before{content:"\f50a"}.fa-firstdraft:before{content:"\f3a1"}.fa-fish:before{content:"\f578"}.fa-fist-raised:before{content:"\f6de"}.fa-flag:before{content:"\f024"}.fa-flag-checkered:before{content:"\f11e"}.fa-flag-usa:before{content:"\f74d"}.fa-flask:before{content:"\f0c3"}.fa-flickr:before{content:"\f16e"}.fa-flipboard:before{content:"\f44d"}.fa-flushed:before{content:"\f579"}.fa-fly:before{content:"\f417"}.fa-folder:before{content:"\f07b"}.fa-folder-minus:before{content:"\f65d"}.fa-folder-open:before{content:"\f07c"}.fa-folder-plus:before{content:"\f65e"}.fa-font:before{content:"\f031"}.fa-font-awesome:before{content:"\f2b4"}.fa-font-awesome-alt:before{content:"\f35c"}.fa-font-awesome-flag:before{content:"\f425"}.fa-font-awesome-logo-full:before{content:"\f4e6"}.fa-fonticons:before{content:"\f280"}.fa-fonticons-fi:before{content:"\f3a2"}.fa-football-ball:before{content:"\f44e"}.fa-fort-awesome:before{content:"\f286"}.fa-fort-awesome-alt:before{content:"\f3a3"}.fa-forumbee:before{content:"\f211"}.fa-forward:before{content:"\f04e"}.fa-foursquare:before{content:"\f180"}.fa-free-code-camp:before{content:"\f2c5"}.fa-freebsd:before{content:"\f3a4"}.fa-frog:before{content:"\f52e"}.fa-frown:before{content:"\f119"}.fa-frown-open:before{content:"\f57a"}.fa-fulcrum:before{content:"\f50b"}.fa-funnel-dollar:before{content:"\f662"}.fa-futbol:before{content:"\f1e3"}.fa-galactic-republic:before{content:"\f50c"}.fa-galactic-senate:before{content:"\f50d"}.fa-gamepad:before{content:"\f11b"}.fa-gas-pump:before{content:"\f52f"}.fa-gavel:before{content:"\f0e3"}.fa-gem:before{content:"\f3a5"}.fa-genderless:before{content:"\f22d"}.fa-get-pocket:before{content:"\f265"}.fa-gg:before{content:"\f260"}.fa-gg-circle:before{content:"\f261"}.fa-ghost:before{content:"\f6e2"}.fa-gift:before{content:"\f06b"}.fa-gifts:before{content:"\f79c"}.fa-git:before{content:"\f1d3"}.fa-git-alt:before{content:"\f841"}.fa-git-square:before{content:"\f1d2"}.fa-github:before{content:"\f09b"}.fa-github-alt:before{content:"\f113"}.fa-github-square:before{content:"\f092"}.fa-gitkraken:before{content:"\f3a6"}.fa-gitlab:before{content:"\f296"}.fa-gitter:before{content:"\f426"}.fa-glass-cheers:before{content:"\f79f"}.fa-glass-martini:before{content:"\f000"}.fa-glass-martini-alt:before{content:"\f57b"}.fa-glass-whiskey:before{content:"\f7a0"}.fa-glasses:before{content:"\f530"}.fa-glide:before{content:"\f2a5"}.fa-glide-g:before{content:"\f2a6"}.fa-globe:before{content:"\f0ac"}.fa-globe-africa:before{content:"\f57c"}.fa-globe-americas:before{content:"\f57d"}.fa-globe-asia:before{content:"\f57e"}.fa-globe-europe:before{content:"\f7a2"}.fa-gofore:before{content:"\f3a7"}.fa-golf-ball:before{content:"\f450"}.fa-goodreads:before{content:"\f3a8"}.fa-goodreads-g:before{content:"\f3a9"}.fa-google:before{content:"\f1a0"}.fa-google-drive:before{content:"\f3aa"}.fa-google-pay:before{content:"\e079"}.fa-google-play:before{content:"\f3ab"}.fa-google-plus:before{content:"\f2b3"}.fa-google-plus-g:before{content:"\f0d5"}.fa-google-plus-square:before{content:"\f0d4"}.fa-google-wallet:before{content:"\f1ee"}.fa-gopuram:before{content:"\f664"}.fa-graduation-cap:before{content:"\f19d"}.fa-gratipay:before{content:"\f184"}.fa-grav:before{content:"\f2d6"}.fa-greater-than:before{content:"\f531"}.fa-greater-than-equal:before{content:"\f532"}.fa-grimace:before{content:"\f57f"}.fa-grin:before{content:"\f580"}.fa-grin-alt:before{content:"\f581"}.fa-grin-beam:before{content:"\f582"}.fa-grin-beam-sweat:before{content:"\f583"}.fa-grin-hearts:before{content:"\f584"}.fa-grin-squint:before{content:"\f585"}.fa-grin-squint-tears:before{content:"\f586"}.fa-grin-stars:before{content:"\f587"}.fa-grin-tears:before{content:"\f588"}.fa-grin-tongue:before{content:"\f589"}.fa-grin-tongue-squint:before{content:"\f58a"}.fa-grin-tongue-wink:before{content:"\f58b"}.fa-grin-wink:before{content:"\f58c"}.fa-grip-horizontal:before{content:"\f58d"}.fa-grip-lines:before{content:"\f7a4"}.fa-grip-lines-vertical:before{content:"\f7a5"}.fa-grip-vertical:before{content:"\f58e"}.fa-gripfire:before{content:"\f3ac"}.fa-grunt:before{content:"\f3ad"}.fa-guilded:before{content:"\e07e"}.fa-guitar:before{content:"\f7a6"}.fa-gulp:before{content:"\f3ae"}.fa-h-square:before{content:"\f0fd"}.fa-hacker-news:before{content:"\f1d4"}.fa-hacker-news-square:before{content:"\f3af"}.fa-hackerrank:before{content:"\f5f7"}.fa-hamburger:before{content:"\f805"}.fa-hammer:before{content:"\f6e3"}.fa-hamsa:before{content:"\f665"}.fa-hand-holding:before{content:"\f4bd"}.fa-hand-holding-heart:before{content:"\f4be"}.fa-hand-holding-medical:before{content:"\e05c"}.fa-hand-holding-usd:before{content:"\f4c0"}.fa-hand-holding-water:before{content:"\f4c1"}.fa-hand-lizard:before{content:"\f258"}.fa-hand-middle-finger:before{content:"\f806"}.fa-hand-paper:before{content:"\f256"}.fa-hand-peace:before{content:"\f25b"}.fa-hand-point-down:before{content:"\f0a7"}.fa-hand-point-left:before{content:"\f0a5"}.fa-hand-point-right:before{content:"\f0a4"}.fa-hand-point-up:before{content:"\f0a6"}.fa-hand-pointer:before{content:"\f25a"}.fa-hand-rock:before{content:"\f255"}.fa-hand-scissors:before{content:"\f257"}.fa-hand-sparkles:before{content:"\e05d"}.fa-hand-spock:before{content:"\f259"}.fa-hands:before{content:"\f4c2"}.fa-hands-helping:before{content:"\f4c4"}.fa-hands-wash:before{content:"\e05e"}.fa-handshake:before{content:"\f2b5"}.fa-handshake-alt-slash:before{content:"\e05f"}.fa-handshake-slash:before{content:"\e060"}.fa-hanukiah:before{content:"\f6e6"}.fa-hard-hat:before{content:"\f807"}.fa-hashtag:before{content:"\f292"}.fa-hat-cowboy:before{content:"\f8c0"}.fa-hat-cowboy-side:before{content:"\f8c1"}.fa-hat-wizard:before{content:"\f6e8"}.fa-hdd:before{content:"\f0a0"}.fa-head-side-cough:before{content:"\e061"}.fa-head-side-cough-slash:before{content:"\e062"}.fa-head-side-mask:before{content:"\e063"}.fa-head-side-virus:before{content:"\e064"}.fa-heading:before{content:"\f1dc"}.fa-headphones:before{content:"\f025"}.fa-headphones-alt:before{content:"\f58f"}.fa-headset:before{content:"\f590"}.fa-heart:before{content:"\f004"}.fa-heart-broken:before{content:"\f7a9"}.fa-heartbeat:before{content:"\f21e"}.fa-helicopter:before{content:"\f533"}.fa-highlighter:before{content:"\f591"}.fa-hiking:before{content:"\f6ec"}.fa-hippo:before{content:"\f6ed"}.fa-hips:before{content:"\f452"}.fa-hire-a-helper:before{content:"\f3b0"}.fa-history:before{content:"\f1da"}.fa-hive:before{content:"\e07f"}.fa-hockey-puck:before{content:"\f453"}.fa-holly-berry:before{content:"\f7aa"}.fa-home:before{content:"\f015"}.fa-hooli:before{content:"\f427"}.fa-hornbill:before{content:"\f592"}.fa-horse:before{content:"\f6f0"}.fa-horse-head:before{content:"\f7ab"}.fa-hospital:before{content:"\f0f8"}.fa-hospital-alt:before{content:"\f47d"}.fa-hospital-symbol:before{content:"\f47e"}.fa-hospital-user:before{content:"\f80d"}.fa-hot-tub:before{content:"\f593"}.fa-hotdog:before{content:"\f80f"}.fa-hotel:before{content:"\f594"}.fa-hotjar:before{content:"\f3b1"}.fa-hourglass:before{content:"\f254"}.fa-hourglass-end:before{content:"\f253"}.fa-hourglass-half:before{content:"\f252"}.fa-hourglass-start:before{content:"\f251"}.fa-house-damage:before{content:"\f6f1"}.fa-house-user:before{content:"\e065"}.fa-houzz:before{content:"\f27c"}.fa-hryvnia:before{content:"\f6f2"}.fa-html5:before{content:"\f13b"}.fa-hubspot:before{content:"\f3b2"}.fa-i-cursor:before{content:"\f246"}.fa-ice-cream:before{content:"\f810"}.fa-icicles:before{content:"\f7ad"}.fa-icons:before{content:"\f86d"}.fa-id-badge:before{content:"\f2c1"}.fa-id-card:before{content:"\f2c2"}.fa-id-card-alt:before{content:"\f47f"}.fa-ideal:before{content:"\e013"}.fa-igloo:before{content:"\f7ae"}.fa-image:before{content:"\f03e"}.fa-images:before{content:"\f302"}.fa-imdb:before{content:"\f2d8"}.fa-inbox:before{content:"\f01c"}.fa-indent:before{content:"\f03c"}.fa-industry:before{content:"\f275"}.fa-infinity:before{content:"\f534"}.fa-info:before{content:"\f129"}.fa-info-circle:before{content:"\f05a"}.fa-innosoft:before{content:"\e080"}.fa-instagram:before{content:"\f16d"}.fa-instagram-square:before{content:"\e055"}.fa-instalod:before{content:"\e081"}.fa-intercom:before{content:"\f7af"}.fa-internet-explorer:before{content:"\f26b"}.fa-invision:before{content:"\f7b0"}.fa-ioxhost:before{content:"\f208"}.fa-italic:before{content:"\f033"}.fa-itch-io:before{content:"\f83a"}.fa-itunes:before{content:"\f3b4"}.fa-itunes-note:before{content:"\f3b5"}.fa-java:before{content:"\f4e4"}.fa-jedi:before{content:"\f669"}.fa-jedi-order:before{content:"\f50e"}.fa-jenkins:before{content:"\f3b6"}.fa-jira:before{content:"\f7b1"}.fa-joget:before{content:"\f3b7"}.fa-joint:before{content:"\f595"}.fa-joomla:before{content:"\f1aa"}.fa-journal-whills:before{content:"\f66a"}.fa-js:before{content:"\f3b8"}.fa-js-square:before{content:"\f3b9"}.fa-jsfiddle:before{content:"\f1cc"}.fa-kaaba:before{content:"\f66b"}.fa-kaggle:before{content:"\f5fa"}.fa-key:before{content:"\f084"}.fa-keybase:before{content:"\f4f5"}.fa-keyboard:before{content:"\f11c"}.fa-keycdn:before{content:"\f3ba"}.fa-khanda:before{content:"\f66d"}.fa-kickstarter:before{content:"\f3bb"}.fa-kickstarter-k:before{content:"\f3bc"}.fa-kiss:before{content:"\f596"}.fa-kiss-beam:before{content:"\f597"}.fa-kiss-wink-heart:before{content:"\f598"}.fa-kiwi-bird:before{content:"\f535"}.fa-korvue:before{content:"\f42f"}.fa-landmark:before{content:"\f66f"}.fa-language:before{content:"\f1ab"}.fa-laptop:before{content:"\f109"}.fa-laptop-code:before{content:"\f5fc"}.fa-laptop-house:before{content:"\e066"}.fa-laptop-medical:before{content:"\f812"}.fa-laravel:before{content:"\f3bd"}.fa-lastfm:before{content:"\f202"}.fa-lastfm-square:before{content:"\f203"}.fa-laugh:before{content:"\f599"}.fa-laugh-beam:before{content:"\f59a"}.fa-laugh-squint:before{content:"\f59b"}.fa-laugh-wink:before{content:"\f59c"}.fa-layer-group:before{content:"\f5fd"}.fa-leaf:before{content:"\f06c"}.fa-leanpub:before{content:"\f212"}.fa-lemon:before{content:"\f094"}.fa-less:before{content:"\f41d"}.fa-less-than:before{content:"\f536"}.fa-less-than-equal:before{content:"\f537"}.fa-level-down-alt:before{content:"\f3be"}.fa-level-up-alt:before{content:"\f3bf"}.fa-life-ring:before{content:"\f1cd"}.fa-lightbulb:before{content:"\f0eb"}.fa-line:before{content:"\f3c0"}.fa-link:before{content:"\f0c1"}.fa-linkedin:before{content:"\f08c"}.fa-linkedin-in:before{content:"\f0e1"}.fa-linode:before{content:"\f2b8"}.fa-linux:before{content:"\f17c"}.fa-lira-sign:before{content:"\f195"}.fa-list:before{content:"\f03a"}.fa-list-alt:before{content:"\f022"}.fa-list-ol:before{content:"\f0cb"}.fa-list-ul:before{content:"\f0ca"}.fa-location-arrow:before{content:"\f124"}.fa-lock:before{content:"\f023"}.fa-lock-open:before{content:"\f3c1"}.fa-long-arrow-alt-down:before{content:"\f309"}.fa-long-arrow-alt-left:before{content:"\f30a"}.fa-long-arrow-alt-right:before{content:"\f30b"}.fa-long-arrow-alt-up:before{content:"\f30c"}.fa-low-vision:before{content:"\f2a8"}.fa-luggage-cart:before{content:"\f59d"}.fa-lungs:before{content:"\f604"}.fa-lungs-virus:before{content:"\e067"}.fa-lyft:before{content:"\f3c3"}.fa-magento:before{content:"\f3c4"}.fa-magic:before{content:"\f0d0"}.fa-magnet:before{content:"\f076"}.fa-mail-bulk:before{content:"\f674"}.fa-mailchimp:before{content:"\f59e"}.fa-male:before{content:"\f183"}.fa-mandalorian:before{content:"\f50f"}.fa-map:before{content:"\f279"}.fa-map-marked:before{content:"\f59f"}.fa-map-marked-alt:before{content:"\f5a0"}.fa-map-marker:before{content:"\f041"}.fa-map-marker-alt:before{content:"\f3c5"}.fa-map-pin:before{content:"\f276"}.fa-map-signs:before{content:"\f277"}.fa-markdown:before{content:"\f60f"}.fa-marker:before{content:"\f5a1"}.fa-mars:before{content:"\f222"}.fa-mars-double:before{content:"\f227"}.fa-mars-stroke:before{content:"\f229"}.fa-mars-stroke-h:before{content:"\f22b"}.fa-mars-stroke-v:before{content:"\f22a"}.fa-mask:before{content:"\f6fa"}.fa-mastodon:before{content:"\f4f6"}.fa-maxcdn:before{content:"\f136"}.fa-mdb:before{content:"\f8ca"}.fa-medal:before{content:"\f5a2"}.fa-medapps:before{content:"\f3c6"}.fa-medium:before{content:"\f23a"}.fa-medium-m:before{content:"\f3c7"}.fa-medkit:before{content:"\f0fa"}.fa-medrt:before{content:"\f3c8"}.fa-meetup:before{content:"\f2e0"}.fa-megaport:before{content:"\f5a3"}.fa-meh:before{content:"\f11a"}.fa-meh-blank:before{content:"\f5a4"}.fa-meh-rolling-eyes:before{content:"\f5a5"}.fa-memory:before{content:"\f538"}.fa-mendeley:before{content:"\f7b3"}.fa-menorah:before{content:"\f676"}.fa-mercury:before{content:"\f223"}.fa-meteor:before{content:"\f753"}.fa-microblog:before{content:"\e01a"}.fa-microchip:before{content:"\f2db"}.fa-microphone:before{content:"\f130"}.fa-microphone-alt:before{content:"\f3c9"}.fa-microphone-alt-slash:before{content:"\f539"}.fa-microphone-slash:before{content:"\f131"}.fa-microscope:before{content:"\f610"}.fa-microsoft:before{content:"\f3ca"}.fa-minus:before{content:"\f068"}.fa-minus-circle:before{content:"\f056"}.fa-minus-square:before{content:"\f146"}.fa-mitten:before{content:"\f7b5"}.fa-mix:before{content:"\f3cb"}.fa-mixcloud:before{content:"\f289"}.fa-mixer:before{content:"\e056"}.fa-mizuni:before{content:"\f3cc"}.fa-mobile:before{content:"\f10b"}.fa-mobile-alt:before{content:"\f3cd"}.fa-modx:before{content:"\f285"}.fa-monero:before{content:"\f3d0"}.fa-money-bill:before{content:"\f0d6"}.fa-money-bill-alt:before{content:"\f3d1"}.fa-money-bill-wave:before{content:"\f53a"}.fa-money-bill-wave-alt:before{content:"\f53b"}.fa-money-check:before{content:"\f53c"}.fa-money-check-alt:before{content:"\f53d"}.fa-monument:before{content:"\f5a6"}.fa-moon:before{content:"\f186"}.fa-mortar-pestle:before{content:"\f5a7"}.fa-mosque:before{content:"\f678"}.fa-motorcycle:before{content:"\f21c"}.fa-mountain:before{content:"\f6fc"}.fa-mouse:before{content:"\f8cc"}.fa-mouse-pointer:before{content:"\f245"}.fa-mug-hot:before{content:"\f7b6"}.fa-music:before{content:"\f001"}.fa-napster:before{content:"\f3d2"}.fa-neos:before{content:"\f612"}.fa-network-wired:before{content:"\f6ff"}.fa-neuter:before{content:"\f22c"}.fa-newspaper:before{content:"\f1ea"}.fa-nimblr:before{content:"\f5a8"}.fa-node:before{content:"\f419"}.fa-node-js:before{content:"\f3d3"}.fa-not-equal:before{content:"\f53e"}.fa-notes-medical:before{content:"\f481"}.fa-npm:before{content:"\f3d4"}.fa-ns8:before{content:"\f3d5"}.fa-nutritionix:before{content:"\f3d6"}.fa-object-group:before{content:"\f247"}.fa-object-ungroup:before{content:"\f248"}.fa-octopus-deploy:before{content:"\e082"}.fa-odnoklassniki:before{content:"\f263"}.fa-odnoklassniki-square:before{content:"\f264"}.fa-oil-can:before{content:"\f613"}.fa-old-republic:before{content:"\f510"}.fa-om:before{content:"\f679"}.fa-opencart:before{content:"\f23d"}.fa-openid:before{content:"\f19b"}.fa-opera:before{content:"\f26a"}.fa-optin-monster:before{content:"\f23c"}.fa-orcid:before{content:"\f8d2"}.fa-osi:before{content:"\f41a"}.fa-otter:before{content:"\f700"}.fa-outdent:before{content:"\f03b"}.fa-page4:before{content:"\f3d7"}.fa-pagelines:before{content:"\f18c"}.fa-pager:before{content:"\f815"}.fa-paint-brush:before{content:"\f1fc"}.fa-paint-roller:before{content:"\f5aa"}.fa-palette:before{content:"\f53f"}.fa-palfed:before{content:"\f3d8"}.fa-pallet:before{content:"\f482"}.fa-paper-plane:before{content:"\f1d8"}.fa-paperclip:before{content:"\f0c6"}.fa-parachute-box:before{content:"\f4cd"}.fa-paragraph:before{content:"\f1dd"}.fa-parking:before{content:"\f540"}.fa-passport:before{content:"\f5ab"}.fa-pastafarianism:before{content:"\f67b"}.fa-paste:before{content:"\f0ea"}.fa-patreon:before{content:"\f3d9"}.fa-pause:before{content:"\f04c"}.fa-pause-circle:before{content:"\f28b"}.fa-paw:before{content:"\f1b0"}.fa-paypal:before{content:"\f1ed"}.fa-peace:before{content:"\f67c"}.fa-pen:before{content:"\f304"}.fa-pen-alt:before{content:"\f305"}.fa-pen-fancy:before{content:"\f5ac"}.fa-pen-nib:before{content:"\f5ad"}.fa-pen-square:before{content:"\f14b"}.fa-pencil-alt:before{content:"\f303"}.fa-pencil-ruler:before{content:"\f5ae"}.fa-penny-arcade:before{content:"\f704"}.fa-people-arrows:before{content:"\e068"}.fa-people-carry:before{content:"\f4ce"}.fa-pepper-hot:before{content:"\f816"}.fa-perbyte:before{content:"\e083"}.fa-percent:before{content:"\f295"}.fa-percentage:before{content:"\f541"}.fa-periscope:before{content:"\f3da"}.fa-person-booth:before{content:"\f756"}.fa-phabricator:before{content:"\f3db"}.fa-phoenix-framework:before{content:"\f3dc"}.fa-phoenix-squadron:before{content:"\f511"}.fa-phone:before{content:"\f095"}.fa-phone-alt:before{content:"\f879"}.fa-phone-slash:before{content:"\f3dd"}.fa-phone-square:before{content:"\f098"}.fa-phone-square-alt:before{content:"\f87b"}.fa-phone-volume:before{content:"\f2a0"}.fa-photo-video:before{content:"\f87c"}.fa-php:before{content:"\f457"}.fa-pied-piper:before{content:"\f2ae"}.fa-pied-piper-alt:before{content:"\f1a8"}.fa-pied-piper-hat:before{content:"\f4e5"}.fa-pied-piper-pp:before{content:"\f1a7"}.fa-pied-piper-square:before{content:"\e01e"}.fa-piggy-bank:before{content:"\f4d3"}.fa-pills:before{content:"\f484"}.fa-pinterest:before{content:"\f0d2"}.fa-pinterest-p:before{content:"\f231"}.fa-pinterest-square:before{content:"\f0d3"}.fa-pizza-slice:before{content:"\f818"}.fa-place-of-worship:before{content:"\f67f"}.fa-plane:before{content:"\f072"}.fa-plane-arrival:before{content:"\f5af"}.fa-plane-departure:before{content:"\f5b0"}.fa-plane-slash:before{content:"\e069"}.fa-play:before{content:"\f04b"}.fa-play-circle:before{content:"\f144"}.fa-playstation:before{content:"\f3df"}.fa-plug:before{content:"\f1e6"}.fa-plus:before{content:"\f067"}.fa-plus-circle:before{content:"\f055"}.fa-plus-square:before{content:"\f0fe"}.fa-podcast:before{content:"\f2ce"}.fa-poll:before{content:"\f681"}.fa-poll-h:before{content:"\f682"}.fa-poo:before{content:"\f2fe"}.fa-poo-storm:before{content:"\f75a"}.fa-poop:before{content:"\f619"}.fa-portrait:before{content:"\f3e0"}.fa-pound-sign:before{content:"\f154"}.fa-power-off:before{content:"\f011"}.fa-pray:before{content:"\f683"}.fa-praying-hands:before{content:"\f684"}.fa-prescription:before{content:"\f5b1"}.fa-prescription-bottle:before{content:"\f485"}.fa-prescription-bottle-alt:before{content:"\f486"}.fa-print:before{content:"\f02f"}.fa-procedures:before{content:"\f487"}.fa-product-hunt:before{content:"\f288"}.fa-project-diagram:before{content:"\f542"}.fa-pump-medical:before{content:"\e06a"}.fa-pump-soap:before{content:"\e06b"}.fa-pushed:before{content:"\f3e1"}.fa-puzzle-piece:before{content:"\f12e"}.fa-python:before{content:"\f3e2"}.fa-qq:before{content:"\f1d6"}.fa-qrcode:before{content:"\f029"}.fa-question:before{content:"\f128"}.fa-question-circle:before{content:"\f059"}.fa-quidditch:before{content:"\f458"}.fa-quinscape:before{content:"\f459"}.fa-quora:before{content:"\f2c4"}.fa-quote-left:before{content:"\f10d"}.fa-quote-right:before{content:"\f10e"}.fa-quran:before{content:"\f687"}.fa-r-project:before{content:"\f4f7"}.fa-radiation:before{content:"\f7b9"}.fa-radiation-alt:before{content:"\f7ba"}.fa-rainbow:before{content:"\f75b"}.fa-random:before{content:"\f074"}.fa-raspberry-pi:before{content:"\f7bb"}.fa-ravelry:before{content:"\f2d9"}.fa-react:before{content:"\f41b"}.fa-reacteurope:before{content:"\f75d"}.fa-readme:before{content:"\f4d5"}.fa-rebel:before{content:"\f1d0"}.fa-receipt:before{content:"\f543"}.fa-record-vinyl:before{content:"\f8d9"}.fa-recycle:before{content:"\f1b8"}.fa-red-river:before{content:"\f3e3"}.fa-reddit:before{content:"\f1a1"}.fa-reddit-alien:before{content:"\f281"}.fa-reddit-square:before{content:"\f1a2"}.fa-redhat:before{content:"\f7bc"}.fa-redo:before{content:"\f01e"}.fa-redo-alt:before{content:"\f2f9"}.fa-registered:before{content:"\f25d"}.fa-remove-format:before{content:"\f87d"}.fa-renren:before{content:"\f18b"}.fa-reply:before{content:"\f3e5"}.fa-reply-all:before{content:"\f122"}.fa-replyd:before{content:"\f3e6"}.fa-republican:before{content:"\f75e"}.fa-researchgate:before{content:"\f4f8"}.fa-resolving:before{content:"\f3e7"}.fa-restroom:before{content:"\f7bd"}.fa-retweet:before{content:"\f079"}.fa-rev:before{content:"\f5b2"}.fa-ribbon:before{content:"\f4d6"}.fa-ring:before{content:"\f70b"}.fa-road:before{content:"\f018"}.fa-robot:before{content:"\f544"}.fa-rocket:before{content:"\f135"}.fa-rocketchat:before{content:"\f3e8"}.fa-rockrms:before{content:"\f3e9"}.fa-route:before{content:"\f4d7"}.fa-rss:before{content:"\f09e"}.fa-rss-square:before{content:"\f143"}.fa-ruble-sign:before{content:"\f158"}.fa-ruler:before{content:"\f545"}.fa-ruler-combined:before{content:"\f546"}.fa-ruler-horizontal:before{content:"\f547"}.fa-ruler-vertical:before{content:"\f548"}.fa-running:before{content:"\f70c"}.fa-rupee-sign:before{content:"\f156"}.fa-rust:before{content:"\e07a"}.fa-sad-cry:before{content:"\f5b3"}.fa-sad-tear:before{content:"\f5b4"}.fa-safari:before{content:"\f267"}.fa-salesforce:before{content:"\f83b"}.fa-sass:before{content:"\f41e"}.fa-satellite:before{content:"\f7bf"}.fa-satellite-dish:before{content:"\f7c0"}.fa-save:before{content:"\f0c7"}.fa-schlix:before{content:"\f3ea"}.fa-school:before{content:"\f549"}.fa-screwdriver:before{content:"\f54a"}.fa-scribd:before{content:"\f28a"}.fa-scroll:before{content:"\f70e"}.fa-sd-card:before{content:"\f7c2"}.fa-search:before{content:"\f002"}.fa-search-dollar:before{content:"\f688"}.fa-search-location:before{content:"\f689"}.fa-search-minus:before{content:"\f010"}.fa-search-plus:before{content:"\f00e"}.fa-searchengin:before{content:"\f3eb"}.fa-seedling:before{content:"\f4d8"}.fa-sellcast:before{content:"\f2da"}.fa-sellsy:before{content:"\f213"}.fa-server:before{content:"\f233"}.fa-servicestack:before{content:"\f3ec"}.fa-shapes:before{content:"\f61f"}.fa-share:before{content:"\f064"}.fa-share-alt:before{content:"\f1e0"}.fa-share-alt-square:before{content:"\f1e1"}.fa-share-square:before{content:"\f14d"}.fa-shekel-sign:before{content:"\f20b"}.fa-shield-alt:before{content:"\f3ed"}.fa-shield-virus:before{content:"\e06c"}.fa-ship:before{content:"\f21a"}.fa-shipping-fast:before{content:"\f48b"}.fa-shirtsinbulk:before{content:"\f214"}.fa-shoe-prints:before{content:"\f54b"}.fa-shopify:before{content:"\e057"}.fa-shopping-bag:before{content:"\f290"}.fa-shopping-basket:before{content:"\f291"}.fa-shopping-cart:before{content:"\f07a"}.fa-shopware:before{content:"\f5b5"}.fa-shower:before{content:"\f2cc"}.fa-shuttle-van:before{content:"\f5b6"}.fa-sign:before{content:"\f4d9"}.fa-sign-in-alt:before{content:"\f2f6"}.fa-sign-language:before{content:"\f2a7"}.fa-sign-out-alt:before{content:"\f2f5"}.fa-signal:before{content:"\f012"}.fa-signature:before{content:"\f5b7"}.fa-sim-card:before{content:"\f7c4"}.fa-simplybuilt:before{content:"\f215"}.fa-sink:before{content:"\e06d"}.fa-sistrix:before{content:"\f3ee"}.fa-sitemap:before{content:"\f0e8"}.fa-sith:before{content:"\f512"}.fa-skating:before{content:"\f7c5"}.fa-sketch:before{content:"\f7c6"}.fa-skiing:before{content:"\f7c9"}.fa-skiing-nordic:before{content:"\f7ca"}.fa-skull:before{content:"\f54c"}.fa-skull-crossbones:before{content:"\f714"}.fa-skyatlas:before{content:"\f216"}.fa-skype:before{content:"\f17e"}.fa-slack:before{content:"\f198"}.fa-slack-hash:before{content:"\f3ef"}.fa-slash:before{content:"\f715"}.fa-sleigh:before{content:"\f7cc"}.fa-sliders-h:before{content:"\f1de"}.fa-slideshare:before{content:"\f1e7"}.fa-smile:before{content:"\f118"}.fa-smile-beam:before{content:"\f5b8"}.fa-smile-wink:before{content:"\f4da"}.fa-smog:before{content:"\f75f"}.fa-smoking:before{content:"\f48d"}.fa-smoking-ban:before{content:"\f54d"}.fa-sms:before{content:"\f7cd"}.fa-snapchat:before{content:"\f2ab"}.fa-snapchat-ghost:before{content:"\f2ac"}.fa-snapchat-square:before{content:"\f2ad"}.fa-snowboarding:before{content:"\f7ce"}.fa-snowflake:before{content:"\f2dc"}.fa-snowman:before{content:"\f7d0"}.fa-snowplow:before{content:"\f7d2"}.fa-soap:before{content:"\e06e"}.fa-socks:before{content:"\f696"}.fa-solar-panel:before{content:"\f5ba"}.fa-sort:before{content:"\f0dc"}.fa-sort-alpha-down:before{content:"\f15d"}.fa-sort-alpha-down-alt:before{content:"\f881"}.fa-sort-alpha-up:before{content:"\f15e"}.fa-sort-alpha-up-alt:before{content:"\f882"}.fa-sort-amount-down:before{content:"\f160"}.fa-sort-amount-down-alt:before{content:"\f884"}.fa-sort-amount-up:before{content:"\f161"}.fa-sort-amount-up-alt:before{content:"\f885"}.fa-sort-down:before{content:"\f0dd"}.fa-sort-numeric-down:before{content:"\f162"}.fa-sort-numeric-down-alt:before{content:"\f886"}.fa-sort-numeric-up:before{content:"\f163"}.fa-sort-numeric-up-alt:before{content:"\f887"}.fa-sort-up:before{content:"\f0de"}.fa-soundcloud:before{content:"\f1be"}.fa-sourcetree:before{content:"\f7d3"}.fa-spa:before{content:"\f5bb"}.fa-space-shuttle:before{content:"\f197"}.fa-speakap:before{content:"\f3f3"}.fa-speaker-deck:before{content:"\f83c"}.fa-spell-check:before{content:"\f891"}.fa-spider:before{content:"\f717"}.fa-spinner:before{content:"\f110"}.fa-splotch:before{content:"\f5bc"}.fa-spotify:before{content:"\f1bc"}.fa-spray-can:before{content:"\f5bd"}.fa-square:before{content:"\f0c8"}.fa-square-full:before{content:"\f45c"}.fa-square-root-alt:before{content:"\f698"}.fa-squarespace:before{content:"\f5be"}.fa-stack-exchange:before{content:"\f18d"}.fa-stack-overflow:before{content:"\f16c"}.fa-stackpath:before{content:"\f842"}.fa-stamp:before{content:"\f5bf"}.fa-star:before{content:"\f005"}.fa-star-and-crescent:before{content:"\f699"}.fa-star-half:before{content:"\f089"}.fa-star-half-alt:before{content:"\f5c0"}.fa-star-of-david:before{content:"\f69a"}.fa-star-of-life:before{content:"\f621"}.fa-staylinked:before{content:"\f3f5"}.fa-steam:before{content:"\f1b6"}.fa-steam-square:before{content:"\f1b7"}.fa-steam-symbol:before{content:"\f3f6"}.fa-step-backward:before{content:"\f048"}.fa-step-forward:before{content:"\f051"}.fa-stethoscope:before{content:"\f0f1"}.fa-sticker-mule:before{content:"\f3f7"}.fa-sticky-note:before{content:"\f249"}.fa-stop:before{content:"\f04d"}.fa-stop-circle:before{content:"\f28d"}.fa-stopwatch:before{content:"\f2f2"}.fa-stopwatch-20:before{content:"\e06f"}.fa-store:before{content:"\f54e"}.fa-store-alt:before{content:"\f54f"}.fa-store-alt-slash:before{content:"\e070"}.fa-store-slash:before{content:"\e071"}.fa-strava:before{content:"\f428"}.fa-stream:before{content:"\f550"}.fa-street-view:before{content:"\f21d"}.fa-strikethrough:before{content:"\f0cc"}.fa-stripe:before{content:"\f429"}.fa-stripe-s:before{content:"\f42a"}.fa-stroopwafel:before{content:"\f551"}.fa-studiovinari:before{content:"\f3f8"}.fa-stumbleupon:before{content:"\f1a4"}.fa-stumbleupon-circle:before{content:"\f1a3"}.fa-subscript:before{content:"\f12c"}.fa-subway:before{content:"\f239"}.fa-suitcase:before{content:"\f0f2"}.fa-suitcase-rolling:before{content:"\f5c1"}.fa-sun:before{content:"\f185"}.fa-superpowers:before{content:"\f2dd"}.fa-superscript:before{content:"\f12b"}.fa-supple:before{content:"\f3f9"}.fa-surprise:before{content:"\f5c2"}.fa-suse:before{content:"\f7d6"}.fa-swatchbook:before{content:"\f5c3"}.fa-swift:before{content:"\f8e1"}.fa-swimmer:before{content:"\f5c4"}.fa-swimming-pool:before{content:"\f5c5"}.fa-symfony:before{content:"\f83d"}.fa-synagogue:before{content:"\f69b"}.fa-sync:before{content:"\f021"}.fa-sync-alt:before{content:"\f2f1"}.fa-syringe:before{content:"\f48e"}.fa-table:before{content:"\f0ce"}.fa-table-tennis:before{content:"\f45d"}.fa-tablet:before{content:"\f10a"}.fa-tablet-alt:before{content:"\f3fa"}.fa-tablets:before{content:"\f490"}.fa-tachometer-alt:before{content:"\f3fd"}.fa-tag:before{content:"\f02b"}.fa-tags:before{content:"\f02c"}.fa-tape:before{content:"\f4db"}.fa-tasks:before{content:"\f0ae"}.fa-taxi:before{content:"\f1ba"}.fa-teamspeak:before{content:"\f4f9"}.fa-teeth:before{content:"\f62e"}.fa-teeth-open:before{content:"\f62f"}.fa-telegram:before{content:"\f2c6"}.fa-telegram-plane:before{content:"\f3fe"}.fa-temperature-high:before{content:"\f769"}.fa-temperature-low:before{content:"\f76b"}.fa-tencent-weibo:before{content:"\f1d5"}.fa-tenge:before{content:"\f7d7"}.fa-terminal:before{content:"\f120"}.fa-text-height:before{content:"\f034"}.fa-text-width:before{content:"\f035"}.fa-th:before{content:"\f00a"}.fa-th-large:before{content:"\f009"}.fa-th-list:before{content:"\f00b"}.fa-the-red-yeti:before{content:"\f69d"}.fa-theater-masks:before{content:"\f630"}.fa-themeco:before{content:"\f5c6"}.fa-themeisle:before{content:"\f2b2"}.fa-thermometer:before{content:"\f491"}.fa-thermometer-empty:before{content:"\f2cb"}.fa-thermometer-full:before{content:"\f2c7"}.fa-thermometer-half:before{content:"\f2c9"}.fa-thermometer-quarter:before{content:"\f2ca"}.fa-thermometer-three-quarters:before{content:"\f2c8"}.fa-think-peaks:before{content:"\f731"}.fa-thumbs-down:before{content:"\f165"}.fa-thumbs-up:before{content:"\f164"}.fa-thumbtack:before{content:"\f08d"}.fa-ticket-alt:before{content:"\f3ff"}.fa-tiktok:before{content:"\e07b"}.fa-times:before{content:"\f00d"}.fa-times-circle:before{content:"\f057"}.fa-tint:before{content:"\f043"}.fa-tint-slash:before{content:"\f5c7"}.fa-tired:before{content:"\f5c8"}.fa-toggle-off:before{content:"\f204"}.fa-toggle-on:before{content:"\f205"}.fa-toilet:before{content:"\f7d8"}.fa-toilet-paper:before{content:"\f71e"}.fa-toilet-paper-slash:before{content:"\e072"}.fa-toolbox:before{content:"\f552"}.fa-tools:before{content:"\f7d9"}.fa-tooth:before{content:"\f5c9"}.fa-torah:before{content:"\f6a0"}.fa-torii-gate:before{content:"\f6a1"}.fa-tractor:before{content:"\f722"}.fa-trade-federation:before{content:"\f513"}.fa-trademark:before{content:"\f25c"}.fa-traffic-light:before{content:"\f637"}.fa-trailer:before{content:"\e041"}.fa-train:before{content:"\f238"}.fa-tram:before{content:"\f7da"}.fa-transgender:before{content:"\f224"}.fa-transgender-alt:before{content:"\f225"}.fa-trash:before{content:"\f1f8"}.fa-trash-alt:before{content:"\f2ed"}.fa-trash-restore:before{content:"\f829"}.fa-trash-restore-alt:before{content:"\f82a"}.fa-tree:before{content:"\f1bb"}.fa-trello:before{content:"\f181"}.fa-tripadvisor:before{content:"\f262"}.fa-trophy:before{content:"\f091"}.fa-truck:before{content:"\f0d1"}.fa-truck-loading:before{content:"\f4de"}.fa-truck-monster:before{content:"\f63b"}.fa-truck-moving:before{content:"\f4df"}.fa-truck-pickup:before{content:"\f63c"}.fa-tshirt:before{content:"\f553"}.fa-tty:before{content:"\f1e4"}.fa-tumblr:before{content:"\f173"}.fa-tumblr-square:before{content:"\f174"}.fa-tv:before{content:"\f26c"}.fa-twitch:before{content:"\f1e8"}.fa-twitter:before{content:"\f099"}.fa-twitter-square:before{content:"\f081"}.fa-typo3:before{content:"\f42b"}.fa-uber:before{content:"\f402"}.fa-ubuntu:before{content:"\f7df"}.fa-uikit:before{content:"\f403"}.fa-umbraco:before{content:"\f8e8"}.fa-umbrella:before{content:"\f0e9"}.fa-umbrella-beach:before{content:"\f5ca"}.fa-uncharted:before{content:"\e084"}.fa-underline:before{content:"\f0cd"}.fa-undo:before{content:"\f0e2"}.fa-undo-alt:before{content:"\f2ea"}.fa-uniregistry:before{content:"\f404"}.fa-unity:before{content:"\e049"}.fa-universal-access:before{content:"\f29a"}.fa-university:before{content:"\f19c"}.fa-unlink:before{content:"\f127"}.fa-unlock:before{content:"\f09c"}.fa-unlock-alt:before{content:"\f13e"}.fa-unsplash:before{content:"\e07c"}.fa-untappd:before{content:"\f405"}.fa-upload:before{content:"\f093"}.fa-ups:before{content:"\f7e0"}.fa-usb:before{content:"\f287"}.fa-user:before{content:"\f007"}.fa-user-alt:before{content:"\f406"}.fa-user-alt-slash:before{content:"\f4fa"}.fa-user-astronaut:before{content:"\f4fb"}.fa-user-check:before{content:"\f4fc"}.fa-user-circle:before{content:"\f2bd"}.fa-user-clock:before{content:"\f4fd"}.fa-user-cog:before{content:"\f4fe"}.fa-user-edit:before{content:"\f4ff"}.fa-user-friends:before{content:"\f500"}.fa-user-graduate:before{content:"\f501"}.fa-user-injured:before{content:"\f728"}.fa-user-lock:before{content:"\f502"}.fa-user-md:before{content:"\f0f0"}.fa-user-minus:before{content:"\f503"}.fa-user-ninja:before{content:"\f504"}.fa-user-nurse:before{content:"\f82f"}.fa-user-plus:before{content:"\f234"}.fa-user-secret:before{content:"\f21b"}.fa-user-shield:before{content:"\f505"}.fa-user-slash:before{content:"\f506"}.fa-user-tag:before{content:"\f507"}.fa-user-tie:before{content:"\f508"}.fa-user-times:before{content:"\f235"}.fa-users:before{content:"\f0c0"}.fa-users-cog:before{content:"\f509"}.fa-users-slash:before{content:"\e073"}.fa-usps:before{content:"\f7e1"}.fa-ussunnah:before{content:"\f407"}.fa-utensil-spoon:before{content:"\f2e5"}.fa-utensils:before{content:"\f2e7"}.fa-vaadin:before{content:"\f408"}.fa-vector-square:before{content:"\f5cb"}.fa-venus:before{content:"\f221"}.fa-venus-double:before{content:"\f226"}.fa-venus-mars:before{content:"\f228"}.fa-vest:before{content:"\e085"}.fa-vest-patches:before{content:"\e086"}.fa-viacoin:before{content:"\f237"}.fa-viadeo:before{content:"\f2a9"}.fa-viadeo-square:before{content:"\f2aa"}.fa-vial:before{content:"\f492"}.fa-vials:before{content:"\f493"}.fa-viber:before{content:"\f409"}.fa-video:before{content:"\f03d"}.fa-video-slash:before{content:"\f4e2"}.fa-vihara:before{content:"\f6a7"}.fa-vimeo:before{content:"\f40a"}.fa-vimeo-square:before{content:"\f194"}.fa-vimeo-v:before{content:"\f27d"}.fa-vine:before{content:"\f1ca"}.fa-virus:before{content:"\e074"}.fa-virus-slash:before{content:"\e075"}.fa-viruses:before{content:"\e076"}.fa-vk:before{content:"\f189"}.fa-vnv:before{content:"\f40b"}.fa-voicemail:before{content:"\f897"}.fa-volleyball-ball:before{content:"\f45f"}.fa-volume-down:before{content:"\f027"}.fa-volume-mute:before{content:"\f6a9"}.fa-volume-off:before{content:"\f026"}.fa-volume-up:before{content:"\f028"}.fa-vote-yea:before{content:"\f772"}.fa-vr-cardboard:before{content:"\f729"}.fa-vuejs:before{content:"\f41f"}.fa-walking:before{content:"\f554"}.fa-wallet:before{content:"\f555"}.fa-warehouse:before{content:"\f494"}.fa-watchman-monitoring:before{content:"\e087"}.fa-water:before{content:"\f773"}.fa-wave-square:before{content:"\f83e"}.fa-waze:before{content:"\f83f"}.fa-weebly:before{content:"\f5cc"}.fa-weibo:before{content:"\f18a"}.fa-weight:before{content:"\f496"}.fa-weight-hanging:before{content:"\f5cd"}.fa-weixin:before{content:"\f1d7"}.fa-whatsapp:before{content:"\f232"}.fa-whatsapp-square:before{content:"\f40c"}.fa-wheelchair:before{content:"\f193"}.fa-whmcs:before{content:"\f40d"}.fa-wifi:before{content:"\f1eb"}.fa-wikipedia-w:before{content:"\f266"}.fa-wind:before{content:"\f72e"}.fa-window-close:before{content:"\f410"}.fa-window-maximize:before{content:"\f2d0"}.fa-window-minimize:before{content:"\f2d1"}.fa-window-restore:before{content:"\f2d2"}.fa-windows:before{content:"\f17a"}.fa-wine-bottle:before{content:"\f72f"}.fa-wine-glass:before{content:"\f4e3"}.fa-wine-glass-alt:before{content:"\f5ce"}.fa-wix:before{content:"\f5cf"}.fa-wizards-of-the-coast:before{content:"\f730"}.fa-wodu:before{content:"\e088"}.fa-wolf-pack-battalion:before{content:"\f514"}.fa-won-sign:before{content:"\f159"}.fa-wordpress:before{content:"\f19a"}.fa-wordpress-simple:before{content:"\f411"}.fa-wpbeginner:before{content:"\f297"}.fa-wpexplorer:before{content:"\f2de"}.fa-wpforms:before{content:"\f298"}.fa-wpressr:before{content:"\f3e4"}.fa-wrench:before{content:"\f0ad"}.fa-x-ray:before{content:"\f497"}.fa-xbox:before{content:"\f412"}.fa-xing:before{content:"\f168"}.fa-xing-square:before{content:"\f169"}.fa-y-combinator:before{content:"\f23b"}.fa-yahoo:before{content:"\f19e"}.fa-yammer:before{content:"\f840"}.fa-yandex:before{content:"\f413"}.fa-yandex-international:before{content:"\f414"}.fa-yarn:before{content:"\f7e3"}.fa-yelp:before{content:"\f1e9"}.fa-yen-sign:before{content:"\f157"}.fa-yin-yang:before{content:"\f6ad"}.fa-yoast:before{content:"\f2b1"}.fa-youtube:before{content:"\f167"}.fa-youtube-square:before{content:"\f431"}.fa-zhihu:before{content:"\f63f"}.sr-only{border:0;clip:rect(0,0,0,0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.sr-only-focusable:active,.sr-only-focusable:focus{clip:auto;height:auto;margin:0;overflow:visible;position:static;width:auto}@font-face{font-family:"Font Awesome 5 Brands";font-style:normal;font-weight:400;font-display:block;src:url(../webfonts/fa-brands-400.eot);src:url(../webfonts/fa-brands-400.eot?#iefix) format("embedded-opentype"),url(../webfonts/fa-brands-400.woff2) format("woff2"),url(../webfonts/fa-brands-400.woff) format("woff"),url(../webfonts/fa-brands-400.ttf) format("truetype"),url(../webfonts/fa-brands-400.svg#fontawesome) format("svg")}.fab{font-family:"Font Awesome 5 Brands"}@font-face{font-family:"Font Awesome 5 Free";font-style:normal;font-weight:400;font-display:block;src:url(../webfonts/fa-regular-400.eot);src:url(../webfonts/fa-regular-400.eot?#iefix) format("embedded-opentype"),url(../webfonts/fa-regular-400.woff2) format("woff2"),url(../webfonts/fa-regular-400.woff) format("woff"),url(../webfonts/fa-regular-400.ttf) format("truetype"),url(../webfonts/fa-regular-400.svg#fontawesome) format("svg")}.fab,.far{font-weight:400}@font-face{font-family:"Font Awesome 5 Free";font-style:normal;font-weight:900;font-display:block;src:url(../webfonts/fa-solid-900.eot);src:url(../webfonts/fa-solid-900.eot?#iefix) format("embedded-opentype"),url(../webfonts/fa-solid-900.svg#fontawesome) format("svg")}.fa,.far,.fas{font-family:"Font Awesome 5 Free"}.fa,.fas{font-weight:900}
|
videoretalking/docs/static/css/index.css
ADDED
@@ -0,0 +1,233 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
body {
|
2 |
+
font-family: 'Noto Sans', sans-serif;
|
3 |
+
}
|
4 |
+
|
5 |
+
.hero-body-img{
|
6 |
+
text-align: center;
|
7 |
+
}
|
8 |
+
|
9 |
+
.footer .icon-link {
|
10 |
+
font-size: 25px;
|
11 |
+
color: #000;
|
12 |
+
}
|
13 |
+
|
14 |
+
.link-block a {
|
15 |
+
margin-top: 5px;
|
16 |
+
margin-bottom: 5px;
|
17 |
+
}
|
18 |
+
|
19 |
+
.dnerf {
|
20 |
+
font-variant: small-caps;
|
21 |
+
}
|
22 |
+
|
23 |
+
|
24 |
+
.teaser .hero-body {
|
25 |
+
padding-top: 0;
|
26 |
+
padding-bottom: 3rem;
|
27 |
+
}
|
28 |
+
|
29 |
+
.teaser {
|
30 |
+
font-family: 'Google Sans', sans-serif;
|
31 |
+
}
|
32 |
+
|
33 |
+
|
34 |
+
.publication-title {
|
35 |
+
}
|
36 |
+
|
37 |
+
.publication-banner {
|
38 |
+
max-height: parent;
|
39 |
+
|
40 |
+
}
|
41 |
+
|
42 |
+
.publication-banner video {
|
43 |
+
position: relative;
|
44 |
+
left: auto;
|
45 |
+
top: auto;
|
46 |
+
transform: none;
|
47 |
+
object-fit: fit;
|
48 |
+
}
|
49 |
+
|
50 |
+
.publication-header .hero-body {
|
51 |
+
}
|
52 |
+
|
53 |
+
.publication-title {
|
54 |
+
font-family: 'Google Sans', sans-serif;
|
55 |
+
}
|
56 |
+
|
57 |
+
.publication-authors {
|
58 |
+
font-family: 'Google Sans', sans-serif;
|
59 |
+
}
|
60 |
+
|
61 |
+
.publication-venue {
|
62 |
+
color: #555;
|
63 |
+
width: fit-content;
|
64 |
+
font-weight: bold;
|
65 |
+
}
|
66 |
+
|
67 |
+
.publication-awards {
|
68 |
+
color: #ff3860;
|
69 |
+
width: fit-content;
|
70 |
+
font-weight: bolder;
|
71 |
+
}
|
72 |
+
|
73 |
+
.publication-authors {
|
74 |
+
}
|
75 |
+
|
76 |
+
.author-block {
|
77 |
+
font-size: 16px;
|
78 |
+
padding: 0 5px;
|
79 |
+
display: inline-block;
|
80 |
+
}
|
81 |
+
|
82 |
+
.publication-banner img {
|
83 |
+
}
|
84 |
+
|
85 |
+
.publication-authors {
|
86 |
+
/*color: #4286f4;*/
|
87 |
+
}
|
88 |
+
|
89 |
+
.publication-video {
|
90 |
+
position: relative;
|
91 |
+
width: 100%;
|
92 |
+
height: 0;
|
93 |
+
padding-bottom: 56.25%;
|
94 |
+
|
95 |
+
overflow: hidden;
|
96 |
+
border-radius: 10px !important;
|
97 |
+
}
|
98 |
+
|
99 |
+
.publication-video iframe {
|
100 |
+
position: absolute;
|
101 |
+
top: 0;
|
102 |
+
left: 0;
|
103 |
+
width: 100%;
|
104 |
+
height: 100%;
|
105 |
+
}
|
106 |
+
|
107 |
+
.publication-body img {
|
108 |
+
}
|
109 |
+
|
110 |
+
.results-carousel {
|
111 |
+
overflow: hidden;
|
112 |
+
}
|
113 |
+
|
114 |
+
.results-carousel .item {
|
115 |
+
margin: 5px;
|
116 |
+
overflow: hidden;
|
117 |
+
padding: 20px;
|
118 |
+
font-size: 0;
|
119 |
+
}
|
120 |
+
|
121 |
+
.results-carousel video {
|
122 |
+
margin: 0;
|
123 |
+
}
|
124 |
+
|
125 |
+
.slider-pagination .slider-page {
|
126 |
+
background: #000000;
|
127 |
+
}
|
128 |
+
|
129 |
+
.eql-cntrb {
|
130 |
+
font-size: smaller;
|
131 |
+
}
|
132 |
+
|
133 |
+
|
134 |
+
|
135 |
+
|
136 |
+
body{
|
137 |
+
font-weight: 200;
|
138 |
+
font-size: 16px;
|
139 |
+
/*background-color: rgb(43, 60, 197);*/
|
140 |
+
/*color: rgb(0, 79, 241);*/
|
141 |
+
/*color: white;*/
|
142 |
+
border-top:5px solid rgb(255, 180, 240);
|
143 |
+
/*border-bottom:5px solid orange;*/
|
144 |
+
}
|
145 |
+
b{
|
146 |
+
color:rgb(0, 79, 241);
|
147 |
+
}
|
148 |
+
|
149 |
+
.title{
|
150 |
+
text-align: center;
|
151 |
+
}
|
152 |
+
|
153 |
+
.posts{
|
154 |
+
/*font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;*/
|
155 |
+
font-size: 14px;
|
156 |
+
|
157 |
+
}
|
158 |
+
.news{
|
159 |
+
line-height: 1.5em;
|
160 |
+
}
|
161 |
+
.post{
|
162 |
+
border-left: 5px solid rgb(255, 180, 240);
|
163 |
+
}
|
164 |
+
.xtitle{
|
165 |
+
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
166 |
+
font-size: 30px;
|
167 |
+
text-align: center;
|
168 |
+
/* margin: 10px 0; */
|
169 |
+
/* font-weight: 400; */
|
170 |
+
/*color: rgb(0, 79, 241);*/
|
171 |
+
}
|
172 |
+
|
173 |
+
.posts .teaser{
|
174 |
+
width: 160px;
|
175 |
+
height: 120px;
|
176 |
+
float: left;
|
177 |
+
margin: 0 0 10px 10px;
|
178 |
+
}
|
179 |
+
|
180 |
+
.link-block{
|
181 |
+
margin: 0 10px;
|
182 |
+
}
|
183 |
+
|
184 |
+
a{
|
185 |
+
color: #111;
|
186 |
+
position: relative;
|
187 |
+
}
|
188 |
+
a:after{
|
189 |
+
content: '';
|
190 |
+
position: absolute;
|
191 |
+
top: 60%;
|
192 |
+
left: -0.1em;
|
193 |
+
right: -0.1em;
|
194 |
+
bottom: 0;
|
195 |
+
transition:top 200ms cubic-bezier(0, 0.8, 0.13, 1);
|
196 |
+
/*background-color: rgba(225, 166, 121, 0.5);*/
|
197 |
+
background-color: rgba(255,211,30, 0.4);
|
198 |
+
}
|
199 |
+
.emojilink:after{
|
200 |
+
background-color: rgba(255,211,30, 0.0)
|
201 |
+
/*rgba(225, 166, 121, 0.0);*/
|
202 |
+
}
|
203 |
+
a:hover{
|
204 |
+
color: black;
|
205 |
+
text-decoration: none;
|
206 |
+
}
|
207 |
+
a:hover:after{
|
208 |
+
color:black;
|
209 |
+
/*color: #111;*/
|
210 |
+
text-decoration: none;
|
211 |
+
top:0%;
|
212 |
+
}
|
213 |
+
.entry{
|
214 |
+
position: relative;
|
215 |
+
top:0;
|
216 |
+
left: 20px;
|
217 |
+
margin-top: 5px;
|
218 |
+
}
|
219 |
+
|
220 |
+
.posts > .post{
|
221 |
+
border-bottom: 0;
|
222 |
+
padding-bottom:0em;
|
223 |
+
padding-top: 10px;
|
224 |
+
margin-bottom: 5px;
|
225 |
+
}
|
226 |
+
.papertitle{
|
227 |
+
margin-top: 0px;
|
228 |
+
font-weight: 600;
|
229 |
+
font-size:16px;
|
230 |
+
font-style: italic;
|
231 |
+
/*font-style: italic;*/
|
232 |
+
/*height: 2.6em*/
|
233 |
+
}
|
videoretalking/docs/static/images/pipeline.png
ADDED
videoretalking/docs/static/images/teaser.png
ADDED
Git LFS Details
|
videoretalking/docs/static/js/bulma-carousel.js
ADDED
@@ -0,0 +1,2371 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
(function webpackUniversalModuleDefinition(root, factory) {
|
2 |
+
if(typeof exports === 'object' && typeof module === 'object')
|
3 |
+
module.exports = factory();
|
4 |
+
else if(typeof define === 'function' && define.amd)
|
5 |
+
define([], factory);
|
6 |
+
else if(typeof exports === 'object')
|
7 |
+
exports["bulmaCarousel"] = factory();
|
8 |
+
else
|
9 |
+
root["bulmaCarousel"] = factory();
|
10 |
+
})(typeof self !== 'undefined' ? self : this, function() {
|
11 |
+
return /******/ (function(modules) { // webpackBootstrap
|
12 |
+
/******/ // The module cache
|
13 |
+
/******/ var installedModules = {};
|
14 |
+
/******/
|
15 |
+
/******/ // The require function
|
16 |
+
/******/ function __webpack_require__(moduleId) {
|
17 |
+
/******/
|
18 |
+
/******/ // Check if module is in cache
|
19 |
+
/******/ if(installedModules[moduleId]) {
|
20 |
+
/******/ return installedModules[moduleId].exports;
|
21 |
+
/******/ }
|
22 |
+
/******/ // Create a new module (and put it into the cache)
|
23 |
+
/******/ var module = installedModules[moduleId] = {
|
24 |
+
/******/ i: moduleId,
|
25 |
+
/******/ l: false,
|
26 |
+
/******/ exports: {}
|
27 |
+
/******/ };
|
28 |
+
/******/
|
29 |
+
/******/ // Execute the module function
|
30 |
+
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
31 |
+
/******/
|
32 |
+
/******/ // Flag the module as loaded
|
33 |
+
/******/ module.l = true;
|
34 |
+
/******/
|
35 |
+
/******/ // Return the exports of the module
|
36 |
+
/******/ return module.exports;
|
37 |
+
/******/ }
|
38 |
+
/******/
|
39 |
+
/******/
|
40 |
+
/******/ // expose the modules object (__webpack_modules__)
|
41 |
+
/******/ __webpack_require__.m = modules;
|
42 |
+
/******/
|
43 |
+
/******/ // expose the module cache
|
44 |
+
/******/ __webpack_require__.c = installedModules;
|
45 |
+
/******/
|
46 |
+
/******/ // define getter function for harmony exports
|
47 |
+
/******/ __webpack_require__.d = function(exports, name, getter) {
|
48 |
+
/******/ if(!__webpack_require__.o(exports, name)) {
|
49 |
+
/******/ Object.defineProperty(exports, name, {
|
50 |
+
/******/ configurable: false,
|
51 |
+
/******/ enumerable: true,
|
52 |
+
/******/ get: getter
|
53 |
+
/******/ });
|
54 |
+
/******/ }
|
55 |
+
/******/ };
|
56 |
+
/******/
|
57 |
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
58 |
+
/******/ __webpack_require__.n = function(module) {
|
59 |
+
/******/ var getter = module && module.__esModule ?
|
60 |
+
/******/ function getDefault() { return module['default']; } :
|
61 |
+
/******/ function getModuleExports() { return module; };
|
62 |
+
/******/ __webpack_require__.d(getter, 'a', getter);
|
63 |
+
/******/ return getter;
|
64 |
+
/******/ };
|
65 |
+
/******/
|
66 |
+
/******/ // Object.prototype.hasOwnProperty.call
|
67 |
+
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
68 |
+
/******/
|
69 |
+
/******/ // __webpack_public_path__
|
70 |
+
/******/ __webpack_require__.p = "";
|
71 |
+
/******/
|
72 |
+
/******/ // Load entry module and return exports
|
73 |
+
/******/ return __webpack_require__(__webpack_require__.s = 5);
|
74 |
+
/******/ })
|
75 |
+
/************************************************************************/
|
76 |
+
/******/ ([
|
77 |
+
/* 0 */
|
78 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
79 |
+
|
80 |
+
"use strict";
|
81 |
+
/* unused harmony export addClasses */
|
82 |
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return removeClasses; });
|
83 |
+
/* unused harmony export show */
|
84 |
+
/* unused harmony export hide */
|
85 |
+
/* unused harmony export offset */
|
86 |
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return width; });
|
87 |
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return height; });
|
88 |
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return outerHeight; });
|
89 |
+
/* unused harmony export outerWidth */
|
90 |
+
/* unused harmony export position */
|
91 |
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return css; });
|
92 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__type__ = __webpack_require__(2);
|
93 |
+
|
94 |
+
|
95 |
+
var addClasses = function addClasses(element, classes) {
|
96 |
+
classes = Array.isArray(classes) ? classes : classes.split(' ');
|
97 |
+
classes.forEach(function (cls) {
|
98 |
+
element.classList.add(cls);
|
99 |
+
});
|
100 |
+
};
|
101 |
+
|
102 |
+
var removeClasses = function removeClasses(element, classes) {
|
103 |
+
classes = Array.isArray(classes) ? classes : classes.split(' ');
|
104 |
+
classes.forEach(function (cls) {
|
105 |
+
element.classList.remove(cls);
|
106 |
+
});
|
107 |
+
};
|
108 |
+
|
109 |
+
var show = function show(elements) {
|
110 |
+
elements = Array.isArray(elements) ? elements : [elements];
|
111 |
+
elements.forEach(function (element) {
|
112 |
+
element.style.display = '';
|
113 |
+
});
|
114 |
+
};
|
115 |
+
|
116 |
+
var hide = function hide(elements) {
|
117 |
+
elements = Array.isArray(elements) ? elements : [elements];
|
118 |
+
elements.forEach(function (element) {
|
119 |
+
element.style.display = 'none';
|
120 |
+
});
|
121 |
+
};
|
122 |
+
|
123 |
+
var offset = function offset(element) {
|
124 |
+
var rect = element.getBoundingClientRect();
|
125 |
+
return {
|
126 |
+
top: rect.top + document.body.scrollTop,
|
127 |
+
left: rect.left + document.body.scrollLeft
|
128 |
+
};
|
129 |
+
};
|
130 |
+
|
131 |
+
// returns an element's width
|
132 |
+
var width = function width(element) {
|
133 |
+
return element.getBoundingClientRect().width || element.offsetWidth;
|
134 |
+
};
|
135 |
+
// returns an element's height
|
136 |
+
var height = function height(element) {
|
137 |
+
return element.getBoundingClientRect().height || element.offsetHeight;
|
138 |
+
};
|
139 |
+
|
140 |
+
var outerHeight = function outerHeight(element) {
|
141 |
+
var withMargin = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
142 |
+
|
143 |
+
var height = element.offsetHeight;
|
144 |
+
if (withMargin) {
|
145 |
+
var style = window.getComputedStyle(element);
|
146 |
+
height += parseInt(style.marginTop) + parseInt(style.marginBottom);
|
147 |
+
}
|
148 |
+
return height;
|
149 |
+
};
|
150 |
+
|
151 |
+
var outerWidth = function outerWidth(element) {
|
152 |
+
var withMargin = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
153 |
+
|
154 |
+
var width = element.offsetWidth;
|
155 |
+
if (withMargin) {
|
156 |
+
var style = window.getComputedStyle(element);
|
157 |
+
width += parseInt(style.marginLeft) + parseInt(style.marginRight);
|
158 |
+
}
|
159 |
+
return width;
|
160 |
+
};
|
161 |
+
|
162 |
+
var position = function position(element) {
|
163 |
+
return {
|
164 |
+
left: element.offsetLeft,
|
165 |
+
top: element.offsetTop
|
166 |
+
};
|
167 |
+
};
|
168 |
+
|
169 |
+
var css = function css(element, obj) {
|
170 |
+
if (!obj) {
|
171 |
+
return window.getComputedStyle(element);
|
172 |
+
}
|
173 |
+
if (Object(__WEBPACK_IMPORTED_MODULE_0__type__["b" /* isObject */])(obj)) {
|
174 |
+
var style = '';
|
175 |
+
Object.keys(obj).forEach(function (key) {
|
176 |
+
style += key + ': ' + obj[key] + ';';
|
177 |
+
});
|
178 |
+
|
179 |
+
element.style.cssText += style;
|
180 |
+
}
|
181 |
+
};
|
182 |
+
|
183 |
+
/***/ }),
|
184 |
+
/* 1 */
|
185 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
186 |
+
|
187 |
+
"use strict";
|
188 |
+
/* harmony export (immutable) */ __webpack_exports__["a"] = detectSupportsPassive;
|
189 |
+
function detectSupportsPassive() {
|
190 |
+
var supportsPassive = false;
|
191 |
+
|
192 |
+
try {
|
193 |
+
var opts = Object.defineProperty({}, 'passive', {
|
194 |
+
get: function get() {
|
195 |
+
supportsPassive = true;
|
196 |
+
}
|
197 |
+
});
|
198 |
+
|
199 |
+
window.addEventListener('testPassive', null, opts);
|
200 |
+
window.removeEventListener('testPassive', null, opts);
|
201 |
+
} catch (e) {}
|
202 |
+
|
203 |
+
return supportsPassive;
|
204 |
+
}
|
205 |
+
|
206 |
+
/***/ }),
|
207 |
+
/* 2 */
|
208 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
209 |
+
|
210 |
+
"use strict";
|
211 |
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return isFunction; });
|
212 |
+
/* unused harmony export isNumber */
|
213 |
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return isString; });
|
214 |
+
/* unused harmony export isDate */
|
215 |
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return isObject; });
|
216 |
+
/* unused harmony export isEmptyObject */
|
217 |
+
/* unused harmony export isNode */
|
218 |
+
/* unused harmony export isVideo */
|
219 |
+
/* unused harmony export isHTML5 */
|
220 |
+
/* unused harmony export isIFrame */
|
221 |
+
/* unused harmony export isYoutube */
|
222 |
+
/* unused harmony export isVimeo */
|
223 |
+
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
|
224 |
+
|
225 |
+
var isFunction = function isFunction(unknown) {
|
226 |
+
return typeof unknown === 'function';
|
227 |
+
};
|
228 |
+
var isNumber = function isNumber(unknown) {
|
229 |
+
return typeof unknown === "number";
|
230 |
+
};
|
231 |
+
var isString = function isString(unknown) {
|
232 |
+
return typeof unknown === 'string' || !!unknown && (typeof unknown === 'undefined' ? 'undefined' : _typeof(unknown)) === 'object' && Object.prototype.toString.call(unknown) === '[object String]';
|
233 |
+
};
|
234 |
+
var isDate = function isDate(unknown) {
|
235 |
+
return (Object.prototype.toString.call(unknown) === '[object Date]' || unknown instanceof Date) && !isNaN(unknown.valueOf());
|
236 |
+
};
|
237 |
+
var isObject = function isObject(unknown) {
|
238 |
+
return (typeof unknown === 'function' || (typeof unknown === 'undefined' ? 'undefined' : _typeof(unknown)) === 'object' && !!unknown) && !Array.isArray(unknown);
|
239 |
+
};
|
240 |
+
var isEmptyObject = function isEmptyObject(unknown) {
|
241 |
+
for (var name in unknown) {
|
242 |
+
if (unknown.hasOwnProperty(name)) {
|
243 |
+
return false;
|
244 |
+
}
|
245 |
+
}
|
246 |
+
return true;
|
247 |
+
};
|
248 |
+
|
249 |
+
var isNode = function isNode(unknown) {
|
250 |
+
return !!(unknown && unknown.nodeType === HTMLElement | SVGElement);
|
251 |
+
};
|
252 |
+
var isVideo = function isVideo(unknown) {
|
253 |
+
return isYoutube(unknown) || isVimeo(unknown) || isHTML5(unknown);
|
254 |
+
};
|
255 |
+
var isHTML5 = function isHTML5(unknown) {
|
256 |
+
return isNode(unknown) && unknown.tagName === 'VIDEO';
|
257 |
+
};
|
258 |
+
var isIFrame = function isIFrame(unknown) {
|
259 |
+
return isNode(unknown) && unknown.tagName === 'IFRAME';
|
260 |
+
};
|
261 |
+
var isYoutube = function isYoutube(unknown) {
|
262 |
+
return isIFrame(unknown) && !!unknown.src.match(/\/\/.*?youtube(-nocookie)?\.[a-z]+\/(watch\?v=[^&\s]+|embed)|youtu\.be\/.*/);
|
263 |
+
};
|
264 |
+
var isVimeo = function isVimeo(unknown) {
|
265 |
+
return isIFrame(unknown) && !!unknown.src.match(/vimeo\.com\/video\/.*/);
|
266 |
+
};
|
267 |
+
|
268 |
+
/***/ }),
|
269 |
+
/* 3 */
|
270 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
271 |
+
|
272 |
+
"use strict";
|
273 |
+
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
|
274 |
+
|
275 |
+
function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }
|
276 |
+
|
277 |
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
278 |
+
|
279 |
+
var EventEmitter = function () {
|
280 |
+
function EventEmitter() {
|
281 |
+
var events = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
|
282 |
+
|
283 |
+
_classCallCheck(this, EventEmitter);
|
284 |
+
|
285 |
+
this.events = new Map(events);
|
286 |
+
}
|
287 |
+
|
288 |
+
_createClass(EventEmitter, [{
|
289 |
+
key: "on",
|
290 |
+
value: function on(name, cb) {
|
291 |
+
var _this = this;
|
292 |
+
|
293 |
+
this.events.set(name, [].concat(_toConsumableArray(this.events.has(name) ? this.events.get(name) : []), [cb]));
|
294 |
+
|
295 |
+
return function () {
|
296 |
+
return _this.events.set(name, _this.events.get(name).filter(function (fn) {
|
297 |
+
return fn !== cb;
|
298 |
+
}));
|
299 |
+
};
|
300 |
+
}
|
301 |
+
}, {
|
302 |
+
key: "emit",
|
303 |
+
value: function emit(name) {
|
304 |
+
for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
305 |
+
args[_key - 1] = arguments[_key];
|
306 |
+
}
|
307 |
+
|
308 |
+
return this.events.has(name) && this.events.get(name).map(function (fn) {
|
309 |
+
return fn.apply(undefined, args);
|
310 |
+
});
|
311 |
+
}
|
312 |
+
}]);
|
313 |
+
|
314 |
+
return EventEmitter;
|
315 |
+
}();
|
316 |
+
|
317 |
+
/* harmony default export */ __webpack_exports__["a"] = (EventEmitter);
|
318 |
+
|
319 |
+
/***/ }),
|
320 |
+
/* 4 */
|
321 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
322 |
+
|
323 |
+
"use strict";
|
324 |
+
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
|
325 |
+
|
326 |
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
327 |
+
|
328 |
+
var Coordinate = function () {
|
329 |
+
function Coordinate() {
|
330 |
+
var x = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;
|
331 |
+
var y = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
|
332 |
+
|
333 |
+
_classCallCheck(this, Coordinate);
|
334 |
+
|
335 |
+
this._x = x;
|
336 |
+
this._y = y;
|
337 |
+
}
|
338 |
+
|
339 |
+
_createClass(Coordinate, [{
|
340 |
+
key: 'add',
|
341 |
+
value: function add(coord) {
|
342 |
+
return new Coordinate(this._x + coord._x, this._y + coord._y);
|
343 |
+
}
|
344 |
+
}, {
|
345 |
+
key: 'sub',
|
346 |
+
value: function sub(coord) {
|
347 |
+
return new Coordinate(this._x - coord._x, this._y - coord._y);
|
348 |
+
}
|
349 |
+
}, {
|
350 |
+
key: 'distance',
|
351 |
+
value: function distance(coord) {
|
352 |
+
var deltaX = this._x - coord._x;
|
353 |
+
var deltaY = this._y - coord._y;
|
354 |
+
|
355 |
+
return Math.sqrt(Math.pow(deltaX, 2) + Math.pow(deltaY, 2));
|
356 |
+
}
|
357 |
+
}, {
|
358 |
+
key: 'max',
|
359 |
+
value: function max(coord) {
|
360 |
+
var x = Math.max(this._x, coord._x);
|
361 |
+
var y = Math.max(this._y, coord._y);
|
362 |
+
|
363 |
+
return new Coordinate(x, y);
|
364 |
+
}
|
365 |
+
}, {
|
366 |
+
key: 'equals',
|
367 |
+
value: function equals(coord) {
|
368 |
+
if (this == coord) {
|
369 |
+
return true;
|
370 |
+
}
|
371 |
+
if (!coord || coord == null) {
|
372 |
+
return false;
|
373 |
+
}
|
374 |
+
return this._x == coord._x && this._y == coord._y;
|
375 |
+
}
|
376 |
+
}, {
|
377 |
+
key: 'inside',
|
378 |
+
value: function inside(northwest, southeast) {
|
379 |
+
if (this._x >= northwest._x && this._x <= southeast._x && this._y >= northwest._y && this._y <= southeast._y) {
|
380 |
+
|
381 |
+
return true;
|
382 |
+
}
|
383 |
+
return false;
|
384 |
+
}
|
385 |
+
}, {
|
386 |
+
key: 'constrain',
|
387 |
+
value: function constrain(min, max) {
|
388 |
+
if (min._x > max._x || min._y > max._y) {
|
389 |
+
return this;
|
390 |
+
}
|
391 |
+
|
392 |
+
var x = this._x,
|
393 |
+
y = this._y;
|
394 |
+
|
395 |
+
if (min._x !== null) {
|
396 |
+
x = Math.max(x, min._x);
|
397 |
+
}
|
398 |
+
if (max._x !== null) {
|
399 |
+
x = Math.min(x, max._x);
|
400 |
+
}
|
401 |
+
if (min._y !== null) {
|
402 |
+
y = Math.max(y, min._y);
|
403 |
+
}
|
404 |
+
if (max._y !== null) {
|
405 |
+
y = Math.min(y, max._y);
|
406 |
+
}
|
407 |
+
|
408 |
+
return new Coordinate(x, y);
|
409 |
+
}
|
410 |
+
}, {
|
411 |
+
key: 'reposition',
|
412 |
+
value: function reposition(element) {
|
413 |
+
element.style['top'] = this._y + 'px';
|
414 |
+
element.style['left'] = this._x + 'px';
|
415 |
+
}
|
416 |
+
}, {
|
417 |
+
key: 'toString',
|
418 |
+
value: function toString() {
|
419 |
+
return '(' + this._x + ',' + this._y + ')';
|
420 |
+
}
|
421 |
+
}, {
|
422 |
+
key: 'x',
|
423 |
+
get: function get() {
|
424 |
+
return this._x;
|
425 |
+
},
|
426 |
+
set: function set() {
|
427 |
+
var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;
|
428 |
+
|
429 |
+
this._x = value;
|
430 |
+
return this;
|
431 |
+
}
|
432 |
+
}, {
|
433 |
+
key: 'y',
|
434 |
+
get: function get() {
|
435 |
+
return this._y;
|
436 |
+
},
|
437 |
+
set: function set() {
|
438 |
+
var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;
|
439 |
+
|
440 |
+
this._y = value;
|
441 |
+
return this;
|
442 |
+
}
|
443 |
+
}]);
|
444 |
+
|
445 |
+
return Coordinate;
|
446 |
+
}();
|
447 |
+
|
448 |
+
/* harmony default export */ __webpack_exports__["a"] = (Coordinate);
|
449 |
+
|
450 |
+
/***/ }),
|
451 |
+
/* 5 */
|
452 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
453 |
+
|
454 |
+
"use strict";
|
455 |
+
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
456 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__utils_index__ = __webpack_require__(6);
|
457 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__utils_css__ = __webpack_require__(0);
|
458 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__utils_type__ = __webpack_require__(2);
|
459 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__utils_eventEmitter__ = __webpack_require__(3);
|
460 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__components_autoplay__ = __webpack_require__(7);
|
461 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__components_breakpoint__ = __webpack_require__(9);
|
462 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__components_infinite__ = __webpack_require__(10);
|
463 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__components_loop__ = __webpack_require__(11);
|
464 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__components_navigation__ = __webpack_require__(13);
|
465 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__components_pagination__ = __webpack_require__(15);
|
466 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__components_swipe__ = __webpack_require__(18);
|
467 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__components_transitioner__ = __webpack_require__(19);
|
468 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__defaultOptions__ = __webpack_require__(22);
|
469 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__templates__ = __webpack_require__(23);
|
470 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_14__templates_item__ = __webpack_require__(24);
|
471 |
+
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
472 |
+
|
473 |
+
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
|
474 |
+
|
475 |
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
476 |
+
|
477 |
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
478 |
+
|
479 |
+
function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
|
480 |
+
|
481 |
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
482 |
+
|
483 |
+
|
484 |
+
|
485 |
+
|
486 |
+
|
487 |
+
|
488 |
+
|
489 |
+
|
490 |
+
|
491 |
+
|
492 |
+
|
493 |
+
|
494 |
+
|
495 |
+
|
496 |
+
|
497 |
+
|
498 |
+
|
499 |
+
|
500 |
+
|
501 |
+
var bulmaCarousel = function (_EventEmitter) {
|
502 |
+
_inherits(bulmaCarousel, _EventEmitter);
|
503 |
+
|
504 |
+
function bulmaCarousel(selector) {
|
505 |
+
var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
506 |
+
|
507 |
+
_classCallCheck(this, bulmaCarousel);
|
508 |
+
|
509 |
+
var _this = _possibleConstructorReturn(this, (bulmaCarousel.__proto__ || Object.getPrototypeOf(bulmaCarousel)).call(this));
|
510 |
+
|
511 |
+
_this.element = Object(__WEBPACK_IMPORTED_MODULE_2__utils_type__["c" /* isString */])(selector) ? document.querySelector(selector) : selector;
|
512 |
+
// An invalid selector or non-DOM node has been provided.
|
513 |
+
if (!_this.element) {
|
514 |
+
throw new Error('An invalid selector or non-DOM node has been provided.');
|
515 |
+
}
|
516 |
+
_this._clickEvents = ['click', 'touch'];
|
517 |
+
|
518 |
+
// Use Element dataset values to override options
|
519 |
+
var elementConfig = _this.element.dataset ? Object.keys(_this.element.dataset).filter(function (key) {
|
520 |
+
return Object.keys(__WEBPACK_IMPORTED_MODULE_12__defaultOptions__["a" /* default */]).includes(key);
|
521 |
+
}).reduce(function (obj, key) {
|
522 |
+
return _extends({}, obj, _defineProperty({}, key, _this.element.dataset[key]));
|
523 |
+
}, {}) : {};
|
524 |
+
// Set default options - dataset attributes are master
|
525 |
+
_this.options = _extends({}, __WEBPACK_IMPORTED_MODULE_12__defaultOptions__["a" /* default */], options, elementConfig);
|
526 |
+
|
527 |
+
_this._id = Object(__WEBPACK_IMPORTED_MODULE_0__utils_index__["a" /* uuid */])('slider');
|
528 |
+
|
529 |
+
_this.onShow = _this.onShow.bind(_this);
|
530 |
+
|
531 |
+
// Initiate plugin
|
532 |
+
_this._init();
|
533 |
+
return _this;
|
534 |
+
}
|
535 |
+
|
536 |
+
/**
|
537 |
+
* Initiate all DOM element containing datePicker class
|
538 |
+
* @method
|
539 |
+
* @return {Array} Array of all datePicker instances
|
540 |
+
*/
|
541 |
+
|
542 |
+
|
543 |
+
_createClass(bulmaCarousel, [{
|
544 |
+
key: '_init',
|
545 |
+
|
546 |
+
|
547 |
+
/****************************************************
|
548 |
+
* *
|
549 |
+
* PRIVATE FUNCTIONS *
|
550 |
+
* *
|
551 |
+
****************************************************/
|
552 |
+
/**
|
553 |
+
* Initiate plugin instance
|
554 |
+
* @method _init
|
555 |
+
* @return {Slider} Current plugin instance
|
556 |
+
*/
|
557 |
+
value: function _init() {
|
558 |
+
this._items = Array.from(this.element.children);
|
559 |
+
|
560 |
+
// Load plugins
|
561 |
+
this._breakpoint = new __WEBPACK_IMPORTED_MODULE_5__components_breakpoint__["a" /* default */](this);
|
562 |
+
this._autoplay = new __WEBPACK_IMPORTED_MODULE_4__components_autoplay__["a" /* default */](this);
|
563 |
+
this._navigation = new __WEBPACK_IMPORTED_MODULE_8__components_navigation__["a" /* default */](this);
|
564 |
+
this._pagination = new __WEBPACK_IMPORTED_MODULE_9__components_pagination__["a" /* default */](this);
|
565 |
+
this._infinite = new __WEBPACK_IMPORTED_MODULE_6__components_infinite__["a" /* default */](this);
|
566 |
+
this._loop = new __WEBPACK_IMPORTED_MODULE_7__components_loop__["a" /* default */](this);
|
567 |
+
this._swipe = new __WEBPACK_IMPORTED_MODULE_10__components_swipe__["a" /* default */](this);
|
568 |
+
|
569 |
+
this._build();
|
570 |
+
|
571 |
+
if (Object(__WEBPACK_IMPORTED_MODULE_2__utils_type__["a" /* isFunction */])(this.options.onReady)) {
|
572 |
+
this.options.onReady(this);
|
573 |
+
}
|
574 |
+
|
575 |
+
return this;
|
576 |
+
}
|
577 |
+
|
578 |
+
/**
|
579 |
+
* Build Slider HTML component and append it to the DOM
|
580 |
+
* @method _build
|
581 |
+
*/
|
582 |
+
|
583 |
+
}, {
|
584 |
+
key: '_build',
|
585 |
+
value: function _build() {
|
586 |
+
var _this2 = this;
|
587 |
+
|
588 |
+
// Generate HTML Fragment of template
|
589 |
+
this.node = document.createRange().createContextualFragment(Object(__WEBPACK_IMPORTED_MODULE_13__templates__["a" /* default */])(this.id));
|
590 |
+
// Save pointers to template parts
|
591 |
+
this._ui = {
|
592 |
+
wrapper: this.node.firstChild,
|
593 |
+
container: this.node.querySelector('.slider-container')
|
594 |
+
|
595 |
+
// Add slider to DOM
|
596 |
+
};this.element.appendChild(this.node);
|
597 |
+
this._ui.wrapper.classList.add('is-loading');
|
598 |
+
this._ui.container.style.opacity = 0;
|
599 |
+
|
600 |
+
this._transitioner = new __WEBPACK_IMPORTED_MODULE_11__components_transitioner__["a" /* default */](this);
|
601 |
+
|
602 |
+
// Wrap all items by slide element
|
603 |
+
this._slides = this._items.map(function (item, index) {
|
604 |
+
return _this2._createSlide(item, index);
|
605 |
+
});
|
606 |
+
|
607 |
+
this.reset();
|
608 |
+
|
609 |
+
this._bindEvents();
|
610 |
+
|
611 |
+
this._ui.container.style.opacity = 1;
|
612 |
+
this._ui.wrapper.classList.remove('is-loading');
|
613 |
+
}
|
614 |
+
|
615 |
+
/**
|
616 |
+
* Bind all events
|
617 |
+
* @method _bindEvents
|
618 |
+
* @return {void}
|
619 |
+
*/
|
620 |
+
|
621 |
+
}, {
|
622 |
+
key: '_bindEvents',
|
623 |
+
value: function _bindEvents() {
|
624 |
+
this.on('show', this.onShow);
|
625 |
+
}
|
626 |
+
}, {
|
627 |
+
key: '_unbindEvents',
|
628 |
+
value: function _unbindEvents() {
|
629 |
+
this.off('show', this.onShow);
|
630 |
+
}
|
631 |
+
}, {
|
632 |
+
key: '_createSlide',
|
633 |
+
value: function _createSlide(item, index) {
|
634 |
+
var slide = document.createRange().createContextualFragment(Object(__WEBPACK_IMPORTED_MODULE_14__templates_item__["a" /* default */])()).firstChild;
|
635 |
+
slide.dataset.sliderIndex = index;
|
636 |
+
slide.appendChild(item);
|
637 |
+
return slide;
|
638 |
+
}
|
639 |
+
|
640 |
+
/**
|
641 |
+
* Calculate slider dimensions
|
642 |
+
*/
|
643 |
+
|
644 |
+
}, {
|
645 |
+
key: '_setDimensions',
|
646 |
+
value: function _setDimensions() {
|
647 |
+
var _this3 = this;
|
648 |
+
|
649 |
+
if (!this.options.vertical) {
|
650 |
+
if (this.options.centerMode) {
|
651 |
+
this._ui.wrapper.style.padding = '0px ' + this.options.centerPadding;
|
652 |
+
}
|
653 |
+
} else {
|
654 |
+
this._ui.wrapper.style.height = Object(__WEBPACK_IMPORTED_MODULE_1__utils_css__["c" /* outerHeight */])(this._slides[0]) * this.slidesToShow;
|
655 |
+
if (this.options.centerMode) {
|
656 |
+
this._ui.wrapper.style.padding = this.options.centerPadding + ' 0px';
|
657 |
+
}
|
658 |
+
}
|
659 |
+
|
660 |
+
this._wrapperWidth = Object(__WEBPACK_IMPORTED_MODULE_1__utils_css__["e" /* width */])(this._ui.wrapper);
|
661 |
+
this._wrapperHeight = Object(__WEBPACK_IMPORTED_MODULE_1__utils_css__["c" /* outerHeight */])(this._ui.wrapper);
|
662 |
+
|
663 |
+
if (!this.options.vertical) {
|
664 |
+
this._slideWidth = Math.ceil(this._wrapperWidth / this.slidesToShow);
|
665 |
+
this._containerWidth = Math.ceil(this._slideWidth * this._slides.length);
|
666 |
+
this._ui.container.style.width = this._containerWidth + 'px';
|
667 |
+
} else {
|
668 |
+
this._slideWidth = Math.ceil(this._wrapperWidth);
|
669 |
+
this._containerHeight = Math.ceil(Object(__WEBPACK_IMPORTED_MODULE_1__utils_css__["c" /* outerHeight */])(this._slides[0]) * this._slides.length);
|
670 |
+
this._ui.container.style.height = this._containerHeight + 'px';
|
671 |
+
}
|
672 |
+
|
673 |
+
this._slides.forEach(function (slide) {
|
674 |
+
slide.style.width = _this3._slideWidth + 'px';
|
675 |
+
});
|
676 |
+
}
|
677 |
+
}, {
|
678 |
+
key: '_setHeight',
|
679 |
+
value: function _setHeight() {
|
680 |
+
if (this.options.effect !== 'translate') {
|
681 |
+
this._ui.container.style.height = Object(__WEBPACK_IMPORTED_MODULE_1__utils_css__["c" /* outerHeight */])(this._slides[this.state.index]) + 'px';
|
682 |
+
}
|
683 |
+
}
|
684 |
+
|
685 |
+
// Update slides classes
|
686 |
+
|
687 |
+
}, {
|
688 |
+
key: '_setClasses',
|
689 |
+
value: function _setClasses() {
|
690 |
+
var _this4 = this;
|
691 |
+
|
692 |
+
this._slides.forEach(function (slide) {
|
693 |
+
Object(__WEBPACK_IMPORTED_MODULE_1__utils_css__["d" /* removeClasses */])(slide, 'is-active is-current is-slide-previous is-slide-next');
|
694 |
+
if (Math.abs((_this4.state.index - 1) % _this4.state.length) === parseInt(slide.dataset.sliderIndex, 10)) {
|
695 |
+
slide.classList.add('is-slide-previous');
|
696 |
+
}
|
697 |
+
if (Math.abs(_this4.state.index % _this4.state.length) === parseInt(slide.dataset.sliderIndex, 10)) {
|
698 |
+
slide.classList.add('is-current');
|
699 |
+
}
|
700 |
+
if (Math.abs((_this4.state.index + 1) % _this4.state.length) === parseInt(slide.dataset.sliderIndex, 10)) {
|
701 |
+
slide.classList.add('is-slide-next');
|
702 |
+
}
|
703 |
+
});
|
704 |
+
}
|
705 |
+
|
706 |
+
/****************************************************
|
707 |
+
* *
|
708 |
+
* GETTERS and SETTERS *
|
709 |
+
* *
|
710 |
+
****************************************************/
|
711 |
+
|
712 |
+
/**
|
713 |
+
* Get id of current datePicker
|
714 |
+
*/
|
715 |
+
|
716 |
+
}, {
|
717 |
+
key: 'onShow',
|
718 |
+
|
719 |
+
|
720 |
+
/****************************************************
|
721 |
+
* *
|
722 |
+
* EVENTS FUNCTIONS *
|
723 |
+
* *
|
724 |
+
****************************************************/
|
725 |
+
value: function onShow(e) {
|
726 |
+
this._navigation.refresh();
|
727 |
+
this._pagination.refresh();
|
728 |
+
this._setClasses();
|
729 |
+
}
|
730 |
+
|
731 |
+
/****************************************************
|
732 |
+
* *
|
733 |
+
* PUBLIC FUNCTIONS *
|
734 |
+
* *
|
735 |
+
****************************************************/
|
736 |
+
|
737 |
+
}, {
|
738 |
+
key: 'next',
|
739 |
+
value: function next() {
|
740 |
+
if (!this.options.loop && !this.options.infinite && this.state.index + this.slidesToScroll > this.state.length - this.slidesToShow && !this.options.centerMode) {
|
741 |
+
this.state.next = this.state.index;
|
742 |
+
} else {
|
743 |
+
this.state.next = this.state.index + this.slidesToScroll;
|
744 |
+
}
|
745 |
+
this.show();
|
746 |
+
}
|
747 |
+
}, {
|
748 |
+
key: 'previous',
|
749 |
+
value: function previous() {
|
750 |
+
if (!this.options.loop && !this.options.infinite && this.state.index === 0) {
|
751 |
+
this.state.next = this.state.index;
|
752 |
+
} else {
|
753 |
+
this.state.next = this.state.index - this.slidesToScroll;
|
754 |
+
}
|
755 |
+
this.show();
|
756 |
+
}
|
757 |
+
}, {
|
758 |
+
key: 'start',
|
759 |
+
value: function start() {
|
760 |
+
this._autoplay.start();
|
761 |
+
}
|
762 |
+
}, {
|
763 |
+
key: 'pause',
|
764 |
+
value: function pause() {
|
765 |
+
this._autoplay.pause();
|
766 |
+
}
|
767 |
+
}, {
|
768 |
+
key: 'stop',
|
769 |
+
value: function stop() {
|
770 |
+
this._autoplay.stop();
|
771 |
+
}
|
772 |
+
}, {
|
773 |
+
key: 'show',
|
774 |
+
value: function show(index) {
|
775 |
+
var force = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
776 |
+
|
777 |
+
// If all slides are already visible then return
|
778 |
+
if (!this.state.length || this.state.length <= this.slidesToShow) {
|
779 |
+
return;
|
780 |
+
}
|
781 |
+
|
782 |
+
if (typeof index === 'Number') {
|
783 |
+
this.state.next = index;
|
784 |
+
}
|
785 |
+
|
786 |
+
if (this.options.loop) {
|
787 |
+
this._loop.apply();
|
788 |
+
}
|
789 |
+
if (this.options.infinite) {
|
790 |
+
this._infinite.apply();
|
791 |
+
}
|
792 |
+
|
793 |
+
// If new slide is already the current one then return
|
794 |
+
if (this.state.index === this.state.next) {
|
795 |
+
return;
|
796 |
+
}
|
797 |
+
|
798 |
+
this.emit('before:show', this.state);
|
799 |
+
this._transitioner.apply(force, this._setHeight.bind(this));
|
800 |
+
this.emit('after:show', this.state);
|
801 |
+
|
802 |
+
this.emit('show', this);
|
803 |
+
}
|
804 |
+
}, {
|
805 |
+
key: 'reset',
|
806 |
+
value: function reset() {
|
807 |
+
var _this5 = this;
|
808 |
+
|
809 |
+
this.state = {
|
810 |
+
length: this._items.length,
|
811 |
+
index: Math.abs(this.options.initialSlide),
|
812 |
+
next: Math.abs(this.options.initialSlide),
|
813 |
+
prev: undefined
|
814 |
+
};
|
815 |
+
|
816 |
+
// Fix options
|
817 |
+
if (this.options.loop && this.options.infinite) {
|
818 |
+
this.options.loop = false;
|
819 |
+
}
|
820 |
+
if (this.options.slidesToScroll > this.options.slidesToShow) {
|
821 |
+
this.options.slidesToScroll = this.slidesToShow;
|
822 |
+
}
|
823 |
+
this._breakpoint.init();
|
824 |
+
|
825 |
+
if (this.state.index >= this.state.length && this.state.index !== 0) {
|
826 |
+
this.state.index = this.state.index - this.slidesToScroll;
|
827 |
+
}
|
828 |
+
if (this.state.length <= this.slidesToShow) {
|
829 |
+
this.state.index = 0;
|
830 |
+
}
|
831 |
+
|
832 |
+
this._ui.wrapper.appendChild(this._navigation.init().render());
|
833 |
+
this._ui.wrapper.appendChild(this._pagination.init().render());
|
834 |
+
|
835 |
+
if (this.options.navigationSwipe) {
|
836 |
+
this._swipe.bindEvents();
|
837 |
+
} else {
|
838 |
+
this._swipe._bindEvents();
|
839 |
+
}
|
840 |
+
|
841 |
+
this._breakpoint.apply();
|
842 |
+
// Move all created slides into slider
|
843 |
+
this._slides.forEach(function (slide) {
|
844 |
+
return _this5._ui.container.appendChild(slide);
|
845 |
+
});
|
846 |
+
this._transitioner.init().apply(true, this._setHeight.bind(this));
|
847 |
+
|
848 |
+
if (this.options.autoplay) {
|
849 |
+
this._autoplay.init().start();
|
850 |
+
}
|
851 |
+
}
|
852 |
+
|
853 |
+
/**
|
854 |
+
* Destroy Slider
|
855 |
+
* @method destroy
|
856 |
+
*/
|
857 |
+
|
858 |
+
}, {
|
859 |
+
key: 'destroy',
|
860 |
+
value: function destroy() {
|
861 |
+
var _this6 = this;
|
862 |
+
|
863 |
+
this._unbindEvents();
|
864 |
+
this._items.forEach(function (item) {
|
865 |
+
_this6.element.appendChild(item);
|
866 |
+
});
|
867 |
+
this.node.remove();
|
868 |
+
}
|
869 |
+
}, {
|
870 |
+
key: 'id',
|
871 |
+
get: function get() {
|
872 |
+
return this._id;
|
873 |
+
}
|
874 |
+
}, {
|
875 |
+
key: 'index',
|
876 |
+
set: function set(index) {
|
877 |
+
this._index = index;
|
878 |
+
},
|
879 |
+
get: function get() {
|
880 |
+
return this._index;
|
881 |
+
}
|
882 |
+
}, {
|
883 |
+
key: 'length',
|
884 |
+
set: function set(length) {
|
885 |
+
this._length = length;
|
886 |
+
},
|
887 |
+
get: function get() {
|
888 |
+
return this._length;
|
889 |
+
}
|
890 |
+
}, {
|
891 |
+
key: 'slides',
|
892 |
+
get: function get() {
|
893 |
+
return this._slides;
|
894 |
+
},
|
895 |
+
set: function set(slides) {
|
896 |
+
this._slides = slides;
|
897 |
+
}
|
898 |
+
}, {
|
899 |
+
key: 'slidesToScroll',
|
900 |
+
get: function get() {
|
901 |
+
return this.options.effect === 'translate' ? this._breakpoint.getSlidesToScroll() : 1;
|
902 |
+
}
|
903 |
+
}, {
|
904 |
+
key: 'slidesToShow',
|
905 |
+
get: function get() {
|
906 |
+
return this.options.effect === 'translate' ? this._breakpoint.getSlidesToShow() : 1;
|
907 |
+
}
|
908 |
+
}, {
|
909 |
+
key: 'direction',
|
910 |
+
get: function get() {
|
911 |
+
return this.element.dir.toLowerCase() === 'rtl' || this.element.style.direction === 'rtl' ? 'rtl' : 'ltr';
|
912 |
+
}
|
913 |
+
}, {
|
914 |
+
key: 'wrapper',
|
915 |
+
get: function get() {
|
916 |
+
return this._ui.wrapper;
|
917 |
+
}
|
918 |
+
}, {
|
919 |
+
key: 'wrapperWidth',
|
920 |
+
get: function get() {
|
921 |
+
return this._wrapperWidth || 0;
|
922 |
+
}
|
923 |
+
}, {
|
924 |
+
key: 'container',
|
925 |
+
get: function get() {
|
926 |
+
return this._ui.container;
|
927 |
+
}
|
928 |
+
}, {
|
929 |
+
key: 'containerWidth',
|
930 |
+
get: function get() {
|
931 |
+
return this._containerWidth || 0;
|
932 |
+
}
|
933 |
+
}, {
|
934 |
+
key: 'slideWidth',
|
935 |
+
get: function get() {
|
936 |
+
return this._slideWidth || 0;
|
937 |
+
}
|
938 |
+
}, {
|
939 |
+
key: 'transitioner',
|
940 |
+
get: function get() {
|
941 |
+
return this._transitioner;
|
942 |
+
}
|
943 |
+
}], [{
|
944 |
+
key: 'attach',
|
945 |
+
value: function attach() {
|
946 |
+
var _this7 = this;
|
947 |
+
|
948 |
+
var selector = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '.slider';
|
949 |
+
var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
950 |
+
|
951 |
+
var instances = new Array();
|
952 |
+
|
953 |
+
var elements = Object(__WEBPACK_IMPORTED_MODULE_2__utils_type__["c" /* isString */])(selector) ? document.querySelectorAll(selector) : Array.isArray(selector) ? selector : [selector];
|
954 |
+
[].forEach.call(elements, function (element) {
|
955 |
+
if (typeof element[_this7.constructor.name] === 'undefined') {
|
956 |
+
var instance = new bulmaCarousel(element, options);
|
957 |
+
element[_this7.constructor.name] = instance;
|
958 |
+
instances.push(instance);
|
959 |
+
} else {
|
960 |
+
instances.push(element[_this7.constructor.name]);
|
961 |
+
}
|
962 |
+
});
|
963 |
+
|
964 |
+
return instances;
|
965 |
+
}
|
966 |
+
}]);
|
967 |
+
|
968 |
+
return bulmaCarousel;
|
969 |
+
}(__WEBPACK_IMPORTED_MODULE_3__utils_eventEmitter__["a" /* default */]);
|
970 |
+
|
971 |
+
/* harmony default export */ __webpack_exports__["default"] = (bulmaCarousel);
|
972 |
+
|
973 |
+
/***/ }),
|
974 |
+
/* 6 */
|
975 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
976 |
+
|
977 |
+
"use strict";
|
978 |
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return uuid; });
|
979 |
+
/* unused harmony export isRtl */
|
980 |
+
/* unused harmony export defer */
|
981 |
+
/* unused harmony export getNodeIndex */
|
982 |
+
/* unused harmony export camelize */
|
983 |
+
function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }
|
984 |
+
|
985 |
+
var uuid = function uuid() {
|
986 |
+
var prefix = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
|
987 |
+
return prefix + ([1e7] + -1e3 + -4e3 + -8e3 + -1e11).replace(/[018]/g, function (c) {
|
988 |
+
return (c ^ crypto.getRandomValues(new Uint8Array(1))[0] & 15 >> c / 4).toString(16);
|
989 |
+
});
|
990 |
+
};
|
991 |
+
var isRtl = function isRtl() {
|
992 |
+
return document.documentElement.getAttribute('dir') === 'rtl';
|
993 |
+
};
|
994 |
+
|
995 |
+
var defer = function defer() {
|
996 |
+
this.promise = new Promise(function (resolve, reject) {
|
997 |
+
this.resolve = resolve;
|
998 |
+
this.reject = reject;
|
999 |
+
}.bind(this));
|
1000 |
+
|
1001 |
+
this.then = this.promise.then.bind(this.promise);
|
1002 |
+
this.catch = this.promise.catch.bind(this.promise);
|
1003 |
+
};
|
1004 |
+
|
1005 |
+
var getNodeIndex = function getNodeIndex(node) {
|
1006 |
+
return [].concat(_toConsumableArray(node.parentNode.children)).indexOf(node);
|
1007 |
+
};
|
1008 |
+
var camelize = function camelize(str) {
|
1009 |
+
return str.replace(/-(\w)/g, toUpper);
|
1010 |
+
};
|
1011 |
+
|
1012 |
+
/***/ }),
|
1013 |
+
/* 7 */
|
1014 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
1015 |
+
|
1016 |
+
"use strict";
|
1017 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__utils_eventEmitter__ = __webpack_require__(3);
|
1018 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__utils_device__ = __webpack_require__(8);
|
1019 |
+
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
|
1020 |
+
|
1021 |
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
1022 |
+
|
1023 |
+
function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
|
1024 |
+
|
1025 |
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
1026 |
+
|
1027 |
+
|
1028 |
+
|
1029 |
+
|
1030 |
+
var onVisibilityChange = Symbol('onVisibilityChange');
|
1031 |
+
var onMouseEnter = Symbol('onMouseEnter');
|
1032 |
+
var onMouseLeave = Symbol('onMouseLeave');
|
1033 |
+
|
1034 |
+
var defaultOptions = {
|
1035 |
+
autoplay: false,
|
1036 |
+
autoplaySpeed: 3000
|
1037 |
+
};
|
1038 |
+
|
1039 |
+
var Autoplay = function (_EventEmitter) {
|
1040 |
+
_inherits(Autoplay, _EventEmitter);
|
1041 |
+
|
1042 |
+
function Autoplay(slider) {
|
1043 |
+
_classCallCheck(this, Autoplay);
|
1044 |
+
|
1045 |
+
var _this = _possibleConstructorReturn(this, (Autoplay.__proto__ || Object.getPrototypeOf(Autoplay)).call(this));
|
1046 |
+
|
1047 |
+
_this.slider = slider;
|
1048 |
+
|
1049 |
+
_this.onVisibilityChange = _this.onVisibilityChange.bind(_this);
|
1050 |
+
_this.onMouseEnter = _this.onMouseEnter.bind(_this);
|
1051 |
+
_this.onMouseLeave = _this.onMouseLeave.bind(_this);
|
1052 |
+
return _this;
|
1053 |
+
}
|
1054 |
+
|
1055 |
+
_createClass(Autoplay, [{
|
1056 |
+
key: 'init',
|
1057 |
+
value: function init() {
|
1058 |
+
this._bindEvents();
|
1059 |
+
return this;
|
1060 |
+
}
|
1061 |
+
}, {
|
1062 |
+
key: '_bindEvents',
|
1063 |
+
value: function _bindEvents() {
|
1064 |
+
document.addEventListener('visibilitychange', this.onVisibilityChange);
|
1065 |
+
if (this.slider.options.pauseOnHover) {
|
1066 |
+
this.slider.container.addEventListener(__WEBPACK_IMPORTED_MODULE_1__utils_device__["a" /* pointerEnter */], this.onMouseEnter);
|
1067 |
+
this.slider.container.addEventListener(__WEBPACK_IMPORTED_MODULE_1__utils_device__["b" /* pointerLeave */], this.onMouseLeave);
|
1068 |
+
}
|
1069 |
+
}
|
1070 |
+
}, {
|
1071 |
+
key: '_unbindEvents',
|
1072 |
+
value: function _unbindEvents() {
|
1073 |
+
document.removeEventListener('visibilitychange', this.onVisibilityChange);
|
1074 |
+
this.slider.container.removeEventListener(__WEBPACK_IMPORTED_MODULE_1__utils_device__["a" /* pointerEnter */], this.onMouseEnter);
|
1075 |
+
this.slider.container.removeEventListener(__WEBPACK_IMPORTED_MODULE_1__utils_device__["b" /* pointerLeave */], this.onMouseLeave);
|
1076 |
+
}
|
1077 |
+
}, {
|
1078 |
+
key: 'start',
|
1079 |
+
value: function start() {
|
1080 |
+
var _this2 = this;
|
1081 |
+
|
1082 |
+
this.stop();
|
1083 |
+
if (this.slider.options.autoplay) {
|
1084 |
+
this.emit('start', this);
|
1085 |
+
this._interval = setInterval(function () {
|
1086 |
+
if (!(_this2._hovering && _this2.slider.options.pauseOnHover)) {
|
1087 |
+
if (!_this2.slider.options.centerMode && _this2.slider.state.next >= _this2.slider.state.length - _this2.slider.slidesToShow && !_this2.slider.options.loop && !_this2.slider.options.infinite) {
|
1088 |
+
_this2.stop();
|
1089 |
+
} else {
|
1090 |
+
_this2.slider.next();
|
1091 |
+
}
|
1092 |
+
}
|
1093 |
+
}, this.slider.options.autoplaySpeed);
|
1094 |
+
}
|
1095 |
+
}
|
1096 |
+
}, {
|
1097 |
+
key: 'stop',
|
1098 |
+
value: function stop() {
|
1099 |
+
this._interval = clearInterval(this._interval);
|
1100 |
+
this.emit('stop', this);
|
1101 |
+
}
|
1102 |
+
}, {
|
1103 |
+
key: 'pause',
|
1104 |
+
value: function pause() {
|
1105 |
+
var _this3 = this;
|
1106 |
+
|
1107 |
+
var speed = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;
|
1108 |
+
|
1109 |
+
if (this.paused) {
|
1110 |
+
return;
|
1111 |
+
}
|
1112 |
+
if (this.timer) {
|
1113 |
+
this.stop();
|
1114 |
+
}
|
1115 |
+
this.paused = true;
|
1116 |
+
if (speed === 0) {
|
1117 |
+
this.paused = false;
|
1118 |
+
this.start();
|
1119 |
+
} else {
|
1120 |
+
this.slider.on('transition:end', function () {
|
1121 |
+
if (!_this3) {
|
1122 |
+
return;
|
1123 |
+
}
|
1124 |
+
_this3.paused = false;
|
1125 |
+
if (!_this3.run) {
|
1126 |
+
_this3.stop();
|
1127 |
+
} else {
|
1128 |
+
_this3.start();
|
1129 |
+
}
|
1130 |
+
});
|
1131 |
+
}
|
1132 |
+
}
|
1133 |
+
}, {
|
1134 |
+
key: 'onVisibilityChange',
|
1135 |
+
value: function onVisibilityChange(e) {
|
1136 |
+
if (document.hidden) {
|
1137 |
+
this.stop();
|
1138 |
+
} else {
|
1139 |
+
this.start();
|
1140 |
+
}
|
1141 |
+
}
|
1142 |
+
}, {
|
1143 |
+
key: 'onMouseEnter',
|
1144 |
+
value: function onMouseEnter(e) {
|
1145 |
+
this._hovering = true;
|
1146 |
+
if (this.slider.options.pauseOnHover) {
|
1147 |
+
this.pause();
|
1148 |
+
}
|
1149 |
+
}
|
1150 |
+
}, {
|
1151 |
+
key: 'onMouseLeave',
|
1152 |
+
value: function onMouseLeave(e) {
|
1153 |
+
this._hovering = false;
|
1154 |
+
if (this.slider.options.pauseOnHover) {
|
1155 |
+
this.pause();
|
1156 |
+
}
|
1157 |
+
}
|
1158 |
+
}]);
|
1159 |
+
|
1160 |
+
return Autoplay;
|
1161 |
+
}(__WEBPACK_IMPORTED_MODULE_0__utils_eventEmitter__["a" /* default */]);
|
1162 |
+
|
1163 |
+
/* harmony default export */ __webpack_exports__["a"] = (Autoplay);
|
1164 |
+
|
1165 |
+
/***/ }),
|
1166 |
+
/* 8 */
|
1167 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
1168 |
+
|
1169 |
+
"use strict";
|
1170 |
+
/* unused harmony export isIE */
|
1171 |
+
/* unused harmony export isIETouch */
|
1172 |
+
/* unused harmony export isAndroid */
|
1173 |
+
/* unused harmony export isiPad */
|
1174 |
+
/* unused harmony export isiPod */
|
1175 |
+
/* unused harmony export isiPhone */
|
1176 |
+
/* unused harmony export isSafari */
|
1177 |
+
/* unused harmony export isUiWebView */
|
1178 |
+
/* unused harmony export supportsTouchEvents */
|
1179 |
+
/* unused harmony export supportsPointerEvents */
|
1180 |
+
/* unused harmony export supportsTouch */
|
1181 |
+
/* unused harmony export pointerDown */
|
1182 |
+
/* unused harmony export pointerMove */
|
1183 |
+
/* unused harmony export pointerUp */
|
1184 |
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return pointerEnter; });
|
1185 |
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return pointerLeave; });
|
1186 |
+
var isIE = window.navigator.pointerEnabled || window.navigator.msPointerEnabled;
|
1187 |
+
var isIETouch = window.navigator.msPointerEnabled && window.navigator.msMaxTouchPoints > 1 || window.navigator.pointerEnabled && window.navigator.maxTouchPoints > 1;
|
1188 |
+
var isAndroid = navigator.userAgent.match(/(Android);?[\s\/]+([\d.]+)?/);
|
1189 |
+
var isiPad = navigator.userAgent.match(/(iPad).*OS\s([\d_]+)/);
|
1190 |
+
var isiPod = navigator.userAgent.match(/(iPod)(.*OS\s([\d_]+))?/);
|
1191 |
+
var isiPhone = !navigator.userAgent.match(/(iPad).*OS\s([\d_]+)/) && navigator.userAgent.match(/(iPhone\sOS)\s([\d_]+)/);
|
1192 |
+
var isSafari = navigator.userAgent.toLowerCase().indexOf('safari') >= 0 && navigator.userAgent.toLowerCase().indexOf('chrome') < 0 && navigator.userAgent.toLowerCase().indexOf('android') < 0;
|
1193 |
+
var isUiWebView = /(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(navigator.userAgent);
|
1194 |
+
|
1195 |
+
var supportsTouchEvents = !!('ontouchstart' in window);
|
1196 |
+
var supportsPointerEvents = !!('PointerEvent' in window);
|
1197 |
+
var supportsTouch = supportsTouchEvents || window.DocumentTouch && document instanceof DocumentTouch || navigator.maxTouchPoints; // IE >=11
|
1198 |
+
var pointerDown = !supportsTouch ? 'mousedown' : 'mousedown ' + (supportsTouchEvents ? 'touchstart' : 'pointerdown');
|
1199 |
+
var pointerMove = !supportsTouch ? 'mousemove' : 'mousemove ' + (supportsTouchEvents ? 'touchmove' : 'pointermove');
|
1200 |
+
var pointerUp = !supportsTouch ? 'mouseup' : 'mouseup ' + (supportsTouchEvents ? 'touchend' : 'pointerup');
|
1201 |
+
var pointerEnter = supportsTouch && supportsPointerEvents ? 'pointerenter' : 'mouseenter';
|
1202 |
+
var pointerLeave = supportsTouch && supportsPointerEvents ? 'pointerleave' : 'mouseleave';
|
1203 |
+
|
1204 |
+
/***/ }),
|
1205 |
+
/* 9 */
|
1206 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
1207 |
+
|
1208 |
+
"use strict";
|
1209 |
+
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
|
1210 |
+
|
1211 |
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
1212 |
+
|
1213 |
+
var onResize = Symbol('onResize');
|
1214 |
+
|
1215 |
+
var Breakpoints = function () {
|
1216 |
+
function Breakpoints(slider) {
|
1217 |
+
_classCallCheck(this, Breakpoints);
|
1218 |
+
|
1219 |
+
this.slider = slider;
|
1220 |
+
this.options = slider.options;
|
1221 |
+
|
1222 |
+
this[onResize] = this[onResize].bind(this);
|
1223 |
+
|
1224 |
+
this._bindEvents();
|
1225 |
+
}
|
1226 |
+
|
1227 |
+
_createClass(Breakpoints, [{
|
1228 |
+
key: 'init',
|
1229 |
+
value: function init() {
|
1230 |
+
this._defaultBreakpoint = {
|
1231 |
+
slidesToShow: this.options.slidesToShow,
|
1232 |
+
slidesToScroll: this.options.slidesToScroll
|
1233 |
+
};
|
1234 |
+
this.options.breakpoints.sort(function (a, b) {
|
1235 |
+
return parseInt(a.changePoint, 10) > parseInt(b.changePoint, 10);
|
1236 |
+
});
|
1237 |
+
this._currentBreakpoint = this._getActiveBreakpoint();
|
1238 |
+
|
1239 |
+
return this;
|
1240 |
+
}
|
1241 |
+
}, {
|
1242 |
+
key: 'destroy',
|
1243 |
+
value: function destroy() {
|
1244 |
+
this._unbindEvents();
|
1245 |
+
}
|
1246 |
+
}, {
|
1247 |
+
key: '_bindEvents',
|
1248 |
+
value: function _bindEvents() {
|
1249 |
+
window.addEventListener('resize', this[onResize]);
|
1250 |
+
window.addEventListener('orientationchange', this[onResize]);
|
1251 |
+
}
|
1252 |
+
}, {
|
1253 |
+
key: '_unbindEvents',
|
1254 |
+
value: function _unbindEvents() {
|
1255 |
+
window.removeEventListener('resize', this[onResize]);
|
1256 |
+
window.removeEventListener('orientationchange', this[onResize]);
|
1257 |
+
}
|
1258 |
+
}, {
|
1259 |
+
key: '_getActiveBreakpoint',
|
1260 |
+
value: function _getActiveBreakpoint() {
|
1261 |
+
//Get breakpoint for window width
|
1262 |
+
var _iteratorNormalCompletion = true;
|
1263 |
+
var _didIteratorError = false;
|
1264 |
+
var _iteratorError = undefined;
|
1265 |
+
|
1266 |
+
try {
|
1267 |
+
for (var _iterator = this.options.breakpoints[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {
|
1268 |
+
var point = _step.value;
|
1269 |
+
|
1270 |
+
if (point.changePoint >= window.innerWidth) {
|
1271 |
+
return point;
|
1272 |
+
}
|
1273 |
+
}
|
1274 |
+
} catch (err) {
|
1275 |
+
_didIteratorError = true;
|
1276 |
+
_iteratorError = err;
|
1277 |
+
} finally {
|
1278 |
+
try {
|
1279 |
+
if (!_iteratorNormalCompletion && _iterator.return) {
|
1280 |
+
_iterator.return();
|
1281 |
+
}
|
1282 |
+
} finally {
|
1283 |
+
if (_didIteratorError) {
|
1284 |
+
throw _iteratorError;
|
1285 |
+
}
|
1286 |
+
}
|
1287 |
+
}
|
1288 |
+
|
1289 |
+
return this._defaultBreakpoint;
|
1290 |
+
}
|
1291 |
+
}, {
|
1292 |
+
key: 'getSlidesToShow',
|
1293 |
+
value: function getSlidesToShow() {
|
1294 |
+
return this._currentBreakpoint ? this._currentBreakpoint.slidesToShow : this._defaultBreakpoint.slidesToShow;
|
1295 |
+
}
|
1296 |
+
}, {
|
1297 |
+
key: 'getSlidesToScroll',
|
1298 |
+
value: function getSlidesToScroll() {
|
1299 |
+
return this._currentBreakpoint ? this._currentBreakpoint.slidesToScroll : this._defaultBreakpoint.slidesToScroll;
|
1300 |
+
}
|
1301 |
+
}, {
|
1302 |
+
key: 'apply',
|
1303 |
+
value: function apply() {
|
1304 |
+
if (this.slider.state.index >= this.slider.state.length && this.slider.state.index !== 0) {
|
1305 |
+
this.slider.state.index = this.slider.state.index - this._currentBreakpoint.slidesToScroll;
|
1306 |
+
}
|
1307 |
+
if (this.slider.state.length <= this._currentBreakpoint.slidesToShow) {
|
1308 |
+
this.slider.state.index = 0;
|
1309 |
+
}
|
1310 |
+
|
1311 |
+
if (this.options.loop) {
|
1312 |
+
this.slider._loop.init().apply();
|
1313 |
+
}
|
1314 |
+
|
1315 |
+
if (this.options.infinite) {
|
1316 |
+
this.slider._infinite.init().apply();
|
1317 |
+
}
|
1318 |
+
|
1319 |
+
this.slider._setDimensions();
|
1320 |
+
this.slider._transitioner.init().apply(true, this.slider._setHeight.bind(this.slider));
|
1321 |
+
this.slider._setClasses();
|
1322 |
+
|
1323 |
+
this.slider._navigation.refresh();
|
1324 |
+
this.slider._pagination.refresh();
|
1325 |
+
}
|
1326 |
+
}, {
|
1327 |
+
key: onResize,
|
1328 |
+
value: function value(e) {
|
1329 |
+
var newBreakPoint = this._getActiveBreakpoint();
|
1330 |
+
if (newBreakPoint.slidesToShow !== this._currentBreakpoint.slidesToShow) {
|
1331 |
+
this._currentBreakpoint = newBreakPoint;
|
1332 |
+
this.apply();
|
1333 |
+
}
|
1334 |
+
}
|
1335 |
+
}]);
|
1336 |
+
|
1337 |
+
return Breakpoints;
|
1338 |
+
}();
|
1339 |
+
|
1340 |
+
/* harmony default export */ __webpack_exports__["a"] = (Breakpoints);
|
1341 |
+
|
1342 |
+
/***/ }),
|
1343 |
+
/* 10 */
|
1344 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
1345 |
+
|
1346 |
+
"use strict";
|
1347 |
+
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
|
1348 |
+
|
1349 |
+
function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }
|
1350 |
+
|
1351 |
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
1352 |
+
|
1353 |
+
var Infinite = function () {
|
1354 |
+
function Infinite(slider) {
|
1355 |
+
_classCallCheck(this, Infinite);
|
1356 |
+
|
1357 |
+
this.slider = slider;
|
1358 |
+
}
|
1359 |
+
|
1360 |
+
_createClass(Infinite, [{
|
1361 |
+
key: 'init',
|
1362 |
+
value: function init() {
|
1363 |
+
if (this.slider.options.infinite && this.slider.options.effect === 'translate') {
|
1364 |
+
if (this.slider.options.centerMode) {
|
1365 |
+
this._infiniteCount = Math.ceil(this.slider.slidesToShow + this.slider.slidesToShow / 2);
|
1366 |
+
} else {
|
1367 |
+
this._infiniteCount = this.slider.slidesToShow;
|
1368 |
+
}
|
1369 |
+
|
1370 |
+
var frontClones = [];
|
1371 |
+
var slideIndex = 0;
|
1372 |
+
for (var i = this.slider.state.length; i > this.slider.state.length - 1 - this._infiniteCount; i -= 1) {
|
1373 |
+
slideIndex = i - 1;
|
1374 |
+
frontClones.unshift(this._cloneSlide(this.slider.slides[slideIndex], slideIndex - this.slider.state.length));
|
1375 |
+
}
|
1376 |
+
|
1377 |
+
var backClones = [];
|
1378 |
+
for (var _i = 0; _i < this._infiniteCount + this.slider.state.length; _i += 1) {
|
1379 |
+
backClones.push(this._cloneSlide(this.slider.slides[_i % this.slider.state.length], _i + this.slider.state.length));
|
1380 |
+
}
|
1381 |
+
|
1382 |
+
this.slider.slides = [].concat(frontClones, _toConsumableArray(this.slider.slides), backClones);
|
1383 |
+
}
|
1384 |
+
return this;
|
1385 |
+
}
|
1386 |
+
}, {
|
1387 |
+
key: 'apply',
|
1388 |
+
value: function apply() {}
|
1389 |
+
}, {
|
1390 |
+
key: 'onTransitionEnd',
|
1391 |
+
value: function onTransitionEnd(e) {
|
1392 |
+
if (this.slider.options.infinite) {
|
1393 |
+
if (this.slider.state.next >= this.slider.state.length) {
|
1394 |
+
this.slider.state.index = this.slider.state.next = this.slider.state.next - this.slider.state.length;
|
1395 |
+
this.slider.transitioner.apply(true);
|
1396 |
+
} else if (this.slider.state.next < 0) {
|
1397 |
+
this.slider.state.index = this.slider.state.next = this.slider.state.length + this.slider.state.next;
|
1398 |
+
this.slider.transitioner.apply(true);
|
1399 |
+
}
|
1400 |
+
}
|
1401 |
+
}
|
1402 |
+
}, {
|
1403 |
+
key: '_cloneSlide',
|
1404 |
+
value: function _cloneSlide(slide, index) {
|
1405 |
+
var newSlide = slide.cloneNode(true);
|
1406 |
+
newSlide.dataset.sliderIndex = index;
|
1407 |
+
newSlide.dataset.cloned = true;
|
1408 |
+
var ids = newSlide.querySelectorAll('[id]') || [];
|
1409 |
+
ids.forEach(function (id) {
|
1410 |
+
id.setAttribute('id', '');
|
1411 |
+
});
|
1412 |
+
return newSlide;
|
1413 |
+
}
|
1414 |
+
}]);
|
1415 |
+
|
1416 |
+
return Infinite;
|
1417 |
+
}();
|
1418 |
+
|
1419 |
+
/* harmony default export */ __webpack_exports__["a"] = (Infinite);
|
1420 |
+
|
1421 |
+
/***/ }),
|
1422 |
+
/* 11 */
|
1423 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
1424 |
+
|
1425 |
+
"use strict";
|
1426 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__utils_dom__ = __webpack_require__(12);
|
1427 |
+
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
|
1428 |
+
|
1429 |
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
1430 |
+
|
1431 |
+
|
1432 |
+
|
1433 |
+
var Loop = function () {
|
1434 |
+
function Loop(slider) {
|
1435 |
+
_classCallCheck(this, Loop);
|
1436 |
+
|
1437 |
+
this.slider = slider;
|
1438 |
+
}
|
1439 |
+
|
1440 |
+
_createClass(Loop, [{
|
1441 |
+
key: "init",
|
1442 |
+
value: function init() {
|
1443 |
+
return this;
|
1444 |
+
}
|
1445 |
+
}, {
|
1446 |
+
key: "apply",
|
1447 |
+
value: function apply() {
|
1448 |
+
if (this.slider.options.loop) {
|
1449 |
+
if (this.slider.state.next > 0) {
|
1450 |
+
if (this.slider.state.next < this.slider.state.length) {
|
1451 |
+
if (this.slider.state.next > this.slider.state.length - this.slider.slidesToShow && Object(__WEBPACK_IMPORTED_MODULE_0__utils_dom__["a" /* isInViewport */])(this.slider._slides[this.slider.state.length - 1], this.slider.wrapper)) {
|
1452 |
+
this.slider.state.next = 0;
|
1453 |
+
} else {
|
1454 |
+
this.slider.state.next = Math.min(Math.max(this.slider.state.next, 0), this.slider.state.length - this.slider.slidesToShow);
|
1455 |
+
}
|
1456 |
+
} else {
|
1457 |
+
this.slider.state.next = 0;
|
1458 |
+
}
|
1459 |
+
} else {
|
1460 |
+
if (this.slider.state.next <= 0 - this.slider.slidesToScroll) {
|
1461 |
+
this.slider.state.next = this.slider.state.length - this.slider.slidesToShow;
|
1462 |
+
} else {
|
1463 |
+
this.slider.state.next = 0;
|
1464 |
+
}
|
1465 |
+
}
|
1466 |
+
}
|
1467 |
+
}
|
1468 |
+
}]);
|
1469 |
+
|
1470 |
+
return Loop;
|
1471 |
+
}();
|
1472 |
+
|
1473 |
+
/* harmony default export */ __webpack_exports__["a"] = (Loop);
|
1474 |
+
|
1475 |
+
/***/ }),
|
1476 |
+
/* 12 */
|
1477 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
1478 |
+
|
1479 |
+
"use strict";
|
1480 |
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return isInViewport; });
|
1481 |
+
var isInViewport = function isInViewport(element, html) {
|
1482 |
+
var rect = element.getBoundingClientRect();
|
1483 |
+
html = html || document.documentElement;
|
1484 |
+
return rect.top >= 0 && rect.left >= 0 && rect.bottom <= (window.innerHeight || html.clientHeight) && rect.right <= (window.innerWidth || html.clientWidth);
|
1485 |
+
};
|
1486 |
+
|
1487 |
+
/***/ }),
|
1488 |
+
/* 13 */
|
1489 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
1490 |
+
|
1491 |
+
"use strict";
|
1492 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__templates_navigation__ = __webpack_require__(14);
|
1493 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__utils_detect_supportsPassive__ = __webpack_require__(1);
|
1494 |
+
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
|
1495 |
+
|
1496 |
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
1497 |
+
|
1498 |
+
|
1499 |
+
|
1500 |
+
|
1501 |
+
var Navigation = function () {
|
1502 |
+
function Navigation(slider) {
|
1503 |
+
_classCallCheck(this, Navigation);
|
1504 |
+
|
1505 |
+
this.slider = slider;
|
1506 |
+
|
1507 |
+
this._clickEvents = ['click', 'touch'];
|
1508 |
+
this._supportsPassive = Object(__WEBPACK_IMPORTED_MODULE_1__utils_detect_supportsPassive__["a" /* default */])();
|
1509 |
+
|
1510 |
+
this.onPreviousClick = this.onPreviousClick.bind(this);
|
1511 |
+
this.onNextClick = this.onNextClick.bind(this);
|
1512 |
+
this.onKeyUp = this.onKeyUp.bind(this);
|
1513 |
+
}
|
1514 |
+
|
1515 |
+
_createClass(Navigation, [{
|
1516 |
+
key: 'init',
|
1517 |
+
value: function init() {
|
1518 |
+
this.node = document.createRange().createContextualFragment(Object(__WEBPACK_IMPORTED_MODULE_0__templates_navigation__["a" /* default */])(this.slider.options.icons));
|
1519 |
+
this._ui = {
|
1520 |
+
previous: this.node.querySelector('.slider-navigation-previous'),
|
1521 |
+
next: this.node.querySelector('.slider-navigation-next')
|
1522 |
+
};
|
1523 |
+
|
1524 |
+
this._unbindEvents();
|
1525 |
+
this._bindEvents();
|
1526 |
+
|
1527 |
+
this.refresh();
|
1528 |
+
|
1529 |
+
return this;
|
1530 |
+
}
|
1531 |
+
}, {
|
1532 |
+
key: 'destroy',
|
1533 |
+
value: function destroy() {
|
1534 |
+
this._unbindEvents();
|
1535 |
+
}
|
1536 |
+
}, {
|
1537 |
+
key: '_bindEvents',
|
1538 |
+
value: function _bindEvents() {
|
1539 |
+
var _this = this;
|
1540 |
+
|
1541 |
+
this.slider.wrapper.addEventListener('keyup', this.onKeyUp);
|
1542 |
+
this._clickEvents.forEach(function (clickEvent) {
|
1543 |
+
_this._ui.previous.addEventListener(clickEvent, _this.onPreviousClick);
|
1544 |
+
_this._ui.next.addEventListener(clickEvent, _this.onNextClick);
|
1545 |
+
});
|
1546 |
+
}
|
1547 |
+
}, {
|
1548 |
+
key: '_unbindEvents',
|
1549 |
+
value: function _unbindEvents() {
|
1550 |
+
var _this2 = this;
|
1551 |
+
|
1552 |
+
this.slider.wrapper.removeEventListener('keyup', this.onKeyUp);
|
1553 |
+
this._clickEvents.forEach(function (clickEvent) {
|
1554 |
+
_this2._ui.previous.removeEventListener(clickEvent, _this2.onPreviousClick);
|
1555 |
+
_this2._ui.next.removeEventListener(clickEvent, _this2.onNextClick);
|
1556 |
+
});
|
1557 |
+
}
|
1558 |
+
}, {
|
1559 |
+
key: 'onNextClick',
|
1560 |
+
value: function onNextClick(e) {
|
1561 |
+
if (!this._supportsPassive) {
|
1562 |
+
e.preventDefault();
|
1563 |
+
}
|
1564 |
+
|
1565 |
+
if (this.slider.options.navigation) {
|
1566 |
+
this.slider.next();
|
1567 |
+
}
|
1568 |
+
}
|
1569 |
+
}, {
|
1570 |
+
key: 'onPreviousClick',
|
1571 |
+
value: function onPreviousClick(e) {
|
1572 |
+
if (!this._supportsPassive) {
|
1573 |
+
e.preventDefault();
|
1574 |
+
}
|
1575 |
+
|
1576 |
+
if (this.slider.options.navigation) {
|
1577 |
+
this.slider.previous();
|
1578 |
+
}
|
1579 |
+
}
|
1580 |
+
}, {
|
1581 |
+
key: 'onKeyUp',
|
1582 |
+
value: function onKeyUp(e) {
|
1583 |
+
if (this.slider.options.keyNavigation) {
|
1584 |
+
if (e.key === 'ArrowRight' || e.key === 'Right') {
|
1585 |
+
this.slider.next();
|
1586 |
+
} else if (e.key === 'ArrowLeft' || e.key === 'Left') {
|
1587 |
+
this.slider.previous();
|
1588 |
+
}
|
1589 |
+
}
|
1590 |
+
}
|
1591 |
+
}, {
|
1592 |
+
key: 'refresh',
|
1593 |
+
value: function refresh() {
|
1594 |
+
// let centerOffset = Math.floor(this.options.slidesToShow / 2);
|
1595 |
+
if (!this.slider.options.loop && !this.slider.options.infinite) {
|
1596 |
+
if (this.slider.options.navigation && this.slider.state.length > this.slider.slidesToShow) {
|
1597 |
+
this._ui.previous.classList.remove('is-hidden');
|
1598 |
+
this._ui.next.classList.remove('is-hidden');
|
1599 |
+
if (this.slider.state.next === 0) {
|
1600 |
+
this._ui.previous.classList.add('is-hidden');
|
1601 |
+
this._ui.next.classList.remove('is-hidden');
|
1602 |
+
} else if (this.slider.state.next >= this.slider.state.length - this.slider.slidesToShow && !this.slider.options.centerMode) {
|
1603 |
+
this._ui.previous.classList.remove('is-hidden');
|
1604 |
+
this._ui.next.classList.add('is-hidden');
|
1605 |
+
} else if (this.slider.state.next >= this.slider.state.length - 1 && this.slider.options.centerMode) {
|
1606 |
+
this._ui.previous.classList.remove('is-hidden');
|
1607 |
+
this._ui.next.classList.add('is-hidden');
|
1608 |
+
}
|
1609 |
+
} else {
|
1610 |
+
this._ui.previous.classList.add('is-hidden');
|
1611 |
+
this._ui.next.classList.add('is-hidden');
|
1612 |
+
}
|
1613 |
+
}
|
1614 |
+
}
|
1615 |
+
}, {
|
1616 |
+
key: 'render',
|
1617 |
+
value: function render() {
|
1618 |
+
return this.node;
|
1619 |
+
}
|
1620 |
+
}]);
|
1621 |
+
|
1622 |
+
return Navigation;
|
1623 |
+
}();
|
1624 |
+
|
1625 |
+
/* harmony default export */ __webpack_exports__["a"] = (Navigation);
|
1626 |
+
|
1627 |
+
/***/ }),
|
1628 |
+
/* 14 */
|
1629 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
1630 |
+
|
1631 |
+
"use strict";
|
1632 |
+
/* harmony default export */ __webpack_exports__["a"] = (function (icons) {
|
1633 |
+
return "<div class=\"slider-navigation-previous\">" + icons.previous + "</div>\n<div class=\"slider-navigation-next\">" + icons.next + "</div>";
|
1634 |
+
});
|
1635 |
+
|
1636 |
+
/***/ }),
|
1637 |
+
/* 15 */
|
1638 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
1639 |
+
|
1640 |
+
"use strict";
|
1641 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__templates_pagination__ = __webpack_require__(16);
|
1642 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__templates_pagination_page__ = __webpack_require__(17);
|
1643 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__utils_detect_supportsPassive__ = __webpack_require__(1);
|
1644 |
+
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
|
1645 |
+
|
1646 |
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
1647 |
+
|
1648 |
+
|
1649 |
+
|
1650 |
+
|
1651 |
+
|
1652 |
+
var Pagination = function () {
|
1653 |
+
function Pagination(slider) {
|
1654 |
+
_classCallCheck(this, Pagination);
|
1655 |
+
|
1656 |
+
this.slider = slider;
|
1657 |
+
|
1658 |
+
this._clickEvents = ['click', 'touch'];
|
1659 |
+
this._supportsPassive = Object(__WEBPACK_IMPORTED_MODULE_2__utils_detect_supportsPassive__["a" /* default */])();
|
1660 |
+
|
1661 |
+
this.onPageClick = this.onPageClick.bind(this);
|
1662 |
+
this.onResize = this.onResize.bind(this);
|
1663 |
+
}
|
1664 |
+
|
1665 |
+
_createClass(Pagination, [{
|
1666 |
+
key: 'init',
|
1667 |
+
value: function init() {
|
1668 |
+
this._pages = [];
|
1669 |
+
this.node = document.createRange().createContextualFragment(Object(__WEBPACK_IMPORTED_MODULE_0__templates_pagination__["a" /* default */])());
|
1670 |
+
this._ui = {
|
1671 |
+
container: this.node.firstChild
|
1672 |
+
};
|
1673 |
+
|
1674 |
+
this._count = Math.ceil((this.slider.state.length - this.slider.slidesToShow) / this.slider.slidesToScroll);
|
1675 |
+
|
1676 |
+
this._draw();
|
1677 |
+
this.refresh();
|
1678 |
+
|
1679 |
+
return this;
|
1680 |
+
}
|
1681 |
+
}, {
|
1682 |
+
key: 'destroy',
|
1683 |
+
value: function destroy() {
|
1684 |
+
this._unbindEvents();
|
1685 |
+
}
|
1686 |
+
}, {
|
1687 |
+
key: '_bindEvents',
|
1688 |
+
value: function _bindEvents() {
|
1689 |
+
var _this = this;
|
1690 |
+
|
1691 |
+
window.addEventListener('resize', this.onResize);
|
1692 |
+
window.addEventListener('orientationchange', this.onResize);
|
1693 |
+
|
1694 |
+
this._clickEvents.forEach(function (clickEvent) {
|
1695 |
+
_this._pages.forEach(function (page) {
|
1696 |
+
return page.addEventListener(clickEvent, _this.onPageClick);
|
1697 |
+
});
|
1698 |
+
});
|
1699 |
+
}
|
1700 |
+
}, {
|
1701 |
+
key: '_unbindEvents',
|
1702 |
+
value: function _unbindEvents() {
|
1703 |
+
var _this2 = this;
|
1704 |
+
|
1705 |
+
window.removeEventListener('resize', this.onResize);
|
1706 |
+
window.removeEventListener('orientationchange', this.onResize);
|
1707 |
+
|
1708 |
+
this._clickEvents.forEach(function (clickEvent) {
|
1709 |
+
_this2._pages.forEach(function (page) {
|
1710 |
+
return page.removeEventListener(clickEvent, _this2.onPageClick);
|
1711 |
+
});
|
1712 |
+
});
|
1713 |
+
}
|
1714 |
+
}, {
|
1715 |
+
key: '_draw',
|
1716 |
+
value: function _draw() {
|
1717 |
+
this._ui.container.innerHTML = '';
|
1718 |
+
if (this.slider.options.pagination && this.slider.state.length > this.slider.slidesToShow) {
|
1719 |
+
for (var i = 0; i <= this._count; i++) {
|
1720 |
+
var newPageNode = document.createRange().createContextualFragment(Object(__WEBPACK_IMPORTED_MODULE_1__templates_pagination_page__["a" /* default */])()).firstChild;
|
1721 |
+
newPageNode.dataset.index = i * this.slider.slidesToScroll;
|
1722 |
+
this._pages.push(newPageNode);
|
1723 |
+
this._ui.container.appendChild(newPageNode);
|
1724 |
+
}
|
1725 |
+
this._bindEvents();
|
1726 |
+
}
|
1727 |
+
}
|
1728 |
+
}, {
|
1729 |
+
key: 'onPageClick',
|
1730 |
+
value: function onPageClick(e) {
|
1731 |
+
if (!this._supportsPassive) {
|
1732 |
+
e.preventDefault();
|
1733 |
+
}
|
1734 |
+
|
1735 |
+
this.slider.state.next = e.currentTarget.dataset.index;
|
1736 |
+
this.slider.show();
|
1737 |
+
}
|
1738 |
+
}, {
|
1739 |
+
key: 'onResize',
|
1740 |
+
value: function onResize() {
|
1741 |
+
this._draw();
|
1742 |
+
}
|
1743 |
+
}, {
|
1744 |
+
key: 'refresh',
|
1745 |
+
value: function refresh() {
|
1746 |
+
var _this3 = this;
|
1747 |
+
|
1748 |
+
var newCount = void 0;
|
1749 |
+
|
1750 |
+
if (this.slider.options.infinite) {
|
1751 |
+
newCount = Math.ceil(this.slider.state.length - 1 / this.slider.slidesToScroll);
|
1752 |
+
} else {
|
1753 |
+
newCount = Math.ceil((this.slider.state.length - this.slider.slidesToShow) / this.slider.slidesToScroll);
|
1754 |
+
}
|
1755 |
+
if (newCount !== this._count) {
|
1756 |
+
this._count = newCount;
|
1757 |
+
this._draw();
|
1758 |
+
}
|
1759 |
+
|
1760 |
+
this._pages.forEach(function (page) {
|
1761 |
+
page.classList.remove('is-active');
|
1762 |
+
if (parseInt(page.dataset.index, 10) === _this3.slider.state.next % _this3.slider.state.length) {
|
1763 |
+
page.classList.add('is-active');
|
1764 |
+
}
|
1765 |
+
});
|
1766 |
+
}
|
1767 |
+
}, {
|
1768 |
+
key: 'render',
|
1769 |
+
value: function render() {
|
1770 |
+
return this.node;
|
1771 |
+
}
|
1772 |
+
}]);
|
1773 |
+
|
1774 |
+
return Pagination;
|
1775 |
+
}();
|
1776 |
+
|
1777 |
+
/* harmony default export */ __webpack_exports__["a"] = (Pagination);
|
1778 |
+
|
1779 |
+
/***/ }),
|
1780 |
+
/* 16 */
|
1781 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
1782 |
+
|
1783 |
+
"use strict";
|
1784 |
+
/* harmony default export */ __webpack_exports__["a"] = (function () {
|
1785 |
+
return "<div class=\"slider-pagination\"></div>";
|
1786 |
+
});
|
1787 |
+
|
1788 |
+
/***/ }),
|
1789 |
+
/* 17 */
|
1790 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
1791 |
+
|
1792 |
+
"use strict";
|
1793 |
+
/* harmony default export */ __webpack_exports__["a"] = (function () {
|
1794 |
+
return "<div class=\"slider-page\"></div>";
|
1795 |
+
});
|
1796 |
+
|
1797 |
+
/***/ }),
|
1798 |
+
/* 18 */
|
1799 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
1800 |
+
|
1801 |
+
"use strict";
|
1802 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__utils_coordinate__ = __webpack_require__(4);
|
1803 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__utils_detect_supportsPassive__ = __webpack_require__(1);
|
1804 |
+
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
|
1805 |
+
|
1806 |
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
1807 |
+
|
1808 |
+
|
1809 |
+
|
1810 |
+
|
1811 |
+
var Swipe = function () {
|
1812 |
+
function Swipe(slider) {
|
1813 |
+
_classCallCheck(this, Swipe);
|
1814 |
+
|
1815 |
+
this.slider = slider;
|
1816 |
+
|
1817 |
+
this._supportsPassive = Object(__WEBPACK_IMPORTED_MODULE_1__utils_detect_supportsPassive__["a" /* default */])();
|
1818 |
+
|
1819 |
+
this.onStartDrag = this.onStartDrag.bind(this);
|
1820 |
+
this.onMoveDrag = this.onMoveDrag.bind(this);
|
1821 |
+
this.onStopDrag = this.onStopDrag.bind(this);
|
1822 |
+
|
1823 |
+
this._init();
|
1824 |
+
}
|
1825 |
+
|
1826 |
+
_createClass(Swipe, [{
|
1827 |
+
key: '_init',
|
1828 |
+
value: function _init() {}
|
1829 |
+
}, {
|
1830 |
+
key: 'bindEvents',
|
1831 |
+
value: function bindEvents() {
|
1832 |
+
var _this = this;
|
1833 |
+
|
1834 |
+
this.slider.container.addEventListener('dragstart', function (e) {
|
1835 |
+
if (!_this._supportsPassive) {
|
1836 |
+
e.preventDefault();
|
1837 |
+
}
|
1838 |
+
});
|
1839 |
+
this.slider.container.addEventListener('mousedown', this.onStartDrag);
|
1840 |
+
this.slider.container.addEventListener('touchstart', this.onStartDrag);
|
1841 |
+
|
1842 |
+
window.addEventListener('mousemove', this.onMoveDrag);
|
1843 |
+
window.addEventListener('touchmove', this.onMoveDrag);
|
1844 |
+
|
1845 |
+
window.addEventListener('mouseup', this.onStopDrag);
|
1846 |
+
window.addEventListener('touchend', this.onStopDrag);
|
1847 |
+
window.addEventListener('touchcancel', this.onStopDrag);
|
1848 |
+
}
|
1849 |
+
}, {
|
1850 |
+
key: 'unbindEvents',
|
1851 |
+
value: function unbindEvents() {
|
1852 |
+
var _this2 = this;
|
1853 |
+
|
1854 |
+
this.slider.container.removeEventListener('dragstart', function (e) {
|
1855 |
+
if (!_this2._supportsPassive) {
|
1856 |
+
e.preventDefault();
|
1857 |
+
}
|
1858 |
+
});
|
1859 |
+
this.slider.container.removeEventListener('mousedown', this.onStartDrag);
|
1860 |
+
this.slider.container.removeEventListener('touchstart', this.onStartDrag);
|
1861 |
+
|
1862 |
+
window.removeEventListener('mousemove', this.onMoveDrag);
|
1863 |
+
window.removeEventListener('touchmove', this.onMoveDrag);
|
1864 |
+
|
1865 |
+
window.removeEventListener('mouseup', this.onStopDrag);
|
1866 |
+
window.removeEventListener('mouseup', this.onStopDrag);
|
1867 |
+
window.removeEventListener('touchcancel', this.onStopDrag);
|
1868 |
+
}
|
1869 |
+
|
1870 |
+
/**
|
1871 |
+
* @param {MouseEvent|TouchEvent}
|
1872 |
+
*/
|
1873 |
+
|
1874 |
+
}, {
|
1875 |
+
key: 'onStartDrag',
|
1876 |
+
value: function onStartDrag(e) {
|
1877 |
+
if (e.touches) {
|
1878 |
+
if (e.touches.length > 1) {
|
1879 |
+
return;
|
1880 |
+
} else {
|
1881 |
+
e = e.touches[0];
|
1882 |
+
}
|
1883 |
+
}
|
1884 |
+
|
1885 |
+
this._origin = new __WEBPACK_IMPORTED_MODULE_0__utils_coordinate__["a" /* default */](e.screenX, e.screenY);
|
1886 |
+
this.width = this.slider.wrapperWidth;
|
1887 |
+
this.slider.transitioner.disable();
|
1888 |
+
}
|
1889 |
+
|
1890 |
+
/**
|
1891 |
+
* @param {MouseEvent|TouchEvent}
|
1892 |
+
*/
|
1893 |
+
|
1894 |
+
}, {
|
1895 |
+
key: 'onMoveDrag',
|
1896 |
+
value: function onMoveDrag(e) {
|
1897 |
+
if (this._origin) {
|
1898 |
+
var point = e.touches ? e.touches[0] : e;
|
1899 |
+
this._lastTranslate = new __WEBPACK_IMPORTED_MODULE_0__utils_coordinate__["a" /* default */](point.screenX - this._origin.x, point.screenY - this._origin.y);
|
1900 |
+
if (e.touches) {
|
1901 |
+
if (Math.abs(this._lastTranslate.x) > Math.abs(this._lastTranslate.y)) {
|
1902 |
+
if (!this._supportsPassive) {
|
1903 |
+
e.preventDefault();
|
1904 |
+
}
|
1905 |
+
e.stopPropagation();
|
1906 |
+
}
|
1907 |
+
}
|
1908 |
+
}
|
1909 |
+
}
|
1910 |
+
|
1911 |
+
/**
|
1912 |
+
* @param {MouseEvent|TouchEvent}
|
1913 |
+
*/
|
1914 |
+
|
1915 |
+
}, {
|
1916 |
+
key: 'onStopDrag',
|
1917 |
+
value: function onStopDrag(e) {
|
1918 |
+
if (this._origin && this._lastTranslate) {
|
1919 |
+
if (Math.abs(this._lastTranslate.x) > 0.2 * this.width) {
|
1920 |
+
if (this._lastTranslate.x < 0) {
|
1921 |
+
this.slider.next();
|
1922 |
+
} else {
|
1923 |
+
this.slider.previous();
|
1924 |
+
}
|
1925 |
+
} else {
|
1926 |
+
this.slider.show(true);
|
1927 |
+
}
|
1928 |
+
}
|
1929 |
+
this._origin = null;
|
1930 |
+
this._lastTranslate = null;
|
1931 |
+
}
|
1932 |
+
}]);
|
1933 |
+
|
1934 |
+
return Swipe;
|
1935 |
+
}();
|
1936 |
+
|
1937 |
+
/* harmony default export */ __webpack_exports__["a"] = (Swipe);
|
1938 |
+
|
1939 |
+
/***/ }),
|
1940 |
+
/* 19 */
|
1941 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
1942 |
+
|
1943 |
+
"use strict";
|
1944 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__transitions_fade__ = __webpack_require__(20);
|
1945 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__transitions_translate__ = __webpack_require__(21);
|
1946 |
+
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
|
1947 |
+
|
1948 |
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
1949 |
+
|
1950 |
+
|
1951 |
+
|
1952 |
+
|
1953 |
+
var Transitioner = function () {
|
1954 |
+
function Transitioner(slider) {
|
1955 |
+
_classCallCheck(this, Transitioner);
|
1956 |
+
|
1957 |
+
this.slider = slider;
|
1958 |
+
this.options = slider.options;
|
1959 |
+
|
1960 |
+
this._animating = false;
|
1961 |
+
this._animation = undefined;
|
1962 |
+
|
1963 |
+
this._translate = new __WEBPACK_IMPORTED_MODULE_1__transitions_translate__["a" /* default */](this, slider, slider.options);
|
1964 |
+
this._fade = new __WEBPACK_IMPORTED_MODULE_0__transitions_fade__["a" /* default */](this, slider, slider.options);
|
1965 |
+
}
|
1966 |
+
|
1967 |
+
_createClass(Transitioner, [{
|
1968 |
+
key: 'init',
|
1969 |
+
value: function init() {
|
1970 |
+
this._fade.init();
|
1971 |
+
this._translate.init();
|
1972 |
+
return this;
|
1973 |
+
}
|
1974 |
+
}, {
|
1975 |
+
key: 'isAnimating',
|
1976 |
+
value: function isAnimating() {
|
1977 |
+
return this._animating;
|
1978 |
+
}
|
1979 |
+
}, {
|
1980 |
+
key: 'enable',
|
1981 |
+
value: function enable() {
|
1982 |
+
this._animation && this._animation.enable();
|
1983 |
+
}
|
1984 |
+
}, {
|
1985 |
+
key: 'disable',
|
1986 |
+
value: function disable() {
|
1987 |
+
this._animation && this._animation.disable();
|
1988 |
+
}
|
1989 |
+
}, {
|
1990 |
+
key: 'apply',
|
1991 |
+
value: function apply(force, callback) {
|
1992 |
+
// If we don't force refresh and animation in progress then return
|
1993 |
+
if (this._animating && !force) {
|
1994 |
+
return;
|
1995 |
+
}
|
1996 |
+
|
1997 |
+
switch (this.options.effect) {
|
1998 |
+
case 'fade':
|
1999 |
+
this._animation = this._fade;
|
2000 |
+
break;
|
2001 |
+
case 'translate':
|
2002 |
+
default:
|
2003 |
+
this._animation = this._translate;
|
2004 |
+
break;
|
2005 |
+
}
|
2006 |
+
|
2007 |
+
this._animationCallback = callback;
|
2008 |
+
|
2009 |
+
if (force) {
|
2010 |
+
this._animation && this._animation.disable();
|
2011 |
+
} else {
|
2012 |
+
this._animation && this._animation.enable();
|
2013 |
+
this._animating = true;
|
2014 |
+
}
|
2015 |
+
|
2016 |
+
this._animation && this._animation.apply();
|
2017 |
+
|
2018 |
+
if (force) {
|
2019 |
+
this.end();
|
2020 |
+
}
|
2021 |
+
}
|
2022 |
+
}, {
|
2023 |
+
key: 'end',
|
2024 |
+
value: function end() {
|
2025 |
+
this._animating = false;
|
2026 |
+
this._animation = undefined;
|
2027 |
+
this.slider.state.index = this.slider.state.next;
|
2028 |
+
if (this._animationCallback) {
|
2029 |
+
this._animationCallback();
|
2030 |
+
}
|
2031 |
+
}
|
2032 |
+
}]);
|
2033 |
+
|
2034 |
+
return Transitioner;
|
2035 |
+
}();
|
2036 |
+
|
2037 |
+
/* harmony default export */ __webpack_exports__["a"] = (Transitioner);
|
2038 |
+
|
2039 |
+
/***/ }),
|
2040 |
+
/* 20 */
|
2041 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
2042 |
+
|
2043 |
+
"use strict";
|
2044 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__utils_css__ = __webpack_require__(0);
|
2045 |
+
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
2046 |
+
|
2047 |
+
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
|
2048 |
+
|
2049 |
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
2050 |
+
|
2051 |
+
|
2052 |
+
|
2053 |
+
var Fade = function () {
|
2054 |
+
function Fade(transitioner, slider) {
|
2055 |
+
var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
|
2056 |
+
|
2057 |
+
_classCallCheck(this, Fade);
|
2058 |
+
|
2059 |
+
this.transitioner = transitioner;
|
2060 |
+
this.slider = slider;
|
2061 |
+
this.options = _extends({}, options);
|
2062 |
+
}
|
2063 |
+
|
2064 |
+
_createClass(Fade, [{
|
2065 |
+
key: 'init',
|
2066 |
+
value: function init() {
|
2067 |
+
var _this = this;
|
2068 |
+
|
2069 |
+
if (this.options.effect === 'fade') {
|
2070 |
+
this.slider.slides.forEach(function (slide, index) {
|
2071 |
+
Object(__WEBPACK_IMPORTED_MODULE_0__utils_css__["a" /* css */])(slide, {
|
2072 |
+
position: 'absolute',
|
2073 |
+
left: 0,
|
2074 |
+
top: 0,
|
2075 |
+
bottom: 0,
|
2076 |
+
'z-index': slide.dataset.sliderIndex == _this.slider.state.index ? 0 : -2,
|
2077 |
+
opacity: slide.dataset.sliderIndex == _this.slider.state.index ? 1 : 0
|
2078 |
+
});
|
2079 |
+
});
|
2080 |
+
}
|
2081 |
+
return this;
|
2082 |
+
}
|
2083 |
+
}, {
|
2084 |
+
key: 'enable',
|
2085 |
+
value: function enable() {
|
2086 |
+
var _this2 = this;
|
2087 |
+
|
2088 |
+
this._oldSlide = this.slider.slides.filter(function (slide) {
|
2089 |
+
return slide.dataset.sliderIndex == _this2.slider.state.index;
|
2090 |
+
})[0];
|
2091 |
+
this._newSlide = this.slider.slides.filter(function (slide) {
|
2092 |
+
return slide.dataset.sliderIndex == _this2.slider.state.next;
|
2093 |
+
})[0];
|
2094 |
+
if (this._newSlide) {
|
2095 |
+
this._newSlide.addEventListener('transitionend', this.onTransitionEnd.bind(this));
|
2096 |
+
this._newSlide.style.transition = this.options.duration + 'ms ' + this.options.timing;
|
2097 |
+
if (this._oldSlide) {
|
2098 |
+
this._oldSlide.addEventListener('transitionend', this.onTransitionEnd.bind(this));
|
2099 |
+
this._oldSlide.style.transition = this.options.duration + 'ms ' + this.options.timing;
|
2100 |
+
}
|
2101 |
+
}
|
2102 |
+
}
|
2103 |
+
}, {
|
2104 |
+
key: 'disable',
|
2105 |
+
value: function disable() {
|
2106 |
+
var _this3 = this;
|
2107 |
+
|
2108 |
+
this._oldSlide = this.slider.slides.filter(function (slide) {
|
2109 |
+
return slide.dataset.sliderIndex == _this3.slider.state.index;
|
2110 |
+
})[0];
|
2111 |
+
this._newSlide = this.slider.slides.filter(function (slide) {
|
2112 |
+
return slide.dataset.sliderIndex == _this3.slider.state.next;
|
2113 |
+
})[0];
|
2114 |
+
if (this._newSlide) {
|
2115 |
+
this._newSlide.removeEventListener('transitionend', this.onTransitionEnd.bind(this));
|
2116 |
+
this._newSlide.style.transition = 'none';
|
2117 |
+
if (this._oldSlide) {
|
2118 |
+
this._oldSlide.removeEventListener('transitionend', this.onTransitionEnd.bind(this));
|
2119 |
+
this._oldSlide.style.transition = 'none';
|
2120 |
+
}
|
2121 |
+
}
|
2122 |
+
}
|
2123 |
+
}, {
|
2124 |
+
key: 'apply',
|
2125 |
+
value: function apply(force) {
|
2126 |
+
var _this4 = this;
|
2127 |
+
|
2128 |
+
this._oldSlide = this.slider.slides.filter(function (slide) {
|
2129 |
+
return slide.dataset.sliderIndex == _this4.slider.state.index;
|
2130 |
+
})[0];
|
2131 |
+
this._newSlide = this.slider.slides.filter(function (slide) {
|
2132 |
+
return slide.dataset.sliderIndex == _this4.slider.state.next;
|
2133 |
+
})[0];
|
2134 |
+
|
2135 |
+
if (this._oldSlide && this._newSlide) {
|
2136 |
+
Object(__WEBPACK_IMPORTED_MODULE_0__utils_css__["a" /* css */])(this._oldSlide, {
|
2137 |
+
opacity: 0
|
2138 |
+
});
|
2139 |
+
Object(__WEBPACK_IMPORTED_MODULE_0__utils_css__["a" /* css */])(this._newSlide, {
|
2140 |
+
opacity: 1,
|
2141 |
+
'z-index': force ? 0 : -1
|
2142 |
+
});
|
2143 |
+
}
|
2144 |
+
}
|
2145 |
+
}, {
|
2146 |
+
key: 'onTransitionEnd',
|
2147 |
+
value: function onTransitionEnd(e) {
|
2148 |
+
if (this.options.effect === 'fade') {
|
2149 |
+
if (this.transitioner.isAnimating() && e.target == this._newSlide) {
|
2150 |
+
if (this._newSlide) {
|
2151 |
+
Object(__WEBPACK_IMPORTED_MODULE_0__utils_css__["a" /* css */])(this._newSlide, {
|
2152 |
+
'z-index': 0
|
2153 |
+
});
|
2154 |
+
this._newSlide.removeEventListener('transitionend', this.onTransitionEnd.bind(this));
|
2155 |
+
}
|
2156 |
+
if (this._oldSlide) {
|
2157 |
+
Object(__WEBPACK_IMPORTED_MODULE_0__utils_css__["a" /* css */])(this._oldSlide, {
|
2158 |
+
'z-index': -2
|
2159 |
+
});
|
2160 |
+
this._oldSlide.removeEventListener('transitionend', this.onTransitionEnd.bind(this));
|
2161 |
+
}
|
2162 |
+
}
|
2163 |
+
this.transitioner.end();
|
2164 |
+
}
|
2165 |
+
}
|
2166 |
+
}]);
|
2167 |
+
|
2168 |
+
return Fade;
|
2169 |
+
}();
|
2170 |
+
|
2171 |
+
/* harmony default export */ __webpack_exports__["a"] = (Fade);
|
2172 |
+
|
2173 |
+
/***/ }),
|
2174 |
+
/* 21 */
|
2175 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
2176 |
+
|
2177 |
+
"use strict";
|
2178 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__utils_coordinate__ = __webpack_require__(4);
|
2179 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__utils_css__ = __webpack_require__(0);
|
2180 |
+
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
2181 |
+
|
2182 |
+
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
|
2183 |
+
|
2184 |
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
2185 |
+
|
2186 |
+
|
2187 |
+
|
2188 |
+
|
2189 |
+
var Translate = function () {
|
2190 |
+
function Translate(transitioner, slider) {
|
2191 |
+
var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
|
2192 |
+
|
2193 |
+
_classCallCheck(this, Translate);
|
2194 |
+
|
2195 |
+
this.transitioner = transitioner;
|
2196 |
+
this.slider = slider;
|
2197 |
+
this.options = _extends({}, options);
|
2198 |
+
|
2199 |
+
this.onTransitionEnd = this.onTransitionEnd.bind(this);
|
2200 |
+
}
|
2201 |
+
|
2202 |
+
_createClass(Translate, [{
|
2203 |
+
key: 'init',
|
2204 |
+
value: function init() {
|
2205 |
+
this._position = new __WEBPACK_IMPORTED_MODULE_0__utils_coordinate__["a" /* default */](this.slider.container.offsetLeft, this.slider.container.offsetTop);
|
2206 |
+
this._bindEvents();
|
2207 |
+
return this;
|
2208 |
+
}
|
2209 |
+
}, {
|
2210 |
+
key: 'destroy',
|
2211 |
+
value: function destroy() {
|
2212 |
+
this._unbindEvents();
|
2213 |
+
}
|
2214 |
+
}, {
|
2215 |
+
key: '_bindEvents',
|
2216 |
+
value: function _bindEvents() {
|
2217 |
+
this.slider.container.addEventListener('transitionend', this.onTransitionEnd);
|
2218 |
+
}
|
2219 |
+
}, {
|
2220 |
+
key: '_unbindEvents',
|
2221 |
+
value: function _unbindEvents() {
|
2222 |
+
this.slider.container.removeEventListener('transitionend', this.onTransitionEnd);
|
2223 |
+
}
|
2224 |
+
}, {
|
2225 |
+
key: 'enable',
|
2226 |
+
value: function enable() {
|
2227 |
+
this.slider.container.style.transition = this.options.duration + 'ms ' + this.options.timing;
|
2228 |
+
}
|
2229 |
+
}, {
|
2230 |
+
key: 'disable',
|
2231 |
+
value: function disable() {
|
2232 |
+
this.slider.container.style.transition = 'none';
|
2233 |
+
}
|
2234 |
+
}, {
|
2235 |
+
key: 'apply',
|
2236 |
+
value: function apply() {
|
2237 |
+
var _this = this;
|
2238 |
+
|
2239 |
+
var maxOffset = void 0;
|
2240 |
+
if (this.options.effect === 'translate') {
|
2241 |
+
var slide = this.slider.slides.filter(function (slide) {
|
2242 |
+
return slide.dataset.sliderIndex == _this.slider.state.next;
|
2243 |
+
})[0];
|
2244 |
+
var slideOffset = new __WEBPACK_IMPORTED_MODULE_0__utils_coordinate__["a" /* default */](slide.offsetLeft, slide.offsetTop);
|
2245 |
+
if (this.options.centerMode) {
|
2246 |
+
maxOffset = new __WEBPACK_IMPORTED_MODULE_0__utils_coordinate__["a" /* default */](Math.round(Object(__WEBPACK_IMPORTED_MODULE_1__utils_css__["e" /* width */])(this.slider.container)), Math.round(Object(__WEBPACK_IMPORTED_MODULE_1__utils_css__["b" /* height */])(this.slider.container)));
|
2247 |
+
} else {
|
2248 |
+
maxOffset = new __WEBPACK_IMPORTED_MODULE_0__utils_coordinate__["a" /* default */](Math.round(Object(__WEBPACK_IMPORTED_MODULE_1__utils_css__["e" /* width */])(this.slider.container) - Object(__WEBPACK_IMPORTED_MODULE_1__utils_css__["e" /* width */])(this.slider.wrapper)), Math.round(Object(__WEBPACK_IMPORTED_MODULE_1__utils_css__["b" /* height */])(this.slider.container) - Object(__WEBPACK_IMPORTED_MODULE_1__utils_css__["b" /* height */])(this.slider.wrapper)));
|
2249 |
+
}
|
2250 |
+
var nextOffset = new __WEBPACK_IMPORTED_MODULE_0__utils_coordinate__["a" /* default */](Math.min(Math.max(slideOffset.x * -1, maxOffset.x * -1), 0), Math.min(Math.max(slideOffset.y * -1, maxOffset.y * -1), 0));
|
2251 |
+
if (this.options.loop) {
|
2252 |
+
if (!this.options.vertical && Math.abs(this._position.x) > maxOffset.x) {
|
2253 |
+
nextOffset.x = 0;
|
2254 |
+
this.slider.state.next = 0;
|
2255 |
+
} else if (this.options.vertical && Math.abs(this._position.y) > maxOffset.y) {
|
2256 |
+
nextOffset.y = 0;
|
2257 |
+
this.slider.state.next = 0;
|
2258 |
+
}
|
2259 |
+
}
|
2260 |
+
|
2261 |
+
this._position.x = nextOffset.x;
|
2262 |
+
this._position.y = nextOffset.y;
|
2263 |
+
if (this.options.centerMode) {
|
2264 |
+
this._position.x = this._position.x + this.slider.wrapperWidth / 2 - Object(__WEBPACK_IMPORTED_MODULE_1__utils_css__["e" /* width */])(slide) / 2;
|
2265 |
+
}
|
2266 |
+
|
2267 |
+
if (this.slider.direction === 'rtl') {
|
2268 |
+
this._position.x = -this._position.x;
|
2269 |
+
this._position.y = -this._position.y;
|
2270 |
+
}
|
2271 |
+
this.slider.container.style.transform = 'translate3d(' + this._position.x + 'px, ' + this._position.y + 'px, 0)';
|
2272 |
+
|
2273 |
+
/**
|
2274 |
+
* update the index with the nextIndex only if
|
2275 |
+
* the offset of the nextIndex is in the range of the maxOffset
|
2276 |
+
*/
|
2277 |
+
if (slideOffset.x > maxOffset.x) {
|
2278 |
+
this.slider.transitioner.end();
|
2279 |
+
}
|
2280 |
+
}
|
2281 |
+
}
|
2282 |
+
}, {
|
2283 |
+
key: 'onTransitionEnd',
|
2284 |
+
value: function onTransitionEnd(e) {
|
2285 |
+
if (this.options.effect === 'translate') {
|
2286 |
+
|
2287 |
+
if (this.transitioner.isAnimating() && e.target == this.slider.container) {
|
2288 |
+
if (this.options.infinite) {
|
2289 |
+
this.slider._infinite.onTransitionEnd(e);
|
2290 |
+
}
|
2291 |
+
}
|
2292 |
+
this.transitioner.end();
|
2293 |
+
}
|
2294 |
+
}
|
2295 |
+
}]);
|
2296 |
+
|
2297 |
+
return Translate;
|
2298 |
+
}();
|
2299 |
+
|
2300 |
+
/* harmony default export */ __webpack_exports__["a"] = (Translate);
|
2301 |
+
|
2302 |
+
/***/ }),
|
2303 |
+
/* 22 */
|
2304 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
2305 |
+
|
2306 |
+
"use strict";
|
2307 |
+
var defaultOptions = {
|
2308 |
+
initialSlide: 0,
|
2309 |
+
slidesToScroll: 1,
|
2310 |
+
slidesToShow: 1,
|
2311 |
+
|
2312 |
+
navigation: true,
|
2313 |
+
navigationKeys: true,
|
2314 |
+
navigationSwipe: true,
|
2315 |
+
|
2316 |
+
pagination: true,
|
2317 |
+
|
2318 |
+
loop: false,
|
2319 |
+
infinite: false,
|
2320 |
+
|
2321 |
+
effect: 'translate',
|
2322 |
+
duration: 300,
|
2323 |
+
timing: 'ease',
|
2324 |
+
|
2325 |
+
autoplay: false,
|
2326 |
+
autoplaySpeed: 3000,
|
2327 |
+
pauseOnHover: true,
|
2328 |
+
breakpoints: [{
|
2329 |
+
changePoint: 480,
|
2330 |
+
slidesToShow: 1,
|
2331 |
+
slidesToScroll: 1
|
2332 |
+
}, {
|
2333 |
+
changePoint: 640,
|
2334 |
+
slidesToShow: 2,
|
2335 |
+
slidesToScroll: 2
|
2336 |
+
}, {
|
2337 |
+
changePoint: 768,
|
2338 |
+
slidesToShow: 3,
|
2339 |
+
slidesToScroll: 3
|
2340 |
+
}],
|
2341 |
+
|
2342 |
+
onReady: null,
|
2343 |
+
icons: {
|
2344 |
+
'previous': '<svg viewBox="0 0 50 80" xml:space="preserve">\n <polyline fill="currentColor" stroke-width=".5em" stroke-linecap="round" stroke-linejoin="round" points="45.63,75.8 0.375,38.087 45.63,0.375 "/>\n </svg>',
|
2345 |
+
'next': '<svg viewBox="0 0 50 80" xml:space="preserve">\n <polyline fill="currentColor" stroke-width=".5em" stroke-linecap="round" stroke-linejoin="round" points="0.375,0.375 45.63,38.087 0.375,75.8 "/>\n </svg>'
|
2346 |
+
}
|
2347 |
+
};
|
2348 |
+
|
2349 |
+
/* harmony default export */ __webpack_exports__["a"] = (defaultOptions);
|
2350 |
+
|
2351 |
+
/***/ }),
|
2352 |
+
/* 23 */
|
2353 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
2354 |
+
|
2355 |
+
"use strict";
|
2356 |
+
/* harmony default export */ __webpack_exports__["a"] = (function (id) {
|
2357 |
+
return "<div id=\"" + id + "\" class=\"slider\" tabindex=\"0\">\n <div class=\"slider-container\"></div>\n </div>";
|
2358 |
+
});
|
2359 |
+
|
2360 |
+
/***/ }),
|
2361 |
+
/* 24 */
|
2362 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
2363 |
+
|
2364 |
+
"use strict";
|
2365 |
+
/* harmony default export */ __webpack_exports__["a"] = (function () {
|
2366 |
+
return "<div class=\"slider-item\"></div>";
|
2367 |
+
});
|
2368 |
+
|
2369 |
+
/***/ })
|
2370 |
+
/******/ ])["default"];
|
2371 |
+
});
|
videoretalking/docs/static/js/bulma-carousel.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.bulmaCarousel=e():t.bulmaCarousel=e()}("undefined"!=typeof self?self:this,function(){return function(i){var n={};function s(t){if(n[t])return n[t].exports;var e=n[t]={i:t,l:!1,exports:{}};return i[t].call(e.exports,e,e.exports,s),e.l=!0,e.exports}return s.m=i,s.c=n,s.d=function(t,e,i){s.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:i})},s.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return s.d(e,"a",e),e},s.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},s.p="",s(s.s=5)}([function(t,e,i){"use strict";i.d(e,"d",function(){return s}),i.d(e,"e",function(){return r}),i.d(e,"b",function(){return o}),i.d(e,"c",function(){return a}),i.d(e,"a",function(){return l});var n=i(2),s=function(e,t){(t=Array.isArray(t)?t:t.split(" ")).forEach(function(t){e.classList.remove(t)})},r=function(t){return t.getBoundingClientRect().width||t.offsetWidth},o=function(t){return t.getBoundingClientRect().height||t.offsetHeight},a=function(t){var e=1<arguments.length&&void 0!==arguments[1]&&arguments[1],i=t.offsetHeight;if(e){var n=window.getComputedStyle(t);i+=parseInt(n.marginTop)+parseInt(n.marginBottom)}return i},l=function(t,e){if(!e)return window.getComputedStyle(t);if(Object(n.b)(e)){var i="";Object.keys(e).forEach(function(t){i+=t+": "+e[t]+";"}),t.style.cssText+=i}}},function(t,e,i){"use strict";e.a=function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("testPassive",null,e),window.removeEventListener("testPassive",null,e)}catch(t){}return t}},function(t,e,i){"use strict";i.d(e,"a",function(){return s}),i.d(e,"c",function(){return r}),i.d(e,"b",function(){return o});var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},s=function(t){return"function"==typeof t},r=function(t){return"string"==typeof t||!!t&&"object"===(void 0===t?"undefined":n(t))&&"[object String]"===Object.prototype.toString.call(t)},o=function(t){return("function"==typeof t||"object"===(void 0===t?"undefined":n(t))&&!!t)&&!Array.isArray(t)}},function(t,e,i){"use strict";var n=function(){function n(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(t,e,i){return e&&n(t.prototype,e),i&&n(t,i),t}}();var s=function(){function e(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[];!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),this.events=new Map(t)}return n(e,[{key:"on",value:function(t,e){var i=this;return this.events.set(t,[].concat(function(t){if(Array.isArray(t)){for(var e=0,i=Array(t.length);e<t.length;e++)i[e]=t[e];return i}return Array.from(t)}(this.events.has(t)?this.events.get(t):[]),[e])),function(){return i.events.set(t,i.events.get(t).filter(function(t){return t!==e}))}}},{key:"emit",value:function(t){for(var e=arguments.length,i=Array(1<e?e-1:0),n=1;n<e;n++)i[n-1]=arguments[n];return this.events.has(t)&&this.events.get(t).map(function(t){return t.apply(void 0,i)})}}]),e}();e.a=s},function(t,e,i){"use strict";var n=function(){function n(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(t,e,i){return e&&n(t.prototype,e),i&&n(t,i),t}}();var s=function(){function s(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:0,e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:0;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),this._x=t,this._y=e}return n(s,[{key:"add",value:function(t){return new s(this._x+t._x,this._y+t._y)}},{key:"sub",value:function(t){return new s(this._x-t._x,this._y-t._y)}},{key:"distance",value:function(t){var e=this._x-t._x,i=this._y-t._y;return Math.sqrt(Math.pow(e,2)+Math.pow(i,2))}},{key:"max",value:function(t){return new s(Math.max(this._x,t._x),Math.max(this._y,t._y))}},{key:"equals",value:function(t){return this==t||!(!t||null==t)&&(this._x==t._x&&this._y==t._y)}},{key:"inside",value:function(t,e){return this._x>=t._x&&this._x<=e._x&&this._y>=t._y&&this._y<=e._y}},{key:"constrain",value:function(t,e){if(t._x>e._x||t._y>e._y)return this;var i=this._x,n=this._y;return null!==t._x&&(i=Math.max(i,t._x)),null!==e._x&&(i=Math.min(i,e._x)),null!==t._y&&(n=Math.max(n,t._y)),null!==e._y&&(n=Math.min(n,e._y)),new s(i,n)}},{key:"reposition",value:function(t){t.style.top=this._y+"px",t.style.left=this._x+"px"}},{key:"toString",value:function(){return"("+this._x+","+this._y+")"}},{key:"x",get:function(){return this._x},set:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:0;return this._x=t,this}},{key:"y",get:function(){return this._y},set:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:0;return this._y=t,this}}]),s}();e.a=s},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(6),s=i(0),a=i(2),r=i(3),l=i(7),h=i(9),u=i(10),d=i(11),c=i(13),f=i(15),p=i(18),v=i(19),y=i(22),_=i(23),g=i(24),b=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t},w=function(){function n(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(t,e,i){return e&&n(t.prototype,e),i&&n(t,i),t}}();var o=function(t){function o(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,o);var r=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(o.__proto__||Object.getPrototypeOf(o)).call(this));if(r.element=Object(a.c)(t)?document.querySelector(t):t,!r.element)throw new Error("An invalid selector or non-DOM node has been provided.");r._clickEvents=["click","touch"];var i=r.element.dataset?Object.keys(r.element.dataset).filter(function(t){return Object.keys(y.a).includes(t)}).reduce(function(t,e){return b({},t,(i={},n=e,s=r.element.dataset[e],n in i?Object.defineProperty(i,n,{value:s,enumerable:!0,configurable:!0,writable:!0}):i[n]=s,i));var i,n,s},{}):{};return r.options=b({},y.a,e,i),r._id=Object(n.a)("slider"),r.onShow=r.onShow.bind(r),r._init(),r}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(o,r["a"]),w(o,[{key:"_init",value:function(){return this._items=Array.from(this.element.children),this._breakpoint=new h.a(this),this._autoplay=new l.a(this),this._navigation=new c.a(this),this._pagination=new f.a(this),this._infinite=new u.a(this),this._loop=new d.a(this),this._swipe=new p.a(this),this._build(),Object(a.a)(this.options.onReady)&&this.options.onReady(this),this}},{key:"_build",value:function(){var i=this;this.node=document.createRange().createContextualFragment(Object(_.a)(this.id)),this._ui={wrapper:this.node.firstChild,container:this.node.querySelector(".slider-container")},this.element.appendChild(this.node),this._ui.wrapper.classList.add("is-loading"),this._ui.container.style.opacity=0,this._transitioner=new v.a(this),this._slides=this._items.map(function(t,e){return i._createSlide(t,e)}),this.reset(),this._bindEvents(),this._ui.container.style.opacity=1,this._ui.wrapper.classList.remove("is-loading")}},{key:"_bindEvents",value:function(){this.on("show",this.onShow)}},{key:"_unbindEvents",value:function(){this.off("show",this.onShow)}},{key:"_createSlide",value:function(t,e){var i=document.createRange().createContextualFragment(Object(g.a)()).firstChild;return i.dataset.sliderIndex=e,i.appendChild(t),i}},{key:"_setDimensions",value:function(){var e=this;this.options.vertical?(this._ui.wrapper.style.height=Object(s.c)(this._slides[0])*this.slidesToShow,this.options.centerMode&&(this._ui.wrapper.style.padding=this.options.centerPadding+" 0px")):this.options.centerMode&&(this._ui.wrapper.style.padding="0px "+this.options.centerPadding),this._wrapperWidth=Object(s.e)(this._ui.wrapper),this._wrapperHeight=Object(s.c)(this._ui.wrapper),this.options.vertical?(this._slideWidth=Math.ceil(this._wrapperWidth),this._containerHeight=Math.ceil(Object(s.c)(this._slides[0])*this._slides.length),this._ui.container.style.height=this._containerHeight+"px"):(this._slideWidth=Math.ceil(this._wrapperWidth/this.slidesToShow),this._containerWidth=Math.ceil(this._slideWidth*this._slides.length),this._ui.container.style.width=this._containerWidth+"px"),this._slides.forEach(function(t){t.style.width=e._slideWidth+"px"})}},{key:"_setHeight",value:function(){"translate"!==this.options.effect&&(this._ui.container.style.height=Object(s.c)(this._slides[this.state.index])+"px")}},{key:"_setClasses",value:function(){var e=this;this._slides.forEach(function(t){Object(s.d)(t,"is-active is-current is-slide-previous is-slide-next"),Math.abs((e.state.index-1)%e.state.length)===parseInt(t.dataset.sliderIndex,10)&&t.classList.add("is-slide-previous"),Math.abs(e.state.index%e.state.length)===parseInt(t.dataset.sliderIndex,10)&&t.classList.add("is-current"),Math.abs((e.state.index+1)%e.state.length)===parseInt(t.dataset.sliderIndex,10)&&t.classList.add("is-slide-next")})}},{key:"onShow",value:function(t){this._navigation.refresh(),this._pagination.refresh(),this._setClasses()}},{key:"next",value:function(){!this.options.loop&&!this.options.infinite&&this.state.index+this.slidesToScroll>this.state.length-this.slidesToShow&&!this.options.centerMode?this.state.next=this.state.index:this.state.next=this.state.index+this.slidesToScroll,this.show()}},{key:"previous",value:function(){this.options.loop||this.options.infinite||0!==this.state.index?this.state.next=this.state.index-this.slidesToScroll:this.state.next=this.state.index,this.show()}},{key:"start",value:function(){this._autoplay.start()}},{key:"pause",value:function(){this._autoplay.pause()}},{key:"stop",value:function(){this._autoplay.stop()}},{key:"show",value:function(t){var e=1<arguments.length&&void 0!==arguments[1]&&arguments[1];!this.state.length||this.state.length<=this.slidesToShow||("Number"==typeof t&&(this.state.next=t),this.options.loop&&this._loop.apply(),this.options.infinite&&this._infinite.apply(),this.state.index!==this.state.next&&(this.emit("before:show",this.state),this._transitioner.apply(e,this._setHeight.bind(this)),this.emit("after:show",this.state),this.emit("show",this)))}},{key:"reset",value:function(){var e=this;this.state={length:this._items.length,index:Math.abs(this.options.initialSlide),next:Math.abs(this.options.initialSlide),prev:void 0},this.options.loop&&this.options.infinite&&(this.options.loop=!1),this.options.slidesToScroll>this.options.slidesToShow&&(this.options.slidesToScroll=this.slidesToShow),this._breakpoint.init(),this.state.index>=this.state.length&&0!==this.state.index&&(this.state.index=this.state.index-this.slidesToScroll),this.state.length<=this.slidesToShow&&(this.state.index=0),this._ui.wrapper.appendChild(this._navigation.init().render()),this._ui.wrapper.appendChild(this._pagination.init().render()),this.options.navigationSwipe?this._swipe.bindEvents():this._swipe._bindEvents(),this._breakpoint.apply(),this._slides.forEach(function(t){return e._ui.container.appendChild(t)}),this._transitioner.init().apply(!0,this._setHeight.bind(this)),this.options.autoplay&&this._autoplay.init().start()}},{key:"destroy",value:function(){var e=this;this._unbindEvents(),this._items.forEach(function(t){e.element.appendChild(t)}),this.node.remove()}},{key:"id",get:function(){return this._id}},{key:"index",set:function(t){this._index=t},get:function(){return this._index}},{key:"length",set:function(t){this._length=t},get:function(){return this._length}},{key:"slides",get:function(){return this._slides},set:function(t){this._slides=t}},{key:"slidesToScroll",get:function(){return"translate"===this.options.effect?this._breakpoint.getSlidesToScroll():1}},{key:"slidesToShow",get:function(){return"translate"===this.options.effect?this._breakpoint.getSlidesToShow():1}},{key:"direction",get:function(){return"rtl"===this.element.dir.toLowerCase()||"rtl"===this.element.style.direction?"rtl":"ltr"}},{key:"wrapper",get:function(){return this._ui.wrapper}},{key:"wrapperWidth",get:function(){return this._wrapperWidth||0}},{key:"container",get:function(){return this._ui.container}},{key:"containerWidth",get:function(){return this._containerWidth||0}},{key:"slideWidth",get:function(){return this._slideWidth||0}},{key:"transitioner",get:function(){return this._transitioner}}],[{key:"attach",value:function(){var i=this,t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:".slider",n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},s=new Array,e=Object(a.c)(t)?document.querySelectorAll(t):Array.isArray(t)?t:[t];return[].forEach.call(e,function(t){if(void 0===t[i.constructor.name]){var e=new o(t,n);t[i.constructor.name]=e,s.push(e)}else s.push(t[i.constructor.name])}),s}}]),o}();e.default=o},function(t,e,i){"use strict";i.d(e,"a",function(){return n});var n=function(){return(0<arguments.length&&void 0!==arguments[0]?arguments[0]:"")+([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,function(t){return(t^crypto.getRandomValues(new Uint8Array(1))[0]&15>>t/4).toString(16)})}},function(t,e,i){"use strict";var n=i(3),s=i(8),r=function(){function n(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(t,e,i){return e&&n(t.prototype,e),i&&n(t,i),t}}();Symbol("onVisibilityChange"),Symbol("onMouseEnter"),Symbol("onMouseLeave");var o=function(t){function i(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i);var e=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(i.__proto__||Object.getPrototypeOf(i)).call(this));return e.slider=t,e.onVisibilityChange=e.onVisibilityChange.bind(e),e.onMouseEnter=e.onMouseEnter.bind(e),e.onMouseLeave=e.onMouseLeave.bind(e),e}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(i,n["a"]),r(i,[{key:"init",value:function(){return this._bindEvents(),this}},{key:"_bindEvents",value:function(){document.addEventListener("visibilitychange",this.onVisibilityChange),this.slider.options.pauseOnHover&&(this.slider.container.addEventListener(s.a,this.onMouseEnter),this.slider.container.addEventListener(s.b,this.onMouseLeave))}},{key:"_unbindEvents",value:function(){document.removeEventListener("visibilitychange",this.onVisibilityChange),this.slider.container.removeEventListener(s.a,this.onMouseEnter),this.slider.container.removeEventListener(s.b,this.onMouseLeave)}},{key:"start",value:function(){var t=this;this.stop(),this.slider.options.autoplay&&(this.emit("start",this),this._interval=setInterval(function(){t._hovering&&t.slider.options.pauseOnHover||(!t.slider.options.centerMode&&t.slider.state.next>=t.slider.state.length-t.slider.slidesToShow&&!t.slider.options.loop&&!t.slider.options.infinite?t.stop():t.slider.next())},this.slider.options.autoplaySpeed))}},{key:"stop",value:function(){this._interval=clearInterval(this._interval),this.emit("stop",this)}},{key:"pause",value:function(){var t=this,e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:0;this.paused||(this.timer&&this.stop(),this.paused=!0,0===e?(this.paused=!1,this.start()):this.slider.on("transition:end",function(){t&&(t.paused=!1,t.run?t.start():t.stop())}))}},{key:"onVisibilityChange",value:function(t){document.hidden?this.stop():this.start()}},{key:"onMouseEnter",value:function(t){this._hovering=!0,this.slider.options.pauseOnHover&&this.pause()}},{key:"onMouseLeave",value:function(t){this._hovering=!1,this.slider.options.pauseOnHover&&this.pause()}}]),i}();e.a=o},function(t,e,i){"use strict";i.d(e,"a",function(){return o}),i.d(e,"b",function(){return a});window.navigator.pointerEnabled||window.navigator.msPointerEnabled,window.navigator.msPointerEnabled&&1<window.navigator.msMaxTouchPoints||window.navigator.pointerEnabled&&window.navigator.maxTouchPoints,navigator.userAgent.match(/(Android);?[\s\/]+([\d.]+)?/),navigator.userAgent.match(/(iPad).*OS\s([\d_]+)/),navigator.userAgent.match(/(iPod)(.*OS\s([\d_]+))?/),!navigator.userAgent.match(/(iPad).*OS\s([\d_]+)/)&&navigator.userAgent.match(/(iPhone\sOS)\s([\d_]+)/),0<=navigator.userAgent.toLowerCase().indexOf("safari")&&navigator.userAgent.toLowerCase().indexOf("chrome")<0&&navigator.userAgent.toLowerCase().indexOf("android"),/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(navigator.userAgent);var n=!!("ontouchstart"in window),s=!!("PointerEvent"in window),r=n||window.DocumentTouch&&document instanceof DocumentTouch||navigator.maxTouchPoints,o=r&&s?"pointerenter":"mouseenter",a=r&&s?"pointerleave":"mouseleave"},function(t,e,i){"use strict";var n=function(){function n(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(t,e,i){return e&&n(t.prototype,e),i&&n(t,i),t}}();var s=Symbol("onResize"),r=function(){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),this.slider=t,this.options=t.options,this[s]=this[s].bind(this),this._bindEvents()}return n(e,[{key:"init",value:function(){return this._defaultBreakpoint={slidesToShow:this.options.slidesToShow,slidesToScroll:this.options.slidesToScroll},this.options.breakpoints.sort(function(t,e){return parseInt(t.changePoint,10)>parseInt(e.changePoint,10)}),this._currentBreakpoint=this._getActiveBreakpoint(),this}},{key:"destroy",value:function(){this._unbindEvents()}},{key:"_bindEvents",value:function(){window.addEventListener("resize",this[s]),window.addEventListener("orientationchange",this[s])}},{key:"_unbindEvents",value:function(){window.removeEventListener("resize",this[s]),window.removeEventListener("orientationchange",this[s])}},{key:"_getActiveBreakpoint",value:function(){var t=!0,e=!1,i=void 0;try{for(var n,s=this.options.breakpoints[Symbol.iterator]();!(t=(n=s.next()).done);t=!0){var r=n.value;if(r.changePoint>=window.innerWidth)return r}}catch(t){e=!0,i=t}finally{try{!t&&s.return&&s.return()}finally{if(e)throw i}}return this._defaultBreakpoint}},{key:"getSlidesToShow",value:function(){return this._currentBreakpoint?this._currentBreakpoint.slidesToShow:this._defaultBreakpoint.slidesToShow}},{key:"getSlidesToScroll",value:function(){return this._currentBreakpoint?this._currentBreakpoint.slidesToScroll:this._defaultBreakpoint.slidesToScroll}},{key:"apply",value:function(){this.slider.state.index>=this.slider.state.length&&0!==this.slider.state.index&&(this.slider.state.index=this.slider.state.index-this._currentBreakpoint.slidesToScroll),this.slider.state.length<=this._currentBreakpoint.slidesToShow&&(this.slider.state.index=0),this.options.loop&&this.slider._loop.init().apply(),this.options.infinite&&this.slider._infinite.init().apply(),this.slider._setDimensions(),this.slider._transitioner.init().apply(!0,this.slider._setHeight.bind(this.slider)),this.slider._setClasses(),this.slider._navigation.refresh(),this.slider._pagination.refresh()}},{key:s,value:function(t){var e=this._getActiveBreakpoint();e.slidesToShow!==this._currentBreakpoint.slidesToShow&&(this._currentBreakpoint=e,this.apply())}}]),e}();e.a=r},function(t,e,i){"use strict";var n=function(){function n(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(t,e,i){return e&&n(t.prototype,e),i&&n(t,i),t}}();var s=function(){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),this.slider=t}return n(e,[{key:"init",value:function(){if(this.slider.options.infinite&&"translate"===this.slider.options.effect){this.slider.options.centerMode?this._infiniteCount=Math.ceil(this.slider.slidesToShow+this.slider.slidesToShow/2):this._infiniteCount=this.slider.slidesToShow;for(var t=[],e=0,i=this.slider.state.length;i>this.slider.state.length-1-this._infiniteCount;i-=1)e=i-1,t.unshift(this._cloneSlide(this.slider.slides[e],e-this.slider.state.length));for(var n=[],s=0;s<this._infiniteCount+this.slider.state.length;s+=1)n.push(this._cloneSlide(this.slider.slides[s%this.slider.state.length],s+this.slider.state.length));this.slider.slides=[].concat(t,function(t){if(Array.isArray(t)){for(var e=0,i=Array(t.length);e<t.length;e++)i[e]=t[e];return i}return Array.from(t)}(this.slider.slides),n)}return this}},{key:"apply",value:function(){}},{key:"onTransitionEnd",value:function(t){this.slider.options.infinite&&(this.slider.state.next>=this.slider.state.length?(this.slider.state.index=this.slider.state.next=this.slider.state.next-this.slider.state.length,this.slider.transitioner.apply(!0)):this.slider.state.next<0&&(this.slider.state.index=this.slider.state.next=this.slider.state.length+this.slider.state.next,this.slider.transitioner.apply(!0)))}},{key:"_cloneSlide",value:function(t,e){var i=t.cloneNode(!0);return i.dataset.sliderIndex=e,i.dataset.cloned=!0,(i.querySelectorAll("[id]")||[]).forEach(function(t){t.setAttribute("id","")}),i}}]),e}();e.a=s},function(t,e,i){"use strict";var n=i(12),s=function(){function n(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(t,e,i){return e&&n(t.prototype,e),i&&n(t,i),t}}();var r=function(){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),this.slider=t}return s(e,[{key:"init",value:function(){return this}},{key:"apply",value:function(){this.slider.options.loop&&(0<this.slider.state.next?this.slider.state.next<this.slider.state.length?this.slider.state.next>this.slider.state.length-this.slider.slidesToShow&&Object(n.a)(this.slider._slides[this.slider.state.length-1],this.slider.wrapper)?this.slider.state.next=0:this.slider.state.next=Math.min(Math.max(this.slider.state.next,0),this.slider.state.length-this.slider.slidesToShow):this.slider.state.next=0:this.slider.state.next<=0-this.slider.slidesToScroll?this.slider.state.next=this.slider.state.length-this.slider.slidesToShow:this.slider.state.next=0)}}]),e}();e.a=r},function(t,e,i){"use strict";i.d(e,"a",function(){return n});var n=function(t,e){var i=t.getBoundingClientRect();return e=e||document.documentElement,0<=i.top&&0<=i.left&&i.bottom<=(window.innerHeight||e.clientHeight)&&i.right<=(window.innerWidth||e.clientWidth)}},function(t,e,i){"use strict";var n=i(14),s=i(1),r=function(){function n(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(t,e,i){return e&&n(t.prototype,e),i&&n(t,i),t}}();var o=function(){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),this.slider=t,this._clickEvents=["click","touch"],this._supportsPassive=Object(s.a)(),this.onPreviousClick=this.onPreviousClick.bind(this),this.onNextClick=this.onNextClick.bind(this),this.onKeyUp=this.onKeyUp.bind(this)}return r(e,[{key:"init",value:function(){return this.node=document.createRange().createContextualFragment(Object(n.a)(this.slider.options.icons)),this._ui={previous:this.node.querySelector(".slider-navigation-previous"),next:this.node.querySelector(".slider-navigation-next")},this._unbindEvents(),this._bindEvents(),this.refresh(),this}},{key:"destroy",value:function(){this._unbindEvents()}},{key:"_bindEvents",value:function(){var e=this;this.slider.wrapper.addEventListener("keyup",this.onKeyUp),this._clickEvents.forEach(function(t){e._ui.previous.addEventListener(t,e.onPreviousClick),e._ui.next.addEventListener(t,e.onNextClick)})}},{key:"_unbindEvents",value:function(){var e=this;this.slider.wrapper.removeEventListener("keyup",this.onKeyUp),this._clickEvents.forEach(function(t){e._ui.previous.removeEventListener(t,e.onPreviousClick),e._ui.next.removeEventListener(t,e.onNextClick)})}},{key:"onNextClick",value:function(t){this._supportsPassive||t.preventDefault(),this.slider.options.navigation&&this.slider.next()}},{key:"onPreviousClick",value:function(t){this._supportsPassive||t.preventDefault(),this.slider.options.navigation&&this.slider.previous()}},{key:"onKeyUp",value:function(t){this.slider.options.keyNavigation&&("ArrowRight"===t.key||"Right"===t.key?this.slider.next():"ArrowLeft"!==t.key&&"Left"!==t.key||this.slider.previous())}},{key:"refresh",value:function(){this.slider.options.loop||this.slider.options.infinite||(this.slider.options.navigation&&this.slider.state.length>this.slider.slidesToShow?(this._ui.previous.classList.remove("is-hidden"),this._ui.next.classList.remove("is-hidden"),0===this.slider.state.next?(this._ui.previous.classList.add("is-hidden"),this._ui.next.classList.remove("is-hidden")):this.slider.state.next>=this.slider.state.length-this.slider.slidesToShow&&!this.slider.options.centerMode?(this._ui.previous.classList.remove("is-hidden"),this._ui.next.classList.add("is-hidden")):this.slider.state.next>=this.slider.state.length-1&&this.slider.options.centerMode&&(this._ui.previous.classList.remove("is-hidden"),this._ui.next.classList.add("is-hidden"))):(this._ui.previous.classList.add("is-hidden"),this._ui.next.classList.add("is-hidden")))}},{key:"render",value:function(){return this.node}}]),e}();e.a=o},function(t,e,i){"use strict";e.a=function(t){return'<div class="slider-navigation-previous">'+t.previous+'</div>\n<div class="slider-navigation-next">'+t.next+"</div>"}},function(t,e,i){"use strict";var n=i(16),s=i(17),r=i(1),o=function(){function n(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(t,e,i){return e&&n(t.prototype,e),i&&n(t,i),t}}();var a=function(){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),this.slider=t,this._clickEvents=["click","touch"],this._supportsPassive=Object(r.a)(),this.onPageClick=this.onPageClick.bind(this),this.onResize=this.onResize.bind(this)}return o(e,[{key:"init",value:function(){return this._pages=[],this.node=document.createRange().createContextualFragment(Object(n.a)()),this._ui={container:this.node.firstChild},this._count=Math.ceil((this.slider.state.length-this.slider.slidesToShow)/this.slider.slidesToScroll),this._draw(),this.refresh(),this}},{key:"destroy",value:function(){this._unbindEvents()}},{key:"_bindEvents",value:function(){var i=this;window.addEventListener("resize",this.onResize),window.addEventListener("orientationchange",this.onResize),this._clickEvents.forEach(function(e){i._pages.forEach(function(t){return t.addEventListener(e,i.onPageClick)})})}},{key:"_unbindEvents",value:function(){var i=this;window.removeEventListener("resize",this.onResize),window.removeEventListener("orientationchange",this.onResize),this._clickEvents.forEach(function(e){i._pages.forEach(function(t){return t.removeEventListener(e,i.onPageClick)})})}},{key:"_draw",value:function(){if(this._ui.container.innerHTML="",this.slider.options.pagination&&this.slider.state.length>this.slider.slidesToShow){for(var t=0;t<=this._count;t++){var e=document.createRange().createContextualFragment(Object(s.a)()).firstChild;e.dataset.index=t*this.slider.slidesToScroll,this._pages.push(e),this._ui.container.appendChild(e)}this._bindEvents()}}},{key:"onPageClick",value:function(t){this._supportsPassive||t.preventDefault(),this.slider.state.next=t.currentTarget.dataset.index,this.slider.show()}},{key:"onResize",value:function(){this._draw()}},{key:"refresh",value:function(){var e=this,t=void 0;(t=this.slider.options.infinite?Math.ceil(this.slider.state.length-1/this.slider.slidesToScroll):Math.ceil((this.slider.state.length-this.slider.slidesToShow)/this.slider.slidesToScroll))!==this._count&&(this._count=t,this._draw()),this._pages.forEach(function(t){t.classList.remove("is-active"),parseInt(t.dataset.index,10)===e.slider.state.next%e.slider.state.length&&t.classList.add("is-active")})}},{key:"render",value:function(){return this.node}}]),e}();e.a=a},function(t,e,i){"use strict";e.a=function(){return'<div class="slider-pagination"></div>'}},function(t,e,i){"use strict";e.a=function(){return'<div class="slider-page"></div>'}},function(t,e,i){"use strict";var n=i(4),s=i(1),r=function(){function n(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(t,e,i){return e&&n(t.prototype,e),i&&n(t,i),t}}();var o=function(){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),this.slider=t,this._supportsPassive=Object(s.a)(),this.onStartDrag=this.onStartDrag.bind(this),this.onMoveDrag=this.onMoveDrag.bind(this),this.onStopDrag=this.onStopDrag.bind(this),this._init()}return r(e,[{key:"_init",value:function(){}},{key:"bindEvents",value:function(){var e=this;this.slider.container.addEventListener("dragstart",function(t){e._supportsPassive||t.preventDefault()}),this.slider.container.addEventListener("mousedown",this.onStartDrag),this.slider.container.addEventListener("touchstart",this.onStartDrag),window.addEventListener("mousemove",this.onMoveDrag),window.addEventListener("touchmove",this.onMoveDrag),window.addEventListener("mouseup",this.onStopDrag),window.addEventListener("touchend",this.onStopDrag),window.addEventListener("touchcancel",this.onStopDrag)}},{key:"unbindEvents",value:function(){var e=this;this.slider.container.removeEventListener("dragstart",function(t){e._supportsPassive||t.preventDefault()}),this.slider.container.removeEventListener("mousedown",this.onStartDrag),this.slider.container.removeEventListener("touchstart",this.onStartDrag),window.removeEventListener("mousemove",this.onMoveDrag),window.removeEventListener("touchmove",this.onMoveDrag),window.removeEventListener("mouseup",this.onStopDrag),window.removeEventListener("mouseup",this.onStopDrag),window.removeEventListener("touchcancel",this.onStopDrag)}},{key:"onStartDrag",value:function(t){if(t.touches){if(1<t.touches.length)return;t=t.touches[0]}this._origin=new n.a(t.screenX,t.screenY),this.width=this.slider.wrapperWidth,this.slider.transitioner.disable()}},{key:"onMoveDrag",value:function(t){if(this._origin){var e=t.touches?t.touches[0]:t;this._lastTranslate=new n.a(e.screenX-this._origin.x,e.screenY-this._origin.y),t.touches&&Math.abs(this._lastTranslate.x)>Math.abs(this._lastTranslate.y)&&(this._supportsPassive||t.preventDefault(),t.stopPropagation())}}},{key:"onStopDrag",value:function(t){this._origin&&this._lastTranslate&&(Math.abs(this._lastTranslate.x)>.2*this.width?this._lastTranslate.x<0?this.slider.next():this.slider.previous():this.slider.show(!0)),this._origin=null,this._lastTranslate=null}}]),e}();e.a=o},function(t,e,i){"use strict";var n=i(20),s=i(21),r=function(){function n(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(t,e,i){return e&&n(t.prototype,e),i&&n(t,i),t}}();var o=function(){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),this.slider=t,this.options=t.options,this._animating=!1,this._animation=void 0,this._translate=new s.a(this,t,t.options),this._fade=new n.a(this,t,t.options)}return r(e,[{key:"init",value:function(){return this._fade.init(),this._translate.init(),this}},{key:"isAnimating",value:function(){return this._animating}},{key:"enable",value:function(){this._animation&&this._animation.enable()}},{key:"disable",value:function(){this._animation&&this._animation.disable()}},{key:"apply",value:function(t,e){if(!this._animating||t){switch(this.options.effect){case"fade":this._animation=this._fade;break;case"translate":default:this._animation=this._translate}this._animationCallback=e,t?this._animation&&this._animation.disable():(this._animation&&this._animation.enable(),this._animating=!0),this._animation&&this._animation.apply(),t&&this.end()}}},{key:"end",value:function(){this._animating=!1,this._animation=void 0,this.slider.state.index=this.slider.state.next,this._animationCallback&&this._animationCallback()}}]),e}();e.a=o},function(t,e,i){"use strict";var s=i(0),r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t},o=function(){function n(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(t,e,i){return e&&n(t.prototype,e),i&&n(t,i),t}}();var n=function(){function n(t,e){var i=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,n),this.transitioner=t,this.slider=e,this.options=r({},i)}return o(n,[{key:"init",value:function(){var i=this;return"fade"===this.options.effect&&this.slider.slides.forEach(function(t,e){Object(s.a)(t,{position:"absolute",left:0,top:0,bottom:0,"z-index":t.dataset.sliderIndex==i.slider.state.index?0:-2,opacity:t.dataset.sliderIndex==i.slider.state.index?1:0})}),this}},{key:"enable",value:function(){var e=this;this._oldSlide=this.slider.slides.filter(function(t){return t.dataset.sliderIndex==e.slider.state.index})[0],this._newSlide=this.slider.slides.filter(function(t){return t.dataset.sliderIndex==e.slider.state.next})[0],this._newSlide&&(this._newSlide.addEventListener("transitionend",this.onTransitionEnd.bind(this)),this._newSlide.style.transition=this.options.duration+"ms "+this.options.timing,this._oldSlide&&(this._oldSlide.addEventListener("transitionend",this.onTransitionEnd.bind(this)),this._oldSlide.style.transition=this.options.duration+"ms "+this.options.timing))}},{key:"disable",value:function(){var e=this;this._oldSlide=this.slider.slides.filter(function(t){return t.dataset.sliderIndex==e.slider.state.index})[0],this._newSlide=this.slider.slides.filter(function(t){return t.dataset.sliderIndex==e.slider.state.next})[0],this._newSlide&&(this._newSlide.removeEventListener("transitionend",this.onTransitionEnd.bind(this)),this._newSlide.style.transition="none",this._oldSlide&&(this._oldSlide.removeEventListener("transitionend",this.onTransitionEnd.bind(this)),this._oldSlide.style.transition="none"))}},{key:"apply",value:function(t){var e=this;this._oldSlide=this.slider.slides.filter(function(t){return t.dataset.sliderIndex==e.slider.state.index})[0],this._newSlide=this.slider.slides.filter(function(t){return t.dataset.sliderIndex==e.slider.state.next})[0],this._oldSlide&&this._newSlide&&(Object(s.a)(this._oldSlide,{opacity:0}),Object(s.a)(this._newSlide,{opacity:1,"z-index":t?0:-1}))}},{key:"onTransitionEnd",value:function(t){"fade"===this.options.effect&&(this.transitioner.isAnimating()&&t.target==this._newSlide&&(this._newSlide&&(Object(s.a)(this._newSlide,{"z-index":0}),this._newSlide.removeEventListener("transitionend",this.onTransitionEnd.bind(this))),this._oldSlide&&(Object(s.a)(this._oldSlide,{"z-index":-2}),this._oldSlide.removeEventListener("transitionend",this.onTransitionEnd.bind(this)))),this.transitioner.end())}}]),n}();e.a=n},function(t,e,i){"use strict";var r=i(4),o=i(0),s=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t},a=function(){function n(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(t,e,i){return e&&n(t.prototype,e),i&&n(t,i),t}}();var n=function(){function n(t,e){var i=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,n),this.transitioner=t,this.slider=e,this.options=s({},i),this.onTransitionEnd=this.onTransitionEnd.bind(this)}return a(n,[{key:"init",value:function(){return this._position=new r.a(this.slider.container.offsetLeft,this.slider.container.offsetTop),this._bindEvents(),this}},{key:"destroy",value:function(){this._unbindEvents()}},{key:"_bindEvents",value:function(){this.slider.container.addEventListener("transitionend",this.onTransitionEnd)}},{key:"_unbindEvents",value:function(){this.slider.container.removeEventListener("transitionend",this.onTransitionEnd)}},{key:"enable",value:function(){this.slider.container.style.transition=this.options.duration+"ms "+this.options.timing}},{key:"disable",value:function(){this.slider.container.style.transition="none"}},{key:"apply",value:function(){var e=this,t=void 0;if("translate"===this.options.effect){var i=this.slider.slides.filter(function(t){return t.dataset.sliderIndex==e.slider.state.next})[0],n=new r.a(i.offsetLeft,i.offsetTop);t=this.options.centerMode?new r.a(Math.round(Object(o.e)(this.slider.container)),Math.round(Object(o.b)(this.slider.container))):new r.a(Math.round(Object(o.e)(this.slider.container)-Object(o.e)(this.slider.wrapper)),Math.round(Object(o.b)(this.slider.container)-Object(o.b)(this.slider.wrapper)));var s=new r.a(Math.min(Math.max(-1*n.x,-1*t.x),0),Math.min(Math.max(-1*n.y,-1*t.y),0));this.options.loop&&(!this.options.vertical&&Math.abs(this._position.x)>t.x?(s.x=0,this.slider.state.next=0):this.options.vertical&&Math.abs(this._position.y)>t.y&&(s.y=0,this.slider.state.next=0)),this._position.x=s.x,this._position.y=s.y,this.options.centerMode&&(this._position.x=this._position.x+this.slider.wrapperWidth/2-Object(o.e)(i)/2),"rtl"===this.slider.direction&&(this._position.x=-this._position.x,this._position.y=-this._position.y),this.slider.container.style.transform="translate3d("+this._position.x+"px, "+this._position.y+"px, 0)",n.x>t.x&&this.slider.transitioner.end()}}},{key:"onTransitionEnd",value:function(t){"translate"===this.options.effect&&(this.transitioner.isAnimating()&&t.target==this.slider.container&&this.options.infinite&&this.slider._infinite.onTransitionEnd(t),this.transitioner.end())}}]),n}();e.a=n},function(t,e,i){"use strict";e.a={initialSlide:0,slidesToScroll:1,slidesToShow:1,navigation:!0,navigationKeys:!0,navigationSwipe:!0,pagination:!0,loop:!1,infinite:!1,effect:"translate",duration:300,timing:"ease",autoplay:!1,autoplaySpeed:3e3,pauseOnHover:!0,breakpoints:[{changePoint:480,slidesToShow:1,slidesToScroll:1},{changePoint:640,slidesToShow:2,slidesToScroll:2},{changePoint:768,slidesToShow:3,slidesToScroll:3}],onReady:null,icons:{previous:'<svg viewBox="0 0 50 80" xml:space="preserve">\n <polyline fill="currentColor" stroke-width=".5em" stroke-linecap="round" stroke-linejoin="round" points="45.63,75.8 0.375,38.087 45.63,0.375 "/>\n </svg>',next:'<svg viewBox="0 0 50 80" xml:space="preserve">\n <polyline fill="currentColor" stroke-width=".5em" stroke-linecap="round" stroke-linejoin="round" points="0.375,0.375 45.63,38.087 0.375,75.8 "/>\n </svg>'}}},function(t,e,i){"use strict";e.a=function(t){return'<div id="'+t+'" class="slider" tabindex="0">\n <div class="slider-container"></div>\n </div>'}},function(t,e,i){"use strict";e.a=function(){return'<div class="slider-item"></div>'}}]).default});
|
video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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
(function webpackUniversalModuleDefinition(root, factory) {
|
2 |
+
if(typeof exports === 'object' && typeof module === 'object')
|
3 |
+
module.exports = factory();
|
4 |
+
else if(typeof define === 'function' && define.amd)
|
5 |
+
define([], factory);
|
6 |
+
else if(typeof exports === 'object')
|
7 |
+
exports["bulmaSlider"] = factory();
|
8 |
+
else
|
9 |
+
root["bulmaSlider"] = factory();
|
10 |
+
})(typeof self !== 'undefined' ? self : this, function() {
|
11 |
+
return /******/ (function(modules) { // webpackBootstrap
|
12 |
+
/******/ // The module cache
|
13 |
+
/******/ var installedModules = {};
|
14 |
+
/******/
|
15 |
+
/******/ // The require function
|
16 |
+
/******/ function __webpack_require__(moduleId) {
|
17 |
+
/******/
|
18 |
+
/******/ // Check if module is in cache
|
19 |
+
/******/ if(installedModules[moduleId]) {
|
20 |
+
/******/ return installedModules[moduleId].exports;
|
21 |
+
/******/ }
|
22 |
+
/******/ // Create a new module (and put it into the cache)
|
23 |
+
/******/ var module = installedModules[moduleId] = {
|
24 |
+
/******/ i: moduleId,
|
25 |
+
/******/ l: false,
|
26 |
+
/******/ exports: {}
|
27 |
+
/******/ };
|
28 |
+
/******/
|
29 |
+
/******/ // Execute the module function
|
30 |
+
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
31 |
+
/******/
|
32 |
+
/******/ // Flag the module as loaded
|
33 |
+
/******/ module.l = true;
|
34 |
+
/******/
|
35 |
+
/******/ // Return the exports of the module
|
36 |
+
/******/ return module.exports;
|
37 |
+
/******/ }
|
38 |
+
/******/
|
39 |
+
/******/
|
40 |
+
/******/ // expose the modules object (__webpack_modules__)
|
41 |
+
/******/ __webpack_require__.m = modules;
|
42 |
+
/******/
|
43 |
+
/******/ // expose the module cache
|
44 |
+
/******/ __webpack_require__.c = installedModules;
|
45 |
+
/******/
|
46 |
+
/******/ // define getter function for harmony exports
|
47 |
+
/******/ __webpack_require__.d = function(exports, name, getter) {
|
48 |
+
/******/ if(!__webpack_require__.o(exports, name)) {
|
49 |
+
/******/ Object.defineProperty(exports, name, {
|
50 |
+
/******/ configurable: false,
|
51 |
+
/******/ enumerable: true,
|
52 |
+
/******/ get: getter
|
53 |
+
/******/ });
|
54 |
+
/******/ }
|
55 |
+
/******/ };
|
56 |
+
/******/
|
57 |
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
58 |
+
/******/ __webpack_require__.n = function(module) {
|
59 |
+
/******/ var getter = module && module.__esModule ?
|
60 |
+
/******/ function getDefault() { return module['default']; } :
|
61 |
+
/******/ function getModuleExports() { return module; };
|
62 |
+
/******/ __webpack_require__.d(getter, 'a', getter);
|
63 |
+
/******/ return getter;
|
64 |
+
/******/ };
|
65 |
+
/******/
|
66 |
+
/******/ // Object.prototype.hasOwnProperty.call
|
67 |
+
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
68 |
+
/******/
|
69 |
+
/******/ // __webpack_public_path__
|
70 |
+
/******/ __webpack_require__.p = "";
|
71 |
+
/******/
|
72 |
+
/******/ // Load entry module and return exports
|
73 |
+
/******/ return __webpack_require__(__webpack_require__.s = 0);
|
74 |
+
/******/ })
|
75 |
+
/************************************************************************/
|
76 |
+
/******/ ([
|
77 |
+
/* 0 */
|
78 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
79 |
+
|
80 |
+
"use strict";
|
81 |
+
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
82 |
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "isString", function() { return isString; });
|
83 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__events__ = __webpack_require__(1);
|
84 |
+
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
85 |
+
|
86 |
+
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
|
87 |
+
|
88 |
+
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
|
89 |
+
|
90 |
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
91 |
+
|
92 |
+
function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
|
93 |
+
|
94 |
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
95 |
+
|
96 |
+
|
97 |
+
|
98 |
+
var isString = function isString(unknown) {
|
99 |
+
return typeof unknown === 'string' || !!unknown && (typeof unknown === 'undefined' ? 'undefined' : _typeof(unknown)) === 'object' && Object.prototype.toString.call(unknown) === '[object String]';
|
100 |
+
};
|
101 |
+
|
102 |
+
var bulmaSlider = function (_EventEmitter) {
|
103 |
+
_inherits(bulmaSlider, _EventEmitter);
|
104 |
+
|
105 |
+
function bulmaSlider(selector) {
|
106 |
+
var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
107 |
+
|
108 |
+
_classCallCheck(this, bulmaSlider);
|
109 |
+
|
110 |
+
var _this = _possibleConstructorReturn(this, (bulmaSlider.__proto__ || Object.getPrototypeOf(bulmaSlider)).call(this));
|
111 |
+
|
112 |
+
_this.element = typeof selector === 'string' ? document.querySelector(selector) : selector;
|
113 |
+
// An invalid selector or non-DOM node has been provided.
|
114 |
+
if (!_this.element) {
|
115 |
+
throw new Error('An invalid selector or non-DOM node has been provided.');
|
116 |
+
}
|
117 |
+
|
118 |
+
_this._clickEvents = ['click'];
|
119 |
+
/// Set default options and merge with instance defined
|
120 |
+
_this.options = _extends({}, options);
|
121 |
+
|
122 |
+
_this.onSliderInput = _this.onSliderInput.bind(_this);
|
123 |
+
|
124 |
+
_this.init();
|
125 |
+
return _this;
|
126 |
+
}
|
127 |
+
|
128 |
+
/**
|
129 |
+
* Initiate all DOM element containing selector
|
130 |
+
* @method
|
131 |
+
* @return {Array} Array of all slider instances
|
132 |
+
*/
|
133 |
+
|
134 |
+
|
135 |
+
_createClass(bulmaSlider, [{
|
136 |
+
key: 'init',
|
137 |
+
|
138 |
+
|
139 |
+
/**
|
140 |
+
* Initiate plugin
|
141 |
+
* @method init
|
142 |
+
* @return {void}
|
143 |
+
*/
|
144 |
+
value: function init() {
|
145 |
+
this._id = 'bulmaSlider' + new Date().getTime() + Math.floor(Math.random() * Math.floor(9999));
|
146 |
+
this.output = this._findOutputForSlider();
|
147 |
+
|
148 |
+
this._bindEvents();
|
149 |
+
|
150 |
+
if (this.output) {
|
151 |
+
if (this.element.classList.contains('has-output-tooltip')) {
|
152 |
+
// Get new output position
|
153 |
+
var newPosition = this._getSliderOutputPosition();
|
154 |
+
|
155 |
+
// Set output position
|
156 |
+
this.output.style['left'] = newPosition.position;
|
157 |
+
}
|
158 |
+
}
|
159 |
+
|
160 |
+
this.emit('bulmaslider:ready', this.element.value);
|
161 |
+
}
|
162 |
+
}, {
|
163 |
+
key: '_findOutputForSlider',
|
164 |
+
value: function _findOutputForSlider() {
|
165 |
+
var _this2 = this;
|
166 |
+
|
167 |
+
var result = null;
|
168 |
+
var outputs = document.getElementsByTagName('output') || [];
|
169 |
+
|
170 |
+
Array.from(outputs).forEach(function (output) {
|
171 |
+
if (output.htmlFor == _this2.element.getAttribute('id')) {
|
172 |
+
result = output;
|
173 |
+
return true;
|
174 |
+
}
|
175 |
+
});
|
176 |
+
return result;
|
177 |
+
}
|
178 |
+
}, {
|
179 |
+
key: '_getSliderOutputPosition',
|
180 |
+
value: function _getSliderOutputPosition() {
|
181 |
+
// Update output position
|
182 |
+
var newPlace, minValue;
|
183 |
+
|
184 |
+
var style = window.getComputedStyle(this.element, null);
|
185 |
+
// Measure width of range input
|
186 |
+
var sliderWidth = parseInt(style.getPropertyValue('width'), 10);
|
187 |
+
|
188 |
+
// Figure out placement percentage between left and right of input
|
189 |
+
if (!this.element.getAttribute('min')) {
|
190 |
+
minValue = 0;
|
191 |
+
} else {
|
192 |
+
minValue = this.element.getAttribute('min');
|
193 |
+
}
|
194 |
+
var newPoint = (this.element.value - minValue) / (this.element.getAttribute('max') - minValue);
|
195 |
+
|
196 |
+
// Prevent bubble from going beyond left or right (unsupported browsers)
|
197 |
+
if (newPoint < 0) {
|
198 |
+
newPlace = 0;
|
199 |
+
} else if (newPoint > 1) {
|
200 |
+
newPlace = sliderWidth;
|
201 |
+
} else {
|
202 |
+
newPlace = sliderWidth * newPoint;
|
203 |
+
}
|
204 |
+
|
205 |
+
return {
|
206 |
+
'position': newPlace + 'px'
|
207 |
+
};
|
208 |
+
}
|
209 |
+
|
210 |
+
/**
|
211 |
+
* Bind all events
|
212 |
+
* @method _bindEvents
|
213 |
+
* @return {void}
|
214 |
+
*/
|
215 |
+
|
216 |
+
}, {
|
217 |
+
key: '_bindEvents',
|
218 |
+
value: function _bindEvents() {
|
219 |
+
if (this.output) {
|
220 |
+
// Add event listener to update output when slider value change
|
221 |
+
this.element.addEventListener('input', this.onSliderInput, false);
|
222 |
+
}
|
223 |
+
}
|
224 |
+
}, {
|
225 |
+
key: 'onSliderInput',
|
226 |
+
value: function onSliderInput(e) {
|
227 |
+
e.preventDefault();
|
228 |
+
|
229 |
+
if (this.element.classList.contains('has-output-tooltip')) {
|
230 |
+
// Get new output position
|
231 |
+
var newPosition = this._getSliderOutputPosition();
|
232 |
+
|
233 |
+
// Set output position
|
234 |
+
this.output.style['left'] = newPosition.position;
|
235 |
+
}
|
236 |
+
|
237 |
+
// Check for prefix and postfix
|
238 |
+
var prefix = this.output.hasAttribute('data-prefix') ? this.output.getAttribute('data-prefix') : '';
|
239 |
+
var postfix = this.output.hasAttribute('data-postfix') ? this.output.getAttribute('data-postfix') : '';
|
240 |
+
|
241 |
+
// Update output with slider value
|
242 |
+
this.output.value = prefix + this.element.value + postfix;
|
243 |
+
|
244 |
+
this.emit('bulmaslider:ready', this.element.value);
|
245 |
+
}
|
246 |
+
}], [{
|
247 |
+
key: 'attach',
|
248 |
+
value: function attach() {
|
249 |
+
var _this3 = this;
|
250 |
+
|
251 |
+
var selector = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'input[type="range"].slider';
|
252 |
+
var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
253 |
+
|
254 |
+
var instances = new Array();
|
255 |
+
|
256 |
+
var elements = isString(selector) ? document.querySelectorAll(selector) : Array.isArray(selector) ? selector : [selector];
|
257 |
+
elements.forEach(function (element) {
|
258 |
+
if (typeof element[_this3.constructor.name] === 'undefined') {
|
259 |
+
var instance = new bulmaSlider(element, options);
|
260 |
+
element[_this3.constructor.name] = instance;
|
261 |
+
instances.push(instance);
|
262 |
+
} else {
|
263 |
+
instances.push(element[_this3.constructor.name]);
|
264 |
+
}
|
265 |
+
});
|
266 |
+
|
267 |
+
return instances;
|
268 |
+
}
|
269 |
+
}]);
|
270 |
+
|
271 |
+
return bulmaSlider;
|
272 |
+
}(__WEBPACK_IMPORTED_MODULE_0__events__["a" /* default */]);
|
273 |
+
|
274 |
+
/* harmony default export */ __webpack_exports__["default"] = (bulmaSlider);
|
275 |
+
|
276 |
+
/***/ }),
|
277 |
+
/* 1 */
|
278 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
279 |
+
|
280 |
+
"use strict";
|
281 |
+
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
|
282 |
+
|
283 |
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
284 |
+
|
285 |
+
var EventEmitter = function () {
|
286 |
+
function EventEmitter() {
|
287 |
+
var listeners = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
|
288 |
+
|
289 |
+
_classCallCheck(this, EventEmitter);
|
290 |
+
|
291 |
+
this._listeners = new Map(listeners);
|
292 |
+
this._middlewares = new Map();
|
293 |
+
}
|
294 |
+
|
295 |
+
_createClass(EventEmitter, [{
|
296 |
+
key: "listenerCount",
|
297 |
+
value: function listenerCount(eventName) {
|
298 |
+
if (!this._listeners.has(eventName)) {
|
299 |
+
return 0;
|
300 |
+
}
|
301 |
+
|
302 |
+
var eventListeners = this._listeners.get(eventName);
|
303 |
+
return eventListeners.length;
|
304 |
+
}
|
305 |
+
}, {
|
306 |
+
key: "removeListeners",
|
307 |
+
value: function removeListeners() {
|
308 |
+
var _this = this;
|
309 |
+
|
310 |
+
var eventName = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
|
311 |
+
var middleware = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
312 |
+
|
313 |
+
if (eventName !== null) {
|
314 |
+
if (Array.isArray(eventName)) {
|
315 |
+
name.forEach(function (e) {
|
316 |
+
return _this.removeListeners(e, middleware);
|
317 |
+
});
|
318 |
+
} else {
|
319 |
+
this._listeners.delete(eventName);
|
320 |
+
|
321 |
+
if (middleware) {
|
322 |
+
this.removeMiddleware(eventName);
|
323 |
+
}
|
324 |
+
}
|
325 |
+
} else {
|
326 |
+
this._listeners = new Map();
|
327 |
+
}
|
328 |
+
}
|
329 |
+
}, {
|
330 |
+
key: "middleware",
|
331 |
+
value: function middleware(eventName, fn) {
|
332 |
+
var _this2 = this;
|
333 |
+
|
334 |
+
if (Array.isArray(eventName)) {
|
335 |
+
name.forEach(function (e) {
|
336 |
+
return _this2.middleware(e, fn);
|
337 |
+
});
|
338 |
+
} else {
|
339 |
+
if (!Array.isArray(this._middlewares.get(eventName))) {
|
340 |
+
this._middlewares.set(eventName, []);
|
341 |
+
}
|
342 |
+
|
343 |
+
this._middlewares.get(eventName).push(fn);
|
344 |
+
}
|
345 |
+
}
|
346 |
+
}, {
|
347 |
+
key: "removeMiddleware",
|
348 |
+
value: function removeMiddleware() {
|
349 |
+
var _this3 = this;
|
350 |
+
|
351 |
+
var eventName = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
|
352 |
+
|
353 |
+
if (eventName !== null) {
|
354 |
+
if (Array.isArray(eventName)) {
|
355 |
+
name.forEach(function (e) {
|
356 |
+
return _this3.removeMiddleware(e);
|
357 |
+
});
|
358 |
+
} else {
|
359 |
+
this._middlewares.delete(eventName);
|
360 |
+
}
|
361 |
+
} else {
|
362 |
+
this._middlewares = new Map();
|
363 |
+
}
|
364 |
+
}
|
365 |
+
}, {
|
366 |
+
key: "on",
|
367 |
+
value: function on(name, callback) {
|
368 |
+
var _this4 = this;
|
369 |
+
|
370 |
+
var once = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
|
371 |
+
|
372 |
+
if (Array.isArray(name)) {
|
373 |
+
name.forEach(function (e) {
|
374 |
+
return _this4.on(e, callback);
|
375 |
+
});
|
376 |
+
} else {
|
377 |
+
name = name.toString();
|
378 |
+
var split = name.split(/,|, | /);
|
379 |
+
|
380 |
+
if (split.length > 1) {
|
381 |
+
split.forEach(function (e) {
|
382 |
+
return _this4.on(e, callback);
|
383 |
+
});
|
384 |
+
} else {
|
385 |
+
if (!Array.isArray(this._listeners.get(name))) {
|
386 |
+
this._listeners.set(name, []);
|
387 |
+
}
|
388 |
+
|
389 |
+
this._listeners.get(name).push({ once: once, callback: callback });
|
390 |
+
}
|
391 |
+
}
|
392 |
+
}
|
393 |
+
}, {
|
394 |
+
key: "once",
|
395 |
+
value: function once(name, callback) {
|
396 |
+
this.on(name, callback, true);
|
397 |
+
}
|
398 |
+
}, {
|
399 |
+
key: "emit",
|
400 |
+
value: function emit(name, data) {
|
401 |
+
var _this5 = this;
|
402 |
+
|
403 |
+
var silent = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
|
404 |
+
|
405 |
+
name = name.toString();
|
406 |
+
var listeners = this._listeners.get(name);
|
407 |
+
var middlewares = null;
|
408 |
+
var doneCount = 0;
|
409 |
+
var execute = silent;
|
410 |
+
|
411 |
+
if (Array.isArray(listeners)) {
|
412 |
+
listeners.forEach(function (listener, index) {
|
413 |
+
// Start Middleware checks unless we're doing a silent emit
|
414 |
+
if (!silent) {
|
415 |
+
middlewares = _this5._middlewares.get(name);
|
416 |
+
// Check and execute Middleware
|
417 |
+
if (Array.isArray(middlewares)) {
|
418 |
+
middlewares.forEach(function (middleware) {
|
419 |
+
middleware(data, function () {
|
420 |
+
var newData = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
|
421 |
+
|
422 |
+
if (newData !== null) {
|
423 |
+
data = newData;
|
424 |
+
}
|
425 |
+
doneCount++;
|
426 |
+
}, name);
|
427 |
+
});
|
428 |
+
|
429 |
+
if (doneCount >= middlewares.length) {
|
430 |
+
execute = true;
|
431 |
+
}
|
432 |
+
} else {
|
433 |
+
execute = true;
|
434 |
+
}
|
435 |
+
}
|
436 |
+
|
437 |
+
// If Middleware checks have been passed, execute
|
438 |
+
if (execute) {
|
439 |
+
if (listener.once) {
|
440 |
+
listeners[index] = null;
|
441 |
+
}
|
442 |
+
listener.callback(data);
|
443 |
+
}
|
444 |
+
});
|
445 |
+
|
446 |
+
// Dirty way of removing used Events
|
447 |
+
while (listeners.indexOf(null) !== -1) {
|
448 |
+
listeners.splice(listeners.indexOf(null), 1);
|
449 |
+
}
|
450 |
+
}
|
451 |
+
}
|
452 |
+
}]);
|
453 |
+
|
454 |
+
return EventEmitter;
|
455 |
+
}();
|
456 |
+
|
457 |
+
/* harmony default export */ __webpack_exports__["a"] = (EventEmitter);
|
458 |
+
|
459 |
+
/***/ })
|
460 |
+
/******/ ])["default"];
|
461 |
+
});
|
videoretalking/docs/static/js/bulma-slider.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.bulmaSlider=e():t.bulmaSlider=e()}("undefined"!=typeof self?self:this,function(){return function(n){var r={};function i(t){if(r[t])return r[t].exports;var e=r[t]={i:t,l:!1,exports:{}};return n[t].call(e.exports,e,e.exports,i),e.l=!0,e.exports}return i.m=n,i.c=r,i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:n})},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=0)}([function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n.d(e,"isString",function(){return l});var r=n(1),i=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},u=function(){function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),t}}(),o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};var l=function(t){return"string"==typeof t||!!t&&"object"===(void 0===t?"undefined":o(t))&&"[object String]"===Object.prototype.toString.call(t)},a=function(t){function o(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,o);var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(o.__proto__||Object.getPrototypeOf(o)).call(this));if(n.element="string"==typeof t?document.querySelector(t):t,!n.element)throw new Error("An invalid selector or non-DOM node has been provided.");return n._clickEvents=["click"],n.options=i({},e),n.onSliderInput=n.onSliderInput.bind(n),n.init(),n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(o,r["a"]),u(o,[{key:"init",value:function(){if(this._id="bulmaSlider"+(new Date).getTime()+Math.floor(Math.random()*Math.floor(9999)),this.output=this._findOutputForSlider(),this._bindEvents(),this.output&&this.element.classList.contains("has-output-tooltip")){var t=this._getSliderOutputPosition();this.output.style.left=t.position}this.emit("bulmaslider:ready",this.element.value)}},{key:"_findOutputForSlider",value:function(){var e=this,n=null,t=document.getElementsByTagName("output")||[];return Array.from(t).forEach(function(t){if(t.htmlFor==e.element.getAttribute("id"))return n=t,!0}),n}},{key:"_getSliderOutputPosition",value:function(){var t,e=window.getComputedStyle(this.element,null),n=parseInt(e.getPropertyValue("width"),10);t=this.element.getAttribute("min")?this.element.getAttribute("min"):0;var r=(this.element.value-t)/(this.element.getAttribute("max")-t);return{position:(r<0?0:1<r?n:n*r)+"px"}}},{key:"_bindEvents",value:function(){this.output&&this.element.addEventListener("input",this.onSliderInput,!1)}},{key:"onSliderInput",value:function(t){if(t.preventDefault(),this.element.classList.contains("has-output-tooltip")){var e=this._getSliderOutputPosition();this.output.style.left=e.position}var n=this.output.hasAttribute("data-prefix")?this.output.getAttribute("data-prefix"):"",r=this.output.hasAttribute("data-postfix")?this.output.getAttribute("data-postfix"):"";this.output.value=n+this.element.value+r,this.emit("bulmaslider:ready",this.element.value)}}],[{key:"attach",value:function(){var n=this,t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:'input[type="range"].slider',r=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},i=new Array;return(l(t)?document.querySelectorAll(t):Array.isArray(t)?t:[t]).forEach(function(t){if(void 0===t[n.constructor.name]){var e=new o(t,r);t[n.constructor.name]=e,i.push(e)}else i.push(t[n.constructor.name])}),i}}]),o}();e.default=a},function(t,e,n){"use strict";var r=function(){function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),t}}();var i=function(){function e(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[];!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),this._listeners=new Map(t),this._middlewares=new Map}return r(e,[{key:"listenerCount",value:function(t){return this._listeners.has(t)?this._listeners.get(t).length:0}},{key:"removeListeners",value:function(){var e=this,t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:null,n=1<arguments.length&&void 0!==arguments[1]&&arguments[1];null!==t?Array.isArray(t)?name.forEach(function(t){return e.removeListeners(t,n)}):(this._listeners.delete(t),n&&this.removeMiddleware(t)):this._listeners=new Map}},{key:"middleware",value:function(t,e){var n=this;Array.isArray(t)?name.forEach(function(t){return n.middleware(t,e)}):(Array.isArray(this._middlewares.get(t))||this._middlewares.set(t,[]),this._middlewares.get(t).push(e))}},{key:"removeMiddleware",value:function(){var e=this,t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:null;null!==t?Array.isArray(t)?name.forEach(function(t){return e.removeMiddleware(t)}):this._middlewares.delete(t):this._middlewares=new Map}},{key:"on",value:function(t,e){var n=this,r=2<arguments.length&&void 0!==arguments[2]&&arguments[2];if(Array.isArray(t))t.forEach(function(t){return n.on(t,e)});else{var i=(t=t.toString()).split(/,|, | /);1<i.length?i.forEach(function(t){return n.on(t,e)}):(Array.isArray(this._listeners.get(t))||this._listeners.set(t,[]),this._listeners.get(t).push({once:r,callback:e}))}}},{key:"once",value:function(t,e){this.on(t,e,!0)}},{key:"emit",value:function(n,r){var i=this,o=2<arguments.length&&void 0!==arguments[2]&&arguments[2];n=n.toString();var u=this._listeners.get(n),l=null,a=0,s=o;if(Array.isArray(u))for(u.forEach(function(t,e){o||(l=i._middlewares.get(n),Array.isArray(l)?(l.forEach(function(t){t(r,function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:null;null!==t&&(r=t),a++},n)}),a>=l.length&&(s=!0)):s=!0),s&&(t.once&&(u[e]=null),t.callback(r))});-1!==u.indexOf(null);)u.splice(u.indexOf(null),1)}}]),e}();e.a=i}]).default});
|
videoretalking/docs/static/js/fontawesome.all.min.js
ADDED
The diff for this file is too large to render.
See raw diff
|
|
videoretalking/docs/static/js/index.js
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
window.HELP_IMPROVE_VIDEOJS = false;
|
2 |
+
|
3 |
+
|
4 |
+
$(document).ready(function() {
|
5 |
+
// Check for click events on the navbar burger icon
|
6 |
+
|
7 |
+
var options = {
|
8 |
+
slidesToScroll: 1,
|
9 |
+
slidesToShow: 1,
|
10 |
+
loop: true,
|
11 |
+
infinite: true,
|
12 |
+
autoplay: true,
|
13 |
+
autoplaySpeed: 5000,
|
14 |
+
}
|
15 |
+
|
16 |
+
// Initialize all div with carousel class
|
17 |
+
var carousels = bulmaCarousel.attach('.carousel', options);
|
18 |
+
|
19 |
+
bulmaSlider.attach();
|
20 |
+
|
21 |
+
})
|
videoretalking/docs/static/pdfs/sample.pdf
ADDED
Binary file (14.1 kB). View file
|
|
videoretalking/docs/static/videos/Ablation.mp4
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c0417e7e2588c5436ae97d2d78fcdcfc55daea463b0bd0ac401bd2ec5af4701f
|
3 |
+
size 3528171
|
videoretalking/docs/static/videos/Comparison.mp4
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9edbf9ec83a58ed25a4683597d4b7c982387139858344990b42239af80c69467
|
3 |
+
size 22920622
|
videoretalking/docs/static/videos/Results_in_the_wild.mp4
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4e4623130898fe79bd95602c55062d434654d4e1f259bf84b114c3310b32d2c2
|
3 |
+
size 8960716
|
videoretalking/examples/audio/1.wav
ADDED
Binary file (885 kB). View file
|
|
videoretalking/examples/audio/2.wav
ADDED
Binary file (963 kB). View file
|
|
videoretalking/examples/face/1.mp4
ADDED
Binary file (663 kB). View file
|
|
videoretalking/examples/face/2.mp4
ADDED
Binary file (479 kB). View file
|
|
videoretalking/examples/face/3.mp4
ADDED
Binary file (393 kB). View file
|
|
videoretalking/examples/face/4.mp4
ADDED
Binary file (820 kB). View file
|
|
videoretalking/examples/face/5.mp4
ADDED
Binary file (391 kB). View file
|
|
videoretalking/inference - Copy.py
ADDED
@@ -0,0 +1,345 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import numpy as np
|
2 |
+
import cv2, os, sys, subprocess, platform, torch
|
3 |
+
from tqdm import tqdm
|
4 |
+
from PIL import Image
|
5 |
+
from scipy.io import loadmat
|
6 |
+
|
7 |
+
sys.path.insert(0, 'third_part')
|
8 |
+
sys.path.insert(0, 'third_part/GPEN')
|
9 |
+
# sys.path.insert(0, 'third_part/GFPGAN')
|
10 |
+
|
11 |
+
# 3dmm extraction
|
12 |
+
from third_part.face3d.util.preprocess import align_img
|
13 |
+
from third_part.face3d.util.load_mats import load_lm3d
|
14 |
+
from third_part.face3d.extract_kp_videos import KeypointExtractor
|
15 |
+
# face enhancement
|
16 |
+
from third_part.GPEN.gpen_face_enhancer import FaceEnhancement
|
17 |
+
# from third_part.GFPGAN.gfpgan import GFPGANer
|
18 |
+
# expression control
|
19 |
+
from third_part.ganimation_replicate.model.ganimation import GANimationModel
|
20 |
+
|
21 |
+
from utils import audio
|
22 |
+
from utils.ffhq_preprocess import Croper
|
23 |
+
from utils.alignment_stit import crop_faces, calc_alignment_coefficients, paste_image
|
24 |
+
from utils.inference_utils import Laplacian_Pyramid_Blending_with_mask, face_detect, load_model, options, split_coeff, \
|
25 |
+
trans_image, transform_semantic, find_crop_norm_ratio, load_face3d_net, exp_aus_dict
|
26 |
+
import warnings
|
27 |
+
warnings.filterwarnings("ignore")
|
28 |
+
|
29 |
+
args = options()
|
30 |
+
|
31 |
+
def main():
|
32 |
+
device = 'cuda' if torch.cuda.is_available() else 'cpu'
|
33 |
+
print('[Info] Using {} for inference.'.format(device))
|
34 |
+
os.makedirs(os.path.join('temp', args.tmp_dir), exist_ok=True)
|
35 |
+
|
36 |
+
enhancer = FaceEnhancement(base_dir='checkpoints', size=512, model='GPEN-BFR-512', use_sr=False, \
|
37 |
+
sr_model='rrdb_realesrnet_psnr', channel_multiplier=2, narrow=1, device=device)
|
38 |
+
# restorer = GFPGANer(model_path='checkpoints/GFPGANv1.3.pth', upscale=1, arch='clean', \
|
39 |
+
# channel_multiplier=2, bg_upsampler=None)
|
40 |
+
|
41 |
+
base_name = args.face.split('/')[-1]
|
42 |
+
if os.path.isfile(args.face) and args.face.split('.')[1] in ['jpg', 'png', 'jpeg']:
|
43 |
+
args.static = True
|
44 |
+
if not os.path.isfile(args.face):
|
45 |
+
raise ValueError('--face argument must be a valid path to video/image file')
|
46 |
+
elif args.face.split('.')[1] in ['jpg', 'png', 'jpeg']:
|
47 |
+
full_frames = [cv2.imread(args.face)]
|
48 |
+
fps = args.fps
|
49 |
+
else:
|
50 |
+
video_stream = cv2.VideoCapture(args.face)
|
51 |
+
fps = video_stream.get(cv2.CAP_PROP_FPS)
|
52 |
+
|
53 |
+
full_frames = []
|
54 |
+
while True:
|
55 |
+
still_reading, frame = video_stream.read()
|
56 |
+
if not still_reading:
|
57 |
+
video_stream.release()
|
58 |
+
break
|
59 |
+
y1, y2, x1, x2 = args.crop
|
60 |
+
if x2 == -1: x2 = frame.shape[1]
|
61 |
+
if y2 == -1: y2 = frame.shape[0]
|
62 |
+
frame = frame[y1:y2, x1:x2]
|
63 |
+
full_frames.append(frame)
|
64 |
+
|
65 |
+
print ("[Step 0] Number of frames available for inference: "+str(len(full_frames)))
|
66 |
+
# face detection & cropping, cropping the first frame as the style of FFHQ
|
67 |
+
croper = Croper('checkpoints/shape_predictor_68_face_landmarks.dat')
|
68 |
+
full_frames_RGB = [cv2.cvtColor(frame, cv2.COLOR_BGR2RGB) for frame in full_frames]
|
69 |
+
full_frames_RGB, crop, quad = croper.crop(full_frames_RGB, xsize=512)
|
70 |
+
|
71 |
+
clx, cly, crx, cry = crop
|
72 |
+
lx, ly, rx, ry = quad
|
73 |
+
lx, ly, rx, ry = int(lx), int(ly), int(rx), int(ry)
|
74 |
+
oy1, oy2, ox1, ox2 = cly+ly, min(cly+ry, full_frames[0].shape[0]), clx+lx, min(clx+rx, full_frames[0].shape[1])
|
75 |
+
# original_size = (ox2 - ox1, oy2 - oy1)
|
76 |
+
frames_pil = [Image.fromarray(cv2.resize(frame,(256,256))) for frame in full_frames_RGB]
|
77 |
+
|
78 |
+
# get the landmark according to the detected face.
|
79 |
+
if not os.path.isfile('temp/'+base_name+'_landmarks.txt') or args.re_preprocess:
|
80 |
+
print('[Step 1] Landmarks Extraction in Video.')
|
81 |
+
kp_extractor = KeypointExtractor()
|
82 |
+
lm = kp_extractor.extract_keypoint(frames_pil, './temp/'+base_name+'_landmarks.txt')
|
83 |
+
else:
|
84 |
+
print('[Step 1] Using saved landmarks.')
|
85 |
+
lm = np.loadtxt('temp/'+base_name+'_landmarks.txt').astype(np.float32)
|
86 |
+
lm = lm.reshape([len(full_frames), -1, 2])
|
87 |
+
|
88 |
+
if not os.path.isfile('temp/'+base_name+'_coeffs.npy') or args.exp_img is not None or args.re_preprocess:
|
89 |
+
net_recon = load_face3d_net(args.face3d_net_path, device)
|
90 |
+
lm3d_std = load_lm3d('checkpoints/BFM')
|
91 |
+
|
92 |
+
video_coeffs = []
|
93 |
+
for idx in tqdm(range(len(frames_pil)), desc="[Step 2] 3DMM Extraction In Video:"):
|
94 |
+
frame = frames_pil[idx]
|
95 |
+
W, H = frame.size
|
96 |
+
lm_idx = lm[idx].reshape([-1, 2])
|
97 |
+
if np.mean(lm_idx) == -1:
|
98 |
+
lm_idx = (lm3d_std[:, :2]+1) / 2.
|
99 |
+
lm_idx = np.concatenate([lm_idx[:, :1] * W, lm_idx[:, 1:2] * H], 1)
|
100 |
+
else:
|
101 |
+
lm_idx[:, -1] = H - 1 - lm_idx[:, -1]
|
102 |
+
|
103 |
+
trans_params, im_idx, lm_idx, _ = align_img(frame, lm_idx, lm3d_std)
|
104 |
+
trans_params = np.array([float(item) for item in np.hsplit(trans_params, 5)]).astype(np.float32)
|
105 |
+
im_idx_tensor = torch.tensor(np.array(im_idx)/255., dtype=torch.float32).permute(2, 0, 1).to(device).unsqueeze(0)
|
106 |
+
with torch.no_grad():
|
107 |
+
coeffs = split_coeff(net_recon(im_idx_tensor))
|
108 |
+
|
109 |
+
pred_coeff = {key:coeffs[key].cpu().numpy() for key in coeffs}
|
110 |
+
pred_coeff = np.concatenate([pred_coeff['id'], pred_coeff['exp'], pred_coeff['tex'], pred_coeff['angle'],\
|
111 |
+
pred_coeff['gamma'], pred_coeff['trans'], trans_params[None]], 1)
|
112 |
+
video_coeffs.append(pred_coeff)
|
113 |
+
semantic_npy = np.array(video_coeffs)[:,0]
|
114 |
+
np.save('temp/'+base_name+'_coeffs.npy', semantic_npy)
|
115 |
+
else:
|
116 |
+
print('[Step 2] Using saved coeffs.')
|
117 |
+
semantic_npy = np.load('temp/'+base_name+'_coeffs.npy').astype(np.float32)
|
118 |
+
|
119 |
+
# generate the 3dmm coeff from a single image
|
120 |
+
if args.exp_img is not None and ('.png' in args.exp_img or '.jpg' in args.exp_img):
|
121 |
+
print('extract the exp from',args.exp_img)
|
122 |
+
exp_pil = Image.open(args.exp_img).convert('RGB')
|
123 |
+
lm3d_std = load_lm3d('third_part/face3d/BFM')
|
124 |
+
|
125 |
+
W, H = exp_pil.size
|
126 |
+
kp_extractor = KeypointExtractor()
|
127 |
+
lm_exp = kp_extractor.extract_keypoint([exp_pil], 'temp/'+base_name+'_temp.txt')[0]
|
128 |
+
if np.mean(lm_exp) == -1:
|
129 |
+
lm_exp = (lm3d_std[:, :2] + 1) / 2.
|
130 |
+
lm_exp = np.concatenate(
|
131 |
+
[lm_exp[:, :1] * W, lm_exp[:, 1:2] * H], 1)
|
132 |
+
else:
|
133 |
+
lm_exp[:, -1] = H - 1 - lm_exp[:, -1]
|
134 |
+
|
135 |
+
trans_params, im_exp, lm_exp, _ = align_img(exp_pil, lm_exp, lm3d_std)
|
136 |
+
trans_params = np.array([float(item) for item in np.hsplit(trans_params, 5)]).astype(np.float32)
|
137 |
+
im_exp_tensor = torch.tensor(np.array(im_exp)/255., dtype=torch.float32).permute(2, 0, 1).to(device).unsqueeze(0)
|
138 |
+
with torch.no_grad():
|
139 |
+
expression = split_coeff(net_recon(im_exp_tensor))['exp'][0]
|
140 |
+
del net_recon
|
141 |
+
elif args.exp_img == 'smile':
|
142 |
+
expression = torch.tensor(loadmat('checkpoints/expression.mat')['expression_mouth'])[0]
|
143 |
+
else:
|
144 |
+
print('using expression center')
|
145 |
+
expression = torch.tensor(loadmat('checkpoints/expression.mat')['expression_center'])[0]
|
146 |
+
|
147 |
+
# load DNet, model(LNet and ENet)
|
148 |
+
D_Net, model = load_model(args, device)
|
149 |
+
|
150 |
+
if not os.path.isfile('temp/'+base_name+'_stablized.npy') or args.re_preprocess:
|
151 |
+
imgs = []
|
152 |
+
for idx in tqdm(range(len(frames_pil)), desc="[Step 3] Stabilize the expression In Video:"):
|
153 |
+
if args.one_shot:
|
154 |
+
source_img = trans_image(frames_pil[0]).unsqueeze(0).to(device)
|
155 |
+
semantic_source_numpy = semantic_npy[0:1]
|
156 |
+
else:
|
157 |
+
source_img = trans_image(frames_pil[idx]).unsqueeze(0).to(device)
|
158 |
+
semantic_source_numpy = semantic_npy[idx:idx+1]
|
159 |
+
ratio = find_crop_norm_ratio(semantic_source_numpy, semantic_npy)
|
160 |
+
coeff = transform_semantic(semantic_npy, idx, ratio).unsqueeze(0).to(device)
|
161 |
+
|
162 |
+
# hacking the new expression
|
163 |
+
coeff[:, :64, :] = expression[None, :64, None].to(device)
|
164 |
+
with torch.no_grad():
|
165 |
+
output = D_Net(source_img, coeff)
|
166 |
+
img_stablized = np.uint8((output['fake_image'].squeeze(0).permute(1,2,0).cpu().clamp_(-1, 1).numpy() + 1 )/2. * 255)
|
167 |
+
imgs.append(cv2.cvtColor(img_stablized,cv2.COLOR_RGB2BGR))
|
168 |
+
np.save('temp/'+base_name+'_stablized.npy',imgs)
|
169 |
+
del D_Net
|
170 |
+
else:
|
171 |
+
print('[Step 3] Using saved stabilized video.')
|
172 |
+
imgs = np.load('temp/'+base_name+'_stablized.npy')
|
173 |
+
torch.cuda.empty_cache()
|
174 |
+
|
175 |
+
if not args.audio.endswith('.wav'):
|
176 |
+
command = 'ffmpeg -loglevel error -y -i {} -strict -2 {}'.format(args.audio, 'temp/{}/temp.wav'.format(args.tmp_dir))
|
177 |
+
subprocess.call(command, shell=True)
|
178 |
+
args.audio = 'temp/{}/temp.wav'.format(args.tmp_dir)
|
179 |
+
wav = audio.load_wav(args.audio, 16000)
|
180 |
+
mel = audio.melspectrogram(wav)
|
181 |
+
if np.isnan(mel.reshape(-1)).sum() > 0:
|
182 |
+
raise ValueError('Mel contains nan! Using a TTS voice? Add a small epsilon noise to the wav file and try again')
|
183 |
+
|
184 |
+
mel_step_size, mel_idx_multiplier, i, mel_chunks = 16, 80./fps, 0, []
|
185 |
+
while True:
|
186 |
+
start_idx = int(i * mel_idx_multiplier)
|
187 |
+
if start_idx + mel_step_size > len(mel[0]):
|
188 |
+
mel_chunks.append(mel[:, len(mel[0]) - mel_step_size:])
|
189 |
+
break
|
190 |
+
mel_chunks.append(mel[:, start_idx : start_idx + mel_step_size])
|
191 |
+
i += 1
|
192 |
+
|
193 |
+
print("[Step 4] Load audio; Length of mel chunks: {}".format(len(mel_chunks)))
|
194 |
+
imgs = imgs[:len(mel_chunks)]
|
195 |
+
full_frames = full_frames[:len(mel_chunks)]
|
196 |
+
lm = lm[:len(mel_chunks)]
|
197 |
+
|
198 |
+
imgs_enhanced = []
|
199 |
+
for idx in tqdm(range(len(imgs)), desc='[Step 5] Reference Enhancement'):
|
200 |
+
img = imgs[idx]
|
201 |
+
pred, _, _ = enhancer.process(img, img, face_enhance=True, possion_blending=False)
|
202 |
+
imgs_enhanced.append(pred)
|
203 |
+
gen = datagen(imgs_enhanced.copy(), mel_chunks, full_frames, None, (oy1,oy2,ox1,ox2))
|
204 |
+
|
205 |
+
frame_h, frame_w = full_frames[0].shape[:-1]
|
206 |
+
out = cv2.VideoWriter('temp/{}/result.mp4'.format(args.tmp_dir), cv2.VideoWriter_fourcc(*'mp4v'), fps, (frame_w, frame_h))
|
207 |
+
|
208 |
+
if args.up_face != 'original':
|
209 |
+
instance = GANimationModel()
|
210 |
+
instance.initialize()
|
211 |
+
instance.setup()
|
212 |
+
|
213 |
+
kp_extractor = KeypointExtractor()
|
214 |
+
for i, (img_batch, mel_batch, frames, coords, img_original, f_frames) in enumerate(tqdm(gen, desc='[Step 6] Lip Synthesis:', total=int(np.ceil(float(len(mel_chunks)) / args.LNet_batch_size)))):
|
215 |
+
img_batch = torch.FloatTensor(np.transpose(img_batch, (0, 3, 1, 2))).to(device)
|
216 |
+
mel_batch = torch.FloatTensor(np.transpose(mel_batch, (0, 3, 1, 2))).to(device)
|
217 |
+
img_original = torch.FloatTensor(np.transpose(img_original, (0, 3, 1, 2))).to(device)/255. # BGR -> RGB
|
218 |
+
|
219 |
+
with torch.no_grad():
|
220 |
+
incomplete, reference = torch.split(img_batch, 3, dim=1)
|
221 |
+
pred, low_res = model(mel_batch, img_batch, reference)
|
222 |
+
pred = torch.clamp(pred, 0, 1)
|
223 |
+
|
224 |
+
if args.up_face in ['sad', 'angry', 'surprise']:
|
225 |
+
tar_aus = exp_aus_dict[args.up_face]
|
226 |
+
else:
|
227 |
+
pass
|
228 |
+
|
229 |
+
if args.up_face == 'original':
|
230 |
+
cur_gen_faces = img_original
|
231 |
+
else:
|
232 |
+
test_batch = {'src_img': torch.nn.functional.interpolate((img_original * 2 - 1), size=(128, 128), mode='bilinear'),
|
233 |
+
'tar_aus': tar_aus.repeat(len(incomplete), 1)}
|
234 |
+
instance.feed_batch(test_batch)
|
235 |
+
instance.forward()
|
236 |
+
cur_gen_faces = torch.nn.functional.interpolate(instance.fake_img / 2. + 0.5, size=(384, 384), mode='bilinear')
|
237 |
+
|
238 |
+
if args.without_rl1 is not False:
|
239 |
+
incomplete, reference = torch.split(img_batch, 3, dim=1)
|
240 |
+
mask = torch.where(incomplete==0, torch.ones_like(incomplete), torch.zeros_like(incomplete))
|
241 |
+
pred = pred * mask + cur_gen_faces * (1 - mask)
|
242 |
+
|
243 |
+
pred = pred.cpu().numpy().transpose(0, 2, 3, 1) * 255.
|
244 |
+
|
245 |
+
torch.cuda.empty_cache()
|
246 |
+
for p, f, xf, c in zip(pred, frames, f_frames, coords):
|
247 |
+
y1, y2, x1, x2 = c
|
248 |
+
p = cv2.resize(p.astype(np.uint8), (x2 - x1, y2 - y1))
|
249 |
+
|
250 |
+
ff = xf.copy()
|
251 |
+
ff[y1:y2, x1:x2] = p
|
252 |
+
|
253 |
+
# month region enhancement by GFPGAN
|
254 |
+
# cropped_faces, restored_faces, restored_img = restorer.enhance(
|
255 |
+
# ff, has_aligned=False, only_center_face=True, paste_back=True)
|
256 |
+
restored_img = ff
|
257 |
+
mm = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 0, 0, 0, 0, 0, 0]
|
258 |
+
mouse_mask = np.zeros_like(restored_img)
|
259 |
+
tmp_mask = enhancer.faceparser.process(restored_img[y1:y2, x1:x2], mm)[0]
|
260 |
+
mouse_mask[y1:y2, x1:x2]= cv2.resize(tmp_mask, (x2 - x1, y2 - y1))[:, :, np.newaxis] / 255.
|
261 |
+
|
262 |
+
height, width = ff.shape[:2]
|
263 |
+
restored_img, ff, full_mask = [cv2.resize(x, (512, 512)) for x in (restored_img, ff, np.float32(mouse_mask))]
|
264 |
+
img = Laplacian_Pyramid_Blending_with_mask(restored_img, ff, full_mask[:, :, 0], 10)
|
265 |
+
pp = np.uint8(cv2.resize(np.clip(img, 0 ,255), (width, height)))
|
266 |
+
|
267 |
+
pp, orig_faces, enhanced_faces = enhancer.process(pp, xf, bbox=c, face_enhance=False, possion_blending=True)
|
268 |
+
out.write(pp)
|
269 |
+
out.release()
|
270 |
+
|
271 |
+
if not os.path.isdir(os.path.dirname(args.outfile)):
|
272 |
+
os.makedirs(os.path.dirname(args.outfile), exist_ok=True)
|
273 |
+
command = 'ffmpeg -loglevel error -y -i {} -i {} -strict -2 -q:v 1 {}'.format(args.audio, 'temp/{}/result.mp4'.format(args.tmp_dir), args.outfile)
|
274 |
+
subprocess.call(command, shell=platform.system() != 'Windows')
|
275 |
+
print('outfile:', args.outfile)
|
276 |
+
|
277 |
+
|
278 |
+
# frames:256x256, full_frames: original size
|
279 |
+
def datagen(frames, mels, full_frames, frames_pil, cox):
|
280 |
+
img_batch, mel_batch, frame_batch, coords_batch, ref_batch, full_frame_batch = [], [], [], [], [], []
|
281 |
+
base_name = args.face.split('/')[-1]
|
282 |
+
refs = []
|
283 |
+
image_size = 256
|
284 |
+
|
285 |
+
# original frames
|
286 |
+
kp_extractor = KeypointExtractor()
|
287 |
+
fr_pil = [Image.fromarray(frame) for frame in frames]
|
288 |
+
lms = kp_extractor.extract_keypoint(fr_pil, 'temp/'+base_name+'x12_landmarks.txt')
|
289 |
+
frames_pil = [ (lm, frame) for frame,lm in zip(fr_pil, lms)] # frames is the croped version of modified face
|
290 |
+
crops, orig_images, quads = crop_faces(image_size, frames_pil, scale=1.0, use_fa=True)
|
291 |
+
inverse_transforms = [calc_alignment_coefficients(quad + 0.5, [[0, 0], [0, image_size], [image_size, image_size], [image_size, 0]]) for quad in quads]
|
292 |
+
del kp_extractor.detector
|
293 |
+
|
294 |
+
oy1,oy2,ox1,ox2 = cox
|
295 |
+
face_det_results = face_detect(full_frames, args, jaw_correction=True)
|
296 |
+
|
297 |
+
for inverse_transform, crop, full_frame, face_det in zip(inverse_transforms, crops, full_frames, face_det_results):
|
298 |
+
imc_pil = paste_image(inverse_transform, crop, Image.fromarray(
|
299 |
+
cv2.resize(full_frame[int(oy1):int(oy2), int(ox1):int(ox2)], (256, 256))))
|
300 |
+
|
301 |
+
ff = full_frame.copy()
|
302 |
+
ff[int(oy1):int(oy2), int(ox1):int(ox2)] = cv2.resize(np.array(imc_pil.convert('RGB')), (ox2 - ox1, oy2 - oy1))
|
303 |
+
oface, coords = face_det
|
304 |
+
y1, y2, x1, x2 = coords
|
305 |
+
refs.append(ff[y1: y2, x1:x2])
|
306 |
+
|
307 |
+
for i, m in enumerate(mels):
|
308 |
+
idx = 0 if args.static else i % len(frames)
|
309 |
+
frame_to_save = frames[idx].copy()
|
310 |
+
face = refs[idx]
|
311 |
+
oface, coords = face_det_results[idx].copy()
|
312 |
+
|
313 |
+
face = cv2.resize(face, (args.img_size, args.img_size))
|
314 |
+
oface = cv2.resize(oface, (args.img_size, args.img_size))
|
315 |
+
|
316 |
+
img_batch.append(oface)
|
317 |
+
ref_batch.append(face)
|
318 |
+
mel_batch.append(m)
|
319 |
+
coords_batch.append(coords)
|
320 |
+
frame_batch.append(frame_to_save)
|
321 |
+
full_frame_batch.append(full_frames[idx].copy())
|
322 |
+
|
323 |
+
if len(img_batch) >= args.LNet_batch_size:
|
324 |
+
img_batch, mel_batch, ref_batch = np.asarray(img_batch), np.asarray(mel_batch), np.asarray(ref_batch)
|
325 |
+
img_masked = img_batch.copy()
|
326 |
+
img_original = img_batch.copy()
|
327 |
+
img_masked[:, args.img_size//2:] = 0
|
328 |
+
img_batch = np.concatenate((img_masked, ref_batch), axis=3) / 255.
|
329 |
+
mel_batch = np.reshape(mel_batch, [len(mel_batch), mel_batch.shape[1], mel_batch.shape[2], 1])
|
330 |
+
|
331 |
+
yield img_batch, mel_batch, frame_batch, coords_batch, img_original, full_frame_batch
|
332 |
+
img_batch, mel_batch, frame_batch, coords_batch, img_original, full_frame_batch, ref_batch = [], [], [], [], [], [], []
|
333 |
+
|
334 |
+
if len(img_batch) > 0:
|
335 |
+
img_batch, mel_batch, ref_batch = np.asarray(img_batch), np.asarray(mel_batch), np.asarray(ref_batch)
|
336 |
+
img_masked = img_batch.copy()
|
337 |
+
img_original = img_batch.copy()
|
338 |
+
img_masked[:, args.img_size//2:] = 0
|
339 |
+
img_batch = np.concatenate((img_masked, ref_batch), axis=3) / 255.
|
340 |
+
mel_batch = np.reshape(mel_batch, [len(mel_batch), mel_batch.shape[1], mel_batch.shape[2], 1])
|
341 |
+
yield img_batch, mel_batch, frame_batch, coords_batch, img_original, full_frame_batch
|
342 |
+
|
343 |
+
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import numpy as np
|
2 |
+
import cv2, os, sys, subprocess, platform, torch
|
3 |
+
from tqdm import tqdm
|
4 |
+
from PIL import Image
|
5 |
+
from scipy.io import loadmat
|
6 |
+
|
7 |
+
sys.path.insert(0, 'third_part')
|
8 |
+
sys.path.insert(0, 'third_part/GPEN')
|
9 |
+
# sys.path.insert(0, 'third_part/GFPGAN')
|
10 |
+
|
11 |
+
# 3dmm extraction
|
12 |
+
from third_part.face3d.util.preprocess import align_img
|
13 |
+
from third_part.face3d.util.load_mats import load_lm3d
|
14 |
+
from third_part.face3d.extract_kp_videos import KeypointExtractor
|
15 |
+
# face enhancement
|
16 |
+
from third_part.GPEN.gpen_face_enhancer import FaceEnhancement
|
17 |
+
# from third_part.GFPGAN.gfpgan import GFPGANer
|
18 |
+
# expression control
|
19 |
+
from third_part.ganimation_replicate.model.ganimation import GANimationModel
|
20 |
+
|
21 |
+
from utils import audio
|
22 |
+
from utils.ffhq_preprocess import Croper
|
23 |
+
from utils.alignment_stit import crop_faces, calc_alignment_coefficients, paste_image
|
24 |
+
from utils.inference_utils import Laplacian_Pyramid_Blending_with_mask, face_detect, load_model, options, split_coeff, \
|
25 |
+
trans_image, transform_semantic, find_crop_norm_ratio, load_face3d_net, exp_aus_dict
|
26 |
+
import warnings
|
27 |
+
warnings.filterwarnings("ignore")
|
28 |
+
|
29 |
+
args = options()
|
30 |
+
|
31 |
+
def main():
|
32 |
+
device = 'cuda' if torch.cuda.is_available() else 'cpu'
|
33 |
+
print('[Info] Using {} for inference.'.format(device))
|
34 |
+
os.makedirs(os.path.join('temp', args.tmp_dir), exist_ok=True)
|
35 |
+
|
36 |
+
enhancer = FaceEnhancement(base_dir='checkpoints', size=512, model='GPEN-BFR-512', use_sr=False, \
|
37 |
+
sr_model='rrdb_realesrnet_psnr', channel_multiplier=2, narrow=1, device=device)
|
38 |
+
# restorer = GFPGANer(model_path='checkpoints/GFPGANv1.3.pth', upscale=1, arch='clean', \
|
39 |
+
# channel_multiplier=2, bg_upsampler=None)
|
40 |
+
|
41 |
+
base_name = args.face.split('/')[-1]
|
42 |
+
if os.path.isfile(args.face) and args.face.split('.')[1] in ['jpg', 'png', 'jpeg']:
|
43 |
+
args.static = True
|
44 |
+
if not os.path.isfile(args.face):
|
45 |
+
raise ValueError('--face argument must be a valid path to video/image file')
|
46 |
+
elif args.face.split('.')[1] in ['jpg', 'png', 'jpeg']:
|
47 |
+
full_frames = [cv2.imread(args.face)]
|
48 |
+
fps = args.fps
|
49 |
+
else:
|
50 |
+
video_stream = cv2.VideoCapture(args.face)
|
51 |
+
fps = video_stream.get(cv2.CAP_PROP_FPS)
|
52 |
+
|
53 |
+
full_frames = []
|
54 |
+
while True:
|
55 |
+
still_reading, frame = video_stream.read()
|
56 |
+
if not still_reading:
|
57 |
+
video_stream.release()
|
58 |
+
break
|
59 |
+
y1, y2, x1, x2 = args.crop
|
60 |
+
if x2 == -1: x2 = frame.shape[1]
|
61 |
+
if y2 == -1: y2 = frame.shape[0]
|
62 |
+
frame = frame[y1:y2, x1:x2]
|
63 |
+
full_frames.append(frame)
|
64 |
+
|
65 |
+
print ("[Step 0] Number of frames available for inference: "+str(len(full_frames)))
|
66 |
+
# face detection & cropping, cropping the first frame as the style of FFHQ
|
67 |
+
croper = Croper('checkpoints/shape_predictor_68_face_landmarks.dat')
|
68 |
+
full_frames_RGB = [cv2.cvtColor(frame, cv2.COLOR_BGR2RGB) for frame in full_frames]
|
69 |
+
full_frames_RGB, crop, quad = croper.crop(full_frames_RGB, xsize=512)
|
70 |
+
|
71 |
+
clx, cly, crx, cry = crop
|
72 |
+
lx, ly, rx, ry = quad
|
73 |
+
lx, ly, rx, ry = int(lx), int(ly), int(rx), int(ry)
|
74 |
+
oy1, oy2, ox1, ox2 = cly+ly, min(cly+ry, full_frames[0].shape[0]), clx+lx, min(clx+rx, full_frames[0].shape[1])
|
75 |
+
# original_size = (ox2 - ox1, oy2 - oy1)
|
76 |
+
frames_pil = [Image.fromarray(cv2.resize(frame,(256,256))) for frame in full_frames_RGB]
|
77 |
+
|
78 |
+
# get the landmark according to the detected face.
|
79 |
+
if not os.path.isfile('temp/'+base_name+'_landmarks.txt') or args.re_preprocess:
|
80 |
+
print('[Step 1] Landmarks Extraction in Video.')
|
81 |
+
kp_extractor = KeypointExtractor()
|
82 |
+
lm = kp_extractor.extract_keypoint(frames_pil, './temp/'+base_name+'_landmarks.txt')
|
83 |
+
else:
|
84 |
+
print('[Step 1] Using saved landmarks.')
|
85 |
+
lm = np.loadtxt('temp/'+base_name+'_landmarks.txt').astype(np.float32)
|
86 |
+
lm = lm.reshape([len(full_frames), -1, 2])
|
87 |
+
|
88 |
+
if not os.path.isfile('temp/'+base_name+'_coeffs.npy') or args.exp_img is not None or args.re_preprocess:
|
89 |
+
net_recon = load_face3d_net(args.face3d_net_path, device)
|
90 |
+
lm3d_std = load_lm3d('checkpoints/BFM')
|
91 |
+
|
92 |
+
video_coeffs = []
|
93 |
+
for idx in tqdm(range(len(frames_pil)), desc="[Step 2] 3DMM Extraction In Video:"):
|
94 |
+
frame = frames_pil[idx]
|
95 |
+
W, H = frame.size
|
96 |
+
lm_idx = lm[idx].reshape([-1, 2])
|
97 |
+
if np.mean(lm_idx) == -1:
|
98 |
+
lm_idx = (lm3d_std[:, :2]+1) / 2.
|
99 |
+
lm_idx = np.concatenate([lm_idx[:, :1] * W, lm_idx[:, 1:2] * H], 1)
|
100 |
+
else:
|
101 |
+
lm_idx[:, -1] = H - 1 - lm_idx[:, -1]
|
102 |
+
|
103 |
+
trans_params, im_idx, lm_idx, _ = align_img(frame, lm_idx, lm3d_std)
|
104 |
+
trans_params = np.array([float(item) for item in np.hsplit(trans_params, 5)]).astype(np.float32)
|
105 |
+
im_idx_tensor = torch.tensor(np.array(im_idx)/255., dtype=torch.float32).permute(2, 0, 1).to(device).unsqueeze(0)
|
106 |
+
with torch.no_grad():
|
107 |
+
coeffs = split_coeff(net_recon(im_idx_tensor))
|
108 |
+
|
109 |
+
pred_coeff = {key:coeffs[key].cpu().numpy() for key in coeffs}
|
110 |
+
pred_coeff = np.concatenate([pred_coeff['id'], pred_coeff['exp'], pred_coeff['tex'], pred_coeff['angle'],\
|
111 |
+
pred_coeff['gamma'], pred_coeff['trans'], trans_params[None]], 1)
|
112 |
+
video_coeffs.append(pred_coeff)
|
113 |
+
semantic_npy = np.array(video_coeffs)[:,0]
|
114 |
+
np.save('temp/'+base_name+'_coeffs.npy', semantic_npy)
|
115 |
+
else:
|
116 |
+
print('[Step 2] Using saved coeffs.')
|
117 |
+
semantic_npy = np.load('temp/'+base_name+'_coeffs.npy').astype(np.float32)
|
118 |
+
|
119 |
+
# generate the 3dmm coeff from a single image
|
120 |
+
if args.exp_img is not None and ('.png' in args.exp_img or '.jpg' in args.exp_img):
|
121 |
+
print('extract the exp from',args.exp_img)
|
122 |
+
exp_pil = Image.open(args.exp_img).convert('RGB')
|
123 |
+
lm3d_std = load_lm3d('third_part/face3d/BFM')
|
124 |
+
|
125 |
+
W, H = exp_pil.size
|
126 |
+
kp_extractor = KeypointExtractor()
|
127 |
+
lm_exp = kp_extractor.extract_keypoint([exp_pil], 'temp/'+base_name+'_temp.txt')[0]
|
128 |
+
if np.mean(lm_exp) == -1:
|
129 |
+
lm_exp = (lm3d_std[:, :2] + 1) / 2.
|
130 |
+
lm_exp = np.concatenate(
|
131 |
+
[lm_exp[:, :1] * W, lm_exp[:, 1:2] * H], 1)
|
132 |
+
else:
|
133 |
+
lm_exp[:, -1] = H - 1 - lm_exp[:, -1]
|
134 |
+
|
135 |
+
trans_params, im_exp, lm_exp, _ = align_img(exp_pil, lm_exp, lm3d_std)
|
136 |
+
trans_params = np.array([float(item) for item in np.hsplit(trans_params, 5)]).astype(np.float32)
|
137 |
+
im_exp_tensor = torch.tensor(np.array(im_exp)/255., dtype=torch.float32).permute(2, 0, 1).to(device).unsqueeze(0)
|
138 |
+
with torch.no_grad():
|
139 |
+
expression = split_coeff(net_recon(im_exp_tensor))['exp'][0]
|
140 |
+
del net_recon
|
141 |
+
elif args.exp_img == 'smile':
|
142 |
+
expression = torch.tensor(loadmat('checkpoints/expression.mat')['expression_mouth'])[0]
|
143 |
+
else:
|
144 |
+
print('using expression center')
|
145 |
+
expression = torch.tensor(loadmat('checkpoints/expression.mat')['expression_center'])[0]
|
146 |
+
|
147 |
+
# load DNet, model(LNet and ENet)
|
148 |
+
D_Net, model = load_model(args, device)
|
149 |
+
|
150 |
+
if not os.path.isfile('temp/'+base_name+'_stablized.npy') or args.re_preprocess:
|
151 |
+
imgs = []
|
152 |
+
for idx in tqdm(range(len(frames_pil)), desc="[Step 3] Stabilize the expression In Video:"):
|
153 |
+
if args.one_shot:
|
154 |
+
source_img = trans_image(frames_pil[0]).unsqueeze(0).to(device)
|
155 |
+
semantic_source_numpy = semantic_npy[0:1]
|
156 |
+
else:
|
157 |
+
source_img = trans_image(frames_pil[idx]).unsqueeze(0).to(device)
|
158 |
+
semantic_source_numpy = semantic_npy[idx:idx+1]
|
159 |
+
ratio = find_crop_norm_ratio(semantic_source_numpy, semantic_npy)
|
160 |
+
coeff = transform_semantic(semantic_npy, idx, ratio).unsqueeze(0).to(device)
|
161 |
+
|
162 |
+
# hacking the new expression
|
163 |
+
coeff[:, :64, :] = expression[None, :64, None].to(device)
|
164 |
+
with torch.no_grad():
|
165 |
+
output = D_Net(source_img, coeff)
|
166 |
+
img_stablized = np.uint8((output['fake_image'].squeeze(0).permute(1,2,0).cpu().clamp_(-1, 1).numpy() + 1 )/2. * 255)
|
167 |
+
imgs.append(cv2.cvtColor(img_stablized,cv2.COLOR_RGB2BGR))
|
168 |
+
np.save('temp/'+base_name+'_stablized.npy',imgs)
|
169 |
+
del D_Net
|
170 |
+
else:
|
171 |
+
print('[Step 3] Using saved stabilized video.')
|
172 |
+
imgs = np.load('temp/'+base_name+'_stablized.npy')
|
173 |
+
torch.cuda.empty_cache()
|
174 |
+
|
175 |
+
if not args.audio.endswith('.wav'):
|
176 |
+
command = 'ffmpeg -loglevel error -y -i {} -strict -2 {}'.format(args.audio, 'temp/{}/temp.wav'.format(args.tmp_dir))
|
177 |
+
subprocess.call(command, shell=True)
|
178 |
+
args.audio = 'temp/{}/temp.wav'.format(args.tmp_dir)
|
179 |
+
wav = audio.load_wav(args.audio, 16000)
|
180 |
+
mel = audio.melspectrogram(wav)
|
181 |
+
if np.isnan(mel.reshape(-1)).sum() > 0:
|
182 |
+
raise ValueError('Mel contains nan! Using a TTS voice? Add a small epsilon noise to the wav file and try again')
|
183 |
+
|
184 |
+
mel_step_size, mel_idx_multiplier, i, mel_chunks = 16, 80./fps, 0, []
|
185 |
+
while True:
|
186 |
+
start_idx = int(i * mel_idx_multiplier)
|
187 |
+
if start_idx + mel_step_size > len(mel[0]):
|
188 |
+
mel_chunks.append(mel[:, len(mel[0]) - mel_step_size:])
|
189 |
+
break
|
190 |
+
mel_chunks.append(mel[:, start_idx : start_idx + mel_step_size])
|
191 |
+
i += 1
|
192 |
+
|
193 |
+
print("[Step 4] Load audio; Length of mel chunks: {}".format(len(mel_chunks)))
|
194 |
+
imgs = imgs[:len(mel_chunks)]
|
195 |
+
full_frames = full_frames[:len(mel_chunks)]
|
196 |
+
lm = lm[:len(mel_chunks)]
|
197 |
+
|
198 |
+
imgs_enhanced = []
|
199 |
+
for idx in tqdm(range(len(imgs)), desc='[Step 5] Reference Enhancement'):
|
200 |
+
img = imgs[idx]
|
201 |
+
pred, _, _ = enhancer.process(img, img, face_enhance=True, possion_blending=False)
|
202 |
+
imgs_enhanced.append(pred)
|
203 |
+
gen = datagen(imgs_enhanced.copy(), mel_chunks, full_frames, None, (oy1,oy2,ox1,ox2))
|
204 |
+
|
205 |
+
frame_h, frame_w = full_frames[0].shape[:-1]
|
206 |
+
out = cv2.VideoWriter('temp/{}/result.mp4'.format(args.tmp_dir), cv2.VideoWriter_fourcc(*'mp4v'), fps, (frame_w, frame_h))
|
207 |
+
|
208 |
+
if args.up_face != 'original':
|
209 |
+
instance = GANimationModel()
|
210 |
+
instance.initialize()
|
211 |
+
instance.setup()
|
212 |
+
|
213 |
+
kp_extractor = KeypointExtractor()
|
214 |
+
for i, (img_batch, mel_batch, frames, coords, img_original, f_frames) in enumerate(tqdm(gen, desc='[Step 6] Lip Synthesis:', total=int(np.ceil(float(len(mel_chunks)) / args.LNet_batch_size)))):
|
215 |
+
img_batch = torch.FloatTensor(np.transpose(img_batch, (0, 3, 1, 2))).to(device)
|
216 |
+
mel_batch = torch.FloatTensor(np.transpose(mel_batch, (0, 3, 1, 2))).to(device)
|
217 |
+
img_original = torch.FloatTensor(np.transpose(img_original, (0, 3, 1, 2))).to(device)/255. # BGR -> RGB
|
218 |
+
|
219 |
+
with torch.no_grad():
|
220 |
+
incomplete, reference = torch.split(img_batch, 3, dim=1)
|
221 |
+
pred, low_res = model(mel_batch, img_batch, reference)
|
222 |
+
pred = torch.clamp(pred, 0, 1)
|
223 |
+
|
224 |
+
if args.up_face in ['sad', 'angry', 'surprise']:
|
225 |
+
tar_aus = exp_aus_dict[args.up_face]
|
226 |
+
else:
|
227 |
+
pass
|
228 |
+
|
229 |
+
if args.up_face == 'original':
|
230 |
+
cur_gen_faces = img_original
|
231 |
+
else:
|
232 |
+
test_batch = {'src_img': torch.nn.functional.interpolate((img_original * 2 - 1), size=(128, 128), mode='bilinear'),
|
233 |
+
'tar_aus': tar_aus.repeat(len(incomplete), 1)}
|
234 |
+
instance.feed_batch(test_batch)
|
235 |
+
instance.forward()
|
236 |
+
cur_gen_faces = torch.nn.functional.interpolate(instance.fake_img / 2. + 0.5, size=(384, 384), mode='bilinear')
|
237 |
+
|
238 |
+
if args.without_rl1 is not False:
|
239 |
+
incomplete, reference = torch.split(img_batch, 3, dim=1)
|
240 |
+
mask = torch.where(incomplete==0, torch.ones_like(incomplete), torch.zeros_like(incomplete))
|
241 |
+
pred = pred * mask + cur_gen_faces * (1 - mask)
|
242 |
+
|
243 |
+
pred = pred.cpu().numpy().transpose(0, 2, 3, 1) * 255.
|
244 |
+
|
245 |
+
torch.cuda.empty_cache()
|
246 |
+
for p, f, xf, c in zip(pred, frames, f_frames, coords):
|
247 |
+
y1, y2, x1, x2 = c
|
248 |
+
p = cv2.resize(p.astype(np.uint8), (x2 - x1, y2 - y1))
|
249 |
+
|
250 |
+
ff = xf.copy()
|
251 |
+
ff[y1:y2, x1:x2] = p
|
252 |
+
|
253 |
+
# month region enhancement by GFPGAN
|
254 |
+
# cropped_faces, restored_faces, restored_img = restorer.enhance(
|
255 |
+
# ff, has_aligned=False, only_center_face=True, paste_back=True)
|
256 |
+
restored_img = ff
|
257 |
+
mm = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 0, 0, 0, 0, 0, 0]
|
258 |
+
mouse_mask = np.zeros_like(restored_img)
|
259 |
+
tmp_mask = enhancer.faceparser.process(restored_img[y1:y2, x1:x2], mm)[0]
|
260 |
+
mouse_mask[y1:y2, x1:x2]= cv2.resize(tmp_mask, (x2 - x1, y2 - y1))[:, :, np.newaxis] / 255.
|
261 |
+
|
262 |
+
height, width = ff.shape[:2]
|
263 |
+
restored_img, ff, full_mask = [cv2.resize(x, (512, 512)) for x in (restored_img, ff, np.float32(mouse_mask))]
|
264 |
+
img = Laplacian_Pyramid_Blending_with_mask(restored_img, ff, full_mask[:, :, 0], 10)
|
265 |
+
pp = np.uint8(cv2.resize(np.clip(img, 0 ,255), (width, height)))
|
266 |
+
|
267 |
+
pp, orig_faces, enhanced_faces = enhancer.process(pp, xf, bbox=c, face_enhance=False, possion_blending=True)
|
268 |
+
out.write(pp)
|
269 |
+
out.release()
|
270 |
+
|
271 |
+
if not os.path.isdir(os.path.dirname(args.outfile)):
|
272 |
+
os.makedirs(os.path.dirname(args.outfile), exist_ok=True)
|
273 |
+
command = 'ffmpeg -loglevel error -y -i {} -i {} -strict -2 -q:v 1 {}'.format(args.audio, 'temp/{}/result.mp4'.format(args.tmp_dir), args.outfile)
|
274 |
+
subprocess.call(command, shell=platform.system() != 'Windows')
|
275 |
+
print('outfile:', args.outfile)
|
276 |
+
|
277 |
+
|
278 |
+
# frames:256x256, full_frames: original size
|
279 |
+
def datagen(frames, mels, full_frames, frames_pil, cox):
|
280 |
+
img_batch, mel_batch, frame_batch, coords_batch, ref_batch, full_frame_batch = [], [], [], [], [], []
|
281 |
+
base_name = args.face.split('/')[-1]
|
282 |
+
refs = []
|
283 |
+
image_size = 256
|
284 |
+
|
285 |
+
# original frames
|
286 |
+
kp_extractor = KeypointExtractor()
|
287 |
+
fr_pil = [Image.fromarray(frame) for frame in frames]
|
288 |
+
lms = kp_extractor.extract_keypoint(fr_pil, 'temp/'+base_name+'x12_landmarks.txt')
|
289 |
+
frames_pil = [ (lm, frame) for frame,lm in zip(fr_pil, lms)] # frames is the croped version of modified face
|
290 |
+
crops, orig_images, quads = crop_faces(image_size, frames_pil, scale=1.0, use_fa=True)
|
291 |
+
inverse_transforms = [calc_alignment_coefficients(quad + 0.5, [[0, 0], [0, image_size], [image_size, image_size], [image_size, 0]]) for quad in quads]
|
292 |
+
del kp_extractor.detector
|
293 |
+
|
294 |
+
oy1,oy2,ox1,ox2 = cox
|
295 |
+
face_det_results = face_detect(full_frames, args, jaw_correction=True)
|
296 |
+
|
297 |
+
for inverse_transform, crop, full_frame, face_det in zip(inverse_transforms, crops, full_frames, face_det_results):
|
298 |
+
imc_pil = paste_image(inverse_transform, crop, Image.fromarray(
|
299 |
+
cv2.resize(full_frame[int(oy1):int(oy2), int(ox1):int(ox2)], (256, 256))))
|
300 |
+
|
301 |
+
ff = full_frame.copy()
|
302 |
+
ff[int(oy1):int(oy2), int(ox1):int(ox2)] = cv2.resize(np.array(imc_pil.convert('RGB')), (ox2 - ox1, oy2 - oy1))
|
303 |
+
oface, coords = face_det
|
304 |
+
y1, y2, x1, x2 = coords
|
305 |
+
refs.append(ff[y1: y2, x1:x2])
|
306 |
+
|
307 |
+
for i, m in enumerate(mels):
|
308 |
+
idx = 0 if args.static else i % len(frames)
|
309 |
+
frame_to_save = frames[idx].copy()
|
310 |
+
face = refs[idx]
|
311 |
+
oface, coords = face_det_results[idx].copy()
|
312 |
+
|
313 |
+
face = cv2.resize(face, (args.img_size, args.img_size))
|
314 |
+
oface = cv2.resize(oface, (args.img_size, args.img_size))
|
315 |
+
|
316 |
+
img_batch.append(oface)
|
317 |
+
ref_batch.append(face)
|
318 |
+
mel_batch.append(m)
|
319 |
+
coords_batch.append(coords)
|
320 |
+
frame_batch.append(frame_to_save)
|
321 |
+
full_frame_batch.append(full_frames[idx].copy())
|
322 |
+
|
323 |
+
if len(img_batch) >= args.LNet_batch_size:
|
324 |
+
img_batch, mel_batch, ref_batch = np.asarray(img_batch), np.asarray(mel_batch), np.asarray(ref_batch)
|
325 |
+
img_masked = img_batch.copy()
|
326 |
+
img_original = img_batch.copy()
|
327 |
+
img_masked[:, args.img_size//2:] = 0
|
328 |
+
img_batch = np.concatenate((img_masked, ref_batch), axis=3) / 255.
|
329 |
+
mel_batch = np.reshape(mel_batch, [len(mel_batch), mel_batch.shape[1], mel_batch.shape[2], 1])
|
330 |
+
|
331 |
+
yield img_batch, mel_batch, frame_batch, coords_batch, img_original, full_frame_batch
|
332 |
+
img_batch, mel_batch, frame_batch, coords_batch, img_original, full_frame_batch, ref_batch = [], [], [], [], [], [], []
|
333 |
+
|
334 |
+
if len(img_batch) > 0:
|
335 |
+
img_batch, mel_batch, ref_batch = np.asarray(img_batch), np.asarray(mel_batch), np.asarray(ref_batch)
|
336 |
+
img_masked = img_batch.copy()
|
337 |
+
img_original = img_batch.copy()
|
338 |
+
img_masked[:, args.img_size//2:] = 0
|
339 |
+
img_batch = np.concatenate((img_masked, ref_batch), axis=3) / 255.
|
340 |
+
mel_batch = np.reshape(mel_batch, [len(mel_batch), mel_batch.shape[1], mel_batch.shape[2], 1])
|
341 |
+
yield img_batch, mel_batch, frame_batch, coords_batch, img_original, full_frame_batch
|
342 |
+
|
343 |
+
|
344 |
+
if __name__ == '__main__':
|
345 |
+
main()
|
videoretalking/inference1.py
ADDED
@@ -0,0 +1,347 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import numpy as np
|
2 |
+
import cv2, os, sys, subprocess, platform, torch
|
3 |
+
from tqdm import tqdm
|
4 |
+
from PIL import Image
|
5 |
+
from scipy.io import loadmat
|
6 |
+
|
7 |
+
sys.path.insert(0, 'third_part')
|
8 |
+
sys.path.insert(0, 'third_part/GPEN')
|
9 |
+
sys.path.insert(0, 'third_part/GFPGAN')
|
10 |
+
|
11 |
+
# 3dmm extraction
|
12 |
+
from third_part.face3d.util.preprocess import align_img
|
13 |
+
from third_part.face3d.util.load_mats import load_lm3d
|
14 |
+
from third_part.face3d.extract_kp_videos import KeypointExtractor
|
15 |
+
# face enhancement
|
16 |
+
from third_part.GPEN.gpen_face_enhancer import FaceEnhancement
|
17 |
+
from third_part.GFPGAN.gfpgan import GFPGANer
|
18 |
+
# expression control
|
19 |
+
from third_part.ganimation_replicate.model.ganimation import GANimationModel
|
20 |
+
|
21 |
+
from utils import audio
|
22 |
+
from utils.ffhq_preprocess import Croper
|
23 |
+
from utils.alignment_stit import crop_faces, calc_alignment_coefficients, paste_image
|
24 |
+
from utils.inference_utils import Laplacian_Pyramid_Blending_with_mask, face_detect, load_model, options, split_coeff, \
|
25 |
+
trans_image, transform_semantic, find_crop_norm_ratio, load_face3d_net, exp_aus_dict
|
26 |
+
import warnings
|
27 |
+
warnings.filterwarnings("ignore")
|
28 |
+
|
29 |
+
args = options()
|
30 |
+
|
31 |
+
def main():
|
32 |
+
device = 'cuda' if torch.cuda.is_available() else 'cpu'
|
33 |
+
print('[Info] Using {} for inference.'.format(device))
|
34 |
+
os.makedirs(os.path.join('temp', args.tmp_dir), exist_ok=True)
|
35 |
+
|
36 |
+
enhancer = FaceEnhancement(base_dir='checkpoints', size=1024, model='GPEN-BFR-1024', use_sr=False, \
|
37 |
+
sr_model='rrdb_realesrnet_psnr', channel_multiplier=2, narrow=1, device=device)
|
38 |
+
restorer = GFPGANer(model_path='checkpoints/GFPGANv1.3.pth', upscale=1, arch='clean', \
|
39 |
+
channel_multiplier=2, bg_upsampler=None)
|
40 |
+
|
41 |
+
base_name = args.face.split('/')[-1]
|
42 |
+
if os.path.isfile(args.face) and args.face.split('.')[1] in ['jpg', 'png', 'jpeg']:
|
43 |
+
args.static = True
|
44 |
+
if not os.path.isfile(args.face):
|
45 |
+
raise ValueError('--face argument must be a valid path to video/image file')
|
46 |
+
elif args.face.split('.')[1] in ['jpg', 'png', 'jpeg']:
|
47 |
+
full_frames = [cv2.imread(args.face)]
|
48 |
+
fps = args.fps
|
49 |
+
else:
|
50 |
+
video_stream = cv2.VideoCapture(args.face)
|
51 |
+
fps = video_stream.get(cv2.CAP_PROP_FPS)
|
52 |
+
|
53 |
+
full_frames = []
|
54 |
+
while True:
|
55 |
+
still_reading, frame = video_stream.read()
|
56 |
+
if not still_reading:
|
57 |
+
video_stream.release()
|
58 |
+
break
|
59 |
+
y1, y2, x1, x2 = args.crop
|
60 |
+
if x2 == -1: x2 = frame.shape[1]
|
61 |
+
if y2 == -1: y2 = frame.shape[0]
|
62 |
+
frame = frame[y1:y2, x1:x2]
|
63 |
+
full_frames.append(frame)
|
64 |
+
|
65 |
+
print ("[Step 0] Number of frames available for inference: "+str(len(full_frames)))
|
66 |
+
# face detection & cropping, cropping the first frame as the style of FFHQ
|
67 |
+
croper = Croper('checkpoints/shape_predictor_68_face_landmarks.dat')
|
68 |
+
full_frames_RGB = [cv2.cvtColor(frame, cv2.COLOR_BGR2RGB) for frame in full_frames]
|
69 |
+
full_frames_RGB, crop, quad = croper.crop(full_frames_RGB, xsize=512)
|
70 |
+
|
71 |
+
clx, cly, crx, cry = crop
|
72 |
+
lx, ly, rx, ry = quad
|
73 |
+
lx, ly, rx, ry = int(lx), int(ly), int(rx), int(ry)
|
74 |
+
oy1, oy2, ox1, ox2 = cly+ly, min(cly+ry, full_frames[0].shape[0]), clx+lx, min(clx+rx, full_frames[0].shape[1])
|
75 |
+
# original_size = (ox2 - ox1, oy2 - oy1)
|
76 |
+
frames_pil = [Image.fromarray(cv2.resize(frame,(256,256))) for frame in full_frames_RGB]
|
77 |
+
|
78 |
+
# get the landmark according to the detected face.
|
79 |
+
if not os.path.isfile('temp/'+base_name+'_landmarks.txt') or args.re_preprocess:
|
80 |
+
print('[Step 1] Landmarks Extraction in Video.')
|
81 |
+
kp_extractor = KeypointExtractor()
|
82 |
+
lm = kp_extractor.extract_keypoint(frames_pil, './temp/'+base_name+'_landmarks.txt')
|
83 |
+
else:
|
84 |
+
print('[Step 1] Using saved landmarks.')
|
85 |
+
lm = np.loadtxt('temp/'+base_name+'_landmarks.txt').astype(np.float32)
|
86 |
+
lm = lm.reshape([len(full_frames), -1, 2])
|
87 |
+
|
88 |
+
if not os.path.isfile('temp/'+base_name+'_coeffs.npy') or args.exp_img is not None or args.re_preprocess:
|
89 |
+
net_recon = load_face3d_net(args.face3d_net_path, device)
|
90 |
+
lm3d_std = load_lm3d('checkpoints/BFM')
|
91 |
+
|
92 |
+
video_coeffs = []
|
93 |
+
for idx in tqdm(range(len(frames_pil)), desc="[Step 2] 3DMM Extraction In Video:"):
|
94 |
+
frame = frames_pil[idx]
|
95 |
+
W, H = frame.size
|
96 |
+
lm_idx = lm[idx].reshape([-1, 2])
|
97 |
+
if np.mean(lm_idx) == -1:
|
98 |
+
lm_idx = (lm3d_std[:, :2]+1) / 2.
|
99 |
+
lm_idx = np.concatenate([lm_idx[:, :1] * W, lm_idx[:, 1:2] * H], 1)
|
100 |
+
else:
|
101 |
+
lm_idx[:, -1] = H - 1 - lm_idx[:, -1]
|
102 |
+
|
103 |
+
trans_params, im_idx, lm_idx, _ = align_img(frame, lm_idx, lm3d_std)
|
104 |
+
trans_params = np.array([float(item) for item in np.hsplit(trans_params, 5)]).astype(np.float32)
|
105 |
+
im_idx_tensor = torch.tensor(np.array(im_idx)/255., dtype=torch.float32).permute(2, 0, 1).to(device).unsqueeze(0)
|
106 |
+
with torch.no_grad():
|
107 |
+
coeffs = split_coeff(net_recon(im_idx_tensor))
|
108 |
+
|
109 |
+
pred_coeff = {key:coeffs[key].cpu().numpy() for key in coeffs}
|
110 |
+
pred_coeff = np.concatenate([pred_coeff['id'], pred_coeff['exp'], pred_coeff['tex'], pred_coeff['angle'],\
|
111 |
+
pred_coeff['gamma'], pred_coeff['trans'], trans_params[None]], 1)
|
112 |
+
video_coeffs.append(pred_coeff)
|
113 |
+
semantic_npy = np.array(video_coeffs)[:,0]
|
114 |
+
np.save('temp/'+base_name+'_coeffs.npy', semantic_npy)
|
115 |
+
else:
|
116 |
+
print('[Step 2] Using saved coeffs.')
|
117 |
+
semantic_npy = np.load('temp/'+base_name+'_coeffs.npy').astype(np.float32)
|
118 |
+
|
119 |
+
# generate the 3dmm coeff from a single image
|
120 |
+
if args.exp_img is not None and ('.png' in args.exp_img or '.jpg' in args.exp_img):
|
121 |
+
print('extract the exp from',args.exp_img)
|
122 |
+
exp_pil = Image.open(args.exp_img).convert('RGB')
|
123 |
+
lm3d_std = load_lm3d('third_part/face3d/BFM')
|
124 |
+
|
125 |
+
W, H = exp_pil.size
|
126 |
+
kp_extractor = KeypointExtractor()
|
127 |
+
lm_exp = kp_extractor.extract_keypoint([exp_pil], 'temp/'+base_name+'_temp.txt')[0]
|
128 |
+
if np.mean(lm_exp) == -1:
|
129 |
+
lm_exp = (lm3d_std[:, :2] + 1) / 2.
|
130 |
+
lm_exp = np.concatenate(
|
131 |
+
[lm_exp[:, :1] * W, lm_exp[:, 1:2] * H], 1)
|
132 |
+
else:
|
133 |
+
lm_exp[:, -1] = H - 1 - lm_exp[:, -1]
|
134 |
+
|
135 |
+
trans_params, im_exp, lm_exp, _ = align_img(exp_pil, lm_exp, lm3d_std)
|
136 |
+
trans_params = np.array([float(item) for item in np.hsplit(trans_params, 5)]).astype(np.float32)
|
137 |
+
im_exp_tensor = torch.tensor(np.array(im_exp)/255., dtype=torch.float32).permute(2, 0, 1).to(device).unsqueeze(0)
|
138 |
+
with torch.no_grad():
|
139 |
+
expression = split_coeff(net_recon(im_exp_tensor))['exp'][0]
|
140 |
+
del net_recon
|
141 |
+
elif args.exp_img == 'smile':
|
142 |
+
expression = torch.tensor(loadmat('checkpoints/expression.mat')['expression_mouth'])[0]
|
143 |
+
else:
|
144 |
+
print('using expression center')
|
145 |
+
expression = torch.tensor(loadmat('checkpoints/expression.mat')['expression_center'])[0]
|
146 |
+
|
147 |
+
# load DNet, model(LNet and ENet)
|
148 |
+
D_Net, model = load_model(args, device)
|
149 |
+
|
150 |
+
if not os.path.isfile('temp/'+base_name+'_stablized.npy') or args.re_preprocess:
|
151 |
+
imgs = []
|
152 |
+
for idx in tqdm(range(len(frames_pil)), desc="[Step 3] Stabilize the expression In Video:"):
|
153 |
+
if args.one_shot:
|
154 |
+
source_img = trans_image(frames_pil[0]).unsqueeze(0).to(device)
|
155 |
+
semantic_source_numpy = semantic_npy[0:1]
|
156 |
+
else:
|
157 |
+
source_img = trans_image(frames_pil[idx]).unsqueeze(0).to(device)
|
158 |
+
semantic_source_numpy = semantic_npy[idx:idx+1]
|
159 |
+
ratio = find_crop_norm_ratio(semantic_source_numpy, semantic_npy)
|
160 |
+
coeff = transform_semantic(semantic_npy, idx, ratio).unsqueeze(0).to(device)
|
161 |
+
|
162 |
+
# hacking the new expression
|
163 |
+
coeff[:, :64, :] = expression[None, :64, None].to(device)
|
164 |
+
with torch.no_grad():
|
165 |
+
output = D_Net(source_img, coeff)
|
166 |
+
img_stablized = np.uint8((output['fake_image'].squeeze(0).permute(1,2,0).cpu().clamp_(-1, 1).numpy() + 1 )/2. * 255)
|
167 |
+
imgs.append(cv2.cvtColor(img_stablized,cv2.COLOR_RGB2BGR))
|
168 |
+
np.save('temp/'+base_name+'_stablized.npy',imgs)
|
169 |
+
del D_Net
|
170 |
+
else:
|
171 |
+
print('[Step 3] Using saved stabilized video.')
|
172 |
+
imgs = np.load('temp/'+base_name+'_stablized.npy')
|
173 |
+
torch.cuda.empty_cache()
|
174 |
+
|
175 |
+
if not args.audio.endswith('.wav'):
|
176 |
+
command = 'ffmpeg -loglevel error -y -i {} -strict -2 {}'.format(args.audio, 'temp/{}/temp.wav'.format(args.tmp_dir))
|
177 |
+
subprocess.call(command, shell=True)
|
178 |
+
args.audio = 'temp/{}/temp.wav'.format(args.tmp_dir)
|
179 |
+
wav = audio.load_wav(args.audio, 16000)
|
180 |
+
mel = audio.melspectrogram(wav)
|
181 |
+
if np.isnan(mel.reshape(-1)).sum() > 0:
|
182 |
+
raise ValueError('Mel contains nan! Using a TTS voice? Add a small epsilon noise to the wav file and try again')
|
183 |
+
|
184 |
+
mel_step_size, mel_idx_multiplier, i, mel_chunks = 16, 80./fps, 0, []
|
185 |
+
while True:
|
186 |
+
start_idx = int(i * mel_idx_multiplier)
|
187 |
+
if start_idx + mel_step_size > len(mel[0]):
|
188 |
+
mel_chunks.append(mel[:, len(mel[0]) - mel_step_size:])
|
189 |
+
break
|
190 |
+
mel_chunks.append(mel[:, start_idx : start_idx + mel_step_size])
|
191 |
+
i += 1
|
192 |
+
|
193 |
+
print("[Step 4] Load audio; Length of mel chunks: {}".format(len(mel_chunks)))
|
194 |
+
imgs = imgs[:len(mel_chunks)]
|
195 |
+
full_frames = full_frames[:len(mel_chunks)]
|
196 |
+
lm = lm[:len(mel_chunks)]
|
197 |
+
|
198 |
+
imgs_enhanced = []
|
199 |
+
for idx in tqdm(range(len(imgs)), desc='[Step 5] Reference Enhancement'):
|
200 |
+
img = imgs[idx]
|
201 |
+
pred, _, _ = enhancer.process(img, img, face_enhance=True, possion_blending=False)
|
202 |
+
imgs_enhanced.append(pred)
|
203 |
+
gen = datagen(imgs_enhanced.copy(), mel_chunks, full_frames, None, (oy1,oy2,ox1,ox2))
|
204 |
+
|
205 |
+
frame_h, frame_w = full_frames[0].shape[:-1]
|
206 |
+
out = cv2.VideoWriter('temp/{}/result.mp4'.format(args.tmp_dir), cv2.VideoWriter_fourcc(*'mp4v'), fps, (frame_w, frame_h))
|
207 |
+
|
208 |
+
if args.up_face != 'original':
|
209 |
+
instance = GANimationModel()
|
210 |
+
instance.initialize()
|
211 |
+
instance.setup()
|
212 |
+
|
213 |
+
kp_extractor = KeypointExtractor()
|
214 |
+
for i, (img_batch, mel_batch, frames, coords, img_original, f_frames) in enumerate(tqdm(gen, desc='[Step 6] Lip Synthesis:', total=int(np.ceil(float(len(mel_chunks)) / args.LNet_batch_size)))):
|
215 |
+
img_batch = torch.FloatTensor(np.transpose(img_batch, (0, 3, 1, 2))).to(device)
|
216 |
+
mel_batch = torch.FloatTensor(np.transpose(mel_batch, (0, 3, 1, 2))).to(device)
|
217 |
+
img_original = torch.FloatTensor(np.transpose(img_original, (0, 3, 1, 2))).to(device)/255. # BGR -> RGB
|
218 |
+
|
219 |
+
with torch.no_grad():
|
220 |
+
incomplete, reference = torch.split(img_batch, 3, dim=1)
|
221 |
+
pred, low_res = model(mel_batch, img_batch, reference)
|
222 |
+
pred = torch.clamp(pred, 0, 1)
|
223 |
+
|
224 |
+
if args.up_face in ['sad', 'angry', 'surprise']:
|
225 |
+
tar_aus = exp_aus_dict[args.up_face]
|
226 |
+
else:
|
227 |
+
pass
|
228 |
+
|
229 |
+
if args.up_face == 'original':
|
230 |
+
cur_gen_faces = img_original
|
231 |
+
else:
|
232 |
+
test_batch = {'src_img': torch.nn.functional.interpolate((img_original * 2 - 1), size=(128, 128), mode='bilinear'),
|
233 |
+
'tar_aus': tar_aus.repeat(len(incomplete), 1)}
|
234 |
+
instance.feed_batch(test_batch)
|
235 |
+
instance.forward()
|
236 |
+
cur_gen_faces = torch.nn.functional.interpolate(instance.fake_img / 2. + 0.5, size=(384, 384), mode='bilinear')
|
237 |
+
|
238 |
+
if args.without_rl1 is not False:
|
239 |
+
incomplete, reference = torch.split(img_batch, 3, dim=1)
|
240 |
+
mask = torch.where(incomplete==0, torch.ones_like(incomplete), torch.zeros_like(incomplete))
|
241 |
+
pred = pred * mask + cur_gen_faces * (1 - mask)
|
242 |
+
|
243 |
+
pred = pred.cpu().numpy().transpose(0, 2, 3, 1) * 255.
|
244 |
+
|
245 |
+
torch.cuda.empty_cache()
|
246 |
+
for p, f, xf, c in zip(pred, frames, f_frames, coords):
|
247 |
+
y1, y2, x1, x2 = c
|
248 |
+
p = cv2.resize(p.astype(np.uint8), (x2 - x1, y2 - y1))
|
249 |
+
|
250 |
+
ff = xf.copy()
|
251 |
+
ff[y1:y2, x1:x2] = p
|
252 |
+
height, width = ff.shape[:2]
|
253 |
+
pp = np.uint8(cv2.resize(np.clip(ff, 0 ,512), (width, height)))
|
254 |
+
|
255 |
+
pp, orig_faces, enhanced_faces = enhancer.process(pp, xf, bbox=c, face_enhance=True, possion_blending=False)
|
256 |
+
# month region enhancement by GFPGAN
|
257 |
+
cropped_faces, restored_faces, restored_img = restorer.enhance(
|
258 |
+
pp, has_aligned=False, only_center_face=True, paste_back=True)
|
259 |
+
# 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12,
|
260 |
+
mm = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 0, 0, 0, 0, 0, 0]
|
261 |
+
#mm = [0, 255, 255, 255, 255, 255, 255, 255, 0, 0, 255, 255, 255, 0, 0, 0, 0, 0, 0]
|
262 |
+
mouse_mask = np.zeros_like(restored_img)
|
263 |
+
tmp_mask = enhancer.faceparser.process(restored_img[y1:y2, x1:x2], mm)[0]
|
264 |
+
mouse_mask[y1:y2, x1:x2]= cv2.resize(tmp_mask, (x2 - x1, y2 - y1))[:, :, np.newaxis] / 255.
|
265 |
+
|
266 |
+
|
267 |
+
restored_img, ff, full_mask = [cv2.resize(x, (1024, 1024)) for x in (restored_img, ff, np.float32(mouse_mask))]
|
268 |
+
img = Laplacian_Pyramid_Blending_with_mask(restored_img, ff, full_mask[:, :, 0], 10)
|
269 |
+
pp = np.uint8(cv2.resize(np.clip(img, 0 ,1024), (width, height)))
|
270 |
+
out.write(pp)
|
271 |
+
out.release()
|
272 |
+
|
273 |
+
if not os.path.isdir(os.path.dirname(args.outfile)):
|
274 |
+
os.makedirs(os.path.dirname(args.outfile), exist_ok=True)
|
275 |
+
command = 'ffmpeg -loglevel error -y -i {} -i {} -strict -2 -q:v 1 {}'.format(args.audio, 'temp/{}/result.mp4'.format(args.tmp_dir), args.outfile)
|
276 |
+
subprocess.call(command, shell=platform.system() != 'Windows')
|
277 |
+
print('outfile:', args.outfile)
|
278 |
+
|
279 |
+
|
280 |
+
# frames:256x256, full_frames: original size
|
281 |
+
def datagen(frames, mels, full_frames, frames_pil, cox):
|
282 |
+
img_batch, mel_batch, frame_batch, coords_batch, ref_batch, full_frame_batch = [], [], [], [], [], []
|
283 |
+
base_name = args.face.split('/')[-1]
|
284 |
+
refs = []
|
285 |
+
image_size = 256
|
286 |
+
|
287 |
+
# original frames
|
288 |
+
kp_extractor = KeypointExtractor()
|
289 |
+
fr_pil = [Image.fromarray(frame) for frame in frames]
|
290 |
+
lms = kp_extractor.extract_keypoint(fr_pil, 'temp/'+base_name+'x12_landmarks.txt')
|
291 |
+
frames_pil = [ (lm, frame) for frame,lm in zip(fr_pil, lms)] # frames is the croped version of modified face
|
292 |
+
crops, orig_images, quads = crop_faces(image_size, frames_pil, scale=1.0, use_fa=True)
|
293 |
+
inverse_transforms = [calc_alignment_coefficients(quad + 0.5, [[0, 0], [0, image_size], [image_size, image_size], [image_size, 0]]) for quad in quads]
|
294 |
+
del kp_extractor.detector
|
295 |
+
|
296 |
+
oy1,oy2,ox1,ox2 = cox
|
297 |
+
face_det_results = face_detect(full_frames, args, jaw_correction=True)
|
298 |
+
|
299 |
+
for inverse_transform, crop, full_frame, face_det in zip(inverse_transforms, crops, full_frames, face_det_results):
|
300 |
+
imc_pil = paste_image(inverse_transform, crop, Image.fromarray(
|
301 |
+
cv2.resize(full_frame[int(oy1):int(oy2), int(ox1):int(ox2)], (256, 256))))
|
302 |
+
|
303 |
+
ff = full_frame.copy()
|
304 |
+
ff[int(oy1):int(oy2), int(ox1):int(ox2)] = cv2.resize(np.array(imc_pil.convert('RGB')), (ox2 - ox1, oy2 - oy1))
|
305 |
+
oface, coords = face_det
|
306 |
+
y1, y2, x1, x2 = coords
|
307 |
+
refs.append(ff[y1: y2, x1:x2])
|
308 |
+
|
309 |
+
for i, m in enumerate(mels):
|
310 |
+
idx = 0 if args.static else i % len(frames)
|
311 |
+
frame_to_save = frames[idx].copy()
|
312 |
+
face = refs[idx]
|
313 |
+
oface, coords = face_det_results[idx].copy()
|
314 |
+
|
315 |
+
face = cv2.resize(face, (args.img_size, args.img_size))
|
316 |
+
oface = cv2.resize(oface, (args.img_size, args.img_size))
|
317 |
+
|
318 |
+
img_batch.append(oface)
|
319 |
+
ref_batch.append(face)
|
320 |
+
mel_batch.append(m)
|
321 |
+
coords_batch.append(coords)
|
322 |
+
frame_batch.append(frame_to_save)
|
323 |
+
full_frame_batch.append(full_frames[idx].copy())
|
324 |
+
|
325 |
+
if len(img_batch) >= args.LNet_batch_size:
|
326 |
+
img_batch, mel_batch, ref_batch = np.asarray(img_batch), np.asarray(mel_batch), np.asarray(ref_batch)
|
327 |
+
img_masked = img_batch.copy()
|
328 |
+
img_original = img_batch.copy()
|
329 |
+
img_masked[:, args.img_size//2:] = 0
|
330 |
+
img_batch = np.concatenate((img_masked, ref_batch), axis=3) / 255.
|
331 |
+
mel_batch = np.reshape(mel_batch, [len(mel_batch), mel_batch.shape[1], mel_batch.shape[2], 1])
|
332 |
+
|
333 |
+
yield img_batch, mel_batch, frame_batch, coords_batch, img_original, full_frame_batch
|
334 |
+
img_batch, mel_batch, frame_batch, coords_batch, img_original, full_frame_batch, ref_batch = [], [], [], [], [], [], []
|
335 |
+
|
336 |
+
if len(img_batch) > 0:
|
337 |
+
img_batch, mel_batch, ref_batch = np.asarray(img_batch), np.asarray(mel_batch), np.asarray(ref_batch)
|
338 |
+
img_masked = img_batch.copy()
|
339 |
+
img_original = img_batch.copy()
|
340 |
+
img_masked[:, args.img_size//2:] = 0
|
341 |
+
img_batch = np.concatenate((img_masked, ref_batch), axis=3) / 255.
|
342 |
+
mel_batch = np.reshape(mel_batch, [len(mel_batch), mel_batch.shape[1], mel_batch.shape[2], 1])
|
343 |
+
yield img_batch, mel_batch, frame_batch, coords_batch, img_original, full_frame_batch
|
344 |
+
|
345 |
+
|
346 |
+
if __name__ == '__main__':
|
347 |
+
main()
|
videoretalking/inference_function.py
ADDED
@@ -0,0 +1,368 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import numpy as np
|
2 |
+
import cv2, os, sys, subprocess, platform, torch
|
3 |
+
from tqdm import tqdm
|
4 |
+
from PIL import Image
|
5 |
+
from scipy.io import loadmat
|
6 |
+
from moviepy.editor import AudioFileClip, VideoFileClip
|
7 |
+
|
8 |
+
sys.path.insert(0, 'third_part')
|
9 |
+
sys.path.insert(0, 'third_part/GPEN')
|
10 |
+
|
11 |
+
# 3dmm extraction
|
12 |
+
from third_part.face3d.util.preprocess import align_img
|
13 |
+
from third_part.face3d.util.load_mats import load_lm3d
|
14 |
+
from third_part.face3d.extract_kp_videos import KeypointExtractor
|
15 |
+
# face enhancement
|
16 |
+
from third_part.GPEN.gpen_face_enhancer import FaceEnhancement
|
17 |
+
# expression control
|
18 |
+
from third_part.ganimation_replicate.model.ganimation import GANimationModel
|
19 |
+
|
20 |
+
from utils import audio
|
21 |
+
from utils.ffhq_preprocess import Croper
|
22 |
+
from utils.alignment_stit import crop_faces, calc_alignment_coefficients, paste_image
|
23 |
+
from utils.inference_utils import Laplacian_Pyramid_Blending_with_mask, face_detect, load_model, options, split_coeff, \
|
24 |
+
trans_image, transform_semantic, find_crop_norm_ratio, load_face3d_net, exp_aus_dict
|
25 |
+
import warnings
|
26 |
+
warnings.filterwarnings("ignore")
|
27 |
+
|
28 |
+
def video_lipsync_correctness(face, audio_path, outfile=None, tmp_dir="temp", crop=[0, -1, 0, -1], re_preprocess=False, exp_img="neutral", face3d_net_path="checkpoints/face3d_pretrain_epoch_20.pth", one_shot=False, up_face="original", LNet_batch_size=16, without_rl1=False, static=False):
|
29 |
+
device = 'cuda' if torch.cuda.is_available() else 'cpu'
|
30 |
+
print('[Info] Using {} for inference.'.format(device))
|
31 |
+
os.makedirs(os.path.join('temp', tmp_dir), exist_ok=True)
|
32 |
+
|
33 |
+
enhancer = FaceEnhancement(base_dir='checkpoints', size=512, model='GPEN-BFR-512', use_sr=False, \
|
34 |
+
sr_model='rrdb_realesrnet_psnr', channel_multiplier=2, narrow=1, device=device)
|
35 |
+
|
36 |
+
base_name = face.split('/')[-1]
|
37 |
+
print('base_name',base_name)
|
38 |
+
if os.path.isfile(face) and face.split('.')[1] in ['jpg', 'png', 'jpeg']:
|
39 |
+
static = True
|
40 |
+
if not os.path.isfile(face):
|
41 |
+
raise ValueError('--face argument must be a valid path to video/image file')
|
42 |
+
elif face.split('.')[1] in ['jpg', 'png', 'jpeg']:
|
43 |
+
full_frames = [cv2.imread(face)]
|
44 |
+
fps = fps
|
45 |
+
else:
|
46 |
+
video_stream = cv2.VideoCapture(face)
|
47 |
+
fps = video_stream.get(cv2.CAP_PROP_FPS)
|
48 |
+
|
49 |
+
full_frames = []
|
50 |
+
while True:
|
51 |
+
still_reading, frame = video_stream.read()
|
52 |
+
if not still_reading:
|
53 |
+
video_stream.release()
|
54 |
+
break
|
55 |
+
y1, y2, x1, x2 = crop
|
56 |
+
if x2 == -1: x2 = frame.shape[1]
|
57 |
+
if y2 == -1: y2 = frame.shape[0]
|
58 |
+
frame = frame[y1:y2, x1:x2]
|
59 |
+
full_frames.append(frame)
|
60 |
+
|
61 |
+
print ("[Step 0] Number of frames available for inference: "+str(len(full_frames)))
|
62 |
+
# face detection & cropping, cropping the first frame as the style of FFHQ
|
63 |
+
croper = Croper('checkpoints/shape_predictor_68_face_landmarks.dat')
|
64 |
+
full_frames_RGB = [cv2.cvtColor(frame, cv2.COLOR_BGR2RGB) for frame in full_frames]
|
65 |
+
full_frames_RGB, crop, quad = croper.crop(full_frames_RGB, xsize=512)
|
66 |
+
|
67 |
+
clx, cly, crx, cry = crop
|
68 |
+
lx, ly, rx, ry = quad
|
69 |
+
lx, ly, rx, ry = int(lx), int(ly), int(rx), int(ry)
|
70 |
+
oy1, oy2, ox1, ox2 = cly+ly, min(cly+ry, full_frames[0].shape[0]), clx+lx, min(clx+rx, full_frames[0].shape[1])
|
71 |
+
# original_size = (ox2 - ox1, oy2 - oy1)
|
72 |
+
frames_pil = [Image.fromarray(cv2.resize(frame,(256,256))) for frame in full_frames_RGB]
|
73 |
+
|
74 |
+
# get the landmark according to the detected face.
|
75 |
+
if not os.path.isfile('temp/'+base_name+'_landmarks.txt') or re_preprocess:
|
76 |
+
print('[Step 1] Landmarks Extraction in Video.')
|
77 |
+
kp_extractor = KeypointExtractor()
|
78 |
+
lm = kp_extractor.extract_keypoint(frames_pil, 'temp/'+base_name+'_landmarks.txt')
|
79 |
+
else:
|
80 |
+
print('[Step 1] Using saved landmarks.')
|
81 |
+
lm = np.loadtxt('temp/'+base_name+'_landmarks.txt').astype(np.float32)
|
82 |
+
lm = lm.reshape([len(full_frames), -1, 2])
|
83 |
+
|
84 |
+
if not os.path.isfile('temp/'+base_name+'_coeffs.npy') or exp_img is not None or re_preprocess:
|
85 |
+
net_recon = load_face3d_net(face3d_net_path, device)
|
86 |
+
lm3d_std = load_lm3d('checkpoints/BFM_Fitting')
|
87 |
+
|
88 |
+
video_coeffs = []
|
89 |
+
for idx in tqdm(range(len(frames_pil)), desc="[Step 2] 3DMM Extraction In Video:"):
|
90 |
+
frame = frames_pil[idx]
|
91 |
+
W, H = frame.size
|
92 |
+
lm_idx = lm[idx].reshape([-1, 2])
|
93 |
+
if np.mean(lm_idx) == -1:
|
94 |
+
lm_idx = (lm3d_std[:, :2]+1) / 2.
|
95 |
+
lm_idx = np.concatenate([lm_idx[:, :1] * W, lm_idx[:, 1:2] * H], 1)
|
96 |
+
else:
|
97 |
+
lm_idx[:, -1] = H - 1 - lm_idx[:, -1]
|
98 |
+
|
99 |
+
trans_params, im_idx, lm_idx, _ = align_img(frame, lm_idx, lm3d_std)
|
100 |
+
trans_params = np.array([float(item) for item in np.hsplit(trans_params, 5)]).astype(np.float32)
|
101 |
+
im_idx_tensor = torch.tensor(np.array(im_idx)/255., dtype=torch.float32).permute(2, 0, 1).to(device).unsqueeze(0)
|
102 |
+
with torch.no_grad():
|
103 |
+
coeffs = split_coeff(net_recon(im_idx_tensor))
|
104 |
+
|
105 |
+
pred_coeff = {key:coeffs[key].cpu().numpy() for key in coeffs}
|
106 |
+
pred_coeff = np.concatenate([pred_coeff['id'], pred_coeff['exp'], pred_coeff['tex'], pred_coeff['angle'],\
|
107 |
+
pred_coeff['gamma'], pred_coeff['trans'], trans_params[None]], 1)
|
108 |
+
video_coeffs.append(pred_coeff)
|
109 |
+
semantic_npy = np.array(video_coeffs)[:,0]
|
110 |
+
np.save('temp/'+base_name+'_coeffs.npy', semantic_npy)
|
111 |
+
else:
|
112 |
+
print('[Step 2] Using saved coeffs.')
|
113 |
+
semantic_npy = np.load('temp/'+base_name+'_coeffs.npy').astype(np.float32)
|
114 |
+
|
115 |
+
# generate the 3dmm coeff from a single image
|
116 |
+
if exp_img is not None and ('.png' in exp_img or '.jpg' in exp_img):
|
117 |
+
print('extract the exp from',exp_img)
|
118 |
+
exp_pil = Image.open(exp_img).convert('RGB')
|
119 |
+
lm3d_std = load_lm3d('third_part/face3d/BFM')
|
120 |
+
|
121 |
+
W, H = exp_pil.size
|
122 |
+
kp_extractor = KeypointExtractor()
|
123 |
+
lm_exp = kp_extractor.extract_keypoint([exp_pil], 'temp/'+base_name+'_temp.txt')[0]
|
124 |
+
if np.mean(lm_exp) == -1:
|
125 |
+
lm_exp = (lm3d_std[:, :2] + 1) / 2.
|
126 |
+
lm_exp = np.concatenate(
|
127 |
+
[lm_exp[:, :1] * W, lm_exp[:, 1:2] * H], 1)
|
128 |
+
else:
|
129 |
+
lm_exp[:, -1] = H - 1 - lm_exp[:, -1]
|
130 |
+
|
131 |
+
trans_params, im_exp, lm_exp, _ = align_img(exp_pil, lm_exp, lm3d_std)
|
132 |
+
trans_params = np.array([float(item) for item in np.hsplit(trans_params, 5)]).astype(np.float32)
|
133 |
+
im_exp_tensor = torch.tensor(np.array(im_exp)/255., dtype=torch.float32).permute(2, 0, 1).to(device).unsqueeze(0)
|
134 |
+
with torch.no_grad():
|
135 |
+
expression = split_coeff(net_recon(im_exp_tensor))['exp'][0]
|
136 |
+
del net_recon
|
137 |
+
elif exp_img == 'smile':
|
138 |
+
expression = torch.tensor(loadmat('checkpoints/expression.mat')['expression_mouth'])[0]
|
139 |
+
else:
|
140 |
+
print('using expression center')
|
141 |
+
expression = torch.tensor(loadmat('checkpoints/expression.mat')['expression_center'])[0]
|
142 |
+
|
143 |
+
# load DNet, model(LNet and ENet)
|
144 |
+
D_Net, model = load_model(device,DNet_path='checkpoints/DNet.pt',LNet_path='checkpoints/LNet.pth',ENet_path='checkpoints/ENet.pth')
|
145 |
+
|
146 |
+
if not os.path.isfile('temp/'+base_name+'_stablized.npy') or re_preprocess:
|
147 |
+
imgs = []
|
148 |
+
for idx in tqdm(range(len(frames_pil)), desc="[Step 3] Stabilize the expression In Video:"):
|
149 |
+
if one_shot:
|
150 |
+
source_img = trans_image(frames_pil[0]).unsqueeze(0).to(device)
|
151 |
+
semantic_source_numpy = semantic_npy[0:1]
|
152 |
+
else:
|
153 |
+
source_img = trans_image(frames_pil[idx]).unsqueeze(0).to(device)
|
154 |
+
semantic_source_numpy = semantic_npy[idx:idx+1]
|
155 |
+
ratio = find_crop_norm_ratio(semantic_source_numpy, semantic_npy)
|
156 |
+
coeff = transform_semantic(semantic_npy, idx, ratio).unsqueeze(0).to(device)
|
157 |
+
|
158 |
+
# hacking the new expression
|
159 |
+
coeff[:, :64, :] = expression[None, :64, None].to(device)
|
160 |
+
with torch.no_grad():
|
161 |
+
output = D_Net(source_img, coeff)
|
162 |
+
img_stablized = np.uint8((output['fake_image'].squeeze(0).permute(1,2,0).cpu().clamp_(-1, 1).numpy() + 1 )/2. * 255)
|
163 |
+
imgs.append(cv2.cvtColor(img_stablized,cv2.COLOR_RGB2BGR))
|
164 |
+
np.save('temp/'+base_name+'_stablized.npy',imgs)
|
165 |
+
del D_Net
|
166 |
+
else:
|
167 |
+
print('[Step 3] Using saved stabilized video.')
|
168 |
+
imgs = np.load('temp/'+base_name+'_stablized.npy')
|
169 |
+
torch.cuda.empty_cache()
|
170 |
+
|
171 |
+
if not audio_path.endswith('.wav'):
|
172 |
+
# command = 'ffmpeg -loglevel error -y -i {} -strict -2 {}'.format(audio_path, 'temp/{}/temp.wav'.format(tmp_dir))
|
173 |
+
# subprocess.call(command, shell=True)
|
174 |
+
converted_audio_path = os.path.join('temp', tmp_dir, 'temp.wav')
|
175 |
+
audio_clip = AudioFileClip(audio_path)
|
176 |
+
audio_clip.write_audiofile(converted_audio_path, codec='pcm_s16le')
|
177 |
+
audio_clip.close()
|
178 |
+
audio_path = converted_audio_path
|
179 |
+
# audio_path = 'temp/{}/temp.wav'.format(tmp_dir)
|
180 |
+
wav = audio.load_wav(audio_path, 16000)
|
181 |
+
mel = audio.melspectrogram(wav)
|
182 |
+
if np.isnan(mel.reshape(-1)).sum() > 0:
|
183 |
+
raise ValueError('Mel contains nan! Using a TTS voice? Add a small epsilon noise to the wav file and try again')
|
184 |
+
|
185 |
+
mel_step_size, mel_idx_multiplier, i, mel_chunks = 16, 80./fps, 0, []
|
186 |
+
while True:
|
187 |
+
start_idx = int(i * mel_idx_multiplier)
|
188 |
+
if start_idx + mel_step_size > len(mel[0]):
|
189 |
+
mel_chunks.append(mel[:, len(mel[0]) - mel_step_size:])
|
190 |
+
break
|
191 |
+
mel_chunks.append(mel[:, start_idx : start_idx + mel_step_size])
|
192 |
+
i += 1
|
193 |
+
|
194 |
+
print("[Step 4] Load audio; Length of mel chunks: {}".format(len(mel_chunks)))
|
195 |
+
imgs = imgs[:len(mel_chunks)]
|
196 |
+
full_frames = full_frames[:len(mel_chunks)]
|
197 |
+
lm = lm[:len(mel_chunks)]
|
198 |
+
|
199 |
+
imgs_enhanced = []
|
200 |
+
for idx in tqdm(range(len(imgs)), desc='[Step 5] Reference Enhancement'):
|
201 |
+
img = imgs[idx]
|
202 |
+
pred, _, _ = enhancer.process(img, img, face_enhance=True, possion_blending=False)
|
203 |
+
imgs_enhanced.append(pred)
|
204 |
+
gen = datagen(imgs_enhanced.copy(), mel_chunks, full_frames, None, (oy1,oy2,ox1,ox2), face, static, LNet_batch_size, img_size=384)
|
205 |
+
|
206 |
+
frame_h, frame_w = full_frames[0].shape[:-1]
|
207 |
+
out = cv2.VideoWriter('temp/{}/result.mp4'.format(tmp_dir), cv2.VideoWriter_fourcc(*'mp4v'), fps, (frame_w, frame_h))
|
208 |
+
|
209 |
+
if up_face != 'original':
|
210 |
+
instance = GANimationModel()
|
211 |
+
instance.initialize()
|
212 |
+
instance.setup()
|
213 |
+
|
214 |
+
kp_extractor = KeypointExtractor()
|
215 |
+
for i, (img_batch, mel_batch, frames, coords, img_original, f_frames) in enumerate(tqdm(gen, desc='[Step 6] Lip Synthesis:', total=int(np.ceil(float(len(mel_chunks)) / LNet_batch_size)))):
|
216 |
+
img_batch = torch.FloatTensor(np.transpose(img_batch, (0, 3, 1, 2))).to(device)
|
217 |
+
mel_batch = torch.FloatTensor(np.transpose(mel_batch, (0, 3, 1, 2))).to(device)
|
218 |
+
img_original = torch.FloatTensor(np.transpose(img_original, (0, 3, 1, 2))).to(device)/255. # BGR -> RGB
|
219 |
+
|
220 |
+
with torch.no_grad():
|
221 |
+
incomplete, reference = torch.split(img_batch, 3, dim=1)
|
222 |
+
pred, low_res = model(mel_batch, img_batch, reference)
|
223 |
+
pred = torch.clamp(pred, 0, 1)
|
224 |
+
|
225 |
+
if up_face in ['sad', 'angry', 'surprise']:
|
226 |
+
tar_aus = exp_aus_dict[up_face]
|
227 |
+
else:
|
228 |
+
pass
|
229 |
+
|
230 |
+
if up_face == 'original':
|
231 |
+
cur_gen_faces = img_original
|
232 |
+
else:
|
233 |
+
test_batch = {'src_img': torch.nn.functional.interpolate((img_original * 2 - 1), size=(128, 128), mode='bilinear'),
|
234 |
+
'tar_aus': tar_aus.repeat(len(incomplete), 1)}
|
235 |
+
instance.feed_batch(test_batch)
|
236 |
+
instance.forward()
|
237 |
+
cur_gen_faces = torch.nn.functional.interpolate(instance.fake_img / 2. + 0.5, size=(384, 384), mode='bilinear')
|
238 |
+
|
239 |
+
if without_rl1 is not False:
|
240 |
+
incomplete, reference = torch.split(img_batch, 3, dim=1)
|
241 |
+
mask = torch.where(incomplete==0, torch.ones_like(incomplete), torch.zeros_like(incomplete))
|
242 |
+
pred = pred * mask + cur_gen_faces * (1 - mask)
|
243 |
+
|
244 |
+
pred = pred.cpu().numpy().transpose(0, 2, 3, 1) * 255.
|
245 |
+
|
246 |
+
torch.cuda.empty_cache()
|
247 |
+
for p, f, xf, c in zip(pred, frames, f_frames, coords):
|
248 |
+
y1, y2, x1, x2 = c
|
249 |
+
p = cv2.resize(p.astype(np.uint8), (x2 - x1, y2 - y1))
|
250 |
+
|
251 |
+
ff = xf.copy()
|
252 |
+
ff[y1:y2, x1:x2] = p
|
253 |
+
|
254 |
+
restored_img = ff
|
255 |
+
mm = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 0, 0, 0, 0, 0, 0]
|
256 |
+
mouse_mask = np.zeros_like(restored_img)
|
257 |
+
tmp_mask = enhancer.faceparser.process(restored_img[y1:y2, x1:x2], mm)[0]
|
258 |
+
mouse_mask[y1:y2, x1:x2]= cv2.resize(tmp_mask, (x2 - x1, y2 - y1))[:, :, np.newaxis] / 255.
|
259 |
+
|
260 |
+
height, width = ff.shape[:2]
|
261 |
+
restored_img, ff, full_mask = [cv2.resize(x, (512, 512)) for x in (restored_img, ff, np.float32(mouse_mask))]
|
262 |
+
img = Laplacian_Pyramid_Blending_with_mask(restored_img, ff, full_mask[:, :, 0], 10)
|
263 |
+
pp = np.uint8(cv2.resize(np.clip(img, 0 ,255), (width, height)))
|
264 |
+
|
265 |
+
pp, orig_faces, enhanced_faces = enhancer.process(pp, xf, bbox=c, face_enhance=False, possion_blending=True)
|
266 |
+
out.write(pp)
|
267 |
+
out.release()
|
268 |
+
|
269 |
+
if not os.path.isdir(os.path.dirname(outfile)):
|
270 |
+
os.makedirs(os.path.dirname(outfile), exist_ok=True)
|
271 |
+
# command = 'ffmpeg -loglevel error -y -i {} -i {} -strict -2 -q:v 1 {}'.format(audio_path, 'temp/{}/result.mp4'.format(tmp_dir), outfile)
|
272 |
+
# subprocess.call(command, shell=platform.system() != 'Windows')
|
273 |
+
video_path = 'temp/{}/result.mp4'.format(tmp_dir)
|
274 |
+
audio_clip = AudioFileClip(audio_path)
|
275 |
+
video_clip = VideoFileClip(video_path)
|
276 |
+
video_clip = video_clip.set_audio(audio_clip)
|
277 |
+
|
278 |
+
# Write the result to the output file
|
279 |
+
video_clip.write_videofile(outfile, codec='libx264', audio_codec='aac')
|
280 |
+
print('outfile:', outfile)
|
281 |
+
|
282 |
+
# frames:256x256, full_frames: original size
|
283 |
+
def datagen(frames, mels, full_frames, frames_pil, cox, face, static, LNet_batch_size, img_size):
|
284 |
+
img_batch, mel_batch, frame_batch, coords_batch, ref_batch, full_frame_batch = [], [], [], [], [], []
|
285 |
+
base_name = face.split('/')[-1]
|
286 |
+
refs = []
|
287 |
+
image_size = 256
|
288 |
+
|
289 |
+
# original frames
|
290 |
+
kp_extractor = KeypointExtractor()
|
291 |
+
fr_pil = [Image.fromarray(frame) for frame in frames]
|
292 |
+
lms = kp_extractor.extract_keypoint(fr_pil, 'temp/'+base_name+'x12_landmarks.txt')
|
293 |
+
frames_pil = [ (lm, frame) for frame,lm in zip(fr_pil, lms)] # frames is the croped version of modified face
|
294 |
+
crops, orig_images, quads = crop_faces(image_size, frames_pil, scale=1.0, use_fa=True)
|
295 |
+
inverse_transforms = [calc_alignment_coefficients(quad + 0.5, [[0, 0], [0, image_size], [image_size, image_size], [image_size, 0]]) for quad in quads]
|
296 |
+
del kp_extractor.detector
|
297 |
+
|
298 |
+
oy1,oy2,ox1,ox2 = cox
|
299 |
+
face_det_results = face_detect(full_frames, face_det_batch_size=4, nosmooth=False, pads=[0, 20, 0, 0], jaw_correction=True, detector=None)
|
300 |
+
|
301 |
+
for inverse_transform, crop, full_frame, face_det in zip(inverse_transforms, crops, full_frames, face_det_results):
|
302 |
+
imc_pil = paste_image(inverse_transform, crop, Image.fromarray(
|
303 |
+
cv2.resize(full_frame[int(oy1):int(oy2), int(ox1):int(ox2)], (256, 256))))
|
304 |
+
|
305 |
+
ff = full_frame.copy()
|
306 |
+
ff[int(oy1):int(oy2), int(ox1):int(ox2)] = cv2.resize(np.array(imc_pil.convert('RGB')), (ox2 - ox1, oy2 - oy1))
|
307 |
+
oface, coords = face_det
|
308 |
+
y1, y2, x1, x2 = coords
|
309 |
+
refs.append(ff[y1: y2, x1:x2])
|
310 |
+
|
311 |
+
for i, m in enumerate(mels):
|
312 |
+
idx = 0 if static else i % len(frames)
|
313 |
+
frame_to_save = frames[idx].copy()
|
314 |
+
face = refs[idx]
|
315 |
+
oface, coords = face_det_results[idx].copy()
|
316 |
+
|
317 |
+
face = cv2.resize(face, (img_size, img_size))
|
318 |
+
oface = cv2.resize(oface, (img_size, img_size))
|
319 |
+
|
320 |
+
img_batch.append(oface)
|
321 |
+
ref_batch.append(face)
|
322 |
+
mel_batch.append(m)
|
323 |
+
coords_batch.append(coords)
|
324 |
+
frame_batch.append(frame_to_save)
|
325 |
+
full_frame_batch.append(full_frames[idx].copy())
|
326 |
+
|
327 |
+
if len(img_batch) >= LNet_batch_size:
|
328 |
+
img_batch, mel_batch, ref_batch = np.asarray(img_batch), np.asarray(mel_batch), np.asarray(ref_batch)
|
329 |
+
img_masked = img_batch.copy()
|
330 |
+
img_original = img_batch.copy()
|
331 |
+
img_masked[:, img_size//2:] = 0
|
332 |
+
img_batch = np.concatenate((img_masked, ref_batch), axis=3) / 255.
|
333 |
+
mel_batch = np.reshape(mel_batch, [len(mel_batch), mel_batch.shape[1], mel_batch.shape[2], 1])
|
334 |
+
|
335 |
+
yield img_batch, mel_batch, frame_batch, coords_batch, img_original, full_frame_batch
|
336 |
+
img_batch, mel_batch, frame_batch, coords_batch, img_original, full_frame_batch, ref_batch = [], [], [], [], [], [], []
|
337 |
+
|
338 |
+
if len(img_batch) > 0:
|
339 |
+
img_batch, mel_batch, ref_batch = np.asarray(img_batch), np.asarray(mel_batch), np.asarray(ref_batch)
|
340 |
+
img_masked = img_batch.copy()
|
341 |
+
img_original = img_batch.copy()
|
342 |
+
img_masked[:, img_size//2:] = 0
|
343 |
+
img_batch = np.concatenate((img_masked, ref_batch), axis=3) / 255.
|
344 |
+
mel_batch = np.reshape(mel_batch, [len(mel_batch), mel_batch.shape[1], mel_batch.shape[2], 1])
|
345 |
+
yield img_batch, mel_batch, frame_batch, coords_batch, img_original, full_frame_batch
|
346 |
+
|
347 |
+
|
348 |
+
|
349 |
+
if __name__ == "__main__":
|
350 |
+
face_path = "C:/Users/fd01076/Downloads/download_1.mp4" # Replace with the path to your face image or video
|
351 |
+
audio_path = "C:/Users/fd01076/Downloads/audio_1.mp3" # Replace with the path to your audio file
|
352 |
+
output_path = "C:/Users/fd01076/Downloads/result.mp4" # Replace with the path for the output video
|
353 |
+
|
354 |
+
# Call the function
|
355 |
+
video_lipsync_correctness(
|
356 |
+
face=face_path,
|
357 |
+
audio_path=audio_path,
|
358 |
+
outfile=output_path,
|
359 |
+
tmp_dir="temp",
|
360 |
+
crop=[0, -1, 0, -1],
|
361 |
+
re_preprocess=True, # Set to True if you want to reprocess; False otherwise
|
362 |
+
exp_img="neutral", # Can be 'smile', 'neutral', or path to an expression image
|
363 |
+
face3d_net_path="checkpoints/face3d_pretrain_epoch_20.pth",
|
364 |
+
one_shot=False,
|
365 |
+
up_face="original", # Options: 'original', 'sad', 'angry', 'surprise'
|
366 |
+
LNet_batch_size=16,
|
367 |
+
without_rl1=False
|
368 |
+
)
|
videoretalking/inference_videoretalking.sh
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
python3 inference.py \
|
2 |
+
--face ./examples/face/1.mp4 \
|
3 |
+
--audio ./examples/audio/1.wav \
|
4 |
+
--outfile results/1_1.mp4
|
videoretalking/models/DNet.py
ADDED
@@ -0,0 +1,118 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# TODO
|
2 |
+
import functools
|
3 |
+
import numpy as np
|
4 |
+
|
5 |
+
import torch
|
6 |
+
import torch.nn as nn
|
7 |
+
import torch.nn.functional as F
|
8 |
+
|
9 |
+
from utils import flow_util
|
10 |
+
from models.base_blocks import LayerNorm2d, ADAINHourglass, FineEncoder, FineDecoder
|
11 |
+
|
12 |
+
# DNet
|
13 |
+
class DNet(nn.Module):
|
14 |
+
def __init__(self):
|
15 |
+
super(DNet, self).__init__()
|
16 |
+
self.mapping_net = MappingNet()
|
17 |
+
self.warpping_net = WarpingNet()
|
18 |
+
self.editing_net = EditingNet()
|
19 |
+
|
20 |
+
def forward(self, input_image, driving_source, stage=None):
|
21 |
+
if stage == 'warp':
|
22 |
+
descriptor = self.mapping_net(driving_source)
|
23 |
+
output = self.warpping_net(input_image, descriptor)
|
24 |
+
else:
|
25 |
+
descriptor = self.mapping_net(driving_source)
|
26 |
+
output = self.warpping_net(input_image, descriptor)
|
27 |
+
output['fake_image'] = self.editing_net(input_image, output['warp_image'], descriptor)
|
28 |
+
return output
|
29 |
+
|
30 |
+
class MappingNet(nn.Module):
|
31 |
+
def __init__(self, coeff_nc=73, descriptor_nc=256, layer=3):
|
32 |
+
super( MappingNet, self).__init__()
|
33 |
+
|
34 |
+
self.layer = layer
|
35 |
+
nonlinearity = nn.LeakyReLU(0.1)
|
36 |
+
|
37 |
+
self.first = nn.Sequential(
|
38 |
+
torch.nn.Conv1d(coeff_nc, descriptor_nc, kernel_size=7, padding=0, bias=True))
|
39 |
+
|
40 |
+
for i in range(layer):
|
41 |
+
net = nn.Sequential(nonlinearity,
|
42 |
+
torch.nn.Conv1d(descriptor_nc, descriptor_nc, kernel_size=3, padding=0, dilation=3))
|
43 |
+
setattr(self, 'encoder' + str(i), net)
|
44 |
+
|
45 |
+
self.pooling = nn.AdaptiveAvgPool1d(1)
|
46 |
+
self.output_nc = descriptor_nc
|
47 |
+
|
48 |
+
def forward(self, input_3dmm):
|
49 |
+
out = self.first(input_3dmm)
|
50 |
+
for i in range(self.layer):
|
51 |
+
model = getattr(self, 'encoder' + str(i))
|
52 |
+
out = model(out) + out[:,:,3:-3]
|
53 |
+
out = self.pooling(out)
|
54 |
+
return out
|
55 |
+
|
56 |
+
class WarpingNet(nn.Module):
|
57 |
+
def __init__(
|
58 |
+
self,
|
59 |
+
image_nc=3,
|
60 |
+
descriptor_nc=256,
|
61 |
+
base_nc=32,
|
62 |
+
max_nc=256,
|
63 |
+
encoder_layer=5,
|
64 |
+
decoder_layer=3,
|
65 |
+
use_spect=False
|
66 |
+
):
|
67 |
+
super( WarpingNet, self).__init__()
|
68 |
+
|
69 |
+
nonlinearity = nn.LeakyReLU(0.1)
|
70 |
+
norm_layer = functools.partial(LayerNorm2d, affine=True)
|
71 |
+
kwargs = {'nonlinearity':nonlinearity, 'use_spect':use_spect}
|
72 |
+
|
73 |
+
self.descriptor_nc = descriptor_nc
|
74 |
+
self.hourglass = ADAINHourglass(image_nc, self.descriptor_nc, base_nc,
|
75 |
+
max_nc, encoder_layer, decoder_layer, **kwargs)
|
76 |
+
|
77 |
+
self.flow_out = nn.Sequential(norm_layer(self.hourglass.output_nc),
|
78 |
+
nonlinearity,
|
79 |
+
nn.Conv2d(self.hourglass.output_nc, 2, kernel_size=7, stride=1, padding=3))
|
80 |
+
|
81 |
+
self.pool = nn.AdaptiveAvgPool2d(1)
|
82 |
+
|
83 |
+
def forward(self, input_image, descriptor):
|
84 |
+
final_output={}
|
85 |
+
output = self.hourglass(input_image, descriptor)
|
86 |
+
final_output['flow_field'] = self.flow_out(output)
|
87 |
+
|
88 |
+
deformation = flow_util.convert_flow_to_deformation(final_output['flow_field'])
|
89 |
+
final_output['warp_image'] = flow_util.warp_image(input_image, deformation)
|
90 |
+
return final_output
|
91 |
+
|
92 |
+
|
93 |
+
class EditingNet(nn.Module):
|
94 |
+
def __init__(
|
95 |
+
self,
|
96 |
+
image_nc=3,
|
97 |
+
descriptor_nc=256,
|
98 |
+
layer=3,
|
99 |
+
base_nc=64,
|
100 |
+
max_nc=256,
|
101 |
+
num_res_blocks=2,
|
102 |
+
use_spect=False):
|
103 |
+
super(EditingNet, self).__init__()
|
104 |
+
|
105 |
+
nonlinearity = nn.LeakyReLU(0.1)
|
106 |
+
norm_layer = functools.partial(LayerNorm2d, affine=True)
|
107 |
+
kwargs = {'norm_layer':norm_layer, 'nonlinearity':nonlinearity, 'use_spect':use_spect}
|
108 |
+
self.descriptor_nc = descriptor_nc
|
109 |
+
|
110 |
+
# encoder part
|
111 |
+
self.encoder = FineEncoder(image_nc*2, base_nc, max_nc, layer, **kwargs)
|
112 |
+
self.decoder = FineDecoder(image_nc, self.descriptor_nc, base_nc, max_nc, layer, num_res_blocks, **kwargs)
|
113 |
+
|
114 |
+
def forward(self, input_image, warp_image, descriptor):
|
115 |
+
x = torch.cat([input_image, warp_image], 1)
|
116 |
+
x = self.encoder(x)
|
117 |
+
gen_image = self.decoder(x, descriptor)
|
118 |
+
return gen_image
|
videoretalking/models/ENet.py
ADDED
@@ -0,0 +1,139 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import torch
|
2 |
+
import torch.nn as nn
|
3 |
+
import torch.nn.functional as F
|
4 |
+
|
5 |
+
from models.base_blocks import ResBlock, StyleConv, ToRGB
|
6 |
+
|
7 |
+
|
8 |
+
class ENet(nn.Module):
|
9 |
+
def __init__(
|
10 |
+
self,
|
11 |
+
num_style_feat=512,
|
12 |
+
lnet=None,
|
13 |
+
concat=False
|
14 |
+
):
|
15 |
+
super(ENet, self).__init__()
|
16 |
+
|
17 |
+
self.low_res = lnet
|
18 |
+
for param in self.low_res.parameters():
|
19 |
+
param.requires_grad = False
|
20 |
+
|
21 |
+
channel_multiplier, narrow = 2, 1
|
22 |
+
channels = {
|
23 |
+
'4': int(512 * narrow),
|
24 |
+
'8': int(512 * narrow),
|
25 |
+
'16': int(512 * narrow),
|
26 |
+
'32': int(512 * narrow),
|
27 |
+
'64': int(256 * channel_multiplier * narrow),
|
28 |
+
'128': int(128 * channel_multiplier * narrow),
|
29 |
+
'256': int(64 * channel_multiplier * narrow),
|
30 |
+
'512': int(32 * channel_multiplier * narrow),
|
31 |
+
'1024': int(16 * channel_multiplier * narrow)
|
32 |
+
}
|
33 |
+
|
34 |
+
self.log_size = 8
|
35 |
+
first_out_size = 128
|
36 |
+
self.conv_body_first = nn.Conv2d(3, channels[f'{first_out_size}'], 1) # 256 -> 128
|
37 |
+
|
38 |
+
# downsample
|
39 |
+
in_channels = channels[f'{first_out_size}']
|
40 |
+
self.conv_body_down = nn.ModuleList()
|
41 |
+
for i in range(8, 2, -1):
|
42 |
+
out_channels = channels[f'{2**(i - 1)}']
|
43 |
+
self.conv_body_down.append(ResBlock(in_channels, out_channels, mode='down'))
|
44 |
+
in_channels = out_channels
|
45 |
+
|
46 |
+
self.num_style_feat = num_style_feat
|
47 |
+
linear_out_channel = num_style_feat
|
48 |
+
self.final_linear = nn.Linear(channels['4'] * 4 * 4, linear_out_channel)
|
49 |
+
self.final_conv = nn.Conv2d(in_channels, channels['4'], 3, 1, 1)
|
50 |
+
|
51 |
+
self.style_convs = nn.ModuleList()
|
52 |
+
self.to_rgbs = nn.ModuleList()
|
53 |
+
self.noises = nn.Module()
|
54 |
+
|
55 |
+
self.concat = concat
|
56 |
+
if concat:
|
57 |
+
in_channels = 3 + 32 # channels['64']
|
58 |
+
else:
|
59 |
+
in_channels = 3
|
60 |
+
|
61 |
+
for i in range(7, 9): # 128, 256
|
62 |
+
out_channels = channels[f'{2**i}'] #
|
63 |
+
self.style_convs.append(
|
64 |
+
StyleConv(
|
65 |
+
in_channels,
|
66 |
+
out_channels,
|
67 |
+
kernel_size=3,
|
68 |
+
num_style_feat=num_style_feat,
|
69 |
+
demodulate=True,
|
70 |
+
sample_mode='upsample'))
|
71 |
+
self.style_convs.append(
|
72 |
+
StyleConv(
|
73 |
+
out_channels,
|
74 |
+
out_channels,
|
75 |
+
kernel_size=3,
|
76 |
+
num_style_feat=num_style_feat,
|
77 |
+
demodulate=True,
|
78 |
+
sample_mode=None))
|
79 |
+
self.to_rgbs.append(ToRGB(out_channels, num_style_feat, upsample=True))
|
80 |
+
in_channels = out_channels
|
81 |
+
|
82 |
+
def forward(self, audio_sequences, face_sequences, gt_sequences):
|
83 |
+
B = audio_sequences.size(0)
|
84 |
+
input_dim_size = len(face_sequences.size())
|
85 |
+
inp, ref = torch.split(face_sequences,3,dim=1)
|
86 |
+
|
87 |
+
if input_dim_size > 4:
|
88 |
+
audio_sequences = torch.cat([audio_sequences[:, i] for i in range(audio_sequences.size(1))], dim=0)
|
89 |
+
inp = torch.cat([inp[:, :, i] for i in range(inp.size(2))], dim=0)
|
90 |
+
ref = torch.cat([ref[:, :, i] for i in range(ref.size(2))], dim=0)
|
91 |
+
gt_sequences = torch.cat([gt_sequences[:, :, i] for i in range(gt_sequences.size(2))], dim=0)
|
92 |
+
|
93 |
+
# get the global style
|
94 |
+
feat = F.leaky_relu_(self.conv_body_first(F.interpolate(ref, size=(256,256), mode='bilinear')), negative_slope=0.2)
|
95 |
+
for i in range(self.log_size - 2):
|
96 |
+
feat = self.conv_body_down[i](feat)
|
97 |
+
feat = F.leaky_relu_(self.final_conv(feat), negative_slope=0.2)
|
98 |
+
|
99 |
+
# style code
|
100 |
+
style_code = self.final_linear(feat.reshape(feat.size(0), -1))
|
101 |
+
style_code = style_code.reshape(style_code.size(0), -1, self.num_style_feat)
|
102 |
+
|
103 |
+
LNet_input = torch.cat([inp, gt_sequences], dim=1)
|
104 |
+
LNet_input = F.interpolate(LNet_input, size=(96,96), mode='bilinear')
|
105 |
+
|
106 |
+
if self.concat:
|
107 |
+
low_res_img, low_res_feat = self.low_res(audio_sequences, LNet_input)
|
108 |
+
low_res_img.detach()
|
109 |
+
low_res_feat.detach()
|
110 |
+
out = torch.cat([low_res_img, low_res_feat], dim=1)
|
111 |
+
|
112 |
+
else:
|
113 |
+
low_res_img = self.low_res(audio_sequences, LNet_input)
|
114 |
+
low_res_img.detach()
|
115 |
+
# 96 x 96
|
116 |
+
out = low_res_img
|
117 |
+
|
118 |
+
p2d = (2,2,2,2)
|
119 |
+
out = F.pad(out, p2d, "reflect", 0)
|
120 |
+
skip = out
|
121 |
+
|
122 |
+
for conv1, conv2, to_rgb in zip(self.style_convs[::2], self.style_convs[1::2], self.to_rgbs):
|
123 |
+
out = conv1(out, style_code) # 96, 192, 384
|
124 |
+
out = conv2(out, style_code)
|
125 |
+
skip = to_rgb(out, style_code, skip)
|
126 |
+
_outputs = skip
|
127 |
+
|
128 |
+
# remove padding
|
129 |
+
_outputs = _outputs[:,:,8:-8,8:-8]
|
130 |
+
|
131 |
+
if input_dim_size > 4:
|
132 |
+
_outputs = torch.split(_outputs, B, dim=0)
|
133 |
+
outputs = torch.stack(_outputs, dim=2)
|
134 |
+
low_res_img = F.interpolate(low_res_img, outputs.size()[3:])
|
135 |
+
low_res_img = torch.split(low_res_img, B, dim=0)
|
136 |
+
low_res_img = torch.stack(low_res_img, dim=2)
|
137 |
+
else:
|
138 |
+
outputs = _outputs
|
139 |
+
return outputs, low_res_img
|
videoretalking/models/LNet.py
ADDED
@@ -0,0 +1,139 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import functools
|
2 |
+
import torch
|
3 |
+
import torch.nn as nn
|
4 |
+
|
5 |
+
from models.transformer import RETURNX, Transformer
|
6 |
+
from models.base_blocks import Conv2d, LayerNorm2d, FirstBlock2d, DownBlock2d, UpBlock2d, \
|
7 |
+
FFCADAINResBlocks, Jump, FinalBlock2d
|
8 |
+
|
9 |
+
|
10 |
+
class Visual_Encoder(nn.Module):
|
11 |
+
def __init__(self, image_nc, ngf, img_f, layers, norm_layer=nn.BatchNorm2d, nonlinearity=nn.LeakyReLU(), use_spect=False):
|
12 |
+
super(Visual_Encoder, self).__init__()
|
13 |
+
self.layers = layers
|
14 |
+
self.first_inp = FirstBlock2d(image_nc, ngf, norm_layer, nonlinearity, use_spect)
|
15 |
+
self.first_ref = FirstBlock2d(image_nc, ngf, norm_layer, nonlinearity, use_spect)
|
16 |
+
for i in range(layers):
|
17 |
+
in_channels = min(ngf*(2**i), img_f)
|
18 |
+
out_channels = min(ngf*(2**(i+1)), img_f)
|
19 |
+
model_ref = DownBlock2d(in_channels, out_channels, norm_layer, nonlinearity, use_spect)
|
20 |
+
model_inp = DownBlock2d(in_channels, out_channels, norm_layer, nonlinearity, use_spect)
|
21 |
+
if i < 2:
|
22 |
+
ca_layer = RETURNX()
|
23 |
+
else:
|
24 |
+
ca_layer = Transformer(2**(i+1) * ngf,2,4,ngf,ngf*4)
|
25 |
+
setattr(self, 'ca' + str(i), ca_layer)
|
26 |
+
setattr(self, 'ref_down' + str(i), model_ref)
|
27 |
+
setattr(self, 'inp_down' + str(i), model_inp)
|
28 |
+
self.output_nc = out_channels * 2
|
29 |
+
|
30 |
+
def forward(self, maskGT, ref):
|
31 |
+
x_maskGT, x_ref = self.first_inp(maskGT), self.first_ref(ref)
|
32 |
+
out=[x_maskGT]
|
33 |
+
for i in range(self.layers):
|
34 |
+
model_ref = getattr(self, 'ref_down'+str(i))
|
35 |
+
model_inp = getattr(self, 'inp_down'+str(i))
|
36 |
+
ca_layer = getattr(self, 'ca'+str(i))
|
37 |
+
x_maskGT, x_ref = model_inp(x_maskGT), model_ref(x_ref)
|
38 |
+
x_maskGT = ca_layer(x_maskGT, x_ref)
|
39 |
+
if i < self.layers - 1:
|
40 |
+
out.append(x_maskGT)
|
41 |
+
else:
|
42 |
+
out.append(torch.cat([x_maskGT, x_ref], dim=1)) # concat ref features !
|
43 |
+
return out
|
44 |
+
|
45 |
+
|
46 |
+
class Decoder(nn.Module):
|
47 |
+
def __init__(self, image_nc, feature_nc, ngf, img_f, layers, num_block, norm_layer=nn.BatchNorm2d, nonlinearity=nn.LeakyReLU(), use_spect=False):
|
48 |
+
super(Decoder, self).__init__()
|
49 |
+
self.layers = layers
|
50 |
+
for i in range(layers)[::-1]:
|
51 |
+
if i == layers-1:
|
52 |
+
in_channels = ngf*(2**(i+1)) * 2
|
53 |
+
else:
|
54 |
+
in_channels = min(ngf*(2**(i+1)), img_f)
|
55 |
+
out_channels = min(ngf*(2**i), img_f)
|
56 |
+
up = UpBlock2d(in_channels, out_channels, norm_layer, nonlinearity, use_spect)
|
57 |
+
res = FFCADAINResBlocks(num_block, in_channels, feature_nc, norm_layer, nonlinearity, use_spect)
|
58 |
+
jump = Jump(out_channels, norm_layer, nonlinearity, use_spect)
|
59 |
+
|
60 |
+
setattr(self, 'up' + str(i), up)
|
61 |
+
setattr(self, 'res' + str(i), res)
|
62 |
+
setattr(self, 'jump' + str(i), jump)
|
63 |
+
|
64 |
+
self.final = FinalBlock2d(out_channels, image_nc, use_spect, 'sigmoid')
|
65 |
+
self.output_nc = out_channels
|
66 |
+
|
67 |
+
def forward(self, x, z):
|
68 |
+
out = x.pop()
|
69 |
+
for i in range(self.layers)[::-1]:
|
70 |
+
res_model = getattr(self, 'res' + str(i))
|
71 |
+
up_model = getattr(self, 'up' + str(i))
|
72 |
+
jump_model = getattr(self, 'jump' + str(i))
|
73 |
+
out = res_model(out, z)
|
74 |
+
out = up_model(out)
|
75 |
+
out = jump_model(x.pop()) + out
|
76 |
+
out_image = self.final(out)
|
77 |
+
return out_image
|
78 |
+
|
79 |
+
|
80 |
+
class LNet(nn.Module):
|
81 |
+
def __init__(
|
82 |
+
self,
|
83 |
+
image_nc=3,
|
84 |
+
descriptor_nc=512,
|
85 |
+
layer=3,
|
86 |
+
base_nc=64,
|
87 |
+
max_nc=512,
|
88 |
+
num_res_blocks=9,
|
89 |
+
use_spect=True,
|
90 |
+
encoder=Visual_Encoder,
|
91 |
+
decoder=Decoder
|
92 |
+
):
|
93 |
+
super(LNet, self).__init__()
|
94 |
+
|
95 |
+
nonlinearity = nn.LeakyReLU(0.1)
|
96 |
+
norm_layer = functools.partial(LayerNorm2d, affine=True)
|
97 |
+
kwargs = {'norm_layer':norm_layer, 'nonlinearity':nonlinearity, 'use_spect':use_spect}
|
98 |
+
self.descriptor_nc = descriptor_nc
|
99 |
+
|
100 |
+
self.encoder = encoder(image_nc, base_nc, max_nc, layer, **kwargs)
|
101 |
+
self.decoder = decoder(image_nc, self.descriptor_nc, base_nc, max_nc, layer, num_res_blocks, **kwargs)
|
102 |
+
self.audio_encoder = nn.Sequential(
|
103 |
+
Conv2d(1, 32, kernel_size=3, stride=1, padding=1),
|
104 |
+
Conv2d(32, 32, kernel_size=3, stride=1, padding=1, residual=True),
|
105 |
+
Conv2d(32, 32, kernel_size=3, stride=1, padding=1, residual=True),
|
106 |
+
|
107 |
+
Conv2d(32, 64, kernel_size=3, stride=(3, 1), padding=1),
|
108 |
+
Conv2d(64, 64, kernel_size=3, stride=1, padding=1, residual=True),
|
109 |
+
Conv2d(64, 64, kernel_size=3, stride=1, padding=1, residual=True),
|
110 |
+
|
111 |
+
Conv2d(64, 128, kernel_size=3, stride=3, padding=1),
|
112 |
+
Conv2d(128, 128, kernel_size=3, stride=1, padding=1, residual=True),
|
113 |
+
Conv2d(128, 128, kernel_size=3, stride=1, padding=1, residual=True),
|
114 |
+
|
115 |
+
Conv2d(128, 256, kernel_size=3, stride=(3, 2), padding=1),
|
116 |
+
Conv2d(256, 256, kernel_size=3, stride=1, padding=1, residual=True),
|
117 |
+
|
118 |
+
Conv2d(256, 512, kernel_size=3, stride=1, padding=0),
|
119 |
+
Conv2d(512, descriptor_nc, kernel_size=1, stride=1, padding=0),
|
120 |
+
)
|
121 |
+
|
122 |
+
def forward(self, audio_sequences, face_sequences):
|
123 |
+
B = audio_sequences.size(0)
|
124 |
+
input_dim_size = len(face_sequences.size())
|
125 |
+
if input_dim_size > 4:
|
126 |
+
audio_sequences = torch.cat([audio_sequences[:, i] for i in range(audio_sequences.size(1))], dim=0)
|
127 |
+
face_sequences = torch.cat([face_sequences[:, :, i] for i in range(face_sequences.size(2))], dim=0)
|
128 |
+
cropped, ref = torch.split(face_sequences, 3, dim=1)
|
129 |
+
|
130 |
+
vis_feat = self.encoder(cropped, ref)
|
131 |
+
audio_feat = self.audio_encoder(audio_sequences)
|
132 |
+
_outputs = self.decoder(vis_feat, audio_feat)
|
133 |
+
|
134 |
+
if input_dim_size > 4:
|
135 |
+
_outputs = torch.split(_outputs, B, dim=0)
|
136 |
+
outputs = torch.stack(_outputs, dim=2)
|
137 |
+
else:
|
138 |
+
outputs = _outputs
|
139 |
+
return outputs
|
videoretalking/models/__init__.py
ADDED
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import torch
|
2 |
+
from models.DNet import DNet
|
3 |
+
from models.LNet import LNet
|
4 |
+
from models.ENet import ENet
|
5 |
+
|
6 |
+
|
7 |
+
def _load(checkpoint_path):
|
8 |
+
map_location=None if torch.cuda.is_available() else torch.device('cpu')
|
9 |
+
checkpoint = torch.load(checkpoint_path, map_location=map_location)
|
10 |
+
return checkpoint
|
11 |
+
|
12 |
+
def load_checkpoint(path, model):
|
13 |
+
print("Load checkpoint from: {}".format(path))
|
14 |
+
checkpoint = _load(path)
|
15 |
+
s = checkpoint["state_dict"] if 'arcface' not in path else checkpoint
|
16 |
+
new_s = {}
|
17 |
+
for k, v in s.items():
|
18 |
+
if 'low_res' in k:
|
19 |
+
continue
|
20 |
+
else:
|
21 |
+
new_s[k.replace('module.', '')] = v
|
22 |
+
model.load_state_dict(new_s, strict=False)
|
23 |
+
return model
|
24 |
+
|
25 |
+
def load_network(LNet_path,ENet_path):
|
26 |
+
L_net = LNet()
|
27 |
+
L_net = load_checkpoint(LNet_path, L_net)
|
28 |
+
E_net = ENet(lnet=L_net)
|
29 |
+
model = load_checkpoint(ENet_path, E_net)
|
30 |
+
return model.eval()
|
31 |
+
|
32 |
+
def load_DNet(DNet_path):
|
33 |
+
D_Net = DNet()
|
34 |
+
print("Load checkpoint from: {}".format(DNet_path))
|
35 |
+
checkpoint = torch.load(DNet_path, map_location=lambda storage, loc: storage)
|
36 |
+
D_Net.load_state_dict(checkpoint['net_G_ema'], strict=False)
|
37 |
+
return D_Net.eval()
|
videoretalking/models/__pycache__/DNet.cpython-39.pyc
ADDED
Binary file (4.01 kB). View file
|
|
videoretalking/models/__pycache__/ENet.cpython-39.pyc
ADDED
Binary file (3.73 kB). View file
|
|
videoretalking/models/__pycache__/LNet.cpython-39.pyc
ADDED
Binary file (4.79 kB). View file
|
|
videoretalking/models/__pycache__/__init__.cpython-39.pyc
ADDED
Binary file (1.49 kB). View file
|
|
videoretalking/models/__pycache__/base_blocks.cpython-39.pyc
ADDED
Binary file (20.2 kB). View file
|
|
videoretalking/models/__pycache__/ffc.cpython-39.pyc
ADDED
Binary file (6.92 kB). View file
|
|
videoretalking/models/__pycache__/transformer.cpython-39.pyc
ADDED
Binary file (4.78 kB). View file
|
|
videoretalking/models/base_blocks.py
ADDED
@@ -0,0 +1,554 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import math
|
2 |
+
import torch
|
3 |
+
import torch.nn as nn
|
4 |
+
import torch.nn.functional as F
|
5 |
+
from torch.nn.modules.batchnorm import BatchNorm2d
|
6 |
+
from torch.nn.utils.spectral_norm import spectral_norm as SpectralNorm
|
7 |
+
|
8 |
+
from models.ffc import FFC
|
9 |
+
from basicsr.archs.arch_util import default_init_weights
|
10 |
+
|
11 |
+
|
12 |
+
class Conv2d(nn.Module):
|
13 |
+
def __init__(self, cin, cout, kernel_size, stride, padding, residual=False, *args, **kwargs):
|
14 |
+
super().__init__(*args, **kwargs)
|
15 |
+
self.conv_block = nn.Sequential(
|
16 |
+
nn.Conv2d(cin, cout, kernel_size, stride, padding),
|
17 |
+
nn.BatchNorm2d(cout)
|
18 |
+
)
|
19 |
+
self.act = nn.ReLU()
|
20 |
+
self.residual = residual
|
21 |
+
|
22 |
+
def forward(self, x):
|
23 |
+
out = self.conv_block(x)
|
24 |
+
if self.residual:
|
25 |
+
out += x
|
26 |
+
return self.act(out)
|
27 |
+
|
28 |
+
|
29 |
+
class ResBlock(nn.Module):
|
30 |
+
def __init__(self, in_channels, out_channels, mode='down'):
|
31 |
+
super(ResBlock, self).__init__()
|
32 |
+
self.conv1 = nn.Conv2d(in_channels, in_channels, 3, 1, 1)
|
33 |
+
self.conv2 = nn.Conv2d(in_channels, out_channels, 3, 1, 1)
|
34 |
+
self.skip = nn.Conv2d(in_channels, out_channels, 1, bias=False)
|
35 |
+
if mode == 'down':
|
36 |
+
self.scale_factor = 0.5
|
37 |
+
elif mode == 'up':
|
38 |
+
self.scale_factor = 2
|
39 |
+
|
40 |
+
def forward(self, x):
|
41 |
+
out = F.leaky_relu_(self.conv1(x), negative_slope=0.2)
|
42 |
+
# upsample/downsample
|
43 |
+
out = F.interpolate(out, scale_factor=self.scale_factor, mode='bilinear', align_corners=False)
|
44 |
+
out = F.leaky_relu_(self.conv2(out), negative_slope=0.2)
|
45 |
+
# skip
|
46 |
+
x = F.interpolate(x, scale_factor=self.scale_factor, mode='bilinear', align_corners=False)
|
47 |
+
skip = self.skip(x)
|
48 |
+
out = out + skip
|
49 |
+
return out
|
50 |
+
|
51 |
+
|
52 |
+
class LayerNorm2d(nn.Module):
|
53 |
+
def __init__(self, n_out, affine=True):
|
54 |
+
super(LayerNorm2d, self).__init__()
|
55 |
+
self.n_out = n_out
|
56 |
+
self.affine = affine
|
57 |
+
|
58 |
+
if self.affine:
|
59 |
+
self.weight = nn.Parameter(torch.ones(n_out, 1, 1))
|
60 |
+
self.bias = nn.Parameter(torch.zeros(n_out, 1, 1))
|
61 |
+
|
62 |
+
def forward(self, x):
|
63 |
+
normalized_shape = x.size()[1:]
|
64 |
+
if self.affine:
|
65 |
+
return F.layer_norm(x, normalized_shape, \
|
66 |
+
self.weight.expand(normalized_shape),
|
67 |
+
self.bias.expand(normalized_shape))
|
68 |
+
else:
|
69 |
+
return F.layer_norm(x, normalized_shape)
|
70 |
+
|
71 |
+
|
72 |
+
def spectral_norm(module, use_spect=True):
|
73 |
+
if use_spect:
|
74 |
+
return SpectralNorm(module)
|
75 |
+
else:
|
76 |
+
return module
|
77 |
+
|
78 |
+
|
79 |
+
class FirstBlock2d(nn.Module):
|
80 |
+
def __init__(self, input_nc, output_nc, norm_layer=nn.BatchNorm2d, nonlinearity=nn.LeakyReLU(), use_spect=False):
|
81 |
+
super(FirstBlock2d, self).__init__()
|
82 |
+
kwargs = {'kernel_size': 7, 'stride': 1, 'padding': 3}
|
83 |
+
conv = spectral_norm(nn.Conv2d(input_nc, output_nc, **kwargs), use_spect)
|
84 |
+
|
85 |
+
if type(norm_layer) == type(None):
|
86 |
+
self.model = nn.Sequential(conv, nonlinearity)
|
87 |
+
else:
|
88 |
+
self.model = nn.Sequential(conv, norm_layer(output_nc), nonlinearity)
|
89 |
+
|
90 |
+
def forward(self, x):
|
91 |
+
out = self.model(x)
|
92 |
+
return out
|
93 |
+
|
94 |
+
|
95 |
+
class DownBlock2d(nn.Module):
|
96 |
+
def __init__(self, input_nc, output_nc, norm_layer=nn.BatchNorm2d, nonlinearity=nn.LeakyReLU(), use_spect=False):
|
97 |
+
super(DownBlock2d, self).__init__()
|
98 |
+
kwargs = {'kernel_size': 3, 'stride': 1, 'padding': 1}
|
99 |
+
conv = spectral_norm(nn.Conv2d(input_nc, output_nc, **kwargs), use_spect)
|
100 |
+
pool = nn.AvgPool2d(kernel_size=(2, 2))
|
101 |
+
|
102 |
+
if type(norm_layer) == type(None):
|
103 |
+
self.model = nn.Sequential(conv, nonlinearity, pool)
|
104 |
+
else:
|
105 |
+
self.model = nn.Sequential(conv, norm_layer(output_nc), nonlinearity, pool)
|
106 |
+
|
107 |
+
def forward(self, x):
|
108 |
+
out = self.model(x)
|
109 |
+
return out
|
110 |
+
|
111 |
+
|
112 |
+
class UpBlock2d(nn.Module):
|
113 |
+
def __init__(self, input_nc, output_nc, norm_layer=nn.BatchNorm2d, nonlinearity=nn.LeakyReLU(), use_spect=False):
|
114 |
+
super(UpBlock2d, self).__init__()
|
115 |
+
kwargs = {'kernel_size': 3, 'stride': 1, 'padding': 1}
|
116 |
+
conv = spectral_norm(nn.Conv2d(input_nc, output_nc, **kwargs), use_spect)
|
117 |
+
if type(norm_layer) == type(None):
|
118 |
+
self.model = nn.Sequential(conv, nonlinearity)
|
119 |
+
else:
|
120 |
+
self.model = nn.Sequential(conv, norm_layer(output_nc), nonlinearity)
|
121 |
+
|
122 |
+
def forward(self, x):
|
123 |
+
out = self.model(F.interpolate(x, scale_factor=2))
|
124 |
+
return out
|
125 |
+
|
126 |
+
|
127 |
+
class ADAIN(nn.Module):
|
128 |
+
def __init__(self, norm_nc, feature_nc):
|
129 |
+
super().__init__()
|
130 |
+
|
131 |
+
self.param_free_norm = nn.InstanceNorm2d(norm_nc, affine=False)
|
132 |
+
|
133 |
+
nhidden = 128
|
134 |
+
use_bias=True
|
135 |
+
|
136 |
+
self.mlp_shared = nn.Sequential(
|
137 |
+
nn.Linear(feature_nc, nhidden, bias=use_bias),
|
138 |
+
nn.ReLU()
|
139 |
+
)
|
140 |
+
self.mlp_gamma = nn.Linear(nhidden, norm_nc, bias=use_bias)
|
141 |
+
self.mlp_beta = nn.Linear(nhidden, norm_nc, bias=use_bias)
|
142 |
+
|
143 |
+
def forward(self, x, feature):
|
144 |
+
|
145 |
+
# Part 1. generate parameter-free normalized activations
|
146 |
+
normalized = self.param_free_norm(x)
|
147 |
+
# Part 2. produce scaling and bias conditioned on feature
|
148 |
+
feature = feature.view(feature.size(0), -1)
|
149 |
+
actv = self.mlp_shared(feature)
|
150 |
+
gamma = self.mlp_gamma(actv)
|
151 |
+
beta = self.mlp_beta(actv)
|
152 |
+
|
153 |
+
# apply scale and bias
|
154 |
+
gamma = gamma.view(*gamma.size()[:2], 1,1)
|
155 |
+
beta = beta.view(*beta.size()[:2], 1,1)
|
156 |
+
out = normalized * (1 + gamma) + beta
|
157 |
+
return out
|
158 |
+
|
159 |
+
|
160 |
+
class FineADAINResBlock2d(nn.Module):
|
161 |
+
"""
|
162 |
+
Define an Residual block for different types
|
163 |
+
"""
|
164 |
+
def __init__(self, input_nc, feature_nc, norm_layer=nn.BatchNorm2d, nonlinearity=nn.LeakyReLU(), use_spect=False):
|
165 |
+
super(FineADAINResBlock2d, self).__init__()
|
166 |
+
kwargs = {'kernel_size': 3, 'stride': 1, 'padding': 1}
|
167 |
+
self.conv1 = spectral_norm(nn.Conv2d(input_nc, input_nc, **kwargs), use_spect)
|
168 |
+
self.conv2 = spectral_norm(nn.Conv2d(input_nc, input_nc, **kwargs), use_spect)
|
169 |
+
self.norm1 = ADAIN(input_nc, feature_nc)
|
170 |
+
self.norm2 = ADAIN(input_nc, feature_nc)
|
171 |
+
self.actvn = nonlinearity
|
172 |
+
|
173 |
+
def forward(self, x, z):
|
174 |
+
dx = self.actvn(self.norm1(self.conv1(x), z))
|
175 |
+
dx = self.norm2(self.conv2(x), z)
|
176 |
+
out = dx + x
|
177 |
+
return out
|
178 |
+
|
179 |
+
|
180 |
+
class FineADAINResBlocks(nn.Module):
|
181 |
+
def __init__(self, num_block, input_nc, feature_nc, norm_layer=nn.BatchNorm2d, nonlinearity=nn.LeakyReLU(), use_spect=False):
|
182 |
+
super(FineADAINResBlocks, self).__init__()
|
183 |
+
self.num_block = num_block
|
184 |
+
for i in range(num_block):
|
185 |
+
model = FineADAINResBlock2d(input_nc, feature_nc, norm_layer, nonlinearity, use_spect)
|
186 |
+
setattr(self, 'res'+str(i), model)
|
187 |
+
|
188 |
+
def forward(self, x, z):
|
189 |
+
for i in range(self.num_block):
|
190 |
+
model = getattr(self, 'res'+str(i))
|
191 |
+
x = model(x, z)
|
192 |
+
return x
|
193 |
+
|
194 |
+
|
195 |
+
class ADAINEncoderBlock(nn.Module):
|
196 |
+
def __init__(self, input_nc, output_nc, feature_nc, nonlinearity=nn.LeakyReLU(), use_spect=False):
|
197 |
+
super(ADAINEncoderBlock, self).__init__()
|
198 |
+
kwargs_down = {'kernel_size': 4, 'stride': 2, 'padding': 1}
|
199 |
+
kwargs_fine = {'kernel_size': 3, 'stride': 1, 'padding': 1}
|
200 |
+
|
201 |
+
self.conv_0 = spectral_norm(nn.Conv2d(input_nc, output_nc, **kwargs_down), use_spect)
|
202 |
+
self.conv_1 = spectral_norm(nn.Conv2d(output_nc, output_nc, **kwargs_fine), use_spect)
|
203 |
+
|
204 |
+
|
205 |
+
self.norm_0 = ADAIN(input_nc, feature_nc)
|
206 |
+
self.norm_1 = ADAIN(output_nc, feature_nc)
|
207 |
+
self.actvn = nonlinearity
|
208 |
+
|
209 |
+
def forward(self, x, z):
|
210 |
+
x = self.conv_0(self.actvn(self.norm_0(x, z)))
|
211 |
+
x = self.conv_1(self.actvn(self.norm_1(x, z)))
|
212 |
+
return x
|
213 |
+
|
214 |
+
|
215 |
+
class ADAINDecoderBlock(nn.Module):
|
216 |
+
def __init__(self, input_nc, output_nc, hidden_nc, feature_nc, use_transpose=True, nonlinearity=nn.LeakyReLU(), use_spect=False):
|
217 |
+
super(ADAINDecoderBlock, self).__init__()
|
218 |
+
# Attributes
|
219 |
+
self.actvn = nonlinearity
|
220 |
+
hidden_nc = min(input_nc, output_nc) if hidden_nc is None else hidden_nc
|
221 |
+
|
222 |
+
kwargs_fine = {'kernel_size':3, 'stride':1, 'padding':1}
|
223 |
+
if use_transpose:
|
224 |
+
kwargs_up = {'kernel_size':3, 'stride':2, 'padding':1, 'output_padding':1}
|
225 |
+
else:
|
226 |
+
kwargs_up = {'kernel_size':3, 'stride':1, 'padding':1}
|
227 |
+
|
228 |
+
# create conv layers
|
229 |
+
self.conv_0 = spectral_norm(nn.Conv2d(input_nc, hidden_nc, **kwargs_fine), use_spect)
|
230 |
+
if use_transpose:
|
231 |
+
self.conv_1 = spectral_norm(nn.ConvTranspose2d(hidden_nc, output_nc, **kwargs_up), use_spect)
|
232 |
+
self.conv_s = spectral_norm(nn.ConvTranspose2d(input_nc, output_nc, **kwargs_up), use_spect)
|
233 |
+
else:
|
234 |
+
self.conv_1 = nn.Sequential(spectral_norm(nn.Conv2d(hidden_nc, output_nc, **kwargs_up), use_spect),
|
235 |
+
nn.Upsample(scale_factor=2))
|
236 |
+
self.conv_s = nn.Sequential(spectral_norm(nn.Conv2d(input_nc, output_nc, **kwargs_up), use_spect),
|
237 |
+
nn.Upsample(scale_factor=2))
|
238 |
+
# define normalization layers
|
239 |
+
self.norm_0 = ADAIN(input_nc, feature_nc)
|
240 |
+
self.norm_1 = ADAIN(hidden_nc, feature_nc)
|
241 |
+
self.norm_s = ADAIN(input_nc, feature_nc)
|
242 |
+
|
243 |
+
def forward(self, x, z):
|
244 |
+
x_s = self.shortcut(x, z)
|
245 |
+
dx = self.conv_0(self.actvn(self.norm_0(x, z)))
|
246 |
+
dx = self.conv_1(self.actvn(self.norm_1(dx, z)))
|
247 |
+
out = x_s + dx
|
248 |
+
return out
|
249 |
+
|
250 |
+
def shortcut(self, x, z):
|
251 |
+
x_s = self.conv_s(self.actvn(self.norm_s(x, z)))
|
252 |
+
return x_s
|
253 |
+
|
254 |
+
|
255 |
+
class FineEncoder(nn.Module):
|
256 |
+
"""docstring for Encoder"""
|
257 |
+
def __init__(self, image_nc, ngf, img_f, layers, norm_layer=nn.BatchNorm2d, nonlinearity=nn.LeakyReLU(), use_spect=False):
|
258 |
+
super(FineEncoder, self).__init__()
|
259 |
+
self.layers = layers
|
260 |
+
self.first = FirstBlock2d(image_nc, ngf, norm_layer, nonlinearity, use_spect)
|
261 |
+
for i in range(layers):
|
262 |
+
in_channels = min(ngf*(2**i), img_f)
|
263 |
+
out_channels = min(ngf*(2**(i+1)), img_f)
|
264 |
+
model = DownBlock2d(in_channels, out_channels, norm_layer, nonlinearity, use_spect)
|
265 |
+
setattr(self, 'down' + str(i), model)
|
266 |
+
self.output_nc = out_channels
|
267 |
+
|
268 |
+
def forward(self, x):
|
269 |
+
x = self.first(x)
|
270 |
+
out=[x]
|
271 |
+
for i in range(self.layers):
|
272 |
+
model = getattr(self, 'down'+str(i))
|
273 |
+
x = model(x)
|
274 |
+
out.append(x)
|
275 |
+
return out
|
276 |
+
|
277 |
+
|
278 |
+
class FineDecoder(nn.Module):
|
279 |
+
"""docstring for FineDecoder"""
|
280 |
+
def __init__(self, image_nc, feature_nc, ngf, img_f, layers, num_block, norm_layer=nn.BatchNorm2d, nonlinearity=nn.LeakyReLU(), use_spect=False):
|
281 |
+
super(FineDecoder, self).__init__()
|
282 |
+
self.layers = layers
|
283 |
+
for i in range(layers)[::-1]:
|
284 |
+
in_channels = min(ngf*(2**(i+1)), img_f)
|
285 |
+
out_channels = min(ngf*(2**i), img_f)
|
286 |
+
up = UpBlock2d(in_channels, out_channels, norm_layer, nonlinearity, use_spect)
|
287 |
+
res = FineADAINResBlocks(num_block, in_channels, feature_nc, norm_layer, nonlinearity, use_spect)
|
288 |
+
jump = Jump(out_channels, norm_layer, nonlinearity, use_spect)
|
289 |
+
setattr(self, 'up' + str(i), up)
|
290 |
+
setattr(self, 'res' + str(i), res)
|
291 |
+
setattr(self, 'jump' + str(i), jump)
|
292 |
+
self.final = FinalBlock2d(out_channels, image_nc, use_spect, 'tanh')
|
293 |
+
self.output_nc = out_channels
|
294 |
+
|
295 |
+
def forward(self, x, z):
|
296 |
+
out = x.pop()
|
297 |
+
for i in range(self.layers)[::-1]:
|
298 |
+
res_model = getattr(self, 'res' + str(i))
|
299 |
+
up_model = getattr(self, 'up' + str(i))
|
300 |
+
jump_model = getattr(self, 'jump' + str(i))
|
301 |
+
out = res_model(out, z)
|
302 |
+
out = up_model(out)
|
303 |
+
out = jump_model(x.pop()) + out
|
304 |
+
out_image = self.final(out)
|
305 |
+
return out_image
|
306 |
+
|
307 |
+
|
308 |
+
class ADAINEncoder(nn.Module):
|
309 |
+
def __init__(self, image_nc, pose_nc, ngf, img_f, layers, nonlinearity=nn.LeakyReLU(), use_spect=False):
|
310 |
+
super(ADAINEncoder, self).__init__()
|
311 |
+
self.layers = layers
|
312 |
+
self.input_layer = nn.Conv2d(image_nc, ngf, kernel_size=7, stride=1, padding=3)
|
313 |
+
for i in range(layers):
|
314 |
+
in_channels = min(ngf * (2**i), img_f)
|
315 |
+
out_channels = min(ngf *(2**(i+1)), img_f)
|
316 |
+
model = ADAINEncoderBlock(in_channels, out_channels, pose_nc, nonlinearity, use_spect)
|
317 |
+
setattr(self, 'encoder' + str(i), model)
|
318 |
+
self.output_nc = out_channels
|
319 |
+
|
320 |
+
def forward(self, x, z):
|
321 |
+
out = self.input_layer(x)
|
322 |
+
out_list = [out]
|
323 |
+
for i in range(self.layers):
|
324 |
+
model = getattr(self, 'encoder' + str(i))
|
325 |
+
out = model(out, z)
|
326 |
+
out_list.append(out)
|
327 |
+
return out_list
|
328 |
+
|
329 |
+
|
330 |
+
class ADAINDecoder(nn.Module):
|
331 |
+
"""docstring for ADAINDecoder"""
|
332 |
+
def __init__(self, pose_nc, ngf, img_f, encoder_layers, decoder_layers, skip_connect=True,
|
333 |
+
nonlinearity=nn.LeakyReLU(), use_spect=False):
|
334 |
+
|
335 |
+
super(ADAINDecoder, self).__init__()
|
336 |
+
self.encoder_layers = encoder_layers
|
337 |
+
self.decoder_layers = decoder_layers
|
338 |
+
self.skip_connect = skip_connect
|
339 |
+
use_transpose = True
|
340 |
+
for i in range(encoder_layers-decoder_layers, encoder_layers)[::-1]:
|
341 |
+
in_channels = min(ngf * (2**(i+1)), img_f)
|
342 |
+
in_channels = in_channels*2 if i != (encoder_layers-1) and self.skip_connect else in_channels
|
343 |
+
out_channels = min(ngf * (2**i), img_f)
|
344 |
+
model = ADAINDecoderBlock(in_channels, out_channels, out_channels, pose_nc, use_transpose, nonlinearity, use_spect)
|
345 |
+
setattr(self, 'decoder' + str(i), model)
|
346 |
+
self.output_nc = out_channels*2 if self.skip_connect else out_channels
|
347 |
+
|
348 |
+
def forward(self, x, z):
|
349 |
+
out = x.pop() if self.skip_connect else x
|
350 |
+
for i in range(self.encoder_layers-self.decoder_layers, self.encoder_layers)[::-1]:
|
351 |
+
model = getattr(self, 'decoder' + str(i))
|
352 |
+
out = model(out, z)
|
353 |
+
out = torch.cat([out, x.pop()], 1) if self.skip_connect else out
|
354 |
+
return out
|
355 |
+
|
356 |
+
|
357 |
+
class ADAINHourglass(nn.Module):
|
358 |
+
def __init__(self, image_nc, pose_nc, ngf, img_f, encoder_layers, decoder_layers, nonlinearity, use_spect):
|
359 |
+
super(ADAINHourglass, self).__init__()
|
360 |
+
self.encoder = ADAINEncoder(image_nc, pose_nc, ngf, img_f, encoder_layers, nonlinearity, use_spect)
|
361 |
+
self.decoder = ADAINDecoder(pose_nc, ngf, img_f, encoder_layers, decoder_layers, True, nonlinearity, use_spect)
|
362 |
+
self.output_nc = self.decoder.output_nc
|
363 |
+
|
364 |
+
def forward(self, x, z):
|
365 |
+
return self.decoder(self.encoder(x, z), z)
|
366 |
+
|
367 |
+
|
368 |
+
class FineADAINLama(nn.Module):
|
369 |
+
def __init__(self, input_nc, feature_nc, norm_layer=nn.BatchNorm2d, nonlinearity=nn.LeakyReLU(), use_spect=False):
|
370 |
+
super(FineADAINLama, self).__init__()
|
371 |
+
kwargs = {'kernel_size': 3, 'stride': 1, 'padding': 1}
|
372 |
+
self.actvn = nonlinearity
|
373 |
+
ratio_gin = 0.75
|
374 |
+
ratio_gout = 0.75
|
375 |
+
self.ffc = FFC(input_nc, input_nc, 3,
|
376 |
+
ratio_gin, ratio_gout, 1, 1, 1,
|
377 |
+
1, False, False, padding_type='reflect')
|
378 |
+
global_channels = int(input_nc * ratio_gout)
|
379 |
+
self.bn_l = ADAIN(input_nc - global_channels, feature_nc)
|
380 |
+
self.bn_g = ADAIN(global_channels, feature_nc)
|
381 |
+
|
382 |
+
def forward(self, x, z):
|
383 |
+
x_l, x_g = self.ffc(x)
|
384 |
+
x_l = self.actvn(self.bn_l(x_l,z))
|
385 |
+
x_g = self.actvn(self.bn_g(x_g,z))
|
386 |
+
return x_l, x_g
|
387 |
+
|
388 |
+
|
389 |
+
class FFCResnetBlock(nn.Module):
|
390 |
+
def __init__(self, dim, feature_dim, padding_type='reflect', norm_layer=BatchNorm2d, activation_layer=nn.ReLU, dilation=1,
|
391 |
+
spatial_transform_kwargs=None, inline=False, **conv_kwargs):
|
392 |
+
super().__init__()
|
393 |
+
self.conv1 = FineADAINLama(dim, feature_dim, **conv_kwargs)
|
394 |
+
self.conv2 = FineADAINLama(dim, feature_dim, **conv_kwargs)
|
395 |
+
self.inline = True
|
396 |
+
|
397 |
+
def forward(self, x, z):
|
398 |
+
if self.inline:
|
399 |
+
x_l, x_g = x[:, :-self.conv1.ffc.global_in_num], x[:, -self.conv1.ffc.global_in_num:]
|
400 |
+
else:
|
401 |
+
x_l, x_g = x if type(x) is tuple else (x, 0)
|
402 |
+
|
403 |
+
id_l, id_g = x_l, x_g
|
404 |
+
x_l, x_g = self.conv1((x_l, x_g), z)
|
405 |
+
x_l, x_g = self.conv2((x_l, x_g), z)
|
406 |
+
|
407 |
+
x_l, x_g = id_l + x_l, id_g + x_g
|
408 |
+
out = x_l, x_g
|
409 |
+
if self.inline:
|
410 |
+
out = torch.cat(out, dim=1)
|
411 |
+
return out
|
412 |
+
|
413 |
+
|
414 |
+
class FFCADAINResBlocks(nn.Module):
|
415 |
+
def __init__(self, num_block, input_nc, feature_nc, norm_layer=nn.BatchNorm2d, nonlinearity=nn.LeakyReLU(), use_spect=False):
|
416 |
+
super(FFCADAINResBlocks, self).__init__()
|
417 |
+
self.num_block = num_block
|
418 |
+
for i in range(num_block):
|
419 |
+
model = FFCResnetBlock(input_nc, feature_nc, norm_layer, nonlinearity, use_spect)
|
420 |
+
setattr(self, 'res'+str(i), model)
|
421 |
+
|
422 |
+
def forward(self, x, z):
|
423 |
+
for i in range(self.num_block):
|
424 |
+
model = getattr(self, 'res'+str(i))
|
425 |
+
x = model(x, z)
|
426 |
+
return x
|
427 |
+
|
428 |
+
|
429 |
+
class Jump(nn.Module):
|
430 |
+
def __init__(self, input_nc, norm_layer=nn.BatchNorm2d, nonlinearity=nn.LeakyReLU(), use_spect=False):
|
431 |
+
super(Jump, self).__init__()
|
432 |
+
kwargs = {'kernel_size': 3, 'stride': 1, 'padding': 1}
|
433 |
+
conv = spectral_norm(nn.Conv2d(input_nc, input_nc, **kwargs), use_spect)
|
434 |
+
if type(norm_layer) == type(None):
|
435 |
+
self.model = nn.Sequential(conv, nonlinearity)
|
436 |
+
else:
|
437 |
+
self.model = nn.Sequential(conv, norm_layer(input_nc), nonlinearity)
|
438 |
+
|
439 |
+
def forward(self, x):
|
440 |
+
out = self.model(x)
|
441 |
+
return out
|
442 |
+
|
443 |
+
|
444 |
+
class FinalBlock2d(nn.Module):
|
445 |
+
def __init__(self, input_nc, output_nc, use_spect=False, tanh_or_sigmoid='tanh'):
|
446 |
+
super(FinalBlock2d, self).__init__()
|
447 |
+
kwargs = {'kernel_size': 7, 'stride': 1, 'padding':3}
|
448 |
+
conv = spectral_norm(nn.Conv2d(input_nc, output_nc, **kwargs), use_spect)
|
449 |
+
if tanh_or_sigmoid == 'sigmoid':
|
450 |
+
out_nonlinearity = nn.Sigmoid()
|
451 |
+
else:
|
452 |
+
out_nonlinearity = nn.Tanh()
|
453 |
+
self.model = nn.Sequential(conv, out_nonlinearity)
|
454 |
+
|
455 |
+
def forward(self, x):
|
456 |
+
out = self.model(x)
|
457 |
+
return out
|
458 |
+
|
459 |
+
|
460 |
+
class ModulatedConv2d(nn.Module):
|
461 |
+
def __init__(self,
|
462 |
+
in_channels,
|
463 |
+
out_channels,
|
464 |
+
kernel_size,
|
465 |
+
num_style_feat,
|
466 |
+
demodulate=True,
|
467 |
+
sample_mode=None,
|
468 |
+
eps=1e-8):
|
469 |
+
super(ModulatedConv2d, self).__init__()
|
470 |
+
self.in_channels = in_channels
|
471 |
+
self.out_channels = out_channels
|
472 |
+
self.kernel_size = kernel_size
|
473 |
+
self.demodulate = demodulate
|
474 |
+
self.sample_mode = sample_mode
|
475 |
+
self.eps = eps
|
476 |
+
|
477 |
+
# modulation inside each modulated conv
|
478 |
+
self.modulation = nn.Linear(num_style_feat, in_channels, bias=True)
|
479 |
+
# initialization
|
480 |
+
default_init_weights(self.modulation, scale=1, bias_fill=1, a=0, mode='fan_in', nonlinearity='linear')
|
481 |
+
|
482 |
+
self.weight = nn.Parameter(
|
483 |
+
torch.randn(1, out_channels, in_channels, kernel_size, kernel_size) /
|
484 |
+
math.sqrt(in_channels * kernel_size**2))
|
485 |
+
self.padding = kernel_size // 2
|
486 |
+
|
487 |
+
def forward(self, x, style):
|
488 |
+
b, c, h, w = x.shape
|
489 |
+
style = self.modulation(style).view(b, 1, c, 1, 1)
|
490 |
+
weight = self.weight * style
|
491 |
+
|
492 |
+
if self.demodulate:
|
493 |
+
demod = torch.rsqrt(weight.pow(2).sum([2, 3, 4]) + self.eps)
|
494 |
+
weight = weight * demod.view(b, self.out_channels, 1, 1, 1)
|
495 |
+
|
496 |
+
weight = weight.view(b * self.out_channels, c, self.kernel_size, self.kernel_size)
|
497 |
+
|
498 |
+
# upsample or downsample if necessary
|
499 |
+
if self.sample_mode == 'upsample':
|
500 |
+
x = F.interpolate(x, scale_factor=2, mode='bilinear', align_corners=False)
|
501 |
+
elif self.sample_mode == 'downsample':
|
502 |
+
x = F.interpolate(x, scale_factor=0.5, mode='bilinear', align_corners=False)
|
503 |
+
|
504 |
+
b, c, h, w = x.shape
|
505 |
+
x = x.view(1, b * c, h, w)
|
506 |
+
out = F.conv2d(x, weight, padding=self.padding, groups=b)
|
507 |
+
out = out.view(b, self.out_channels, *out.shape[2:4])
|
508 |
+
return out
|
509 |
+
|
510 |
+
def __repr__(self):
|
511 |
+
return (f'{self.__class__.__name__}(in_channels={self.in_channels}, out_channels={self.out_channels}, '
|
512 |
+
f'kernel_size={self.kernel_size}, demodulate={self.demodulate}, sample_mode={self.sample_mode})')
|
513 |
+
|
514 |
+
|
515 |
+
class StyleConv(nn.Module):
|
516 |
+
def __init__(self, in_channels, out_channels, kernel_size, num_style_feat, demodulate=True, sample_mode=None):
|
517 |
+
super(StyleConv, self).__init__()
|
518 |
+
self.modulated_conv = ModulatedConv2d(
|
519 |
+
in_channels, out_channels, kernel_size, num_style_feat, demodulate=demodulate, sample_mode=sample_mode)
|
520 |
+
self.weight = nn.Parameter(torch.zeros(1)) # for noise injection
|
521 |
+
self.bias = nn.Parameter(torch.zeros(1, out_channels, 1, 1))
|
522 |
+
self.activate = nn.LeakyReLU(negative_slope=0.2, inplace=True)
|
523 |
+
|
524 |
+
def forward(self, x, style, noise=None):
|
525 |
+
# modulate
|
526 |
+
out = self.modulated_conv(x, style) * 2**0.5 # for conversion
|
527 |
+
# noise injection
|
528 |
+
if noise is None:
|
529 |
+
b, _, h, w = out.shape
|
530 |
+
noise = out.new_empty(b, 1, h, w).normal_()
|
531 |
+
out = out + self.weight * noise
|
532 |
+
# add bias
|
533 |
+
out = out + self.bias
|
534 |
+
# activation
|
535 |
+
out = self.activate(out)
|
536 |
+
return out
|
537 |
+
|
538 |
+
|
539 |
+
class ToRGB(nn.Module):
|
540 |
+
def __init__(self, in_channels, num_style_feat, upsample=True):
|
541 |
+
super(ToRGB, self).__init__()
|
542 |
+
self.upsample = upsample
|
543 |
+
self.modulated_conv = ModulatedConv2d(
|
544 |
+
in_channels, 3, kernel_size=1, num_style_feat=num_style_feat, demodulate=False, sample_mode=None)
|
545 |
+
self.bias = nn.Parameter(torch.zeros(1, 3, 1, 1))
|
546 |
+
|
547 |
+
def forward(self, x, style, skip=None):
|
548 |
+
out = self.modulated_conv(x, style)
|
549 |
+
out = out + self.bias
|
550 |
+
if skip is not None:
|
551 |
+
if self.upsample:
|
552 |
+
skip = F.interpolate(skip, scale_factor=2, mode='bilinear', align_corners=False)
|
553 |
+
out = out + skip
|
554 |
+
return out
|