@clickview/reports 0.0.20-rc.0 → 0.0.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (84) hide show
  1. package/dist/bundles.json +2 -2
  2. package/dist/en.json +1 -1
  3. package/dist/scripts/{10-e9f63630ce-reports.chunk.js → 10-9150735884-reports.chunk.js} +1 -1
  4. package/dist/scripts/{15-f62b12e775-reports.chunk.js → 14-ab01c3cb00-reports.chunk.js} +1 -1
  5. package/dist/scripts/15-7bc222c960-reports.chunk.js +1 -0
  6. package/dist/scripts/{16-7ca54a6bd1-reports.chunk.js → 16-a34a32fa5f-reports.chunk.js} +1 -1
  7. package/dist/scripts/{17-1be4c025fe-reports.chunk.js → 17-516c46b3f3-reports.chunk.js} +1 -1
  8. package/dist/scripts/{18-0da69c39e8-reports.chunk.js → 18-26f6bc5fe8-reports.chunk.js} +1 -1
  9. package/dist/scripts/{19-bd32ddc053-reports.chunk.js → 19-deac31bfae-reports.chunk.js} +1 -1
  10. package/dist/scripts/24-99d22c6488-reports.chunk.js +1 -0
  11. package/dist/scripts/{28-a15f5bf53d-reports.chunk.js → 28-2fafc284f5-reports.chunk.js} +1 -1
  12. package/dist/scripts/{4-9f20c05c3d-reports.chunk.js → 4-4a3ed12078-reports.chunk.js} +2 -2
  13. package/dist/scripts/{6-0ca16a5ce2-reports.chunk.js → 6-945672d499-reports.chunk.js} +1 -1
  14. package/dist/scripts/7-933ced7e9e-reports.chunk.js +1 -0
  15. package/dist/scripts/{8-c1cef508ee-reports.chunk.js → 8-478a7425f8-reports.chunk.js} +1 -1
  16. package/dist/scripts/bundle-6573fd2d73.min.js +19 -0
  17. package/dist/scripts/{polyfills-ae8f871abc.min.js → polyfills-f81a61079d.min.js} +1 -1
  18. package/package.json +2 -2
  19. package/dist/css/1-reports.chunk.css +0 -26
  20. package/dist/css/12-reports.chunk.css +0 -398
  21. package/dist/css/13-reports.chunk.css +0 -39
  22. package/dist/css/14-reports.chunk.css +0 -22
  23. package/dist/css/15-reports.chunk.css +0 -4
  24. package/dist/css/16-reports.chunk.css +0 -14
  25. package/dist/css/17-reports.chunk.css +0 -9
  26. package/dist/css/18-reports.chunk.css +0 -12
  27. package/dist/css/19-reports.chunk.css +0 -60
  28. package/dist/css/20-reports.chunk.css +0 -30
  29. package/dist/css/21-reports.chunk.css +0 -152
  30. package/dist/css/22-reports.chunk.css +0 -34
  31. package/dist/css/23-reports.chunk.css +0 -15
  32. package/dist/css/24-reports.chunk.css +0 -22
  33. package/dist/css/25-reports.chunk.css +0 -4
  34. package/dist/css/26-reports.chunk.css +0 -4
  35. package/dist/css/27-reports.chunk.css +0 -9
  36. package/dist/css/28-reports.chunk.css +0 -12
  37. package/dist/css/29-reports.chunk.css +0 -12
  38. package/dist/css/3-reports.chunk.css +0 -52
  39. package/dist/css/30-reports.chunk.css +0 -12
  40. package/dist/css/4-reports.chunk.css +0 -83
  41. package/dist/css/6-reports.chunk.css +0 -12
  42. package/dist/css/9-reports.chunk.css +0 -1808
  43. package/dist/css/reports-app.css +0 -11478
  44. package/dist/scripts/0-reports.chunk.js +0 -11
  45. package/dist/scripts/1-reports.chunk.js +0 -176
  46. package/dist/scripts/10-reports.chunk.js +0 -1255
  47. package/dist/scripts/11-reports.chunk.js +0 -59
  48. package/dist/scripts/12-reports.chunk.js +0 -356
  49. package/dist/scripts/13-reports.chunk.js +0 -191
  50. package/dist/scripts/14-0b9f1aca71-reports.chunk.js +0 -1
  51. package/dist/scripts/14-reports.chunk.js +0 -136
  52. package/dist/scripts/15-reports.chunk.js +0 -98
  53. package/dist/scripts/16-reports.chunk.js +0 -41
  54. package/dist/scripts/17-reports.chunk.js +0 -50
  55. package/dist/scripts/18-reports.chunk.js +0 -34
  56. package/dist/scripts/19-reports.chunk.js +0 -172
  57. package/dist/scripts/2-reports.chunk.js +0 -17
  58. package/dist/scripts/20-reports.chunk.js +0 -142
  59. package/dist/scripts/21-reports.chunk.js +0 -143
  60. package/dist/scripts/22-reports.chunk.js +0 -111
  61. package/dist/scripts/23-reports.chunk.js +0 -96
  62. package/dist/scripts/24-6468ee562d-reports.chunk.js +0 -1
  63. package/dist/scripts/24-reports.chunk.js +0 -81
  64. package/dist/scripts/25-reports.chunk.js +0 -66
  65. package/dist/scripts/26-reports.chunk.js +0 -58
  66. package/dist/scripts/27-reports.chunk.js +0 -50
  67. package/dist/scripts/28-reports.chunk.js +0 -42
  68. package/dist/scripts/29-reports.chunk.js +0 -34
  69. package/dist/scripts/3-reports.chunk.js +0 -97
  70. package/dist/scripts/30-reports.chunk.js +0 -34
  71. package/dist/scripts/31-reports.chunk.js +0 -35
  72. package/dist/scripts/32-reports.chunk.js +0 -19
  73. package/dist/scripts/33-reports.chunk.js +0 -11
  74. package/dist/scripts/34-reports.chunk.js +0 -11
  75. package/dist/scripts/4-reports.chunk.js +0 -56
  76. package/dist/scripts/5-reports.chunk.js +0 -17
  77. package/dist/scripts/6-reports.chunk.js +0 -74
  78. package/dist/scripts/7-2dec773320-reports.chunk.js +0 -1
  79. package/dist/scripts/7-reports.chunk.js +0 -35
  80. package/dist/scripts/8-reports.chunk.js +0 -43
  81. package/dist/scripts/9-reports.chunk.js +0 -1105
  82. package/dist/scripts/bundle-ce2cc7609c.min.js +0 -19
  83. package/dist/scripts/bundle.js +0 -7066
  84. package/dist/scripts/polyfills.js +0 -2750
@@ -13,7 +13,7 @@ var e;r(null,(e=l).subarray(0,e.byteLength-e[e.byteLength-1]))}))}return e.proto
13
13
  */
