{"version":3,"sources":["webpack:///webpack/universalModuleDefinition?5ca6**********************************************************************************************************************","webpack:///taboola-module.js","webpack:///webpack/bootstrap 9ca682b6c47ab8c7f2bf?677d**********************************************************************************************************************","webpack:///./src/modules/taboola-module.js"],"names":["root","factory","exports","module","define","amd","this","modules","__webpack_require__","moduleId","installedModules","id","loaded","call","m","c","p","Voonto","getInstance","Logger","nibara","logger","wakeUp","$elm","info","nibaraLoader","$","data","template","document","ready","window","_taboola","push","article","e","f","u","i","getElementById","async","src","parentNode","insertBefore","createElement","getElementsByTagName","performance","mark","attr","mode","container","placement","target_type","flush"],"mappings":"CAAA,SAAAA,EAAAC,GACA,gBAAAC,UAAA,gBAAAC,QACAA,OAAAD,QAAAD,IACA,kBAAAG,gBAAAC,IACAD,UAAAH,GACA,gBAAAC,SACAA,QAAA,OAAAD,IAEAD,EAAA,OAAAC,KACCK,KAAA,WACD,MCAgB,UAAUC,GCN1B,QAAAC,GAAAC,GAGA,GAAAC,EAAAD,GACA,MAAAC,GAAAD,GAAAP,OAGA,IAAAC,GAAAO,EAAAD,IACAP,WACAS,GAAAF,EACAG,QAAA,EAUA,OANAL,GAAAE,GAAAI,KAAAV,EAAAD,QAAAC,IAAAD,QAAAM,GAGAL,EAAAS,QAAA,EAGAT,EAAAD,QAvBA,GAAAQ,KAqCA,OATAF,GAAAM,EAAAP,EAGAC,EAAAO,EAAAL,EAGAF,EAAAQ,EAAA,GAGAR,EAAA,KDgBM,SAAUL,EAAQD,GAEvB,YExDDe,QAAOC,cAAcd,QAAQ,UAAW,SAAUD,GAC9C,GAAMgB,GAASC,OAAOC,MAEtB,QACIC,OADG,SACIC,GACHJ,EAAOK,KAAP,kBAA8BrB,EAAOQ,GACrC,IAEIc,IAFQR,OAAOC,cAEAD,OAAOS,EAAE,QAAQC,KAAK,iBACzCR,GAAOK,KAAK,2BAA6BC,EAEzC,IAAIG,GAAWL,EAAKI,KAAK,mBACzBR,GAAOK,KAAK,uBAAuBI,GAGnCX,OAAOS,EAAEG,UAAUC,MAAM,WACrBX,EAAOK,KAAK,gEAGZO,OAAOC,SAAWD,OAAOC,aACzBA,SAASC,MAAMC,QAAQ,UACtB,SAAUC,EAAGC,EAAGC,EAAGC,GACXT,SAASU,eAAeD,KACzBH,EAAEK,MAAQ,EACVL,EAAEM,IAAMJ,EACRF,EAAExB,GAAK2B,EACPF,EAAEM,WAAWC,aAAaR,EAAGC,KAEnCP,SAASe,cAAc,UACrBf,SAASgB,qBAAqB,UAAU,GACxC,wDACA,oBACDd,OAAOe,aAAiD,kBAA3Bf,QAAOe,YAAYC,MAClDhB,OAAOe,YAAYC,KAAK,SAGzB,IAAIpC,GAAKY,EAAKyB,KAAK,KAChB,sCAAuCrC,GACtCQ,EAAOK,KAAK,+BACZO,OAAOC,SAAWD,OAAOC,aACzBA,SAASC,MACLgB,KAAM,eACNC,UAAW,mCACXC,UAAW,2BACXC,YAAa,QAEjBrB,OAAOC,SAAWD,OAAOC,aACzBA,SAASC,MACLgB,KAAM,uBACNC,UAAW,2CACXC,UAAW,mCACXC,YAAa,SAGb,4CAA8CzC,GAClDQ,EAAOK,KAAK,8BACZO,OAAOC,SAAWD,OAAOC,aACzBA,SAASC,MACLgB,KAAM,eACNC,UAAW,0CACXC,UAAW,kCACXC,YAAa,QAEjBrB,OAAOC,SAAWD,OAAOC,aACzBA,SAASC,MACLgB,KAAM,uBACNC,UAAW,kDACXC,UAAW,0CACXC,YAAa,SAGb,yCAA2CzC,IAC/CQ,EAAOK,KAAK,qBACZO,OAAOC,SAAWD,OAAOC,aACzBA,SAASC,MACLgB,KAAM,eACNC,UAAW,uCACXC,UAAW,+BACXC,YAAa,SAKrBrB,OAAOC,SAAWD,OAAOC,aACzBA,SAASC,MAAMoB,OAAO","file":"taboola-module.js","sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"Nibara\"] = factory();\n\telse\n\t\troot[\"Nibara\"] = factory();\n})(this, function() {\nreturn \n\n\n// WEBPACK FOOTER //\n// webpack/universalModuleDefinition","(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"Nibara\"] = factory();\n\telse\n\t\troot[\"Nibara\"] = factory();\n})(this, function() {\nreturn /******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId])\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\texports: {},\n/******/ \t\t\tid: moduleId,\n/******/ \t\t\tloaded: false\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.loaded = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"\";\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(0);\n/******/ })\n/************************************************************************/\n/******/ ([\n/* 0 */\n/***/ (function(module, exports) {\n\n\t'use strict';\n\t\n\tVoonto.getInstance().define(['module'], function (module) {\n\t var Logger = nibara.logger;\n\t\n\t return {\n\t wakeUp: function wakeUp($elm) {\n\t Logger.info('wake up module ' + module.id);\n\t var app = Voonto.getInstance();\n\t\n\t var nibaraLoader = Voonto.$('body').data('nibara-loader');\n\t Logger.info('[taboola] nibaraLoader: ' + nibaraLoader);\n\t\n\t var template = $elm.data('template-taboola');\n\t Logger.info('[taboola] template: ' + template);\n\t\n\t // wait to finish document load\n\t Voonto.$(document).ready(function () {\n\t Logger.info('[taboola] DOM load finished continue loading taboola widgets');\n\t\n\t // First script\n\t window._taboola = window._taboola || [];\n\t _taboola.push({ article: 'auto' });\n\t !function (e, f, u, i) {\n\t if (!document.getElementById(i)) {\n\t e.async = 1;\n\t e.src = u;\n\t e.id = i;\n\t f.parentNode.insertBefore(e, f);\n\t }\n\t }(document.createElement('script'), document.getElementsByTagName('script')[0], '//cdn.taboola.com/libtrc/vocentoabc-network/loader.js', 'tb_loader_script');\n\t if (window.performance && typeof window.performance.mark == 'function') {\n\t window.performance.mark('tbl_ic');\n\t }\n\t\n\t // Second script\n\t var id = $elm.attr('id');\n\t if ('taboola-below-article-thumbnails' === id) {\n\t Logger.info('[taboola] Widget JS desktop');\n\t window._taboola = window._taboola || [];\n\t _taboola.push({\n\t mode: 'thumbnails-a',\n\t container: 'taboola-below-article-thumbnails',\n\t placement: 'Below Article Thumbnails',\n\t target_type: 'mix'\n\t });\n\t window._taboola = window._taboola || [];\n\t _taboola.push({\n\t mode: 'organic-thumbnails-a',\n\t container: 'taboola-organic-below-article-thumbnails',\n\t placement: 'Organic Below Article Thumbnails',\n\t target_type: 'mix'\n\t });\n\t } else if ('taboola-mobile-below-article-thumbnails' === id) {\n\t Logger.info('[taboola] Widget JS mobile');\n\t window._taboola = window._taboola || [];\n\t _taboola.push({\n\t mode: 'thumbnails-b',\n\t container: 'taboola-mobile-below-article-thumbnails',\n\t placement: 'Mobile Below Article Thumbnails',\n\t target_type: 'mix'\n\t });\n\t window._taboola = window._taboola || [];\n\t _taboola.push({\n\t mode: 'organic-thumbnails-b',\n\t container: 'taboola-mobile-organic-below-article-thumbnails',\n\t placement: 'Mobile Organic Below Article Thumbnails',\n\t target_type: 'mix'\n\t });\n\t } else if ('taboola-below-article-thumbnails-2nd' === id) {\n\t Logger.info('[taboola] Feed JS');\n\t window._taboola = window._taboola || [];\n\t _taboola.push({\n\t mode: 'thumbnails-c',\n\t container: 'taboola-below-article-thumbnails-2nd',\n\t placement: 'Below Article Thumbnails 2nd',\n\t target_type: 'mix'\n\t });\n\t }\n\t\n\t // Third script\n\t window._taboola = window._taboola || [];\n\t _taboola.push({ flush: true });\n\t });\n\t }\n\t };\n\t});\n\n/***/ })\n/******/ ])\n});\n;\n\n\n// WEBPACK FOOTER //\n// taboola-module.js"," \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId])\n \t\t\treturn installedModules[moduleId].exports;\n\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\texports: {},\n \t\t\tid: moduleId,\n \t\t\tloaded: false\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.loaded = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(0);\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap 9ca682b6c47ab8c7f2bf","Voonto.getInstance().define(['module'], function (module) {\n const Logger = nibara.logger;\n\n return {\n wakeUp($elm){\n Logger.info(`wake up module ${module.id}`);\n const app = Voonto.getInstance();\n\n let nibaraLoader = Voonto.$('body').data('nibara-loader');\n Logger.info('[taboola] nibaraLoader: ' + nibaraLoader);\n\n let template = $elm.data('template-taboola');\n Logger.info('[taboola] template: '+template);\n\n // wait to finish document load\n Voonto.$(document).ready(function() {\n Logger.info('[taboola] DOM load finished continue loading taboola widgets');\n\n // First script\n window._taboola = window._taboola || [];\n _taboola.push({article:'auto'});\n !function (e, f, u, i) {\n if (!document.getElementById(i)){\n e.async = 1;\n e.src = u;\n e.id = i;\n f.parentNode.insertBefore(e, f);\n }\n }(document.createElement('script'),\n document.getElementsByTagName('script')[0],\n '//cdn.taboola.com/libtrc/vocentoabc-network/loader.js',\n 'tb_loader_script');\n if(window.performance && typeof window.performance.mark == 'function')\n {window.performance.mark('tbl_ic');}\n\n // Second script\n let id = $elm.attr('id');\n if('taboola-below-article-thumbnails' === id){\n Logger.info('[taboola] Widget JS desktop');\n window._taboola = window._taboola || [];\n _taboola.push({\n mode: 'thumbnails-a',\n container: 'taboola-below-article-thumbnails',\n placement: 'Below Article Thumbnails',\n target_type: 'mix'\n });\n window._taboola = window._taboola || [];\n _taboola.push({\n mode: 'organic-thumbnails-a',\n container: 'taboola-organic-below-article-thumbnails',\n placement: 'Organic Below Article Thumbnails',\n target_type: 'mix'\n });\n }\n else if('taboola-mobile-below-article-thumbnails' === id){\n Logger.info('[taboola] Widget JS mobile');\n window._taboola = window._taboola || [];\n _taboola.push({\n mode: 'thumbnails-b',\n container: 'taboola-mobile-below-article-thumbnails',\n placement: 'Mobile Below Article Thumbnails',\n target_type: 'mix'\n });\n window._taboola = window._taboola || [];\n _taboola.push({\n mode: 'organic-thumbnails-b',\n container: 'taboola-mobile-organic-below-article-thumbnails',\n placement: 'Mobile Organic Below Article Thumbnails',\n target_type: 'mix'\n });\n }\n else if('taboola-below-article-thumbnails-2nd' === id){\n Logger.info('[taboola] Feed JS');\n window._taboola = window._taboola || [];\n _taboola.push({\n mode: 'thumbnails-c',\n container: 'taboola-below-article-thumbnails-2nd',\n placement: 'Below Article Thumbnails 2nd',\n target_type: 'mix'\n });\n }\n\n // Third script\n window._taboola = window._taboola || [];\n _taboola.push({flush: true});\n });\n }\n }\n});\n\n\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/taboola-module.js"],"sourceRoot":""}