replaywebpage 1.7.4 → 1.7.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/chevron-double-down.svg +4 -0
- package/assets/chevron-double-up.svg +4 -0
- package/assets/globe.svg +3 -0
- package/assets/logo.svg +78 -0
- package/assets/main.scss +134 -0
- package/package.json +2 -1
- package/ui.js +1 -1
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-chevron-double-down" viewBox="0 0 16 16">
|
|
2
|
+
<path fill-rule="evenodd" d="M1.646 6.646a.5.5 0 0 1 .708 0L8 12.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"/>
|
|
3
|
+
<path fill-rule="evenodd" d="M1.646 2.646a.5.5 0 0 1 .708 0L8 8.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"/>
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-chevron-double-up" viewBox="0 0 16 16">
|
|
2
|
+
<path fill-rule="evenodd" d="M7.646 2.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1-.708.708L8 3.707 2.354 9.354a.5.5 0 1 1-.708-.708l6-6z"/>
|
|
3
|
+
<path fill-rule="evenodd" d="M7.646 6.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1-.708.708L8 7.707l-5.646 5.647a.5.5 0 0 1-.708-.708l6-6z"/>
|
|
4
|
+
</svg>
|
package/assets/globe.svg
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-globe" viewBox="0 0 16 16">
|
|
2
|
+
<path d="M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8zm7.5-6.923c-.67.204-1.335.82-1.887 1.855A7.97 7.97 0 0 0 5.145 4H7.5V1.077zM4.09 4a9.267 9.267 0 0 1 .64-1.539 6.7 6.7 0 0 1 .597-.933A7.025 7.025 0 0 0 2.255 4H4.09zm-.582 3.5c.03-.877.138-1.718.312-2.5H1.674a6.958 6.958 0 0 0-.656 2.5h2.49zM4.847 5a12.5 12.5 0 0 0-.338 2.5H7.5V5H4.847zM8.5 5v2.5h2.99a12.495 12.495 0 0 0-.337-2.5H8.5zM4.51 8.5a12.5 12.5 0 0 0 .337 2.5H7.5V8.5H4.51zm3.99 0V11h2.653c.187-.765.306-1.608.338-2.5H8.5zM5.145 12c.138.386.295.744.468 1.068.552 1.035 1.218 1.65 1.887 1.855V12H5.145zm.182 2.472a6.696 6.696 0 0 1-.597-.933A9.268 9.268 0 0 1 4.09 12H2.255a7.024 7.024 0 0 0 3.072 2.472zM3.82 11a13.652 13.652 0 0 1-.312-2.5h-2.49c.062.89.291 1.733.656 2.5H3.82zm6.853 3.472A7.024 7.024 0 0 0 13.745 12H11.91a9.27 9.27 0 0 1-.64 1.539 6.688 6.688 0 0 1-.597.933zM8.5 12v2.923c.67-.204 1.335-.82 1.887-1.855.173-.324.33-.682.468-1.068H8.5zm3.68-1h2.146c.365-.767.594-1.61.656-2.5h-2.49a13.65 13.65 0 0 1-.312 2.5zm2.802-3.5a6.959 6.959 0 0 0-.656-2.5H12.18c.174.782.282 1.623.312 2.5h2.49zM11.27 2.461c.247.464.462.98.64 1.539h1.835a7.024 7.024 0 0 0-3.072-2.472c.218.284.418.598.597.933zM10.855 4a7.966 7.966 0 0 0-.468-1.068C9.835 1.897 9.17 1.282 8.5 1.077V4h2.355z"/>
|
|
3
|
+
</svg>
|
package/assets/logo.svg
ADDED
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
+
<svg
|
|
3
|
+
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
|
4
|
+
xmlns:cc="http://creativecommons.org/ns#"
|
|
5
|
+
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
|
6
|
+
xmlns:svg="http://www.w3.org/2000/svg"
|
|
7
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
8
|
+
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
9
|
+
width="66.712418mm"
|
|
10
|
+
height="66.712418mm"
|
|
11
|
+
viewBox="0 0 66.712418 66.712418"
|
|
12
|
+
version="1.1"
|
|
13
|
+
id="wrlogo">
|
|
14
|
+
<defs
|
|
15
|
+
id="defs1341">
|
|
16
|
+
<linearGradient
|
|
17
|
+
y2="48.223869"
|
|
18
|
+
x2="97.913383"
|
|
19
|
+
y1="48.223869"
|
|
20
|
+
x1="2.9740067"
|
|
21
|
+
gradientTransform="matrix(0.70268446,0,0,0.70268446,72.622704,112.65806)"
|
|
22
|
+
gradientUnits="userSpaceOnUse"
|
|
23
|
+
id="linearGradient6615"
|
|
24
|
+
xlink:href="#linearGradient5691" />
|
|
25
|
+
<linearGradient
|
|
26
|
+
id="linearGradient5691">
|
|
27
|
+
<stop
|
|
28
|
+
style="stop-color:#4876ff;stop-opacity:1"
|
|
29
|
+
offset="0"
|
|
30
|
+
id="stop5687" />
|
|
31
|
+
<stop
|
|
32
|
+
style="stop-color:#04cdff;stop-opacity:1"
|
|
33
|
+
offset="1"
|
|
34
|
+
id="stop5689" />
|
|
35
|
+
</linearGradient>
|
|
36
|
+
</defs>
|
|
37
|
+
<metadata
|
|
38
|
+
id="metadata1344">
|
|
39
|
+
<rdf:RDF>
|
|
40
|
+
<cc:Work
|
|
41
|
+
rdf:about="">
|
|
42
|
+
<dc:format>image/svg+xml</dc:format>
|
|
43
|
+
<dc:type
|
|
44
|
+
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
|
45
|
+
<dc:title></dc:title>
|
|
46
|
+
</cc:Work>
|
|
47
|
+
</rdf:RDF>
|
|
48
|
+
</metadata>
|
|
49
|
+
<g
|
|
50
|
+
id="layer1"
|
|
51
|
+
transform="translate(-72.477124,-114.81046)">
|
|
52
|
+
<circle
|
|
53
|
+
transform="rotate(0.86915873)"
|
|
54
|
+
r="33.356209"
|
|
55
|
+
cy="146.54422"
|
|
56
|
+
cx="108.06871"
|
|
57
|
+
id="path6016-0-7-6-9-11-2-8-67-6-50-4-33"
|
|
58
|
+
style="fill:url(#linearGradient6615);fill-opacity:1;stroke:none;stroke-width:23.3824;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:normal" />
|
|
59
|
+
<path
|
|
60
|
+
style="fill:#d2f9d6;fill-opacity:1;stroke-width:0.702683"
|
|
61
|
+
d="m 119.62552,156.54036 h 5.46953 c 3.81136,0 6.91161,-3.10024 6.91161,-6.9116 0,-3.81136 -3.10025,-6.9116 -6.91161,-6.9116 h -15.59889 c -3.81136,0 -6.9116,3.10024 -6.9116,6.9116 0,1.96682 0.82917,3.73828 2.15161,4.9982 -0.83057,0.55722 -1.82557,0.88678 -2.89857,0.88678 h -2.082056 c -1.042775,-1.72016 -1.654819,-3.73054 -1.654819,-5.88498 0,-6.2834 5.112035,-11.39543 11.395435,-11.39543 h 15.59889 c 6.28341,0 11.39474,5.11132 11.39474,11.39543 0,6.28411 -5.11222,11.50105 -11.39474,11.39543 l -5.45665,0.14787 v -2.17722 z"
|
|
62
|
+
id="path114-4-0-85-6-0-5-3-6-1-6" />
|
|
63
|
+
<path
|
|
64
|
+
style="fill:#64e986;fill-opacity:1;stroke-width:0.702683"
|
|
65
|
+
d="m 91.878825,142.66568 -4.893158,0.0515 c -3.811155,0.0401 -6.911605,3.10024 -6.911605,6.91231 0,3.81065 3.100238,6.91089 6.911605,6.91089 h 15.598893 c 3.81136,0 6.9116,-3.10024 6.9116,-6.91089 0,-1.96682 -0.82917,-3.73899 -2.15162,-4.9989 0.83057,-0.55723 1.82557,-0.88609 2.89857,-0.88609 h 2.08066 c 1.04348,1.71947 1.65552,3.72985 1.65552,5.88499 0,6.28269 -5.11132,11.39472 -11.39473,11.39472 H 86.985667 c -6.282704,0 -11.39544,-5.11132 -11.39544,-11.39472 0,-6.28411 5.112828,-11.49617 11.39544,-11.39614 l 4.893158,0.0779 v 2.17722 z"
|
|
66
|
+
id="path116-9-4-7-0-8-3-2-08-9-1" />
|
|
67
|
+
<path
|
|
68
|
+
style="fill:#64e986;fill-opacity:1;stroke:none;stroke-width:15;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:normal"
|
|
69
|
+
id="path3919-5-9-8-6-6-56-0-37-5-8"
|
|
70
|
+
d="m 73.728819,47.245763 -10.861072,-6.335289 -10.86107,-6.33529 10.917057,-6.238319 10.917057,-6.238318 -0.05599,12.573609 z"
|
|
71
|
+
transform="matrix(-0.38260367,0,0,0.3986412,118.95441,127.09397)" />
|
|
72
|
+
<path
|
|
73
|
+
style="fill:#d2f9d6;fill-opacity:1;stroke:none;stroke-width:15;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:normal"
|
|
74
|
+
id="path3919-3-3-7-5-9-7-2-6-8-7-7"
|
|
75
|
+
d="m 73.728819,47.245763 -10.861072,-6.335289 -10.86107,-6.33529 10.917057,-6.238319 10.917057,-6.238318 -0.05599,12.573609 z"
|
|
76
|
+
transform="matrix(0.4122212,0,0,-0.40812,91.057524,172.76152)" />
|
|
77
|
+
</g>
|
|
78
|
+
</svg>
|
package/assets/main.scss
ADDED
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
@charset "utf-8";
|
|
2
|
+
|
|
3
|
+
/*$wr-green: #64e986;*/
|
|
4
|
+
$wr-green: #55be6f;
|
|
5
|
+
$wr-yellow: #ffd975;
|
|
6
|
+
$wr-dark-yellow: #ffc42e;
|
|
7
|
+
$wr-light-blue: #43daff;
|
|
8
|
+
$wr-med-blue: #27a0ff;
|
|
9
|
+
$wr-dark-blue: #4876ff;
|
|
10
|
+
$wr-accent: #1b0921;
|
|
11
|
+
$wr-light-bg: #f0f8ff;
|
|
12
|
+
|
|
13
|
+
$wr-light-green: #d2f9d6;
|
|
14
|
+
$wr-dark-green: #459558;
|
|
15
|
+
|
|
16
|
+
$primary: $wr-green;
|
|
17
|
+
$info: $wr-light-bg;
|
|
18
|
+
$warning: $wr-yellow;
|
|
19
|
+
$link: $wr-dark-blue;
|
|
20
|
+
|
|
21
|
+
$light: $wr-light-green;
|
|
22
|
+
$dark: $wr-dark-green;
|
|
23
|
+
|
|
24
|
+
$navbar-breakpoint: 840px;
|
|
25
|
+
$navbar-height: 2.0rem;
|
|
26
|
+
|
|
27
|
+
$modal-card-title-size: 1.2rem;
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
// Set placeholder contrast to ~4.5:1 for WCAG AA compliance
|
|
31
|
+
$input-placeholder-color: #757575;
|
|
32
|
+
$input-disabled-placeholder-color: #707070;
|
|
33
|
+
.input::placeholder, .textarea::placeholder, .select select::placeholder {
|
|
34
|
+
opacity: 1;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
// focus styles for links to match
|
|
38
|
+
a:focus {
|
|
39
|
+
color: #363636;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
// focus/hover styles for buttons
|
|
43
|
+
.file-label:focus-within .file-cta {
|
|
44
|
+
background-color: #e8e8e8;
|
|
45
|
+
color: #363636;
|
|
46
|
+
}
|
|
47
|
+
.button.is-primary:focus, .button.is-primary:hover, .button.is-primary:active {
|
|
48
|
+
background-color: $dark !important;
|
|
49
|
+
color: white !important;
|
|
50
|
+
}
|
|
51
|
+
//.button.is-warning:focus, .button.is-warning:hover, .button.is-warning:active {
|
|
52
|
+
// background-color: $wr-dark-yellow !important;
|
|
53
|
+
// color: black !important;
|
|
54
|
+
//}
|
|
55
|
+
|
|
56
|
+
.replay-bar .button {
|
|
57
|
+
margin: 0 1px;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.replay-bar .button:focus {
|
|
61
|
+
box-shadow: none !important;
|
|
62
|
+
outline: 1px dotted $wr-dark-blue;
|
|
63
|
+
outline: -webkit-focus-ring-color auto 1px;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.skip-link {
|
|
67
|
+
border: 0;
|
|
68
|
+
clip: rect(1px, 1px, 1px, 1px);
|
|
69
|
+
clip-path: inset(50%);
|
|
70
|
+
height: 1px;
|
|
71
|
+
margin: -1px;
|
|
72
|
+
overflow: hidden;
|
|
73
|
+
padding: 0;
|
|
74
|
+
position: absolute !important;
|
|
75
|
+
width: 1px;
|
|
76
|
+
word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
|
|
77
|
+
|
|
78
|
+
&:focus {
|
|
79
|
+
background-color: black;
|
|
80
|
+
border-radius: 3px;
|
|
81
|
+
box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
|
|
82
|
+
clip: auto !important;
|
|
83
|
+
clip-path: none;
|
|
84
|
+
color: white;
|
|
85
|
+
display: block;
|
|
86
|
+
font-family: inherit;
|
|
87
|
+
font-size: 1.3em;
|
|
88
|
+
font-weight: bold;
|
|
89
|
+
height: auto;
|
|
90
|
+
left: 5px;
|
|
91
|
+
line-height: normal;
|
|
92
|
+
padding: 15px 23px 14px;
|
|
93
|
+
text-decoration: none;
|
|
94
|
+
top: 5px;
|
|
95
|
+
width: auto;
|
|
96
|
+
z-index: 100000;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.main-scroll {
|
|
101
|
+
flex: 1;
|
|
102
|
+
scroll-behavior: smooth;
|
|
103
|
+
overflow-y: auto;
|
|
104
|
+
max-height: 100vh;
|
|
105
|
+
height: 100%;
|
|
106
|
+
display: flex;
|
|
107
|
+
flex-direction: column;
|
|
108
|
+
overflow-x: hidden;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
@import "bulma/bulma";
|
|
113
|
+
|
|
114
|
+
// Add html and body styles to :host for webcomponents
|
|
115
|
+
:host {
|
|
116
|
+
//background-color: $body-background-color;
|
|
117
|
+
font-size: $body-size;
|
|
118
|
+
-moz-osx-font-smoothing: grayscale;
|
|
119
|
+
-webkit-font-smoothing: antialiased;
|
|
120
|
+
min-width: $body-min-width;
|
|
121
|
+
overflow-x: $body-overflow-x;
|
|
122
|
+
overflow-y: $body-overflow-y;
|
|
123
|
+
text-rendering: $body-rendering;
|
|
124
|
+
text-size-adjust: 100%;
|
|
125
|
+
|
|
126
|
+
font-family: $body-family;
|
|
127
|
+
color: $body-color;
|
|
128
|
+
font-size: $body-font-size;
|
|
129
|
+
font-weight: $body-weight;
|
|
130
|
+
line-height: $body-line-height;
|
|
131
|
+
|
|
132
|
+
box-sizing: border-box;
|
|
133
|
+
overflow: hidden;
|
|
134
|
+
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "replaywebpage",
|
|
3
3
|
"productName": "ReplayWeb.page",
|
|
4
|
-
"version": "1.7.
|
|
4
|
+
"version": "1.7.5",
|
|
5
5
|
"description": "Serverless Web Archive Replay",
|
|
6
6
|
"repository": "https://github.com/webrecorder/replayweb.page",
|
|
7
7
|
"homepage": "https://replayweb.page/",
|
|
@@ -47,6 +47,7 @@
|
|
|
47
47
|
"webpack-dev-server": "^4.2.1"
|
|
48
48
|
},
|
|
49
49
|
"files": [
|
|
50
|
+
"/assets",
|
|
50
51
|
"/src",
|
|
51
52
|
"/ruffle",
|
|
52
53
|
"sw.js",
|
package/ui.js
CHANGED
|
@@ -48,7 +48,7 @@ class oe extends re{constructor(e){if(super(e),this.it=R,e.type!==ie)throw Error
|
|
|
48
48
|
* Copyright 2017 Google LLC
|
|
49
49
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
50
50
|
*/
|
|
51
|
-
class se extends oe{}se.directiveName="unsafeSVG",se.resultType=2;const le=ae(se),ce=ae(class extends re{constructor(e){var t;if(super(e),e.type!==te||"style"!==e.name||(null===(t=e.strings)||void 0===t?void 0:t.length)>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(e){return Object.keys(e).reduce(((t,i)=>{const a=e[i];return null==a?t:t+`${i=i.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${a};`}),"")}update(e,[t]){const{style:i}=e.element;if(void 0===this.ct){this.ct=new Set;for(const e in t)this.ct.add(e);return this.render(t)}this.ct.forEach((e=>{null==t[e]&&(this.ct.delete(e),e.includes("-")?i.removeProperty(e):i[e]="")}));for(const e in t){const a=t[e];null!=a&&(this.ct.add(e),e.includes("-")?i.setProperty(e,a):i[e]=a)}return U}});var de=__webpack_require__(6274),he=__webpack_require__(3029),fe=__webpack_require__.n(he);const be=r(de.Z);function ue(e){return[be,e]}const pe=window.IS_APP||window.electron&&window.electron.IS_APP||window.matchMedia("(display-mode: standalone)").matches,me="1.7.
|
|
51
|
+
class se extends oe{}se.directiveName="unsafeSVG",se.resultType=2;const le=ae(se),ce=ae(class extends re{constructor(e){var t;if(super(e),e.type!==te||"style"!==e.name||(null===(t=e.strings)||void 0===t?void 0:t.length)>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(e){return Object.keys(e).reduce(((t,i)=>{const a=e[i];return null==a?t:t+`${i=i.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${a};`}),"")}update(e,[t]){const{style:i}=e.element;if(void 0===this.ct){this.ct=new Set;for(const e in t)this.ct.add(e);return this.render(t)}this.ct.forEach((e=>{null==t[e]&&(this.ct.delete(e),e.includes("-")?i.removeProperty(e):i[e]="")}));for(const e in t){const a=t[e];null!=a&&(this.ct.add(e),e.includes("-")?i.setProperty(e,a):i[e]=a)}return U}});var de=__webpack_require__(6274),he=__webpack_require__(3029),fe=__webpack_require__.n(he);const be=r(de.Z);function ue(e){return[be,e]}const pe=window.IS_APP||window.electron&&window.electron.IS_APP||window.matchMedia("(display-mode: standalone)").matches,me="1.7.5";function ge(e){" "==e.key&&(e.preventDefault(),e.target.click())}class ve extends X{constructor(){super(),this.size="1.1em",this.width=null,this.height=null}static get properties(){return{svg:{type:String},size:{type:String},width:{type:String},height:{type:String}}}static get styles(){return o`
|
|
52
52
|
:host {
|
|
53
53
|
display: inline-block;
|
|
54
54
|
padding: 0;
|