@invrs/ads
Advanced tools
Comparing version 0.6.19 to 0.6.20
"use strict"; | ||
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); | ||
var _Object$defineProperty = require("@babel/runtime/core-js/object/define-property"); | ||
var _Object$keys = require("@babel/runtime/core-js/object/keys"); | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
var _exportNames = { | ||
viewportSize: true | ||
}; | ||
exports.viewportSize = viewportSize; | ||
exports.viewport_maps = exports.viewports = exports.units = exports.oop = exports.ads = void 0; | ||
var _data = _interopRequireDefault(require("./data")); | ||
var _data = require("./data"); | ||
var ads = _data.default.ads, | ||
oop = _data.default.oop, | ||
units = _data.default.units, | ||
viewports = _data.default.viewports, | ||
viewport_maps = _data.default.viewport_maps; | ||
exports.viewport_maps = viewport_maps; | ||
exports.viewports = viewports; | ||
exports.units = units; | ||
exports.oop = oop; | ||
exports.ads = ads; | ||
_Object$keys(_data).forEach(function (key) { | ||
if (key === "default" || key === "__esModule") return; | ||
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return; | ||
_Object$defineProperty(exports, key, { | ||
enumerable: true, | ||
get: function get() { | ||
return _data[key]; | ||
} | ||
}); | ||
}); | ||
function viewportSize(_ref) { | ||
@@ -29,7 +34,7 @@ var slide = _ref.slide, | ||
if (slide && unit == "main1") { | ||
return viewport_maps["".concat(unit, "_slide")]; | ||
return _data.viewport_maps["".concat(unit, "_slide")]; | ||
} else { | ||
return viewport_maps[unit]; | ||
return _data.viewport_maps[unit]; | ||
} | ||
} | ||
//# sourceMappingURL=config.js.map |
@@ -6,35 +6,39 @@ "use strict"; | ||
}); | ||
exports.default = void 0; | ||
exports.viewport_maps = exports.viewports = exports.units = exports.sections = exports.pages = exports.oop = exports.ads = void 0; | ||
/* eslint-disable */ | ||
var _default = { | ||
ads: { | ||
top1: [[1, 1], [300, 50], [300, 100], [300, 250], [728, 90], [970, 90], [970, 250], [1920, 300], "fluid"], | ||
main1: [[1, 1], [300, 50], [300, 100], [300, 250], [728, 90], [1920, 400], [1920, 500], "fluid"], | ||
main1_slide: [[300, 50], [300, 100], [728, 90]], | ||
list1: [[1, 1], [300, 50], [300, 100], [300, 250], [300, 600], [728, 90], [970, 90], [970, 250], [1920, 400], [1920, 500], "fluid"], | ||
list2: [[1, 1], [300, 50], [300, 100], [300, 250], [300, 600]], | ||
content1: [[1, 1], [300, 50], [300, 100], [300, 250], [728, 90], [1920, 400], [1920, 500], "fluid"], | ||
rail1: [[1, 1], [300, 250], [300, 600], "fluid"], | ||
rail2: [[1, 1], [300, 250], [300, 600], "fluid"], | ||
rail3: [[1, 1], [300, 250], [300, 600], "fluid"] | ||
}, | ||
oop: ["oop1", "oop2", "oop_logo", "oop_skin", "oop_tp", "oop_fwidth", "oop_promo_package", "oop_promo_related", "oop_promo_section_list"], | ||
pages: ["home", "sec", "art", "str", "misc", "slide"], | ||
sections: ["home", "misc", "science", "innovation", "entertainment", "culture", "mind-and-body", "brave-new-worlds", "humans", "life-in-space", "point-b", "replicants", "science-and-chill"], | ||
units: ["top1", "main1", "list1", "list2", "content1", "oop1", "oop2", "oop_logo", "oop_skin", "oop_tp", "oop_fwidth", "oop_promo_package", "oop_promo_related", "oop_promo_section_list", "rail1", "rail2", "rail3"], | ||
viewports: [[1200, 800], [1024, 768], [768, 1024], [732, 412], [568, 320], [360, 640], [320, 568], [0, 0]], | ||
viewport_maps: { | ||
top1: [[[1, 1], [728, 90], [970, 90], [970, 250], [1920, 300], "fluid"], [[1, 1], [728, 90], [970, 90], [970, 250], [1920, 300], "fluid"], [[1, 1], [300, 250], [728, 90], [1920, 300], "fluid"], [[1, 1], [300, 50], [300, 100], [300, 250], [728, 90], [1920, 300], "fluid"], [[1, 1], [300, 50], [300, 100], [300, 250], [1920, 300], "fluid"], [[1, 1], [300, 50], [300, 100], [300, 250], [1920, 300], "fluid"], [[1, 1], [300, 50], [300, 100], [300, 250], [1920, 300], "fluid"], [[1, 1], [300, 50], [300, 100], [300, 250], [1920, 300], "fluid"]], | ||
main1: [[[1, 1], [300, 250], [728, 90], [1920, 400], [1920, 500], "fluid"], [[1, 1], [300, 250], [728, 90], [1920, 400], [1920, 500], "fluid"], [[1, 1], [300, 250], [728, 90], [1920, 400], [1920, 500], "fluid"], [[1, 1], [300, 50], [300, 100], [300, 250], [728, 90], [1920, 400], [1920, 500], "fluid"], [[1, 1], [300, 50], [300, 100], [300, 250], [1920, 400], [1920, 500], "fluid"], [[1, 1], [300, 50], [300, 100], [300, 250], [1920, 400], [1920, 500], "fluid"], [[1, 1], [300, 50], [300, 100], [300, 250], [1920, 400], [1920, 500], "fluid"], [[1, 1], [300, 50], [300, 100], [300, 250], [1920, 300], [1920, 400], [1920, 500], "fluid"]], | ||
main1_slide: [[[300, 100], [728, 90]], [[300, 100], [728, 90]], [[300, 100], [728, 90]], [[300, 50], [300, 100], [728, 90]], [[300, 50], [300, 100]], [[300, 50], [300, 100]], [[300, 50], [300, 100]], [[300, 50], [300, 100]]], | ||
list1: [[[1, 1], [300, 250], [300, 600], [728, 90], [970, 90], [970, 250], [1920, 400], [1920, 500], "fluid"], [[1, 1], [300, 250], [300, 600], [728, 90], [970, 90], [970, 250], [1920, 400], [1920, 500], "fluid"], [[1, 1], [300, 250], [300, 600], [728, 90], [1920, 400], [1920, 500], "fluid"], [[1, 1], [300, 100], [300, 50], [300, 250], [728, 90], [1920, 400], [1920, 500], "fluid"], [[1, 1], [300, 50], [300, 100], [300, 250], [1920, 400], [1920, 500], "fluid"], [[1, 1], [300, 50], [300, 100], [300, 250], [1920, 400], [1920, 500], "fluid"], [[1, 1], [300, 50], [300, 100], [300, 250], [1920, 400], [1920, 500], "fluid"], [[1, 1], [300, 50], [300, 100], [300, 250], [1920, 400], [1920, 500], "fluid"]], | ||
list2: [[[1, 1], [300, 250], [300, 600], "fluid"], [[1, 1], [300, 250], [300, 600], "fluid"], [[1, 1], [300, 250], [300, 600], "fluid"], [[1, 1], [300, 50], [300, 100], [300, 250], "fluid"], [[1, 1], [300, 50], [300, 100], [300, 250], "fluid"], [[1, 1], [300, 50], [300, 100], [300, 250], "fluid"], [[1, 1], [300, 50], [300, 100], [300, 250], "fluid"], [[1, 1], [300, 50], [300, 100], [300, 250], "fluid"]], | ||
content1: [[[1, 1], [300, 250], [728, 90], [1920, 400], [1920, 500], "fluid"], [[1, 1], [300, 250], [728, 90], [1920, 400], [1920, 500], "fluid"], [[1, 1], [300, 250], [728, 90], [1920, 400], [1920, 500], "fluid"], [[1, 1], [300, 50], [300, 100], [300, 250], [728, 90], [1920, 400], [1920, 500], "fluid"], [[1, 1], [300, 50], [300, 100], [300, 250], [1920, 400], [1920, 500], "fluid"], [[1, 1], [300, 50], [300, 100], [300, 250], [1920, 400], [1920, 500], "fluid"], [[1, 1], [300, 50], [300, 100], [300, 250], [1920, 400], [1920, 500], "fluid"], [[1, 1], [300, 50], [300, 100], [300, 250], [1920, 400], [1920, 500], "fluid"]], | ||
rail1: [[[1, 1], [300, 250], [300, 600], "fluid"], [[1, 1]], [[1, 1]], [[1, 1]], [[1, 1]], [[1, 1]], [[1, 1]], [[1, 1]]], | ||
rail2: [[[1, 1], [300, 250], [300, 600], "fluid"], [[1, 1]], [[1, 1]], [[1, 1]], [[1, 1]], [[1, 1]], [[1, 1]], [[1, 1]]], | ||
rail3: [[[1, 1], [300, 250], [300, 600], "fluid"], [[1, 1]], [[1, 1]], [[1, 1]], [[1, 1]], [[1, 1]], [[1, 1]], [[1, 1]]] | ||
} | ||
var ads = { | ||
top1: [[1, 1], [300, 50], [300, 100], [300, 250], [728, 90], [970, 90], [970, 250], [1920, 300], "fluid"], | ||
main1: [[1, 1], [300, 50], [300, 100], [300, 250], [728, 90], [1920, 400], [1920, 500], "fluid"], | ||
main1_slide: [[300, 50], [300, 100], [728, 90]], | ||
list1: [[1, 1], [300, 50], [300, 100], [300, 250], [300, 600], [728, 90], [970, 90], [970, 250], [1920, 400], [1920, 500], "fluid"], | ||
list2: [[1, 1], [300, 50], [300, 100], [300, 250], [300, 600]], | ||
content1: [[1, 1], [300, 50], [300, 100], [300, 250], [728, 90], [1920, 400], [1920, 500], "fluid"], | ||
rail1: [[1, 1], [300, 250], [300, 600], "fluid"], | ||
rail2: [[1, 1], [300, 250], [300, 600], "fluid"], | ||
rail3: [[1, 1], [300, 250], [300, 600], "fluid"] | ||
}; | ||
exports.default = _default; | ||
exports.ads = ads; | ||
var oop = ["oop1", "oop2", "oop_logo", "oop_skin", "oop_tp", "oop_fwidth", "oop_promo_package", "oop_promo_related", "oop_promo_section_list"]; | ||
exports.oop = oop; | ||
var pages = ["home", "sec", "art", "str", "misc", "slide"]; | ||
exports.pages = pages; | ||
var sections = ["home", "misc", "science", "innovation", "entertainment", "culture", "mind-and-body", "brave-new-worlds", "humans", "life-in-space", "point-b", "replicants", "science-and-chill"]; | ||
exports.sections = sections; | ||
var units = ["top1", "main1", "list1", "list2", "content1", "oop1", "oop2", "oop_logo", "oop_skin", "oop_tp", "oop_fwidth", "oop_promo_package", "oop_promo_related", "oop_promo_section_list", "rail1", "rail2", "rail3"]; | ||
exports.units = units; | ||
var viewports = [[1200, 800], [1024, 768], [768, 1024], [732, 412], [568, 320], [360, 640], [320, 568], [0, 0]]; | ||
exports.viewports = viewports; | ||
var viewport_maps = { | ||
top1: [[[1, 1], [728, 90], [970, 90], [970, 250], [1920, 300], "fluid"], [[1, 1], [728, 90], [970, 90], [970, 250], [1920, 300], "fluid"], [[1, 1], [300, 250], [728, 90], [1920, 300], "fluid"], [[1, 1], [300, 50], [300, 100], [300, 250], [728, 90], [1920, 300], "fluid"], [[1, 1], [300, 50], [300, 100], [300, 250], [1920, 300], "fluid"], [[1, 1], [300, 50], [300, 100], [300, 250], [1920, 300], "fluid"], [[1, 1], [300, 50], [300, 100], [300, 250], [1920, 300], "fluid"], [[1, 1], [300, 50], [300, 100], [300, 250], [1920, 300], "fluid"]], | ||
main1: [[[1, 1], [300, 250], [728, 90], [1920, 400], [1920, 500], "fluid"], [[1, 1], [300, 250], [728, 90], [1920, 400], [1920, 500], "fluid"], [[1, 1], [300, 250], [728, 90], [1920, 400], [1920, 500], "fluid"], [[1, 1], [300, 50], [300, 100], [300, 250], [728, 90], [1920, 400], [1920, 500], "fluid"], [[1, 1], [300, 50], [300, 100], [300, 250], [1920, 400], [1920, 500], "fluid"], [[1, 1], [300, 50], [300, 100], [300, 250], [1920, 400], [1920, 500], "fluid"], [[1, 1], [300, 50], [300, 100], [300, 250], [1920, 400], [1920, 500], "fluid"], [[1, 1], [300, 50], [300, 100], [300, 250], [1920, 300], [1920, 400], [1920, 500], "fluid"]], | ||
main1_slide: [[[300, 100], [728, 90]], [[300, 100], [728, 90]], [[300, 100], [728, 90]], [[300, 50], [300, 100], [728, 90]], [[300, 50], [300, 100]], [[300, 50], [300, 100]], [[300, 50], [300, 100]], [[300, 50], [300, 100]]], | ||
list1: [[[1, 1], [300, 250], [300, 600], [728, 90], [970, 90], [970, 250], [1920, 400], [1920, 500], "fluid"], [[1, 1], [300, 250], [300, 600], [728, 90], [970, 90], [970, 250], [1920, 400], [1920, 500], "fluid"], [[1, 1], [300, 250], [300, 600], [728, 90], [1920, 400], [1920, 500], "fluid"], [[1, 1], [300, 100], [300, 50], [300, 250], [728, 90], [1920, 400], [1920, 500], "fluid"], [[1, 1], [300, 50], [300, 100], [300, 250], [1920, 400], [1920, 500], "fluid"], [[1, 1], [300, 50], [300, 100], [300, 250], [1920, 400], [1920, 500], "fluid"], [[1, 1], [300, 50], [300, 100], [300, 250], [1920, 400], [1920, 500], "fluid"], [[1, 1], [300, 50], [300, 100], [300, 250], [1920, 400], [1920, 500], "fluid"]], | ||
list2: [[[1, 1], [300, 250], [300, 600], "fluid"], [[1, 1], [300, 250], [300, 600], "fluid"], [[1, 1], [300, 250], [300, 600], "fluid"], [[1, 1], [300, 50], [300, 100], [300, 250], "fluid"], [[1, 1], [300, 50], [300, 100], [300, 250], "fluid"], [[1, 1], [300, 50], [300, 100], [300, 250], "fluid"], [[1, 1], [300, 50], [300, 100], [300, 250], "fluid"], [[1, 1], [300, 50], [300, 100], [300, 250], "fluid"]], | ||
content1: [[[1, 1], [300, 250], [728, 90], [1920, 400], [1920, 500], "fluid"], [[1, 1], [300, 250], [728, 90], [1920, 400], [1920, 500], "fluid"], [[1, 1], [300, 250], [728, 90], [1920, 400], [1920, 500], "fluid"], [[1, 1], [300, 50], [300, 100], [300, 250], [728, 90], [1920, 400], [1920, 500], "fluid"], [[1, 1], [300, 50], [300, 100], [300, 250], [1920, 400], [1920, 500], "fluid"], [[1, 1], [300, 50], [300, 100], [300, 250], [1920, 400], [1920, 500], "fluid"], [[1, 1], [300, 50], [300, 100], [300, 250], [1920, 400], [1920, 500], "fluid"], [[1, 1], [300, 50], [300, 100], [300, 250], [1920, 400], [1920, 500], "fluid"]], | ||
rail1: [[[1, 1], [300, 250], [300, 600], "fluid"], [[1, 1]], [[1, 1]], [[1, 1]], [[1, 1]], [[1, 1]], [[1, 1]], [[1, 1]]], | ||
rail2: [[[1, 1], [300, 250], [300, 600], "fluid"], [[1, 1]], [[1, 1]], [[1, 1]], [[1, 1]], [[1, 1]], [[1, 1]], [[1, 1]]], | ||
rail3: [[[1, 1], [300, 250], [300, 600], "fluid"], [[1, 1]], [[1, 1]], [[1, 1]], [[1, 1]], [[1, 1]], [[1, 1]], [[1, 1]]] | ||
}; | ||
exports.viewport_maps = viewport_maps; | ||
//# sourceMappingURL=data.js.map |
@@ -5,5 +5,17 @@ "use strict"; | ||
var _Object$defineProperty = require("@babel/runtime/core-js/object/define-property"); | ||
var _Object$keys = require("@babel/runtime/core-js/object/keys"); | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
var _exportNames = { | ||
store: true, | ||
init: true, | ||
addCallback: true, | ||
display: true, | ||
destroy: true, | ||
target: true | ||
}; | ||
exports.init = init; | ||
@@ -28,2 +40,14 @@ exports.addCallback = addCallback; | ||
_Object$keys(_config).forEach(function (key) { | ||
if (key === "default" || key === "__esModule") return; | ||
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return; | ||
_Object$defineProperty(exports, key, { | ||
enumerable: true, | ||
get: function get() { | ||
return _config[key]; | ||
} | ||
}); | ||
}); | ||
var _googletag = require("./googletag"); | ||
@@ -38,5 +62,5 @@ | ||
// Constants | ||
var store = (0, _dotStoreMessage.default)((0, _dotStoreIframe.default)(new _dotStore.default())); // Initializers | ||
var store = (0, _dotStoreMessage.default)((0, _dotStoreIframe.default)(new _dotStore.default())); | ||
exports.store = store; | ||
// Initializers | ||
init(); // Functions | ||
@@ -43,0 +67,0 @@ |
{ | ||
"name": "@invrs/ads", | ||
"version": "0.6.19", | ||
"version": "0.6.20", | ||
"description": "Inverse ad code", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
55430
477