@clickview/library-editor 1.6.1-dev.0 → 1.6.1-dev.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 +2 -2
- package/dist/css/1832-library-editor-16982d18f9.chunk.css +2 -0
- package/dist/css/{2417-library-editor-28b1ddbe61.chunk.css → 2417-library-editor-1232df0f0a.chunk.css} +1 -1
- package/dist/css/{3427-library-editor-2ba6a08f4c.chunk.css → 3427-library-editor-8442ad6453.chunk.css} +1 -1
- package/dist/css/4860-library-editor-27c2a56d40.chunk.css +2 -0
- package/dist/css/{5047-library-editor-d59ace1885.chunk.css → 5047-library-editor-3ed99ac07f.chunk.css} +1 -1
- package/dist/css/5747-library-editor-615300053c.chunk.css +2 -0
- package/dist/css/6093-library-editor-3b3ef2f270.chunk.css +2 -0
- package/dist/css/{6625-library-editor-d6697f1eb0.chunk.css → 6625-library-editor-89b6e935f3.chunk.css} +1 -1
- package/dist/css/7053-library-editor-43ee5fb1f9.chunk.css +2 -0
- package/dist/css/9695-library-editor-a3a0f8d8e8.chunk.css +2 -0
- package/dist/css/9927-library-editor-e3b21e68b0.chunk.css +2 -0
- package/dist/css/{library-editor-app-3665b91943.css → library-editor-app-520ef9f4dd.css} +1 -1
- package/dist/en.json +1 -1
- package/dist/scripts/1203-c5dbf7e172.chunk.js +1 -0
- package/dist/scripts/{1832-89afc0b65d.chunk.js → 1832-9528386bfe.chunk.js} +1 -1
- package/dist/scripts/{2098-c2685cf5de.chunk.js → 2098-81d327208e.chunk.js} +1 -1
- package/dist/scripts/259-fb7e645a88.chunk.js +1 -0
- package/dist/scripts/2802-b2ecdec04d.chunk.js +2 -0
- package/dist/scripts/{3096-0b8b6273ec.chunk.js → 3096-1996cb2491.chunk.js} +1 -1
- package/dist/scripts/4201-973ee89615.chunk.js +1 -0
- package/dist/scripts/4703-91a9057db3.chunk.js +1 -0
- package/dist/scripts/4810-90c94e948c.chunk.js +1 -0
- package/dist/scripts/4860-56e7955cd4.chunk.js +1 -0
- package/dist/scripts/4983-aaf93b05f3.chunk.js +1 -0
- package/dist/scripts/5047-1eb393ebcb.chunk.js +1 -0
- package/dist/scripts/5248-e994f353a6.chunk.js +1 -0
- package/dist/scripts/5356-1642cf84ae.chunk.js +1 -0
- package/dist/scripts/5431-9b17f3323f.chunk.js +1 -0
- package/dist/scripts/5665-0883ca6960.chunk.js +1 -0
- package/dist/scripts/{5747-31b86123b7.chunk.js → 5747-c94ce9aec7.chunk.js} +1 -1
- package/dist/scripts/5967-4f0965dfb6.chunk.js +1 -0
- package/dist/scripts/{6092-6bbe64e4ec.chunk.js → 6092-95acc023c1.chunk.js} +2 -2
- package/dist/scripts/6093-d60094ebe6.chunk.js +1 -0
- package/dist/scripts/{6625-51f84d53ce.chunk.js → 6625-39e5f05b25.chunk.js} +1 -1
- package/dist/scripts/{6788-7373d05068.chunk.js → 6788-2c2381f971.chunk.js} +1 -1
- package/dist/scripts/{7002-14dba2483e.chunk.js → 7002-4895587ec3.chunk.js} +1 -1
- package/dist/scripts/7053-312e4779fe.chunk.js +1 -0
- package/dist/scripts/7251-787b3da712.chunk.js +2 -0
- package/dist/scripts/8420-a48a49afa5.chunk.js +1 -0
- package/dist/scripts/{8727-0e6e346980.chunk.js → 8727-24d6b079b1.chunk.js} +1 -1
- package/dist/scripts/9195-18d277a22b.chunk.js +1 -0
- package/dist/scripts/9695-72bc239f92.chunk.js +1 -0
- package/dist/scripts/9927-6933b86ad4.chunk.js +1 -0
- package/dist/scripts/bundle-b7ff45d66e.min.js +2 -0
- package/package.json +2 -2
- package/dist/css/1832-library-editor-761fcb8755.chunk.css +0 -2
- package/dist/css/4860-library-editor-d2f7f18ab7.chunk.css +0 -2
- package/dist/css/5747-library-editor-a3e5ded646.chunk.css +0 -2
- package/dist/css/6093-library-editor-07e26e7dd0.chunk.css +0 -2
- package/dist/css/7053-library-editor-96752915ef.chunk.css +0 -2
- package/dist/css/9695-library-editor-a995f8ddfd.chunk.css +0 -2
- package/dist/scripts/2526-dda01a61c8.chunk.js +0 -1
- package/dist/scripts/259-01aab15df9.chunk.js +0 -1
- package/dist/scripts/4198-bb0a5793bb.chunk.js +0 -1
- package/dist/scripts/4201-d09f8e78d9.chunk.js +0 -1
- package/dist/scripts/4269-61604530d2.chunk.js +0 -1
- package/dist/scripts/4810-b140d9a182.chunk.js +0 -1
- package/dist/scripts/4860-e790102563.chunk.js +0 -1
- package/dist/scripts/5047-d7e3a03e63.chunk.js +0 -1
- package/dist/scripts/5248-24be292136.chunk.js +0 -1
- package/dist/scripts/5356-d7c8462e69.chunk.js +0 -1
- package/dist/scripts/5431-2e33ec3db5.chunk.js +0 -1
- package/dist/scripts/5967-09e9945e4d.chunk.js +0 -1
- package/dist/scripts/6092-dc2d705c86.chunk.js +0 -2
- package/dist/scripts/6093-7981719748.chunk.js +0 -1
- package/dist/scripts/7053-31dc9ca367.chunk.js +0 -1
- package/dist/scripts/7251-a247842ccb.chunk.js +0 -2
- package/dist/scripts/8420-5718e95a30.chunk.js +0 -1
- package/dist/scripts/9231-5de6f18fae.chunk.js +0 -2
- package/dist/scripts/9592-35ee192235.chunk.js +0 -1
- package/dist/scripts/9695-efcf04cb36.chunk.js +0 -1
- package/dist/scripts/bundle-0dde146b0f.min.js +0 -2
- package/dist/scripts/bundle-0dde146b0f.min.js.LICENSE.txt +0 -1
- package/dist/scripts/bundle-58ec5ddd11.min.js +0 -2
- package/dist/scripts/bundle-58ec5ddd11.min.js.LICENSE.txt +0 -1
- package/typings/libs/Trackers.d.ts +0 -10
- /package/dist/css/{4269-library-editor-53b01520c3.chunk.css → 1203-library-editor-53b01520c3.chunk.css} +0 -0
- /package/dist/css/{4198-library-editor-76fe7e394b.chunk.css → 4983-library-editor-76fe7e394b.chunk.css} +0 -0
- /package/dist/css/{2526-library-editor-14f7d9be38.chunk.css → 9195-library-editor-14f7d9be38.chunk.css} +0 -0
- /package/dist/scripts/{1010-24607acfed.chunk.js → 1010-f5821049de.chunk.js} +0 -0
- /package/dist/scripts/{1086-f04d5fadc1.chunk.js → 1086-ba954c2a70.chunk.js} +0 -0
- /package/dist/scripts/{1409-114ad97f77.chunk.js → 1409-fd44225dc3.chunk.js} +0 -0
- /package/dist/scripts/{2417-51eb61a04f.chunk.js → 2417-f94be32319.chunk.js} +0 -0
- /package/dist/scripts/{243-7b872b7680.chunk.js → 243-a47bc2738b.chunk.js} +0 -0
- /package/dist/scripts/{2692-88c450caf0.chunk.js → 2692-15c761ec3d.chunk.js} +0 -0
- /package/dist/scripts/{2733-0ac0b6e426.chunk.js → 2733-c490fcd11e.chunk.js} +0 -0
- /package/dist/scripts/{9231-5de6f18fae.chunk.js.LICENSE.txt → 2802-b2ecdec04d.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{2803-98bcd79ba5.chunk.js → 2803-4001a13e71.chunk.js} +0 -0
- /package/dist/scripts/{2888-003112c51f.chunk.js → 2888-367d734290.chunk.js} +0 -0
- /package/dist/scripts/{299-b144ff4735.chunk.js → 299-e705baba74.chunk.js} +0 -0
- /package/dist/scripts/{3122-ef94efcef2.chunk.js → 3122-2994bbc040.chunk.js} +0 -0
- /package/dist/scripts/{3427-97db759df9.chunk.js → 3427-c123fde939.chunk.js} +0 -0
- /package/dist/scripts/{3639-0103f45f8f.chunk.js → 3639-3a08b64061.chunk.js} +0 -0
- /package/dist/scripts/{3763-ed8d0efc20.chunk.js → 3763-6bcada88e2.chunk.js} +0 -0
- /package/dist/scripts/{3803-3d479fd404.chunk.js → 3803-d2d3b20313.chunk.js} +0 -0
- /package/dist/scripts/{400-b1ef6e7eff.chunk.js → 400-00070f1714.chunk.js} +0 -0
- /package/dist/scripts/{409-8f9b85f515.chunk.js → 409-1285d42d9a.chunk.js} +0 -0
- /package/dist/scripts/{4245-02b1f4ef99.chunk.js → 4245-539cbeccf6.chunk.js} +0 -0
- /package/dist/scripts/{435-49aa1bf06b.chunk.js → 435-5359811578.chunk.js} +0 -0
- /package/dist/scripts/{4353-7d8dd2cde6.chunk.js → 4353-b4b96c0408.chunk.js} +0 -0
- /package/dist/scripts/{4591-da8d98f460.chunk.js → 4591-3fa9999f29.chunk.js} +0 -0
- /package/dist/scripts/{4885-4127ab3a30.chunk.js → 4885-dfe20cec34.chunk.js} +0 -0
- /package/dist/scripts/{514-f1f0a9dfaf.chunk.js → 514-8288578cec.chunk.js} +0 -0
- /package/dist/scripts/{5412-36938637ec.chunk.js → 5412-468bf7d847.chunk.js} +0 -0
- /package/dist/scripts/{5418-20996c0343.chunk.js → 5418-b740aac744.chunk.js} +0 -0
- /package/dist/scripts/{546-0cec8e55ef.chunk.js → 546-6736b53bcd.chunk.js} +0 -0
- /package/dist/scripts/{6092-6bbe64e4ec.chunk.js.LICENSE.txt → 6092-95acc023c1.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{6420-2178cb2561.chunk.js → 6420-6bae432c6b.chunk.js} +0 -0
- /package/dist/scripts/{6774-dd35a32f7d.chunk.js → 6774-580a63bbeb.chunk.js} +0 -0
- /package/dist/scripts/{693-021c33ce1a.chunk.js → 693-0ae38e2ba5.chunk.js} +0 -0
- /package/dist/scripts/{7190-7208221818.chunk.js → 7190-1641f45cb9.chunk.js} +0 -0
- /package/dist/scripts/{7251-a247842ccb.chunk.js.LICENSE.txt → 7251-787b3da712.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{8074-fdddb2e35b.chunk.js → 8074-e02348d9c5.chunk.js} +0 -0
- /package/dist/scripts/{8343-c23e38e87b.chunk.js → 8343-302fa9dead.chunk.js} +0 -0
- /package/dist/scripts/{8362-eafdfe9326.chunk.js → 8362-a88a675488.chunk.js} +0 -0
- /package/dist/scripts/{8726-a91abb31b9.chunk.js → 8726-18e0343855.chunk.js} +0 -0
- /package/dist/scripts/{8762-62382b3601.chunk.js → 8762-afe0358334.chunk.js} +0 -0
- /package/dist/scripts/{8906-16bf68d7a8.chunk.js → 8906-ad7ae16f53.chunk.js} +0 -0
- /package/dist/scripts/{9167-1f83122dd7.chunk.js → 9167-46f5b4112f.chunk.js} +0 -0
- /package/dist/scripts/{9298-c38c7a39a4.chunk.js → 9298-89f5e3b9c8.chunk.js} +0 -0
- /package/dist/scripts/{9355-996bb2c2aa.chunk.js → 9355-2eb7bb39e2.chunk.js} +0 -0
- /package/dist/scripts/{9357-3c7d66d47b.chunk.js → 9357-48623968db.chunk.js} +0 -0
- /package/dist/scripts/{9383-b1bd4cce7d.chunk.js → 9383-e274073684.chunk.js} +0 -0
- /package/dist/scripts/{6092-dc2d705c86.chunk.js.LICENSE.txt → bundle-b7ff45d66e.min.js.LICENSE.txt} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_clickview_library_editor=self.webpackChunk_clickview_library_editor||[]).push([[6093],{36093:function(e,t,r){"use strict";r.r(t),r.d(t,{ErrorView:function(){return b}});var n=r(48088),o=r(31647),i=r(2882),u=r.n(i),c={image:"DlVFv"};function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function s(e,t){return s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},s(e,t)}function p(e,t){if(t&&("object"===l(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function y(e){return y=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},y(e)}var b=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&s(e,t)}(b,e);var t,r,o,i,l=(o=b,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=y(o);if(i){var r=y(this).constructor;e=Reflect.construct(t,arguments,r)}else e=t.apply(this,arguments);return p(this,e)});function b(){return a(this,b),l.apply(this,arguments)}return t=b,(r=[{key:"initialize",value:function(){var e=n.Radio.channel("error:view");this.error=e.request("current:error")}},{key:"name",get:function(){return"ErrorView"}},{key:"title",get:function(){return!1}},{key:"className",get:function(){return"bg-white mt-3 p-5 text-center rounded"}},{key:"template",get:function(){return u()}},{key:"viewOptions",value:function(){return{heading:this.error.heading,description:this.error.description,imageNumber:Math.round(5*Math.random()+1),styles:c}}}])&&f(t.prototype,r),Object.defineProperty(t,"prototype",{writable:!1}),b}(o.Q.View)},2882:function(e,t,r){var n=r(32227);e.exports=(n.default||n).template({compiler:[8,">= 4.3.0"],main:function(e,t,r,n,o){e.propertyIsEnumerable;var i,u=e.lambda,c=e.escapeExpression;return'\r\n<img src="/images/errors/Oops'+c(u(null!=(i=null!=t?t.options:t)?i.imageNumber:i,t))+'@2x.png" class="'+c(u(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.image:i,t))+'" />\r\n<h4 class="mt-3 text-muted">'+c(u(null!=(i=null!=t?t.options:t)?i.heading:i,t))+"</h4>\r\n<p>"+(null!=(i=u(null!=(i=null!=t?t.options:t)?i.description:i,t))?i:"")+"</p>"},useData:!0})}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_clickview_library_editor=self.webpackChunk_clickview_library_editor||[]).push([[7053],{87053:function(t,e,n){"use strict";n.r(e),n.d(e,{GeneratePastReleasesPdfView:function(){return k}});var r=n(39479),o=n(33192),i=n(31647),u=n(21679),c=n(57857),a=n(70065),s=n(52076),l=n(10101),f=n(3059),p=n(9484),y=n(30305),b=n(67670),d=n(61843),h=n(39090),g=n(88172),m=n(44937),v=n(29569),O=n.n(v),j={image:"go5qS"};function w(t){return w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},w(t)}function S(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function P(t,e){return P=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},P(t,e)}function I(t,e){if(e&&("object"===w(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function _(t){return _=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},_(t)}var k=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&P(t,e)}(k,t);var e,n,i,v,w=(i=k,v=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=_(i);if(v){var n=_(this).constructor;t=Reflect.construct(e,arguments,n)}else t=e.apply(this,arguments);return I(this,t)});function k(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,k),w.call(this,t)}return e=k,(n=[{key:"initialize",value:function(){this.libraryDataService=u.u.getInstance(y.Or.Library,this),this.contentUpdatesDataService=u.u.getInstance(y.Or.ContentUpdates,this),this.exportDataService=u.u.getInstance(y.Or.Export,this)}},{key:"name",get:function(){return"GeneratePastReleasesPdfView"}},{key:"title",get:function(){return c.T.getPhrase(this.lang,"title")}},{key:"lang",get:function(){return"contentUpdates.generatePastReleasesPdf"}},{key:"template",get:function(){return O()}},{key:"channelName",get:function(){return d.N0.generateUniqueChannelName(this)}},{key:"behaviors",get:function(){var t=this;return[{behaviorClass:l.Yw,title:c.T.getPhrase(this.lang,"heading"),spinnerButtonOptions:{model:this.spinnerModel=new b.v,channelName:this.channelName,buttonText:c.T.getPhrase(this.lang,"generateBtn"),onClick:function(){return t.onClickGeneratePdf()}}}]}},{key:"onLibrariesSync",value:function(t){var e=this;this.libraries=t,this.selectedLibraryIds=h.RF.getLibraryIds(this.options.librariesQueryString,t),this.subjectCollectionIdentifier=new f.xw({dateQueryString:this.options.dateQueryString,libraryIds:this.selectedLibraryIds}),this.contentUpdatesDataService.getRecentVideoSubjects(this.subjectCollectionIdentifier,(function(n){return e.onSubjectsSync(t,n)}))}},{key:"onSubjectsSync",value:function(t,e){var n=h.RF.getSubjectOptions(e).map((function(t){return new m.Wx(t)})),o={dateQueryString:this.options.dateQueryString,libraryIds:this.selectedLibraryIds};if(!this.options.subjectQueryString)return this.videoCollectionIdentifier=new f.IJ(o),void this.spinnerModel.set(g.ZV.Disabled,!1);var i=this.getSubjectIds();this.videoCollectionIdentifier=new f.IJ(r.extend(o,{subjects:n.filter((function(t){return!!r.intersection(i,t.get("subjectIds")).length}))})),this.spinnerModel.set(g.ZV.Disabled,!1)}},{key:"getSubjectIds",value:function(){if(this.options.subjectQueryString)return this.options.subjectQueryString.split("-")[1].split(",")}},{key:"getLibrariesText",value:function(){var t=this;if(this.libraries.length!==this.selectedLibraryIds.length){var e=this.libraries.filter((function(e){return r.contains(t.selectedLibraryIds,e.id.toString())})),n=e.map((function(t){return"<strong>".concat(d.m$.escapeExpression(t.get("name")),"</strong>")}));return e.length<=2?n.join(" ".concat(c.T.getPhrase(this.lang,"and")," ")):r.first(n,n.length-1).join(", ")+" ".concat(c.T.getPhrase(this.lang,"and")," ").concat(r.last(n))}}},{key:"getFormattedDate",value:function(t){if(t)return o(t).format("DD MMMM YYYY")}},{key:"getFormattedSubjects",value:function(){if(this.videoCollectionIdentifier.subjects){var t=this.videoCollectionIdentifier.subjects.map((function(t){return t.get("name")}));return 1===t.length?t[0]:t.slice(0,-1).join(", ")+" ".concat(c.T.getPhrase(this.lang,"and")," ")+t.slice(-1)}}},{key:"onClickGeneratePdf",value:function(){this.spinnerModel.set(g.ZV.ShowSpinner,!0),this.fetchVideosAndGeneratePdf()}},{key:"fetchVideosAndGeneratePdf",value:function(){var t=this;this.contentUpdatesDataService.getRecentVideosAllPages(this.videoCollectionIdentifier,(function(e){e&&e.length?t.generatePdf(e.map((function(t){return t.id.toString()}))):t.triggerMethod("hide")}))}},{key:"generatePdf",value:function(t){var e=this,n=this.videoCollectionIdentifier.subjects?this.getFormattedSubjects():c.T.getPhrase(this.lang,"latestReleases"),r=o(this.videoCollectionIdentifier.dateOption.get("from")).format("MMMM YYYY"),i=o(this.videoCollectionIdentifier.dateOption.get("to")).format("MMMM YYYY"),u=r===i?c.T.getPhrase(this.lang,"fromContentUpdate",{from:r}):c.T.getPhrase(this.lang,"fromToContentUpdates",{from:r,to:i});this.exportDataService.generateCustomListPdf(n,u,t,this.currentUser,(function(){return e.triggerMethod("hide")})),this.logAction(t.length)}},{key:"logAction",value:function(t){var e={location:a.LocationContext.Popup,actionType:a.UserAction.Create,entity:a.EntityType.PDF,workflowPhase:a.WorkflowPhase.Complete},n={videoCount:t,libraries:this.selectedLibraryIds.join(","),releaseDate:this.videoCollectionIdentifier.dateOption.get("name"),subjects:this.options.subjectQueryString?this.videoCollectionIdentifier.subjects.map((function(t){return t.get("name")})).join(","):""};s.k.logUserAction(n,e)}},{key:"requiredResources",get:function(){return{currentUser:p.K.currentUser}}},{key:"onBeforeRender",value:function(){var t=this;this.libraries||this.libraryDataService.getHostedLibraries((function(e){return t.onLibrariesSync(e)}))}},{key:"viewOptions",value:function(){return{styles:j,dataFetched:!!this.libraries,spinnerEl:d.Kp.getSpinner({size:d.Ey.Large,extraClasses:"mx-auto"}),email:this.currentUser.get("email"),imageUrl:y.Wn.Shared.GeneratePdf,libraryText:this.getLibrariesText(),subject:this.getFormattedSubjects(),from:this.videoCollectionIdentifier&&this.getFormattedDate(this.videoCollectionIdentifier.dateOption.get("from")),to:this.videoCollectionIdentifier&&this.getFormattedDate(this.videoCollectionIdentifier.dateOption.get("to"))}}}])&&S(e.prototype,n),Object.defineProperty(e,"prototype",{writable:!1}),k}(i.Q.View)},3059:function(t,e,n){"use strict";n.d(e,{KX:function(){return k},IJ:function(){return d},xw:function(){return j},F7:function(){return r.F}});var r=n(1091),o=n(39479),i=n(33303),u=n(30305),c=n(44937),a=n(39090);function s(t){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},s(t)}function l(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function f(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function p(t,e){return p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},p(t,e)}function y(t,e){if(e&&("object"===s(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function b(t){return b=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},b(t)}var d=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&p(t,e)}(d,t);var e,n,r,i,s=(r=d,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=b(r);if(i){var n=b(this).constructor;t=Reflect.construct(e,arguments,n)}else t=e.apply(this,arguments);return y(this,t)});function d(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,d),(e=s.call(this,{collectionPrefix:"".concat(u.M_.RECENT_VIDEOS,":collection"),cursor:t.cursor,sort:t.sort})).setAdditionalData(t),e}return e=d,(n=[{key:"setAdditionalData",value:function(t){var e=t.libraryIds,n=t.dateQueryString,r=t.subjects;e&&(this.libraryIds=e),r&&(o.isArray(r)&&r.length&&(this.subjects=r),o.isArray(r)||(this.subjects=[r]));var i=o.findWhere(a.US,{queryString:n})||a.U1;this.dateOption=new c.Wx(i)}},{key:"toString",value:function(){var t,e=this.subjects&&this.subjects.length&&this.subjects.map((function(t){return escape(t.get("name"))}))||[];return[this.collectionPrefix,this.libraryIds,this.dateOption.get("from"),this.dateOption.get("to")].concat((t=e,function(t){if(Array.isArray(t))return l(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return l(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),[this.cursor]).filter(Boolean).join(":")}},{key:"toParams",value:function(){var t={};return this.libraryIds&&(t.libraryIds=this.libraryIds),this.dateOption&&(t.from=this.dateOption.get("from"),t.to=this.dateOption.get("to")),this.subjects&&(t.subjectIds=o.flatten(this.subjects.map((function(t){return t.get("subjectIds")})))),this.cursor&&(t.cursor=this.cursor),t}}])&&f(e.prototype,n),Object.defineProperty(e,"prototype",{writable:!1}),d}(i.J);function h(t){return h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},h(t)}function g(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function m(t,e){return m=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},m(t,e)}function v(t,e){if(e&&("object"===h(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function O(t){return O=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},O(t)}var j=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&m(t,e)}(l,t);var e,n,r,i,s=(r=l,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=O(r);if(i){var n=O(this).constructor;t=Reflect.construct(e,arguments,n)}else t=e.apply(this,arguments);return v(this,t)});function l(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,l),(e=s.call(this,{collectionPrefix:"".concat(u.M_.RECENT_SUBJECTS,":collection"),sort:t.sort})).setAdditionalData(t),e}return e=l,(n=[{key:"setAdditionalData",value:function(t){var e=t.libraryIds,n=t.dateQueryString;e&&(this.libraryIds=e);var r=o.findWhere(a.US,{queryString:n})||a.U1;this.dateOption=new c.Wx(r)}},{key:"toString",value:function(){return[this.collectionPrefix,this.libraryIds,this.dateOption.get("from"),this.dateOption.get("to")].filter(Boolean).join(":")}},{key:"toParams",value:function(){var t={};return this.libraryIds&&(t.libraryIds=this.libraryIds),this.dateOption&&(t.from=this.dateOption.get("from"),t.to=this.dateOption.get("to")),t}}])&&g(e.prototype,n),Object.defineProperty(e,"prototype",{writable:!1}),l}(i.J);function w(t){return w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},w(t)}function S(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function P(t,e){return P=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},P(t,e)}function I(t,e){if(e&&("object"===w(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function _(t){return _=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},_(t)}var k=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&P(t,e)}(i,t);var e,n,r,o=(n=i,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=_(n);if(r){var o=_(this).constructor;t=Reflect.construct(e,arguments,o)}else t=e.apply(this,arguments);return I(this,t)});function i(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return S(this,i),o.call(this,{collectionPrefix:u.M_.FOLDERS,id:t,sort:e,cursor:n})}return e=i,Object.defineProperty(e,"prototype",{writable:!1}),e}(i.J)},67670:function(t,e,n){"use strict";n.d(e,{v:function(){return f}});var r=n(31647),o=n(88172);function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function a(t,e){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},a(t,e)}function s(t,e){if(e&&("object"===i(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function l(t){return l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},l(t)}var f=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&a(t,e)}(p,t);var e,n,r,i,f=(r=p,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=l(r);if(i){var n=l(this).constructor;t=Reflect.construct(e,arguments,n)}else t=e.apply(this,arguments);return s(this,t)});function p(){return u(this,p),f.apply(this,arguments)}return e=p,(n=[{key:"defaults",value:function(){return t={},!0,(e=o.ZV.Disabled)in t?Object.defineProperty(t,e,{value:true,enumerable:!0,configurable:!0,writable:!0}):t[e]=true,t;var t,e}}])&&c(e.prototype,n),Object.defineProperty(e,"prototype",{writable:!1}),p}(r.Q.Model)},29569:function(t,e,n){var r=n(32227);t.exports=(r.default||r).template({1:function(t,e,n,r,o){var i;return t.propertyIsEnumerable,(null!=(i=t.lambda(null!=(i=null!=e?e.options:e)?i.spinnerEl:i,e))?i:"")+"\r\n"},3:function(t,e,n,r,o){t.propertyIsEnumerable;var i,u=t.lambda,c=t.escapeExpression,a=null!=e?e:t.nullContext||{},s=t.hooks.helperMissing;return'<div class="pb-3 text-center">\r\n <img src="'+c(u(null!=(i=null!=e?e.options:e)?i.imageUrl:i,e))+'" class="'+c(u(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.image:i,e))+'" />\r\n</div>\r\n<p class="m-0">\r\n '+(null!=(i=(n.lang||e&&e.lang||s).call(a,"body1",{name:"lang",hash:{},data:o}))?i:"")+"\r\n "+(null!=(i=n.if.call(a,null!=(i=null!=e?e.options:e)?i.libraryText:i,{name:"if",hash:{},fn:t.program(4,o,0),inverse:t.noop,data:o}))?i:"")+"\r\n "+(null!=(i=n.if.call(a,null!=(i=null!=e?e.options:e)?i.subject:i,{name:"if",hash:{},fn:t.program(6,o,0),inverse:t.noop,data:o}))?i:"")+"\r\n "+(null!=(i=(n.lang||e&&e.lang||s).call(a,"body4",{name:"lang",hash:{email:null!=(i=null!=e?e.options:e)?i.email:i,to:null!=(i=null!=e?e.options:e)?i.to:i,from:null!=(i=null!=e?e.options:e)?i.from:i},data:o}))?i:"")+"\r\n</p>\r\n"},4:function(t,e,n,r,o){var i;return t.propertyIsEnumerable,null!=(i=(n.lang||e&&e.lang||t.hooks.helperMissing).call(null!=e?e:t.nullContext||{},"body2",{name:"lang",hash:{libraryText:null!=(i=null!=e?e.options:e)?i.libraryText:i},data:o}))?i:""},6:function(t,e,n,r,o){var i;return t.propertyIsEnumerable,null!=(i=(n.lang||e&&e.lang||t.hooks.helperMissing).call(null!=e?e:t.nullContext||{},"body3",{name:"lang",hash:{subject:null!=(i=null!=e?e.options:e)?i.subject:i},data:o}))?i:""},compiler:[8,">= 4.3.0"],main:function(t,e,n,r,o){var i;return t.propertyIsEnumerable,null!=(i=n.unless.call(null!=e?e:t.nullContext||{},null!=(i=null!=e?e.options:e)?i.dataFetched:i,{name:"unless",hash:{},fn:t.program(1,o,0),inverse:t.program(3,o,0),data:o}))?i:""},useData:!0})}}]);
|