14
14
  for(a=97;a<123;a++)i[String.fromCharCode(a)]=a-32;for(var a=48;a<58;a++)i[a-48]=a;for(a=1;a<13;a++)i["f"+a]=a+111;for(a=0;a<10;a++)i["numpad "+a]=a+96;var s=t.names=t.title={};for(a in i)s[i[a]]=a;for(var o in r)i[o]=r[o]},1139:function(e,t){e.exports={toUnsigned:function(e){return e>>>0},toHexString:function(e){return("00"+e.toString(16)).slice(-2)}}},1147:function(e,t,n){"use strict";var i=n(1030),r=n(1162),a=n.n(r);function s(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var o=function e(t){var n=this;if(i.a.browser.IS_IE8)for(var r in n=a.a.createElement("custom"),e.prototype)"constructor"!==r&&(n[r]=e.prototype[r]);return n.id=t.id,n.label=n.id,n.width=t.width,n.height=t.height,n.bitrate=t.bandwidth,n.enabled_=t.enabled,Object.defineProperty(n,"enabled",{get:function(){return n.enabled_()},set:function(e){n.enabled_(e)}}),n},u=function(e){
15
15
  /*! @name videojs-contrib-quality-levels @version 2.0.9 @license Apache-2.0 */
16
- var t,n;function r(){var t,n=s(s(t=e.call(this)||this));if(i.a.browser.IS_IE8)for(var o in n=a.a.createElement("custom"),r.prototype)"constructor"!==o&&(n[o]=r.prototype[o]);return n.levels_=[],n.selectedIndex_=-1,Object.defineProperty(n,"selectedIndex",{get:function(){return n.selectedIndex_}}),Object.defineProperty(n,"length",{get:function(){return n.levels_.length}}),n||s(t)}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var u=r.prototype;return u.addQualityLevel=function(e){var t=this.getQualityLevelById(e.id);if(t)return t;var n=this.levels_.length;return t=new o(e),""+n in this||Object.defineProperty(this,n,{get:function(){return this.levels_[n]}}),this.levels_.push(t),this.trigger({qualityLevel:t,type:"addqualitylevel"}),t},u.removeQualityLevel=function(e){for(var t=null,n=0,i=this.length;n<i;n++)if(this[n]===e){t=this.levels_.splice(n,1)[0],this.selectedIndex_===n?this.selectedIndex_=-1:this.selectedIndex_>n&&this.selectedIndex_--;break}return t&&this.trigger({qualityLevel:e,type:"removequalitylevel"}),t},u.getQualityLevelById=function(e){for(var t=0,n=this.length;t<n;t++){var i=this[t];if(i.id===e)return i}return null},u.dispose=function(){this.selectedIndex_=-1,this.levels_.length=0},r}(i.a.EventTarget);for(var l in u.prototype.allowedEvents_={change:"change",addqualitylevel:"addqualitylevel",removequalitylevel:"removequalitylevel"},u.prototype.allowedEvents_)u.prototype["on"+l]=null;var c=i.a.registerPlugin||i.a.plugin,h=function(e){return t=this,i.a.mergeOptions({},e),n=t.qualityLevels,r=new u,t.on("dispose",(function e(){r.dispose(),t.qualityLevels=n,t.off("dispose",e)})),t.qualityLevels=function(){return r},t.qualityLevels.VERSION="2.0.9",r;var t,n,r};c("qualityLevels",h),h.VERSION="2.0.9"},1148:function(e,t,n){"use strict";n(681),n(692);var i=n(1236),r=n.n(i),a=(n(680),n(185),n(684),n(685),n(687),n(290),n(691),n(693),n(1237)),s=n.n(a),o=n(1238),u=n.n(o),l=n(1239),c=n.n(l),h=n(1240),d=(n(682),n(683),n(688),n(689),n(690),null),f=null;function p(){if(null===d){if("undefined"==typeof document)return d=0;var e=document.body,t=document.createElement("div");t.classList.add("simplebar-hide-scrollbar"),e.appendChild(t);var n=t.getBoundingClientRect().right;e.removeChild(t),d=n}return d}r.a&&window.addEventListener("resize",(function(){f!==window.devicePixelRatio&&(f=window.devicePixelRatio,d=null)}));var m=function(e){return Array.prototype.reduce.call(e,(function(e,t){var n=t.name.match(/data-simplebar-(.+)/);if(n){var i=n[1].replace(/\W+(.)/g,(function(e,t){return t.toUpperCase()}));switch(t.value){case"true":e[i]=!0;break;case"false":e[i]=!1;break;case void 0:e[i]=!0;break;default:e[i]=t.value}}return e}),{})};function g(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView?e.ownerDocument.defaultView:window}function v(e){return e&&e.ownerDocument?e.ownerDocument:document}var y=function(){function e(t,n){var i=this;this.onScroll=function(){var e=g(i.el);i.scrollXTicking||(e.requestAnimationFrame(i.scrollX),i.scrollXTicking=!0),i.scrollYTicking||(e.requestAnimationFrame(i.scrollY),i.scrollYTicking=!0)},this.scrollX=function(){i.axis.x.isOverflowing&&(i.showScrollbar("x"),i.positionScrollbar("x")),i.scrollXTicking=!1},this.scrollY=function(){i.axis.y.isOverflowing&&(i.showScrollbar("y"),i.positionScrollbar("y")),i.scrollYTicking=!1},this.onMouseEnter=function(){i.showScrollbar("x"),i.showScrollbar("y")},this.onMouseMove=function(e){i.mouseX=e.clientX,i.mouseY=e.clientY,(i.axis.x.isOverflowing||i.axis.x.forceVisible)&&i.onMouseMoveForAxis("x"),(i.axis.y.isOverflowing||i.axis.y.forceVisible)&&i.onMouseMoveForAxis("y")},this.onMouseLeave=function(){i.onMouseMove.cancel(),(i.axis.x.isOverflowing||i.axis.x.forceVisible)&&i.onMouseLeaveForAxis("x"),(i.axis.y.isOverflowing||i.axis.y.forceVisible)&&i.onMouseLeaveForAxis("y"),i.mouseX=-1,i.mouseY=-1},this.onWindowResize=function(){i.scrollbarWidth=i.getScrollbarWidth(),i.hideNativeScrollbar()},this.hideScrollbars=function(){i.axis.x.track.rect=i.axis.x.track.el.getBoundingClientRect(),i.axis.y.track.rect=i.axis.y.track.el.getBoundingClientRect(),i.isWithinBounds(i.axis.y.track.rect)||(i.axis.y.scrollbar.el.classList.remove(i.classNames.visible),i.axis.y.isVisible=!1),i.isWithinBounds(i.axis.x.track.rect)||(i.axis.x.scrollbar.el.classList.remove(i.classNames.visible),i.axis.x.isVisible=!1)},this.onPointerEvent=function(e){var t,n;i.axis.x.track.rect=i.axis.x.track.el.getBoundingClientRect(),i.axis.y.track.rect=i.axis.y.track.el.getBoundingClientRect(),(i.axis.x.isOverflowing||i.axis.x.forceVisible)&&(t=i.isWithinBounds(i.axis.x.track.rect)),(i.axis.y.isOverflowing||i.axis.y.forceVisible)&&(n=i.isWithinBounds(i.axis.y.track.rect)),(t||n)&&(e.preventDefault(),e.stopPropagation(),"mousedown"===e.type&&(t&&(i.axis.x.scrollbar.rect=i.axis.x.scrollbar.el.getBoundingClientRect(),i.isWithinBounds(i.axis.x.scrollbar.rect)?i.onDragStart(e,"x"):i.onTrackClick(e,"x")),n&&(i.axis.y.scrollbar.rect=i.axis.y.scrollbar.el.getBoundingClientRect(),i.isWithinBounds(i.axis.y.scrollbar.rect)?i.onDragStart(e,"y"):i.onTrackClick(e,"y"))))},this.drag=function(t){var n=i.axis[i.draggedAxis].track,r=n.rect[i.axis[i.draggedAxis].sizeAttr],a=i.axis[i.draggedAxis].scrollbar,s=i.contentWrapperEl[i.axis[i.draggedAxis].scrollSizeAttr],o=parseInt(i.elStyles[i.axis[i.draggedAxis].sizeAttr],10);t.preventDefault(),t.stopPropagation();var u=(("y"===i.draggedAxis?t.pageY:t.pageX)-n.rect[i.axis[i.draggedAxis].offsetAttr]-i.axis[i.draggedAxis].dragOffset)/(r-a.size)*(s-o);"x"===i.draggedAxis&&(u=i.isRtl&&e.getRtlHelpers().isRtlScrollbarInverted?u-(r+a.size):u,u=i.isRtl&&e.getRtlHelpers().isRtlScrollingInverted?-u:u),i.contentWrapperEl[i.axis[i.draggedAxis].scrollOffsetAttr]=u},this.onEndDrag=function(e){var t=v(i.el),n=g(i.el);e.preventDefault(),e.stopPropagation(),i.el.classList.remove(i.classNames.dragging),t.removeEventListener("mousemove",i.drag,!0),t.removeEventListener("mouseup",i.onEndDrag,!0),i.removePreventClickId=n.setTimeout((function(){t.removeEventListener("click",i.preventClick,!0),t.removeEventListener("dblclick",i.preventClick,!0),i.removePreventClickId=null}))},this.preventClick=function(e){e.preventDefault(),e.stopPropagation()},this.el=t,this.minScrollbarWidth=20,this.options=Object.assign({},e.defaultOptions,{},n),this.classNames=Object.assign({},e.defaultOptions.classNames,{},this.options.classNames),this.axis={x:{scrollOffsetAttr:"scrollLeft",sizeAttr:"width",scrollSizeAttr:"scrollWidth",offsetSizeAttr:"offsetWidth",offsetAttr:"left",overflowAttr:"overflowX",dragOffset:0,isOverflowing:!0,isVisible:!1,forceVisible:!1,track:{},scrollbar:{}},y:{scrollOffsetAttr:"scrollTop",sizeAttr:"height",scrollSizeAttr:"scrollHeight",offsetSizeAttr:"offsetHeight",offsetAttr:"top",overflowAttr:"overflowY",dragOffset:0,isOverflowing:!0,isVisible:!1,forceVisible:!1,track:{},scrollbar:{}}},this.removePreventClickId=null,e.instances.has(this.el)||(this.recalculate=s()(this.recalculate.bind(this),64),this.onMouseMove=s()(this.onMouseMove.bind(this),64),this.hideScrollbars=u()(this.hideScrollbars.bind(this),this.options.timeout),this.onWindowResize=u()(this.onWindowResize.bind(this),64,{leading:!0}),e.getRtlHelpers=c()(e.getRtlHelpers),this.init())}e.getRtlHelpers=function(){var t=document.createElement("div");t.innerHTML='<div class="hs-dummy-scrollbar-size"><div style="height: 200%; width: 200%; margin: 10px 0;"></div></div>';var n=t.firstElementChild;document.body.appendChild(n);var i=n.firstElementChild;n.scrollLeft=0;var r=e.getOffset(n),a=e.getOffset(i);n.scrollLeft=999;var s=e.getOffset(i);return{isRtlScrollingInverted:r.left!==a.left&&a.left-s.left!=0,isRtlScrollbarInverted:r.left!==a.left}},e.getOffset=function(e){var t=e.getBoundingClientRect(),n=v(e),i=g(e);return{top:t.top+(i.pageYOffset||n.documentElement.scrollTop),left:t.left+(i.pageXOffset||n.documentElement.scrollLeft)}};var t=e.prototype;return t.init=function(){e.instances.set(this.el,this),r.a&&(this.initDOM(),this.scrollbarWidth=this.getScrollbarWidth(),this.recalculate(),this.initListeners())},t.initDOM=function(){var e=this;if(Array.prototype.filter.call(this.el.children,(function(t){return t.classList.contains(e.classNames.wrapper)})).length)this.wrapperEl=this.el.querySelector("."+this.classNames.wrapper),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector("."+this.classNames.contentWrapper),this.contentEl=this.options.contentNode||this.el.querySelector("."+this.classNames.contentEl),this.offsetEl=this.el.querySelector("."+this.classNames.offset),this.maskEl=this.el.querySelector("."+this.classNames.mask),this.placeholderEl=this.findChild(this.wrapperEl,"."+this.classNames.placeholder),this.heightAutoObserverWrapperEl=this.el.querySelector("."+this.classNames.heightAutoObserverWrapperEl),this.heightAutoObserverEl=this.el.querySelector("."+this.classNames.heightAutoObserverEl),this.axis.x.track.el=this.findChild(this.el,"."+this.classNames.track+"."+this.classNames.horizontal),this.axis.y.track.el=this.findChild(this.el,"."+this.classNames.track+"."+this.classNames.vertical);else{for(this.wrapperEl=document.createElement("div"),this.contentWrapperEl=document.createElement("div"),this.offsetEl=document.createElement("div"),this.maskEl=document.createElement("div"),this.contentEl=document.createElement("div"),this.placeholderEl=document.createElement("div"),this.heightAutoObserverWrapperEl=document.createElement("div"),this.heightAutoObserverEl=document.createElement("div"),this.wrapperEl.classList.add(this.classNames.wrapper),this.contentWrapperEl.classList.add(this.classNames.contentWrapper),this.offsetEl.classList.add(this.classNames.offset),this.maskEl.classList.add(this.classNames.mask),this.contentEl.classList.add(this.classNames.contentEl),this.placeholderEl.classList.add(this.classNames.placeholder),this.heightAutoObserverWrapperEl.classList.add(this.classNames.heightAutoObserverWrapperEl),this.heightAutoObserverEl.classList.add(this.classNames.heightAutoObserverEl);this.el.firstChild;)this.contentEl.appendChild(this.el.firstChild);this.contentWrapperEl.appendChild(this.contentEl),this.offsetEl.appendChild(this.contentWrapperEl),this.maskEl.appendChild(this.offsetEl),this.heightAutoObserverWrapperEl.appendChild(this.heightAutoObserverEl),this.wrapperEl.appendChild(this.heightAutoObserverWrapperEl),this.wrapperEl.appendChild(this.maskEl),this.wrapperEl.appendChild(this.placeholderEl),this.el.appendChild(this.wrapperEl)}if(!this.axis.x.track.el||!this.axis.y.track.el){var t=document.createElement("div"),n=document.createElement("div");t.classList.add(this.classNames.track),n.classList.add(this.classNames.scrollbar),t.appendChild(n),this.axis.x.track.el=t.cloneNode(!0),this.axis.x.track.el.classList.add(this.classNames.horizontal),this.axis.y.track.el=t.cloneNode(!0),this.axis.y.track.el.classList.add(this.classNames.vertical),this.el.appendChild(this.axis.x.track.el),this.el.appendChild(this.axis.y.track.el)}this.axis.x.scrollbar.el=this.axis.x.track.el.querySelector("."+this.classNames.scrollbar),this.axis.y.scrollbar.el=this.axis.y.track.el.querySelector("."+this.classNames.scrollbar),this.options.autoHide||(this.axis.x.scrollbar.el.classList.add(this.classNames.visible),this.axis.y.scrollbar.el.classList.add(this.classNames.visible)),this.el.setAttribute("data-simplebar","init")},t.initListeners=function(){var e=this,t=g(this.el);this.options.autoHide&&this.el.addEventListener("mouseenter",this.onMouseEnter),["mousedown","click","dblclick"].forEach((function(t){e.el.addEventListener(t,e.onPointerEvent,!0)})),["touchstart","touchend","touchmove"].forEach((function(t){e.el.addEventListener(t,e.onPointerEvent,{capture:!0,passive:!0})})),this.el.addEventListener("mousemove",this.onMouseMove),this.el.addEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl.addEventListener("scroll",this.onScroll),t.addEventListener("resize",this.onWindowResize);var n=!1,i=t.ResizeObserver||h.a;this.resizeObserver=new i((function(){n&&e.recalculate()})),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl),t.requestAnimationFrame((function(){n=!0})),this.mutationObserver=new t.MutationObserver(this.recalculate),this.mutationObserver.observe(this.contentEl,{childList:!0,subtree:!0,characterData:!0})},t.recalculate=function(){var e=g(this.el);this.elStyles=e.getComputedStyle(this.el),this.isRtl="rtl"===this.elStyles.direction;var t=this.heightAutoObserverEl.offsetHeight<=1,n=this.heightAutoObserverEl.offsetWidth<=1,i=this.contentEl.offsetWidth,r=this.contentWrapperEl.offsetWidth,a=this.elStyles.overflowX,s=this.elStyles.overflowY;this.contentEl.style.padding=this.elStyles.paddingTop+" "+this.elStyles.paddingRight+" "+this.elStyles.paddingBottom+" "+this.elStyles.paddingLeft,this.wrapperEl.style.margin="-"+this.elStyles.paddingTop+" -"+this.elStyles.paddingRight+" -"+this.elStyles.paddingBottom+" -"+this.elStyles.paddingLeft;var o=this.contentEl.scrollHeight,u=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=t?"auto":"100%",this.placeholderEl.style.width=n?i+"px":"auto",this.placeholderEl.style.height=o+"px";var l=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=u>i,this.axis.y.isOverflowing=o>l,this.axis.x.isOverflowing="hidden"!==a&&this.axis.x.isOverflowing,this.axis.y.isOverflowing="hidden"!==s&&this.axis.y.isOverflowing,this.axis.x.forceVisible="x"===this.options.forceVisible||!0===this.options.forceVisible,this.axis.y.forceVisible="y"===this.options.forceVisible||!0===this.options.forceVisible,this.hideNativeScrollbar();var c=this.axis.x.isOverflowing?this.scrollbarWidth:0,h=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&u>r-h,this.axis.y.isOverflowing=this.axis.y.isOverflowing&&o>l-c,this.axis.x.scrollbar.size=this.getScrollbarSize("x"),this.axis.y.scrollbar.size=this.getScrollbarSize("y"),this.axis.x.scrollbar.el.style.width=this.axis.x.scrollbar.size+"px",this.axis.y.scrollbar.el.style.height=this.axis.y.scrollbar.size+"px",this.positionScrollbar("x"),this.positionScrollbar("y"),this.toggleTrackVisibility("x"),this.toggleTrackVisibility("y")},t.getScrollbarSize=function(e){if(void 0===e&&(e="y"),!this.axis[e].isOverflowing)return 0;var t,n=this.contentEl[this.axis[e].scrollSizeAttr],i=this.axis[e].track.el[this.axis[e].offsetSizeAttr],r=i/n;return t=Math.max(~~(r*i),this.options.scrollbarMinSize),this.options.scrollbarMaxSize&&(t=Math.min(t,this.options.scrollbarMaxSize)),t},t.positionScrollbar=function(t){if(void 0===t&&(t="y"),this.axis[t].isOverflowing){var n=this.contentWrapperEl[this.axis[t].scrollSizeAttr],i=this.axis[t].track.el[this.axis[t].offsetSizeAttr],r=parseInt(this.elStyles[this.axis[t].sizeAttr],10),a=this.axis[t].scrollbar,s=this.contentWrapperEl[this.axis[t].scrollOffsetAttr],o=(s="x"===t&&this.isRtl&&e.getRtlHelpers().isRtlScrollingInverted?-s:s)/(n-r),u=~~((i-a.size)*o);u="x"===t&&this.isRtl&&e.getRtlHelpers().isRtlScrollbarInverted?u+(i-a.size):u,a.el.style.transform="x"===t?"translate3d("+u+"px, 0, 0)":"translate3d(0, "+u+"px, 0)"}},t.toggleTrackVisibility=function(e){void 0===e&&(e="y");var t=this.axis[e].track.el,n=this.axis[e].scrollbar.el;this.axis[e].isOverflowing||this.axis[e].forceVisible?(t.style.visibility="visible",this.contentWrapperEl.style[this.axis[e].overflowAttr]="scroll"):(t.style.visibility="hidden",this.contentWrapperEl.style[this.axis[e].overflowAttr]="hidden"),this.axis[e].isOverflowing?n.style.display="block":n.style.display="none"},t.hideNativeScrollbar=function(){this.offsetEl.style[this.isRtl?"left":"right"]=this.axis.y.isOverflowing||this.axis.y.forceVisible?"-"+this.scrollbarWidth+"px":0,this.offsetEl.style.bottom=this.axis.x.isOverflowing||this.axis.x.forceVisible?"-"+this.scrollbarWidth+"px":0},t.onMouseMoveForAxis=function(e){void 0===e&&(e="y"),this.axis[e].track.rect=this.axis[e].track.el.getBoundingClientRect(),this.axis[e].scrollbar.rect=this.axis[e].scrollbar.el.getBoundingClientRect(),this.isWithinBounds(this.axis[e].scrollbar.rect)?this.axis[e].scrollbar.el.classList.add(this.classNames.hover):this.axis[e].scrollbar.el.classList.remove(this.classNames.hover),this.isWithinBounds(this.axis[e].track.rect)?(this.showScrollbar(e),this.axis[e].track.el.classList.add(this.classNames.hover)):this.axis[e].track.el.classList.remove(this.classNames.hover)},t.onMouseLeaveForAxis=function(e){void 0===e&&(e="y"),this.axis[e].track.el.classList.remove(this.classNames.hover),this.axis[e].scrollbar.el.classList.remove(this.classNames.hover)},t.showScrollbar=function(e){void 0===e&&(e="y");var t=this.axis[e].scrollbar.el;this.axis[e].isVisible||(t.classList.add(this.classNames.visible),this.axis[e].isVisible=!0),this.options.autoHide&&this.hideScrollbars()},t.onDragStart=function(e,t){void 0===t&&(t="y");var n=v(this.el),i=g(this.el),r=this.axis[t].scrollbar,a="y"===t?e.pageY:e.pageX;this.axis[t].dragOffset=a-r.rect[this.axis[t].offsetAttr],this.draggedAxis=t,this.el.classList.add(this.classNames.dragging),n.addEventListener("mousemove",this.drag,!0),n.addEventListener("mouseup",this.onEndDrag,!0),null===this.removePreventClickId?(n.addEventListener("click",this.preventClick,!0),n.addEventListener("dblclick",this.preventClick,!0)):(i.clearTimeout(this.removePreventClickId),this.removePreventClickId=null)},t.onTrackClick=function(e,t){var n=this;if(void 0===t&&(t="y"),this.options.clickOnTrack){var i=g(this.el);this.axis[t].scrollbar.rect=this.axis[t].scrollbar.el.getBoundingClientRect();var r=this.axis[t].scrollbar.rect[this.axis[t].offsetAttr],a=parseInt(this.elStyles[this.axis[t].sizeAttr],10),s=this.contentWrapperEl[this.axis[t].scrollOffsetAttr],o=("y"===t?this.mouseY-r:this.mouseX-r)<0?-1:1,u=-1===o?s-a:s+a;!function e(){var r,a;-1===o?s>u&&(s-=n.options.clickOnTrackSpeed,n.contentWrapperEl.scrollTo(((r={})[n.axis[t].offsetAttr]=s,r)),i.requestAnimationFrame(e)):s<u&&(s+=n.options.clickOnTrackSpeed,n.contentWrapperEl.scrollTo(((a={})[n.axis[t].offsetAttr]=s,a)),i.requestAnimationFrame(e))}()}},t.getContentElement=function(){return this.contentEl},t.getScrollElement=function(){return this.contentWrapperEl},t.getScrollbarWidth=function(){try{return"none"===getComputedStyle(this.contentWrapperEl,"::-webkit-scrollbar").display||"scrollbarWidth"in document.documentElement.style||"-ms-overflow-style"in document.documentElement.style?0:p()}catch(e){return p()}},t.removeListeners=function(){var e=this,t=g(this.el);this.options.autoHide&&this.el.removeEventListener("mouseenter",this.onMouseEnter),["mousedown","click","dblclick"].forEach((function(t){e.el.removeEventListener(t,e.onPointerEvent,!0)})),["touchstart","touchend","touchmove"].forEach((function(t){e.el.removeEventListener(t,e.onPointerEvent,{capture:!0,passive:!0})})),this.el.removeEventListener("mousemove",this.onMouseMove),this.el.removeEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl&&this.contentWrapperEl.removeEventListener("scroll",this.onScroll),t.removeEventListener("resize",this.onWindowResize),this.mutationObserver&&this.mutationObserver.disconnect(),this.resizeObserver&&this.resizeObserver.disconnect(),this.recalculate.cancel(),this.onMouseMove.cancel(),this.hideScrollbars.cancel(),this.onWindowResize.cancel()},t.unMount=function(){this.removeListeners(),e.instances.delete(this.el)},t.isWithinBounds=function(e){return this.mouseX>=e.left&&this.mouseX<=e.left+e.width&&this.mouseY>=e.top&&this.mouseY<=e.top+e.height},t.findChild=function(e,t){var n=e.matches||e.webkitMatchesSelector||e.mozMatchesSelector||e.msMatchesSelector;return Array.prototype.filter.call(e.children,(function(e){return n.call(e,t)}))[0]},e}();y.defaultOptions={autoHide:!0,forceVisible:!1,clickOnTrack:!0,clickOnTrackSpeed:40,classNames:{contentEl:"simplebar-content",contentWrapper:"simplebar-content-wrapper",offset:"simplebar-offset",mask:"simplebar-mask",wrapper:"simplebar-wrapper",placeholder:"simplebar-placeholder",scrollbar:"simplebar-scrollbar",track:"simplebar-track",heightAutoObserverWrapperEl:"simplebar-height-auto-observer-wrapper",heightAutoObserverEl:"simplebar-height-auto-observer",visible:"simplebar-visible",horizontal:"simplebar-horizontal",vertical:"simplebar-vertical",hover:"simplebar-hover",dragging:"simplebar-dragging"},scrollbarMinSize:25,scrollbarMaxSize:0,timeout:1e3},y.instances=new WeakMap,y.initDOMLoadedElements=function(){document.removeEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.removeEventListener("load",this.initDOMLoadedElements),Array.prototype.forEach.call(document.querySelectorAll("[data-simplebar]"),(function(e){"init"===e.getAttribute("data-simplebar")||y.instances.has(e)||new y(e,m(e.attributes))}))},y.removeObserver=function(){this.globalObserver.disconnect()},y.initHtmlApi=function(){this.initDOMLoadedElements=this.initDOMLoadedElements.bind(this),"undefined"!=typeof MutationObserver&&(this.globalObserver=new MutationObserver(y.handleMutations),this.globalObserver.observe(document,{childList:!0,subtree:!0})),"complete"===document.readyState||"loading"!==document.readyState&&!document.documentElement.doScroll?window.setTimeout(this.initDOMLoadedElements):(document.addEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.addEventListener("load",this.initDOMLoadedElements))},y.handleMutations=function(e){e.forEach((function(e){Array.prototype.forEach.call(e.addedNodes,(function(e){1===e.nodeType&&(e.hasAttribute("data-simplebar")?!y.instances.has(e)&&new y(e,m(e.attributes)):Array.prototype.forEach.call(e.querySelectorAll("[data-simplebar]"),(function(e){"init"===e.getAttribute("data-simplebar")||y.instances.has(e)||new y(e,m(e.attributes))})))})),Array.prototype.forEach.call(e.removedNodes,(function(e){1===e.nodeType&&(e.hasAttribute('[data-simplebar="init"]')?y.instances.has(e)&&y.instances.get(e).unMount():Array.prototype.forEach.call(e.querySelectorAll('[data-simplebar="init"]'),(function(e){y.instances.has(e)&&y.instances.get(e).unMount()})))}))}))},y.getOptions=m,r.a&&y.initHtmlApi(),t.a=y},1149:function(e,t,n){"use strict";e.exports=n(1241)},1150:function(e,t,n){
16
+ var t,n;function r(){var t,n=s(s(t=e.call(this)||this));if(i.a.browser.IS_IE8)for(var o in n=a.a.createElement("custom"),r.prototype)"constructor"!==o&&(n[o]=r.prototype[o]);return n.levels_=[],n.selectedIndex_=-1,Object.defineProperty(n,"selectedIndex",{get:function(){return n.selectedIndex_}}),Object.defineProperty(n,"length",{get:function(){return n.levels_.length}}),n||s(t)}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var u=r.prototype;return u.addQualityLevel=function(e){var t=this.getQualityLevelById(e.id);if(t)return t;var n=this.levels_.length;return t=new o(e),""+n in this||Object.defineProperty(this,n,{get:function(){return this.levels_[n]}}),this.levels_.push(t),this.trigger({qualityLevel:t,type:"addqualitylevel"}),t},u.removeQualityLevel=function(e){for(var t=null,n=0,i=this.length;n<i;n++)if(this[n]===e){t=this.levels_.splice(n,1)[0],this.selectedIndex_===n?this.selectedIndex_=-1:this.selectedIndex_>n&&this.selectedIndex_--;break}return t&&this.trigger({qualityLevel:e,type:"removequalitylevel"}),t},u.getQualityLevelById=function(e){for(var t=0,n=this.length;t<n;t++){var i=this[t];if(i.id===e)return i}return null},u.dispose=function(){this.selectedIndex_=-1,this.levels_.length=0},r}(i.a.EventTarget);for(var l in u.prototype.allowedEvents_={change:"change",addqualitylevel:"addqualitylevel",removequalitylevel:"removequalitylevel"},u.prototype.allowedEvents_)u.prototype["on"+l]=null;var c=i.a.registerPlugin||i.a.plugin,h=function(e){return t=this,i.a.mergeOptions({},e),n=t.qualityLevels,r=new u,t.on("dispose",(function e(){r.dispose(),t.qualityLevels=n,t.off("dispose",e)})),t.qualityLevels=function(){return r},t.qualityLevels.VERSION="2.0.9",r;var t,n,r};c("qualityLevels",h),h.VERSION="2.0.9"},1148:function(e,t,n){"use strict";n(681),n(692);var i=n(1236),r=n.n(i),a=(n(680),n(184),n(684),n(685),n(687),n(290),n(691),n(693),n(1237)),s=n.n(a),o=n(1238),u=n.n(o),l=n(1239),c=n.n(l),h=n(1240),d=(n(682),n(683),n(688),n(689),n(690),null),f=null;function p(){if(null===d){if("undefined"==typeof document)return d=0;var e=document.body,t=document.createElement("div");t.classList.add("simplebar-hide-scrollbar"),e.appendChild(t);var n=t.getBoundingClientRect().right;e.removeChild(t),d=n}return d}r.a&&window.addEventListener("resize",(function(){f!==window.devicePixelRatio&&(f=window.devicePixelRatio,d=null)}));var m=function(e){return Array.prototype.reduce.call(e,(function(e,t){var n=t.name.match(/data-simplebar-(.+)/);if(n){var i=n[1].replace(/\W+(.)/g,(function(e,t){return t.toUpperCase()}));switch(t.value){case"true":e[i]=!0;break;case"false":e[i]=!1;break;case void 0:e[i]=!0;break;default:e[i]=t.value}}return e}),{})};function g(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView?e.ownerDocument.defaultView:window}function v(e){return e&&e.ownerDocument?e.ownerDocument:document}var y=function(){function e(t,n){var i=this;this.onScroll=function(){var e=g(i.el);i.scrollXTicking||(e.requestAnimationFrame(i.scrollX),i.scrollXTicking=!0),i.scrollYTicking||(e.requestAnimationFrame(i.scrollY),i.scrollYTicking=!0)},this.scrollX=function(){i.axis.x.isOverflowing&&(i.showScrollbar("x"),i.positionScrollbar("x")),i.scrollXTicking=!1},this.scrollY=function(){i.axis.y.isOverflowing&&(i.showScrollbar("y"),i.positionScrollbar("y")),i.scrollYTicking=!1},this.onMouseEnter=function(){i.showScrollbar("x"),i.showScrollbar("y")},this.onMouseMove=function(e){i.mouseX=e.clientX,i.mouseY=e.clientY,(i.axis.x.isOverflowing||i.axis.x.forceVisible)&&i.onMouseMoveForAxis("x"),(i.axis.y.isOverflowing||i.axis.y.forceVisible)&&i.onMouseMoveForAxis("y")},this.onMouseLeave=function(){i.onMouseMove.cancel(),(i.axis.x.isOverflowing||i.axis.x.forceVisible)&&i.onMouseLeaveForAxis("x"),(i.axis.y.isOverflowing||i.axis.y.forceVisible)&&i.onMouseLeaveForAxis("y"),i.mouseX=-1,i.mouseY=-1},this.onWindowResize=function(){i.scrollbarWidth=i.getScrollbarWidth(),i.hideNativeScrollbar()},this.hideScrollbars=function(){i.axis.x.track.rect=i.axis.x.track.el.getBoundingClientRect(),i.axis.y.track.rect=i.axis.y.track.el.getBoundingClientRect(),i.isWithinBounds(i.axis.y.track.rect)||(i.axis.y.scrollbar.el.classList.remove(i.classNames.visible),i.axis.y.isVisible=!1),i.isWithinBounds(i.axis.x.track.rect)||(i.axis.x.scrollbar.el.classList.remove(i.classNames.visible),i.axis.x.isVisible=!1)},this.onPointerEvent=function(e){var t,n;i.axis.x.track.rect=i.axis.x.track.el.getBoundingClientRect(),i.axis.y.track.rect=i.axis.y.track.el.getBoundingClientRect(),(i.axis.x.isOverflowing||i.axis.x.forceVisible)&&(t=i.isWithinBounds(i.axis.x.track.rect)),(i.axis.y.isOverflowing||i.axis.y.forceVisible)&&(n=i.isWithinBounds(i.axis.y.track.rect)),(t||n)&&(e.preventDefault(),e.stopPropagation(),"mousedown"===e.type&&(t&&(i.axis.x.scrollbar.rect=i.axis.x.scrollbar.el.getBoundingClientRect(),i.isWithinBounds(i.axis.x.scrollbar.rect)?i.onDragStart(e,"x"):i.onTrackClick(e,"x")),n&&(i.axis.y.scrollbar.rect=i.axis.y.scrollbar.el.getBoundingClientRect(),i.isWithinBounds(i.axis.y.scrollbar.rect)?i.onDragStart(e,"y"):i.onTrackClick(e,"y"))))},this.drag=function(t){var n=i.axis[i.draggedAxis].track,r=n.rect[i.axis[i.draggedAxis].sizeAttr],a=i.axis[i.draggedAxis].scrollbar,s=i.contentWrapperEl[i.axis[i.draggedAxis].scrollSizeAttr],o=parseInt(i.elStyles[i.axis[i.draggedAxis].sizeAttr],10);t.preventDefault(),t.stopPropagation();var u=(("y"===i.draggedAxis?t.pageY:t.pageX)-n.rect[i.axis[i.draggedAxis].offsetAttr]-i.axis[i.draggedAxis].dragOffset)/(r-a.size)*(s-o);"x"===i.draggedAxis&&(u=i.isRtl&&e.getRtlHelpers().isRtlScrollbarInverted?u-(r+a.size):u,u=i.isRtl&&e.getRtlHelpers().isRtlScrollingInverted?-u:u),i.contentWrapperEl[i.axis[i.draggedAxis].scrollOffsetAttr]=u},this.onEndDrag=function(e){var t=v(i.el),n=g(i.el);e.preventDefault(),e.stopPropagation(),i.el.classList.remove(i.classNames.dragging),t.removeEventListener("mousemove",i.drag,!0),t.removeEventListener("mouseup",i.onEndDrag,!0),i.removePreventClickId=n.setTimeout((function(){t.removeEventListener("click",i.preventClick,!0),t.removeEventListener("dblclick",i.preventClick,!0),i.removePreventClickId=null}))},this.preventClick=function(e){e.preventDefault(),e.stopPropagation()},this.el=t,this.minScrollbarWidth=20,this.options=Object.assign({},e.defaultOptions,{},n),this.classNames=Object.assign({},e.defaultOptions.classNames,{},this.options.classNames),this.axis={x:{scrollOffsetAttr:"scrollLeft",sizeAttr:"width",scrollSizeAttr:"scrollWidth",offsetSizeAttr:"offsetWidth",offsetAttr:"left",overflowAttr:"overflowX",dragOffset:0,isOverflowing:!0,isVisible:!1,forceVisible:!1,track:{},scrollbar:{}},y:{scrollOffsetAttr:"scrollTop",sizeAttr:"height",scrollSizeAttr:"scrollHeight",offsetSizeAttr:"offsetHeight",offsetAttr:"top",overflowAttr:"overflowY",dragOffset:0,isOverflowing:!0,isVisible:!1,forceVisible:!1,track:{},scrollbar:{}}},this.removePreventClickId=null,e.instances.has(this.el)||(this.recalculate=s()(this.recalculate.bind(this),64),this.onMouseMove=s()(this.onMouseMove.bind(this),64),this.hideScrollbars=u()(this.hideScrollbars.bind(this),this.options.timeout),this.onWindowResize=u()(this.onWindowResize.bind(this),64,{leading:!0}),e.getRtlHelpers=c()(e.getRtlHelpers),this.init())}e.getRtlHelpers=function(){var t=document.createElement("div");t.innerHTML='<div class="hs-dummy-scrollbar-size"><div style="height: 200%; width: 200%; margin: 10px 0;"></div></div>';var n=t.firstElementChild;document.body.appendChild(n);var i=n.firstElementChild;n.scrollLeft=0;var r=e.getOffset(n),a=e.getOffset(i);n.scrollLeft=999;var s=e.getOffset(i);return{isRtlScrollingInverted:r.left!==a.left&&a.left-s.left!=0,isRtlScrollbarInverted:r.left!==a.left}},e.getOffset=function(e){var t=e.getBoundingClientRect(),n=v(e),i=g(e);return{top:t.top+(i.pageYOffset||n.documentElement.scrollTop),left:t.left+(i.pageXOffset||n.documentElement.scrollLeft)}};var t=e.prototype;return t.init=function(){e.instances.set(this.el,this),r.a&&(this.initDOM(),this.scrollbarWidth=this.getScrollbarWidth(),this.recalculate(),this.initListeners())},t.initDOM=function(){var e=this;if(Array.prototype.filter.call(this.el.children,(function(t){return t.classList.contains(e.classNames.wrapper)})).length)this.wrapperEl=this.el.querySelector("."+this.classNames.wrapper),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector("."+this.classNames.contentWrapper),this.contentEl=this.options.contentNode||this.el.querySelector("."+this.classNames.contentEl),this.offsetEl=this.el.querySelector("."+this.classNames.offset),this.maskEl=this.el.querySelector("."+this.classNames.mask),this.placeholderEl=this.findChild(this.wrapperEl,"."+this.classNames.placeholder),this.heightAutoObserverWrapperEl=this.el.querySelector("."+this.classNames.heightAutoObserverWrapperEl),this.heightAutoObserverEl=this.el.querySelector("."+this.classNames.heightAutoObserverEl),this.axis.x.track.el=this.findChild(this.el,"."+this.classNames.track+"."+this.classNames.horizontal),this.axis.y.track.el=this.findChild(this.el,"."+this.classNames.track+"."+this.classNames.vertical);else{for(this.wrapperEl=document.createElement("div"),this.contentWrapperEl=document.createElement("div"),this.offsetEl=document.createElement("div"),this.maskEl=document.createElement("div"),this.contentEl=document.createElement("div"),this.placeholderEl=document.createElement("div"),this.heightAutoObserverWrapperEl=document.createElement("div"),this.heightAutoObserverEl=document.createElement("div"),this.wrapperEl.classList.add(this.classNames.wrapper),this.contentWrapperEl.classList.add(this.classNames.contentWrapper),this.offsetEl.classList.add(this.classNames.offset),this.maskEl.classList.add(this.classNames.mask),this.contentEl.classList.add(this.classNames.contentEl),this.placeholderEl.classList.add(this.classNames.placeholder),this.heightAutoObserverWrapperEl.classList.add(this.classNames.heightAutoObserverWrapperEl),this.heightAutoObserverEl.classList.add(this.classNames.heightAutoObserverEl);this.el.firstChild;)this.contentEl.appendChild(this.el.firstChild);this.contentWrapperEl.appendChild(this.contentEl),this.offsetEl.appendChild(this.contentWrapperEl),this.maskEl.appendChild(this.offsetEl),this.heightAutoObserverWrapperEl.appendChild(this.heightAutoObserverEl),this.wrapperEl.appendChild(this.heightAutoObserverWrapperEl),this.wrapperEl.appendChild(this.maskEl),this.wrapperEl.appendChild(this.placeholderEl),this.el.appendChild(this.wrapperEl)}if(!this.axis.x.track.el||!this.axis.y.track.el){var t=document.createElement("div"),n=document.createElement("div");t.classList.add(this.classNames.track),n.classList.add(this.classNames.scrollbar),t.appendChild(n),this.axis.x.track.el=t.cloneNode(!0),this.axis.x.track.el.classList.add(this.classNames.horizontal),this.axis.y.track.el=t.cloneNode(!0),this.axis.y.track.el.classList.add(this.classNames.vertical),this.el.appendChild(this.axis.x.track.el),this.el.appendChild(this.axis.y.track.el)}this.axis.x.scrollbar.el=this.axis.x.track.el.querySelector("."+this.classNames.scrollbar),this.axis.y.scrollbar.el=this.axis.y.track.el.querySelector("."+this.classNames.scrollbar),this.options.autoHide||(this.axis.x.scrollbar.el.classList.add(this.classNames.visible),this.axis.y.scrollbar.el.classList.add(this.classNames.visible)),this.el.setAttribute("data-simplebar","init")},t.initListeners=function(){var e=this,t=g(this.el);this.options.autoHide&&this.el.addEventListener("mouseenter",this.onMouseEnter),["mousedown","click","dblclick"].forEach((function(t){e.el.addEventListener(t,e.onPointerEvent,!0)})),["touchstart","touchend","touchmove"].forEach((function(t){e.el.addEventListener(t,e.onPointerEvent,{capture:!0,passive:!0})})),this.el.addEventListener("mousemove",this.onMouseMove),this.el.addEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl.addEventListener("scroll",this.onScroll),t.addEventListener("resize",this.onWindowResize);var n=!1,i=t.ResizeObserver||h.a;this.resizeObserver=new i((function(){n&&e.recalculate()})),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl),t.requestAnimationFrame((function(){n=!0})),this.mutationObserver=new t.MutationObserver(this.recalculate),this.mutationObserver.observe(this.contentEl,{childList:!0,subtree:!0,characterData:!0})},t.recalculate=function(){var e=g(this.el);this.elStyles=e.getComputedStyle(this.el),this.isRtl="rtl"===this.elStyles.direction;var t=this.heightAutoObserverEl.offsetHeight<=1,n=this.heightAutoObserverEl.offsetWidth<=1,i=this.contentEl.offsetWidth,r=this.contentWrapperEl.offsetWidth,a=this.elStyles.overflowX,s=this.elStyles.overflowY;this.contentEl.style.padding=this.elStyles.paddingTop+" "+this.elStyles.paddingRight+" "+this.elStyles.paddingBottom+" "+this.elStyles.paddingLeft,this.wrapperEl.style.margin="-"+this.elStyles.paddingTop+" -"+this.elStyles.paddingRight+" -"+this.elStyles.paddingBottom+" -"+this.elStyles.paddingLeft;var o=this.contentEl.scrollHeight,u=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=t?"auto":"100%",this.placeholderEl.style.width=n?i+"px":"auto",this.placeholderEl.style.height=o+"px";var l=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=u>i,this.axis.y.isOverflowing=o>l,this.axis.x.isOverflowing="hidden"!==a&&this.axis.x.isOverflowing,this.axis.y.isOverflowing="hidden"!==s&&this.axis.y.isOverflowing,this.axis.x.forceVisible="x"===this.options.forceVisible||!0===this.options.forceVisible,this.axis.y.forceVisible="y"===this.options.forceVisible||!0===this.options.forceVisible,this.hideNativeScrollbar();var c=this.axis.x.isOverflowing?this.scrollbarWidth:0,h=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&u>r-h,this.axis.y.isOverflowing=this.axis.y.isOverflowing&&o>l-c,this.axis.x.scrollbar.size=this.getScrollbarSize("x"),this.axis.y.scrollbar.size=this.getScrollbarSize("y"),this.axis.x.scrollbar.el.style.width=this.axis.x.scrollbar.size+"px",this.axis.y.scrollbar.el.style.height=this.axis.y.scrollbar.size+"px",this.positionScrollbar("x"),this.positionScrollbar("y"),this.toggleTrackVisibility("x"),this.toggleTrackVisibility("y")},t.getScrollbarSize=function(e){if(void 0===e&&(e="y"),!this.axis[e].isOverflowing)return 0;var t,n=this.contentEl[this.axis[e].scrollSizeAttr],i=this.axis[e].track.el[this.axis[e].offsetSizeAttr],r=i/n;return t=Math.max(~~(r*i),this.options.scrollbarMinSize),this.options.scrollbarMaxSize&&(t=Math.min(t,this.options.scrollbarMaxSize)),t},t.positionScrollbar=function(t){if(void 0===t&&(t="y"),this.axis[t].isOverflowing){var n=this.contentWrapperEl[this.axis[t].scrollSizeAttr],i=this.axis[t].track.el[this.axis[t].offsetSizeAttr],r=parseInt(this.elStyles[this.axis[t].sizeAttr],10),a=this.axis[t].scrollbar,s=this.contentWrapperEl[this.axis[t].scrollOffsetAttr],o=(s="x"===t&&this.isRtl&&e.getRtlHelpers().isRtlScrollingInverted?-s:s)/(n-r),u=~~((i-a.size)*o);u="x"===t&&this.isRtl&&e.getRtlHelpers().isRtlScrollbarInverted?u+(i-a.size):u,a.el.style.transform="x"===t?"translate3d("+u+"px, 0, 0)":"translate3d(0, "+u+"px, 0)"}},t.toggleTrackVisibility=function(e){void 0===e&&(e="y");var t=this.axis[e].track.el,n=this.axis[e].scrollbar.el;this.axis[e].isOverflowing||this.axis[e].forceVisible?(t.style.visibility="visible",this.contentWrapperEl.style[this.axis[e].overflowAttr]="scroll"):(t.style.visibility="hidden",this.contentWrapperEl.style[this.axis[e].overflowAttr]="hidden"),this.axis[e].isOverflowing?n.style.display="block":n.style.display="none"},t.hideNativeScrollbar=function(){this.offsetEl.style[this.isRtl?"left":"right"]=this.axis.y.isOverflowing||this.axis.y.forceVisible?"-"+this.scrollbarWidth+"px":0,this.offsetEl.style.bottom=this.axis.x.isOverflowing||this.axis.x.forceVisible?"-"+this.scrollbarWidth+"px":0},t.onMouseMoveForAxis=function(e){void 0===e&&(e="y"),this.axis[e].track.rect=this.axis[e].track.el.getBoundingClientRect(),this.axis[e].scrollbar.rect=this.axis[e].scrollbar.el.getBoundingClientRect(),this.isWithinBounds(this.axis[e].scrollbar.rect)?this.axis[e].scrollbar.el.classList.add(this.classNames.hover):this.axis[e].scrollbar.el.classList.remove(this.classNames.hover),this.isWithinBounds(this.axis[e].track.rect)?(this.showScrollbar(e),this.axis[e].track.el.classList.add(this.classNames.hover)):this.axis[e].track.el.classList.remove(this.classNames.hover)},t.onMouseLeaveForAxis=function(e){void 0===e&&(e="y"),this.axis[e].track.el.classList.remove(this.classNames.hover),this.axis[e].scrollbar.el.classList.remove(this.classNames.hover)},t.showScrollbar=function(e){void 0===e&&(e="y");var t=this.axis[e].scrollbar.el;this.axis[e].isVisible||(t.classList.add(this.classNames.visible),this.axis[e].isVisible=!0),this.options.autoHide&&this.hideScrollbars()},t.onDragStart=function(e,t){void 0===t&&(t="y");var n=v(this.el),i=g(this.el),r=this.axis[t].scrollbar,a="y"===t?e.pageY:e.pageX;this.axis[t].dragOffset=a-r.rect[this.axis[t].offsetAttr],this.draggedAxis=t,this.el.classList.add(this.classNames.dragging),n.addEventListener("mousemove",this.drag,!0),n.addEventListener("mouseup",this.onEndDrag,!0),null===this.removePreventClickId?(n.addEventListener("click",this.preventClick,!0),n.addEventListener("dblclick",this.preventClick,!0)):(i.clearTimeout(this.removePreventClickId),this.removePreventClickId=null)},t.onTrackClick=function(e,t){var n=this;if(void 0===t&&(t="y"),this.options.clickOnTrack){var i=g(this.el);this.axis[t].scrollbar.rect=this.axis[t].scrollbar.el.getBoundingClientRect();var r=this.axis[t].scrollbar.rect[this.axis[t].offsetAttr],a=parseInt(this.elStyles[this.axis[t].sizeAttr],10),s=this.contentWrapperEl[this.axis[t].scrollOffsetAttr],o=("y"===t?this.mouseY-r:this.mouseX-r)<0?-1:1,u=-1===o?s-a:s+a;!function e(){var r,a;-1===o?s>u&&(s-=n.options.clickOnTrackSpeed,n.contentWrapperEl.scrollTo(((r={})[n.axis[t].offsetAttr]=s,r)),i.requestAnimationFrame(e)):s<u&&(s+=n.options.clickOnTrackSpeed,n.contentWrapperEl.scrollTo(((a={})[n.axis[t].offsetAttr]=s,a)),i.requestAnimationFrame(e))}()}},t.getContentElement=function(){return this.contentEl},t.getScrollElement=function(){return this.contentWrapperEl},t.getScrollbarWidth=function(){try{return"none"===getComputedStyle(this.contentWrapperEl,"::-webkit-scrollbar").display||"scrollbarWidth"in document.documentElement.style||"-ms-overflow-style"in document.documentElement.style?0:p()}catch(e){return p()}},t.removeListeners=function(){var e=this,t=g(this.el);this.options.autoHide&&this.el.removeEventListener("mouseenter",this.onMouseEnter),["mousedown","click","dblclick"].forEach((function(t){e.el.removeEventListener(t,e.onPointerEvent,!0)})),["touchstart","touchend","touchmove"].forEach((function(t){e.el.removeEventListener(t,e.onPointerEvent,{capture:!0,passive:!0})})),this.el.removeEventListener("mousemove",this.onMouseMove),this.el.removeEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl&&this.contentWrapperEl.removeEventListener("scroll",this.onScroll),t.removeEventListener("resize",this.onWindowResize),this.mutationObserver&&this.mutationObserver.disconnect(),this.resizeObserver&&this.resizeObserver.disconnect(),this.recalculate.cancel(),this.onMouseMove.cancel(),this.hideScrollbars.cancel(),this.onWindowResize.cancel()},t.unMount=function(){this.removeListeners(),e.instances.delete(this.el)},t.isWithinBounds=function(e){return this.mouseX>=e.left&&this.mouseX<=e.left+e.width&&this.mouseY>=e.top&&this.mouseY<=e.top+e.height},t.findChild=function(e,t){var n=e.matches||e.webkitMatchesSelector||e.mozMatchesSelector||e.msMatchesSelector;return Array.prototype.filter.call(e.children,(function(e){return n.call(e,t)}))[0]},e}();y.defaultOptions={autoHide:!0,forceVisible:!1,clickOnTrack:!0,clickOnTrackSpeed:40,classNames:{contentEl:"simplebar-content",contentWrapper:"simplebar-content-wrapper",offset:"simplebar-offset",mask:"simplebar-mask",wrapper:"simplebar-wrapper",placeholder:"simplebar-placeholder",scrollbar:"simplebar-scrollbar",track:"simplebar-track",heightAutoObserverWrapperEl:"simplebar-height-auto-observer-wrapper",heightAutoObserverEl:"simplebar-height-auto-observer",visible:"simplebar-visible",horizontal:"simplebar-horizontal",vertical:"simplebar-vertical",hover:"simplebar-hover",dragging:"simplebar-dragging"},scrollbarMinSize:25,scrollbarMaxSize:0,timeout:1e3},y.instances=new WeakMap,y.initDOMLoadedElements=function(){document.removeEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.removeEventListener("load",this.initDOMLoadedElements),Array.prototype.forEach.call(document.querySelectorAll("[data-simplebar]"),(function(e){"init"===e.getAttribute("data-simplebar")||y.instances.has(e)||new y(e,m(e.attributes))}))},y.removeObserver=function(){this.globalObserver.disconnect()},y.initHtmlApi=function(){this.initDOMLoadedElements=this.initDOMLoadedElements.bind(this),"undefined"!=typeof MutationObserver&&(this.globalObserver=new MutationObserver(y.handleMutations),this.globalObserver.observe(document,{childList:!0,subtree:!0})),"complete"===document.readyState||"loading"!==document.readyState&&!document.documentElement.doScroll?window.setTimeout(this.initDOMLoadedElements):(document.addEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.addEventListener("load",this.initDOMLoadedElements))},y.handleMutations=function(e){e.forEach((function(e){Array.prototype.forEach.call(e.addedNodes,(function(e){1===e.nodeType&&(e.hasAttribute("data-simplebar")?!y.instances.has(e)&&new y(e,m(e.attributes)):Array.prototype.forEach.call(e.querySelectorAll("[data-simplebar]"),(function(e){"init"===e.getAttribute("data-simplebar")||y.instances.has(e)||new y(e,m(e.attributes))})))})),Array.prototype.forEach.call(e.removedNodes,(function(e){1===e.nodeType&&(e.hasAttribute('[data-simplebar="init"]')?y.instances.has(e)&&y.instances.get(e).unMount():Array.prototype.forEach.call(e.querySelectorAll('[data-simplebar="init"]'),(function(e){y.instances.has(e)&&y.instances.get(e).unMount()})))}))}))},y.getOptions=m,r.a&&y.initHtmlApi(),t.a=y},1149:function(e,t,n){"use strict";e.exports=n(1241)},1150:function(e,t,n){
17
17
  /**
18
18
  * chroma.js - JavaScript library for color conversions
19
19
  *
@@ -98,4 +98,4 @@ t.read=function(e,t,n,i,r){var a,s,o=8*r-i-1,u=(1<<o)-1,l=u>>1,c=-7,h=n?r-1:0,d=
98
98
  object-assign
99
99
  (c) Sindre Sorhus
100
100
  @license MIT
101
- */var i=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;function s(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach((function(e){i[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},i)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,o,u=s(e),l=1;l<arguments.length;l++){for(var c in n=Object(arguments[l]))r.call(n,c)&&(u[c]=n[c]);if(i){o=i(n);for(var h=0;h<o.length;h++)a.call(n,o[h])&&(u[o[h]]=n[o[h]])}}return u}},130:function(e,t,n){var i=n(23),r=n(287);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(e){}return function(n,a){return i(n),r(a),t?e.call(n,a):n.__proto__=a,n}}():void 0)},131:function(e,t,n){var i=n(48);e.exports=function(e,t,n){for(var r in t)i(e,r,t[r],n);return e}},134:function(e,t,n){var i=n(57),r="["+n(186)+"]",a=RegExp("^"+r+r+"*"),s=RegExp(r+r+"*$"),o=function(e){return function(t){var n=String(i(t));return 1&e&&(n=n.replace(a,"")),2&e&&(n=n.replace(s,"")),n}};e.exports={start:o(1),end:o(2),trim:o(3)}},151:function(e,t){e.exports={}},152:function(e,t,n){var i=n(11),r=n(80),a="".split;e.exports=i((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==r(e)?a.call(e,""):Object(e)}:Object},153:function(e,t,n){var i=n(107),r=n(679);(e.exports=function(e,t){return r[e]||(r[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.4.0",mode:i?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},154:function(e,t){e.exports={}},155:function(e,t){var n=0,i=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++n+i).toString(36)}},156:function(e,t,n){var i=n(11),r=/#|\.prototype\./,a=function(e,t){var n=o[s(e)];return n==l||n!=u&&("function"==typeof t?i(t):!!t)},s=a.normalize=function(e){return String(e).replace(r,".").toLowerCase()},o=a.data={},u=a.NATIVE="N",l=a.POLYFILL="P";e.exports=a},157:function(e,t,n){var i=n(277),r=n(229);e.exports=Object.keys||function(e){return i(e,r)}},158:function(e,t,n){var i=n(80),r=n(27)("toStringTag"),a="Arguments"==i(function(){return arguments}());e.exports=function(e){var t,n,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),r))?n:a?i(t):"Object"==(s=i(t))&&"function"==typeof t.callee?"Arguments":s}},159:function(e,t,n){var i=n(23),r=n(238),a=n(29),s=n(108),o=n(164),u=n(285),l=function(e,t){this.stopped=e,this.result=t};(e.exports=function(e,t,n,c,h){var d,f,p,m,g,v,y,_=s(t,n,c?2:1);if(h)d=e;else{if("function"!=typeof(f=o(e)))throw TypeError("Target is not iterable");if(r(f)){for(p=0,m=a(e.length);m>p;p++)if((g=c?_(i(y=e[p])[0],y[1]):_(e[p]))&&g instanceof l)return g;return new l(!1)}d=f.call(e)}for(v=d.next;!(y=v.call(d)).done;)if("object"==typeof(g=u(d,_,y.value,c))&&g&&g instanceof l)return g;return new l(!1)}).stop=function(e){return new l(!0,e)}},16:function(e,t,n){(function(t){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||Function("return this")()}).call(this,n(150))},160:function(e,t,n){var i=n(63),r=n(29),a=n(110),s=function(e){return function(t,n,s){var o,u=i(t),l=r(u.length),c=a(s,l);if(e&&n!=n){for(;l>c;)if((o=u[c++])!=o)return!0}else for(;l>c;c++)if((e||c in u)&&u[c]===n)return e||c||0;return!e&&-1}};e.exports={includes:s(!0),indexOf:s(!1)}},161:function(e,t,n){var i=n(22),r=n(122),a=n(27)("species");e.exports=function(e,t){var n;return r(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!r(n.prototype)?i(n)&&null===(n=n[a])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)}},162:function(e,t,n){var i=n(11),r=n(27),a=n(237),s=r("species");e.exports=function(e){return a>=51||!i((function(){var t=[];return(t.constructor={})[s]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},163:function(e,t,n){var i=n(81);e.exports=i("navigator","userAgent")||""},164:function(e,t,n){var i=n(158),r=n(151),a=n(27)("iterator");e.exports=function(e){if(null!=e)return e[a]||e["@@iterator"]||r[i(e)]}},165:function(e,t,n){var i=n(11);e.exports=!i((function(){return Object.isExtensible(Object.preventExtensions({}))}))},181:function(e,t,n){var i=n(153),r=n(155),a=i("keys");e.exports=function(e){return a[e]||(a[e]=r(e))}},182:function(e,t,n){"use strict";var i,r,a=n(196),s=RegExp.prototype.exec,o=String.prototype.replace,u=s,l=(i=/a/,r=/b*/g,s.call(i,"a"),s.call(r,"a"),0!==i.lastIndex||0!==r.lastIndex),c=void 0!==/()??/.exec("")[1];(l||c)&&(u=function(e){var t,n,i,r,u=this;return c&&(n=new RegExp("^"+u.source+"$(?!\\s)",a.call(u))),l&&(t=u.lastIndex),i=s.call(u,e),l&&i&&(u.lastIndex=u.global?i.index+i[0].length:t),c&&i&&i.length>1&&o.call(i[0],n,(function(){for(r=1;r<arguments.length-2;r++)void 0===arguments[r]&&(i[r]=void 0)})),i}),e.exports=u},184:function(e,t,n){"use strict";var i={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,a=r&&!i.call({1:2},1);t.f=a?function(e){var t=r(this,e);return!!t&&t.enumerable}:i},185:function(e,t,n){"use strict";var i=n(63),r=n(111),a=n(151),s=n(71),o=n(232),u=s.set,l=s.getterFor("Array Iterator");e.exports=o(Array,"Array",(function(e,t){u(this,{type:"Array Iterator",target:i(e),index:0,kind:t})}),(function(){var e=l(this),t=e.target,n=e.kind,i=e.index++;return!t||i>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:i,done:!1}:"values"==n?{value:t[i],done:!1}:{value:[i,t[i]],done:!1}}),"values"),a.Arguments=a.Array,r("keys"),r("values"),r("entries")},186:function(e,t){e.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},187:function(e,t,n){var i=n(72),r=n(57),a=function(e){return function(t,n){var a,s,o=String(r(t)),u=i(n),l=o.length;return u<0||u>=l?e?"":void 0:(a=o.charCodeAt(u))<55296||a>56319||u+1===l||(s=o.charCodeAt(u+1))<56320||s>57343?e?o.charAt(u):a:e?o.slice(u,u+2):s-56320+(a-55296<<10)+65536}};e.exports={codeAt:a(!1),charAt:a(!0)}},188:function(e,t,n){"use strict";var i=n(52),r=n(48),a=n(11),s=n(27),o=n(182),u=s("species"),l=!a((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),c=!a((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));e.exports=function(e,t,n,h){var d=s(e),f=!a((function(){var t={};return t[d]=function(){return 7},7!=""[e](t)})),p=f&&!a((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[u]=function(){return n},n.flags="",n[d]=/./[d]),n.exec=function(){return t=!0,null},n[d](""),!t}));if(!f||!p||"replace"===e&&!l||"split"===e&&!c){var m=/./[d],g=n(d,""[e],(function(e,t,n,i,r){return t.exec===o?f&&!r?{done:!0,value:m.call(t,n,i)}:{done:!0,value:e.call(n,t,i)}:{done:!1}})),v=g[0],y=g[1];r(String.prototype,e,v),r(RegExp.prototype,d,2==t?function(e,t){return y.call(e,this,t)}:function(e){return y.call(e,this)}),h&&i(RegExp.prototype[d],"sham",!0)}}},189:function(e,t,n){var i=n(80),r=n(182);e.exports=function(e,t){var n=e.exec;if("function"==typeof n){var a=n.call(e,t);if("object"!=typeof a)throw TypeError("RegExp exec method returned something other than an Object or null");return a}if("RegExp"!==i(e))throw TypeError("RegExp#exec called on incompatible receiver");return r.call(e,t)}},192:function(e,t,n){var i=n(27)("iterator"),r=!1;try{var a=0,s={next:function(){return{done:!!a++}},return:function(){r=!0}};s[i]=function(){return this},Array.from(s,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!r)return!1;var n=!1;try{var a={};a[i]=function(){return{next:function(){return{done:n=!0}}}},e(a)}catch(e){}return n}},193:function(e,t,n){var i=n(74),r=n(33),a=n(152),s=n(29),o=function(e){return function(t,n,o,u){i(n);var l=r(t),c=a(l),h=s(l.length),d=e?h-1:0,f=e?-1:1;if(o<2)for(;;){if(d in c){u=c[d],d+=f;break}if(d+=f,e?d<0:h<=d)throw TypeError("Reduce of empty array with no initial value")}for(;e?d>=0:h>d;d+=f)d in c&&(u=n(u,c[d],d,l));return u}};e.exports={left:o(!1),right:o(!0)}},194:function(e,t,n){"use strict";var i=n(2),r=n(16),a=n(156),s=n(48),o=n(120),u=n(159),l=n(109),c=n(22),h=n(11),d=n(192),f=n(89),p=n(195);e.exports=function(e,t,n,m,g){var v=r[e],y=v&&v.prototype,_=v,b=m?"set":"add",T={},S=function(e){var t=y[e];s(y,e,"add"==e?function(e){return t.call(this,0===e?0:e),this}:"delete"==e?function(e){return!(g&&!c(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return g&&!c(e)?void 0:t.call(this,0===e?0:e)}:"has"==e?function(e){return!(g&&!c(e))&&t.call(this,0===e?0:e)}:function(e,n){return t.call(this,0===e?0:e,n),this})};if(a(e,"function"!=typeof v||!(g||y.forEach&&!h((function(){(new v).entries().next()})))))_=n.getConstructor(t,e,m,b),o.REQUIRED=!0;else if(a(e,!0)){var w=new _,E=w[b](g?{}:-0,1)!=w,k=h((function(){w.has(1)})),C=d((function(e){new v(e)})),x=!g&&h((function(){for(var e=new v,t=5;t--;)e[b](t,t);return!e.has(-0)}));C||((_=t((function(t,n){l(t,_,e);var i=p(new v,t,_);return null!=n&&u(n,i[b],i,m),i}))).prototype=y,y.constructor=_),(k||x)&&(S("delete"),S("has"),m&&S("get")),(x||E)&&S(b),g&&y.clear&&delete y.clear}return T[e]=_,i({global:!0,forced:_!=v},T),f(_,e),g||n.setStrong(_,e,m),_}},195:function(e,t,n){var i=n(22),r=n(130);e.exports=function(e,t,n){var a,s;return r&&"function"==typeof(a=t.constructor)&&a!==n&&i(s=a.prototype)&&s!==n.prototype&&r(e,s),e}},196:function(e,t,n){"use strict";var i=n(23);e.exports=function(){var e=i(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},2:function(e,t,n){var i=n(16),r=n(58).f,a=n(52),s=n(48),o=n(228),u=n(281),l=n(156);e.exports=function(e,t){var n,c,h,d,f,p=e.target,m=e.global,g=e.stat;if(n=m?i:g?i[p]||o(p,{}):(i[p]||{}).prototype)for(c in t){if(d=t[c],h=e.noTargetGet?(f=r(n,c))&&f.value:n[c],!l(m?c:p+(g?".":"#")+c,e.forced)&&void 0!==h){if(typeof d==typeof h)continue;u(d,h)}(e.sham||h&&h.sham)&&a(d,"sham",!0),s(n,c,d,e)}}},22:function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},228:function(e,t,n){var i=n(16),r=n(52);e.exports=function(e,t){try{r(i,e,t)}catch(n){i[e]=t}return t}},229:function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},23:function(e,t,n){var i=n(22);e.exports=function(e){if(!i(e))throw TypeError(String(e)+" is not an object");return e}},230:function(e,t,n){var i=n(16),r=n(22),a=i.document,s=r(a)&&r(a.createElement);e.exports=function(e){return s?a.createElement(e):{}}},231:function(e,t){t.f=Object.getOwnPropertySymbols},232:function(e,t,n){"use strict";var i=n(2),r=n(286),a=n(91),s=n(130),o=n(89),u=n(52),l=n(48),c=n(27),h=n(107),d=n(151),f=n(279),p=f.IteratorPrototype,m=f.BUGGY_SAFARI_ITERATORS,g=c("iterator"),v=function(){return this};e.exports=function(e,t,n,c,f,y,_){r(n,t,c);var b,T,S,w=function(e){if(e===f&&A)return A;if(!m&&e in C)return C[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},E=t+" Iterator",k=!1,C=e.prototype,x=C[g]||C["@@iterator"]||f&&C[f],A=!m&&x||w(f),I="Array"==t&&C.entries||x;if(I&&(b=a(I.call(new e)),p!==Object.prototype&&b.next&&(h||a(b)===p||(s?s(b,p):"function"!=typeof b[g]&&u(b,g,v)),o(b,E,!0,!0),h&&(d[E]=v))),"values"==f&&x&&"values"!==x.name&&(k=!0,A=function(){return x.call(this)}),h&&!_||C[g]===A||u(C,g,A),d[t]=A,f)if(T={values:w("values"),keys:y?A:w("keys"),entries:w("entries")},_)for(S in T)(m||k||!(S in C))&&l(C,S,T[S]);else i({target:t,proto:!0,forced:m||k},T);return T}},233:function(e,t,n){"use strict";var i=n(187).charAt;e.exports=function(e,t,n){return t+(n?i(e,t).length:1)}},235:function(e,t,n){var i=n(81),r=n(121),a=n(231),s=n(23);e.exports=i("Reflect","ownKeys")||function(e){var t=r.f(s(e)),n=a.f;return n?t.concat(n(e)):t}},236:function(e,t,n){var i=n(26),r=n(32),a=n(23),s=n(157);e.exports=i?Object.defineProperties:function(e,t){a(e);for(var n,i=s(t),o=i.length,u=0;o>u;)r.f(e,n=i[u++],t[n]);return e}},237:function(e,t,n){var i,r,a=n(16),s=n(163),o=a.process,u=o&&o.versions,l=u&&u.v8;l?r=(i=l.split("."))[0]+i[1]:s&&(!(i=s.match(/Edge\/(\d+)/))||i[1]>=74)&&(i=s.match(/Chrome\/(\d+)/))&&(r=i[1]),e.exports=r&&+r},238:function(e,t,n){var i=n(27),r=n(151),a=i("iterator"),s=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||s[a]===e)}},239:function(e,t,n){var i=n(11);e.exports=!i((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},26:function(e,t,n){var i=n(11);e.exports=!i((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},27:function(e,t,n){var i=n(16),r=n(153),a=n(155),s=n(283),o=i.Symbol,u=r("wks");e.exports=function(e){return u[e]||(u[e]=s&&o[e]||(s?o:a)("Symbol."+e))}},274:function(e,t,n){var i=n(26),r=n(11),a=n(230);e.exports=!i&&!r((function(){return 7!=Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a}))},275:function(e,t,n){var i=n(153);e.exports=i("native-function-to-string",Function.toString)},276:function(e,t,n){var i=n(16),r=n(275),a=i.WeakMap;e.exports="function"==typeof a&&/native code/.test(r.call(a))},277:function(e,t,n){var i=n(37),r=n(63),a=n(160).indexOf,s=n(154);e.exports=function(e,t){var n,o=r(e),u=0,l=[];for(n in o)!i(s,n)&&i(o,n)&&l.push(n);for(;t.length>u;)i(o,n=t[u++])&&(~a(l,n)||l.push(n));return l}},278:function(e,t,n){"use strict";var i=n(44).forEach,r=n(99);e.exports=r("forEach")?function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}:[].forEach},279:function(e,t,n){"use strict";var i,r,a,s=n(91),o=n(52),u=n(37),l=n(27),c=n(107),h=l("iterator"),d=!1;[].keys&&("next"in(a=[].keys())?(r=s(s(a)))!==Object.prototype&&(i=r):d=!0),null==i&&(i={}),c||u(i,h)||o(i,h,(function(){return this})),e.exports={IteratorPrototype:i,BUGGY_SAFARI_ITERATORS:d}},280:function(e,t){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},281:function(e,t,n){var i=n(37),r=n(235),a=n(58),s=n(32);e.exports=function(e,t){for(var n=r(t),o=s.f,u=a.f,l=0;l<n.length;l++){var c=n[l];i(e,c)||o(e,c,u(t,c))}}},282:function(e,t,n){e.exports=n(16)},283:function(e,t,n){var i=n(11);e.exports=!!Object.getOwnPropertySymbols&&!i((function(){return!String(Symbol())}))},284:function(e,t,n){var i=n(81);e.exports=i("document","documentElement")},285:function(e,t,n){var i=n(23);e.exports=function(e,t,n,r){try{return r?t(i(n)[0],n[1]):t(n)}catch(t){var a=e.return;throw void 0!==a&&i(a.call(e)),t}}},286:function(e,t,n){"use strict";var i=n(279).IteratorPrototype,r=n(98),a=n(106),s=n(89),o=n(151),u=function(){return this};e.exports=function(e,t,n){var l=t+" Iterator";return e.prototype=r(i,{next:a(1,n)}),s(e,l,!1,!0),o[l]=u,e}},287:function(e,t,n){var i=n(22);e.exports=function(e){if(!i(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},288:function(e,t,n){var i=n(16),r=n(134).trim,a=n(186),s=i.parseInt,o=/^[+-]?0[Xx]/,u=8!==s(a+"08")||22!==s(a+"0x16");e.exports=u?function(e,t){var n=r(String(e));return s(n,t>>>0||(o.test(n)?16:10))}:s},289:function(e,t,n){"use strict";var i=n(26),r=n(11),a=n(157),s=n(231),o=n(184),u=n(33),l=n(152),c=Object.assign;e.exports=!c||r((function(){var e={},t={},n=Symbol();return e[n]=7,"abcdefghijklmnopqrst".split("").forEach((function(e){t[e]=e})),7!=c({},e)[n]||"abcdefghijklmnopqrst"!=a(c({},t)).join("")}))?function(e,t){for(var n=u(e),r=arguments.length,c=1,h=s.f,d=o.f;r>c;)for(var f,p=l(arguments[c++]),m=h?a(p).concat(h(p)):a(p),g=m.length,v=0;g>v;)f=m[v++],i&&!d.call(p,f)||(n[f]=p[f]);return n}:c},29:function(e,t,n){var i=n(72),r=Math.min;e.exports=function(e){return e>0?r(i(e),9007199254740991):0}},290:function(e,t,n){"use strict";var i=n(187).charAt,r=n(71),a=n(232),s=r.set,o=r.getterFor("String Iterator");a(String,"String",(function(e){s(this,{type:"String Iterator",string:String(e),index:0})}),(function(){var e,t=o(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=i(n,r),t.index+=e.length,{value:e,done:!1})}))},291:function(e,t,n){"use strict";var i=n(131),r=n(120).getWeakData,a=n(23),s=n(22),o=n(109),u=n(159),l=n(44),c=n(37),h=n(71),d=h.set,f=h.getterFor,p=l.find,m=l.findIndex,g=0,v=function(e){return e.frozen||(e.frozen=new y)},y=function(){this.entries=[]},_=function(e,t){return p(e.entries,(function(e){return e[0]===t}))};y.prototype={get:function(e){var t=_(this,e);if(t)return t[1]},has:function(e){return!!_(this,e)},set:function(e,t){var n=_(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=m(this.entries,(function(t){return t[0]===e}));return~t&&this.entries.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,n,l){var h=e((function(e,i){o(e,h,t),d(e,{type:t,id:g++,frozen:void 0}),null!=i&&u(i,e[l],e,n)})),p=f(t),m=function(e,t,n){var i=p(e),s=r(a(t),!0);return!0===s?v(i).set(t,n):s[i.id]=n,e};return i(h.prototype,{delete:function(e){var t=p(this);if(!s(e))return!1;var n=r(e);return!0===n?v(t).delete(e):n&&c(n,t.id)&&delete n[t.id]},has:function(e){var t=p(this);if(!s(e))return!1;var n=r(e);return!0===n?v(t).has(e):n&&c(n,t.id)}}),i(h.prototype,n?{get:function(e){var t=p(this);if(s(e)){var n=r(e);return!0===n?v(t).get(e):n?n[t.id]:void 0}},set:function(e,t){return m(this,e,t)}}:{add:function(e){return m(this,e,!0)}}),h}}},32:function(e,t,n){var i=n(26),r=n(274),a=n(23),s=n(82),o=Object.defineProperty;t.f=i?o:function(e,t,n){if(a(e),t=s(t,!0),a(n),r)try{return o(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},33:function(e,t,n){var i=n(57);e.exports=function(e){return Object(i(e))}},37:function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},44:function(e,t,n){var i=n(108),r=n(152),a=n(33),s=n(29),o=n(161),u=[].push,l=function(e){var t=1==e,n=2==e,l=3==e,c=4==e,h=6==e,d=5==e||h;return function(f,p,m,g){for(var v,y,_=a(f),b=r(_),T=i(p,m,3),S=s(b.length),w=0,E=g||o,k=t?E(f,S):n?E(f,0):void 0;S>w;w++)if((d||w in b)&&(y=T(v=b[w],w,_),e))if(t)k[w]=y;else if(y)switch(e){case 3:return!0;case 5:return v;case 6:return w;case 2:u.call(k,v)}else if(c)return!1;return h?-1:l||c?c:k}};e.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6)}},48:function(e,t,n){var i=n(16),r=n(153),a=n(52),s=n(37),o=n(228),u=n(275),l=n(71),c=l.get,h=l.enforce,d=String(u).split("toString");r("inspectSource",(function(e){return u.call(e)})),(e.exports=function(e,t,n,r){var u=!!r&&!!r.unsafe,l=!!r&&!!r.enumerable,c=!!r&&!!r.noTargetGet;"function"==typeof n&&("string"!=typeof t||s(n,"name")||a(n,"name",t),h(n).source=d.join("string"==typeof t?t:"")),e!==i?(u?!c&&e[t]&&(l=!0):delete e[t],l?e[t]=n:a(e,t,n)):l?e[t]=n:o(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&c(this).source||u.call(this)}))},52:function(e,t,n){var i=n(26),r=n(32),a=n(106);e.exports=i?function(e,t,n){return r.f(e,t,a(1,n))}:function(e,t,n){return e[t]=n,e}},57:function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},58:function(e,t,n){var i=n(26),r=n(184),a=n(106),s=n(63),o=n(82),u=n(37),l=n(274),c=Object.getOwnPropertyDescriptor;t.f=i?c:function(e,t){if(e=s(e),t=o(t,!0),l)try{return c(e,t)}catch(e){}if(u(e,t))return a(!r.f.call(e,t),e[t])}},63:function(e,t,n){var i=n(152),r=n(57);e.exports=function(e){return i(r(e))}},679:function(e,t,n){var i=n(16),r=n(228),a=i["__core-js_shared__"]||r("__core-js_shared__",{});e.exports=a},680:function(e,t,n){"use strict";var i=n(2),r=n(44).filter;i({target:"Array",proto:!0,forced:!n(162)("filter")},{filter:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}})},681:function(e,t,n){"use strict";var i=n(2),r=n(278);i({target:"Array",proto:!0,forced:[].forEach!=r},{forEach:r})},682:function(e,t,n){"use strict";var i=n(2),r=n(193).left;i({target:"Array",proto:!0,forced:n(99)("reduce")},{reduce:function(e){return r(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}})},683:function(e,t,n){var i=n(26),r=n(32).f,a=Function.prototype,s=a.toString,o=/^\s*function ([^ (]*)/;i&&!("name"in a)&&r(a,"name",{configurable:!0,get:function(){try{return s.call(this).match(o)[1]}catch(e){return""}}})},684:function(e,t,n){var i=n(2),r=n(289);i({target:"Object",stat:!0,forced:Object.assign!==r},{assign:r})},685:function(e,t,n){var i=n(48),r=n(686),a=Object.prototype;r!==a.toString&&i(a,"toString",r,{unsafe:!0})},686:function(e,t,n){"use strict";var i=n(158),r={};r[n(27)("toStringTag")]="z",e.exports="[object z]"!==String(r)?function(){return"[object "+i(this)+"]"}:r.toString},687:function(e,t,n){var i=n(2),r=n(288);i({global:!0,forced:parseInt!=r},{parseInt:r})},688:function(e,t,n){"use strict";var i=n(2),r=n(182);i({target:"RegExp",proto:!0,forced:/./.exec!==r},{exec:r})},689:function(e,t,n){"use strict";var i=n(188),r=n(23),a=n(29),s=n(57),o=n(233),u=n(189);i("match",1,(function(e,t,n){return[function(t){var n=s(this),i=null==t?void 0:t[e];return void 0!==i?i.call(t,n):new RegExp(t)[e](String(n))},function(e){var i=n(t,e,this);if(i.done)return i.value;var s=r(e),l=String(this);if(!s.global)return u(s,l);var c=s.unicode;s.lastIndex=0;for(var h,d=[],f=0;null!==(h=u(s,l));){var p=String(h[0]);d[f]=p,""===p&&(s.lastIndex=o(l,a(s.lastIndex),c)),f++}return 0===f?null:d}]}))},690:function(e,t,n){"use strict";var i=n(188),r=n(23),a=n(33),s=n(29),o=n(72),u=n(57),l=n(233),c=n(189),h=Math.max,d=Math.min,f=Math.floor,p=/\$([$&'`]|\d\d?|<[^>]*>)/g,m=/\$([$&'`]|\d\d?)/g;i("replace",2,(function(e,t,n){return[function(n,i){var r=u(this),a=null==n?void 0:n[e];return void 0!==a?a.call(n,r,i):t.call(String(r),n,i)},function(e,a){var u=n(t,e,this,a);if(u.done)return u.value;var f=r(e),p=String(this),m="function"==typeof a;m||(a=String(a));var g=f.global;if(g){var v=f.unicode;f.lastIndex=0}for(var y=[];;){var _=c(f,p);if(null===_)break;if(y.push(_),!g)break;""===String(_[0])&&(f.lastIndex=l(p,s(f.lastIndex),v))}for(var b,T="",S=0,w=0;w<y.length;w++){_=y[w];for(var E=String(_[0]),k=h(d(o(_.index),p.length),0),C=[],x=1;x<_.length;x++)C.push(void 0===(b=_[x])?b:String(b));var A=_.groups;if(m){var I=[E].concat(C,k,p);void 0!==A&&I.push(A);var O=String(a.apply(void 0,I))}else O=i(E,p,k,C,A,a);k>=S&&(T+=p.slice(S,k)+O,S=k+E.length)}return T+p.slice(S)}];function i(e,n,i,r,s,o){var u=i+e.length,l=r.length,c=m;return void 0!==s&&(s=a(s),c=p),t.call(o,c,(function(t,a){var o;switch(a.charAt(0)){case"$":return"$";case"&":return e;case"`":return n.slice(0,i);case"'":return n.slice(u);case"<":o=s[a.slice(1,-1)];break;default:var c=+a;if(0===c)return t;if(c>l){var h=f(c/10);return 0===h?t:h<=l?void 0===r[h-1]?a.charAt(1):r[h-1]+a.charAt(1):t}o=r[c-1]}return void 0===o?"":o}))}}))},691:function(e,t,n){"use strict";var i,r=n(16),a=n(131),s=n(120),o=n(194),u=n(291),l=n(22),c=n(71).enforce,h=n(276),d=!r.ActiveXObject&&"ActiveXObject"in r,f=Object.isExtensible,p=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},m=e.exports=o("WeakMap",p,u,!0,!0);if(h&&d){i=u.getConstructor(p,"WeakMap",!0),s.REQUIRED=!0;var g=m.prototype,v=g.delete,y=g.has,_=g.get,b=g.set;a(g,{delete:function(e){if(l(e)&&!f(e)){var t=c(this);return t.frozen||(t.frozen=new i),v.call(this,e)||t.frozen.delete(e)}return v.call(this,e)},has:function(e){if(l(e)&&!f(e)){var t=c(this);return t.frozen||(t.frozen=new i),y.call(this,e)||t.frozen.has(e)}return y.call(this,e)},get:function(e){if(l(e)&&!f(e)){var t=c(this);return t.frozen||(t.frozen=new i),y.call(this,e)?_.call(this,e):t.frozen.get(e)}return _.call(this,e)},set:function(e,t){if(l(e)&&!f(e)){var n=c(this);n.frozen||(n.frozen=new i),y.call(this,e)?b.call(this,e,t):n.frozen.set(e,t)}else b.call(this,e,t);return this}})}},692:function(e,t,n){var i=n(16),r=n(280),a=n(278),s=n(52);for(var o in r){var u=i[o],l=u&&u.prototype;if(l&&l.forEach!==a)try{s(l,"forEach",a)}catch(e){l.forEach=a}}},693:function(e,t,n){var i=n(16),r=n(280),a=n(185),s=n(52),o=n(27),u=o("iterator"),l=o("toStringTag"),c=a.values;for(var h in r){var d=i[h],f=d&&d.prototype;if(f){if(f[u]!==c)try{s(f,u,c)}catch(e){f[u]=c}if(f[l]||s(f,l,h),r[h])for(var p in a)if(f[p]!==a[p])try{s(f,p,a[p])}catch(e){f[p]=a[p]}}}},71:function(e,t,n){var i,r,a,s=n(276),o=n(16),u=n(22),l=n(52),c=n(37),h=n(181),d=n(154),f=o.WeakMap;if(s){var p=new f,m=p.get,g=p.has,v=p.set;i=function(e,t){return v.call(p,e,t),t},r=function(e){return m.call(p,e)||{}},a=function(e){return g.call(p,e)}}else{var y=h("state");d[y]=!0,i=function(e,t){return l(e,y,t),t},r=function(e){return c(e,y)?e[y]:{}},a=function(e){return c(e,y)}}e.exports={set:i,get:r,has:a,enforce:function(e){return a(e)?r(e):i(e,{})},getterFor:function(e){return function(t){var n;if(!u(t)||(n=r(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}}},72:function(e,t){var n=Math.ceil,i=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?i:n)(e)}},74:function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},80:function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},81:function(e,t,n){var i=n(282),r=n(16),a=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?a(i[e])||a(r[e]):i[e]&&i[e][t]||r[e]&&r[e][t]}},82:function(e,t,n){var i=n(22);e.exports=function(e,t){if(!i(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!i(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")}},89:function(e,t,n){var i=n(32).f,r=n(37),a=n(27)("toStringTag");e.exports=function(e,t,n){e&&!r(e=n?e:e.prototype,a)&&i(e,a,{configurable:!0,value:t})}},91:function(e,t,n){var i=n(37),r=n(33),a=n(181),s=n(239),o=a("IE_PROTO"),u=Object.prototype;e.exports=s?Object.getPrototypeOf:function(e){return e=r(e),i(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?u:null}},98:function(e,t,n){var i=n(23),r=n(236),a=n(229),s=n(154),o=n(284),u=n(230),l=n(181)("IE_PROTO"),c=function(){},h=function(){var e,t=u("iframe"),n=a.length;for(t.style.display="none",o.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),h=e.F;n--;)delete h.prototype[a[n]];return h()};e.exports=Object.create||function(e,t){var n;return null!==e?(c.prototype=i(e),n=new c,c.prototype=null,n[l]=e):n=h(),void 0===t?n:r(n,t)},s[l]=!0},99:function(e,t,n){"use strict";var i=n(11);e.exports=function(e,t){var n=[][e];return!n||!i((function(){n.call(null,t||function(){throw 1},1)}))}}}]);
101
+ */var i=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;function s(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach((function(e){i[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},i)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,o,u=s(e),l=1;l<arguments.length;l++){for(var c in n=Object(arguments[l]))r.call(n,c)&&(u[c]=n[c]);if(i){o=i(n);for(var h=0;h<o.length;h++)a.call(n,o[h])&&(u[o[h]]=n[o[h]])}}return u}},130:function(e,t,n){var i=n(23),r=n(287);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(e){}return function(n,a){return i(n),r(a),t?e.call(n,a):n.__proto__=a,n}}():void 0)},131:function(e,t,n){var i=n(48);e.exports=function(e,t,n){for(var r in t)i(e,r,t[r],n);return e}},134:function(e,t,n){var i=n(57),r="["+n(185)+"]",a=RegExp("^"+r+r+"*"),s=RegExp(r+r+"*$"),o=function(e){return function(t){var n=String(i(t));return 1&e&&(n=n.replace(a,"")),2&e&&(n=n.replace(s,"")),n}};e.exports={start:o(1),end:o(2),trim:o(3)}},151:function(e,t){e.exports={}},152:function(e,t,n){var i=n(11),r=n(80),a="".split;e.exports=i((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==r(e)?a.call(e,""):Object(e)}:Object},153:function(e,t,n){var i=n(107),r=n(679);(e.exports=function(e,t){return r[e]||(r[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.4.0",mode:i?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},154:function(e,t){e.exports={}},155:function(e,t){var n=0,i=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++n+i).toString(36)}},156:function(e,t,n){var i=n(11),r=/#|\.prototype\./,a=function(e,t){var n=o[s(e)];return n==l||n!=u&&("function"==typeof t?i(t):!!t)},s=a.normalize=function(e){return String(e).replace(r,".").toLowerCase()},o=a.data={},u=a.NATIVE="N",l=a.POLYFILL="P";e.exports=a},157:function(e,t,n){var i=n(277),r=n(229);e.exports=Object.keys||function(e){return i(e,r)}},158:function(e,t,n){var i=n(80),r=n(27)("toStringTag"),a="Arguments"==i(function(){return arguments}());e.exports=function(e){var t,n,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),r))?n:a?i(t):"Object"==(s=i(t))&&"function"==typeof t.callee?"Arguments":s}},159:function(e,t,n){var i=n(23),r=n(238),a=n(29),s=n(108),o=n(164),u=n(285),l=function(e,t){this.stopped=e,this.result=t};(e.exports=function(e,t,n,c,h){var d,f,p,m,g,v,y,_=s(t,n,c?2:1);if(h)d=e;else{if("function"!=typeof(f=o(e)))throw TypeError("Target is not iterable");if(r(f)){for(p=0,m=a(e.length);m>p;p++)if((g=c?_(i(y=e[p])[0],y[1]):_(e[p]))&&g instanceof l)return g;return new l(!1)}d=f.call(e)}for(v=d.next;!(y=v.call(d)).done;)if("object"==typeof(g=u(d,_,y.value,c))&&g&&g instanceof l)return g;return new l(!1)}).stop=function(e){return new l(!0,e)}},16:function(e,t,n){(function(t){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||Function("return this")()}).call(this,n(150))},160:function(e,t,n){var i=n(63),r=n(29),a=n(110),s=function(e){return function(t,n,s){var o,u=i(t),l=r(u.length),c=a(s,l);if(e&&n!=n){for(;l>c;)if((o=u[c++])!=o)return!0}else for(;l>c;c++)if((e||c in u)&&u[c]===n)return e||c||0;return!e&&-1}};e.exports={includes:s(!0),indexOf:s(!1)}},161:function(e,t,n){var i=n(22),r=n(122),a=n(27)("species");e.exports=function(e,t){var n;return r(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!r(n.prototype)?i(n)&&null===(n=n[a])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)}},162:function(e,t,n){var i=n(11),r=n(27),a=n(237),s=r("species");e.exports=function(e){return a>=51||!i((function(){var t=[];return(t.constructor={})[s]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},163:function(e,t,n){var i=n(81);e.exports=i("navigator","userAgent")||""},164:function(e,t,n){var i=n(158),r=n(151),a=n(27)("iterator");e.exports=function(e){if(null!=e)return e[a]||e["@@iterator"]||r[i(e)]}},165:function(e,t,n){var i=n(11);e.exports=!i((function(){return Object.isExtensible(Object.preventExtensions({}))}))},180:function(e,t,n){var i=n(153),r=n(155),a=i("keys");e.exports=function(e){return a[e]||(a[e]=r(e))}},181:function(e,t,n){"use strict";var i,r,a=n(195),s=RegExp.prototype.exec,o=String.prototype.replace,u=s,l=(i=/a/,r=/b*/g,s.call(i,"a"),s.call(r,"a"),0!==i.lastIndex||0!==r.lastIndex),c=void 0!==/()??/.exec("")[1];(l||c)&&(u=function(e){var t,n,i,r,u=this;return c&&(n=new RegExp("^"+u.source+"$(?!\\s)",a.call(u))),l&&(t=u.lastIndex),i=s.call(u,e),l&&i&&(u.lastIndex=u.global?i.index+i[0].length:t),c&&i&&i.length>1&&o.call(i[0],n,(function(){for(r=1;r<arguments.length-2;r++)void 0===arguments[r]&&(i[r]=void 0)})),i}),e.exports=u},183:function(e,t,n){"use strict";var i={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,a=r&&!i.call({1:2},1);t.f=a?function(e){var t=r(this,e);return!!t&&t.enumerable}:i},184:function(e,t,n){"use strict";var i=n(63),r=n(111),a=n(151),s=n(71),o=n(232),u=s.set,l=s.getterFor("Array Iterator");e.exports=o(Array,"Array",(function(e,t){u(this,{type:"Array Iterator",target:i(e),index:0,kind:t})}),(function(){var e=l(this),t=e.target,n=e.kind,i=e.index++;return!t||i>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:i,done:!1}:"values"==n?{value:t[i],done:!1}:{value:[i,t[i]],done:!1}}),"values"),a.Arguments=a.Array,r("keys"),r("values"),r("entries")},185:function(e,t){e.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},186:function(e,t,n){var i=n(72),r=n(57),a=function(e){return function(t,n){var a,s,o=String(r(t)),u=i(n),l=o.length;return u<0||u>=l?e?"":void 0:(a=o.charCodeAt(u))<55296||a>56319||u+1===l||(s=o.charCodeAt(u+1))<56320||s>57343?e?o.charAt(u):a:e?o.slice(u,u+2):s-56320+(a-55296<<10)+65536}};e.exports={codeAt:a(!1),charAt:a(!0)}},187:function(e,t,n){"use strict";var i=n(52),r=n(48),a=n(11),s=n(27),o=n(181),u=s("species"),l=!a((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),c=!a((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));e.exports=function(e,t,n,h){var d=s(e),f=!a((function(){var t={};return t[d]=function(){return 7},7!=""[e](t)})),p=f&&!a((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[u]=function(){return n},n.flags="",n[d]=/./[d]),n.exec=function(){return t=!0,null},n[d](""),!t}));if(!f||!p||"replace"===e&&!l||"split"===e&&!c){var m=/./[d],g=n(d,""[e],(function(e,t,n,i,r){return t.exec===o?f&&!r?{done:!0,value:m.call(t,n,i)}:{done:!0,value:e.call(n,t,i)}:{done:!1}})),v=g[0],y=g[1];r(String.prototype,e,v),r(RegExp.prototype,d,2==t?function(e,t){return y.call(e,this,t)}:function(e){return y.call(e,this)}),h&&i(RegExp.prototype[d],"sham",!0)}}},188:function(e,t,n){var i=n(80),r=n(181);e.exports=function(e,t){var n=e.exec;if("function"==typeof n){var a=n.call(e,t);if("object"!=typeof a)throw TypeError("RegExp exec method returned something other than an Object or null");return a}if("RegExp"!==i(e))throw TypeError("RegExp#exec called on incompatible receiver");return r.call(e,t)}},191:function(e,t,n){var i=n(27)("iterator"),r=!1;try{var a=0,s={next:function(){return{done:!!a++}},return:function(){r=!0}};s[i]=function(){return this},Array.from(s,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!r)return!1;var n=!1;try{var a={};a[i]=function(){return{next:function(){return{done:n=!0}}}},e(a)}catch(e){}return n}},192:function(e,t,n){var i=n(74),r=n(33),a=n(152),s=n(29),o=function(e){return function(t,n,o,u){i(n);var l=r(t),c=a(l),h=s(l.length),d=e?h-1:0,f=e?-1:1;if(o<2)for(;;){if(d in c){u=c[d],d+=f;break}if(d+=f,e?d<0:h<=d)throw TypeError("Reduce of empty array with no initial value")}for(;e?d>=0:h>d;d+=f)d in c&&(u=n(u,c[d],d,l));return u}};e.exports={left:o(!1),right:o(!0)}},193:function(e,t,n){"use strict";var i=n(2),r=n(16),a=n(156),s=n(48),o=n(120),u=n(159),l=n(109),c=n(22),h=n(11),d=n(191),f=n(89),p=n(194);e.exports=function(e,t,n,m,g){var v=r[e],y=v&&v.prototype,_=v,b=m?"set":"add",T={},S=function(e){var t=y[e];s(y,e,"add"==e?function(e){return t.call(this,0===e?0:e),this}:"delete"==e?function(e){return!(g&&!c(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return g&&!c(e)?void 0:t.call(this,0===e?0:e)}:"has"==e?function(e){return!(g&&!c(e))&&t.call(this,0===e?0:e)}:function(e,n){return t.call(this,0===e?0:e,n),this})};if(a(e,"function"!=typeof v||!(g||y.forEach&&!h((function(){(new v).entries().next()})))))_=n.getConstructor(t,e,m,b),o.REQUIRED=!0;else if(a(e,!0)){var w=new _,E=w[b](g?{}:-0,1)!=w,k=h((function(){w.has(1)})),C=d((function(e){new v(e)})),x=!g&&h((function(){for(var e=new v,t=5;t--;)e[b](t,t);return!e.has(-0)}));C||((_=t((function(t,n){l(t,_,e);var i=p(new v,t,_);return null!=n&&u(n,i[b],i,m),i}))).prototype=y,y.constructor=_),(k||x)&&(S("delete"),S("has"),m&&S("get")),(x||E)&&S(b),g&&y.clear&&delete y.clear}return T[e]=_,i({global:!0,forced:_!=v},T),f(_,e),g||n.setStrong(_,e,m),_}},194:function(e,t,n){var i=n(22),r=n(130);e.exports=function(e,t,n){var a,s;return r&&"function"==typeof(a=t.constructor)&&a!==n&&i(s=a.prototype)&&s!==n.prototype&&r(e,s),e}},195:function(e,t,n){"use strict";var i=n(23);e.exports=function(){var e=i(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},2:function(e,t,n){var i=n(16),r=n(58).f,a=n(52),s=n(48),o=n(228),u=n(281),l=n(156);e.exports=function(e,t){var n,c,h,d,f,p=e.target,m=e.global,g=e.stat;if(n=m?i:g?i[p]||o(p,{}):(i[p]||{}).prototype)for(c in t){if(d=t[c],h=e.noTargetGet?(f=r(n,c))&&f.value:n[c],!l(m?c:p+(g?".":"#")+c,e.forced)&&void 0!==h){if(typeof d==typeof h)continue;u(d,h)}(e.sham||h&&h.sham)&&a(d,"sham",!0),s(n,c,d,e)}}},22:function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},228:function(e,t,n){var i=n(16),r=n(52);e.exports=function(e,t){try{r(i,e,t)}catch(n){i[e]=t}return t}},229:function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},23:function(e,t,n){var i=n(22);e.exports=function(e){if(!i(e))throw TypeError(String(e)+" is not an object");return e}},230:function(e,t,n){var i=n(16),r=n(22),a=i.document,s=r(a)&&r(a.createElement);e.exports=function(e){return s?a.createElement(e):{}}},231:function(e,t){t.f=Object.getOwnPropertySymbols},232:function(e,t,n){"use strict";var i=n(2),r=n(286),a=n(91),s=n(130),o=n(89),u=n(52),l=n(48),c=n(27),h=n(107),d=n(151),f=n(279),p=f.IteratorPrototype,m=f.BUGGY_SAFARI_ITERATORS,g=c("iterator"),v=function(){return this};e.exports=function(e,t,n,c,f,y,_){r(n,t,c);var b,T,S,w=function(e){if(e===f&&A)return A;if(!m&&e in C)return C[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},E=t+" Iterator",k=!1,C=e.prototype,x=C[g]||C["@@iterator"]||f&&C[f],A=!m&&x||w(f),I="Array"==t&&C.entries||x;if(I&&(b=a(I.call(new e)),p!==Object.prototype&&b.next&&(h||a(b)===p||(s?s(b,p):"function"!=typeof b[g]&&u(b,g,v)),o(b,E,!0,!0),h&&(d[E]=v))),"values"==f&&x&&"values"!==x.name&&(k=!0,A=function(){return x.call(this)}),h&&!_||C[g]===A||u(C,g,A),d[t]=A,f)if(T={values:w("values"),keys:y?A:w("keys"),entries:w("entries")},_)for(S in T)(m||k||!(S in C))&&l(C,S,T[S]);else i({target:t,proto:!0,forced:m||k},T);return T}},233:function(e,t,n){"use strict";var i=n(186).charAt;e.exports=function(e,t,n){return t+(n?i(e,t).length:1)}},235:function(e,t,n){var i=n(81),r=n(121),a=n(231),s=n(23);e.exports=i("Reflect","ownKeys")||function(e){var t=r.f(s(e)),n=a.f;return n?t.concat(n(e)):t}},236:function(e,t,n){var i=n(26),r=n(32),a=n(23),s=n(157);e.exports=i?Object.defineProperties:function(e,t){a(e);for(var n,i=s(t),o=i.length,u=0;o>u;)r.f(e,n=i[u++],t[n]);return e}},237:function(e,t,n){var i,r,a=n(16),s=n(163),o=a.process,u=o&&o.versions,l=u&&u.v8;l?r=(i=l.split("."))[0]+i[1]:s&&(!(i=s.match(/Edge\/(\d+)/))||i[1]>=74)&&(i=s.match(/Chrome\/(\d+)/))&&(r=i[1]),e.exports=r&&+r},238:function(e,t,n){var i=n(27),r=n(151),a=i("iterator"),s=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||s[a]===e)}},239:function(e,t,n){var i=n(11);e.exports=!i((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},26:function(e,t,n){var i=n(11);e.exports=!i((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},27:function(e,t,n){var i=n(16),r=n(153),a=n(155),s=n(283),o=i.Symbol,u=r("wks");e.exports=function(e){return u[e]||(u[e]=s&&o[e]||(s?o:a)("Symbol."+e))}},274:function(e,t,n){var i=n(26),r=n(11),a=n(230);e.exports=!i&&!r((function(){return 7!=Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a}))},275:function(e,t,n){var i=n(153);e.exports=i("native-function-to-string",Function.toString)},276:function(e,t,n){var i=n(16),r=n(275),a=i.WeakMap;e.exports="function"==typeof a&&/native code/.test(r.call(a))},277:function(e,t,n){var i=n(37),r=n(63),a=n(160).indexOf,s=n(154);e.exports=function(e,t){var n,o=r(e),u=0,l=[];for(n in o)!i(s,n)&&i(o,n)&&l.push(n);for(;t.length>u;)i(o,n=t[u++])&&(~a(l,n)||l.push(n));return l}},278:function(e,t,n){"use strict";var i=n(44).forEach,r=n(99);e.exports=r("forEach")?function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}:[].forEach},279:function(e,t,n){"use strict";var i,r,a,s=n(91),o=n(52),u=n(37),l=n(27),c=n(107),h=l("iterator"),d=!1;[].keys&&("next"in(a=[].keys())?(r=s(s(a)))!==Object.prototype&&(i=r):d=!0),null==i&&(i={}),c||u(i,h)||o(i,h,(function(){return this})),e.exports={IteratorPrototype:i,BUGGY_SAFARI_ITERATORS:d}},280:function(e,t){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},281:function(e,t,n){var i=n(37),r=n(235),a=n(58),s=n(32);e.exports=function(e,t){for(var n=r(t),o=s.f,u=a.f,l=0;l<n.length;l++){var c=n[l];i(e,c)||o(e,c,u(t,c))}}},282:function(e,t,n){e.exports=n(16)},283:function(e,t,n){var i=n(11);e.exports=!!Object.getOwnPropertySymbols&&!i((function(){return!String(Symbol())}))},284:function(e,t,n){var i=n(81);e.exports=i("document","documentElement")},285:function(e,t,n){var i=n(23);e.exports=function(e,t,n,r){try{return r?t(i(n)[0],n[1]):t(n)}catch(t){var a=e.return;throw void 0!==a&&i(a.call(e)),t}}},286:function(e,t,n){"use strict";var i=n(279).IteratorPrototype,r=n(98),a=n(106),s=n(89),o=n(151),u=function(){return this};e.exports=function(e,t,n){var l=t+" Iterator";return e.prototype=r(i,{next:a(1,n)}),s(e,l,!1,!0),o[l]=u,e}},287:function(e,t,n){var i=n(22);e.exports=function(e){if(!i(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},288:function(e,t,n){var i=n(16),r=n(134).trim,a=n(185),s=i.parseInt,o=/^[+-]?0[Xx]/,u=8!==s(a+"08")||22!==s(a+"0x16");e.exports=u?function(e,t){var n=r(String(e));return s(n,t>>>0||(o.test(n)?16:10))}:s},289:function(e,t,n){"use strict";var i=n(26),r=n(11),a=n(157),s=n(231),o=n(183),u=n(33),l=n(152),c=Object.assign;e.exports=!c||r((function(){var e={},t={},n=Symbol();return e[n]=7,"abcdefghijklmnopqrst".split("").forEach((function(e){t[e]=e})),7!=c({},e)[n]||"abcdefghijklmnopqrst"!=a(c({},t)).join("")}))?function(e,t){for(var n=u(e),r=arguments.length,c=1,h=s.f,d=o.f;r>c;)for(var f,p=l(arguments[c++]),m=h?a(p).concat(h(p)):a(p),g=m.length,v=0;g>v;)f=m[v++],i&&!d.call(p,f)||(n[f]=p[f]);return n}:c},29:function(e,t,n){var i=n(72),r=Math.min;e.exports=function(e){return e>0?r(i(e),9007199254740991):0}},290:function(e,t,n){"use strict";var i=n(186).charAt,r=n(71),a=n(232),s=r.set,o=r.getterFor("String Iterator");a(String,"String",(function(e){s(this,{type:"String Iterator",string:String(e),index:0})}),(function(){var e,t=o(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=i(n,r),t.index+=e.length,{value:e,done:!1})}))},291:function(e,t,n){"use strict";var i=n(131),r=n(120).getWeakData,a=n(23),s=n(22),o=n(109),u=n(159),l=n(44),c=n(37),h=n(71),d=h.set,f=h.getterFor,p=l.find,m=l.findIndex,g=0,v=function(e){return e.frozen||(e.frozen=new y)},y=function(){this.entries=[]},_=function(e,t){return p(e.entries,(function(e){return e[0]===t}))};y.prototype={get:function(e){var t=_(this,e);if(t)return t[1]},has:function(e){return!!_(this,e)},set:function(e,t){var n=_(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=m(this.entries,(function(t){return t[0]===e}));return~t&&this.entries.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,n,l){var h=e((function(e,i){o(e,h,t),d(e,{type:t,id:g++,frozen:void 0}),null!=i&&u(i,e[l],e,n)})),p=f(t),m=function(e,t,n){var i=p(e),s=r(a(t),!0);return!0===s?v(i).set(t,n):s[i.id]=n,e};return i(h.prototype,{delete:function(e){var t=p(this);if(!s(e))return!1;var n=r(e);return!0===n?v(t).delete(e):n&&c(n,t.id)&&delete n[t.id]},has:function(e){var t=p(this);if(!s(e))return!1;var n=r(e);return!0===n?v(t).has(e):n&&c(n,t.id)}}),i(h.prototype,n?{get:function(e){var t=p(this);if(s(e)){var n=r(e);return!0===n?v(t).get(e):n?n[t.id]:void 0}},set:function(e,t){return m(this,e,t)}}:{add:function(e){return m(this,e,!0)}}),h}}},32:function(e,t,n){var i=n(26),r=n(274),a=n(23),s=n(82),o=Object.defineProperty;t.f=i?o:function(e,t,n){if(a(e),t=s(t,!0),a(n),r)try{return o(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},33:function(e,t,n){var i=n(57);e.exports=function(e){return Object(i(e))}},37:function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},44:function(e,t,n){var i=n(108),r=n(152),a=n(33),s=n(29),o=n(161),u=[].push,l=function(e){var t=1==e,n=2==e,l=3==e,c=4==e,h=6==e,d=5==e||h;return function(f,p,m,g){for(var v,y,_=a(f),b=r(_),T=i(p,m,3),S=s(b.length),w=0,E=g||o,k=t?E(f,S):n?E(f,0):void 0;S>w;w++)if((d||w in b)&&(y=T(v=b[w],w,_),e))if(t)k[w]=y;else if(y)switch(e){case 3:return!0;case 5:return v;case 6:return w;case 2:u.call(k,v)}else if(c)return!1;return h?-1:l||c?c:k}};e.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6)}},48:function(e,t,n){var i=n(16),r=n(153),a=n(52),s=n(37),o=n(228),u=n(275),l=n(71),c=l.get,h=l.enforce,d=String(u).split("toString");r("inspectSource",(function(e){return u.call(e)})),(e.exports=function(e,t,n,r){var u=!!r&&!!r.unsafe,l=!!r&&!!r.enumerable,c=!!r&&!!r.noTargetGet;"function"==typeof n&&("string"!=typeof t||s(n,"name")||a(n,"name",t),h(n).source=d.join("string"==typeof t?t:"")),e!==i?(u?!c&&e[t]&&(l=!0):delete e[t],l?e[t]=n:a(e,t,n)):l?e[t]=n:o(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&c(this).source||u.call(this)}))},52:function(e,t,n){var i=n(26),r=n(32),a=n(106);e.exports=i?function(e,t,n){return r.f(e,t,a(1,n))}:function(e,t,n){return e[t]=n,e}},57:function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},58:function(e,t,n){var i=n(26),r=n(183),a=n(106),s=n(63),o=n(82),u=n(37),l=n(274),c=Object.getOwnPropertyDescriptor;t.f=i?c:function(e,t){if(e=s(e),t=o(t,!0),l)try{return c(e,t)}catch(e){}if(u(e,t))return a(!r.f.call(e,t),e[t])}},63:function(e,t,n){var i=n(152),r=n(57);e.exports=function(e){return i(r(e))}},679:function(e,t,n){var i=n(16),r=n(228),a=i["__core-js_shared__"]||r("__core-js_shared__",{});e.exports=a},680:function(e,t,n){"use strict";var i=n(2),r=n(44).filter;i({target:"Array",proto:!0,forced:!n(162)("filter")},{filter:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}})},681:function(e,t,n){"use strict";var i=n(2),r=n(278);i({target:"Array",proto:!0,forced:[].forEach!=r},{forEach:r})},682:function(e,t,n){"use strict";var i=n(2),r=n(192).left;i({target:"Array",proto:!0,forced:n(99)("reduce")},{reduce:function(e){return r(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}})},683:function(e,t,n){var i=n(26),r=n(32).f,a=Function.prototype,s=a.toString,o=/^\s*function ([^ (]*)/;i&&!("name"in a)&&r(a,"name",{configurable:!0,get:function(){try{return s.call(this).match(o)[1]}catch(e){return""}}})},684:function(e,t,n){var i=n(2),r=n(289);i({target:"Object",stat:!0,forced:Object.assign!==r},{assign:r})},685:function(e,t,n){var i=n(48),r=n(686),a=Object.prototype;r!==a.toString&&i(a,"toString",r,{unsafe:!0})},686:function(e,t,n){"use strict";var i=n(158),r={};r[n(27)("toStringTag")]="z",e.exports="[object z]"!==String(r)?function(){return"[object "+i(this)+"]"}:r.toString},687:function(e,t,n){var i=n(2),r=n(288);i({global:!0,forced:parseInt!=r},{parseInt:r})},688:function(e,t,n){"use strict";var i=n(2),r=n(181);i({target:"RegExp",proto:!0,forced:/./.exec!==r},{exec:r})},689:function(e,t,n){"use strict";var i=n(187),r=n(23),a=n(29),s=n(57),o=n(233),u=n(188);i("match",1,(function(e,t,n){return[function(t){var n=s(this),i=null==t?void 0:t[e];return void 0!==i?i.call(t,n):new RegExp(t)[e](String(n))},function(e){var i=n(t,e,this);if(i.done)return i.value;var s=r(e),l=String(this);if(!s.global)return u(s,l);var c=s.unicode;s.lastIndex=0;for(var h,d=[],f=0;null!==(h=u(s,l));){var p=String(h[0]);d[f]=p,""===p&&(s.lastIndex=o(l,a(s.lastIndex),c)),f++}return 0===f?null:d}]}))},690:function(e,t,n){"use strict";var i=n(187),r=n(23),a=n(33),s=n(29),o=n(72),u=n(57),l=n(233),c=n(188),h=Math.max,d=Math.min,f=Math.floor,p=/\$([$&'`]|\d\d?|<[^>]*>)/g,m=/\$([$&'`]|\d\d?)/g;i("replace",2,(function(e,t,n){return[function(n,i){var r=u(this),a=null==n?void 0:n[e];return void 0!==a?a.call(n,r,i):t.call(String(r),n,i)},function(e,a){var u=n(t,e,this,a);if(u.done)return u.value;var f=r(e),p=String(this),m="function"==typeof a;m||(a=String(a));var g=f.global;if(g){var v=f.unicode;f.lastIndex=0}for(var y=[];;){var _=c(f,p);if(null===_)break;if(y.push(_),!g)break;""===String(_[0])&&(f.lastIndex=l(p,s(f.lastIndex),v))}for(var b,T="",S=0,w=0;w<y.length;w++){_=y[w];for(var E=String(_[0]),k=h(d(o(_.index),p.length),0),C=[],x=1;x<_.length;x++)C.push(void 0===(b=_[x])?b:String(b));var A=_.groups;if(m){var I=[E].concat(C,k,p);void 0!==A&&I.push(A);var O=String(a.apply(void 0,I))}else O=i(E,p,k,C,A,a);k>=S&&(T+=p.slice(S,k)+O,S=k+E.length)}return T+p.slice(S)}];function i(e,n,i,r,s,o){var u=i+e.length,l=r.length,c=m;return void 0!==s&&(s=a(s),c=p),t.call(o,c,(function(t,a){var o;switch(a.charAt(0)){case"$":return"$";case"&":return e;case"`":return n.slice(0,i);case"'":return n.slice(u);case"<":o=s[a.slice(1,-1)];break;default:var c=+a;if(0===c)return t;if(c>l){var h=f(c/10);return 0===h?t:h<=l?void 0===r[h-1]?a.charAt(1):r[h-1]+a.charAt(1):t}o=r[c-1]}return void 0===o?"":o}))}}))},691:function(e,t,n){"use strict";var i,r=n(16),a=n(131),s=n(120),o=n(193),u=n(291),l=n(22),c=n(71).enforce,h=n(276),d=!r.ActiveXObject&&"ActiveXObject"in r,f=Object.isExtensible,p=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},m=e.exports=o("WeakMap",p,u,!0,!0);if(h&&d){i=u.getConstructor(p,"WeakMap",!0),s.REQUIRED=!0;var g=m.prototype,v=g.delete,y=g.has,_=g.get,b=g.set;a(g,{delete:function(e){if(l(e)&&!f(e)){var t=c(this);return t.frozen||(t.frozen=new i),v.call(this,e)||t.frozen.delete(e)}return v.call(this,e)},has:function(e){if(l(e)&&!f(e)){var t=c(this);return t.frozen||(t.frozen=new i),y.call(this,e)||t.frozen.has(e)}return y.call(this,e)},get:function(e){if(l(e)&&!f(e)){var t=c(this);return t.frozen||(t.frozen=new i),y.call(this,e)?_.call(this,e):t.frozen.get(e)}return _.call(this,e)},set:function(e,t){if(l(e)&&!f(e)){var n=c(this);n.frozen||(n.frozen=new i),y.call(this,e)?b.call(this,e,t):n.frozen.set(e,t)}else b.call(this,e,t);return this}})}},692:function(e,t,n){var i=n(16),r=n(280),a=n(278),s=n(52);for(var o in r){var u=i[o],l=u&&u.prototype;if(l&&l.forEach!==a)try{s(l,"forEach",a)}catch(e){l.forEach=a}}},693:function(e,t,n){var i=n(16),r=n(280),a=n(184),s=n(52),o=n(27),u=o("iterator"),l=o("toStringTag"),c=a.values;for(var h in r){var d=i[h],f=d&&d.prototype;if(f){if(f[u]!==c)try{s(f,u,c)}catch(e){f[u]=c}if(f[l]||s(f,l,h),r[h])for(var p in a)if(f[p]!==a[p])try{s(f,p,a[p])}catch(e){f[p]=a[p]}}}},71:function(e,t,n){var i,r,a,s=n(276),o=n(16),u=n(22),l=n(52),c=n(37),h=n(180),d=n(154),f=o.WeakMap;if(s){var p=new f,m=p.get,g=p.has,v=p.set;i=function(e,t){return v.call(p,e,t),t},r=function(e){return m.call(p,e)||{}},a=function(e){return g.call(p,e)}}else{var y=h("state");d[y]=!0,i=function(e,t){return l(e,y,t),t},r=function(e){return c(e,y)?e[y]:{}},a=function(e){return c(e,y)}}e.exports={set:i,get:r,has:a,enforce:function(e){return a(e)?r(e):i(e,{})},getterFor:function(e){return function(t){var n;if(!u(t)||(n=r(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}}},72:function(e,t){var n=Math.ceil,i=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?i:n)(e)}},74:function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},80:function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},81:function(e,t,n){var i=n(282),r=n(16),a=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?a(i[e])||a(r[e]):i[e]&&i[e][t]||r[e]&&r[e][t]}},82:function(e,t,n){var i=n(22);e.exports=function(e,t){if(!i(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!i(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")}},89:function(e,t,n){var i=n(32).f,r=n(37),a=n(27)("toStringTag");e.exports=function(e,t,n){e&&!r(e=n?e:e.prototype,a)&&i(e,a,{configurable:!0,value:t})}},91:function(e,t,n){var i=n(37),r=n(33),a=n(180),s=n(239),o=a("IE_PROTO"),u=Object.prototype;e.exports=s?Object.getPrototypeOf:function(e){return e=r(e),i(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?u:null}},98:function(e,t,n){var i=n(23),r=n(236),a=n(229),s=n(154),o=n(284),u=n(230),l=n(180)("IE_PROTO"),c=function(){},h=function(){var e,t=u("iframe"),n=a.length;for(t.style.display="none",o.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),h=e.F;n--;)delete h.prototype[a[n]];return h()};e.exports=Object.create||function(e,t){var n;return null!==e?(c.prototype=i(e),n=new c,c.prototype=null,n[l]=e):n=h(),void 0===t?n:r(n,t)},s[l]=!0},99:function(e,t,n){"use strict";var i=n(11);e.exports=function(e,t){var n=[][e];return!n||!i((function(){n.call(null,t||function(){throw 1},1)}))}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp_clickview_reports=window.webpackJsonp_clickview_reports||[]).push([[6],{1031:function(e,t,a){"use strict";a.d(t,"a",(function(){return o}));var n=a(95),r=a(51),i=a(1041),o={views:function(e,t,a,r,o,c){var l="video:views";t&&(l+=":".concat(t));var s=Object.assign({objectId:t},Object(i.a)(e,!0));return a&&(s.sharerId=a),{url:n.a.urlBuilder("{gateway}/v1/analytics/views",s),key:Object(i.b)(l,e,a),normalize:!1,success:r,error:o,always:c}},individualEngagement:function(e,t,a,r,o,c){var l=Object.assign({objectId:e},Object(i.a)(t));return a&&(l.sharerId=a),{url:n.a.urlBuilder("{gateway}/v1/analytics/heat-map",l),key:Object(i.b)("engagement:".concat(e),t,a),formatData:function(e){var t;return Object.assign(Object.assign({},e),{data:null===(t=e.data)||void 0===t?void 0:t.map((function(e){var t;return Object.assign(Object.assign({},e),{heatMap:null!==(t=e.heatMap)&&void 0!==t?t:[]})}))})},normalize:!1,success:r,error:o,always:c}},aggregateEngagement:function(e,t,a,r,o,c){var l=Object.assign({objectId:e},Object(i.a)(t));return a&&(l.sharerId=a),{url:n.a.urlBuilder("{gateway}/v1/analytics/heat-map/aggregations",l),key:Object(i.b)("aggregate:engagement:".concat(e),t,a),formatData:function(e){var t;return Object.assign(Object.assign({},e),{heatMap:null!==(t=e.heatMap)&&void 0!==t?t:[]})},normalize:!1,success:r,error:o,always:c}},topVideos:function(e,t,a,o,c){return{url:n.a.urlBuilder("{gateway}/v1/analytics/top-videos",Object.assign({"query.video":"thumbnail","query.interactive":"video[thumbnail],clip[video[thumbnail]],thumbnail","query.clip":"video[thumbnail]",limit:t},Object(i.a)(e))),key:Object(i.b)("top:videos:".concat(null!=t?t:0),e),normalize:!1,formatData:function(e){var t=r.a.sortBy(e.data,"count");return t.reverse(),Object.assign(Object.assign({},e),{data:t})},success:a,error:o,always:c}}}},1039:function(e,t,a){"use strict";a.d(t,"a",(function(){return m}));var n=a(0),r=a.n(n),i=a(14),o=a(41),c=a(97),l=a(1042),s=a.n(l);function u(e){var t="nav-link p-0 mb-0 mr-4 h6 text-dark";return"".concat(t,e?" active":" font-weight-normal")}function m(e){return r.a.createElement(i.Navbar,{className:"p-0 pb-3"},r.a.createElement(i.Nav,null,e.items.map((function(e,t){var a,n,l=e.appLink.action===(null===(n=null===(a=c.a.getCurrentRoute())||void 0===a?void 0:a.appLink)||void 0===n?void 0:n.action);return r.a.createElement(i.Nav.Item,{key:t},r.a.createElement(o.a,{appLink:e.appLink,className:u(l)},e.label),l&&r.a.createElement("div",{className:"mt-1 mr-4 ".concat(s.a.underline)}))}))))}},1042:function(e,t,a){e.exports={underline:"_1eU3d"}},1088:function(e,t,a){"use strict";var n=a(0),r=a(54);function i(e){var t,a;return t=e,a=r.a.getInstance(t),n.useEffect((function(){return function(){r.a.releaseInstance(t)}})),a}var o=a(85),c=a(115);function l(){var e=i(c.a.ALERT);return{success:function(t){e.success(t)()},error:function(t){e.error(t)()},warning:function(t){e.createAlert({type:o.a.Warning,heading:o.c.Warning,message:t})}}}a.d(t,"a",(function(){return l}))},1141:function(e,t,a){"use strict";a.d(t,"a",(function(){return i}));var n=a(1),r=function(e,t,a){var n=t-(e=e.toString()).length;return n<=0?e:new Array(n+1).join(a)+e},i={ToDisplayDuration:function(e){if(!n.isNumber(e))return"";var t=new Date(e),a=t.getUTCHours(),i=r(t.getUTCMinutes(),2,"0"),o=r(t.getUTCSeconds(),2,"0");return a>0?"".concat(a,":").concat(i,":").concat(o):"".concat(i,":").concat(o)}}},1142:function(e,t,a){"use strict";var n;a.d(t,"a",(function(){return n})),function(e){e[e.Below=1]="Below",e[e.Overlay=2]="Overlay",e[e.Independent=3]="Independent"}(n||(n={}))},1173:function(e,t,a){"use strict";var n=a(0),r=a.n(n),i=a(266),o=a(3),c=a(9),l=a(21),s=a(18),u=a(17),m=a(1088),d=(a(51),function(e){var t;return!(1!==(null===(t=null==e?void 0:e.favouritedBy)||void 0===t?void 0:t.data.length))}),v=function(e){var t;return!(!(null==e?void 0:e.favouritedBy)||!Array.isArray(null===(t=null==e?void 0:e.favouritedBy)||void 0===t?void 0:t.data))},p=a(191),g=a(1174),f=a.n(g);function y(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var a=[],n=!0,r=!1,i=void 0;try{for(var o,c=e[Symbol.iterator]();!(n=(o=c.next()).done)&&(a.push(o.value),!t||a.length!==t);n=!0);}catch(e){r=!0,i=e}finally{try{n||null==c.return||c.return()}finally{if(r)throw i}}return a}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return b(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);"Object"===a&&e.constructor&&(a=e.constructor.name);if("Map"===a||"Set"===a)return Array.from(e);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return b(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function b(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=new Array(t);a<t;a++)n[a]=e[a];return n}var h=c.a.encloseNamespace("shared.favouriteButton");function E(e){var t=Object(m.a)(),a=v(e.video),r=d(e.video),i=y(n.useState(r),2),o=i[0],c=i[1];n.useEffect((function(){c(r)}),[r]);var g="cursor-pointer ".concat(f.a.favouriteButton," ").concat(o?f.a.favourited:"");return e.className&&(g+=" ".concat(e.className)),a&&l.a.isFunction(e.setFavourite)?n.createElement("div",{className:g,onClick:function(){var a=!o;c(a),e.setFavourite(e.video,a,null,(function(){t.error(h(p.a.isClip(e.video)?a?"favouriteClipError":"unfavouriteClipError":p.a.isInteractive(e.video)?a?"favouriteInteractiveError":"unfavouriteInteractiveError":a?"favouriteVideoError":"unfavouriteVideoError")),c(!a)}))}},n.createElement(u.a,{svgName:s.b.Heart,size:u.b.Large,className:"svg-container ".concat(f.a.heart)}),n.createElement(u.a,{svgName:s.b.HeartOutline,size:u.b.Large,className:"svg-container ".concat(f.a.heartOutline)})):n.createElement(n.Fragment,null)}var O=a(31),S=a(1029);function N(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var a=[],n=!0,r=!1,i=void 0;try{for(var o,c=e[Symbol.iterator]();!(n=(o=c.next()).done)&&(a.push(o.value),!t||a.length!==t);n=!0);}catch(e){r=!0,i=e}finally{try{n||null==c.return||c.return()}finally{if(r)throw i}}return a}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return j(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);"Object"===a&&e.constructor&&(a=e.constructor.name);if("Map"===a||"Set"===a)return Array.from(e);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return j(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function j(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=new Array(t);a<t;a++)n[a]=e[a];return n}var k=a(1175),w=a.n(k);function C(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var a=[],n=!0,r=!1,i=void 0;try{for(var o,c=e[Symbol.iterator]();!(n=(o=c.next()).done)&&(a.push(o.value),!t||a.length!==t);n=!0);}catch(e){r=!0,i=e}finally{try{n||null==c.return||c.return()}finally{if(r)throw i}}return a}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return I(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);"Object"===a&&e.constructor&&(a=e.constructor.name);if("Map"===a||"Set"===a)return Array.from(e);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return I(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function I(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=new Array(t);a<t;a++)n[a]=e[a];return n}var _=function(e,t){var a={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(a[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(n=Object.getOwnPropertySymbols(e);r<n.length;r++)t.indexOf(n[r])<0&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(a[n[r]]=e[n[r]])}return a},x=n.memo((function(e){var t=e.forceLoad,a=e.extraClasses,r=void 0===a?"":a,i=e.errorFallbackImageSrc,o=e.src,c=_(e,["forceLoad","extraClasses","errorFallbackImageSrc","src"]),l=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.prevent,a=e.rootMargin,n=e.triggerOnce,r=void 0===n||n,i=S.useInView({triggerOnce:r,rootMargin:a}),o=N(i,3),c=o[0],l=o[1],s=o[2];return!0!==t&&void 0!==window.IntersectionObserver||(l=!0,c=null),{ref:c,inView:l,initialized:!!s}}({rootMargin:"500px"}),s=l.ref,u=l.inView,m=C(n.useState(!1),2),d=m[0],v=m[1];function p(){return d&&i?i:e.src}if(n.useEffect((function(){if(t||u){var e=new Image;return e.onerror=function(){v(!0),i&&(e.src=i)},e.src=o,function(){return e.onerror=null}}}),[u]),d&&!i)return n.createElement(n.Fragment,null);if(!s)return n.createElement("img",Object.assign({className:"".concat(w.a.image," ").concat(r),alt:"",src:p()},c));var g=Object.assign(Object.assign({alt:""},c),u||t?{src:p()}:{});return t||(g.ref=s),n.createElement("img",Object.assign({className:"".concat(w.a.image," ").concat(r)},g))})),F=a(41),T=a(444),A=a(1176),B=a.n(A),P=a(55);function L(e){var t=B.a.image,a="";return e.imageType===P.b.Thumbnails&&(a="thumbnail ".concat(B.a.thumbnail)),e.imageType===P.b.TallPosters&&(a=B.a.tallPoster),e.imageType===P.b.Covers&&(a=B.a.cover),e.imageType===P.b.Banners&&(a=B.a.banner),e.imageType===P.b.Posters&&(a=B.a.poster),a&&(t+=" ".concat(a)),e.className&&(t+=" ".concat(e.className)),t}function V(e){var t=e.data,a=e.imageOptions,r=e.appLink,i=e.preload,o=e.analyticsOptions,c=e.analyticsData,l=e.imageClassName,s="";"string"==typeof t?s=t:O.a.isObject(t)&&(s=t.url);var u=s&&a?T.a.createUrl(s,a):s;return n.createElement("div",{className:L(e),style:e.imageStyle},r?n.createElement(F.a,{appLink:r,analyticsData:c,analyticsOptions:o},e.children,u&&n.createElement(x,{src:u,forceLoad:i,extraClasses:l,errorFallbackImageSrc:e.errorFallbackImageSrc})):n.createElement(n.Fragment,null,e.children,u&&n.createElement(x,{src:u,forceLoad:i,extraClasses:l,errorFallbackImageSrc:e.errorFallbackImageSrc})))}var D,U,M=a(1177),z=a.n(M);function R(e){var t,a=e.type,r=e.mediaType,i=e.extraClasses,o=function(e){return e===D.Video?z.a.videoFallback:e===D.Playlist?z.a.playlistFallback:e===D.Series||e===D.TallSubject?z.a.posterFallback:e===D.Subject?"".concat(z.a.subjectFallback," svg-container d-inline-block"):""}(a),c=function(e){return e===D.Video?s.b.Play:e===D.Playlist?s.b.Image:e===D.Series?s.b.Series:e===D.Subject||e===D.TallSubject?s.b.Subject:""}(a),l=function(e){return e===D.Subject?u.b.ExtraLarge:u.b.Standard}(a),m="".concat(function(e,t){return t===D.Subject?z.a.subjectFallbackContainer:e===U.Svg?t===D.Video?"".concat(z.a.svgFallbackContainer," rounded-lg"):z.a.svgFallbackContainer:z.a.baseFallbackContainer}(r,a));return i&&(m+=" ".concat(e.extraClasses)),n.createElement("div",{className:m},r===U.Svg?n.createElement(u.a,{svgName:c,className:"".concat(o," ").concat(null!==(t=e.svgContainerClassName)&&void 0!==t?t:""),tagName:"div",size:l}):n.createElement("div",{className:z.a.fallbackThumbnailImage,style:{backgroundImage:"url('".concat(c,"')")}}))}!function(e){e[e.Video=0]="Video",e[e.Playlist=1]="Playlist",e[e.Series=2]="Series",e[e.Subject=3]="Subject",e[e.TallSubject=4]="TallSubject"}(D||(D={})),function(e){e[e.Svg=0]="Svg",e[e.Image=1]="Image"}(U||(U={})),R.defaultProps={mediaType:U.Svg};var Y=a(179),H=function(e,t){var a=e.toString();if(a.length>=t)return a;for(t-=a.length;t>0;)a="0"+a,t--;return a},J=function(e,t,a){if(!e)return"";if(!t||!a)return e.toUpperCase();var n=H(t,2),r=H(a,2);return"".concat(e.toUpperCase()," S").concat(n," • E").concat(r)},Q=a(293),G=a(1178),K=a.n(G);function W(e){var t=e.video,a=t.season;if(!t.episodeNumber||!a)return n.createElement(n.Fragment,null);var r=H(a.number,2),i=H(t.episodeNumber,2);return n.createElement("span",{className:"d-inline-block ".concat(e.appLink?K.a.hoverUnderline:"")},e.withSeriesTitle&&n.createElement(n.Fragment,null," "),!!r&&"S".concat(r," • "),"E",i)}function q(e){var t,a=e.appLink,r=e.video,i=e.className,o=void 0===i?"":i,c=null==r?void 0:r.series;if(!c||!c.id)return n.createElement(n.Fragment,null);var l=a&&Object.assign(Object.assign({},a),{args:[c.id,Y.a.slugify(c.name)]}),s=Object.assign(Object.assign({},e.analyticsData),{id:null==c?void 0:c.id,name:null==c?void 0:c.name,videoId:null==r?void 0:r.id,videoName:null==r?void 0:r.name}),u=Object.assign(Object.assign({},e.analyticsOptions),{entity:Q.b.Series,actionType:Q.j.Click,descriptor:Q.a.Title}),m=J(c.name,null===(t=r.season)||void 0===t?void 0:t.number,r.episodeNumber);return l?n.createElement("div",null,n.createElement(F.a,{appLink:l,className:"text-uppercase d-inline-block text-truncate ".concat(K.a.appLink," ").concat("sm"===e.size?"".concat(K.a.small," font-weight-normal"):""," ").concat(o),analyticsData:s,analyticsOptions:u,title:m},c.name,n.createElement(W,Object.assign({},e,{withSeriesTitle:!0})))):n.createElement("div",{className:"text-uppercase text-truncate ".concat(K.a.appLink," ").concat("sm"===e.size?"".concat(K.a.small," font-weight-normal"):""," ").concat(o),title:m},c.name,n.createElement(W,Object.assign({},e,{withSeriesTitle:!0})))}var Z,X,$=a(1179),ee=a.n($);function te(e){var t="d-flex align-items-center badge-list ".concat(ee.a.minHeight);return e.className&&(t+=" ".concat(e.className)),n.createElement("div",{className:t},e.children)}!function(e){e.Folder="category",e.CategoryTree="category_tree",e.CustomLibrary="custom_library",e.HostedLibrary="hosted_library",e.Exchange="exchange",e.Workspace="workspace",e.Video="video",e.Clip="clip",e.Interactive="interactive"}(Z||(Z={})),function(e){e.Pdf="pdf",e.Image="image",e.PowerPoint="powerpoint",e.Document="document",e.Excel="excel",e.Zip="archive",e.File="text"}(X||(X={}));var ae,ne=function(e){if(!e)return"";return function(e){switch(!0){case e<32:return"bg-purple";case e<48:return"bg-green";case e<80:return"bg-info";case e<96:return"bg-red";case e<128:return"bg-pink";case e>=128:return"bg-yellow";default:return""}}(e)},re=a(1141),ie=a(90),oe=c.a.encloseNamespace("shared.badges");function ce(e){var t=e.type,a=e.data;if(!function(e,t){var a,n,r;return"boolean"==typeof t?!!t:e===ae.Rating?t&&!!t.value:e===ae.Resources?!!(null==t?void 0:t.length)||!!(null===(a=null==t?void 0:t.data)||void 0===a?void 0:a.length):e===ae.Interactive?!!(null==t?void 0:t.length)||!!(null===(n=null==t?void 0:t.data)||void 0===n?void 0:n.length):e===ae.Captions?!!(null==t?void 0:t.length)||!!(null===(r=null==t?void 0:t.data)||void 0===r?void 0:r.length):!!t}(t,a))return n.createElement(n.Fragment,null);var r=function(e,t){var a="";return e===ae.Duration&&(a="duration-badge"),e===ae.Interactive&&(a="interactive-badge"),e===ae.Rating&&(a="rating-badge ".concat(ne(t.value))),e===ae.ProductionYear&&(a="production-year-badge"),e===ae.Resources&&(a="resources-badge"),e===ae.Captions?"p-0":"".concat("badge"," ").concat(a)}(t,a),i=function(e,t){return e===ae.Interactive?oe("interactive"):e===ae.Duration?re.a.ToDisplayDuration(t):e===ae.Rating?t.code:e===ae.ProductionYear?t:e===ae.Resources?oe("resources"):e===ae.Captions?n.createElement(u.a,{svgName:s.b.CloseCaptionBadge}):void 0}(t,a),o=function(e,t){return e===ae.Rating?{title:t.name,placement:"top"}:null}(t,a);return o?n.createElement("span",{className:"badge-wrapper"},n.createElement(ie.a,Object.assign({},o),n.createElement("span",{className:"".concat(r," d-flex justify-content-center")},i))):n.createElement("span",{className:"".concat(r," badge-wrapper")},i)}function le(e){var t=p.a.getVideoProgress(e.video),a=t&&e.video.duration&&t/e.video.duration*1e5;return a?n.createElement("div",{className:"bg-primary h-100",style:{width:"".concat(a,"%")}}):n.createElement(n.Fragment,null)}!function(e){e.Duration="duration",e.Interactive="interactive",e.Rating="rating",e.ProductionYear="production-year",e.Resources="resources",e.Captions="captions"}(ae||(ae={}));var se=a(1180),ue=a.n(se);function me(e){var t=e.clip,a=e.size;if(!t.video)return n.createElement(n.Fragment,null);var r=t.endTime-t.startTime,i=Math.floor(t.video.duration/1e3),o=t.startTime/i*100,c=r/i*100,l="".concat(ue.a.progressBar," ").concat("lg"===a?ue.a.large:"");return n.createElement("div",{className:"position-relative h-100"},n.createElement("div",{className:l},n.createElement("div",{className:"".concat(ue.a.durationBar),style:{width:"".concat(c,"%"),left:"".concat(o,"%")}},n.createElement("div",{className:"position-relative h-100"},n.createElement("div",{className:"bg-info ".concat(ue.a.leftIndicator)}),n.createElement("div",{className:"bg-info ".concat(ue.a.rightIndicator)})))))}var de=a(1181),ve=a.n(de);function pe(e){var t=ve.a.progressBar+" ";return t+="white"===e.color?ve.a.white:ve.a.gray,"lg"===e.size&&(t+=" "+ve.a.large),n.createElement("div",{className:"position-relative h-100"},n.createElement("div",{className:t},n.createElement("div",{className:"bg-blue ".concat(ve.a.timepoint),style:{left:"10%"}}),n.createElement("div",{className:"bg-purple ".concat(ve.a.timepoint),style:{left:"20%"}}),n.createElement("div",{className:"bg-orange ".concat(ve.a.timepoint),style:{left:"25%"}}),n.createElement("div",{className:"bg-indigo ".concat(ve.a.timepoint),style:{left:"55%"}}),n.createElement("div",{className:"bg-green ".concat(ve.a.timepoint),style:{left:"70%"}})))}pe.defaultProps={color:"white"};var ge=a(1182),fe=a.n(ge);function ye(e){return"none"===e.style?r.a.createElement(r.a.Fragment,null):p.a.isVideo(e.video)?r.a.createElement("div",{className:"".concat(fe.a.bottomBar," ").concat(fe.a.videoProgress)},r.a.createElement(le,{video:e.video})):p.a.isClip(e.video)?r.a.createElement("div",{className:"".concat(fe.a.bottomBar," ").concat(fe.a.clipProgress," ").concat("lg"===e.style?fe.a.large:"")},r.a.createElement(me,{clip:e.video,size:e.style})):p.a.isInteractive(e.video)?r.a.createElement("div",{className:"".concat(fe.a.bottomBar," ").concat(fe.a.interactiveProgress," ").concat("lg"===e.style?fe.a.large:"")},r.a.createElement(pe,{size:e.style})):r.a.createElement(r.a.Fragment,null)}var be=a(1183),he=a.n(be);function Ee(e){var t=e.video,a=e.appLink,n=e.imageOptions,c=e.setFavourite,l=e.preload,m=e.hovering,v=Object.assign(Object.assign({},e.analyticsData),{id:null==t?void 0:t.id,name:null==t?void 0:t.name}),g=Object.assign(Object.assign({},e.analyticsOptions),{entity:o.EntityType.Video,actionType:o.UserAction.Click,descriptor:o.ClickDescriptor.Thumbnail});return r.a.createElement("div",{className:"position-relative rounded overflow-hidden"},!e.hideFavouriteButton&&(i.a.isTabletOrMobile()||m||d(e.video))&&r.a.createElement("div",{className:he.a.favouriteContainer},r.a.createElement(E,{setFavourite:c,video:t,className:"rounded-circle ".concat(he.a.favouriteButton)})),r.a.createElement(V,{data:p.a.getThumbnail(t),appLink:a,imageType:P.b.Thumbnails,imageOptions:n,preload:l,className:he.a.gradient,analyticsData:v,analyticsOptions:g},m&&r.a.createElement(u.a,{className:he.a.playIcon,svgName:s.b.PlayCircle}),r.a.createElement(R,{type:D.Video}),r.a.createElement("div",{className:he.a.overlayContainer},r.a.createElement("div",{className:"".concat(he.a.title," ").concat(m?he.a.downScale:"")},p.a.isVideo(t)&&p.a.hasSeries(t)&&r.a.createElement(q,{className:"text-shadow clamp-1",video:t,appLink:null,analyticsOptions:null}),r.a.createElement("span",{className:"h6 text-reset text-shadow clamp-1"},t.name),r.a.createElement(ye,{video:t,style:e.bottomBarStyle}),m&&r.a.createElement(te,{className:"align-items-center mb-n1 mt-1"},r.a.createElement(ce,{type:ae.Duration,data:p.a.isClip(t)?1e3*(t.endTime-t.startTime):t.duration}),p.a.isVideo(t)&&r.a.createElement(ce,{type:ae.Rating,data:t.rating}),p.a.isVideo(t)&&r.a.createElement(r.a.Fragment,null,t.hasSubtitle&&r.a.createElement("span",{className:"badge p-0"},r.a.createElement(u.a,{svgName:s.b.CloseCaptionBadge})),r.a.createElement(ce,{type:ae.Interactive,data:t.hasInteractives})))))))}var Oe,Se,Ne=a(1142),je=a(1184),ke=a.n(je);function we(e){var t=e.type,a=function(e){return e===Oe.Video?ke.a.video:e===Oe.Playlist?ke.a.playlist:""}(t),r=function(e){return e===Oe.Video?s.b.PlayCircle:e===Oe.Playlist?s.b.AddToPlaylists:""}(t);return n.createElement("div",{className:ke.a.maskContainer},n.createElement("div",{className:ke.a.mask}),n.createElement(u.a,{svgName:r,className:a}))}!function(e){e[e.Video=0]="Video",e[e.Playlist=1]="Playlist",e[e.Series=2]="Series"}(Oe||(Oe={})),function(e){e.None="None",e.Complete="Complete",e.Incomplete="Incomplete"}(Se||(Se={}));var Ce=a(53),Ie=a(1185),_e=a.n(Ie);function xe(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var a=[],n=!0,r=!1,i=void 0;try{for(var o,c=e[Symbol.iterator]();!(n=(o=c.next()).done)&&(a.push(o.value),!t||a.length!==t);n=!0);}catch(e){r=!0,i=e}finally{try{n||null==c.return||c.return()}finally{if(r)throw i}}return a}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Fe(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);"Object"===a&&e.constructor&&(a=e.constructor.name);if("Map"===a||"Set"===a)return Array.from(e);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return Fe(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Fe(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=new Array(t);a<t;a++)n[a]=e[a];return n}var Te=c.a.encloseNamespace("shared.toggleActivityStatusButton");function Ae(e){var t=Object(m.a)(),a=xe(n.useState(e.activityStatus===Se.Complete),2),r=a[0],i=a[1];n.useEffect((function(){i(e.activityStatus===Se.Complete)}),[e.activityStatus]);var o="cursor-pointer rounded-circle ".concat(r?_e.a.checked:_e.a.unchecked);return e.className&&(o+=" ".concat(e.className)),e.shareId&&e.activityStatus&&e.activityStatus!==Se.None&&l.a.isFunction(e.setActivityStatus)?n.createElement("div",{className:o,onClick:function(){var a=!r;i(a);var n=a?Se.Complete:Se.Incomplete;e.setActivityStatus(e.shareId,e.sharedEntity,n,null,(function(){t.error(Te(function(){switch(e.sharedEntity.typeId){case Ce.a.Video:return a?"completeVideoActivityError":"uncompleteVideoActivityError";case Ce.a.Clip:return a?"completeClipActivityError":"uncompleteClipActivityError";case Ce.a.Interactive:return a?"completeInteractiveActivityError":"uncompleteInteractiveActivityError";case Ce.a.Playlist:return a?"completePlaylistActivityError":"uncompletePlaylistActivityError";case Ce.a.Series:return a?"completeSeriesActivityError":"uncompleteSeriesActivityError"}}())),i(!a)}))}},n.createElement(u.a,{svgName:s.b.Check,size:u.b.Large,className:"svg-container ".concat(_e.a.checkMark)})):n.createElement(n.Fragment,null)}var Be=a(1186),Pe=a.n(Be);function Le(e){return l.a.isFunction(e.setFavourite)||l.a.isFunction(e.setActivityStatus)?!l.a.isFunction(e.setActivityStatus)&&e.hideFavouriteButton?r.a.createElement(r.a.Fragment,null):r.a.createElement("div",{className:"".concat(Pe.a.container," d-flex align-items-center")},r.a.createElement(Ae,{activityStatus:e.activityStatus,setActivityStatus:e.setActivityStatus,sharedEntity:e.sharedEntity,shareId:e.shareId,className:Pe.a.action}),!e.hideFavouriteButton&&r.a.createElement(E,{setFavourite:e.setFavourite,video:e.video,className:Pe.a.action})):r.a.createElement(r.a.Fragment,null)}var Ve=a(1187),De=a.n(Ve);function Ue(e,t){var a=De.a.badgeContainer;return"none"===t||("lg"===t&&(a+=" "+De.a.large),p.a.isVideo(e)?a+=" "+De.a.video:p.a.isClip(e)?a+=" "+De.a.clip:p.a.isInteractive(e)&&(a+=" "+De.a.interactive)),a}function Me(e){var t=e.video,a=e.seriesAppLink,n=e.textPosition,i=e.appLink,c=e.bottomBarStyle,l=n===Ne.a.Overlay,s="";return l?(s=De.a.titleOverlay,p.a.isClip(t)&&(s+=" "+De.a.clip),p.a.isInteractive(t)&&(s+=" "+De.a.interactive),"lg"===c&&(s+=" "+De.a.large)):s=De.a.titleBelow,r.a.createElement("div",{className:s},p.a.isVideo(t)&&p.a.hasSeries(t)&&r.a.createElement(q,{className:l?"text-shadow clamp-1":"clamp-2",video:t,appLink:l?null:a,analyticsOptions:{location:o.LocationContext.VideoThumbnail}}),l?r.a.createElement("span",{className:"h6 text-reset text-shadow clamp-1"},t.name):r.a.createElement(F.a,{className:"h6 text-reset clamp-2",appLink:i},t.name))}function ze(e){var t=e.video,a=e.appLink,n=e.textPosition,i=e.imageOptions,c=e.setFavourite,l=e.preload,s="position-relative";a&&(s+=" cursor-pointer"),e.extraClasses&&(s+=" ".concat(e.extraClasses)),n===Ne.a.Overlay&&(s+=" rounded overflow-hidden");var u,m="rounded overflow-hidden";return n===Ne.a.Overlay&&(m+=" "+De.a.gradient),r.a.createElement("div",{className:s},r.a.createElement(Le,{video:t,shareId:e.shareId,sharedEntity:e.sharedEntity,activityStatus:e.activityStatus,setActivityStatus:e.setActivityStatus,setFavourite:c,hideFavouriteButton:e.hideFavouriteButton}),r.a.createElement(V,{data:p.a.getThumbnail(t),appLink:a,imageType:P.b.Thumbnails,imageOptions:i,preload:l,className:m,analyticsData:Object.assign(Object.assign({},e.analyticsData),{id:null==t?void 0:t.id,name:null==t?void 0:t.name}),analyticsOptions:(u=o.EntityType.Video,p.a.isInteractive(t)?u=o.EntityType.Interactive:p.a.isClip(t)&&(u=o.EntityType.Clip),Object.assign(Object.assign({},e.analyticsOptions),{entity:u,actionType:o.UserAction.Click,descriptor:o.ClickDescriptor.Thumbnail}))},!!a&&!e.hideMask&&r.a.createElement(we,{type:Oe.Video}),r.a.createElement(R,{type:D.Video}),r.a.createElement("div",{className:De.a.overlayContainer},n===Ne.a.Overlay&&r.a.createElement(Me,Object.assign({},e)),"none"!==e.bottomBarStyle&&r.a.createElement(ye,{video:t,style:e.bottomBarStyle}),!e.hideDuration&&r.a.createElement(te,{className:Ue(e.video,e.bottomBarStyle)},r.a.createElement(ce,{type:ae.Duration,data:p.a.getDuration(e.video)})))),n===Ne.a.Below&&r.a.createElement(Me,Object.assign({},e)))}function Re(e){return"expandable"===e.type?n.createElement(Ee,Object.assign({},e)):n.createElement(ze,Object.assign({},e))}a.d(t,"a",(function(){return Re})),Re.defaultProps={bottomBarStyle:"sm"}},1174:function(e,t,a){e.exports={heart:"_3V89-",favouriteButton:"MxBE0",heartOutline:"_3fbac",favourited:"_37xop"}},1175:function(e,t,a){e.exports={image:"_1YW-E"}},1176:function(e,t,a){e.exports={image:"VcUxj",thumbnail:"_3pbQo",tallPoster:"_39QHb",cover:"_2wQ0p",banner:"_2Gztt",poster:"_3tEfw"}},1177:function(e,t,a){e.exports={baseFallbackContainer:"_3jl1L",svgFallbackContainer:"_2rOm2",subjectFallbackContainer:"nDJRl",videoFallback:"_2GQyA",playlistFallback:"JI1jg",posterFallback:"_1YnF6",subjectFallback:"p7JWY",fallbackThumbnailImage:"_2Av0B"}},1178:function(e,t,a){e.exports={appLink:"_1SFgo",hoverUnderline:"_2iyL0",small:"_2POOK"}},1179:function(e,t,a){e.exports={minHeight:"_2tRvp"}},1180:function(e,t,a){e.exports={baseIndicator:"_3ywpG",leftIndicator:"_2hUic",rightIndicator:"JJuoj",progressBar:"_Cfv-",large:"_3R1k4",durationBar:"_15Ohf"}},1181:function(e,t,a){e.exports={timepoint:"_3Oh2b",progressBar:"_2jpyn",white:"_2vZcf",gray:"_6Tyxi",large:"_19FGq"}},1182:function(e,t,a){e.exports={bottomBar:"_2cTUY",videoProgress:"_3BlpQ",clipProgress:"_2GT2x",large:"BDAkC",interactiveProgress:"_3KgYP"}},1183:function(e,t,a){e.exports={overlayContainer:"_1MQy4",favouriteContainer:"_2obuZ",favouriteButton:"_1UfdO",title:"Q1km-",downScale:"_2_7sb",gradient:"Of_Cn",playIcon:"B9cJG",videoProgress:"_1EuSH",badgeContainer:"_10TYY",clipProgress:"_3QyHR",interactiveProgress:"_1KUiQ"}},1184:function(e,t,a){e.exports={mask:"_3nE2p",video:"KdGwU",playlist:"_1cBmC",maskContainer:"_3si6K"}},1185:function(e,t,a){e.exports={unchecked:"_19UkS",checked:"_216nE"}},1186:function(e,t,a){e.exports={container:"lrwA1",cvIcon:"_1egZW",action:"_1XCjX"}},1187:function(e,t,a){e.exports={titleOverlay:"_1JIh4",clip:"_2tA4q",large:"_2m2MX",interactive:"_1ngGh",titleBelow:"_1OKu_",overlayContainer:"_1BBKk",badgeContainer:"_28ZUf",video:"_2hXc3",gradient:"_1o4aT"}}}]);
1
+ (window.webpackJsonp_clickview_reports=window.webpackJsonp_clickview_reports||[]).push([[6],{1031:function(e,t,a){"use strict";a.d(t,"a",(function(){return o}));var n=a(95),r=a(51),i=a(1041),o={views:function(e,t,a,r,o,c){var l="video:views";t&&(l+=":".concat(t));var s=Object.assign({objectId:t},Object(i.a)(e,!0));return a&&(s.sharerId=a),{url:n.a.urlBuilder("{gateway}/v1/analytics/views",s),key:Object(i.b)(l,e,a),normalize:!1,success:r,error:o,always:c}},individualEngagement:function(e,t,a,r,o,c){var l=Object.assign({objectId:e},Object(i.a)(t));return a&&(l.sharerId=a),{url:n.a.urlBuilder("{gateway}/v1/analytics/heat-map",l),key:Object(i.b)("engagement:".concat(e),t,a),formatData:function(e){var t;return Object.assign(Object.assign({},e),{data:null===(t=e.data)||void 0===t?void 0:t.map((function(e){var t;return Object.assign(Object.assign({},e),{heatMap:null!==(t=e.heatMap)&&void 0!==t?t:[]})}))})},normalize:!1,success:r,error:o,always:c}},aggregateEngagement:function(e,t,a,r,o,c){var l=Object.assign({objectId:e},Object(i.a)(t));return a&&(l.sharerId=a),{url:n.a.urlBuilder("{gateway}/v1/analytics/heat-map/aggregations",l),key:Object(i.b)("aggregate:engagement:".concat(e),t,a),formatData:function(e){var t;return Object.assign(Object.assign({},e),{heatMap:null!==(t=e.heatMap)&&void 0!==t?t:[]})},normalize:!1,success:r,error:o,always:c}},topVideos:function(e,t,a,o,c){return{url:n.a.urlBuilder("{gateway}/v1/analytics/top-videos",Object.assign({"query.video":"thumbnail","query.interactive":"video[thumbnail],clip[video[thumbnail]],thumbnail","query.clip":"video[thumbnail]",limit:t},Object(i.a)(e))),key:Object(i.b)("top:videos:".concat(null!=t?t:0),e),normalize:!1,formatData:function(e){var t=r.a.sortBy(e.data,"count");return t.reverse(),Object.assign(Object.assign({},e),{data:t})},success:a,error:o,always:c}}}},1039:function(e,t,a){"use strict";a.d(t,"a",(function(){return m}));var n=a(0),r=a.n(n),i=a(14),o=a(41),c=a(97),l=a(1042),s=a.n(l);function u(e){var t="nav-link p-0 mb-0 mr-4 h6 text-dark";return"".concat(t,e?" active":" font-weight-normal")}function m(e){return r.a.createElement(i.Navbar,{className:"p-0 pb-3"},r.a.createElement(i.Nav,null,e.items.map((function(e,t){var a,n,l=e.appLink.action===(null===(n=null===(a=c.a.getCurrentRoute())||void 0===a?void 0:a.appLink)||void 0===n?void 0:n.action);return r.a.createElement(i.Nav.Item,{key:t},r.a.createElement(o.a,{appLink:e.appLink,className:u(l)},e.label),l&&r.a.createElement("div",{className:"mt-1 mr-4 ".concat(s.a.underline)}))}))))}},1042:function(e,t,a){e.exports={underline:"_1eU3d"}},1088:function(e,t,a){"use strict";var n=a(0),r=a(54);function i(e){var t,a;return t=e,a=r.a.getInstance(t),n.useEffect((function(){return function(){r.a.releaseInstance(t)}})),a}var o=a(85),c=a(115);function l(){var e=i(c.a.ALERT);return{success:function(t){e.success(t)()},error:function(t){e.error(t)()},warning:function(t){e.createAlert({type:o.a.Warning,heading:o.c.Warning,message:t})}}}a.d(t,"a",(function(){return l}))},1141:function(e,t,a){"use strict";a.d(t,"a",(function(){return i}));var n=a(1),r=function(e,t,a){var n=t-(e=e.toString()).length;return n<=0?e:new Array(n+1).join(a)+e},i={ToDisplayDuration:function(e){if(!n.isNumber(e))return"";var t=new Date(e),a=t.getUTCHours(),i=r(t.getUTCMinutes(),2,"0"),o=r(t.getUTCSeconds(),2,"0");return a>0?"".concat(a,":").concat(i,":").concat(o):"".concat(i,":").concat(o)}}},1142:function(e,t,a){"use strict";var n;a.d(t,"a",(function(){return n})),function(e){e[e.Below=1]="Below",e[e.Overlay=2]="Overlay",e[e.Independent=3]="Independent"}(n||(n={}))},1173:function(e,t,a){"use strict";var n=a(0),r=a.n(n),i=a(266),o=a(3),c=a(9),l=a(21),s=a(18),u=a(17),m=a(1088),d=(a(51),function(e){var t;return!(1!==(null===(t=null==e?void 0:e.favouritedBy)||void 0===t?void 0:t.data.length))}),v=function(e){var t;return!(!(null==e?void 0:e.favouritedBy)||!Array.isArray(null===(t=null==e?void 0:e.favouritedBy)||void 0===t?void 0:t.data))},p=a(190),g=a(1174),f=a.n(g);function y(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var a=[],n=!0,r=!1,i=void 0;try{for(var o,c=e[Symbol.iterator]();!(n=(o=c.next()).done)&&(a.push(o.value),!t||a.length!==t);n=!0);}catch(e){r=!0,i=e}finally{try{n||null==c.return||c.return()}finally{if(r)throw i}}return a}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return b(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);"Object"===a&&e.constructor&&(a=e.constructor.name);if("Map"===a||"Set"===a)return Array.from(e);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return b(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function b(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=new Array(t);a<t;a++)n[a]=e[a];return n}var h=c.a.encloseNamespace("shared.favouriteButton");function E(e){var t=Object(m.a)(),a=v(e.video),r=d(e.video),i=y(n.useState(r),2),o=i[0],c=i[1];n.useEffect((function(){c(r)}),[r]);var g="cursor-pointer ".concat(f.a.favouriteButton," ").concat(o?f.a.favourited:"");return e.className&&(g+=" ".concat(e.className)),a&&l.a.isFunction(e.setFavourite)?n.createElement("div",{className:g,onClick:function(){var a=!o;c(a),e.setFavourite(e.video,a,null,(function(){t.error(h(p.a.isClip(e.video)?a?"favouriteClipError":"unfavouriteClipError":p.a.isInteractive(e.video)?a?"favouriteInteractiveError":"unfavouriteInteractiveError":a?"favouriteVideoError":"unfavouriteVideoError")),c(!a)}))}},n.createElement(u.a,{svgName:s.b.Heart,size:u.b.Large,className:"svg-container ".concat(f.a.heart)}),n.createElement(u.a,{svgName:s.b.HeartOutline,size:u.b.Large,className:"svg-container ".concat(f.a.heartOutline)})):n.createElement(n.Fragment,null)}var O=a(31),S=a(1029);function N(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var a=[],n=!0,r=!1,i=void 0;try{for(var o,c=e[Symbol.iterator]();!(n=(o=c.next()).done)&&(a.push(o.value),!t||a.length!==t);n=!0);}catch(e){r=!0,i=e}finally{try{n||null==c.return||c.return()}finally{if(r)throw i}}return a}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return j(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);"Object"===a&&e.constructor&&(a=e.constructor.name);if("Map"===a||"Set"===a)return Array.from(e);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return j(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function j(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=new Array(t);a<t;a++)n[a]=e[a];return n}var k=a(1175),w=a.n(k);function C(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var a=[],n=!0,r=!1,i=void 0;try{for(var o,c=e[Symbol.iterator]();!(n=(o=c.next()).done)&&(a.push(o.value),!t||a.length!==t);n=!0);}catch(e){r=!0,i=e}finally{try{n||null==c.return||c.return()}finally{if(r)throw i}}return a}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return I(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);"Object"===a&&e.constructor&&(a=e.constructor.name);if("Map"===a||"Set"===a)return Array.from(e);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return I(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function I(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=new Array(t);a<t;a++)n[a]=e[a];return n}var _=function(e,t){var a={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(a[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(n=Object.getOwnPropertySymbols(e);r<n.length;r++)t.indexOf(n[r])<0&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(a[n[r]]=e[n[r]])}return a},x=n.memo((function(e){var t=e.forceLoad,a=e.extraClasses,r=void 0===a?"":a,i=e.errorFallbackImageSrc,o=e.src,c=_(e,["forceLoad","extraClasses","errorFallbackImageSrc","src"]),l=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.prevent,a=e.rootMargin,n=e.triggerOnce,r=void 0===n||n,i=S.useInView({triggerOnce:r,rootMargin:a}),o=N(i,3),c=o[0],l=o[1],s=o[2];return!0!==t&&void 0!==window.IntersectionObserver||(l=!0,c=null),{ref:c,inView:l,initialized:!!s}}({rootMargin:"500px"}),s=l.ref,u=l.inView,m=C(n.useState(!1),2),d=m[0],v=m[1];function p(){return d&&i?i:e.src}if(n.useEffect((function(){if(t||u){var e=new Image;return e.onerror=function(){v(!0),i&&(e.src=i)},e.src=o,function(){return e.onerror=null}}}),[u]),d&&!i)return n.createElement(n.Fragment,null);if(!s)return n.createElement("img",Object.assign({className:"".concat(w.a.image," ").concat(r),alt:"",src:p()},c));var g=Object.assign(Object.assign({alt:""},c),u||t?{src:p()}:{});return t||(g.ref=s),n.createElement("img",Object.assign({className:"".concat(w.a.image," ").concat(r)},g))})),F=a(41),T=a(444),A=a(1176),B=a.n(A),P=a(55);function L(e){var t=B.a.image,a="";return e.imageType===P.b.Thumbnails&&(a="thumbnail ".concat(B.a.thumbnail)),e.imageType===P.b.TallPosters&&(a=B.a.tallPoster),e.imageType===P.b.Covers&&(a=B.a.cover),e.imageType===P.b.Banners&&(a=B.a.banner),e.imageType===P.b.Posters&&(a=B.a.poster),a&&(t+=" ".concat(a)),e.className&&(t+=" ".concat(e.className)),t}function V(e){var t=e.data,a=e.imageOptions,r=e.appLink,i=e.preload,o=e.analyticsOptions,c=e.analyticsData,l=e.imageClassName,s="";"string"==typeof t?s=t:O.a.isObject(t)&&(s=t.url);var u=s&&a?T.a.createUrl(s,a):s;return n.createElement("div",{className:L(e),style:e.imageStyle},r?n.createElement(F.a,{appLink:r,analyticsData:c,analyticsOptions:o},e.children,u&&n.createElement(x,{src:u,forceLoad:i,extraClasses:l,errorFallbackImageSrc:e.errorFallbackImageSrc})):n.createElement(n.Fragment,null,e.children,u&&n.createElement(x,{src:u,forceLoad:i,extraClasses:l,errorFallbackImageSrc:e.errorFallbackImageSrc})))}var D,U,M=a(1177),z=a.n(M);function R(e){var t,a=e.type,r=e.mediaType,i=e.extraClasses,o=function(e){return e===D.Video?z.a.videoFallback:e===D.Playlist?z.a.playlistFallback:e===D.Series||e===D.TallSubject?z.a.posterFallback:e===D.Subject?"".concat(z.a.subjectFallback," svg-container d-inline-block"):""}(a),c=function(e){return e===D.Video?s.b.Play:e===D.Playlist?s.b.Image:e===D.Series?s.b.Series:e===D.Subject||e===D.TallSubject?s.b.Subject:""}(a),l=function(e){return e===D.Subject?u.b.ExtraLarge:u.b.Standard}(a),m="".concat(function(e,t){return t===D.Subject?z.a.subjectFallbackContainer:e===U.Svg?t===D.Video?"".concat(z.a.svgFallbackContainer," rounded-lg"):z.a.svgFallbackContainer:z.a.baseFallbackContainer}(r,a));return i&&(m+=" ".concat(e.extraClasses)),n.createElement("div",{className:m},r===U.Svg?n.createElement(u.a,{svgName:c,className:"".concat(o," ").concat(null!==(t=e.svgContainerClassName)&&void 0!==t?t:""),tagName:"div",size:l}):n.createElement("div",{className:z.a.fallbackThumbnailImage,style:{backgroundImage:"url('".concat(c,"')")}}))}!function(e){e[e.Video=0]="Video",e[e.Playlist=1]="Playlist",e[e.Series=2]="Series",e[e.Subject=3]="Subject",e[e.TallSubject=4]="TallSubject"}(D||(D={})),function(e){e[e.Svg=0]="Svg",e[e.Image=1]="Image"}(U||(U={})),R.defaultProps={mediaType:U.Svg};var Y=a(226),H=function(e,t){var a=e.toString();if(a.length>=t)return a;for(t-=a.length;t>0;)a="0"+a,t--;return a},J=function(e,t,a){if(!e)return"";if(!t||!a)return e.toUpperCase();var n=H(t,2),r=H(a,2);return"".concat(e.toUpperCase()," S").concat(n," • E").concat(r)},Q=a(293),G=a(1178),K=a.n(G);function W(e){var t=e.video,a=t.season;if(!t.episodeNumber||!a)return n.createElement(n.Fragment,null);var r=H(a.number,2),i=H(t.episodeNumber,2);return n.createElement("span",{className:"d-inline-block ".concat(e.appLink?K.a.hoverUnderline:"")},e.withSeriesTitle&&n.createElement(n.Fragment,null," "),!!r&&"S".concat(r," • "),"E",i)}function q(e){var t,a=e.appLink,r=e.video,i=e.className,o=void 0===i?"":i,c=null==r?void 0:r.series;if(!c||!c.id)return n.createElement(n.Fragment,null);var l=a&&Object.assign(Object.assign({},a),{args:[c.id,Y.a.slugify(c.name)]}),s=Object.assign(Object.assign({},e.analyticsData),{id:null==c?void 0:c.id,name:null==c?void 0:c.name,videoId:null==r?void 0:r.id,videoName:null==r?void 0:r.name}),u=Object.assign(Object.assign({},e.analyticsOptions),{entity:Q.b.Series,actionType:Q.j.Click,descriptor:Q.a.Title}),m=J(c.name,null===(t=r.season)||void 0===t?void 0:t.number,r.episodeNumber);return l?n.createElement("div",null,n.createElement(F.a,{appLink:l,className:"text-uppercase d-inline-block text-truncate ".concat(K.a.appLink," ").concat("sm"===e.size?"".concat(K.a.small," font-weight-normal"):""," ").concat(o),analyticsData:s,analyticsOptions:u,title:m},c.name,n.createElement(W,Object.assign({},e,{withSeriesTitle:!0})))):n.createElement("div",{className:"text-uppercase text-truncate ".concat(K.a.appLink," ").concat("sm"===e.size?"".concat(K.a.small," font-weight-normal"):""," ").concat(o),title:m},c.name,n.createElement(W,Object.assign({},e,{withSeriesTitle:!0})))}var Z,X,$=a(1179),ee=a.n($);function te(e){var t="d-flex align-items-center badge-list ".concat(ee.a.minHeight);return e.className&&(t+=" ".concat(e.className)),n.createElement("div",{className:t},e.children)}!function(e){e.Folder="category",e.CategoryTree="category_tree",e.CustomLibrary="custom_library",e.HostedLibrary="hosted_library",e.Exchange="exchange",e.Workspace="workspace",e.Video="video",e.Clip="clip",e.Interactive="interactive"}(Z||(Z={})),function(e){e.Pdf="pdf",e.Image="image",e.PowerPoint="powerpoint",e.Document="document",e.Excel="excel",e.Zip="archive",e.File="text"}(X||(X={}));var ae,ne=function(e){if(!e)return"";return function(e){switch(!0){case e<32:return"bg-purple";case e<48:return"bg-green";case e<80:return"bg-info";case e<96:return"bg-red";case e<128:return"bg-pink";case e>=128:return"bg-yellow";default:return""}}(e)},re=a(1141),ie=a(90),oe=c.a.encloseNamespace("shared.badges");function ce(e){var t=e.type,a=e.data;if(!function(e,t){var a,n,r;return"boolean"==typeof t?!!t:e===ae.Rating?t&&!!t.value:e===ae.Resources?!!(null==t?void 0:t.length)||!!(null===(a=null==t?void 0:t.data)||void 0===a?void 0:a.length):e===ae.Interactive?!!(null==t?void 0:t.length)||!!(null===(n=null==t?void 0:t.data)||void 0===n?void 0:n.length):e===ae.Captions?!!(null==t?void 0:t.length)||!!(null===(r=null==t?void 0:t.data)||void 0===r?void 0:r.length):!!t}(t,a))return n.createElement(n.Fragment,null);var r=function(e,t){var a="";return e===ae.Duration&&(a="duration-badge"),e===ae.Interactive&&(a="interactive-badge"),e===ae.Rating&&(a="rating-badge ".concat(ne(t.value))),e===ae.ProductionYear&&(a="production-year-badge"),e===ae.Resources&&(a="resources-badge"),e===ae.Captions?"p-0":"".concat("badge"," ").concat(a)}(t,a),i=function(e,t){return e===ae.Interactive?oe("interactive"):e===ae.Duration?re.a.ToDisplayDuration(t):e===ae.Rating?t.code:e===ae.ProductionYear?t:e===ae.Resources?oe("resources"):e===ae.Captions?n.createElement(u.a,{svgName:s.b.CloseCaptionBadge}):void 0}(t,a),o=function(e,t){return e===ae.Rating?{title:t.name,placement:"top"}:null}(t,a);return o?n.createElement("span",{className:"badge-wrapper"},n.createElement(ie.a,Object.assign({},o),n.createElement("span",{className:"".concat(r," d-flex justify-content-center")},i))):n.createElement("span",{className:"".concat(r," badge-wrapper")},i)}function le(e){var t=p.a.getVideoProgress(e.video),a=t&&e.video.duration&&t/e.video.duration*1e5;return a?n.createElement("div",{className:"bg-primary h-100",style:{width:"".concat(a,"%")}}):n.createElement(n.Fragment,null)}!function(e){e.Duration="duration",e.Interactive="interactive",e.Rating="rating",e.ProductionYear="production-year",e.Resources="resources",e.Captions="captions"}(ae||(ae={}));var se=a(1180),ue=a.n(se);function me(e){var t=e.clip,a=e.size;if(!t.video)return n.createElement(n.Fragment,null);var r=t.endTime-t.startTime,i=Math.floor(t.video.duration/1e3),o=t.startTime/i*100,c=r/i*100,l="".concat(ue.a.progressBar," ").concat("lg"===a?ue.a.large:"");return n.createElement("div",{className:"position-relative h-100"},n.createElement("div",{className:l},n.createElement("div",{className:"".concat(ue.a.durationBar),style:{width:"".concat(c,"%"),left:"".concat(o,"%")}},n.createElement("div",{className:"position-relative h-100"},n.createElement("div",{className:"bg-info ".concat(ue.a.leftIndicator)}),n.createElement("div",{className:"bg-info ".concat(ue.a.rightIndicator)})))))}var de=a(1181),ve=a.n(de);function pe(e){var t=ve.a.progressBar+" ";return t+="white"===e.color?ve.a.white:ve.a.gray,"lg"===e.size&&(t+=" "+ve.a.large),n.createElement("div",{className:"position-relative h-100"},n.createElement("div",{className:t},n.createElement("div",{className:"bg-blue ".concat(ve.a.timepoint),style:{left:"10%"}}),n.createElement("div",{className:"bg-purple ".concat(ve.a.timepoint),style:{left:"20%"}}),n.createElement("div",{className:"bg-orange ".concat(ve.a.timepoint),style:{left:"25%"}}),n.createElement("div",{className:"bg-indigo ".concat(ve.a.timepoint),style:{left:"55%"}}),n.createElement("div",{className:"bg-green ".concat(ve.a.timepoint),style:{left:"70%"}})))}pe.defaultProps={color:"white"};var ge=a(1182),fe=a.n(ge);function ye(e){return"none"===e.style?r.a.createElement(r.a.Fragment,null):p.a.isVideo(e.video)?r.a.createElement("div",{className:"".concat(fe.a.bottomBar," ").concat(fe.a.videoProgress)},r.a.createElement(le,{video:e.video})):p.a.isClip(e.video)?r.a.createElement("div",{className:"".concat(fe.a.bottomBar," ").concat(fe.a.clipProgress," ").concat("lg"===e.style?fe.a.large:"")},r.a.createElement(me,{clip:e.video,size:e.style})):p.a.isInteractive(e.video)?r.a.createElement("div",{className:"".concat(fe.a.bottomBar," ").concat(fe.a.interactiveProgress," ").concat("lg"===e.style?fe.a.large:"")},r.a.createElement(pe,{size:e.style})):r.a.createElement(r.a.Fragment,null)}var be=a(1183),he=a.n(be);function Ee(e){var t=e.video,a=e.appLink,n=e.imageOptions,c=e.setFavourite,l=e.preload,m=e.hovering,v=Object.assign(Object.assign({},e.analyticsData),{id:null==t?void 0:t.id,name:null==t?void 0:t.name}),g=Object.assign(Object.assign({},e.analyticsOptions),{entity:o.EntityType.Video,actionType:o.UserAction.Click,descriptor:o.ClickDescriptor.Thumbnail});return r.a.createElement("div",{className:"position-relative rounded overflow-hidden"},!e.hideFavouriteButton&&(i.a.isTabletOrMobile()||m||d(e.video))&&r.a.createElement("div",{className:he.a.favouriteContainer},r.a.createElement(E,{setFavourite:c,video:t,className:"rounded-circle ".concat(he.a.favouriteButton)})),r.a.createElement(V,{data:p.a.getThumbnail(t),appLink:a,imageType:P.b.Thumbnails,imageOptions:n,preload:l,className:he.a.gradient,analyticsData:v,analyticsOptions:g},m&&r.a.createElement(u.a,{className:he.a.playIcon,svgName:s.b.PlayCircle}),r.a.createElement(R,{type:D.Video}),r.a.createElement("div",{className:he.a.overlayContainer},r.a.createElement("div",{className:"".concat(he.a.title," ").concat(m?he.a.downScale:"")},p.a.isVideo(t)&&p.a.hasSeries(t)&&r.a.createElement(q,{className:"text-shadow clamp-1",video:t,appLink:null,analyticsOptions:null}),r.a.createElement("span",{className:"h6 text-reset text-shadow clamp-1"},t.name),r.a.createElement(ye,{video:t,style:e.bottomBarStyle}),m&&r.a.createElement(te,{className:"align-items-center mb-n1 mt-1"},r.a.createElement(ce,{type:ae.Duration,data:p.a.isClip(t)?1e3*(t.endTime-t.startTime):t.duration}),p.a.isVideo(t)&&r.a.createElement(ce,{type:ae.Rating,data:t.rating}),p.a.isVideo(t)&&r.a.createElement(r.a.Fragment,null,t.hasSubtitle&&r.a.createElement("span",{className:"badge p-0"},r.a.createElement(u.a,{svgName:s.b.CloseCaptionBadge})),r.a.createElement(ce,{type:ae.Interactive,data:t.hasInteractives})))))))}var Oe,Se,Ne=a(1142),je=a(1184),ke=a.n(je);function we(e){var t=e.type,a=function(e){return e===Oe.Video?ke.a.video:e===Oe.Playlist?ke.a.playlist:""}(t),r=function(e){return e===Oe.Video?s.b.PlayCircle:e===Oe.Playlist?s.b.AddToPlaylists:""}(t);return n.createElement("div",{className:ke.a.maskContainer},n.createElement("div",{className:ke.a.mask}),n.createElement(u.a,{svgName:r,className:a}))}!function(e){e[e.Video=0]="Video",e[e.Playlist=1]="Playlist",e[e.Series=2]="Series"}(Oe||(Oe={})),function(e){e.None="None",e.Complete="Complete",e.Incomplete="Incomplete"}(Se||(Se={}));var Ce=a(53),Ie=a(1185),_e=a.n(Ie);function xe(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var a=[],n=!0,r=!1,i=void 0;try{for(var o,c=e[Symbol.iterator]();!(n=(o=c.next()).done)&&(a.push(o.value),!t||a.length!==t);n=!0);}catch(e){r=!0,i=e}finally{try{n||null==c.return||c.return()}finally{if(r)throw i}}return a}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Fe(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);"Object"===a&&e.constructor&&(a=e.constructor.name);if("Map"===a||"Set"===a)return Array.from(e);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return Fe(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Fe(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=new Array(t);a<t;a++)n[a]=e[a];return n}var Te=c.a.encloseNamespace("shared.toggleActivityStatusButton");function Ae(e){var t=Object(m.a)(),a=xe(n.useState(e.activityStatus===Se.Complete),2),r=a[0],i=a[1];n.useEffect((function(){i(e.activityStatus===Se.Complete)}),[e.activityStatus]);var o="cursor-pointer rounded-circle ".concat(r?_e.a.checked:_e.a.unchecked);return e.className&&(o+=" ".concat(e.className)),e.shareId&&e.activityStatus&&e.activityStatus!==Se.None&&l.a.isFunction(e.setActivityStatus)?n.createElement("div",{className:o,onClick:function(){var a=!r;i(a);var n=a?Se.Complete:Se.Incomplete;e.setActivityStatus(e.shareId,e.sharedEntity,n,null,(function(){t.error(Te(function(){switch(e.sharedEntity.typeId){case Ce.a.Video:return a?"completeVideoActivityError":"uncompleteVideoActivityError";case Ce.a.Clip:return a?"completeClipActivityError":"uncompleteClipActivityError";case Ce.a.Interactive:return a?"completeInteractiveActivityError":"uncompleteInteractiveActivityError";case Ce.a.Playlist:return a?"completePlaylistActivityError":"uncompletePlaylistActivityError";case Ce.a.Series:return a?"completeSeriesActivityError":"uncompleteSeriesActivityError"}}())),i(!a)}))}},n.createElement(u.a,{svgName:s.b.Check,size:u.b.Large,className:"svg-container ".concat(_e.a.checkMark)})):n.createElement(n.Fragment,null)}var Be=a(1186),Pe=a.n(Be);function Le(e){return l.a.isFunction(e.setFavourite)||l.a.isFunction(e.setActivityStatus)?!l.a.isFunction(e.setActivityStatus)&&e.hideFavouriteButton?r.a.createElement(r.a.Fragment,null):r.a.createElement("div",{className:"".concat(Pe.a.container," d-flex align-items-center")},r.a.createElement(Ae,{activityStatus:e.activityStatus,setActivityStatus:e.setActivityStatus,sharedEntity:e.sharedEntity,shareId:e.shareId,className:Pe.a.action}),!e.hideFavouriteButton&&r.a.createElement(E,{setFavourite:e.setFavourite,video:e.video,className:Pe.a.action})):r.a.createElement(r.a.Fragment,null)}var Ve=a(1187),De=a.n(Ve);function Ue(e,t){var a=De.a.badgeContainer;return"none"===t||("lg"===t&&(a+=" "+De.a.large),p.a.isVideo(e)?a+=" "+De.a.video:p.a.isClip(e)?a+=" "+De.a.clip:p.a.isInteractive(e)&&(a+=" "+De.a.interactive)),a}function Me(e){var t=e.video,a=e.seriesAppLink,n=e.textPosition,i=e.appLink,c=e.bottomBarStyle,l=n===Ne.a.Overlay,s="";return l?(s=De.a.titleOverlay,p.a.isClip(t)&&(s+=" "+De.a.clip),p.a.isInteractive(t)&&(s+=" "+De.a.interactive),"lg"===c&&(s+=" "+De.a.large)):s=De.a.titleBelow,r.a.createElement("div",{className:s},p.a.isVideo(t)&&p.a.hasSeries(t)&&r.a.createElement(q,{className:l?"text-shadow clamp-1":"clamp-2",video:t,appLink:l?null:a,analyticsOptions:{location:o.LocationContext.VideoThumbnail}}),l?r.a.createElement("span",{className:"h6 text-reset text-shadow clamp-1"},t.name):r.a.createElement(F.a,{className:"h6 text-reset clamp-2",appLink:i},t.name))}function ze(e){var t=e.video,a=e.appLink,n=e.textPosition,i=e.imageOptions,c=e.setFavourite,l=e.preload,s="position-relative";a&&(s+=" cursor-pointer"),e.extraClasses&&(s+=" ".concat(e.extraClasses)),n===Ne.a.Overlay&&(s+=" rounded overflow-hidden");var u,m="rounded overflow-hidden";return n===Ne.a.Overlay&&(m+=" "+De.a.gradient),r.a.createElement("div",{className:s},r.a.createElement(Le,{video:t,shareId:e.shareId,sharedEntity:e.sharedEntity,activityStatus:e.activityStatus,setActivityStatus:e.setActivityStatus,setFavourite:c,hideFavouriteButton:e.hideFavouriteButton}),r.a.createElement(V,{data:p.a.getThumbnail(t),appLink:a,imageType:P.b.Thumbnails,imageOptions:i,preload:l,className:m,analyticsData:Object.assign(Object.assign({},e.analyticsData),{id:null==t?void 0:t.id,name:null==t?void 0:t.name}),analyticsOptions:(u=o.EntityType.Video,p.a.isInteractive(t)?u=o.EntityType.Interactive:p.a.isClip(t)&&(u=o.EntityType.Clip),Object.assign(Object.assign({},e.analyticsOptions),{entity:u,actionType:o.UserAction.Click,descriptor:o.ClickDescriptor.Thumbnail}))},!!a&&!e.hideMask&&r.a.createElement(we,{type:Oe.Video}),r.a.createElement(R,{type:D.Video}),r.a.createElement("div",{className:De.a.overlayContainer},n===Ne.a.Overlay&&r.a.createElement(Me,Object.assign({},e)),"none"!==e.bottomBarStyle&&r.a.createElement(ye,{video:t,style:e.bottomBarStyle}),!e.hideDuration&&r.a.createElement(te,{className:Ue(e.video,e.bottomBarStyle)},r.a.createElement(ce,{type:ae.Duration,data:p.a.getDuration(e.video)})))),n===Ne.a.Below&&r.a.createElement(Me,Object.assign({},e)))}function Re(e){return"expandable"===e.type?n.createElement(Ee,Object.assign({},e)):n.createElement(ze,Object.assign({},e))}a.d(t,"a",(function(){return Re})),Re.defaultProps={bottomBarStyle:"sm"}},1174:function(e,t,a){e.exports={heart:"_3V89-",favouriteButton:"MxBE0",heartOutline:"_3fbac",favourited:"_37xop"}},1175:function(e,t,a){e.exports={image:"_1YW-E"}},1176:function(e,t,a){e.exports={image:"VcUxj",thumbnail:"_3pbQo",tallPoster:"_39QHb",cover:"_2wQ0p",banner:"_2Gztt",poster:"_3tEfw"}},1177:function(e,t,a){e.exports={baseFallbackContainer:"_3jl1L",svgFallbackContainer:"_2rOm2",subjectFallbackContainer:"nDJRl",videoFallback:"_2GQyA",playlistFallback:"JI1jg",posterFallback:"_1YnF6",subjectFallback:"p7JWY",fallbackThumbnailImage:"_2Av0B"}},1178:function(e,t,a){e.exports={appLink:"_1SFgo",hoverUnderline:"_2iyL0",small:"_2POOK"}},1179:function(e,t,a){e.exports={minHeight:"_2tRvp"}},1180:function(e,t,a){e.exports={baseIndicator:"_3ywpG",leftIndicator:"_2hUic",rightIndicator:"JJuoj",progressBar:"_Cfv-",large:"_3R1k4",durationBar:"_15Ohf"}},1181:function(e,t,a){e.exports={timepoint:"_3Oh2b",progressBar:"_2jpyn",white:"_2vZcf",gray:"_6Tyxi",large:"_19FGq"}},1182:function(e,t,a){e.exports={bottomBar:"_2cTUY",videoProgress:"_3BlpQ",clipProgress:"_2GT2x",large:"BDAkC",interactiveProgress:"_3KgYP"}},1183:function(e,t,a){e.exports={overlayContainer:"_1MQy4",favouriteContainer:"_2obuZ",favouriteButton:"_1UfdO",title:"Q1km-",downScale:"_2_7sb",gradient:"Of_Cn",playIcon:"B9cJG",videoProgress:"_1EuSH",badgeContainer:"_10TYY",clipProgress:"_3QyHR",interactiveProgress:"_1KUiQ"}},1184:function(e,t,a){e.exports={mask:"_3nE2p",video:"KdGwU",playlist:"_1cBmC",maskContainer:"_3si6K"}},1185:function(e,t,a){e.exports={unchecked:"_19UkS",checked:"_216nE"}},1186:function(e,t,a){e.exports={container:"lrwA1",cvIcon:"_1egZW",action:"_1XCjX"}},1187:function(e,t,a){e.exports={titleOverlay:"_1JIh4",clip:"_2tA4q",large:"_2m2MX",interactive:"_1ngGh",titleBelow:"_1OKu_",overlayContainer:"_1BBKk",badgeContainer:"_28ZUf",video:"_2hXc3",gradient:"_1o4aT"}}}]);