{"version":3,"sources":["webpack:///webpack/universalModuleDefinition","webpack:///nitf.js","webpack:///webpack/bootstrap 3f4b9c1f87d0218dc0b4","webpack:///./app/nitf_icon.png","webpack:///./app/tile-nitf.png","webpack:///./app/nitf.js"],"names":["root","factory","exports","module","define","amd","this","modules","__webpack_require__","moduleId","installedModules","i","l","call","m","c","value","d","name","getter","o","Object","defineProperty","configurable","enumerable","get","n","__esModule","object","property","prototype","hasOwnProperty","p","s","_classCallCheck","instance","Constructor","TypeError","_createClass","defineProperties","target","props","length","descriptor","writable","key","protoProps","staticProps","SlideShow","el","$el","$","proportion","bind_events","_$","_x","apply","arguments","toString","selector","on","proxy","sync_slideshows","thumbs_click","e","opts","$slideshows","cycle","currSlide","index","$thumbs","api","preventDefault","data","getSlideIndex","parentElement","window","load"],"mappings":"CAAA,SAAAA,EAAAC,GACA,gBAAAC,UAAA,gBAAAC,QACAA,OAAAD,QAAAD,IACA,kBAAAG,gBAAAC,IACAD,UAAAH,GACA,gBAAAC,SACAA,QAAA,mBAAAD,IAEAD,EAAA,mBAAAC,KACCK,KAAA,WACD,MCAgB,UAAUC,GCN1B,QAAAC,GAAAC,GAGA,GAAAC,EAAAD,GACA,MAAAC,GAAAD,GAAAP,OAGA,IAAAC,GAAAO,EAAAD,IACAE,EAAAF,EACAG,GAAA,EACAV,WAUA,OANAK,GAAAE,GAAAI,KAAAV,EAAAD,QAAAC,IAAAD,QAAAM,GAGAL,EAAAS,GAAA,EAGAT,EAAAD,QAvBA,GAAAQ,KA+DA,OAnCAF,GAAAM,EAAAP,EAGAC,EAAAO,EAAAL,EAGAF,EAAAG,EAAA,SAAAK,GAA2C,MAAAA,IAG3CR,EAAAS,EAAA,SAAAf,EAAAgB,EAAAC,GACAX,EAAAY,EAAAlB,EAAAgB,IACAG,OAAAC,eAAApB,EAAAgB,GACAK,cAAA,EACAC,YAAA,EACAC,IAAAN,KAMAX,EAAAkB,EAAA,SAAAvB,GACA,GAAAgB,GAAAhB,KAAAwB,WACA,W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MAAOJ,GAAGI,YAGLP,GACP,SI3HFQ,GACA,MAAOR,GAAEQ,EAAUrD,KAAK4C,SJ8HxBL,IAAK,cACL7B,MAAO,WI3HPV,KAAK6C,EAAE,iBAAiBS,GAAG,wBAAyBT,EAAEU,MAAMvD,KAAKwD,gBAAiBxD,OAClFA,KAAK6C,EAAE,iCAAiCS,GAAG,QAAST,EAAEU,MAAMvD,KAAKyD,aAAczD,UJ+H/EuC,IAAK,kBACL7B,MAAO,SI7HOgD,EAAGC,GACjB,GAAoBC,EACpBA,GAAc5D,KAAK6C,EAAE,oBACrBe,EAAYC,MAAM,OAAQF,EAAKG,cJgI/BvB,IAAK,eACL7B,MAAO,SI9HIgD,GACX,GAAIK,GAAOC,EAASC,EAAKL,CACzBF,GAAEQ,iBACFF,EAAUhE,KAAK6C,EAAE,oBACjBoB,EAAMD,EAAQG,KAAK,aACnBJ,EAAQE,EAAIG,cAAcV,EAAExB,OAAOmC,eACnCT,EAAc5D,KAAK6C,EAAE,oBACrBe,EAAYC,MAAM,OAAQE,OJkIrBrB,II9HTG,GAAEyB,QAAQC,KAAK,WACT1B,EAAE,+DAA+DT,OAAS,GAC5E,GAAIM,GAAUG,EAAE,2BAIpBhD,EAAOD,QAAU8C","file":"nitf.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[\"collective.nitf\"] = factory();\n\telse\n\t\troot[\"collective.nitf\"] = 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[\"collective.nitf\"] = factory();\n\telse\n\t\troot[\"collective.nitf\"] = 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\ti: moduleId,\n/******/ \t\t\tl: false,\n/******/ \t\t\texports: {}\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.l = 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// identity function for calling harmony imports with the correct context\n/******/ \t__webpack_require__.i = function(value) { return value; };\n/******/\n/******/ \t// define getter function for harmony exports\n/******/ \t__webpack_require__.d = function(exports, name, getter) {\n/******/ \t\tif(!__webpack_require__.o(exports, name)) {\n/******/ \t\t\tObject.defineProperty(exports, name, {\n/******/ \t\t\t\tconfigurable: false,\n/******/ \t\t\t\tenumerable: true,\n/******/ \t\t\t\tget: getter\n/******/ \t\t\t});\n/******/ \t\t}\n/******/ \t};\n/******/\n/******/ \t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t__webpack_require__.n = function(module) {\n/******/ \t\tvar getter = module && module.__esModule ?\n/******/ \t\t\tfunction getDefault() { return module['default']; } :\n/******/ \t\t\tfunction getModuleExports() { return module; };\n/******/ \t\t__webpack_require__.d(getter, 'a', getter);\n/******/ \t\treturn getter;\n/******/ \t};\n/******/\n/******/ \t// Object.prototype.hasOwnProperty.call\n/******/ \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"++resource++collective.nitf/\";\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(__webpack_require__.s = 3);\n/******/ })\n/************************************************************************/\n/******/ ([\n/* 0 */\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 1 */\n/***/ (function(module, exports, __webpack_require__) {\n\nmodule.exports = __webpack_require__.p + \"nitf_icon.png\";\n\n/***/ }),\n/* 2 */\n/***/ (function(module, exports, __webpack_require__) {\n\nmodule.exports = __webpack_require__.p + \"tile-nitf.png\";\n\n/***/ }),\n/* 3 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\n__webpack_require__(0);\n\n__webpack_require__(1);\n\n__webpack_require__(2);\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar SlideShow = function () {\n function SlideShow(el) {\n _classCallCheck(this, SlideShow);\n\n this.$el = $(el);\n this.proportion = 3 / 2;\n this.bind_events();\n }\n\n _createClass(SlideShow, [{\n key: '$',\n value: function (_$) {\n function $(_x) {\n return _$.apply(this, arguments);\n }\n\n $.toString = function () {\n return _$.toString();\n };\n\n return $;\n }(function (selector) {\n return $(selector, this.$el);\n })\n }, {\n key: 'bind_events',\n value: function bind_events() {\n this.$('.cycle-player').on('cycle-next cycle-prev', $.proxy(this.sync_slideshows, this));\n this.$('.cycle-carrossel .thumb-itens').on('click', $.proxy(this.thumbs_click, this));\n }\n }, {\n key: 'sync_slideshows',\n value: function sync_slideshows(e, opts) {\n var index, $player, $slideshows;\n $slideshows = this.$('.cycle-slideshow');\n $slideshows.cycle('goto', opts.currSlide);\n }\n }, {\n key: 'thumbs_click',\n value: function thumbs_click(e) {\n var index, $thumbs, api, $slideshows;\n e.preventDefault();\n $thumbs = this.$('.cycle-carrossel');\n api = $thumbs.data('cycle.API');\n index = api.getSlideIndex(e.target.parentElement);\n $slideshows = this.$('.cycle-slideshow');\n $slideshows.cycle('goto', index);\n }\n }]);\n\n return SlideShow;\n}();\n\n$(window).load(function () {\n if ($('.portaltype-collective-nitf-content.template-slideshow_view').length > 0) {\n new SlideShow($('.slideshow-container'));\n }\n});\n\nmodule.exports = SlideShow;\n\n/***/ })\n/******/ ]);\n});\n\n\n// WEBPACK FOOTER //\n// nitf.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\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\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.l = 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// identity function for calling harmony imports with the correct context\n \t__webpack_require__.i = function(value) { return value; };\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"++resource++collective.nitf/\";\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 3);\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap 3f4b9c1f87d0218dc0b4","module.exports = __webpack_public_path__ + \"nitf_icon.png\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./app/nitf_icon.png\n// module id = 1\n// module chunks = 0","module.exports = __webpack_public_path__ + \"tile-nitf.png\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./app/tile-nitf.png\n// module id = 2\n// module chunks = 0","import './nitf.less';\nimport './nitf_icon.png';\nimport './tile-nitf.png';\n\nclass SlideShow {\n constructor(el) {\n this.$el = $(el);\n this.proportion = 3 / 2;\n this.bind_events();\n }\n\n $(selector) {\n return $(selector, this.$el);\n }\n\n bind_events() {\n this.$('.cycle-player').on('cycle-next cycle-prev', $.proxy(this.sync_slideshows, this));\n this.$('.cycle-carrossel .thumb-itens').on('click', $.proxy(this.thumbs_click, this));\n }\n\n sync_slideshows(e, opts) {\n var index, $player, $slideshows;\n $slideshows = this.$('.cycle-slideshow');\n $slideshows.cycle('goto', opts.currSlide);\n }\n\n thumbs_click(e) {\n var index, $thumbs, api, $slideshows;\n e.preventDefault();\n $thumbs = this.$('.cycle-carrossel');\n api = $thumbs.data('cycle.API');\n index = api.getSlideIndex(e.target.parentElement);\n $slideshows = this.$('.cycle-slideshow');\n $slideshows.cycle('goto', index);\n }\n}\n\n$(window).load(() => {\n if ($('.portaltype-collective-nitf-content.template-slideshow_view').length > 0) {\n new SlideShow($('.slideshow-container'));\n }\n});\n\nmodule.exports = SlideShow;\n\n\n\n// WEBPACK FOOTER //\n// ./app/nitf.js"],"sourceRoot":""}