website-utilities 1.0.260 → 1.0.263
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/index.compiled.css +1 -1
- package/index.css +233 -226
- package/index.js +1 -1
- package/package.json +2 -12
package/index.compiled.css
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* !/usr/bin/env css
|
|
2
|
-
-*- coding: utf-8 -*- */@font-face{font-family:open-sans;src:url(font.compiled/open-sans-light.woff2?md5=[chunkhash]) format("woff2"),url(font.compiled/open-sans-light.woff?md5=[chunkhash]) format("woff");font-weight:300;font-style:normal}@font-face{font-family:open-sans;src:url(font.compiled/open-sans-light-italic.woff2?md5=[chunkhash]) format("woff2"),url(font.compiled/open-sans-light-italic.woff?md5=[chunkhash]) format("woff");font-weight:300;font-style:italic}@font-face{font-family:open-sans;src:url(font.compiled/open-sans-regular.woff2?md5=[chunkhash]) format("woff2"),url(font.compiled/open-sans-regular.woff?md5=[chunkhash]) format("woff");font-weight:400;font-style:normal}@font-face{font-family:open-sans;src:url(font.compiled/open-sans-italic.woff2?md5=[chunkhash]) format("woff2"),url(font.compiled/open-sans-italic.woff?md5=[chunkhash]) format("woff");font-weight:400;font-style:italic}@font-face{font-family:open-sans;src:url(font.compiled/open-sans-semi-bold.woff2?md5=[chunkhash]) format("woff2"),url(font.compiled/open-sans-semi-bold.woff?md5=[chunkhash]) format("woff");font-weight:600;font-style:normal}@font-face{font-family:open-sans;src:url(font.compiled/open-sans-semi-bold-italic.woff2?md5=[chunkhash]) format("woff2"),url(font.compiled/open-sans-semi-bold-italic.woff?md5=[chunkhash]) format("woff");font-weight:600;font-style:italic}@font-face{font-family:open-sans;src:url(font.compiled/open-sans-bold.woff2?md5=[chunkhash]) format("woff2"),url(font.compiled/open-sans-bold.woff?md5=[chunkhash]) format("woff");font-weight:700;font-style:normal}@font-face{font-family:open-sans;src:url(font.compiled/open-sans-bold-italic.woff2?md5=[chunkhash]) format("woff2"),url(font.compiled/open-sans-bold-italic.woff?md5=[chunkhash]) format("woff");font-weight:700;font-style:italic}@font-face{font-family:open-sans;src:url(font.compiled/open-sans-extra-bold.woff2?md5=[chunkhash]) format("woff2"),url(font.compiled/open-sans-extra-bold.woff?md5=[chunkhash]) format("woff");font-weight:800;font-style:normal}@font-face{font-family:open-sans;src:url(font.compiled/open-sans-extra-bold-italic.woff2?md5=[chunkhash]) format("woff2"),url(font.compiled/open-sans-extra-bold-italic.woff?md5=[chunkhash]) format("woff");font-weight:800;font-style:italic}@font-face{font-family:open-sans-condensed;src:url(font.compiled/open-sans-condensed-bold.woff2?md5=[chunkhash]) format("woff2"),url(font.compiled/open-sans-condensed-bold.woff?md5=[chunkhash]) format("woff");font-weight:700;font-style:normal}@font-face{font-family:open-sans-condensed;src:url(font.compiled/open-sans-condensed-light.woff2?md5=[chunkhash]) format("woff2"),url(font.compiled/open-sans-condensed-light.woff?md5=[chunkhash]) format("woff");font-weight:300;font-style:normal}@font-face{font-family:open-sans-condensed;src:url(font.compiled/open-sans-condensed-light-italic.woff2?md5=[chunkhash]) format("woff2"),url(font.compiled/open-sans-condensed-light-italic.woff?md5=[chunkhash]) format("woff");font-weight:300;font-style:italic}@font-face{font-family:Glyphicons Halflings;src:url(font.compiled/glyphicons-halflings-regular.woff2?md5=[chunkhash]) format("woff2"),url(font.compiled/glyphicons-halflings-regular.woff?md5=[chunkhash]) format("woff")}@font-face{font-family:Glyphicons Social Regular;src:url(font.compiled/glyphicons-halflings-social-regular.woff2?md5=[chunkhash]) format("woff2"),url(font.compiled/glyphicons-halflings-social-regular.woff?md5=[chunkhash]) format("woff")}:root{--default-space:20px;--extra-extra-small-width:360px;--extra-small-width:500px;--small-width:768px;--medium-width:992px;--large-width:1200px;@custom-media --extra-extra-small (min-width: 360px);@custom-media --extra-small (min-width: 500px);@custom-media --small (min-width: 768px);@custom-media --medium (min-width: 992px);@custom-media --large (min-width: 1200px);--background-color:#fff;--disabled-color:#eee;--font-color:#555;--border-color:#ccc;--font-family:"Open Sans",open-sans,sans-serif;--font-family-condensed:"Open Sans Condensed",open-sans-condensed,sans-serif;& .javascript .tools{&-hidden-on-javascript-enabled{display:none!important}&-visible-on-javascript-enabled{display:initial!important}}& .no-javascript .tools{&-hidden-on-javascript-disabled{display:none!important}&-visible-on-javascript-disabled{display:initial!important}}}@keyframes spinner-line-fade-more{0%,to{opacity:0}1%{opacity:1}}@keyframes spinner-line-fade-quick{0%,39%,to{opacity:.25}40%{opacity:1}}@keyframes spinner-line-fade-default{0%,to{opacity:.22}1%{opacity:1}}
|
|
2
|
+
-*- coding: utf-8 -*- */@font-face{font-family:open-sans;src:url(font.compiled/open-sans-light.woff2?md5=[chunkhash]) format("woff2"),url(font.compiled/open-sans-light.woff?md5=[chunkhash]) format("woff");font-weight:300;font-style:normal}@font-face{font-family:open-sans;src:url(font.compiled/open-sans-light-italic.woff2?md5=[chunkhash]) format("woff2"),url(font.compiled/open-sans-light-italic.woff?md5=[chunkhash]) format("woff");font-weight:300;font-style:italic}@font-face{font-family:open-sans;src:url(font.compiled/open-sans-regular.woff2?md5=[chunkhash]) format("woff2"),url(font.compiled/open-sans-regular.woff?md5=[chunkhash]) format("woff");font-weight:400;font-style:normal}@font-face{font-family:open-sans;src:url(font.compiled/open-sans-italic.woff2?md5=[chunkhash]) format("woff2"),url(font.compiled/open-sans-italic.woff?md5=[chunkhash]) format("woff");font-weight:400;font-style:italic}@font-face{font-family:open-sans;src:url(font.compiled/open-sans-semi-bold.woff2?md5=[chunkhash]) format("woff2"),url(font.compiled/open-sans-semi-bold.woff?md5=[chunkhash]) format("woff");font-weight:600;font-style:normal}@font-face{font-family:open-sans;src:url(font.compiled/open-sans-semi-bold-italic.woff2?md5=[chunkhash]) format("woff2"),url(font.compiled/open-sans-semi-bold-italic.woff?md5=[chunkhash]) format("woff");font-weight:600;font-style:italic}@font-face{font-family:open-sans;src:url(font.compiled/open-sans-bold.woff2?md5=[chunkhash]) format("woff2"),url(font.compiled/open-sans-bold.woff?md5=[chunkhash]) format("woff");font-weight:700;font-style:normal}@font-face{font-family:open-sans;src:url(font.compiled/open-sans-bold-italic.woff2?md5=[chunkhash]) format("woff2"),url(font.compiled/open-sans-bold-italic.woff?md5=[chunkhash]) format("woff");font-weight:700;font-style:italic}@font-face{font-family:open-sans;src:url(font.compiled/open-sans-extra-bold.woff2?md5=[chunkhash]) format("woff2"),url(font.compiled/open-sans-extra-bold.woff?md5=[chunkhash]) format("woff");font-weight:800;font-style:normal}@font-face{font-family:open-sans;src:url(font.compiled/open-sans-extra-bold-italic.woff2?md5=[chunkhash]) format("woff2"),url(font.compiled/open-sans-extra-bold-italic.woff?md5=[chunkhash]) format("woff");font-weight:800;font-style:italic}@font-face{font-family:open-sans-condensed;src:url(font.compiled/open-sans-condensed-bold.woff2?md5=[chunkhash]) format("woff2"),url(font.compiled/open-sans-condensed-bold.woff?md5=[chunkhash]) format("woff");font-weight:700;font-style:normal}@font-face{font-family:open-sans-condensed;src:url(font.compiled/open-sans-condensed-light.woff2?md5=[chunkhash]) format("woff2"),url(font.compiled/open-sans-condensed-light.woff?md5=[chunkhash]) format("woff");font-weight:300;font-style:normal}@font-face{font-family:open-sans-condensed;src:url(font.compiled/open-sans-condensed-light-italic.woff2?md5=[chunkhash]) format("woff2"),url(font.compiled/open-sans-condensed-light-italic.woff?md5=[chunkhash]) format("woff");font-weight:300;font-style:italic}@font-face{font-family:Glyphicons Halflings;src:url(font.compiled/glyphicons-halflings-regular.woff2?md5=[chunkhash]) format("woff2"),url(font.compiled/glyphicons-halflings-regular.woff?md5=[chunkhash]) format("woff")}@font-face{font-family:Glyphicons Social Regular;src:url(font.compiled/glyphicons-halflings-social-regular.woff2?md5=[chunkhash]) format("woff2"),url(font.compiled/glyphicons-halflings-social-regular.woff?md5=[chunkhash]) format("woff")}.wu{--default-space:20px;--extra-extra-small-width:360px;--extra-small-width:500px;--small-width:768px;--medium-width:992px;--large-width:1200px;@custom-media --extra-extra-small (min-width: 360px);@custom-media --extra-small (min-width: 500px);@custom-media --small (min-width: 768px);@custom-media --medium (min-width: 992px);@custom-media --large (min-width: 1200px);--background-color:#fff;--disabled-color:#eee;--font-color:#555;--border-color:#ccc;--font-family:"Open Sans",open-sans,sans-serif;--font-family-condensed:"Open Sans Condensed",open-sans-condensed,sans-serif;margin:0;font-family:var(--font-family);font-size:14px}.wu-lang-replacement,.wu lang-replacement{display:none}.wu-h1,.wu-h2,.wu-h3,.wu-h4,.wu-h5,.wu-h6,.wu h1,.wu h2,.wu h3,.wu h4,.wu h5,.wu h6{font-family:var(--font-family)}.wu-h1,.wu-h2,.wu h1,.wu h2{font-family:var(--font-family-condensed);font-weight:400;font-size:3em}.wu-h2,.wu h2{font-size:2em}.wu a,.wu a:focus,.wu a:hover,.wu a:visited,a.wu-a,a.wu-a:focus,a.wu-a:hover,a.wu-a:visited{outline:none;text-decoration:none}.tools-disable-scrolling{height:100%!important;overflow:hidden!important}.wu-action,.wu .action{cursor:pointer}.wu-window-loading-cover,.wu .window-loading-cover{background-color:var(--background-color);position:fixed;height:100%;width:100%;z-index:1002!important}.wu-window-loading-cover>div,.wu .window-loading-cover>div{position:absolute;top:50%;left:50%}.wu-icon-social,.wu .glyphicon-social{color:#1d1d1b;display:inline-block;padding-left:30px;position:relative;text-decoration:none;vertical-align:middle;zoom:1}.wu-icon-social:before,.wu .glyphicon-social:before{display:inline-block;font:24px/1em Glyphicons Social Regular,sans-serif;font-style:normal;font-weight:400;left:0;margin:0 5px 0 0;position:absolute;text-transform:none;top:0;zoom:1}-white.wu-icon-social:before,.wu -white.glyphicon-social:before{color:#fff}-pinterest.wu-icon-social:before,.wu -pinterest.glyphicon-social:before{content:"\E001"}-dropbox.wu-icon-social:before,.wu -dropbox.glyphicon-social:before{content:"\E002"}-google_plus.wu-icon-social:before,.wu -google_plus.glyphicon-social:before{content:"\E003"}-jolicloud.wu-icon-social:before,.wu -jolicloud.glyphicon-social:before{content:"\E004"}-yahoo.wu-icon-social:before,.wu -yahoo.glyphicon-social:before{content:"\E005"}-blogger.wu-icon-social:before,.wu -blogger.glyphicon-social:before{content:"\E006"}-picasa.wu-icon-social:before,.wu -picasa.glyphicon-social:before{content:"\E007"}-amazon.wu-icon-social:before,.wu -amazon.glyphicon-social:before{content:"\E008"}-tumblr.wu-icon-social:before,.wu -tumblr.glyphicon-social:before{content:"\E009"}-wordpress.wu-icon-social:before,.wu -wordpress.glyphicon-social:before{content:"\E010"}-instapaper.wu-icon-social:before,.wu -instapaper.glyphicon-social:before{content:"\E011"}-evernote.wu-icon-social:before,.wu -evernote.glyphicon-social:before{content:"\E012"}-xing.wu-icon-social:before,.wu -xing.glyphicon-social:before{content:"\E013"}-zootool.wu-icon-social:before,.wu -zootool.glyphicon-social:before{content:"\E014"}-dribbble.wu-icon-social:before,.wu -dribbble.glyphicon-social:before{content:"\E015"}-deviantart.wu-icon-social:before,.wu -deviantart.glyphicon-social:before{content:"\E016"}-read_it_later.wu-icon-social:before,.wu -read_it_later.glyphicon-social:before{content:"\E017"}-linked_in.wu-icon-social:before,.wu -linked_in.glyphicon-social:before{content:"\E018"}-forrst.wu-icon-social:before,.wu -forrst.glyphicon-social:before{content:"\E019"}-pinboard.wu-icon-social:before,.wu -pinboard.glyphicon-social:before{content:"\E020"}-behance.wu-icon-social:before,.wu -behance.glyphicon-social:before{content:"\E021"}-github.wu-icon-social:before,.wu -github.glyphicon-social:before{content:"\E022"}-youtube.wu-icon-social:before,.wu -youtube.glyphicon-social:before{content:"\E023"}-skitch.wu-icon-social:before,.wu -skitch.glyphicon-social:before{content:"\E024"}-foursquare.wu-icon-social:before,.wu -foursquare.glyphicon-social:before{content:"\E025"}-quora.wu-icon-social:before,.wu -quora.glyphicon-social:before{content:"\E026"}-badoo.wu-icon-social:before,.wu -badoo.glyphicon-social:before{content:"\E027"}-spotify.wu-icon-social:before,.wu -spotify.glyphicon-social:before{content:"\E028"}-stumbleupon.wu-icon-social:before,.wu -stumbleupon.glyphicon-social:before{content:"\E029"}-readability.wu-icon-social:before,.wu -readability.glyphicon-social:before{content:"\E030"}-facebook.wu-icon-social:before,.wu -facebook.glyphicon-social:before{content:"\E031"}-twitter.wu-icon-social:before,.wu -twitter.glyphicon-social:before{content:"\E032"}-instagram.wu-icon-social:before,.wu -instagram.glyphicon-social:before{content:"\E033"}-posterous_spaces.wu-icon-social:before,.wu -posterous_spaces.glyphicon-social:before{content:"\E034"}-vimeo.wu-icon-social:before,.wu -vimeo.glyphicon-social:before{content:"\E035"}-flickr.wu-icon-social:before,.wu -flickr.glyphicon-social:before{content:"\E036"}-last_fm.wu-icon-social:before,.wu -last_fm.glyphicon-social:before{content:"\E037"}-rss.wu-icon-social:before,.wu -rss.glyphicon-social:before{content:"\E038"}-skype.wu-icon-social:before,.wu -skype.glyphicon-social:before{content:"\E039"}-e-mail.wu-icon-social:before,.wu -e-mail.glyphicon-social:before{content:"\E040"}-vine.wu-icon-social:before,.wu -vine.glyphicon-social:before{content:"\E041"}-myspace.wu-icon-social:before,.wu -myspace.glyphicon-social:before{content:"\E042"}-goodreads.wu-icon-social:before,.wu -goodreads.glyphicon-social:before{content:"\E043"}-apple.wu-icon-social:before,.wu -apple.glyphicon-social:before{content:"\F8FF"}-windows.wu-icon-social:before,.wu -windows.glyphicon-social:before{content:"\E045"}-yelp.wu-icon-social:before,.wu -yelp.glyphicon-social:before{content:"\E046"}-playstation.wu-icon-social:before,.wu -playstation.glyphicon-social:before{content:"\E047"}-xbox.wu-icon-social:before,.wu -xbox.glyphicon-social:before{content:"\E048"}-android.wu-icon-social:before,.wu -android.glyphicon-social:before{content:"\E049"}-ios.wu-icon-social:before,.wu -ios.glyphicon-social:before{content:"\E050"}.wu-select,.wu .select{position:relative}__arrow.wu-select,.wu __arrow.select{position:absolute;top:3px;right:15px;pointer-events:none}__arrow.wu-select span,.wu __arrow.select span{vertical-align:bottom;font-size:10px}.wu-select select,.wu .select select{position:static!important;padding-left:7px!important;padding-right:25px!important}.wu-select select::-ms-expand,.wu .select select::-ms-expand{display:none}.wu-checkbox,.wu .checkbox{margin-top:2px;padding-top:3px}.wu-checkbox label,.wu .checkbox label{padding-left:40px}.wu-checkbox label .checkbox__wrapper,.wu .checkbox label .checkbox__wrapper{margin-top:-2px;margin-left:-40px;position:absolute}.wu-checkbox label .checkbox__wrapper .checkbox__wrapper__styled,.wu .checkbox label .checkbox__wrapper .checkbox__wrapper__styled{border-radius:4px;border:2px solid var(--border-color);cursor:pointer;float:right;height:25px;padding:0;width:25px}.wu-checkbox label .checkbox__wrapper .checkbox__wrapper__styled .checkbox__wrapper__styled__checked,.wu .checkbox label .checkbox__wrapper .checkbox__wrapper__styled .checkbox__wrapper__styled__checked{background:transparent;border:3px solid var(--font-color);border-top:none;border-right:none;height:8px;left:4px;opacity:0;position:absolute;top:5px;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);width:13px}.wu-checkbox label .checkbox__wrapper input[type=checkbox],.wu .checkbox label .checkbox__wrapper input[type=checkbox]{display:none}.wu-checkbox label .checkbox__wrapper input[type=checkbox]:checked~span.checkbox-styled>span.checkbox-styled-checked,.wu .checkbox label .checkbox__wrapper input[type=checkbox]:checked~span.checkbox-styled>span.checkbox-styled-checked{opacity:1}.wu-checkbox label .checkbox__wrapper input[type=checkbox]:disabled~span.checkbox-styled,.wu .checkbox label .checkbox__wrapper input[type=checkbox]:disabled~span.checkbox-styled{background-color:var(--disabled-color)}.tools-hidden-on-javascript-enabled{display:none!important}.tools-visible-on-javascript-enabled{display:inline!important;display:initial!important}@-webkit-keyframes spinner-line-fade-more{0%,to{opacity:0}1%{opacity:1}}@keyframes spinner-line-fade-more{0%,to{opacity:0}1%{opacity:1}}@-webkit-keyframes spinner-line-fade-quick{0%,39%,to{opacity:.25}40%{opacity:1}}@keyframes spinner-line-fade-quick{0%,39%,to{opacity:.25}40%{opacity:1}}@-webkit-keyframes spinner-line-fade-default{0%,to{opacity:.22}1%{opacity:1}}@keyframes spinner-line-fade-default{0%,to{opacity:.22}1%{opacity:1}}
|
package/index.css
CHANGED
|
@@ -161,7 +161,7 @@ endregion */
|
|
|
161
161
|
}
|
|
162
162
|
/** endregion */
|
|
163
163
|
/* endregion */
|
|
164
|
-
|
|
164
|
+
.wu {
|
|
165
165
|
/* region constants */
|
|
166
166
|
--default-space: 20px;
|
|
167
167
|
/** region dimensions */
|
|
@@ -200,250 +200,257 @@ endregion */
|
|
|
200
200
|
--font-family-condensed: "Open Sans Condensed", open-sans-condensed, sans-serif;
|
|
201
201
|
/** endregion */
|
|
202
202
|
/* endregion */
|
|
203
|
-
|
|
204
|
-
@define-mixin website-utilities {
|
|
205
|
-
margin: 0;
|
|
206
|
-
font-family: var(--font-family);
|
|
207
|
-
font-size: 14px;
|
|
208
|
-
/* stylelint-disable selector-type-no-unknown */
|
|
209
|
-
& langreplacement { display: none; }
|
|
210
|
-
/* stylelint-enable selector-type-no-unknown */
|
|
211
|
-
/* region generic dom nodes */
|
|
212
|
-
/** region headline */
|
|
213
|
-
& h1,
|
|
214
|
-
& h2,
|
|
215
|
-
& h3,
|
|
216
|
-
& h4,
|
|
217
|
-
& h5,
|
|
218
|
-
& h6,
|
|
219
|
-
& .h1,
|
|
220
|
-
& .h2,
|
|
221
|
-
& .h3,
|
|
222
|
-
& .h4,
|
|
223
|
-
& .h5,
|
|
224
|
-
& .h6 {
|
|
225
|
-
font-family: var(--font-family);
|
|
226
|
-
}
|
|
203
|
+
margin: 0;
|
|
227
204
|
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
font-weight: normal;
|
|
232
|
-
font-size: 3em;
|
|
233
|
-
}
|
|
234
|
-
& h2 { font-size: 2em; }
|
|
235
|
-
/** endregion */
|
|
236
|
-
/** region link */
|
|
237
|
-
& a,
|
|
238
|
-
& a:hover,
|
|
239
|
-
& a:focus,
|
|
240
|
-
& a:visited {
|
|
241
|
-
outline: none;
|
|
242
|
-
text-decoration: none;
|
|
243
|
-
}
|
|
244
|
-
/** endregion */
|
|
245
|
-
/* endregion */
|
|
246
|
-
/* region generic classes */
|
|
247
|
-
/* Disables and hides a scrolling and scrollbar. */
|
|
248
|
-
& .tools-disable-scrolling {
|
|
249
|
-
height: 100% !important;
|
|
250
|
-
overflow: hidden !important;
|
|
251
|
-
}
|
|
252
|
-
& .website-utilities-action { cursor: pointer; }
|
|
253
|
-
/* Overlay the whole page till everything is loaded completely. */
|
|
254
|
-
& .website-utilities-window-loading-cover {
|
|
255
|
-
background-color: var(--background-color);
|
|
256
|
-
/* always cover full viewport */
|
|
257
|
-
position: fixed;
|
|
258
|
-
height: 100%;
|
|
259
|
-
width: 100%;
|
|
260
|
-
z-index: 1002 !important;
|
|
261
|
-
/* Positioning the loading spinner in center in the loading overlay. */
|
|
262
|
-
& > div {
|
|
263
|
-
position: absolute;
|
|
264
|
-
top: 50%;
|
|
265
|
-
left: 50%;
|
|
266
|
-
}
|
|
267
|
-
}
|
|
268
|
-
/** region glyphicon-social */
|
|
269
|
-
& .glyphicon-social {
|
|
270
|
-
color: #1d1d1b;
|
|
271
|
-
display: inline-block;
|
|
272
|
-
padding-left: 30px;
|
|
273
|
-
position: relative;
|
|
274
|
-
text-decoration: none;
|
|
275
|
-
vertical-align: middle;
|
|
276
|
-
zoom: 1;
|
|
205
|
+
font-family: var(--font-family);
|
|
206
|
+
font-size: 14px;
|
|
207
|
+
}
|
|
277
208
|
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
&-zootool::before { content: "\E014"; }
|
|
308
|
-
&-dribbble::before { content: "\E015"; }
|
|
309
|
-
&-deviantart::before { content: "\E016"; }
|
|
310
|
-
&-read_it_later::before { content: "\E017"; }
|
|
311
|
-
&-linked_in::before { content: "\E018"; }
|
|
312
|
-
&-forrst::before { content: "\E019"; }
|
|
313
|
-
&-pinboard::before { content: "\E020"; }
|
|
314
|
-
&-behance::before { content: "\E021"; }
|
|
315
|
-
&-github::before { content: "\E022"; }
|
|
316
|
-
&-youtube::before { content: "\E023"; }
|
|
317
|
-
&-skitch::before { content: "\E024"; }
|
|
318
|
-
&-foursquare::before { content: "\E025"; }
|
|
319
|
-
&-quora::before { content: "\E026"; }
|
|
320
|
-
&-badoo::before { content: "\E027"; }
|
|
321
|
-
&-spotify::before { content: "\E028"; }
|
|
322
|
-
&-stumbleupon::before { content: "\E029"; }
|
|
323
|
-
&-readability::before { content: "\E030"; }
|
|
324
|
-
&-facebook::before { content: "\E031"; }
|
|
325
|
-
&-twitter::before { content: "\E032"; }
|
|
326
|
-
&-instagram::before { content: "\E033"; }
|
|
327
|
-
&-posterous_spaces::before { content: "\E034"; }
|
|
328
|
-
&-vimeo::before { content: "\E035"; }
|
|
329
|
-
&-flickr::before { content: "\E036"; }
|
|
330
|
-
&-last_fm::before { content: "\E037"; }
|
|
331
|
-
&-rss::before { content: "\E038"; }
|
|
332
|
-
&-skype::before { content: "\E039"; }
|
|
333
|
-
&-e-mail::before { content: "\E040"; }
|
|
334
|
-
&-vine::before { content: "\E041"; }
|
|
335
|
-
&-myspace::before { content: "\E042"; }
|
|
336
|
-
&-goodreads::before { content: "\E043"; }
|
|
337
|
-
&-apple::before { content: "\F8FF"; }
|
|
338
|
-
&-windows::before { content: "\E045"; }
|
|
339
|
-
&-yelp::before { content: "\E046"; }
|
|
340
|
-
&-playstation::before { content: "\E047"; }
|
|
341
|
-
&-xbox::before { content: "\E048"; }
|
|
342
|
-
&-android::before { content: "\E049"; }
|
|
343
|
-
&-ios::before { content: "\E050"; }
|
|
344
|
-
}
|
|
345
|
-
/** endregion */
|
|
346
|
-
/** region form */
|
|
347
|
-
/*** region styled select */
|
|
348
|
-
& .select-styled-wrapper {
|
|
349
|
-
position: relative;
|
|
209
|
+
.wu-lang-replacement,
|
|
210
|
+
.wu lang-replacement {
|
|
211
|
+
display: none;
|
|
212
|
+
}
|
|
213
|
+
/* region generic dom nodes */
|
|
214
|
+
/** region headline */
|
|
215
|
+
.wu-h1,
|
|
216
|
+
.wu h1,
|
|
217
|
+
.wu-h2,
|
|
218
|
+
.wu h2,
|
|
219
|
+
.wu-h3,
|
|
220
|
+
.wu h3,
|
|
221
|
+
.wu-h4,
|
|
222
|
+
.wu h4,
|
|
223
|
+
.wu-h5,
|
|
224
|
+
.wu h5,
|
|
225
|
+
.wu-h6,
|
|
226
|
+
.wu h6 {
|
|
227
|
+
font-family: var(--font-family);
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
.wu-h1,
|
|
231
|
+
.wu h1,
|
|
232
|
+
.wu-h2,
|
|
233
|
+
.wu h2 {
|
|
234
|
+
font-family: var(--font-family-condensed);
|
|
235
|
+
font-weight: normal;
|
|
236
|
+
font-size: 3em;
|
|
237
|
+
}
|
|
350
238
|
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
239
|
+
.wu-h2,
|
|
240
|
+
.wu h2 {
|
|
241
|
+
font-size: 2em;
|
|
242
|
+
}
|
|
243
|
+
/** endregion */
|
|
244
|
+
/** region link */
|
|
245
|
+
a.wu-a,
|
|
246
|
+
.wu a,
|
|
247
|
+
a.wu-a:hover,
|
|
248
|
+
.wu a:hover,
|
|
249
|
+
a.wu-a:focus,
|
|
250
|
+
.wu a:focus,
|
|
251
|
+
a.wu-a:visited,
|
|
252
|
+
.wu a:visited {
|
|
253
|
+
outline: none;
|
|
254
|
+
text-decoration: none;
|
|
255
|
+
}
|
|
256
|
+
/** endregion */
|
|
257
|
+
/* endregion */
|
|
258
|
+
/* region generic classes */
|
|
259
|
+
/* Disables and hides a scrolling and scrollbar. */
|
|
260
|
+
.tools-disable-scrolling {
|
|
261
|
+
height: 100% !important;
|
|
262
|
+
overflow: hidden !important;
|
|
263
|
+
}
|
|
356
264
|
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
265
|
+
.wu-action,
|
|
266
|
+
.wu .action {
|
|
267
|
+
cursor: pointer;
|
|
268
|
+
}
|
|
269
|
+
/* Overlay the whole page till everything is loaded completely. */
|
|
270
|
+
.wu-window-loading-cover,
|
|
271
|
+
.wu .window-loading-cover {
|
|
272
|
+
background-color: var(--background-color);
|
|
273
|
+
/* always cover full viewport */
|
|
274
|
+
position: fixed;
|
|
275
|
+
height: 100%;
|
|
276
|
+
width: 100%;
|
|
277
|
+
z-index: 1002 !important;
|
|
362
278
|
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
279
|
+
& > div {
|
|
280
|
+
/* Positioning the loading spinner in center in the loading overlay. */
|
|
281
|
+
position: absolute;
|
|
282
|
+
top: 50%;
|
|
283
|
+
left: 50%;
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
/** region glyphicon-social */
|
|
287
|
+
.wu-icon-social,
|
|
288
|
+
.wu .glyphicon-social {
|
|
289
|
+
color: #1d1d1b;
|
|
290
|
+
display: inline-block;
|
|
291
|
+
padding-left: 30px;
|
|
292
|
+
position: relative;
|
|
293
|
+
text-decoration: none;
|
|
294
|
+
vertical-align: middle;
|
|
295
|
+
zoom: 1;
|
|
296
|
+
|
|
297
|
+
&::before {
|
|
298
|
+
/* Edited to enable hover effects.
|
|
299
|
+
color: #1d1d1b;
|
|
300
|
+
*/
|
|
301
|
+
display: inline-block;
|
|
302
|
+
font: 24px/1em "Glyphicons Social Regular", sans-serif;
|
|
303
|
+
font-style: normal;
|
|
304
|
+
font-weight: normal;
|
|
305
|
+
left: 0;
|
|
306
|
+
margin: 0 5px 0 0;
|
|
307
|
+
position: absolute;
|
|
308
|
+
text-transform: none;
|
|
309
|
+
top: 0;
|
|
310
|
+
zoom: 1;
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
&-white::before { color: #fff; }
|
|
314
|
+
&-pinterest::before { content: "\E001"; }
|
|
315
|
+
&-dropbox::before { content: "\E002"; }
|
|
316
|
+
&-google_plus::before { content: "\E003"; }
|
|
317
|
+
&-jolicloud::before { content: "\E004"; }
|
|
318
|
+
&-yahoo::before { content: "\E005"; }
|
|
319
|
+
&-blogger::before { content: "\E006"; }
|
|
320
|
+
&-picasa::before { content: "\E007"; }
|
|
321
|
+
&-amazon::before { content: "\E008"; }
|
|
322
|
+
&-tumblr::before { content: "\E009"; }
|
|
323
|
+
&-wordpress::before { content: "\E010"; }
|
|
324
|
+
&-instapaper::before { content: "\E011"; }
|
|
325
|
+
&-evernote::before { content: "\E012"; }
|
|
326
|
+
&-xing::before { content: "\E013"; }
|
|
327
|
+
&-zootool::before { content: "\E014"; }
|
|
328
|
+
&-dribbble::before { content: "\E015"; }
|
|
329
|
+
&-deviantart::before { content: "\E016"; }
|
|
330
|
+
&-read_it_later::before { content: "\E017"; }
|
|
331
|
+
&-linked_in::before { content: "\E018"; }
|
|
332
|
+
&-forrst::before { content: "\E019"; }
|
|
333
|
+
&-pinboard::before { content: "\E020"; }
|
|
334
|
+
&-behance::before { content: "\E021"; }
|
|
335
|
+
&-github::before { content: "\E022"; }
|
|
336
|
+
&-youtube::before { content: "\E023"; }
|
|
337
|
+
&-skitch::before { content: "\E024"; }
|
|
338
|
+
&-foursquare::before { content: "\E025"; }
|
|
339
|
+
&-quora::before { content: "\E026"; }
|
|
340
|
+
&-badoo::before { content: "\E027"; }
|
|
341
|
+
&-spotify::before { content: "\E028"; }
|
|
342
|
+
&-stumbleupon::before { content: "\E029"; }
|
|
343
|
+
&-readability::before { content: "\E030"; }
|
|
344
|
+
&-facebook::before { content: "\E031"; }
|
|
345
|
+
&-twitter::before { content: "\E032"; }
|
|
346
|
+
&-instagram::before { content: "\E033"; }
|
|
347
|
+
&-posterous_spaces::before { content: "\E034"; }
|
|
348
|
+
&-vimeo::before { content: "\E035"; }
|
|
349
|
+
&-flickr::before { content: "\E036"; }
|
|
350
|
+
&-last_fm::before { content: "\E037"; }
|
|
351
|
+
&-rss::before { content: "\E038"; }
|
|
352
|
+
&-skype::before { content: "\E039"; }
|
|
353
|
+
&-e-mail::before { content: "\E040"; }
|
|
354
|
+
&-vine::before { content: "\E041"; }
|
|
355
|
+
&-myspace::before { content: "\E042"; }
|
|
356
|
+
&-goodreads::before { content: "\E043"; }
|
|
357
|
+
&-apple::before { content: "\F8FF"; }
|
|
358
|
+
&-windows::before { content: "\E045"; }
|
|
359
|
+
&-yelp::before { content: "\E046"; }
|
|
360
|
+
&-playstation::before { content: "\E047"; }
|
|
361
|
+
&-xbox::before { content: "\E048"; }
|
|
362
|
+
&-android::before { content: "\E049"; }
|
|
363
|
+
&-ios::before { content: "\E050"; }
|
|
364
|
+
}
|
|
365
|
+
/** endregion */
|
|
366
|
+
/** region form */
|
|
367
|
+
/*** region styled select */
|
|
368
|
+
.wu-select,
|
|
369
|
+
.wu .select {
|
|
370
|
+
position: relative;
|
|
371
|
+
|
|
372
|
+
&__arrow {
|
|
373
|
+
position: absolute;
|
|
374
|
+
top: 3px;
|
|
375
|
+
right: 15px;
|
|
376
|
+
pointer-events: none;
|
|
377
|
+
|
|
378
|
+
& span {
|
|
379
|
+
vertical-align: bottom;
|
|
380
|
+
font-size: 10px;
|
|
370
381
|
}
|
|
371
|
-
|
|
372
|
-
/*** region styled checkbox */
|
|
373
|
-
& .checkbox,
|
|
374
|
-
& .form-horizontal .checkbox {
|
|
375
|
-
margin-top: 2px;
|
|
376
|
-
padding-top: 3px;
|
|
382
|
+
}
|
|
377
383
|
|
|
378
|
-
|
|
379
|
-
|
|
384
|
+
& select {
|
|
385
|
+
position: initial !important;
|
|
386
|
+
padding-left: 7px !important;
|
|
387
|
+
padding-right: 25px !important;
|
|
388
|
+
/* hide default down arrow in IE10 */
|
|
389
|
+
&::-ms-expand { display: none; }
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
/*** endregion */
|
|
393
|
+
/*** region styled checkbox */
|
|
394
|
+
.wu-checkbox,
|
|
395
|
+
.wu .checkbox {
|
|
396
|
+
margin-top: 2px;
|
|
397
|
+
padding-top: 3px;
|
|
380
398
|
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
margin-left: -40px;
|
|
384
|
-
position: absolute;
|
|
399
|
+
& label {
|
|
400
|
+
padding-left: 40px;
|
|
385
401
|
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
float: right;
|
|
391
|
-
height: 25px;
|
|
392
|
-
padding: 0;
|
|
393
|
-
width: 25px;
|
|
402
|
+
& .checkbox__wrapper {
|
|
403
|
+
margin-top: -2px;
|
|
404
|
+
margin-left: -40px;
|
|
405
|
+
position: absolute;
|
|
394
406
|
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
position: absolute;
|
|
404
|
-
top: 5px;
|
|
405
|
-
transform: rotate(-45deg);
|
|
406
|
-
width: 13px;
|
|
407
|
-
}
|
|
408
|
-
}
|
|
407
|
+
& .checkbox__wrapper__styled {
|
|
408
|
+
border-radius: 4px;
|
|
409
|
+
border: 2px solid var(--border-color);
|
|
410
|
+
cursor: pointer;
|
|
411
|
+
float: right;
|
|
412
|
+
height: 25px;
|
|
413
|
+
padding: 0;
|
|
414
|
+
width: 25px;
|
|
409
415
|
|
|
410
|
-
|
|
411
|
-
|
|
416
|
+
& .checkbox__wrapper__styled__checked {
|
|
417
|
+
background: transparent;
|
|
418
|
+
border: 3px solid var(--font-color);
|
|
419
|
+
border-top: none;
|
|
420
|
+
border-right: none;
|
|
421
|
+
height: 8px;
|
|
422
|
+
left: 4px;
|
|
423
|
+
opacity: 0;
|
|
424
|
+
position: absolute;
|
|
425
|
+
top: 5px;
|
|
426
|
+
transform: rotate(-45deg);
|
|
427
|
+
width: 13px;
|
|
428
|
+
}
|
|
429
|
+
}
|
|
412
430
|
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
opacity: 1;
|
|
416
|
-
}
|
|
417
|
-
}
|
|
431
|
+
& input[type="checkbox"] {
|
|
432
|
+
display: none;
|
|
418
433
|
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
434
|
+
&:checked ~ span.checkbox-styled > span {
|
|
435
|
+
&.checkbox-styled-checked {
|
|
436
|
+
opacity: 1;
|
|
422
437
|
}
|
|
423
438
|
}
|
|
439
|
+
|
|
440
|
+
&:disabled ~ span.checkbox-styled {
|
|
441
|
+
background-color: var(--disabled-color);
|
|
442
|
+
}
|
|
424
443
|
}
|
|
425
444
|
}
|
|
426
|
-
& form:not(.form-horizontal) .checkbox { margin-bottom: 20px; }
|
|
427
|
-
/*** endregion */
|
|
428
|
-
/** endregion */
|
|
429
|
-
/* endregion */
|
|
430
|
-
}
|
|
431
|
-
/* stylelint-enable at-rule-no-unknown */
|
|
432
|
-
|
|
433
|
-
& .javascript .tools {
|
|
434
|
-
/* Initially show javaScript dependent dom nodes. */
|
|
435
|
-
&-hidden-on-javascript-enabled { display: none !important; }
|
|
436
|
-
/* Initially show javaScript dependent dom nodes. */
|
|
437
|
-
&-visible-on-javascript-enabled { display: initial !important; }
|
|
438
|
-
}
|
|
439
|
-
|
|
440
|
-
& .no-javascript .tools {
|
|
441
|
-
/* Initially show none javaScript dependent dom nodes. */
|
|
442
|
-
&-hidden-on-javascript-disabled { display: none !important; }
|
|
443
|
-
/* Initially show none javaScript dependent dom nodes. */
|
|
444
|
-
&-visible-on-javascript-disabled { display: initial !important; }
|
|
445
445
|
}
|
|
446
446
|
}
|
|
447
|
+
/*** endregion */
|
|
448
|
+
/** endregion */
|
|
449
|
+
/* endregion */
|
|
450
|
+
/* Initially show javaScript dependent dom nodes. */
|
|
451
|
+
.tools-hidden-on-javascript-enabled { display: none !important; }
|
|
452
|
+
/* Initially show javaScript dependent dom nodes. */
|
|
453
|
+
.tools-visible-on-javascript-enabled { display: initial !important; }
|
|
447
454
|
/* region spinner animation */
|
|
448
455
|
@keyframes spinner-line-fade-more {
|
|
449
456
|
0%,
|
package/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';if(typeof module!=='undefined'&&module!==null&&eval('typeof require')!=='undefined'&&eval('require')!==null&&'main'in eval('require')&&eval('typeof require.main')!=='undefined'&&eval('require.main')!==null){var ORIGINAL_MAIN_MODULE=module;if(module!==eval('require.main')&&'paths'in module&&'paths'in eval('require.main')&&typeof __dirname!=='undefined'&&__dirname!==null)module.paths=eval('require.main.paths').concat(module.paths.filter(function(path){return eval('require.main.paths').includes(path)}))};if(typeof window==='undefined'||window===null)var window=(typeof global==='undefined'||global===null)?{}:global;!function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e(require("@babel/runtime/helpers/asyncToGenerator"),require("@babel/runtime/helpers/extends"),require("@babel/runtime/helpers/inheritsLoose"),require("@babel/runtime/regenerator"),require("clientnode"));else if("function"==typeof define&&define.amd)define(["@babel/runtime/helpers/asyncToGenerator","@babel/runtime/helpers/extends","@babel/runtime/helpers/inheritsLoose","@babel/runtime/regenerator","clientnode"],e);else{var o="object"==typeof exports?e(require("@babel/runtime/helpers/asyncToGenerator"),require("@babel/runtime/helpers/extends"),require("@babel/runtime/helpers/inheritsLoose"),require("@babel/runtime/regenerator"),require("clientnode")):e(t["@babel/runtime/helpers/asyncToGenerator"],t["@babel/runtime/helpers/extends"],t["@babel/runtime/helpers/inheritsLoose"],t["@babel/runtime/regenerator"],t.clientnode);for(var n in o)("object"==typeof exports?exports:t)[n]=o[n]}}(this,(function(t,e,o,n,i){return function(){"use strict";var r=[,function(e){e.exports=t},function(t){t.exports=e},function(t){t.exports=o},function(t){t.exports=n},function(t){t.exports=i}],s={};function a(t){var e=s[t];if(void 0!==e)return e.exports;var o=s[t]={exports:{}};return r[t](o,o.exports,a),o.exports}a.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return a.d(e,{a:e}),e},a.d=function(t,e){for(var o in e)a.o(e,o)&&!a.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},a.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},a.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var l={};return function(){a.r(l),a.d(l,{WebsiteUtilities:function(){return T},default:function(){return x}});var t=a(1),e=a.n(t),o=a(2),n=a.n(o),i=a(3),r=a.n(i),s=a(4),c=a.n(s),d=a(5),u=a.n(d),p=function(){return p=Object.assign||function(t){for(var e,o=1,n=arguments.length;o<n;o++)for(var i in e=arguments[o])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},p.apply(this,arguments)},h={lines:12,length:7,width:5,radius:10,scale:1,corners:1,color:"#000",fadeColor:"transparent",animation:"spinner-line-fade-default",rotate:0,direction:1,speed:1,zIndex:2e9,className:"spinner",top:"50%",left:"50%",shadow:"0 0 1px transparent",position:"absolute"},m=function(){function t(t){void 0===t&&(t={}),this.opts=p(p({},h),t)}return t.prototype.spin=function(t){return this.stop(),this.el=document.createElement("div"),this.el.className=this.opts.className,this.el.setAttribute("role","progressbar"),f(this.el,{position:this.opts.position,width:0,zIndex:this.opts.zIndex,left:this.opts.left,top:this.opts.top,transform:"scale("+this.opts.scale+")"}),t&&t.insertBefore(this.el,t.firstChild||null),function(t,e){var o=Math.round(e.corners*e.width*500)/1e3+"px",n="none";!0===e.shadow?n="0 2px 4px #000":"string"==typeof e.shadow&&(n=e.shadow);for(var i=function(t){for(var e=[],o=0,n=t.split(",");o<n.length;o++){var i=n[o].match(/^\s*([a-zA-Z]+\s+)?(-?\d+(\.\d+)?)([a-zA-Z]*)\s+(-?\d+(\.\d+)?)([a-zA-Z]*)(.*)$/);if(null!==i){var r=+i[2],s=+i[5],a=i[4],l=i[7];0!=r||a||(a=l),0!==s||l||(l=a),a===l&&e.push({prefix:i[1]||"",x:r,y:s,xUnits:a,yUnits:l,end:i[8]})}}return e}(n),r=0;r<e.lines;r++){var s=~~(360/e.lines*r+e.rotate),a=f(document.createElement("div"),{position:"absolute",top:-e.width/2+"px",width:e.length+e.width+"px",height:e.width+"px",background:g(e.fadeColor,r),borderRadius:o,transformOrigin:"left",transform:"rotate("+s+"deg) translateX("+e.radius+"px)"}),l=r*e.direction/e.lines/e.speed;l-=1/e.speed;var c=f(document.createElement("div"),{width:"100%",height:"100%",background:g(e.color,r),borderRadius:o,boxShadow:w(i,s),animation:1/e.speed+"s linear "+l+"s infinite "+e.animation});a.appendChild(c),t.appendChild(a)}}(this.el,this.opts),this},t.prototype.stop=function(){return this.el&&("undefined"==typeof requestAnimationFrame?clearTimeout(this.animateId):cancelAnimationFrame(this.animateId),this.el.parentNode&&this.el.parentNode.removeChild(this.el),this.el=void 0),this},t}();function f(t,e){for(var o in e)t.style[o]=e[o];return t}function g(t,e){return"string"==typeof t?t:t[e%t.length]}function w(t,e){for(var o=[],n=0,i=t;n<i.length;n++){var r=i[n],s=b(r.x,r.y,e);o.push(r.prefix+s[0]+r.xUnits+" "+s[1]+r.yUnits+r.end)}return o.join(", ")}function b(t,e,o){var n=Math.round,i=o*Math.PI/180,r=Math.sin(i),s=Math.cos(i);return[n(1e3*(t*s+e*r))/1e3,n(1e3*(-t*r+e*s))/1e3]}function v(t,e){var o="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(o)return(o=o.call(t)).next.bind(o);if(Array.isArray(t)||(o=function(t,e){if(t){if("string"==typeof t)return y(t,e);var o=Object.prototype.toString.call(t).slice(8,-1);return"Object"===o&&t.constructor&&(o=t.constructor.name),"Map"===o||"Set"===o?Array.from(t):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?y(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){o&&(t=o);var n=0;return function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function y(t,e){(null==e||e>t.length)&&(e=t.length);for(var o=0,n=Array(e);o<e;o++)n[o]=t[o];return n}var T=function(t){function o(){for(var e,o=arguments.length,n=Array(o),i=0;i<o;i++)n[i]=arguments[i];return(e=t.call.apply(t,[this].concat(n))||this).options=null,e.$domNodes=null,e.currentMediaQueryMode="",e.currentSectionName="home",e.languageHandler=null,e.startUpAnimationIsComplete=!1,e.viewportIsOnTop=!1,e.windowLoaded=!1,e.windowLoadingSpinner=null,e._onViewportMovesToTop=u().debounce((function(){"hidden"===e.$domNodes.scrollToTopButton.css("visibility")?e.$domNodes.scrollToTopButton.css("opacity",0):(e.options.scrollToTop.button.hideAnimationOptions.always=function(){return e.$domNodes.scrollToTopButton.css({bottom:"-="+e.options.scrollToTop.button.slideDistanceInPixel,display:"none"})},e.$domNodes.scrollToTopButton.finish().animate({bottom:"+="+e.options.scrollToTop.button.slideDistanceInPixel,opacity:0},e.options.scrollToTop.button.hideAnimationOptions))})),e._onViewportMovesAwayFromTop=u().debounce((function(){"hidden"===e.$domNodes.scrollToTopButton.css("visibility")?e.$domNodes.scrollToTopButton.css("opacity",1):e.$domNodes.scrollToTopButton.finish().css({bottom:"+="+e.options.scrollToTop.button.slideDistanceInPixel,display:"block",opacity:0}).animate({bottom:"-="+e.options.scrollToTop.button.slideDistanceInPixel,queue:!1,opacity:1},e.options.scrollToTop.button.showAnimationOptions)})),e}r()(o,t);var i=o.prototype;return i.initialize=function(e){var n,i=this;return void 0===e&&(e={}),t.prototype.initialize.call(this,u().extend(!0,{},o._defaultOptions,e)),this.options.initialSectionName?this.currentSectionName=this.options.initialSectionName:null!=(n=d.globalContext.window.location)&&n.hash&&(this.currentSectionName=d.globalContext.location.hash.substring(1)),this.$domNodes=this.grabDomNodes(this.options.domNodes),this.disableScrolling(),new Promise((function(t){i.$domNodes.windowLoadingSpinner.length&&(i.windowLoadingSpinner=new m(i.options.windowLoadingSpinner),i.windowLoadingSpinner.spin(i.$domNodes.windowLoadingSpinner[0])),i._bindScrollEvents(),i.$domNodes.parent.show();var e=function(){i.windowLoaded||(i.windowLoaded=!0,i._removeLoadingCover().then((function(){i._performStartUpEffects(),t(i)})))};(0,d.$)((function(){u().timeout(e,i.options.windowLoadedTimeoutAfterDocLoadedInMSec)})),i.on(i.$domNodes.window,"load",e),i._bindClickTracking(),i.options.language.logging||(i.options.language.logging=i.options.logging),i.options.activateLanguageSupport&&!i.languageHandler&&(0,d.$)(i.$domNodes.parent).Internationalisation(i.options.language).then((function(t){i.languageHandler=t.data("Internationalisation")})),i._bindNavigationEvents(),i._bindMediaQueryChangeEvents(),i._triggerWindowResizeEvents()}))},i.scrollToTop=function(){return d.globalContext.document&&this.$domNodes.window.stop().animate({scrollTop:0},this.options.scrollToTop.options),this},i.disableScrolling=function(){return this.$domNodes.parent.addClass("disable-scrolling").on("touchmove",(function(t){return t.preventDefault()})),this},i.enableScrolling=function(){return this.$domNodes.parent.removeClass(["disable-scrolling","touchmove"]),this.off(this.$domNodes.parent),this},i.track=function(t){if(d.globalContext.window.location&&this.options.tracking){var e=n()({context:d.globalContext.window.location.pathname+"#"+this.currentSectionName},t);(isNaN(e.value)||"number"!=typeof e.value)&&(e.value=1),this.debug('Run tracking code: "event" with arguments:'),this.debug(e);try{this.options.tracking.track(e)}catch(t){this.warn('Problem in tracking "'+u().represent(e)+'": '+u().represent(t))}}return this},i._onChangeMediaQueryMode=function(){},i._onChangeToLargeMode=function(){},i._onChangeToMediumMode=function(){},i._onChangeToSmallMode=function(){},i._onChangeToExtraSmallMode=function(){},i._onSwitchSection=function(t){var e;if(d.globalContext.window.location&&null!=(e=this.options.tracking)&&e.sectionSwitch&&this.currentSectionName!==t){this.currentSectionName=t,this.debug('Run section switch tracking on section "'+this.currentSectionName+'".');try{this.options.tracking.sectionSwitch.call(this,this.currentSectionName)}catch(t){this.warn('Problem due to track section switch to "'+this.currentSectionName+'": '+u().represent(t))}}},i._onStartUpAnimationComplete=function(){this.startUpAnimationIsComplete=!0},i._bindMediaQueryChangeEvents=function(){this.on(this.$domNodes.window,"resize",this._triggerWindowResizeEvents.bind(this))},i._triggerWindowResizeEvents=function(){for(var t=arguments.length,e=Array(t),o=0;o<t;o++)e[o]=arguments[o];for(var n,i,r=v(this.options.mediaQueryClassNameIndicator);!(n=r()).done;)i=n.value,this.$domNodes.mediaQueryIndicator.prependTo(this.$domNodes.parent).addClass("hidden-"+i[1]),this.$domNodes.mediaQueryIndicator.is(":hidden")&&i[0]!==this.currentMediaQueryMode&&(this.fireEvent.apply(this,["changeMediaQueryMode",!1,this,this.currentMediaQueryMode,i[0]].concat(e)),this.fireEvent.apply(this,["changeTo"+u().stringCapitalize(i[0])+"Mode",!1,this,this.currentMediaQueryMode,i[0]].concat(e)),this.currentMediaQueryMode=i[0]),this.$domNodes.mediaQueryIndicator.removeClass("hidden-"+i[1])},i._bindScrollEvents=function(){for(var t=this,e=arguments.length,o=Array(e),n=0;n<e;n++)o[n]=arguments[n];var i=(0,d.$)("body, html").add(this.$domNodes.window);i.on(this.options.knownScrollEventNames.join(" "),(function(e){t.options.switchToManualScrollingIndicator(e)&&i.stop(!0)})),this.on(this.$domNodes.window,"scroll",(function(){t.$domNodes.window.scrollTop()?t.viewportIsOnTop&&(t.viewportIsOnTop=!1,t.fireEvent.apply(t,["viewportMovesAwayFromTop",!1,t].concat(o))):!t.viewportIsOnTop&&(t.viewportIsOnTop=!0,t.fireEvent.apply(t,["viewportMovesToTop",!1,t].concat(o)))})),this.$domNodes.window.scrollTop()?(this.viewportIsOnTop=!1,this.fireEvent.apply(this,["viewportMovesAwayFromTop",!1,this].concat(o))):(this.viewportIsOnTop=!0,this.fireEvent.apply(this,["viewportMovesToTop",!1,this].concat(o)))},i._removeLoadingCover=function(){var t=e()(c().mark((function t(){var e=this;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,u().timeout(this.options.additionalPageLoadingTimeInMilliseconds);case 2:return(0,d.$)(u().stringFormat('[class^="{1}"], [class*=" {1}"]',this.sliceDomNodeSelectorPrefix(this.options.domNodes.startUpAnimationClassPrefix).substr(1))).css(this.options.startUpHide),t.next=5,new Promise((function(t){e.$domNodes.windowLoadingCover.length?(e.enableScrolling(),e.$domNodes.windowLoadingCover.animate(e.options.windowLoadingCoverHideAnimation,{always:t})):t()}));case 5:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}(),i._performStartUpEffects=function(){var t=e()(c().mark((function t(e){var o,n=this;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(void 0===e&&(e=1),this.$domNodes.windowLoadingCover.hide(),this.windowLoadingSpinner&&this.windowLoadingSpinner.stop(),!(0,d.$)(u().stringFormat('[class^="{1}"], [class*=" {1}"]',this.sliceDomNodeSelectorPrefix(this.options.domNodes.startUpAnimationClassPrefix).substr(1))).length){t.next=17;break}return t.next=6,u().timeout(this.options.startUpAnimationElementDelayInMiliseconds);case 6:if(o=!1,(0,d.$)(this.options.domNodes.startUpAnimationClassPrefix+""+e).animate(this.options.startUpShowAnimation,{always:function(){o&&n.fireEvent("startUpAnimationComplete")}}),!(0,d.$)(this.options.domNodes.startUpAnimationClassPrefix+""+(e+1)).length){t.next=14;break}return t.next=12,this._performStartUpEffects(e+1);case 12:t.next=15;break;case 14:o=!0;case 15:t.next=18;break;case 17:this.fireEvent("startUpAnimationComplete");case 18:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}(),i._bindNavigationEvents=function(){var t=this;d.globalContext.window.addEventListener("hashchange",(function(){t.startUpAnimationIsComplete&&t.fireEvent("switchSection",!1,t,location.hash.substring(1))}),!1),this._bindScrollToTopButton()},i._bindScrollToTopButton=function(){var t=this;this.on(this.$domNodes.scrollToTopButton,"click",(function(e){e.preventDefault(),t.scrollToTop()}))},i._bindClickTracking=function(){var t=this;this.options.tracking&&(this.options.tracking.linkClick&&this.on(this.$domNodes.parent.find("a"),"click",(function(e){return t.options.tracking.linkClick.call(t,(0,d.$)(e.target),e)})),this.options.tracking.buttonClick&&this.on(this.$domNodes.parent.find("button"),"click",(function(e){return t.options.tracking.buttonClick.call(t,(0,d.$)(e.target),e)})))},o}(u());T._defaultOptions={activateLanguageSupport:!0,additionalPageLoadingTimeInMilliseconds:0,domain:"auto",domNodes:{mediaQueryIndicator:'<div class="media-query-indicator">',scrollToTopButton:'a[href="#top"]',startUpAnimationClassPrefix:".website-start-up-animation-number-",top:"header",windowLoadingCover:".website-utilities-window-loading-cover",windowLoadingSpinner:".website-utilities-window-loading-cover > div"},domNodeSelectorPrefix:"body.{1}",initialSectionName:"home",knownScrollEventNames:["DOMMouseScroll","keyup","mousedown","mousewheel","scroll","touchmove","wheel"],language:{},mediaQueryClassNameIndicator:[["extraSmall","xs"],["small","sm"],["medium","md"],["large","lg"]],name:"WebsiteUtilities",onChangeMediaQueryMode:u().noop,onChangeToExtraSmallMode:u().noop,onChangeToLargeMode:u().noop,onChangeToMediumMode:u().noop,onChangeToSmallMode:u().noop,onViewportMovesAwayFromTop:u().noop,onViewportMovesToTop:u().noop,onSwitchSection:u().noop,onStartUpAnimationComplete:u().noop,scrollToTop:{button:{hideAnimationOptions:{},showAnimationOptions:{},slideDistanceInPixel:30},options:{duration:"fast"}},startUpAnimationElementDelayInMiliseconds:100,startUpHide:{opacity:0},startUpShowAnimation:{opacity:1},switchToManualScrollingIndicator:function(t){return"number"==typeof t.which&&0<t.which||"mousedown"===t.type||"mousewheel"===t.type||"touchmove"===t.type},tracking:{buttonClick:function(t){this.track({event:"buttonClick",eventType:"click",label:t.text(),reference:t.attr("action")||t.attr("target")||t.attr("type")||t.text(),subject:"button",value:parseInt(t.attr("website-analytics-value")),userInteraction:!0})},linkClick:function(t){this.track({event:"linkClick",eventType:"click",label:t.text(),reference:t.attr("href")||t.attr("action")||t.attr("target")||t.attr("type")||t.text(),subject:"link",value:parseInt(t.attr("website-analytics-value")),userInteraction:!0})},sectionSwitch:function(t){this.track({event:"sectionSwitch",eventType:"sectionSwitch",label:t,reference:d.globalContext.window.location.pathname+"#"+t,subject:"url",userInteraction:!1})},track:function(t){var e;null==(e=d.globalContext.dataLayer)||e.push(t)}},windowLoadingCoverHideAnimation:{opacity:0},windowLoadingSpinner:{animation:"spinner-line-fade-quick",className:"spinner",color:"#000",corners:1,direction:1,fadeColor:"transparent",left:"auto",length:23,lines:9,position:"absolute",radius:40,rotate:0,scale:1,shadow:!1,speed:1.1,top:"auto",width:11,zIndex:2e9},windowLoadedTimeoutAfterDocLoadedInMSec:2e3};var x=T;d.$.WebsiteUtilities=function(){for(var t=arguments.length,e=Array(t),o=0;o<t;o++)e[o]=arguments[o];return u().controller(T,e)},d.$.WebsiteUtilities.class=T}(),l}()}));
|
|
1
|
+
'use strict';if(typeof module!=='undefined'&&module!==null&&eval('typeof require')!=='undefined'&&eval('require')!==null&&'main'in eval('require')&&eval('typeof require.main')!=='undefined'&&eval('require.main')!==null){var ORIGINAL_MAIN_MODULE=module;if(module!==eval('require.main')&&'paths'in module&&'paths'in eval('require.main')&&typeof __dirname!=='undefined'&&__dirname!==null)module.paths=eval('require.main.paths').concat(module.paths.filter(function(path){return eval('require.main.paths').includes(path)}))};if(typeof window==='undefined'||window===null)var window=(typeof global==='undefined'||global===null)?{}:global;!function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e(require("@babel/runtime/helpers/asyncToGenerator"),require("@babel/runtime/helpers/extends"),require("@babel/runtime/helpers/inheritsLoose"),require("@babel/runtime/regenerator"),require("clientnode"));else if("function"==typeof define&&define.amd)define(["@babel/runtime/helpers/asyncToGenerator","@babel/runtime/helpers/extends","@babel/runtime/helpers/inheritsLoose","@babel/runtime/regenerator","clientnode"],e);else{var o="object"==typeof exports?e(require("@babel/runtime/helpers/asyncToGenerator"),require("@babel/runtime/helpers/extends"),require("@babel/runtime/helpers/inheritsLoose"),require("@babel/runtime/regenerator"),require("clientnode")):e(t["@babel/runtime/helpers/asyncToGenerator"],t["@babel/runtime/helpers/extends"],t["@babel/runtime/helpers/inheritsLoose"],t["@babel/runtime/regenerator"],t.clientnode);for(var n in o)("object"==typeof exports?exports:t)[n]=o[n]}}(this,(function(t,e,o,n,i){return function(){"use strict";var r=[,function(e){e.exports=t},function(t){t.exports=e},function(t){t.exports=o},function(t){t.exports=n},function(t){t.exports=i}],s={};function a(t){var e=s[t];if(void 0!==e)return e.exports;var o=s[t]={exports:{}};return r[t](o,o.exports,a),o.exports}a.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return a.d(e,{a:e}),e},a.d=function(t,e){for(var o in e)a.o(e,o)&&!a.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},a.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},a.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var l={};return function(){a.r(l),a.d(l,{WebsiteUtilities:function(){return T},default:function(){return x}});var t=a(1),e=a.n(t),o=a(2),n=a.n(o),i=a(3),r=a.n(i),s=a(4),c=a.n(s),d=a(5),u=a.n(d),p=function(){return p=Object.assign||function(t){for(var e,o=1,n=arguments.length;o<n;o++)for(var i in e=arguments[o])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},p.apply(this,arguments)},h={lines:12,length:7,width:5,radius:10,scale:1,corners:1,color:"#000",fadeColor:"transparent",animation:"spinner-line-fade-default",rotate:0,direction:1,speed:1,zIndex:2e9,className:"spinner",top:"50%",left:"50%",shadow:"0 0 1px transparent",position:"absolute"},m=function(){function t(t){void 0===t&&(t={}),this.opts=p(p({},h),t)}return t.prototype.spin=function(t){return this.stop(),this.el=document.createElement("div"),this.el.className=this.opts.className,this.el.setAttribute("role","progressbar"),f(this.el,{position:this.opts.position,width:0,zIndex:this.opts.zIndex,left:this.opts.left,top:this.opts.top,transform:"scale("+this.opts.scale+")"}),t&&t.insertBefore(this.el,t.firstChild||null),function(t,e){var o=Math.round(e.corners*e.width*500)/1e3+"px",n="none";!0===e.shadow?n="0 2px 4px #000":"string"==typeof e.shadow&&(n=e.shadow);for(var i=function(t){for(var e=[],o=0,n=t.split(",");o<n.length;o++){var i=n[o].match(/^\s*([a-zA-Z]+\s+)?(-?\d+(\.\d+)?)([a-zA-Z]*)\s+(-?\d+(\.\d+)?)([a-zA-Z]*)(.*)$/);if(null!==i){var r=+i[2],s=+i[5],a=i[4],l=i[7];0!=r||a||(a=l),0!==s||l||(l=a),a===l&&e.push({prefix:i[1]||"",x:r,y:s,xUnits:a,yUnits:l,end:i[8]})}}return e}(n),r=0;r<e.lines;r++){var s=~~(360/e.lines*r+e.rotate),a=f(document.createElement("div"),{position:"absolute",top:-e.width/2+"px",width:e.length+e.width+"px",height:e.width+"px",background:g(e.fadeColor,r),borderRadius:o,transformOrigin:"left",transform:"rotate("+s+"deg) translateX("+e.radius+"px)"}),l=r*e.direction/e.lines/e.speed;l-=1/e.speed;var c=f(document.createElement("div"),{width:"100%",height:"100%",background:g(e.color,r),borderRadius:o,boxShadow:w(i,s),animation:1/e.speed+"s linear "+l+"s infinite "+e.animation});a.appendChild(c),t.appendChild(a)}}(this.el,this.opts),this},t.prototype.stop=function(){return this.el&&("undefined"==typeof requestAnimationFrame?clearTimeout(this.animateId):cancelAnimationFrame(this.animateId),this.el.parentNode&&this.el.parentNode.removeChild(this.el),this.el=void 0),this},t}();function f(t,e){for(var o in e)t.style[o]=e[o];return t}function g(t,e){return"string"==typeof t?t:t[e%t.length]}function w(t,e){for(var o=[],n=0,i=t;n<i.length;n++){var r=i[n],s=v(r.x,r.y,e);o.push(r.prefix+s[0]+r.xUnits+" "+s[1]+r.yUnits+r.end)}return o.join(", ")}function v(t,e,o){var n=Math.round,i=o*Math.PI/180,r=Math.sin(i),s=Math.cos(i);return[n(1e3*(t*s+e*r))/1e3,n(1e3*(-t*r+e*s))/1e3]}function b(t,e){var o="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(o)return(o=o.call(t)).next.bind(o);if(Array.isArray(t)||(o=function(t,e){if(t){if("string"==typeof t)return y(t,e);var o=Object.prototype.toString.call(t).slice(8,-1);return"Object"===o&&t.constructor&&(o=t.constructor.name),"Map"===o||"Set"===o?Array.from(t):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?y(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){o&&(t=o);var n=0;return function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function y(t,e){(null==e||e>t.length)&&(e=t.length);for(var o=0,n=Array(e);o<e;o++)n[o]=t[o];return n}var T=function(t){function o(){for(var e,o=arguments.length,n=Array(o),i=0;i<o;i++)n[i]=arguments[i];return(e=t.call.apply(t,[this].concat(n))||this).options=null,e.$domNodes=null,e.currentMediaQueryMode="",e.currentSectionName="home",e.languageHandler=null,e.startUpAnimationIsComplete=!1,e.viewportIsOnTop=!1,e.windowLoaded=!1,e.windowLoadingSpinner=null,e._onViewportMovesToTop=u().debounce((function(){"hidden"===e.$domNodes.scrollToTopButton.css("visibility")?e.$domNodes.scrollToTopButton.css("opacity",0):(e.options.scrollToTop.button.hideAnimationOptions.always=function(){return e.$domNodes.scrollToTopButton.css({bottom:"-="+e.options.scrollToTop.button.slideDistanceInPixel,display:"none"})},e.$domNodes.scrollToTopButton.finish().animate({bottom:"+="+e.options.scrollToTop.button.slideDistanceInPixel,opacity:0},e.options.scrollToTop.button.hideAnimationOptions))})),e._onViewportMovesAwayFromTop=u().debounce((function(){"hidden"===e.$domNodes.scrollToTopButton.css("visibility")?e.$domNodes.scrollToTopButton.css("opacity",1):e.$domNodes.scrollToTopButton.finish().css({bottom:"+="+e.options.scrollToTop.button.slideDistanceInPixel,display:"block",opacity:0}).animate({bottom:"-="+e.options.scrollToTop.button.slideDistanceInPixel,queue:!1,opacity:1},e.options.scrollToTop.button.showAnimationOptions)})),e}r()(o,t);var i=o.prototype;return i.initialize=function(e){var n,i=this;return void 0===e&&(e={}),t.prototype.initialize.call(this,u().extend(!0,{},o._defaultOptions,e)),this.options.initialSectionName?this.currentSectionName=this.options.initialSectionName:null!=(n=d.globalContext.window.location)&&n.hash&&(this.currentSectionName=d.globalContext.location.hash.substring(1)),this.$domNodes=this.grabDomNodes(this.options.domNodes),this.disableScrolling(),new Promise((function(t){i.$domNodes.windowLoadingSpinner.length&&(i.windowLoadingSpinner=new m(i.options.windowLoadingSpinner),i.windowLoadingSpinner.spin(i.$domNodes.windowLoadingSpinner[0])),i._bindScrollEvents(),i.$domNodes.parent.show();var e=function(){i.windowLoaded||(i.windowLoaded=!0,i._removeLoadingCover().then((function(){i._performStartUpEffects(),t(i)})))};(0,d.$)((function(){u().timeout(e,i.options.windowLoadedTimeoutAfterDocLoadedInMSec)})),i.on(i.$domNodes.window,"load",e),i._bindClickTracking(),i.options.language.logging||(i.options.language.logging=i.options.logging),i.options.activateLanguageSupport&&!i.languageHandler&&(0,d.$)(i.$domNodes.parent).Internationalisation(i.options.language).then((function(t){i.languageHandler=t.data("Internationalisation")})),i._bindNavigationEvents(),i._bindMediaQueryChangeEvents(),i._triggerWindowResizeEvents()}))},i.scrollToTop=function(){return d.globalContext.document&&this.$domNodes.window.stop().animate({scrollTop:0},this.options.scrollToTop.options),this},i.disableScrolling=function(){return this.$domNodes.parent.addClass("disable-scrolling").on("touchmove",(function(t){return t.preventDefault()})),this},i.enableScrolling=function(){return this.$domNodes.parent.removeClass(["disable-scrolling","touchmove"]),this.off(this.$domNodes.parent),this},i.track=function(t){if(d.globalContext.window.location&&this.options.tracking){var e=n()({context:d.globalContext.window.location.pathname+"#"+this.currentSectionName},t);(isNaN(e.value)||"number"!=typeof e.value)&&(e.value=1),this.debug('Run tracking code: "event" with arguments:'),this.debug(e);try{this.options.tracking.track(e)}catch(t){this.warn('Problem in tracking "'+u().represent(e)+'": '+u().represent(t))}}return this},i._onChangeMediaQueryMode=function(){},i._onChangeToLargeMode=function(){},i._onChangeToMediumMode=function(){},i._onChangeToSmallMode=function(){},i._onChangeToExtraSmallMode=function(){},i._onSwitchSection=function(t){var e;if(d.globalContext.window.location&&null!=(e=this.options.tracking)&&e.sectionSwitch&&this.currentSectionName!==t){this.currentSectionName=t,this.debug('Run section switch tracking on section "'+this.currentSectionName+'".');try{this.options.tracking.sectionSwitch.call(this,this.currentSectionName)}catch(t){this.warn('Problem due to track section switch to "'+this.currentSectionName+'": '+u().represent(t))}}},i._onStartUpAnimationComplete=function(){this.startUpAnimationIsComplete=!0},i._bindMediaQueryChangeEvents=function(){this.on(this.$domNodes.window,"resize",this._triggerWindowResizeEvents.bind(this))},i._triggerWindowResizeEvents=function(){for(var t=arguments.length,e=Array(t),o=0;o<t;o++)e[o]=arguments[o];for(var n,i,r=b(this.options.mediaQueryClassNameIndicator);!(n=r()).done;)i=n.value,this.$domNodes.mediaQueryIndicator.prependTo(this.$domNodes.parent).addClass("hidden-"+i[1]),this.$domNodes.mediaQueryIndicator.is(":hidden")&&i[0]!==this.currentMediaQueryMode&&(this.fireEvent.apply(this,["changeMediaQueryMode",!1,this,this.currentMediaQueryMode,i[0]].concat(e)),this.fireEvent.apply(this,["changeTo"+u().stringCapitalize(i[0])+"Mode",!1,this,this.currentMediaQueryMode,i[0]].concat(e)),this.currentMediaQueryMode=i[0]),this.$domNodes.mediaQueryIndicator.removeClass("hidden-"+i[1])},i._bindScrollEvents=function(){for(var t=this,e=arguments.length,o=Array(e),n=0;n<e;n++)o[n]=arguments[n];var i=(0,d.$)("body, html").add(this.$domNodes.window);i.on(this.options.knownScrollEventNames.join(" "),(function(e){t.options.switchToManualScrollingIndicator(e)&&i.stop(!0)})),this.on(this.$domNodes.window,"scroll",(function(){t.$domNodes.window.scrollTop()?t.viewportIsOnTop&&(t.viewportIsOnTop=!1,t.fireEvent.apply(t,["viewportMovesAwayFromTop",!1,t].concat(o))):!t.viewportIsOnTop&&(t.viewportIsOnTop=!0,t.fireEvent.apply(t,["viewportMovesToTop",!1,t].concat(o)))})),this.$domNodes.window.scrollTop()?(this.viewportIsOnTop=!1,this.fireEvent.apply(this,["viewportMovesAwayFromTop",!1,this].concat(o))):(this.viewportIsOnTop=!0,this.fireEvent.apply(this,["viewportMovesToTop",!1,this].concat(o)))},i._removeLoadingCover=function(){var t=e()(c().mark((function t(){var e=this;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,u().timeout(this.options.additionalPageLoadingTimeInMilliseconds);case 2:return(0,d.$)(u().stringFormat('[class^="{1}"], [class*=" {1}"]',this.sliceDomNodeSelectorPrefix(this.options.domNodes.startUpAnimationClassPrefix).substr(1))).css(this.options.startUpHide),t.next=5,new Promise((function(t){e.$domNodes.windowLoadingCover.length?(e.enableScrolling(),e.$domNodes.windowLoadingCover.animate(e.options.windowLoadingCoverHideAnimation,{always:t})):t()}));case 5:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}(),i._performStartUpEffects=function(){var t=e()(c().mark((function t(e){var o,n=this;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(void 0===e&&(e=1),this.$domNodes.windowLoadingCover.hide(),this.windowLoadingSpinner&&this.windowLoadingSpinner.stop(),!(0,d.$)(u().stringFormat('[class^="{1}"], [class*=" {1}"]',this.sliceDomNodeSelectorPrefix(this.options.domNodes.startUpAnimationClassPrefix).substr(1))).length){t.next=17;break}return t.next=6,u().timeout(this.options.startUpAnimationElementDelayInMiliseconds);case 6:if(o=!1,(0,d.$)(this.options.domNodes.startUpAnimationClassPrefix+""+e).animate(this.options.startUpShowAnimation,{always:function(){o&&n.fireEvent("startUpAnimationComplete")}}),!(0,d.$)(this.options.domNodes.startUpAnimationClassPrefix+""+(e+1)).length){t.next=14;break}return t.next=12,this._performStartUpEffects(e+1);case 12:t.next=15;break;case 14:o=!0;case 15:t.next=18;break;case 17:this.fireEvent("startUpAnimationComplete");case 18:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}(),i._bindNavigationEvents=function(){var t=this;d.globalContext.window.addEventListener("hashchange",(function(){t.startUpAnimationIsComplete&&t.fireEvent("switchSection",!1,t,location.hash.substring(1))}),!1),this._bindScrollToTopButton()},i._bindScrollToTopButton=function(){var t=this;this.on(this.$domNodes.scrollToTopButton,"click",(function(e){e.preventDefault(),t.scrollToTop()}))},i._bindClickTracking=function(){var t=this;this.options.tracking&&(this.options.tracking.linkClick&&this.on(this.$domNodes.parent.find("a"),"click",(function(e){return t.options.tracking.linkClick.call(t,(0,d.$)(e.target),e)})),this.options.tracking.buttonClick&&this.on(this.$domNodes.parent.find("button"),"click",(function(e){return t.options.tracking.buttonClick.call(t,(0,d.$)(e.target),e)})))},o}(u());T._defaultOptions={activateLanguageSupport:!0,additionalPageLoadingTimeInMilliseconds:0,domain:"auto",domNodes:{mediaQueryIndicator:'<div class="wu-media-query-indicator">',scrollToTopButton:'a[href="#top"]',startUpAnimationClassPrefix:".wu-start-up-animation-number-",top:"header",windowLoadingCover:".wu .window-loading-cover, .wu-window-loading-cover",windowLoadingSpinner:".wu .windowloading-cover, .wu-window-loading-cover > div"},domNodeSelectorPrefix:"body.{1}",initialSectionName:"home",knownScrollEventNames:["DOMMouseScroll","keyup","mousedown","mousewheel","scroll","touchmove","wheel"],language:{},mediaQueryClassNameIndicator:[["extraSmall","xs"],["small","sm"],["medium","md"],["large","lg"]],name:"WebsiteUtilities",onChangeMediaQueryMode:u().noop,onChangeToExtraSmallMode:u().noop,onChangeToLargeMode:u().noop,onChangeToMediumMode:u().noop,onChangeToSmallMode:u().noop,onViewportMovesAwayFromTop:u().noop,onViewportMovesToTop:u().noop,onSwitchSection:u().noop,onStartUpAnimationComplete:u().noop,scrollToTop:{button:{hideAnimationOptions:{},showAnimationOptions:{},slideDistanceInPixel:30},options:{duration:"fast"}},startUpAnimationElementDelayInMiliseconds:100,startUpHide:{opacity:0},startUpShowAnimation:{opacity:1},switchToManualScrollingIndicator:function(t){return"number"==typeof t.which&&0<t.which||"mousedown"===t.type||"mousewheel"===t.type||"touchmove"===t.type},tracking:{buttonClick:function(t){this.track({event:"buttonClick",eventType:"click",label:t.text(),reference:t.attr("action")||t.attr("target")||t.attr("type")||t.text(),subject:"button",value:parseInt(t.attr("website-analytics-value")),userInteraction:!0})},linkClick:function(t){this.track({event:"linkClick",eventType:"click",label:t.text(),reference:t.attr("href")||t.attr("action")||t.attr("target")||t.attr("type")||t.text(),subject:"link",value:parseInt(t.attr("website-analytics-value")),userInteraction:!0})},sectionSwitch:function(t){this.track({event:"sectionSwitch",eventType:"sectionSwitch",label:t,reference:d.globalContext.window.location.pathname+"#"+t,subject:"url",userInteraction:!1})},track:function(t){var e;null==(e=d.globalContext.dataLayer)||e.push(t)}},windowLoadingCoverHideAnimation:{opacity:0},windowLoadingSpinner:{animation:"spinner-line-fade-quick",className:"spinner",color:"#000",corners:1,direction:1,fadeColor:"transparent",left:"auto",length:23,lines:9,position:"absolute",radius:40,rotate:0,scale:1,shadow:!1,speed:1.1,top:"auto",width:11,zIndex:2e9},windowLoadedTimeoutAfterDocLoadedInMSec:2e3};var x=T;d.$.WebsiteUtilities=function(){for(var t=arguments.length,e=Array(t),o=0;o<t;o++)e[o]=arguments[o];return u().controller(T,e)},d.$.WebsiteUtilities.class=T}(),l}()}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "website-utilities",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.263",
|
|
4
4
|
"description": "extend your web app",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"jquery",
|
|
@@ -82,10 +82,10 @@
|
|
|
82
82
|
"jquery": "*",
|
|
83
83
|
"jsdoc": "*",
|
|
84
84
|
"mini-css-extract-plugin": "*",
|
|
85
|
+
"postcss": "*",
|
|
85
86
|
"postcss-fontpath": "*",
|
|
86
87
|
"postcss-import": "<=12",
|
|
87
88
|
"postcss-loader": "*",
|
|
88
|
-
"postcss-mixins": "<=6",
|
|
89
89
|
"postcss-preset-env": "*",
|
|
90
90
|
"postcss-sprites": "*",
|
|
91
91
|
"postcss-url": "<=9",
|
|
@@ -101,7 +101,6 @@
|
|
|
101
101
|
"clientnode": "*",
|
|
102
102
|
"internationalisation": "*",
|
|
103
103
|
"jquery": "*",
|
|
104
|
-
"postcss-mixins": "*",
|
|
105
104
|
"spin.js": "*"
|
|
106
105
|
},
|
|
107
106
|
"peerDependenciesMeta": {
|
|
@@ -171,15 +170,6 @@
|
|
|
171
170
|
"module": {
|
|
172
171
|
"enforceDeduplication": true,
|
|
173
172
|
"preprocessor": {
|
|
174
|
-
"cascadingStyleSheet": {
|
|
175
|
-
"additional": {
|
|
176
|
-
"plugins": {
|
|
177
|
-
"pre": [
|
|
178
|
-
"require('postcss-mixins')"
|
|
179
|
-
]
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
},
|
|
183
173
|
"javaScript": {
|
|
184
174
|
"#": "We have to pre-process \"spin.js\" since it isn't a compatible ECMAScript.",
|
|
185
175
|
"exclude": "!filePath.endsWith('/spin.js') && isFilePathInDependencies(filePath)"
|