webpackJsonp([7],{
/***/ 19:
/***/ (function(module, exports, __webpack_require__) {
"use strict";
__webpack_require__(43);
var ch1_player = __webpack_require__(63);
window.player = new ch1_player();
/***/ }),
/***/ 43:
/***/ (function(module, exports) {
// removed by extract-text-webpack-plugin
/***/ }),
/***/ 63:
/***/ (function(module, exports, __webpack_require__) {
var project_player = __webpack_require__(0);
var platform = __webpack_require__(1).run_on;
var ch1_player = project_player.extend({
initialize2: function () {
this._super();
this.patternDone = false;
var $infoBlock = $('[data-block_type="infographic_text"]');
var focus_text = $infoBlock.text();
$infoBlock.replaceWith($('
' + focus_text + '
'));
$('#digfir_section_1 > [data-type="figure"]').attr('tabIndex', '-1');
$('#digfir_section_1 > [data-type="figure"] iframe').attr('aria-label', 'Map showing gini indexes');
var $skipLink = $('.skipMapLink');
if (platform.mobile) {
$skipLink.attr('tabIndex', '0').attr('class', $skipLink.attr('class') + ' visually-hidden');
$skipLink.click(function (e) {
for (var i = 0; i < 3; i++) {
setTimeout(function () {
$('.prev_button').focus();
}, 100);
}
});
}
else {
$skipLink.hide();
}
},
show_section: function (section_to_show) {
this._super(section_to_show);
if (this.section_currently_showing == 1 && !this.patternDone) {
this.patternDone = true;
var id = setInterval(function () {
if (window.getRussia()) {
console.log(window.getRussia().getBoundingClientRect());
window.pattern.createPatternsArray(window.pathArray);
clearInterval(id);
}
}, 100);
}
}
});
module.exports = ch1_player;
/***/ }),
/***/ 90:
/***/ (function(module, exports, __webpack_require__) {
module.exports = __webpack_require__(19);
/***/ })
},[90]);
//# sourceMappingURL=chapter_1_gini_bergerinvite4e.js.map