@clickview/reports 0.50.0 → 0.51.0-rc.1
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.
- package/dist/bundles.json +3 -3
- package/dist/css/{913-reports-642b9858d3.chunk.css → 119-reports-50fea75c71.chunk.css} +6 -6
- package/dist/css/2-reports-5e3f2d4002.chunk.css +12 -0
- package/dist/css/{984-reports-7230736c74.chunk.css → 204-reports-e7edec341a.chunk.css} +10 -10
- package/dist/css/{72-reports-099f60ce57.chunk.css → 233-reports-3e8cbb5f29.chunk.css} +2 -2
- package/dist/css/{25-reports-0ddf55603d.chunk.css → 25-reports-d259a7f209.chunk.css} +11 -11
- package/dist/css/{337-reports-3b7d356731.chunk.css → 337-reports-3a54c20a02.chunk.css} +3 -3
- package/dist/css/{354-reports-f1a01bfc0d.chunk.css → 354-reports-6e12f7f21e.chunk.css} +11 -11
- package/dist/css/{806-reports-6a108f9859.chunk.css → 356-reports-3fca8b3bbd.chunk.css} +2 -2
- package/dist/css/403-reports-2d9e191b5a.chunk.css +12 -0
- package/dist/css/{568-reports-5b80d4d4d0.chunk.css → 568-reports-698ac6dc6a.chunk.css} +12 -12
- package/dist/css/{675-reports-253ccbf7ae.chunk.css → 675-reports-c8cf151362.chunk.css} +3 -3
- package/dist/css/726-reports-d558076846.chunk.css +6 -0
- package/dist/css/{731-reports-ca00519907.chunk.css → 855-reports-de0dbff265.chunk.css} +2 -2
- package/dist/css/{726-reports-30017b2ec8.chunk.css → 880-reports-6a323aae19.chunk.css} +2 -2
- package/dist/css/{895-reports-d167099cee.chunk.css → 895-reports-3463a60698.chunk.css} +10 -10
- package/dist/css/{356-reports-bd66acc681.chunk.css → 940-reports-ee7163e268.chunk.css} +2 -2
- package/dist/css/reports-app-7d1b325035.css +30 -0
- package/dist/languages/en.json +1 -1
- package/dist/scripts/119-3d82274cc6-reports.chunk.js +1 -0
- package/dist/scripts/132-5de071fbc7-reports.chunk.js +1 -0
- package/dist/scripts/137-fa49dc200f-reports.chunk.js +1 -0
- package/dist/scripts/{173-b8a93fd392-reports.chunk.js → 173-ba3785f7b1-reports.chunk.js} +1 -1
- package/dist/scripts/184-190c7a0cf1-reports.chunk.js +1 -0
- package/dist/scripts/187-d9ec145ac4-reports.chunk.js +1 -0
- package/dist/scripts/198-0fcbbfbefc-reports.chunk.js +1 -0
- package/dist/scripts/199-9773fe024a-reports.chunk.js +1 -0
- package/dist/scripts/2-d4e753c529-reports.chunk.js +1 -0
- package/dist/scripts/204-1c3e1d326b-reports.chunk.js +2 -0
- package/dist/scripts/206-adc3bca510-reports.chunk.js +1 -0
- package/dist/scripts/233-362bbc616c-reports.chunk.js +1 -0
- package/dist/scripts/{246-c123a53cb3-reports.chunk.js → 246-69a8eab69f-reports.chunk.js} +1 -1
- package/dist/scripts/{25-ba62f9e1e1-reports.chunk.js → 25-75c1a91028-reports.chunk.js} +1 -1
- package/dist/scripts/273-83daa1f8be-reports.chunk.js +1 -0
- package/dist/scripts/285-f3b3b96943-reports.chunk.js +1 -0
- package/dist/scripts/312-2de2b45cc3-reports.chunk.js +1 -0
- package/dist/scripts/{333-2ad443e63a-reports.chunk.js → 333-ab3aeaeb21-reports.chunk.js} +1 -1
- package/dist/scripts/337-78f1b49476-reports.chunk.js +1 -0
- package/dist/scripts/338-88e594aedf-reports.chunk.js +1 -0
- package/dist/scripts/{354-9775f968ca-reports.chunk.js → 354-3a1e74ae5c-reports.chunk.js} +1 -1
- package/dist/scripts/356-644788e90c-reports.chunk.js +1 -0
- package/dist/scripts/378-8a2b6e639b-reports.chunk.js +1 -0
- package/dist/scripts/403-e415a001a1-reports.chunk.js +2 -0
- package/dist/scripts/430-ea49b085ee-reports.chunk.js +1 -0
- package/dist/scripts/438-8a06f3a18b-reports.chunk.js +1 -0
- package/dist/scripts/50-dd0d137dde-reports.chunk.js +2 -0
- package/dist/scripts/{568-1edbcc2aa1-reports.chunk.js → 568-405ec067d9-reports.chunk.js} +1 -1
- package/dist/scripts/{577-14a66f8f5d-reports.chunk.js → 577-7361a75acf-reports.chunk.js} +1 -1
- package/dist/scripts/591-c789b40728-reports.chunk.js +1 -0
- package/dist/scripts/662-6110e8d166-reports.chunk.js +1 -0
- package/dist/scripts/670-8c4a3f07d5-reports.chunk.js +1 -0
- package/dist/scripts/675-b61e986d73-reports.chunk.js +1 -0
- package/dist/scripts/71-921ff2f2d1-reports.chunk.js +1 -0
- package/dist/scripts/726-e3fd72f657-reports.chunk.js +1 -0
- package/dist/scripts/782-21276fbb8d-reports.chunk.js +1 -0
- package/dist/scripts/785-eec61f8257-reports.chunk.js +1 -0
- package/dist/scripts/855-7a733494eb-reports.chunk.js +1 -0
- package/dist/scripts/{87-f888b6755d-reports.chunk.js → 87-df67635f23-reports.chunk.js} +1 -1
- package/dist/scripts/880-1389ff9089-reports.chunk.js +1 -0
- package/dist/scripts/895-e652ac4a9f-reports.chunk.js +1 -0
- package/dist/scripts/940-ec53947e5c-reports.chunk.js +1 -0
- package/dist/scripts/970-9fcba79254-reports.chunk.js +1 -0
- package/dist/scripts/bundle-36cb13efa9.min.js +2 -0
- package/dist/scripts/{polyfills-26a87754bd.min.js → polyfills-cacde7b4e1.min.js} +1 -1
- package/package.json +2 -4
- package/dist/css/403-reports-1c34faabd1.chunk.css +0 -12
- package/dist/css/71-reports-65363325b5.chunk.css +0 -12
- package/dist/css/987-reports-c27093c1da.chunk.css +0 -6
- package/dist/css/reports-app-a6cc79ff79.css +0 -30
- package/dist/scripts/132-cce67899dc-reports.chunk.js +0 -1
- package/dist/scripts/156-26df52a521-reports.chunk.js +0 -1
- package/dist/scripts/184-c5f87cc46c-reports.chunk.js +0 -1
- package/dist/scripts/198-a2f88ce0c9-reports.chunk.js +0 -1
- package/dist/scripts/199-450290e65f-reports.chunk.js +0 -1
- package/dist/scripts/217-611c24422f-reports.chunk.js +0 -1
- package/dist/scripts/240-77c694d1dc-reports.chunk.js +0 -1
- package/dist/scripts/285-9cb7e5a485-reports.chunk.js +0 -1
- package/dist/scripts/312-b55afdef5e-reports.chunk.js +0 -1
- package/dist/scripts/337-774513206c-reports.chunk.js +0 -1
- package/dist/scripts/356-72f52ba837-reports.chunk.js +0 -1
- package/dist/scripts/36-c2e37d4259-reports.chunk.js +0 -1
- package/dist/scripts/377-d2ee7768ef-reports.chunk.js +0 -1
- package/dist/scripts/403-73a3fd54c1-reports.chunk.js +0 -2
- package/dist/scripts/438-41f1ce5fa7-reports.chunk.js +0 -1
- package/dist/scripts/488-fc90cffad0-reports.chunk.js +0 -1
- package/dist/scripts/495-8dad3654a5-reports.chunk.js +0 -1
- package/dist/scripts/50-c28c2059e4-reports.chunk.js +0 -2
- package/dist/scripts/530-5e573b7fb8-reports.chunk.js +0 -1
- package/dist/scripts/64-726084e166-reports.chunk.js +0 -1
- package/dist/scripts/675-81917f9cfc-reports.chunk.js +0 -1
- package/dist/scripts/71-3121bfcdb2-reports.chunk.js +0 -1
- package/dist/scripts/72-554d86a561-reports.chunk.js +0 -1
- package/dist/scripts/726-377c76198f-reports.chunk.js +0 -1
- package/dist/scripts/731-ae3313ea10-reports.chunk.js +0 -1
- package/dist/scripts/755-6ce0ccf32c-reports.chunk.js +0 -1
- package/dist/scripts/782-ea95ea4a0f-reports.chunk.js +0 -1
- package/dist/scripts/806-a73ae8cf9c-reports.chunk.js +0 -1
- package/dist/scripts/837-009ac96cdf-reports.chunk.js +0 -1
- package/dist/scripts/86-1253678ae5-reports.chunk.js +0 -1
- package/dist/scripts/864-70396106ec-reports.chunk.js +0 -1
- package/dist/scripts/895-030fa42ce1-reports.chunk.js +0 -1
- package/dist/scripts/913-72c5df5c25-reports.chunk.js +0 -1
- package/dist/scripts/984-d3f7a9cab7-reports.chunk.js +0 -2
- package/dist/scripts/987-accde7c4d8-reports.chunk.js +0 -1
- package/dist/scripts/bundle-0ee8309d8f.min.js +0 -2
- /package/dist/css/{217-reports-4302570db8.chunk.css → 378-reports-4302570db8.chunk.css} +0 -0
- /package/dist/css/{240-reports-5003a995f4.chunk.css → 662-reports-5003a995f4.chunk.css} +0 -0
- /package/dist/css/{864-reports-e43752aa21.chunk.css → 71-reports-e43752aa21.chunk.css} +0 -0
- /package/dist/scripts/{193-9e1d26aedf-reports.chunk.js → 193-0f38b2c274-reports.chunk.js} +0 -0
- /package/dist/scripts/{403-73a3fd54c1-reports.chunk.js.LICENSE.txt → 204-1c3e1d326b-reports.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{335-c34bad801d-reports.chunk.js → 335-0dcb350e5d-reports.chunk.js} +0 -0
- /package/dist/scripts/{984-d3f7a9cab7-reports.chunk.js.LICENSE.txt → 403-e415a001a1-reports.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{50-c28c2059e4-reports.chunk.js.LICENSE.txt → 50-dd0d137dde-reports.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{647-3ce910dd13-reports.chunk.js → 647-911c1da930-reports.chunk.js} +0 -0
- /package/dist/scripts/{925-10b0c48376-reports.chunk.js → 925-771b52aeee-reports.chunk.js} +0 -0
- /package/dist/scripts/{997-7dc2d935a7-reports.chunk.js → 997-435b822bcb-reports.chunk.js} +0 -0
- /package/dist/scripts/{bundle-0ee8309d8f.min.js.LICENSE.txt → bundle-36cb13efa9.min.js.LICENSE.txt} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_clickview_reports=self.webpackChunk_clickview_reports||[]).push([[206],{32119:(e,t,n)=>{n.d(t,{G:()=>o});var r=n(32735),a=n(71365);function o(e){var t,n;return t=e,n=a.u.getInstance(t),r.useEffect((function(){return function(){a.u.releaseInstance(t)}})),n}},26136:(e,t,n)=>{n.d(t,{B:()=>o});var r=n(76198),a=n(64818);function o(e,t){return e?t?(0,r._8)((n="profileId"in e?e.profileId:e.id,o=+"".concat(n).concat(Math.floor((new Date).getMinutes()/5)),{dictionaries:[r.O9,r.yd],separator:" ",length:2,style:"capital",seed:o})):"profileId"in e?e.name:a.l.getFullName(e):"";var n,o}},97824:(e,t,n)=>{n.d(t,{j:()=>j});var r=n(32735),a=n(80247),o=n(23481),i=n(79014),l=n(36532),c=n(4594),s=n(45778),u=n(6474),m=n(36511),d=n(35223);const p={removeRecipient:"mCbMC",recipientItem:"kdcb0",showSpinner:"xH6Mu",avatarContainer:"Zcpg3",recipientDetails:"v5EmV",recipientDetailsWithRemoveButton:"_V928"};var f="shared.classroomGroupRecipientItemMetadata";function v(e){var t;return r.createElement(r.Fragment,null,r.createElement("div",{className:"".concat(p.avatarContainer," d-inline-block")},r.createElement(u.f,{svgName:d.vn.Group,variant:(0,m.I)(null===(t=e.classroomGroup.metadata)||void 0===t?void 0:t.colour)})),r.createElement("div",{className:e.detailsClassName},r.createElement("h4",{className:"font-size-normal fw-normal m-0"},e.classroomGroup.name),r.createElement("p",{className:"text-secondary m-0"},function(e){var t,n,r,a=null!==(n=null===(t=e.users)||void 0===t?void 0:t.count)&&void 0!==n?n:0,i=null===(r=e.classroom)||void 0===r?void 0:r.name;return i?o.T.getPhrase(f,"subheading",{classroomName:i,smartCount:a}):""}(e.classroomGroup))))}var g="shared.classroomRecipientItemMetadata";function y(e){return r.createElement(r.Fragment,null,r.createElement("div",{className:"".concat(p.avatarContainer," d-inline-block")},r.createElement(u.f,{svgName:d.vn.Classrooms,variant:"teal"})),r.createElement("div",{className:e.detailsClassName},r.createElement("h4",{className:"font-size-normal fw-normal m-0"},e.classroom.name),r.createElement("p",{className:"text-secondary m-0"},(l=null!==(a=null===(n=(t=e.classroom).users)||void 0===n?void 0:n.count)&&void 0!==a?a:null===(i=t.enrolments)||void 0===i?void 0:i.count,Number.isInteger(l)?o.T.getPhrase(g,"subheading",{smartCount:l}):""))));var t,n,a,i,l}var h=n(26136),b=n(91374),E=n(83914),C=n(76881),x=n(86613),N=n(64818),S=o.T.encloseNamespace("shared.userRecipientItemMetadata");function w(e){var t,n,a,o,i,l=(a=(t=e).user,o=t.anonymiseUsers,i=t.showDisplayName,"profileId"in a?{name:(0,h.B)(a,o),surname:"",avatarUrl:null}:{name:o?(0,h.B)(a,!0):i?N.l.getDisplayName(a):N.l.getFullName(a),surname:a.surname,avatarUrl:null===(n=a.avatar)||void 0===n?void 0:n.url}),c=l.name,s=l.surname,u=l.avatarUrl;return r.createElement(r.Fragment,null,r.createElement("div",{className:"".concat(p.avatarContainer," ").concat(e.avatarClassName," d-inline-block")},r.createElement(b.q,{imageUrl:u,imageCdnUrl:e.imageCdnUrl,initials:N.l.getInitials(c,s),showAnonymousUser:"profileId"in e.user,anonymousSvgSize:E.S.Small})),r.createElement("div",{className:e.detailsClassName},r.createElement("h4",{className:"font-size-normal fw-normal m-0"},c),e.showSubText&&"id"in e.user&&r.createElement("p",{className:"text-secondary m-0"},e.getSubText?e.getSubText(e.user):function(e){var t=N.l.getUserType(e),n=N.l.getUserRole(e);if(t===C.Y.Staff)return n===x.i.Admin?S("admin"):S("staff");var r=N.l.getYearGroup(e);return(null==r?void 0:r.name)?r.name:S("student")}(e.user))))}function O(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}w.defaults={showSubText:!0};var I=o.T.encloseNamespace("share.recipientItem");function k(e){switch(e){case c.E.User:return I("removeUser");case c.E.Classroom:return I("removeClassroom");case c.E.ClassroomGroup:return I("removeGroup")}return null}function j(e){var t,n,o=(t=r.useState(!1),n=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,l=[],c=!0,s=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){s=!0,a=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw a}}return l}}(t,n)||function(e,t){if(e){if("string"==typeof e)return O(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?O(e,t):void 0}}(t,n)||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.")}()),u=o[0],m=o[1],d="".concat(p.recipientItem," d-flex");u&&(d+=" ".concat(p.showSpinner));var f="".concat(e.removeRecipient?p.recipientDetailsWithRemoveButton:p.recipientDetails," d-inline-block ms-2");return r.createElement("div",{className:d},s.G.isType(e.entity,c.E.User)?r.createElement(w,{user:e.entity,imageCdnUrl:e.imageCdnUrl,detailsClassName:f,showDisplayName:e.showDisplayName,getSubText:e.getSubText}):s.G.isType(e.entity,c.E.Classroom)?r.createElement(y,{classroom:e.entity,detailsClassName:f}):s.G.isType(e.entity,c.E.ClassroomGroup)?r.createElement(v,{classroomGroup:e.entity,detailsClassName:f}):void 0,i.q.isFunction(e.removeRecipient)&&r.createElement("div",{className:"".concat(p.removeRecipient," d-inline-flex justify-content-center align-items-center")},u?r.createElement(a.Z,{as:"div",size:"sm",animation:"border",role:"status"}):r.createElement(l.u,{title:k(e.entity.typeId),spanHack:!0},r.createElement("div",{className:"btn-close cursor-pointer",role:"button","aria-label":"Close",onClick:function(){m(!0),e.removeRecipient(e.entity.id,(function(){return m(!1)}))}}))))}},15600:(e,t,n)=>{n.d(t,{t:()=>w,D:()=>O});var r=n(32735),a=n(79014),o=n(11607),i=n(83914),l=n(4594),c=n(76881),s=n(36511),u=n(45778),m=n(35223),d=n(64818),p=n(80247),f=n(23481);const v={avatar:"srrS3"};function g(e){var t=e.imageUrl,n=e.initials,a={};return t&&(a.backgroundImage="url('".concat(t,"')")),r.createElement("div",{className:v.avatar,style:a},t?r.createElement(r.Fragment,null," "):n)}var y=n(36532);const h={svgContainer:"laVU4",selection:"vEOCt",expander:"d1NHd",iconContainer:"rFH4W",icon:"BarYz",bubble:"HF0E8",spinnerContainer:"iKeXW",remove:"pyzCM",removeBubble:"mgt6Y"};var b=f.T.encloseNamespace("shared.inputSelection");function E(e){var t,n="".concat(h.svgContainer," ").concat(h.icon);return e.typeId===l.E.Classroom?n+=" text-teal":n+=" text-".concat((0,s.I)(null===(t=e.metadata)||void 0===t?void 0:t.colour)),n}function C(e){var t,n=function(e){var t;switch(e.typeId){case l.E.Classroom:return"text-teal-hover";case l.E.ClassroomGroup:return"text-".concat((0,s.I)(null===(t=e.metadata)||void 0===t?void 0:t.colour),"-hover")}}(e.selection),a=e.selection.typeId===l.E.Classroom;if(!e.canExpand){if(!e.selection.typeId||e.selection.typeId===l.E.User){var c=e.selection;return r.createElement("div",{className:h.svgContainer},r.createElement(g,{imageUrl:null===(t=c.avatar)||void 0===t?void 0:t.url,initials:d.l.getInitials(e.selection.name,e.selection.surname)}))}return r.createElement(y.u,{title:b(a?"emptyClassroom":"emptyGroup")},r.createElement("div",{className:"align-items-center border border-white bg-white ".concat(h.iconContainer)},r.createElement(i.x,{className:E(e.selection),svgName:a?m.vn.Classrooms:m.vn.Group})))}return e.hasExpanded?r.createElement("div",{className:"d-flex align-items-center text-white ".concat(h.spinnerContainer," ").concat(h.svgContainer)},r.createElement(p.Z,{as:"div",size:"sm",animation:"border",role:"status"})):r.createElement(r.Fragment,null,r.createElement(o.L,{className:"align-items-center cursor-pointer text-white border border-white rounded-circle ".concat(h.expander," ").concat(n),onClick:e.onClickExpand},r.createElement(i.x,{svgName:m.vn.Plus,className:"d-flex align-items-center ".concat(h.svgContainer)})),r.createElement("div",{className:"align-items-center border border-white bg-white ".concat(h.iconContainer)},r.createElement(i.x,{className:E(e.selection),svgName:a?m.vn.Classrooms:m.vn.Group})))}function x(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,l=[],c=!0,s=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){s=!0,a=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw a}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return N(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?N(e,t):void 0}}(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 N(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function S(e){var t;if(!e.typeId)return"ultramarine";switch(e.typeId){case l.E.User:return"number"==typeof e.userType?2===e.userType?"ultramarine":"indigo":e.userType===c.Y.Learner?"ultramarine":"indigo";case l.E.Classroom:return"teal";case l.E.ClassroomGroup:return(0,s.I)(null===(t=e.metadata)||void 0===t?void 0:t.colour)}}function w(e){var t,n,a,c=u.G.isType(e.selection,l.E.Classroom),s=u.G.isType(e.selection,l.E.ClassroomGroup),d=e.onClickExpand&&(c||s),p=!!(null===(t=e.selection.users||e.selection.enrolments)||void 0===t?void 0:t.count),f=!!(null===(a=null===(n=e.selection.users)||void 0===n?void 0:n.data)||void 0===a?void 0:a.length),v=x(r.useState(!1),2),g=v[0],y=v[1],b=x(r.useState(d&&p),2),E=b[0],C=b[1];if(r.useEffect((function(){C(d&&p)}),[d,p]),f){var N=e.selection,w=S(e.selection);return r.createElement("div",{className:"d-flex align-items-center flex-wrap me-1 mt-1 pb-1 ps-1 pe-4 position-relative border-".concat(w," text-").concat(w," ").concat(h.bubble)},N.users.data.map((function(t){return r.createElement(O,{key:"".concat(t.id,":").concat(e.selection.id),selection:t,colourVariant:w,hasStudentExperience:e.hasStudentExperience})})),r.createElement(o.L,{className:"cursor-pointer position-absolute text-".concat(w," ").concat(h.removeBubble),onClick:function(){return e.onClickRemove(e.selection)}},r.createElement(i.x,{svgName:m.vn.Close,className:"d-flex align-items-center ".concat(h.svgContainer)})))}return r.createElement(O,{selection:e.selection,canExpand:E,hasExpanded:g,onClickExpand:function(){y(!0),e.onClickExpand(e.selection.id)},onClickRemove:e.onClickRemove,colourVariant:S(e.selection),hasStudentExperience:e.hasStudentExperience})}function O(e){var t=e.colourVariant||S(e.selection),n=e.selection.name;return e.selection.typeId===l.E.User&&(n=e.hasStudentExperience?d.l.getDisplayName(e.selection):d.l.getFullName(e.selection)),r.createElement("div",{className:"".concat(h.selection," bg-").concat(t," rounded-pill text-").concat(t," d-flex align-items-center me-1 mt-1 overflow-hidden")},!e.hideExpander&&r.createElement(C,{canExpand:e.canExpand,hasExpanded:e.hasExpanded,onClickExpand:e.onClickExpand,selection:e.selection}),r.createElement("span",{className:"mx-1 text-white text-truncate"},n),a.q.isFunction(e.onClickRemove)&&r.createElement(o.L,{className:"d-flex align-items-center cursor-pointer align-self-stretch text-white ".concat(h.remove),onClick:function(){return e.onClickRemove(e.selection)}},r.createElement(i.x,{svgName:m.vn.Close,className:"d-flex align-items-center ".concat(h.svgContainer)})))}},37793:(e,t,n)=>{n.d(t,{d:()=>N,R:()=>S});var r=n(32735),a=n(23481),o=n(75896),i=n(97824),l=n(2136),c=n(83914),s=n(83345);function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var m=function(e,t){var n,a,o=(n=r.useState(e),a=2,function(e){if(Array.isArray(e))return e}(n)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,l=[],c=!0,s=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){s=!0,a=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw a}}return l}}(n,a)||function(e,t){if(e){if("string"==typeof e)return u(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(e,t):void 0}}(n,a)||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.")}()),i=o[0],l=o[1];return r.useEffect((function(){var n=setTimeout((function(){return l(e)}),t);return function(){return clearTimeout(n)}}),[e,t]),i};const d={emptyState:"bKTf0"};var p="shared.typeaheadEmptyState";function f(e){var t=e.query,n=void 0===t?"":t,a=e.imageUrl,o=m(n,300);return r.createElement("div",{className:"d-flex flex-column align-items-center text-center",onClick:function(e){e.stopPropagation()}},r.createElement("img",{alt:"",role:"presentation",src:a,className:"pb-2 ".concat(d.emptyState)}),r.createElement("h2",{role:"status",className:"h6"},r.createElement(s.x,{namespace:p,phrase:"noResults",options:{query:o,smartCount:o.length}})))}var v=n(11607);const g={emptyState:"k5mEG"};var y="shared.typeaheadErrorState";function h(e){return r.createElement("div",{className:"d-flex flex-column align-items-center text-center",onClick:function(e){e.stopPropagation()}},r.createElement("img",{alt:"",role:"presentation",src:e.imageUrl,className:"pb-2 ".concat(g.emptyState)}),r.createElement("h2",{className:"h6",role:"alert"},r.createElement(s.x,{namespace:y,phrase:"error"})),r.createElement(v.L,{onClick:function(t){t.stopPropagation(),e.onClickTryAgain()},className:"btn btn-link info-link p-0"},r.createElement(s.x,{namespace:y,phrase:"tryAgain"})))}var b=n(35223),E=n(15600);const C={container:"Dc3kX",suggestionsContainerOpen:"c5t3e",selectionContainer:"kFjoN",sectionContainer:"mLrE3"};var x="shared.tokenizedTypeahead",N=10;function S(e){var t;return r.createElement("div",{className:"form-control h-auto d-flex align-items-top position-relative ".concat(e.hideIcon?"":"py-1 px-0"," ").concat(e.className)},!e.hideIcon&&r.createElement(c.x,{className:"svg-container m-1",svgName:b.vn.Search}),r.createElement("div",{className:"".concat(C.selectionContainer," d-flex flex-wrap align-items-center mt-n1")},e.selections.map((function(t){return e.getInputTokenComponent?e.getInputTokenComponent(t):r.createElement(E.t,{key:t.id,selection:t,onClickRemove:e.removeSelection,onClickExpand:e.fetchSelectionMembers,hasStudentExperience:e.hasStudentExperience})})),r.createElement(l.E,Object.assign({},e,{onBackspace:function(){e.selections.length&&e.removeSelection(o.m.last(e.selections))},recentSearchHeading:e.recentSearchHeading||a.T.getPhrase(x,"recentSearchHeading"),placeholder:(null===(t=e.selections)||void 0===t?void 0:t.length)?" ":e.placeholder,searchIconPlacement:!1,clearQueryOnSelect:!0,getSuggestionComponent:function(t){return e.getSuggestionComponent?e.getSuggestionComponent(t):r.createElement(i.j,{entity:t,imageCdnUrl:e.imageCdnUrl,showDisplayName:e.hasStudentExperience})},getEmptyStateComponent:function(t){return r.createElement(f,{query:t,imageUrl:e.emptyStateImageUrl})},getErrorStateComponent:function(t){return r.createElement(h,{imageUrl:e.errorStateImageUrl,onClickTryAgain:t})},theme:{container:C.container,suggestionsContainerOpen:"bg-white py-1 rounded border mt-1 ".concat(C.suggestionsContainerOpen),sectionContainer:"border-bottom py-1 ".concat(C.sectionContainer)},sectionTitleClassName:"ps-2",renderSuggestionsOnInputFocus:e.renderSuggestionsOnInputFocus,onSuggestionDependencies:[e.selections]}))),!!e.sharePermissionsDescription&&r.createElement("span",{className:"px-2 text-secondary text-nowrap"},e.sharePermissionsDescription))}S.defaultProps={renderSuggestionsOnInputFocus:!0}},1269:(e,t,n)=>{n.d(t,{n:()=>C,W:()=>x});var r=n(32735),a=n(80247),o=n(50132),i=n(92802),l=n(79014),c=n(1048),s=n(57408),u=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n};function m(e){var t=e.label,n=e.checkboxLabelClassName,a=e.checkboxLabelFontWeight,i=e.className,l=u(e,["label","checkboxLabelClassName","checkboxLabelFontWeight","className"]);return r.createElement(o.Z.Group,{className:"form-group"},r.createElement("div",{className:"form-check ".concat(i||"")},r.createElement(C,Object.assign({className:"form-check-input"},l)),r.createElement(o.Z.Label,{className:"form-check-label cursor-pointer ".concat("normal"===a?"fw-normal":""," \n ").concat(n),htmlFor:l.id},t),e.checkboxAppLink&&e.checkboxAppLinkText&&r.createElement(r.Fragment,null,r.createElement("span",null," "),r.createElement(s.F,{appLink:e.checkboxAppLink,className:"info-link"},e.checkboxAppLinkText))))}var d=n(83914),p=n(83345),f={getCustomFormControlClassName:function(e,t,n,r,a,o){var l="";return l=function(e,t){var n="";return n="select"===e?"form-select":"form-control","sm"===t&&(n+=" ".concat(n,"-sm")),"lg"===t&&(n+=" ".concat(n,"-lg")),n}(o,r),(0,i.u9)(t,n)&&(0,i.u9)(e,n)&&(l+=" is-invalid"),a&&(l+=" ".concat(a)),l}},v=n(35223);function g(e){var t=(0,i.u6)().values[e.fieldName];return"string"!=typeof t?r.createElement(r.Fragment,null):r.createElement("div",{className:"float-end text-secondary fw-normal"},t.length,"/",e.limit," characters")}const y={revealPassword:"jCfI0",passwordInput:"RBJnf",passwordContainer:"d78lK",passwordContainerDisabled:"asbVo",infoTooltip:"wzyOG",spinner:"CycFx"};function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var b=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n},E="shared.formField";function C(e){var t,n,o=e.children,s=e.showLoadingSpinner,u=b(e,["children","showLoadingSpinner"]),m=(t=r.useState(e.type),n=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,l=[],c=!0,s=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){s=!0,a=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw a}}return l}}(t,n)||function(e,t){if(e){if("string"==typeof e)return h(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?h(e,t):void 0}}(t,n)||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.")}()),p=m[0],f=m[1],g=l.q.isFunction(o)?function(e){return o(e)}:r.Children.count(o)?o:null;if("password"!==u.type)return s?r.createElement("div",{className:"position-relative"},r.createElement(i.gN,Object.assign({},c.t.omit(u,["formSize"])),g),r.createElement("div",{className:y.spinner},r.createElement(a.Z,{animation:"border",size:"sm"}))):r.createElement(i.gN,Object.assign({},c.t.omit(u,["formSize"])),g);var E="position-relative ".concat(y.passwordContainer);return u.className&&(E+=" ".concat(u.className)),u.disabled&&(E+=" ".concat(y.passwordContainerDisabled)),r.createElement("div",{className:E},r.createElement(i.gN,Object.assign({},c.t.omit(u,["formSize","type","className"]),{type:p,className:"".concat(y.passwordInput," border-0 w-100 h-100 outline-none rounded")}),g),"password"===u.type&&r.createElement(d.x,{svgName:"password"===p?v.vn.VisibleOn:v.vn.VisibleOff,className:"svg-container cursor-pointer ".concat(y.revealPassword),onClick:function(){f("password"===p?"text":"password")}}))}function x(e){var t=e.label,n=e.className,a=e.showCharacterCounter,l=e.showRequiredStar,s=e.infoTooltip,u=e.infoTooltipPlacement,h=e.infoText,x=e.formSize,N=e.showOptionalLabel,S=b(e,["label","className","showCharacterCounter","showRequiredStar","infoTooltip","infoTooltipPlacement","infoText","formSize","showOptionalLabel"]),w=(0,i.u6)(),O=w.errors,I=w.touched,k=function(){};if("checkbox"===S.type){var j=c.t.omit(e,["formSize","infoTooltipPlacement"]);return e.disabled&&(j.onChange=k),r.createElement(m,Object.assign({},j))}var T=Object.assign(Object.assign({},S),{className:f.getCustomFormControlClassName(O,I,S.name,x,n,"string"==typeof e.as?e.as:null)});return e.disabled&&(T.onChange=k),r.createElement(o.Z.Group,{className:"form-group"},!!t&&r.createElement(o.Z.Label,{htmlFor:S.id,className:"d-flex align-items-center"},t,l&&r.createElement("span",{className:"text-danger"},"*"),s&&r.createElement(d.x,{className:"svg-container text-secondary ".concat(y.infoTooltip),svgName:v.vn.Info,title:s,tooltipPlacement:u,tooltipSpanHack:!0}),N&&r.createElement("span",{className:"text-secondary"}," ",r.createElement(p.x,{namespace:E,phrase:"optional"})),!!a&&!!S.maxLength&&r.createElement("div",{className:"ms-auto"},r.createElement(g,{fieldName:S.name,limit:S.maxLength}))),r.createElement(C,Object.assign({},T,{"aria-errormessage":"".concat(S.name,"Error")})),!!h&&r.createElement(o.Z.Text,{className:"text-secondary"},h),r.createElement(i.Bc,{name:S.name},(function(e){return r.createElement(o.Z.Control.Feedback,{id:"".concat(S.name,"Error"),type:"invalid",role:"status"},e)})))}C.defaultProps={autoComplete:"off"},x.defaultProps={autoComplete:"off",infoTooltipPlacement:"top"}},82644:(e,t,n)=>{n.d(t,{b:()=>u,n:()=>s});var r=n(32735),a=n(92802),o=n(79014),i=n(1048);function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var c=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n};function s(e){var t=e.castInitialValues,n=e.castValuesOnSubmit,s=e.initialValues,u=e.onSubmit,m=c(e,["castInitialValues","castValuesOnSubmit","initialValues","onSubmit"]),d=t&&e.validationSchema?e.validationSchema.cast(function(e){if(!e)return{};var t=i.t.deepClone(e);return function e(n){Object.keys(t).forEach((function(r){t.hasOwnProperty(r)&&(i.t.isObject(n[r])?e(n[r]):null===t[r]&&delete t[r])}))}(t),t}(s)):s,p={allowInitialSubmit:e.allowInitialSubmit};return r.createElement(a.J9,Object.assign({enableReinitialize:!0},m,{initialValues:d,onSubmit:function(t,r){var a=r.setSubmitting,o=r.resetForm,i=r.setFieldError,c=n&&e.validationSchema?e.validationSchema.cast(t):t;u(c,(function(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(n.reset&&o(),n.errors)for(var r=0,c=Object.entries(n.errors);r<c.length;r++){var s=(e=c[r],t=2,function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,l=[],c=!0,s=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){s=!0,a=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw a}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return l(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(e,t):void 0}}(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.")}()),u=s[0],m=s[1];i(u,m)}a(!1)}))},initialStatus:p}),o.q.isFunction(e.children)?function(t){return e.children(t)}:r.Children.count(e.children)?e.children:null)}function u(){return(0,a.u6)()}s.defaultProps={castInitialValues:!0,castValuesOnSubmit:!0}},69883:(e,t,n)=>{n.d(t,{Z:()=>i});var r=n(79976),a=n(60139),o=n(32119);function i(){var e=(0,o.G)(r.P.ALERT);return{success:function(t){e.success(t)()},error:function(t){e.error(t)()},warning:function(t){e.createAlert({type:a.NK.Warning,heading:a.R6.Warning,message:t})}}}},45778:(e,t,n)=>{n.d(t,{G:()=>a});var r=n(4594),a={isType:function(e,t){var n;return(null==e?void 0:e.typeId)?e.typeId===t:(null===(n=null==e?void 0:e.type)||void 0===n?void 0:n.toLowerCase())===r.E[t].toLowerCase()},isResource:function(e){return a.isType(e,r.E.Resource)},isClassification:function(e){return"Subject"===e.type}}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_clickview_reports=self.webpackChunk_clickview_reports||[]).push([[233],{51825:(e,a,t)=>{t.d(a,{n:()=>c});var n=t(32735),r=t(40782);function c(e){return n.createElement(r.O,{layout:e.layout,className:e.className,percentage:0,customLabel:"--%"})}},40782:(e,a,t)=>{t.d(a,{I:()=>n,O:()=>s});var n,r=t(32735),c=t(2606),l=t(82658);function i(e){var a=r.useCallback((function(a){if(a){var t=a.r.baseVal.value,n=2*Math.PI*t,r=n-e.percentage*n;a.style.strokeDasharray="".concat(n," ").concat(n),a.style.strokeDashoffset=r.toString()}}),[e.percentage]);return r.createElement("svg",null,r.createElement("circle",{r:(0,c.pu)(e.size),className:l.Z.backgroundCircle}),!(0,c.zR)(e.percentage)&&r.createElement("circle",{ref:a,r:(0,c.pu)(e.size),className:(0,c.V4)(e.percentage,e.scoreThresholds)}))}function s(e){var a,t=(0,c.Ki)(e.percentage),s=e.layout===n.LabelInside?c.Mk.Large:c.Mk.Small,o=e.customLabel||(0,c.DV)(t);return e.layout===n.LabelOnly?r.createElement("span",{className:(0,c.IA)(t)},o):r.createElement("div",{className:"d-flex align-items-center justify-content-between ".concat(null!==(a=e.className)&&void 0!==a?a:"")},e.layout===n.LabelBefore&&r.createElement("span",{className:"me-2"},o),r.createElement("div",{className:(0,c.tw)(s,t)},r.createElement(i,{percentage:t,size:s,scoreThresholds:e.scoreThresholds}),e.layout===n.LabelInside&&r.createElement("span",{className:l.Z.centredPercentageText},o)))}!function(e){e.CircleOnly="circle_only",e.LabelOnly="label_only",e.LabelBefore="label_before",e.LabelInside="label_inside"}(n||(n={})),s.defaultProps={layout:n.CircleOnly}},2606:(e,a,t)=>{t.d(a,{DV:()=>g,IA:()=>m,Ki:()=>p,Mk:()=>n,V4:()=>d,pu:()=>u,tw:()=>v,zR:()=>b});var n,r=t(94892),c=t(82658),l=2,i=5.8,s=.2,o=.36;function u(e){var a=e===n.Large?i:l,t=e===n.Large?o:s;return"".concat(a/2-2*t,"rem")}function d(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.i;return e>=a.HIGH?c.Z.circleSuccess:e>=a.MODERATE?c.Z.circleWarning:c.Z.circleDanger}function m(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.i;return e>=a.HIGH?"text-success":e>=a.MODERATE?"text-warning":"text-danger"}function v(e,a){var t="d-inline-block ".concat(c.Z.circleContainer);return e===n.Large&&(t+=" ".concat(c.Z.lgCircleContainer)),b(a)&&(t+=" ".concat(c.Z.pendingCircle)),t}function p(e){if(!b(e))return+e.toFixed(2)}function g(e){return b(e)?"--%":"".concat(Math.round(100*e),"%")}function b(e){return"number"!=typeof e}!function(e){e.Small="small",e.Large="large"}(n||(n={}))},94892:(e,a,t)=>{t.d(a,{i:()=>n});var n={HIGH:.75,MODERATE:.5}},4143:(e,a,t)=>{t.d(a,{$:()=>u});var n=t(32735),r=t(23481),c=t(59710),l=t(92209),i=t(28512),s=t(99827),o=r.T.encloseNamespace("reportsVideos.videoNav");function u(e){var a,t,r=(a=(0,s.b)(),t=[e.id],[{label:o("overview"),appLink:{application:i.O.VIDEOS,action:l.e.Videos.OVERVIEW,args:t,params:a}},{label:o("engagement"),appLink:{application:i.O.VIDEOS,action:l.e.Videos.ENGAGEMENT,args:t,params:a}}]);return n.createElement(c.m,{items:r})}},88593:(e,a,t)=>{t.r(a),t.d(a,{VideoOverviewView:()=>y});var n=t(32735),r=t(23481),c=t(20354),l=t(16714),i=t(22902),s=t(18075),o=t(87594),u=t(36630),d=t(55554),m=t(87480),v=t(21295),p=t(44422),g=t(59699),b=t(7184),f=t(4143);const E={column1:"pXdGj",column2:"tUGpc",barChart:"n6ktR"};var h=r.T.encloseNamespace("reportsVideos.videoOverview");function y(e){var a,t,r=c.a.useBasicFetch(o.R.video(e.id));(0,s.M)({title:r.data?h("pageTitle",{video:null===(a=r.data)||void 0===a?void 0:a.name}):null}),(0,m.U)(null===(t=r.data)||void 0===t?void 0:t.name),(0,d._)((0,v.yH)(r.data)),(0,u.M)(r);var y=!(0,(0,i.T)().hasPermissions)(l.C.ViewCustomerAnalytics);return n.createElement("div",null,n.createElement(f.$,{id:e.id}),n.createElement("div",{className:"d-flex"},n.createElement("div",{className:"pe-2 ".concat(E.column1)},n.createElement(b.m,{objectId:e.id,useSharerId:y,className:"h-100"})),n.createElement("div",{className:"ps-2 ".concat(E.column2)},n.createElement(g.Y,{objectId:e.id,useSharerId:y,className:E.barChart}),n.createElement("div",{className:"mt-3"},n.createElement(p.D,{objectId:e.id,useSharerId:y,layout:"horizontal"})))))}},59710:(e,a,t)=>{t.d(a,{m:()=>p});var n=t(32735),r=t(81886),c=t(92582),l=t(57408),i=t(77369),s=t(11607),o=t(83914);const u={pillTabSelector:"Hdi6o",tab:"RvNxr",minWidth:"GHSz9",radiusSmall:"VhJJa",tabLink:"WFyvo"};function d(e){return n.createElement(n.Fragment,null,!!e.tab.svgName&&n.createElement("div",{className:e.tab.name?"pe-1":""},n.createElement(o.x,{svgName:e.tab.svgName})),e.tab.name,"number"==typeof e.tab.count&&n.createElement("div",{className:"ps-2"},n.createElement(i.C,{type:i.g.Count,data:e.tab.count})))}function m(e){var a;return n.createElement("nav",{className:null!==(a=e.className)&&void 0!==a?a:"",ref:e.containerRef},n.createElement("ul",{className:"\n list-unstyled d-inline-block m-0 ".concat(u.pillTabSelector,"\n ").concat(e.borderRadius?u.radiusSmall:"","\n ").concat(e.listClassName,"\n ")},e.tabs.map((function(e,a){return n.createElement("li",{className:"\n p-0 ".concat(u.tab," ").concat(e.active?"btn btn-dark":"btn btn-outline-dark","\n ").concat(e.name?u.minWidth:""," ").concat(e.className,"\n "),key:a},e.appLink?n.createElement(l.F,{appLink:e.appLink,analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions,className:"\n cursor-pointer d-flex align-items-center justify-content-center\n text-decoration-none text-reset px-2 text-nowrap ".concat(u.tabLink,"\n ")},n.createElement(d,{tab:e})):n.createElement(s.L,{className:"\n cursor-pointer d-flex align-items-center justify-content-center\n text-decoration-none text-reset px-2 text-nowrap ".concat(u.tabLink,"\n "),onClick:function(){return function(e){!e.active&&e.onSelect&&(e.onSelect(),e.analyticsData&&e.analyticsOptions&&c.k.logUserAction(e.analyticsData,e.analyticsOptions))}(e)}},n.createElement(d,{tab:e})))}))))}m.defaultProps={borderRadius:"lg"};var v=t(75795);function p(e){var a=e.items.map((function(e){var a,t;return{name:e.label,onSelect:function(){return r.Q.C$.trigger(e.appLink)},active:e.appLink.action===(null===(t=null===(a=v.O.getCurrentRoute())||void 0===a?void 0:a.appLink)||void 0===t?void 0:t.action)}}));return n.createElement(m,{className:"pb-3",tabs:a})}},79939:(e,a,t)=>{t.d(a,{M:()=>c});var n=t(32735),r=t(30114);function c(){return n.createElement("div",{className:"partial-loading-background mb-2 ".concat(r.Z.partialHeading)})}},15184:(e,a,t)=>{t.d(a,{P:()=>N});var n=t(32735),r=t(72306),c=t.n(r),l=t(70312),i=t.n(l),s=t(99827),o=t(99183),u=t(75896),d=t(110),m=t(25281),v=t(39709),p={MONTH:35,YEAR:365},g={day:"YYYY-MM-DD",month:"YYYY-MM",year:"YYYY"},b={day:"D MMM",month:"MMM",year:"YYYY"},f={enabled:!0,align:"right",verticalAlign:"top",floating:!0,y:-45},E={title:{text:null},credits:{enabled:!1},yAxis:{title:{text:null},min:0,minRange:10,minPadding:0,maxPadding:.02,endOnTick:!1},chart:{backgroundColor:"transparent",spacing:[45,0,0,0]},plotOptions:{series:{stacking:"normal"}}};function h(e,a,t){var n=function(e,a,t){var n=function(e){var a=d.O.diffBetween(e.end,e.start,"day");return a>p.YEAR?"year":a>p.MONTH?"month":"day"}(t),r=function(e,a){var t=[],n=d.O.format(e.start,g[a]);do{t.push(n),n=d.O.format(d.O.add(n,1,a),g[a])}while(!d.O.isAfter(n,e.end,a));return t}(t,n),c={};e.forEach((function(e){var t,r;if(e.userType){var l=d.O.format(d.O.convertUTCToLocal(a(e)),g[n]);c[e.userType]=null!==(t=c[e.userType])&&void 0!==t?t:{},c[e.userType][l]=null!==(r=c[e.userType][l])&&void 0!==r?r:0,c[e.userType][l]+=e.count}}));var l=Object.keys(c),i=l.length?u.m.sortBy(l.map((function(e){return{name:(0,v.j)(e),type:"column",data:r.map((function(a){var t;return null!==(t=c[e][a])&&void 0!==t?t:0}))}})),"name"):[{type:"column",data:r.map((function(){return 0}))}],s=Object.assign({},f);return l.length||(s.enabled=!1),{categories:r.map((function(e){return d.O.format(e,b[n])})),legendOptions:s,seriesData:(0,m.n)(i)}}(e,a,t);return Object.assign(Object.assign({},E),{xAxis:{categories:n.categories},legend:n.legendOptions,series:n.seriesData})}var y=t(30114);function N(e){var a=(0,s.R)();return(0,o.I)(),n.createElement("div",{className:"position-relative h-100"},n.createElement("h3",{className:"h6 ".concat(y.Z.heading)},e.title),!!a&&n.createElement(i(),{highcharts:c(),options:h(e.events,e.getEventDate,a),containerProps:{className:"".concat(y.Z.chartContainer," position-absolute w-100 h-100")}}))}},87594:(e,a,t)=>{t.d(a,{R:()=>n});var n={video:function(e,a,t,n){return{url:"{gateway}/v1/objects/".concat(e),key:"video:".concat(e),success:a,error:t,always:n}}}},36630:(e,a,t)=>{t.d(a,{M:()=>l});var n=t(61990),r=t(16562),c={notFound:n.l};function l(e){(0,r.v)(e,c)}},44422:(e,a,t)=>{t.d(a,{D:()=>v});var n=t(32735),r=t(23481),c=t(20354),l=t(51825),i=t(40782),s=t(31949),o=t(17913),u=t(16562),d=t(99827),m=r.T.encloseNamespace("shared.engagementOverviewCard");function v(e){var a,t,r=(0,d.b)(),v=(0,d.R)(),p=!r.users&&!r.classrooms&&!r.classroomGroups,g=c.a.useBasicFetch(!!e.useSharerId&&s.N.currentUser()),b=c.a.useBasicFetch(!!v&&(e.useSharerId?!!g.data&&o.u.aggregateEngagement(e.objectId,v,g.data.id):o.u.aggregateEngagement(e.objectId,v)));(0,u.v)(b);var f=(null===(a=b.data)||void 0===a?void 0:a.engagementRate)>0?b.data.engagementRate:null;return n.createElement("div",{className:"d-flex flex-column rounded bg-white p-3 ".concat(null!==(t=e.className)&&void 0!==t?t:"")},n.createElement("h3",{className:"h6 mb-2"},m("heading")),n.createElement("div",{className:"d-flex align-items-center flex-grow-1\n ".concat("vertical"===e.layout?" flex-column justify-content-center text-center":"")},!!b.data&&n.createElement(n.Fragment,null,n.createElement(i.O,{percentage:f,layout:i.I.LabelInside}),n.createElement("p",{className:"horizontal"===e.layout?"ms-2":""},"number"==typeof f?m(p?"descriptionEveryone":"descriptionSome",{percentage:Math.round(100*b.data.engagementRate)}):m("descriptionNoData"))),!b.data&&n.createElement(n.Fragment,null,n.createElement(l.n,{layout:i.I.LabelInside}),"vertical"===e.layout&&n.createElement("p",null," "))))}},59699:(e,a,t)=>{t.d(a,{Y:()=>p});var n=t(32735),r=t(23481),c=t(20354),l=t(31949),i=t(17913),s=t(16562),o=t(79939),u=t(15184),d=t(99827),m=t(9977),v=r.T.encloseNamespace("shared.viewCountBarChartCard");function p(e){var a,t=(0,d.R)(),r=c.a.useBasicFetch(!!e.useSharerId&&l.N.currentUser()),p=c.a.useBasicFetch(!!t&&(e.useSharerId?!!r.data&&i.u.views(t,e.objectId,r.data.id):i.u.views(t,e.objectId)));return(0,s.v)(p),(0,m.n)(p),n.createElement("div",{className:"bg-white rounded p-3 ".concat(null!==(a=e.className)&&void 0!==a?a:"")},p.data?n.createElement(u.P,{events:p.data.data,getEventDate:function(e){return e.groupedDateWatched},title:v("videoViews")}):n.createElement(o.M,null))}},82658:(e,a,t)=>{t.d(a,{Z:()=>n});const n={circleContainer:"p8Vgz",backgroundCircle:"asGGE",circleSuccess:"PXLNj",circleWarning:"ZckRN",circleDanger:"slBRg",lgCircleContainer:"N8KCI",pendingCircle:"DKrcq",centredPercentageText:"tpmLR"}},30114:(e,a,t)=>{t.d(a,{Z:()=>n});const n={chartContainer:"_KT3q",heading:"Cfb8d",partialHeading:"Ydnic"}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(self.webpackChunk_clickview_reports=self.webpackChunk_clickview_reports||[]).push([[246],{15206:t=>{var e=!("undefined"==typeof window||!window.document||!window.document.createElement);t.exports=e},94605:t=>{t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},29076:(t,e,r)=>{var n=r(62366);t.exports=function(t){if(!n(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},5822:(t,e,r)=>{var n=r(46802),o=r(22275),i=r(50430),u=n("unscopables"),a=Array.prototype;null==a[u]&&i(a,u,o(null)),t.exports=function(t){a[u][t]=!0}},25528:(t,e,r)=>{"use strict";var n=r(50189).charAt;t.exports=function(t,e,r){return e+(r?n(t,e).length:1)}},72814:t=>{t.exports=function(t,e,r){if(!(t instanceof e))throw TypeError("Incorrect "+(r?r+" ":"")+"invocation");return t}},4905:(t,e,r)=>{var n=r(62366);t.exports=function(t){if(!n(t))throw TypeError(String(t)+" is not an object");return t}},16607:(t,e,r)=>{"use strict";var n=r(72758).forEach,o=r(31853);t.exports=o("forEach")?function(t){return n(this,t,arguments.length>1?arguments[1]:void 0)}:[].forEach},5029:(t,e,r)=>{var n=r(40678),o=r(74479),i=r(6971),u=function(t){return function(e,r,u){var a,c=n(e),s=o(c.length),f=i(u,s);if(t&&r!=r){for(;s>f;)if((a=c[f++])!=a)return!0}else for(;s>f;f++)if((t||f in c)&&c[f]===r)return t||f||0;return!t&&-1}};t.exports={includes:u(!0),indexOf:u(!1)}},72758:(t,e,r)=>{var n=r(17755),o=r(62901),i=r(87615),u=r(74479),a=r(17021),c=[].push,s=function(t){var e=1==t,r=2==t,s=3==t,f=4==t,l=6==t,p=5==t||l;return function(h,v,d,y){for(var g,b,_=i(h),x=o(_),m=n(v,d,3),w=u(x.length),O=0,E=y||a,j=e?E(h,w):r?E(h,0):void 0;w>O;O++)if((p||O in x)&&(b=m(g=x[O],O,_),t))if(e)j[O]=b;else if(b)switch(t){case 3:return!0;case 5:return g;case 6:return O;case 2:c.call(j,g)}else if(f)return!1;return l?-1:s||f?f:j}};t.exports={forEach:s(0),map:s(1),filter:s(2),some:s(3),every:s(4),find:s(5),findIndex:s(6)}},95611:(t,e,r)=>{var n=r(25061),o=r(46802),i=r(24101),u=o("species");t.exports=function(t){return i>=51||!n((function(){var e=[];return(e.constructor={})[u]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},62040:(t,e,r)=>{var n=r(94605),o=r(87615),i=r(62901),u=r(74479),a=function(t){return function(e,r,a,c){n(r);var s=o(e),f=i(s),l=u(s.length),p=t?l-1:0,h=t?-1:1;if(a<2)for(;;){if(p in f){c=f[p],p+=h;break}if(p+=h,t?p<0:l<=p)throw TypeError("Reduce of empty array with no initial value")}for(;t?p>=0:l>p;p+=h)p in f&&(c=r(c,f[p],p,s));return c}};t.exports={left:a(!1),right:a(!0)}},17021:(t,e,r)=>{var n=r(62366),o=r(20119),i=r(46802)("species");t.exports=function(t,e){var r;return o(t)&&("function"!=typeof(r=t.constructor)||r!==Array&&!o(r.prototype)?n(r)&&null===(r=r[i])&&(r=void 0):r=void 0),new(void 0===r?Array:r)(0===e?0:e)}},17755:(t,e,r)=>{var n=r(94605);t.exports=function(t,e,r){if(n(t),void 0===e)return t;switch(r){case 0:return function(){return t.call(e)};case 1:return function(r){return t.call(e,r)};case 2:return function(r,n){return t.call(e,r,n)};case 3:return function(r,n,o){return t.call(e,r,n,o)}}return function(){return t.apply(e,arguments)}}},35304:(t,e,r)=>{var n=r(4905);t.exports=function(t,e,r,o){try{return o?e(n(r)[0],r[1]):e(r)}catch(e){var i=t.return;throw void 0!==i&&n(i.call(t)),e}}},13165:(t,e,r)=>{var n=r(46802)("iterator"),o=!1;try{var i=0,u={next:function(){return{done:!!i++}},return:function(){o=!0}};u[n]=function(){return this},Array.from(u,(function(){throw 2}))}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var r=!1;try{var i={};i[n]=function(){return{next:function(){return{done:r=!0}}}},t(i)}catch(t){}return r}},75489:t=>{var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},20486:(t,e,r)=>{var n=r(75489),o=r(46802)("toStringTag"),i="Arguments"==n(function(){return arguments}());t.exports=function(t){var e,r,u;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),o))?r:i?n(e):"Object"==(u=n(e))&&"function"==typeof e.callee?"Arguments":u}},53769:(t,e,r)=>{"use strict";var n=r(86846),o=r(81738).getWeakData,i=r(4905),u=r(62366),a=r(72814),c=r(98971),s=r(72758),f=r(51900),l=r(50684),p=l.set,h=l.getterFor,v=s.find,d=s.findIndex,y=0,g=function(t){return t.frozen||(t.frozen=new b)},b=function(){this.entries=[]},_=function(t,e){return v(t.entries,(function(t){return t[0]===e}))};b.prototype={get:function(t){var e=_(this,t);if(e)return e[1]},has:function(t){return!!_(this,t)},set:function(t,e){var r=_(this,t);r?r[1]=e:this.entries.push([t,e])},delete:function(t){var e=d(this.entries,(function(e){return e[0]===t}));return~e&&this.entries.splice(e,1),!!~e}},t.exports={getConstructor:function(t,e,r,s){var l=t((function(t,n){a(t,l,e),p(t,{type:e,id:y++,frozen:void 0}),null!=n&&c(n,t[s],t,r)})),v=h(e),d=function(t,e,r){var n=v(t),u=o(i(e),!0);return!0===u?g(n).set(e,r):u[n.id]=r,t};return n(l.prototype,{delete:function(t){var e=v(this);if(!u(t))return!1;var r=o(t);return!0===r?g(e).delete(t):r&&f(r,e.id)&&delete r[e.id]},has:function(t){var e=v(this);if(!u(t))return!1;var r=o(t);return!0===r?g(e).has(t):r&&f(r,e.id)}}),n(l.prototype,r?{get:function(t){var e=v(this);if(u(t)){var r=o(t);return!0===r?g(e).get(t):r?r[e.id]:void 0}},set:function(t,e){return d(this,t,e)}}:{add:function(t){return d(this,t,!0)}}),l}}},66606:(t,e,r)=>{"use strict";var n=r(29638),o=r(45001),i=r(91092),u=r(96313),a=r(81738),c=r(98971),s=r(72814),f=r(62366),l=r(25061),p=r(13165),h=r(40606),v=r(3419);t.exports=function(t,e,r,d,y){var g=o[t],b=g&&g.prototype,_=g,x=d?"set":"add",m={},w=function(t){var e=b[t];u(b,t,"add"==t?function(t){return e.call(this,0===t?0:t),this}:"delete"==t?function(t){return!(y&&!f(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return y&&!f(t)?void 0:e.call(this,0===t?0:t)}:"has"==t?function(t){return!(y&&!f(t))&&e.call(this,0===t?0:t)}:function(t,r){return e.call(this,0===t?0:t,r),this})};if(i(t,"function"!=typeof g||!(y||b.forEach&&!l((function(){(new g).entries().next()})))))_=r.getConstructor(e,t,d,x),a.REQUIRED=!0;else if(i(t,!0)){var O=new _,E=O[x](y?{}:-0,1)!=O,j=l((function(){O.has(1)})),S=p((function(t){new g(t)})),T=!y&&l((function(){for(var t=new g,e=5;e--;)t[x](e,e);return!t.has(-0)}));S||((_=e((function(e,r){s(e,_,t);var n=v(new g,e,_);return null!=r&&c(r,n[x],n,d),n}))).prototype=b,b.constructor=_),(j||T)&&(w("delete"),w("has"),d&&w("get")),(T||E)&&w(x),y&&b.clear&&delete b.clear}return m[t]=_,n({global:!0,forced:_!=g},m),h(_,t),y||r.setStrong(_,t,d),_}},46810:(t,e,r)=>{var n=r(51900),o=r(62466),i=r(8117),u=r(56462);t.exports=function(t,e){for(var r=o(e),a=u.f,c=i.f,s=0;s<r.length;s++){var f=r[s];n(t,f)||a(t,f,c(e,f))}}},10149:(t,e,r)=>{var n=r(25061);t.exports=!n((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},62141:(t,e,r)=>{"use strict";var n=r(61151).IteratorPrototype,o=r(22275),i=r(86034),u=r(40606),a=r(80501),c=function(){return this};t.exports=function(t,e,r){var s=e+" Iterator";return t.prototype=o(n,{next:i(1,r)}),u(t,s,!1,!0),a[s]=c,t}},50430:(t,e,r)=>{var n=r(11502),o=r(56462),i=r(86034);t.exports=n?function(t,e,r){return o.f(t,e,i(1,r))}:function(t,e,r){return t[e]=r,t}},86034:t=>{t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},30645:(t,e,r)=>{"use strict";var n=r(29638),o=r(62141),i=r(64320),u=r(22848),a=r(40606),c=r(50430),s=r(96313),f=r(46802),l=r(20013),p=r(80501),h=r(61151),v=h.IteratorPrototype,d=h.BUGGY_SAFARI_ITERATORS,y=f("iterator"),g="keys",b="values",_="entries",x=function(){return this};t.exports=function(t,e,r,f,h,m,w){o(r,e,f);var O,E,j,S=function(t){if(t===h&&R)return R;if(!d&&t in M)return M[t];switch(t){case g:case b:case _:return function(){return new r(this,t)}}return function(){return new r(this)}},T=e+" Iterator",A=!1,M=t.prototype,I=M[y]||M["@@iterator"]||h&&M[h],R=!d&&I||S(h),k="Array"==e&&M.entries||I;if(k&&(O=i(k.call(new t)),v!==Object.prototype&&O.next&&(l||i(O)===v||(u?u(O,v):"function"!=typeof O[y]&&c(O,y,x)),a(O,T,!0,!0),l&&(p[T]=x))),h==b&&I&&I.name!==b&&(A=!0,R=function(){return I.call(this)}),l&&!w||M[y]===R||c(M,y,R),p[e]=R,h)if(E={values:S(b),keys:m?R:S(g),entries:S(_)},w)for(j in E)(d||A||!(j in M))&&s(M,j,E[j]);else n({target:e,proto:!0,forced:d||A},E);return E}},11502:(t,e,r)=>{var n=r(25061);t.exports=!n((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},36009:(t,e,r)=>{var n=r(45001),o=r(62366),i=n.document,u=o(i)&&o(i.createElement);t.exports=function(t){return u?i.createElement(t):{}}},58514:t=>{t.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}},72089:t=>{t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},29638:(t,e,r)=>{var n=r(45001),o=r(8117).f,i=r(50430),u=r(96313),a=r(88506),c=r(46810),s=r(91092);t.exports=function(t,e){var r,f,l,p,h,v=t.target,d=t.global,y=t.stat;if(r=d?n:y?n[v]||a(v,{}):(n[v]||{}).prototype)for(f in e){if(p=e[f],l=t.noTargetGet?(h=o(r,f))&&h.value:r[f],!s(d?f:v+(y?".":"#")+f,t.forced)&&void 0!==l){if(typeof p==typeof l)continue;c(p,l)}(t.sham||l&&l.sham)&&i(p,"sham",!0),u(r,f,p,t)}}},25061:t=>{t.exports=function(t){try{return!!t()}catch(t){return!0}}},95453:(t,e,r)=>{"use strict";var n=r(50430),o=r(96313),i=r(25061),u=r(46802),a=r(44847),c=u("species"),s=!i((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),f=!i((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var r="ab".split(t);return 2!==r.length||"a"!==r[0]||"b"!==r[1]}));t.exports=function(t,e,r,l){var p=u(t),h=!i((function(){var e={};return e[p]=function(){return 7},7!=""[t](e)})),v=h&&!i((function(){var e=!1,r=/a/;return"split"===t&&((r={}).constructor={},r.constructor[c]=function(){return r},r.flags="",r[p]=/./[p]),r.exec=function(){return e=!0,null},r[p](""),!e}));if(!h||!v||"replace"===t&&!s||"split"===t&&!f){var d=/./[p],y=r(p,""[t],(function(t,e,r,n,o){return e.exec===a?h&&!o?{done:!0,value:d.call(e,r,n)}:{done:!0,value:t.call(r,e,n)}:{done:!1}})),g=y[0],b=y[1];o(String.prototype,t,g),o(RegExp.prototype,p,2==e?function(t,e){return b.call(t,this,e)}:function(t){return b.call(t,this)}),l&&n(RegExp.prototype[p],"sham",!0)}}},98218:(t,e,r)=>{var n=r(25061);t.exports=!n((function(){return Object.isExtensible(Object.preventExtensions({}))}))},21501:(t,e,r)=>{var n=r(6809);t.exports=n("native-function-to-string",Function.toString)},3425:(t,e,r)=>{var n=r(53757),o=r(45001),i=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?i(n[t])||i(o[t]):n[t]&&n[t][e]||o[t]&&o[t][e]}},26354:(t,e,r)=>{var n=r(20486),o=r(80501),i=r(46802)("iterator");t.exports=function(t){if(null!=t)return t[i]||t["@@iterator"]||o[n(t)]}},45001:(t,e,r)=>{var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||Function("return this")()},51900:t=>{var e={}.hasOwnProperty;t.exports=function(t,r){return e.call(t,r)}},92499:t=>{t.exports={}},12118:(t,e,r)=>{var n=r(3425);t.exports=n("document","documentElement")},17788:(t,e,r)=>{var n=r(11502),o=r(25061),i=r(36009);t.exports=!n&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},62901:(t,e,r)=>{var n=r(25061),o=r(75489),i="".split;t.exports=n((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?i.call(t,""):Object(t)}:Object},3419:(t,e,r)=>{var n=r(62366),o=r(22848);t.exports=function(t,e,r){var i,u;return o&&"function"==typeof(i=e.constructor)&&i!==r&&n(u=i.prototype)&&u!==r.prototype&&o(t,u),t}},81738:(t,e,r)=>{var n=r(92499),o=r(62366),i=r(51900),u=r(56462).f,a=r(41050),c=r(98218),s=a("meta"),f=0,l=Object.isExtensible||function(){return!0},p=function(t){u(t,s,{value:{objectID:"O"+ ++f,weakData:{}}})},h=t.exports={REQUIRED:!1,fastKey:function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,s)){if(!l(t))return"F";if(!e)return"E";p(t)}return t[s].objectID},getWeakData:function(t,e){if(!i(t,s)){if(!l(t))return!0;if(!e)return!1;p(t)}return t[s].weakData},onFreeze:function(t){return c&&h.REQUIRED&&l(t)&&!i(t,s)&&p(t),t}};n[s]=!0},50684:(t,e,r)=>{var n,o,i,u=r(77650),a=r(45001),c=r(62366),s=r(50430),f=r(51900),l=r(61695),p=r(92499),h=a.WeakMap;if(u){var v=new h,d=v.get,y=v.has,g=v.set;n=function(t,e){return g.call(v,t,e),e},o=function(t){return d.call(v,t)||{}},i=function(t){return y.call(v,t)}}else{var b=l("state");p[b]=!0,n=function(t,e){return s(t,b,e),e},o=function(t){return f(t,b)?t[b]:{}},i=function(t){return f(t,b)}}t.exports={set:n,get:o,has:i,enforce:function(t){return i(t)?o(t):n(t,{})},getterFor:function(t){return function(e){var r;if(!c(e)||(r=o(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return r}}}},55557:(t,e,r)=>{var n=r(46802),o=r(80501),i=n("iterator"),u=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||u[i]===t)}},20119:(t,e,r)=>{var n=r(75489);t.exports=Array.isArray||function(t){return"Array"==n(t)}},91092:(t,e,r)=>{var n=r(25061),o=/#|\.prototype\./,i=function(t,e){var r=a[u(t)];return r==s||r!=c&&("function"==typeof e?n(e):!!e)},u=i.normalize=function(t){return String(t).replace(o,".").toLowerCase()},a=i.data={},c=i.NATIVE="N",s=i.POLYFILL="P";t.exports=i},62366:t=>{t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},20013:t=>{t.exports=!1},98971:(t,e,r)=>{var n=r(4905),o=r(55557),i=r(74479),u=r(17755),a=r(26354),c=r(35304),s=function(t,e){this.stopped=t,this.result=e};(t.exports=function(t,e,r,f,l){var p,h,v,d,y,g,b,_=u(e,r,f?2:1);if(l)p=t;else{if("function"!=typeof(h=a(t)))throw TypeError("Target is not iterable");if(o(h)){for(v=0,d=i(t.length);d>v;v++)if((y=f?_(n(b=t[v])[0],b[1]):_(t[v]))&&y instanceof s)return y;return new s(!1)}p=h.call(t)}for(g=p.next;!(b=g.call(p)).done;)if("object"==typeof(y=c(p,_,b.value,f))&&y&&y instanceof s)return y;return new s(!1)}).stop=function(t){return new s(!0,t)}},61151:(t,e,r)=>{"use strict";var n,o,i,u=r(64320),a=r(50430),c=r(51900),s=r(46802),f=r(20013),l=s("iterator"),p=!1;[].keys&&("next"in(i=[].keys())?(o=u(u(i)))!==Object.prototype&&(n=o):p=!0),null==n&&(n={}),f||c(n,l)||a(n,l,(function(){return this})),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:p}},80501:t=>{t.exports={}},99262:(t,e,r)=>{var n=r(25061);t.exports=!!Object.getOwnPropertySymbols&&!n((function(){return!String(Symbol())}))},77650:(t,e,r)=>{var n=r(45001),o=r(21501),i=n.WeakMap;t.exports="function"==typeof i&&/native code/.test(o.call(i))},71640:(t,e,r)=>{"use strict";var n=r(11502),o=r(25061),i=r(89749),u=r(72822),a=r(49265),c=r(87615),s=r(62901),f=Object.assign;t.exports=!f||o((function(){var t={},e={},r=Symbol(),n="abcdefghijklmnopqrst";return t[r]=7,n.split("").forEach((function(t){e[t]=t})),7!=f({},t)[r]||i(f({},e)).join("")!=n}))?function(t,e){for(var r=c(t),o=arguments.length,f=1,l=u.f,p=a.f;o>f;)for(var h,v=s(arguments[f++]),d=l?i(v).concat(l(v)):i(v),y=d.length,g=0;y>g;)h=d[g++],n&&!p.call(v,h)||(r[h]=v[h]);return r}:f},22275:(t,e,r)=>{var n=r(4905),o=r(56191),i=r(72089),u=r(92499),a=r(12118),c=r(36009),s=r(61695)("IE_PROTO"),f="prototype",l=function(){},p=function(){var t,e=c("iframe"),r=i.length,n="script",o="java"+n+":";for(e.style.display="none",a.appendChild(e),e.src=String(o),(t=e.contentWindow.document).open(),t.write("<"+n+">document.F=Object</"+n+">"),t.close(),p=t.F;r--;)delete p[f][i[r]];return p()};t.exports=Object.create||function(t,e){var r;return null!==t?(l[f]=n(t),r=new l,l[f]=null,r[s]=t):r=p(),void 0===e?r:o(r,e)},u[s]=!0},56191:(t,e,r)=>{var n=r(11502),o=r(56462),i=r(4905),u=r(89749);t.exports=n?Object.defineProperties:function(t,e){i(t);for(var r,n=u(e),a=n.length,c=0;a>c;)o.f(t,r=n[c++],e[r]);return t}},56462:(t,e,r)=>{var n=r(11502),o=r(17788),i=r(4905),u=r(76973),a=Object.defineProperty;e.f=n?a:function(t,e,r){if(i(t),e=u(e,!0),i(r),o)try{return a(t,e,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},8117:(t,e,r)=>{var n=r(11502),o=r(49265),i=r(86034),u=r(40678),a=r(76973),c=r(51900),s=r(17788),f=Object.getOwnPropertyDescriptor;e.f=n?f:function(t,e){if(t=u(t),e=a(e,!0),s)try{return f(t,e)}catch(t){}if(c(t,e))return i(!o.f.call(t,e),t[e])}},59219:(t,e,r)=>{var n=r(23855),o=r(72089).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,o)}},72822:(t,e)=>{e.f=Object.getOwnPropertySymbols},64320:(t,e,r)=>{var n=r(51900),o=r(87615),i=r(61695),u=r(10149),a=i("IE_PROTO"),c=Object.prototype;t.exports=u?Object.getPrototypeOf:function(t){return t=o(t),n(t,a)?t[a]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?c:null}},23855:(t,e,r)=>{var n=r(51900),o=r(40678),i=r(5029).indexOf,u=r(92499);t.exports=function(t,e){var r,a=o(t),c=0,s=[];for(r in a)!n(u,r)&&n(a,r)&&s.push(r);for(;e.length>c;)n(a,r=e[c++])&&(~i(s,r)||s.push(r));return s}},89749:(t,e,r)=>{var n=r(23855),o=r(72089);t.exports=Object.keys||function(t){return n(t,o)}},49265:(t,e)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,o=n&&!r.call({1:2},1);e.f=o?function(t){var e=n(this,t);return!!e&&e.enumerable}:r},22848:(t,e,r)=>{var n=r(4905),o=r(29076);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(r,[]),e=r instanceof Array}catch(t){}return function(r,i){return n(r),o(i),e?t.call(r,i):r.__proto__=i,r}}():void 0)},45085:(t,e,r)=>{"use strict";var n=r(20486),o={};o[r(46802)("toStringTag")]="z",t.exports="[object z]"!==String(o)?function(){return"[object "+n(this)+"]"}:o.toString},62466:(t,e,r)=>{var n=r(3425),o=r(59219),i=r(72822),u=r(4905);t.exports=n("Reflect","ownKeys")||function(t){var e=o.f(u(t)),r=i.f;return r?e.concat(r(t)):e}},7206:(t,e,r)=>{var n=r(45001),o=r(9522).trim,i=r(49309),u=n.parseInt,a=/^[+-]?0[Xx]/,c=8!==u(i+"08")||22!==u(i+"0x16");t.exports=c?function(t,e){var r=o(String(t));return u(r,e>>>0||(a.test(r)?16:10))}:u},53757:(t,e,r)=>{t.exports=r(45001)},86846:(t,e,r)=>{var n=r(96313);t.exports=function(t,e,r){for(var o in e)n(t,o,e[o],r);return t}},96313:(t,e,r)=>{var n=r(45001),o=r(6809),i=r(50430),u=r(51900),a=r(88506),c=r(21501),s=r(50684),f=s.get,l=s.enforce,p=String(c).split("toString");o("inspectSource",(function(t){return c.call(t)})),(t.exports=function(t,e,r,o){var c=!!o&&!!o.unsafe,s=!!o&&!!o.enumerable,f=!!o&&!!o.noTargetGet;"function"==typeof r&&("string"!=typeof e||u(r,"name")||i(r,"name",e),l(r).source=p.join("string"==typeof e?e:"")),t!==n?(c?!f&&t[e]&&(s=!0):delete t[e],s?t[e]=r:i(t,e,r)):s?t[e]=r:a(e,r)})(Function.prototype,"toString",(function(){return"function"==typeof this&&f(this).source||c.call(this)}))},41847:(t,e,r)=>{var n=r(75489),o=r(44847);t.exports=function(t,e){var r=t.exec;if("function"==typeof r){var i=r.call(t,e);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==n(t))throw TypeError("RegExp#exec called on incompatible receiver");return o.call(t,e)}},44847:(t,e,r)=>{"use strict";var n,o,i=r(5268),u=RegExp.prototype.exec,a=String.prototype.replace,c=u,s=(n=/a/,o=/b*/g,u.call(n,"a"),u.call(o,"a"),0!==n.lastIndex||0!==o.lastIndex),f=void 0!==/()??/.exec("")[1];(s||f)&&(c=function(t){var e,r,n,o,c=this;return f&&(r=new RegExp("^"+c.source+"$(?!\\s)",i.call(c))),s&&(e=c.lastIndex),n=u.call(c,t),s&&n&&(c.lastIndex=c.global?n.index+n[0].length:e),f&&n&&n.length>1&&a.call(n[0],r,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(n[o]=void 0)})),n}),t.exports=c},5268:(t,e,r)=>{"use strict";var n=r(4905);t.exports=function(){var t=n(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},64475:t=>{t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},88506:(t,e,r)=>{var n=r(45001),o=r(50430);t.exports=function(t,e){try{o(n,t,e)}catch(r){n[t]=e}return e}},40606:(t,e,r)=>{var n=r(56462).f,o=r(51900),i=r(46802)("toStringTag");t.exports=function(t,e,r){t&&!o(t=r?t:t.prototype,i)&&n(t,i,{configurable:!0,value:e})}},61695:(t,e,r)=>{var n=r(6809),o=r(41050),i=n("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},19982:(t,e,r)=>{var n=r(45001),o=r(88506),i="__core-js_shared__",u=n[i]||o(i,{});t.exports=u},6809:(t,e,r)=>{var n=r(20013),o=r(19982);(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.4.0",mode:n?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},31853:(t,e,r)=>{"use strict";var n=r(25061);t.exports=function(t,e){var r=[][t];return!r||!n((function(){r.call(null,e||function(){throw 1},1)}))}},50189:(t,e,r)=>{var n=r(90321),o=r(64475),i=function(t){return function(e,r){var i,u,a=String(o(e)),c=n(r),s=a.length;return c<0||c>=s?t?"":void 0:(i=a.charCodeAt(c))<55296||i>56319||c+1===s||(u=a.charCodeAt(c+1))<56320||u>57343?t?a.charAt(c):i:t?a.slice(c,c+2):u-56320+(i-55296<<10)+65536}};t.exports={codeAt:i(!1),charAt:i(!0)}},9522:(t,e,r)=>{var n=r(64475),o="["+r(49309)+"]",i=RegExp("^"+o+o+"*"),u=RegExp(o+o+"*$"),a=function(t){return function(e){var r=String(n(e));return 1&t&&(r=r.replace(i,"")),2&t&&(r=r.replace(u,"")),r}};t.exports={start:a(1),end:a(2),trim:a(3)}},6971:(t,e,r)=>{var n=r(90321),o=Math.max,i=Math.min;t.exports=function(t,e){var r=n(t);return r<0?o(r+e,0):i(r,e)}},40678:(t,e,r)=>{var n=r(62901),o=r(64475);t.exports=function(t){return n(o(t))}},90321:t=>{var e=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:e)(t)}},74479:(t,e,r)=>{var n=r(90321),o=Math.min;t.exports=function(t){return t>0?o(n(t),9007199254740991):0}},87615:(t,e,r)=>{var n=r(64475);t.exports=function(t){return Object(n(t))}},76973:(t,e,r)=>{var n=r(62366);t.exports=function(t,e){if(!n(t))return t;var r,o;if(e&&"function"==typeof(r=t.toString)&&!n(o=r.call(t)))return o;if("function"==typeof(r=t.valueOf)&&!n(o=r.call(t)))return o;if(!e&&"function"==typeof(r=t.toString)&&!n(o=r.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},41050:t=>{var e=0,r=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++e+r).toString(36)}},84583:(t,e,r)=>{var n=r(3425);t.exports=n("navigator","userAgent")||""},24101:(t,e,r)=>{var n,o,i=r(45001),u=r(84583),a=i.process,c=a&&a.versions,s=c&&c.v8;s?o=(n=s.split("."))[0]+n[1]:u&&(!(n=u.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=u.match(/Chrome\/(\d+)/))&&(o=n[1]),t.exports=o&&+o},46802:(t,e,r)=>{var n=r(45001),o=r(6809),i=r(41050),u=r(99262),a=n.Symbol,c=o("wks");t.exports=function(t){return c[t]||(c[t]=u&&a[t]||(u?a:i)("Symbol."+t))}},49309:t=>{t.exports="\t\n\v\f\r \u2028\u2029\ufeff"},15296:(t,e,r)=>{"use strict";var n=r(29638),o=r(72758).filter;n({target:"Array",proto:!0,forced:!r(95611)("filter")},{filter:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},94386:(t,e,r)=>{"use strict";var n=r(29638),o=r(16607);n({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},48868:(t,e,r)=>{"use strict";var n=r(40678),o=r(5822),i=r(80501),u=r(50684),a=r(30645),c="Array Iterator",s=u.set,f=u.getterFor(c);t.exports=a(Array,"Array",(function(t,e){s(this,{type:c,target:n(t),index:0,kind:e})}),(function(){var t=f(this),e=t.target,r=t.kind,n=t.index++;return!e||n>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:n,done:!1}:"values"==r?{value:e[n],done:!1}:{value:[n,e[n]],done:!1}}),"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},82937:(t,e,r)=>{"use strict";var n=r(29638),o=r(62040).left;n({target:"Array",proto:!0,forced:r(31853)("reduce")},{reduce:function(t){return o(this,t,arguments.length,arguments.length>1?arguments[1]:void 0)}})},66403:(t,e,r)=>{var n=r(11502),o=r(56462).f,i=Function.prototype,u=i.toString,a=/^\s*function ([^ (]*)/,c="name";n&&!(c in i)&&o(i,c,{configurable:!0,get:function(){try{return u.call(this).match(a)[1]}catch(t){return""}}})},96609:(t,e,r)=>{var n=r(29638),o=r(71640);n({target:"Object",stat:!0,forced:Object.assign!==o},{assign:o})},92274:(t,e,r)=>{var n=r(96313),o=r(45085),i=Object.prototype;o!==i.toString&&n(i,"toString",o,{unsafe:!0})},68268:(t,e,r)=>{var n=r(29638),o=r(7206);n({global:!0,forced:parseInt!=o},{parseInt:o})},42295:(t,e,r)=>{"use strict";var n=r(29638),o=r(44847);n({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},81874:(t,e,r)=>{"use strict";var n=r(50189).charAt,o=r(50684),i=r(30645),u="String Iterator",a=o.set,c=o.getterFor(u);i(String,"String",(function(t){a(this,{type:u,string:String(t),index:0})}),(function(){var t,e=c(this),r=e.string,o=e.index;return o>=r.length?{value:void 0,done:!0}:(t=n(r,o),e.index+=t.length,{value:t,done:!1})}))},52963:(t,e,r)=>{"use strict";var n=r(95453),o=r(4905),i=r(74479),u=r(64475),a=r(25528),c=r(41847);n("match",1,(function(t,e,r){return[function(e){var r=u(this),n=null==e?void 0:e[t];return void 0!==n?n.call(e,r):new RegExp(e)[t](String(r))},function(t){var n=r(e,t,this);if(n.done)return n.value;var u=o(t),s=String(this);if(!u.global)return c(u,s);var f=u.unicode;u.lastIndex=0;for(var l,p=[],h=0;null!==(l=c(u,s));){var v=String(l[0]);p[h]=v,""===v&&(u.lastIndex=a(s,i(u.lastIndex),f)),h++}return 0===h?null:p}]}))},34994:(t,e,r)=>{"use strict";var n=r(95453),o=r(4905),i=r(87615),u=r(74479),a=r(90321),c=r(64475),s=r(25528),f=r(41847),l=Math.max,p=Math.min,h=Math.floor,v=/\$([$&'`]|\d\d?|<[^>]*>)/g,d=/\$([$&'`]|\d\d?)/g;n("replace",2,(function(t,e,r){return[function(r,n){var o=c(this),i=null==r?void 0:r[t];return void 0!==i?i.call(r,o,n):e.call(String(o),r,n)},function(t,i){var c=r(e,t,this,i);if(c.done)return c.value;var h=o(t),v=String(this),d="function"==typeof i;d||(i=String(i));var y=h.global;if(y){var g=h.unicode;h.lastIndex=0}for(var b=[];;){var _=f(h,v);if(null===_)break;if(b.push(_),!y)break;""===String(_[0])&&(h.lastIndex=s(v,u(h.lastIndex),g))}for(var x,m="",w=0,O=0;O<b.length;O++){_=b[O];for(var E=String(_[0]),j=l(p(a(_.index),v.length),0),S=[],T=1;T<_.length;T++)S.push(void 0===(x=_[T])?x:String(x));var A=_.groups;if(d){var M=[E].concat(S,j,v);void 0!==A&&M.push(A);var I=String(i.apply(void 0,M))}else I=n(E,v,j,S,A,i);j>=w&&(m+=v.slice(w,j)+I,w=j+E.length)}return m+v.slice(w)}];function n(t,r,n,o,u,a){var c=n+t.length,s=o.length,f=d;return void 0!==u&&(u=i(u),f=v),e.call(a,f,(function(e,i){var a;switch(i.charAt(0)){case"$":return"$";case"&":return t;case"`":return r.slice(0,n);case"'":return r.slice(c);case"<":a=u[i.slice(1,-1)];break;default:var f=+i;if(0===f)return e;if(f>s){var l=h(f/10);return 0===l?e:l<=s?void 0===o[l-1]?i.charAt(1):o[l-1]+i.charAt(1):e}a=o[f-1]}return void 0===a?"":a}))}}))},31341:(t,e,r)=>{"use strict";var n,o=r(45001),i=r(86846),u=r(81738),a=r(66606),c=r(53769),s=r(62366),f=r(50684).enforce,l=r(77650),p=!o.ActiveXObject&&"ActiveXObject"in o,h=Object.isExtensible,v=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},d=t.exports=a("WeakMap",v,c,!0,!0);if(l&&p){n=c.getConstructor(v,"WeakMap",!0),u.REQUIRED=!0;var y=d.prototype,g=y.delete,b=y.has,_=y.get,x=y.set;i(y,{delete:function(t){if(s(t)&&!h(t)){var e=f(this);return e.frozen||(e.frozen=new n),g.call(this,t)||e.frozen.delete(t)}return g.call(this,t)},has:function(t){if(s(t)&&!h(t)){var e=f(this);return e.frozen||(e.frozen=new n),b.call(this,t)||e.frozen.has(t)}return b.call(this,t)},get:function(t){if(s(t)&&!h(t)){var e=f(this);return e.frozen||(e.frozen=new n),b.call(this,t)?_.call(this,t):e.frozen.get(t)}return _.call(this,t)},set:function(t,e){if(s(t)&&!h(t)){var r=f(this);r.frozen||(r.frozen=new n),b.call(this,t)?x.call(this,t,e):r.frozen.set(t,e)}else x.call(this,t,e);return this}})}},54861:(t,e,r)=>{var n=r(45001),o=r(58514),i=r(48868),u=r(50430),a=r(46802),c=a("iterator"),s=a("toStringTag"),f=i.values;for(var l in o){var p=n[l],h=p&&p.prototype;if(h){if(h[c]!==f)try{u(h,c,f)}catch(t){h[c]=f}if(h[s]||u(h,s,l),o[l])for(var v in i)if(h[v]!==i[v])try{u(h,v,i[v])}catch(t){h[v]=i[v]}}}},40001:(t,e,r)=>{var n=/^\s+|\s+$/g,o=/^[-+]0x[0-9a-f]+$/i,i=/^0b[01]+$/i,u=/^0o[0-7]+$/i,a=parseInt,c="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g,s="object"==typeof self&&self&&self.Object===Object&&self,f=c||s||Function("return this")(),l=Object.prototype.toString,p=Math.max,h=Math.min,v=function(){return f.Date.now()};function d(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function y(t){if("number"==typeof t)return t;if(function(t){return"symbol"==typeof t||function(t){return!!t&&"object"==typeof t}(t)&&"[object Symbol]"==l.call(t)}(t))return NaN;if(d(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=d(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(n,"");var r=i.test(t);return r||u.test(t)?a(t.slice(2),r?2:8):o.test(t)?NaN:+t}t.exports=function(t,e,r){var n,o,i,u,a,c,s=0,f=!1,l=!1,g=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function b(e){var r=n,i=o;return n=o=void 0,s=e,u=t.apply(i,r)}function _(t){var r=t-c;return void 0===c||r>=e||r<0||l&&t-s>=i}function x(){var t=v();if(_(t))return m(t);a=setTimeout(x,function(t){var r=e-(t-c);return l?h(r,i-(t-s)):r}(t))}function m(t){return a=void 0,g&&n?b(t):(n=o=void 0,u)}function w(){var t=v(),r=_(t);if(n=arguments,o=this,c=t,r){if(void 0===a)return function(t){return s=t,a=setTimeout(x,e),f?b(t):u}(c);if(l)return a=setTimeout(x,e),b(c)}return void 0===a&&(a=setTimeout(x,e)),u}return e=y(e)||0,d(r)&&(f=!!r.leading,i=(l="maxWait"in r)?p(y(r.maxWait)||0,e):i,g="trailing"in r?!!r.trailing:g),w.cancel=function(){void 0!==a&&clearTimeout(a),s=0,n=c=o=a=void 0},w.flush=function(){return void 0===a?u:m(v())},w}},98511:(t,e,r)=>{var n,o="__lodash_hash_undefined__",i="[object Function]",u="[object GeneratorFunction]",a=/^\[object .+?Constructor\]$/,c="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g,s="object"==typeof self&&self&&self.Object===Object&&self,f=c||s||Function("return this")(),l=Array.prototype,p=Function.prototype,h=Object.prototype,v=f["__core-js_shared__"],d=(n=/[^.]+$/.exec(v&&v.keys&&v.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",y=p.toString,g=h.hasOwnProperty,b=h.toString,_=RegExp("^"+y.call(g).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),x=l.splice,m=A(f,"Map"),w=A(Object,"create");function O(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function E(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function j(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function S(t,e){for(var r,n,o=t.length;o--;)if((r=t[o][0])===(n=e)||r!=r&&n!=n)return o;return-1}function T(t,e){var r,n,o=t.__data__;return("string"==(n=typeof(r=e))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==r:null===r)?o["string"==typeof e?"string":"hash"]:o.map}function A(t,e){var r=function(t,e){return null==t?void 0:t[e]}(t,e);return function(t){if(!I(t)||d&&d in t)return!1;var e=function(t){var e=I(t)?b.call(t):"";return e==i||e==u}(t)||function(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(t){}return e}(t)?_:a;return e.test(function(t){if(null!=t){try{return y.call(t)}catch(t){}try{return t+""}catch(t){}}return""}(t))}(r)?r:void 0}function M(t,e){if("function"!=typeof t||e&&"function"!=typeof e)throw new TypeError("Expected a function");var r=function(){var n=arguments,o=e?e.apply(this,n):n[0],i=r.cache;if(i.has(o))return i.get(o);var u=t.apply(this,n);return r.cache=i.set(o,u),u};return r.cache=new(M.Cache||j),r}function I(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}O.prototype.clear=function(){this.__data__=w?w(null):{}},O.prototype.delete=function(t){return this.has(t)&&delete this.__data__[t]},O.prototype.get=function(t){var e=this.__data__;if(w){var r=e[t];return r===o?void 0:r}return g.call(e,t)?e[t]:void 0},O.prototype.has=function(t){var e=this.__data__;return w?void 0!==e[t]:g.call(e,t)},O.prototype.set=function(t,e){return this.__data__[t]=w&&void 0===e?o:e,this},E.prototype.clear=function(){this.__data__=[]},E.prototype.delete=function(t){var e=this.__data__,r=S(e,t);return!(r<0||(r==e.length-1?e.pop():x.call(e,r,1),0))},E.prototype.get=function(t){var e=this.__data__,r=S(e,t);return r<0?void 0:e[r][1]},E.prototype.has=function(t){return S(this.__data__,t)>-1},E.prototype.set=function(t,e){var r=this.__data__,n=S(r,t);return n<0?r.push([t,e]):r[n][1]=e,this},j.prototype.clear=function(){this.__data__={hash:new O,map:new(m||E),string:new O}},j.prototype.delete=function(t){return T(this,t).delete(t)},j.prototype.get=function(t){return T(this,t).get(t)},j.prototype.has=function(t){return T(this,t).has(t)},j.prototype.set=function(t,e){return T(this,t).set(t,e),this},M.Cache=j,t.exports=M},50200:(t,e,r)=>{var n="Expected a function",o=NaN,i="[object Symbol]",u=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,s=/^0o[0-7]+$/i,f=parseInt,l="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g,p="object"==typeof self&&self&&self.Object===Object&&self,h=l||p||Function("return this")(),v=Object.prototype.toString,d=Math.max,y=Math.min,g=function(){return h.Date.now()};function b(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function _(t){if("number"==typeof t)return t;if(function(t){return"symbol"==typeof t||function(t){return!!t&&"object"==typeof t}(t)&&v.call(t)==i}(t))return o;if(b(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=b(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(u,"");var r=c.test(t);return r||s.test(t)?f(t.slice(2),r?2:8):a.test(t)?o:+t}t.exports=function(t,e,r){var o=!0,i=!0;if("function"!=typeof t)throw new TypeError(n);return b(r)&&(o="leading"in r?!!r.leading:o,i="trailing"in r?!!r.trailing:i),function(t,e,r){var o,i,u,a,c,s,f=0,l=!1,p=!1,h=!0;if("function"!=typeof t)throw new TypeError(n);function v(e){var r=o,n=i;return o=i=void 0,f=e,a=t.apply(n,r)}function x(t){var r=t-s;return void 0===s||r>=e||r<0||p&&t-f>=u}function m(){var t=g();if(x(t))return w(t);c=setTimeout(m,function(t){var r=e-(t-s);return p?y(r,u-(t-f)):r}(t))}function w(t){return c=void 0,h&&o?v(t):(o=i=void 0,a)}function O(){var t=g(),r=x(t);if(o=arguments,i=this,s=t,r){if(void 0===c)return function(t){return f=t,c=setTimeout(m,e),l?v(t):a}(s);if(p)return c=setTimeout(m,e),v(s)}return void 0===c&&(c=setTimeout(m,e)),a}return e=_(e)||0,b(r)&&(l=!!r.leading,u=(p="maxWait"in r)?d(_(r.maxWait)||0,e):u,h="trailing"in r?!!r.trailing:h),O.cancel=function(){void 0!==c&&clearTimeout(c),f=0,o=s=i=c=void 0},O.flush=function(){return void 0===c?a:w(g())},O}(t,e,{leading:o,maxWait:e,trailing:i})}},54006:(t,e,r)=>{"use strict";r.d(e,{Z:()=>O});var n=function(){if("undefined"!=typeof Map)return Map;function t(t,e){var r=-1;return t.some((function(t,n){return t[0]===e&&(r=n,!0)})),r}return function(){function e(){this.__entries__=[]}return Object.defineProperty(e.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),e.prototype.get=function(e){var r=t(this.__entries__,e),n=this.__entries__[r];return n&&n[1]},e.prototype.set=function(e,r){var n=t(this.__entries__,e);~n?this.__entries__[n][1]=r:this.__entries__.push([e,r])},e.prototype.delete=function(e){var r=this.__entries__,n=t(r,e);~n&&r.splice(n,1)},e.prototype.has=function(e){return!!~t(this.__entries__,e)},e.prototype.clear=function(){this.__entries__.splice(0)},e.prototype.forEach=function(t,e){void 0===e&&(e=null);for(var r=0,n=this.__entries__;r<n.length;r++){var o=n[r];t.call(e,o[1],o[0])}},e}()}(),o="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,i=void 0!==r.g&&r.g.Math===Math?r.g:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),u="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(i):function(t){return setTimeout((function(){return t(Date.now())}),1e3/60)},a=["top","right","bottom","left","width","height","size","weight"],c="undefined"!=typeof MutationObserver,s=function(){function t(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(t,e){var r=!1,n=!1,o=0;function i(){r&&(r=!1,t()),n&&c()}function a(){u(i)}function c(){var t=Date.now();if(r){if(t-o<2)return;n=!0}else r=!0,n=!1,setTimeout(a,e);o=t}return c}(this.refresh.bind(this),20)}return t.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},t.prototype.removeObserver=function(t){var e=this.observers_,r=e.indexOf(t);~r&&e.splice(r,1),!e.length&&this.connected_&&this.disconnect_()},t.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},t.prototype.updateObservers_=function(){var t=this.observers_.filter((function(t){return t.gatherActive(),t.hasActive()}));return t.forEach((function(t){return t.broadcastActive()})),t.length>0},t.prototype.connect_=function(){o&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),c?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},t.prototype.disconnect_=function(){o&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},t.prototype.onTransitionEnd_=function(t){var e=t.propertyName,r=void 0===e?"":e;a.some((function(t){return!!~r.indexOf(t)}))&&this.refresh()},t.getInstance=function(){return this.instance_||(this.instance_=new t),this.instance_},t.instance_=null,t}(),f=function(t,e){for(var r=0,n=Object.keys(e);r<n.length;r++){var o=n[r];Object.defineProperty(t,o,{value:e[o],enumerable:!1,writable:!1,configurable:!0})}return t},l=function(t){return t&&t.ownerDocument&&t.ownerDocument.defaultView||i},p=g(0,0,0,0);function h(t){return parseFloat(t)||0}function v(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];return e.reduce((function(e,r){return e+h(t["border-"+r+"-width"])}),0)}var d="undefined"!=typeof SVGGraphicsElement?function(t){return t instanceof l(t).SVGGraphicsElement}:function(t){return t instanceof l(t).SVGElement&&"function"==typeof t.getBBox};function y(t){return o?d(t)?function(t){var e=t.getBBox();return g(0,0,e.width,e.height)}(t):function(t){var e=t.clientWidth,r=t.clientHeight;if(!e&&!r)return p;var n=l(t).getComputedStyle(t),o=function(t){for(var e={},r=0,n=["top","right","bottom","left"];r<n.length;r++){var o=n[r],i=t["padding-"+o];e[o]=h(i)}return e}(n),i=o.left+o.right,u=o.top+o.bottom,a=h(n.width),c=h(n.height);if("border-box"===n.boxSizing&&(Math.round(a+i)!==e&&(a-=v(n,"left","right")+i),Math.round(c+u)!==r&&(c-=v(n,"top","bottom")+u)),!function(t){return t===l(t).document.documentElement}(t)){var s=Math.round(a+i)-e,f=Math.round(c+u)-r;1!==Math.abs(s)&&(a-=s),1!==Math.abs(f)&&(c-=f)}return g(o.left,o.top,a,c)}(t):p}function g(t,e,r,n){return{x:t,y:e,width:r,height:n}}var b=function(){function t(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=g(0,0,0,0),this.target=t}return t.prototype.isActive=function(){var t=y(this.target);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},t.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t},t}(),_=function(t,e){var r,n,o,i,u,a,c,s=(n=(r=e).x,o=r.y,i=r.width,u=r.height,a="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,c=Object.create(a.prototype),f(c,{x:n,y:o,width:i,height:u,top:o,right:n+i,bottom:u+o,left:n}),c);f(this,{target:t,contentRect:s})},x=function(){function t(t,e,r){if(this.activeObservations_=[],this.observations_=new n,"function"!=typeof t)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=e,this.callbackCtx_=r}return t.prototype.observe=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof l(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)||(e.set(t,new b(t)),this.controller_.addObserver(this),this.controller_.refresh())}},t.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof l(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)&&(e.delete(t),e.size||this.controller_.removeObserver(this))}},t.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},t.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach((function(e){e.isActive()&&t.activeObservations_.push(e)}))},t.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,e=this.activeObservations_.map((function(t){return new _(t.target,t.broadcastRect())}));this.callback_.call(t,e,t),this.clearActive()}},t.prototype.clearActive=function(){this.activeObservations_.splice(0)},t.prototype.hasActive=function(){return this.activeObservations_.length>0},t}(),m="undefined"!=typeof WeakMap?new WeakMap:new n,w=function t(e){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var r=s.getInstance(),n=new x(e,r,this);m.set(this,n)};["observe","unobserve","disconnect"].forEach((function(t){w.prototype[t]=function(){var e;return(e=m.get(this))[t].apply(e,arguments)}}));const O=void 0!==i.ResizeObserver?i.ResizeObserver:w}}]);
|
|
1
|
+
(self.webpackChunk_clickview_reports=self.webpackChunk_clickview_reports||[]).push([[246],{15206:t=>{var e=!("undefined"==typeof window||!window.document||!window.document.createElement);t.exports=e},94605:t=>{t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},29076:(t,e,r)=>{var n=r(62366);t.exports=function(t){if(!n(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},5822:(t,e,r)=>{var n=r(46802),o=r(22275),i=r(50430),u=n("unscopables"),a=Array.prototype;null==a[u]&&i(a,u,o(null)),t.exports=function(t){a[u][t]=!0}},25528:(t,e,r)=>{"use strict";var n=r(50189).charAt;t.exports=function(t,e,r){return e+(r?n(t,e).length:1)}},72814:t=>{t.exports=function(t,e,r){if(!(t instanceof e))throw TypeError("Incorrect "+(r?r+" ":"")+"invocation");return t}},4905:(t,e,r)=>{var n=r(62366);t.exports=function(t){if(!n(t))throw TypeError(String(t)+" is not an object");return t}},16607:(t,e,r)=>{"use strict";var n=r(72758).forEach,o=r(31853);t.exports=o("forEach")?function(t){return n(this,t,arguments.length>1?arguments[1]:void 0)}:[].forEach},5029:(t,e,r)=>{var n=r(40678),o=r(74479),i=r(6971),u=function(t){return function(e,r,u){var a,c=n(e),s=o(c.length),f=i(u,s);if(t&&r!=r){for(;s>f;)if((a=c[f++])!=a)return!0}else for(;s>f;f++)if((t||f in c)&&c[f]===r)return t||f||0;return!t&&-1}};t.exports={includes:u(!0),indexOf:u(!1)}},72758:(t,e,r)=>{var n=r(17755),o=r(62901),i=r(87615),u=r(74479),a=r(17021),c=[].push,s=function(t){var e=1==t,r=2==t,s=3==t,f=4==t,l=6==t,p=5==t||l;return function(h,v,d,y){for(var g,b,_=i(h),x=o(_),m=n(v,d,3),w=u(x.length),O=0,E=y||a,j=e?E(h,w):r?E(h,0):void 0;w>O;O++)if((p||O in x)&&(b=m(g=x[O],O,_),t))if(e)j[O]=b;else if(b)switch(t){case 3:return!0;case 5:return g;case 6:return O;case 2:c.call(j,g)}else if(f)return!1;return l?-1:s||f?f:j}};t.exports={forEach:s(0),map:s(1),filter:s(2),some:s(3),every:s(4),find:s(5),findIndex:s(6)}},95611:(t,e,r)=>{var n=r(25061),o=r(46802),i=r(24101),u=o("species");t.exports=function(t){return i>=51||!n((function(){var e=[];return(e.constructor={})[u]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},62040:(t,e,r)=>{var n=r(94605),o=r(87615),i=r(62901),u=r(74479),a=function(t){return function(e,r,a,c){n(r);var s=o(e),f=i(s),l=u(s.length),p=t?l-1:0,h=t?-1:1;if(a<2)for(;;){if(p in f){c=f[p],p+=h;break}if(p+=h,t?p<0:l<=p)throw TypeError("Reduce of empty array with no initial value")}for(;t?p>=0:l>p;p+=h)p in f&&(c=r(c,f[p],p,s));return c}};t.exports={left:a(!1),right:a(!0)}},17021:(t,e,r)=>{var n=r(62366),o=r(20119),i=r(46802)("species");t.exports=function(t,e){var r;return o(t)&&("function"!=typeof(r=t.constructor)||r!==Array&&!o(r.prototype)?n(r)&&null===(r=r[i])&&(r=void 0):r=void 0),new(void 0===r?Array:r)(0===e?0:e)}},17755:(t,e,r)=>{var n=r(94605);t.exports=function(t,e,r){if(n(t),void 0===e)return t;switch(r){case 0:return function(){return t.call(e)};case 1:return function(r){return t.call(e,r)};case 2:return function(r,n){return t.call(e,r,n)};case 3:return function(r,n,o){return t.call(e,r,n,o)}}return function(){return t.apply(e,arguments)}}},35304:(t,e,r)=>{var n=r(4905);t.exports=function(t,e,r,o){try{return o?e(n(r)[0],r[1]):e(r)}catch(e){var i=t.return;throw void 0!==i&&n(i.call(t)),e}}},13165:(t,e,r)=>{var n=r(46802)("iterator"),o=!1;try{var i=0,u={next:function(){return{done:!!i++}},return:function(){o=!0}};u[n]=function(){return this},Array.from(u,(function(){throw 2}))}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var r=!1;try{var i={};i[n]=function(){return{next:function(){return{done:r=!0}}}},t(i)}catch(t){}return r}},75489:t=>{var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},20486:(t,e,r)=>{var n=r(75489),o=r(46802)("toStringTag"),i="Arguments"==n(function(){return arguments}());t.exports=function(t){var e,r,u;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),o))?r:i?n(e):"Object"==(u=n(e))&&"function"==typeof e.callee?"Arguments":u}},53769:(t,e,r)=>{"use strict";var n=r(86846),o=r(81738).getWeakData,i=r(4905),u=r(62366),a=r(72814),c=r(98971),s=r(72758),f=r(51900),l=r(50684),p=l.set,h=l.getterFor,v=s.find,d=s.findIndex,y=0,g=function(t){return t.frozen||(t.frozen=new b)},b=function(){this.entries=[]},_=function(t,e){return v(t.entries,(function(t){return t[0]===e}))};b.prototype={get:function(t){var e=_(this,t);if(e)return e[1]},has:function(t){return!!_(this,t)},set:function(t,e){var r=_(this,t);r?r[1]=e:this.entries.push([t,e])},delete:function(t){var e=d(this.entries,(function(e){return e[0]===t}));return~e&&this.entries.splice(e,1),!!~e}},t.exports={getConstructor:function(t,e,r,s){var l=t((function(t,n){a(t,l,e),p(t,{type:e,id:y++,frozen:void 0}),null!=n&&c(n,t[s],t,r)})),v=h(e),d=function(t,e,r){var n=v(t),u=o(i(e),!0);return!0===u?g(n).set(e,r):u[n.id]=r,t};return n(l.prototype,{delete:function(t){var e=v(this);if(!u(t))return!1;var r=o(t);return!0===r?g(e).delete(t):r&&f(r,e.id)&&delete r[e.id]},has:function(t){var e=v(this);if(!u(t))return!1;var r=o(t);return!0===r?g(e).has(t):r&&f(r,e.id)}}),n(l.prototype,r?{get:function(t){var e=v(this);if(u(t)){var r=o(t);return!0===r?g(e).get(t):r?r[e.id]:void 0}},set:function(t,e){return d(this,t,e)}}:{add:function(t){return d(this,t,!0)}}),l}}},66606:(t,e,r)=>{"use strict";var n=r(29638),o=r(45001),i=r(91092),u=r(96313),a=r(81738),c=r(98971),s=r(72814),f=r(62366),l=r(25061),p=r(13165),h=r(40606),v=r(3419);t.exports=function(t,e,r,d,y){var g=o[t],b=g&&g.prototype,_=g,x=d?"set":"add",m={},w=function(t){var e=b[t];u(b,t,"add"==t?function(t){return e.call(this,0===t?0:t),this}:"delete"==t?function(t){return!(y&&!f(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return y&&!f(t)?void 0:e.call(this,0===t?0:t)}:"has"==t?function(t){return!(y&&!f(t))&&e.call(this,0===t?0:t)}:function(t,r){return e.call(this,0===t?0:t,r),this})};if(i(t,"function"!=typeof g||!(y||b.forEach&&!l((function(){(new g).entries().next()})))))_=r.getConstructor(e,t,d,x),a.REQUIRED=!0;else if(i(t,!0)){var O=new _,E=O[x](y?{}:-0,1)!=O,j=l((function(){O.has(1)})),S=p((function(t){new g(t)})),T=!y&&l((function(){for(var t=new g,e=5;e--;)t[x](e,e);return!t.has(-0)}));S||((_=e((function(e,r){s(e,_,t);var n=v(new g,e,_);return null!=r&&c(r,n[x],n,d),n}))).prototype=b,b.constructor=_),(j||T)&&(w("delete"),w("has"),d&&w("get")),(T||E)&&w(x),y&&b.clear&&delete b.clear}return m[t]=_,n({global:!0,forced:_!=g},m),h(_,t),y||r.setStrong(_,t,d),_}},46810:(t,e,r)=>{var n=r(51900),o=r(62466),i=r(8117),u=r(56462);t.exports=function(t,e){for(var r=o(e),a=u.f,c=i.f,s=0;s<r.length;s++){var f=r[s];n(t,f)||a(t,f,c(e,f))}}},10149:(t,e,r)=>{var n=r(25061);t.exports=!n((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},62141:(t,e,r)=>{"use strict";var n=r(61151).IteratorPrototype,o=r(22275),i=r(86034),u=r(40606),a=r(80501),c=function(){return this};t.exports=function(t,e,r){var s=e+" Iterator";return t.prototype=o(n,{next:i(1,r)}),u(t,s,!1,!0),a[s]=c,t}},50430:(t,e,r)=>{var n=r(11502),o=r(56462),i=r(86034);t.exports=n?function(t,e,r){return o.f(t,e,i(1,r))}:function(t,e,r){return t[e]=r,t}},86034:t=>{t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},30645:(t,e,r)=>{"use strict";var n=r(29638),o=r(62141),i=r(64320),u=r(22848),a=r(40606),c=r(50430),s=r(96313),f=r(46802),l=r(20013),p=r(80501),h=r(61151),v=h.IteratorPrototype,d=h.BUGGY_SAFARI_ITERATORS,y=f("iterator"),g="keys",b="values",_="entries",x=function(){return this};t.exports=function(t,e,r,f,h,m,w){o(r,e,f);var O,E,j,S=function(t){if(t===h&&R)return R;if(!d&&t in M)return M[t];switch(t){case g:case b:case _:return function(){return new r(this,t)}}return function(){return new r(this)}},T=e+" Iterator",A=!1,M=t.prototype,I=M[y]||M["@@iterator"]||h&&M[h],R=!d&&I||S(h),k="Array"==e&&M.entries||I;if(k&&(O=i(k.call(new t)),v!==Object.prototype&&O.next&&(l||i(O)===v||(u?u(O,v):"function"!=typeof O[y]&&c(O,y,x)),a(O,T,!0,!0),l&&(p[T]=x))),h==b&&I&&I.name!==b&&(A=!0,R=function(){return I.call(this)}),l&&!w||M[y]===R||c(M,y,R),p[e]=R,h)if(E={values:S(b),keys:m?R:S(g),entries:S(_)},w)for(j in E)(d||A||!(j in M))&&s(M,j,E[j]);else n({target:e,proto:!0,forced:d||A},E);return E}},11502:(t,e,r)=>{var n=r(25061);t.exports=!n((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},36009:(t,e,r)=>{var n=r(45001),o=r(62366),i=n.document,u=o(i)&&o(i.createElement);t.exports=function(t){return u?i.createElement(t):{}}},58514:t=>{t.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}},72089:t=>{t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},29638:(t,e,r)=>{var n=r(45001),o=r(8117).f,i=r(50430),u=r(96313),a=r(88506),c=r(46810),s=r(91092);t.exports=function(t,e){var r,f,l,p,h,v=t.target,d=t.global,y=t.stat;if(r=d?n:y?n[v]||a(v,{}):(n[v]||{}).prototype)for(f in e){if(p=e[f],l=t.noTargetGet?(h=o(r,f))&&h.value:r[f],!s(d?f:v+(y?".":"#")+f,t.forced)&&void 0!==l){if(typeof p==typeof l)continue;c(p,l)}(t.sham||l&&l.sham)&&i(p,"sham",!0),u(r,f,p,t)}}},25061:t=>{t.exports=function(t){try{return!!t()}catch(t){return!0}}},95453:(t,e,r)=>{"use strict";var n=r(50430),o=r(96313),i=r(25061),u=r(46802),a=r(44847),c=u("species"),s=!i((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),f=!i((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var r="ab".split(t);return 2!==r.length||"a"!==r[0]||"b"!==r[1]}));t.exports=function(t,e,r,l){var p=u(t),h=!i((function(){var e={};return e[p]=function(){return 7},7!=""[t](e)})),v=h&&!i((function(){var e=!1,r=/a/;return"split"===t&&((r={}).constructor={},r.constructor[c]=function(){return r},r.flags="",r[p]=/./[p]),r.exec=function(){return e=!0,null},r[p](""),!e}));if(!h||!v||"replace"===t&&!s||"split"===t&&!f){var d=/./[p],y=r(p,""[t],(function(t,e,r,n,o){return e.exec===a?h&&!o?{done:!0,value:d.call(e,r,n)}:{done:!0,value:t.call(r,e,n)}:{done:!1}})),g=y[0],b=y[1];o(String.prototype,t,g),o(RegExp.prototype,p,2==e?function(t,e){return b.call(t,this,e)}:function(t){return b.call(t,this)}),l&&n(RegExp.prototype[p],"sham",!0)}}},98218:(t,e,r)=>{var n=r(25061);t.exports=!n((function(){return Object.isExtensible(Object.preventExtensions({}))}))},21501:(t,e,r)=>{var n=r(6809);t.exports=n("native-function-to-string",Function.toString)},3425:(t,e,r)=>{var n=r(53757),o=r(45001),i=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?i(n[t])||i(o[t]):n[t]&&n[t][e]||o[t]&&o[t][e]}},26354:(t,e,r)=>{var n=r(20486),o=r(80501),i=r(46802)("iterator");t.exports=function(t){if(null!=t)return t[i]||t["@@iterator"]||o[n(t)]}},45001:(t,e,r)=>{var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||Function("return this")()},51900:t=>{var e={}.hasOwnProperty;t.exports=function(t,r){return e.call(t,r)}},92499:t=>{t.exports={}},12118:(t,e,r)=>{var n=r(3425);t.exports=n("document","documentElement")},17788:(t,e,r)=>{var n=r(11502),o=r(25061),i=r(36009);t.exports=!n&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},62901:(t,e,r)=>{var n=r(25061),o=r(75489),i="".split;t.exports=n((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?i.call(t,""):Object(t)}:Object},3419:(t,e,r)=>{var n=r(62366),o=r(22848);t.exports=function(t,e,r){var i,u;return o&&"function"==typeof(i=e.constructor)&&i!==r&&n(u=i.prototype)&&u!==r.prototype&&o(t,u),t}},81738:(t,e,r)=>{var n=r(92499),o=r(62366),i=r(51900),u=r(56462).f,a=r(41050),c=r(98218),s=a("meta"),f=0,l=Object.isExtensible||function(){return!0},p=function(t){u(t,s,{value:{objectID:"O"+ ++f,weakData:{}}})},h=t.exports={REQUIRED:!1,fastKey:function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,s)){if(!l(t))return"F";if(!e)return"E";p(t)}return t[s].objectID},getWeakData:function(t,e){if(!i(t,s)){if(!l(t))return!0;if(!e)return!1;p(t)}return t[s].weakData},onFreeze:function(t){return c&&h.REQUIRED&&l(t)&&!i(t,s)&&p(t),t}};n[s]=!0},50684:(t,e,r)=>{var n,o,i,u=r(77650),a=r(45001),c=r(62366),s=r(50430),f=r(51900),l=r(61695),p=r(92499),h=a.WeakMap;if(u){var v=new h,d=v.get,y=v.has,g=v.set;n=function(t,e){return g.call(v,t,e),e},o=function(t){return d.call(v,t)||{}},i=function(t){return y.call(v,t)}}else{var b=l("state");p[b]=!0,n=function(t,e){return s(t,b,e),e},o=function(t){return f(t,b)?t[b]:{}},i=function(t){return f(t,b)}}t.exports={set:n,get:o,has:i,enforce:function(t){return i(t)?o(t):n(t,{})},getterFor:function(t){return function(e){var r;if(!c(e)||(r=o(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return r}}}},55557:(t,e,r)=>{var n=r(46802),o=r(80501),i=n("iterator"),u=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||u[i]===t)}},20119:(t,e,r)=>{var n=r(75489);t.exports=Array.isArray||function(t){return"Array"==n(t)}},91092:(t,e,r)=>{var n=r(25061),o=/#|\.prototype\./,i=function(t,e){var r=a[u(t)];return r==s||r!=c&&("function"==typeof e?n(e):!!e)},u=i.normalize=function(t){return String(t).replace(o,".").toLowerCase()},a=i.data={},c=i.NATIVE="N",s=i.POLYFILL="P";t.exports=i},62366:t=>{t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},20013:t=>{t.exports=!1},98971:(t,e,r)=>{var n=r(4905),o=r(55557),i=r(74479),u=r(17755),a=r(26354),c=r(35304),s=function(t,e){this.stopped=t,this.result=e};(t.exports=function(t,e,r,f,l){var p,h,v,d,y,g,b,_=u(e,r,f?2:1);if(l)p=t;else{if("function"!=typeof(h=a(t)))throw TypeError("Target is not iterable");if(o(h)){for(v=0,d=i(t.length);d>v;v++)if((y=f?_(n(b=t[v])[0],b[1]):_(t[v]))&&y instanceof s)return y;return new s(!1)}p=h.call(t)}for(g=p.next;!(b=g.call(p)).done;)if("object"==typeof(y=c(p,_,b.value,f))&&y&&y instanceof s)return y;return new s(!1)}).stop=function(t){return new s(!0,t)}},61151:(t,e,r)=>{"use strict";var n,o,i,u=r(64320),a=r(50430),c=r(51900),s=r(46802),f=r(20013),l=s("iterator"),p=!1;[].keys&&("next"in(i=[].keys())?(o=u(u(i)))!==Object.prototype&&(n=o):p=!0),null==n&&(n={}),f||c(n,l)||a(n,l,(function(){return this})),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:p}},80501:t=>{t.exports={}},99262:(t,e,r)=>{var n=r(25061);t.exports=!!Object.getOwnPropertySymbols&&!n((function(){return!String(Symbol())}))},77650:(t,e,r)=>{var n=r(45001),o=r(21501),i=n.WeakMap;t.exports="function"==typeof i&&/native code/.test(o.call(i))},71640:(t,e,r)=>{"use strict";var n=r(11502),o=r(25061),i=r(89749),u=r(72822),a=r(49265),c=r(87615),s=r(62901),f=Object.assign;t.exports=!f||o((function(){var t={},e={},r=Symbol(),n="abcdefghijklmnopqrst";return t[r]=7,n.split("").forEach((function(t){e[t]=t})),7!=f({},t)[r]||i(f({},e)).join("")!=n}))?function(t,e){for(var r=c(t),o=arguments.length,f=1,l=u.f,p=a.f;o>f;)for(var h,v=s(arguments[f++]),d=l?i(v).concat(l(v)):i(v),y=d.length,g=0;y>g;)h=d[g++],n&&!p.call(v,h)||(r[h]=v[h]);return r}:f},22275:(t,e,r)=>{var n=r(4905),o=r(56191),i=r(72089),u=r(92499),a=r(12118),c=r(36009),s=r(61695)("IE_PROTO"),f="prototype",l=function(){},p=function(){var t,e=c("iframe"),r=i.length,n="script",o="java"+n+":";for(e.style.display="none",a.appendChild(e),e.src=String(o),(t=e.contentWindow.document).open(),t.write("<"+n+">document.F=Object</"+n+">"),t.close(),p=t.F;r--;)delete p[f][i[r]];return p()};t.exports=Object.create||function(t,e){var r;return null!==t?(l[f]=n(t),r=new l,l[f]=null,r[s]=t):r=p(),void 0===e?r:o(r,e)},u[s]=!0},56191:(t,e,r)=>{var n=r(11502),o=r(56462),i=r(4905),u=r(89749);t.exports=n?Object.defineProperties:function(t,e){i(t);for(var r,n=u(e),a=n.length,c=0;a>c;)o.f(t,r=n[c++],e[r]);return t}},56462:(t,e,r)=>{var n=r(11502),o=r(17788),i=r(4905),u=r(76973),a=Object.defineProperty;e.f=n?a:function(t,e,r){if(i(t),e=u(e,!0),i(r),o)try{return a(t,e,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},8117:(t,e,r)=>{var n=r(11502),o=r(49265),i=r(86034),u=r(40678),a=r(76973),c=r(51900),s=r(17788),f=Object.getOwnPropertyDescriptor;e.f=n?f:function(t,e){if(t=u(t),e=a(e,!0),s)try{return f(t,e)}catch(t){}if(c(t,e))return i(!o.f.call(t,e),t[e])}},59219:(t,e,r)=>{var n=r(23855),o=r(72089).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,o)}},72822:(t,e)=>{e.f=Object.getOwnPropertySymbols},64320:(t,e,r)=>{var n=r(51900),o=r(87615),i=r(61695),u=r(10149),a=i("IE_PROTO"),c=Object.prototype;t.exports=u?Object.getPrototypeOf:function(t){return t=o(t),n(t,a)?t[a]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?c:null}},23855:(t,e,r)=>{var n=r(51900),o=r(40678),i=r(5029).indexOf,u=r(92499);t.exports=function(t,e){var r,a=o(t),c=0,s=[];for(r in a)!n(u,r)&&n(a,r)&&s.push(r);for(;e.length>c;)n(a,r=e[c++])&&(~i(s,r)||s.push(r));return s}},89749:(t,e,r)=>{var n=r(23855),o=r(72089);t.exports=Object.keys||function(t){return n(t,o)}},49265:(t,e)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,o=n&&!r.call({1:2},1);e.f=o?function(t){var e=n(this,t);return!!e&&e.enumerable}:r},22848:(t,e,r)=>{var n=r(4905),o=r(29076);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(r,[]),e=r instanceof Array}catch(t){}return function(r,i){return n(r),o(i),e?t.call(r,i):r.__proto__=i,r}}():void 0)},45085:(t,e,r)=>{"use strict";var n=r(20486),o={};o[r(46802)("toStringTag")]="z",t.exports="[object z]"!==String(o)?function(){return"[object "+n(this)+"]"}:o.toString},62466:(t,e,r)=>{var n=r(3425),o=r(59219),i=r(72822),u=r(4905);t.exports=n("Reflect","ownKeys")||function(t){var e=o.f(u(t)),r=i.f;return r?e.concat(r(t)):e}},7206:(t,e,r)=>{var n=r(45001),o=r(9522).trim,i=r(49309),u=n.parseInt,a=/^[+-]?0[Xx]/,c=8!==u(i+"08")||22!==u(i+"0x16");t.exports=c?function(t,e){var r=o(String(t));return u(r,e>>>0||(a.test(r)?16:10))}:u},53757:(t,e,r)=>{t.exports=r(45001)},86846:(t,e,r)=>{var n=r(96313);t.exports=function(t,e,r){for(var o in e)n(t,o,e[o],r);return t}},96313:(t,e,r)=>{var n=r(45001),o=r(6809),i=r(50430),u=r(51900),a=r(88506),c=r(21501),s=r(50684),f=s.get,l=s.enforce,p=String(c).split("toString");o("inspectSource",(function(t){return c.call(t)})),(t.exports=function(t,e,r,o){var c=!!o&&!!o.unsafe,s=!!o&&!!o.enumerable,f=!!o&&!!o.noTargetGet;"function"==typeof r&&("string"!=typeof e||u(r,"name")||i(r,"name",e),l(r).source=p.join("string"==typeof e?e:"")),t!==n?(c?!f&&t[e]&&(s=!0):delete t[e],s?t[e]=r:i(t,e,r)):s?t[e]=r:a(e,r)})(Function.prototype,"toString",(function(){return"function"==typeof this&&f(this).source||c.call(this)}))},41847:(t,e,r)=>{var n=r(75489),o=r(44847);t.exports=function(t,e){var r=t.exec;if("function"==typeof r){var i=r.call(t,e);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==n(t))throw TypeError("RegExp#exec called on incompatible receiver");return o.call(t,e)}},44847:(t,e,r)=>{"use strict";var n,o,i=r(5268),u=RegExp.prototype.exec,a=String.prototype.replace,c=u,s=(n=/a/,o=/b*/g,u.call(n,"a"),u.call(o,"a"),0!==n.lastIndex||0!==o.lastIndex),f=void 0!==/()??/.exec("")[1];(s||f)&&(c=function(t){var e,r,n,o,c=this;return f&&(r=new RegExp("^"+c.source+"$(?!\\s)",i.call(c))),s&&(e=c.lastIndex),n=u.call(c,t),s&&n&&(c.lastIndex=c.global?n.index+n[0].length:e),f&&n&&n.length>1&&a.call(n[0],r,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(n[o]=void 0)})),n}),t.exports=c},5268:(t,e,r)=>{"use strict";var n=r(4905);t.exports=function(){var t=n(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},64475:t=>{t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},88506:(t,e,r)=>{var n=r(45001),o=r(50430);t.exports=function(t,e){try{o(n,t,e)}catch(r){n[t]=e}return e}},40606:(t,e,r)=>{var n=r(56462).f,o=r(51900),i=r(46802)("toStringTag");t.exports=function(t,e,r){t&&!o(t=r?t:t.prototype,i)&&n(t,i,{configurable:!0,value:e})}},61695:(t,e,r)=>{var n=r(6809),o=r(41050),i=n("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},19982:(t,e,r)=>{var n=r(45001),o=r(88506),i="__core-js_shared__",u=n[i]||o(i,{});t.exports=u},6809:(t,e,r)=>{var n=r(20013),o=r(19982);(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.4.0",mode:n?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},31853:(t,e,r)=>{"use strict";var n=r(25061);t.exports=function(t,e){var r=[][t];return!r||!n((function(){r.call(null,e||function(){throw 1},1)}))}},50189:(t,e,r)=>{var n=r(90321),o=r(64475),i=function(t){return function(e,r){var i,u,a=String(o(e)),c=n(r),s=a.length;return c<0||c>=s?t?"":void 0:(i=a.charCodeAt(c))<55296||i>56319||c+1===s||(u=a.charCodeAt(c+1))<56320||u>57343?t?a.charAt(c):i:t?a.slice(c,c+2):u-56320+(i-55296<<10)+65536}};t.exports={codeAt:i(!1),charAt:i(!0)}},9522:(t,e,r)=>{var n=r(64475),o="["+r(49309)+"]",i=RegExp("^"+o+o+"*"),u=RegExp(o+o+"*$"),a=function(t){return function(e){var r=String(n(e));return 1&t&&(r=r.replace(i,"")),2&t&&(r=r.replace(u,"")),r}};t.exports={start:a(1),end:a(2),trim:a(3)}},6971:(t,e,r)=>{var n=r(90321),o=Math.max,i=Math.min;t.exports=function(t,e){var r=n(t);return r<0?o(r+e,0):i(r,e)}},40678:(t,e,r)=>{var n=r(62901),o=r(64475);t.exports=function(t){return n(o(t))}},90321:t=>{var e=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:e)(t)}},74479:(t,e,r)=>{var n=r(90321),o=Math.min;t.exports=function(t){return t>0?o(n(t),9007199254740991):0}},87615:(t,e,r)=>{var n=r(64475);t.exports=function(t){return Object(n(t))}},76973:(t,e,r)=>{var n=r(62366);t.exports=function(t,e){if(!n(t))return t;var r,o;if(e&&"function"==typeof(r=t.toString)&&!n(o=r.call(t)))return o;if("function"==typeof(r=t.valueOf)&&!n(o=r.call(t)))return o;if(!e&&"function"==typeof(r=t.toString)&&!n(o=r.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},41050:t=>{var e=0,r=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++e+r).toString(36)}},84583:(t,e,r)=>{var n=r(3425);t.exports=n("navigator","userAgent")||""},24101:(t,e,r)=>{var n,o,i=r(45001),u=r(84583),a=i.process,c=a&&a.versions,s=c&&c.v8;s?o=(n=s.split("."))[0]+n[1]:u&&(!(n=u.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=u.match(/Chrome\/(\d+)/))&&(o=n[1]),t.exports=o&&+o},46802:(t,e,r)=>{var n=r(45001),o=r(6809),i=r(41050),u=r(99262),a=n.Symbol,c=o("wks");t.exports=function(t){return c[t]||(c[t]=u&&a[t]||(u?a:i)("Symbol."+t))}},49309:t=>{t.exports="\t\n\v\f\r \u2028\u2029\ufeff"},15296:(t,e,r)=>{"use strict";var n=r(29638),o=r(72758).filter;n({target:"Array",proto:!0,forced:!r(95611)("filter")},{filter:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},94386:(t,e,r)=>{"use strict";var n=r(29638),o=r(16607);n({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},48868:(t,e,r)=>{"use strict";var n=r(40678),o=r(5822),i=r(80501),u=r(50684),a=r(30645),c="Array Iterator",s=u.set,f=u.getterFor(c);t.exports=a(Array,"Array",(function(t,e){s(this,{type:c,target:n(t),index:0,kind:e})}),(function(){var t=f(this),e=t.target,r=t.kind,n=t.index++;return!e||n>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:n,done:!1}:"values"==r?{value:e[n],done:!1}:{value:[n,e[n]],done:!1}}),"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},82937:(t,e,r)=>{"use strict";var n=r(29638),o=r(62040).left;n({target:"Array",proto:!0,forced:r(31853)("reduce")},{reduce:function(t){return o(this,t,arguments.length,arguments.length>1?arguments[1]:void 0)}})},66403:(t,e,r)=>{var n=r(11502),o=r(56462).f,i=Function.prototype,u=i.toString,a=/^\s*function ([^ (]*)/,c="name";n&&!(c in i)&&o(i,c,{configurable:!0,get:function(){try{return u.call(this).match(a)[1]}catch(t){return""}}})},96609:(t,e,r)=>{var n=r(29638),o=r(71640);n({target:"Object",stat:!0,forced:Object.assign!==o},{assign:o})},92274:(t,e,r)=>{var n=r(96313),o=r(45085),i=Object.prototype;o!==i.toString&&n(i,"toString",o,{unsafe:!0})},68268:(t,e,r)=>{var n=r(29638),o=r(7206);n({global:!0,forced:parseInt!=o},{parseInt:o})},42295:(t,e,r)=>{"use strict";var n=r(29638),o=r(44847);n({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},81874:(t,e,r)=>{"use strict";var n=r(50189).charAt,o=r(50684),i=r(30645),u="String Iterator",a=o.set,c=o.getterFor(u);i(String,"String",(function(t){a(this,{type:u,string:String(t),index:0})}),(function(){var t,e=c(this),r=e.string,o=e.index;return o>=r.length?{value:void 0,done:!0}:(t=n(r,o),e.index+=t.length,{value:t,done:!1})}))},52963:(t,e,r)=>{"use strict";var n=r(95453),o=r(4905),i=r(74479),u=r(64475),a=r(25528),c=r(41847);n("match",1,(function(t,e,r){return[function(e){var r=u(this),n=null==e?void 0:e[t];return void 0!==n?n.call(e,r):new RegExp(e)[t](String(r))},function(t){var n=r(e,t,this);if(n.done)return n.value;var u=o(t),s=String(this);if(!u.global)return c(u,s);var f=u.unicode;u.lastIndex=0;for(var l,p=[],h=0;null!==(l=c(u,s));){var v=String(l[0]);p[h]=v,""===v&&(u.lastIndex=a(s,i(u.lastIndex),f)),h++}return 0===h?null:p}]}))},34994:(t,e,r)=>{"use strict";var n=r(95453),o=r(4905),i=r(87615),u=r(74479),a=r(90321),c=r(64475),s=r(25528),f=r(41847),l=Math.max,p=Math.min,h=Math.floor,v=/\$([$&'`]|\d\d?|<[^>]*>)/g,d=/\$([$&'`]|\d\d?)/g;n("replace",2,(function(t,e,r){return[function(r,n){var o=c(this),i=null==r?void 0:r[t];return void 0!==i?i.call(r,o,n):e.call(String(o),r,n)},function(t,i){var c=r(e,t,this,i);if(c.done)return c.value;var h=o(t),v=String(this),d="function"==typeof i;d||(i=String(i));var y=h.global;if(y){var g=h.unicode;h.lastIndex=0}for(var b=[];;){var _=f(h,v);if(null===_)break;if(b.push(_),!y)break;""===String(_[0])&&(h.lastIndex=s(v,u(h.lastIndex),g))}for(var x,m="",w=0,O=0;O<b.length;O++){_=b[O];for(var E=String(_[0]),j=l(p(a(_.index),v.length),0),S=[],T=1;T<_.length;T++)S.push(void 0===(x=_[T])?x:String(x));var A=_.groups;if(d){var M=[E].concat(S,j,v);void 0!==A&&M.push(A);var I=String(i.apply(void 0,M))}else I=n(E,v,j,S,A,i);j>=w&&(m+=v.slice(w,j)+I,w=j+E.length)}return m+v.slice(w)}];function n(t,r,n,o,u,a){var c=n+t.length,s=o.length,f=d;return void 0!==u&&(u=i(u),f=v),e.call(a,f,(function(e,i){var a;switch(i.charAt(0)){case"$":return"$";case"&":return t;case"`":return r.slice(0,n);case"'":return r.slice(c);case"<":a=u[i.slice(1,-1)];break;default:var f=+i;if(0===f)return e;if(f>s){var l=h(f/10);return 0===l?e:l<=s?void 0===o[l-1]?i.charAt(1):o[l-1]+i.charAt(1):e}a=o[f-1]}return void 0===a?"":a}))}}))},31341:(t,e,r)=>{"use strict";var n,o=r(45001),i=r(86846),u=r(81738),a=r(66606),c=r(53769),s=r(62366),f=r(50684).enforce,l=r(77650),p=!o.ActiveXObject&&"ActiveXObject"in o,h=Object.isExtensible,v=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},d=t.exports=a("WeakMap",v,c,!0,!0);if(l&&p){n=c.getConstructor(v,"WeakMap",!0),u.REQUIRED=!0;var y=d.prototype,g=y.delete,b=y.has,_=y.get,x=y.set;i(y,{delete:function(t){if(s(t)&&!h(t)){var e=f(this);return e.frozen||(e.frozen=new n),g.call(this,t)||e.frozen.delete(t)}return g.call(this,t)},has:function(t){if(s(t)&&!h(t)){var e=f(this);return e.frozen||(e.frozen=new n),b.call(this,t)||e.frozen.has(t)}return b.call(this,t)},get:function(t){if(s(t)&&!h(t)){var e=f(this);return e.frozen||(e.frozen=new n),b.call(this,t)?_.call(this,t):e.frozen.get(t)}return _.call(this,t)},set:function(t,e){if(s(t)&&!h(t)){var r=f(this);r.frozen||(r.frozen=new n),b.call(this,t)?x.call(this,t,e):r.frozen.set(t,e)}else x.call(this,t,e);return this}})}},54861:(t,e,r)=>{var n=r(45001),o=r(58514),i=r(48868),u=r(50430),a=r(46802),c=a("iterator"),s=a("toStringTag"),f=i.values;for(var l in o){var p=n[l],h=p&&p.prototype;if(h){if(h[c]!==f)try{u(h,c,f)}catch(t){h[c]=f}if(h[s]||u(h,s,l),o[l])for(var v in i)if(h[v]!==i[v])try{u(h,v,i[v])}catch(t){h[v]=i[v]}}}},40001:(t,e,r)=>{var n=/^\s+|\s+$/g,o=/^[-+]0x[0-9a-f]+$/i,i=/^0b[01]+$/i,u=/^0o[0-7]+$/i,a=parseInt,c="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g,s="object"==typeof self&&self&&self.Object===Object&&self,f=c||s||Function("return this")(),l=Object.prototype.toString,p=Math.max,h=Math.min,v=function(){return f.Date.now()};function d(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function y(t){if("number"==typeof t)return t;if(function(t){return"symbol"==typeof t||function(t){return!!t&&"object"==typeof t}(t)&&"[object Symbol]"==l.call(t)}(t))return NaN;if(d(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=d(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(n,"");var r=i.test(t);return r||u.test(t)?a(t.slice(2),r?2:8):o.test(t)?NaN:+t}t.exports=function(t,e,r){var n,o,i,u,a,c,s=0,f=!1,l=!1,g=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function b(e){var r=n,i=o;return n=o=void 0,s=e,u=t.apply(i,r)}function _(t){var r=t-c;return void 0===c||r>=e||r<0||l&&t-s>=i}function x(){var t=v();if(_(t))return m(t);a=setTimeout(x,function(t){var r=e-(t-c);return l?h(r,i-(t-s)):r}(t))}function m(t){return a=void 0,g&&n?b(t):(n=o=void 0,u)}function w(){var t=v(),r=_(t);if(n=arguments,o=this,c=t,r){if(void 0===a)return function(t){return s=t,a=setTimeout(x,e),f?b(t):u}(c);if(l)return a=setTimeout(x,e),b(c)}return void 0===a&&(a=setTimeout(x,e)),u}return e=y(e)||0,d(r)&&(f=!!r.leading,i=(l="maxWait"in r)?p(y(r.maxWait)||0,e):i,g="trailing"in r?!!r.trailing:g),w.cancel=function(){void 0!==a&&clearTimeout(a),s=0,n=c=o=a=void 0},w.flush=function(){return void 0===a?u:m(v())},w}},98511:(t,e,r)=>{var n,o="__lodash_hash_undefined__",i=/^\[object .+?Constructor\]$/,u="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g,a="object"==typeof self&&self&&self.Object===Object&&self,c=u||a||Function("return this")(),s=Array.prototype,f=Function.prototype,l=Object.prototype,p=c["__core-js_shared__"],h=(n=/[^.]+$/.exec(p&&p.keys&&p.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",v=f.toString,d=l.hasOwnProperty,y=l.toString,g=RegExp("^"+v.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),b=s.splice,_=S(c,"Map"),x=S(Object,"create");function m(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function w(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function O(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function E(t,e){for(var r,n,o=t.length;o--;)if((r=t[o][0])===(n=e)||r!=r&&n!=n)return o;return-1}function j(t,e){var r,n,o=t.__data__;return("string"==(n=typeof(r=e))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==r:null===r)?o["string"==typeof e?"string":"hash"]:o.map}function S(t,e){var r=function(t,e){return null==t?void 0:t[e]}(t,e);return function(t){if(!A(t)||h&&h in t)return!1;var e=function(t){var e=A(t)?y.call(t):"";return"[object Function]"==e||"[object GeneratorFunction]"==e}(t)||function(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(t){}return e}(t)?g:i;return e.test(function(t){if(null!=t){try{return v.call(t)}catch(t){}try{return t+""}catch(t){}}return""}(t))}(r)?r:void 0}function T(t,e){if("function"!=typeof t||e&&"function"!=typeof e)throw new TypeError("Expected a function");var r=function(){var n=arguments,o=e?e.apply(this,n):n[0],i=r.cache;if(i.has(o))return i.get(o);var u=t.apply(this,n);return r.cache=i.set(o,u),u};return r.cache=new(T.Cache||O),r}function A(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}m.prototype.clear=function(){this.__data__=x?x(null):{}},m.prototype.delete=function(t){return this.has(t)&&delete this.__data__[t]},m.prototype.get=function(t){var e=this.__data__;if(x){var r=e[t];return r===o?void 0:r}return d.call(e,t)?e[t]:void 0},m.prototype.has=function(t){var e=this.__data__;return x?void 0!==e[t]:d.call(e,t)},m.prototype.set=function(t,e){return this.__data__[t]=x&&void 0===e?o:e,this},w.prototype.clear=function(){this.__data__=[]},w.prototype.delete=function(t){var e=this.__data__,r=E(e,t);return!(r<0||(r==e.length-1?e.pop():b.call(e,r,1),0))},w.prototype.get=function(t){var e=this.__data__,r=E(e,t);return r<0?void 0:e[r][1]},w.prototype.has=function(t){return E(this.__data__,t)>-1},w.prototype.set=function(t,e){var r=this.__data__,n=E(r,t);return n<0?r.push([t,e]):r[n][1]=e,this},O.prototype.clear=function(){this.__data__={hash:new m,map:new(_||w),string:new m}},O.prototype.delete=function(t){return j(this,t).delete(t)},O.prototype.get=function(t){return j(this,t).get(t)},O.prototype.has=function(t){return j(this,t).has(t)},O.prototype.set=function(t,e){return j(this,t).set(t,e),this},T.Cache=O,t.exports=T},50200:(t,e,r)=>{var n="Expected a function",o=/^\s+|\s+$/g,i=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,a=/^0o[0-7]+$/i,c=parseInt,s="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g,f="object"==typeof self&&self&&self.Object===Object&&self,l=s||f||Function("return this")(),p=Object.prototype.toString,h=Math.max,v=Math.min,d=function(){return l.Date.now()};function y(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function g(t){if("number"==typeof t)return t;if(function(t){return"symbol"==typeof t||function(t){return!!t&&"object"==typeof t}(t)&&"[object Symbol]"==p.call(t)}(t))return NaN;if(y(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=y(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(o,"");var r=u.test(t);return r||a.test(t)?c(t.slice(2),r?2:8):i.test(t)?NaN:+t}t.exports=function(t,e,r){var o=!0,i=!0;if("function"!=typeof t)throw new TypeError(n);return y(r)&&(o="leading"in r?!!r.leading:o,i="trailing"in r?!!r.trailing:i),function(t,e,r){var o,i,u,a,c,s,f=0,l=!1,p=!1,b=!0;if("function"!=typeof t)throw new TypeError(n);function _(e){var r=o,n=i;return o=i=void 0,f=e,a=t.apply(n,r)}function x(t){var r=t-s;return void 0===s||r>=e||r<0||p&&t-f>=u}function m(){var t=d();if(x(t))return w(t);c=setTimeout(m,function(t){var r=e-(t-s);return p?v(r,u-(t-f)):r}(t))}function w(t){return c=void 0,b&&o?_(t):(o=i=void 0,a)}function O(){var t=d(),r=x(t);if(o=arguments,i=this,s=t,r){if(void 0===c)return function(t){return f=t,c=setTimeout(m,e),l?_(t):a}(s);if(p)return c=setTimeout(m,e),_(s)}return void 0===c&&(c=setTimeout(m,e)),a}return e=g(e)||0,y(r)&&(l=!!r.leading,u=(p="maxWait"in r)?h(g(r.maxWait)||0,e):u,b="trailing"in r?!!r.trailing:b),O.cancel=function(){void 0!==c&&clearTimeout(c),f=0,o=s=i=c=void 0},O.flush=function(){return void 0===c?a:w(d())},O}(t,e,{leading:o,maxWait:e,trailing:i})}},54006:(t,e,r)=>{"use strict";r.d(e,{Z:()=>O});var n=function(){if("undefined"!=typeof Map)return Map;function t(t,e){var r=-1;return t.some((function(t,n){return t[0]===e&&(r=n,!0)})),r}return function(){function e(){this.__entries__=[]}return Object.defineProperty(e.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),e.prototype.get=function(e){var r=t(this.__entries__,e),n=this.__entries__[r];return n&&n[1]},e.prototype.set=function(e,r){var n=t(this.__entries__,e);~n?this.__entries__[n][1]=r:this.__entries__.push([e,r])},e.prototype.delete=function(e){var r=this.__entries__,n=t(r,e);~n&&r.splice(n,1)},e.prototype.has=function(e){return!!~t(this.__entries__,e)},e.prototype.clear=function(){this.__entries__.splice(0)},e.prototype.forEach=function(t,e){void 0===e&&(e=null);for(var r=0,n=this.__entries__;r<n.length;r++){var o=n[r];t.call(e,o[1],o[0])}},e}()}(),o="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,i=void 0!==r.g&&r.g.Math===Math?r.g:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),u="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(i):function(t){return setTimeout((function(){return t(Date.now())}),1e3/60)},a=["top","right","bottom","left","width","height","size","weight"],c="undefined"!=typeof MutationObserver,s=function(){function t(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(t){var e=!1,r=!1,n=0;function o(){e&&(e=!1,t()),r&&a()}function i(){u(o)}function a(){var t=Date.now();if(e){if(t-n<2)return;r=!0}else e=!0,r=!1,setTimeout(i,20);n=t}return a}(this.refresh.bind(this))}return t.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},t.prototype.removeObserver=function(t){var e=this.observers_,r=e.indexOf(t);~r&&e.splice(r,1),!e.length&&this.connected_&&this.disconnect_()},t.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},t.prototype.updateObservers_=function(){var t=this.observers_.filter((function(t){return t.gatherActive(),t.hasActive()}));return t.forEach((function(t){return t.broadcastActive()})),t.length>0},t.prototype.connect_=function(){o&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),c?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},t.prototype.disconnect_=function(){o&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},t.prototype.onTransitionEnd_=function(t){var e=t.propertyName,r=void 0===e?"":e;a.some((function(t){return!!~r.indexOf(t)}))&&this.refresh()},t.getInstance=function(){return this.instance_||(this.instance_=new t),this.instance_},t.instance_=null,t}(),f=function(t,e){for(var r=0,n=Object.keys(e);r<n.length;r++){var o=n[r];Object.defineProperty(t,o,{value:e[o],enumerable:!1,writable:!1,configurable:!0})}return t},l=function(t){return t&&t.ownerDocument&&t.ownerDocument.defaultView||i},p=g(0,0,0,0);function h(t){return parseFloat(t)||0}function v(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];return e.reduce((function(e,r){return e+h(t["border-"+r+"-width"])}),0)}var d="undefined"!=typeof SVGGraphicsElement?function(t){return t instanceof l(t).SVGGraphicsElement}:function(t){return t instanceof l(t).SVGElement&&"function"==typeof t.getBBox};function y(t){return o?d(t)?function(t){var e=t.getBBox();return g(0,0,e.width,e.height)}(t):function(t){var e=t.clientWidth,r=t.clientHeight;if(!e&&!r)return p;var n=l(t).getComputedStyle(t),o=function(t){for(var e={},r=0,n=["top","right","bottom","left"];r<n.length;r++){var o=n[r],i=t["padding-"+o];e[o]=h(i)}return e}(n),i=o.left+o.right,u=o.top+o.bottom,a=h(n.width),c=h(n.height);if("border-box"===n.boxSizing&&(Math.round(a+i)!==e&&(a-=v(n,"left","right")+i),Math.round(c+u)!==r&&(c-=v(n,"top","bottom")+u)),!function(t){return t===l(t).document.documentElement}(t)){var s=Math.round(a+i)-e,f=Math.round(c+u)-r;1!==Math.abs(s)&&(a-=s),1!==Math.abs(f)&&(c-=f)}return g(o.left,o.top,a,c)}(t):p}function g(t,e,r,n){return{x:t,y:e,width:r,height:n}}var b=function(){function t(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=g(0,0,0,0),this.target=t}return t.prototype.isActive=function(){var t=y(this.target);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},t.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t},t}(),_=function(t,e){var r,n,o,i,u,a,c,s=(n=(r=e).x,o=r.y,i=r.width,u=r.height,a="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,c=Object.create(a.prototype),f(c,{x:n,y:o,width:i,height:u,top:o,right:n+i,bottom:u+o,left:n}),c);f(this,{target:t,contentRect:s})},x=function(){function t(t,e,r){if(this.activeObservations_=[],this.observations_=new n,"function"!=typeof t)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=e,this.callbackCtx_=r}return t.prototype.observe=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof l(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)||(e.set(t,new b(t)),this.controller_.addObserver(this),this.controller_.refresh())}},t.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof l(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)&&(e.delete(t),e.size||this.controller_.removeObserver(this))}},t.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},t.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach((function(e){e.isActive()&&t.activeObservations_.push(e)}))},t.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,e=this.activeObservations_.map((function(t){return new _(t.target,t.broadcastRect())}));this.callback_.call(t,e,t),this.clearActive()}},t.prototype.clearActive=function(){this.activeObservations_.splice(0)},t.prototype.hasActive=function(){return this.activeObservations_.length>0},t}(),m="undefined"!=typeof WeakMap?new WeakMap:new n,w=function t(e){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var r=s.getInstance(),n=new x(e,r,this);m.set(this,n)};["observe","unobserve","disconnect"].forEach((function(t){w.prototype[t]=function(){var e;return(e=m.get(this))[t].apply(e,arguments)}}));const O=void 0!==i.ResizeObserver?i.ResizeObserver:w}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_clickview_reports=self.webpackChunk_clickview_reports||[]).push([[25],{67551:(e,a,c)=>{c.r(a),c.d(a,{TeacherOverviewDashboardView:()=>b});var t=c(32735),l=c(23481),r=c(2849),n=c(
|
|
1
|
+
"use strict";(self.webpackChunk_clickview_reports=self.webpackChunk_clickview_reports||[]).push([[25],{67551:(e,a,c)=>{c.r(a),c.d(a,{TeacherOverviewDashboardView:()=>b});var t=c(32735),l=c(23481),r=c(2849),n=c(18075),s=c(92209),o=c(55884),m=c(28512),i=c(87480),p=c(59699),d=c(48848),u=c(85091),v=c(32630);const h={column1:"lwWvS",column2:"kHtch",column3:"F7L_0",topSearches:"NqsBv",topTopics:"dxgRV",barChart:"C2YLr"};var E=l.T.encloseNamespace("reportsDashboard.teacherOverviewDashboard");function b(){return(0,n.M)({title:E("dashboard")}),(0,i.U)(E("dashboard")),t.createElement("div",null,t.createElement(r.E,{type:"analytics",localStorageKey:"analytics_banner",appLink:{application:m.O.DEFAULT,action:s.e.Default.UPDATES},styleOptions:{backgroundImage:"url(".concat(o.W.Banners.Updates,")")}}),t.createElement("div",{className:"d-flex"},t.createElement("div",{className:"d-flex flex-column ".concat(h.column1)},t.createElement("div",{className:"pb-3"},t.createElement(d.u,{className:h.topSearches})),t.createElement(u.f,{className:h.topTopics})),t.createElement("div",{className:"".concat(h.column2," px-3")},t.createElement(v.H,null)),t.createElement("div",{className:"d-flex flex-column ".concat(h.column3)},t.createElement(p.Y,{className:h.barChart}))))}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_clickview_reports=self.webpackChunk_clickview_reports||[]).push([[273],{13669:(e,t,n)=>{n.d(t,{I:()=>d,h:()=>u});var a=n(32735),r=n(79014),i=n(83914),o=n(35223),c=n(11607);const l={unchecked:"bup9I",outline:"ealw_",checked:"A1Ov0",checkMark:"c14lI"};function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=Array(t);n<t;n++)a[n]=e[n];return a}var u;function d(e){var t,n,d=(t=a.useState(e.status===u.Complete),n=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,r,i,o,c=[],l=!0,s=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(a=i.call(n)).done)&&(c.push(a.value),c.length!==t);l=!0);}catch(e){s=!0,r=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(s)throw r}}return c}}(t,n)||function(e,t){if(e){if("string"==typeof e)return s(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(e,t):void 0}}(t,n)||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.")}()),m=d[0],v=d[1];a.useEffect((function(){v(e.status===u.Complete)}),[e.status]);var p="cursor-pointer rounded-circle ".concat(m?l.checked:l.unchecked);return e.className&&(p+=" ".concat(e.className)),"outline"===e.style&&(p+=" ".concat(l.outline)),e.status&&e.status!==u.None&&r.q.isFunction(e.setStatus)?a.createElement(c.L,{className:p,onClick:function(){var t=!m;v(t);var n=t?u.Complete:u.Incomplete;e.setStatus(n).catch((function(){v(!t)}))},disabled:e.disabled},a.createElement(i.x,{svgName:o.vn.Tick,className:"svg-container ".concat(l.checkMark)})):a.createElement(a.Fragment,null)}!function(e){e.None="None",e.Complete="Complete",e.Incomplete="Incomplete"}(u||(u={})),d.defaultProps={style:"filled"}},75090:(e,t,n)=>{n.d(t,{Z:()=>f});var a=n(32735),r=n(1048),i=n(57408),o=n(34152);function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=Array(t);n<t;n++)a[n]=e[n];return a}const l="fVSzb";function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=Array(t);n<t;n++)a[n]=e[n];return a}var u=a.memo((function(e){var t,n,r=e.forceLoad,i=e.extraClasses,u=void 0===i?"":i,d=e.errorFallbackImageSrc,m=e.preventLoad,v=void 0!==m&&m,p=e.errorFallbackImageClassName,f=e.src,g=e.alt,y=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]])}return n}(e,["forceLoad","extraClasses","errorFallbackImageSrc","preventLoad","errorFallbackImageClassName","src","alt"]),h=function(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=n.prevent,r=n.rootMargin,i=n.triggerOnce,l=void 0===i||i,s=(e=(0,o.YD)({triggerOnce:l,rootMargin:r}),t=3,function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,r,i,o,c=[],l=!0,s=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(a=i.call(n)).done)&&(c.push(a.value),c.length!==t);l=!0);}catch(e){s=!0,r=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(s)throw r}}return c}}(e,t)||function(e,t){if(e){if("string"==typeof e)return c(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}(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.")}()),u=s[0],d=s[1],m=s[2];return!0!==a&&void 0!==window.IntersectionObserver||(d=!0,u=null),{ref:u,inView:d,initialized:!!m}}({rootMargin:"500px"}),b=h.ref,E=h.inView,O=(t=a.useState(!1),n=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,r,i,o,c=[],l=!0,s=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(a=i.call(n)).done)&&(c.push(a.value),c.length!==t);l=!0);}catch(e){s=!0,r=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(s)throw r}}return c}}(t,n)||function(e,t){if(e){if("string"==typeof e)return s(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(e,t):void 0}}(t,n)||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.")}()),N=O[0],C=O[1];function w(){return N&&d?d:e.src}if(a.useEffect((function(){if((r||E)&&!v){var e=new Image;return e.onerror=function(){C(!0),d&&(e.src=d)},e.src=f,function(){return e.onerror=null}}}),[E,v]),N&&!d)return a.createElement(a.Fragment,null);if(!b)return a.createElement("img",Object.assign({className:"".concat(l," ").concat(u," ").concat(N&&p||""),alt:g,src:w()},y));var k=Object.assign(Object.assign({alt:g},y),!E&&!r||v?{src:"data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs="}:{src:w()});return r||(k.ref=b),a.createElement("img",Object.assign({className:"".concat(l," ").concat(u," ").concat(N&&p||"")},k))})),d=n(54610),m=n(67453);const v={image:"vdd4V",thumbnail:"Ez0E7",tallPoster:"H9bQA",cover:"Nudts",banner:"IOvDH",poster:"iiY56",pdf:"aDJiJ",link:"wDpui"};function p(e){var t=v.image,n="";return e.imageType===d.__.Thumbnails&&(n="thumbnail ".concat(v.thumbnail)),e.imageType===d.__.TallPosters&&(n=v.tallPoster),e.imageType===d.__.Covers&&(n=v.cover),e.imageType===d.__.Banners&&(n=v.banner),e.imageType===d.__.Posters&&(n=v.poster),e.imageType===d.__.Pdf&&(n=v.pdf),e.imageType===d.__.Link&&(n=v.link),n&&(t+=" ".concat(n)),e.className&&(t+=" ".concat(e.className)),t}function f(e){var t=e.data,n=e.imageOptions,o=e.appLink,c=e.preload,l=e.preventLoad,s=e.analyticsOptions,d=e.analyticsData,v=e.imageClassName,f=e.alt,g="";"string"==typeof t?g=t:r.t.isObject(t)&&(g=t.url);var y=g&&n?m.j.createUrl(g,n):g;return a.createElement("div",{className:p(e),style:e.imageStyle},a.createElement(i.F,{appLink:o,analyticsData:d,analyticsOptions:s,onClick:e.onClick,preventFocus:e.preventFocus,className:e.appLinkClassName},e.children,y&&a.createElement(u,{src:y,alt:f,forceLoad:c,preventLoad:l,extraClasses:v,errorFallbackImageSrc:e.errorFallbackImageSrc,errorFallbackImageClassName:e.errorFallbackImageClassName,onLoad:e.onLoad})))}},74273:(e,t,n)=>{n.d(t,{u:()=>at});var a=n(32735),r=n(1048),i=n(65858),o=n(77369),c=n(86474);function l(e){var t="d-flex align-items-center badge-list ".concat(c.Z.minHeight);return e.className&&(t+=" ".concat(e.className)),a.createElement("div",{className:t},e.children)}var s=n(23481),u=n(79014),d=n(11607),m=n(83914),v=n(69883),p=n(82182),f=n(75896),g=n(31908),y={isFavouritedByCurrentUser:function(e){var t;return!(1!==(null===(t=null==e?void 0:e.favouritedBy)||void 0===t?void 0:t.data.length))},isFavouritedByUser:function(e,t){var n;return!!f.m.findWhere(null===(n=null==e?void 0:e.favouritedBy)||void 0===n?void 0:n.data,{id:null==t?void 0:t.id})},updateVideoState:function(e,t,n){return{id:e.id,favouritedBy:{data:n?[{id:t.id}]:[],pagination:{limit:25,cursors:{next:"",previous:""}}}}},showFavouriteButton:function(e,t){var n;return!(!(null===(n=g.M.getCanBeConsumed(e))||void 0===n?void 0:n.canConsume)||!t&&!p.V.isTabletOrMobile()&&!y.isFavouritedByCurrentUser(e))}},h=n(35223);const b={favourited:"t0svX",favouriteButton:"CFRo3",heart:"ZMMQu",heartOutline:"truFo"};function E(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=Array(t);n<t;n++)a[n]=e[n];return a}var O=s.T.encloseNamespace("shared.favouriteButton");function N(e){var t,n,r=(0,v.Z)(),i=y.isFavouritedByCurrentUser(e.video),o=(t=a.useState(i),n=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,r,i,o,c=[],l=!0,s=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(a=i.call(n)).done)&&(c.push(a.value),c.length!==t);l=!0);}catch(e){s=!0,r=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(s)throw r}}return c}}(t,n)||function(e,t){if(e){if("string"==typeof e)return E(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?E(e,t):void 0}}(t,n)||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.")}()),c=o[0],l=o[1];a.useEffect((function(){l(i)}),[i]);var s="".concat("d-flex align-items-center justify-content-center"," cursor-pointer ").concat(b.favouriteButton," ").concat(c?b.favourited:"");return e.className&&(s+=" ".concat(e.className)),u.q.isFunction(e.setFavourite)&&u.q.isFunction(e.canFavourite)&&e.canFavourite(e.video)?a.createElement(d.L,{className:s,onClick:function(){var t=!c;l(t),e.setFavourite(e.video,t,null,(function(){r.error(O(g.M.isClip(e.video)?t?"favouriteClipError":"unfavouriteClipError":g.M.isInteractive(e.video)?t?"favouriteInteractiveError":"unfavouriteInteractiveError":t?"favouriteVideoError":"unfavouriteVideoError")),l(!t)}),e.analyticsData,e.analyticsOptions)},tabIndex:e.preventFocus?-1:void 0},a.createElement(m.x,{svgName:h.vn.Heart,className:"svg-container ".concat(b.heart)}),a.createElement(m.x,{svgName:h.vn.HeartOutline,className:"svg-container ".concat(b.heartOutline)})):a.createElement(a.Fragment,null)}var C=n(75090),w=n(85177);function k(e){var t=g.M.getVideoProgress(e.video),n=t&&e.video.duration&&t/e.video.duration*1e5;return n?a.createElement("div",{className:"bg-primary h-100",style:{width:"".concat(n,"%")}}):a.createElement(a.Fragment,null)}const j={bottomBar:"YnXtZ"};function S(e){return g.M.isVideo(e.video)?a.createElement("div",{className:j.bottomBar},a.createElement(k,{video:e.video})):a.createElement(a.Fragment,null)}var I=n(91374),L=n(36532),x="d-inline-block svg-container",A="span";function T(e){var t=e.children,n=e.className,r=void 0===n?x:n,i=e.tagName,o=void 0===i?A:i,c=e.size,l=void 0===c?m.S.Standard:c,s=e.onClick,d=e.title,v=e.tooltipPlacement,p=void 0===v?"right":v,f=o,g={className:"".concat(r," svg-container ").concat(l),onClick:u.q.isFunction(s)?s:null};return d?a.createElement(L.u,{title:d,placement:p},a.createElement(f,Object.assign({},g),t)):a.createElement(f,Object.assign({},g),t)}var F=n(2786),P=n(64818);const M={std:"ct8Ht",sm:"dvCes",stdIcon:"iy0pu",smIcon:"Z_mZf"};function D(e){var t,n,r;return(g.M.isInteractive(e.video)||g.M.isClip(e.video))&&(e.video._liteOwner||(null===(t=e.video._isClickViewCurated)||void 0===t?void 0:t.value))?(null===(n=e.video._isClickViewCurated)||void 0===n?void 0:n.value)?a.createElement("div",{className:"".concat("sm"===e.size?M.sm:M.std," me-1 rounded-circle position-relative bg-white")},a.createElement(T,{className:"me-1 ".concat("sm"===e.size?M.smIcon:M.stdIcon)},a.createElement(F.Sd,null))):a.createElement("div",{className:"".concat("sm"===e.size?M.sm:M.std," me-1")},a.createElement(I.q,{imageCdnUrl:e.imageCdnUrl,initials:P.l.getInitials(e.video._liteOwner.name,e.video._liteOwner.surname),imageUrl:null===(r=e.video._liteOwner.avatar)||void 0===r?void 0:r.url})):a.createElement(a.Fragment,null)}var V=n(57408),z=n(83345);const R={pluginHover:"h4RQa"};var _="shared.pluginHover";function U(e){return e.isPlugin?a.createElement(V.F,{appLink:e.appLink,analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions,onClick:e.onClick,className:"\n position-absolute top-0 start-0 end-0 bottom-0 opacity-0 cursor-pointer\n ".concat(R.pluginHover,"\n ").concat(e.className?e.className:"","\n ")},a.createElement("span",{className:"position-absolute top-50 start-50 translate-middle text-nowrap h4 text-white"},a.createElement(z.x,{namespace:_,phrase:"embed"}))):a.createElement(a.Fragment,null)}const B={padlock:"w4cg8",sm:"JpIYd"};function H(e){var t="sm"===e.size?m.S.Small:m.S.Standard;return a.createElement("div",{className:"".concat(B.padlock," ").concat("sm"===e.size?B.sm:""," bg-white cursor-default d-flex align-items-center justify-content-center")},a.createElement(m.x,{svgName:h.vn.Lock,size:t}))}var G=n(54610),W=n(67453);const q={logo:"OA9ft",sm:"fyo2J"};function X(e){var t,n,r,i;if(!g.M.isVideo(e.video)||!e.companyLogoFallbackUrl)return a.createElement(a.Fragment,null);var o=null===(n=null===(t=e.video.productionCompanies)||void 0===t?void 0:t.data)||void 0===n?void 0:n[0],c=W.j.createUrl(null!==(i=null===(r=null==o?void 0:o.logo)||void 0===r?void 0:r.url)&&void 0!==i?i:e.companyLogoFallbackUrl,{size:G.h2.Small});return c?a.createElement("div",null,a.createElement(L.u,{title:null==o?void 0:o.name,spanHack:!0},a.createElement("div",{className:"".concat(q.logo," ").concat("sm"===e.size?q.sm:""),style:{backgroundImage:"url(".concat(c,")")}}))):a.createElement(a.Fragment,null)}X.defaultProps={size:"md"};var Z=n(21578),$=n(4594),Q=n(5960);const Y={topLeftContainer:"iwBld",draft:"QBpxh",badge:"KcvGx",svg:"gW733",text:"QiH5Q",sm:"tn2BH"};var J=s.T.encloseNamespace("shared.typeBadge");function K(e){switch(e){case $.E.Clip:return h.vn.Clip;case $.E.Interactive:return h.vn.Interactive;case $.E.Resource:return h.vn.Resources;default:return""}}function ee(e,t){switch(e){case $.E.Clip:return"bg-ultramarine";case $.E.Interactive:return t===Q.X.Draft?Y.draft:"bg-green";case $.E.Resource:return"bg-indigo";default:return""}}function te(e){var t="".concat(Y.badge," rounded-pill text-white ps-0 ").concat("sm"===e.size?Y.sm:"");return a.createElement("div",{className:e.inContainer?"":Y.topLeftContainer},a.createElement("div",{className:"".concat(t," ").concat(ee(e.typeId,e.status))},a.createElement(m.x,{className:"svg-container d-block ".concat(Y.svg),size:"sm"===e.size?m.S.Small:m.S.Standard,svgName:K(e.typeId)}),a.createElement("span",{className:Y.text},function(e){switch(e){case $.E.Clip:return J("clip");case $.E.Interactive:return J("interactive");case $.E.Resource:return J("resource");default:return""}}(e.typeId))))}function ne(e){return g.M.isClip(e.video)?a.createElement(te,{typeId:$.E.Clip,size:e.size,inContainer:!0}):g.M.isInteractive(e.video)?a.createElement(te,{typeId:$.E.Interactive,status:e.video.status,size:e.size,inContainer:!0}):a.createElement(a.Fragment,null)}te.default={size:"md"},ne.default={size:"md"};var ae=n(17082);n(63314);var re=a.createContext({hasProvider:!1});const ie={hoverContainer:"TzWQw",hovering:"gdTcW"};function oe(e){var t,n=a.useContext(re);if(null===(t=n.useInitialize)||void 0===t||t.call(n,e),!n.hasProvider)return a.createElement(a.Fragment,null);if("picture-in-picture"===n.mode)return a.createElement(a.Fragment,null);if("hover"===e.mode&&n.isOnPlayPage)return a.createElement(a.Fragment,null);if("default"===n.mode||"play-page"===e.location)return a.createElement(ae.t0,{node:n.portalNode});var r=n.started,i="rounded-3";"popout-video"===e.location&&(i="rounded-top-3");var o="".concat(ie.hoverContainer," ").concat(r?ie.hovering:""," ").concat(i," overflow-hidden");return a.createElement("div",{className:o},a.createElement(ae.t0,{node:n.portalNode}))}var ce=n(49439);const le={overlayContainer:"qu3A3",topLeftContainer:"gjhMe",topRightContainer:"XAfZW",overlay:"NTrtm",downScale:"puKcM",title:"_6FukN",gradient:"rXzR8",playIcon:"dndOA",videoProgress:"yhWf4",badgeContainer:"AtgmC",clipProgress:"E2egN",interactiveProgress:"WycwR"};function se(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=Array(t);n<t;n++)a[n]=e[n];return a}function ue(e){var t="mb-1";return e&&(t+=le.downScale),t}function de(e){var t,n,c,s=e.video,u=e.appLink,d=e.imageOptions,v=e.setFavourite,p=e.canFavourite,f=e.preload,b=e.hovering,E=e.hoverToPlay,O=e.companyLogoFallbackUrl,k=g.M.getCanBeConsumed(e.video),j=k.canNavigate,I=k.canConsume,x=r.t.isObject(null==u?void 0:u.params)?null==u?void 0:u.params:{},A=Object.assign(Object.assign({},e.analyticsOptions),{entity:g.M.getAnalyticsEntity(s)}),T=y.showFavouriteButton(e.video,b),F=g.M.isVideo(s),P=g.M.getRating(e.video),M=(n=(0,ce.L)({delay:100}),c=2,function(e){if(Array.isArray(e))return e}(n)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,r,i,o,c=[],l=!0,s=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(a=i.call(n)).done)&&(c.push(a.value),c.length!==t);l=!0);}catch(e){s=!0,r=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(s)throw r}}return c}}(n,c)||function(e,t){if(e){if("string"==typeof e)return se(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?se(e,t):void 0}}(n,c)||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.")}()),V=M[0],z=M[1]&&I&&E,R=Object.assign(Object.assign({},e.analyticsData),{id:s.id,name:s.name}),_=Object.assign(Object.assign({},A),{actionType:i.Vw.Click,descriptor:i._S.Thumbnail});return a.createElement(L.u,{title:g.M.getPrivacyReasoning(e.video),spanHack:!0,spanHackClassName:""},a.createElement("div",{className:"position-relative rounded-3 overflow-hidden",ref:V},a.createElement(U,{isPlugin:e.isPlugin,className:"rounded-3",appLink:j?u:null,analyticsData:R,analyticsOptions:_}),T&&a.createElement("div",{className:le.topRightContainer},a.createElement(N,{setFavourite:v,canFavourite:p,video:s,analyticsData:e.analyticsData,analyticsOptions:A})),!j&&a.createElement("div",{className:le.topRightContainer},a.createElement(H,null)),a.createElement("div",{className:"".concat(le.topLeftContainer," d-flex flex-no-wrap")},e.showOwner&&a.createElement(D,{video:s,imageCdnUrl:e.imageCdnUrl}),a.createElement(ne,{video:s}),a.createElement(X,{video:s,companyLogoFallbackUrl:O})),a.createElement(C.Z,{data:g.M.getThumbnail(s),appLink:j?u:null,imageType:G.__.Thumbnails,imageOptions:d,preload:f,className:le.gradient,alt:("series"in s&&(null===(t=s.series)||void 0===t?void 0:t.name)?"".concat(s.series.name,": "):"")+s.name,analyticsData:R,analyticsOptions:_,preventFocus:!0},!(!b||!j)&&a.createElement(m.x,{className:le.playIcon,svgName:h.vn.PlayCircle}),a.createElement(w.oy,{type:w.mS.Video}),a.createElement("div",{className:le.overlayContainer},a.createElement("div",{className:le.overlay},a.createElement("div",{className:"".concat(ue(b)," ").concat(le.title)},F&&a.createElement(Z.$,{type:e.subTextType,className:"text-shadow clamp-1",video:s,appLink:null,analyticsOptions:null}),a.createElement("span",{className:"h6 text-reset text-shadow clamp-1"},g.M.getTitle(s))),a.createElement(S,{video:s}),b&&a.createElement(l,{className:"mt-1"},g.M.isVideo(s)&&a.createElement(a.Fragment,null,a.createElement(o.C,{type:o.g.Rating,data:P}),s.hasSubtitle&&a.createElement("span",{className:"badge p-0"},a.createElement(m.x,{svgName:h.vn.CloseCaptionBadge})),a.createElement(o.C,{type:o.g.Interactive,data:s.hasInteractives}),a.createElement(o.C,{type:o.g.DurationExact,data:g.M.getDuration(e.video)})))))),z&&a.createElement(oe,{key:e.video.id,objectId:e.video.id,objectTypeId:e.video.typeId,mode:"hover",context:x.context,contextId:x.contextId,moviesAndTv:x.mtv})))}var me,ve=n(56050),pe=n(81886),fe=a.createContext({}),ge=n(92582);function ye(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=Array(t);n<t;n++)a[n]=e[n];return a}!function(e){e.Left="8px",e.Right="calc(100% - 8px)",e.Center="center"}(me||(me={}));var he=function(e,t,n){var a,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1.2,i=e.x,o=e.y,c=e.width,l=e.height,s=document.getElementById("content-width-reference");if(!s)return{};var u=t||c*r,d=t?t*(l/c):l*r,m=t?u/c:r;a=i-(u-c)/2,u<n&&(a-=(n-u)/2,d=l*(m=(u=n)/c));var v=o-(d-l)/2+window.scrollY,p=a,f=me.Center;return a-s.offsetLeft<8&&(p=i-4,f=me.Left),s.offsetWidth+s.offsetLeft-(a+u)<8&&(p=t?i+c-t:i-c*(m-1)+8,f=me.Right),{left:p,top:v,height:d,width:u,transformOrigin:f,position:"absolute",originalWidth:c,originalHeight:l}};const be={positionWrapper:"jO7pW",animationWrapper:"xXfXO",zoom:"BrrtL"};function Ee(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,r,i,o,c=[],l=!0,s=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(a=i.call(n)).done)&&(c.push(a.value),c.length!==t);l=!0);}catch(e){s=!0,r=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(s)throw r}}return c}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Oe(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Oe(e,t):void 0}}(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 Oe(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=Array(t);n<t;n++)a[n]=e[n];return a}function Ne(e){var t,n,r=e.hoverableComponent,o=e.componentProps,c=e.minHoverWidth,l=e.fixedHoverWidth,s=e.hoverScale,u=a.useContext(fe).setPreviewContentNode;void 0===u&&pe.Q.Ry.throw(new ve.H("Please use VideoPreviewContext inside a VideoPreviewContextProvider"));var d=a.useMemo((function(){return(0,ae.oD)()}),[]),m=Ee((0,ce.L)({delay:100}),2),v=m[0],p=m[1],f=Ee((0,ce.X)(),2),g=f[0],y=f[1],h=Ee(a.useState(!1),2),b=h[0],E=(h[1],a.useRef(null)),O=a.useRef(!1),N=p||y;!function(e,t,n){var r,o,c=(r=a.useState(e),o=2,function(e){if(Array.isArray(e))return e}(r)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,r,i,o,c=[],l=!0,s=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(a=i.call(n)).done)&&(c.push(a.value),c.length!==t);l=!0);}catch(e){s=!0,r=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(s)throw r}}return c}}(r,o)||function(e,t){if(e){if("string"==typeof e)return ye(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ye(e,t):void 0}}(r,o)||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.")}()),l=c[0],s=c[1],u=a.useRef(e?new Date:null);a.useEffect((function(){if(t&&n&&n.entity&&t.location)if(e)l||s(!0),u.current=new Date,ge.k.logUserAction(t,Object.assign(Object.assign({},n),{actionType:i.Vw.Hover}));else{if(!l)return;var a=(new Date).getTime()-u.current.getTime();u.current=null,ge.k.logUserAction(Object.assign(Object.assign({},t),{timeHoveredInMilliseconds:a,timeHoveredInSeconds:a/1e3}),Object.assign(Object.assign({},n),{actionType:i.Vw.Unhover}))}}),[e])}(N,e.analyticsData,e.analyticsOptions),a.useEffect((function(){O.current!==N&&(u(N||b?d:null),O.current=N)}),[N]);var C=(null===(n=null===(t=E.current)||void 0===t?void 0:t.getBoundingClientRect)||void 0===n?void 0:n.call(t))||{},w=C.x,k=C.y,j=C.width,S=C.height,I=a.useMemo((function(){return he({x:w,y:k,width:j,height:S},l,c,s)}),[w,k,j,S,s]),L=I?I.originalWidth/I.width:1,x=r;return a.createElement("div",{ref:E},a.createElement("div",{ref:v},a.createElement(x,Object.assign({isHovering:!1},o))),(N||b)&&a.createElement(ae.Nq,{node:d},a.createElement("div",{className:"".concat(be.positionWrapper," ").concat(be.animationWrapper),style:Object.assign({"--scale":L},I),ref:g},a.createElement(x,Object.assign({isHovering:!0,hoverPositionConfig:I,cleanPortalNode:function(){return u(null)}},o)))))}function Ce(e){return e.audience?a.createElement("div",{className:"audience-label border rounded-pill d-inline-block px-2 text-nowrap \n ".concat("border-"+e.border," ").concat(e.className?e.className:"")},e.audience.name):a.createElement(a.Fragment,null)}Ne.ReferenceContainer=function(e){return a.createElement("div",{id:"content-width-reference",className:"flex-grow-1"},e.children)};const we={badgeContainer:"fy9Un",sm:"Rb0TL"};function ke(e){var t=g.M.getRating(e.video),n=!!e.audience&&"sm"!==e.size,r=!n&&!e.hideRating&&!!t&&"sm"!==e.size;return!e.hideDuration||n||r?a.createElement(l,{className:"".concat(we.badgeContainer," ").concat("sm"===e.size?we.sm:"")},n&&a.createElement(Ce,{audience:e.audience,className:"bg-white text-dark",border:"dark"}),r&&a.createElement(o.C,{type:o.g.Rating,data:t}),!e.hideDuration&&a.createElement(o.C,{type:e.newDurationStyle?o.g.DurationApproximate:o.g.DurationExact,data:e.duration||g.M.getDuration(e.video)})):a.createElement(a.Fragment,null)}ke.defaultProps={newDurationStyle:!0,size:"md"};var je=n(110),Se=n(26361);function Ie(e){if(!e.yearGroups)return a.createElement(a.Fragment,null);var t=Se.l.mapRestrictionToText(e.video._restrictions,e.yearGroups);return g.M.getCanBeConsumed(e.video).canConsume&&t?a.createElement(L.u,{spanHack:!0,spanHackClassName:e.className||"d-inline-block ps-1",title:t,placement:e.tooltipPlacement||"top"},a.createElement(m.x,{svgName:h.vn.Lock,size:"sm"===e.size?m.S.Small:m.S.Standard})):a.createElement(a.Fragment,null)}const Le={dot:"VrK4W",smallText:"OScyH"};var xe=s.T.encloseNamespace("shared.videoTitle"),Ae=new Date;function Te(e){var t,n,r=e.video.dateReleased,i=r&&(n=r,je.O.isSame(n,Ae,"year")&&je.O.isSame(n,Ae,"month")),o=e.textClassName||"h6",c=e.showNewVideoIndicator&&i&&(null===(t=e.video._isClickViewCurated)||void 0===t?void 0:t.value);return a.createElement(a.Fragment,null,a.createElement(L.u,{title:"".concat(c?xe("newVideo"):""),spanHack:!0,spanHackClassName:"d-inline-block"},c&&a.createElement("span",{className:"rounded-circle bg-green d-inline-block me-1 ".concat(Le.dot," ").concat("h6"===o?Le.smallText:"")})),a.createElement("h2",{className:"".concat(o," ").concat(e.headingClassName||""," d-inline")},e.title||e.video.name),a.createElement(Ie,{video:e.video,yearGroups:e.yearGroups,size:e.lockSize}))}function Fe(e){var t=e.video,n=e.appLink,r=e.subTextAppLink,o=e.showNewVideoIndicator,c=g.M.getCanBeConsumed(t).canNavigate;return a.createElement("div",{className:"mt-2 ".concat("r70GR")},a.createElement("div",{className:"d-flex flex-column ".concat("rULXI")},g.M.isVideo(t)&&a.createElement(Z.$,{type:e.subTextType,className:"text-truncate ".concat("h9k1p"),video:t,appLink:r,analyticsOptions:{location:i.LZ.VideoThumbnail}}),a.createElement(V.F,{className:"text-reset clamp-2 align-middle",appLink:c?n:null},a.createElement(Te,{video:e.video,yearGroups:e.yearGroups,lockSize:"sm",showNewVideoIndicator:o}))))}const Pe="OjHQZ";function Me(e){var t,n;return e.appLink?a.createElement(V.F,{appLink:e.appLink,analyticsData:e.appLinkAnalyticsData,analyticsOptions:e.appLinkAnalyticsOptions,className:"\n p-1 pe-2 rounded-pill d-inline-flex align-items-center cursor-pointer\n text-decoration-none ".concat(null===(t=e.theme)||void 0===t?void 0:t.container," ").concat(Pe," ").concat(e.active?"kD1xM":"","\n ")},a.createElement(De,Object.assign({},e))):a.createElement("div",{className:"p-1 pe-2 rounded-pill d-inline-flex align-items-center ".concat(null===(n=e.theme)||void 0===n?void 0:n.container," ").concat(Pe," ").concat("eGiNR")},a.createElement(De,Object.assign({},e)))}function De(e){var t;return a.createElement(a.Fragment,null,a.createElement(m.x,{className:"".concat("SS2zL"," rounded-circle bg-").concat(e.iconVariant," text-white"),svgName:e.svgName}),a.createElement("span",{className:"ps-1 text-nowrap user-select-none ".concat(null===(t=e.theme)||void 0===t?void 0:t.tabLabel)},e.text))}function Ve(e){var t,n,r;return!e.video||g.M.isInteractive(e.video)?a.createElement(a.Fragment,null):e.video.glance?a.createElement(Me,{theme:{container:"classroom-guide-tag",tabLabel:"classroom-guide-tag-label"},svgName:h.vn.GraduationCap,iconVariant:"navy",text:s.T.getPhrase("shared.classroomGuideTag","classroomGuide"),appLink:e.appLink,appLinkAnalyticsData:Object.assign(Object.assign({glanceId:null===(t=e.video.glance)||void 0===t?void 0:t.id,totalPointsOfInterest:null===(r=null===(n=e.video.pointsOfInterest)||void 0===n?void 0:n.data)||void 0===r?void 0:r.length,videoGuidanceType:"classroom-guide"},g.M.getAnalyticsData(e.video)),e.analyticsData),appLinkAnalyticsOptions:Object.assign({actionType:i.Vw.Click,entity:g.M.getAnalyticsEntity(e.video)},e.analyticsOptions)}):a.createElement(a.Fragment,null)}function ze(e){var t;if(!g.M.showInteractivesGuidance(e.video))return a.createElement(a.Fragment,null);var n=!g.M.isInteractive(e.video)&&((null===(t=e.video.interactives)||void 0===t?void 0:t.data.length)||0);return a.createElement(Me,{svgName:h.vn.Interactive,iconVariant:"green",text:s.T.getPhrase("shared.interactivesTag","interactives",{smartCount:n}),appLink:e.appLink,appLinkAnalyticsData:Object.assign(Object.assign({videoGuidanceType:"interactive",videoGuidanceTotalItems:n},g.M.getAnalyticsData(e.video)),e.analyticsData),appLinkAnalyticsOptions:Object.assign({actionType:i.Vw.Click,entity:g.M.getAnalyticsEntity(e.video)},e.analyticsOptions)})}function Re(e){if(!g.M.showResourcesGuidance(e.video))return a.createElement(a.Fragment,null);var t,n,r,o=(t=e.video,g.M.isInteractive(t)?0:((null===(n=t.resources)||void 0===n?void 0:n.data.length)||0)+((null===(r=t.links)||void 0===r?void 0:r.data.length)||0));return a.createElement(Me,{svgName:h.vn.Resources,iconVariant:"indigo",text:s.T.getPhrase("shared.resourcesTag","resources",{smartCount:o}),appLink:e.appLink,appLinkAnalyticsData:Object.assign(Object.assign({videoGuidanceType:"resource",videoGuidanceTotalItems:o},g.M.getAnalyticsData(e.video)),e.analyticsData),appLinkAnalyticsOptions:Object.assign({actionType:i.Vw.Click,entity:g.M.getAnalyticsEntity(e.video)},e.analyticsOptions)})}function _e(e){var t,n,r,i=g.M.showInteractivesGuidance(e.video)&&g.M.showResourcesGuidance(e.video);return a.createElement("div",{className:"".concat(e.containerClassName," ").concat(i?e.responsiveClassName:"")},a.createElement(Ve,{appLink:null===(t=e.getClassroomGuideAppLink)||void 0===t?void 0:t.call(e,e.video.id,e.video.typeId),video:e.video,analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions}),a.createElement(Re,{appLink:null===(n=e.getResourceGuidanceAppLink)||void 0===n?void 0:n.call(e,e.video.id,e.video.typeId),video:e.video,analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions}),a.createElement(ze,{appLink:null===(r=e.getInteractiveGuidanceAppLink)||void 0===r?void 0:r.call(e,e.video.id,e.video.typeId),video:e.video,analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions}))}const Ue="FAuzc";var Be=function(e){var t,n=e.video,o=e.appLink,c=e.imageOptions,l=e.preload,s=e.setFavourite,u=e.canFavourite,d=e.isHovering,m=e.hoverToPlay,v=e.companyLogoFallbackUrl,p=r.t.isObject(null==o?void 0:o.params)?null==o?void 0:o.params:{},f=g.M.getCanBeConsumed(n),h=f.canNavigate,b=f.canConsume;a.useEffect((function(){return function(){var t;null===(t=e.cleanPortalNode)||void 0===t||t.call(e)}}),[]);var E="position-relative bg-white";e.extraClasses&&(E+=" ".concat(e.extraClasses)),d&&(E+=" rounded-3 shadow-lg");var O=Object.assign(Object.assign({},e.analyticsOptions),{entity:g.M.getAnalyticsEntity(n)}),k=e.isHovering&&b&&m,j=y.showFavouriteButton(e.video,d),I=Object.assign(Object.assign({},e.analyticsData),{id:n.id,name:n.name}),x=Object.assign(Object.assign({},O),{actionType:i.Vw.Click,descriptor:i._S.Thumbnail});return a.createElement("div",{className:E},j&&a.createElement("div",{className:Ue},a.createElement(N,{setFavourite:s,canFavourite:u,video:n,analyticsData:e.analyticsData,analyticsOptions:O,preventFocus:!0})),!h&&a.createElement("div",{className:Ue},a.createElement(L.u,{title:g.M.getPrivacyReasoning(e.video),spanHack:!0,spanHackClassName:""},a.createElement(H,null))),a.createElement("div",{className:"position-relative"},a.createElement(U,{isPlugin:e.isPlugin,className:d?"rounded-top-3":"rounded-3",onClick:function(){var t;return null===(t=e.cleanPortalNode)||void 0===t?void 0:t.call(e)},appLink:h?o:null,analyticsData:I,analyticsOptions:x}),a.createElement(C.Z,{onClick:function(){var t;return null===(t=e.cleanPortalNode)||void 0===t?void 0:t.call(e)},data:g.M.getThumbnail(n),appLink:h?o:null,imageType:G.__.Thumbnails,imageOptions:c,preload:l,alt:("series"in n&&(null===(t=n.series)||void 0===t?void 0:t.name)?"".concat(n.series.name,": "):"")+n.name,analyticsData:I,analyticsOptions:x,preventFocus:!e.hideTitle,appLinkClassName:"position-absolute top-0 start-0 h-100 w-100",imageClassName:d?"rounded-top-3":"rounded-3"},a.createElement(w.oy,{type:w.mS.Video}),a.createElement("div",{className:"p-absolute w-100 h-100 text-white"},a.createElement("div",{className:"".concat("wHY80"," d-flex flex-no-wrap")},e.showOwner&&a.createElement(D,{video:n,imageCdnUrl:e.imageCdnUrl}),a.createElement(ne,{video:n}),a.createElement(X,{video:n,companyLogoFallbackUrl:v})),a.createElement(ke,{video:e.video,audience:e.audience,hideRating:e.hideRating,hideDuration:e.hideDuration}),a.createElement(S,{video:n}))),k&&a.createElement(oe,{key:e.video.id,objectId:e.video.id,objectTypeId:e.video.typeId,mode:"hover",context:p.context,contextId:p.contextId,moviesAndTv:p.mtv,location:"popout-video"})),!d&&!e.hideTitle&&a.createElement(Fe,Object.assign({},e)),a.createElement("div",{className:"".concat("vMaXP"," ").concat(d?"".concat("tR1jA"," box-shadow"):"")},d&&a.createElement(a.Fragment,null,a.createElement("div",{className:"".concat(d?"KJrT1":"")},a.createElement(Fe,Object.assign({},e)),e.showVideoGuidance&&d&&a.createElement(_e,{getClassroomGuideAppLink:e.getClassroomGuideAppLink,getResourceGuidanceAppLink:e.getResourceGuidanceAppLink,getInteractiveGuidanceAppLink:e.getInteractiveGuidanceAppLink,video:e.video,analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions,responsiveClassName:"OixHb",containerClassName:"d-flex justify-content-start align-items-center pt-2"})))))};function He(e){return a.createElement(a.Fragment,null,a.createElement(Ne,{hoverableComponent:Be,componentProps:e,fixedHoverWidth:400,minHoverWidth:400,analyticsData:Object.assign(Object.assign({},e.analyticsData),{id:e.video.id,name:e.video.name}),analyticsOptions:Object.assign(Object.assign({},e.analyticsOptions),{entity:g.M.getAnalyticsEntity(e.video)})}))}const Ge={mask:"qpc7L",small:"L8Oxs",video:"b8kJW",playlist:"eo2p2",maskContainer:"lpwag"};var We;function qe(e){var t=e.type,n=e.size,r=function(e){return e===We.Video?Ge.video:e===We.Playlist?Ge.playlist:""}(t),i=function(e){return e===We.Video?h.vn.PlayCircle:""}(t);return a.createElement("div",{className:"".concat(Ge.maskContainer," ").concat("sm"===n?Ge.small:"")},a.createElement("div",{className:Ge.mask}),a.createElement(m.x,{svgName:i,className:r}))}!function(e){e[e.Video=0]="Video",e[e.Playlist=1]="Playlist",e[e.Series=2]="Series"}(We||(We={})),qe.defaults={size:"md"};var Xe=n(13669);const Ze={container:"efxnE",cvIcon:"OJ_ZQ",action:"vWvGn"};function $e(e){return g.M.getCanBeConsumed(e.video).canNavigate?function(e){var t;return!(null===(t=g.M.getCanBeConsumed(e.video))||void 0===t?void 0:t.canConsume)||!(!u.q.isFunction(e.setFavourite)||!u.q.isFunction(e.canFavourite))||!!u.q.isFunction(e.setCheckMarkStatus)}(e)?a.createElement("div",{className:"".concat(Ze.container," d-flex align-items-center")},a.createElement(N,{setFavourite:e.setFavourite,canFavourite:e.canFavourite,video:e.video,className:Ze.action,analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions,preventFocus:!0}),a.createElement(Xe.I,{status:e.checkMarkStatus,setStatus:e.setCheckMarkStatus,className:Ze.action})):a.createElement(a.Fragment,null):a.createElement("div",{className:Ze.container},a.createElement(H,{size:e.size}))}var Qe=n(68626);const Ye={titleOverlay:"krg9f",clip:"MPRU6",large:"g5_ww",interactive:"Zzo3e",titleBelow:"tZjPt",overlayContainer:"EElm1",topLeftContainer:"hrw3I",gradient:"LS_EH"};function Je(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,r,i,o,c=[],l=!0,s=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(a=i.call(n)).done)&&(c.push(a.value),c.length!==t);l=!0);}catch(e){s=!0,r=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(s)throw r}}return c}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Ke(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ke(e,t):void 0}}(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 Ke(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=Array(t);n<t;n++)a[n]=e[n];return a}var et="shared.staticVideoThumbnail";function tt(e){var t,n=e.video,r=e.subTextAppLink,o=e.textPosition,c=e.appLink,l=o===Qe.z.Overlay,u=g.M.getCanBeConsumed(e.video).canNavigate,d="";return l?(d=Ye.titleOverlay,u&&(g.M.isClip(n)&&(d+=" "+Ye.clip),g.M.isInteractive(n)&&(d+=" "+Ye.interactive))):d=Ye.titleBelow,a.createElement("div",{className:d},g.M.isVideo(n)&&a.createElement(Z.$,{type:e.subTextType,className:l?"text-shadow clamp-1":"clamp-2",video:n,appLink:l?null:r,analyticsOptions:{location:i.LZ.VideoThumbnail}}),l||!u?a.createElement("span",{className:"h6 text-reset clamp-1"},a.createElement(Te,{video:n,title:null!==(t=n.name)&&void 0!==t?t:s.T.getPhrase(et,"videoUnavailable"),showNewVideoIndicator:e.showNewVideoIndicator})):a.createElement(V.F,{className:"h6 text-reset clamp-2",appLink:c},a.createElement(Te,{video:n,showNewVideoIndicator:e.showNewVideoIndicator})))}function nt(e){var t,n,o=e.video,c=e.appLink,l=e.textPosition,s=e.imageOptions,u=e.setFavourite,d=e.preload,m=e.hoverToPlay,v=r.t.isObject(null==c?void 0:c.params)?null==c?void 0:c.params:{},p=Je((0,ce.X)(),2),f=p[0],h=p[1],b=Je((0,ce.L)({delay:100}),2),E=b[0],O=b[1],N=g.M.getCanBeConsumed(o),k=N.canNavigate,j=N.canConsume,I=O&&j&&m,x=Object.assign(Object.assign({},e.analyticsOptions),{entity:g.M.getAnalyticsEntity(o)}),A=!!c&&!e.hideMask&&k,T=g.M.getPrivacyReasoning(e.video,e.showSignIn),F=Object.assign(Object.assign({},e.analyticsData),{id:o.id,name:o.name}),P=Object.assign(Object.assign({},x),{actionType:i.Vw.Click,descriptor:i._S.Thumbnail});return a.createElement(L.u,{title:T,spanHack:!0,spanHackClassName:""},a.createElement("div",{className:(n="position-relative",n+=c&&k?" cursor-pointer":"",e.extraClasses&&(n+=" ".concat(e.extraClasses)),l===Qe.z.Overlay&&(n+=" rounded overflow-hidden"),n),ref:function(e){f.current=e,E.current=e}},a.createElement(U,{isPlugin:e.isPlugin,className:"sm"===e.size?"rounded":"rounded-3",appLink:k?c:null,analyticsData:F,analyticsOptions:P}),a.createElement($e,{video:o,checkMarkStatus:e.checkMarkStatus,setCheckMarkStatus:e.setCheckMarkStatus,setFavourite:u,canFavourite:function(){var t;return(null===(t=e.canFavourite)||void 0===t?void 0:t.call(e,e.video))&&y.showFavouriteButton(o,h)},analyticsData:e.analyticsData,analyticsOptions:x,size:e.size}),a.createElement(C.Z,{data:g.M.getThumbnail(o),appLink:k?c:null,onClick:k?e.onClick:void 0,imageType:G.__.Thumbnails,imageOptions:s,preload:d,className:function(){var t="overflow-hidden ".concat("sm"===e.size?"rounded":"rounded-3");return e.imageClassName&&(t+=" ".concat(e.imageClassName)),l===Qe.z.Overlay&&(t+=" ".concat(Ye.gradient)),t}(),alt:("series"in o&&(null===(t=o.series)||void 0===t?void 0:t.name)?"".concat(o.series.name,": "):"")+o.name,analyticsData:F,analyticsOptions:P,preventFocus:!0},A&&a.createElement(qe,{type:We.Video,size:e.size}),a.createElement(w.oy,{type:w.mS.Video}),a.createElement("div",{className:Ye.overlayContainer},l===Qe.z.Overlay&&a.createElement(tt,Object.assign({},e)),a.createElement("div",{className:"".concat(Ye.topLeftContainer," d-flex flex-no-wrap")},e.showOwner&&a.createElement(D,{video:o,imageCdnUrl:e.imageCdnUrl}),a.createElement(ne,{video:o,size:e.size}),a.createElement(X,{video:o,companyLogoFallbackUrl:e.companyLogoFallbackUrl,size:e.size})),a.createElement(S,{video:o}),a.createElement(ke,{video:e.video,audience:e.audience,hideRating:e.hideRating,hideDuration:e.hideDuration,newDurationStyle:e.newDurationStyle,size:e.size}))),I&&a.createElement(oe,{key:e.video.id,objectId:e.video.id,objectTypeId:e.video.typeId,mode:"hover",context:v.context,contextId:v.contextId,moviesAndTv:v.mtv}),l===Qe.z.Below&&a.createElement(tt,Object.assign({},e))))}function at(e){switch(e.type){case"static":return a.createElement(nt,Object.assign({},e));case"cosmetic":return a.createElement(nt,Object.assign({},e,{hoverToPlay:!1}));case"expandable":return a.createElement(de,Object.assign({},e));case"popout":return a.createElement(He,Object.assign({},e));default:return}}at.defaultProps={hideRating:!0,size:"md",hoverToPlay:!0}},21578:(e,t,n)=>{n.d(t,{$:()=>E});var a=n(32735),r=n(23481),i=n(28400),o=n(74254),c={padNumber:function(e,t){var n=e.toString();if(n.length>=t)return n;for(t-=n.length;t>0;)n="0"+n,t--;return n}},l=n(4594),s={isSeries:function(e){return(null==e?void 0:e.typeId)===l.E.Series},buildSeriesSeasonEpisodeText:function(e,t,n){if(!e)return"";if(!t||!n)return e.toUpperCase();var a=c.padNumber(t,2),r=c.padNumber(n,2);return"".concat(e.toUpperCase()," S").concat(a," • E").concat(r)}},u=n(31908),d=n(57408);const m={subText:"F_1ii",sm:"BxmrB"};function v(e){var t="text-uppercase text-truncate mb-0 ".concat(m.subText," ").concat("sm"===e.size?"".concat(m.sm," fw-normal"):""," ").concat(e.className);return e.appLink?a.createElement(d.F,{className:t,appLink:e.appLink,analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions,title:e.title,ariaLabel:e.ariaLabel},e.children):a.createElement("div",{className:t,title:e.title,"aria-label":e.ariaLabel},e.children)}const p={appLink:"yI6tx",hoverUnderline:"ehDUT"};var f=r.T.encloseNamespace("shared.videoSubText");function g(e){var t=e.video,n=t.season;if(!t.episodeNumber||!n)return a.createElement(a.Fragment,null);var r=c.padNumber(n.number,2),i=c.padNumber(t.episodeNumber,2);return a.createElement("span",{className:"d-inline-block ".concat(e.appLink?p.hoverUnderline:"")},e.withSeriesTitle&&a.createElement(a.Fragment,null," "),!!r&&"S".concat(r," • "),"E",i)}function y(e){var t=u.M.getReleaseDate(e.video);return t?u.M.hasSeries(e.video)?a.createElement(a.Fragment,null," • ".concat(t)):a.createElement(a.Fragment,null,t):a.createElement(a.Fragment,null)}function h(e){var t,n=e.appLink,r=e.video,c=e.className,l=void 0===c?"":c,d=null==r?void 0:r.series,m=u.M.getReleaseDate(e.video);if(!(null==d?void 0:d.id)&&!m)return a.createElement(a.Fragment,null);var h=(null==d?void 0:d.id)&&n&&Object.assign(Object.assign({},n),{args:[d.id,i.m.slugify(d.name)]}),b=Object.assign(Object.assign({},e.analyticsData),{id:null==d?void 0:d.id,name:null==d?void 0:d.name,videoId:null==r?void 0:r.id,videoName:null==r?void 0:r.name}),E=Object.assign(Object.assign({},e.analyticsOptions),{entity:o.py.Series,actionType:o.Vw.Click,descriptor:o._S.Title}),O=s.buildSeriesSeasonEpisodeText(null==d?void 0:d.name,null===(t=r.season)||void 0===t?void 0:t.number,r.episodeNumber);return a.createElement(v,{appLink:h,className:"d-block ".concat(p.appLink," ").concat(l),analyticsData:b,analyticsOptions:E,title:O,ariaLabel:"".concat(f("ariaSeries")," ").concat(O)},(null==d?void 0:d.name)&&d.name,a.createElement(g,Object.assign({},e,{withSeriesTitle:!0})),a.createElement(y,Object.assign({},e)))}function b(e){var t,n,r=e.appLink,c=e.video,l=e.className,s=void 0===l?"":l,u=null===(n=null===(t=null==c?void 0:c.productionCompanies)||void 0===t?void 0:t.data)||void 0===n?void 0:n[0];if(!(null==u?void 0:u.id))return a.createElement(a.Fragment,null);var d=(null==u?void 0:u.id)&&r&&Object.assign(Object.assign({},r),{args:[u.id,i.m.slugify(u.name)]}),m=Object.assign(Object.assign({},e.analyticsData),{id:null==u?void 0:u.id,name:null==u?void 0:u.name,videoId:null==c?void 0:c.id,videoName:null==c?void 0:c.name}),g=Object.assign(Object.assign({},e.analyticsOptions),{entity:o.py.Company,actionType:o.Vw.Click,descriptor:o._S.Title});return a.createElement(v,{appLink:d,className:"d-block ".concat(p.appLink," ").concat(s),analyticsData:m,analyticsOptions:g,title:u.name,ariaLabel:"".concat(f("ariaCompany")," ").concat(u.name)},u.name)}function E(e){var t=e.type,n=void 0===t?"series":t;return"none"===n?a.createElement(a.Fragment,null):"series"===n?a.createElement(h,Object.assign({},e)):a.createElement(b,Object.assign({},e))}},68626:(e,t,n)=>{var a;n.d(t,{z:()=>a}),function(e){e[e.Below=1]="Below",e[e.Overlay=2]="Overlay",e[e.Independent=3]="Independent"}(a||(a={}))},49439:(e,t,n)=>{n.d(t,{X:()=>f,L:()=>g});var a=n(32735),r=n(79014),i=n(1048),o=function(){var e=a.useRef(!0);return a.useEffect((function(){return function(){e.current=!1}}),[]),e};function c(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,r,i,o,c=[],l=!0,s=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(a=i.call(n)).done)&&(c.push(a.value),c.length!==t);l=!0);}catch(e){s=!0,r=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(s)throw r}}return c}}(e,t)||function(e,t){if(e){if("string"==typeof e)return l(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(e,t):void 0}}(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 l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=Array(t);n<t;n++)a[n]=e[n];return a}var s=275,u=5,d={className:"",delay:0,style:null},m={screenX:0,screenY:0};function v(e,t){var n;e.current&&(t.className&&(null===(n=e.current.classList)||void 0===n||n.add(t.className)),t.style&&Object.keys(t.style).forEach((function(n){e.current.style[n]=t.style[n]})))}function p(e,t){var n;e.current&&(t.className&&(null===(n=e.current.classList)||void 0===n||n.remove(t.className)),t.style&&Object.keys(t.style).forEach((function(t){e.current.style[t]=null})))}function f(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d,t=o(),n=c(a.useState(e),2),l=n[0],s=n[1],u=c(a.useState(!1),2),m=u[0],f=u[1],g=a.useRef(null);a.useEffect((function(){i.t.isEqual(e,l)||s(e)}),[e]);var y=r.q.throttle((function(){v(g,l),t.current&&f(!0)}),l.delay,{leading:!1}),h=function(){r.q.isFunction(y.cancel)&&y.cancel(),p(g,l),t.current&&f(!1)};return a.useLayoutEffect((function(){var e=g.current;if(e)return e.addEventListener("mouseenter",y),e.addEventListener("mouseleave",h),function(){e.removeEventListener("mouseenter",y),e.removeEventListener("mouseleave",h)}}),[g.current,l]),[g,m]}function g(e){var t=c(a.useState(e),2),n=t[0],o=t[1],l=a.useRef(Object.assign({},m)),d=a.useRef(!1),f=a.useRef(0),g=a.useRef(null),y=c(a.useState(!1),2),h=y[0],b=y[1];function E(){f.current&&(window.clearTimeout(f.current),f.current=0)}function O(){d.current=!0}function N(e){if(d.current){var t,a,r=Object.assign({},l.current);l.current.screenX=e.screenX,l.current.screenY=e.screenY,function(e,t){return Math.abs(e.screenX-t.screenX)>u||Math.abs(e.screenY-t.screenY)>u}(r,e)&&E(),t=function(){v(g,n),b(!0)},a=n.delay||s,f.current||(f.current=window.setTimeout(t,a))}}function C(){E(),p(g,n),d.current=!1,b(!1)}return a.useEffect((function(){i.t.isEqual(e,n)||o(e)}),[e]),a.useLayoutEffect((function(){if(g.current){var e=r.q.throttle(N,25,{leading:!1});return g.current.addEventListener("mouseenter",O),g.current.addEventListener("mousemove",e),g.current.addEventListener("mouseleave",C),function(){g.current&&(g.current.removeEventListener("mouseenter",O),g.current.removeEventListener("mousemove",e),g.current.removeEventListener("mouseleave",C))}}}),[g.current,n]),[g,h]}},17082:(e,t,n)=>{n.d(t,{Nq:()=>u,oD:()=>m,t0:()=>d});var a,r=n(32735),i=n(12788),o=(a=function(e,t){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},a(e,t)},function(e,t){function n(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),c="html",l="svg",s=function(e,t){var n,a,r,i={};if(e===c)r=document.createElement("div");else{if(e!==l)throw new Error('Invalid element type "'+e+'" for createPortalNode: must be "html" or "svg".');r=document.createElementNS("http://www.w3.org/2000/svg","g")}if(t&&"object"==typeof t)for(var o=0,s=Object.entries(t.attributes);o<s.length;o++){var u=s[o],d=u[0],m=u[1];r.setAttribute(d,m)}var v={element:r,elementType:e,setPortalProps:function(e){i=e},getInitialPortalProps:function(){return i},mount:function(t,r){if(r!==a){if(v.unmount(),t!==n&&!function(e,t){if(t===c)return e instanceof HTMLElement;if(t===l)return e instanceof SVGElement;throw new Error('Unrecognized element type "'+t+'" for validateElementType.')}(t,e))throw new Error('Invalid element type for portal: "'+e+'" portalNodes must be used with '+e+" elements, but OutPortal is within <"+t.tagName+">.");t.replaceChild(v.element,r),n=t,a=r}},unmount:function(e){e&&e!==a||n&&a&&(n.replaceChild(a,v.element),n=void 0,a=void 0)}};return v},u=function(e){function t(t){var n=e.call(this,t)||this;return n.addPropsChannel=function(){Object.assign(n.props.node,{setPortalProps:function(e){n.setState({nodeProps:e})}})},n.state={nodeProps:n.props.node.getInitialPortalProps()},n}return o(t,e),t.prototype.componentDidMount=function(){this.addPropsChannel()},t.prototype.componentDidUpdate=function(){this.addPropsChannel()},t.prototype.render=function(){var e=this,t=this.props,n=t.children,a=t.node;return i.createPortal(r.Children.map(n,(function(t){return r.isValidElement(t)?r.cloneElement(t,e.state.nodeProps):t})),a.element)},t}(r.PureComponent),d=function(e){function t(t){var n=e.call(this,t)||this;return n.placeholderNode=r.createRef(),n.passPropsThroughPortal(),n}return o(t,e),t.prototype.passPropsThroughPortal=function(){var e=Object.assign({},this.props,{node:void 0});this.props.node.setPortalProps(e)},t.prototype.componentDidMount=function(){var e=this.props.node;this.currentPortalNode=e;var t=this.placeholderNode.current,n=t.parentNode;e.mount(n,t),this.passPropsThroughPortal()},t.prototype.componentDidUpdate=function(){var e=this.props.node;this.currentPortalNode&&e!==this.currentPortalNode&&(this.currentPortalNode.unmount(this.placeholderNode.current),this.currentPortalNode.setPortalProps({}),this.currentPortalNode=e);var t=this.placeholderNode.current,n=t.parentNode;e.mount(n,t),this.passPropsThroughPortal()},t.prototype.componentWillUnmount=function(){var e=this.props.node;e.unmount(this.placeholderNode.current),e.setPortalProps({})},t.prototype.render=function(){return r.createElement("div",{ref:this.placeholderNode})},t}(r.PureComponent),m=s.bind(null,c);s.bind(null,l)},34152:(e,t,n)=>{n.d(t,{YD:()=>s});var a=n(32735),r=(Object.defineProperty,new Map),i=new WeakMap,o=0,c=void 0;function l(e,t,n={},a=c){if(void 0===window.IntersectionObserver&&void 0!==a){const r=e.getBoundingClientRect();return t(a,{isIntersecting:a,target:e,intersectionRatio:"number"==typeof n.threshold?n.threshold:0,time:0,boundingClientRect:r,intersectionRect:r,rootBounds:r}),()=>{}}const{id:l,observer:s,elements:u}=function(e){const t=function(e){return Object.keys(e).sort().filter((t=>void 0!==e[t])).map((t=>{return`${t}_${"root"===t?(n=e.root,n?(i.has(n)||(o+=1,i.set(n,o.toString())),i.get(n)):"0"):e[t]}`;var n})).toString()}(e);let n=r.get(t);if(!n){const a=new Map;let i;const o=new IntersectionObserver((t=>{t.forEach((t=>{var n;const r=t.isIntersecting&&i.some((e=>t.intersectionRatio>=e));e.trackVisibility&&void 0===t.isVisible&&(t.isVisible=r),null==(n=a.get(t.target))||n.forEach((e=>{e(r,t)}))}))}),e);i=o.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),n={id:t,observer:o,elements:a},r.set(t,n)}return n}(n),d=u.get(e)||[];return u.has(e)||u.set(e,d),d.push(t),s.observe(e),function(){d.splice(d.indexOf(t),1),0===d.length&&(u.delete(e),s.unobserve(e)),0===u.size&&(s.disconnect(),r.delete(l))}}function s({threshold:e,delay:t,trackVisibility:n,rootMargin:r,root:i,triggerOnce:o,skip:c,initialInView:s,fallbackInView:u,onChange:d}={}){var m;const[v,p]=a.useState(null),f=a.useRef(),[g,y]=a.useState({inView:!!s,entry:void 0});f.current=d,a.useEffect((()=>{if(c||!v)return;let a;return a=l(v,((e,t)=>{y({inView:e,entry:t}),f.current&&f.current(e,t),t.isIntersecting&&o&&a&&(a(),a=void 0)}),{root:i,rootMargin:r,threshold:e,trackVisibility:n,delay:t},u),()=>{a&&a()}}),[Array.isArray(e)?e.toString():e,v,i,r,o,c,n,u,t]);const h=null==(m=g.entry)?void 0:m.target,b=a.useRef();v||!h||o||c||b.current===h||(b.current=h,y({inView:!!s,entry:void 0}));const E=[p,g.inView,g.entry];return E.ref=E[0],E.inView=E[1],E.entry=E[2],E}a.Component}}]);
|