Version Description
- Bug fixes
Download this release
Release Info
Developer | markjaquith |
Plugin | Page Links To |
Version | 3.3.4 |
Comparing to | |
See all releases |
Code changes from version 3.3.3 to 3.3.4
- LICENSE +339 -0
- classes/plugin.php +40 -14
- dist/block-editor.asset.php +1 -1
- dist/block-editor.js +1 -1
- dist/meta-box.asset.php +1 -1
- dist/meta-box.js +1 -1
- dist/new-tab.asset.php +1 -1
- dist/new-tab.js +1 -1
- dist/quick-add.asset.php +1 -1
- dist/quick-add.css +1 -1
- dist/quick-add.js +1 -1
- page-links-to.php +1 -1
- readme.txt +4 -1
LICENSE
ADDED
@@ -0,0 +1,339 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
GNU GENERAL PUBLIC LICENSE
|
2 |
+
Version 2, June 1991
|
3 |
+
|
4 |
+
Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
|
5 |
+
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
6 |
+
Everyone is permitted to copy and distribute verbatim copies
|
7 |
+
of this license document, but changing it is not allowed.
|
8 |
+
|
9 |
+
Preamble
|
10 |
+
|
11 |
+
The licenses for most software are designed to take away your
|
12 |
+
freedom to share and change it. By contrast, the GNU General Public
|
13 |
+
License is intended to guarantee your freedom to share and change free
|
14 |
+
software--to make sure the software is free for all its users. This
|
15 |
+
General Public License applies to most of the Free Software
|
16 |
+
Foundation's software and to any other program whose authors commit to
|
17 |
+
using it. (Some other Free Software Foundation software is covered by
|
18 |
+
the GNU Lesser General Public License instead.) You can apply it to
|
19 |
+
your programs, too.
|
20 |
+
|
21 |
+
When we speak of free software, we are referring to freedom, not
|
22 |
+
price. Our General Public Licenses are designed to make sure that you
|
23 |
+
have the freedom to distribute copies of free software (and charge for
|
24 |
+
this service if you wish), that you receive source code or can get it
|
25 |
+
if you want it, that you can change the software or use pieces of it
|
26 |
+
in new free programs; and that you know you can do these things.
|
27 |
+
|
28 |
+
To protect your rights, we need to make restrictions that forbid
|
29 |
+
anyone to deny you these rights or to ask you to surrender the rights.
|
30 |
+
These restrictions translate to certain responsibilities for you if you
|
31 |
+
distribute copies of the software, or if you modify it.
|
32 |
+
|
33 |
+
For example, if you distribute copies of such a program, whether
|
34 |
+
gratis or for a fee, you must give the recipients all the rights that
|
35 |
+
you have. You must make sure that they, too, receive or can get the
|
36 |
+
source code. And you must show them these terms so they know their
|
37 |
+
rights.
|
38 |
+
|
39 |
+
We protect your rights with two steps: (1) copyright the software, and
|
40 |
+
(2) offer you this license which gives you legal permission to copy,
|
41 |
+
distribute and/or modify the software.
|
42 |
+
|
43 |
+
Also, for each author's protection and ours, we want to make certain
|
44 |
+
that everyone understands that there is no warranty for this free
|
45 |
+
software. If the software is modified by someone else and passed on, we
|
46 |
+
want its recipients to know that what they have is not the original, so
|
47 |
+
that any problems introduced by others will not reflect on the original
|
48 |
+
authors' reputations.
|
49 |
+
|
50 |
+
Finally, any free program is threatened constantly by software
|
51 |
+
patents. We wish to avoid the danger that redistributors of a free
|
52 |
+
program will individually obtain patent licenses, in effect making the
|
53 |
+
program proprietary. To prevent this, we have made it clear that any
|
54 |
+
patent must be licensed for everyone's free use or not licensed at all.
|
55 |
+
|
56 |
+
The precise terms and conditions for copying, distribution and
|
57 |
+
modification follow.
|
58 |
+
|
59 |
+
GNU GENERAL PUBLIC LICENSE
|
60 |
+
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
61 |
+
|
62 |
+
0. This License applies to any program or other work which contains
|
63 |
+
a notice placed by the copyright holder saying it may be distributed
|
64 |
+
under the terms of this General Public License. The "Program", below,
|
65 |
+
refers to any such program or work, and a "work based on the Program"
|
66 |
+
means either the Program or any derivative work under copyright law:
|
67 |
+
that is to say, a work containing the Program or a portion of it,
|
68 |
+
either verbatim or with modifications and/or translated into another
|
69 |
+
language. (Hereinafter, translation is included without limitation in
|
70 |
+
the term "modification".) Each licensee is addressed as "you".
|
71 |
+
|
72 |
+
Activities other than copying, distribution and modification are not
|
73 |
+
covered by this License; they are outside its scope. The act of
|
74 |
+
running the Program is not restricted, and the output from the Program
|
75 |
+
is covered only if its contents constitute a work based on the
|
76 |
+
Program (independent of having been made by running the Program).
|
77 |
+
Whether that is true depends on what the Program does.
|
78 |
+
|
79 |
+
1. You may copy and distribute verbatim copies of the Program's
|
80 |
+
source code as you receive it, in any medium, provided that you
|
81 |
+
conspicuously and appropriately publish on each copy an appropriate
|
82 |
+
copyright notice and disclaimer of warranty; keep intact all the
|
83 |
+
notices that refer to this License and to the absence of any warranty;
|
84 |
+
and give any other recipients of the Program a copy of this License
|
85 |
+
along with the Program.
|
86 |
+
|
87 |
+
You may charge a fee for the physical act of transferring a copy, and
|
88 |
+
you may at your option offer warranty protection in exchange for a fee.
|
89 |
+
|
90 |
+
2. You may modify your copy or copies of the Program or any portion
|
91 |
+
of it, thus forming a work based on the Program, and copy and
|
92 |
+
distribute such modifications or work under the terms of Section 1
|
93 |
+
above, provided that you also meet all of these conditions:
|
94 |
+
|
95 |
+
a) You must cause the modified files to carry prominent notices
|
96 |
+
stating that you changed the files and the date of any change.
|
97 |
+
|
98 |
+
b) You must cause any work that you distribute or publish, that in
|
99 |
+
whole or in part contains or is derived from the Program or any
|
100 |
+
part thereof, to be licensed as a whole at no charge to all third
|
101 |
+
parties under the terms of this License.
|
102 |
+
|
103 |
+
c) If the modified program normally reads commands interactively
|
104 |
+
when run, you must cause it, when started running for such
|
105 |
+
interactive use in the most ordinary way, to print or display an
|
106 |
+
announcement including an appropriate copyright notice and a
|
107 |
+
notice that there is no warranty (or else, saying that you provide
|
108 |
+
a warranty) and that users may redistribute the program under
|
109 |
+
these conditions, and telling the user how to view a copy of this
|
110 |
+
License. (Exception: if the Program itself is interactive but
|
111 |
+
does not normally print such an announcement, your work based on
|
112 |
+
the Program is not required to print an announcement.)
|
113 |
+
|
114 |
+
These requirements apply to the modified work as a whole. If
|
115 |
+
identifiable sections of that work are not derived from the Program,
|
116 |
+
and can be reasonably considered independent and separate works in
|
117 |
+
themselves, then this License, and its terms, do not apply to those
|
118 |
+
sections when you distribute them as separate works. But when you
|
119 |
+
distribute the same sections as part of a whole which is a work based
|
120 |
+
on the Program, the distribution of the whole must be on the terms of
|
121 |
+
this License, whose permissions for other licensees extend to the
|
122 |
+
entire whole, and thus to each and every part regardless of who wrote it.
|
123 |
+
|
124 |
+
Thus, it is not the intent of this section to claim rights or contest
|
125 |
+
your rights to work written entirely by you; rather, the intent is to
|
126 |
+
exercise the right to control the distribution of derivative or
|
127 |
+
collective works based on the Program.
|
128 |
+
|
129 |
+
In addition, mere aggregation of another work not based on the Program
|
130 |
+
with the Program (or with a work based on the Program) on a volume of
|
131 |
+
a storage or distribution medium does not bring the other work under
|
132 |
+
the scope of this License.
|
133 |
+
|
134 |
+
3. You may copy and distribute the Program (or a work based on it,
|
135 |
+
under Section 2) in object code or executable form under the terms of
|
136 |
+
Sections 1 and 2 above provided that you also do one of the following:
|
137 |
+
|
138 |
+
a) Accompany it with the complete corresponding machine-readable
|
139 |
+
source code, which must be distributed under the terms of Sections
|
140 |
+
1 and 2 above on a medium customarily used for software interchange; or,
|
141 |
+
|
142 |
+
b) Accompany it with a written offer, valid for at least three
|
143 |
+
years, to give any third party, for a charge no more than your
|
144 |
+
cost of physically performing source distribution, a complete
|
145 |
+
machine-readable copy of the corresponding source code, to be
|
146 |
+
distributed under the terms of Sections 1 and 2 above on a medium
|
147 |
+
customarily used for software interchange; or,
|
148 |
+
|
149 |
+
c) Accompany it with the information you received as to the offer
|
150 |
+
to distribute corresponding source code. (This alternative is
|
151 |
+
allowed only for noncommercial distribution and only if you
|
152 |
+
received the program in object code or executable form with such
|
153 |
+
an offer, in accord with Subsection b above.)
|
154 |
+
|
155 |
+
The source code for a work means the preferred form of the work for
|
156 |
+
making modifications to it. For an executable work, complete source
|
157 |
+
code means all the source code for all modules it contains, plus any
|
158 |
+
associated interface definition files, plus the scripts used to
|
159 |
+
control compilation and installation of the executable. However, as a
|
160 |
+
special exception, the source code distributed need not include
|
161 |
+
anything that is normally distributed (in either source or binary
|
162 |
+
form) with the major components (compiler, kernel, and so on) of the
|
163 |
+
operating system on which the executable runs, unless that component
|
164 |
+
itself accompanies the executable.
|
165 |
+
|
166 |
+
If distribution of executable or object code is made by offering
|
167 |
+
access to copy from a designated place, then offering equivalent
|
168 |
+
access to copy the source code from the same place counts as
|
169 |
+
distribution of the source code, even though third parties are not
|
170 |
+
compelled to copy the source along with the object code.
|
171 |
+
|
172 |
+
4. You may not copy, modify, sublicense, or distribute the Program
|
173 |
+
except as expressly provided under this License. Any attempt
|
174 |
+
otherwise to copy, modify, sublicense or distribute the Program is
|
175 |
+
void, and will automatically terminate your rights under this License.
|
176 |
+
However, parties who have received copies, or rights, from you under
|
177 |
+
this License will not have their licenses terminated so long as such
|
178 |
+
parties remain in full compliance.
|
179 |
+
|
180 |
+
5. You are not required to accept this License, since you have not
|
181 |
+
signed it. However, nothing else grants you permission to modify or
|
182 |
+
distribute the Program or its derivative works. These actions are
|
183 |
+
prohibited by law if you do not accept this License. Therefore, by
|
184 |
+
modifying or distributing the Program (or any work based on the
|
185 |
+
Program), you indicate your acceptance of this License to do so, and
|
186 |
+
all its terms and conditions for copying, distributing or modifying
|
187 |
+
the Program or works based on it.
|
188 |
+
|
189 |
+
6. Each time you redistribute the Program (or any work based on the
|
190 |
+
Program), the recipient automatically receives a license from the
|
191 |
+
original licensor to copy, distribute or modify the Program subject to
|
192 |
+
these terms and conditions. You may not impose any further
|
193 |
+
restrictions on the recipients' exercise of the rights granted herein.
|
194 |
+
You are not responsible for enforcing compliance by third parties to
|
195 |
+
this License.
|
196 |
+
|
197 |
+
7. If, as a consequence of a court judgment or allegation of patent
|
198 |
+
infringement or for any other reason (not limited to patent issues),
|
199 |
+
conditions are imposed on you (whether by court order, agreement or
|
200 |
+
otherwise) that contradict the conditions of this License, they do not
|
201 |
+
excuse you from the conditions of this License. If you cannot
|
202 |
+
distribute so as to satisfy simultaneously your obligations under this
|
203 |
+
License and any other pertinent obligations, then as a consequence you
|
204 |
+
may not distribute the Program at all. For example, if a patent
|
205 |
+
license would not permit royalty-free redistribution of the Program by
|
206 |
+
all those who receive copies directly or indirectly through you, then
|
207 |
+
the only way you could satisfy both it and this License would be to
|
208 |
+
refrain entirely from distribution of the Program.
|
209 |
+
|
210 |
+
If any portion of this section is held invalid or unenforceable under
|
211 |
+
any particular circumstance, the balance of the section is intended to
|
212 |
+
apply and the section as a whole is intended to apply in other
|
213 |
+
circumstances.
|
214 |
+
|
215 |
+
It is not the purpose of this section to induce you to infringe any
|
216 |
+
patents or other property right claims or to contest validity of any
|
217 |
+
such claims; this section has the sole purpose of protecting the
|
218 |
+
integrity of the free software distribution system, which is
|
219 |
+
implemented by public license practices. Many people have made
|
220 |
+
generous contributions to the wide range of software distributed
|
221 |
+
through that system in reliance on consistent application of that
|
222 |
+
system; it is up to the author/donor to decide if he or she is willing
|
223 |
+
to distribute software through any other system and a licensee cannot
|
224 |
+
impose that choice.
|
225 |
+
|
226 |
+
This section is intended to make thoroughly clear what is believed to
|
227 |
+
be a consequence of the rest of this License.
|
228 |
+
|
229 |
+
8. If the distribution and/or use of the Program is restricted in
|
230 |
+
certain countries either by patents or by copyrighted interfaces, the
|
231 |
+
original copyright holder who places the Program under this License
|
232 |
+
may add an explicit geographical distribution limitation excluding
|
233 |
+
those countries, so that distribution is permitted only in or among
|
234 |
+
countries not thus excluded. In such case, this License incorporates
|
235 |
+
the limitation as if written in the body of this License.
|
236 |
+
|
237 |
+
9. The Free Software Foundation may publish revised and/or new versions
|
238 |
+
of the General Public License from time to time. Such new versions will
|
239 |
+
be similar in spirit to the present version, but may differ in detail to
|
240 |
+
address new problems or concerns.
|
241 |
+
|
242 |
+
Each version is given a distinguishing version number. If the Program
|
243 |
+
specifies a version number of this License which applies to it and "any
|
244 |
+
later version", you have the option of following the terms and conditions
|
245 |
+
either of that version or of any later version published by the Free
|
246 |
+
Software Foundation. If the Program does not specify a version number of
|
247 |
+
this License, you may choose any version ever published by the Free Software
|
248 |
+
Foundation.
|
249 |
+
|
250 |
+
10. If you wish to incorporate parts of the Program into other free
|
251 |
+
programs whose distribution conditions are different, write to the author
|
252 |
+
to ask for permission. For software which is copyrighted by the Free
|
253 |
+
Software Foundation, write to the Free Software Foundation; we sometimes
|
254 |
+
make exceptions for this. Our decision will be guided by the two goals
|
255 |
+
of preserving the free status of all derivatives of our free software and
|
256 |
+
of promoting the sharing and reuse of software generally.
|
257 |
+
|
258 |
+
NO WARRANTY
|
259 |
+
|
260 |
+
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
|
261 |
+
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
|
262 |
+
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
|
263 |
+
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
|
264 |
+
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
265 |
+
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
|
266 |
+
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
|
267 |
+
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
|
268 |
+
REPAIR OR CORRECTION.
|
269 |
+
|
270 |
+
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
271 |
+
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
|
272 |
+
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
|
273 |
+
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
|
274 |
+
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
|
275 |
+
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
|
276 |
+
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
|
277 |
+
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
|
278 |
+
POSSIBILITY OF SUCH DAMAGES.
|
279 |
+
|
280 |
+
END OF TERMS AND CONDITIONS
|
281 |
+
|
282 |
+
How to Apply These Terms to Your New Programs
|
283 |
+
|
284 |
+
If you develop a new program, and you want it to be of the greatest
|
285 |
+
possible use to the public, the best way to achieve this is to make it
|
286 |
+
free software which everyone can redistribute and change under these terms.
|
287 |
+
|
288 |
+
To do so, attach the following notices to the program. It is safest
|
289 |
+
to attach them to the start of each source file to most effectively
|
290 |
+
convey the exclusion of warranty; and each file should have at least
|
291 |
+
the "copyright" line and a pointer to where the full notice is found.
|
292 |
+
|
293 |
+
<one line to give the program's name and a brief idea of what it does.>
|
294 |
+
Copyright (C) <year> <name of author>
|
295 |
+
|
296 |
+
This program is free software; you can redistribute it and/or modify
|
297 |
+
it under the terms of the GNU General Public License as published by
|
298 |
+
the Free Software Foundation; either version 2 of the License, or
|
299 |
+
(at your option) any later version.
|
300 |
+
|
301 |
+
This program is distributed in the hope that it will be useful,
|
302 |
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
303 |
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
304 |
+
GNU General Public License for more details.
|
305 |
+
|
306 |
+
You should have received a copy of the GNU General Public License along
|
307 |
+
with this program; if not, write to the Free Software Foundation, Inc.,
|
308 |
+
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
309 |
+
|
310 |
+
Also add information on how to contact you by electronic and paper mail.
|
311 |
+
|
312 |
+
If the program is interactive, make it output a short notice like this
|
313 |
+
when it starts in an interactive mode:
|
314 |
+
|
315 |
+
Gnomovision version 69, Copyright (C) year name of author
|
316 |
+
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
317 |
+
This is free software, and you are welcome to redistribute it
|
318 |
+
under certain conditions; type `show c' for details.
|
319 |
+
|
320 |
+
The hypothetical commands `show w' and `show c' should show the appropriate
|
321 |
+
parts of the General Public License. Of course, the commands you use may
|
322 |
+
be called something other than `show w' and `show c'; they could even be
|
323 |
+
mouse-clicks or menu items--whatever suits your program.
|
324 |
+
|
325 |
+
You should also get your employer (if you work as a programmer) or your
|
326 |
+
school, if any, to sign a "copyright disclaimer" for the program, if
|
327 |
+
necessary. Here is a sample; alter the names:
|
328 |
+
|
329 |
+
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
|
330 |
+
`Gnomovision' (which makes passes at compilers) written by James Hacker.
|
331 |
+
|
332 |
+
<signature of Ty Coon>, 1 April 1989
|
333 |
+
Ty Coon, President of Vice
|
334 |
+
|
335 |
+
This General Public License does not permit incorporating your program into
|
336 |
+
proprietary programs. If your program is a subroutine library, you may
|
337 |
+
consider it more useful to permit linking proprietary applications with the
|
338 |
+
library. If this is what you want to do, use the GNU Lesser General
|
339 |
+
Public License instead of this License.
|
classes/plugin.php
CHANGED
@@ -31,7 +31,7 @@ class CWS_PageLinksTo {
|
|
31 |
const DISMISSED_NOTICES = 'page_links_dismissed_options';
|
32 |
const MESSAGE_ID = 4;
|
33 |
const NEWSLETTER_URL = 'https://pages.convertkit.com/8eb23c1339/1ce4614706';
|
34 |
-
const CSS_JS_VERSION = '3.3.
|
35 |
|
36 |
/**
|
37 |
* Whether to replace WP links with their specified URLs.
|
@@ -183,20 +183,13 @@ class CWS_PageLinksTo {
|
|
183 |
$this->hook( 'page_row_actions' );
|
184 |
$this->hook( 'post_row_actions', 'page_row_actions' );
|
185 |
|
|
|
|
|
|
|
186 |
// Notices.
|
187 |
if ( self::should_display_message() ) {
|
188 |
$this->hook( 'admin_notices', 'notify_generic' );
|
189 |
}
|
190 |
-
|
191 |
-
$post_type_names = array_keys( get_post_types() );
|
192 |
-
|
193 |
-
foreach ( $post_type_names as $type ) {
|
194 |
-
if ( self::is_supported_post_type( $type ) ) {
|
195 |
-
$this->register_meta( self::LINK_META_KEY, $type );
|
196 |
-
$this->register_meta( self::TARGET_META_KEY, $type );
|
197 |
-
do_action( 'page_links_to_register_meta_for_post_type', $type );
|
198 |
-
}
|
199 |
-
}
|
200 |
}
|
201 |
|
202 |
/**
|
@@ -234,6 +227,23 @@ class CWS_PageLinksTo {
|
|
234 |
}
|
235 |
}
|
236 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
237 |
/**
|
238 |
* Registers a post meta key for a given post type.
|
239 |
*
|
@@ -345,6 +355,7 @@ class CWS_PageLinksTo {
|
|
345 |
'supports' => [
|
346 |
'newTab' => self::supports( 'new_tab' ),
|
347 |
],
|
|
|
348 |
]);
|
349 |
do_action( 'page_links_to_enqueue_block_editor_assets' );
|
350 |
}
|
@@ -472,7 +483,7 @@ class CWS_PageLinksTo {
|
|
472 |
*/
|
473 |
public function do_meta_boxes( $page, $context ) {
|
474 |
if ( ! self::is_block_editor() && self::is_supported_post_type( $page ) && 'advanced' === $context ) {
|
475 |
-
add_meta_box( 'page-links-to',
|
476 |
}
|
477 |
}
|
478 |
|
@@ -644,6 +655,8 @@ class CWS_PageLinksTo {
|
|
644 |
// Old, unused data that we can delete on the fly.
|
645 |
delete_post_meta( $post_id, '_links_to_type' );
|
646 |
|
|
|
|
|
647 |
return $return;
|
648 |
}
|
649 |
|
@@ -658,6 +671,10 @@ class CWS_PageLinksTo {
|
|
658 |
if ( $this->replace ) {
|
659 |
$post = get_post( $post );
|
660 |
|
|
|
|
|
|
|
|
|
661 |
$meta_link = self::get_link( $post->ID );
|
662 |
|
663 |
if ( $meta_link ) {
|
@@ -1024,6 +1041,15 @@ class CWS_PageLinksTo {
|
|
1024 |
<?php
|
1025 |
}
|
1026 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1027 |
/**
|
1028 |
* Outputs a notice that the current post item is pointed to a custom URL.
|
1029 |
*
|
@@ -1032,10 +1058,10 @@ class CWS_PageLinksTo {
|
|
1032 |
public static function notify_of_external_link() {
|
1033 |
if ( self::is_block_editor() ) {
|
1034 |
// Disabled, currently, because these notifications can block the title, which is annoying.
|
1035 |
-
false && self::block_editor_notification( 'Note: This content is pointing to a custom URL. Use the “
|
1036 |
} else {
|
1037 |
?>
|
1038 |
-
<div class="notice updated"><p><?php
|
1039 |
<?php
|
1040 |
}
|
1041 |
}
|
31 |
const DISMISSED_NOTICES = 'page_links_dismissed_options';
|
32 |
const MESSAGE_ID = 4;
|
33 |
const NEWSLETTER_URL = 'https://pages.convertkit.com/8eb23c1339/1ce4614706';
|
34 |
+
const CSS_JS_VERSION = '3.3.4';
|
35 |
|
36 |
/**
|
37 |
* Whether to replace WP links with their specified URLs.
|
183 |
$this->hook( 'page_row_actions' );
|
184 |
$this->hook( 'post_row_actions', 'page_row_actions' );
|
185 |
|
186 |
+
$this->hook( 'init', 'register_meta_keys', 9999 );
|
187 |
+
$this->hook( 'rest_api_init', 'register_meta_keys', 9999 );
|
188 |
+
|
189 |
// Notices.
|
190 |
if ( self::should_display_message() ) {
|
191 |
$this->hook( 'admin_notices', 'notify_generic' );
|
192 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
193 |
}
|
194 |
|
195 |
/**
|
227 |
}
|
228 |
}
|
229 |
|
230 |
+
/**
|
231 |
+
* Registers the PLT post meta keys for supported post types.
|
232 |
+
*
|
233 |
+
* @return void
|
234 |
+
*/
|
235 |
+
public function register_meta_keys() {
|
236 |
+
$post_type_names = array_keys( get_post_types() );
|
237 |
+
|
238 |
+
foreach ( $post_type_names as $type ) {
|
239 |
+
if ( self::is_supported_post_type( $type ) ) {
|
240 |
+
$this->register_meta( self::LINK_META_KEY, $type );
|
241 |
+
$this->register_meta( self::TARGET_META_KEY, $type );
|
242 |
+
do_action( 'page_links_to_register_meta_for_post_type', $type );
|
243 |
+
}
|
244 |
+
}
|
245 |
+
}
|
246 |
+
|
247 |
/**
|
248 |
* Registers a post meta key for a given post type.
|
249 |
*
|
355 |
'supports' => [
|
356 |
'newTab' => self::supports( 'new_tab' ),
|
357 |
],
|
358 |
+
'panelTitle' => self::get_panel_title(),
|
359 |
]);
|
360 |
do_action( 'page_links_to_enqueue_block_editor_assets' );
|
361 |
}
|
483 |
*/
|
484 |
public function do_meta_boxes( $page, $context ) {
|
485 |
if ( ! self::is_block_editor() && self::is_supported_post_type( $page ) && 'advanced' === $context ) {
|
486 |
+
add_meta_box( 'page-links-to', self::get_panel_title(), array( $this, 'meta_box' ), $page, 'advanced', 'low' );
|
487 |
}
|
488 |
}
|
489 |
|
655 |
// Old, unused data that we can delete on the fly.
|
656 |
delete_post_meta( $post_id, '_links_to_type' );
|
657 |
|
658 |
+
do_action( 'page_links_to_delete_link', $post_id );
|
659 |
+
|
660 |
return $return;
|
661 |
}
|
662 |
|
671 |
if ( $this->replace ) {
|
672 |
$post = get_post( $post );
|
673 |
|
674 |
+
if (! $post instanceof \WP_Post) {
|
675 |
+
return $link;
|
676 |
+
}
|
677 |
+
|
678 |
$meta_link = self::get_link( $post->ID );
|
679 |
|
680 |
if ( $meta_link ) {
|
1041 |
<?php
|
1042 |
}
|
1043 |
|
1044 |
+
/**
|
1045 |
+
* Returns the panel title.
|
1046 |
+
*
|
1047 |
+
* @return string The panel title.
|
1048 |
+
*/
|
1049 |
+
public static function get_panel_title() {
|
1050 |
+
return apply_filters( 'page_links_to_panel_title', _x( 'Page Links To', 'Meta box title', 'page-links-to' ) );
|
1051 |
+
}
|
1052 |
+
|
1053 |
/**
|
1054 |
* Outputs a notice that the current post item is pointed to a custom URL.
|
1055 |
*
|
1058 |
public static function notify_of_external_link() {
|
1059 |
if ( self::is_block_editor() ) {
|
1060 |
// Disabled, currently, because these notifications can block the title, which is annoying.
|
1061 |
+
false && self::block_editor_notification( 'Note: This content is pointing to a custom URL. Use the “Page Links To” area in the sidebar to control this.', 'info' );
|
1062 |
} else {
|
1063 |
?>
|
1064 |
+
<div class="notice updated"><p><?php printf( __( '<strong>Note</strong>: This content is pointing to a custom URL. Use the “%s” box to change this behavior.', 'page-links-to' ), self::get_panel_title() ); ?></p></div>
|
1065 |
<?php
|
1066 |
}
|
1067 |
}
|
dist/block-editor.asset.php
CHANGED
@@ -1 +1 @@
|
|
1 |
-
<?php return array('dependencies' => array('wp-components', 'wp-compose', 'wp-data', 'wp-edit-post', 'wp-element', 'wp-plugins', 'wp-polyfill'), 'version' => '
|
1 |
+
<?php return array('dependencies' => array('wp-components', 'wp-compose', 'wp-data', 'wp-edit-post', 'wp-element', 'wp-plugins', 'wp-polyfill'), 'version' => 'bbff99771d09518b2a6e0b394e780748');
|
dist/block-editor.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=
|
1 |
+
!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=120)}({120:function(e,t,n){"use strict";n.r(t);var r,o,l,i=n(7),a=n(23),u=n(41),c=n(60),s=n(42),p=n(61);function f(e){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function b(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function h(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y(e,t){return(y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function m(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},l=Object.keys(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var v=null!==(r=null===(o=window)||void 0===o||null===(l=o.pltOptions)||void 0===l?void 0:l.panelTitle)&&void 0!==r?r:"Page Links To",g=s.PluginDocumentSettingPanel||function(e){var t=e.children,n=void 0===t?null:t,r=m(e,["children"]);return React.createElement(s.PluginPostStatusInfo,r,React.createElement("div",{style:{display:"flex","flex-direction":"column"}},React.createElement(i.PanelRow,null,React.createElement("h2",{style:{"margin-bottom":0,color:"#191e23"}},v)),n))},w=Object(i.createSlotFill)("PageLinksToSidebar").Slot,O=function(e){function t(e){var n,r,o,l,i,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),r=this,n=!(o=d(t).call(this,e))||"object"!==f(o)&&"function"!=typeof o?h(r):o,l=h(n),a={prevUrl:"",prevNewTab:!1},(i="state")in l?Object.defineProperty(l,i,{value:a,enumerable:!0,configurable:!0,writable:!0}):l[i]=a,n.toggleStatus=n.toggleStatus.bind(h(n)),n.state.enabled=n.hasUrl(),n}var n,r,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&y(e,t)}(t,e),n=t,(r=[{key:"getUrl",value:function(){return this.props.url||""}},{key:"getDisplayUrl",value:function(){var e=this.state.prevUrl;return this.getUrl()||e}},{key:"hasUrl",value:function(){return this.getUrl().length>0}},{key:"opensInNewTab",value:function(){return this.props.newTab}},{key:"enabled",value:function(){return this.state.enabled}},{key:"toggleStatus",value:function(e){var t=this,n=this.state,r=n.prevUrl,o=n.prevNewTab,l=this.props,i=l.onUpdateLink,a=l.onUpdateNewTab;this.setState((function(n){var r={enabled:e};return n.enabled&&(r.prevUrl=t.getUrl()),r})),e?(i(r),a(o)):(i(null),a(!1),this.setState({prevUrl:this.getUrl(),prevNewTab:this.opensInNewTab()}))}},{key:"updateLink",value:function(e){var t=this.props,n=t.meta;(0,t.onUpdateLink)(n,e)}},{key:"render",value:function(){var e=this,t=this.props,n=t.onUpdateLink,r=t.onUpdateNewTab,o=Object(a.withState)({option:this.enabled()?"custom":"wordpress"})((function(t){var n=t.option,r=t.setState;return React.createElement(i.RadioControl,{label:"Point this content to:",selected:n,options:[{label:"Its normal WordPress URL",value:"wordpress"},{label:"A custom URL",value:"custom"}],onChange:function(t){r({option:t}),e.toggleStatus("custom"===t)}})}));return React.createElement(g,{title:v,name:"PageLinksTo",icon:this.enabled()?"admin-links":"disabled",className:"plt-panel"},React.createElement(i.PanelRow,null,React.createElement(o,null)),this.enabled()&&React.createElement(React.Fragment,null,React.createElement(i.PanelRow,null,React.createElement(i.TextControl,{label:"Links to","data-testid":"plt-url",value:this.getDisplayUrl(),onChange:n,placeholder:"https://"})),window.pltOptions.supports.newTab&&React.createElement(i.PanelRow,null,React.createElement(i.CheckboxControl,{label:"Open in new tab","data-testid":"plt-newtab",checked:this.opensInNewTab(),onChange:r})),React.createElement(w,null)))}}])&&b(n.prototype,r),o&&b(n,o),t}(c.Component),P=Object(a.compose)([Object(u.withSelect)((function(e){var t=function(t){return(e("core/editor").getEditedPostAttribute("meta")||[])[t]};return{url:t("_links_to"),newTab:"_blank"===t("_links_to_target")}})),Object(u.withDispatch)((function(e){return{onUpdateLink:function(t){e("core/editor").editPost({meta:{_links_to:t}})},onUpdateNewTab:function(t){e("core/editor").editPost({meta:{_links_to_target:t?"_blank":""}})}}})),a.withInstanceId])(O);Object(p.registerPlugin)("page-links-to",{render:P})},23:function(e,t){!function(){e.exports=this.wp.compose}()},41:function(e,t){!function(){e.exports=this.wp.data}()},42:function(e,t){!function(){e.exports=this.wp.editPost}()},60:function(e,t){!function(){e.exports=this.wp.element}()},61:function(e,t){!function(){e.exports=this.wp.plugins}()},7:function(e,t){!function(){e.exports=this.wp.components}()}});
|
dist/meta-box.asset.php
CHANGED
@@ -1 +1 @@
|
|
1 |
-
<?php return array('dependencies' => array('wp-polyfill'), 'version' => '
|
1 |
+
<?php return array('dependencies' => array('wp-polyfill'), 'version' => '4dc6d0e1f33598d52c08cc0a28d8c67d');
|
dist/meta-box.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
!function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=
|
1 |
+
!function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=65)}({65:function(e,t){jQuery((function(e){var t=e("#cws-links-to-custom-section"),n=e("input[type=radio]","#page-links-to");n.filter('input[value="wp"]').prop("checked")&&t.fadeTo(1,0).hide(),n.change((function(){"wp"===e(this).val()?t.fadeTo("fast",0,(function(){t.slideUp()})):t.slideDown("fast",(function(){t.fadeTo("fast",1,(function(){var t=e("#cws-links-to");t.focus().val(t.val())}))}))}))}))}});
|
dist/new-tab.asset.php
CHANGED
@@ -1 +1 @@
|
|
1 |
-
<?php return array('dependencies' => array('wp-polyfill'), 'version' => '
|
1 |
+
<?php return array('dependencies' => array('wp-polyfill'), 'version' => '37e8792035cda73f87713ebe832edc43');
|
dist/new-tab.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
!function(t){var n={};function r(e){if(n[e])return n[e].exports;var o=n[e]={i:e,l:!1,exports:{}};return t[e].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=t,r.c=n,r.d=function(t,n,e){r.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:e})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,n){if(1&n&&(t=r(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var e=Object.create(null);if(r.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)r.d(e,o,function(n){return t[n]}.bind(null,o));return e},r.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(n,"a",n),n},r.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},r.p="/dist/",r(r.s=83)}([function(t,n,r){(function(n){var r=function(t){return t&&t.Math==Math&&t};t.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n&&n)||Function("return this")()}).call(this,r(53))},function(t,n){var r={}.hasOwnProperty;t.exports=function(t,n){return r.call(t,n)}},,function(t,n,r){var e=r(7),o=r(6),i=r(14);t.exports=e?function(t,n,r){return o.f(t,n,i(1,r))}:function(t,n,r){return t[n]=r,t}},function(t,n,r){var e=r(0),o=r(26),i=r(1),u=r(31),c=r(32),a=r(54),f=o("wks"),s=e.Symbol,l=a?s:s&&s.withoutSetter||u;t.exports=function(t){return i(f,t)||(c&&i(s,t)?f[t]=s[t]:f[t]=l("Symbol."+t)),f[t]}},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n,r){var e=r(7),o=r(28),i=r(9),u=r(30),c=Object.defineProperty;n.f=e?c:function(t,n,r){if(i(t),n=u(n,!0),i(r),o)try{return c(t,n,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(t[n]=r.value),t}},function(t,n,r){var e=r(5);t.exports=!e((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,n,r){var e=r(8);t.exports=function(t){if(!e(t))throw TypeError(String(t)+" is not an object");return t}},function(t,n,r){var e=r(60),o=r(16);t.exports=function(t){return e(o(t))}},,function(t,n){t.exports=!1},function(t,n,r){var e=r(0),o=r(3);t.exports=function(t,n){try{o(e,t,n)}catch(r){e[t]=n}return n}},function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},function(t,n){var r=Math.ceil,e=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?e:r)(t)}},function(t,n){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,n,r){var e,o,i,u=r(57),c=r(0),a=r(8),f=r(3),s=r(1),l=r(18),p=r(19),v=c.WeakMap;if(u){var y=new v,d=y.get,h=y.has,g=y.set;e=function(t,n){return g.call(y,t,n),n},o=function(t){return d.call(y,t)||{}},i=function(t){return h.call(y,t)}}else{var b=l("state");p[b]=!0,e=function(t,n){return f(t,b,n),n},o=function(t){return s(t,b)?t[b]:{}},i=function(t){return s(t,b)}}t.exports={set:e,get:o,has:i,enforce:function(t){return i(t)?o(t):e(t,{})},getterFor:function(t){return function(n){var r;if(!a(n)||(r=o(n)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return r}}}},function(t,n,r){var e=r(26),o=r(31),i=e("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},function(t,n){t.exports={}},function(t,n){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(t,n){t.exports={}},,,function(t,n,r){var e=r(0);t.exports=e},function(t,n,r){var e=r(4);n.f=e},function(t,n,r){var e=r(12),o=r(27);(t.exports=function(t,n){return o[t]||(o[t]=void 0!==n?n:{})})("versions",[]).push({version:"3.6.4",mode:e?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(t,n,r){var e=r(0),o=r(13),i=e["__core-js_shared__"]||o("__core-js_shared__",{});t.exports=i},function(t,n,r){var e=r(7),o=r(5),i=r(29);t.exports=!e&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},function(t,n,r){var e=r(0),o=r(8),i=e.document,u=o(i)&&o(i.createElement);t.exports=function(t){return u?i.createElement(t):{}}},function(t,n,r){var e=r(8);t.exports=function(t,n){if(!e(t))return t;var r,o;if(n&&"function"==typeof(r=t.toString)&&!e(o=r.call(t)))return o;if("function"==typeof(r=t.valueOf)&&!e(o=r.call(t)))return o;if(!n&&"function"==typeof(r=t.toString)&&!e(o=r.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,n){var r=0,e=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++r+e).toString(36)}},function(t,n,r){var e=r(5);t.exports=!!Object.getOwnPropertySymbols&&!e((function(){return!String(Symbol())}))},function(t,n,r){var e=r(27),o=Function.toString;"function"!=typeof e.inspectSource&&(e.inspectSource=function(t){return o.call(t)}),t.exports=e.inspectSource},function(t,n,r){"use strict";var e=r(58),o=r(70),i=r(40),u=r(76),c=r(42),a=r(3),f=r(36),s=r(4),l=r(12),p=r(21),v=r(39),y=v.IteratorPrototype,d=v.BUGGY_SAFARI_ITERATORS,h=s("iterator"),g=function(){return this};t.exports=function(t,n,r,s,v,b,x){o(r,n,s);var m,S,O,w=function(t){if(t===v&&A)return A;if(!d&&t in T)return T[t];switch(t){case"keys":case"values":case"entries":return function(){return new r(this,t)}}return function(){return new r(this)}},j=n+" Iterator",_=!1,T=t.prototype,L=T[h]||T["@@iterator"]||v&&T[v],A=!d&&L||w(v),P="Array"==n&&T.entries||L;if(P&&(m=i(P.call(new t)),y!==Object.prototype&&m.next&&(l||i(m)===y||(u?u(m,y):"function"!=typeof m[h]&&a(m,h,g)),c(m,j,!0,!0),l&&(p[j]=g))),"values"==v&&L&&"values"!==L.name&&(_=!0,A=function(){return L.call(this)}),l&&!x||T[h]===A||a(T,h,A),p[n]=A,v)if(S={values:w("values"),keys:b?A:w("keys"),entries:w("entries")},x)for(O in S)!d&&!_&&O in T||f(T,O,S[O]);else e({target:n,proto:!0,forced:d||_},S);return S}},function(t,n,r){var e=r(7),o=r(59),i=r(14),u=r(10),c=r(30),a=r(1),f=r(28),s=Object.getOwnPropertyDescriptor;n.f=e?s:function(t,n){if(t=u(t),n=c(n,!0),f)try{return s(t,n)}catch(t){}if(a(t,n))return i(!o.f.call(t,n),t[n])}},function(t,n,r){var e=r(0),o=r(3),i=r(1),u=r(13),c=r(33),a=r(17),f=a.get,s=a.enforce,l=String(String).split("String");(t.exports=function(t,n,r,c){var a=!!c&&!!c.unsafe,f=!!c&&!!c.enumerable,p=!!c&&!!c.noTargetGet;"function"==typeof r&&("string"!=typeof n||i(r,"name")||o(r,"name",n),s(r).source=l.join("string"==typeof n?n:"")),t!==e?(a?!p&&t[n]&&(f=!0):delete t[n],f?t[n]=r:o(t,n,r)):f?t[n]=r:u(n,r)})(Function.prototype,"toString",(function(){return"function"==typeof this&&f(this).source||c(this)}))},function(t,n,r){var e=r(24),o=r(0),i=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,n){return arguments.length<2?i(e[t])||i(o[t]):e[t]&&e[t][n]||o[t]&&o[t][n]}},function(t,n,r){var e=r(1),o=r(10),i=r(65).indexOf,u=r(19);t.exports=function(t,n){var r,c=o(t),a=0,f=[];for(r in c)!e(u,r)&&e(c,r)&&f.push(r);for(;n.length>a;)e(c,r=n[a++])&&(~i(f,r)||f.push(r));return f}},function(t,n,r){"use strict";var e,o,i,u=r(40),c=r(3),a=r(1),f=r(4),s=r(12),l=f("iterator"),p=!1;[].keys&&("next"in(i=[].keys())?(o=u(u(i)))!==Object.prototype&&(e=o):p=!0),null==e&&(e={}),s||a(e,l)||c(e,l,(function(){return this})),t.exports={IteratorPrototype:e,BUGGY_SAFARI_ITERATORS:p}},function(t,n,r){var e=r(1),o=r(71),i=r(18),u=r(72),c=i("IE_PROTO"),a=Object.prototype;t.exports=u?Object.getPrototypeOf:function(t){return t=o(t),e(t,c)?t[c]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},function(t,n,r){var e,o=r(9),i=r(73),u=r(20),c=r(19),a=r(75),f=r(29),s=r(18),l=s("IE_PROTO"),p=function(){},v=function(t){return"<script>"+t+"<\/script>"},y=function(){try{e=document.domain&&new ActiveXObject("htmlfile")}catch(t){}var t,n;y=e?function(t){t.write(v("")),t.close();var n=t.parentWindow.Object;return t=null,n}(e):((n=f("iframe")).style.display="none",a.appendChild(n),n.src=String("javascript:"),(t=n.contentWindow.document).open(),t.write(v("document.F=Object")),t.close(),t.F);for(var r=u.length;r--;)delete y.prototype[u[r]];return y()};c[l]=!0,t.exports=Object.create||function(t,n){var r;return null!==t?(p.prototype=o(t),r=new p,p.prototype=null,r[l]=t):r=y(),void 0===n?r:i(r,n)}},function(t,n,r){var e=r(6).f,o=r(1),i=r(4)("toStringTag");t.exports=function(t,n,r){t&&!o(t=r?t:t.prototype,i)&&e(t,i,{configurable:!0,value:n})}},,,,,,,function(t,n,r){var e=r(50);t.exports=e},function(t,n,r){r(51),r(55),r(78);var e=r(25);t.exports=e.f("iterator")},function(t,n,r){r(52)("iterator")},function(t,n,r){var e=r(24),o=r(1),i=r(25),u=r(6).f;t.exports=function(t){var n=e.Symbol||(e.Symbol={});o(n,t)||u(n,t,{value:i.f(t)})}},function(t,n){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(t){"object"==typeof window&&(r=window)}t.exports=r},function(t,n,r){var e=r(32);t.exports=e&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(t,n,r){"use strict";var e=r(56).charAt,o=r(17),i=r(34),u=o.set,c=o.getterFor("String Iterator");i(String,"String",(function(t){u(this,{type:"String Iterator",string:String(t),index:0})}),(function(){var t,n=c(this),r=n.string,o=n.index;return o>=r.length?{value:void 0,done:!0}:(t=e(r,o),n.index+=t.length,{value:t,done:!1})}))},function(t,n,r){var e=r(15),o=r(16),i=function(t){return function(n,r){var i,u,c=String(o(n)),a=e(r),f=c.length;return a<0||a>=f?t?"":void 0:(i=c.charCodeAt(a))<55296||i>56319||a+1===f||(u=c.charCodeAt(a+1))<56320||u>57343?t?c.charAt(a):i:t?c.slice(a,a+2):u-56320+(i-55296<<10)+65536}};t.exports={codeAt:i(!1),charAt:i(!0)}},function(t,n,r){var e=r(0),o=r(33),i=e.WeakMap;t.exports="function"==typeof i&&/native code/.test(o(i))},function(t,n,r){var e=r(0),o=r(35).f,i=r(3),u=r(36),c=r(13),a=r(62),f=r(69);t.exports=function(t,n){var r,s,l,p,v,y=t.target,d=t.global,h=t.stat;if(r=d?e:h?e[y]||c(y,{}):(e[y]||{}).prototype)for(s in n){if(p=n[s],l=t.noTargetGet?(v=o(r,s))&&v.value:r[s],!f(d?s:y+(h?".":"#")+s,t.forced)&&void 0!==l){if(typeof p==typeof l)continue;a(p,l)}(t.sham||l&&l.sham)&&i(p,"sham",!0),u(r,s,p,t)}}},function(t,n,r){"use strict";var e={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!e.call({1:2},1);n.f=i?function(t){var n=o(this,t);return!!n&&n.enumerable}:e},function(t,n,r){var e=r(5),o=r(61),i="".split;t.exports=e((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?i.call(t,""):Object(t)}:Object},function(t,n){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},function(t,n,r){var e=r(1),o=r(63),i=r(35),u=r(6);t.exports=function(t,n){for(var r=o(n),c=u.f,a=i.f,f=0;f<r.length;f++){var s=r[f];e(t,s)||c(t,s,a(n,s))}}},function(t,n,r){var e=r(37),o=r(64),i=r(68),u=r(9);t.exports=e("Reflect","ownKeys")||function(t){var n=o.f(u(t)),r=i.f;return r?n.concat(r(t)):n}},function(t,n,r){var e=r(38),o=r(20).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return e(t,o)}},function(t,n,r){var e=r(10),o=r(66),i=r(67),u=function(t){return function(n,r,u){var c,a=e(n),f=o(a.length),s=i(u,f);if(t&&r!=r){for(;f>s;)if((c=a[s++])!=c)return!0}else for(;f>s;s++)if((t||s in a)&&a[s]===r)return t||s||0;return!t&&-1}};t.exports={includes:u(!0),indexOf:u(!1)}},function(t,n,r){var e=r(15),o=Math.min;t.exports=function(t){return t>0?o(e(t),9007199254740991):0}},function(t,n,r){var e=r(15),o=Math.max,i=Math.min;t.exports=function(t,n){var r=e(t);return r<0?o(r+n,0):i(r,n)}},function(t,n){n.f=Object.getOwnPropertySymbols},function(t,n,r){var e=r(5),o=/#|\.prototype\./,i=function(t,n){var r=c[u(t)];return r==f||r!=a&&("function"==typeof n?e(n):!!n)},u=i.normalize=function(t){return String(t).replace(o,".").toLowerCase()},c=i.data={},a=i.NATIVE="N",f=i.POLYFILL="P";t.exports=i},function(t,n,r){"use strict";var e=r(39).IteratorPrototype,o=r(41),i=r(14),u=r(42),c=r(21),a=function(){return this};t.exports=function(t,n,r){var f=n+" Iterator";return t.prototype=o(e,{next:i(1,r)}),u(t,f,!1,!0),c[f]=a,t}},function(t,n,r){var e=r(16);t.exports=function(t){return Object(e(t))}},function(t,n,r){var e=r(5);t.exports=!e((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},function(t,n,r){var e=r(7),o=r(6),i=r(9),u=r(74);t.exports=e?Object.defineProperties:function(t,n){i(t);for(var r,e=u(n),c=e.length,a=0;c>a;)o.f(t,r=e[a++],n[r]);return t}},function(t,n,r){var e=r(38),o=r(20);t.exports=Object.keys||function(t){return e(t,o)}},function(t,n,r){var e=r(37);t.exports=e("document","documentElement")},function(t,n,r){var e=r(9),o=r(77);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,n=!1,r={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(r,[]),n=r instanceof Array}catch(t){}return function(r,i){return e(r),o(i),n?t.call(r,i):r.__proto__=i,r}}():void 0)},function(t,n,r){var e=r(8);t.exports=function(t){if(!e(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},function(t,n,r){var e=r(0),o=r(79),i=r(80),u=r(3),c=r(4),a=c("iterator"),f=c("toStringTag"),s=i.values;for(var l in o){var p=e[l],v=p&&p.prototype;if(v){if(v[a]!==s)try{u(v,a,s)}catch(t){v[a]=s}if(v[f]||u(v,f,l),o[l])for(var y in i)if(v[y]!==i[y])try{u(v,y,i[y])}catch(t){v[y]=i[y]}}}},function(t,n){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(t,n,r){"use strict";var e=r(10),o=r(81),i=r(21),u=r(17),c=r(34),a=u.set,f=u.getterFor("Array Iterator");t.exports=c(Array,"Array",(function(t,n){a(this,{type:"Array Iterator",target:e(t),index:0,kind:n})}),(function(){var t=f(this),n=t.target,r=t.kind,e=t.index++;return!n||e>=n.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:e,done:!1}:"values"==r?{value:n[e],done:!1}:{value:[e,n[e]],done:!1}}),"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},function(t,n,r){var e=r(4),o=r(41),i=r(6),u=e("unscopables"),c=Array.prototype;null==c[u]&&i.f(c,u,{configurable:!0,value:o(null)}),t.exports=function(t){c[u][t]=!0}},,function(t,n,r){"use strict";r.r(n);r(49);var e=function(t){var n=/#new_tab$/;t&&void 0!==t.tagName&&"A"===t.tagName.toUpperCase()&&n.test(t.getAttribute("href"))&&(t.setAttribute("target","_blank"),t.setAttribute("href",t.getAttribute("href").replace(n,"")))},o=function(t){return e(t.target.closest("a"))},i=function(){var t=document.getElementsByTagName("A"),n=!0,r=!1,o=void 0;try{for(var i,u=t[Symbol.iterator]();!(n=(i=u.next()).done);n=!0){var c=i.value;e(c)}}catch(t){r=!0,o=t}finally{try{n||null==u.return||u.return()}finally{if(r)throw o}}};(function(t){var n=t.Element.prototype;"function"!=typeof n.matches&&(n.matches=n.msMatchesSelector||n.mozMatchesSelector||n.webkitMatchesSelector||function(t){for(var n=(this.document||this.ownerDocument).querySelectorAll(t),r=0;n[r]&&n[r]!==this;)++r;return Boolean(n[r])}),"function"!=typeof n.closest&&(n.closest=function(t){for(var n=this;n&&1===n.nodeType;){if(n.matches(t))return n;n=n.parentNode}return null})})(window),document.addEventListener("click",o),document.addEventListener("DOMContentLoaded",i)}]);
|
1 |
+
!function(t){var n={};function r(e){if(n[e])return n[e].exports;var o=n[e]={i:e,l:!1,exports:{}};return t[e].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=t,r.c=n,r.d=function(t,n,e){r.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:e})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,n){if(1&n&&(t=r(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var e=Object.create(null);if(r.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)r.d(e,o,function(n){return t[n]}.bind(null,o));return e},r.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(n,"a",n),n},r.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},r.p="/dist/",r(r.s=121)}([function(t,n,r){var e=r(30),o=r(2),i=r(39),u=r(6).f;t.exports=function(t){var n=e.Symbol||(e.Symbol={});o(n,t)||u(n,t,{value:i.f(t)})}},function(t,n,r){(function(n){var r=function(t){return t&&t.Math==Math&&t};t.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n&&n)||Function("return this")()}).call(this,r(69))},function(t,n){var r={}.hasOwnProperty;t.exports=function(t,n){return r.call(t,n)}},function(t,n,r){var e=r(1),o=r(28),i=r(2),u=r(29),c=r(36),f=r(53),a=o("wks"),s=e.Symbol,l=f?s:s&&s.withoutSetter||u;t.exports=function(t){return i(a,t)||(c&&i(s,t)?a[t]=s[t]:a[t]=l("Symbol."+t)),a[t]}},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,n,r){var e=r(9),o=r(45),i=r(11),u=r(15),c=Object.defineProperty;n.f=e?c:function(t,n,r){if(i(t),n=u(n,!0),i(r),o)try{return c(t,n,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(t[n]=r.value),t}},,function(t,n,r){var e=r(9),o=r(6),i=r(12);t.exports=e?function(t,n,r){return o.f(t,n,i(1,r))}:function(t,n,r){return t[n]=r,t}},function(t,n,r){var e=r(4);t.exports=!e((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,n,r){var e=r(44),o=r(26);t.exports=function(t){return e(o(t))}},function(t,n,r){var e=r(5);t.exports=function(t){if(!e(t))throw TypeError(String(t)+" is not an object");return t}},function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},function(t,n,r){var e=r(6).f,o=r(2),i=r(3)("toStringTag");t.exports=function(t,n,r){t&&!o(t=r?t:t.prototype,i)&&e(t,i,{configurable:!0,value:n})}},function(t,n,r){var e=r(1),o=r(24).f,i=r(8),u=r(16),c=r(27),f=r(49),a=r(74);t.exports=function(t,n){var r,s,l,p,v,y=t.target,d=t.global,h=t.stat;if(r=d?e:h?e[y]||c(y,{}):(e[y]||{}).prototype)for(s in n){if(p=n[s],l=t.noTargetGet?(v=o(r,s))&&v.value:r[s],!a(d?s:y+(h?".":"#")+s,t.forced)&&void 0!==l){if(typeof p==typeof l)continue;f(p,l)}(t.sham||l&&l.sham)&&i(p,"sham",!0),u(r,s,p,t)}}},function(t,n,r){var e=r(5);t.exports=function(t,n){if(!e(t))return t;var r,o;if(n&&"function"==typeof(r=t.toString)&&!e(o=r.call(t)))return o;if("function"==typeof(r=t.valueOf)&&!e(o=r.call(t)))return o;if(!n&&"function"==typeof(r=t.toString)&&!e(o=r.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,n,r){var e=r(1),o=r(8),i=r(2),u=r(27),c=r(47),f=r(17),a=f.get,s=f.enforce,l=String(String).split("String");(t.exports=function(t,n,r,c){var f=!!c&&!!c.unsafe,a=!!c&&!!c.enumerable,p=!!c&&!!c.noTargetGet;"function"==typeof r&&("string"!=typeof n||i(r,"name")||o(r,"name",n),s(r).source=l.join("string"==typeof n?n:"")),t!==e?(f?!p&&t[n]&&(a=!0):delete t[n],a?t[n]=r:o(t,n,r)):a?t[n]=r:u(n,r)})(Function.prototype,"toString",(function(){return"function"==typeof this&&a(this).source||c(this)}))},function(t,n,r){var e,o,i,u=r(70),c=r(1),f=r(5),a=r(8),s=r(2),l=r(18),p=r(20),v=c.WeakMap;if(u){var y=new v,d=y.get,h=y.has,g=y.set;e=function(t,n){return g.call(y,t,n),n},o=function(t){return d.call(y,t)||{}},i=function(t){return h.call(y,t)}}else{var b=l("state");p[b]=!0,e=function(t,n){return a(t,b,n),n},o=function(t){return s(t,b)?t[b]:{}},i=function(t){return s(t,b)}}t.exports={set:e,get:o,has:i,enforce:function(t){return i(t)?o(t):e(t,{})},getterFor:function(t){return function(n){var r;if(!f(n)||(r=o(n)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return r}}}},function(t,n,r){var e=r(28),o=r(29),i=e("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},function(t,n){t.exports=!1},function(t,n){t.exports={}},function(t,n,r){var e=r(30),o=r(1),i=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,n){return arguments.length<2?i(e[t])||i(o[t]):e[t]&&e[t][n]||o[t]&&o[t][n]}},function(t,n,r){var e=r(26);t.exports=function(t){return Object(e(t))}},,function(t,n,r){var e=r(9),o=r(43),i=r(12),u=r(10),c=r(15),f=r(2),a=r(45),s=Object.getOwnPropertyDescriptor;n.f=e?s:function(t,n){if(t=u(t),n=c(n,!0),a)try{return s(t,n)}catch(t){}if(f(t,n))return i(!o.f.call(t,n),t[n])}},function(t,n){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},function(t,n){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,n,r){var e=r(1),o=r(8);t.exports=function(t,n){try{o(e,t,n)}catch(r){e[t]=n}return n}},function(t,n,r){var e=r(19),o=r(48);(t.exports=function(t,n){return o[t]||(o[t]=void 0!==n?n:{})})("versions",[]).push({version:"3.6.4",mode:e?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(t,n){var r=0,e=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++r+e).toString(36)}},function(t,n,r){var e=r(1);t.exports=e},function(t,n,r){var e=r(50),o=r(34).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return e(t,o)}},function(t,n,r){var e=r(33),o=Math.min;t.exports=function(t){return t>0?o(e(t),9007199254740991):0}},function(t,n){var r=Math.ceil,e=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?e:r)(t)}},function(t,n){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(t,n,r){var e=r(25);t.exports=Array.isArray||function(t){return"Array"==e(t)}},function(t,n,r){var e=r(4);t.exports=!!Object.getOwnPropertySymbols&&!e((function(){return!String(Symbol())}))},function(t,n,r){var e={};e[r(3)("toStringTag")]="z",t.exports="[object z]"===String(e)},function(t,n,r){var e,o=r(11),i=r(82),u=r(34),c=r(20),f=r(83),a=r(46),s=r(18),l=s("IE_PROTO"),p=function(){},v=function(t){return"<script>"+t+"<\/script>"},y=function(){try{e=document.domain&&new ActiveXObject("htmlfile")}catch(t){}var t,n;y=e?function(t){t.write(v("")),t.close();var n=t.parentWindow.Object;return t=null,n}(e):((n=a("iframe")).style.display="none",f.appendChild(n),n.src=String("javascript:"),(t=n.contentWindow.document).open(),t.write(v("document.F=Object")),t.close(),t.F);for(var r=u.length;r--;)delete y.prototype[u[r]];return y()};c[l]=!0,t.exports=Object.create||function(t,n){var r;return null!==t?(p.prototype=o(t),r=new p,p.prototype=null,r[l]=t):r=y(),void 0===n?r:i(r,n)}},function(t,n,r){var e=r(3);n.f=e},function(t,n){t.exports={}},,,function(t,n,r){"use strict";var e={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!e.call({1:2},1);n.f=i?function(t){var n=o(this,t);return!!n&&n.enumerable}:e},function(t,n,r){var e=r(4),o=r(25),i="".split;t.exports=e((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?i.call(t,""):Object(t)}:Object},function(t,n,r){var e=r(9),o=r(4),i=r(46);t.exports=!e&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},function(t,n,r){var e=r(1),o=r(5),i=e.document,u=o(i)&&o(i.createElement);t.exports=function(t){return u?i.createElement(t):{}}},function(t,n,r){var e=r(48),o=Function.toString;"function"!=typeof e.inspectSource&&(e.inspectSource=function(t){return o.call(t)}),t.exports=e.inspectSource},function(t,n,r){var e=r(1),o=r(27),i=e["__core-js_shared__"]||o("__core-js_shared__",{});t.exports=i},function(t,n,r){var e=r(2),o=r(71),i=r(24),u=r(6);t.exports=function(t,n){for(var r=o(n),c=u.f,f=i.f,a=0;a<r.length;a++){var s=r[a];e(t,s)||c(t,s,f(n,s))}}},function(t,n,r){var e=r(2),o=r(10),i=r(72).indexOf,u=r(20);t.exports=function(t,n){var r,c=o(t),f=0,a=[];for(r in c)!e(u,r)&&e(c,r)&&a.push(r);for(;n.length>f;)e(c,r=n[f++])&&(~i(a,r)||a.push(r));return a}},function(t,n){n.f=Object.getOwnPropertySymbols},function(t,n,r){var e=r(5),o=r(35),i=r(3)("species");t.exports=function(t,n){var r;return o(t)&&("function"!=typeof(r=t.constructor)||r!==Array&&!o(r.prototype)?e(r)&&null===(r=r[i])&&(r=void 0):r=void 0),new(void 0===r?Array:r)(0===n?0:n)}},function(t,n,r){var e=r(36);t.exports=e&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(t,n,r){var e,o,i=r(1),u=r(77),c=i.process,f=c&&c.versions,a=f&&f.v8;a?o=(e=a.split("."))[0]+e[1]:u&&(!(e=u.match(/Edge\/(\d+)/))||e[1]>=74)&&(e=u.match(/Chrome\/(\d+)/))&&(o=e[1]),t.exports=o&&+o},function(t,n,r){var e=r(50),o=r(34);t.exports=Object.keys||function(t){return e(t,o)}},function(t,n,r){r(0)("iterator")},function(t,n,r){"use strict";var e=r(14),o=r(112),i=r(59),u=r(114),c=r(13),f=r(8),a=r(16),s=r(3),l=r(19),p=r(40),v=r(58),y=v.IteratorPrototype,d=v.BUGGY_SAFARI_ITERATORS,h=s("iterator"),g=function(){return this};t.exports=function(t,n,r,s,v,b,m){o(r,n,s);var S,x,O,w=function(t){if(t===v&&_)return _;if(!d&&t in T)return T[t];switch(t){case"keys":case"values":case"entries":return function(){return new r(this,t)}}return function(){return new r(this)}},j=n+" Iterator",A=!1,T=t.prototype,P=T[h]||T["@@iterator"]||v&&T[v],_=!d&&P||w(v),L="Array"==n&&T.entries||P;if(L&&(S=i(L.call(new t)),y!==Object.prototype&&S.next&&(l||i(S)===y||(u?u(S,y):"function"!=typeof S[h]&&f(S,h,g)),c(S,j,!0,!0),l&&(p[j]=g))),"values"==v&&P&&"values"!==P.name&&(A=!0,_=function(){return P.call(this)}),l&&!m||T[h]===_||f(T,h,_),p[n]=_,v)if(x={values:w("values"),keys:b?_:w("keys"),entries:w("entries")},m)for(O in x)!d&&!A&&O in T||a(T,O,x[O]);else e({target:n,proto:!0,forced:d||A},x);return x}},function(t,n,r){"use strict";var e,o,i,u=r(59),c=r(8),f=r(2),a=r(3),s=r(19),l=a("iterator"),p=!1;[].keys&&("next"in(i=[].keys())?(o=u(u(i)))!==Object.prototype&&(e=o):p=!0),null==e&&(e={}),s||f(e,l)||c(e,l,(function(){return this})),t.exports={IteratorPrototype:e,BUGGY_SAFARI_ITERATORS:p}},function(t,n,r){var e=r(2),o=r(22),i=r(18),u=r(113),c=i("IE_PROTO"),f=Object.prototype;t.exports=u?Object.getPrototypeOf:function(t){return t=o(t),e(t,c)?t[c]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?f:null}},,,,,,,function(t,n,r){var e=r(67);r(103),r(104),r(105),r(106),r(107),t.exports=e},function(t,n,r){r(68),r(78),r(81),r(88),r(89),r(90),r(91),r(56),r(92),r(93),r(94),r(95),r(96),r(97),r(98),r(99),r(100),r(101),r(102);var e=r(30);t.exports=e.Symbol},function(t,n,r){"use strict";var e=r(14),o=r(4),i=r(35),u=r(5),c=r(22),f=r(32),a=r(75),s=r(52),l=r(76),p=r(3),v=r(54),y=p("isConcatSpreadable"),d=v>=51||!o((function(){var t=[];return t[y]=!1,t.concat()[0]!==t})),h=l("concat"),g=function(t){if(!u(t))return!1;var n=t[y];return void 0!==n?!!n:i(t)};e({target:"Array",proto:!0,forced:!d||!h},{concat:function(t){var n,r,e,o,i,u=c(this),l=s(u,0),p=0;for(n=-1,e=arguments.length;n<e;n++)if(i=-1===n?u:arguments[n],g(i)){if(p+(o=f(i.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(r=0;r<o;r++,p++)r in i&&a(l,p,i[r])}else{if(p>=9007199254740991)throw TypeError("Maximum allowed index exceeded");a(l,p++,i)}return l.length=p,l}})},function(t,n){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(t){"object"==typeof window&&(r=window)}t.exports=r},function(t,n,r){var e=r(1),o=r(47),i=e.WeakMap;t.exports="function"==typeof i&&/native code/.test(o(i))},function(t,n,r){var e=r(21),o=r(31),i=r(51),u=r(11);t.exports=e("Reflect","ownKeys")||function(t){var n=o.f(u(t)),r=i.f;return r?n.concat(r(t)):n}},function(t,n,r){var e=r(10),o=r(32),i=r(73),u=function(t){return function(n,r,u){var c,f=e(n),a=o(f.length),s=i(u,a);if(t&&r!=r){for(;a>s;)if((c=f[s++])!=c)return!0}else for(;a>s;s++)if((t||s in f)&&f[s]===r)return t||s||0;return!t&&-1}};t.exports={includes:u(!0),indexOf:u(!1)}},function(t,n,r){var e=r(33),o=Math.max,i=Math.min;t.exports=function(t,n){var r=e(t);return r<0?o(r+n,0):i(r,n)}},function(t,n,r){var e=r(4),o=/#|\.prototype\./,i=function(t,n){var r=c[u(t)];return r==a||r!=f&&("function"==typeof n?e(n):!!n)},u=i.normalize=function(t){return String(t).replace(o,".").toLowerCase()},c=i.data={},f=i.NATIVE="N",a=i.POLYFILL="P";t.exports=i},function(t,n,r){"use strict";var e=r(15),o=r(6),i=r(12);t.exports=function(t,n,r){var u=e(n);u in t?o.f(t,u,i(0,r)):t[u]=r}},function(t,n,r){var e=r(4),o=r(3),i=r(54),u=o("species");t.exports=function(t){return i>=51||!e((function(){var n=[];return(n.constructor={})[u]=function(){return{foo:1}},1!==n[t](Boolean).foo}))}},function(t,n,r){var e=r(21);t.exports=e("navigator","userAgent")||""},function(t,n,r){var e=r(37),o=r(16),i=r(79);e||o(Object.prototype,"toString",i,{unsafe:!0})},function(t,n,r){"use strict";var e=r(37),o=r(80);t.exports=e?{}.toString:function(){return"[object "+o(this)+"]"}},function(t,n,r){var e=r(37),o=r(25),i=r(3)("toStringTag"),u="Arguments"==o(function(){return arguments}());t.exports=e?o:function(t){var n,r,e;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,n){try{return t[n]}catch(t){}}(n=Object(t),i))?r:u?o(n):"Object"==(e=o(n))&&"function"==typeof n.callee?"Arguments":e}},function(t,n,r){"use strict";var e=r(14),o=r(1),i=r(21),u=r(19),c=r(9),f=r(36),a=r(53),s=r(4),l=r(2),p=r(35),v=r(5),y=r(11),d=r(22),h=r(10),g=r(15),b=r(12),m=r(38),S=r(55),x=r(31),O=r(84),w=r(51),j=r(24),A=r(6),T=r(43),P=r(8),_=r(16),L=r(28),M=r(18),E=r(20),I=r(29),k=r(3),C=r(39),N=r(0),F=r(13),D=r(17),R=r(85).forEach,G=M("hidden"),V=k("toPrimitive"),z=D.set,B=D.getterFor("Symbol"),W=Object.prototype,H=o.Symbol,J=i("JSON","stringify"),U=j.f,q=A.f,Y=O.f,$=T.f,K=L("symbols"),Q=L("op-symbols"),X=L("string-to-symbol-registry"),Z=L("symbol-to-string-registry"),tt=L("wks"),nt=o.QObject,rt=!nt||!nt.prototype||!nt.prototype.findChild,et=c&&s((function(){return 7!=m(q({},"a",{get:function(){return q(this,"a",{value:7}).a}})).a}))?function(t,n,r){var e=U(W,n);e&&delete W[n],q(t,n,r),e&&t!==W&&q(W,n,e)}:q,ot=function(t,n){var r=K[t]=m(H.prototype);return z(r,{type:"Symbol",tag:t,description:n}),c||(r.description=n),r},it=a?function(t){return"symbol"==typeof t}:function(t){return Object(t)instanceof H},ut=function(t,n,r){t===W&&ut(Q,n,r),y(t);var e=g(n,!0);return y(r),l(K,e)?(r.enumerable?(l(t,G)&&t[G][e]&&(t[G][e]=!1),r=m(r,{enumerable:b(0,!1)})):(l(t,G)||q(t,G,b(1,{})),t[G][e]=!0),et(t,e,r)):q(t,e,r)},ct=function(t,n){y(t);var r=h(n),e=S(r).concat(lt(r));return R(e,(function(n){c&&!ft.call(r,n)||ut(t,n,r[n])})),t},ft=function(t){var n=g(t,!0),r=$.call(this,n);return!(this===W&&l(K,n)&&!l(Q,n))&&(!(r||!l(this,n)||!l(K,n)||l(this,G)&&this[G][n])||r)},at=function(t,n){var r=h(t),e=g(n,!0);if(r!==W||!l(K,e)||l(Q,e)){var o=U(r,e);return!o||!l(K,e)||l(r,G)&&r[G][e]||(o.enumerable=!0),o}},st=function(t){var n=Y(h(t)),r=[];return R(n,(function(t){l(K,t)||l(E,t)||r.push(t)})),r},lt=function(t){var n=t===W,r=Y(n?Q:h(t)),e=[];return R(r,(function(t){!l(K,t)||n&&!l(W,t)||e.push(K[t])})),e};(f||(_((H=function(){if(this instanceof H)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,n=I(t),r=function(t){this===W&&r.call(Q,t),l(this,G)&&l(this[G],n)&&(this[G][n]=!1),et(this,n,b(1,t))};return c&&rt&&et(W,n,{configurable:!0,set:r}),ot(n,t)}).prototype,"toString",(function(){return B(this).tag})),_(H,"withoutSetter",(function(t){return ot(I(t),t)})),T.f=ft,A.f=ut,j.f=at,x.f=O.f=st,w.f=lt,C.f=function(t){return ot(k(t),t)},c&&(q(H.prototype,"description",{configurable:!0,get:function(){return B(this).description}}),u||_(W,"propertyIsEnumerable",ft,{unsafe:!0}))),e({global:!0,wrap:!0,forced:!f,sham:!f},{Symbol:H}),R(S(tt),(function(t){N(t)})),e({target:"Symbol",stat:!0,forced:!f},{for:function(t){var n=String(t);if(l(X,n))return X[n];var r=H(n);return X[n]=r,Z[r]=n,r},keyFor:function(t){if(!it(t))throw TypeError(t+" is not a symbol");if(l(Z,t))return Z[t]},useSetter:function(){rt=!0},useSimple:function(){rt=!1}}),e({target:"Object",stat:!0,forced:!f,sham:!c},{create:function(t,n){return void 0===n?m(t):ct(m(t),n)},defineProperty:ut,defineProperties:ct,getOwnPropertyDescriptor:at}),e({target:"Object",stat:!0,forced:!f},{getOwnPropertyNames:st,getOwnPropertySymbols:lt}),e({target:"Object",stat:!0,forced:s((function(){w.f(1)}))},{getOwnPropertySymbols:function(t){return w.f(d(t))}}),J)&&e({target:"JSON",stat:!0,forced:!f||s((function(){var t=H();return"[null]"!=J([t])||"{}"!=J({a:t})||"{}"!=J(Object(t))}))},{stringify:function(t,n,r){for(var e,o=[t],i=1;arguments.length>i;)o.push(arguments[i++]);if(e=n,(v(n)||void 0!==t)&&!it(t))return p(n)||(n=function(t,n){if("function"==typeof e&&(n=e.call(this,t,n)),!it(n))return n}),o[1]=n,J.apply(null,o)}});H.prototype[V]||P(H.prototype,V,H.prototype.valueOf),F(H,"Symbol"),E[G]=!0},function(t,n,r){var e=r(9),o=r(6),i=r(11),u=r(55);t.exports=e?Object.defineProperties:function(t,n){i(t);for(var r,e=u(n),c=e.length,f=0;c>f;)o.f(t,r=e[f++],n[r]);return t}},function(t,n,r){var e=r(21);t.exports=e("document","documentElement")},function(t,n,r){var e=r(10),o=r(31).f,i={}.toString,u="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return u&&"[object Window]"==i.call(t)?function(t){try{return o(t)}catch(t){return u.slice()}}(t):o(e(t))}},function(t,n,r){var e=r(86),o=r(44),i=r(22),u=r(32),c=r(52),f=[].push,a=function(t){var n=1==t,r=2==t,a=3==t,s=4==t,l=6==t,p=5==t||l;return function(v,y,d,h){for(var g,b,m=i(v),S=o(m),x=e(y,d,3),O=u(S.length),w=0,j=h||c,A=n?j(v,O):r?j(v,0):void 0;O>w;w++)if((p||w in S)&&(b=x(g=S[w],w,m),t))if(n)A[w]=b;else if(b)switch(t){case 3:return!0;case 5:return g;case 6:return w;case 2:f.call(A,g)}else if(s)return!1;return l?-1:a||s?s:A}};t.exports={forEach:a(0),map:a(1),filter:a(2),some:a(3),every:a(4),find:a(5),findIndex:a(6)}},function(t,n,r){var e=r(87);t.exports=function(t,n,r){if(e(t),void 0===n)return t;switch(r){case 0:return function(){return t.call(n)};case 1:return function(r){return t.call(n,r)};case 2:return function(r,e){return t.call(n,r,e)};case 3:return function(r,e,o){return t.call(n,r,e,o)}}return function(){return t.apply(n,arguments)}}},function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},function(t,n,r){r(0)("asyncIterator")},function(t,n,r){"use strict";var e=r(14),o=r(9),i=r(1),u=r(2),c=r(5),f=r(6).f,a=r(49),s=i.Symbol;if(o&&"function"==typeof s&&(!("description"in s.prototype)||void 0!==s().description)){var l={},p=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),n=this instanceof p?new s(t):void 0===t?s():s(t);return""===t&&(l[n]=!0),n};a(p,s);var v=p.prototype=s.prototype;v.constructor=p;var y=v.toString,d="Symbol(test)"==String(s("test")),h=/^Symbol\((.*)\)[^)]+$/;f(v,"description",{configurable:!0,get:function(){var t=c(this)?this.valueOf():this,n=y.call(t);if(u(l,t))return"";var r=d?n.slice(7,-1):n.replace(h,"$1");return""===r?void 0:r}}),e({global:!0,forced:!0},{Symbol:p})}},function(t,n,r){r(0)("hasInstance")},function(t,n,r){r(0)("isConcatSpreadable")},function(t,n,r){r(0)("match")},function(t,n,r){r(0)("matchAll")},function(t,n,r){r(0)("replace")},function(t,n,r){r(0)("search")},function(t,n,r){r(0)("species")},function(t,n,r){r(0)("split")},function(t,n,r){r(0)("toPrimitive")},function(t,n,r){r(0)("toStringTag")},function(t,n,r){r(0)("unscopables")},function(t,n,r){r(13)(Math,"Math",!0)},function(t,n,r){var e=r(1);r(13)(e.JSON,"JSON",!0)},function(t,n,r){r(0)("asyncDispose")},function(t,n,r){r(0)("dispose")},function(t,n,r){r(0)("observable")},function(t,n,r){r(0)("patternMatch")},function(t,n,r){r(0)("replaceAll")},function(t,n,r){var e=r(109);t.exports=e},function(t,n,r){r(56),r(110),r(116);var e=r(39);t.exports=e.f("iterator")},function(t,n,r){"use strict";var e=r(111).charAt,o=r(17),i=r(57),u=o.set,c=o.getterFor("String Iterator");i(String,"String",(function(t){u(this,{type:"String Iterator",string:String(t),index:0})}),(function(){var t,n=c(this),r=n.string,o=n.index;return o>=r.length?{value:void 0,done:!0}:(t=e(r,o),n.index+=t.length,{value:t,done:!1})}))},function(t,n,r){var e=r(33),o=r(26),i=function(t){return function(n,r){var i,u,c=String(o(n)),f=e(r),a=c.length;return f<0||f>=a?t?"":void 0:(i=c.charCodeAt(f))<55296||i>56319||f+1===a||(u=c.charCodeAt(f+1))<56320||u>57343?t?c.charAt(f):i:t?c.slice(f,f+2):u-56320+(i-55296<<10)+65536}};t.exports={codeAt:i(!1),charAt:i(!0)}},function(t,n,r){"use strict";var e=r(58).IteratorPrototype,o=r(38),i=r(12),u=r(13),c=r(40),f=function(){return this};t.exports=function(t,n,r){var a=n+" Iterator";return t.prototype=o(e,{next:i(1,r)}),u(t,a,!1,!0),c[a]=f,t}},function(t,n,r){var e=r(4);t.exports=!e((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},function(t,n,r){var e=r(11),o=r(115);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,n=!1,r={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(r,[]),n=r instanceof Array}catch(t){}return function(r,i){return e(r),o(i),n?t.call(r,i):r.__proto__=i,r}}():void 0)},function(t,n,r){var e=r(5);t.exports=function(t){if(!e(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},function(t,n,r){var e=r(1),o=r(117),i=r(118),u=r(8),c=r(3),f=c("iterator"),a=c("toStringTag"),s=i.values;for(var l in o){var p=e[l],v=p&&p.prototype;if(v){if(v[f]!==s)try{u(v,f,s)}catch(t){v[f]=s}if(v[a]||u(v,a,l),o[l])for(var y in i)if(v[y]!==i[y])try{u(v,y,i[y])}catch(t){v[y]=i[y]}}}},function(t,n){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(t,n,r){"use strict";var e=r(10),o=r(119),i=r(40),u=r(17),c=r(57),f=u.set,a=u.getterFor("Array Iterator");t.exports=c(Array,"Array",(function(t,n){f(this,{type:"Array Iterator",target:e(t),index:0,kind:n})}),(function(){var t=a(this),n=t.target,r=t.kind,e=t.index++;return!n||e>=n.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:e,done:!1}:"values"==r?{value:n[e],done:!1}:{value:[e,n[e]],done:!1}}),"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},function(t,n,r){var e=r(3),o=r(38),i=r(6),u=e("unscopables"),c=Array.prototype;null==c[u]&&i.f(c,u,{configurable:!0,value:o(null)}),t.exports=function(t){c[u][t]=!0}},,function(t,n,r){"use strict";r.r(n);r(66),r(108);var e=function(t){var n,r=/#new_tab/;if("A"===(null==t||null===(n=t.tagName)||void 0===n?void 0:n.toUpperCase())&&r.test(null==t?void 0:t.getAttribute("href"))){var e=t.getAttribute("rel");(!e||e.indexOf("noopener")<0)&&t.setAttribute("rel","".concat(e?e+" ":"","noopener")),t.setAttribute("target","_blank"),t.setAttribute("aria-label","".concat(t.innerText," (opens in a new tab)")),t.setAttribute("href",t.getAttribute("href").replace(r,""))}},o=function(t){return e(t.target.closest("a"))},i=function(){var t=document.getElementsByTagName("A"),n=!0,r=!1,o=void 0;try{for(var i,u=t[Symbol.iterator]();!(n=(i=u.next()).done);n=!0){var c=i.value;e(c)}}catch(t){r=!0,o=t}finally{try{n||null==u.return||u.return()}finally{if(r)throw o}}};(function(t){var n=t.Element.prototype;"function"!=typeof n.matches&&(n.matches=n.msMatchesSelector||n.mozMatchesSelector||n.webkitMatchesSelector||function(t){for(var n=(this.document||this.ownerDocument).querySelectorAll(t),r=0;n[r]&&n[r]!==this;)++r;return Boolean(n[r])}),"function"!=typeof n.closest&&(n.closest=function(t){for(var n=this;n&&1===n.nodeType;){if(n.matches(t))return n;n=n.parentNode}return null})})(window),document.addEventListener("click",o),document.addEventListener("DOMContentLoaded",i)}]);
|
dist/quick-add.asset.php
CHANGED
@@ -1 +1 @@
|
|
1 |
-
<?php return array('dependencies' => array('wp-polyfill'), 'version' => '
|
1 |
+
<?php return array('dependencies' => array('wp-polyfill'), 'version' => 'a3929ac9323ff30a5a05de2d04f6bf99');
|
dist/quick-add.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
#plt-quick-add .footer{margin:0 -15px -15px -15px;border-top:1px solid #dfdfdf;padding:15px;text-align:right;display
|
1 |
+
#plt-quick-add .footer{margin:0 -15px -15px -15px;border-top:1px solid #dfdfdf;padding:15px;text-align:right;display:flex}#plt-quick-add .footer a{text-decoration:none}#plt-quick-add .footer div.messages{text-align:left;margin-right:auto}#plt-quick-add .footer div.messages p{margin:0;line-height:2em}#plt-quick-add .footer input[type=submit]{margin-left:15px}#plt-quick-add .footer input[name=plt-quick-add-publish]{order:2}#plt-quick-add .content{padding-bottom:20px;text-align:right}#plt-quick-add p.short-url-message{margin:15px auto 0 auto;font-style:italic;max-width:300px;text-align:center;padding:5px;background:#f5f5f5;box-shadow:0px 5px 15px 0px rgba(0,0,0,.1)}#plt-quick-add label{font-size:14px;display:flex;text-align:left;justify-content:space-between;align-items:center}#plt-quick-add label>span{font-weight:600;margin-right:15px}#plt-quick-add label>*{font-weight:400}#plt-quick-add code{margin-left:20px}.plt-post-info{opacity:.3}.wp-list-table tr:hover .plt-post-info{opacity:1}a.plt-post-state-link span.url{display:none}a.plt-post-state-link:hover span.url{display:inline}.plt-links-to{padding:5px 10px 0 10px;line-height:24px;color:#666}#cws-links-to-custom-section{box-sizing:border-box;margin-left:30px}#cws-links-to{width:75%}
|
dist/quick-add.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=
|
1 |
+
!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=62)}({62:function(e,t,n){n(63),e.exports=n(64)},63:function(e,t){jQuery((function(e){if(void 0!==window.pltVars){var t=e(".plt-copy-short-url"),n=new ClipboardJS(".plt-copy-short-url"),r=window.pltVars,o=r.copied,i=r.browserNoSupportCopying;ClipboardJS.isSupported()?t.click((function(e){return e.preventDefault()})):t.hide(),e(".plt-links-to button").click((function(){return e("#cws-links-to").focus()})),n.on("success",(function(t){var n=e(t.trigger);n.text(o),setTimeout((function(){return n.text(n.data("original-text"))}),4e3)})),n.on("error",(function(n){e(n.trigger).text(i),setTimeout((function(){return t.hide()}),4e3)}))}})),jQuery((function(e){if(void 0!==window.pltVars){var t=e("#plt-quick-add"),n=t.find("form:first"),r=e("#plt-quick-add-save"),o=e("#plt-quick-add-publish"),i=e('a[href$="post_type=page&page=plt-add-page-link"], a[href$="#new-page-link"]'),l=t.find(".messages"),u=t.find(".short-url-message"),a=t.find('[name="title"]'),c=t.find('[name="url"]'),p=t.find('[name="slug"]'),d=t.find('[name="plt_nonce"]').val(),f=p.prop("placeholder"),s=window.pltVars.fancyUrls,g=function(e){return function(){return t.dialog(e)}},v=g("isOpen"),b=g("open"),h=g("close"),y=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return w(e).replace(/-$/,"")},w=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e.toLowerCase().replace(/\s+/g,"-").replace(/-{2,}/g,"-").replace(/[^a-z0-9-]/,"").replace(/^-/,"")},k=function(t,n){var r=function(t){var n=e("<p>".concat(t,"</p>"));return l.append(n),n}(t);return setTimeout((function(){return r.fadeOut()}),n),r},m=function(){var e=y(a.val()),t=w(p.val());p.prop("placeholder",e.length?e:f),p.val(t)},_=function(e){return function(t){t.preventDefault(),e()}},x=_((function(){return p.val(y(p.val()))})),O=_((function(){return e=p.prop("placeholder").length>16&&!p.val().length,u.toggle(e);var e})),j=function(){a.val(""),c.val(""),p.val(""),p.prop("placeholder",f),S()},S=function(){return function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];o.prop("disabled",!e),r.prop("disabled",!e)}(a.val().length&&c.val().length)},C=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.publish,r=void 0===n||n,o=a.val(),i=c.val(),l=p.val()?p.val():y(o);e.post(ajaxurl,{action:"plt_quick_add",plt_title:o,plt_url:i,plt_slug:l,plt_publish:r?1:0,plt_nonce:d},(function(e){var t=e.data.message;j(),a.focus(),k(t,5e3)}))},P=_((function(){return v()?h():b()})),q=_((function(){return C({publish:!1})})),T=_((function(){return C({publish:!0})}));t.dialog({title:"Add Page Link",dialogClass:"wp-dialog plt-ui-dialog",autoOpen:!1,draggable:!1,width:"auto",modal:!0,resizable:!1,closeOnEscape:!0,position:{my:"center",at:"center",of:window},open:function(){return e(".ui-widget-overlay").bind("click",h)},create:function(){e(".plt-ui-dialog .ui-dialog-titlebar-close").addClass("ui-button"),e(".plt-ui-dialog").css({position:"fixed"})}});var M=function(){v()&&t.dialog("option","position",{my:"center",at:"center",of:window})};e(window).scroll(M).resize(M),s&&(a.keyup(m),a.keyup(O),p.keyup(m),p.keyup(O),n.change(x)),i.click(P),r.click(q),o.click(T),n.submit(T),a.keyup(S),c.keyup(S),n.change(S),j()}}))},64:function(e,t,n){e.exports=n.p+"quick-add.css"}});
|
page-links-to.php
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* Plugin Name: Page Links To
|
8 |
* Plugin URI: http://txfx.net/wordpress-plugins/page-links-to/
|
9 |
* Description: Allows you to point WordPress pages or posts to a URL of your choosing. Good for setting up navigational links to non-WP sections of your site or to off-site resources.
|
10 |
-
* Version: 3.3.
|
11 |
* Author: Mark Jaquith
|
12 |
* Author URI: https://coveredweb.com/
|
13 |
* Text Domain: page-links-to
|
7 |
* Plugin Name: Page Links To
|
8 |
* Plugin URI: http://txfx.net/wordpress-plugins/page-links-to/
|
9 |
* Description: Allows you to point WordPress pages or posts to a URL of your choosing. Good for setting up navigational links to non-WP sections of your site or to off-site resources.
|
10 |
+
* Version: 3.3.4
|
11 |
* Author: Mark Jaquith
|
12 |
* Author URI: https://coveredweb.com/
|
13 |
* Text Domain: page-links-to
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Donate link: https://txfx.net/wordpress-plugins/donate
|
|
5 |
Tags: page, redirect, link, external link, repoint
|
6 |
Requires at least: 4.8
|
7 |
Tested up to: 5.4
|
8 |
-
Stable tag: 3.3.
|
9 |
|
10 |
Lets you make a WordPress page (or port or other content type) link to a URL of your choosing (on your site, or on another site), instead of its normal WordPress URL.
|
11 |
|
@@ -77,6 +77,9 @@ You can contribute (or report bugs) on [Github](https://github.com/markjaquith/p
|
|
77 |
|
78 |
== Changelog ==
|
79 |
|
|
|
|
|
|
|
80 |
= 3.3.3 =
|
81 |
* Add a SlotFill in the Block Editor, for extension.
|
82 |
* Fix New Tab support in Internet Explorer.
|
5 |
Tags: page, redirect, link, external link, repoint
|
6 |
Requires at least: 4.8
|
7 |
Tested up to: 5.4
|
8 |
+
Stable tag: 3.3.4
|
9 |
|
10 |
Lets you make a WordPress page (or port or other content type) link to a URL of your choosing (on your site, or on another site), instead of its normal WordPress URL.
|
11 |
|
77 |
|
78 |
== Changelog ==
|
79 |
|
80 |
+
= 3.3.4 =
|
81 |
+
* Bug fixes
|
82 |
+
|
83 |
= 3.3.3 =
|
84 |
* Add a SlotFill in the Block Editor, for extension.
|
85 |
* Fix New Tab support in Internet Explorer.
|