{"version":3,"sources":["webpack:///./widgets/videoListingBlock.js","webpack:///./api.js","webpack:////Users/owenli/Documents/workspace/awi-woolmark-fe/node_modules/moment/locale sync ^\\.\\/.*$","webpack:///../partials/widgets/videoListingItemBlock.hbs"],"names":["WG","VideoListingBlock","$el","_classCallCheck","this","key","value","$wg","$","page","loadingSpinner","videosList","find","concat","loadMore","setVideoBlockItem","setVideoListingBlock","This","each","first","addClass","on","getVideos","e","$this","hasClass","closest","removeClass","text","filters","toggleClass","window","_","debounce","mobileFiltersBtn","utils","isBelowMd","trigger","clearList","arguments","length","undefined","empty","getVideosCall","then","data","hasMore","videos","i","video","videoDate","moment","format","videoBlockHtml","videoBlockItemTemplate","append","html","err","endpoint","extraParams","filter","id","Api","partial","require","Handlebars","registerPartial","precompiled","Function","precompile","template","getApi","url","headers","res","Promise","resolve","fetch","credentials","Headers","response","ok","json","Error","status","error","reject","map","webpackContext","req","webpackContextResolve","__webpack_require__","code","keys","Object","module","exports","container","depth0","helpers","partials","helper","lookupProperty","parent","propertyName","prototype","hasOwnProperty","call","escapeExpression","hooks","helperMissing","nullContext","stack1","alias1","alias2","alias3","alias4","program"],"mappings":"+6BAIA,IAEMA,EAAK,sBAYEC,EAAiB,WAI5B,O,EAHD,SAAAA,EAAYC,I,4FAAKC,CAAA,KAAAF,GAEhBG,KAAKF,IAAMA,I,EACX,EAAAG,IAAA,OAAAC,MAED,WACC,IACMC,EAAMC,EAAEJ,KAAKF,KADNE,KAERK,KAAO,EAFCL,KAGRM,eAAiBF,EAAE,oBAHXJ,KAIRO,WAAaJ,EAAIK,KAAK,GAADC,OAAIb,EAAE,eAAAa,OAAcb,EAAE,6BAJnCI,KAKRU,SAAWP,EAAIK,KAAK,GAADC,OAAIb,EAAE,aAC9BI,KAAKW,oBACLX,KAAKY,yBACL,CAAAX,IAAA,uBAAAC,MAED,WAEC,IAAMW,EAAOb,KACPG,EAAMC,EAAEJ,KAAKF,KAGnBK,EAAIK,KAAK,cAAcM,MAAK,WAC3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AAM,CAAC,KAAO,GAAG,OAAS,OAASwD,GACjU,6BACAe,SAASf,EAA+G,OAArGA,EAASC,EAAeH,EAAQ,QAAoB,MAAVD,EAAiBI,EAAeJ,EAAO,MAAQA,IAAmBG,EAASa,KAA2BC,EAASd,EAAOM,KAAKM,EAAO,CAAC,KAAO,KAAK,KAAO,GAAG,KAAOpE,EAAK,IAAM,CAAC,MAAQ,CAAC,KAAO,GAAG,OAAS,IAAI,IAAM,CAAC,KAAO,GAAG,OAAS,OAASwD,GAC5S,cAC2V,OAAzVW,SAAWX,EAAmI,OAAzHA,EAASC,EAAeH,EAAQ,kBAA8B,MAAVD,EAAiBI,EAAeJ,EAAO,gBAAkBA,IAAmBG,EAASa,KAA2BC,EAASd,EAAOM,KAAKM,EAAO,CAAC,KAAO,eAAe,KAAO,GAAG,KAAOpE,EAAK,IAAM,CAAC,MAAQ,CAAC,KAAO,GAAG,OAAS,IAAI,IAAM,CAAC,KAAO,GAAG,OAAS,OAASwD,GAAoBW,EAAS,IAC3W,4GACJ,SAAU","file":"86.js","sourcesContent":["/* eslint-disable no-invalid-this */\n/* eslint-disable max-len */\n/* eslint-disable no-unused-vars */\n// CONSTANTS are all caps.\nconst NS = 'VideoListingBlock';\nconst CLS = 'videoListingBlock';\nconst WG = '.' + CLS + '-';\n\n// Import stuff here if you need to or even better to import them dynamically\n// for ex. of dynamic import check out src/scripts/loadWg/videoListingBlock.js using Webpack dynamic imports as chunks.\n// import $ from 'jquery'\nimport _ from 'lodash';\nimport moment from 'moment';\nimport Handlebars from 'handlebars';\n\nimport * as Api from '../api';\nimport utils from '../utils';\n\nexport class VideoListingBlock {\n\tconstructor($el) {\n\t\t// $el is the widget node return by the loadVideoListingBlock function\n\t\tthis.$el = $el;\n\t}\n\n\tinit() {\n\t\tconst This = this;\n\t\tconst $wg = $(this.$el);\n\t\tThis.page = 0;\n\t\tThis.loadingSpinner = $('.loading-spinner');\n\t\tThis.videosList = $wg.find(`${WG}videosList ${WG}videosList--innerWrapper`);\n\t\tThis.loadMore = $wg.find(`${WG}loadMore`);\n\t\tthis.setVideoBlockItem();\n\t\tthis.setVideoListingBlock();\n\t}\n\n\tsetVideoListingBlock() {\n\t\t// Add Some logic here\n\t\tconst This = this;\n\t\tconst $wg = $(this.$el);\n\n\t\t// mark the first items in the dropdown menu as selected\n\t\t$wg.find('[data-key]').each(function() {\n\t\t\t$(this).find('.dropdown-item').first().addClass('is-selected');\n\t\t});\n\n\t\t$wg.on('click', `${WG}loadMore button`, function() {\n\t\t\tThis.getVideos();\n\t\t});\n\n\t\t// get videos on load\n\t\tThis.getVideos();\n\n\t\t$wg.on('click', '.dropdown-item', function(e) {\n\t\t\tlet $this = $(this);\n\n\t\t\t// skip the click event if the selection hasn't changed\n\t\t\tif ($this.hasClass('is-selected')) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// remove active classes\n\t\t\t// $wg.find(`${WG}filters--innerWrapper, ${WG}mobileFilterBtn`).removeClass('is-active');\n\n\t\t\t$this.closest('.dropdown').find('.dropdown-item').removeClass('is-selected');\n\t\t\t$this.addClass('is-selected');\n\t\t\t$this.closest('.dropdown').find('button').text($this.text());\n\t\t\t// get videos (emptying the list)\n\t\t\tThis.getVideos(true);\n\t\t});\n\n\t\t$wg.on('click', `${WG}mobileFilterBtn`, function() {\n\t\t\tlet filters = $wg.find(`${WG}filters--innerWrapper`);\n\t\t\t$(this).toggleClass('is-active');\n\t\t\tif ($(this).hasClass('is-active')) {\n\t\t\t\tfilters.addClass('is-active');\n\t\t\t} else {\n\t\t\t\tfilters.removeClass('is-active');\n\t\t\t}\n\t\t});\n\n\t\t$wg.on('click', `${WG}clear`, function() {\n\t\t\t// remove active classes\n\t\t\t$wg.find(`${WG}filters--innerWrapper, ${WG}mobileFilterBtn`).removeClass('is-active');\n\t\t\t// reset filters to the first dropdown in each group\n\t\t\t$wg.find('[data-key]').each(function() {\n\t\t\t\t$(this).find('.dropdown-item').removeClass('is-selected');\n\t\t\t\t$(this).find('.dropdown-item').first().addClass('is-selected');\n\t\t\t\t$(this).find('button').text($(this).find('.dropdown-item').first().text());\n\t\t\t});\n\t\t\t// get videos (emptying the list)\n\t\t\tThis.getVideos(true);\n\t\t});\n\n\t\t$(window).on('resize', _.debounce(function() {\n\t\t\tlet mobileFiltersBtn = $wg.find(`${WG}mobileFilterBtn`);\n\t\t\tlet filters = $wg.find(`${WG}filters--innerWrapper`);\n\t\t\tif (!utils.isBelowMd()) {\n\t\t\t\t$wg.trigger('click'); // click away from the dropdowns\n\t\t\t\tmobileFiltersBtn.removeClass('is-active');\n\t\t\t\tfilters.removeClass('is-active');\n\t\t\t}\n\t\t}, 150));\n\t}\n\n\tgetVideos(clearList = false) {\n\t\tconst This = this;\n\t\tconst $wg = $(this.$el);\n\n\t\tif (clearList) {\n\t\t\tThis.page = 0;\n\t\t\tThis.videosList.empty();\n\t\t}\n\n\t\t// increment page\n\t\tThis.page++;\n\n\t\t// show spinner\n\t\tThis.loadingSpinner.addClass('is-active');\n\n\t\tThis.getVideosCall().then(function(data) {\n\t\t\tlet hasMore = data.hasMore;\n\t\t\tlet videos = data.videos;\n\t\t\tif (videos.length > 0) {\n\t\t\t\tfor (let i = 0; i < videos.length; i++) {\n\t\t\t\t\tlet video = videos[i];\n\t\t\t\t\t// format date\n\t\t\t\t\tvideo.videoDate = moment(video.videoDate, 'DD-MM-YYYY').format('DD MMMM YYYY');\n\t\t\t\t\t// pass video object to hbs\n\t\t\t\t\tlet videoBlockHtml = This.videoBlockItemTemplate(video);\n\t\t\t\t\t// append to the videos list\n\t\t\t\t\tThis.videosList.append(videoBlockHtml);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\t// no videos\n\t\t\t\tThis.videosList.html(`\n\t\t\t\t\t

Sorry, no webinars were found.

\n\t\t\t\t`);\n\t\t\t}\n\t\t\t// check if hasMore\n\t\t\tif (hasMore) {\n\t\t\t\tThis.loadMore.removeClass('d-none');\n\t\t\t} else {\n\t\t\t\tThis.loadMore.addClass('d-none');\n\t\t\t}\n\t\t\t// remove loading spinner\n\t\t\tThis.loadingSpinner.removeClass('is-active');\n\t\t}, function(err) {\n\t\t\tThis.loadingSpinner.removeClass('is-active');\n\t\t});\n\t}\n\n\tgetVideosCall() {\n\t\tconst This = this;\n\t\tconst $wg = $(this.$el);\n\t\tlet endpoint = $wg.data('getVideosEndpoint');\n\t\tlet extraParams = '';\n\t\t$wg.find('[data-key]').each(function() {\n\t\t\tlet filter = $(this).data('key');\n\t\t\tlet id = $(this).find('.dropdown-item.is-selected').data('id');\n\t\t\textraParams = extraParams + `&${filter}=${id}`;\n\t\t});\n\t\treturn Api.getApi(endpoint + `?pageSize=5&pageNum=${This.page}` + extraParams);\n\t}\n\n\tsetVideoBlockItem() {\n\t\tconst This = this;\n\t\tlet partial = require('../../partials/widgets/videoListingItemBlock.hbs');\n\t\tHandlebars.registerPartial('videoListingItemBlock', partial);\n\t\tlet template = `\n\t\t\t{{> videoListingItemBlock\n\t\t\t\twg=\"videoListingItemBlock\"\n\t\t\t\tns=\"VideoListingItemBlock\"\n\t\t\t}}\n\t\t`;\n\t\tlet precompiled = new Function('return ' + Handlebars.precompile(template))();\n\t\tThis.videoBlockItemTemplate = Handlebars.template(precompiled);\n\t}\n\n\t// Add more functions like on above here\n}\n","// fetch with GET does not allow body data\nexport function getApi(url, headers = false) {\n\tif (!url) {\n\t\tlet res = {};\n\t\t$('.icon-spinner').removeClass('is-active');\n\t\t$('.loading-spinner').removeClass('is-active');\n\t\treturn Promise.resolve(res);\n\t}\n\treturn fetch(url, {\n\t\tcredentials: 'same-origin', // 'same-origin. include'\n\t\theaders: (headers) ? new Headers(headers) : new Headers({})\n\t})\n\t.then((response) => {\n\t\tif (!response.ok) throw new Error(response.status);\n\t\telse return response.json();\n\t})\n\t.then((response) => Promise.resolve(response))\n\t.catch((error) => {\n\t\tPromise.reject(error);\n\t\t$('.icon-spinner').removeClass('is-active');\n\t\t$('.loading-spinner').removeClass('is-active');\n\t});\n}\n\n// fetch with POST and others (DELETE, etc.)\nexport function callApi(url, data = {}, method = 'POST') {\n\tif (!url) {\n\t\tlet res = {};\n\t\t$('.icon-spinner').removeClass('is-active');\n\t\t$('.loading-spinner').removeClass('is-active');\n\t\treturn Promise.resolve(res);\n\t}\n\treturn fetch(url, {\n\t\tmethod: method,\n\t\tbody: JSON.stringify(data),\n\t\tcredentials: 'same-origin', // 'same-origin, include'\n\t\theaders: new Headers({\n\t\t\t'Content-Type': 'application/json'\n\t\t})\n\t})\n\t.then((response) => {\n\t\tif (!response.ok) throw new Error(response.status);\n\t\telse return response.json();\n\t})\n\t.then((response) => Promise.resolve(response))\n\t.catch((error) => {\n\t\tPromise.reject(error);\n\t\t$('.icon-spinner').removeClass('is-active');\n\t\t$('.loading-spinner').removeClass('is-active');\n\t});\n}\n","var map = {\n\t\"./af\": 611,\n\t\"./af.js\": 611,\n\t\"./ar\": 612,\n\t\"./ar-dz\": 613,\n\t\"./ar-dz.js\": 613,\n\t\"./ar-kw\": 614,\n\t\"./ar-kw.js\": 614,\n\t\"./ar-ly\": 615,\n\t\"./ar-ly.js\": 615,\n\t\"./ar-ma\": 616,\n\t\"./ar-ma.js\": 616,\n\t\"./ar-ps\": 617,\n\t\"./ar-ps.js\": 617,\n\t\"./ar-sa\": 618,\n\t\"./ar-sa.js\": 618,\n\t\"./ar-tn\": 619,\n\t\"./ar-tn.js\": 619,\n\t\"./ar.js\": 612,\n\t\"./az\": 620,\n\t\"./az.js\": 620,\n\t\"./be\": 621,\n\t\"./be.js\": 621,\n\t\"./bg\": 622,\n\t\"./bg.js\": 622,\n\t\"./bm\": 623,\n\t\"./bm.js\": 623,\n\t\"./bn\": 624,\n\t\"./bn-bd\": 625,\n\t\"./bn-bd.js\": 625,\n\t\"./bn.js\": 624,\n\t\"./bo\": 626,\n\t\"./bo.js\": 626,\n\t\"./br\": 627,\n\t\"./br.js\": 627,\n\t\"./bs\": 628,\n\t\"./bs.js\": 628,\n\t\"./ca\": 629,\n\t\"./ca.js\": 629,\n\t\"./cs\": 630,\n\t\"./cs.js\": 630,\n\t\"./cv\": 631,\n\t\"./cv.js\": 631,\n\t\"./cy\": 632,\n\t\"./cy.js\": 632,\n\t\"./da\": 633,\n\t\"./da.js\": 633,\n\t\"./de\": 634,\n\t\"./de-at\": 635,\n\t\"./de-at.js\": 635,\n\t\"./de-ch\": 636,\n\t\"./de-ch.js\": 636,\n\t\"./de.js\": 634,\n\t\"./dv\": 637,\n\t\"./dv.js\": 637,\n\t\"./el\": 638,\n\t\"./el.js\": 638,\n\t\"./en-au\": 639,\n\t\"./en-au.js\": 639,\n\t\"./en-ca\": 640,\n\t\"./en-ca.js\": 640,\n\t\"./en-gb\": 641,\n\t\"./en-gb.js\": 641,\n\t\"./en-ie\": 642,\n\t\"./en-ie.js\": 642,\n\t\"./en-il\": 643,\n\t\"./en-il.js\": 643,\n\t\"./en-in\": 644,\n\t\"./en-in.js\": 644,\n\t\"./en-nz\": 645,\n\t\"./en-nz.js\": 645,\n\t\"./en-sg\": 646,\n\t\"./en-sg.js\": 646,\n\t\"./eo\": 647,\n\t\"./eo.js\": 647,\n\t\"./es\": 648,\n\t\"./es-do\": 649,\n\t\"./es-do.js\": 649,\n\t\"./es-mx\": 650,\n\t\"./es-mx.js\": 650,\n\t\"./es-us\": 651,\n\t\"./es-us.js\": 651,\n\t\"./es.js\": 648,\n\t\"./et\": 652,\n\t\"./et.js\": 652,\n\t\"./eu\": 653,\n\t\"./eu.js\": 653,\n\t\"./fa\": 654,\n\t\"./fa.js\": 654,\n\t\"./fi\": 655,\n\t\"./fi.js\": 655,\n\t\"./fil\": 656,\n\t\"./fil.js\": 656,\n\t\"./fo\": 657,\n\t\"./fo.js\": 657,\n\t\"./fr\": 658,\n\t\"./fr-ca\": 659,\n\t\"./fr-ca.js\": 659,\n\t\"./fr-ch\": 660,\n\t\"./fr-ch.js\": 660,\n\t\"./fr.js\": 658,\n\t\"./fy\": 661,\n\t\"./fy.js\": 661,\n\t\"./ga\": 662,\n\t\"./ga.js\": 662,\n\t\"./gd\": 663,\n\t\"./gd.js\": 663,\n\t\"./gl\": 664,\n\t\"./gl.js\": 664,\n\t\"./gom-deva\": 665,\n\t\"./gom-deva.js\": 665,\n\t\"./gom-latn\": 666,\n\t\"./gom-latn.js\": 666,\n\t\"./gu\": 667,\n\t\"./gu.js\": 667,\n\t\"./he\": 668,\n\t\"./he.js\": 668,\n\t\"./hi\": 669,\n\t\"./hi.js\": 669,\n\t\"./hr\": 670,\n\t\"./hr.js\": 670,\n\t\"./hu\": 671,\n\t\"./hu.js\": 671,\n\t\"./hy-am\": 672,\n\t\"./hy-am.js\": 672,\n\t\"./id\": 673,\n\t\"./id.js\": 673,\n\t\"./is\": 674,\n\t\"./is.js\": 674,\n\t\"./it\": 675,\n\t\"./it-ch\": 676,\n\t\"./it-ch.js\": 676,\n\t\"./it.js\": 675,\n\t\"./ja\": 677,\n\t\"./ja.js\": 677,\n\t\"./jv\": 678,\n\t\"./jv.js\": 678,\n\t\"./ka\": 679,\n\t\"./ka.js\": 679,\n\t\"./kk\": 680,\n\t\"./kk.js\": 680,\n\t\"./km\": 681,\n\t\"./km.js\": 681,\n\t\"./kn\": 682,\n\t\"./kn.js\": 682,\n\t\"./ko\": 683,\n\t\"./ko.js\": 683,\n\t\"./ku\": 684,\n\t\"./ku-kmr\": 685,\n\t\"./ku-kmr.js\": 685,\n\t\"./ku.js\": 684,\n\t\"./ky\": 686,\n\t\"./ky.js\": 686,\n\t\"./lb\": 687,\n\t\"./lb.js\": 687,\n\t\"./lo\": 688,\n\t\"./lo.js\": 688,\n\t\"./lt\": 689,\n\t\"./lt.js\": 689,\n\t\"./lv\": 690,\n\t\"./lv.js\": 690,\n\t\"./me\": 691,\n\t\"./me.js\": 691,\n\t\"./mi\": 692,\n\t\"./mi.js\": 692,\n\t\"./mk\": 693,\n\t\"./mk.js\": 693,\n\t\"./ml\": 694,\n\t\"./ml.js\": 694,\n\t\"./mn\": 695,\n\t\"./mn.js\": 695,\n\t\"./mr\": 696,\n\t\"./mr.js\": 696,\n\t\"./ms\": 697,\n\t\"./ms-my\": 698,\n\t\"./ms-my.js\": 698,\n\t\"./ms.js\": 697,\n\t\"./mt\": 699,\n\t\"./mt.js\": 699,\n\t\"./my\": 700,\n\t\"./my.js\": 700,\n\t\"./nb\": 701,\n\t\"./nb.js\": 701,\n\t\"./ne\": 702,\n\t\"./ne.js\": 702,\n\t\"./nl\": 703,\n\t\"./nl-be\": 704,\n\t\"./nl-be.js\": 704,\n\t\"./nl.js\": 703,\n\t\"./nn\": 705,\n\t\"./nn.js\": 705,\n\t\"./oc-lnc\": 706,\n\t\"./oc-lnc.js\": 706,\n\t\"./pa-in\": 707,\n\t\"./pa-in.js\": 707,\n\t\"./pl\": 708,\n\t\"./pl.js\": 708,\n\t\"./pt\": 709,\n\t\"./pt-br\": 710,\n\t\"./pt-br.js\": 710,\n\t\"./pt.js\": 709,\n\t\"./ro\": 711,\n\t\"./ro.js\": 711,\n\t\"./ru\": 712,\n\t\"./ru.js\": 712,\n\t\"./sd\": 713,\n\t\"./sd.js\": 713,\n\t\"./se\": 714,\n\t\"./se.js\": 714,\n\t\"./si\": 715,\n\t\"./si.js\": 715,\n\t\"./sk\": 716,\n\t\"./sk.js\": 716,\n\t\"./sl\": 717,\n\t\"./sl.js\": 717,\n\t\"./sq\": 718,\n\t\"./sq.js\": 718,\n\t\"./sr\": 719,\n\t\"./sr-cyrl\": 720,\n\t\"./sr-cyrl.js\": 720,\n\t\"./sr.js\": 719,\n\t\"./ss\": 721,\n\t\"./ss.js\": 721,\n\t\"./sv\": 722,\n\t\"./sv.js\": 722,\n\t\"./sw\": 723,\n\t\"./sw.js\": 723,\n\t\"./ta\": 724,\n\t\"./ta.js\": 724,\n\t\"./te\": 725,\n\t\"./te.js\": 725,\n\t\"./tet\": 726,\n\t\"./tet.js\": 726,\n\t\"./tg\": 727,\n\t\"./tg.js\": 727,\n\t\"./th\": 728,\n\t\"./th.js\": 728,\n\t\"./tk\": 729,\n\t\"./tk.js\": 729,\n\t\"./tl-ph\": 730,\n\t\"./tl-ph.js\": 730,\n\t\"./tlh\": 731,\n\t\"./tlh.js\": 731,\n\t\"./tr\": 732,\n\t\"./tr.js\": 732,\n\t\"./tzl\": 733,\n\t\"./tzl.js\": 733,\n\t\"./tzm\": 734,\n\t\"./tzm-latn\": 735,\n\t\"./tzm-latn.js\": 735,\n\t\"./tzm.js\": 734,\n\t\"./ug-cn\": 736,\n\t\"./ug-cn.js\": 736,\n\t\"./uk\": 737,\n\t\"./uk.js\": 737,\n\t\"./ur\": 738,\n\t\"./ur.js\": 738,\n\t\"./uz\": 739,\n\t\"./uz-latn\": 740,\n\t\"./uz-latn.js\": 740,\n\t\"./uz.js\": 739,\n\t\"./vi\": 741,\n\t\"./vi.js\": 741,\n\t\"./x-pseudo\": 742,\n\t\"./x-pseudo.js\": 742,\n\t\"./yo\": 743,\n\t\"./yo.js\": 743,\n\t\"./zh-cn\": 744,\n\t\"./zh-cn.js\": 744,\n\t\"./zh-hk\": 745,\n\t\"./zh-hk.js\": 745,\n\t\"./zh-mo\": 746,\n\t\"./zh-mo.js\": 746,\n\t\"./zh-tw\": 747,\n\t\"./zh-tw.js\": 747\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tvar id = map[req];\n\tif(!(id + 1)) { // check for number or string\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn id;\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = 795;","var Handlebars = require('/Users/owenli/Documents/workspace/awi-woolmark-fe/node_modules/handlebars/runtime.js');\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n var helper, lookupProperty = container.lookupProperty || function(parent, propertyName) {\n if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {\n return parent[propertyName];\n }\n return undefined\n };\n\n return container.escapeExpression(((helper = (helper = lookupProperty(helpers,\"videoImage\") || (depth0 != null ? lookupProperty(depth0,\"videoImage\") : depth0)) != null ? helper : container.hooks.helperMissing),(typeof helper === \"function\" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{\"name\":\"videoImage\",\"hash\":{},\"data\":data,\"loc\":{\"start\":{\"line\":7,\"column\":31},\"end\":{\"line\":7,\"column\":45}}}) : helper)));\n},\"3\":function(container,depth0,helpers,partials,data) {\n var helper, lookupProperty = container.lookupProperty || function(parent, propertyName) {\n if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {\n return parent[propertyName];\n }\n return undefined\n };\n\n return \"https://img.youtube.com/vi/\"\n + container.escapeExpression(((helper = (helper = lookupProperty(helpers,\"videoId\") || (depth0 != null ? lookupProperty(depth0,\"videoId\") : depth0)) != null ? helper : container.hooks.helperMissing),(typeof helper === \"function\" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{\"name\":\"videoId\",\"hash\":{},\"data\":data,\"loc\":{\"start\":{\"line\":7,\"column\":80},\"end\":{\"line\":7,\"column\":91}}}) : helper)))\n + \"/0.jpg\";\n},\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=container.hooks.helperMissing, alias3=\"function\", alias4=container.escapeExpression, lookupProperty = container.lookupProperty || function(parent, propertyName) {\n if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {\n return parent[propertyName];\n }\n return undefined\n };\n\n return \"\\n\\n\\n
\\n\t
\\n\t\t
\\n\t\t\t\\\"\"\n\\n\t\t\t\\n\t\t\t\tPlay Video\\n\t\t\t\\n\t\t
\\n\t\t
\\n\t\t\t

\"\n + alias4(((helper = (helper = lookupProperty(helpers,\"videoTitle\") || (depth0 != null ? lookupProperty(depth0,\"videoTitle\") : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"videoTitle\",\"hash\":{},\"data\":data,\"loc\":{\"start\":{\"line\":13,\"column\":28},\"end\":{\"line\":13,\"column\":42}}}) : helper)))\n + \"

\\n\t\t\t
\"\n + alias4(((helper = (helper = lookupProperty(helpers,\"videoDate\") || (depth0 != null ? lookupProperty(depth0,\"videoDate\") : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"videoDate\",\"hash\":{},\"data\":data,\"loc\":{\"start\":{\"line\":14,\"column\":28},\"end\":{\"line\":14,\"column\":41}}}) : helper)))\n + \"
\\n\t\t\t
\"\n + ((stack1 = ((helper = (helper = lookupProperty(helpers,\"videoSummary\") || (depth0 != null ? lookupProperty(depth0,\"videoSummary\") : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{\"name\":\"videoSummary\",\"hash\":{},\"data\":data,\"loc\":{\"start\":{\"line\":15,\"column\":31},\"end\":{\"line\":15,\"column\":49}}}) : helper))) != null ? stack1 : \"\")\n + \"
\\n\t\t
\\n\t
\\n
\\n\\n\\n\";\n},\"useData\":true});"],"sourceRoot":""}