@clickview/library-editor 1.1.26 → 1.1.27-dev.0
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/.eslintrc.json +3 -0
- package/dist/css/23.chunk.css +3 -5
- package/dist/css/25.chunk.css +0 -2
- package/dist/css/library-editor-app.css +2 -2
- package/dist/en.json +1 -1
- package/dist/libs/analytics/src/clients/CollectionApiClient.d.ts +1 -3
- package/dist/libs/analytics/src/enrichers/BaseAnalyticsEnricher.d.ts +1 -1
- package/dist/libs/analytics/src/enrichers/UserDataEnricher.d.ts +1 -1
- package/dist/libs/analytics/src/interfaces/AnalyticsTypes.d.ts +8 -3
- package/dist/libs/analytics/src/utils/TypeHelper.d.ts +1 -1
- package/dist/libs/analytics/src/utils/VideoDataFormatHelper.d.ts +5 -5
- package/dist/libs/common/src/backbone/constants/CommonServices.d.ts +0 -1
- package/dist/libs/common/src/backbone/core/BaseAppRouter.d.ts +1 -1
- package/dist/libs/common/src/backbone/core/BaseApplication.d.ts +1 -1
- package/dist/libs/common/src/backbone/core/BaseBehavior.d.ts +1 -1
- package/dist/libs/common/src/backbone/core/BaseCollection.d.ts +1 -1
- package/dist/libs/common/src/backbone/core/BaseCollectionView.d.ts +1 -1
- package/dist/libs/common/src/backbone/core/BaseLayoutView.d.ts +1 -1
- package/dist/libs/common/src/backbone/core/BaseModel.d.ts +1 -1
- package/dist/libs/common/src/backbone/core/BaseNestedModel.d.ts +1 -1
- package/dist/libs/common/src/backbone/core/BaseService.d.ts +1 -1
- package/dist/libs/common/src/backbone/core/BaseView.d.ts +2 -2
- package/dist/libs/common/src/backbone/core/LayoutService.d.ts +1 -1
- package/dist/libs/common/src/backbone/core/ListenToRadio.d.ts +1 -1
- package/dist/libs/common/src/backbone/core/Shell.d.ts +1 -1
- package/dist/libs/common/src/backbone/interfaces/BaseCollectionIdentifier.d.ts +2 -1
- package/dist/libs/common/src/backbone/interfaces/DataProvider.d.ts +1 -1
- package/dist/libs/common/src/backbone/interfaces/StickitBinding.d.ts +1 -1
- package/dist/libs/common/src/backbone/services/LanguageService.d.ts +1 -1
- package/dist/libs/common/src/backbone/services/data-providers/AjaxDataProvider.d.ts +1 -1
- package/dist/libs/common/src/backbone/services/data-providers/SignalRDataProvider.d.ts +2 -2
- package/dist/libs/common/src/backbone/utils/FunctionHelper.d.ts +3 -3
- package/dist/libs/common/src/react/utils/FetchHelper.d.ts +1 -1
- package/dist/libs/shared/src/apps/notifications/views/popover/NotificationsPopoverView.d.ts +2 -2
- package/dist/libs/shared/src/apps/search/utils/InstantSearchHelper.d.ts +5 -5
- package/dist/libs/shared/src/apps/search/utils/TypeaheadHelper.d.ts +24 -24
- package/dist/libs/shared/src/apps/search/views/search-bar/SearchBarView.d.ts +5 -5
- package/dist/libs/shared/src/apps/upload/errors/file-type/FileTypeError.d.ts +1 -1
- package/dist/libs/shared/src/constants/BootstrapKeys.d.ts +1 -0
- package/dist/libs/shared/src/enums/ObjectStatus.d.ts +5 -0
- package/dist/libs/shared/src/enums/PlayerMediaType.d.ts +4 -0
- package/dist/libs/shared/src/enums/UserGroup.d.ts +5 -0
- package/dist/libs/shared/src/enums/WidgetContents.d.ts +2 -1
- package/dist/libs/shared/src/images/svg/ImportedSvgs.d.ts +3 -1
- package/dist/libs/shared/src/images/svg/actions/index.d.ts +3 -1
- package/dist/libs/shared/src/interfaces/collections/index.d.ts +1 -0
- package/dist/libs/shared/src/interfaces/models/Config.d.ts +2 -0
- package/dist/libs/shared/src/interfaces/models/Glance.d.ts +2 -0
- package/dist/libs/shared/src/interfaces/models/Link.d.ts +1 -0
- package/dist/libs/shared/src/interfaces/models/PlayerViewKey.d.ts +3 -0
- package/dist/libs/shared/src/interfaces/models/Resource.d.ts +11 -3
- package/dist/libs/shared/src/interfaces/models/Thumbnail.d.ts +3 -0
- package/dist/libs/shared/src/interfaces/models/User.d.ts +8 -1
- package/dist/libs/shared/src/interfaces/models/index.d.ts +4 -0
- package/dist/libs/shared/src/interfaces/requests/CreateViewKeyRequest.d.ts +5 -0
- package/dist/libs/shared/src/interfaces/requests/UpdateVideoRequest.d.ts +5 -1
- package/dist/libs/shared/src/interfaces/requests/index.d.ts +4 -0
- package/dist/libs/shared/src/interfaces/services/BaseUserDataService.d.ts +2 -0
- package/dist/libs/shared/src/interfaces/services/index.d.ts +1 -0
- package/dist/libs/shared/src/legacy/components/thumbnail/ThumbnailComponent.d.ts +1 -1
- package/dist/libs/shared/src/utils/ImageHelper.d.ts +5 -4
- package/dist/libs/shared/src/utils/MaskHelper.d.ts +1 -1
- package/dist/libs/shared/src/utils/SvgHelper.d.ts +0 -1
- package/dist/projects/library-editor/src/app.d.ts +20 -5
- package/dist/projects/library-editor/src/apps/content-updates/utils/ContentUpdatesHelper.d.ts +1 -1
- package/dist/projects/library-editor/src/apps/library-editor/LibraryEditorApplication.d.ts +3 -3
- package/dist/projects/library-editor/src/apps/library-editor/components/file-uploads/FileUploadsComponentCollection.d.ts +1 -1
- package/dist/projects/library-editor/src/apps/library-editor/components/language-select/LanguageSelectTypeaheadHelper.d.ts +1 -2
- package/dist/projects/library-editor/src/apps/library-editor/components/video-resources/VideoResourcesComponent.d.ts +3 -1
- package/dist/projects/library-editor/src/apps/library-editor/components/video-subtitles/VideoSubtitlesComponent.d.ts +4 -1
- package/dist/projects/library-editor/src/apps/library-editor/enums/index.d.ts +0 -1
- package/dist/projects/library-editor/src/apps/library-editor/errors/index.d.ts +0 -2
- package/dist/projects/library-editor/src/apps/library-editor/services/VideoDataService.d.ts +2 -2
- package/dist/projects/library-editor/src/apps/library-editor/utils/EditVideoHelpers.d.ts +2 -2
- package/dist/projects/library-editor/src/apps/library-editor/utils/VideoDetailsHelper.d.ts +1 -1
- package/dist/projects/library-editor/src/apps/library-editor/views/edit-resources/EditResourcesView.d.ts +3 -3
- package/dist/projects/library-editor/src/apps/migration-wizard/components/status-bar/StatusBarComponent.d.ts +2 -2
- package/dist/projects/library-editor/src/apps/upload/UploadApplication.d.ts +1 -1
- package/dist/projects/library-editor/src/shared/behaviors/index.d.ts +0 -3
- package/dist/projects/library-editor/src/shared/behaviors/popup/PopupBehavior.d.ts +3 -3
- package/dist/projects/library-editor/src/shared/components/date-picker/DatePickerComponent.d.ts +2 -2
- package/dist/projects/library-editor/src/shared/components/dropdown/DropdownButtonComponent.d.ts +4 -4
- package/dist/projects/library-editor/src/shared/components/edit-video/edit-additional-info/EditAdditionalInfoComponent.d.ts +1 -1
- package/dist/projects/library-editor/src/shared/components/edit-video/select-rating/SelectRatingItemComponent.d.ts +1 -1
- package/dist/projects/library-editor/src/shared/components/image-cropper/ImageCropperComponent.d.ts +1 -1
- package/dist/projects/library-editor/src/shared/components/select/SelectComponent.d.ts +1 -1
- package/dist/projects/library-editor/src/shared/components/spinner-button/SpinnerButtonComponent.d.ts +1 -1
- package/dist/projects/library-editor/src/shared/components/tabs/TabsComponent.d.ts +1 -1
- package/dist/projects/library-editor/src/shared/components/typeahead-input/SearchTypeaheadComponent.d.ts +4 -4
- package/dist/projects/library-editor/src/shared/components/video-item/utils/VideoItemComponents.d.ts +1 -1
- package/dist/projects/library-editor/src/shared/enums/index.d.ts +0 -2
- package/dist/projects/library-editor/src/shared/errors/index.d.ts +0 -1
- package/dist/projects/library-editor/src/shared/layouts/manage-layout/ManageLayoutView.d.ts +2 -0
- package/dist/projects/library-editor/src/shared/utils/PermissionsHelper.d.ts +1 -1
- package/dist/projects/library-editor/src/shared/utils/RatingHelper.d.ts +1 -2
- package/dist/projects/library-editor/src/shared/utils/VideoHelper.d.ts +1 -1
- package/dist/projects/library-editor/src/shared/utils/search/RawSearchHelper.d.ts +1 -1
- package/dist/projects/library-editor/src/shared/utils/search/raw-search-components/add-new/AddNewSuggestion.d.ts +1 -1
- package/dist/projects/library-editor/src/shared/views/download-video/DownloadVideoView.d.ts +0 -1
- package/dist/projects/library-editor/src/startup/RegisterAnalytics.d.ts +1 -1
- package/dist/projects/library-editor/src/startup/RegisterApplicationVariables.d.ts +1 -1
- package/dist/projects/library-editor/src/startup/RegisterApplications.d.ts +1 -1
- package/dist/projects/library-editor/src/startup/RegisterCaches.d.ts +1 -1
- package/dist/projects/library-editor/src/startup/RegisterDataProviders.d.ts +1 -1
- package/dist/projects/library-editor/src/startup/RegisterDataServices.d.ts +1 -1
- package/dist/projects/library-editor/src/startup/RegisterErrorHandlers.d.ts +1 -1
- package/dist/projects/library-editor/src/startup/RegisterHandlebarsHelpers.d.ts +1 -1
- package/dist/projects/library-editor/src/startup/RegisterLayouts.d.ts +1 -1
- package/dist/projects/library-editor/src/startup/RegisterServices.d.ts +1 -1
- package/dist/projects/library-editor/src/startup/RegisterViewDataExtensions.d.ts +1 -1
- package/dist/projects/library-editor/typings/libs/LazyLoad.d.ts +1 -1
- package/dist/scripts/{0-93276429bf.chunk.js → 0-7d941d48a1.chunk.js} +1 -1
- package/dist/scripts/1-d174976195.chunk.js +1 -0
- package/dist/scripts/{10-31317a2d02.chunk.js → 10-9389c5decb.chunk.js} +1 -1
- package/dist/scripts/{11-74bc3f2d9f.chunk.js → 11-85acf490ea.chunk.js} +1 -1
- package/dist/scripts/{12-6ecdd79b85.chunk.js → 12-0db13732f7.chunk.js} +1 -1
- package/dist/scripts/13-994f87e579.chunk.js +1 -0
- package/dist/scripts/14-2902bc9522.chunk.js +1 -0
- package/dist/scripts/15-c6ed60d5c9.chunk.js +1 -0
- package/dist/scripts/{16-427a8933c8.chunk.js → 16-745edb531a.chunk.js} +1 -1
- package/dist/scripts/{17-140fec014b.chunk.js → 17-84499189f1.chunk.js} +1 -1
- package/dist/scripts/{2-0c5fba8b60.chunk.js → 2-236aa94486.chunk.js} +1 -1
- package/dist/scripts/{20-732a7a549d.chunk.js → 20-96717eb19f.chunk.js} +1 -1
- package/dist/scripts/{21-ee85b6d208.chunk.js → 21-65f36b6673.chunk.js} +1 -1
- package/dist/scripts/{22-082c94a39c.chunk.js → 22-5e4db41745.chunk.js} +1 -1
- package/dist/scripts/23-d0172ec9d2.chunk.js +1 -0
- package/dist/scripts/{24-c94049500e.chunk.js → 24-6ac1386d9a.chunk.js} +1 -1
- package/dist/scripts/25-36d490b1c6.chunk.js +1 -0
- package/dist/scripts/{26-d166e3c313.chunk.js → 26-58a421e3cb.chunk.js} +1 -1
- package/dist/scripts/27-a507f85408.chunk.js +1 -0
- package/dist/scripts/{28-e490147f6b.chunk.js → 28-add4a2a74d.chunk.js} +1 -1
- package/dist/scripts/29-adf22ec3a1.chunk.js +1 -0
- package/dist/scripts/{3-42e8af9f39.chunk.js → 3-3c39acc333.chunk.js} +1 -1
- package/dist/scripts/{30-9d32d88d76.chunk.js → 30-6e869b77b2.chunk.js} +1 -1
- package/dist/scripts/{31-639090fee3.chunk.js → 31-f3a0832478.chunk.js} +1 -1
- package/dist/scripts/32-cbcb5dba41.chunk.js +1 -0
- package/dist/scripts/33-c9a197cce2.chunk.js +1 -0
- package/dist/scripts/34-37fc1c9761.chunk.js +1 -0
- package/dist/scripts/35-21329b155d.chunk.js +1 -0
- package/dist/scripts/36-0d3fa3d249.chunk.js +1 -0
- package/dist/scripts/{37-3f3a603b60.chunk.js → 37-681f25d8de.chunk.js} +1 -1
- package/dist/scripts/38-5364f1bd67.chunk.js +1 -0
- package/dist/scripts/{39-71c4bb46b2.chunk.js → 39-996d4ddc74.chunk.js} +1 -1
- package/dist/scripts/4-93e14cac14.chunk.js +1 -0
- package/dist/scripts/{40-f1d72b1049.chunk.js → 40-7ecb39dfb5.chunk.js} +1 -1
- package/dist/scripts/41-8b5abd983b.chunk.js +1 -0
- package/dist/scripts/{42-3480033857.chunk.js → 42-b0867d7db0.chunk.js} +1 -1
- package/dist/scripts/{43-2fe5b1c9cc.chunk.js → 43-32a9ad2254.chunk.js} +1 -1
- package/dist/scripts/44-bf0ebe3cf7.chunk.js +1 -0
- package/dist/scripts/45-2ba05e3821.chunk.js +1 -0
- package/dist/scripts/46-3bdc667e2e.chunk.js +1 -0
- package/dist/scripts/{47-1e3d829757.chunk.js → 47-9955928b6f.chunk.js} +1 -1
- package/dist/scripts/{48-877e9e02b8.chunk.js → 48-3922b945f4.chunk.js} +1 -1
- package/dist/scripts/{49-0f9a6a1782.chunk.js → 49-23a1f6f7e7.chunk.js} +1 -1
- package/dist/scripts/5-4bea739cc3.chunk.js +1 -0
- package/dist/scripts/{50-0741587a02.chunk.js → 50-5c842985ec.chunk.js} +1 -1
- package/dist/scripts/{51-a5f1309ada.chunk.js → 51-76bb20846a.chunk.js} +1 -1
- package/dist/scripts/{52-bc48f1f9e8.chunk.js → 52-837abee352.chunk.js} +1 -1
- package/dist/scripts/{53-36007500cf.chunk.js → 53-52c9fac5eb.chunk.js} +1 -1
- package/dist/scripts/{54-7cdbdcebf9.chunk.js → 54-557f6ffe65.chunk.js} +1 -1
- package/dist/scripts/{55-078bb9b0ea.chunk.js → 55-8dea861900.chunk.js} +1 -1
- package/dist/scripts/{56-36d54fa08f.chunk.js → 56-491db19e9d.chunk.js} +1 -1
- package/dist/scripts/{57-c1faec8b32.chunk.js → 57-87323c96be.chunk.js} +1 -1
- package/dist/scripts/{58-e996405f2b.chunk.js → 58-3408474ea9.chunk.js} +1 -1
- package/dist/scripts/{59-0a7bdc86b0.chunk.js → 59-ad89e8b776.chunk.js} +1 -1
- package/dist/scripts/{6-1045293de4.chunk.js → 6-cf6bf13de2.chunk.js} +1 -1
- package/dist/scripts/{60-0d8896555f.chunk.js → 60-3324435680.chunk.js} +1 -1
- package/dist/scripts/{61-57fa6b5248.chunk.js → 61-57f4830468.chunk.js} +1 -1
- package/dist/scripts/{62-67458b7fb4.chunk.js → 62-27f0a916e8.chunk.js} +1 -1
- package/dist/scripts/{63-420b10f5f2.chunk.js → 63-c328125cb6.chunk.js} +1 -1
- package/dist/scripts/{64-e6598113a7.chunk.js → 64-32b869d473.chunk.js} +1 -1
- package/dist/scripts/{65-93567fe088.chunk.js → 65-2f7971dc4f.chunk.js} +1 -1
- package/dist/scripts/{66-c84a3a3c3f.chunk.js → 66-34c241cba2.chunk.js} +1 -1
- package/dist/scripts/67-b5429e74ed.chunk.js +1 -0
- package/dist/scripts/{68-7b1d5e8e75.chunk.js → 68-c8848a4a9d.chunk.js} +1 -1
- package/dist/scripts/{69-3d2063cd0f.chunk.js → 69-3840d20a46.chunk.js} +1 -1
- package/dist/scripts/{7-3151397d74.chunk.js → 7-d1e99b91aa.chunk.js} +1 -1
- package/dist/scripts/{70-27e9e5792a.chunk.js → 70-812a99c9c1.chunk.js} +1 -1
- package/dist/scripts/{71-c5923e2d2d.chunk.js → 71-5523ee0121.chunk.js} +1 -1
- package/dist/scripts/{72-0a6c88f9fe.chunk.js → 72-fd2b5e6473.chunk.js} +1 -1
- package/dist/scripts/{8-7278f3247c.chunk.js → 8-1c22ae2c22.chunk.js} +1 -1
- package/dist/scripts/9-fab9edf019.chunk.js +1 -0
- package/dist/scripts/bundle-c2eae7224c.min.js +8 -0
- package/dist/scripts/bundles.json +2 -2
- package/dist/scripts/polyfills-1554419c02.min.js +1 -0
- package/package.json +4 -3
- package/typings/libs/CVEvents.d.ts +1 -1
- package/typings/libs/LazyLoad.ts +2 -1
- package/typings/libs/Trackers.d.ts +1 -1
- package/dist/css/1.chunk.css.map +0 -1
- package/dist/css/10.chunk.css.map +0 -1
- package/dist/css/11.chunk.css +0 -137
- package/dist/css/11.chunk.css.map +0 -1
- package/dist/css/12.chunk.css.map +0 -1
- package/dist/css/13.chunk.css.map +0 -1
- package/dist/css/14.chunk.css.map +0 -1
- package/dist/css/16.chunk.css.map +0 -1
- package/dist/css/17.chunk.css.map +0 -1
- package/dist/css/18.chunk.css +0 -20
- package/dist/css/18.chunk.css.map +0 -1
- package/dist/css/2.chunk.css +0 -145
- package/dist/css/2.chunk.css.map +0 -1
- package/dist/css/21.chunk.css.map +0 -1
- package/dist/css/22.chunk.css.map +0 -1
- package/dist/css/23.chunk.css.map +0 -1
- package/dist/css/25.chunk.css.map +0 -1
- package/dist/css/26.chunk.css.map +0 -1
- package/dist/css/28.chunk.css.map +0 -1
- package/dist/css/29.chunk.css.map +0 -1
- package/dist/css/3.chunk.css.map +0 -1
- package/dist/css/30.chunk.css.map +0 -1
- package/dist/css/31.chunk.css.map +0 -1
- package/dist/css/32.chunk.css.map +0 -1
- package/dist/css/33.chunk.css.map +0 -1
- package/dist/css/34.chunk.css +0 -21
- package/dist/css/34.chunk.css.map +0 -1
- package/dist/css/35.chunk.css +0 -20
- package/dist/css/35.chunk.css.map +0 -1
- package/dist/css/36.chunk.css +0 -14
- package/dist/css/36.chunk.css.map +0 -1
- package/dist/css/37.chunk.css.map +0 -1
- package/dist/css/38.chunk.css.map +0 -1
- package/dist/css/40.chunk.css.map +0 -1
- package/dist/css/41.chunk.css.map +0 -1
- package/dist/css/42.chunk.css.map +0 -1
- package/dist/css/43.chunk.css.map +0 -1
- package/dist/css/44.chunk.css.map +0 -1
- package/dist/css/45.chunk.css.map +0 -1
- package/dist/css/46.chunk.css.map +0 -1
- package/dist/css/47.chunk.css.map +0 -1
- package/dist/css/48.chunk.css.map +0 -1
- package/dist/css/49.chunk.css +0 -35
- package/dist/css/49.chunk.css.map +0 -1
- package/dist/css/50.chunk.css.map +0 -1
- package/dist/css/51.chunk.css.map +0 -1
- package/dist/css/52.chunk.css +0 -66
- package/dist/css/52.chunk.css.map +0 -1
- package/dist/css/55.chunk.css.map +0 -1
- package/dist/css/56.chunk.css.map +0 -1
- package/dist/css/58.chunk.css.map +0 -1
- package/dist/css/59.chunk.css.map +0 -1
- package/dist/css/6.chunk.css.map +0 -1
- package/dist/css/60.chunk.css +0 -18
- package/dist/css/60.chunk.css.map +0 -1
- package/dist/css/62.chunk.css.map +0 -1
- package/dist/css/63.chunk.css +0 -170
- package/dist/css/63.chunk.css.map +0 -1
- package/dist/css/67.chunk.css +0 -78
- package/dist/css/67.chunk.css.map +0 -1
- package/dist/css/68.chunk.css +0 -17
- package/dist/css/68.chunk.css.map +0 -1
- package/dist/css/69.chunk.css +0 -17
- package/dist/css/69.chunk.css.map +0 -1
- package/dist/css/7.chunk.css.map +0 -1
- package/dist/css/70.chunk.css +0 -23
- package/dist/css/70.chunk.css.map +0 -1
- package/dist/css/71.chunk.css +0 -40
- package/dist/css/71.chunk.css.map +0 -1
- package/dist/css/72.chunk.css +0 -16
- package/dist/css/72.chunk.css.map +0 -1
- package/dist/css/73.chunk.css +0 -37
- package/dist/css/73.chunk.css.map +0 -1
- package/dist/css/74.chunk.css +0 -29
- package/dist/css/74.chunk.css.map +0 -1
- package/dist/css/75.chunk.css +0 -6
- package/dist/css/75.chunk.css.map +0 -1
- package/dist/css/76.chunk.css +0 -6
- package/dist/css/76.chunk.css.map +0 -1
- package/dist/css/8.chunk.css.map +0 -1
- package/dist/css/library-editor-app.css.map +0 -1
- package/dist/libs/common/src/backbone/services/ScrollService.d.ts +0 -19
- package/dist/projects/library-editor/src/apps/library-editor/components/file-select/FileSelectComponent.d.ts +0 -30
- package/dist/projects/library-editor/src/apps/library-editor/components/file-uploads/FileUploadComponent.d.ts +0 -15
- package/dist/projects/library-editor/src/apps/library-editor/components/video-resources/ResourceItemComponent.d.ts +0 -22
- package/dist/projects/library-editor/src/apps/library-editor/components/video-subtitles/SubtitleItemComponent.d.ts +0 -18
- package/dist/projects/library-editor/src/apps/library-editor/enums/ObjectOwnerType.d.ts +0 -4
- package/dist/projects/library-editor/src/apps/library-editor/errors/too-many-resources/TooManyResourcesError.d.ts +0 -8
- package/dist/projects/library-editor/src/apps/library-editor/errors/too-many-subtitles/TooManySubtitlesError.d.ts +0 -8
- package/dist/projects/library-editor/src/shared/behaviors/file-drop/FileDropBehavior.d.ts +0 -19
- package/dist/projects/library-editor/src/shared/behaviors/file-drop/FileDropHelper.d.ts +0 -4
- package/dist/projects/library-editor/src/shared/behaviors/file-drop/FileDropMaskBehavior.d.ts +0 -19
- package/dist/projects/library-editor/src/shared/behaviors/file-select/FileSelectBehavior.d.ts +0 -16
- package/dist/projects/library-editor/src/shared/enums/MasterObjectTypes.d.ts +0 -8
- package/dist/projects/library-editor/src/shared/enums/UploadInteractionType.d.ts +0 -4
- package/dist/projects/library-editor/src/shared/errors/too-many-files/TooManyFilesError.d.ts +0 -7
- package/dist/scripts/0-1c2bb7e28a.chunk.js +0 -1
- package/dist/scripts/0-1dbc79e4e7.chunk.js +0 -1
- package/dist/scripts/0-8b75adf540.chunk.js +0 -1
- package/dist/scripts/0.chunk.js +0 -1039
- package/dist/scripts/0.chunk.js.map +0 -1
- package/dist/scripts/1-22a3bd404f.chunk.js +0 -1
- package/dist/scripts/1-480e5932a6.chunk.js +0 -1
- package/dist/scripts/1-6051b28de6.chunk.js +0 -1
- package/dist/scripts/1-b85c11fc30.chunk.js +0 -1
- package/dist/scripts/1.chunk.js +0 -442
- package/dist/scripts/1.chunk.js.map +0 -1
- package/dist/scripts/10-3ff370d548.chunk.js +0 -1
- package/dist/scripts/10-923c4b075a.chunk.js +0 -1
- package/dist/scripts/10-e2fea45a6c.chunk.js +0 -1
- package/dist/scripts/10.chunk.js +0 -820
- package/dist/scripts/10.chunk.js.map +0 -1
- package/dist/scripts/11-039959db6c.chunk.js +0 -11
- package/dist/scripts/11-3dec7d2c7e.chunk.js +0 -11
- package/dist/scripts/11.chunk.js +0 -4091
- package/dist/scripts/11.chunk.js.map +0 -1
- package/dist/scripts/12-07999b80e0.chunk.js +0 -1
- package/dist/scripts/12-24bd360be0.chunk.js +0 -1
- package/dist/scripts/12-e522e64a94.chunk.js +0 -1
- package/dist/scripts/12.chunk.js +0 -555
- package/dist/scripts/12.chunk.js.map +0 -1
- package/dist/scripts/13-081c0e5887.chunk.js +0 -1
- package/dist/scripts/13-282f8add17.chunk.js +0 -1
- package/dist/scripts/13-54fe4fe53b.chunk.js +0 -1
- package/dist/scripts/13-958a8fd026.chunk.js +0 -1
- package/dist/scripts/13.chunk.js +0 -380
- package/dist/scripts/13.chunk.js.map +0 -1
- package/dist/scripts/14-16f84b2721.chunk.js +0 -1
- package/dist/scripts/14-45cd4dc6ef.chunk.js +0 -1
- package/dist/scripts/14-5e443cb402.chunk.js +0 -1
- package/dist/scripts/14-68c85d6674.chunk.js +0 -1
- package/dist/scripts/14.chunk.js +0 -2386
- package/dist/scripts/14.chunk.js.map +0 -1
- package/dist/scripts/15-12fa4c3471.chunk.js +0 -1
- package/dist/scripts/15-1f779dd0d3.chunk.js +0 -1
- package/dist/scripts/15-5544e6bde6.chunk.js +0 -1
- package/dist/scripts/15-8c96c3288e.chunk.js +0 -1
- package/dist/scripts/15.chunk.js +0 -314
- package/dist/scripts/15.chunk.js.map +0 -1
- package/dist/scripts/16-670c43d26f.chunk.js +0 -1
- package/dist/scripts/16-742a776f88.chunk.js +0 -1
- package/dist/scripts/16-7bcffb06e7.chunk.js +0 -1
- package/dist/scripts/16.chunk.js +0 -1290
- package/dist/scripts/16.chunk.js.map +0 -1
- package/dist/scripts/17-7093f50dff.chunk.js +0 -1
- package/dist/scripts/17-b5e44e8b17.chunk.js +0 -1
- package/dist/scripts/17-f6b0159da3.chunk.js +0 -1
- package/dist/scripts/17.chunk.js +0 -381
- package/dist/scripts/17.chunk.js.map +0 -1
- package/dist/scripts/18.chunk.js +0 -393
- package/dist/scripts/18.chunk.js.map +0 -1
- package/dist/scripts/19.chunk.js +0 -364
- package/dist/scripts/19.chunk.js.map +0 -1
- package/dist/scripts/2-5fd33f5359.chunk.js +0 -1
- package/dist/scripts/2-7cc9176e8a.chunk.js +0 -1
- package/dist/scripts/2.chunk.js +0 -523
- package/dist/scripts/2.chunk.js.map +0 -1
- package/dist/scripts/20-4d88ede0e0.chunk.js +0 -1
- package/dist/scripts/20-a84733c89f.chunk.js +0 -1
- package/dist/scripts/20-df9f6f7661.chunk.js +0 -1
- package/dist/scripts/20.chunk.js +0 -317
- package/dist/scripts/20.chunk.js.map +0 -1
- package/dist/scripts/21-0b84d33cef.chunk.js +0 -1
- package/dist/scripts/21-9b28a13702.chunk.js +0 -1
- package/dist/scripts/21-c9983ca8ad.chunk.js +0 -1
- package/dist/scripts/21.chunk.js +0 -531
- package/dist/scripts/21.chunk.js.map +0 -1
- package/dist/scripts/22-151cf38018.chunk.js +0 -1
- package/dist/scripts/22-3b2207c8f6.chunk.js +0 -1
- package/dist/scripts/22-6e6ed9f607.chunk.js +0 -1
- package/dist/scripts/22.chunk.js +0 -354
- package/dist/scripts/22.chunk.js.map +0 -1
- package/dist/scripts/23-1af21bf234.chunk.js +0 -1
- package/dist/scripts/23-2b00ff99bf.chunk.js +0 -1
- package/dist/scripts/23-94f9fe4222.chunk.js +0 -1
- package/dist/scripts/23-ab8f73ee87.chunk.js +0 -1
- package/dist/scripts/23.chunk.js +0 -604
- package/dist/scripts/23.chunk.js.map +0 -1
- package/dist/scripts/24-74ab289589.chunk.js +0 -1
- package/dist/scripts/24-7aa9b43511.chunk.js +0 -1
- package/dist/scripts/24-d1ffdd4755.chunk.js +0 -1
- package/dist/scripts/24.chunk.js +0 -318
- package/dist/scripts/24.chunk.js.map +0 -1
- package/dist/scripts/25-34c0406f50.chunk.js +0 -1
- package/dist/scripts/25-5a38ce3533.chunk.js +0 -1
- package/dist/scripts/25-76d9011eea.chunk.js +0 -1
- package/dist/scripts/25-866cfc0ef5.chunk.js +0 -1
- package/dist/scripts/25.chunk.js +0 -365
- package/dist/scripts/25.chunk.js.map +0 -1
- package/dist/scripts/26-d19e3f755c.chunk.js +0 -1
- package/dist/scripts/26-e53ba8e00f.chunk.js +0 -1
- package/dist/scripts/26-ea028a6276.chunk.js +0 -1
- package/dist/scripts/26.chunk.js +0 -442
- package/dist/scripts/26.chunk.js.map +0 -1
- package/dist/scripts/27-2109d41afa.chunk.js +0 -1
- package/dist/scripts/27-3aa629dd67.chunk.js +0 -1
- package/dist/scripts/27-c1241fcd84.chunk.js +0 -1
- package/dist/scripts/27-ee88c84482.chunk.js +0 -1
- package/dist/scripts/27.chunk.js +0 -3630
- package/dist/scripts/27.chunk.js.map +0 -1
- package/dist/scripts/28-5c540e74cc.chunk.js +0 -1
- package/dist/scripts/28-738b88c816.chunk.js +0 -1
- package/dist/scripts/28-76b9766891.chunk.js +0 -1
- package/dist/scripts/28.chunk.js +0 -3172
- package/dist/scripts/28.chunk.js.map +0 -1
- package/dist/scripts/29-2da59b1589.chunk.js +0 -1
- package/dist/scripts/29-3faa153e38.chunk.js +0 -1
- package/dist/scripts/29-69389908f8.chunk.js +0 -1
- package/dist/scripts/29-bb7e39304b.chunk.js +0 -1
- package/dist/scripts/29.chunk.js +0 -3090
- package/dist/scripts/29.chunk.js.map +0 -1
- package/dist/scripts/3-6e67dd4b74.chunk.js +0 -1
- package/dist/scripts/3-81b501ac1e.chunk.js +0 -1
- package/dist/scripts/3-c69e4454ce.chunk.js +0 -1
- package/dist/scripts/3.chunk.js +0 -845
- package/dist/scripts/3.chunk.js.map +0 -1
- package/dist/scripts/30-109f8ddd5c.chunk.js +0 -1
- package/dist/scripts/30-a1df3e37da.chunk.js +0 -1
- package/dist/scripts/30-fa390c35f6.chunk.js +0 -1
- package/dist/scripts/30.chunk.js +0 -1851
- package/dist/scripts/30.chunk.js.map +0 -1
- package/dist/scripts/31-ce31250e42.chunk.js +0 -1
- package/dist/scripts/31-f15802825c.chunk.js +0 -1
- package/dist/scripts/31-fc63c4629d.chunk.js +0 -1
- package/dist/scripts/31.chunk.js +0 -958
- package/dist/scripts/31.chunk.js.map +0 -1
- package/dist/scripts/32-1ad8193581.chunk.js +0 -1
- package/dist/scripts/32-3de9c7454b.chunk.js +0 -1
- package/dist/scripts/32-4173874dbe.chunk.js +0 -1
- package/dist/scripts/32-9bca57f408.chunk.js +0 -1
- package/dist/scripts/32.chunk.js +0 -1235
- package/dist/scripts/32.chunk.js.map +0 -1
- package/dist/scripts/33-20ac0ab4a1.chunk.js +0 -1
- package/dist/scripts/33-350334db4c.chunk.js +0 -1
- package/dist/scripts/33-675467f07d.chunk.js +0 -1
- package/dist/scripts/33-7efae85b8b.chunk.js +0 -1
- package/dist/scripts/33.chunk.js +0 -958
- package/dist/scripts/33.chunk.js.map +0 -1
- package/dist/scripts/34-0a7f3b55fe.chunk.js +0 -1
- package/dist/scripts/34-3adf309726.chunk.js +0 -1
- package/dist/scripts/34-c4f0495750.chunk.js +0 -1
- package/dist/scripts/34-f6eea83a09.chunk.js +0 -1
- package/dist/scripts/34.chunk.js +0 -990
- package/dist/scripts/34.chunk.js.map +0 -1
- package/dist/scripts/35-17b30890a5.chunk.js +0 -1
- package/dist/scripts/35-4254e160f0.chunk.js +0 -1
- package/dist/scripts/35-7f90628b77.chunk.js +0 -1
- package/dist/scripts/35-9c3899dfbd.chunk.js +0 -1
- package/dist/scripts/35.chunk.js +0 -518
- package/dist/scripts/35.chunk.js.map +0 -1
- package/dist/scripts/36-1fde696d6a.chunk.js +0 -1
- package/dist/scripts/36-2ec95df618.chunk.js +0 -1
- package/dist/scripts/36-b5ad543fba.chunk.js +0 -1
- package/dist/scripts/36-cdbe95bd06.chunk.js +0 -1
- package/dist/scripts/36.chunk.js +0 -335
- package/dist/scripts/36.chunk.js.map +0 -1
- package/dist/scripts/37-6fa4b8fc60.chunk.js +0 -1
- package/dist/scripts/37-97b84a8be5.chunk.js +0 -1
- package/dist/scripts/37-c649a307d4.chunk.js +0 -1
- package/dist/scripts/37.chunk.js +0 -236
- package/dist/scripts/37.chunk.js.map +0 -1
- package/dist/scripts/38-0cf8029bec.chunk.js +0 -1
- package/dist/scripts/38-1c98f19489.chunk.js +0 -1
- package/dist/scripts/38-6fc346f964.chunk.js +0 -1
- package/dist/scripts/38-7ffe535b0d.chunk.js +0 -1
- package/dist/scripts/38.chunk.js +0 -315
- package/dist/scripts/38.chunk.js.map +0 -1
- package/dist/scripts/39-13d6669c3f.chunk.js +0 -1
- package/dist/scripts/39-748eb61732.chunk.js +0 -1
- package/dist/scripts/39-e5983a5d53.chunk.js +0 -1
- package/dist/scripts/39.chunk.js +0 -107
- package/dist/scripts/39.chunk.js.map +0 -1
- package/dist/scripts/4-435484d217.chunk.js +0 -1
- package/dist/scripts/4-5c50e71b83.chunk.js +0 -1
- package/dist/scripts/4-7274621693.chunk.js +0 -1
- package/dist/scripts/4-85ba8523ad.chunk.js +0 -1
- package/dist/scripts/4.chunk.js +0 -335
- package/dist/scripts/4.chunk.js.map +0 -1
- package/dist/scripts/40-2691dfbd5a.chunk.js +0 -1
- package/dist/scripts/40-2ecbd41570.chunk.js +0 -1
- package/dist/scripts/40-a691a401ff.chunk.js +0 -1
- package/dist/scripts/40.chunk.js +0 -2493
- package/dist/scripts/40.chunk.js.map +0 -1
- package/dist/scripts/41-0368ba16dc.chunk.js +0 -1
- package/dist/scripts/41-1df587ee3a.chunk.js +0 -1
- package/dist/scripts/41-85fcb15184.chunk.js +0 -1
- package/dist/scripts/41-bb9aef24f7.chunk.js +0 -1
- package/dist/scripts/41.chunk.js +0 -1782
- package/dist/scripts/41.chunk.js.map +0 -1
- package/dist/scripts/42-389acb6e55.chunk.js +0 -1
- package/dist/scripts/42-3ef41f40f5.chunk.js +0 -1
- package/dist/scripts/42-61a626d7f4.chunk.js +0 -1
- package/dist/scripts/42.chunk.js +0 -2327
- package/dist/scripts/42.chunk.js.map +0 -1
- package/dist/scripts/43-49f13dab14.chunk.js +0 -1
- package/dist/scripts/43-72d1bc0ae2.chunk.js +0 -1
- package/dist/scripts/43-a5b882d502.chunk.js +0 -1
- package/dist/scripts/43.chunk.js +0 -1206
- package/dist/scripts/43.chunk.js.map +0 -1
- package/dist/scripts/44-0703eb0ad8.chunk.js +0 -1
- package/dist/scripts/44-756fd6622b.chunk.js +0 -1
- package/dist/scripts/44-de22428999.chunk.js +0 -1
- package/dist/scripts/44-ee6a740a16.chunk.js +0 -1
- package/dist/scripts/44.chunk.js +0 -2245
- package/dist/scripts/44.chunk.js.map +0 -1
- package/dist/scripts/45-610d098194.chunk.js +0 -1
- package/dist/scripts/45-806dd5b78c.chunk.js +0 -1
- package/dist/scripts/45-da34a8b6b2.chunk.js +0 -1
- package/dist/scripts/45-e4a92a40fd.chunk.js +0 -1
- package/dist/scripts/45.chunk.js +0 -1065
- package/dist/scripts/45.chunk.js.map +0 -1
- package/dist/scripts/46-4aa05464fe.chunk.js +0 -1
- package/dist/scripts/46-cadf3f46ee.chunk.js +0 -1
- package/dist/scripts/46-cccef3e874.chunk.js +0 -1
- package/dist/scripts/46-ebf8eee4ac.chunk.js +0 -1
- package/dist/scripts/46.chunk.js +0 -655
- package/dist/scripts/46.chunk.js.map +0 -1
- package/dist/scripts/47-22a83e5974.chunk.js +0 -1
- package/dist/scripts/47-56d22af6ba.chunk.js +0 -1
- package/dist/scripts/47-c61fa52c53.chunk.js +0 -1
- package/dist/scripts/47.chunk.js +0 -736
- package/dist/scripts/47.chunk.js.map +0 -1
- package/dist/scripts/48-e05ab3ecac.chunk.js +0 -1
- package/dist/scripts/48-e577124476.chunk.js +0 -1
- package/dist/scripts/48-fc96b968fc.chunk.js +0 -1
- package/dist/scripts/48.chunk.js +0 -994
- package/dist/scripts/48.chunk.js.map +0 -1
- package/dist/scripts/49-13c5f8e87d.chunk.js +0 -1
- package/dist/scripts/49-4a6c119f58.chunk.js +0 -1
- package/dist/scripts/49-f9151c7e06.chunk.js +0 -1
- package/dist/scripts/49.chunk.js +0 -761
- package/dist/scripts/49.chunk.js.map +0 -1
- package/dist/scripts/5-06b97501c3.chunk.js +0 -1
- package/dist/scripts/5-1ba89c4774.chunk.js +0 -1
- package/dist/scripts/5-515b264fbc.chunk.js +0 -1
- package/dist/scripts/5-d6a7d71167.chunk.js +0 -1
- package/dist/scripts/5.chunk.js +0 -15
- package/dist/scripts/5.chunk.js.map +0 -1
- package/dist/scripts/50-0d5aed7730.chunk.js +0 -1
- package/dist/scripts/50-3924907655.chunk.js +0 -1
- package/dist/scripts/50-4de0b758d5.chunk.js +0 -1
- package/dist/scripts/50.chunk.js +0 -530
- package/dist/scripts/50.chunk.js.map +0 -1
- package/dist/scripts/51-cd37c8efa2.chunk.js +0 -1
- package/dist/scripts/51-dca2a9cc86.chunk.js +0 -1
- package/dist/scripts/51-ea33746146.chunk.js +0 -1
- package/dist/scripts/51.chunk.js +0 -932
- package/dist/scripts/51.chunk.js.map +0 -1
- package/dist/scripts/52-50230b48c8.chunk.js +0 -1
- package/dist/scripts/52-8b53a5c0b1.chunk.js +0 -1
- package/dist/scripts/52-a3c8ed29ca.chunk.js +0 -1
- package/dist/scripts/52.chunk.js +0 -408
- package/dist/scripts/52.chunk.js.map +0 -1
- package/dist/scripts/53-0e253f9f3e.chunk.js +0 -1
- package/dist/scripts/53-54b0df474f.chunk.js +0 -1
- package/dist/scripts/53-d8f0dea552.chunk.js +0 -1
- package/dist/scripts/53.chunk.js +0 -756
- package/dist/scripts/53.chunk.js.map +0 -1
- package/dist/scripts/54-d1bc70c7b5.chunk.js +0 -1
- package/dist/scripts/54-dd4d101665.chunk.js +0 -1
- package/dist/scripts/54-ead54d0b34.chunk.js +0 -1
- package/dist/scripts/54.chunk.js +0 -681
- package/dist/scripts/54.chunk.js.map +0 -1
- package/dist/scripts/55-3c60601030.chunk.js +0 -1
- package/dist/scripts/55-a5fa20b497.chunk.js +0 -1
- package/dist/scripts/55-e29d6a6ba9.chunk.js +0 -1
- package/dist/scripts/55.chunk.js +0 -645
- package/dist/scripts/55.chunk.js.map +0 -1
- package/dist/scripts/56-370078d597.chunk.js +0 -1
- package/dist/scripts/56-7a6c662f14.chunk.js +0 -1
- package/dist/scripts/56-df0a32000b.chunk.js +0 -1
- package/dist/scripts/56.chunk.js +0 -346
- package/dist/scripts/56.chunk.js.map +0 -1
- package/dist/scripts/57-0e126120b9.chunk.js +0 -1
- package/dist/scripts/57-6e622c6480.chunk.js +0 -1
- package/dist/scripts/57-a4f4d6fe41.chunk.js +0 -1
- package/dist/scripts/57.chunk.js +0 -422
- package/dist/scripts/57.chunk.js.map +0 -1
- package/dist/scripts/58-17706ccb46.chunk.js +0 -1
- package/dist/scripts/58-5729cbaa5c.chunk.js +0 -1
- package/dist/scripts/58-a0fe201826.chunk.js +0 -1
- package/dist/scripts/58.chunk.js +0 -437
- package/dist/scripts/58.chunk.js.map +0 -1
- package/dist/scripts/59-333f38ee3b.chunk.js +0 -1
- package/dist/scripts/59-381a49ed7f.chunk.js +0 -1
- package/dist/scripts/59-4f2fcb6412.chunk.js +0 -1
- package/dist/scripts/59.chunk.js +0 -342
- package/dist/scripts/59.chunk.js.map +0 -1
- package/dist/scripts/6-40c8ba5007.chunk.js +0 -1
- package/dist/scripts/6-51a379e066.chunk.js +0 -1
- package/dist/scripts/6-b3d36065dc.chunk.js +0 -1
- package/dist/scripts/6.chunk.js +0 -484
- package/dist/scripts/6.chunk.js.map +0 -1
- package/dist/scripts/60-b17c6609cd.chunk.js +0 -1
- package/dist/scripts/60-b4a91c86fa.chunk.js +0 -1
- package/dist/scripts/60-c57f161f18.chunk.js +0 -1
- package/dist/scripts/60.chunk.js +0 -254
- package/dist/scripts/60.chunk.js.map +0 -1
- package/dist/scripts/61-5d6e59d408.chunk.js +0 -1
- package/dist/scripts/61-7d81d27c31.chunk.js +0 -1
- package/dist/scripts/61-a342a0d501.chunk.js +0 -1
- package/dist/scripts/61.chunk.js +0 -408
- package/dist/scripts/61.chunk.js.map +0 -1
- package/dist/scripts/62-758f5e505b.chunk.js +0 -1
- package/dist/scripts/62-b572d8b80d.chunk.js +0 -1
- package/dist/scripts/62-f5fd35fdc0.chunk.js +0 -1
- package/dist/scripts/62.chunk.js +0 -142
- package/dist/scripts/62.chunk.js.map +0 -1
- package/dist/scripts/63-568008965e.chunk.js +0 -1
- package/dist/scripts/63-6700b4d00a.chunk.js +0 -1
- package/dist/scripts/63-c88b9860e9.chunk.js +0 -1
- package/dist/scripts/63.chunk.js +0 -147
- package/dist/scripts/63.chunk.js.map +0 -1
- package/dist/scripts/64-9c88ee6161.chunk.js +0 -1
- package/dist/scripts/64-e177d4c971.chunk.js +0 -1
- package/dist/scripts/64-fa2facacbb.chunk.js +0 -1
- package/dist/scripts/64.chunk.js +0 -439
- package/dist/scripts/64.chunk.js.map +0 -1
- package/dist/scripts/65-a7e499ceee.chunk.js +0 -1
- package/dist/scripts/65-e4568d1f06.chunk.js +0 -1
- package/dist/scripts/65-f750573f69.chunk.js +0 -1
- package/dist/scripts/65.chunk.js +0 -582
- package/dist/scripts/65.chunk.js.map +0 -1
- package/dist/scripts/66-f00f29ccae.chunk.js +0 -1
- package/dist/scripts/66-f325ff3187.chunk.js +0 -1
- package/dist/scripts/66-f6d213b33c.chunk.js +0 -1
- package/dist/scripts/66.chunk.js +0 -442
- package/dist/scripts/66.chunk.js.map +0 -1
- package/dist/scripts/67-1ebaab7a2d.chunk.js +0 -1
- package/dist/scripts/67-3c9628d296.chunk.js +0 -1
- package/dist/scripts/67-97c694c3d5.chunk.js +0 -1
- package/dist/scripts/67-c5af18680c.chunk.js +0 -1
- package/dist/scripts/67.chunk.js +0 -295
- package/dist/scripts/67.chunk.js.map +0 -1
- package/dist/scripts/68-38a6d7fb50.chunk.js +0 -1
- package/dist/scripts/68-488cd1552f.chunk.js +0 -1
- package/dist/scripts/68-eb8700aeb1.chunk.js +0 -1
- package/dist/scripts/68.chunk.js +0 -165
- package/dist/scripts/68.chunk.js.map +0 -1
- package/dist/scripts/69-870856c6fb.chunk.js +0 -1
- package/dist/scripts/69-b0ea71d7c5.chunk.js +0 -1
- package/dist/scripts/69-be2be90b7c.chunk.js +0 -1
- package/dist/scripts/69.chunk.js +0 -248
- package/dist/scripts/69.chunk.js.map +0 -1
- package/dist/scripts/7-aac8c84ccb.chunk.js +0 -1
- package/dist/scripts/7-d41d3bf60c.chunk.js +0 -1
- package/dist/scripts/7-dfddb8ffa8.chunk.js +0 -1
- package/dist/scripts/7.chunk.js +0 -309
- package/dist/scripts/7.chunk.js.map +0 -1
- package/dist/scripts/70-39dc936989.chunk.js +0 -1
- package/dist/scripts/70-6ef72cd9b6.chunk.js +0 -1
- package/dist/scripts/70-e6ebb44667.chunk.js +0 -1
- package/dist/scripts/70.chunk.js +0 -207
- package/dist/scripts/70.chunk.js.map +0 -1
- package/dist/scripts/71-4e4a47d601.chunk.js +0 -1
- package/dist/scripts/71-8e3682a7d7.chunk.js +0 -1
- package/dist/scripts/71-a80858069c.chunk.js +0 -1
- package/dist/scripts/71.chunk.js +0 -237
- package/dist/scripts/71.chunk.js.map +0 -1
- package/dist/scripts/72-245f28bf97.chunk.js +0 -1
- package/dist/scripts/72-550438db4e.chunk.js +0 -1
- package/dist/scripts/72-65364adff1.chunk.js +0 -1
- package/dist/scripts/72.chunk.js +0 -331
- package/dist/scripts/72.chunk.js.map +0 -1
- package/dist/scripts/73.chunk.js +0 -404
- package/dist/scripts/73.chunk.js.map +0 -1
- package/dist/scripts/74.chunk.js +0 -301
- package/dist/scripts/74.chunk.js.map +0 -1
- package/dist/scripts/75.chunk.js +0 -231
- package/dist/scripts/75.chunk.js.map +0 -1
- package/dist/scripts/76.chunk.js +0 -157
- package/dist/scripts/76.chunk.js.map +0 -1
- package/dist/scripts/77.chunk.js +0 -307
- package/dist/scripts/77.chunk.js.map +0 -1
- package/dist/scripts/78.chunk.js +0 -249
- package/dist/scripts/78.chunk.js.map +0 -1
- package/dist/scripts/79.chunk.js +0 -282
- package/dist/scripts/79.chunk.js.map +0 -1
- package/dist/scripts/8-c4955c2009.chunk.js +0 -1
- package/dist/scripts/8-d46f48d03c.chunk.js +0 -1
- package/dist/scripts/8-e5d19252c8.chunk.js +0 -1
- package/dist/scripts/8.chunk.js +0 -307
- package/dist/scripts/8.chunk.js.map +0 -1
- package/dist/scripts/80.chunk.js +0 -308
- package/dist/scripts/80.chunk.js.map +0 -1
- package/dist/scripts/81.chunk.js +0 -366
- package/dist/scripts/81.chunk.js.map +0 -1
- package/dist/scripts/82.chunk.js +0 -314
- package/dist/scripts/82.chunk.js.map +0 -1
- package/dist/scripts/83.chunk.js +0 -328
- package/dist/scripts/83.chunk.js.map +0 -1
- package/dist/scripts/84.chunk.js +0 -313
- package/dist/scripts/84.chunk.js.map +0 -1
- package/dist/scripts/85.chunk.js +0 -291
- package/dist/scripts/85.chunk.js.map +0 -1
- package/dist/scripts/86.chunk.js +0 -119
- package/dist/scripts/86.chunk.js.map +0 -1
- package/dist/scripts/87.chunk.js +0 -219
- package/dist/scripts/87.chunk.js.map +0 -1
- package/dist/scripts/88.chunk.js +0 -194
- package/dist/scripts/88.chunk.js.map +0 -1
- package/dist/scripts/89.chunk.js +0 -522
- package/dist/scripts/89.chunk.js.map +0 -1
- package/dist/scripts/9-4589726554.chunk.js +0 -1
- package/dist/scripts/9-576592d419.chunk.js +0 -1
- package/dist/scripts/9-66021549bd.chunk.js +0 -1
- package/dist/scripts/9-df99ba6ce1.chunk.js +0 -1
- package/dist/scripts/9.chunk.js +0 -222
- package/dist/scripts/9.chunk.js.map +0 -1
- package/dist/scripts/90.chunk.js +0 -337
- package/dist/scripts/90.chunk.js.map +0 -1
- package/dist/scripts/91.chunk.js +0 -131
- package/dist/scripts/91.chunk.js.map +0 -1
- package/dist/scripts/92.chunk.js +0 -266
- package/dist/scripts/92.chunk.js.map +0 -1
- package/dist/scripts/bundle-1b984e2fd9.min.js +0 -8
- package/dist/scripts/bundle-203920eb14.min.js +0 -8
- package/dist/scripts/bundle-7d13ba933b.min.js +0 -8
- package/dist/scripts/bundle-d5b23160b1.min.js +0 -8
- package/dist/scripts/bundle.js +0 -67100
- package/dist/scripts/bundle.js.map +0 -1
- package/dist/scripts/polyfills-5a81b67408.min.js +0 -1
- package/dist/scripts/polyfills-9b0be1bd72.min.js +0 -1
- package/dist/scripts/polyfills-cd3d0a9f6d.min.js +0 -1
- package/dist/scripts/polyfills-d891a77823.min.js +0 -1
- package/dist/scripts/polyfills.js +0 -14866
- package/dist/scripts/polyfills.js.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/migration-wizard/components/errored-video-actions/ErroredVideoActions.hbs","file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/migration-wizard/components/errored-video-actions/ErroredVideoActionsComponent.ts","webpack://@clickview/library-editor/./src/apps/migration-wizard/components/errored-video-actions/errored-video-actions.scss?c4d8","file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/migration-wizard/components/errored-video-footer/ErroredVideoFooter.hbs","file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/migration-wizard/components/errored-video-footer/ErroredVideoFooterComponent.ts","file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/migration-wizard/components/errored-video-item/ErroredVideoItem.hbs","file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/migration-wizard/components/errored-video-item/ErroredVideoItemComponent.ts","webpack://@clickview/library-editor/./src/apps/migration-wizard/components/errored-video-item/errored-video-item.scss?bf6a","file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/migration-wizard/components/errored-video-list/ErroredVideoList.hbs","file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/migration-wizard/components/errored-video-list/ErroredVideoListComponent.ts","file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/migration-wizard/components/errored-video-metadata/ErroredVideoMetadata.hbs","file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/migration-wizard/components/errored-video-metadata/ErroredVideoMetadataComponent.ts","webpack://@clickview/library-editor/./src/apps/migration-wizard/components/errored-video-metadata/errored-video-metadata.scss?a8f7","file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/migration-wizard/components/errored-video-preview/ErroredVideoPreview.hbs","file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/migration-wizard/components/errored-video-preview/ErroredVideoPreviewComponent.ts","file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/migration-wizard/contants/MigrationErrorActions.ts","file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/migration-wizard/contants/MigrationViewModels.ts","file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/migration-wizard/utils/MigrationErrorHelper.ts","file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/migration-wizard/views/migration-error/ConfirmationDialog.hbs","file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/migration-wizard/views/migration-error/MigrationError.hbs","file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/migration-wizard/views/migration-error/MigrationErrorView.ts","webpack://@clickview/library-editor/./src/apps/migration-wizard/views/migration-error/migration-error.scss?7f6f","file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/shared/components/video-item/utils/VideoItemComponentTypes.ts"],"names":[],"mappings":";;;;;;;;;AAAA,iBAAiB,mBAAO,CAAC,8BAAY;AACrC,iEAAiE;AACjE;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+IAA+I,aAAa,uBAAuB,aAAa;AAChM;AACA,CAAC;AACD,4GAA4G;;AAE5G;AACA,oFAAoF,uBAAuB,aAAa;AACxH;AACA,oFAAoF,uBAAuB,aAAa;AACxH;AACA,CAAC;AACD;;AAEA,sKAAsK,UAAU,uBAAuB,aAAa;AACpN,CAAC;AACD;;AAEA,sKAAsK,UAAU,uBAAuB,aAAa;AACpN,CAAC;AACD,oHAAoH;;AAEpH;AACA,uIAAuI,qBAAqB,wFAAwF;AACpP;AACA;AACA;AACA;AACA;AACA,+IAA+I,qBAAqB,wFAAwF;AAC5P;AACA,2GAA2G,uBAAuB,aAAa;AAC/I;AACA,CAAC,gBAAgB,E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACzCjB;AACA;AACA;AAEA;AACA;AAEA;AACA;AAMO,IAAM,4BAAb;AAAA;;AAAA;;AAIE,wCAAY,OAAZ,EAAwD;AAAA;;AAAA,6BAChD,OADgD;AAEvD;;AANH;AAAA;AAAA,iCAQmB;AACf,WAAK,SAAL,GAAiB,oGAAgB,CAAC,GAAjB,CAAqB,iFAAmB,CAAC,eAAzC,CAAjB;AACA,WAAK,gBAAL,GAAwB,oGAAgB,CAAC,GAAjB,CAAqB,iFAAmB,CAAC,aAAzC,CAAxB;AAEA,WAAK,QAAL,CAAc,KAAK,SAAnB,mBAAwC,KAAK,KAAL,CAAW,GAAX,CAAe,IAAf,CAAxC,GAAgE,KAAK,M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BAAZ;;AAAA,WAAY,sBAAZ,EAAkC;AAChC;AACA;AACA;AACA;AACA;AACA;AACA;AACD,CARD,EAAY,sBAAsB,KAAtB,sBAAsB,MAAlC;;AAUA,IAAY,wBAAZ;;AAAA,WAAY,wBAAZ,EAAoC;AAClC;AACA;AACA;AACA;AACA;AACD,CAND,EAAY,wBAAwB,KAAxB,wBAAwB,MAApC,E","file":"scripts/41.chunk.js","sourcesContent":["var Handlebars = require('handlebars');\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable, alias2=container.lambda, alias3=container.escapeExpression;\n\n return \" <button class=\\\"btn btn-success use-online-copy \"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.selectedButton : stack1), depth0))\n + \"\\\"><span class=\\\"\"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.svgContainer : stack1), depth0))\n + \"\\\">\"\n + ((stack1 = alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.checkSvg : stack1), depth0)) != null ? stack1 : \"\")\n + \"</span>\"\n + alias3((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),\"resolve\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</button>\\r\\n\";\n},\"3\":function(container,depth0,helpers,partials,data) {\n var alias1=container.propertyIsEnumerable, alias2=depth0 != null ? depth0 : (container.nullContext || {}), alias3=container.hooks.helperMissing, alias4=container.escapeExpression;\n\n return \" <button class=\\\"btn btn-link dismiss\\\">\"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"dismiss\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</button>\\r\\n <button class=\\\"btn btn-outline-secondary use-online-copy\\\">\"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"resolve\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</button>\\r\\n\";\n},\"5\":function(container,depth0,helpers,partials,data) {\n var alias1=container.propertyIsEnumerable;\n\n return container.escapeExpression((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),\"hide\",{\"name\":\"lang\",\"hash\":{},\"data\":data}));\n},\"7\":function(container,depth0,helpers,partials,data) {\n var alias1=container.propertyIsEnumerable;\n\n return container.escapeExpression((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),\"show\",{\"name\":\"lang\",\"hash\":{},\"data\":data}));\n},\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable, alias2=depth0 != null ? depth0 : (container.nullContext || {}), alias3=container.lambda, alias4=container.escapeExpression;\n\n return \"<div>\\r\\n\"\n + ((stack1 = helpers[\"if\"].call(alias2,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.selected : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.program(3, data, 0),\"data\":data})) != null ? stack1 : \"\")\n + \"</div>\\r\\n<div class=\\\"mt-4 cursor-pointer video-item-show-preview text-right \"\n + alias4(alias3(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.showPreview : stack1), depth0))\n + \"\\\">\\r\\n <span class=\\\"svg-container d-inline-block\\\">\"\n + ((stack1 = alias3(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.previewSvg : stack1), depth0)) != null ? stack1 : \"\")\n + \"</span>\\r\\n \"\n + ((stack1 = helpers[\"if\"].call(alias2,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.previewDisplayed : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(5, data, 0),\"inverse\":container.program(7, data, 0),\"data\":data})) != null ? stack1 : \"\")\n + \" \"\n + alias4((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(alias2,\"preview\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"\\r\\n</div>\";\n},\"useData\":true});","import { ObjectHash } from 'backbone';\r\n\r\nimport { Core } from 'libs/common/core';\r\nimport { ViewModelService } from 'libs/common/backbone/services/ViewModelService';\r\nimport { SvgHelper, cvSvgLibrary } from 'libs/shared/utils/SvgHelper';\r\n\r\nimport { MigrationErrorActions } from 'apps/migration-wizard/contants/MigrationErrorActions';\r\nimport { MigrationViewModels } from 'apps/migration-wizard/contants/MigrationViewModels';\r\n\r\nimport * as styles from './errored-video-actions.scss';\r\nimport * as ErroredVideoActionsTemplate from './ErroredVideoActions.hbs';\r\n\r\ninterface ErroredVideoActionsComponentOptions extends Core.ComponentOptions {\r\n model: Core.Model;\r\n}\r\n\r\nexport class ErroredVideoActionsComponent extends Core.Component {\r\n public viewModel: Core.Model;\r\n private previewViewModel: Core.Model;\r\n\r\n constructor(options: ErroredVideoActionsComponentOptions) {\r\n super(options);\r\n }\r\n\r\n public initialize(): void {\r\n this.viewModel = ViewModelService.get(MigrationViewModels.SELECTED_VIDEOS);\r\n this.previewViewModel = ViewModelService.get(MigrationViewModels.OPEN_PREVIEWS);\r\n\r\n this.listenTo(this.viewModel, `change:${this.model.get('id')}`, this.render);\r\n }\r\n\r\n public get name(): string {\r\n return 'ErroredVideoActionsComponent';\r\n }\r\n\r\n public get template(): any {\r\n return ErroredVideoActionsTemplate;\r\n }\r\n\r\n public get lang(): string {\r\n return 'migrationWizard.erroredVideoActions';\r\n }\r\n\r\n public get className(): string {\r\n return 'text-right';\r\n }\r\n\r\n public events(): ObjectHash {\r\n return {\r\n 'click .use-online-copy': 'onClickSelect',\r\n 'click .dismiss': 'onClickDismiss'\r\n };\r\n }\r\n\r\n private isSelected(): boolean {\r\n return this.viewModel.get(this.model.get('id')) === MigrationErrorActions.USE_ONLINE_COPY;\r\n }\r\n\r\n public onClickSelect(e: JQuery.Event): void {\r\n e.stopPropagation();\r\n\r\n if (this.previewViewModel.get(this.model.get('id')))\r\n this.previewViewModel.clear();\r\n\r\n if (this.isSelected()) {\r\n this.viewModel.unset(this.model.get('id'));\r\n return;\r\n }\r\n\r\n this.viewModel.set(this.model.get('id'), MigrationErrorActions.USE_ONLINE_COPY);\r\n }\r\n\r\n public onClickDismiss(e: JQuery.Event): void {\r\n e.stopPropagation();\r\n\r\n if (this.previewViewModel.get(this.model.get('id')))\r\n this.previewViewModel.clear();\r\n\r\n this.viewModel.set(this.model.get('id'), MigrationErrorActions.DO_NOT_ADD);\r\n }\r\n\r\n public viewOptions(): ObjectHash {\r\n return {\r\n styles,\r\n selected: this.isSelected(),\r\n checkSvg: SvgHelper.getSvg(cvSvgLibrary.Check),\r\n previewSvg: SvgHelper.getSvg(cvSvgLibrary.Preview)\r\n };\r\n }\r\n}","// extracted by mini-css-extract-plugin\nmodule.exports = {\"svgContainer\":\"cv--svgContainer---0ibU\",\"selectedButton\":\"cv--selectedButton--28zhr\",\"showPreview\":\"cv--showPreview--2r4VF\"};","var Handlebars = require('handlebars');\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable;\n\n return \"<span class=\\\"border-right d-inline-block align-middle pr-3\\\">\"\n + container.escapeExpression((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),\"videosAdded\",{\"name\":\"lang\",\"hash\":{\"smartCount\":((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.count : stack1)},\"data\":data}))\n + \"</span>\\r\\n\";\n},\"3\":function(container,depth0,helpers,partials,data) {\n return \"disabled\";\n},\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable, alias2=depth0 != null ? depth0 : (container.nullContext || {}), alias3=container.hooks.helperMissing, alias4=container.escapeExpression;\n\n return ((stack1 = helpers[\"if\"].call(alias2,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.countPhrase : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \"<span class=\\\"d-inline-block align-middle\\\"><button class=\\\"btn btn-link clear-all\\\"\"\n + ((stack1 = helpers[\"if\"].call(alias2,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.submitDisabled : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(3, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \">\"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"reset\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</button></span>\\r\\n<button class=\\\"btn btn-primary align-middle ml-2 submit\\\" \"\n + ((stack1 = helpers[\"if\"].call(alias2,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.submitDisabled : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(3, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \">\"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"submit\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</button>\";\n},\"useData\":true});","import { Core } from 'libs/common/core';\r\nimport { ViewModelService } from 'libs/common/backbone/services/ViewModelService';\r\n\r\nimport * as ErroredVideoFooterTemplate from './ErroredVideoFooter.hbs';\r\nimport { ObjectHash, Radio } from 'backbone';\r\nimport * as _ from 'underscore';\r\nimport { MigrationErrorActions } from 'apps/migration-wizard/contants/MigrationErrorActions';\r\nimport { MigrationViewModels } from 'apps/migration-wizard/contants/MigrationViewModels';\r\n\r\ninterface ErroredVideoFooterComponentOptions extends Core.ComponentOptions {\r\n submitEvent: string;\r\n}\r\n\r\nexport class ErroredVideoFooterComponent extends Core.Component {\r\n public options: ErroredVideoFooterComponentOptions;\r\n\r\n constructor(options: ErroredVideoFooterComponentOptions) {\r\n super(options);\r\n }\r\n\r\n public initialize(): void {\r\n this.viewModel = ViewModelService.get(MigrationViewModels.SELECTED_VIDEOS);\r\n\r\n this.listenTo(this.viewModel, 'change', this.render);\r\n }\r\n\r\n public get name(): string {\r\n return 'ErroredVideoFooterComponent';\r\n }\r\n\r\n public get template(): any {\r\n return ErroredVideoFooterTemplate;\r\n }\r\n\r\n public get lang(): string {\r\n return 'migrationWizard.erroredVideoFooter';\r\n }\r\n\r\n public get className(): string {\r\n return 'border-top px-3 py-2 text-right';\r\n }\r\n\r\n public events(): ObjectHash {\r\n return {\r\n 'click .clear-all': 'onClickClearAll',\r\n 'click .submit': 'onClickSubmit'\r\n };\r\n }\r\n\r\n public onClickClearAll(): void {\r\n this.viewModel.clear();\r\n }\r\n\r\n public onClickSubmit(): void {\r\n Radio.channel(this.options.channelName).trigger(this.options.submitEvent);\r\n }\r\n\r\n private canSubmit(): boolean {\r\n return this.viewModel.keys().length > 0;\r\n }\r\n\r\n private countWillBeAdded(): number {\r\n return _.filter(this.viewModel.keys(), key => {\r\n return this.viewModel.get(key) === MigrationErrorActions.USE_ONLINE_COPY;\r\n }).length;\r\n }\r\n\r\n public viewOptions(): ObjectHash {\r\n return {\r\n count: this.countWillBeAdded(),\r\n submitDisabled: !this.canSubmit()\r\n };\r\n }\r\n}","var Handlebars = require('handlebars');\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n return \" cursor-pointer\";\n},\"3\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable, alias2=container.escapeExpression, alias3=depth0 != null ? depth0 : (container.nullContext || {}), alias4=container.hooks.helperMissing;\n\n return \"<div class=\\\"\"\n + alias2(container.lambda(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.doNotAdd : stack1), depth0))\n + \" text-center\\\">\\r\\n <p class=\\\"mb-0 mt-3\\\">\"\n + ((stack1 = (helpers.lang||(depth0 && depth0.lang)||alias4).call(alias3,\"willNotBeAdded\",{\"name\":\"lang\",\"hash\":{\"videoName\":(depth0 != null ? depth0.name : depth0)},\"data\":data})) != null ? stack1 : \"\")\n + \"</p>\\r\\n <p class=\\\"m-0\\\">\"\n + alias2((helpers.lang||(depth0 && depth0.lang)||alias4).call(alias3,\"willBeRemoved\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</p>\\r\\n <button class=\\\"btn btn-link undo\\\">\"\n + alias2((helpers.lang||(depth0 && depth0.lang)||alias4).call(alias3,\"undo\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</button>\\r\\n</div>\\r\\n\";\n},\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable, alias2=container.lambda, alias3=container.escapeExpression, alias4=depth0 != null ? depth0 : (container.nullContext || {});\n\n return \"<div class=\\\"d-flex justify-content-between align-items-stretch p-3 drag-item \"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.videoItem : stack1), depth0))\n + ((stack1 = helpers[\"if\"].call(alias4,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.isClickable : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \"\\\">\\r\\n <div class=\\\"thumbnail-region d-inline-block \"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.thumbnailContainer : stack1), depth0))\n + \"\\\"></div>\\r\\n <div class=\\\"metadata-region d-inline-block px-3 \"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.metaContainer : stack1), depth0))\n + \"\\\"></div>\\r\\n <div class=\\\"video-actions-region d-inline-block \"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.actionsContainer : stack1), depth0))\n + \"\\\"></div>\\r\\n</div>\\r\\n<div class=\\\"video-info-region \"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.previewContainer : stack1), depth0))\n + \"\\\"></div>\\r\\n\"\n + ((stack1 = helpers[\"if\"].call(alias4,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.doNotAdd : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(3, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\");\n},\"useData\":true});","import { ObjectHash } from 'backbone';\r\n\r\nimport { Core } from 'libs/common/core';\r\nimport { ViewModelService } from 'libs/common/backbone/services/ViewModelService';\r\nimport { ThumbnailComponent } from 'libs/shared/legacy/components/thumbnail/ThumbnailComponent';\r\n\r\nimport { VideoItemComponentRegion } from 'shared/components/video-item/utils/VideoItemComponentTypes';\r\nimport { Video } from 'shared/models/Video';\r\nimport { RadioChannelHelper, LazyLoadHelper } from 'shared/utils';\r\nimport { LazyLoadMinBrowserSupportVersion } from 'shared/constants';\r\n\r\nimport { ErroredVideoPreviewComponent } from 'apps/migration-wizard/components/errored-video-preview/ErroredVideoPreviewComponent';\r\nimport { ErroredVideoMetadataComponent } from 'apps/migration-wizard/components/errored-video-metadata/ErroredVideoMetadataComponent';\r\nimport { ErroredVideoActionsComponent } from 'apps/migration-wizard/components/errored-video-actions/ErroredVideoActionsComponent';\r\nimport { MigrationErrorActions } from 'apps/migration-wizard/contants/MigrationErrorActions';\r\nimport { MigrationViewModels } from 'apps/migration-wizard/contants/MigrationViewModels';\r\n\r\nimport * as ErroredVideoItemTemplate from './ErroredVideoItem.hbs';\r\nimport * as styles from './errored-video-item.scss';\r\n\r\nexport interface ErroredVideoComponentOptions extends Core.ComponentOptions {\r\n imageCdnUrl: string;\r\n webplayerUrl: string;\r\n}\r\n\r\nexport class ErroredVideoItemComponent extends Core.Component {\r\n public options: ErroredVideoComponentOptions;\r\n private previewViewModel: Core.Model;\r\n private thumbnailLoaded: boolean;\r\n\r\n constructor(options: ErroredVideoComponentOptions) {\r\n super(options);\r\n }\r\n\r\n public initialize(): void {\r\n this.viewModel = ViewModelService.get(MigrationViewModels.SELECTED_VIDEOS);\r\n this.previewViewModel = ViewModelService.get(MigrationViewModels.OPEN_PREVIEWS);\r\n\r\n this.listenTo(this.viewModel, `change:${this.model.get('id')}`, this.render);\r\n this.listenTo(this.previewViewModel, `change:${this.model.get('id')}`, this.render);\r\n\r\n this.listenTo(this.channelName, 'thumbnail:load', this.onThumbnailLoad);\r\n }\r\n\r\n public get name(): string {\r\n return 'ErroredVideoItemComponent';\r\n }\r\n\r\n public get template(): any {\r\n return ErroredVideoItemTemplate;\r\n }\r\n\r\n public get lang(): string {\r\n return 'migrationWizard.erroredVideoItem';\r\n }\r\n\r\n public get channelName(): string {\r\n return RadioChannelHelper.generateUniqueChannelName(this);\r\n }\r\n\r\n public get className(): string {\r\n return `border-bottom ${styles.component}`;\r\n }\r\n\r\n public regions(): ObjectHash {\r\n return {\r\n [VideoItemComponentRegion.Thumbnail]: '.thumbnail-region',\r\n [VideoItemComponentRegion.Metadata]: '.metadata-region',\r\n [VideoItemComponentRegion.VideoActions]: '.video-actions-region',\r\n [VideoItemComponentRegion.VideoInfo]: '.video-info-region'\r\n };\r\n }\r\n\r\n public events(): ObjectHash {\r\n return {\r\n 'click .drag-item': 'onClick',\r\n 'click .undo': 'onClickUndo'\r\n };\r\n }\r\n\r\n private onThumbnailLoad(): void {\r\n this.thumbnailLoaded = true;\r\n }\r\n\r\n public onClick(): void {\r\n if (this.previewViewModel.get(this.model.get('id'))) {\r\n this.previewViewModel.unset(this.model.get('id'));\r\n return;\r\n }\r\n\r\n this.previewViewModel.clear();\r\n this.previewViewModel.set(this.model.get('id'), true);\r\n }\r\n\r\n public onClickUndo(): void {\r\n this.viewModel.unset(this.model.get('id'));\r\n }\r\n\r\n public shouldLazyLoadThumbnail(): boolean {\r\n if (!LazyLoadHelper.isLazyLoadSupported(LazyLoadMinBrowserSupportVersion))\r\n return false;\r\n\r\n return !this.thumbnailLoaded;\r\n }\r\n\r\n private renderThumbnail(): void {\r\n const thumbnailComponent = new ThumbnailComponent({\r\n model: new Video({\r\n duration: this.model.get('duration') * 1000,\r\n thumbnail: { url: `${this.options.imageCdnUrl}v1/thumbnails/trackingcode/${this.model.get('trackingCode')}` }\r\n }),\r\n lazyload: this.shouldLazyLoadThumbnail(),\r\n channelName: this.channelName\r\n });\r\n this.showChildView(VideoItemComponentRegion.Thumbnail, thumbnailComponent);\r\n }\r\n\r\n private renderMetadata(): void {\r\n const metadataComponent = new ErroredVideoMetadataComponent({\r\n model: this.model\r\n });\r\n this.showChildView(VideoItemComponentRegion.Metadata, metadataComponent);\r\n }\r\n\r\n private renderActions(): void {\r\n const videoActionsComponent = new ErroredVideoActionsComponent({\r\n model: this.model\r\n });\r\n this.showChildView(VideoItemComponentRegion.VideoActions, videoActionsComponent);\r\n }\r\n\r\n private renderPreview(): void {\r\n if (!this.previewViewModel.get(this.model.get('id')))\r\n return;\r\n\r\n const previewComponent = new ErroredVideoPreviewComponent({\r\n model: this.model,\r\n webplayerUrl: this.options.webplayerUrl,\r\n imageCdnUrl: this.options.imageCdnUrl\r\n });\r\n this.showChildView(VideoItemComponentRegion.VideoInfo, previewComponent);\r\n }\r\n\r\n public viewOptions(): ObjectHash {\r\n return {\r\n styles,\r\n doNotAdd: this.viewModel.get(this.model.get('id')) === MigrationErrorActions.DO_NOT_ADD\r\n };\r\n }\r\n\r\n public onRender(): void {\r\n this.renderThumbnail();\r\n this.renderMetadata();\r\n this.renderActions();\r\n this.renderPreview();\r\n }\r\n}","// extracted by mini-css-extract-plugin\nmodule.exports = {\"component\":\"cv--component--13khy\",\"thumbnailContainer\":\"cv--thumbnailContainer--_gEcp\",\"metaContainer\":\"cv--metaContainer--zuMb1\",\"actionsContainer\":\"cv--actionsContainer--1ppp8\",\"videoItem\":\"cv--videoItem--2Ru6c\",\"doNotAdd\":\"cv--doNotAdd--8l6WV\"};","var Handlebars = require('handlebars');\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n return \"<div class=\\\"videos-region\\\"></div>\";\n},\"useData\":true});","import { ObjectHash } from 'backbone';\r\n\r\nimport { Core } from 'libs/common/core';\r\n\r\nimport { LazyLoadBehavior } from 'shared/behaviors';\r\nimport { LazyLoadMinBrowserSupportVersion } from 'shared/constants';\r\n\r\nimport * as ErroredVideoListTemplate from './ErroredVideoList.hbs';\r\nimport { ErroredVideoComponentOptions, ErroredVideoItemComponent } from '../errored-video-item/ErroredVideoItemComponent';\r\n\r\nclass ErroredVideoItemComponentCollection extends Core.ComponentCollection {\r\n public options: ErroredVideoComponentOptions;\r\n\r\n constructor(options: ErroredVideoComponentOptions) {\r\n super(options);\r\n }\r\n\r\n public get name(): string {\r\n return 'ErroredVideoItemComponentCollection';\r\n }\r\n\r\n public get childView(): typeof ErroredVideoItemComponent {\r\n return ErroredVideoItemComponent;\r\n }\r\n\r\n public get childViewOptions(): ErroredVideoComponentOptions {\r\n return this.options;\r\n }\r\n}\r\n\r\nexport class ErroredVideoListComponent extends Core.Component {\r\n public options: ErroredVideoComponentOptions;\r\n\r\n constructor(options: ErroredVideoComponentOptions) {\r\n super(options);\r\n }\r\n\r\n public get name(): string {\r\n return 'ErroredVideoListComponent';\r\n }\r\n\r\n public get template(): any {\r\n return ErroredVideoListTemplate;\r\n }\r\n\r\n public get behaviors(): any[] {\r\n return [\r\n {\r\n behaviorClass: LazyLoadBehavior,\r\n selector: '.lazy-img',\r\n minBrowserSupportVersion: LazyLoadMinBrowserSupportVersion\r\n }\r\n ];\r\n }\r\n\r\n public regions(): ObjectHash {\r\n return {\r\n videos: {\r\n el: '.videos-region',\r\n replaceElement: true\r\n }\r\n };\r\n }\r\n\r\n public onRender(): void {\r\n this.showChildView('videos', new ErroredVideoItemComponentCollection(this.options));\r\n }\r\n}","var Handlebars = require('handlebars');\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n var alias1=container.propertyIsEnumerable;\n\n return \" <span>\"\n + container.escapeExpression((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),\"series\",{\"name\":\"lang\",\"hash\":{\"series\":(depth0 != null ? depth0.series : depth0)},\"data\":data}))\n + \"</span>\\r\\n\";\n},\"3\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable, alias2=depth0 != null ? depth0 : (container.nullContext || {});\n\n return \" \"\n + ((stack1 = helpers[\"if\"].call(alias2,(depth0 != null ? depth0.series : depth0),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(4, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \"\\r\\n <span>\"\n + container.escapeExpression((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(alias2,\"folder\",{\"name\":\"lang\",\"hash\":{\"folder\":(depth0 != null ? depth0.category : depth0)},\"data\":data}))\n + \"</span>\\r\\n\";\n},\"4\":function(container,depth0,helpers,partials,data) {\n return \"<span class=\\\"mx-1\\\">|</span>\";\n},\"6\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable, alias2=container.lambda, alias3=container.escapeExpression;\n\n return \" <span class=\\\"badge p-1 tool-tip \"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.rating : stack1), depth0))\n + \" \"\n + alias3(alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.ratingColorClass : stack1), depth0))\n + \"\\\" title=\\\"\"\n + alias3(alias2(((stack1 = (depth0 != null ? depth0.rating : depth0)) != null ? stack1.name : stack1), depth0))\n + \"\\\">\"\n + alias3(alias2(((stack1 = (depth0 != null ? depth0.rating : depth0)) != null ? stack1.code : stack1), depth0))\n + \"</span>\\r\\n\";\n},\"8\":function(container,depth0,helpers,partials,data) {\n var stack1;\n\n return ((stack1 = helpers[\"if\"].call(depth0 != null ? depth0 : (container.nullContext || {}),depth0,{\"name\":\"if\",\"hash\":{},\"fn\":container.program(9, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\");\n},\"9\":function(container,depth0,helpers,partials,data) {\n return \" <div class=\\\"text-danger\\\">\"\n + container.escapeExpression(container.lambda(depth0, depth0))\n + \"</div>\\r\\n\";\n},\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var stack1, helper, alias1=container.propertyIsEnumerable, alias2=depth0 != null ? depth0 : (container.nullContext || {});\n\n return \"<div>\\r\\n <a class=\\\"h6\\\">\"\n + container.escapeExpression(((helper = (helper = helpers.name || (depth0 != null ? depth0.name : depth0)) != null ? helper : container.hooks.helperMissing),(typeof helper === \"function\" ? helper.call(alias2,{\"name\":\"name\",\"hash\":{},\"data\":data}) : helper)))\n + \"</a>\\r\\n</div>\\r\\n<div>\\r\\n\"\n + ((stack1 = helpers[\"if\"].call(alias2,(depth0 != null ? depth0.series : depth0),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + ((stack1 = helpers[\"if\"].call(alias2,(depth0 != null ? depth0.category : depth0),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(3, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \"</div>\\r\\n\"\n + ((stack1 = helpers[\"if\"].call(alias2,((stack1 = (depth0 != null ? depth0.rating : depth0)) != null ? stack1.code : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(6, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + ((stack1 = helpers.each.call(alias2,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.errorStrings : stack1),{\"name\":\"each\",\"hash\":{},\"fn\":container.program(8, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\");\n},\"useData\":true});","import { Core } from 'libs/common/core';\r\n\r\nimport * as ErroredVideoMetadataTemplate from './ErroredVideoMetadata.hbs';\r\nimport * as styles from './errored-video-metadata.scss';\r\nimport { MigrationErrorHelper } from 'apps/migration-wizard/utils/MigrationErrorHelper';\r\nimport { ObjectHash } from 'backbone';\r\nimport { VideoDetailsHelper } from 'apps/library-editor/utils';\r\n\r\nexport class ErroredVideoMetadataComponent extends Core.Component {\r\n public get name(): string {\r\n return 'ErroredVideoMetadataComponent';\r\n }\r\n\r\n public get template(): any {\r\n return ErroredVideoMetadataTemplate;\r\n }\r\n\r\n public get lang(): string {\r\n return 'migrationWizard.erroredVideoMetadata';\r\n }\r\n\r\n public viewOptions(): ObjectHash {\r\n return {\r\n styles,\r\n errorStrings: MigrationErrorHelper.getErrorStrings(this.model.get('clientValidationResults')),\r\n ratingColorClass: this.model.get('rating') && VideoDetailsHelper.mapRatingToClass(this.model.get('rating').value),\r\n };\r\n }\r\n}","// extracted by mini-css-extract-plugin\nmodule.exports = {\"rating\":\"cv--rating--3IJcl\"};","var Handlebars = require('handlebars');\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n var alias1=container.propertyIsEnumerable;\n\n return \"<p class=\\\"text-uppercase text-muted\\\">\"\n + container.escapeExpression((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),\"description\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</p>\\r\\n\";\n},\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable;\n\n return ((stack1 = helpers[\"if\"].call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? depth0.description : depth0),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \"<div class=\\\"description-region\\\"></div>\\r\\n<div class=\\\"webplayer-region col-5 pl-0\\\"></div>\";\n},\"useData\":true});","import { Core } from 'libs/common/core';\r\n\r\nimport * as ErroredVideoPreviewTemplate from './ErroredVideoPreview.hbs';\r\nimport { ObjectHash } from 'backbone';\r\nimport { VideoDescriptionComponent, VideoDescriptionTruncationSize } from 'shared/components/video-description/VideoDescriptionComponent';\r\nimport { VideoPreviewComponent } from 'shared/components/video-preview/VideoPreviewComponent';\r\nimport { Video } from 'shared/models/Video';\r\n\r\ninterface ErroredVideoPreviewComponentOptions extends Core.ComponentOptions {\r\n webplayerUrl: string;\r\n imageCdnUrl: string;\r\n}\r\n\r\nexport class ErroredVideoPreviewComponent extends Core.Component {\r\n public options: ErroredVideoPreviewComponentOptions;\r\n\r\n constructor(options: ErroredVideoPreviewComponentOptions) {\r\n super(options);\r\n }\r\n\r\n public get name(): string {\r\n return 'ErroredVideoPreviewComponent';\r\n }\r\n\r\n public get className(): string {\r\n return 'p-3 border-top';\r\n }\r\n\r\n public get template(): any {\r\n return ErroredVideoPreviewTemplate;\r\n }\r\n\r\n public get lang(): string {\r\n return 'migrationWizard.erroredVideoPreview';\r\n }\r\n\r\n public regions(): ObjectHash {\r\n return {\r\n description: {\r\n el: '.description-region',\r\n replaceElement: true\r\n },\r\n webplayer: {\r\n el: '.webplayer-region'\r\n }\r\n };\r\n }\r\n\r\n public onRender(): void {\r\n this.showChildView('webplayer', new VideoPreviewComponent({\r\n webPlayerUrl: this.options.webplayerUrl,\r\n model: new Video({\r\n duration: this.model.get('duration') * 1000,\r\n thumbnail: { url: `${this.options.imageCdnUrl}v1/thumbnails/trackingcode/${this.model.get('trackingCode')}` },\r\n trackingCode: this.model.get('trackingCode')\r\n }),\r\n captureAnalytics: false\r\n }));\r\n\r\n if (this.model.get('description')) {\r\n this.showChildView('description', new VideoDescriptionComponent({\r\n model: this.model,\r\n linkify: true,\r\n size: VideoDescriptionTruncationSize.Large,\r\n truncate: true,\r\n allowExpand: true\r\n }));\r\n }\r\n\r\n }\r\n}","export const MigrationErrorActions = {\r\n USE_ONLINE_COPY: 'use-online-copy',\r\n DO_NOT_ADD: 'do-not-add'\r\n};","export const MigrationViewModels = {\r\n OPEN_PREVIEWS: 'migration:errored:videos:preview',\r\n SELECTED_VIDEOS: 'migration:errored:videos:selected'\r\n};","import * as _ from 'underscore';\r\nimport { ValidationResult } from 'apps/migration-wizard/enums';\r\nimport { LanguageService } from 'libs/common/backbone/services/LanguageService';\r\n\r\nconst lang = 'migrationWizard.utils';\r\n\r\nconst videoFileMissing = () => LanguageService.getPhrase(lang, 'videoFileMissing');\r\nconst videoFileCorrupt = () => LanguageService.getPhrase(lang, 'videoFileCorrupt');\r\nconst videoFileInformationMissing = () => LanguageService.getPhrase(lang, 'videoFileInformationMissing');\r\nconst subtitleFileMissing = () => LanguageService.getPhrase(lang, 'subtitleFileMissing');\r\nconst resouceFileMissing = () => LanguageService.getPhrase(lang, 'resouceFileMissing');\r\nconst thumbnailMissing = () => LanguageService.getPhrase(lang, 'thumbnailMissing');\r\n\r\nconst mappings: { [key: number]: () => string } = {\r\n [ValidationResult.BinaryRemoved]: () => '',\r\n\r\n [ValidationResult.LocalFileNotFound]: videoFileMissing,\r\n [ValidationResult.DbEmptyChapter]: videoFileCorrupt,\r\n\r\n [ValidationResult.DbChapterChecksumNotFound]: videoFileCorrupt,\r\n [ValidationResult.DbChapterDurationNotFound]: videoFileInformationMissing,\r\n [ValidationResult.DbChapterFileSizeNotFound]: videoFileInformationMissing,\r\n [ValidationResult.DbChapterChecksumNotMatch]: videoFileInformationMissing,\r\n [ValidationResult.DbChapterDurationNotMatch]: videoFileInformationMissing,\r\n [ValidationResult.DbChapterFileSizeNotMatch]: videoFileInformationMissing,\r\n [ValidationResult.SubtitleUploadFailure]: subtitleFileMissing,\r\n [ValidationResult.ResourceUploadFailure]: resouceFileMissing,\r\n [ValidationResult.ResourceFileNotFound]: resouceFileMissing,\r\n [ValidationResult.ResourceFileInvalid]: resouceFileMissing,\r\n [ValidationResult.DbResourceChecksumNotFound]: resouceFileMissing,\r\n [ValidationResult.DbResourceExtensionNotFound]: resouceFileMissing,\r\n [ValidationResult.DbResourceFileSizeNotFound]: resouceFileMissing,\r\n [ValidationResult.DbResourceChecksumNotMatch]: resouceFileMissing,\r\n [ValidationResult.DbResourceFileSizeNotMatch]: resouceFileMissing,\r\n [ValidationResult.CoverImageUploadFailure]: thumbnailMissing\r\n};\r\n\r\nexport const MigrationErrorHelper = {\r\n getErrorStrings(errorCodes: number[]): string[] {\r\n return _.unique(_.map(errorCodes, e => mappings[e]()));\r\n }\r\n};","var Handlebars = require('handlebars');\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n var stack1, helper, alias1=container.propertyIsEnumerable, alias2=container.escapeExpression, alias3=depth0 != null ? depth0 : (container.nullContext || {}), alias4=container.hooks.helperMissing, alias5=\"function\";\n\n return \"<div class=\\\"m-auto text-warning \"\n + alias2(container.lambda(((stack1 = (depth0 != null ? depth0.styles : depth0)) != null ? stack1.svgContainer : stack1), depth0))\n + \"\\\">\"\n + ((stack1 = ((helper = (helper = helpers.warningSvg || (depth0 != null ? depth0.warningSvg : depth0)) != null ? helper : alias4),(typeof helper === alias5 ? helper.call(alias3,{\"name\":\"warningSvg\",\"hash\":{},\"data\":data}) : helper))) != null ? stack1 : \"\")\n + \"</div>\\r\\n<p>\\r\\n <div>\"\n + ((stack1 = ((helper = (helper = helpers.onlineCopyCountText || (depth0 != null ? depth0.onlineCopyCountText : depth0)) != null ? helper : alias4),(typeof helper === alias5 ? helper.call(alias3,{\"name\":\"onlineCopyCountText\",\"hash\":{},\"data\":data}) : helper))) != null ? stack1 : \"\")\n + \" will be migrated to your Library Editor ignoring all warnings.</div>\\r\\n <span class=\\\"text-danger\\\">\\r\\n \"\n + alias2(((helper = (helper = helpers.warningText || (depth0 != null ? depth0.warningText : depth0)) != null ? helper : alias4),(typeof helper === alias5 ? helper.call(alias3,{\"name\":\"warningText\",\"hash\":{},\"data\":data}) : helper)))\n + \"\\r\\n </span>\\r\\n</p> \\r\\n\";\n},\"3\":function(container,depth0,helpers,partials,data) {\n var stack1, helper, alias1=container.propertyIsEnumerable;\n\n return \"<p>\"\n + ((stack1 = ((helper = (helper = helpers.doNotAddCountText || (depth0 != null ? depth0.doNotAddCountText : depth0)) != null ? helper : container.hooks.helperMissing),(typeof helper === \"function\" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{\"name\":\"doNotAddCountText\",\"hash\":{},\"data\":data}) : helper))) != null ? stack1 : \"\")\n + \" will be removed from this list and will not be added to your library.</p>\\r\\n\";\n},\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable, alias2=depth0 != null ? depth0 : (container.nullContext || {});\n\n return ((stack1 = helpers[\"if\"].call(alias2,(depth0 != null ? depth0.onlineCopyCount : depth0),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + ((stack1 = helpers[\"if\"].call(alias2,(depth0 != null ? depth0.doNotAddCount : depth0),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(3, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\");\n},\"useData\":true});","var Handlebars = require('handlebars');\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable, alias2=depth0 != null ? depth0 : (container.nullContext || {}), alias3=container.hooks.helperMissing, alias4=container.escapeExpression;\n\n return \" <h2 class=\\\"h3\\\">\"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"couldNotBeMigrated\",{\"name\":\"lang\",\"hash\":{\"smartCount\":((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.items : stack1)},\"data\":data}))\n + \"</h2>\\r\\n <p class=\\\"mb-1\\\">\"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"ensureValidity\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</p>\\r\\n <p class=\\\"mb-2\\\"><a href=\\\"\"\n + alias4(container.lambda(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.supportArticle : stack1), depth0))\n + \"\\\" target=\\\"_blank\\\" class=\\\"text-info\\\">\"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"moreInfo\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</a></p>\\r\\n <button class=\\\"approve-all btn btn-success d-inline-block mr-2\\\" type=\\\"button\\\">\"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"resolve\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</button>\\r\\n <button class=\\\"do-not-add btn btn-link d-inline-block\\\" type=\\\"button\\\">\"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"dismiss\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</button>\\r\\n\";\n},\"3\":function(container,depth0,helpers,partials,data) {\n return \"\";\n},\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable, alias2=container.lambda, alias3=container.escapeExpression;\n\n return \"<div class=\\\"tab-region \"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.tabsContainer : stack1), depth0))\n + \" border-bottom\\\"></div>\\r\\n<div class=\\\"p-3 border-bottom \"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.headingContainer : stack1), depth0))\n + \"\\\">\\r\\n\"\n + ((stack1 = helpers[\"if\"].call(depth0 != null ? depth0 : (container.nullContext || {}),((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.items : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.program(3, data, 0),\"data\":data})) != null ? stack1 : \"\")\n + \"</div>\\r\\n<div class=\\\"videos-region \"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.videoContainer : stack1), depth0))\n + \"\\\"></div>\\r\\n<div class=\\\"footer-region\\\"></div>\\r\\n\";\n},\"useData\":true});","import * as _ from 'underscore';\r\nimport { ObjectHash } from 'backbone';\r\n\r\nimport { Core } from 'libs/common/core';\r\nimport { InstanceManager } from 'libs/common/backbone/services/InstanceManager';\r\nimport { ViewModelService } from 'libs/common/backbone/services/ViewModelService';\r\nimport { LanguageService } from 'libs/common/backbone/services/LanguageService';\r\nimport { SvgHelper, cvSvgLibrary } from 'libs/shared/utils/SvgHelper';\r\nimport { EmptyStateBehavior } from 'libs/shared/legacy/behaviors/empty-state/EmptyStateBehavior';\r\nimport { LocationContext, EntityType, UserAction, OperationDescriptor } from 'libs/analytics/interfaces';\r\nimport { AnalyticsHelper } from 'libs/analytics/AnalyticsHelper';\r\n\r\nimport { ConfigDataServiceHelper } from 'shared/services/ConfigDataService';\r\nimport { NavLockService } from 'shared/services/NavigationLockService';\r\nimport { DataServices, DataChannels, Actions, AppChannels, SupportArticles, EmptyStateComponents, Services } from 'shared/constants';\r\nimport { Config } from 'shared/models/Config';\r\nimport { EmptyState, PartialLoading } from 'shared/enums';\r\nimport { RadioChannelHelper, DialogHelper } from 'shared/utils';\r\n\r\nimport { ErroredVideoListComponent } from 'apps/migration-wizard/components/errored-video-list/ErroredVideoListComponent';\r\nimport { ErroredVideoFooterComponent } from 'apps/migration-wizard/components/errored-video-footer/ErroredVideoFooterComponent';\r\nimport { VideoMigrationStatus } from 'apps/migration-wizard/enums/VideoMigrationStatus';\r\nimport { SelectedVideo, FinalisationTask } from 'apps/migration-wizard/models';\r\nimport { MigrationErrorActions } from 'apps/migration-wizard/contants/MigrationErrorActions';\r\nimport { MigrationViewModels } from 'apps/migration-wizard/contants/MigrationViewModels';\r\nimport { SearchBarComponent } from 'apps/migration-wizard/components';\r\nimport { MigrationVideoDataService } from 'apps/migration-wizard/services/MigrationVideoDataService';\r\n\r\nimport * as ConfirmationDialogTemplate from './ConfirmationDialog.hbs';\r\nimport * as MigrationErrorTemplate from './MigrationError.hbs';\r\nimport * as styles from './migration-error.scss';\r\n\r\nconst SUBMIT_EVENT = 'submit';\r\nconst PAGE_SIZE = 25;\r\n\r\nexport class MigrationErrorView extends Core.View {\r\n private config: Config;\r\n private migrationVideoDataService: MigrationVideoDataService;\r\n private navLockService: NavLockService;\r\n private previewViewModel: Core.Model;\r\n private collectionSubset: Core.Collection;\r\n private page: number;\r\n private scrollBound: boolean;\r\n\r\n public initialize(): void {\r\n this.migrationVideoDataService = InstanceManager.getInstance(DataServices.MigrationVideo, this);\r\n this.navLockService = InstanceManager.getInstance(Services.NavLock, this);\r\n this.viewModel = ViewModelService.get(MigrationViewModels.SELECTED_VIDEOS);\r\n this.previewViewModel = ViewModelService.get(MigrationViewModels.OPEN_PREVIEWS);\r\n\r\n this.listenTo(DataChannels.MIGRATION, `manual:review:videos:sync`, this.render);\r\n this.listenTo(this.channelName, SUBMIT_EVENT, this.onSubmit);\r\n\r\n this.listenTo(this.viewModel, 'change', this.onChangeSelected);\r\n\r\n this.page = 1;\r\n }\r\n\r\n public get name(): string {\r\n return 'MigrationErrorView';\r\n }\r\n\r\n public get title(): string {\r\n return LanguageService.getPhrase(this.lang, 'title');\r\n }\r\n\r\n public get lang(): string {\r\n return 'migrationWizard.migrationError';\r\n }\r\n\r\n public get channelName(): string {\r\n return RadioChannelHelper.generateUniqueChannelName(this);\r\n }\r\n\r\n public get elements(): ObjectHash {\r\n return {\r\n videos: '.videos-region'\r\n };\r\n }\r\n\r\n public regions(): ObjectHash {\r\n return {\r\n tabs: {\r\n el: '.tab-region',\r\n replaceElement: true\r\n },\r\n videos: {\r\n el: '.videos-region',\r\n partialLoading: PartialLoading.VideoList\r\n },\r\n footer: {\r\n el: '.footer-region',\r\n replaceElement: true\r\n }\r\n };\r\n }\r\n\r\n public get behaviors(): any[] {\r\n return [\r\n {\r\n behaviorClass: EmptyStateBehavior,\r\n region: 'videos',\r\n type: EmptyState.ManualReviewVideos,\r\n emptyStateComponents: EmptyStateComponents\r\n }\r\n ];\r\n }\r\n\r\n public get template(): any {\r\n return MigrationErrorTemplate;\r\n }\r\n\r\n public get className(): string {\r\n return `bg-white w-100 ${styles.migrationErrorView}`;\r\n }\r\n\r\n public events(): ObjectHash {\r\n return {\r\n 'click .approve-all': 'onClickApproveAll',\r\n 'click .do-not-add': 'onClickDoNotAdd'\r\n };\r\n }\r\n\r\n public onClickApproveAll(): void {\r\n const keys: ObjectHash = {};\r\n this.collection.each(item => {\r\n keys[item.get('id')] = MigrationErrorActions.USE_ONLINE_COPY;\r\n });\r\n this.viewModel.set(keys);\r\n }\r\n\r\n public onClickDoNotAdd(): void {\r\n this.previewViewModel.clear();\r\n const keys: ObjectHash = {};\r\n this.collection.each(item => {\r\n keys[item.get('id')] = MigrationErrorActions.DO_NOT_ADD;\r\n });\r\n this.viewModel.set(keys);\r\n }\r\n\r\n\r\n private onChangeSelected(): void {\r\n if (this.viewModel.keys().length) {\r\n this.navLockService.lock({\r\n title: LanguageService.getPhrase(this.lang, 'navLockTitle'),\r\n text: LanguageService.getPhrase(this.lang, 'navLockBody')\r\n });\r\n } else {\r\n this.navLockService.unlock();\r\n }\r\n }\r\n\r\n private getDialog(onlineCopyCount: number, doNotAddCount: number): DialogHelper {\r\n return new DialogHelper({\r\n title: LanguageService.getPhrase(this.lang, 'dialogHeading'),\r\n text: ConfirmationDialogTemplate({\r\n onlineCopyCount,\r\n onlineCopyCountText: LanguageService.getPhrase(this.lang, 'videos', { smartCount: onlineCopyCount }),\r\n warningText: LanguageService.getPhrase(this.lang, 'warningText', { smartCount: onlineCopyCount }),\r\n doNotAddCount,\r\n doNotAddCountText: LanguageService.getPhrase(this.lang, 'videos', { smartCount: doNotAddCount }),\r\n styles,\r\n warningSvg: SvgHelper.getSvg(cvSvgLibrary.Warning)\r\n }),\r\n buttons: [{\r\n text: LanguageService.getPhrase(this.lang, 'submit'),\r\n className: 'btn btn-primary',\r\n success: true\r\n }]\r\n });\r\n }\r\n\r\n private getSelectedVideos(): Core.Collection<SelectedVideo> {\r\n const useOnlineCopyVideos = this.collection.filter(video => {\r\n return this.viewModel.get(video.get('id')) === MigrationErrorActions.USE_ONLINE_COPY;\r\n });\r\n\r\n const groupedByCategory = _.groupBy(useOnlineCopyVideos, video => {\r\n return video.get('category');\r\n });\r\n\r\n const selectedVideos = _.map(_.keys(groupedByCategory), key => {\r\n return {\r\n folderChord: key,\r\n videoIds: _.map(groupedByCategory[key], item => item.get('id'))\r\n };\r\n });\r\n return new Core.Collection<SelectedVideo>(selectedVideos);\r\n }\r\n\r\n private onSubmit(): void {\r\n const doNotAddVideoIds: number[] = [];\r\n const useOnlineCopyVideoIds: number[] = [];\r\n\r\n _.each(this.viewModel.keys(), k => {\r\n const value = this.viewModel.get(k);\r\n if (value === MigrationErrorActions.DO_NOT_ADD)\r\n doNotAddVideoIds.push(+k);\r\n\r\n if (value === MigrationErrorActions.USE_ONLINE_COPY)\r\n useOnlineCopyVideoIds.push(+k);\r\n });\r\n\r\n const dialog = this.getDialog(useOnlineCopyVideoIds.length, doNotAddVideoIds.length);\r\n\r\n let updateMigrationStatusDone = false;\r\n let finaliseCustomerVideosDone = false;\r\n let finalisationTaskId = 0;\r\n\r\n const callback = () => {\r\n if (!updateMigrationStatusDone || !finaliseCustomerVideosDone)\r\n return;\r\n\r\n if (useOnlineCopyVideoIds.length) {\r\n /**\r\n * Silently clear the viewModel so that we don't trigger a re-render\r\n * of all the migration errors. This helps mitigate a bug where\r\n * lazyload was erroring when attempting to perform an update on\r\n * items after they've been removed from the DOM.\r\n */\r\n this.viewModel.clear({ silent: true });\r\n this.navLockService.unlock();\r\n\r\n Core.AppLinkHelper.trigger({\r\n application: AppChannels.MIGRATION_WIZARD,\r\n action: Actions.MigrationWizard.PROGRESS,\r\n args: [finalisationTaskId]\r\n });\r\n } else {\r\n this.viewModel.clear();\r\n\r\n this.migrationVideoDataService.clearCacheAndGetCustomerMetadata();\r\n this.migrationVideoDataService.getManualReviewVideos();\r\n\r\n delete this.collectionSubset;\r\n }\r\n };\r\n\r\n dialog.render().done(() => {\r\n this.logMigrationActions(useOnlineCopyVideoIds, doNotAddVideoIds);\r\n\r\n if (doNotAddVideoIds.length) {\r\n this.migrationVideoDataService.updateMigrationStatus(\r\n doNotAddVideoIds, VideoMigrationStatus.HasNotBeenMigrated, () => {\r\n updateMigrationStatusDone = true;\r\n callback();\r\n }\r\n );\r\n } else {\r\n updateMigrationStatusDone = true;\r\n }\r\n\r\n if (useOnlineCopyVideoIds.length) {\r\n this.migrationVideoDataService.finaliseCustomerVideos(\r\n this.getSelectedVideos(), true, (finalisationTask: FinalisationTask) => {\r\n finaliseCustomerVideosDone = true;\r\n finalisationTaskId = finalisationTask.get('id');\r\n callback();\r\n }\r\n );\r\n } else {\r\n finaliseCustomerVideosDone = true;\r\n }\r\n });\r\n }\r\n\r\n private logMigrationActions(resolveCollection: number[], dismissCollection: number[]): void {\r\n if (resolveCollection.length) {\r\n const data = _.map(resolveCollection, id => this.processLogData(id, resolveCollection));\r\n this.logData(UserAction.ResolveWarning, data);\r\n }\r\n\r\n if (dismissCollection.length) {\r\n const data = _.map(dismissCollection, id => this.processLogData(id, dismissCollection));\r\n this.logData(UserAction.DismissWarning, data);\r\n }\r\n }\r\n\r\n private logData(actionType: UserAction, data: ObjectHash[]): void {\r\n const analyticsOptions = {\r\n location: LocationContext.MigrationWarnings,\r\n entity: EntityType.Video\r\n };\r\n\r\n // Set action descriptor where all videos have been selected for resolve/dismiss\r\n const selectedAll = data.length === this.collection.length;\r\n\r\n AnalyticsHelper.logUserAction(data, AnalyticsHelper.mergeOptions(analyticsOptions, {\r\n actionType,\r\n descriptor: selectedAll ? OperationDescriptor.All : OperationDescriptor.Single\r\n }));\r\n }\r\n\r\n // Process and build the data object we're going to log.\r\n private processLogData(id: number, migrationCollection: number[]): ObjectHash {\r\n const model = this.collection.get(id);\r\n\r\n const { name, trackingCode } = model.pick('name', 'trackingCode');\r\n\r\n const actionCount = migrationCollection.length;\r\n const warningCount = this.collection.length;\r\n\r\n return {\r\n id,\r\n name,\r\n trackingCode,\r\n actionCount,\r\n warningCount,\r\n };\r\n }\r\n\r\n public get requiredResources(): Core.RequiredResourceHash {\r\n return {\r\n config: ConfigDataServiceHelper.config\r\n };\r\n }\r\n\r\n private unBindScroll(): void {\r\n const $videosRegion = this.getUI('videos');\r\n $videosRegion.off('scroll');\r\n }\r\n\r\n private bindScroll(): void {\r\n if (this.scrollBound)\r\n return;\r\n\r\n const $videosRegion = this.getUI('videos');\r\n $videosRegion.on('scroll', _.bind(this.onScroll, this));\r\n\r\n this.scrollBound = true;\r\n }\r\n\r\n private onScroll(): void {\r\n const $videosRegion = this.getUI('videos');\r\n\r\n /**\r\n * If we haven't scrolled to the end, do nothing\r\n * \r\n */\r\n const loadMoreThreshold = $videosRegion.children().height() - $videosRegion.height() / 2;\r\n if ($videosRegion.scrollTop() + $videosRegion.height() < loadMoreThreshold)\r\n return;\r\n\r\n if (this.page * PAGE_SIZE > this.collection.length)\r\n return;\r\n\r\n this.collectionSubset.add(_.first(this.collection.rest(this.page * PAGE_SIZE), PAGE_SIZE));\r\n this.page++;\r\n }\r\n\r\n public viewOptions(): ObjectHash {\r\n\r\n const supportArticle = this.config ? `${this.config.get('supportSiteUrl')}${SupportArticles.MANUAL_REVIEW}` : '';\r\n\r\n return {\r\n styles,\r\n supportArticle,\r\n items: this.collection && this.collection.length\r\n };\r\n }\r\n\r\n public onBeforeRender(): boolean {\r\n this.collection = this.migrationVideoDataService.getManualReviewVideos();\r\n\r\n if (this.collection && !this.collectionSubset) {\r\n this.collectionSubset = new Core.Collection(this.collection.first(PAGE_SIZE));\r\n }\r\n\r\n return !!this.collection;\r\n }\r\n\r\n public onRender(): void {\r\n this.showChildView('tabs', new SearchBarComponent({\r\n selected: 'migration-errors'\r\n }));\r\n this.showChildView('videos', new ErroredVideoListComponent({\r\n collection: this.collectionSubset,\r\n imageCdnUrl: this.config.get('imageCdnUrl'),\r\n webplayerUrl: this.config.get('webPlayerUrl')\r\n }));\r\n this.showChildView('footer', new ErroredVideoFooterComponent({\r\n channelName: this.channelName,\r\n submitEvent: SUBMIT_EVENT\r\n }));\r\n this.bindScroll();\r\n }\r\n\r\n public onBeforeDestroy(): void {\r\n this.unBindScroll();\r\n }\r\n\r\n public onDestroy(): void {\r\n ViewModelService.clear(MigrationViewModels.OPEN_PREVIEWS);\r\n ViewModelService.clear(MigrationViewModels.SELECTED_VIDEOS);\r\n }\r\n}","// extracted by mini-css-extract-plugin\nmodule.exports = {\"migrationErrorView\":\"cv--migrationErrorView--1Jo6e\",\"videoContainer\":\"cv--videoContainer--7tGnj\",\"svgContainer\":\"cv--svgContainer--csNIF\",\"headingContainer\":\"cv--headingContainer--30NNv\",\"tabsContainer\":\"cv--tabsContainer--10__f\"};","export enum VideoItemComponentType {\r\n Base,\r\n AwaitingReview,\r\n PastReleases,\r\n VideoAccess,\r\n ProcessingVideo,\r\n Draggable,\r\n Search\r\n}\r\n\r\nexport enum VideoItemComponentRegion {\r\n Checkbox = 'checkbox',\r\n Thumbnail = 'thumbnail',\r\n Metadata = 'metadata',\r\n VideoActions = 'videoActions',\r\n VideoInfo = 'videoInfo',\r\n}"],"sourceRoot":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[42],{1410:function(e,t,n){e.exports={smart:"_1dRs0",leftNav:"_3dpUO"}},1411:function(e,t,n){e.exports={item:"_13Gu_",text:"_2mbEb",folderTree:"_2NhVk",node:"_1dMK1",selected:"_1AACi"}},1412:function(e,t,n){var i=n(10);e.exports=(i.default||i).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){var o;e.propertyIsEnumerable;return'<div class="selected-banner-region"></div>\r\n<div class="search-region"></div>\r\n<div class="banner-region"></div>\r\n<div class="col-4 '+e.escapeExpression(e.lambda(null!=(o=null!=(o=null!=t?t.options:t)?o.styles:o)?o.leftNav:o,t))+'">\r\n <div class="left-nav-region"></div>\r\n</div>\r\n<div class="col">\r\n <div class="header-region"></div>\r\n <div class="video-list-region"></div>\r\n</div>\r\n<div class="footer-region"></div>'},useData:!0})},1413:function(e,t,n){var i=n(10);e.exports=(i.default||i).template({1:function(e,t,n,i,r){e.propertyIsEnumerable;var o,a=e.lambda,s=e.escapeExpression;return' <a class="applink-goback '+s(a(null!=(o=null!=(o=null!=t?t.options:t)?o.styles:o)?o.back:o,t))+'">\r\n <span class="align-middle d-inline-block '+s(a(null!=(o=null!=(o=null!=t?t.options:t)?o.styles:o)?o.backSvgContainer:o,t))+'">'+(null!=(o=a(null!=(o=null!=t?t.options:t)?o.backSvg:o,t))?o:"")+"</span>\r\n </a>\r\n"},3:function(e,t,n,i,r){var o;e.propertyIsEnumerable;return" "+(null!=(o=(n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"resultsFor",{name:"lang",hash:{searchTerm:null!=(o=null!=t?t.options:t)?o.searchTerm:o,smartCount:null!=(o=null!=t?t.options:t)?o.results:o},data:r}))?o:"")+"\r\n"},5:function(e,t,n,i,r){var o;e.propertyIsEnumerable;return" "+e.escapeExpression(e.lambda(null!=(o=null!=t?t.options:t)?o.name:o,t))+"\r\n"},7:function(e,t,n,i,r){e.propertyIsEnumerable;var o,a=e.lambda,s=e.escapeExpression,l=null!=t?t:e.nullContext||{};return'<div class="col-4 text-right py-2 '+s(a(null!=(o=null!=(o=null!=t?t.options:t)?o.styles:o)?o.subheader:o,t))+'">\r\n <div class="cursor-pointer toggle-migrated h-100">\r\n <span class="'+s(a(null!=(o=null!=(o=null!=t?t.options:t)?o.styles:o)?o.svg:o,t))+'">'+(null!=(o=a(null!=(o=null!=t?t.options:t)?o.svg:o,t))?o:"")+"</span>\r\n <span>"+(null!=(o=n.if.call(l,null!=(o=null!=t?t.options:t)?o.hidden:o,{name:"if",hash:{},fn:e.program(8,r,0),inverse:e.program(10,r,0),data:r}))?o:"")+" "+s((n.lang||t&&t.lang||e.hooks.helperMissing).call(l,"migrated",{name:"lang",hash:{},data:r}))+"</span>\r\n </div>\r\n</div>\r\n"},8:function(e,t,n,i,r){e.propertyIsEnumerable;return e.escapeExpression((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"show",{name:"lang",hash:{},data:r}))},10:function(e,t,n,i,r){e.propertyIsEnumerable;return e.escapeExpression((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"hide",{name:"lang",hash:{},data:r}))},compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){e.propertyIsEnumerable;var o,a=null!=t?t:e.nullContext||{};return'<div class="col-8">\r\n'+(null!=(o=n.if.call(a,null!=(o=null!=t?t.options:t)?o.goBack:o,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r}))?o:"")+' <h4 class="'+e.escapeExpression(e.lambda(null!=(o=null!=(o=null!=t?t.options:t)?o.styles:o)?o.header:o,t))+' py-2">\r\n'+(null!=(o=n.if.call(a,null!=(o=null!=t?t.options:t)?o.searchTerm:o,{name:"if",hash:{},fn:e.program(3,r,0),inverse:e.program(5,r,0),data:r}))?o:"")+" </h4>\r\n</div>\r\n\r\n"+(null!=(o=n.if.call(a,null!=(o=null!=t?t.options:t)?o.showMigrationToggle:o,{name:"if",hash:{},fn:e.program(7,r,0),inverse:e.noop,data:r}))?o:"")},useData:!0})},1473:function(e,t,n){"use strict";n.r(t);var i=n(2),r=n(3),o=n(52),a=n(103),s=n(1410),l=n.n(s),c=n(1411),u=n.n(c),d=n(1412),h=n.n(d),f=n(8),g=n(1063),p=n(1124),v=n(1),m=n(6),y=n(5),b=n(15),S=n(305),w=n(1413),k=n.n(w),M=n(47),I=n(147),C=n(0);function T(e){return(T="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})(e)}function O(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function R(e,t){return(R=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function A(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,i=V(e);if(t){var r=V(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return E(this,n)}}function E(e,t){return!t||"object"!==T(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function V(e){return(V=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var _=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}}),t&&R(e,t)}(o,e);var t,n,i,r=A(o);function o(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o),r.call(this,e)}return t=o,(n=[{key:"initialize",value:function(){this.localOptionsService=y.a.getInstance(C.x.LocalOptions,this),this.migrationVideoDataService=y.a.getInstance(C.g.MigrationVideo,this);var e=this.localOptionsService.getOption(M.b.MigratedHidden);v.isUndefined(e)?(this.setMigrationHiddenOption(!1),this.migratedHidden=!1):this.migratedHidden=e}},{key:"events",value:function(){return{"click @ui.toggleMigrated":"toggleMigrated"}}},{key:"viewOptions",value:function(){return{styles:S,name:this.options.searchTerm||this.model&&this.model.get("name"),hidden:this.migratedHidden,svg:b.a.getSvg(this.migratedHidden?b.b.VisibleOn:b.b.VisibleOff),goBack:this.options.searchTerm,showMigrationToggle:!this.options.initialMigration,backSvg:b.a.getSvg("arrow-left",{prefix:"fas"}),searchTerm:this.options.searchTerm,results:10}}},{key:"onBeforeRender",value:function(){var e=this;return!(!this.model&&!this.options.searchTerm&&(this.migrationVideoDataService.getSelected((function(t){t&&(e.model=t,e.triggerToggle(),e.render())})),!this.model))}},{key:"toggleMigrated",value:function(){this.migratedHidden=!this.migratedHidden,this.setMigrationHiddenOption(this.migratedHidden),this.triggerToggle(),this.render()}},{key:"triggerToggle",value:function(){m.Radio.channel(I.b.MIGRATION).trigger(C.i.MigrationWizard.TOGGLE_MIGRATED,this.migratedHidden)}},{key:"setMigrationHiddenOption",value:function(e){this.localOptionsService.setOption(M.b.MigratedHidden,e)}},{key:"name",get:function(){return"CurrentSectionHeaderView"}},{key:"title",get:function(){return!1}},{key:"lang",get:function(){return"migrationWizard.currentSectionHeader"}},{key:"className",get:function(){return"row px-2 ".concat(S.currentHeader)}},{key:"template",get:function(){return k.a}},{key:"elements",get:function(){return{toggleMigrated:".toggle-migrated"}}},{key:"appLinks",get:function(){return{".applink-goback":{application:I.a.MIGRATION_WIZARD,action:this.options.initialMigration?C.a.MigrationWizard.SMART:C.a.MigrationWizard.HOME}}}}])&&O(t.prototype,n),i&&O(t,i),o}(i.a.View);function x(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return N(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return N(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,r=function(){};return{s:r,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function N(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}var L={getSelectedInFolder:function(e,t){var n,i=x(p.a.getSelectedVideosCollection(e).toArray());try{for(i.s();!(n=i.n()).done;){var r=n.value;if(r.get("category")===t)return r.get("count")}}catch(e){i.e(e)}finally{i.f()}return 0},findFolder:function(e,t){var n;if(e)return e.forEach((function(e){if(e.get("categoryGuid")===t)n=e;else{var i=L.findFolder(e.get("children"),t);i&&(n=i)}})),n}},P=n(57),D=n(88),B=n(30),H=n(187),G=n(1116),j=n(13),W=n(90),F=n(186);function z(e){return(z="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})(e)}function Z(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function U(e,t){return(U=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function q(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,i=$(e);if(t){var r=$(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return J(this,n)}}function J(e,t){return!t||"object"!==z(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function $(e){return($=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n.d(t,"SmartMigrationView",(function(){return K}));var K=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}}),t&&U(e,t)}(d,e);var t,n,s,c=q(d);function d(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,d),c.call(this,e)}return t=d,(n=[{key:"initialize",value:function(){this.viewModel=B.a.get(this.viewModelName,{bannerShown:!0},{ctor:D.e,storage:{type:a.c.LocalStorage,persistProps:["bannerShown"]}}),this.bindListeners(),this.initializeServices()}},{key:"regions",value:function(){return{selectedBanner:{replaceElement:!0,el:".selected-banner-region"},search:{replaceElement:!0,el:".search-region",partialLoading:f.j.PublisherArchiveSearchBar},banner:{replaceElement:!0,el:".banner-region"},leftNav:{replaceElement:!0,el:".left-nav-region",partialLoading:f.j.PublisherArchiveLeftNav},header:{replaceElement:!0,el:".header-region",partialLoading:f.j.PublisherArchiveSectionHeader},videoList:{replaceElement:!0,el:".video-list-region",partialLoading:f.j.PublisherArchiveVideoList},footer:{replaceElement:!0,el:".footer-region",partialLoading:f.j.PublisherArchiveStatusBar}}}},{key:"initializeServices",value:function(){this.folderCacheService=y.a.getInstance(C.x.FolderCache,this),this.selectedVideoService=y.a.getInstance(C.x.SelectedVideo,this),this.migrationVideoDataService=y.a.getInstance(C.g.MigrationVideo,this),this.alertService=y.a.getInstance(C.x.Alerts)}},{key:"bindListeners",value:function(){this.listenTo(C.e.MIGRATION,C.i.MigrationWizard.SELECTED_CHANGED,this.setSelectedVideos),this.listenTo(C.e.MIGRATION,"manual:review:video:count:sync",this.render),this.listenTo(C.e.MIGRATION,"".concat(C.f.CUSTOMER_VIDEO,":count:sync"),this.render),this.listenTo(C.e.MIGRATION,"".concat(C.f.CUSTOMER_METADATA,":sync"),this.render),this.listenTo(C.b.MIGRATION_WIZARD,C.i.MigrationWizard.CLOSE_BANNER,this.closeSelectionBanner),this.listenTo(this.channelName,"add:selected",this.addSelected),this.listenTo(this.channelName,"remove:selected",this.removeSelected),this.listenTo(this.viewModel,"change:selectedVideoCount",this.renderStatusBar)}},{key:"fetchVideos",value:function(){var e=this;!this.videos&&this.options.folderChord&&this.migrationVideoDataService.getCustomerVideos(this.options.folderChord,(function(t){e.videos||(e.videos=p.a.toggleMigrated(t,!0),e.setSelectedVideos(),e.isRendering||e.render())}))}},{key:"fetchFolders",value:function(){var e=this;this.folders||this.migrationVideoDataService.getCustomerFolders((function(t){if(!e.folders){if(e.folders=t,e.options.folderChord){var n=e.folderCacheService.getFolderByChord(e.options.folderChord,t);j.f.setSelected(W.a.MIGRATION_WIZARD,n,e.folders),e.selectedFolder=j.f.getSelected(W.a.MIGRATION_WIZARD,t)}else{var r=e.folders.first();if(r)return void i.a.AppLinkHelper.trigger({application:C.b.MIGRATION_WIZARD,action:C.a.MigrationWizard.HOME,params:{folder:r.get("chord")}},{replace:!0})}e.isRendering||e.render()}}))}},{key:"setFolderText",value:function(e,t){var n=this,i=e.get("chord"),r=e.get("name"),o=this.folderCacheService.getFolderCache(),a=this.options.folderChord;if(a){var s,l=L.getSelectedInFolder(t,r);if(i===a){var c=this.migrationVideoDataService.getCustomerVideos(i);if(!this.selectedFolder)return;c&&(o[a]=c.length),s=o[a]}o[i]&&(s=o[i]),l&&s?e.set("text","".concat(r," (").concat(l,"/").concat(s,")")):e.set("text",r),e.children.forEach((function(e){return n.setFolderText(e,t)}))}else e.set("text",r)}},{key:"closeSelectionBanner",value:function(){var e=this.getRegion("selectedBanner");e&&(this.viewModel.set("bannerShown",!1),e.destroy())}},{key:"setSelectedVideos",value:function(){var e=this,t=this.selectedVideoService.getSelectedVideoIds();this.videos&&this.videos.forEach((function(n){return p.a.setChecked(n,t,e.isInitialMigration())})),t&&this.viewModel.set("selectedVideoCount",t.length)}},{key:"addSelected",value:function(e,t){this.selectedVideoService.addSelectedVideos(e,t)}},{key:"removeSelected",value:function(e,t){this.selectedVideoService.removeSelectedVideos(e,t)}},{key:"isInitialMigration",value:function(){return P.a.isInitialMigration(this.customerMetadata)}},{key:"onClickBack",value:function(){var e=this;new j.d({title:r.a.getPhrase(this.lang,"backHeading"),text:r.a.getPhrase(this.lang,"backBody"),buttons:[{text:r.a.getPhrase(this.lang,"discard"),className:"btn btn-danger",success:!0},{text:r.a.getPhrase(this.lang,"cancel"),className:"btn btn-secondary",close:!0}]}).render().done((function(){e.selectedVideoService.removeAllSelectedVideos(),e.viewModel.set("alertShown",!1),i.a.AppLinkHelper.trigger({application:C.b.MIGRATION_WIZARD,action:C.a.MigrationWizard.START_MIGRATION})}))}},{key:"centerSelectedItem",value:function(){var e=this.$el.find(".".concat(l.a.leftNav)),t=e.find(".".concat(u.a.selected));if(t.length&&!(t.offset().top-e.offset().top+t.height()<e.height())){var n=e.scrollTop()+(t.offset().top-e.offset().top),i=.5*e.height()+.5*t.height();e.scrollTop(n-i)}}},{key:"renderEmptyMessage",value:function(){this.showChildView("videoList",new G.b({text:"No folder selected"}))}},{key:"renderSelectedBanner",value:function(){if(this.isInitialMigration()&&!this.viewModel.get("alertShown")){this.viewModel.set("alertShown",!0);var e={heading:r.a.getPhrase(this.lang,"smartSelected"),message:r.a.getPhrase(this.lang,"last3Years"),type:o.a.Success};this.alertService.createAlert(e)}}},{key:"renderLeftNav",value:function(){var e=this,t=new g.a({styles:u.a,appLink:{action:C.a.MigrationWizard.HOME,application:C.b.MIGRATION_WIZARD},linkParams:function(e){return{folder:e.get("chord")}},collection:this.folders,channelName:"".concat(this.cid),childrenProperty:"children",textProperty:"name",extraClass:"p-0",folderTreeId:W.a.MIGRATION_WIZARD});this.showChildView("leftNav",t),window.requestAnimationFrame((function(){window.requestAnimationFrame((function(){e.centerSelectedItem()}))}))}},{key:"renderSearchBar",value:function(){this.showChildView("search",new G.h({selected:this.errorCount.get("count")?"publisher-archive":"none"}))}},{key:"renderStatusBar",value:function(){var e=this;if(this.videoCount){var t={application:C.b.MIGRATION_WIZARD,action:C.a.MigrationWizard.SELECTED,args:[this.options.folderChord]},n=this.videoCount.get("successCount"),i=this.selectedVideoService.getNumberSelected(),o=new G.k({nextAppLink:t,showSelected:!0,nextDisabled:0===i,showBackButton:this.isInitialMigration(),text:this.isInitialMigration()?r.a.getPhrase(this.lang,"next"):r.a.getPhrase(this.lang,"addToLibrary"),numberSelected:i,numberAvailable:n,onClickBack:function(){return e.onClickBack()}});this.showChildView("footer",o)}}},{key:"renderVideoList",value:function(){var e=this.options,t=e.folderChord,n=e.searchTerm;if(this.videos||!t&&!n)if(this.selectedFolder){this.showChildView("videoList",new G.l({model:this.selectedFolder,initialMigration:this.isInitialMigration(),folderChord:t,searchTerm:n,collection:this.videos,channelName:this.channelName,supportSiteUrl:this.config.get("supportSiteUrl")}));var i=n||t;j.a.GetViewModel(i,F.a.MIGRATION_VIDEO_LIST).trigger("change")}else this.renderEmptyMessage();else this.renderPartialLoading("videoList")}},{key:"renderCurrentSection",value:function(){this.showChildView("header",new _({searchTerm:this.options.searchTerm,initialMigration:this.isInitialMigration()}))}},{key:"renderBanner",value:function(){this.isInitialMigration()&&this.showChildView("banner",new G.a({config:this.config}))}},{key:"onBeforeRender",value:function(){this.isRendering=!0,this.fetchVideos(),this.fetchFolders(),this.customerMetadata=this.migrationVideoDataService.getCustomerMetadata(),this.errorCount=this.migrationVideoDataService.getManualReviewVideoCount(),this.videoCount=this.migrationVideoDataService.getCustomerVideoCountCached();var e=!!(this.customerMetadata&&this.folders&&this.videoCount&&this.errorCount);return e||(this.isRendering=!1),e}},{key:"viewOptions",value:function(){return{styles:l.a}}},{key:"onRender",value:function(){if(this.renderSelectedBanner(),this.renderLeftNav(),this.renderSearchBar(),this.renderStatusBar(),this.renderBanner(),!this.videos)return this.renderPartialLoading("header"),this.renderPartialLoading("videoList"),void(this.isRendering=!1);this.options.folderChord||this.options.searchTerm?(this.renderVideoList(),this.renderCurrentSection()):this.renderEmptyMessage(),this.isRendering=!1}},{key:"name",get:function(){return"SmartMigrationView"}},{key:"title",get:function(){return r.a.getPhrase(this.lang,"title")}},{key:"lang",get:function(){return"migrationWizard.smartMigration"}},{key:"viewModelName",get:function(){return"".concat(this.name,":viewmodel")}},{key:"channelName",get:function(){return"".concat(this.name,":").concat(this.cid)}},{key:"template",get:function(){return h.a}},{key:"className",get:function(){return"row no-gutters w-100 ".concat(l.a.smart)}},{key:"requiredResources",get:function(){return{config:H.b.config}}}])&&Z(t.prototype,n),s&&Z(t,s),d}(i.a.View)}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[42],{1409:function(e,t,n){e.exports={smart:"_1dRs0",leftNav:"_3dpUO"}},1410:function(e,t,n){e.exports={item:"_13Gu_",text:"_2mbEb",folderTree:"_2NhVk",node:"_1dMK1",selected:"_1AACi"}},1411:function(e,t,n){var i=n(10);e.exports=(i.default||i).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){var o;e.propertyIsEnumerable;return'<div class="selected-banner-region"></div>\r\n<div class="search-region"></div>\r\n<div class="banner-region"></div>\r\n<div class="col-4 '+e.escapeExpression(e.lambda(null!=(o=null!=(o=null!=t?t.options:t)?o.styles:o)?o.leftNav:o,t))+'">\r\n <div class="left-nav-region"></div>\r\n</div>\r\n<div class="col">\r\n <div class="header-region"></div>\r\n <div class="video-list-region"></div>\r\n</div>\r\n<div class="footer-region"></div>'},useData:!0})},1412:function(e,t,n){var i=n(10);e.exports=(i.default||i).template({1:function(e,t,n,i,r){e.propertyIsEnumerable;var o,a=e.lambda,s=e.escapeExpression;return' <a class="applink-goback '+s(a(null!=(o=null!=(o=null!=t?t.options:t)?o.styles:o)?o.back:o,t))+'">\r\n <span class="align-middle d-inline-block '+s(a(null!=(o=null!=(o=null!=t?t.options:t)?o.styles:o)?o.backSvgContainer:o,t))+'">'+(null!=(o=a(null!=(o=null!=t?t.options:t)?o.backSvg:o,t))?o:"")+"</span>\r\n </a>\r\n"},3:function(e,t,n,i,r){var o;e.propertyIsEnumerable;return" "+(null!=(o=(n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"resultsFor",{name:"lang",hash:{searchTerm:null!=(o=null!=t?t.options:t)?o.searchTerm:o,smartCount:null!=(o=null!=t?t.options:t)?o.results:o},data:r}))?o:"")+"\r\n"},5:function(e,t,n,i,r){var o;e.propertyIsEnumerable;return" "+e.escapeExpression(e.lambda(null!=(o=null!=t?t.options:t)?o.name:o,t))+"\r\n"},7:function(e,t,n,i,r){e.propertyIsEnumerable;var o,a=e.lambda,s=e.escapeExpression,l=null!=t?t:e.nullContext||{};return'<div class="col-4 text-right py-2 '+s(a(null!=(o=null!=(o=null!=t?t.options:t)?o.styles:o)?o.subheader:o,t))+'">\r\n <div class="cursor-pointer toggle-migrated h-100">\r\n <span class="'+s(a(null!=(o=null!=(o=null!=t?t.options:t)?o.styles:o)?o.svg:o,t))+'">'+(null!=(o=a(null!=(o=null!=t?t.options:t)?o.svg:o,t))?o:"")+"</span>\r\n <span>"+(null!=(o=n.if.call(l,null!=(o=null!=t?t.options:t)?o.hidden:o,{name:"if",hash:{},fn:e.program(8,r,0),inverse:e.program(10,r,0),data:r}))?o:"")+" "+s((n.lang||t&&t.lang||e.hooks.helperMissing).call(l,"migrated",{name:"lang",hash:{},data:r}))+"</span>\r\n </div>\r\n</div>\r\n"},8:function(e,t,n,i,r){e.propertyIsEnumerable;return e.escapeExpression((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"show",{name:"lang",hash:{},data:r}))},10:function(e,t,n,i,r){e.propertyIsEnumerable;return e.escapeExpression((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"hide",{name:"lang",hash:{},data:r}))},compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){e.propertyIsEnumerable;var o,a=null!=t?t:e.nullContext||{};return'<div class="col-8">\r\n'+(null!=(o=n.if.call(a,null!=(o=null!=t?t.options:t)?o.goBack:o,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r}))?o:"")+' <h4 class="'+e.escapeExpression(e.lambda(null!=(o=null!=(o=null!=t?t.options:t)?o.styles:o)?o.header:o,t))+' py-2">\r\n'+(null!=(o=n.if.call(a,null!=(o=null!=t?t.options:t)?o.searchTerm:o,{name:"if",hash:{},fn:e.program(3,r,0),inverse:e.program(5,r,0),data:r}))?o:"")+" </h4>\r\n</div>\r\n\r\n"+(null!=(o=n.if.call(a,null!=(o=null!=t?t.options:t)?o.showMigrationToggle:o,{name:"if",hash:{},fn:e.program(7,r,0),inverse:e.noop,data:r}))?o:"")},useData:!0})},1472:function(e,t,n){"use strict";n.r(t);var i=n(2),r=n(3),o=n(52),a=n(103),s=n(1409),l=n.n(s),c=n(1410),u=n.n(c),d=n(1411),h=n.n(d),f=n(8),g=n(1062),p=n(1123),v=n(1),m=n(6),y=n(5),b=n(15),S=n(305),w=n(1412),k=n.n(w),M=n(47),I=n(147),C=n(0);function T(e){return(T="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})(e)}function O(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function R(e,t){return(R=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function A(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,i=V(e);if(t){var r=V(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return E(this,n)}}function E(e,t){return!t||"object"!==T(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function V(e){return(V=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var _=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}}),t&&R(e,t)}(o,e);var t,n,i,r=A(o);function o(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o),r.call(this,e)}return t=o,(n=[{key:"initialize",value:function(){this.localOptionsService=y.a.getInstance(C.x.LocalOptions,this),this.migrationVideoDataService=y.a.getInstance(C.g.MigrationVideo,this);var e=this.localOptionsService.getOption(M.b.MigratedHidden);v.isUndefined(e)?(this.setMigrationHiddenOption(!1),this.migratedHidden=!1):this.migratedHidden=e}},{key:"events",value:function(){return{"click @ui.toggleMigrated":"toggleMigrated"}}},{key:"viewOptions",value:function(){return{styles:S,name:this.options.searchTerm||this.model&&this.model.get("name"),hidden:this.migratedHidden,svg:b.a.getSvg(this.migratedHidden?b.b.VisibleOn:b.b.VisibleOff),goBack:this.options.searchTerm,showMigrationToggle:!this.options.initialMigration,backSvg:b.a.getSvg("arrow-left",{prefix:"fas"}),searchTerm:this.options.searchTerm,results:10}}},{key:"onBeforeRender",value:function(){var e=this;return!(!this.model&&!this.options.searchTerm&&(this.migrationVideoDataService.getSelected((function(t){t&&(e.model=t,e.triggerToggle(),e.render())})),!this.model))}},{key:"toggleMigrated",value:function(){this.migratedHidden=!this.migratedHidden,this.setMigrationHiddenOption(this.migratedHidden),this.triggerToggle(),this.render()}},{key:"triggerToggle",value:function(){m.Radio.channel(I.b.MIGRATION).trigger(C.i.MigrationWizard.TOGGLE_MIGRATED,this.migratedHidden)}},{key:"setMigrationHiddenOption",value:function(e){this.localOptionsService.setOption(M.b.MigratedHidden,e)}},{key:"name",get:function(){return"CurrentSectionHeaderView"}},{key:"title",get:function(){return!1}},{key:"lang",get:function(){return"migrationWizard.currentSectionHeader"}},{key:"className",get:function(){return"row px-2 ".concat(S.currentHeader)}},{key:"template",get:function(){return k.a}},{key:"elements",get:function(){return{toggleMigrated:".toggle-migrated"}}},{key:"appLinks",get:function(){return{".applink-goback":{application:I.a.MIGRATION_WIZARD,action:this.options.initialMigration?C.a.MigrationWizard.SMART:C.a.MigrationWizard.HOME}}}}])&&O(t.prototype,n),i&&O(t,i),o}(i.a.View);function x(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return N(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return N(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,r=function(){};return{s:r,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function N(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}var L={getSelectedInFolder:function(e,t){var n,i=x(p.a.getSelectedVideosCollection(e).toArray());try{for(i.s();!(n=i.n()).done;){var r=n.value;if(r.get("category")===t)return r.get("count")}}catch(e){i.e(e)}finally{i.f()}return 0},findFolder:function(e,t){var n;if(e)return e.forEach((function(e){if(e.get("categoryGuid")===t)n=e;else{var i=L.findFolder(e.get("children"),t);i&&(n=i)}})),n}},P=n(57),D=n(88),B=n(30),H=n(187),G=n(1115),j=n(13),W=n(90),F=n(186);function z(e){return(z="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})(e)}function Z(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function U(e,t){return(U=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function q(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,i=$(e);if(t){var r=$(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return J(this,n)}}function J(e,t){return!t||"object"!==z(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function $(e){return($=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n.d(t,"SmartMigrationView",(function(){return K}));var K=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}}),t&&U(e,t)}(d,e);var t,n,s,c=q(d);function d(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,d),c.call(this,e)}return t=d,(n=[{key:"initialize",value:function(){this.viewModel=B.a.get(this.viewModelName,{bannerShown:!0},{ctor:D.e,storage:{type:a.c.LocalStorage,persistProps:["bannerShown"]}}),this.bindListeners(),this.initializeServices()}},{key:"regions",value:function(){return{selectedBanner:{replaceElement:!0,el:".selected-banner-region"},search:{replaceElement:!0,el:".search-region",partialLoading:f.j.PublisherArchiveSearchBar},banner:{replaceElement:!0,el:".banner-region"},leftNav:{replaceElement:!0,el:".left-nav-region",partialLoading:f.j.PublisherArchiveLeftNav},header:{replaceElement:!0,el:".header-region",partialLoading:f.j.PublisherArchiveSectionHeader},videoList:{replaceElement:!0,el:".video-list-region",partialLoading:f.j.PublisherArchiveVideoList},footer:{replaceElement:!0,el:".footer-region",partialLoading:f.j.PublisherArchiveStatusBar}}}},{key:"initializeServices",value:function(){this.folderCacheService=y.a.getInstance(C.x.FolderCache,this),this.selectedVideoService=y.a.getInstance(C.x.SelectedVideo,this),this.migrationVideoDataService=y.a.getInstance(C.g.MigrationVideo,this),this.alertService=y.a.getInstance(C.x.Alerts)}},{key:"bindListeners",value:function(){this.listenTo(C.e.MIGRATION,C.i.MigrationWizard.SELECTED_CHANGED,this.setSelectedVideos),this.listenTo(C.e.MIGRATION,"manual:review:video:count:sync",this.render),this.listenTo(C.e.MIGRATION,"".concat(C.f.CUSTOMER_VIDEO,":count:sync"),this.render),this.listenTo(C.e.MIGRATION,"".concat(C.f.CUSTOMER_METADATA,":sync"),this.render),this.listenTo(C.b.MIGRATION_WIZARD,C.i.MigrationWizard.CLOSE_BANNER,this.closeSelectionBanner),this.listenTo(this.channelName,"add:selected",this.addSelected),this.listenTo(this.channelName,"remove:selected",this.removeSelected),this.listenTo(this.viewModel,"change:selectedVideoCount",this.renderStatusBar)}},{key:"fetchVideos",value:function(){var e=this;!this.videos&&this.options.folderChord&&this.migrationVideoDataService.getCustomerVideos(this.options.folderChord,(function(t){e.videos||(e.videos=p.a.toggleMigrated(t,!0),e.setSelectedVideos(),e.isRendering||e.render())}))}},{key:"fetchFolders",value:function(){var e=this;this.folders||this.migrationVideoDataService.getCustomerFolders((function(t){if(!e.folders){if(e.folders=t,e.options.folderChord){var n=e.folderCacheService.getFolderByChord(e.options.folderChord,t);j.f.setSelected(W.a.MIGRATION_WIZARD,n,e.folders),e.selectedFolder=j.f.getSelected(W.a.MIGRATION_WIZARD,t)}else{var r=e.folders.first();if(r)return void i.a.AppLinkHelper.trigger({application:C.b.MIGRATION_WIZARD,action:C.a.MigrationWizard.HOME,params:{folder:r.get("chord")}},{replace:!0})}e.isRendering||e.render()}}))}},{key:"setFolderText",value:function(e,t){var n=this,i=e.get("chord"),r=e.get("name"),o=this.folderCacheService.getFolderCache(),a=this.options.folderChord;if(a){var s,l=L.getSelectedInFolder(t,r);if(i===a){var c=this.migrationVideoDataService.getCustomerVideos(i);if(!this.selectedFolder)return;c&&(o[a]=c.length),s=o[a]}o[i]&&(s=o[i]),l&&s?e.set("text","".concat(r," (").concat(l,"/").concat(s,")")):e.set("text",r),e.children.forEach((function(e){return n.setFolderText(e,t)}))}else e.set("text",r)}},{key:"closeSelectionBanner",value:function(){var e=this.getRegion("selectedBanner");e&&(this.viewModel.set("bannerShown",!1),e.destroy())}},{key:"setSelectedVideos",value:function(){var e=this,t=this.selectedVideoService.getSelectedVideoIds();this.videos&&this.videos.forEach((function(n){return p.a.setChecked(n,t,e.isInitialMigration())})),t&&this.viewModel.set("selectedVideoCount",t.length)}},{key:"addSelected",value:function(e,t){this.selectedVideoService.addSelectedVideos(e,t)}},{key:"removeSelected",value:function(e,t){this.selectedVideoService.removeSelectedVideos(e,t)}},{key:"isInitialMigration",value:function(){return P.a.isInitialMigration(this.customerMetadata)}},{key:"onClickBack",value:function(){var e=this;new j.d({title:r.a.getPhrase(this.lang,"backHeading"),text:r.a.getPhrase(this.lang,"backBody"),buttons:[{text:r.a.getPhrase(this.lang,"discard"),className:"btn btn-danger",success:!0},{text:r.a.getPhrase(this.lang,"cancel"),className:"btn btn-secondary",close:!0}]}).render().done((function(){e.selectedVideoService.removeAllSelectedVideos(),e.viewModel.set("alertShown",!1),i.a.AppLinkHelper.trigger({application:C.b.MIGRATION_WIZARD,action:C.a.MigrationWizard.START_MIGRATION})}))}},{key:"centerSelectedItem",value:function(){var e=this.$el.find(".".concat(l.a.leftNav)),t=e.find(".".concat(u.a.selected));if(t.length&&!(t.offset().top-e.offset().top+t.height()<e.height())){var n=e.scrollTop()+(t.offset().top-e.offset().top),i=.5*e.height()+.5*t.height();e.scrollTop(n-i)}}},{key:"renderEmptyMessage",value:function(){this.showChildView("videoList",new G.b({text:"No folder selected"}))}},{key:"renderSelectedBanner",value:function(){if(this.isInitialMigration()&&!this.viewModel.get("alertShown")){this.viewModel.set("alertShown",!0);var e={heading:r.a.getPhrase(this.lang,"smartSelected"),message:r.a.getPhrase(this.lang,"last3Years"),type:o.a.Success};this.alertService.createAlert(e)}}},{key:"renderLeftNav",value:function(){var e=this,t=new g.a({styles:u.a,appLink:{action:C.a.MigrationWizard.HOME,application:C.b.MIGRATION_WIZARD},linkParams:function(e){return{folder:e.get("chord")}},collection:this.folders,channelName:"".concat(this.cid),childrenProperty:"children",textProperty:"name",extraClass:"p-0",folderTreeId:W.a.MIGRATION_WIZARD});this.showChildView("leftNav",t),window.requestAnimationFrame((function(){window.requestAnimationFrame((function(){e.centerSelectedItem()}))}))}},{key:"renderSearchBar",value:function(){this.showChildView("search",new G.h({selected:this.errorCount.get("count")?"publisher-archive":"none"}))}},{key:"renderStatusBar",value:function(){var e=this;if(this.videoCount){var t={application:C.b.MIGRATION_WIZARD,action:C.a.MigrationWizard.SELECTED,args:[this.options.folderChord]},n=this.videoCount.get("successCount"),i=this.selectedVideoService.getNumberSelected(),o=new G.k({nextAppLink:t,showSelected:!0,nextDisabled:0===i,showBackButton:this.isInitialMigration(),text:this.isInitialMigration()?r.a.getPhrase(this.lang,"next"):r.a.getPhrase(this.lang,"addToLibrary"),numberSelected:i,numberAvailable:n,onClickBack:function(){return e.onClickBack()}});this.showChildView("footer",o)}}},{key:"renderVideoList",value:function(){var e=this.options,t=e.folderChord,n=e.searchTerm;if(this.videos||!t&&!n)if(this.selectedFolder){this.showChildView("videoList",new G.l({model:this.selectedFolder,initialMigration:this.isInitialMigration(),folderChord:t,searchTerm:n,collection:this.videos,channelName:this.channelName,supportSiteUrl:this.config.get("supportSiteUrl")}));var i=n||t;j.a.GetViewModel(i,F.a.MIGRATION_VIDEO_LIST).trigger("change")}else this.renderEmptyMessage();else this.renderPartialLoading("videoList")}},{key:"renderCurrentSection",value:function(){this.showChildView("header",new _({searchTerm:this.options.searchTerm,initialMigration:this.isInitialMigration()}))}},{key:"renderBanner",value:function(){this.isInitialMigration()&&this.showChildView("banner",new G.a({config:this.config}))}},{key:"onBeforeRender",value:function(){this.isRendering=!0,this.fetchVideos(),this.fetchFolders(),this.customerMetadata=this.migrationVideoDataService.getCustomerMetadata(),this.errorCount=this.migrationVideoDataService.getManualReviewVideoCount(),this.videoCount=this.migrationVideoDataService.getCustomerVideoCountCached();var e=!!(this.customerMetadata&&this.folders&&this.videoCount&&this.errorCount);return e||(this.isRendering=!1),e}},{key:"viewOptions",value:function(){return{styles:l.a}}},{key:"onRender",value:function(){if(this.renderSelectedBanner(),this.renderLeftNav(),this.renderSearchBar(),this.renderStatusBar(),this.renderBanner(),!this.videos)return this.renderPartialLoading("header"),this.renderPartialLoading("videoList"),void(this.isRendering=!1);this.options.folderChord||this.options.searchTerm?(this.renderVideoList(),this.renderCurrentSection()):this.renderEmptyMessage(),this.isRendering=!1}},{key:"name",get:function(){return"SmartMigrationView"}},{key:"title",get:function(){return r.a.getPhrase(this.lang,"title")}},{key:"lang",get:function(){return"migrationWizard.smartMigration"}},{key:"viewModelName",get:function(){return"".concat(this.name,":viewmodel")}},{key:"channelName",get:function(){return"".concat(this.name,":").concat(this.cid)}},{key:"template",get:function(){return h.a}},{key:"className",get:function(){return"row no-gutters w-100 ".concat(l.a.smart)}},{key:"requiredResources",get:function(){return{config:H.b.config}}}])&&Z(t.prototype,n),s&&Z(t,s),d}(i.a.View)}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[42],{1403:function(e,t,n){e.exports={smart:"_1dRs0",leftNav:"_3dpUO"}},1404:function(e,t,n){e.exports={item:"_13Gu_",text:"_2mbEb",folderTree:"_2NhVk",node:"_1dMK1",selected:"_1AACi"}},1405:function(e,t,n){var i=n(10);e.exports=(i.default||i).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){var o;e.propertyIsEnumerable;return'<div class="selected-banner-region"></div>\r\n<div class="search-region"></div>\r\n<div class="banner-region"></div>\r\n<div class="col-4 '+e.escapeExpression(e.lambda(null!=(o=null!=(o=null!=t?t.options:t)?o.styles:o)?o.leftNav:o,t))+'">\r\n <div class="left-nav-region"></div>\r\n</div>\r\n<div class="col">\r\n <div class="header-region"></div>\r\n <div class="video-list-region"></div>\r\n</div>\r\n<div class="footer-region"></div>'},useData:!0})},1406:function(e,t,n){var i=n(10);e.exports=(i.default||i).template({1:function(e,t,n,i,r){e.propertyIsEnumerable;var o,a=e.lambda,s=e.escapeExpression;return' <a class="applink-goback '+s(a(null!=(o=null!=(o=null!=t?t.options:t)?o.styles:o)?o.back:o,t))+'">\r\n <span class="align-middle d-inline-block '+s(a(null!=(o=null!=(o=null!=t?t.options:t)?o.styles:o)?o.backSvgContainer:o,t))+'">'+(null!=(o=a(null!=(o=null!=t?t.options:t)?o.backSvg:o,t))?o:"")+"</span>\r\n </a>\r\n"},3:function(e,t,n,i,r){var o;e.propertyIsEnumerable;return" "+(null!=(o=(n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"resultsFor",{name:"lang",hash:{searchTerm:null!=(o=null!=t?t.options:t)?o.searchTerm:o,smartCount:null!=(o=null!=t?t.options:t)?o.results:o},data:r}))?o:"")+"\r\n"},5:function(e,t,n,i,r){var o;e.propertyIsEnumerable;return" "+e.escapeExpression(e.lambda(null!=(o=null!=t?t.options:t)?o.name:o,t))+"\r\n"},7:function(e,t,n,i,r){e.propertyIsEnumerable;var o,a=e.lambda,s=e.escapeExpression,l=null!=t?t:e.nullContext||{};return'<div class="col-4 text-right py-2 '+s(a(null!=(o=null!=(o=null!=t?t.options:t)?o.styles:o)?o.subheader:o,t))+'">\r\n <div class="cursor-pointer toggle-migrated h-100">\r\n <span class="'+s(a(null!=(o=null!=(o=null!=t?t.options:t)?o.styles:o)?o.svg:o,t))+'">'+(null!=(o=a(null!=(o=null!=t?t.options:t)?o.svg:o,t))?o:"")+"</span>\r\n <span>"+(null!=(o=n.if.call(l,null!=(o=null!=t?t.options:t)?o.hidden:o,{name:"if",hash:{},fn:e.program(8,r,0),inverse:e.program(10,r,0),data:r}))?o:"")+" "+s((n.lang||t&&t.lang||e.hooks.helperMissing).call(l,"migrated",{name:"lang",hash:{},data:r}))+"</span>\r\n </div>\r\n</div>\r\n"},8:function(e,t,n,i,r){e.propertyIsEnumerable;return e.escapeExpression((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"show",{name:"lang",hash:{},data:r}))},10:function(e,t,n,i,r){e.propertyIsEnumerable;return e.escapeExpression((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"hide",{name:"lang",hash:{},data:r}))},compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){e.propertyIsEnumerable;var o,a=null!=t?t:e.nullContext||{};return'<div class="col-8">\r\n'+(null!=(o=n.if.call(a,null!=(o=null!=t?t.options:t)?o.goBack:o,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r}))?o:"")+' <h4 class="'+e.escapeExpression(e.lambda(null!=(o=null!=(o=null!=t?t.options:t)?o.styles:o)?o.header:o,t))+' py-2">\r\n'+(null!=(o=n.if.call(a,null!=(o=null!=t?t.options:t)?o.searchTerm:o,{name:"if",hash:{},fn:e.program(3,r,0),inverse:e.program(5,r,0),data:r}))?o:"")+" </h4>\r\n</div>\r\n\r\n"+(null!=(o=n.if.call(a,null!=(o=null!=t?t.options:t)?o.showMigrationToggle:o,{name:"if",hash:{},fn:e.program(7,r,0),inverse:e.noop,data:r}))?o:"")},useData:!0})},1466:function(e,t,n){"use strict";n.r(t);var i=n(2),r=n(3),o=n(52),a=n(103),s=n(1403),l=n.n(s),c=n(1404),u=n.n(c),d=n(1405),h=n.n(d),f=n(8),g=n(1058),p=n(1119),v=n(1),m=n(6),y=n(5),b=n(15),S=n(305),w=n(1406),k=n.n(w),M=n(47),I=n(147),C=n(0);function T(e){return(T="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})(e)}function O(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function R(e,t){return(R=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function A(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,i=V(e);if(t){var r=V(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return E(this,n)}}function E(e,t){return!t||"object"!==T(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function V(e){return(V=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var _=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}}),t&&R(e,t)}(o,e);var t,n,i,r=A(o);function o(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o),r.call(this,e)}return t=o,(n=[{key:"initialize",value:function(){this.localOptionsService=y.a.getInstance(C.x.LocalOptions,this),this.migrationVideoDataService=y.a.getInstance(C.g.MigrationVideo,this);var e=this.localOptionsService.getOption(M.b.MigratedHidden);v.isUndefined(e)?(this.setMigrationHiddenOption(!1),this.migratedHidden=!1):this.migratedHidden=e}},{key:"events",value:function(){return{"click @ui.toggleMigrated":"toggleMigrated"}}},{key:"viewOptions",value:function(){return{styles:S,name:this.options.searchTerm||this.model&&this.model.get("name"),hidden:this.migratedHidden,svg:b.a.getSvg(this.migratedHidden?b.b.VisibleOn:b.b.VisibleOff),goBack:this.options.searchTerm,showMigrationToggle:!this.options.initialMigration,backSvg:b.a.getSvg("arrow-left",{prefix:"fas"}),searchTerm:this.options.searchTerm,results:10}}},{key:"onBeforeRender",value:function(){var e=this;return!(!this.model&&!this.options.searchTerm&&(this.migrationVideoDataService.getSelected((function(t){t&&(e.model=t,e.triggerToggle(),e.render())})),!this.model))}},{key:"toggleMigrated",value:function(){this.migratedHidden=!this.migratedHidden,this.setMigrationHiddenOption(this.migratedHidden),this.triggerToggle(),this.render()}},{key:"triggerToggle",value:function(){m.Radio.channel(I.b.MIGRATION).trigger(C.i.MigrationWizard.TOGGLE_MIGRATED,this.migratedHidden)}},{key:"setMigrationHiddenOption",value:function(e){this.localOptionsService.setOption(M.b.MigratedHidden,e)}},{key:"name",get:function(){return"CurrentSectionHeaderView"}},{key:"title",get:function(){return!1}},{key:"lang",get:function(){return"migrationWizard.currentSectionHeader"}},{key:"className",get:function(){return"row px-2 ".concat(S.currentHeader)}},{key:"template",get:function(){return k.a}},{key:"elements",get:function(){return{toggleMigrated:".toggle-migrated"}}},{key:"appLinks",get:function(){return{".applink-goback":{application:I.a.MIGRATION_WIZARD,action:this.options.initialMigration?C.a.MigrationWizard.SMART:C.a.MigrationWizard.HOME}}}}])&&O(t.prototype,n),i&&O(t,i),o}(i.a.View);function x(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return N(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return N(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,r=function(){};return{s:r,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function N(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}var L={getSelectedInFolder:function(e,t){var n,i=x(p.a.getSelectedVideosCollection(e).toArray());try{for(i.s();!(n=i.n()).done;){var r=n.value;if(r.get("category")===t)return r.get("count")}}catch(e){i.e(e)}finally{i.f()}return 0},findFolder:function(e,t){var n;if(e)return e.forEach((function(e){if(e.get("categoryGuid")===t)n=e;else{var i=L.findFolder(e.get("children"),t);i&&(n=i)}})),n}},P=n(57),D=n(88),B=n(30),H=n(187),G=n(1111),j=n(13),W=n(90),F=n(186);function z(e){return(z="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})(e)}function Z(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function U(e,t){return(U=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function q(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,i=$(e);if(t){var r=$(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return J(this,n)}}function J(e,t){return!t||"object"!==z(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function $(e){return($=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n.d(t,"SmartMigrationView",(function(){return K}));var K=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}}),t&&U(e,t)}(d,e);var t,n,s,c=q(d);function d(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,d),c.call(this,e)}return t=d,(n=[{key:"initialize",value:function(){this.viewModel=B.a.get(this.viewModelName,{bannerShown:!0},{ctor:D.e,storage:{type:a.c.LocalStorage,persistProps:["bannerShown"]}}),this.bindListeners(),this.initializeServices()}},{key:"regions",value:function(){return{selectedBanner:{replaceElement:!0,el:".selected-banner-region"},search:{replaceElement:!0,el:".search-region",partialLoading:f.j.PublisherArchiveSearchBar},banner:{replaceElement:!0,el:".banner-region"},leftNav:{replaceElement:!0,el:".left-nav-region",partialLoading:f.j.PublisherArchiveLeftNav},header:{replaceElement:!0,el:".header-region",partialLoading:f.j.PublisherArchiveSectionHeader},videoList:{replaceElement:!0,el:".video-list-region",partialLoading:f.j.PublisherArchiveVideoList},footer:{replaceElement:!0,el:".footer-region",partialLoading:f.j.PublisherArchiveStatusBar}}}},{key:"initializeServices",value:function(){this.folderCacheService=y.a.getInstance(C.x.FolderCache,this),this.selectedVideoService=y.a.getInstance(C.x.SelectedVideo,this),this.migrationVideoDataService=y.a.getInstance(C.g.MigrationVideo,this),this.alertService=y.a.getInstance(C.x.Alerts)}},{key:"bindListeners",value:function(){this.listenTo(C.e.MIGRATION,C.i.MigrationWizard.SELECTED_CHANGED,this.setSelectedVideos),this.listenTo(C.e.MIGRATION,"manual:review:video:count:sync",this.render),this.listenTo(C.e.MIGRATION,"".concat(C.f.CUSTOMER_VIDEO,":count:sync"),this.render),this.listenTo(C.e.MIGRATION,"".concat(C.f.CUSTOMER_METADATA,":sync"),this.render),this.listenTo(C.b.MIGRATION_WIZARD,C.i.MigrationWizard.CLOSE_BANNER,this.closeSelectionBanner),this.listenTo(this.channelName,"add:selected",this.addSelected),this.listenTo(this.channelName,"remove:selected",this.removeSelected),this.listenTo(this.viewModel,"change:selectedVideoCount",this.renderStatusBar)}},{key:"fetchVideos",value:function(){var e=this;!this.videos&&this.options.folderChord&&this.migrationVideoDataService.getCustomerVideos(this.options.folderChord,(function(t){e.videos||(e.videos=p.a.toggleMigrated(t,!0),e.setSelectedVideos(),e.isRendering||e.render())}))}},{key:"fetchFolders",value:function(){var e=this;this.folders||this.migrationVideoDataService.getCustomerFolders((function(t){if(!e.folders){if(e.folders=t,e.options.folderChord){var n=e.folderCacheService.getFolderByChord(e.options.folderChord,t);j.f.setSelected(W.a.MIGRATION_WIZARD,n,e.folders),e.selectedFolder=j.f.getSelected(W.a.MIGRATION_WIZARD,t)}else{var r=e.folders.first();if(r)return void i.a.AppLinkHelper.trigger({application:C.b.MIGRATION_WIZARD,action:C.a.MigrationWizard.HOME,params:{folder:r.get("chord")}},{replace:!0})}e.isRendering||e.render()}}))}},{key:"setFolderText",value:function(e,t){var n=this,i=e.get("chord"),r=e.get("name"),o=this.folderCacheService.getFolderCache(),a=this.options.folderChord;if(a){var s,l=L.getSelectedInFolder(t,r);if(i===a){var c=this.migrationVideoDataService.getCustomerVideos(i);if(!this.selectedFolder)return;c&&(o[a]=c.length),s=o[a]}o[i]&&(s=o[i]),l&&s?e.set("text","".concat(r," (").concat(l,"/").concat(s,")")):e.set("text",r),e.children.forEach((function(e){return n.setFolderText(e,t)}))}else e.set("text",r)}},{key:"closeSelectionBanner",value:function(){var e=this.getRegion("selectedBanner");e&&(this.viewModel.set("bannerShown",!1),e.destroy())}},{key:"setSelectedVideos",value:function(){var e=this,t=this.selectedVideoService.getSelectedVideoIds();this.videos&&this.videos.forEach((function(n){return p.a.setChecked(n,t,e.isInitialMigration())})),t&&this.viewModel.set("selectedVideoCount",t.length)}},{key:"addSelected",value:function(e,t){this.selectedVideoService.addSelectedVideos(e,t)}},{key:"removeSelected",value:function(e,t){this.selectedVideoService.removeSelectedVideos(e,t)}},{key:"isInitialMigration",value:function(){return P.a.isInitialMigration(this.customerMetadata)}},{key:"onClickBack",value:function(){var e=this;new j.d({title:r.a.getPhrase(this.lang,"backHeading"),text:r.a.getPhrase(this.lang,"backBody"),buttons:[{text:r.a.getPhrase(this.lang,"discard"),className:"btn btn-danger",success:!0},{text:r.a.getPhrase(this.lang,"cancel"),className:"btn btn-secondary",close:!0}]}).render().done((function(){e.selectedVideoService.removeAllSelectedVideos(),e.viewModel.set("alertShown",!1),i.a.AppLinkHelper.trigger({application:C.b.MIGRATION_WIZARD,action:C.a.MigrationWizard.START_MIGRATION})}))}},{key:"centerSelectedItem",value:function(){var e=this.$el.find(".".concat(l.a.leftNav)),t=e.find(".".concat(u.a.selected));if(t.length&&!(t.offset().top-e.offset().top+t.height()<e.height())){var n=e.scrollTop()+(t.offset().top-e.offset().top),i=.5*e.height()+.5*t.height();e.scrollTop(n-i)}}},{key:"renderEmptyMessage",value:function(){this.showChildView("videoList",new G.b({text:"No folder selected"}))}},{key:"renderSelectedBanner",value:function(){if(this.isInitialMigration()&&!this.viewModel.get("alertShown")){this.viewModel.set("alertShown",!0);var e={heading:r.a.getPhrase(this.lang,"smartSelected"),message:r.a.getPhrase(this.lang,"last3Years"),type:o.a.Success};this.alertService.createAlert(e)}}},{key:"renderLeftNav",value:function(){var e=this,t=new g.a({styles:u.a,appLink:{action:C.a.MigrationWizard.HOME,application:C.b.MIGRATION_WIZARD},linkParams:function(e){return{folder:e.get("chord")}},collection:this.folders,channelName:"".concat(this.cid),childrenProperty:"children",textProperty:"name",extraClass:"p-0",folderTreeId:W.a.MIGRATION_WIZARD});this.showChildView("leftNav",t),window.requestAnimationFrame((function(){window.requestAnimationFrame((function(){e.centerSelectedItem()}))}))}},{key:"renderSearchBar",value:function(){this.showChildView("search",new G.h({selected:this.errorCount.get("count")?"publisher-archive":"none"}))}},{key:"renderStatusBar",value:function(){var e=this;if(this.videoCount){var t={application:C.b.MIGRATION_WIZARD,action:C.a.MigrationWizard.SELECTED,args:[this.options.folderChord]},n=this.videoCount.get("successCount"),i=this.selectedVideoService.getNumberSelected(),o=new G.k({nextAppLink:t,showSelected:!0,nextDisabled:0===i,showBackButton:this.isInitialMigration(),text:this.isInitialMigration()?r.a.getPhrase(this.lang,"next"):r.a.getPhrase(this.lang,"addToLibrary"),numberSelected:i,numberAvailable:n,onClickBack:function(){return e.onClickBack()}});this.showChildView("footer",o)}}},{key:"renderVideoList",value:function(){var e=this.options,t=e.folderChord,n=e.searchTerm;if(this.videos||!t&&!n)if(this.selectedFolder){this.showChildView("videoList",new G.l({model:this.selectedFolder,initialMigration:this.isInitialMigration(),folderChord:t,searchTerm:n,collection:this.videos,channelName:this.channelName,supportSiteUrl:this.config.get("supportSiteUrl")}));var i=n||t;j.a.GetViewModel(i,F.a.MIGRATION_VIDEO_LIST).trigger("change")}else this.renderEmptyMessage();else this.renderPartialLoading("videoList")}},{key:"renderCurrentSection",value:function(){this.showChildView("header",new _({searchTerm:this.options.searchTerm,initialMigration:this.isInitialMigration()}))}},{key:"renderBanner",value:function(){this.isInitialMigration()&&this.showChildView("banner",new G.a({config:this.config}))}},{key:"onBeforeRender",value:function(){this.isRendering=!0,this.fetchVideos(),this.fetchFolders(),this.customerMetadata=this.migrationVideoDataService.getCustomerMetadata(),this.errorCount=this.migrationVideoDataService.getManualReviewVideoCount(),this.videoCount=this.migrationVideoDataService.getCustomerVideoCountCached();var e=!!(this.customerMetadata&&this.folders&&this.videoCount&&this.errorCount);return e||(this.isRendering=!1),e}},{key:"viewOptions",value:function(){return{styles:l.a}}},{key:"onRender",value:function(){if(this.renderSelectedBanner(),this.renderLeftNav(),this.renderSearchBar(),this.renderStatusBar(),this.renderBanner(),!this.videos)return this.renderPartialLoading("header"),this.renderPartialLoading("videoList"),void(this.isRendering=!1);this.options.folderChord||this.options.searchTerm?(this.renderVideoList(),this.renderCurrentSection()):this.renderEmptyMessage(),this.isRendering=!1}},{key:"name",get:function(){return"SmartMigrationView"}},{key:"title",get:function(){return r.a.getPhrase(this.lang,"title")}},{key:"lang",get:function(){return"migrationWizard.smartMigration"}},{key:"viewModelName",get:function(){return"".concat(this.name,":viewmodel")}},{key:"channelName",get:function(){return"".concat(this.name,":").concat(this.cid)}},{key:"template",get:function(){return h.a}},{key:"className",get:function(){return"row no-gutters w-100 ".concat(l.a.smart)}},{key:"requiredResources",get:function(){return{config:H.b.config}}}])&&Z(t.prototype,n),s&&Z(t,s),d}(i.a.View)}}]);
|