Skip to content

Instantly share code, notes, and snippets.

@rhumlover
Created March 12, 2015 16:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rhumlover/6f33678235a71fcfb53a to your computer and use it in GitHub Desktop.
Save rhumlover/6f33678235a71fcfb53a to your computer and use it in GitHub Desktop.
(function(window, document, undefined) {
var YMHandlebars = function() {
var a = function() {
"use strict";
function a(a) {
this.string = a
}
var b;
return a.prototype.toString = function() {
return "" + this.string
}, b = a
}(),
b = function(a) {
"use strict";
function b(a) {
return h[a] || "&"
}
function c(a, b) {
for (var c in b) Object.prototype.hasOwnProperty.call(b, c) && (a[c] = b[c])
}
function d(a) {
return a instanceof g ? a.toString() : a || 0 === a ? (a = "" + a, j.test(a) ? a.replace(i, b) : a) : ""
}
function e(a) {
return a || 0 === a ? m(a) && 0 === a.length ? !0 : !1 : !0
}
var f = {},
g = a,
h = {
"&": "&",
"<": "&lt;",
">": "&gt;",
'"': "&quot;",
"'": "&#x27;",
"`": "&#x60;"
},
i = /[&<>"'`]/g,
j = /[&<>"'`]/;
f.extend = c;
var k = Object.prototype.toString;
f.toString = k;
var l = function(a) {
return "function" == typeof a
};
l(/x/) && (l = function(a) {
return "function" == typeof a && "[object Function]" === k.call(a)
});
var l;
f.isFunction = l;
var m = Array.isArray || function(a) {
return a && "object" == typeof a ? "[object Array]" === k.call(a) : !1
};
return f.isArray = m, f.escapeExpression = d, f.isEmpty = e, f
}(a),
c = function() {
"use strict";
function a(a, b) {
var d;
b && b.firstLine && (d = b.firstLine, a += " - " + d + ":" + b.firstColumn);
for (var e = Error.prototype.constructor.call(this, a), f = 0; f < c.length; f++) this[c[f]] = e[c[f]];
d && (this.lineNumber = d, this.column = b.firstColumn)
}
var b, c = ["description", "fileName", "lineNumber", "message", "name", "number", "stack"];
return a.prototype = new Error, b = a
}(),
d = function(a, b) {
"use strict";
function c(a, b) {
this.helpers = a || {}, this.partials = b || {}, d(this)
}
function d(a) {
a.registerHelper("helperMissing", function(a) {
if (2 === arguments.length) return void 0;
throw new h("Missing helper: '" + a + "'")
}), a.registerHelper("blockHelperMissing", function(b, c) {
var d = c.inverse || function() {},
e = c.fn;
return m(b) && (b = b.call(this)), b === !0 ? e(this) : b === !1 || null == b ? d(this) : l(b) ? b.length > 0 ? a.helpers.each(b, c) : d(this) : e(b)
}), a.registerHelper("each", function(a, b) {
var c, d = b.fn,
e = b.inverse,
f = 0,
g = "";
if (m(a) && (a = a.call(this)), b.data && (c = q(b.data)), a && "object" == typeof a)
if (l(a))
for (var h = a.length; h > f; f++) c && (c.index = f, c.first = 0 === f, c.last = f === a.length - 1), g += d(a[f], {
data: c
});
else
for (var i in a) a.hasOwnProperty(i) && (c && (c.key = i, c.index = f, c.first = 0 === f), g += d(a[i], {
data: c
}), f++);
return 0 === f && (g = e(this)), g
}), a.registerHelper("if", function(a, b) {
return m(a) && (a = a.call(this)), !b.hash.includeZero && !a || g.isEmpty(a) ? b.inverse(this) : b.fn(this)
}), a.registerHelper("unless", function(b, c) {
return a.helpers["if"].call(this, b, {
fn: c.inverse,
inverse: c.fn,
hash: c.hash
})
}), a.registerHelper("with", function(a, b) {
return m(a) && (a = a.call(this)), g.isEmpty(a) ? void 0 : b.fn(a)
}), a.registerHelper("log", function(b, c) {
var d = c.data && null != c.data.level ? parseInt(c.data.level, 10) : 1;
a.log(d, b)
})
}
function e(a, b) {
p.log(a, b)
}
var f = {},
g = a,
h = b,
i = "1.3.0";
f.VERSION = i;
var j = 4;
f.COMPILER_REVISION = j;
var k = {
1: "<= 1.0.rc.2",
2: "== 1.0.0-rc.3",
3: "== 1.0.0-rc.4",
4: ">= 1.0.0"
};
f.REVISION_CHANGES = k;
var l = g.isArray,
m = g.isFunction,
n = g.toString,
o = "[object Object]";
f.YMHandlebarsEnvironment = c, c.prototype = {
constructor: c,
logger: p,
log: e,
registerHelper: function(a, b, c) {
if (n.call(a) === o) {
if (c || b) throw new h("Arg not supported with multiple helpers");
g.extend(this.helpers, a)
} else c && (b.not = c), this.helpers[a] = b
},
registerPartial: function(a, b) {
n.call(a) === o ? g.extend(this.partials, a) : this.partials[a] = b
}
};
var p = {
methodMap: {
0: "debug",
1: "info",
2: "warn",
3: "error"
},
DEBUG: 0,
INFO: 1,
WARN: 2,
ERROR: 3,
level: 3,
log: function(a, b) {
if (p.level <= a) {
var c = p.methodMap[a];
"undefined" != typeof console && console[c] && console[c].call(console, b)
}
}
};
f.logger = p, f.log = e;
var q = function(a) {
var b = {};
return g.extend(b, a), b
};
return f.createFrame = q, f
}(b, c),
e = function(a, b, c) {
"use strict";
function d(a) {
var b = a && a[0] || 1,
c = m;
if (b !== c) {
if (c > b) {
var d = n[c],
e = n[b];
throw new l("Template was precompiled with an older version of YMHandlebars than the current runtime. Please update your precompiler to a newer version (" + d + ") or downgrade your runtime to an older version (" + e + ").")
}
throw new l("Template was precompiled with a newer version of YMHandlebars than the current runtime. Please update your runtime to a newer version (" + a[1] + ").")
}
}
function e(a, b) {
if (!b) throw new l("No environment passed to template");
var c = function(a, c, d, e, f, g) {
var h = b.VM.invokePartial.apply(this, arguments);
if (null != h) return h;
if (b.compile) {
var i = {
helpers: e,
partials: f,
data: g
};
return f[c] = b.compile(a, {
data: void 0 !== g
}, b), f[c](d, i)
}
throw new l("The partial " + c + " could not be compiled when running in runtime-only mode")
},
d = {
escapeExpression: k.escapeExpression,
invokePartial: c,
programs: [],
program: function(a, b, c) {
var d = this.programs[a];
return c ? d = g(a, b, c) : d || (d = this.programs[a] = g(a, b)), d
},
merge: function(a, b) {
var c = a || b;
return a && b && a !== b && (c = {}, k.extend(c, b), k.extend(c, a)), c
},
programWithDepth: b.VM.programWithDepth,
noop: b.VM.noop,
compilerInfo: null
};
return function(c, e) {
e = e || {};
var f, g, h = e.partial ? e : b;
e.partial || (f = e.helpers, g = e.partials);
var i = a.call(d, h, c, f, g, e.data);
return e.partial || b.VM.checkRevision(d.compilerInfo), i
}
}
function f(a, b, c) {
var d = Array.prototype.slice.call(arguments, 3),
e = function(a, e) {
return e = e || {}, b.apply(this, [a, e.data || c].concat(d))
};
return e.program = a, e.depth = d.length, e
}
function g(a, b, c) {
var d = function(a, d) {
return d = d || {}, b(a, d.data || c)
};
return d.program = a, d.depth = 0, d
}
function h(a, b, c, d, e, f) {
var g = {
partial: !0,
helpers: d,
partials: e,
data: f
};
if (void 0 === a) throw new l("The partial " + b + " could not be found");
return a instanceof Function ? a(c, g) : void 0
}
function i() {
return ""
}
var j = {},
k = a,
l = b,
m = c.COMPILER_REVISION,
n = c.REVISION_CHANGES;
return j.checkRevision = d, j.template = e, j.programWithDepth = f, j.program = g, j.invokePartial = h, j.noop = i, j
}(b, c, d),
f = function(a, b, c, d, e) {
"use strict";
var f, g = a,
h = b,
i = c,
j = d,
k = e,
l = function() {
var a = new g.YMHandlebarsEnvironment;
return j.extend(a, g), a.SafeString = h, a.Exception = i, a.Utils = j, a.VM = k, a.template = function(b) {
return k.template(b, a)
}, a
},
m = l();
return m.create = l, f = m
}(d, a, c, b, e);
return f
}();
! function() {
var a = YMHandlebars.template,
e = YMHandlebars.templates = YMHandlebars.templates || {};
e["10_single_app_fresher"] = a(function(a, e, t, o, i) {
function l(a) {
var e, t = "";
return t += '<div class="header"><span class="widget_title">', e = a && a.configs, e = null == e || e === !1 ? e : e.header_copy, e = typeof e === f ? e.apply(a) : e, (e || 0 === e) && (t += e), t += "</span></div>"
}
function r(a, e, o) {
var i, l, r, c = "";
return c += " ", l = t.isEqual || a && a.isEqual, r = {
hash: {},
inverse: _.noop,
fn: _.program(4, s, e),
data: e
}, i = l ? l.call(a, a && a.link_type, "call", r) : u.call(a, "isEqual", a && a.link_type, "call", r), (i || 0 === i) && (c += i), c += '<div class="app" id="', (l = t.cr_id) ? i = l.call(a, {
hash: {},
data: e
}) : (l = a && a.cr_id, i = typeof l === f ? l.call(a, {
hash: {},
data: e
}) : l), c += g(i) + '" app_store_id="' + g((i = a && a.configurables, i = null == i || i === !1 ? i : i.app_store_id, typeof i === f ? i.apply(a) : i)) + '" data-link_type="' + g((i = a && a.configurables, i = null == i || i === !1 ? i : i.link_type, typeof i === f ? i.apply(a) : i)) + '" data-href="' + g((i = a && a.actions, i = null == i || i === !1 ? i : i.primary, i = null == i || i === !1 ? i : i.tracker_url, typeof i === f ? i.apply(a) : i)) + '"><div class="app_title"><h3><a href="', i = t.unless.call(a, a && a.desensitize, {
hash: {},
inverse: _.program(8, p, e),
fn: _.program(6, n, e),
data: e
}), (i || 0 === i) && (c += i), c += '" target="_top"><span class="name">', (l = t.name) ? i = l.call(a, {
hash: {},
data: e
}) : (l = a && a.name, i = typeof l === f ? l.call(a, {
hash: {},
data: e
}) : l), (i || 0 === i) && (c += i), c += '</span><div class="sponsored">SPONSORED</div></a></h3></div><div class="icon_wrapper"><a href="', i = t.unless.call(a, a && a.desensitize, {
hash: {},
inverse: _.program(8, p, e),
fn: _.program(6, n, e),
data: e
}), (i || 0 === i) && (c += i), c += '" target="_top"><img class="icon" src="', (l = t.icon) ? i = l.call(a, {
hash: {},
data: e
}) : (l = a && a.icon, i = typeof l === f ? l.call(a, {
hash: {},
data: e
}) : l), c += g(i) + '"></a></div><div class="app_description"><div class="description"><a href="', i = t.unless.call(a, a && a.desensitize, {
hash: {},
inverse: _.program(8, p, e),
fn: _.program(6, n, e),
data: e
}), (i || 0 === i) && (c += i), c += '" target="_top"><span class="action_value">', (l = t.description) ? i = l.call(a, {
hash: {},
data: e
}) : (l = a && a.description, i = typeof l === f ? l.call(a, {
hash: {},
data: e
}) : l), (i || 0 === i) && (c += i), c += '</span></a></div><div class="footer_cta"><div class="cta_button_copy"><a class="link_type ', (l = t.link_type) ? i = l.call(a, {
hash: {},
data: e
}) : (l = a && a.link_type, i = typeof l === f ? l.call(a, {
hash: {},
data: e
}) : l), c += g(i) + '" href="' + g((i = a && a.actions, i = null == i || i === !1 ? i : i.primary, i = null == i || i === !1 ? i : i.tracker_url, typeof i === f ? i.apply(a) : i)) + '" target="_top">', (l = t.cta_button_copy) ? i = l.call(a, {
hash: {},
data: e
}) : (l = a && a.cta_button_copy, i = typeof l === f ? l.call(a, {
hash: {},
data: e
}) : l), (i || 0 === i) && (c += i), c += "</a></div></div></div>" + g((l = t.pixel || a && a.pixel, r = {
hash: {},
data: e
}, l ? l.call(a, a && a.pixel_url, r) : u.call(a, "pixel", a && a.pixel_url, r))) + " " + g((l = t.renderTPI || a && a.renderTPI, r = {
hash: {},
data: e
}, l ? l.call(a, a && a.tpi, a && a.cr_id, r) : u.call(a, "renderTPI", a && a.tpi, a && a.cr_id, r))) + " " + g((l = t.comscorePixel || o && o.comscorePixel, r = {
hash: {},
data: e
}, l ? l.call(a, o && o.cmspx, r) : u.call(a, "comscorePixel", o && o.cmspx, r))) + "</div>"
}
function s(a, e) {
var o, i, l = "";
return l += " " + g((o = t.def || a && a.def, i = {
hash: {},
data: e
}, o ? o.call(a, "desensitize", "true", i) : u.call(a, "def", "desensitize", "true", i))) + " "
}
function n(a) {
var e;
return g((e = a && a.actions, e = null == e || e === !1 ? e : e.primary, e = null == e || e === !1 ? e : e.tracker_url, typeof e === f ? e.apply(a) : e))
}
function p() {
return "javascript:void(0);"
}
this.compilerInfo = [4, ">= 1.0.0"], t = this.merge(t, a.helpers), i = i || {};
var c, d, h, m = "",
f = "function",
u = t.helperMissing,
g = this.escapeExpression,
_ = this,
b = t.blockHelperMissing;
return m += '<!DOCTYPE html><html><head><meta charset="UTF-8"><meta content="initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport"><style>body,html{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;padding:0;margin:0 auto;max-width:400px}a{text-decoration:none;color:#000;display:block;position:relative}.widget{width:100%;margin:0 auto;border-radius:8px}.widget_title{font-size:12px;text-transform:uppercase;color:#A2A2A2;font-weight:700}.header{height: 18px;line-height: 1em}.app{border:1px solid #d2d2d2;border-radius:3px;height:154px;overflow:hidden;background-color:#f3f3f3}.icon_wrapper{width:79px;height:79px;overflow:hidden;float:left;border-radius:15px;margin:15px 0 0 10px}.icon_wrapper img{height:auto;width:100%;border:0}.app_title h3{font-size:15px;position:relative;margin:13px 0 0 17px}.app_description{color:#000;font-size:13px;margin:10px 10px 0}.sponsored{color:#aeaeae;font-size:12px;font-weight:medium}.description{color:#000;font-size:13px;margin:16px 0 0 89px;width:auto;height:45px}.cta_button_copy{border:1px solid #007aff;border-radius:3px;padding:7px 12px;font-size:14px;font-weight:medium;text-align:center;float:right;display:block}.cta_button_copy a{color:#007aff}' + g((d = t.embedIconFont || e && e.embedIconFont, h = {
hash: {},
data: i
}, d ? d.call(e, !0, h) : u.call(e, "embedIconFont", !0, h))) + '</style></head><body class="format10"><style scoped="scoped" class="override_css">', (d = t.override_css) ? c = d.call(e, {
hash: {},
data: i
}) : (d = e && e.override_css, c = typeof d === f ? d.call(e, {
hash: {},
data: i
}) : d), (c || 0 === c) && (m += c), m += '</style><div class="widget">', d = t.isEqual || e && e.isEqual, h = {
hash: {},
inverse: _.noop,
fn: _.program(1, l, i),
data: i
}, c = d ? d.call(e, (c = e && e.configs, null == c || c === !1 ? c : c.hide_header), "false", h) : u.call(e, "isEqual", (c = e && e.configs, null == c || c === !1 ? c : c.hide_header), "false", h), (c || 0 === c) && (m += c), m += " ", h = {
hash: {},
inverse: _.noop,
fn: _.programWithDepth(3, r, i, e),
data: i
}, (d = t.ads) ? c = d.call(e, h) : (d = e && e.ads, c = typeof d === f ? d.call(e, h) : d), t.ads || (c = b.call(e, c, {
hash: {},
inverse: _.noop,
fn: _.programWithDepth(3, r, i, e),
data: i
})), (c || 0 === c) && (m += c), m += "</div></body></html>"
}), e["11_takeover"] = a(function(a, e, t, o, i) {
function l(a, e, o) {
var i, l, r, s = "";
return s += '<div class="app" id="', (l = t.cr_id) ? i = l.call(a, {
hash: {},
data: e
}) : (l = a && a.cr_id, i = typeof l === c ? l.call(a, {
hash: {},
data: e
}) : l), s += d(i) + '" app_store_id="' + d((i = a && a.configurables, i = null == i || i === !1 ? i : i.app_store_id, typeof i === c ? i.apply(a) : i)) + '" data-link_type="' + d((i = a && a.configurables, i = null == i || i === !1 ? i : i.link_type, typeof i === c ? i.apply(a) : i)) + '" data-href="' + d((i = a && a.actions, i = null == i || i === !1 ? i : i.primary, i = null == i || i === !1 ? i : i.tracker_url, typeof i === c ? i.apply(a) : i)) + '"><a href="' + d((i = a && a.actions, i = null == i || i === !1 ? i : i.primary, i = null == i || i === !1 ? i : i.tracker_url, typeof i === c ? i.apply(a) : i)) + '" target="_top"><img class="icon" src="', (l = t.icon) ? i = l.call(a, {
hash: {},
data: e
}) : (l = a && a.icon, i = typeof l === c ? l.call(a, {
hash: {},
data: e
}) : l), s += d(i) + '"></a></div>' + d((l = t.pixel || a && a.pixel, r = {
hash: {},
data: e
}, l ? l.call(a, a && a.pixel_url, r) : h.call(a, "pixel", a && a.pixel_url, r))) + " " + d((l = t.renderTPI || a && a.renderTPI, r = {
hash: {},
data: e
}, l ? l.call(a, a && a.tpi, a && a.cr_id, r) : h.call(a, "renderTPI", a && a.tpi, a && a.cr_id, r))) + " " + d((l = t.comscorePixel || o && o.comscorePixel, r = {
hash: {},
data: e
}, l ? l.call(a, o && o.cmspx, r) : h.call(a, "comscorePixel", o && o.cmspx, r))) + " "
}
this.compilerInfo = [4, ">= 1.0.0"], t = this.merge(t, a.helpers), i = i || {};
var r, s, n, p = "",
c = "function",
d = this.escapeExpression,
h = t.helperMissing,
m = this,
f = t.blockHelperMissing;
return p += '<!DOCTYPE html><html><head><meta charset="UTF-8"><meta content="initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport"><style>body,html{margin:0 auto;line-height:inherit}.app a,img{display:block}.app img{margin:0 auto;max-width:320px;border:0}</style></head><body class="format11"><style scoped="scoped" class="override_css">', (s = t.override_css) ? r = s.call(e, {
hash: {},
data: i
}) : (s = e && e.override_css, r = typeof s === c ? s.call(e, {
hash: {},
data: i
}) : s), (r || 0 === r) && (p += r), p += '</style><div class="widget">', n = {
hash: {},
inverse: m.noop,
fn: m.programWithDepth(1, l, i, e),
data: i
}, (s = t.ads) ? r = s.call(e, n) : (s = e && e.ads, r = typeof s === c ? s.call(e, n) : s), t.ads || (r = f.call(e, r, {
hash: {},
inverse: m.noop,
fn: m.programWithDepth(1, l, i, e),
data: i
})), (r || 0 === r) && (p += r), p += "</div></body></html>"
}), e["12_coverimage"] = a(function(a, e, t, o, i) {
function l(a) {
var e, t = "";
return t += '<div class="header"><span class="widget_title">', e = a && a.configs, e = null == e || e === !1 ? e : e.header_copy, e = typeof e === d ? e.apply(a) : e, (e || 0 === e) && (t += e), t += "</span></div>"
}
function r(a, e, o) {
var i, l, r, s = "";
return s += '<div class="app" id="', (l = t.cr_id) ? i = l.call(a, {
hash: {},
data: e
}) : (l = a && a.cr_id, i = typeof l === d ? l.call(a, {
hash: {},
data: e
}) : l), s += h(i) + '" app_store_id="' + h((i = a && a.configurables, i = null == i || i === !1 ? i : i.app_store_id, typeof i === d ? i.apply(a) : i)) + '" data-link_type="' + h((i = a && a.configurables, i = null == i || i === !1 ? i : i.link_type, typeof i === d ? i.apply(a) : i)) + '" data-href="' + h((i = a && a.actions, i = null == i || i === !1 ? i : i.primary, i = null == i || i === !1 ? i : i.tracker_url, typeof i === d ? i.apply(a) : i)) + '"><div class="cover-photo"><a href="' + h((i = a && a.actions, i = null == i || i === !1 ? i : i.primary, i = null == i || i === !1 ? i : i.tracker_url, typeof i === d ? i.apply(a) : i)) + '" target="_top"><img class="cover_image" src="', (l = t.cover_image) ? i = l.call(a, {
hash: {},
data: e
}) : (l = a && a.cover_image, i = typeof l === d ? l.call(a, {
hash: {},
data: e
}) : l), s += h(i) + '"></a></div><div class="content"><div class="description-wrap"><table><tbody><tr><td height="45" valign="middle"><div class="description"><a class="action_value" href="' + h((i = a && a.actions, i = null == i || i === !1 ? i : i.primary, i = null == i || i === !1 ? i : i.tracker_url, typeof i === d ? i.apply(a) : i)) + '" target="_top">', (l = t.description) ? i = l.call(a, {
hash: {},
data: e
}) : (l = a && a.description, i = typeof l === d ? l.call(a, {
hash: {},
data: e
}) : l), (i || 0 === i) && (s += i), s += '</a></div></td></tr></tbody></table></div><div class="cta_button_copy"><a class="link_type ', (l = t.link_type) ? i = l.call(a, {
hash: {},
data: e
}) : (l = a && a.link_type, i = typeof l === d ? l.call(a, {
hash: {},
data: e
}) : l), s += h(i) + ' action action_value" href="' + h((i = a && a.actions, i = null == i || i === !1 ? i : i.primary, i = null == i || i === !1 ? i : i.tracker_url, typeof i === d ? i.apply(a) : i)) + '" target="_top">', (l = t.cta_button_copy) ? i = l.call(a, {
hash: {},
data: e
}) : (l = a && a.cta_button_copy, i = typeof l === d ? l.call(a, {
hash: {},
data: e
}) : l), (i || 0 === i) && (s += i), s += "</a></div></div></div>" + h((l = t.pixel || a && a.pixel, r = {
hash: {},
data: e
}, l ? l.call(a, a && a.pixel_url, r) : m.call(a, "pixel", a && a.pixel_url, r))) + " " + h((l = t.renderTPI || a && a.renderTPI, r = {
hash: {},
data: e
}, l ? l.call(a, a && a.tpi, a && a.cr_id, r) : m.call(a, "renderTPI", a && a.tpi, a && a.cr_id, r))) + " " + h((l = t.comscorePixel || o && o.comscorePixel, r = {
hash: {},
data: e
}, l ? l.call(a, o && o.cmspx, r) : m.call(a, "comscorePixel", o && o.cmspx, r))) + " "
}
this.compilerInfo = [4, ">= 1.0.0"], t = this.merge(t, a.helpers), i = i || {};
var s, n, p, c = "",
d = "function",
h = this.escapeExpression,
m = t.helperMissing,
f = this,
u = t.blockHelperMissing;
return c += '<!DOCTYPE html><html><head><meta charset="UTF-8"><meta content="initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport"><style>body,html{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;padding:0;margin:0 auto;width:280px}a{text-decoration:none;color:#000;display:block}.widget{width:100%;margin:0 auto;border-radius:8px}.header{height:20px;line-height:1em}.widget_title{font-size:12px;color:#525252;text-transform:uppercase;font-weight:700}.app{border:1px solid #d2d2d2;border-radius:3px;overflow:hidden;background:#FAFAFA;position:relative}.cover-photo{height:105px;width:100%;margin:0 auto;position:relative}.cover-photo img{height:105px;width:280px}.content{position:relative;height:55px}.description-wrap{position:absolute;left:5px;top:3px;width:140px}.description{font-size:11px;color:#000;line-height:1.2em}.cta_button_copy{border:1px solid #007aff;border-radius:3px;font-size:14px;position:absolute;right:10px;top:12px;max-width:123px}.cta_button_copy a{color:#007aff;padding:7px}' + h((n = t.embedIconFont || e && e.embedIconFont, p = {
hash: {},
data: i
}, n ? n.call(e, !0, p) : m.call(e, "embedIconFont", !0, p))) + '</style></head><body><style scoped="scoped" class="override_css">', (n = t.override_css) ? s = n.call(e, {
hash: {},
data: i
}) : (n = e && e.override_css, s = typeof n === d ? n.call(e, {
hash: {},
data: i
}) : n), (s || 0 === s) && (c += s), c += '</style><div class="widget">', n = t.isEqual || e && e.isEqual, p = {
hash: {},
inverse: f.noop,
fn: f.program(1, l, i),
data: i
}, s = n ? n.call(e, (s = e && e.configs, null == s || s === !1 ? s : s.hide_header), "false", p) : m.call(e, "isEqual", (s = e && e.configs, null == s || s === !1 ? s : s.hide_header), "false", p), (s || 0 === s) && (c += s), c += " ", p = {
hash: {},
inverse: f.noop,
fn: f.programWithDepth(3, r, i, e),
data: i
}, (n = t.ads) ? s = n.call(e, p) : (n = e && e.ads, s = typeof n === d ? n.call(e, p) : n), t.ads || (s = u.call(e, s, {
hash: {},
inverse: f.noop,
fn: f.programWithDepth(3, r, i, e),
data: i
})), (s || 0 === s) && (c += s), c += "</div></body></html>"
}), e["13_swipe"] = a(function(a, e, t, o, i) {
function l(a, e, o) {
var i, l, s, n = "";
return n += '<header><table class="lockup"><tbody><tr><td class="logo"><a href="' + m((i = a && a.actions, i = null == i || i === !1 ? i : i.primary, i = null == i || i === !1 ? i : i.tracker_url, typeof i === h ? i.apply(a) : i)) + '" target="_top"><img src="', (l = t.swipe_header_logo) ? i = l.call(a, {
hash: {},
data: e
}) : (l = a && a.swipe_header_logo, i = typeof l === h ? l.call(a, {
hash: {},
data: e
}) : l), n += m(i) + '"></a></td><td><p class="tag-line" style="color:', (l = t.header_lockup_text_color) ? i = l.call(a, {
hash: {},
data: e
}) : (l = a && a.header_lockup_text_color, i = typeof l === h ? l.call(a, {
hash: {},
data: e
}) : l), n += m(i) + '">', (l = t.header_tagline) ? i = l.call(a, {
hash: {},
data: e
}) : (l = a && a.header_tagline, i = typeof l === h ? l.call(a, {
hash: {},
data: e
}) : l), (i || 0 === i) && (n += i), n += '</p></td></tr></tbody></table><a class="cta" href="' + m((i = a && a.actions, i = null == i || i === !1 ? i : i.primary, i = null == i || i === !1 ? i : i.tracker_url, typeof i === h ? i.apply(a) : i)) + '" target="_top" style="background:', (l = t.header_cta_color) ? i = l.call(a, {
hash: {},
data: e
}) : (l = a && a.header_cta_color, i = typeof l === h ? l.call(a, {
hash: {},
data: e
}) : l), n += m(i) + ";color:", (l = t.header_cta_text_color) ? i = l.call(a, {
hash: {},
data: e
}) : (l = a && a.header_cta_text_color, i = typeof l === h ? l.call(a, {
hash: {},
data: e
}) : l), n += m(i) + '">', (l = t.header_cta_copy) ? i = l.call(a, {
hash: {},
data: e
}) : (l = a && a.header_cta_copy, i = typeof l === h ? l.call(a, {
hash: {},
data: e
}) : l), (i || 0 === i) && (n += i), n += '</a></header><div id="swiper-container" class="swiper-container"><div id="swiper-wrapper" class="swiper-wrapper">', s = {
hash: {},
inverse: f.noop,
fn: f.program(2, r, e),
data: e
}, (l = t.items) ? i = l.call(a, s) : (l = a && a.items, i = typeof l === h ? l.call(a, s) : l), t.items || (i = u.call(a, i, {
hash: {},
inverse: f.noop,
fn: f.program(2, r, e),
data: e
})), (i || 0 === i) && (n += i), n += "</div></div>" + m((l = t.pixel || a && a.pixel, s = {
hash: {},
data: e
}, l ? l.call(a, a && a.pixel_url, s) : g.call(a, "pixel", a && a.pixel_url, s))) + " " + m((l = t.renderTPI || a && a.renderTPI, s = {
hash: {},
data: e
}, l ? l.call(a, a && a.tpi, a && a.cr_id, s) : g.call(a, "renderTPI", a && a.tpi, a && a.cr_id, s))) + " " + m((l = t.comscorePixel || o && o.comscorePixel, s = {
hash: {},
data: e
}, l ? l.call(a, o && o.cmspx, s) : g.call(a, "comscorePixel", o && o.cmspx, s))) + " "
}
function r(a, e) {
var o, i, l = "";
return l += '<div class="swiper-slide"><div class="details-wrap"><a class="item-image" href="" target="_top"><img src="', (i = t.icon) ? o = i.call(a, {
hash: {},
data: e
}) : (i = a && a.icon, o = typeof i === h ? i.call(a, {
hash: {},
data: e
}) : i), l += m(o) + '" width="85"></a><div class="item-details"><a class="title" href="" target="_top">', (i = t.title) ? o = i.call(a, {
hash: {},
data: e
}) : (i = a && a.title, o = typeof i === h ? i.call(a, {
hash: {},
data: e
}) : i), (o || 0 === o) && (l += o), l += '</a> <a class="sub-title" href="" target="_top">', (i = t.subtitle) ? o = i.call(a, {
hash: {},
data: e
}) : (i = a && a.subtitle, o = typeof i === h ? i.call(a, {
hash: {},
data: e
}) : i), (o || 0 === o) && (l += o), l += '</a></div></div><div class="v-rule"></div></div>'
}
function s(a, e) {
var o, i, l = "";
return l += " '", o = null == e || e === !1 ? e : e.key, o = typeof o === h ? o.apply(a) : o, (o || 0 === o) && (l += o), l += "' :'", (i = t.tracker_url) ? o = i.call(a, {
hash: {},
data: e
}) : (i = a && a.tracker_url, o = typeof i === h ? i.call(a, {
hash: {},
data: e
}) : i), l += m(o) + "',"
}
this.compilerInfo = [4, ">= 1.0.0"], t = this.merge(t, a.helpers), i = i || {};
var n, p, c, d = "",
h = "function",
m = this.escapeExpression,
f = this,
u = t.blockHelperMissing,
g = t.helperMissing;
return d += '<!DOCTYPE html><html><head><meta charset="UTF-8"><meta content="initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport"><style>body,html{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;padding:0;margin:0 auto;width:280px;overflow:hidden}p{-webkit-margin-before:0;-webkit-margin-after:0;-webkit-margin-start:0;-webkit-margin-end:0}a{text-decoration:none;color:#000;display:block}table{border-spacing:0;border:0}.app{border:1px solid #d2d2d2;height:170px;overflow:hidden;background-color:#f3f3f3}.widget{margin:0 auto}.widget header{height:30px;width:100%;border-bottom:1px solid #DADADA;border-top:1px solid #DADADA}.widget header table.lockup{width:60%;float:left;border-spacing:0}.widget header table.lockup td{height:30px;padding:0;vertical-align:middle}.widget header .lockup td.logo{width:1px}.widget header .lockup td.logo a img{max-height:30px;max-width:70px;vertical-align:middle}.widget header .lockup .tag-line{font-size:11px;font-weight:700;color:#000;padding:0 0 0 5px}.widget header .cta{padding:0 10px;height:28px;font-size:13px;font-weight:700;text-align:center;background:#E6E6E6;line-height:2.2em;border-radius:3px;float:right;max-width:33%;margin-top:1px}.swiper-container{height:147px;width:100%;clear:both;border-bottom:1px solid #DADADA;position:relative;overflow:hidden;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden;-o-backface-visibility:hidden;backface-visibility:hidden;z-index:1}.swiper-wrapper{position:relative;width:100%;-webkit-transition-property:-webkit-transform,left,top;-webkit-transition-duration:0s;-webkit-transform:translate3d(0px,0,0);-webkit-transition-timing-function:ease;-moz-transition-property:-moz-transform,left,top;-moz-transition-duration:0s;-moz-transform:translate3d(0px,0,0);-moz-transition-timing-function:ease;-o-transition-property:-o-transform,left,top;-o-transition-duration:0s;-o-transition-timing-function:ease;-o-transform:translate(0px,0);-ms-transition-property:-ms-transform,left,top;-ms-transition-duration:0s;-ms-transform:translate3d(0px,0,0);-ms-transition-timing-function:ease;transition-property:transform,left,top;transition-duration:0s;transform:translate3d(0px,0,0);transition-timing-function:ease;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.swiper-free-mode>.swiper-wrapper{-webkit-transition-timing-function:ease-out;-moz-transition-timing-function:ease-out;-ms-transition-timing-function:ease-out;-o-transition-timing-function:ease-out;transition-timing-function:ease-out;margin:0 auto}.swiper-wp8-horizontal{-ms-touch-action:pan-y}.swiper-wp8-vertical{-ms-touch-action:pan-x}.swiper-slide{float:left;position:relative;width:115px;padding:8px 0 0}.swiper-slide .v-rule{position:absolute;right:15px;height:110px;width:1px;background:#BCBCBC;top:17px}.swiper-slide:last-child{width:90px}.swiper-slide:last-child .v-rule{display:none}.item-image{height:85px}.item-details{width:90px}.item-details .title{font-size:11px;color:#2862D7;height:29px;overflow:hidden;line-height:1.2em;margin-top:3px}.item-details .sub-title{font-size:12px;color:#CB0A17}</style></head><body class="format13"><style scoped="scoped" class="override_css">', (p = t.override_css) ? n = p.call(e, {
hash: {},
data: i
}) : (p = e && e.override_css, n = typeof p === h ? p.call(e, {
hash: {},
data: i
}) : p), (n || 0 === n) && (d += n), d += '</style><div class="widget">', c = {
hash: {},
inverse: f.noop,
fn: f.programWithDepth(1, l, i, e),
data: i
}, (p = t.ads) ? n = p.call(e, c) : (p = e && e.ads, n = typeof p === h ? p.call(e, c) : p), t.ads || (n = u.call(e, n, {
hash: {},
inverse: f.noop,
fn: f.programWithDepth(1, l, i, e),
data: i
})), (n || 0 === n) && (d += n), d += '<script src="http://static.yieldmo.com/scripts/swiper.min.js"></script><script>function initFormat(){window.swiper=new Swiper(".swiper-container",{mode:"horizontal",loop:false,slidesPerView:"auto",onSlideChangeStart:onSlideStart.bind(this),onTouchEnd:onSlideEnd.bind(this),onImagesReady:setItemLinks.bind(this)})}function trackSwipe(e,t){if(typeof parent._ym==="undefined"){return}var n,r,i;n=parent._ym.data[0].params.pv;r=parent._ym.data[0].params.pvt;i=parent._ym.data[0].params.page_url;var s="//ads.yieldmo.com/v000/t_tkr/ev?"+"type=s&stime="+eventStartTime+"&etime="+(new Date).getTime()+"&pvid="+n+"&plid=', (p = t.placement_id) ? n = p.call(e, {
hash: {},
data: i
}) : (p = e && e.placement_id, n = typeof p === h ? p.call(e, {
hash: {},
data: i
}) : p), d += m(n) + '&pvt="+r+"&url="+i+"&y="+(t||0)+"&x="+(e||0);window.parent._ym.addScriptTag(s)}function onSlideStart(){eventStartTime=(new Date).getTime()}function onSlideEnd(){if(swipeCount===0){trackSwipe(window.swiper.touches.currentX,window.swiper.touches.currentY)}swipeCount+=1}function setItemLinks(){var e=document.getElementsByClassName("swiper-slide");var t=window.itemURLs["primary"];for(var n=0;n<e.length;n++){var r=e[n].getElementsByTagName("a");for(var i=0;i<r.length;i++){r[i].setAttribute("href",window.itemURLs["item_"+n]||t)}}}var eventStartTime,swipeCount=0,itemURLs={ ', n = t.each.call(e, (n = e && e.ads, n = null == n || n === !1 ? n : n[0], null == n || n === !1 ? n : n.actions), {
hash: {},
inverse: f.noop,
fn: f.program(4, s, i),
data: i
}), (n || 0 === n) && (d += n), d += ' };if(document.addEventListener){document.addEventListener("DOMContentLoaded",initFormat)}else if(document.attachEvent){document.attachEvent("onload",initFormat)}</script></div></body></html>'
}), e["6_promoted_app"] = a(function(a, e, t, o, i) {
function l(a) {
var e, t = "";
return t += '<div class="header"><span class="widget_title">', e = a && a.configs, e = null == e || e === !1 ? e : e.header_copy, e = typeof e === u ? e.apply(a) : e, (e || 0 === e) && (t += e), t += '</span> <span class="fold"><span class="fold-inner"></span></span></div>'
}
function r(a, e, o) {
var i, l, r, d = "";
return d += ' <style data-style-template=".promo_ribbon_copy { background: [promo_ribbon_color] !important;}" class="promo_ribbon_color"></style>', l = t.isEqual || a && a.isEqual, r = {
hash: {},
inverse: b.noop,
fn: b.program(4, s, e),
data: e
}, i = l ? l.call(a, a && a.link_type, "call", r) : g.call(a, "isEqual", a && a.link_type, "call", r), (i || 0 === i) && (d += i), d += '<div class="app" id="', (l = t.cr_id) ? i = l.call(a, {
hash: {},
data: e
}) : (l = a && a.cr_id, i = typeof l === u ? l.call(a, {
hash: {},
data: e
}) : l), d += _(i) + '" app_store_id="' + _((i = a && a.configurables, i = null == i || i === !1 ? i : i.app_store_id, typeof i === u ? i.apply(a) : i)) + '" data-link_type="' + _((i = a && a.configurables, i = null == i || i === !1 ? i : i.link_type, typeof i === u ? i.apply(a) : i)) + '" data-href="' + _((i = a && a.actions, i = null == i || i === !1 ? i : i.primary, i = null == i || i === !1 ? i : i.tracker_url, typeof i === u ? i.apply(a) : i)) + '"><a class="action_value" href="', i = t.unless.call(a, a && a.desensitize, {
hash: {},
inverse: b.program(8, p, e),
fn: b.program(6, n, e),
data: e
}), (i || 0 === i) && (d += i), d += '" target="_top">', l = t.isEqual || a && a.isEqual, r = {
hash: {},
inverse: b.noop,
fn: b.program(10, c, e),
data: e
}, i = l ? l.call(a, a && a.show_promo_ribbon, "true", r) : g.call(a, "isEqual", a && a.show_promo_ribbon, "true", r), (i || 0 === i) && (d += i), d += '</a><div class="icon-wrapper"><a class="action_value" href="', i = t.unless.call(a, a && a.desensitize, {
hash: {},
inverse: b.program(8, p, e),
fn: b.program(6, n, e),
data: e
}), (i || 0 === i) && (d += i), d += '" target="_top"><img class="icon" src="', (l = t.icon) ? i = l.call(a, {
hash: {},
data: e
}) : (l = a && a.icon, i = typeof l === u ? l.call(a, {
hash: {},
data: e
}) : l), d += _(i) + '"></a></div><div class="content"><h3><a class="action_value" href="', i = t.unless.call(a, a && a.desensitize, {
hash: {},
inverse: b.program(8, p, e),
fn: b.program(6, n, e),
data: e
}), (i || 0 === i) && (d += i), d += '" target="_top"><span class="name">', (l = t.name) ? i = l.call(a, {
hash: {},
data: e
}) : (l = a && a.name, i = typeof l === u ? l.call(a, {
hash: {},
data: e
}) : l), (i || 0 === i) && (d += i), d += '</span></a></h3><div class="description"><a class="action_value" href="', i = t.unless.call(a, a && a.desensitize, {
hash: {},
inverse: b.program(8, p, e),
fn: b.program(6, n, e),
data: e
}), (i || 0 === i) && (d += i), d += '" target="_top">', (l = t.description) ? i = l.call(a, {
hash: {},
data: e
}) : (l = a && a.description, i = typeof l === u ? l.call(a, {
hash: {},
data: e
}) : l), (i || 0 === i) && (d += i), d += '</a></div></div><a class="action action_value link_type ', (l = t.link_type) ? i = l.call(a, {
hash: {},
data: e
}) : (l = a && a.link_type, i = typeof l === u ? l.call(a, {
hash: {},
data: e
}) : l), d += _(i) + '" href="' + _((i = a && a.actions, i = null == i || i === !1 ? i : i.primary, i = null == i || i === !1 ? i : i.tracker_url, typeof i === u ? i.apply(a) : i)) + '" target="_top"></a> ' + _((l = t.pixel || a && a.pixel, r = {
hash: {},
data: e
}, l ? l.call(a, a && a.pixel_url, r) : g.call(a, "pixel", a && a.pixel_url, r))) + " " + _((l = t.renderTPI || a && a.renderTPI, r = {
hash: {},
data: e
}, l ? l.call(a, a && a.tpi, a && a.cr_id, r) : g.call(a, "renderTPI", a && a.tpi, a && a.cr_id, r))) + " " + _((l = t.comscorePixel || o && o.comscorePixel, r = {
hash: {},
data: e
}, l ? l.call(a, o && o.cmspx, r) : g.call(a, "comscorePixel", o && o.cmspx, r))) + "</div>"
}
function s(a, e) {
var o, i, l = "";
return l += " " + _((o = t.def || a && a.def, i = {
hash: {},
data: e
}, o ? o.call(a, "desensitize", "true", i) : g.call(a, "def", "desensitize", "true", i))) + " "
}
function n(a) {
var e;
return _((e = a && a.actions, e = null == e || e === !1 ? e : e.primary, e = null == e || e === !1 ? e : e.tracker_url, typeof e === u ? e.apply(a) : e))
}
function p() {
return "javascript:void(0);"
}
function c(a, e) {
var o, i, l = "";
return l += '<div class="promo_ribbon_wrap"><div class="promo_ribbon_copy" style="background: ', (i = t.promo_ribbon_color) ? o = i.call(a, {
hash: {},
data: e
}) : (i = a && a.promo_ribbon_color, o = typeof i === u ? i.call(a, {
hash: {},
data: e
}) : i), (o || 0 === o) && (l += o), l += '">', (i = t.promo_ribbon_copy) ? o = i.call(a, {
hash: {},
data: e
}) : (i = a && a.promo_ribbon_copy, o = typeof i === u ? i.call(a, {
hash: {},
data: e
}) : i), (o || 0 === o) && (l += o), l += "</div></div>"
}
this.compilerInfo = [4, ">= 1.0.0"], t = this.merge(t, a.helpers), i = i || {};
var d, h, m, f = "",
u = "function",
g = t.helperMissing,
_ = this.escapeExpression,
b = this,
x = t.blockHelperMissing;
return f += '<!DOCTYPE html><html><head><meta charset="UTF-8"><meta content="initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport"><style>body,html{font-family:Arial,sans-serif;padding:0;margin:0}a{text-decoration:none;color:#000;display:block;position:relative}.widget{margin:0;border-bottom:1px solid #A2A2A2;min-width:200px}.widget_title{font-size:12px;font-weight:700;padding:10px 0 5px;display:block;text-transform:uppercase}.header{color:#757575;height:30px;line-height:1em}.app{height:70px;width:100%;border-top:1px solid #A2A2A2;position:relative}.icon-wrapper{width:50px;height:50px;margin-left:10px;margin-top:10px;display:block;float:left;border-radius:16%;-moz-border-radius:16%;-webkit-border-radius:16%;box-shadow:0 0 5px #000;overflow:hidden}.icon-wrapper img{height:100%;width:100%;border-radius:16%;-moz-border-radius:16%;-webkit-border-radius:16%;border:0}.content{position:absolute;left:68px;right:40px;top:10px}.content h3{color:#fff;margin-top:0;margin-bottom:1px}.content h3 a{font-weight:700;font-size:14px}.description{line-height:13px}.description a{font-size:12px}.action{position:absolute;top:16px;right:0;display:block;font-size:32px;color:#CCC}.fold,.fold-inner{display:none}.promo_ribbon_wrap{width:55px;height:55px;overflow:hidden;position:absolute;top:0;left:-1px;z-index:500}.promo_ribbon_copy{background-color:#00A5FF;font-size:10px;font-weight:700;text-align:center;position:relative;padding:2px 0;left:-37px;top:8px;width:116px;color:#fff;-webkit-box-shadow:0 0 3px rgba(0,0,0,.3);-moz-box-shadow:0 0 3px rgba(0,0,0,.3);box-shadow:0 0 3px rgba(0,0,0,.3);-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);-ms-transform:rotate(-45deg);-o-transform:rotate(-45deg)}' + _((h = t.embedIconFont || e && e.embedIconFont, m = {
hash: {},
data: i
}, h ? h.call(e, !1, m) : g.call(e, "embedIconFont", !1, m))) + '@media screen and (max-width:285px){.app .action{font-size:26px}.app .description a{font-size:11px}.app .icon-wrapper{margin-left:6px}.app .content{left:65px;min-width:163px}.app .content h3 a{font-size:13px}}@media screen and (max-width:255px){.app .action{font-size:26px}.app .description a{font-size:10px;line-height:10px}.app .icon-wrapper{margin-left:5px}.app .content{min-width:110px;left:63px}.app .content h3 a{font-size:11px}}@media screen and (max-width:215px){.app .action{font-size:22px;top:10px;}.app .content{min-width:117px;}}</style></head><body class="format6"><style scoped="scoped" class="override_css">', (h = t.override_css) ? d = h.call(e, {
hash: {},
data: i
}) : (h = e && e.override_css, d = typeof h === u ? h.call(e, {
hash: {},
data: i
}) : h), (d || 0 === d) && (f += d), f += '</style><div class="widget">', h = t.isEqual || e && e.isEqual, m = {
hash: {},
inverse: b.noop,
fn: b.program(1, l, i),
data: i
}, d = h ? h.call(e, (d = e && e.configs, null == d || d === !1 ? d : d.hide_header), "false", m) : g.call(e, "isEqual", (d = e && e.configs, null == d || d === !1 ? d : d.hide_header), "false", m), (d || 0 === d) && (f += d), f += " ", m = {
hash: {},
inverse: b.noop,
fn: b.programWithDepth(3, r, i, e),
data: i
}, (h = t.ads) ? d = h.call(e, m) : (h = e && e.ads, d = typeof h === u ? h.call(e, m) : h), t.ads || (d = x.call(e, d, {
hash: {},
inverse: b.noop,
fn: b.programWithDepth(3, r, i, e),
data: i
})), (d || 0 === d) && (f += d), f += "</div></body></html>"
}), e["7_single_app"] = a(function(a, e, t, o, i) {
function l(a) {
var e, t = "";
return t += '<div class="header"><span class="widget_title">', e = a && a.configs, e = null == e || e === !1 ? e : e.header_copy, e = typeof e === u ? e.apply(a) : e, (e || 0 === e) && (t += e), t += "</span></div>"
}
function r(a, e, o) {
var i, l, r, d = "";
return d += ' <style data-style-template=".promo_ribbon_copy { background: [promo_ribbon_color] !important;}" class="promo_ribbon_color"></style>', l = t.isEqual || a && a.isEqual, r = {
hash: {},
inverse: b.noop,
fn: b.program(4, s, e),
data: e
}, i = l ? l.call(a, a && a.link_type, "call", r) : g.call(a, "isEqual", a && a.link_type, "call", r), (i || 0 === i) && (d += i), d += '<div class="app" id="', (l = t.cr_id) ? i = l.call(a, {
hash: {},
data: e
}) : (l = a && a.cr_id, i = typeof l === u ? l.call(a, {
hash: {},
data: e
}) : l), d += _(i) + '" app_store_id="' + _((i = a && a.configurables, i = null == i || i === !1 ? i : i.app_store_id, typeof i === u ? i.apply(a) : i)) + '" data-link_type="' + _((i = a && a.configurables, i = null == i || i === !1 ? i : i.link_type, typeof i === u ? i.apply(a) : i)) + '" data-href="' + _((i = a && a.actions, i = null == i || i === !1 ? i : i.primary, i = null == i || i === !1 ? i : i.tracker_url, typeof i === u ? i.apply(a) : i)) + '"><div class="icon_wrapper"><a href="', i = t.unless.call(a, a && a.desensitize, {
hash: {},
inverse: b.program(8, p, e),
fn: b.program(6, n, e),
data: e
}), (i || 0 === i) && (d += i), d += '" target="_top">', l = t.isEqual || a && a.isEqual, r = {
hash: {},
inverse: b.noop,
fn: b.program(10, c, e),
data: e
}, i = l ? l.call(a, a && a.show_promo_ribbon, "true", r) : g.call(a, "isEqual", a && a.show_promo_ribbon, "true", r), (i || 0 === i) && (d += i), d += ' <img class="icon" src="', (l = t.icon) ? i = l.call(a, {
hash: {},
data: e
}) : (l = a && a.icon, i = typeof l === u ? l.call(a, {
hash: {},
data: e
}) : l), d += _(i) + '"></a></div><div class="content"><h3><a href="', i = t.unless.call(a, a && a.desensitize, {
hash: {},
inverse: b.program(8, p, e),
fn: b.program(6, n, e),
data: e
}), (i || 0 === i) && (d += i), d += '" target="_top"><span class="name">', (l = t.name) ? i = l.call(a, {
hash: {},
data: e
}) : (l = a && a.name, i = typeof l === u ? l.call(a, {
hash: {},
data: e
}) : l), (i || 0 === i) && (d += i), d += '</span></a></h3><div class="description"><a href="', i = t.unless.call(a, a && a.desensitize, {
hash: {},
inverse: b.program(8, p, e),
fn: b.program(6, n, e),
data: e
}), (i || 0 === i) && (d += i), d += '" target="_top"><span class="action_value">', (l = t.description) ? i = l.call(a, {
hash: {},
data: e
}) : (l = a && a.description, i = typeof l === u ? l.call(a, {
hash: {},
data: e
}) : l), (i || 0 === i) && (d += i), d += '</span></a></div></div><div class="footer_cta"><div class="name_meta"><a href="', i = t.unless.call(a, a && a.desensitize, {
hash: {},
inverse: b.program(8, p, e),
fn: b.program(6, n, e),
data: e
}), (i || 0 === i) && (d += i), d += '" target="_top"><span class="footer_name">', (l = t.footer_name) ? i = l.call(a, {
hash: {},
data: e
}) : (l = a && a.footer_name, i = typeof l === u ? l.call(a, {
hash: {},
data: e
}) : l), (i || 0 === i) && (d += i), d += '</span></a></div><div class="cta_button_copy"><a class="link_type ', (l = t.link_type) ? i = l.call(a, {
hash: {},
data: e
}) : (l = a && a.link_type, i = typeof l === u ? l.call(a, {
hash: {},
data: e
}) : l), d += _(i) + '" href="' + _((i = a && a.actions, i = null == i || i === !1 ? i : i.primary, i = null == i || i === !1 ? i : i.tracker_url, typeof i === u ? i.apply(a) : i)) + '" target="_top">', (l = t.cta_button_copy) ? i = l.call(a, {
hash: {},
data: e
}) : (l = a && a.cta_button_copy, i = typeof l === u ? l.call(a, {
hash: {},
data: e
}) : l), (i || 0 === i) && (d += i), d += "</a></div></div>" + _((l = t.pixel || a && a.pixel, r = {
hash: {},
data: e
}, l ? l.call(a, a && a.pixel_url, r) : g.call(a, "pixel", a && a.pixel_url, r))) + " " + _((l = t.renderTPI || a && a.renderTPI, r = {
hash: {},
data: e
}, l ? l.call(a, a && a.tpi, a && a.cr_id, r) : g.call(a, "renderTPI", a && a.tpi, a && a.cr_id, r))) + " " + _((l = t.comscorePixel || o && o.comscorePixel, r = {
hash: {},
data: e
}, l ? l.call(a, o && o.cmspx, r) : g.call(a, "comscorePixel", o && o.cmspx, r))) + "</div>"
}
function s(a, e) {
var o, i, l = "";
return l += " " + _((o = t.def || a && a.def, i = {
hash: {},
data: e
}, o ? o.call(a, "desensitize", "true", i) : g.call(a, "def", "desensitize", "true", i))) + " "
}
function n(a) {
var e;
return _((e = a && a.actions, e = null == e || e === !1 ? e : e.primary, e = null == e || e === !1 ? e : e.tracker_url, typeof e === u ? e.apply(a) : e))
}
function p() {
return "javascript:void(0);"
}
function c(a, e) {
var o, i, l = "";
return l += '<div class="promo_ribbon_wrap"><div class="promo_ribbon_copy" style="background: ', (i = t.promo_ribbon_color) ? o = i.call(a, {
hash: {},
data: e
}) : (i = a && a.promo_ribbon_color, o = typeof i === u ? i.call(a, {
hash: {},
data: e
}) : i), (o || 0 === o) && (l += o), l += '">', (i = t.promo_ribbon_copy) ? o = i.call(a, {
hash: {},
data: e
}) : (i = a && a.promo_ribbon_copy, o = typeof i === u ? i.call(a, {
hash: {},
data: e
}) : i), (o || 0 === o) && (l += o), l += "</div></div>"
}
this.compilerInfo = [4, ">= 1.0.0"], t = this.merge(t, a.helpers), i = i || {};
var d, h, m, f = "",
u = "function",
g = t.helperMissing,
_ = this.escapeExpression,
b = this,
x = t.blockHelperMissing;
return f += '<!DOCTYPE html><html><head><meta charset="UTF-8"><meta content="initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport"><style>body,html{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;padding:0;margin:0 auto;max-width:400px}a{text-decoration:none;color:#000;display:block;position:relative}.widget{width:100%;margin:0 auto}.widget_title{font-size:12px;text-transform:uppercase;color:#A2A2A2;font-weight:700}.header{height:18px;line-height:1em}.app{position:relative;border:1px solid #ccc;height:150px;box-shadow:1px 1px 1px #E2E2E2}.icon_wrapper{width:115px;height:115px;display:block;overflow:hidden;float:left}.icon_wrapper img{width:100%;height:100%;border:0}.content{position:relative;padding:0 0 .4em 122px}.content h3{margin:.7em 0 .5em;font-size:13px}.content h4{margin:0;line-height:0;text-transform:uppercase;font-size:10px;font-weight:400;color:#B4B4B4}.footer_cta{clear:both;position:relative;height:34px;background:#f7f7f7;background:-moz-linear-gradient(top,rgba(247,247,247,1)0,rgba(237,237,237,1)100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,rgba(247,247,247,1)),color-stop(100%,rgba(237,237,237,1)));background:-webkit-linear-gradient(top,rgba(247,247,247,1)0,rgba(237,237,237,1)100%);background:-o-linear-gradient(top,rgba(247,247,247,1)0,rgba(237,237,237,1)100%);background:-ms-linear-gradient(top,rgba(247,247,247,1)0,rgba(237,237,237,1)100%);border-top:1px solid #DDD}.name_meta{float:left;margin:9px 0 0 6px}.name_meta .footer_name{color:#000;font-size:12px;display:block;font-weight:700}.cta_button_copy{float:right;-webkit-border-radius:3px;-moz-border-radius:3px;margin:4px 5px 0 0;border:1px solid #0091e0;padding:5px 10px;font-size:11px;color:#0091e0;border-radius:3px;text-transform:uppercase;font-weight:400;background:0 0}.link_type{color:#007aff;}.description{line-height:1.4em;font-size:12px;color:#7d7d7d;margin-top:12px}.promo_ribbon_wrap{width:85px;height:88px;overflow:hidden;position:absolute;top:0;left:0;z-index:500}.promo_ribbon_copy{background-color:#00A5FF;font-size:12px;font-weight:700;text-align:center;position:relative;padding:2px 0;left:-37px;top:8px;width:116px;color:#fff;-webkit-box-shadow:0 0 3px rgba(0,0,0,.3);-moz-box-shadow:0 0 3px rgba(0,0,0,.3);box-shadow:0 0 3px rgba(0,0,0,.3);-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);-ms-transform:rotate(-45deg);-o-transform:rotate(-45deg)}' + _((h = t.embedIconFont || e && e.embedIconFont, m = {
hash: {},
data: i
}, h ? h.call(e, !0, m) : g.call(e, "embedIconFont", !0, m))) + '</style></head><body class="format7"><style scoped="scoped" class="override_css">', (h = t.override_css) ? d = h.call(e, {
hash: {},
data: i
}) : (h = e && e.override_css, d = typeof h === u ? h.call(e, {
hash: {},
data: i
}) : h), (d || 0 === d) && (f += d), f += '</style><div class="widget">', h = t.isEqual || e && e.isEqual, m = {
hash: {},
inverse: b.noop,
fn: b.program(1, l, i),
data: i
}, d = h ? h.call(e, (d = e && e.configs, null == d || d === !1 ? d : d.hide_header), "false", m) : g.call(e, "isEqual", (d = e && e.configs, null == d || d === !1 ? d : d.hide_header), "false", m), (d || 0 === d) && (f += d), f += " ", m = {
hash: {},
inverse: b.noop,
fn: b.programWithDepth(3, r, i, e),
data: i
}, (h = t.ads) ? d = h.call(e, m) : (h = e && e.ads, d = typeof h === u ? h.call(e, m) : h), t.ads || (d = x.call(e, d, {
hash: {},
inverse: b.noop,
fn: b.programWithDepth(3, r, i, e),
data: i
})), (d || 0 === d) && (f += d), f += "</div></body></html>"
}), e["8_time_based_offer"] = a(function(a, e, t, o, i) {
function l(a) {
var e, t = "";
return t += '<div class="header"><span class="widget_title">', e = a && a.configs, e = null == e || e === !1 ? e : e.header_copy, e = typeof e === u ? e.apply(a) : e, (e || 0 === e) && (t += e), t += "</span></div>"
}
function r(a, e, o) {
var i, l, r, d = "";
return d += ' <style data-style-template=".promo_ribbon_copy { background: [promo_ribbon_color] !important;}" class="promo_ribbon_color"></style><style data-style-template=".offer { border-color: [top_line_color] !important;}" class="top_line_color"></style><style data-style-template=".time_left { color: [time_left_color] !important;}" class="time_left_color"></style><style data-style-template=".cta_button_copy { background: [cta_button_color] !important;}" class="cta_button_color"></style><style data-style-template=".cta_button_copy .cta_button { color: [cta_button_text_color] !important;}" class="cta_button_text_color"></style>', l = t.isEqual || a && a.isEqual, r = {
hash: {},
inverse: b.noop,
fn: b.program(4, s, e),
data: e
}, i = l ? l.call(a, a && a.link_type, "call", r) : g.call(a, "isEqual", a && a.link_type, "call", r), (i || 0 === i) && (d += i), d += '<div class="offer" id="', (l = t.cr_id) ? i = l.call(a, {
hash: {},
data: e
}) : (l = a && a.cr_id, i = typeof l === u ? l.call(a, {
hash: {},
data: e
}) : l), d += _(i) + '" style="border-color: ', (l = t.top_line_color) ? i = l.call(a, {
hash: {},
data: e
}) : (l = a && a.top_line_color, i = typeof l === u ? l.call(a, {
hash: {},
data: e
}) : l), (i || 0 === i) && (d += i), d += '" app_store_id="' + _((i = a && a.configurables, i = null == i || i === !1 ? i : i.app_store_id, typeof i === u ? i.apply(a) : i)) + '" data-link_type="' + _((i = a && a.configurables, i = null == i || i === !1 ? i : i.link_type, typeof i === u ? i.apply(a) : i)) + '" data-href="' + _((i = a && a.actions, i = null == i || i === !1 ? i : i.primary, i = null == i || i === !1 ? i : i.tracker_url, typeof i === u ? i.apply(a) : i)) + '" data-offer-expiration="', (l = t.expiration) ? i = l.call(a, {
hash: {},
data: e
}) : (l = a && a.expiration, i = typeof l === u ? l.call(a, {
hash: {},
data: e
}) : l), d += _(i) + '"><div class="icon_wrapper"><a class="action_value" href="', i = t.unless.call(a, a && a.desensitize, {
hash: {},
inverse: b.program(8, p, e),
fn: b.program(6, n, e),
data: e
}), (i || 0 === i) && (d += i), d += '" target="_top">', l = t.isEqual || a && a.isEqual, r = {
hash: {},
inverse: b.noop,
fn: b.program(10, c, e),
data: e
}, i = l ? l.call(a, a && a.show_promo_ribbon, "true", r) : g.call(a, "isEqual", a && a.show_promo_ribbon, "true", r), (i || 0 === i) && (d += i), d += ' <img class="icon" src="', (l = t.icon) ? i = l.call(a, {
hash: {},
data: e
}) : (l = a && a.icon, i = typeof l === u ? l.call(a, {
hash: {},
data: e
}) : l), d += _(i) + '"><div class="thumb_caption">', (l = t.thumb_caption) ? i = l.call(a, {
hash: {},
data: e
}) : (l = a && a.thumb_caption, i = typeof l === u ? l.call(a, {
hash: {},
data: e
}) : l), (i || 0 === i) && (d += i), d += '</div></a></div><div class="content"><a class="action_value" href="', i = t.unless.call(a, a && a.desensitize, {
hash: {},
inverse: b.program(8, p, e),
fn: b.program(6, n, e),
data: e
}), (i || 0 === i) && (d += i), d += '" target="_top"><div class="description"><span class="impact_copy">', (l = t.impact_copy) ? i = l.call(a, {
hash: {},
data: e
}) : (l = a && a.impact_copy, i = typeof l === u ? l.call(a, {
hash: {},
data: e
}) : l), (i || 0 === i) && (d += i), d += '</span> <span class="original_price">', (l = t.original_price) ? i = l.call(a, {
hash: {},
data: e
}) : (l = a && a.original_price, i = typeof l === u ? l.call(a, {
hash: {},
data: e
}) : l), (i || 0 === i) && (d += i), d += '</span> <span class="special_price">', (l = t.special_price) ? i = l.call(a, {
hash: {},
data: e
}) : (l = a && a.special_price, i = typeof l === u ? l.call(a, {
hash: {},
data: e
}) : l), (i || 0 === i) && (d += i), d += '</span> <span class="end_copy">', (l = t.end_copy) ? i = l.call(a, {
hash: {},
data: e
}) : (l = a && a.end_copy, i = typeof l === u ? l.call(a, {
hash: {},
data: e
}) : l), (i || 0 === i) && (d += i), d += '</span></div></a><div class="timer"><h4>', (l = t.countdown_copy) ? i = l.call(a, {
hash: {},
data: e
}) : (l = a && a.countdown_copy, i = typeof l === u ? l.call(a, {
hash: {},
data: e
}) : l), (i || 0 === i) && (d += i), d += '</h4><a class="action_value" href="', i = t.unless.call(a, a && a.desensitize, {
hash: {},
inverse: b.program(8, p, e),
fn: b.program(6, n, e),
data: e
}), (i || 0 === i) && (d += i), d += '" target="_top"><span class="time_left" style="color: ', (l = t.time_left_color) ? i = l.call(a, {
hash: {},
data: e
}) : (l = a && a.time_left_color, i = typeof l === u ? l.call(a, {
hash: {},
data: e
}) : l), (i || 0 === i) && (d += i), d += '"></span><div class="time_labels">Days : Hrs : Mins : Secs</div></a></div><div class="cta_button_copy" style="background: ', (l = t.cta_button_color) ? i = l.call(a, {
hash: {},
data: e
}) : (l = a && a.cta_button_color, i = typeof l === u ? l.call(a, {
hash: {},
data: e
}) : l), (i || 0 === i) && (d += i), d += '"><a class="cta_button" style="color: ', (l = t.cta_button_text_color) ? i = l.call(a, {
hash: {},
data: e
}) : (l = a && a.cta_button_text_color, i = typeof l === u ? l.call(a, {
hash: {},
data: e
}) : l), (i || 0 === i) && (d += i), d += '" href="' + _((i = a && a.actions, i = null == i || i === !1 ? i : i.primary, i = null == i || i === !1 ? i : i.tracker_url, typeof i === u ? i.apply(a) : i)) + '" target="_top">', (l = t.cta_button_copy) ? i = l.call(a, {
hash: {},
data: e
}) : (l = a && a.cta_button_copy, i = typeof l === u ? l.call(a, {
hash: {},
data: e
}) : l), (i || 0 === i) && (d += i), d += "</a></div></div>" + _((l = t.pixel || a && a.pixel, r = {
hash: {},
data: e
}, l ? l.call(a, a && a.pixel_url, r) : g.call(a, "pixel", a && a.pixel_url, r))) + " " + _((l = t.renderTPI || a && a.renderTPI, r = {
hash: {},
data: e
}, l ? l.call(a, a && a.tpi, a && a.cr_id, r) : g.call(a, "renderTPI", a && a.tpi, a && a.cr_id, r))) + " " + _((l = t.comscorePixel || o && o.comscorePixel, r = {
hash: {},
data: e
}, l ? l.call(a, o && o.cmspx, r) : g.call(a, "comscorePixel", o && o.cmspx, r))) + "</div>"
}
function s(a, e) {
var o, i, l = "";
return l += " " + _((o = t.def || a && a.def, i = {
hash: {},
data: e
}, o ? o.call(a, "desensitize", "true", i) : g.call(a, "def", "desensitize", "true", i))) + " "
}
function n(a) {
var e;
return _((e = a && a.actions, e = null == e || e === !1 ? e : e.primary, e = null == e || e === !1 ? e : e.tracker_url, typeof e === u ? e.apply(a) : e))
}
function p() {
return "javascript:void(0);"
}
function c(a, e) {
var o, i, l = "";
return l += '<div class="promo_ribbon_wrap"><div class="promo_ribbon_copy" style="background: ', (i = t.promo_ribbon_color) ? o = i.call(a, {
hash: {},
data: e
}) : (i = a && a.promo_ribbon_color, o = typeof i === u ? i.call(a, {
hash: {},
data: e
}) : i), (o || 0 === o) && (l += o), l += '">', (i = t.promo_ribbon_copy) ? o = i.call(a, {
hash: {},
data: e
}) : (i = a && a.promo_ribbon_copy, o = typeof i === u ? i.call(a, {
hash: {},
data: e
}) : i), (o || 0 === o) && (l += o), l += "</div></div>"
}
this.compilerInfo = [4, ">= 1.0.0"], t = this.merge(t, a.helpers), i = i || {};
var d, h, m, f = "",
u = "function",
g = t.helperMissing,
_ = this.escapeExpression,
b = this,
x = t.blockHelperMissing;
return f += '<!DOCTYPE html><html><head><meta charset="UTF-8"><meta content="initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport"><style>body,html{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;padding:0;margin:0 auto;max-width:400px}a{text-decoration:none;color:#000;display:block}.widget{width:100%;margin:0 auto}.widget_title{font-size:12px;text-transform:uppercase;color:#A2A2A2;font-weight:700}.offer{border:none;height:150px;background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,rgba(255,255,255,1)),color-stop(100%,rgba(241,241,241,1)));position:relative;border-top:6px solid #008CDB}.icon_wrapper{width:100px;height:100px;margin:8px 0 0 8px;display:block;overflow:visible;float:left}.icon_wrapper img{width:100%;height:100%;clear:both;border:0}.thumb_caption{float:left;width:100px;position:relative;text-align:center;font-size:11px;line-height:1.2em}.content{padding:.2em .2em .4em 7.4em}.cta_button_copy{background:#85C1E2;box-shadow:1px 1px 2px #ccc;-webkit-border-radius:4px;border-radius:4px;width:75%;float:right;text-align:center;font-size:14px;margin-right:15%;margin-top:8px;padding:3px 0;font-weight:700}.arrow-right{width:0;height:0;border-top:4px solid transparent;border-bottom:4px solid transparent;border-left:4px solid #030303;display:inline-block}.description{color:#000;font-weight:700;text-align:center;line-height:.98em}.description .impact_copy{font-size:14px;display:block}.description .original_price{font-size:16px;text-decoration:line-through;color:rgba(0,0,0,.42);display:inline-block;margin-right:-1px;position:relative;top:1px}.description .special_price{font-size:16px;color:#DA0000;position:relative;top:1px}.description .end_copy{font-size:13px}.timer{margin-top:12px}.timer a{text-align:center;display:block;margin:5px 0 0}.timer h4{margin:0 0 4px;line-height:0;text-transform:capitalize;font-size:11px;font-weight:400;color:#666;font-style:italic}.timer .time_left{font-size:20px;color:#008cdb;font-weight:700}.timer .time_labels{font-size:10px;color:#666}.header{margin:0;text-align:center;padding-bottom:3px;height:21px;line-height: 1em}.content h3 a{padding-bottom:0;font-size:13px;margin:0}@media screen and (min-width:370px){.timer .time_left{font-size:25px}.description{font-size:16px}.description .original_price,.description .special_price{font-size:19px}}.promo_ribbon_wrap{width:85px;height:88px;overflow:hidden;position:absolute;top:0;left:0;z-index:500}.promo_ribbon_copy{background-color:#00A5FF;font-size:12px;font-weight:700;text-align:center;position:relative;padding:2px 0;left:-37px;top:8px;width:116px;color:#fff;-webkit-box-shadow:0 0 3px rgba(0,0,0,.3);-moz-box-shadow:0 0 3px rgba(0,0,0,.3);box-shadow:0 0 3px rgba(0,0,0,.3);-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);-ms-transform:rotate(-45deg);-o-transform:rotate(-45deg)}</style></head><body class="format8"><style scoped="scoped" class="override_css">', (h = t.override_css) ? d = h.call(e, {
hash: {},
data: i
}) : (h = e && e.override_css, d = typeof h === u ? h.call(e, {
hash: {},
data: i
}) : h), (d || 0 === d) && (f += d), f += '</style><div class="widget">', h = t.isEqual || e && e.isEqual, m = {
hash: {},
inverse: b.noop,
fn: b.program(1, l, i),
data: i
}, d = h ? h.call(e, (d = e && e.configs, null == d || d === !1 ? d : d.hide_header), "false", m) : g.call(e, "isEqual", (d = e && e.configs, null == d || d === !1 ? d : d.hide_header), "false", m), (d || 0 === d) && (f += d), f += " ", m = {
hash: {},
inverse: b.noop,
fn: b.programWithDepth(3, r, i, e),
data: i
}, (h = t.ads) ? d = h.call(e, m) : (h = e && e.ads, d = typeof h === u ? h.call(e, m) : h), t.ads || (d = x.call(e, d, {
hash: {},
inverse: b.noop,
fn: b.programWithDepth(3, r, i, e),
data: i
})), (d || 0 === d) && (f += d), f += '</div><script>var a,b,c,d,e,f,g,h,k,m,n,p,q;p=function(l){return 10>l?"0"+l.toString():l};e=parseInt(document.getElementsByClassName("offer")[0].getAttribute("data-offer-expiration"),10)||"";f=document.getElementsByClassName("time_left")[0];g=function(){null===e||""===e?q():(a=(new Date(e)).getTime(),d=(new Date).getTime(),a<=d?q():(b=(a-d)/1E3,h=parseInt(b/86400,10),b%=86400,k=parseInt(b/3600,10),b%=3600,m=parseInt(b/60,10),n=parseInt(b%60,10),c=p(h)+" : "+p(k)+" : "+p(m)+" : "+p(n),f.innerHTML=c,setTimeout(g,1E3)))};q=function(){c="00 : 00 : 00 : 00";f.innerHTML=c};setTimeout(g,1E3);</script></body></html>'
}), e["9_side_by_side"] = a(function(a, e, t, o, i) {
function l(a) {
var e, t = "";
return t += '<div class="header"><span class="widget_title">', e = a && a.configs, e = null == e || e === !1 ? e : e.header_copy, e = typeof e === g ? e.apply(a) : e, (e || 0 === e) && (t += e), t += "</span></div>"
}
function r(a, e, o) {
var i, l, r, d = "";
return d += ' <style data-style-template=".promo_ribbon_copy { background: [promo_ribbon_color] !important;}" class="promo_ribbon_color"></style>', l = t.isEqual || a && a.isEqual, r = {
hash: {},
inverse: x.noop,
fn: x.program(4, s, e),
data: e
}, i = l ? l.call(a, a && a.link_type, "call", r) : _.call(a, "isEqual", a && a.link_type, "call", r), (i || 0 === i) && (d += i), d += '<div class="app" id="', (l = t.cr_id) ? i = l.call(a, {
hash: {},
data: e
}) : (l = a && a.cr_id, i = typeof l === g ? l.call(a, {
hash: {},
data: e
}) : l), d += b(i) + '" app_store_id="' + b((i = a && a.configurables, i = null == i || i === !1 ? i : i.app_store_id, typeof i === g ? i.apply(a) : i)) + '" data-link_type="' + b((i = a && a.configurables, i = null == i || i === !1 ? i : i.link_type, typeof i === g ? i.apply(a) : i)) + '" data-href="' + b((i = a && a.actions, i = null == i || i === !1 ? i : i.primary, i = null == i || i === !1 ? i : i.tracker_url, typeof i === g ? i.apply(a) : i)) + '"><div class="icon-wrapper">', l = t.isEqual || a && a.isEqual, r = {
hash: {},
inverse: x.noop,
fn: x.program(6, n, e),
data: e
}, i = l ? l.call(a, a && a.show_promo_ribbon, "true", r) : _.call(a, "isEqual", a && a.show_promo_ribbon, "true", r), (i || 0 === i) && (d += i), d += ' <a class="action_value" href="', i = t.unless.call(a, a && a.desensitize, {
hash: {},
inverse: x.program(10, c, e),
fn: x.program(8, p, e),
data: e
}), (i || 0 === i) && (d += i), d += '" target="_top"><img class="icon" src="', (l = t.icon) ? i = l.call(a, {
hash: {},
data: e
}) : (l = a && a.icon, i = typeof l === g ? l.call(a, {
hash: {},
data: e
}) : l), d += b(i) + '"></a></div><div class="content"><a class="action_value" href="', i = t.unless.call(a, a && a.desensitize, {
hash: {},
inverse: x.program(10, c, e),
fn: x.program(8, p, e),
data: e
}), (i || 0 === i) && (d += i), d += '" target="_top"><span class="name">', (l = t.name) ? i = l.call(a, {
hash: {},
data: e
}) : (l = a && a.name, i = typeof l === g ? l.call(a, {
hash: {},
data: e
}) : l), (i || 0 === i) && (d += i), d += '</span></a><div class="description"><a class="action_value" href="', i = t.unless.call(a, a && a.desensitize, {
hash: {},
inverse: x.program(10, c, e),
fn: x.program(8, p, e),
data: e
}), (i || 0 === i) && (d += i), d += '" target="_top">', (l = t.description) ? i = l.call(a, {
hash: {},
data: e
}) : (l = a && a.description, i = typeof l === g ? l.call(a, {
hash: {},
data: e
}) : l), (i || 0 === i) && (d += i), d += '</a></div></div><div class="cta_button_copy"><a class="action action_value link_type ', (l = t.link_type) ? i = l.call(a, {
hash: {},
data: e
}) : (l = a && a.link_type, i = typeof l === g ? l.call(a, {
hash: {},
data: e
}) : l), d += b(i) + '" href="' + b((i = a && a.actions, i = null == i || i === !1 ? i : i.primary, i = null == i || i === !1 ? i : i.tracker_url, typeof i === g ? i.apply(a) : i)) + '" target="_top">', (l = t.cta_button_copy) ? i = l.call(a, {
hash: {},
data: e
}) : (l = a && a.cta_button_copy, i = typeof l === g ? l.call(a, {
hash: {},
data: e
}) : l), (i || 0 === i) && (d += i), d += "</a></div>" + b((l = t.pixel || a && a.pixel, r = {
hash: {},
data: e
}, l ? l.call(a, a && a.pixel_url, r) : _.call(a, "pixel", a && a.pixel_url, r))) + " " + b((l = t.renderTPI || a && a.renderTPI, r = {
hash: {},
data: e
}, l ? l.call(a, a && a.tpi, a && a.cr_id, r) : _.call(a, "renderTPI", a && a.tpi, a && a.cr_id, r))) + " " + b((l = t.comscorePixel || o && o.comscorePixel, r = {
hash: {},
data: e
}, l ? l.call(a, o && o.cmspx, r) : _.call(a, "comscorePixel", o && o.cmspx, r))) + "</div>"
}
function s(a, e) {
var o, i, l = "";
return l += " " + b((o = t.def || a && a.def, i = {
hash: {},
data: e
}, o ? o.call(a, "desensitize", "true", i) : _.call(a, "def", "desensitize", "true", i))) + " "
}
function n(a, e) {
var o, i, l = "";
return l += '<div class="promo_ribbon_wrap"><div class="promo_ribbon_copy" style="background: ', (i = t.promo_ribbon_color) ? o = i.call(a, {
hash: {},
data: e
}) : (i = a && a.promo_ribbon_color, o = typeof i === g ? i.call(a, {
hash: {},
data: e
}) : i), (o || 0 === o) && (l += o), l += '">', (i = t.promo_ribbon_copy) ? o = i.call(a, {
hash: {},
data: e
}) : (i = a && a.promo_ribbon_copy, o = typeof i === g ? i.call(a, {
hash: {},
data: e
}) : i), (o || 0 === o) && (l += o), l += "</div></div>"
}
function p(a) {
var e;
return b((e = a && a.actions, e = null == e || e === !1 ? e : e.primary, e = null == e || e === !1 ? e : e.tracker_url, typeof e === g ? e.apply(a) : e))
}
function c() {
return "javascript:void(0);"
}
function d(a, e) {
var o, i, l = "";
return l += '<script>var e,t,n;e="' + b((o = t.calcHLWidth || a && a.calcHLWidth, i = {
hash: {},
data: e
}, o ? o.call(a, a && a.column_count, 1, i) : _.call(a, "calcHLWidth", a && a.column_count, 1, i))) + '";t=document.getElementsByClassName("app");n=0;for(;n<t.length;n++){t[n].style.width=e}</script>'
}
this.compilerInfo = [4, ">= 1.0.0"], t = this.merge(t, a.helpers), i = i || {};
var h, m, f, u = "",
g = "function",
_ = t.helperMissing,
b = this.escapeExpression,
x = this,
y = t.blockHelperMissing;
return u += '<!DOCTYPE html><html><head><meta charset="UTF-8"><meta content="initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport"><style>body,html{font-family:Arial,Helvetica,sans-serif;padding:0;margin:0 auto;}*{box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box}a{text-decoration:none;color:#000}.widget{overflow:auto}.app{padding:5px 2px;margin:3px .5% 0;float:left;text-align:center;width:49%;max-width:49%;height:225px;position:relative;background:#efefef;border-radius:10px}.header{border-bottom:1px solid #E2E2E2;padding:0 5px 2px;margin-bottom:2px;text-align:left;font-size:13px;text-transform:uppercase;height:20px;line-height:1em}.icon-wrapper{width:100px;height:100px;display:block;border-radius:16%;-moz-border-radius:16%;-webkit-border-radius:16%;box-shadow:0 0 3px #DADADA;overflow:hidden;margin:2px auto}.icon{height:100%;width:100%;border:0}.content{font-size:9px;padding:5px 0 10px;position:relative}.content .name{font-size:13px}.content .description{position:absolute;top:40px;width:100%}.content .description a{font-size:10px}.cta_button_copy{position:absolute;width:100%;bottom:5px;left:0}.action{text-transform:uppercase;background:#fff;background:-moz-linear-gradient(top,#fff 0,#e5e5e5 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#fff),color-stop(100%,#e5e5e5));background:-webkit-linear-gradient(top,#fff 0,#e5e5e5 100%);background:-o-linear-gradient(top,#fff 0,#e5e5e5 100%);background:-ms-linear-gradient(top,#fff 0,#e5e5e5 100%);background:linear-gradient(to bottom,#fff 0,#e5e5e5 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=\'#ffffff\', endColorstr=\'#e5e5e5\', GradientType=0);-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;border:1px solid #ADADAD;display:inline-block;color:#343434;font-family:arial;font-size:11px;font-weight:700;padding:3px 6px;text-decoration:none}.promo_ribbon_wrap{width:55px;height:55px;overflow:hidden;position:absolute;top:0;left:-1px;z-index:500}.promo_ribbon_copy{background-color:#00A5FF;font-size:10px;font-weight:700;text-align:center;position:relative;padding:2px 0;left:-37px;top:8px;width:116px;color:#fff;-webkit-box-shadow:0 0 3px rgba(0,0,0,.3);-moz-box-shadow:0 0 3px rgba(0,0,0,.3);box-shadow:0 0 3px rgba(0,0,0,.3);-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);-ms-transform:rotate(-45deg);-o-transform:rotate(-45deg)}' + b((m = t.embedIconFont || e && e.embedIconFont, f = {
hash: {},
data: i
}, m ? m.call(e, !0, f) : _.call(e, "embedIconFont", !0, f))) + '</style></head><body class="format9"><style scoped="scoped" class="override_css">', (m = t.override_css) ? h = m.call(e, {
hash: {},
data: i
}) : (m = e && e.override_css, h = typeof m === g ? m.call(e, {
hash: {},
data: i
}) : m), (h || 0 === h) && (u += h), u += '</style><div class="widget">', m = t.isEqual || e && e.isEqual, f = {
hash: {},
inverse: x.noop,
fn: x.program(1, l, i),
data: i
}, h = m ? m.call(e, (h = e && e.configs, null == h || h === !1 ? h : h.hide_header), "false", f) : _.call(e, "isEqual", (h = e && e.configs, null == h || h === !1 ? h : h.hide_header), "false", f), (h || 0 === h) && (u += h), u += " ", f = {
hash: {},
inverse: x.noop,
fn: x.programWithDepth(3, r, i, e),
data: i
}, (m = t.ads) ? h = m.call(e, f) : (m = e && e.ads, h = typeof m === g ? m.call(e, f) : m), t.ads || (h = y.call(e, h, {
hash: {},
inverse: x.noop,
fn: x.programWithDepth(3, r, i, e),
data: i
})), (h || 0 === h) && (u += h), u += " ", h = t["if"].call(e, e && e.column_count, {
hash: {},
inverse: x.noop,
fn: x.program(12, d, i),
data: i
}), (h || 0 === h) && (u += h), u += "</div></body></html>"
})
}();
(function(window, document, undefined) {
var k, l, n, q = window,
s = window.document;
function t(a) {
a && console && console.log && console.log(arguments)
}
function u() {
function a() {
return Math.floor(1099511627776 * Math.random()).toString(16)
}
for (var c = a() + a(); 20 > c.length;) c += a();
return c.substring(0, 20)
}
function ea() {
function a(a, b) {
var d = (a & 65535) + (b & 65535);
return (a >> 16) + (b >> 16) + (d >> 16) << 16 | d & 65535
}
return function(a) {
for (var b = "", d, e = 0, f = a.length; e < f; e += 1) d = a.charCodeAt(e), b += "0123456789abcdef".charAt(d >>> 4 & 15) + "0123456789abcdef".charAt(d & 15);
return b
}(function(c) {
var b, d, e = "",
f = -1,
h;
if (c && c.length)
for (h = c.length;
(f += 1) < h;) b = c.charCodeAt(f), d = f + 1 < h ? c.charCodeAt(f + 1) : 0, 55296 <= b && 56319 >= b && 56320 <= d && 57343 >= d && (b = 65536 + ((b & 1023) << 10) + (d & 1023), f += 1), 127 >= b ? e += String.fromCharCode(b) : 2047 >= b ? e += String.fromCharCode(192 |
b >>> 6 & 31, 128 | b & 63) : 65535 >= b ? e += String.fromCharCode(224 | b >>> 12 & 15, 128 | b >>> 6 & 63, 128 | b & 63) : 2097151 >= b && (e += String.fromCharCode(240 | b >>> 18 & 7, 128 | b >>> 12 & 63, 128 | b >>> 6 & 63, 128 | b & 63));
d = c = e;
f = 8 * d.length;
b = Array(d.length >> 2);
h = b.length;
for (e = 0; e < h; e += 1) b[e] = 0;
for (e = 0; e < f; e += 8) b[e >> 5] |= (d.charCodeAt(e / 8) & 255) << 24 - e % 32;
var g = 8 * c.length,
m, p, r, aa, ba, ca, da;
c = Array(80);
d = 1732584193;
e = -271733879;
f = -1732584194;
h = 271733878;
var w = -1009589776;
b[g >> 5] |= 128 << 24 - g % 32;
b[(g + 64 >> 9 << 4) + 15] = g;
for (g = 0; g < b.length; g += 16) {
r = d;
aa =
e;
ba = f;
ca = h;
da = w;
for (m = 0; 80 > m; m += 1) 16 > m ? p = b[g + m] : (p = c[m - 3] ^ c[m - 8] ^ c[m - 14] ^ c[m - 16], p = p << 1 | p >>> 31), c[m] = p, p = a(a(d << 5 | d >>> 27, 20 > m ? e & f | ~e & h : 40 > m ? e ^ f ^ h : 60 > m ? e & f | e & h | f & h : e ^ f ^ h), a(a(w, c[m]), 20 > m ? 1518500249 : 40 > m ? 1859775393 : 60 > m ? -1894007588 : -899497514)), w = h, h = f, f = e << 30 | e >>> 2, e = d, d = p;
d = a(d, r);
e = a(e, aa);
f = a(f, ba);
h = a(h, ca);
w = a(w, da)
}
b = [d, e, f, h, w];
d = 32 * b.length;
e = "";
for (c = 0; c < d; c += 8) e += String.fromCharCode(b[c >> 5] >>> 24 - c % 32 & 255);
return e
}(fa()))
}
function v(a) {
return -1 !== (a.origin || "").indexOf("yieldmo")
}
function ga(a) {
return v(a) && "string" === typeof a.data && 20 === a.data.length
}
function x(a, c) {
a || (a = {});
if (!c) return a;
for (var b in c) a[b] = c[b];
return a
}
function ha() {
var a = "yieldmocallback://SCRIPT_LOAD_ERROR?" + y({
errors: [{
TYPE: "NT",
INFO: "script failed to load"
}]
});
q.location.href = a
}
function z(a, c) {
var b = s.createElement("script");
b.type = "text/javascript";
b.async = !0;
b.src = ("https:" === s.location.protocol ? "https:" : "http:") + a;
b.id = u();
b.className = "ym_script";
b.onerror = c || function() {};
(s.getElementsByTagName("head")[0] || s.getElementsByTagName("body")[0]).appendChild(b)
}
function A(a, c) {
if (null !== a && "undefined" !== typeof a && null !== c && "undefined" !== typeof c) {
var b = Array.prototype.forEach,
d = {};
if (b && a.forEach === b) a.forEach(c, void 0);
else if (a.length === +a.length)
for (var b = 0, e = a.length; b < e && c.call(void 0, a[b], b, a) !== d; b++);
}
}
function B(a) {
var c, b, d, e, f;
c = a.length & 3;
b = a.length - c;
d = 2015251212;
for (f = 0; f < b;) e = a.charCodeAt(f) & 255 | (a.charCodeAt(++f) & 255) << 8 | (a.charCodeAt(++f) & 255) << 16 | (a.charCodeAt(++f) & 255) << 24, ++f, e = 3432918353 * (e & 65535) + ((3432918353 * (e >>> 16) & 65535) << 16) & 4294967295, e = e << 15 | e >>> 17, e = 461845907 * (e & 65535) + ((461845907 * (e >>> 16) & 65535) << 16) & 4294967295, d ^= e, d = d << 13 | d >>> 19, d = 5 * (d & 65535) + ((5 * (d >>> 16) & 65535) << 16) & 4294967295, d = (d & 65535) + 27492 + (((d >>> 16) + 58964 & 65535) << 16);
e = 0;
switch (c) {
case 3:
e ^= (a.charCodeAt(f + 2) & 255) <<
16;
case 2:
e ^= (a.charCodeAt(f + 1) & 255) << 8;
case 1:
e ^= a.charCodeAt(f) & 255, e = 3432918353 * (e & 65535) + ((3432918353 * (e >>> 16) & 65535) << 16) & 4294967295, e = e << 15 | e >>> 17, d ^= 461845907 * (e & 65535) + ((461845907 * (e >>> 16) & 65535) << 16) & 4294967295
}
d ^= a.length;
d ^= d >>> 16;
d = 2246822507 * (d & 65535) + ((2246822507 * (d >>> 16) & 65535) << 16) & 4294967295;
d ^= d >>> 13;
d = 3266489909 * (d & 65535) + ((3266489909 * (d >>> 16) & 65535) << 16) & 4294967295;
return (d ^ d >>> 16) >>> 0
}
function fa() {
var a = q.navigator,
c = [a.appName || "", a.appVersion || "", a.productSub || "", a.browserLanguage || "", a.cookieEnabled || "", a.oscpu || "", a.onLine || "", a.platform || "", a.appCodeName || "", s.defaultCharset || "", screen.deviceXDPI || "", screen.colorDepth || "", q.screen.availWidth || "", q.screen.availHeight || "", q.screen.availLeft || "", q.screen.availTop || "", (new Date).getTimezoneOffset()];
if (a.plugins)
for (var b = 0; b < a.plugins.length; b++) {
for (var d = [], e = 0; e < a.plugins[b].length; e++) d.push([a.plugins[b][e].type, a.plugins[b][e].suffixes]);
c.push([a.plugins[b].name + "::" + a.plugins[b].description, d.join("~")])
}
return c.sort().join(";")
}
function ia() {
var a;
a: {
a = s.getElementsByTagName("meta");
for (var c = 0; c < a.length; c++)
if ("description" === a[c].getAttribute("name")) {
a = a[c].getAttribute("content") || "";
break a
}
a = ""
}
a = {
description: a,
title: s.title || ""
};
for (var b in a) a[b] = (a[b] || "").substring(0, 160);
return a || {}
}
function C(a) {
return a && "object" === typeof a && a instanceof Array && "number" === typeof a.length && "function" === typeof a.splice && !a.propertyIsEnumerable("length")
}
function ja(a) {
var c = ["load", "resize", "scroll", "touchend"];
a && c && A(c, function(c) {
if (q.addEventListener) try {
q.addEventListener(c, a, !1)
} catch (d) {
q.addEventListener(c, a, !1)
} else if (q.attachEvent) try {
q.attachEvent("on" + c, a)
} catch (e) {
q.attachEvent("on" + c, a)
}
})
}
function ka() {
return {
y: q.pageYOffset || (s.documentElement || s.body.parentNode || s.body).scrollTop,
x: q.pageXOffset || (s.documentElement || s.body.parentNode || s.body).scrollLeft
}
}
function D(a, c, b) {
var d = parseFloat(c.fv_top_percent || 0.85),
e = parseFloat(c.fv_right_percent || 0.85);
c = parseFloat(c.pv_top_percent || 0.68);
a = a.getBoundingClientRect();
var f = E(),
h = F();
if (!a || 0 > a.bottom || 0 > a.left) return !1;
try {
if (b) {
var g = a.right * e;
return a.bottom * d <= f && g <= h
}
return a.bottom * c <= f
} catch (m) {
return !1
}
}
function la(a) {
A(s.getElementsByClassName("ym") || [], function(c) {
if (c.getAttribute("rend")) {
c = G(c.id);
var b, d, e, f, h;
q.YIELDMOINAPP || (b = s.getElementById("ym_" + c)) && (d = b.getElementsByTagName("iframe")) && 0 !== d.length && H(d[0]) && (d = d[0].contentWindow.document.body.getBoundingClientRect(), e = s.body.getBoundingClientRect(), f = 0 <= d.left ? Math.abs(d.right) - Math.abs(d.left) : Math.abs(d.right) + Math.abs(d.left), h = Math.abs(e.left) + Math.abs(e.right), 0 !== e.right && f > h && (b = b.getElementsByTagName("iframe")[0].contentDocument.body.getAttribute("class") ||
"", I(c, a, "iftb", {
ifl: d.left,
ifr: d.right,
tbl: e.left,
tbr: e.right,
fbc: b
})))
}
})
}
function ma() {
var a;
a || (a = navigator.userAgent);
a = a.match(/BlackBerry/i) || a.match(/BB10.*Mobile/);
return null !== a && void 0 !== a
}
function na() {
var a;
a || (a = navigator.userAgent);
a = a.match(/Opera/i);
return null !== a && void 0 !== a
}
function oa() {
var a;
a || (a = navigator.userAgent);
a = a.match(/Windows/g);
return null !== a && void 0 !== a
}
function pa(a) {
var c = 1;
if (a)
for (var b in a) c++;
return c
}
function qa(a, c) {
return a.ab_js ? (eval(a.ab_js), YMHandlebars.templates.tpl_override) : YMHandlebars.templates[c]
}
function ra(a) {
var c = [];
if (!a) return c;
A(a, function(a) {
var d = !1;
A(c, function(c) {
a === c && (d = !0)
});
d || c.push(a)
});
return c
}
function sa(a, c) {
var b = !1;
if (!c) return b;
var d = J(c);
A(a, function(a) {
d === J(a) && (b = !0)
});
return b
}
function ta(a) {
if (-1 === a.indexOf("@")) return a;
var c = "",
b = 0;
A(a.split(","), function(a) {
if (-1 !== a.indexOf("@")) {
var e = a.split("@")[1];
if (0 === b || e === b) b = e, c += a
}
});
return c
}
function K(a) {
return -1 === a.indexOf("@") ? "" : a.split(",")[0].split("@")[1]
}
function ua() {
YMHandlebars.registerHelper("isEqual", function(a, c, b) {
return (a || "false") === c ? b.fn(this) : b.inverse(this)
});
YMHandlebars.registerHelper("def", function(a, c, b) {
a && c && (b && !b.hash ? b[a] = c : this[a] = c)
});
YMHandlebars.registerHelper("calcHLWidth", function(a, c) {
if (!c || 0 >= c) c = 0;
if (!a || 0 >= a) a = 1;
return (Math.round(100 * (100 / a - c)) / 100).toString() + "%"
});
YMHandlebars.registerHelper("embedIconFont", function(a) {
var c = "@font-face{font-family:fontello;src:url(data:application/octet-stream;base64,d09GRgABAAAAAAvQAA4AAAAAEyQAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABPUy8yAAABRAAAAEQAAABWPeFI5WNtYXAAAAGIAAAAOwAAAVLoFenaY3Z0IAAAAcQAAAAUAAAAHAZJ/5RmcGdtAAAB2AAABPkAAAmRigp4O2dhc3AAAAbUAAAACAAAAAgAAAAQZ2x5ZgAABtwAAAJWAAACyk07/phoZWFkAAAJNAAAADUAAAA2AfyM22hoZWEAAAlsAAAAIAAAACQHowNLaG10eAAACYwAAAAQAAAAEA46AABsb2NhAAAJnAAAAAoAAAAKAd0BCm1heHAAAAmoAAAAIAAAACAA3QoFbmFtZQAACcgAAAF3AAACzcydGhxwb3N0AAALQAAAADcAAABICbcSdXByZXAAAAt4AAAAVgAAAFaSoZr/eJxjYGTuZ5zAwMrAwVTFtIeBgaEHQjM+YDBkZGJgYGJgZWbACgLSXFMYHF4wvOBjDvqfxRDFzM3gDxRmBMkBAOtpC0R4nGNgYGBmgGAZBkYGEPAB8hjBfBYGAyDNAYRMIIkXjC/4/v8HsxggLAlG8a9QXWDAyMYw4gEA6vkJvAB4nGNgQANGDEbM3P83gjAAELQD4XicnVXZdtNWFJU8ZHASOmSgoA7X3DhQ68qEKRgwaSrFdiEdHAitBB2kDHTkncc+62uOQrtWH/m07n09JLR0rbYsls++R1tn2DrnRhwjKn0aiGvUoZKXA6msPZZK90lc13Uvj5UMBnFdthJPSZuonSRKat3sUC7xWOsqWSdYJ+PlIFZPVZ5noAziFB5lSUQbRBuplyZJ4onjJ4kWZxAfJUkgJaMQp9LI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7LLAAFrAEJbAEJiAuRyNHI2GwBkUrIyA8IC4jOLEmARQrLbA8LLEIBCVCsAAWsAQlsAQlIC5HI0cjYSCwBCNCsAZFKyCwYFBYILBAUVizAiADIBuzAiYDGllCQiMgR7AEQ7CAYmAgsAArIIqKYSCwAkNgZCOwA0NhZFBYsAJDYRuwA0NgWbADJbCAYmGwAiVGYTgjIDwjOBshICBGI0ewACsjYTghWbEmARQrLbA9LLAwKy6xJgEUKy2wPiywMSshIyAgPLAEI0IjOLEmARQrsARDLrAmKy2wPyywABUgR7AAI0KyAAEBFRQTLrAsKi2wQCywABUgR7AAI0KyAAEBFRQTLrAsKi2wQSyxAAEUE7AtKi2wQiywLyotsEMssAAWRSMgLiBGiiNhOLEmARQrLbBELLAII0KwQystsEUssgAAPCstsEYssgABPCstsEcssgEAPCstsEgssgEBPCstsEkssgAAPSstsEossgABPSstsEsssgEAPSstsEwssgEBPSstsE0ssgAAOSstsE4ssgABOSstsE8ssgEAOSstsFAssgEBOSstsFEssgAAOystsFIssgABOystsFMssgEAOystsFQssgEBOystsFUssgAAPistsFYssgABPistsFcssgEAPistsFgssgEBPistsFkssgAAOistsFossgABOistsFsssgEAOistsFwssgEBOistsF0ssDIrLrEmARQrLbBeLLAyK7A2Ky2wXyywMiuwNystsGAssAAWsDIrsDgrLbBhLLAzKy6xJgEUKy2wYiywMyuwNistsGMssDMrsDcrLbBkLLAzK7A4Ky2wZSywNCsusSYBFCstsGYssDQrsDYrLbBnLLA0K7A3Ky2waCywNCuwOCstsGkssDUrLrEmARQrLbBqLLA1K7A2Ky2wayywNSuwNystsGwssDUrsDgrLbBtLCuwCGWwAyRQeLABFTAtAAAAS7gAyFJYsQEBjlm5CAAIAGMgsAEjRLADI3CyBCgJRVJEsgoCByqxBgFEsSQBiFFYsECIWLEGA0SxJgGIUVi4BACIWLEGAURZWVlZuAH/hbAEjbEFAEQAAA==) format('truetype')}.app .link_type:before{font-family:fontello;font-style:normal;font-weight:400;display:inline-block;text-decoration:inherit;width:1em;margin-right:.2em;text-align:center;font-variant:normal;text-transform:none;line-height:1em;margin-left:.2em}.widget .app .link_type.website:before{content:'\\e80e'}.widget .app .link_type.application:before{content:'\\e800'}.widget .app .link_type.call:before{content:'\\e801'}";
a &&
(c += ".link_type.application:before,.link_type.website:before{content:none !important;}");
return new YMHandlebars.SafeString(c)
});
YMHandlebars.registerHelper("renderTPI", function(a, c) {
if (!a || !c) return "";
a = a.replace(/\r?\n|\r/g, "").replace(/\"/g, '\\"').split(/<\/scr/ig).join('</scr" + "');
return new YMHandlebars.SafeString('<script>var a=document.createElement("iframe"),z=document.getElementById("' + c + '")||document.body;a.frameBorder=0;a.scrolling="no";a.width=0;a.height=0;a.noresize="noresize";a.sandbox="allow-scripts allow-same-origin";a.setAttribute("style","position:absolute;top:0;left:0;");a.setAttribute("id","' +
c + '_tpi");z.appendChild(a);a.contentDocument.write("<html><head></head><body></body></html>");a.contentDocument.write("' + a + '");a.contentDocument.close();\x3c/script>')
});
YMHandlebars.registerHelper("pixel", function(a) {
return a ? new YMHandlebars.SafeString('<img src="' + a + '" width="1" height="1" style="position:absolute;bottom:0;left:0;opacity:0;" />') : ""
});
YMHandlebars.registerHelper("comscorePixel", function(a) {
return !a || "true" !== a && !0 !== a ? new YMHandlebars.SafeString('<img src="//b.scorecardresearch.com/p?c1=8&c2=18969557&ns_ap_it=b&rn=' +
u() + '" width="1" height="1" style="position:absolute;bottom:0;left:0;opacity:0;" />') : ""
})
}
function va(a) {
if (a && (a = a.getElementsByTagName("iframe")) && 0 !== a.length && H(a[0]) && (a = a[0], (a = a.contentDocument || a.contentWindow.document) && a.links)) {
a = a.links;
for (var c = 0; c < a.length; c++) {
var b = a[c],
d = decodeURIComponent(a[c].href),
e = q.__ym_enrich,
f = void 0;
for (f in e) d = d.replace(RegExp("{{" + f + "}}", "g"), e[f]);
b.href = d
}
}
}
var L = Date.now || function() {
return (new Date).getTime()
};
function wa(a) {
function c() {
g = !1 === b.leading ? 0 : L();
h = null;
f = a.apply(d, e);
h || (d = e = null)
}
var b, d, e, f, h = null,
g = 0;
b || (b = {});
return function() {
var m = L();
g || !1 !== b.leading || (g = m);
var p = 100 - (m - g);
d = this;
e = arguments;
0 >= p || 100 < p ? (clearTimeout(h), h = null, g = m, f = a.apply(d, e), h || (d = e = null)) : h || !1 === b.trailing || (h = setTimeout(c, p));
return f
}
}
function xa(a, c) {
function b() {
var b = {},
e = parseFloat(c.conf.pv_top_percent || 0.68),
f = {},
h = a.getBoundingClientRect();
f.top = (h.bottom * e).toFixed(0);
f.screenHeight = E();
f.screenWidth = F();
b.ym_placement_loc = f;
if (D(a, c.conf, !1) && 0 < a.childNodes.length) {
e = a.childNodes[0];
f = "";
try {
f = JSON.stringify(b)
} catch (g) {
I(c.pvid, c.plid, "JSTR", g)
}
e && "object" === typeof e.contentWindow && "function" === typeof e.contentWindow.postMessage ? e.contentWindow.postMessage(f, document.location.origin) : I(c.pvid, c.plid, "IVPM")
}
}
M(function() {
b();
ja(wa(b))
})
}
function ya(a, c) {
function b() {
f = x(ka(), f);
!h && D(a, e, !1) && (h = !0, N("v", d, f, a));
!g && D(a, e, !0) ? (g = !0, N("fv", d, f, a)) : !g || m || D(a, e, !0) || (m = !0, N("d", d, f, a))
}
var d = L(),
e = c.conf,
f = c,
h = !1,
g = !1,
m = !1;
M(function() {
b();
ja(b)
})
}
function N(a, c, b, d) {
if ("string" === typeof a) {
var e = 0,
f = {},
h = ka();
a = O.tkr_url + "?type=" + a;
d && d.frameElement && d.frameElement.parentElement && d.frameElement.parentElement.id ? e = d.frameElement.parentElement.id.split("ym_")[1] || 0 : d && H(d.children[0]) && (e = d.id.split("ym_")[1] || 0);
0 !== e && q._ym.data && q._ym.data[0] && (f.pvt = q._ym.data[0].params.pvt, f.pvid = q._ym.data[0].params.pv, f.plid = e, f.stime = c || L(), f.etime = L(), f = x(h, f), "object" === typeof b && (f = x(b, f)), a += "&" + y(f), z(a))
}
}
function I(a, c, b, d) {
var e, f;
e = (new Date).getTime();
f = O.err_log;
a = x({
pv: c,
p: a,
t: e,
wh: b
}, za);
d && (a = x(a, d));
d = f + "?" + y(a);
z(d)
}
function y(a, c) {
if (!a) return "";
var b = [],
d;
for (d in a) {
var e = c ? c + "[" + d + "]" : d,
f = a[d];
f || null !== f && "undefined" !== typeof f || (f = "");
C(f) ? b.push(encodeURIComponent(e) + "=" + encodeURIComponent(f.join())) : "object" === typeof f ? f.hasOwnProperty(d) && b.push(y(f, e)) : "function" !== typeof f && b.push(encodeURIComponent(e) + "=" + encodeURIComponent(f))
}
return b.join("&")
}
function P(a, c, b) {
var d = s.getElementById("ym_" + a);
if (d) {
var e = {
placement_id: a || "",
detail: c || "error detected"
};
e = x(e || {}, {
time: new Date,
detail: e.detail || null
});
if (q && q.CustomEvent) e = new q.CustomEvent("__ym", e);
else {
var f = s.createEvent("CustomEvent");
f.initCustomEvent ? f.initCustomEvent("__ym", !(!e || !e.bubbles), !(!e || !e.cancelable), e ? e.detail : null) : f.initEvent && f.initEvent("__ym", !(!e || !e.bubbles), !(!e || !e.cancelable));
e = f
}
s.dispatchEvent(e);
d.style.display = "none";
d.className = "ym ym_rend";
c && b && "string" ===
typeof c && (d.setAttribute(c, "1"), I(a, b, c))
}
}
function Q(a) {
var c = s.getElementsByTagName("head")[0] || s.getElementsByTagName("body")[0];
if (c) try {
var b = s.createElement("style");
b.type = "text/css";
b.textContent = a;
c.appendChild(b)
} catch (d) {}
}
function G(a) {
return a ? a.replace(/[^0-9@$]+/g, "") : ""
}
function J(a) {
var c = a.placement_id;
a.postfix && (a = "@" + a.postfix || "", 0 > c.indexOf(a) && (c += a));
return c
}
function Aa(a, c) {
var b = 0,
d = c.unit_height || 0;
if (c.ab_test_height) return b = c.ab_test_height;
if (c.fixed_height) return b = c.fixed_height;
!c.header_height || c.hide_header && "true" === c.hide_header || (b += parseInt(c.header_height, 10));
return b = c.horizontally_stacked ? a.column_count && 0 < a.column_count ? b + d * Math.ceil(a.ads.length / a.column_count) : b + d * Math.ceil(a.ads.length / c.default_column_count) : b + d * a.ads.length
}
function Ba() {
var a = !1;
A(void 0, function(c) {
a || "object" === typeof c && (a = !0)
});
return a ? "" : y(q._YIELDMO_PUBLISHER_EXPORT || q._yieldmo_publisher_export || "")
}
function Ca(a, c, b, d) {
var e, f;
if (a && c && b) {
e = c[0].configurables.t_ip;
try {
f = s.querySelectorAll(e)[0]
} catch (h) {
f = null
}
if (f) switch (c[0].configurables.t_pos) {
case "-1":
(f.parentElement || f || s.body).insertBefore(a, f);
break;
case "0":
f.nextSibling ? f.parentElement.insertBefore(a, f.nextSibling) : (f.parentElement || s.body).appendChild(a);
break;
default:
P(b, "plrl", d)
} else P(b, "plrl", d)
}
}
var O = {
url: "//ads.yieldmo.com/v002/t_ads/ads",
cache_url: "//ads.yieldmo.com/v002/t_ads/adren",
tkr_url: "//ads.yieldmo.com/v000/t_tkr/ev",
imp_log: "//ads.yieldmo.com/v002/t_ads/log",
err_log: "//ads.yieldmo.com/v000/t_tkr/errlog"
};
function H(a) {
if (a && "iframe" === (a.tagName || "").toLowerCase() && a.parentElement) {
if (0 < (a.innerHTML || "").length) return !0;
a = a.contentDocument || a.contentWindow.document;
return !!a && !!a.body && 0 < a.body.innerHTML.length
}
return !1
}
function E() {
return q.screen.height || q.screen.availHeight || q.outerHeight || q.innerHeight
}
function F() {
return q.screen.width || q.screen.availWidth || q.outerWidth || q.innerWidth
}
function M(a) {
if (k) try {
a()
} catch (c) {} else "function" === typeof a && (l = l || []).push(a);
if (!n) {
n = !0;
var b = function() {
s.addEventListener ? s.removeEventListener("DOMContentLoaded", b, !1) : s.detachEvent("onreadystatechange", b);
d()
},
d = function() {
if (!k)
if (s.body) {
k = !0;
for (var a = 0; a < l.length; a++) try {
l[a]()
} catch (c) {}
} else setTimeout(d, 10)
},
e = function() {
if (!k) {
try {
s.documentElement.doScroll("left")
} catch (a) {
setTimeout(e, 100);
return
}
d()
}
};
(function() {
var a = !1;
"loading" !== s.readyState && d();
if (s.addEventListener) s.addEventListener("DOMContentLoaded",
b, !1), q.addEventListener("load", b, !1);
else if (s.attachEvent) {
s.attachEvent("onreadystatechange", b);
q.attachEvent("onload", b);
try {
a = null === q.frameElement
} catch (c) {}
s.documentElement.doScroll && a && e()
}
})()
}
}
function Da(a) {
a && C(a) && A(a, function(a) {
var b = s.createElement("div");
b.id = "ym_" + a;
s.getElementById(b.id) || (b.className = "ym", b.style.display = "none", s.body.appendChild(b))
})
}
function Ea(a) {
a && C(a) && A(a, function(a) {
if (a = s.getElementById(a) || s.getElementById("ym_" + a)) {
for (; a.firstChild;) a.removeChild(a.firstChild);
a.removeAttribute("rend");
a.removeAttribute("evs")
}
})
}
function Fa() {
A(s.getElementsByClassName("ym"), function(a) {
a && a.setAttribute && a.setAttribute("rend", 1)
})
}
function Ga(a) {
var c = [];
A((a.contentDocument || a.contentWindow.document).getElementsByTagName("img"), function(a) {
c.push(a.src)
});
return c
}
function R(a, c) {
try {
var b = s.createElement("canvas");
c || (c = "Arial");
if (b) {
var d = b.getContext("2d");
d.globalCompositeOperation = "lighter";
d.globalAlpha = 0.7;
d.textBaseline = "top";
d.font = a + "px " + c;
d.fillStyle = "#f60";
d.fillRect(125, 1, 62, 171);
d.fillStyle = "#069";
d.fillText('[\u65b0\u5e74\u597d\u65b0\u5e74\u597da ;.`BcDEfZGi lPx Qu]"\u00f1# @%!7: 18<canvas>1.0', 2, 15);
d.fillStyle = "rgba(102, 204, 0, 0.7)";
d.fillText('[\u65b0\u5e74\u597d\u65b0\u5e74\u597da ;.`BcDEfZGi lPx Qu]"\u00f1# @%!7: 18<canvas>1.0', 4, 17);
var e = b.toDataURL("image/png");
return B(e)
}
} catch (f) {}
return ""
}
function S(a) {
if (null !== a && "string" === typeof a && 0 !== a.length) {
var c = L();
q._ym ? q._ym.a[a] = c : q.___ym && (q.___ym.a[a] = c)
}
}
var za = function() {
var a = {
v: 4.59,
h: E() || 481,
w: F() || 321,
dh: B(fa()) || "",
dhe: ea() || "",
ck: u(),
dnt: "1" === q.doNotTrack || "1" === q.navigator.doNotTrack || !1
};
q.addEventListener && q.addEventListener("message", function(c) {
if (ga(c) || v(c)) a.ymid = "" + c.data
}, !1);
(function() {
for (var c = [4, 8, 16, 32], b = R(20.4, "6677&&&"), d = 0; d < c.length; d++) b += R(c[d]);
a.fh = B(b);
a.exp = "fh_" + B(R(70, '"Comic Sans"') + R(64, '"Zapfino"'))
})();
return a
}();
function Ha() {
var a = [];
A(s.getElementsByClassName("ym_script"), function(c) {
a.push(c)
});
A(a, function(a) {
a && a.parentNode && a.parentNode.removeChild(a)
})
}
function Ia(a, c) {
if (a) {
var b = s.getElementsByClassName("ym");
A(b, function(a) {
a && a.setAttribute("style", "display:none;")
});
A(b, function(b) {
b && (a = G(a || ""), 0 === G(b.id).indexOf(a) && (!c || c && (b.getAttribute("pl-tag") || "").trim() === c.trim()) && b.setAttribute("style", "display:block;"))
})
}
}
function Ja(a, c) {
var b = {
height: 0,
width: 0
};
a && A(s.getElementsByClassName("ym"), function(d) {
0 <= d.id.indexOf(a) && (!c || c && (d.getAttribute("pl-tag").trim() || "") === c.trim()) && (b.height = d.getBoundingClientRect().height, b.width = d.getBoundingClientRect().width)
});
return b
}
function Ka(a, c) {
return Ja(a, c).height
}
function La(a, c) {
return Ja(a, c).width
}
function Ma(a) {
var c = [],
b = 0;
A(a.data, function(a) {
"undefined" === typeof a.error_code ? b++ : c.push({
placement_id: a.placement_id,
error_code: a.error_code
})
});
return {
placementAdServingErrors: c,
validPlacementsToLoadCount: b
}
}
function Na() {
var a = s.createElement("iframe");
a.className = "ym-background";
a.frameBorder = 0;
a.scrolling = "no";
a.width = 0;
a.height = 0;
a.style.display = "none";
return a
}
function Oa(a) {
function c(c) {
b || !ga(c) && !v(c) || (c.data = (c.data || "").replace(/[^a-z0-9]/ig, ""), b = !0, S("bet"), a(c))
}
var b = !1;
q.addEventListener ? q.addEventListener("message", c, !1) : q.attachEvent("onmessage", c);
S("bst");
var d = Na();
d.src = "https://yieldmo-a.akamaihd.net/blank.min.html?orig=" + q.location.origin;
(s.getElementsByTagName("body")[0] || s.getElementsByTagName("head")[0]).appendChild(d)
}
var Pa = function() {
function a() {
this.n()
}
a.prototype.n = function() {
var a = (new Date).getTime();
this.f = {
6: {
template: "6_promoted_app",
unit_height: 72,
header_height: 30
},
7: {
template: "7_single_app",
unit_height: 152,
header_height: 18
},
8: {
template: "8_time_based_offer",
unit_height: 156,
header_height: 24
},
9: {
template: "9_side_by_side",
unit_height: 228,
header_height: 22,
horizontally_stacked: !0,
default_column_count: 2
},
10: {
template: "10_single_app_fresher",
unit_height: 156,
header_height: 18
},
11: {
template: "11_takeover",
unit_height: 105,
takeover: !0
},
12: {
template: "12_coverimage",
unit_height: 162,
header_height: 20
},
13: {
template: "13_swipe",
fixed_height: 180
}
};
Q('.ym{width:100% !important;margin:5px 0;position:relative;}.ym iframe{margin: 0 auto;width:100%;}.ym:after{visibility:hidden;display:block;font-size:0;content:" ";clear:both;height:0;}.ym.expanded,.ym.expanded iframe{height:100%;}.ym.ym_format11{margin:0;display:block !important;line-height:0 !important;}');
this.b = {
g: {},
c: {},
d: {},
j: !1
};
this.a = x({
ct: a,
page_url: document.location.href ||
"",
pr: document.referrer || "",
adv: {},
p: "",
bust: (new Date).getTime(),
callback: "_ym._processAds"
}, za);
this.data = [];
this.i = [];
this.l = 0
};
a.prototype.q = function(a) {
!this.u(a) && this.A(a) && (this.b.c[a] && delete this.b.c[a], this.b.g[a] && delete this.b.g[a])
};
a.prototype.B = function(a) {
var b = this;
C(a) && (A(a, function(a) {
a.params = b.a;
var c = b.b.c[a.placement_id] || [];
if (sa(b.data, a)) b.b.c[J(a)] && delete b.b.c[J(a)];
else if ("undefined" !== typeof a.error_code) P(a.placement_id, a.error_code), b.b.c[a.placement_id] && delete b.b.c[a.placement_id];
else {
a.override_css = a.css || "";
if (a.ab_js || a.ab_css) a.override_css = a.ab_css;
if (C(a.ads)) {
if (a.ads && a.ads.length) {
var d = a.creative_format_id.toString(),
g = b.f[d].template || null;
if (!g) {
P(a.placement_id, "tpnf");
return
}
A(a.ads, function(d) {
var h = d.configurables || null,
g = J(a);
c.push(d.cr_id);
b.a.adv || (b.a.adv = {});
b.a.adv[g] = b.a.adv[g] || [];
d.adv_id && b.a.adv[g].push(d.adv_id);
x(d, h)
});
g = qa(a, g)(a);
b.o(a, g, d)
}
} else P(a.placement_id, "adar");
b.q(a.placement_id)
}
}), A(a, function(a) {
sa(b.data, a) || (b.data = b.data.concat(a))
}));
this.b.j = !1;
a = [];
for (var d in this.b.c) a.push(d);
0 < a.length && (b.a.p = a.join(), b.m())
};
a.prototype.u = function(a) {
if (!this.b || !this.b.d) return !1;
for (var b in this.b.d)
if (b === a) return !0;
return !1
};
a.prototype.A = function(a) {
if (!this.b || !this.b.c) return !1;
for (var b in this.b.c)
if (b === a) return !0;
return !1
};
a.prototype.s = function() {
for (var a = this.i, b = 0, d = a.length; b < d; b++) {
var e = G(a[b].id);
P(e, "hap", this.a.pv)
}
};
a.prototype.getCreativeMetadata = function(a, b) {
if (q.YIELDMOINAPP) {
var d;
a = G(a || "");
A(s.getElementsByClassName("ym"),
function(e) {
e && 0 === G(e.id).indexOf(a) && (!b || b && (e.getAttribute("pl-tag").trim() || "") === b.trim()) && (d = e)
});
return [].map.call(d.children[0].contentDocument.getElementsByClassName("app"), function(a) {
return x({
creativeid: a.id,
href: a.dataset.href || a.href,
link_type: a.dataset.link_type,
app_store_id: a.dataset.app_store_id
}, a.getBoundingClientRect())
})
}
return []
};
a.prototype.chkPls = function() {
var a = this,
b = this.i = document.getElementsByClassName("ym"),
d = [];
A(b, function(b) {
if (!b.getAttribute("rend")) {
if (0 <= b.className.indexOf("ym_scroll") &&
0 > b.id.indexOf("@") && b.getAttribute("data-id")) {
var f = b.id + "@",
h = b.getAttribute("data-id");
b.id = f + B((h || "") + (a.a.ct || (new Date).getTime()))
}
b.getAttribute("pl-tag") && 0 > b.id.indexOf("$") && (f = b.getAttribute("pl-tag").trim(), 0 < f.length && (b.id = b.id + "$" + B(f)));
f = G(b.id);
b.id = "ym_" + f;
if (f && "string" === typeof f && 0 !== f.length) {
for (var g in a.b.g)
if (f === g) return;
a.b.c[f] = a.b.g[f] = [];
d.push(f)
}
}
});
0 < d.length && !this.b.j ? (a.a.p = d.join(), a.m()) : a.chkIframes()
};
a.prototype.renderPl = function(a) {
var b, d, e;
A(this.data,
function(d) {
a === d.placement_id && (b = d)
});
b && (d = b.creative_format_id.toString(), e = this.f[d].template || null, e = qa(b, e), e = e(b), this.o(b, e, d))
};
a.prototype.requestPageView = function(a) {
a && C(a) ? (Fa(), Ha(), Ea(a), Da(a), this.n(), this.a.prog = "y", this.chkPls()) : t('YMERR: Must supply valid placement array. e.g.: ["1", "2"]')
};
a.prototype.trackEv = N;
a.prototype.genRandId = u;
a.prototype.o = function(a, b, d) {
var e;
e = 0;
var f = J(a),
h = document.createElement("iframe"),
g = document.getElementById("ym_" + f),
m = {},
p = this;
if (g && !(0 <
e && g.getAttribute("rend") && g.children && 0 < g.children.length && H(g.children[0]))) {
for (var r in this.b.c) r === f && (this.b.d[r] = this.b.c[r], this.b.c[r] && delete this.b.c[r]);
for (; g.firstChild;) g.removeChild(g.firstChild);
this.f && a.creative_format_id && (m = x(m, this.f[a.creative_format_id.toString()]));
m = x(m, a.configs);
m.takeover && Ca(g, a.ads, f, this.a.pv);
m.takeover && m.takeover_css && Q(m.takeover_css);
m.ab_external_css && Q(m.ab_external_css);
g.setAttribute("rend", 1);
g.className = ra((g.className + " ym_format" + d).split(" ")).join(" ");
h.frameBorder = "0";
h.scrolling = "no";
h.width = "100%";
h.height = Aa(a, m).toString();
h.src = "about:blank";
h.C = "noresize";
h.setAttribute("style", "display:inline-block;");
g.innerHTML = "";
g.appendChild(h);
g.setAttribute("style", "display:inline-table;");
h.onload = function() {
h.setAttribute("onload", '_ym.renderPl("' + f + '",1)');
q.YIELDMOINAPP && "ios" === q.YIELDMOINAPP.sdk && p.r(Ga(h))
};
d = h.contentDocument || h.contentWindow.document;
d.open();
d.write(b);
d.close();
"undefined" !== typeof a.tkr && a.tkr || g.getAttribute("evs") ||
(g.setAttribute("evs", 1), ya(g, {
pvid: this.a.pv,
plid: f,
pvt: this.a.pvt,
url: O.tkr_url,
conf: m
}));
"1" === m.post_events && xa(g, {
pvid: this.a.pv,
plid: f,
pvt: this.a.pvt,
url: O.tkr_url,
conf: m
});
va(g)
}
};
a.prototype.addScriptTag = z;
a.prototype.chkIframes = function() {
var a = this;
A(this.i, function(b) {
var d = b.firstChild;
d && b.getAttribute("style") && "none" !== b.getAttribute("style").display && (-1 === b.getAttribute("style").indexOf("inline-block") ? (b.setAttribute("style", "display:inline-block;"), setTimeout(a.chkIframes, 1E3)) :
b.setAttribute("style", "display:inline-table;"), (d = d.contentDocument || d.contentWindow.document) && "" === d.body.innerHTML && (b = G(b.id), a.renderPl(b, 1)))
})
};
a.prototype.iosSDKHideAllYieldmoPlacementsExcept = Ia;
a.prototype.iosSDKHeightForPlacement = Ka;
a.prototype.iosSDKWidthForPlacement = La;
a.prototype.hh = B;
a.prototype.m = function() {
var a = this;
if (this.l > pa(a.b.d)) this.b.c = {};
else {
this.l++;
this.b.j = !0;
this.a.p = ta(this.a.p);
var b = K(this.a.p);
this.a.cr = function() {
var d = [],
e;
for (e in a.b.d) {
var g = a.b.d[e],
m = K(e);
if (C(g) && b === m)
for (m = 0; m < g.length; ++m) d.push(g[m])
}
return d
}();
var d = x({}, a.a.adv);
a.a.adv = function() {
var a = [],
c;
for (c in d) K(c) === b && (a = a.concat(d[c]));
return a
}();
"" !== b && (this.a.pv = this.a.pv_id = b);
this.a.bust = (new Date).getTime();
this.a.callback = "_ym._processAds";
S("pft");
var e = O.url + "?" + y(this.a) + "&" + y(ia()) + "&" + Ba();
a.a.adv = d;
q.YIELDMOINAPP ? z(e, ha) : z(e)
}
};
a.prototype._processAds = function(a) {
try {
if (a && a.data) {
var b = Ma(a);
this.e = b.validPlacementsToLoadCount;
this.k = b.placementAdServingErrors;
this.a.pv =
a.pv_id;
this.a.pvt = a.pv_time;
a.epls && Da(a.epls);
this.B(a.data);
la(this.a.pv)
} else this.s()
} catch (d) {
t("_ym:.")
}
};
a.prototype.r = function(a) {
var b = this;
(function(a, b) {
function c(f) {
var g = new Image;
g.onload = function() {
h.push(g);
h.length === a.length && b.call(this, h)
};
g.src = f
}
for (var h = [], g = 0; g < a.length; g++) c(a[g])
})(a, function() {
b.e || (b.e = b.i.length);
b.e -= 1;
if (1 > b.e) {
var a = "yieldmocallback://",
a = b.k && 0 < b.k.length ? a + "ADSERVING_ERRORS" + ("?" + y({
errors: JSON.stringify(b.k)
})) : a + "NO_ERROR";
q.location.href = a
}
})
};
return a
}();
function T() {
if (!q._ym || "object" !== typeof q._ym) {
var a = q._ym = new Pa;
ua();
Oa(function(c) {
0 < (c.data || "").length && (a.a.ymid = "" + c.data);
M(function() {
a.a && (a.a.dmt = (new Date).getTime());
a.chkPls();
a.chkIframes()
});
a.chkPls()
})
}
}
try {
var U;
if (!(U = na())) {
var V;
if (!(V = ma())) {
var W;
if (!(W = oa())) {
var X;
X || (X = navigator.userAgent);
var Y, Z = X;
Z || (Z = navigator.userAgent);
var Qa = Z.match(/Android/i);
if (!(Y = null !== Qa && void 0 !== Qa)) {
var $ = X;
$ || ($ = navigator.userAgent);
var Ra = $.match(/iPhone|iPad|iPod/i);
Y = null !== Ra && void 0 !== Ra
}
W = !Y
}
V = W
}
U = V
}
U ? na() || ma() || oa() : T && "function" === typeof T && T()
} catch (Sa) {
t("_ym:_")
};
})(window, document, void 0)
})(window, document, void 0);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment