first commit
This commit is contained in:
Vendored
+48
@@ -0,0 +1,48 @@
|
||||
$(function() {
|
||||
|
||||
// Get the form.
|
||||
var form = $('#contact-form');
|
||||
|
||||
// Get the messages div.
|
||||
var formMessages = $('.form-messege');
|
||||
|
||||
// Set up an event listener for the contact form.
|
||||
$(form).submit(function(e) {
|
||||
// Stop the browser from submitting the form.
|
||||
e.preventDefault();
|
||||
|
||||
// Serialize the form data.
|
||||
var formData = $(form).serialize();
|
||||
|
||||
// Submit the form using AJAX.
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: $(form).attr('action'),
|
||||
data: formData
|
||||
})
|
||||
.done(function(response) {
|
||||
// Make sure that the formMessages div has the 'success' class.
|
||||
$(formMessages).removeClass('error');
|
||||
$(formMessages).addClass('success');
|
||||
|
||||
// Set the message text.
|
||||
$(formMessages).text(response);
|
||||
|
||||
// Clear the form.
|
||||
$('#contact-form input,#contact-form textarea').val('');
|
||||
})
|
||||
.fail(function(data) {
|
||||
// Make sure that the formMessages div has the 'error' class.
|
||||
$(formMessages).removeClass('success');
|
||||
$(formMessages).addClass('error');
|
||||
|
||||
// Set the message text.
|
||||
if (data.responseText !== '') {
|
||||
$(formMessages).text(data.responseText);
|
||||
} else {
|
||||
$(formMessages).text('Oops! An error occured and your message could not be sent.');
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
});
|
||||
Vendored
+650
@@ -0,0 +1,650 @@
|
||||
!(function (e, t) {
|
||||
"object" == typeof exports && "object" == typeof module
|
||||
? (module.exports = t())
|
||||
: "function" == typeof define && define.amd
|
||||
? define([], t)
|
||||
: "object" == typeof exports
|
||||
? (exports.AOS = t())
|
||||
: (e.AOS = t());
|
||||
})(this, function () {
|
||||
return (function (e) {
|
||||
function t(o) {
|
||||
if (n[o]) return n[o].exports;
|
||||
var i = (n[o] = { exports: {}, id: o, loaded: !1 });
|
||||
return e[o].call(i.exports, i, i.exports, t), (i.loaded = !0), i.exports;
|
||||
}
|
||||
var n = {};
|
||||
return (t.m = e), (t.c = n), (t.p = "dist/"), t(0);
|
||||
})([
|
||||
function (e, t, n) {
|
||||
"use strict";
|
||||
function o(e) {
|
||||
return e && e.__esModule ? e : { default: e };
|
||||
}
|
||||
var i =
|
||||
Object.assign ||
|
||||
function (e) {
|
||||
for (var t = 1; t < arguments.length; t++) {
|
||||
var n = arguments[t];
|
||||
for (var o in n)
|
||||
Object.prototype.hasOwnProperty.call(n, o) && (e[o] = n[o]);
|
||||
}
|
||||
return e;
|
||||
},
|
||||
r = n(1),
|
||||
a = (o(r), n(6)),
|
||||
u = o(a),
|
||||
c = n(7),
|
||||
f = o(c),
|
||||
s = n(8),
|
||||
d = o(s),
|
||||
l = n(9),
|
||||
p = o(l),
|
||||
m = n(10),
|
||||
b = o(m),
|
||||
v = n(11),
|
||||
y = o(v),
|
||||
g = n(14),
|
||||
h = o(g),
|
||||
w = [],
|
||||
k = !1,
|
||||
x = document.all && !window.atob,
|
||||
j = {
|
||||
offset: 120,
|
||||
delay: 0,
|
||||
easing: "ease",
|
||||
duration: 400,
|
||||
disable: !1,
|
||||
once: !1,
|
||||
startEvent: "DOMContentLoaded",
|
||||
throttleDelay: 99,
|
||||
debounceDelay: 50,
|
||||
disableMutationObserver: !1,
|
||||
},
|
||||
O = function () {
|
||||
var e =
|
||||
arguments.length > 0 && void 0 !== arguments[0] && arguments[0];
|
||||
if ((e && (k = !0), k))
|
||||
return (w = (0, y.default)(w, j)), (0, b.default)(w, j.once), w;
|
||||
},
|
||||
_ = function () {
|
||||
(w = (0, h.default)()), O();
|
||||
},
|
||||
S = function () {
|
||||
w.forEach(function (e, t) {
|
||||
e.node.removeAttribute("data-aos"),
|
||||
e.node.removeAttribute("data-aos-easing"),
|
||||
e.node.removeAttribute("data-aos-duration"),
|
||||
e.node.removeAttribute("data-aos-delay");
|
||||
});
|
||||
},
|
||||
z = function (e) {
|
||||
return (
|
||||
e === !0 ||
|
||||
("mobile" === e && p.default.mobile()) ||
|
||||
("phone" === e && p.default.phone()) ||
|
||||
("tablet" === e && p.default.tablet()) ||
|
||||
("function" == typeof e && e() === !0)
|
||||
);
|
||||
},
|
||||
A = function (e) {
|
||||
return (
|
||||
(j = i(j, e)),
|
||||
(w = (0, h.default)()),
|
||||
z(j.disable) || x
|
||||
? S()
|
||||
: (document
|
||||
.querySelector("body")
|
||||
.setAttribute("data-aos-easing", j.easing),
|
||||
document
|
||||
.querySelector("body")
|
||||
.setAttribute("data-aos-duration", j.duration),
|
||||
document
|
||||
.querySelector("body")
|
||||
.setAttribute("data-aos-delay", j.delay),
|
||||
"DOMContentLoaded" === j.startEvent &&
|
||||
["complete", "interactive"].indexOf(document.readyState) > -1
|
||||
? O(!0)
|
||||
: "load" === j.startEvent
|
||||
? window.addEventListener(j.startEvent, function () {
|
||||
O(!0);
|
||||
})
|
||||
: document.addEventListener(j.startEvent, function () {
|
||||
O(!0);
|
||||
}),
|
||||
window.addEventListener(
|
||||
"resize",
|
||||
(0, f.default)(O, j.debounceDelay, !0)
|
||||
),
|
||||
window.addEventListener(
|
||||
"orientationchange",
|
||||
(0, f.default)(O, j.debounceDelay, !0)
|
||||
),
|
||||
window.addEventListener(
|
||||
"scroll",
|
||||
(0, u.default)(function () {
|
||||
(0, b.default)(w, j.once);
|
||||
}, j.throttleDelay)
|
||||
),
|
||||
j.disableMutationObserver || (0, d.default)("[data-aos]", _),
|
||||
w)
|
||||
);
|
||||
};
|
||||
e.exports = { init: A, refresh: O, refreshHard: _ };
|
||||
},
|
||||
function (e, t) {},
|
||||
,
|
||||
,
|
||||
,
|
||||
,
|
||||
function (e, t) {
|
||||
(function (t) {
|
||||
"use strict";
|
||||
function n(e, t, n) {
|
||||
function o(t) {
|
||||
var n = b,
|
||||
o = v;
|
||||
return (b = v = void 0), (k = t), (g = e.apply(o, n));
|
||||
}
|
||||
function r(e) {
|
||||
return (k = e), (h = setTimeout(s, t)), _ ? o(e) : g;
|
||||
}
|
||||
function a(e) {
|
||||
var n = e - w,
|
||||
o = e - k,
|
||||
i = t - n;
|
||||
return S ? j(i, y - o) : i;
|
||||
}
|
||||
function c(e) {
|
||||
var n = e - w,
|
||||
o = e - k;
|
||||
return void 0 === w || n >= t || n < 0 || (S && o >= y);
|
||||
}
|
||||
function s() {
|
||||
var e = O();
|
||||
return c(e) ? d(e) : void (h = setTimeout(s, a(e)));
|
||||
}
|
||||
function d(e) {
|
||||
return (h = void 0), z && b ? o(e) : ((b = v = void 0), g);
|
||||
}
|
||||
function l() {
|
||||
void 0 !== h && clearTimeout(h), (k = 0), (b = w = v = h = void 0);
|
||||
}
|
||||
function p() {
|
||||
return void 0 === h ? g : d(O());
|
||||
}
|
||||
function m() {
|
||||
var e = O(),
|
||||
n = c(e);
|
||||
if (((b = arguments), (v = this), (w = e), n)) {
|
||||
if (void 0 === h) return r(w);
|
||||
if (S) return (h = setTimeout(s, t)), o(w);
|
||||
}
|
||||
return void 0 === h && (h = setTimeout(s, t)), g;
|
||||
}
|
||||
var b,
|
||||
v,
|
||||
y,
|
||||
g,
|
||||
h,
|
||||
w,
|
||||
k = 0,
|
||||
_ = !1,
|
||||
S = !1,
|
||||
z = !0;
|
||||
if ("function" != typeof e) throw new TypeError(f);
|
||||
return (
|
||||
(t = u(t) || 0),
|
||||
i(n) &&
|
||||
((_ = !!n.leading),
|
||||
(S = "maxWait" in n),
|
||||
(y = S ? x(u(n.maxWait) || 0, t) : y),
|
||||
(z = "trailing" in n ? !!n.trailing : z)),
|
||||
(m.cancel = l),
|
||||
(m.flush = p),
|
||||
m
|
||||
);
|
||||
}
|
||||
function o(e, t, o) {
|
||||
var r = !0,
|
||||
a = !0;
|
||||
if ("function" != typeof e) throw new TypeError(f);
|
||||
return (
|
||||
i(o) &&
|
||||
((r = "leading" in o ? !!o.leading : r),
|
||||
(a = "trailing" in o ? !!o.trailing : a)),
|
||||
n(e, t, { leading: r, maxWait: t, trailing: a })
|
||||
);
|
||||
}
|
||||
function i(e) {
|
||||
var t = "undefined" == typeof e ? "undefined" : c(e);
|
||||
return !!e && ("object" == t || "function" == t);
|
||||
}
|
||||
function r(e) {
|
||||
return (
|
||||
!!e && "object" == ("undefined" == typeof e ? "undefined" : c(e))
|
||||
);
|
||||
}
|
||||
function a(e) {
|
||||
return (
|
||||
"symbol" == ("undefined" == typeof e ? "undefined" : c(e)) ||
|
||||
(r(e) && k.call(e) == d)
|
||||
);
|
||||
}
|
||||
function u(e) {
|
||||
if ("number" == typeof e) return e;
|
||||
if (a(e)) return s;
|
||||
if (i(e)) {
|
||||
var t = "function" == typeof e.valueOf ? e.valueOf() : e;
|
||||
e = i(t) ? t + "" : t;
|
||||
}
|
||||
if ("string" != typeof e) return 0 === e ? e : +e;
|
||||
e = e.replace(l, "");
|
||||
var n = m.test(e);
|
||||
return n || b.test(e) ? v(e.slice(2), n ? 2 : 8) : p.test(e) ? s : +e;
|
||||
}
|
||||
var c =
|
||||
"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;
|
||||
},
|
||||
f = "Expected a function",
|
||||
s = NaN,
|
||||
d = "[object Symbol]",
|
||||
l = /^\s+|\s+$/g,
|
||||
p = /^[-+]0x[0-9a-f]+$/i,
|
||||
m = /^0b[01]+$/i,
|
||||
b = /^0o[0-7]+$/i,
|
||||
v = parseInt,
|
||||
y =
|
||||
"object" == ("undefined" == typeof t ? "undefined" : c(t)) &&
|
||||
t &&
|
||||
t.Object === Object &&
|
||||
t,
|
||||
g =
|
||||
"object" == ("undefined" == typeof self ? "undefined" : c(self)) &&
|
||||
self &&
|
||||
self.Object === Object &&
|
||||
self,
|
||||
h = y || g || Function("return this")(),
|
||||
w = Object.prototype,
|
||||
k = w.toString,
|
||||
x = Math.max,
|
||||
j = Math.min,
|
||||
O = function () {
|
||||
return h.Date.now();
|
||||
};
|
||||
e.exports = o;
|
||||
}.call(
|
||||
t,
|
||||
(function () {
|
||||
return this;
|
||||
})()
|
||||
));
|
||||
},
|
||||
function (e, t) {
|
||||
(function (t) {
|
||||
"use strict";
|
||||
function n(e, t, n) {
|
||||
function i(t) {
|
||||
var n = b,
|
||||
o = v;
|
||||
return (b = v = void 0), (O = t), (g = e.apply(o, n));
|
||||
}
|
||||
function r(e) {
|
||||
return (O = e), (h = setTimeout(s, t)), _ ? i(e) : g;
|
||||
}
|
||||
function u(e) {
|
||||
var n = e - w,
|
||||
o = e - O,
|
||||
i = t - n;
|
||||
return S ? x(i, y - o) : i;
|
||||
}
|
||||
function f(e) {
|
||||
var n = e - w,
|
||||
o = e - O;
|
||||
return void 0 === w || n >= t || n < 0 || (S && o >= y);
|
||||
}
|
||||
function s() {
|
||||
var e = j();
|
||||
return f(e) ? d(e) : void (h = setTimeout(s, u(e)));
|
||||
}
|
||||
function d(e) {
|
||||
return (h = void 0), z && b ? i(e) : ((b = v = void 0), g);
|
||||
}
|
||||
function l() {
|
||||
void 0 !== h && clearTimeout(h), (O = 0), (b = w = v = h = void 0);
|
||||
}
|
||||
function p() {
|
||||
return void 0 === h ? g : d(j());
|
||||
}
|
||||
function m() {
|
||||
var e = j(),
|
||||
n = f(e);
|
||||
if (((b = arguments), (v = this), (w = e), n)) {
|
||||
if (void 0 === h) return r(w);
|
||||
if (S) return (h = setTimeout(s, t)), i(w);
|
||||
}
|
||||
return void 0 === h && (h = setTimeout(s, t)), g;
|
||||
}
|
||||
var b,
|
||||
v,
|
||||
y,
|
||||
g,
|
||||
h,
|
||||
w,
|
||||
O = 0,
|
||||
_ = !1,
|
||||
S = !1,
|
||||
z = !0;
|
||||
if ("function" != typeof e) throw new TypeError(c);
|
||||
return (
|
||||
(t = a(t) || 0),
|
||||
o(n) &&
|
||||
((_ = !!n.leading),
|
||||
(S = "maxWait" in n),
|
||||
(y = S ? k(a(n.maxWait) || 0, t) : y),
|
||||
(z = "trailing" in n ? !!n.trailing : z)),
|
||||
(m.cancel = l),
|
||||
(m.flush = p),
|
||||
m
|
||||
);
|
||||
}
|
||||
function o(e) {
|
||||
var t = "undefined" == typeof e ? "undefined" : u(e);
|
||||
return !!e && ("object" == t || "function" == t);
|
||||
}
|
||||
function i(e) {
|
||||
return (
|
||||
!!e && "object" == ("undefined" == typeof e ? "undefined" : u(e))
|
||||
);
|
||||
}
|
||||
function r(e) {
|
||||
return (
|
||||
"symbol" == ("undefined" == typeof e ? "undefined" : u(e)) ||
|
||||
(i(e) && w.call(e) == s)
|
||||
);
|
||||
}
|
||||
function a(e) {
|
||||
if ("number" == typeof e) return e;
|
||||
if (r(e)) return f;
|
||||
if (o(e)) {
|
||||
var t = "function" == typeof e.valueOf ? e.valueOf() : e;
|
||||
e = o(t) ? t + "" : t;
|
||||
}
|
||||
if ("string" != typeof e) return 0 === e ? e : +e;
|
||||
e = e.replace(d, "");
|
||||
var n = p.test(e);
|
||||
return n || m.test(e) ? b(e.slice(2), n ? 2 : 8) : l.test(e) ? f : +e;
|
||||
}
|
||||
var u =
|
||||
"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;
|
||||
},
|
||||
c = "Expected a function",
|
||||
f = NaN,
|
||||
s = "[object Symbol]",
|
||||
d = /^\s+|\s+$/g,
|
||||
l = /^[-+]0x[0-9a-f]+$/i,
|
||||
p = /^0b[01]+$/i,
|
||||
m = /^0o[0-7]+$/i,
|
||||
b = parseInt,
|
||||
v =
|
||||
"object" == ("undefined" == typeof t ? "undefined" : u(t)) &&
|
||||
t &&
|
||||
t.Object === Object &&
|
||||
t,
|
||||
y =
|
||||
"object" == ("undefined" == typeof self ? "undefined" : u(self)) &&
|
||||
self &&
|
||||
self.Object === Object &&
|
||||
self,
|
||||
g = v || y || Function("return this")(),
|
||||
h = Object.prototype,
|
||||
w = h.toString,
|
||||
k = Math.max,
|
||||
x = Math.min,
|
||||
j = function () {
|
||||
return g.Date.now();
|
||||
};
|
||||
e.exports = n;
|
||||
}.call(
|
||||
t,
|
||||
(function () {
|
||||
return this;
|
||||
})()
|
||||
));
|
||||
},
|
||||
function (e, t) {
|
||||
"use strict";
|
||||
function n(e, t) {
|
||||
var n = new r(o);
|
||||
(a = t),
|
||||
n.observe(i.documentElement, {
|
||||
childList: !0,
|
||||
subtree: !0,
|
||||
removedNodes: !0,
|
||||
});
|
||||
}
|
||||
function o(e) {
|
||||
e &&
|
||||
e.forEach(function (e) {
|
||||
var t = Array.prototype.slice.call(e.addedNodes),
|
||||
n = Array.prototype.slice.call(e.removedNodes),
|
||||
o = t.concat(n).filter(function (e) {
|
||||
return e.hasAttribute && e.hasAttribute("data-aos");
|
||||
}).length;
|
||||
o && a();
|
||||
});
|
||||
}
|
||||
Object.defineProperty(t, "__esModule", { value: !0 });
|
||||
var i = window.document,
|
||||
r =
|
||||
window.MutationObserver ||
|
||||
window.WebKitMutationObserver ||
|
||||
window.MozMutationObserver,
|
||||
a = function () {};
|
||||
t.default = n;
|
||||
},
|
||||
function (e, t) {
|
||||
"use strict";
|
||||
function n(e, t) {
|
||||
if (!(e instanceof t))
|
||||
throw new TypeError("Cannot call a class as a function");
|
||||
}
|
||||
function o() {
|
||||
return navigator.userAgent || navigator.vendor || window.opera || "";
|
||||
}
|
||||
Object.defineProperty(t, "__esModule", { value: !0 });
|
||||
var i = (function () {
|
||||
function e(e, t) {
|
||||
for (var n = 0; n < t.length; n++) {
|
||||
var o = t[n];
|
||||
(o.enumerable = o.enumerable || !1),
|
||||
(o.configurable = !0),
|
||||
"value" in o && (o.writable = !0),
|
||||
Object.defineProperty(e, o.key, o);
|
||||
}
|
||||
}
|
||||
return function (t, n, o) {
|
||||
return n && e(t.prototype, n), o && e(t, o), t;
|
||||
};
|
||||
})(),
|
||||
r = /(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i,
|
||||
a = /1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,
|
||||
u = /(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i,
|
||||
c = /1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,
|
||||
f = (function () {
|
||||
function e() {
|
||||
n(this, e);
|
||||
}
|
||||
return (
|
||||
i(e, [
|
||||
{
|
||||
key: "phone",
|
||||
value: function () {
|
||||
var e = o();
|
||||
return !(!r.test(e) && !a.test(e.substr(0, 4)));
|
||||
},
|
||||
},
|
||||
{
|
||||
key: "mobile",
|
||||
value: function () {
|
||||
var e = o();
|
||||
return !(!u.test(e) && !c.test(e.substr(0, 4)));
|
||||
},
|
||||
},
|
||||
{
|
||||
key: "tablet",
|
||||
value: function () {
|
||||
return this.mobile() && !this.phone();
|
||||
},
|
||||
},
|
||||
]),
|
||||
e
|
||||
);
|
||||
})();
|
||||
t.default = new f();
|
||||
},
|
||||
function (e, t) {
|
||||
"use strict";
|
||||
Object.defineProperty(t, "__esModule", { value: !0 });
|
||||
var n = function (e, t, n) {
|
||||
var o = e.node.getAttribute("data-aos-once");
|
||||
t > e.position
|
||||
? e.node.classList.add("aos-animate")
|
||||
: "undefined" != typeof o &&
|
||||
("false" === o || (!n && "true" !== o)) &&
|
||||
e.node.classList.remove("aos-animate");
|
||||
},
|
||||
o = function (e, t) {
|
||||
var o = window.pageYOffset,
|
||||
i = window.innerHeight;
|
||||
e.forEach(function (e, r) {
|
||||
n(e, i + o, t);
|
||||
});
|
||||
};
|
||||
t.default = o;
|
||||
},
|
||||
function (e, t, n) {
|
||||
"use strict";
|
||||
function o(e) {
|
||||
return e && e.__esModule ? e : { default: e };
|
||||
}
|
||||
Object.defineProperty(t, "__esModule", { value: !0 });
|
||||
var i = n(12),
|
||||
r = o(i),
|
||||
a = function (e, t) {
|
||||
return (
|
||||
e.forEach(function (e, n) {
|
||||
e.node.classList.add("aos-init"),
|
||||
(e.position = (0, r.default)(e.node, t.offset));
|
||||
}),
|
||||
e
|
||||
);
|
||||
};
|
||||
t.default = a;
|
||||
},
|
||||
function (e, t, n) {
|
||||
"use strict";
|
||||
function o(e) {
|
||||
return e && e.__esModule ? e : { default: e };
|
||||
}
|
||||
Object.defineProperty(t, "__esModule", { value: !0 });
|
||||
var i = n(13),
|
||||
r = o(i),
|
||||
a = function (e, t) {
|
||||
var n = 0,
|
||||
o = 0,
|
||||
i = window.innerHeight,
|
||||
a = {
|
||||
offset: e.getAttribute("data-aos-offset"),
|
||||
anchor: e.getAttribute("data-aos-anchor"),
|
||||
anchorPlacement: e.getAttribute("data-aos-anchor-placement"),
|
||||
};
|
||||
switch (
|
||||
(a.offset && !isNaN(a.offset) && (o = parseInt(a.offset)),
|
||||
a.anchor &&
|
||||
document.querySelectorAll(a.anchor) &&
|
||||
(e = document.querySelectorAll(a.anchor)[0]),
|
||||
(n = (0, r.default)(e).top),
|
||||
a.anchorPlacement)
|
||||
) {
|
||||
case "top-bottom":
|
||||
break;
|
||||
case "center-bottom":
|
||||
n += e.offsetHeight / 2;
|
||||
break;
|
||||
case "bottom-bottom":
|
||||
n += e.offsetHeight;
|
||||
break;
|
||||
case "top-center":
|
||||
n += i / 2;
|
||||
break;
|
||||
case "bottom-center":
|
||||
n += i / 2 + e.offsetHeight;
|
||||
break;
|
||||
case "center-center":
|
||||
n += i / 2 + e.offsetHeight / 2;
|
||||
break;
|
||||
case "top-top":
|
||||
n += i;
|
||||
break;
|
||||
case "bottom-top":
|
||||
n += e.offsetHeight + i;
|
||||
break;
|
||||
case "center-top":
|
||||
n += e.offsetHeight / 2 + i;
|
||||
}
|
||||
return a.anchorPlacement || a.offset || isNaN(t) || (o = t), n + o;
|
||||
};
|
||||
t.default = a;
|
||||
},
|
||||
function (e, t) {
|
||||
"use strict";
|
||||
Object.defineProperty(t, "__esModule", { value: !0 });
|
||||
var n = function (e) {
|
||||
for (
|
||||
var t = 0, n = 0;
|
||||
e && !isNaN(e.offsetLeft) && !isNaN(e.offsetTop);
|
||||
|
||||
)
|
||||
(t += e.offsetLeft - ("BODY" != e.tagName ? e.scrollLeft : 0)),
|
||||
(n += e.offsetTop - ("BODY" != e.tagName ? e.scrollTop : 0)),
|
||||
(e = e.offsetParent);
|
||||
return { top: n, left: t };
|
||||
};
|
||||
t.default = n;
|
||||
},
|
||||
function (e, t) {
|
||||
"use strict";
|
||||
Object.defineProperty(t, "__esModule", { value: !0 });
|
||||
var n = function (e) {
|
||||
return (
|
||||
(e = e || document.querySelectorAll("[data-aos]")),
|
||||
Array.prototype.map.call(e, function (e) {
|
||||
return { node: e };
|
||||
})
|
||||
);
|
||||
};
|
||||
t.default = n;
|
||||
},
|
||||
]);
|
||||
});
|
||||
Vendored
+22
@@ -0,0 +1,22 @@
|
||||
/*!
|
||||
* The Final Countdown for jQuery v2.2.0 (http://hilios.github.io/jQuery.countdown/)
|
||||
* Copyright (c) 2016 Edson Hilios
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||
* this software and associated documentation files (the "Software"), to deal in
|
||||
* the Software without restriction, including without limitation the rights to
|
||||
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||
* the Software, and to permit persons to whom the Software is furnished to do so,
|
||||
* subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in all
|
||||
* copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
!function(a){"use strict";"function"==typeof define&&define.amd?define(["jquery"],a):a(jQuery)}(function(a){"use strict";function b(a){if(a instanceof Date)return a;if(String(a).match(g))return String(a).match(/^[0-9]*$/)&&(a=Number(a)),String(a).match(/\-/)&&(a=String(a).replace(/\-/g,"/")),new Date(a);throw new Error("Couldn't cast `"+a+"` to a date object.")}function c(a){var b=a.toString().replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1");return new RegExp(b)}function d(a){return function(b){var d=b.match(/%(-|!)?[A-Z]{1}(:[^;]+;)?/gi);if(d)for(var f=0,g=d.length;f<g;++f){var h=d[f].match(/%(-|!)?([a-zA-Z]{1})(:[^;]+;)?/),j=c(h[0]),k=h[1]||"",l=h[3]||"",m=null;h=h[2],i.hasOwnProperty(h)&&(m=i[h],m=Number(a[m])),null!==m&&("!"===k&&(m=e(l,m)),""===k&&m<10&&(m="0"+m.toString()),b=b.replace(j,m.toString()))}return b=b.replace(/%%/,"%")}}function e(a,b){var c="s",d="";return a&&(a=a.replace(/(:|;|\s)/gi,"").split(/\,/),1===a.length?c=a[0]:(d=a[0],c=a[1])),Math.abs(b)>1?c:d}var f=[],g=[],h={precision:100,elapse:!1,defer:!1};g.push(/^[0-9]*$/.source),g.push(/([0-9]{1,2}\/){2}[0-9]{4}( [0-9]{1,2}(:[0-9]{2}){2})?/.source),g.push(/[0-9]{4}([\/\-][0-9]{1,2}){2}( [0-9]{1,2}(:[0-9]{2}){2})?/.source),g=new RegExp(g.join("|"));var i={Y:"years",m:"months",n:"daysToMonth",d:"daysToWeek",w:"weeks",W:"weeksToMonth",H:"hours",M:"minutes",S:"seconds",D:"totalDays",I:"totalHours",N:"totalMinutes",T:"totalSeconds"},j=function(b,c,d){this.el=b,this.$el=a(b),this.interval=null,this.offset={},this.options=a.extend({},h),this.firstTick=!0,this.instanceNumber=f.length,f.push(this),this.$el.data("countdown-instance",this.instanceNumber),d&&("function"==typeof d?(this.$el.on("update.countdown",d),this.$el.on("stoped.countdown",d),this.$el.on("finish.countdown",d)):this.options=a.extend({},h,d)),this.setFinalDate(c),this.options.defer===!1&&this.start()};a.extend(j.prototype,{start:function(){null!==this.interval&&clearInterval(this.interval);var a=this;this.update(),this.interval=setInterval(function(){a.update.call(a)},this.options.precision)},stop:function(){clearInterval(this.interval),this.interval=null,this.dispatchEvent("stoped")},toggle:function(){this.interval?this.stop():this.start()},pause:function(){this.stop()},resume:function(){this.start()},remove:function(){this.stop.call(this),f[this.instanceNumber]=null,delete this.$el.data().countdownInstance},setFinalDate:function(a){this.finalDate=b(a)},update:function(){if(0===this.$el.closest("html").length)return void this.remove();var a,b=new Date;return a=this.finalDate.getTime()-b.getTime(),a=Math.ceil(a/1e3),a=!this.options.elapse&&a<0?0:Math.abs(a),this.totalSecsLeft===a||this.firstTick?void(this.firstTick=!1):(this.totalSecsLeft=a,this.elapsed=b>=this.finalDate,this.offset={seconds:this.totalSecsLeft%60,minutes:Math.floor(this.totalSecsLeft/60)%60,hours:Math.floor(this.totalSecsLeft/60/60)%24,days:Math.floor(this.totalSecsLeft/60/60/24)%7,daysToWeek:Math.floor(this.totalSecsLeft/60/60/24)%7,daysToMonth:Math.floor(this.totalSecsLeft/60/60/24%30.4368),weeks:Math.floor(this.totalSecsLeft/60/60/24/7),weeksToMonth:Math.floor(this.totalSecsLeft/60/60/24/7)%4,months:Math.floor(this.totalSecsLeft/60/60/24/30.4368),years:Math.abs(this.finalDate.getFullYear()-b.getFullYear()),totalDays:Math.floor(this.totalSecsLeft/60/60/24),totalHours:Math.floor(this.totalSecsLeft/60/60),totalMinutes:Math.floor(this.totalSecsLeft/60),totalSeconds:this.totalSecsLeft},void(this.options.elapse||0!==this.totalSecsLeft?this.dispatchEvent("update"):(this.stop(),this.dispatchEvent("finish"))))},dispatchEvent:function(b){var c=a.Event(b+".countdown");c.finalDate=this.finalDate,c.elapsed=this.elapsed,c.offset=a.extend({},this.offset),c.strftime=d(this.offset),this.$el.trigger(c)}}),a.fn.countdown=function(){var b=Array.prototype.slice.call(arguments,0);return this.each(function(){var c=a(this).data("countdown-instance");if(void 0!==c){var d=f[c],e=b[0];j.prototype.hasOwnProperty(e)?d[e].apply(d,b.slice(1)):null===String(e).match(/^[$A-Z_][0-9A-Z_$]*$/i)?(d.setFinalDate.call(d,e),d.start()):a.error("Method %s does not exist on jQuery.countdown".replace(/\%s/gi,e))}else new j(this,b[0],b[1])})}});
|
||||
Vendored
+7
@@ -0,0 +1,7 @@
|
||||
/*!
|
||||
* @name easyzoom
|
||||
* @author <>
|
||||
* @modified Thursday, November 22nd, 2018
|
||||
* @version 2.5.2
|
||||
*/
|
||||
!function(t,e){"use strict";"function"==typeof define&&define.amd?define(["jquery"],function(t){e(t)}):"object"==typeof module&&module.exports?module.exports=t.EasyZoom=e(require("jquery")):t.EasyZoom=e(t.jQuery)}(this,function(i){"use strict";var c,d,l,p,u,f,o={loadingNotice:"Loading image",errorNotice:"The image could not be loaded",errorDuration:2500,linkAttribute:"href",preventClicks:!0,beforeShow:i.noop,beforeHide:i.noop,onShow:i.noop,onHide:i.noop,onMove:i.noop};function s(t,e){this.$target=i(t),this.opts=i.extend({},o,e,this.$target.data()),void 0===this.isOpen&&this._init()}return s.prototype._init=function(){this.$link=this.$target.find("a"),this.$image=this.$target.find("img"),this.$flyout=i('<div class="easyzoom-flyout" />'),this.$notice=i('<div class="easyzoom-notice" />'),this.$target.on({"mousemove.easyzoom touchmove.easyzoom":i.proxy(this._onMove,this),"mouseleave.easyzoom touchend.easyzoom":i.proxy(this._onLeave,this),"mouseenter.easyzoom touchstart.easyzoom":i.proxy(this._onEnter,this)}),this.opts.preventClicks&&this.$target.on("click.easyzoom",function(t){t.preventDefault()})},s.prototype.show=function(t,e){var o=this;if(!1!==this.opts.beforeShow.call(this)){if(!this.isReady)return this._loadImage(this.$link.attr(this.opts.linkAttribute),function(){!o.isMouseOver&&e||o.show(t)});this.$target.append(this.$flyout);var i=this.$target.outerWidth(),s=this.$target.outerHeight(),h=this.$flyout.width(),n=this.$flyout.height(),a=this.$zoom.width(),r=this.$zoom.height();(c=a-h)<0&&(c=0),(d=r-n)<0&&(d=0),l=c/i,p=d/s,this.isOpen=!0,this.opts.onShow.call(this),t&&this._move(t)}},s.prototype._onEnter=function(t){var e=t.originalEvent.touches;this.isMouseOver=!0,e&&1!=e.length||(t.preventDefault(),this.show(t,!0))},s.prototype._onMove=function(t){this.isOpen&&(t.preventDefault(),this._move(t))},s.prototype._onLeave=function(){this.isMouseOver=!1,this.isOpen&&this.hide()},s.prototype._onLoad=function(t){t.currentTarget.width&&(this.isReady=!0,this.$notice.detach(),this.$flyout.html(this.$zoom),this.$target.removeClass("is-loading").addClass("is-ready"),t.data.call&&t.data())},s.prototype._onError=function(){var t=this;this.$notice.text(this.opts.errorNotice),this.$target.removeClass("is-loading").addClass("is-error"),this.detachNotice=setTimeout(function(){t.$notice.detach(),t.detachNotice=null},this.opts.errorDuration)},s.prototype._loadImage=function(t,e){var o=new Image;this.$target.addClass("is-loading").append(this.$notice.text(this.opts.loadingNotice)),this.$zoom=i(o).on("error",i.proxy(this._onError,this)).on("load",e,i.proxy(this._onLoad,this)),o.style.position="absolute",o.src=t},s.prototype._move=function(t){if(0===t.type.indexOf("touch")){var e=t.touches||t.originalEvent.touches;u=e[0].pageX,f=e[0].pageY}else u=t.pageX||u,f=t.pageY||f;var o=this.$target.offset(),i=f-o.top,s=u-o.left,h=Math.ceil(i*p),n=Math.ceil(s*l);if(n<0||h<0||c<n||d<h)this.hide();else{var a=-1*h,r=-1*n;this.$zoom.css({top:a,left:r}),this.opts.onMove.call(this,a,r)}},s.prototype.hide=function(){this.isOpen&&!1!==this.opts.beforeHide.call(this)&&(this.$flyout.detach(),this.isOpen=!1,this.opts.onHide.call(this))},s.prototype.swap=function(t,e,o){this.hide(),this.isReady=!1,this.detachNotice&&clearTimeout(this.detachNotice),this.$notice.parent().length&&this.$notice.detach(),this.$target.removeClass("is-loading is-ready is-error"),this.$image.attr({src:t,srcset:i.isArray(o)?o.join():o}),this.$link.attr(this.opts.linkAttribute,e)},s.prototype.teardown=function(){this.hide(),this.$target.off(".easyzoom").removeClass("is-loading is-ready is-error"),this.detachNotice&&clearTimeout(this.detachNotice),delete this.$link,delete this.$zoom,delete this.$image,delete this.$notice,delete this.$flyout,delete this.isOpen,delete this.isReady},i.fn.easyZoom=function(e){return this.each(function(){var t=i.data(this,"easyZoom");t?void 0===t.isOpen&&t._init():i.data(this,"easyZoom",new s(this,e))})},s});
|
||||
Vendored
+7
File diff suppressed because one or more lines are too long
Vendored
+5
File diff suppressed because one or more lines are too long
Vendored
+12
File diff suppressed because one or more lines are too long
+11
@@ -0,0 +1,11 @@
|
||||
/*!
|
||||
* jQuery UI Touch Punch 0.2.3
|
||||
*
|
||||
* Copyright 2011–2014, Dave Furfero
|
||||
* Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
*
|
||||
* Depends:
|
||||
* jquery.ui.widget.js
|
||||
* jquery.ui.mouse.js
|
||||
*/
|
||||
!function(a){function f(a,b){if(!(a.originalEvent.touches.length>1)){a.preventDefault();var c=a.originalEvent.changedTouches[0],d=document.createEvent("MouseEvents");d.initMouseEvent(b,!0,!0,window,1,c.screenX,c.screenY,c.clientX,c.clientY,!1,!1,!1,!1,0,null),a.target.dispatchEvent(d)}}if(a.support.touch="ontouchend"in document,a.support.touch){var e,b=a.ui.mouse.prototype,c=b._mouseInit,d=b._mouseDestroy;b._touchStart=function(a){var b=this;!e&&b._mouseCapture(a.originalEvent.changedTouches[0])&&(e=!0,b._touchMoved=!1,f(a,"mouseover"),f(a,"mousemove"),f(a,"mousedown"))},b._touchMove=function(a){e&&(this._touchMoved=!0,f(a,"mousemove"))},b._touchEnd=function(a){e&&(f(a,"mouseup"),f(a,"mouseout"),this._touchMoved||f(a,"click"),e=!1)},b._mouseInit=function(){var b=this;b.element.bind({touchstart:a.proxy(b,"_touchStart"),touchmove:a.proxy(b,"_touchMove"),touchend:a.proxy(b,"_touchEnd")}),c.call(b)},b._mouseDestroy=function(){var b=this;b.element.unbind({touchstart:a.proxy(b,"_touchStart"),touchmove:a.proxy(b,"_touchMove"),touchend:a.proxy(b,"_touchEnd")}),d.call(b)}}}(jQuery);
|
||||
Vendored
+6
File diff suppressed because one or more lines are too long
+4
@@ -0,0 +1,4 @@
|
||||
/* jQuery Nice Select - v1.0
|
||||
https://github.com/hernansartorio/jquery-nice-select
|
||||
Made by Hernán Sartorio */
|
||||
!function(e){e.fn.niceSelect=function(t){function s(t){t.after(e("<div></div>").addClass("nice-select").addClass(t.attr("class")||"").addClass(t.attr("disabled")?"disabled":"").attr("tabindex",t.attr("disabled")?null:"0").html('<span class="current"></span><ul class="list"></ul>'));var s=t.next(),n=t.find("option"),i=t.find("option:selected");s.find(".current").html(i.data("display")||i.text()),n.each(function(t){var n=e(this),i=n.data("display");s.find("ul").append(e("<li></li>").attr("data-value",n.val()).attr("data-display",i||null).addClass("option"+(n.is(":selected")?" selected":"")+(n.is(":disabled")?" disabled":"")).html(n.text()))})}if("string"==typeof t)return"update"==t?this.each(function(){var t=e(this),n=e(this).next(".nice-select"),i=n.hasClass("open");n.length&&(n.remove(),s(t),i&&t.next().trigger("click"))}):"destroy"==t?(this.each(function(){var t=e(this),s=e(this).next(".nice-select");s.length&&(s.remove(),t.css("display",""))}),0==e(".nice-select").length&&e(document).off(".nice_select")):console.log('Method "'+t+'" does not exist.'),this;this.hide(),this.each(function(){var t=e(this);t.next().hasClass("nice-select")||s(t)}),e(document).off(".nice_select"),e(document).on("click.nice_select",".nice-select",function(t){var s=e(this);e(".nice-select").not(s).removeClass("open"),s.toggleClass("open"),s.hasClass("open")?(s.find(".option"),s.find(".focus").removeClass("focus"),s.find(".selected").addClass("focus")):s.focus()}),e(document).on("click.nice_select",function(t){0===e(t.target).closest(".nice-select").length&&e(".nice-select").removeClass("open").find(".option")}),e(document).on("click.nice_select",".nice-select .option:not(.disabled)",function(t){var s=e(this),n=s.closest(".nice-select");n.find(".selected").removeClass("selected"),s.addClass("selected");var i=s.data("display")||s.text();n.find(".current").text(i),n.prev("select").val(s.data("value")).trigger("change")}),e(document).on("keydown.nice_select",".nice-select",function(t){var s=e(this),n=e(s.find(".focus")||s.find(".list .option.selected"));if(32==t.keyCode||13==t.keyCode)return s.hasClass("open")?n.trigger("click"):s.trigger("click"),!1;if(40==t.keyCode){if(s.hasClass("open")){var i=n.nextAll(".option:not(.disabled)").first();i.length>0&&(s.find(".focus").removeClass("focus"),i.addClass("focus"))}else s.trigger("click");return!1}if(38==t.keyCode){if(s.hasClass("open")){var l=n.prevAll(".option:not(.disabled)").first();l.length>0&&(s.find(".focus").removeClass("focus"),l.addClass("focus"))}else s.trigger("click");return!1}if(27==t.keyCode)s.hasClass("open")&&s.trigger("click");else if(9==t.keyCode&&s.hasClass("open"))return!1});var n=document.createElement("a").style;return n.cssText="pointer-events:auto","auto"!==n.pointerEvents&&e("html").addClass("no-csspointerevents"),this}}(jQuery);
|
||||
Vendored
+6
File diff suppressed because one or more lines are too long
Vendored
+2
File diff suppressed because one or more lines are too long
Vendored
+215
File diff suppressed because one or more lines are too long
Vendored
+1
File diff suppressed because one or more lines are too long
Vendored
+11
@@ -0,0 +1,11 @@
|
||||
|
||||
/*
|
||||
*
|
||||
* scrollup
|
||||
* Url: http://markgoodyear.com/labs/scrollup/
|
||||
* v2.4.1
|
||||
*
|
||||
*/
|
||||
!function(l,o,e){"use strict";l.fn.scrollUp=function(o){l.data(e.body,"scrollUp")||(l.data(e.body,"scrollUp",!0),l.fn.scrollUp.init(o))},l.fn.scrollUp.init=function(r){var s,t,c,i,n,a,d,p=l.fn.scrollUp.settings=l.extend({},l.fn.scrollUp.defaults,r),f=!1;switch(d=p.scrollTrigger?l(p.scrollTrigger):l("<a/>",{id:p.scrollName,href:"#top"}),p.scrollTitle&&d.attr("title",p.scrollTitle),d.appendTo("body"),p.scrollImg||p.scrollTrigger||d.html(p.scrollText),d.css({display:"none",position:"fixed",zIndex:p.zIndex}),p.activeOverlay&&l("<div/>",{id:p.scrollName+"-active"}).css({position:"absolute",top:p.scrollDistance+"px",width:"100%",borderTop:"1px dotted"+p.activeOverlay,zIndex:p.zIndex}).appendTo("body"),p.animation){case"fade":s="fadeIn",t="fadeOut",c=p.animationSpeed;break;case"slide":s="slideDown",t="slideUp",c=p.animationSpeed;break;default:s="show",t="hide",c=0}i="top"===p.scrollFrom?p.scrollDistance:l(e).height()-l(o).height()-p.scrollDistance,n=l(o).scroll(function(){l(o).scrollTop()>i?f||(d[s](c),f=!0):f&&(d[t](c),f=!1)}),p.scrollTarget?"number"==typeof p.scrollTarget?a=p.scrollTarget:"string"==typeof p.scrollTarget&&(a=Math.floor(l(p.scrollTarget).offset().top)):a=0,d.click(function(o){o.preventDefault(),l("html, body").animate({scrollTop:a},p.scrollSpeed,p.easingType)})},l.fn.scrollUp.defaults={scrollName:"scrollUp",scrollDistance:300,scrollFrom:"top",scrollSpeed:300,easingType:"linear",animation:"fade",animationSpeed:200,scrollTrigger:!1,scrollTarget:!1,scrollText:"Scroll to top",scrollTitle:!1,scrollImg:!1,activeOverlay:!1,zIndex:2147483647},l.fn.scrollUp.destroy=function(r){l.removeData(e.body,"scrollUp"),l("#"+l.fn.scrollUp.settings.scrollName).remove(),l("#"+l.fn.scrollUp.settings.scrollName+"-active").remove(),l.fn.jquery.split(".")[1]>=7?l(o).off("scroll",r):l(o).unbind("scroll",r)},l.scrollUp=l.fn.scrollUp}(jQuery,window,document);
|
||||
|
||||
|
||||
Vendored
+13
File diff suppressed because one or more lines are too long
Vendored
+8
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* SVGInjector v1.1.3 - Fast, caching, dynamic inline SVG DOM injection library
|
||||
* https://github.com/iconic/SVGInjector
|
||||
*
|
||||
* Copyright (c) 2014-2015 Waybury <hello@waybury.com>
|
||||
* @license MIT
|
||||
*/
|
||||
!function(t,e){"use strict";function r(t){t=t.split(" ");for(var e={},r=t.length,n=[];r--;)e.hasOwnProperty(t[r])||(e[t[r]]=1,n.unshift(t[r]));return n.join(" ")}var n="file:"===t.location.protocol,i=e.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure","1.1"),o=Array.prototype.forEach||function(t,e){if(void 0===this||null===this||"function"!=typeof t)throw new TypeError;var r,n=this.length>>>0;for(r=0;n>r;++r)r in this&&t.call(e,this[r],r,this)},a={},l=0,s=[],u=[],c={},f=function(t){return t.cloneNode(!0)},p=function(t,e){u[t]=u[t]||[],u[t].push(e)},d=function(t){for(var e=0,r=u[t].length;r>e;e++)!function(e){setTimeout(function(){u[t][e](f(a[t]))},0)}(e)},v=function(e,r){if(void 0!==a[e])a[e]instanceof SVGSVGElement?r(f(a[e])):p(e,r);else{if(!t.XMLHttpRequest)return r("Browser does not support XMLHttpRequest"),!1;a[e]={},p(e,r);var i=new XMLHttpRequest;i.onreadystatechange=function(){if(4===i.readyState){if(404===i.status||null===i.responseXML)return r("Unable to load SVG file: "+e),n&&r("Note: SVG injection ajax calls do not work locally without adjusting security setting in your browser. Or consider using a local webserver."),r(),!1;if(!(200===i.status||n&&0===i.status))return r("There was a problem injecting the SVG: "+i.status+" "+i.statusText),!1;if(i.responseXML instanceof Document)a[e]=i.responseXML.documentElement;else if(DOMParser&&DOMParser instanceof Function){var t;try{var o=new DOMParser;t=o.parseFromString(i.responseText,"text/xml")}catch(l){t=void 0}if(!t||t.getElementsByTagName("parsererror").length)return r("Unable to parse SVG file: "+e),!1;a[e]=t.documentElement}d(e)}},i.open("GET",e),i.overrideMimeType&&i.overrideMimeType("text/xml"),i.send()}},h=function(e,n,a,u){var f=e.getAttribute("data-src")||e.getAttribute("src");if(!/\.svg/i.test(f))return void u("Attempted to inject a file with a non-svg extension: "+f);if(!i){var p=e.getAttribute("data-fallback")||e.getAttribute("data-png");return void(p?(e.setAttribute("src",p),u(null)):a?(e.setAttribute("src",a+"/"+f.split("/").pop().replace(".svg",".png")),u(null)):u("This browser does not support SVG and no PNG fallback was defined."))}-1===s.indexOf(e)&&(s.push(e),e.setAttribute("src",""),v(f,function(i){if("undefined"==typeof i||"string"==typeof i)return u(i),!1;var a=e.getAttribute("id");a&&i.setAttribute("id",a);var p=e.getAttribute("title");p&&i.setAttribute("title",p);var d=[].concat(i.getAttribute("class")||[],"injected-svg",e.getAttribute("class")||[]).join(" ");i.setAttribute("class",r(d));var v=e.getAttribute("style");v&&i.setAttribute("style",v);var h=[].filter.call(e.attributes,function(t){return/^data-\w[\w\-]*$/.test(t.name)});o.call(h,function(t){t.name&&t.value&&i.setAttribute(t.name,t.value)});var g,m,b,y,A,w={clipPath:["clip-path"],"color-profile":["color-profile"],cursor:["cursor"],filter:["filter"],linearGradient:["fill","stroke"],marker:["marker","marker-start","marker-mid","marker-end"],mask:["mask"],pattern:["fill","stroke"],radialGradient:["fill","stroke"]};Object.keys(w).forEach(function(t){g=t,b=w[t],m=i.querySelectorAll("defs "+g+"[id]");for(var e=0,r=m.length;r>e;e++){y=m[e].id,A=y+"-"+l;var n;o.call(b,function(t){n=i.querySelectorAll("["+t+'*="'+y+'"]');for(var e=0,r=n.length;r>e;e++)n[e].setAttribute(t,"url(#"+A+")")}),m[e].id=A}}),i.removeAttribute("xmlns:a");for(var x,S,k=i.querySelectorAll("script"),j=[],G=0,T=k.length;T>G;G++)S=k[G].getAttribute("type"),S&&"application/ecmascript"!==S&&"application/javascript"!==S||(x=k[G].innerText||k[G].textContent,j.push(x),i.removeChild(k[G]));if(j.length>0&&("always"===n||"once"===n&&!c[f])){for(var M=0,V=j.length;V>M;M++)new Function(j[M])(t);c[f]=!0}var E=i.querySelectorAll("style");o.call(E,function(t){t.textContent+=""}),e.parentNode.replaceChild(i,e),delete s[s.indexOf(e)],e=null,l++,u(i)}))},g=function(t,e,r){e=e||{};var n=e.evalScripts||"always",i=e.pngFallback||!1,a=e.each;if(void 0!==t.length){var l=0;o.call(t,function(e){h(e,n,i,function(e){a&&"function"==typeof a&&a(e),r&&t.length===++l&&r(l)})})}else t?h(t,n,i,function(e){a&&"function"==typeof a&&a(e),r&&r(1),t=null}):r&&r(0)};"object"==typeof module&&"object"==typeof module.exports?module.exports=exports=g:"function"==typeof define&&define.amd?define(function(){return g}):"object"==typeof t&&(t.SVGInjector=g)}(window,document);
|
||||
Vendored
+3
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user