@clickview/library-editor 1.1.26-dev.0 → 1.1.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/css/1.chunk.css.map +1 -0
- package/dist/css/10.chunk.css.map +1 -0
- package/dist/css/11.chunk.css +137 -0
- package/dist/css/11.chunk.css.map +1 -0
- package/dist/css/12.chunk.css.map +1 -0
- package/dist/css/13.chunk.css.map +1 -0
- package/dist/css/14.chunk.css.map +1 -0
- package/dist/css/16.chunk.css.map +1 -0
- package/dist/css/17.chunk.css.map +1 -0
- package/dist/css/18.chunk.css +20 -0
- package/dist/css/18.chunk.css.map +1 -0
- package/dist/css/2.chunk.css +145 -0
- package/dist/css/2.chunk.css.map +1 -0
- package/dist/css/21.chunk.css.map +1 -0
- package/dist/css/22.chunk.css.map +1 -0
- package/dist/css/23.chunk.css +5 -3
- package/dist/css/23.chunk.css.map +1 -0
- package/dist/css/25.chunk.css +2 -0
- package/dist/css/25.chunk.css.map +1 -0
- package/dist/css/26.chunk.css.map +1 -0
- package/dist/css/28.chunk.css.map +1 -0
- package/dist/css/29.chunk.css.map +1 -0
- package/dist/css/3.chunk.css.map +1 -0
- package/dist/css/30.chunk.css.map +1 -0
- package/dist/css/31.chunk.css.map +1 -0
- package/dist/css/32.chunk.css.map +1 -0
- package/dist/css/33.chunk.css.map +1 -0
- package/dist/css/34.chunk.css +21 -0
- package/dist/css/34.chunk.css.map +1 -0
- package/dist/css/35.chunk.css +20 -0
- package/dist/css/35.chunk.css.map +1 -0
- package/dist/css/36.chunk.css +14 -0
- package/dist/css/36.chunk.css.map +1 -0
- package/dist/css/37.chunk.css.map +1 -0
- package/dist/css/38.chunk.css.map +1 -0
- package/dist/css/40.chunk.css.map +1 -0
- package/dist/css/41.chunk.css.map +1 -0
- package/dist/css/42.chunk.css.map +1 -0
- package/dist/css/43.chunk.css.map +1 -0
- package/dist/css/44.chunk.css.map +1 -0
- package/dist/css/45.chunk.css.map +1 -0
- package/dist/css/46.chunk.css.map +1 -0
- package/dist/css/47.chunk.css.map +1 -0
- package/dist/css/48.chunk.css.map +1 -0
- package/dist/css/49.chunk.css +35 -0
- package/dist/css/49.chunk.css.map +1 -0
- package/dist/css/50.chunk.css.map +1 -0
- package/dist/css/51.chunk.css.map +1 -0
- package/dist/css/52.chunk.css +66 -0
- package/dist/css/52.chunk.css.map +1 -0
- package/dist/css/55.chunk.css.map +1 -0
- package/dist/css/56.chunk.css.map +1 -0
- package/dist/css/58.chunk.css.map +1 -0
- package/dist/css/59.chunk.css.map +1 -0
- package/dist/css/6.chunk.css.map +1 -0
- package/dist/css/60.chunk.css +18 -0
- package/dist/css/60.chunk.css.map +1 -0
- package/dist/css/62.chunk.css.map +1 -0
- package/dist/css/63.chunk.css +170 -0
- package/dist/css/63.chunk.css.map +1 -0
- package/dist/css/67.chunk.css +78 -0
- package/dist/css/67.chunk.css.map +1 -0
- package/dist/css/68.chunk.css +17 -0
- package/dist/css/68.chunk.css.map +1 -0
- package/dist/css/69.chunk.css +17 -0
- package/dist/css/69.chunk.css.map +1 -0
- package/dist/css/7.chunk.css.map +1 -0
- package/dist/css/70.chunk.css +23 -0
- package/dist/css/70.chunk.css.map +1 -0
- package/dist/css/71.chunk.css +40 -0
- package/dist/css/71.chunk.css.map +1 -0
- package/dist/css/72.chunk.css +16 -0
- package/dist/css/72.chunk.css.map +1 -0
- package/dist/css/73.chunk.css +37 -0
- package/dist/css/73.chunk.css.map +1 -0
- package/dist/css/74.chunk.css +29 -0
- package/dist/css/74.chunk.css.map +1 -0
- package/dist/css/75.chunk.css +6 -0
- package/dist/css/75.chunk.css.map +1 -0
- package/dist/css/76.chunk.css +6 -0
- package/dist/css/76.chunk.css.map +1 -0
- package/dist/css/8.chunk.css.map +1 -0
- package/dist/css/library-editor-app.css +2 -2
- package/dist/css/library-editor-app.css.map +1 -0
- package/dist/en.json +1 -1
- package/dist/libs/analytics/src/clients/CollectionApiClient.d.ts +3 -1
- 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 +1 -4
- 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 +1 -0
- 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 +1 -2
- 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/ScrollService.d.ts +19 -0
- 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 +0 -1
- package/dist/libs/shared/src/enums/WidgetContents.d.ts +1 -2
- package/dist/libs/shared/src/images/svg/ImportedSvgs.d.ts +1 -3
- package/dist/libs/shared/src/images/svg/actions/index.d.ts +1 -3
- package/dist/libs/shared/src/interfaces/collections/index.d.ts +0 -1
- package/dist/libs/shared/src/interfaces/models/Config.d.ts +0 -1
- package/dist/libs/shared/src/interfaces/models/Link.d.ts +0 -1
- package/dist/libs/shared/src/interfaces/models/Resource.d.ts +1 -9
- package/dist/libs/shared/src/interfaces/models/Thumbnail.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/models/index.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/requests/UpdateVideoRequest.d.ts +1 -5
- package/dist/libs/shared/src/interfaces/requests/index.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/services/BaseUserDataService.d.ts +0 -2
- package/dist/libs/shared/src/interfaces/services/index.d.ts +0 -1
- package/dist/libs/shared/src/legacy/components/thumbnail/ThumbnailComponent.d.ts +1 -1
- package/dist/libs/shared/src/utils/ImageHelper.d.ts +3 -3
- package/dist/libs/shared/src/utils/MaskHelper.d.ts +1 -1
- package/dist/libs/shared/src/utils/SvgHelper.d.ts +1 -0
- package/dist/projects/library-editor/src/app.d.ts +5 -20
- 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-select/FileSelectComponent.d.ts +30 -0
- package/dist/projects/library-editor/src/apps/library-editor/components/file-uploads/FileUploadComponent.d.ts +15 -0
- 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 +2 -1
- package/dist/projects/library-editor/src/apps/library-editor/components/video-resources/ResourceItemComponent.d.ts +22 -0
- package/dist/projects/library-editor/src/apps/library-editor/components/video-resources/VideoResourcesComponent.d.ts +1 -3
- package/dist/projects/library-editor/src/apps/library-editor/components/video-subtitles/SubtitleItemComponent.d.ts +18 -0
- package/dist/projects/library-editor/src/apps/library-editor/components/video-subtitles/VideoSubtitlesComponent.d.ts +1 -4
- package/dist/projects/library-editor/src/apps/library-editor/enums/ObjectOwnerType.d.ts +4 -0
- package/dist/projects/library-editor/src/apps/library-editor/enums/index.d.ts +1 -0
- package/dist/projects/library-editor/src/apps/library-editor/errors/index.d.ts +2 -0
- package/dist/projects/library-editor/src/apps/library-editor/errors/too-many-resources/TooManyResourcesError.d.ts +8 -0
- package/dist/projects/library-editor/src/apps/library-editor/errors/too-many-subtitles/TooManySubtitlesError.d.ts +8 -0
- 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/file-drop/FileDropBehavior.d.ts +19 -0
- package/dist/projects/library-editor/src/shared/behaviors/file-drop/FileDropHelper.d.ts +4 -0
- package/dist/projects/library-editor/src/shared/behaviors/file-drop/FileDropMaskBehavior.d.ts +19 -0
- package/dist/projects/library-editor/src/shared/behaviors/file-select/FileSelectBehavior.d.ts +16 -0
- package/dist/projects/library-editor/src/shared/behaviors/index.d.ts +3 -0
- 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/MasterObjectTypes.d.ts +8 -0
- package/dist/projects/library-editor/src/shared/enums/UploadInteractionType.d.ts +4 -0
- package/dist/projects/library-editor/src/shared/enums/index.d.ts +2 -0
- package/dist/projects/library-editor/src/shared/errors/index.d.ts +1 -0
- package/dist/projects/library-editor/src/shared/errors/too-many-files/TooManyFilesError.d.ts +7 -0
- package/dist/projects/library-editor/src/shared/layouts/manage-layout/ManageLayoutView.d.ts +0 -2
- package/dist/projects/library-editor/src/shared/utils/PermissionsHelper.d.ts +1 -1
- package/dist/projects/library-editor/src/shared/utils/RatingHelper.d.ts +2 -1
- 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 +1 -0
- 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-65b134af4f.chunk.js → 0-1c2bb7e28a.chunk.js} +1 -1
- package/dist/scripts/0-1dbc79e4e7.chunk.js +1 -0
- package/dist/scripts/0-8b75adf540.chunk.js +1 -0
- package/dist/scripts/0-93276429bf.chunk.js +1 -0
- package/dist/scripts/0.chunk.js +1039 -0
- package/dist/scripts/0.chunk.js.map +1 -0
- package/dist/scripts/1-22a3bd404f.chunk.js +1 -0
- package/dist/scripts/1-480e5932a6.chunk.js +1 -0
- package/dist/scripts/1-6051b28de6.chunk.js +1 -0
- package/dist/scripts/1-b85c11fc30.chunk.js +1 -0
- package/dist/scripts/1.chunk.js +442 -0
- package/dist/scripts/1.chunk.js.map +1 -0
- package/dist/scripts/{10-75e622dc44.chunk.js → 10-31317a2d02.chunk.js} +1 -1
- package/dist/scripts/10-3ff370d548.chunk.js +1 -0
- package/dist/scripts/10-923c4b075a.chunk.js +1 -0
- package/dist/scripts/10-e2fea45a6c.chunk.js +1 -0
- package/dist/scripts/10.chunk.js +820 -0
- package/dist/scripts/10.chunk.js.map +1 -0
- package/dist/scripts/{11-9f5f0c25dc.chunk.js → 11-039959db6c.chunk.js} +1 -1
- package/dist/scripts/11-3dec7d2c7e.chunk.js +11 -0
- package/dist/scripts/11-74bc3f2d9f.chunk.js +11 -0
- package/dist/scripts/11.chunk.js +4091 -0
- package/dist/scripts/11.chunk.js.map +1 -0
- package/dist/scripts/{12-e5d7fe24d9.chunk.js → 12-07999b80e0.chunk.js} +1 -1
- package/dist/scripts/12-24bd360be0.chunk.js +1 -0
- package/dist/scripts/12-6ecdd79b85.chunk.js +1 -0
- package/dist/scripts/12-e522e64a94.chunk.js +1 -0
- package/dist/scripts/12.chunk.js +555 -0
- package/dist/scripts/12.chunk.js.map +1 -0
- package/dist/scripts/13-081c0e5887.chunk.js +1 -0
- package/dist/scripts/13-282f8add17.chunk.js +1 -0
- package/dist/scripts/13-54fe4fe53b.chunk.js +1 -0
- package/dist/scripts/13-958a8fd026.chunk.js +1 -0
- package/dist/scripts/13.chunk.js +380 -0
- package/dist/scripts/13.chunk.js.map +1 -0
- package/dist/scripts/14-16f84b2721.chunk.js +1 -0
- package/dist/scripts/14-45cd4dc6ef.chunk.js +1 -0
- package/dist/scripts/14-5e443cb402.chunk.js +1 -0
- package/dist/scripts/14-68c85d6674.chunk.js +1 -0
- package/dist/scripts/14.chunk.js +2386 -0
- package/dist/scripts/14.chunk.js.map +1 -0
- package/dist/scripts/15-12fa4c3471.chunk.js +1 -0
- package/dist/scripts/15-1f779dd0d3.chunk.js +1 -0
- package/dist/scripts/15-5544e6bde6.chunk.js +1 -0
- package/dist/scripts/15-8c96c3288e.chunk.js +1 -0
- package/dist/scripts/15.chunk.js +314 -0
- package/dist/scripts/15.chunk.js.map +1 -0
- package/dist/scripts/{16-0ebecead61.chunk.js → 16-427a8933c8.chunk.js} +1 -1
- package/dist/scripts/16-670c43d26f.chunk.js +1 -0
- package/dist/scripts/16-742a776f88.chunk.js +1 -0
- package/dist/scripts/16-7bcffb06e7.chunk.js +1 -0
- package/dist/scripts/16.chunk.js +1290 -0
- package/dist/scripts/16.chunk.js.map +1 -0
- package/dist/scripts/{17-9a2f82453a.chunk.js → 17-140fec014b.chunk.js} +1 -1
- package/dist/scripts/17-7093f50dff.chunk.js +1 -0
- package/dist/scripts/17-b5e44e8b17.chunk.js +1 -0
- package/dist/scripts/17-f6b0159da3.chunk.js +1 -0
- package/dist/scripts/17.chunk.js +381 -0
- package/dist/scripts/17.chunk.js.map +1 -0
- package/dist/scripts/18.chunk.js +393 -0
- package/dist/scripts/18.chunk.js.map +1 -0
- package/dist/scripts/19.chunk.js +364 -0
- package/dist/scripts/19.chunk.js.map +1 -0
- package/dist/scripts/{2-cd7f1d10b5.chunk.js → 2-0c5fba8b60.chunk.js} +1 -1
- package/dist/scripts/2-5fd33f5359.chunk.js +1 -0
- package/dist/scripts/2-7cc9176e8a.chunk.js +1 -0
- package/dist/scripts/2.chunk.js +523 -0
- package/dist/scripts/2.chunk.js.map +1 -0
- package/dist/scripts/{20-8cabdf4ccb.chunk.js → 20-4d88ede0e0.chunk.js} +1 -1
- package/dist/scripts/20-732a7a549d.chunk.js +1 -0
- package/dist/scripts/20-a84733c89f.chunk.js +1 -0
- package/dist/scripts/20-df9f6f7661.chunk.js +1 -0
- package/dist/scripts/20.chunk.js +317 -0
- package/dist/scripts/20.chunk.js.map +1 -0
- package/dist/scripts/{21-9dfc314143.chunk.js → 21-0b84d33cef.chunk.js} +1 -1
- package/dist/scripts/21-9b28a13702.chunk.js +1 -0
- package/dist/scripts/21-c9983ca8ad.chunk.js +1 -0
- package/dist/scripts/21-ee85b6d208.chunk.js +1 -0
- package/dist/scripts/21.chunk.js +531 -0
- package/dist/scripts/21.chunk.js.map +1 -0
- package/dist/scripts/{22-ea1736d37f.chunk.js → 22-082c94a39c.chunk.js} +1 -1
- package/dist/scripts/22-151cf38018.chunk.js +1 -0
- package/dist/scripts/22-3b2207c8f6.chunk.js +1 -0
- package/dist/scripts/22-6e6ed9f607.chunk.js +1 -0
- package/dist/scripts/22.chunk.js +354 -0
- package/dist/scripts/22.chunk.js.map +1 -0
- package/dist/scripts/23-1af21bf234.chunk.js +1 -0
- package/dist/scripts/23-2b00ff99bf.chunk.js +1 -0
- package/dist/scripts/23-94f9fe4222.chunk.js +1 -0
- package/dist/scripts/23-ab8f73ee87.chunk.js +1 -0
- package/dist/scripts/23.chunk.js +604 -0
- package/dist/scripts/23.chunk.js.map +1 -0
- package/dist/scripts/{24-d6b7d3f374.chunk.js → 24-74ab289589.chunk.js} +1 -1
- package/dist/scripts/24-7aa9b43511.chunk.js +1 -0
- package/dist/scripts/24-c94049500e.chunk.js +1 -0
- package/dist/scripts/24-d1ffdd4755.chunk.js +1 -0
- package/dist/scripts/24.chunk.js +318 -0
- package/dist/scripts/24.chunk.js.map +1 -0
- package/dist/scripts/25-34c0406f50.chunk.js +1 -0
- package/dist/scripts/25-5a38ce3533.chunk.js +1 -0
- package/dist/scripts/25-76d9011eea.chunk.js +1 -0
- package/dist/scripts/25-866cfc0ef5.chunk.js +1 -0
- package/dist/scripts/25.chunk.js +365 -0
- package/dist/scripts/25.chunk.js.map +1 -0
- package/dist/scripts/{26-b3a2e6bca1.chunk.js → 26-d166e3c313.chunk.js} +1 -1
- package/dist/scripts/26-d19e3f755c.chunk.js +1 -0
- package/dist/scripts/26-e53ba8e00f.chunk.js +1 -0
- package/dist/scripts/26-ea028a6276.chunk.js +1 -0
- package/dist/scripts/26.chunk.js +442 -0
- package/dist/scripts/26.chunk.js.map +1 -0
- package/dist/scripts/27-2109d41afa.chunk.js +1 -0
- package/dist/scripts/27-3aa629dd67.chunk.js +1 -0
- package/dist/scripts/27-c1241fcd84.chunk.js +1 -0
- package/dist/scripts/27-ee88c84482.chunk.js +1 -0
- package/dist/scripts/27.chunk.js +3630 -0
- package/dist/scripts/27.chunk.js.map +1 -0
- package/dist/scripts/28-5c540e74cc.chunk.js +1 -0
- package/dist/scripts/{28-cef433c779.chunk.js → 28-738b88c816.chunk.js} +1 -1
- package/dist/scripts/28-76b9766891.chunk.js +1 -0
- package/dist/scripts/28-e490147f6b.chunk.js +1 -0
- package/dist/scripts/28.chunk.js +3172 -0
- package/dist/scripts/28.chunk.js.map +1 -0
- package/dist/scripts/29-2da59b1589.chunk.js +1 -0
- package/dist/scripts/29-3faa153e38.chunk.js +1 -0
- package/dist/scripts/29-69389908f8.chunk.js +1 -0
- package/dist/scripts/29-bb7e39304b.chunk.js +1 -0
- package/dist/scripts/29.chunk.js +3090 -0
- package/dist/scripts/29.chunk.js.map +1 -0
- package/dist/scripts/{3-02a37512e4.chunk.js → 3-42e8af9f39.chunk.js} +1 -1
- package/dist/scripts/3-6e67dd4b74.chunk.js +1 -0
- package/dist/scripts/3-81b501ac1e.chunk.js +1 -0
- package/dist/scripts/3-c69e4454ce.chunk.js +1 -0
- package/dist/scripts/3.chunk.js +845 -0
- package/dist/scripts/3.chunk.js.map +1 -0
- package/dist/scripts/{30-cc04703754.chunk.js → 30-109f8ddd5c.chunk.js} +1 -1
- package/dist/scripts/30-9d32d88d76.chunk.js +1 -0
- package/dist/scripts/30-a1df3e37da.chunk.js +1 -0
- package/dist/scripts/30-fa390c35f6.chunk.js +1 -0
- package/dist/scripts/30.chunk.js +1851 -0
- package/dist/scripts/30.chunk.js.map +1 -0
- package/dist/scripts/{31-92c7d2494b.chunk.js → 31-639090fee3.chunk.js} +1 -1
- package/dist/scripts/31-ce31250e42.chunk.js +1 -0
- package/dist/scripts/31-f15802825c.chunk.js +1 -0
- package/dist/scripts/31-fc63c4629d.chunk.js +1 -0
- package/dist/scripts/31.chunk.js +958 -0
- package/dist/scripts/31.chunk.js.map +1 -0
- package/dist/scripts/32-1ad8193581.chunk.js +1 -0
- package/dist/scripts/32-3de9c7454b.chunk.js +1 -0
- package/dist/scripts/32-4173874dbe.chunk.js +1 -0
- package/dist/scripts/32-9bca57f408.chunk.js +1 -0
- package/dist/scripts/32.chunk.js +1235 -0
- package/dist/scripts/32.chunk.js.map +1 -0
- package/dist/scripts/33-20ac0ab4a1.chunk.js +1 -0
- package/dist/scripts/33-350334db4c.chunk.js +1 -0
- package/dist/scripts/33-675467f07d.chunk.js +1 -0
- package/dist/scripts/33-7efae85b8b.chunk.js +1 -0
- package/dist/scripts/33.chunk.js +958 -0
- package/dist/scripts/33.chunk.js.map +1 -0
- package/dist/scripts/34-0a7f3b55fe.chunk.js +1 -0
- package/dist/scripts/34-3adf309726.chunk.js +1 -0
- package/dist/scripts/34-c4f0495750.chunk.js +1 -0
- package/dist/scripts/34-f6eea83a09.chunk.js +1 -0
- package/dist/scripts/34.chunk.js +990 -0
- package/dist/scripts/34.chunk.js.map +1 -0
- package/dist/scripts/35-17b30890a5.chunk.js +1 -0
- package/dist/scripts/35-4254e160f0.chunk.js +1 -0
- package/dist/scripts/35-7f90628b77.chunk.js +1 -0
- package/dist/scripts/35-9c3899dfbd.chunk.js +1 -0
- package/dist/scripts/35.chunk.js +518 -0
- package/dist/scripts/35.chunk.js.map +1 -0
- package/dist/scripts/36-1fde696d6a.chunk.js +1 -0
- package/dist/scripts/36-2ec95df618.chunk.js +1 -0
- package/dist/scripts/36-b5ad543fba.chunk.js +1 -0
- package/dist/scripts/36-cdbe95bd06.chunk.js +1 -0
- package/dist/scripts/36.chunk.js +335 -0
- package/dist/scripts/36.chunk.js.map +1 -0
- package/dist/scripts/{37-3b6bf13818.chunk.js → 37-3f3a603b60.chunk.js} +1 -1
- package/dist/scripts/37-6fa4b8fc60.chunk.js +1 -0
- package/dist/scripts/37-97b84a8be5.chunk.js +1 -0
- package/dist/scripts/37-c649a307d4.chunk.js +1 -0
- package/dist/scripts/37.chunk.js +236 -0
- package/dist/scripts/37.chunk.js.map +1 -0
- package/dist/scripts/38-0cf8029bec.chunk.js +1 -0
- package/dist/scripts/38-1c98f19489.chunk.js +1 -0
- package/dist/scripts/38-6fc346f964.chunk.js +1 -0
- package/dist/scripts/38-7ffe535b0d.chunk.js +1 -0
- package/dist/scripts/38.chunk.js +315 -0
- package/dist/scripts/38.chunk.js.map +1 -0
- package/dist/scripts/39-13d6669c3f.chunk.js +1 -0
- package/dist/scripts/39-71c4bb46b2.chunk.js +1 -0
- package/dist/scripts/{39-01d58327ca.chunk.js → 39-748eb61732.chunk.js} +1 -1
- package/dist/scripts/39-e5983a5d53.chunk.js +1 -0
- package/dist/scripts/39.chunk.js +107 -0
- package/dist/scripts/39.chunk.js.map +1 -0
- package/dist/scripts/4-435484d217.chunk.js +1 -0
- package/dist/scripts/4-5c50e71b83.chunk.js +1 -0
- package/dist/scripts/4-7274621693.chunk.js +1 -0
- package/dist/scripts/4-85ba8523ad.chunk.js +1 -0
- package/dist/scripts/4.chunk.js +335 -0
- package/dist/scripts/4.chunk.js.map +1 -0
- package/dist/scripts/{40-60f5d582c8.chunk.js → 40-2691dfbd5a.chunk.js} +1 -1
- package/dist/scripts/40-2ecbd41570.chunk.js +1 -0
- package/dist/scripts/40-a691a401ff.chunk.js +1 -0
- package/dist/scripts/40-f1d72b1049.chunk.js +1 -0
- package/dist/scripts/40.chunk.js +2493 -0
- package/dist/scripts/40.chunk.js.map +1 -0
- package/dist/scripts/41-0368ba16dc.chunk.js +1 -0
- package/dist/scripts/41-1df587ee3a.chunk.js +1 -0
- package/dist/scripts/41-85fcb15184.chunk.js +1 -0
- package/dist/scripts/41-bb9aef24f7.chunk.js +1 -0
- package/dist/scripts/41.chunk.js +1782 -0
- package/dist/scripts/41.chunk.js.map +1 -0
- package/dist/scripts/{42-390bbda5c5.chunk.js → 42-3480033857.chunk.js} +1 -1
- package/dist/scripts/42-389acb6e55.chunk.js +1 -0
- package/dist/scripts/42-3ef41f40f5.chunk.js +1 -0
- package/dist/scripts/42-61a626d7f4.chunk.js +1 -0
- package/dist/scripts/42.chunk.js +2327 -0
- package/dist/scripts/42.chunk.js.map +1 -0
- package/dist/scripts/{43-acc9eadde2.chunk.js → 43-2fe5b1c9cc.chunk.js} +1 -1
- package/dist/scripts/43-49f13dab14.chunk.js +1 -0
- package/dist/scripts/43-72d1bc0ae2.chunk.js +1 -0
- package/dist/scripts/43-a5b882d502.chunk.js +1 -0
- package/dist/scripts/43.chunk.js +1206 -0
- package/dist/scripts/43.chunk.js.map +1 -0
- package/dist/scripts/44-0703eb0ad8.chunk.js +1 -0
- package/dist/scripts/44-756fd6622b.chunk.js +1 -0
- package/dist/scripts/44-de22428999.chunk.js +1 -0
- package/dist/scripts/44-ee6a740a16.chunk.js +1 -0
- package/dist/scripts/44.chunk.js +2245 -0
- package/dist/scripts/44.chunk.js.map +1 -0
- package/dist/scripts/45-610d098194.chunk.js +1 -0
- package/dist/scripts/45-806dd5b78c.chunk.js +1 -0
- package/dist/scripts/45-da34a8b6b2.chunk.js +1 -0
- package/dist/scripts/45-e4a92a40fd.chunk.js +1 -0
- package/dist/scripts/45.chunk.js +1065 -0
- package/dist/scripts/45.chunk.js.map +1 -0
- package/dist/scripts/46-4aa05464fe.chunk.js +1 -0
- package/dist/scripts/46-cadf3f46ee.chunk.js +1 -0
- package/dist/scripts/46-cccef3e874.chunk.js +1 -0
- package/dist/scripts/46-ebf8eee4ac.chunk.js +1 -0
- package/dist/scripts/46.chunk.js +655 -0
- package/dist/scripts/46.chunk.js.map +1 -0
- package/dist/scripts/{47-7c5a3685a5.chunk.js → 47-1e3d829757.chunk.js} +1 -1
- package/dist/scripts/47-22a83e5974.chunk.js +1 -0
- package/dist/scripts/47-56d22af6ba.chunk.js +1 -0
- package/dist/scripts/47-c61fa52c53.chunk.js +1 -0
- package/dist/scripts/47.chunk.js +736 -0
- package/dist/scripts/47.chunk.js.map +1 -0
- package/dist/scripts/{48-469dfae9ba.chunk.js → 48-877e9e02b8.chunk.js} +1 -1
- package/dist/scripts/48-e05ab3ecac.chunk.js +1 -0
- package/dist/scripts/48-e577124476.chunk.js +1 -0
- package/dist/scripts/48-fc96b968fc.chunk.js +1 -0
- package/dist/scripts/48.chunk.js +994 -0
- package/dist/scripts/48.chunk.js.map +1 -0
- package/dist/scripts/{49-06756becaf.chunk.js → 49-0f9a6a1782.chunk.js} +1 -1
- package/dist/scripts/49-13c5f8e87d.chunk.js +1 -0
- package/dist/scripts/49-4a6c119f58.chunk.js +1 -0
- package/dist/scripts/49-f9151c7e06.chunk.js +1 -0
- package/dist/scripts/49.chunk.js +761 -0
- package/dist/scripts/49.chunk.js.map +1 -0
- package/dist/scripts/5-06b97501c3.chunk.js +1 -0
- package/dist/scripts/5-1ba89c4774.chunk.js +1 -0
- package/dist/scripts/5-515b264fbc.chunk.js +1 -0
- package/dist/scripts/5-d6a7d71167.chunk.js +1 -0
- package/dist/scripts/5.chunk.js +15 -0
- package/dist/scripts/5.chunk.js.map +1 -0
- package/dist/scripts/{50-49475581af.chunk.js → 50-0741587a02.chunk.js} +1 -1
- package/dist/scripts/50-0d5aed7730.chunk.js +1 -0
- package/dist/scripts/50-3924907655.chunk.js +1 -0
- package/dist/scripts/50-4de0b758d5.chunk.js +1 -0
- package/dist/scripts/50.chunk.js +530 -0
- package/dist/scripts/50.chunk.js.map +1 -0
- package/dist/scripts/{51-4adcf4ff0a.chunk.js → 51-a5f1309ada.chunk.js} +1 -1
- package/dist/scripts/51-cd37c8efa2.chunk.js +1 -0
- package/dist/scripts/51-dca2a9cc86.chunk.js +1 -0
- package/dist/scripts/51-ea33746146.chunk.js +1 -0
- package/dist/scripts/51.chunk.js +932 -0
- package/dist/scripts/51.chunk.js.map +1 -0
- package/dist/scripts/52-50230b48c8.chunk.js +1 -0
- package/dist/scripts/{52-57782063fd.chunk.js → 52-8b53a5c0b1.chunk.js} +1 -1
- package/dist/scripts/52-a3c8ed29ca.chunk.js +1 -0
- package/dist/scripts/52-bc48f1f9e8.chunk.js +1 -0
- package/dist/scripts/52.chunk.js +408 -0
- package/dist/scripts/52.chunk.js.map +1 -0
- package/dist/scripts/53-0e253f9f3e.chunk.js +1 -0
- package/dist/scripts/53-36007500cf.chunk.js +1 -0
- package/dist/scripts/{53-6f14b50628.chunk.js → 53-54b0df474f.chunk.js} +1 -1
- package/dist/scripts/53-d8f0dea552.chunk.js +1 -0
- package/dist/scripts/53.chunk.js +756 -0
- package/dist/scripts/53.chunk.js.map +1 -0
- package/dist/scripts/{54-78c19a2ad8.chunk.js → 54-7cdbdcebf9.chunk.js} +1 -1
- package/dist/scripts/54-d1bc70c7b5.chunk.js +1 -0
- package/dist/scripts/54-dd4d101665.chunk.js +1 -0
- package/dist/scripts/54-ead54d0b34.chunk.js +1 -0
- package/dist/scripts/54.chunk.js +681 -0
- package/dist/scripts/54.chunk.js.map +1 -0
- package/dist/scripts/{55-dceece7f6e.chunk.js → 55-078bb9b0ea.chunk.js} +1 -1
- package/dist/scripts/55-3c60601030.chunk.js +1 -0
- package/dist/scripts/55-a5fa20b497.chunk.js +1 -0
- package/dist/scripts/55-e29d6a6ba9.chunk.js +1 -0
- package/dist/scripts/55.chunk.js +645 -0
- package/dist/scripts/55.chunk.js.map +1 -0
- package/dist/scripts/{56-791cbec86d.chunk.js → 56-36d54fa08f.chunk.js} +1 -1
- package/dist/scripts/56-370078d597.chunk.js +1 -0
- package/dist/scripts/56-7a6c662f14.chunk.js +1 -0
- package/dist/scripts/56-df0a32000b.chunk.js +1 -0
- package/dist/scripts/56.chunk.js +346 -0
- package/dist/scripts/56.chunk.js.map +1 -0
- package/dist/scripts/{57-b80d1bf344.chunk.js → 57-0e126120b9.chunk.js} +1 -1
- package/dist/scripts/57-6e622c6480.chunk.js +1 -0
- package/dist/scripts/57-a4f4d6fe41.chunk.js +1 -0
- package/dist/scripts/57-c1faec8b32.chunk.js +1 -0
- package/dist/scripts/57.chunk.js +422 -0
- package/dist/scripts/57.chunk.js.map +1 -0
- package/dist/scripts/{58-74a2cc409b.chunk.js → 58-17706ccb46.chunk.js} +1 -1
- package/dist/scripts/58-5729cbaa5c.chunk.js +1 -0
- package/dist/scripts/58-a0fe201826.chunk.js +1 -0
- package/dist/scripts/58-e996405f2b.chunk.js +1 -0
- package/dist/scripts/58.chunk.js +437 -0
- package/dist/scripts/58.chunk.js.map +1 -0
- package/dist/scripts/{59-a05072e424.chunk.js → 59-0a7bdc86b0.chunk.js} +1 -1
- package/dist/scripts/59-333f38ee3b.chunk.js +1 -0
- package/dist/scripts/59-381a49ed7f.chunk.js +1 -0
- package/dist/scripts/59-4f2fcb6412.chunk.js +1 -0
- package/dist/scripts/59.chunk.js +342 -0
- package/dist/scripts/59.chunk.js.map +1 -0
- package/dist/scripts/{6-9a7ab29bcf.chunk.js → 6-1045293de4.chunk.js} +1 -1
- package/dist/scripts/6-40c8ba5007.chunk.js +1 -0
- package/dist/scripts/6-51a379e066.chunk.js +1 -0
- package/dist/scripts/6-b3d36065dc.chunk.js +1 -0
- package/dist/scripts/6.chunk.js +484 -0
- package/dist/scripts/6.chunk.js.map +1 -0
- package/dist/scripts/{60-3ea0df7910.chunk.js → 60-0d8896555f.chunk.js} +1 -1
- package/dist/scripts/60-b17c6609cd.chunk.js +1 -0
- package/dist/scripts/60-b4a91c86fa.chunk.js +1 -0
- package/dist/scripts/60-c57f161f18.chunk.js +1 -0
- package/dist/scripts/60.chunk.js +254 -0
- package/dist/scripts/60.chunk.js.map +1 -0
- package/dist/scripts/{61-49a9fb2c98.chunk.js → 61-57fa6b5248.chunk.js} +1 -1
- package/dist/scripts/61-5d6e59d408.chunk.js +1 -0
- package/dist/scripts/61-7d81d27c31.chunk.js +1 -0
- package/dist/scripts/61-a342a0d501.chunk.js +1 -0
- package/dist/scripts/61.chunk.js +408 -0
- package/dist/scripts/61.chunk.js.map +1 -0
- package/dist/scripts/{62-afa39e4cc9.chunk.js → 62-67458b7fb4.chunk.js} +1 -1
- package/dist/scripts/62-758f5e505b.chunk.js +1 -0
- package/dist/scripts/62-b572d8b80d.chunk.js +1 -0
- package/dist/scripts/62-f5fd35fdc0.chunk.js +1 -0
- package/dist/scripts/62.chunk.js +142 -0
- package/dist/scripts/62.chunk.js.map +1 -0
- package/dist/scripts/{63-348b096dca.chunk.js → 63-420b10f5f2.chunk.js} +1 -1
- package/dist/scripts/63-568008965e.chunk.js +1 -0
- package/dist/scripts/63-6700b4d00a.chunk.js +1 -0
- package/dist/scripts/63-c88b9860e9.chunk.js +1 -0
- package/dist/scripts/63.chunk.js +147 -0
- package/dist/scripts/63.chunk.js.map +1 -0
- package/dist/scripts/{64-6f7edb1451.chunk.js → 64-9c88ee6161.chunk.js} +1 -1
- package/dist/scripts/64-e177d4c971.chunk.js +1 -0
- package/dist/scripts/64-e6598113a7.chunk.js +1 -0
- package/dist/scripts/64-fa2facacbb.chunk.js +1 -0
- package/dist/scripts/64.chunk.js +439 -0
- package/dist/scripts/64.chunk.js.map +1 -0
- package/dist/scripts/{65-1a6aecc0e3.chunk.js → 65-93567fe088.chunk.js} +1 -1
- package/dist/scripts/65-a7e499ceee.chunk.js +1 -0
- package/dist/scripts/65-e4568d1f06.chunk.js +1 -0
- package/dist/scripts/65-f750573f69.chunk.js +1 -0
- package/dist/scripts/65.chunk.js +582 -0
- package/dist/scripts/65.chunk.js.map +1 -0
- package/dist/scripts/{66-fe5934023f.chunk.js → 66-c84a3a3c3f.chunk.js} +1 -1
- package/dist/scripts/66-f00f29ccae.chunk.js +1 -0
- package/dist/scripts/66-f325ff3187.chunk.js +1 -0
- package/dist/scripts/66-f6d213b33c.chunk.js +1 -0
- package/dist/scripts/66.chunk.js +442 -0
- package/dist/scripts/66.chunk.js.map +1 -0
- package/dist/scripts/67-1ebaab7a2d.chunk.js +1 -0
- package/dist/scripts/67-3c9628d296.chunk.js +1 -0
- package/dist/scripts/67-97c694c3d5.chunk.js +1 -0
- package/dist/scripts/67-c5af18680c.chunk.js +1 -0
- package/dist/scripts/67.chunk.js +295 -0
- package/dist/scripts/67.chunk.js.map +1 -0
- package/dist/scripts/{68-54be8dbe28.chunk.js → 68-38a6d7fb50.chunk.js} +1 -1
- package/dist/scripts/68-488cd1552f.chunk.js +1 -0
- package/dist/scripts/68-7b1d5e8e75.chunk.js +1 -0
- package/dist/scripts/68-eb8700aeb1.chunk.js +1 -0
- package/dist/scripts/68.chunk.js +165 -0
- package/dist/scripts/68.chunk.js.map +1 -0
- package/dist/scripts/{69-2dbcfa995c.chunk.js → 69-3d2063cd0f.chunk.js} +1 -1
- package/dist/scripts/69-870856c6fb.chunk.js +1 -0
- package/dist/scripts/69-b0ea71d7c5.chunk.js +1 -0
- package/dist/scripts/69-be2be90b7c.chunk.js +1 -0
- package/dist/scripts/69.chunk.js +248 -0
- package/dist/scripts/69.chunk.js.map +1 -0
- package/dist/scripts/{7-e9fd5a70f5.chunk.js → 7-3151397d74.chunk.js} +1 -1
- package/dist/scripts/7-aac8c84ccb.chunk.js +1 -0
- package/dist/scripts/7-d41d3bf60c.chunk.js +1 -0
- package/dist/scripts/7-dfddb8ffa8.chunk.js +1 -0
- package/dist/scripts/7.chunk.js +309 -0
- package/dist/scripts/7.chunk.js.map +1 -0
- package/dist/scripts/{70-145a5802f1.chunk.js → 70-27e9e5792a.chunk.js} +1 -1
- package/dist/scripts/70-39dc936989.chunk.js +1 -0
- package/dist/scripts/70-6ef72cd9b6.chunk.js +1 -0
- package/dist/scripts/70-e6ebb44667.chunk.js +1 -0
- package/dist/scripts/70.chunk.js +207 -0
- package/dist/scripts/70.chunk.js.map +1 -0
- package/dist/scripts/{71-2ea1363d8f.chunk.js → 71-4e4a47d601.chunk.js} +1 -1
- package/dist/scripts/71-8e3682a7d7.chunk.js +1 -0
- package/dist/scripts/71-a80858069c.chunk.js +1 -0
- package/dist/scripts/71-c5923e2d2d.chunk.js +1 -0
- package/dist/scripts/71.chunk.js +237 -0
- package/dist/scripts/71.chunk.js.map +1 -0
- package/dist/scripts/{72-3d94c9900f.chunk.js → 72-0a6c88f9fe.chunk.js} +1 -1
- package/dist/scripts/72-245f28bf97.chunk.js +1 -0
- package/dist/scripts/72-550438db4e.chunk.js +1 -0
- package/dist/scripts/72-65364adff1.chunk.js +1 -0
- package/dist/scripts/72.chunk.js +331 -0
- package/dist/scripts/72.chunk.js.map +1 -0
- package/dist/scripts/73.chunk.js +404 -0
- package/dist/scripts/73.chunk.js.map +1 -0
- package/dist/scripts/74.chunk.js +301 -0
- package/dist/scripts/74.chunk.js.map +1 -0
- package/dist/scripts/75.chunk.js +231 -0
- package/dist/scripts/75.chunk.js.map +1 -0
- package/dist/scripts/76.chunk.js +157 -0
- package/dist/scripts/76.chunk.js.map +1 -0
- package/dist/scripts/77.chunk.js +307 -0
- package/dist/scripts/77.chunk.js.map +1 -0
- package/dist/scripts/78.chunk.js +249 -0
- package/dist/scripts/78.chunk.js.map +1 -0
- package/dist/scripts/79.chunk.js +282 -0
- package/dist/scripts/79.chunk.js.map +1 -0
- package/dist/scripts/{8-3db468b0ad.chunk.js → 8-7278f3247c.chunk.js} +1 -1
- package/dist/scripts/8-c4955c2009.chunk.js +1 -0
- package/dist/scripts/8-d46f48d03c.chunk.js +1 -0
- package/dist/scripts/8-e5d19252c8.chunk.js +1 -0
- package/dist/scripts/8.chunk.js +307 -0
- package/dist/scripts/8.chunk.js.map +1 -0
- package/dist/scripts/80.chunk.js +308 -0
- package/dist/scripts/80.chunk.js.map +1 -0
- package/dist/scripts/81.chunk.js +366 -0
- package/dist/scripts/81.chunk.js.map +1 -0
- package/dist/scripts/82.chunk.js +314 -0
- package/dist/scripts/82.chunk.js.map +1 -0
- package/dist/scripts/83.chunk.js +328 -0
- package/dist/scripts/83.chunk.js.map +1 -0
- package/dist/scripts/84.chunk.js +313 -0
- package/dist/scripts/84.chunk.js.map +1 -0
- package/dist/scripts/85.chunk.js +291 -0
- package/dist/scripts/85.chunk.js.map +1 -0
- package/dist/scripts/86.chunk.js +119 -0
- package/dist/scripts/86.chunk.js.map +1 -0
- package/dist/scripts/87.chunk.js +219 -0
- package/dist/scripts/87.chunk.js.map +1 -0
- package/dist/scripts/88.chunk.js +194 -0
- package/dist/scripts/88.chunk.js.map +1 -0
- package/dist/scripts/89.chunk.js +522 -0
- package/dist/scripts/89.chunk.js.map +1 -0
- package/dist/scripts/9-4589726554.chunk.js +1 -0
- package/dist/scripts/9-576592d419.chunk.js +1 -0
- package/dist/scripts/9-66021549bd.chunk.js +1 -0
- package/dist/scripts/9-df99ba6ce1.chunk.js +1 -0
- package/dist/scripts/9.chunk.js +222 -0
- package/dist/scripts/9.chunk.js.map +1 -0
- package/dist/scripts/90.chunk.js +337 -0
- package/dist/scripts/90.chunk.js.map +1 -0
- package/dist/scripts/91.chunk.js +131 -0
- package/dist/scripts/91.chunk.js.map +1 -0
- package/dist/scripts/92.chunk.js +266 -0
- package/dist/scripts/92.chunk.js.map +1 -0
- package/dist/scripts/bundle-1b984e2fd9.min.js +8 -0
- package/dist/scripts/bundle-203920eb14.min.js +8 -0
- package/dist/scripts/bundle-7d13ba933b.min.js +8 -0
- package/dist/scripts/bundle-d5b23160b1.min.js +8 -0
- package/dist/scripts/bundle.js +67100 -0
- package/dist/scripts/bundle.js.map +1 -0
- package/dist/scripts/bundles.json +2 -2
- package/dist/scripts/polyfills-5a81b67408.min.js +1 -0
- package/dist/scripts/polyfills-9b0be1bd72.min.js +1 -0
- package/dist/scripts/polyfills-cd3d0a9f6d.min.js +1 -0
- package/dist/scripts/polyfills-d891a77823.min.js +1 -0
- package/dist/scripts/polyfills.js +14866 -0
- package/dist/scripts/polyfills.js.map +1 -0
- package/package.json +99 -100
- package/typings/libs/CVEvents.d.ts +1 -1
- package/typings/libs/LazyLoad.ts +1 -2
- package/typings/libs/Trackers.d.ts +1 -1
- package/.eslintrc.json +0 -3
- package/dist/scripts/1-42cd7dafc9.chunk.js +0 -1
- package/dist/scripts/13-2247b585ba.chunk.js +0 -1
- package/dist/scripts/14-76f0d1344e.chunk.js +0 -1
- package/dist/scripts/15-044f3ce266.chunk.js +0 -1
- package/dist/scripts/23-c5137083a9.chunk.js +0 -1
- package/dist/scripts/25-4f3f34d140.chunk.js +0 -1
- package/dist/scripts/27-0dd00d8e76.chunk.js +0 -1
- package/dist/scripts/29-cf9581eef8.chunk.js +0 -1
- package/dist/scripts/32-b8ea5b8dea.chunk.js +0 -1
- package/dist/scripts/33-6da26969d0.chunk.js +0 -1
- package/dist/scripts/34-5469e12196.chunk.js +0 -1
- package/dist/scripts/35-9aae492c3e.chunk.js +0 -1
- package/dist/scripts/36-8849ade3c7.chunk.js +0 -1
- package/dist/scripts/38-f8f1eeba1f.chunk.js +0 -1
- package/dist/scripts/4-eaa7ec4468.chunk.js +0 -1
- package/dist/scripts/41-9d3182f53c.chunk.js +0 -1
- package/dist/scripts/44-8f053335a7.chunk.js +0 -1
- package/dist/scripts/45-a4f9646555.chunk.js +0 -1
- package/dist/scripts/46-6b9fc8453b.chunk.js +0 -1
- package/dist/scripts/5-674db7af1b.chunk.js +0 -1
- package/dist/scripts/67-69b25bd800.chunk.js +0 -1
- package/dist/scripts/9-c8b248951d.chunk.js +0 -1
- package/dist/scripts/bundle-c736d7845b.min.js +0 -8
- package/dist/scripts/polyfills-d24f8f2432.min.js +0 -1
- package/dist/sw.js +0 -3
|
@@ -0,0 +1,408 @@
|
|
|
1
|
+
(window["webpackJsonp_clickview_library_editor"] = window["webpackJsonp_clickview_library_editor"] || []).push([[52],{
|
|
2
|
+
|
|
3
|
+
/***/ "./src/apps/migration-wizard/components/progress-circle/ProgressCircle.hbs":
|
|
4
|
+
/*!*********************************************************************************!*\
|
|
5
|
+
!*** ./src/apps/migration-wizard/components/progress-circle/ProgressCircle.hbs ***!
|
|
6
|
+
\*********************************************************************************/
|
|
7
|
+
/*! no static exports found */
|
|
8
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
9
|
+
|
|
10
|
+
var Handlebars = __webpack_require__(/*! handlebars */ "handlebars");
|
|
11
|
+
module.exports = (Handlebars['default'] || Handlebars).template({"1":function(container,depth0,helpers,partials,data) {
|
|
12
|
+
var stack1, alias1=container.propertyIsEnumerable, alias2=container.lambda, alias3=container.escapeExpression;
|
|
13
|
+
|
|
14
|
+
return " <span class=\""
|
|
15
|
+
+ alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.extraText : stack1), depth0))
|
|
16
|
+
+ "\">"
|
|
17
|
+
+ alias3(alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.text : stack1), depth0))
|
|
18
|
+
+ "</span>\r\n";
|
|
19
|
+
},"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
|
|
20
|
+
var stack1, alias1=container.propertyIsEnumerable, alias2=container.lambda, alias3=container.escapeExpression, alias4=depth0 != null ? depth0 : (container.nullContext || {});
|
|
21
|
+
|
|
22
|
+
return "<div class=\""
|
|
23
|
+
+ alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.circle : stack1), depth0))
|
|
24
|
+
+ " "
|
|
25
|
+
+ alias3(alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1["class"] : stack1), depth0))
|
|
26
|
+
+ "\">\r\n <span>\r\n <span class=\"progress-circle-text\">"
|
|
27
|
+
+ alias3((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(alias4,"progress",{"name":"lang","hash":{"percentage":((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.percentage : stack1)},"data":data}))
|
|
28
|
+
+ "</span>\r\n"
|
|
29
|
+
+ ((stack1 = helpers["if"].call(alias4,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.text : stack1),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
|
|
30
|
+
+ " </span>\r\n\r\n <svg class=\""
|
|
31
|
+
+ alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.progressCircleContainer : stack1), depth0))
|
|
32
|
+
+ "\">\r\n <circle class=\"progress-circle "
|
|
33
|
+
+ alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.progressCircle : stack1), depth0))
|
|
34
|
+
+ "\" transform='rotate(270 160 0)' stroke-width=\"28\" fill=\"transparent\" r=\"150\">\r\n </svg>\r\n</div>";
|
|
35
|
+
},"useData":true});
|
|
36
|
+
|
|
37
|
+
/***/ }),
|
|
38
|
+
|
|
39
|
+
/***/ "./src/apps/migration-wizard/components/progress-circle/ProgressCircleComponent.ts":
|
|
40
|
+
/*!*****************************************************************************************!*\
|
|
41
|
+
!*** ./src/apps/migration-wizard/components/progress-circle/ProgressCircleComponent.ts ***!
|
|
42
|
+
\*****************************************************************************************/
|
|
43
|
+
/*! exports provided: ProgressCircleComponent */
|
|
44
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
45
|
+
|
|
46
|
+
"use strict";
|
|
47
|
+
__webpack_require__.r(__webpack_exports__);
|
|
48
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ProgressCircleComponent", function() { return ProgressCircleComponent; });
|
|
49
|
+
/* harmony import */ var _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone */ "../../libs/common/src/backbone/index.ts");
|
|
50
|
+
/* harmony import */ var _progress_circle_scss__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./progress-circle.scss */ "./src/apps/migration-wizard/components/progress-circle/progress-circle.scss");
|
|
51
|
+
/* harmony import */ var _progress_circle_scss__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_progress_circle_scss__WEBPACK_IMPORTED_MODULE_1__);
|
|
52
|
+
/* harmony import */ var _ProgressCircle_hbs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./ProgressCircle.hbs */ "./src/apps/migration-wizard/components/progress-circle/ProgressCircle.hbs");
|
|
53
|
+
/* harmony import */ var _ProgressCircle_hbs__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_ProgressCircle_hbs__WEBPACK_IMPORTED_MODULE_2__);
|
|
54
|
+
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
55
|
+
|
|
56
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
57
|
+
|
|
58
|
+
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
59
|
+
|
|
60
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
61
|
+
|
|
62
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
63
|
+
|
|
64
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
65
|
+
|
|
66
|
+
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
67
|
+
|
|
68
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
69
|
+
|
|
70
|
+
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
71
|
+
|
|
72
|
+
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
|
|
73
|
+
|
|
74
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
var ProgressCircleComponent = /*#__PURE__*/function (_Core$Component) {
|
|
80
|
+
_inherits(ProgressCircleComponent, _Core$Component);
|
|
81
|
+
|
|
82
|
+
var _super = _createSuper(ProgressCircleComponent);
|
|
83
|
+
|
|
84
|
+
function ProgressCircleComponent(options) {
|
|
85
|
+
_classCallCheck(this, ProgressCircleComponent);
|
|
86
|
+
|
|
87
|
+
return _super.call(this, options);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
_createClass(ProgressCircleComponent, [{
|
|
91
|
+
key: "initialize",
|
|
92
|
+
value: function initialize() {
|
|
93
|
+
this.listenTo(this.model, 'change:percentage', this.update);
|
|
94
|
+
}
|
|
95
|
+
}, {
|
|
96
|
+
key: "viewOptions",
|
|
97
|
+
value: function viewOptions() {
|
|
98
|
+
return {
|
|
99
|
+
styles: _progress_circle_scss__WEBPACK_IMPORTED_MODULE_1___default.a,
|
|
100
|
+
text: this.options.text,
|
|
101
|
+
class: this.options.class,
|
|
102
|
+
percentage: this.options.percentage
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
}, {
|
|
106
|
+
key: "onRender",
|
|
107
|
+
value: function onRender() {
|
|
108
|
+
this.update();
|
|
109
|
+
}
|
|
110
|
+
}, {
|
|
111
|
+
key: "update",
|
|
112
|
+
value: function update() {
|
|
113
|
+
var percentage = this.model.get('percentage') || 0;
|
|
114
|
+
var circle = this.getUI('circle').get(0);
|
|
115
|
+
var radius = circle.r.baseVal.value;
|
|
116
|
+
var circumference = radius * 2 * Math.PI;
|
|
117
|
+
circle.style.strokeDasharray = "".concat(circumference, " ").concat(circumference);
|
|
118
|
+
circle.style.strokeDashoffset = circumference;
|
|
119
|
+
var offset = circumference - percentage / 100 * circumference;
|
|
120
|
+
circle.style.strokeDashoffset = offset;
|
|
121
|
+
var text = this.getUI('text');
|
|
122
|
+
if (text) text.text("".concat(percentage, "%"));
|
|
123
|
+
}
|
|
124
|
+
}, {
|
|
125
|
+
key: "name",
|
|
126
|
+
get: function get() {
|
|
127
|
+
return 'ProgressCircleComponent';
|
|
128
|
+
}
|
|
129
|
+
}, {
|
|
130
|
+
key: "template",
|
|
131
|
+
get: function get() {
|
|
132
|
+
return _ProgressCircle_hbs__WEBPACK_IMPORTED_MODULE_2___default.a;
|
|
133
|
+
}
|
|
134
|
+
}, {
|
|
135
|
+
key: "lang",
|
|
136
|
+
get: function get() {
|
|
137
|
+
return 'migrationWizard.progressCircle';
|
|
138
|
+
}
|
|
139
|
+
}, {
|
|
140
|
+
key: "elements",
|
|
141
|
+
get: function get() {
|
|
142
|
+
return {
|
|
143
|
+
circle: '.progress-circle',
|
|
144
|
+
text: '.progress-circle-text'
|
|
145
|
+
};
|
|
146
|
+
}
|
|
147
|
+
}]);
|
|
148
|
+
|
|
149
|
+
return ProgressCircleComponent;
|
|
150
|
+
}(_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__["Core"].Component);
|
|
151
|
+
|
|
152
|
+
/***/ }),
|
|
153
|
+
|
|
154
|
+
/***/ "./src/apps/migration-wizard/components/progress-circle/progress-circle.scss":
|
|
155
|
+
/*!***********************************************************************************!*\
|
|
156
|
+
!*** ./src/apps/migration-wizard/components/progress-circle/progress-circle.scss ***!
|
|
157
|
+
\***********************************************************************************/
|
|
158
|
+
/*! no static exports found */
|
|
159
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
160
|
+
|
|
161
|
+
// extracted by mini-css-extract-plugin
|
|
162
|
+
module.exports = {"circle":"cv--circle--3iX0l","extraText":"cv--extraText--1nYnx","progressCircleContainer":"cv--progressCircleContainer--2l1Al","progressCircle":"cv--progressCircle--1RbA5"};
|
|
163
|
+
|
|
164
|
+
/***/ }),
|
|
165
|
+
|
|
166
|
+
/***/ "./src/apps/migration-wizard/views/publisher-backup-progress/PublisherBackupProgress.hbs":
|
|
167
|
+
/*!***********************************************************************************************!*\
|
|
168
|
+
!*** ./src/apps/migration-wizard/views/publisher-backup-progress/PublisherBackupProgress.hbs ***!
|
|
169
|
+
\***********************************************************************************************/
|
|
170
|
+
/*! no static exports found */
|
|
171
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
172
|
+
|
|
173
|
+
var Handlebars = __webpack_require__(/*! handlebars */ "handlebars");
|
|
174
|
+
module.exports = (Handlebars['default'] || Handlebars).template({"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
|
|
175
|
+
var stack1, alias1=container.propertyIsEnumerable, alias2=depth0 != null ? depth0 : (container.nullContext || {}), alias3=container.hooks.helperMissing, alias4=container.escapeExpression;
|
|
176
|
+
|
|
177
|
+
return "<h4 class=\"pb-4\">"
|
|
178
|
+
+ alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,"heading",{"name":"lang","hash":{},"data":data}))
|
|
179
|
+
+ "</h4>\r\n<div class=\"progress-circle-region\"></div>\r\n<p class=\""
|
|
180
|
+
+ alias4(container.lambda(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.info : stack1), depth0))
|
|
181
|
+
+ " pt-4\">\r\n "
|
|
182
|
+
+ ((stack1 = (helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,"info",{"name":"lang","hash":{},"data":data})) != null ? stack1 : "")
|
|
183
|
+
+ "\r\n</p>";
|
|
184
|
+
},"useData":true});
|
|
185
|
+
|
|
186
|
+
/***/ }),
|
|
187
|
+
|
|
188
|
+
/***/ "./src/apps/migration-wizard/views/publisher-backup-progress/PublisherBackupProgressView.ts":
|
|
189
|
+
/*!**************************************************************************************************!*\
|
|
190
|
+
!*** ./src/apps/migration-wizard/views/publisher-backup-progress/PublisherBackupProgressView.ts ***!
|
|
191
|
+
\**************************************************************************************************/
|
|
192
|
+
/*! exports provided: PublisherBackupProgressView */
|
|
193
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
194
|
+
|
|
195
|
+
"use strict";
|
|
196
|
+
__webpack_require__.r(__webpack_exports__);
|
|
197
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PublisherBackupProgressView", function() { return PublisherBackupProgressView; });
|
|
198
|
+
/* harmony import */ var _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone */ "../../libs/common/src/backbone/index.ts");
|
|
199
|
+
/* harmony import */ var _libs_common_src_backbone_services_InstanceManager__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone/services/InstanceManager */ "../../libs/common/src/backbone/services/InstanceManager.ts");
|
|
200
|
+
/* harmony import */ var _libs_common_src_backbone_services_ViewModelService__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone/services/ViewModelService */ "../../libs/common/src/backbone/services/ViewModelService.ts");
|
|
201
|
+
/* harmony import */ var _publisher_backup_progress_scss__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./publisher-backup-progress.scss */ "./src/apps/migration-wizard/views/publisher-backup-progress/publisher-backup-progress.scss");
|
|
202
|
+
/* harmony import */ var _publisher_backup_progress_scss__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_publisher_backup_progress_scss__WEBPACK_IMPORTED_MODULE_3__);
|
|
203
|
+
/* harmony import */ var _PublisherBackupProgress_hbs__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./PublisherBackupProgress.hbs */ "./src/apps/migration-wizard/views/publisher-backup-progress/PublisherBackupProgress.hbs");
|
|
204
|
+
/* harmony import */ var _PublisherBackupProgress_hbs__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_PublisherBackupProgress_hbs__WEBPACK_IMPORTED_MODULE_4__);
|
|
205
|
+
/* harmony import */ var _errors__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../errors */ "./src/apps/migration-wizard/errors/index.ts");
|
|
206
|
+
/* harmony import */ var _shared_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../shared/constants */ "./src/shared/constants/index.ts");
|
|
207
|
+
/* harmony import */ var _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone/services/LanguageService */ "../../libs/common/src/backbone/services/LanguageService.tsx");
|
|
208
|
+
/* harmony import */ var _components_progress_circle_ProgressCircleComponent__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../components/progress-circle/ProgressCircleComponent */ "./src/apps/migration-wizard/components/progress-circle/ProgressCircleComponent.ts");
|
|
209
|
+
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
210
|
+
|
|
211
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
212
|
+
|
|
213
|
+
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
214
|
+
|
|
215
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
216
|
+
|
|
217
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
218
|
+
|
|
219
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
220
|
+
|
|
221
|
+
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
222
|
+
|
|
223
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
224
|
+
|
|
225
|
+
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
226
|
+
|
|
227
|
+
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
|
|
228
|
+
|
|
229
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
230
|
+
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
/**
|
|
241
|
+
* Interval in ms to poll
|
|
242
|
+
*/
|
|
243
|
+
|
|
244
|
+
var pollingInterval = 5000;
|
|
245
|
+
var PublisherBackupProgressView = /*#__PURE__*/function (_Core$View) {
|
|
246
|
+
_inherits(PublisherBackupProgressView, _Core$View);
|
|
247
|
+
|
|
248
|
+
var _super = _createSuper(PublisherBackupProgressView);
|
|
249
|
+
|
|
250
|
+
function PublisherBackupProgressView() {
|
|
251
|
+
_classCallCheck(this, PublisherBackupProgressView);
|
|
252
|
+
|
|
253
|
+
return _super.apply(this, arguments);
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
_createClass(PublisherBackupProgressView, [{
|
|
257
|
+
key: "initialize",
|
|
258
|
+
value: function initialize() {
|
|
259
|
+
this.viewModel = _libs_common_src_backbone_services_ViewModelService__WEBPACK_IMPORTED_MODULE_2__["ViewModelService"].get('backup:progress', {
|
|
260
|
+
percentage: 0
|
|
261
|
+
});
|
|
262
|
+
this.migrationVideoDataService = _libs_common_src_backbone_services_InstanceManager__WEBPACK_IMPORTED_MODULE_1__["InstanceManager"].getInstance(_shared_constants__WEBPACK_IMPORTED_MODULE_6__["DataServices"].MigrationVideo, this);
|
|
263
|
+
this.bindMigrationDataListeners();
|
|
264
|
+
}
|
|
265
|
+
}, {
|
|
266
|
+
key: "regions",
|
|
267
|
+
value: function regions() {
|
|
268
|
+
return {
|
|
269
|
+
progressCircle: {
|
|
270
|
+
replaceElement: true,
|
|
271
|
+
el: '.progress-circle-region'
|
|
272
|
+
}
|
|
273
|
+
};
|
|
274
|
+
}
|
|
275
|
+
}, {
|
|
276
|
+
key: "bindMigrationDataListeners",
|
|
277
|
+
value: function bindMigrationDataListeners() {
|
|
278
|
+
this.listenTo(_shared_constants__WEBPACK_IMPORTED_MODULE_6__["DataChannels"].MIGRATION, "".concat(_shared_constants__WEBPACK_IMPORTED_MODULE_6__["DataPrefixes"].CUSTOMER_METADATA, ":sync"), this.render);
|
|
279
|
+
this.listenTo(_shared_constants__WEBPACK_IMPORTED_MODULE_6__["DataChannels"].MIGRATION, "".concat(_shared_constants__WEBPACK_IMPORTED_MODULE_6__["DataPrefixes"].CUSTOMER_VIDEO, ":count:error"), this.onError);
|
|
280
|
+
}
|
|
281
|
+
}, {
|
|
282
|
+
key: "onError",
|
|
283
|
+
value: function onError() {
|
|
284
|
+
_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__["Core"].ErrorHelper.throw(new _errors__WEBPACK_IMPORTED_MODULE_5__["BackupProgressError"]());
|
|
285
|
+
}
|
|
286
|
+
}, {
|
|
287
|
+
key: "poll",
|
|
288
|
+
value: function poll() {
|
|
289
|
+
var _this = this;
|
|
290
|
+
|
|
291
|
+
this.migrationVideoDataService.getCustomerVideoCount(function (videoCount) {
|
|
292
|
+
/**
|
|
293
|
+
* This prevents the polling from returning and redirecting back to this view
|
|
294
|
+
* if the user has already been directed to backup_complete and is trying
|
|
295
|
+
* to progress onto the start view
|
|
296
|
+
*/
|
|
297
|
+
if (_this.isDestroyed()) return;
|
|
298
|
+
_this.videoCount = videoCount;
|
|
299
|
+
|
|
300
|
+
_this.setPercentage();
|
|
301
|
+
|
|
302
|
+
if (_this.viewModel.get('percentage') >= 100) {
|
|
303
|
+
_this.migrationVideoDataService.clearCacheAndGetCustomerMetadata(function () {
|
|
304
|
+
_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__["Core"].AppLinkHelper.trigger({
|
|
305
|
+
application: _shared_constants__WEBPACK_IMPORTED_MODULE_6__["AppChannels"].MIGRATION_WIZARD,
|
|
306
|
+
action: _shared_constants__WEBPACK_IMPORTED_MODULE_6__["Actions"].MigrationWizard.BACKUP_COMPLETE
|
|
307
|
+
});
|
|
308
|
+
});
|
|
309
|
+
|
|
310
|
+
return;
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
setTimeout(function () {
|
|
314
|
+
return _this.poll();
|
|
315
|
+
}, pollingInterval);
|
|
316
|
+
|
|
317
|
+
_this.render();
|
|
318
|
+
});
|
|
319
|
+
}
|
|
320
|
+
}, {
|
|
321
|
+
key: "setPercentage",
|
|
322
|
+
value: function setPercentage() {
|
|
323
|
+
if (!this.videoCount) return;
|
|
324
|
+
var percentage = this.videoCount.get('progressPercentage') * 100;
|
|
325
|
+
if (percentage > 100) percentage = 100;
|
|
326
|
+
this.viewModel.set({
|
|
327
|
+
percentage: Math.round(percentage)
|
|
328
|
+
});
|
|
329
|
+
}
|
|
330
|
+
}, {
|
|
331
|
+
key: "renderProgressCircle",
|
|
332
|
+
value: function renderProgressCircle() {
|
|
333
|
+
this.showChildView('progressCircle', new _components_progress_circle_ProgressCircleComponent__WEBPACK_IMPORTED_MODULE_8__["ProgressCircleComponent"]({
|
|
334
|
+
model: this.viewModel,
|
|
335
|
+
text: _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_7__["LanguageService"].getPhrase(this.lang, 'hasBeenBackedUp'),
|
|
336
|
+
class: _publisher_backup_progress_scss__WEBPACK_IMPORTED_MODULE_3___default.a.progress
|
|
337
|
+
}));
|
|
338
|
+
}
|
|
339
|
+
}, {
|
|
340
|
+
key: "onBeforeRender",
|
|
341
|
+
value: function onBeforeRender() {
|
|
342
|
+
this.customerMetadata = this.migrationVideoDataService.getCustomerMetadata();
|
|
343
|
+
return !!this.customerMetadata;
|
|
344
|
+
}
|
|
345
|
+
}, {
|
|
346
|
+
key: "viewOptions",
|
|
347
|
+
value: function viewOptions() {
|
|
348
|
+
return {
|
|
349
|
+
styles: _publisher_backup_progress_scss__WEBPACK_IMPORTED_MODULE_3___default.a,
|
|
350
|
+
timeRemaining: '30 minutes'
|
|
351
|
+
};
|
|
352
|
+
}
|
|
353
|
+
}, {
|
|
354
|
+
key: "onRender",
|
|
355
|
+
value: function onRender() {
|
|
356
|
+
if (!this.pollingStarted) {
|
|
357
|
+
this.poll();
|
|
358
|
+
this.pollingStarted = true;
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
this.renderProgressCircle();
|
|
362
|
+
}
|
|
363
|
+
}, {
|
|
364
|
+
key: "name",
|
|
365
|
+
get: function get() {
|
|
366
|
+
return 'PublisherBackupProgressView';
|
|
367
|
+
}
|
|
368
|
+
}, {
|
|
369
|
+
key: "title",
|
|
370
|
+
get: function get() {
|
|
371
|
+
return _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_7__["LanguageService"].getPhrase(this.lang, 'title');
|
|
372
|
+
}
|
|
373
|
+
}, {
|
|
374
|
+
key: "lang",
|
|
375
|
+
get: function get() {
|
|
376
|
+
return 'migrationWizard.publisherBackupProgress';
|
|
377
|
+
}
|
|
378
|
+
}, {
|
|
379
|
+
key: "className",
|
|
380
|
+
get: function get() {
|
|
381
|
+
return "container text-center p-5 bg-white ".concat(_publisher_backup_progress_scss__WEBPACK_IMPORTED_MODULE_3___default.a.migrationBackupContainer, " ").concat(_publisher_backup_progress_scss__WEBPACK_IMPORTED_MODULE_3___default.a.backupProgress);
|
|
382
|
+
}
|
|
383
|
+
}, {
|
|
384
|
+
key: "template",
|
|
385
|
+
get: function get() {
|
|
386
|
+
return _PublisherBackupProgress_hbs__WEBPACK_IMPORTED_MODULE_4___default.a;
|
|
387
|
+
}
|
|
388
|
+
}]);
|
|
389
|
+
|
|
390
|
+
return PublisherBackupProgressView;
|
|
391
|
+
}(_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__["Core"].View);
|
|
392
|
+
|
|
393
|
+
/***/ }),
|
|
394
|
+
|
|
395
|
+
/***/ "./src/apps/migration-wizard/views/publisher-backup-progress/publisher-backup-progress.scss":
|
|
396
|
+
/*!**************************************************************************************************!*\
|
|
397
|
+
!*** ./src/apps/migration-wizard/views/publisher-backup-progress/publisher-backup-progress.scss ***!
|
|
398
|
+
\**************************************************************************************************/
|
|
399
|
+
/*! no static exports found */
|
|
400
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
401
|
+
|
|
402
|
+
// extracted by mini-css-extract-plugin
|
|
403
|
+
module.exports = {"backupProgress":"cv--backupProgress--15jUh","info":"cv--info--1NjZL","progress":"cv--progress--fp9FZ","migrationBackupContainer":"cv--migrationBackupContainer--28z_5"};
|
|
404
|
+
|
|
405
|
+
/***/ })
|
|
406
|
+
|
|
407
|
+
}]);
|
|
408
|
+
//# sourceMappingURL=52.chunk.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/migration-wizard/components/progress-circle/ProgressCircle.hbs","file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/migration-wizard/components/progress-circle/ProgressCircleComponent.ts","webpack://@clickview/library-editor/./src/apps/migration-wizard/components/progress-circle/progress-circle.scss?a04f","file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/migration-wizard/views/publisher-backup-progress/PublisherBackupProgress.hbs","file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/migration-wizard/views/publisher-backup-progress/PublisherBackupProgressView.ts","webpack://@clickview/library-editor/./src/apps/migration-wizard/views/publisher-backup-progress/publisher-backup-progress.scss?7931"],"names":[],"mappings":";;;;;;;;;AAAA,iBAAiB,mBAAO,CAAC,8BAAY;AACrC,iEAAiE;AACjE;;AAEA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD,gLAAgL;;AAEhL;AACA;AACA;AACA;AACA;AACA,4GAA4G,sBAAsB,0GAA0G,aAAa;AACzP;AACA,mIAAmI,qBAAqB,yEAAyE;AACjO;AACA;AACA;AACA;AACA;AACA,CAAC,gBAAgB,E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACvBjB;AAEA;AACA;AAQO,IAAM,uBAAb;AAAA;;AAAA;;AAGE,mCAAY,OAAZ,EAAkD;AAAA;;AAAA,6BAC1C,OAD0C;AAEjD;;AALH;AAAA;AAAA,iCAOmB;AACf,WAAK,QAAL,CAAc,KAAK,KAAnB,EAA0B,mBAA1B,EAA+C,KAAK,MAApD;AACD;AATH;AAAA;AAAA,kCA8BoB;AAChB,aAAO;AACL,cAAM,EAAN,4DADK;AAEL,YAAI,EAAE,KAAK,OAAL,CAAa,IAFd;AAGL,aAAK,EAAE,KAAK,OAAL,CAAa,KAHf;AAIL,kBAAU,EAAE,KAAK,OAAL,CAAa;AAJpB,OAAP;AAMD;AArCH;AAAA;AAAA,+BAuCiB;AACb,WAAK,MAAL;AACD;AAzCH;AAAA;AAAA,6BA2Ce;AACX,UAAM,UAAU,GAAG,KAAK,KAAL,CAAW,GAAX,CAAe,YAAf,KAAgC,CAAnD;AACA,UAAM,MAAM,GAAG,KAAK,KAAL,CAAW,QAAX,EAAqB,GAArB,CAAyB,CAAzB,CAAf;AACA,UAAM,MAAM,GAAG,MAAM,CAAC,CAAP,CAAS,OAAT,CAAiB,KAAhC;AACA,UAAM,aAAa,GAAG,MAAM,GAAG,CAAT,GAAa,IAAI,CAAC,EAAxC;AAEA,YAAM,CAAC,KAAP,CAAa,eAAb,aAAkC,aAAlC,cAAmD,aAAnD;AACA,YAAM,CAAC,KAAP,CAAa,gBAAb,GAAgC,aAAhC;AAEA,UAAM,MAAM,GAAG,aAAa,GAAG,UAAU,GAAG,GAAb,GAAmB,aAAlD;AACA,YAAM,CAAC,KAAP,CAAa,gBAAb,GAAgC,MAAhC;AAEA,UAAM,IAAI,GAAG,KAAK,KAAL,CAAW,MAAX,CAAb;AAEA,UAAI,IAAJ,EACE,IAAI,CAAC,IAAL,WAAa,UAAb;AACH;AA3DH;AAAA;AAAA,wBAWiB;AACb,aAAO,yBAAP;AACD;AAbH;AAAA;AAAA,wBAeqB;AACjB,aAAO,0DAAP;AACD;AAjBH;AAAA;AAAA,wBAmBiB;AACb,aAAO,gCAAP;AACD;AArBH;AAAA;AAAA,wBAuBqB;AACjB,aAAO;AACL,cAAM,EAAE,kBADH;AAEL,YAAI,EAAE;AAFD,OAAP;AAID;AA5BH;;AAAA;AAAA,EAA6C,8DAAI,CAAC,SAAlD,E;;;;;;;;;;;ACbA;AACA,kBAAkB,6K;;;;;;;;;;;ACDlB,iBAAiB,mBAAO,CAAC,8BAAY;AACrC,iEAAiE;AACjE,oHAAoH;;AAEpH;AACA,oFAAoF,uBAAuB,aAAa;AACxH;AACA;AACA;AACA,qFAAqF,uBAAuB,aAAa;AACzH;AACA,CAAC,gBAAgB,E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACTjB;AACA;AACA;AAEA;AACA;AACA;AAEA;AAEA;AACA;AAEA;;AAEG;;AACH,IAAM,eAAe,GAAG,IAAxB;AAEO,IAAM,2BAAb;AAAA;;AAAA;;AAAA;AAAA;;AAAA;AAAA;;AAAA;AAAA;AAAA,iCAMmB;AACf,WAAK,SAAL,GAAiB,oGAAgB,CAAC,GAAjB,CAAqB,iBAArB,EAAwC;AAAE,kBAAU,EAAE;AAAd,OAAxC,CAAjB;AAEA,WAAK,yBAAL,GAAiC,kGAAe,CAAC,WAAhB,CAA4B,8DAAY,CAAC,cAAzC,EAAyD,IAAzD,CAAjC;AAEA,WAAK,0BAAL;AACD;AAZH;AAAA;AAAA,8BAkCgB;AACZ,aAAO;AACL,sBAAc,EAAE;AACd,wBAAc,EAAE,IADF;AAEd,YAAE,EAAE;AAFU;AADX,OAAP;AAMD;AAzCH;AAAA;AAAA,iDA2CoC;AAChC,WAAK,QAAL,CAAc,8DAAY,CAAC,SAA3B,YAAyC,8DAAY,CAAC,iBAAtD,YAAgF,KAAK,MAArF;AACA,WAAK,QAAL,CAAc,8DAAY,CAAC,SAA3B,YAAyC,8DAAY,CAAC,cAAtD,mBAAoF,KAAK,OAAzF;AACD;AA9CH;AAAA;AAAA,8BAgDiB;AACb,oEAAI,CAAC,WAAL,CAAiB,KAAjB,CAAuB,IAAI,2DAAJ,EAAvB;AACD;AAlDH;AAAA;AAAA,2BAoDc;AAAA;;AACV,WAAK,yBAAL,CAA+B,qBAA/B,CAAqD,UAAC,UAAD,EAA2B;AAC9E;;;;AAIG;AACH,YAAI,KAAI,CAAC,WAAL,EAAJ,EACE;AAEF,aAAI,CAAC,UAAL,GAAkB,UAAlB;;AAEA,aAAI,CAAC,aAAL;;AAEA,YAAI,KAAI,CAAC,SAAL,CAAe,GAAf,CAAmB,YAAnB,KAAoC,GAAxC,EAA6C;AAC3C,eAAI,CAAC,yBAAL,CAA+B,gCAA/B,CAAgE,YAAK;AACnE,0EAAI,CAAC,aAAL,CAAmB,OAAnB,CAA2B;AACzB,yBAAW,EAAE,6DAAW,CAAC,gBADA;AAEzB,oBAAM,EAAE,yDAAO,CAAC,eAAR,CAAwB;AAFP,aAA3B;AAID,WALD;;AAMA;AACD;;AAED,kBAAU,CAAC;AAAA,iBAAM,KAAI,CAAC,IAAL,EAAN;AAAA,SAAD,EAAoB,eAApB,CAAV;;AAEA,aAAI,CAAC,MAAL;AACD,OA1BD;AA2BD;AAhFH;AAAA;AAAA,oCAkFuB;AACnB,UAAI,CAAC,KAAK,UAAV,EAAsB;AAEtB,UAAI,UAAU,GAAG,KAAK,UAAL,CAAgB,GAAhB,CAAoB,oBAApB,IAA4C,GAA7D;AAEA,UAAI,UAAU,GAAG,GAAjB,EACE,UAAU,GAAG,GAAb;AAEF,WAAK,SAAL,CAAe,GAAf,CAAmB;AAAE,kBAAU,EAAE,IAAI,CAAC,KAAL,CAAW,UAAX;AAAd,OAAnB;AACD;AA3FH;AAAA;AAAA,2CA6F8B;AAC1B,WAAK,aAAL,CAAmB,gBAAnB,EAAqC,IAAI,2GAAJ,CAA4B;AAC/D,aAAK,EAAE,KAAK,SADmD;AAE/D,YAAI,EAAE,kGAAe,CAAC,SAAhB,CAA0B,KAAK,IAA/B,EAAqC,iBAArC,CAFyD;AAG/D,aAAK,EAAE,sEAAM,CAAC;AAHiD,OAA5B,CAArC;AAKD;AAnGH;AAAA;AAAA,qCAqGuB;AACnB,WAAK,gBAAL,GAAwB,KAAK,yBAAL,CAA+B,mBAA/B,EAAxB;AAEA,aAAO,CAAC,CAAC,KAAK,gBAAd;AACD;AAzGH;AAAA;AAAA,kCA2GoB;AAChB,aAAO;AACL,cAAM,EAAN,sEADK;AAEL,qBAAa,EAAE;AAFV,OAAP;AAID;AAhHH;AAAA;AAAA,+BAmHiB;AACb,UAAI,CAAC,KAAK,cAAV,EAA0B;AACxB,aAAK,IAAL;AACA,aAAK,cAAL,GAAsB,IAAtB;AACD;;AAED,WAAK,oBAAL;AACD;AA1HH;AAAA;AAAA,wBAciB;AACb,aAAO,6BAAP;AACD;AAhBH;AAAA;AAAA,wBAkBkB;AACd,aAAO,kGAAe,CAAC,SAAhB,CAA0B,KAAK,IAA/B,EAAqC,OAArC,CAAP;AACD;AApBH;AAAA;AAAA,wBAsBiB;AACb,aAAO,yCAAP;AACD;AAxBH;AAAA;AAAA,wBA0BsB;AAClB,0DAA6C,sEAAM,CAAC,wBAApD,cAAgF,sEAAM,CAAC,cAAvF;AACD;AA5BH;AAAA;AAAA,wBA8BqB;AACjB,aAAO,mEAAP;AACD;AAhCH;;AAAA;AAAA,EAAiD,8DAAI,CAAC,IAAtD,E;;;;;;;;;;;ACpBA;AACA,kBAAkB,yK","file":"scripts/52.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 \" <span class=\\\"\"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.extraText : stack1), depth0))\n + \"\\\">\"\n + alias3(alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.text : stack1), depth0))\n + \"</span>\\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=\\\"\"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.circle : stack1), depth0))\n + \" \"\n + alias3(alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1[\"class\"] : stack1), depth0))\n + \"\\\">\\r\\n <span>\\r\\n <span class=\\\"progress-circle-text\\\">\"\n + alias3((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(alias4,\"progress\",{\"name\":\"lang\",\"hash\":{\"percentage\":((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.percentage : stack1)},\"data\":data}))\n + \"</span>\\r\\n\"\n + ((stack1 = helpers[\"if\"].call(alias4,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.text : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \" </span>\\r\\n\\r\\n <svg class=\\\"\"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.progressCircleContainer : stack1), depth0))\n + \"\\\">\\r\\n <circle class=\\\"progress-circle \"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.progressCircle : stack1), depth0))\n + \"\\\" transform='rotate(270 160 0)' stroke-width=\\\"28\\\" fill=\\\"transparent\\\" r=\\\"150\\\">\\r\\n </svg>\\r\\n</div>\";\n},\"useData\":true});","import { ObjectHash } from 'backbone';\r\n\r\nimport { Core } from 'libs/common/core';\r\n\r\nimport styles from './progress-circle.scss';\r\nimport ProgressCircleTemplate from './ProgressCircle.hbs';\r\n\r\ninterface ProgressCircleComponentOption extends Core.ComponentOptions {\r\n text?: string;\r\n class?: string;\r\n percentage?: number;\r\n}\r\n\r\nexport class ProgressCircleComponent extends Core.Component {\r\n protected options: ProgressCircleComponentOption;\r\n\r\n constructor(options: ProgressCircleComponentOption) {\r\n super(options);\r\n }\r\n\r\n public initialize(): void {\r\n this.listenTo(this.model, 'change:percentage', this.update);\r\n }\r\n\r\n public get name(): string {\r\n return 'ProgressCircleComponent';\r\n }\r\n\r\n public get template(): any {\r\n return ProgressCircleTemplate;\r\n }\r\n\r\n public get lang(): string {\r\n return 'migrationWizard.progressCircle';\r\n }\r\n\r\n public get elements(): ObjectHash {\r\n return {\r\n circle: '.progress-circle',\r\n text: '.progress-circle-text',\r\n };\r\n }\r\n\r\n public viewOptions(): ObjectHash {\r\n return {\r\n styles,\r\n text: this.options.text,\r\n class: this.options.class,\r\n percentage: this.options.percentage\r\n };\r\n }\r\n\r\n public onRender(): void {\r\n this.update();\r\n }\r\n\r\n public update(): void {\r\n const percentage = this.model.get('percentage') || 0;\r\n const circle = this.getUI('circle').get(0) as any;\r\n const radius = circle.r.baseVal.value;\r\n const circumference = radius * 2 * Math.PI;\r\n\r\n circle.style.strokeDasharray = `${circumference} ${circumference}`;\r\n circle.style.strokeDashoffset = circumference;\r\n\r\n const offset = circumference - percentage / 100 * circumference;\r\n circle.style.strokeDashoffset = offset;\r\n\r\n const text = this.getUI('text');\r\n\r\n if (text)\r\n text.text(`${percentage}%`);\r\n }\r\n}","// extracted by mini-css-extract-plugin\nmodule.exports = {\"circle\":\"cv--circle--3iX0l\",\"extraText\":\"cv--extraText--1nYnx\",\"progressCircleContainer\":\"cv--progressCircleContainer--2l1Al\",\"progressCircle\":\"cv--progressCircle--1RbA5\"};","var Handlebars = require('handlebars');\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"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 \"<h4 class=\\\"pb-4\\\">\"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"heading\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</h4>\\r\\n<div class=\\\"progress-circle-region\\\"></div>\\r\\n<p class=\\\"\"\n + alias4(container.lambda(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.info : stack1), depth0))\n + \" pt-4\\\">\\r\\n \"\n + ((stack1 = (helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"info\",{\"name\":\"lang\",\"hash\":{},\"data\":data})) != null ? stack1 : \"\")\n + \"\\r\\n</p>\";\n},\"useData\":true});","import { 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\n\r\nimport styles from './publisher-backup-progress.scss';\r\nimport PublisherBackupProgressTemplate from './PublisherBackupProgress.hbs';\r\nimport { BackupProgressError } from 'apps/migration-wizard/errors';\r\nimport { VideoCount, CustomerMetadata } from 'apps/migration-wizard/models';\r\nimport { DataServices, DataPrefixes, Actions, DataChannels, AppChannels } from 'shared/constants';\r\nimport { MigrationVideoDataService } from 'apps/migration-wizard/services/MigrationVideoDataService';\r\nimport { LanguageService } from 'libs/common/backbone/services/LanguageService';\r\nimport { ProgressCircleComponent } from 'apps/migration-wizard/components/progress-circle/ProgressCircleComponent';\r\n\r\n/**\r\n * Interval in ms to poll\r\n */\r\nconst pollingInterval = 5000;\r\n\r\nexport class PublisherBackupProgressView extends Core.View {\r\n private videoCount: VideoCount;\r\n private customerMetadata: CustomerMetadata;\r\n private migrationVideoDataService: MigrationVideoDataService;\r\n private pollingStarted: boolean;\r\n\r\n public initialize(): void {\r\n this.viewModel = ViewModelService.get('backup:progress', { percentage: 0 });\r\n\r\n this.migrationVideoDataService = InstanceManager.getInstance(DataServices.MigrationVideo, this);\r\n\r\n this.bindMigrationDataListeners();\r\n }\r\n\r\n public get name(): string {\r\n return 'PublisherBackupProgressView';\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.publisherBackupProgress';\r\n }\r\n\r\n public get className(): string {\r\n return `container text-center p-5 bg-white ${styles.migrationBackupContainer} ${styles.backupProgress}`;\r\n }\r\n\r\n public get template(): any {\r\n return PublisherBackupProgressTemplate;\r\n }\r\n\r\n public regions(): ObjectHash {\r\n return {\r\n progressCircle: {\r\n replaceElement: true,\r\n el: '.progress-circle-region',\r\n },\r\n };\r\n }\r\n\r\n private bindMigrationDataListeners(): void {\r\n this.listenTo(DataChannels.MIGRATION, `${DataPrefixes.CUSTOMER_METADATA}:sync`, this.render);\r\n this.listenTo(DataChannels.MIGRATION, `${DataPrefixes.CUSTOMER_VIDEO}:count:error`, this.onError);\r\n }\r\n\r\n private onError(): void {\r\n Core.ErrorHelper.throw(new BackupProgressError());\r\n }\r\n\r\n private poll(): void {\r\n this.migrationVideoDataService.getCustomerVideoCount((videoCount: VideoCount) => {\r\n /**\r\n * This prevents the polling from returning and redirecting back to this view\r\n * if the user has already been directed to backup_complete and is trying\r\n * to progress onto the start view\r\n */\r\n if (this.isDestroyed())\r\n return;\r\n\r\n this.videoCount = videoCount;\r\n\r\n this.setPercentage();\r\n\r\n if (this.viewModel.get('percentage') >= 100) {\r\n this.migrationVideoDataService.clearCacheAndGetCustomerMetadata(() => {\r\n Core.AppLinkHelper.trigger({\r\n application: AppChannels.MIGRATION_WIZARD,\r\n action: Actions.MigrationWizard.BACKUP_COMPLETE,\r\n });\r\n });\r\n return;\r\n }\r\n\r\n setTimeout(() => this.poll(), pollingInterval);\r\n\r\n this.render();\r\n });\r\n }\r\n\r\n private setPercentage(): void {\r\n if (!this.videoCount) return;\r\n\r\n let percentage = this.videoCount.get('progressPercentage') * 100;\r\n\r\n if (percentage > 100)\r\n percentage = 100;\r\n\r\n this.viewModel.set({ percentage: Math.round(percentage) });\r\n }\r\n\r\n private renderProgressCircle(): void {\r\n this.showChildView('progressCircle', new ProgressCircleComponent({\r\n model: this.viewModel,\r\n text: LanguageService.getPhrase(this.lang, 'hasBeenBackedUp'),\r\n class: styles.progress,\r\n }));\r\n }\r\n\r\n public onBeforeRender(): boolean {\r\n this.customerMetadata = this.migrationVideoDataService.getCustomerMetadata();\r\n\r\n return !!this.customerMetadata;\r\n }\r\n\r\n public viewOptions(): ObjectHash {\r\n return {\r\n styles,\r\n timeRemaining: '30 minutes', // TODO: replace\r\n };\r\n }\r\n\r\n\r\n public onRender(): void {\r\n if (!this.pollingStarted) {\r\n this.poll();\r\n this.pollingStarted = true;\r\n }\r\n\r\n this.renderProgressCircle();\r\n }\r\n}","// extracted by mini-css-extract-plugin\nmodule.exports = {\"backupProgress\":\"cv--backupProgress--15jUh\",\"info\":\"cv--info--1NjZL\",\"progress\":\"cv--progress--fp9FZ\",\"migrationBackupContainer\":\"cv--migrationBackupContainer--28z_5\"};"],"sourceRoot":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[53],{1109:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return m}));var o,i=n(6),r=n(2),a=n(1149),u=n.n(a),c=n(1110),l=n.n(c);function s(e){return(s="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 p(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function f(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,o=d(e);if(t){var i=d(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return g(this,n)}}function g(e,t){return!t||"object"!==s(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 d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}!function(e){e.ClickCrop="click:crop",e.CropImage="crop:image",e.ImageCropped="image:cropped"}(o||(o={}));var m=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&&h(e,t)}(c,e);var t,n,r,a=f(c);function c(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),a.call(this,e)}return t=c,(n=[{key:"initialize",value:function(){this.listenTo(this.options.channelName,o.CropImage,this.crop)}},{key:"getMinCropBoxWidth",value:function(){return this.options.minWidth*this.getViewportToImageRatio()}},{key:"getMinCropBoxHeight",value:function(){return this.options.minHeight*this.getViewportToImageRatio()}},{key:"getViewportToImageRatio",value:function(){return this.options.getCropRegionWidth()/this.model.get("width")}},{key:"crop",value:function(){var e=this.cropper.getCroppedCanvas().toDataURL(this.getImageMimeType());i.Radio.channel(this.options.channelName).trigger(o.ImageCropped,e)}},{key:"getImageMimeType",value:function(){var e=this.model.get("dataUrl").match(/data:([a-zA-Z0-9]+\/[a-zA-Z0-9-.+]+).*,.*/);if(e)return e[1]}},{key:"renderCropper",value:function(){this.getMinCropBoxWidth();var e=this.getUI("image").get(0);this.cropper=new u.a(e,{viewMode:1,aspectRatio:this.options.minWidth/this.options.minHeight,minCropBoxWidth:this.getMinCropBoxWidth(),minCropBoxHeight:this.getMinCropBoxHeight(),autoCropArea:1})}},{key:"onRender",value:function(){this.renderCropper()}},{key:"onBeforeDestroy",value:function(){this.cropper.destroy()}},{key:"name",get:function(){return"ImageCropperComponent"}},{key:"template",get:function(){return l.a}},{key:"className",get:function(){return"text-center"}},{key:"elements",get:function(){return{image:".img"}}}])&&p(t.prototype,n),r&&p(t,r),c}(r.a.Component)},1110:function(e,t,n){var o=n(10);e.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,o,i){var r;e.propertyIsEnumerable;return'<img src="'+e.escapeExpression("function"==typeof(r=null!=(r=n.dataUrl||(null!=t?t.dataUrl:t))?r:e.hooks.helperMissing)?r.call(null!=t?t:e.nullContext||{},{name:"dataUrl",hash:{},data:i}):r)+'" class="img img-fluid" />'},useData:!0})},1290:function(e,t,n){var o=n(10);e.exports=(o.default||o).template({1:function(e,t,n,o,i){var r;e.propertyIsEnumerable;return(null!=(r=e.lambda(null!=(r=null!=t?t.options:t)?r.spinnerEl:r,t))?r:"")+"\r\n"},3:function(e,t,n,o,i){return'<div class="cropper-region"></div>\r\n'},compiler:[8,">= 4.3.0"],main:function(e,t,n,o,i){var r;e.propertyIsEnumerable;return null!=(r=n.unless.call(null!=t?t:e.nullContext||{},null!=(r=null!=t?t.options:t)?r.dataFetched:r,{name:"unless",hash:{},fn:e.program(1,i,0),inverse:e.program(3,i,0),data:i}))?r:""},useData:!0})},1423:function(e,t,n){"use strict";n.r(t),n.d(t,"ThumbnailUploadView",(function(){return O}));var o=n(1),i=n(6),r=n(2),a=n(30),u=n(19),c=n(5),l=n(3),s=n(283),p=n(0),h=n(246),f=n(293),g=n(8),d=n(13),m=n(1109),y=n(1290),v=n.n(y);function b(e){return(b="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 k(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function w(e,t){return(w=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function C(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,o=E(e);if(t){var i=E(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return I(this,n)}}function I(e,t){return!t||"object"!==b(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(e){return(E=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var O=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&&w(e,t)}(I,e);var t,n,y,b=C(I);function I(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,I),b.call(this,e)}return t=I,(n=[{key:"initialize",value:function(){this.videoDataService=c.a.getInstance(p.g.Video,this),this.imageUploadDataService=c.a.getInstance(p.g.ImageUpload,this),this.navLockService=c.a.getInstance(p.x.NavLock,this),this.viewModel=a.a.get("image:storage"),this.bindListeners(),this.initImageEl()}},{key:"regions",value:function(){return{cropper:{el:".cropper-region",replaceElement:!0}}}},{key:"events",value:function(){return{"shown.bs.modal":"renderCropper"}}},{key:"bindListeners",value:function(){var e=this;this.listenTo(this.channelName,m.a.ImageCropped,this.onImageCropped),this.listenTo(p.e.VIDEO,"".concat(p.f.VIDEOS,":").concat(this.options.videoId,":sync"),this.render),this.listenTo(p.e.VIDEO,"".concat(p.f.UPDATE_VIDEO_THUMBNAIL,":").concat(this.options.videoId,":sync"),(function(){return e.triggerMethod("hide")}))}},{key:"initImageEl",value:function(){this.viewModel.get("dataUrl")||r.a.ErrorHelper.throw(new u.a("DataUrl must be set on the image:storage ViewModel")),this.imageEl=new Image,this.imageEl.src=this.viewModel.get("dataUrl"),this.viewModel.unset("dataUrl")}},{key:"getCropRegionWidth",value:function(){return this.$el.find(".modal-body").width()}},{key:"onClickCrop",value:function(){i.Radio.channel(this.channelName).trigger(m.a.CropImage),i.Radio.channel(this.channelName).trigger(h.b.ShowSpinner)}},{key:"onImageCropped",value:function(e){var t=this;this.imageUploadDataService.uploadBase64Image(e,g.f.Thumbnails,(function(e){return t.onImageUploaded(e)}))}},{key:"onImageUploaded",value:function(e){var t=this,n=this.model.thumbnail&&this.model.thumbnail.id;this.videoDataService.addOrUpdateThumbnail(this.options.videoId,e,n,(function(){return t.triggerMethod("hide")}))}},{key:"renderCropper",value:function(){var e=new f.a({dataUrl:this.imageEl.src,width:this.imageEl.width,height:this.imageEl.height});this.showChildView("cropper",new m.b({model:e,channelName:this.channelName,imageType:g.f.Thumbnails,minWidth:p.k[g.f.Thumbnails].width,minHeight:p.k[g.f.Thumbnails].height,getCropRegionWidth:o.bind(this.getCropRegionWidth,this)}))}},{key:"onBeforeRender",value:function(){this.model=this.videoDataService.getVideo(this.options.videoId)}},{key:"viewOptions",value:function(){return{dataFetched:!!this.model,spinnerEl:d.q.getSpinner({size:d.r.Large,extraClasses:"mx-auto"})}}},{key:"onBeforeDestroy",value:function(){a.a.get("upload:thumbnail:options").get("lockNav")&&this.navLockService.lock()}},{key:"name",get:function(){return"ThumbnailUploadView"}},{key:"title",get:function(){return l.a.getPhrase(this.lang,"title")}},{key:"lang",get:function(){return"libraryEditor.thumbnailUpload"}},{key:"template",get:function(){return v.a}},{key:"channelName",get:function(){return d.k.generateUniqueChannelName(this)}},{key:"behaviors",get:function(){var e=this;return[{behaviorClass:s.f,title:l.a.getPhrase(this.lang,"resizeAndCrop"),size:"modal-lg",spinnerButtonOptions:{channelName:this.channelName,buttonText:l.a.getPhrase(this.lang,"crop"),onClick:function(){return e.onClickCrop()}}}]}}])&&k(t.prototype,n),y&&k(t,y),I}(r.a.View)}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[53],{1113:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return m}));var o,i=n(6),r=n(2),a=n(1153),u=n.n(a),c=n(1114),l=n.n(c);function s(e){return(s="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 p(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function f(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,o=d(e);if(t){var i=d(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return g(this,n)}}function g(e,t){return!t||"object"!==s(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 d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}!function(e){e.ClickCrop="click:crop",e.CropImage="crop:image",e.ImageCropped="image:cropped"}(o||(o={}));var m=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&&h(e,t)}(c,e);var t,n,r,a=f(c);function c(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),a.call(this,e)}return t=c,(n=[{key:"initialize",value:function(){this.listenTo(this.options.channelName,o.CropImage,this.crop)}},{key:"getMinCropBoxWidth",value:function(){return this.options.minWidth*this.getViewportToImageRatio()}},{key:"getMinCropBoxHeight",value:function(){return this.options.minHeight*this.getViewportToImageRatio()}},{key:"getViewportToImageRatio",value:function(){return this.options.getCropRegionWidth()/this.model.get("width")}},{key:"crop",value:function(){var e=this.cropper.getCroppedCanvas().toDataURL(this.getImageMimeType());i.Radio.channel(this.options.channelName).trigger(o.ImageCropped,e)}},{key:"getImageMimeType",value:function(){var e=this.model.get("dataUrl").match(/data:([a-zA-Z0-9]+\/[a-zA-Z0-9-.+]+).*,.*/);if(e)return e[1]}},{key:"renderCropper",value:function(){this.getMinCropBoxWidth();var e=this.getUI("image").get(0);this.cropper=new u.a(e,{viewMode:1,aspectRatio:this.options.minWidth/this.options.minHeight,minCropBoxWidth:this.getMinCropBoxWidth(),minCropBoxHeight:this.getMinCropBoxHeight(),autoCropArea:1})}},{key:"onRender",value:function(){this.renderCropper()}},{key:"onBeforeDestroy",value:function(){this.cropper.destroy()}},{key:"name",get:function(){return"ImageCropperComponent"}},{key:"template",get:function(){return l.a}},{key:"className",get:function(){return"text-center"}},{key:"elements",get:function(){return{image:".img"}}}])&&p(t.prototype,n),r&&p(t,r),c}(r.a.Component)},1114:function(e,t,n){var o=n(10);e.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,o,i){var r;e.propertyIsEnumerable;return'<img src="'+e.escapeExpression("function"==typeof(r=null!=(r=n.dataUrl||(null!=t?t.dataUrl:t))?r:e.hooks.helperMissing)?r.call(null!=t?t:e.nullContext||{},{name:"dataUrl",hash:{},data:i}):r)+'" class="img img-fluid" />'},useData:!0})},1296:function(e,t,n){var o=n(10);e.exports=(o.default||o).template({1:function(e,t,n,o,i){var r;e.propertyIsEnumerable;return(null!=(r=e.lambda(null!=(r=null!=t?t.options:t)?r.spinnerEl:r,t))?r:"")+"\r\n"},3:function(e,t,n,o,i){return'<div class="cropper-region"></div>\r\n'},compiler:[8,">= 4.3.0"],main:function(e,t,n,o,i){var r;e.propertyIsEnumerable;return null!=(r=n.unless.call(null!=t?t:e.nullContext||{},null!=(r=null!=t?t.options:t)?r.dataFetched:r,{name:"unless",hash:{},fn:e.program(1,i,0),inverse:e.program(3,i,0),data:i}))?r:""},useData:!0})},1429:function(e,t,n){"use strict";n.r(t),n.d(t,"ThumbnailUploadView",(function(){return O}));var o=n(1),i=n(6),r=n(2),a=n(30),u=n(19),c=n(5),l=n(3),s=n(283),p=n(0),h=n(246),f=n(293),g=n(8),d=n(13),m=n(1113),y=n(1296),v=n.n(y);function b(e){return(b="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 k(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function w(e,t){return(w=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function C(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,o=E(e);if(t){var i=E(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return I(this,n)}}function I(e,t){return!t||"object"!==b(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(e){return(E=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var O=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&&w(e,t)}(I,e);var t,n,y,b=C(I);function I(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,I),b.call(this,e)}return t=I,(n=[{key:"initialize",value:function(){this.videoDataService=c.a.getInstance(p.g.Video,this),this.imageUploadDataService=c.a.getInstance(p.g.ImageUpload,this),this.navLockService=c.a.getInstance(p.x.NavLock,this),this.viewModel=a.a.get("image:storage"),this.bindListeners(),this.initImageEl()}},{key:"regions",value:function(){return{cropper:{el:".cropper-region",replaceElement:!0}}}},{key:"events",value:function(){return{"shown.bs.modal":"renderCropper"}}},{key:"bindListeners",value:function(){var e=this;this.listenTo(this.channelName,m.a.ImageCropped,this.onImageCropped),this.listenTo(p.e.VIDEO,"".concat(p.f.VIDEOS,":").concat(this.options.videoId,":sync"),this.render),this.listenTo(p.e.VIDEO,"".concat(p.f.UPDATE_VIDEO_THUMBNAIL,":").concat(this.options.videoId,":sync"),(function(){return e.triggerMethod("hide")}))}},{key:"initImageEl",value:function(){this.viewModel.get("dataUrl")||r.a.ErrorHelper.throw(new u.a("DataUrl must be set on the image:storage ViewModel")),this.imageEl=new Image,this.imageEl.src=this.viewModel.get("dataUrl"),this.viewModel.unset("dataUrl")}},{key:"getCropRegionWidth",value:function(){return this.$el.find(".modal-body").width()}},{key:"onClickCrop",value:function(){i.Radio.channel(this.channelName).trigger(m.a.CropImage),i.Radio.channel(this.channelName).trigger(h.b.ShowSpinner)}},{key:"onImageCropped",value:function(e){var t=this;this.imageUploadDataService.uploadBase64Image(e,g.f.Thumbnails,(function(e){return t.onImageUploaded(e)}))}},{key:"onImageUploaded",value:function(e){var t=this,n=this.model.thumbnail&&this.model.thumbnail.id;this.videoDataService.addOrUpdateThumbnail(this.options.videoId,e,n,(function(){return t.triggerMethod("hide")}))}},{key:"renderCropper",value:function(){var e=new f.a({dataUrl:this.imageEl.src,width:this.imageEl.width,height:this.imageEl.height});this.showChildView("cropper",new m.b({model:e,channelName:this.channelName,imageType:g.f.Thumbnails,minWidth:p.k[g.f.Thumbnails].width,minHeight:p.k[g.f.Thumbnails].height,getCropRegionWidth:o.bind(this.getCropRegionWidth,this)}))}},{key:"onBeforeRender",value:function(){this.model=this.videoDataService.getVideo(this.options.videoId)}},{key:"viewOptions",value:function(){return{dataFetched:!!this.model,spinnerEl:d.q.getSpinner({size:d.r.Large,extraClasses:"mx-auto"})}}},{key:"onBeforeDestroy",value:function(){a.a.get("upload:thumbnail:options").get("lockNav")&&this.navLockService.lock()}},{key:"name",get:function(){return"ThumbnailUploadView"}},{key:"title",get:function(){return l.a.getPhrase(this.lang,"title")}},{key:"lang",get:function(){return"libraryEditor.thumbnailUpload"}},{key:"template",get:function(){return v.a}},{key:"channelName",get:function(){return d.k.generateUniqueChannelName(this)}},{key:"behaviors",get:function(){var e=this;return[{behaviorClass:s.f,title:l.a.getPhrase(this.lang,"resizeAndCrop"),size:"modal-lg",spinnerButtonOptions:{channelName:this.channelName,buttonText:l.a.getPhrase(this.lang,"crop"),onClick:function(){return e.onClickCrop()}}}]}}])&&k(t.prototype,n),y&&k(t,y),I}(r.a.View)}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[53],{
|
|
1
|
+
(window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[53],{1114:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return m}));var o,i=n(6),r=n(2),a=n(1154),u=n.n(a),c=n(1115),l=n.n(c);function s(e){return(s="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 p(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function f(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,o=d(e);if(t){var i=d(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return g(this,n)}}function g(e,t){return!t||"object"!==s(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 d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}!function(e){e.ClickCrop="click:crop",e.CropImage="crop:image",e.ImageCropped="image:cropped"}(o||(o={}));var m=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&&h(e,t)}(c,e);var t,n,r,a=f(c);function c(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),a.call(this,e)}return t=c,(n=[{key:"initialize",value:function(){this.listenTo(this.options.channelName,o.CropImage,this.crop)}},{key:"getMinCropBoxWidth",value:function(){return this.options.minWidth*this.getViewportToImageRatio()}},{key:"getMinCropBoxHeight",value:function(){return this.options.minHeight*this.getViewportToImageRatio()}},{key:"getViewportToImageRatio",value:function(){return this.options.getCropRegionWidth()/this.model.get("width")}},{key:"crop",value:function(){var e=this.cropper.getCroppedCanvas().toDataURL(this.getImageMimeType());i.Radio.channel(this.options.channelName).trigger(o.ImageCropped,e)}},{key:"getImageMimeType",value:function(){var e=this.model.get("dataUrl").match(/data:([a-zA-Z0-9]+\/[a-zA-Z0-9-.+]+).*,.*/);if(e)return e[1]}},{key:"renderCropper",value:function(){this.getMinCropBoxWidth();var e=this.getUI("image").get(0);this.cropper=new u.a(e,{viewMode:1,aspectRatio:this.options.minWidth/this.options.minHeight,minCropBoxWidth:this.getMinCropBoxWidth(),minCropBoxHeight:this.getMinCropBoxHeight(),autoCropArea:1})}},{key:"onRender",value:function(){this.renderCropper()}},{key:"onBeforeDestroy",value:function(){this.cropper.destroy()}},{key:"name",get:function(){return"ImageCropperComponent"}},{key:"template",get:function(){return l.a}},{key:"className",get:function(){return"text-center"}},{key:"elements",get:function(){return{image:".img"}}}])&&p(t.prototype,n),r&&p(t,r),c}(r.a.Component)},1115:function(e,t,n){var o=n(10);e.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,o,i){var r;e.propertyIsEnumerable;return'<img src="'+e.escapeExpression("function"==typeof(r=null!=(r=n.dataUrl||(null!=t?t.dataUrl:t))?r:e.hooks.helperMissing)?r.call(null!=t?t:e.nullContext||{},{name:"dataUrl",hash:{},data:i}):r)+'" class="img img-fluid" />'},useData:!0})},1297:function(e,t,n){var o=n(10);e.exports=(o.default||o).template({1:function(e,t,n,o,i){var r;e.propertyIsEnumerable;return(null!=(r=e.lambda(null!=(r=null!=t?t.options:t)?r.spinnerEl:r,t))?r:"")+"\r\n"},3:function(e,t,n,o,i){return'<div class="cropper-region"></div>\r\n'},compiler:[8,">= 4.3.0"],main:function(e,t,n,o,i){var r;e.propertyIsEnumerable;return null!=(r=n.unless.call(null!=t?t:e.nullContext||{},null!=(r=null!=t?t.options:t)?r.dataFetched:r,{name:"unless",hash:{},fn:e.program(1,i,0),inverse:e.program(3,i,0),data:i}))?r:""},useData:!0})},1430:function(e,t,n){"use strict";n.r(t),n.d(t,"ThumbnailUploadView",(function(){return O}));var o=n(1),i=n(6),r=n(2),a=n(30),u=n(19),c=n(5),l=n(3),s=n(283),p=n(0),h=n(246),f=n(293),g=n(8),d=n(13),m=n(1114),y=n(1297),v=n.n(y);function b(e){return(b="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 k(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function w(e,t){return(w=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function C(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,o=E(e);if(t){var i=E(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return I(this,n)}}function I(e,t){return!t||"object"!==b(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(e){return(E=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var O=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&&w(e,t)}(I,e);var t,n,y,b=C(I);function I(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,I),b.call(this,e)}return t=I,(n=[{key:"initialize",value:function(){this.videoDataService=c.a.getInstance(p.g.Video,this),this.imageUploadDataService=c.a.getInstance(p.g.ImageUpload,this),this.navLockService=c.a.getInstance(p.x.NavLock,this),this.viewModel=a.a.get("image:storage"),this.bindListeners(),this.initImageEl()}},{key:"regions",value:function(){return{cropper:{el:".cropper-region",replaceElement:!0}}}},{key:"events",value:function(){return{"shown.bs.modal":"renderCropper"}}},{key:"bindListeners",value:function(){var e=this;this.listenTo(this.channelName,m.a.ImageCropped,this.onImageCropped),this.listenTo(p.e.VIDEO,"".concat(p.f.VIDEOS,":").concat(this.options.videoId,":sync"),this.render),this.listenTo(p.e.VIDEO,"".concat(p.f.UPDATE_VIDEO_THUMBNAIL,":").concat(this.options.videoId,":sync"),(function(){return e.triggerMethod("hide")}))}},{key:"initImageEl",value:function(){this.viewModel.get("dataUrl")||r.a.ErrorHelper.throw(new u.a("DataUrl must be set on the image:storage ViewModel")),this.imageEl=new Image,this.imageEl.src=this.viewModel.get("dataUrl"),this.viewModel.unset("dataUrl")}},{key:"getCropRegionWidth",value:function(){return this.$el.find(".modal-body").width()}},{key:"onClickCrop",value:function(){i.Radio.channel(this.channelName).trigger(m.a.CropImage),i.Radio.channel(this.channelName).trigger(h.b.ShowSpinner)}},{key:"onImageCropped",value:function(e){var t=this;this.imageUploadDataService.uploadBase64Image(e,g.f.Thumbnails,(function(e){return t.onImageUploaded(e)}))}},{key:"onImageUploaded",value:function(e){var t=this,n=this.model.thumbnail&&this.model.thumbnail.id;this.videoDataService.addOrUpdateThumbnail(this.options.videoId,e,n,(function(){return t.triggerMethod("hide")}))}},{key:"renderCropper",value:function(){var e=new f.a({dataUrl:this.imageEl.src,width:this.imageEl.width,height:this.imageEl.height});this.showChildView("cropper",new m.b({model:e,channelName:this.channelName,imageType:g.f.Thumbnails,minWidth:p.k[g.f.Thumbnails].width,minHeight:p.k[g.f.Thumbnails].height,getCropRegionWidth:o.bind(this.getCropRegionWidth,this)}))}},{key:"onBeforeRender",value:function(){this.model=this.videoDataService.getVideo(this.options.videoId)}},{key:"viewOptions",value:function(){return{dataFetched:!!this.model,spinnerEl:d.q.getSpinner({size:d.r.Large,extraClasses:"mx-auto"})}}},{key:"onBeforeDestroy",value:function(){a.a.get("upload:thumbnail:options").get("lockNav")&&this.navLockService.lock()}},{key:"name",get:function(){return"ThumbnailUploadView"}},{key:"title",get:function(){return l.a.getPhrase(this.lang,"title")}},{key:"lang",get:function(){return"libraryEditor.thumbnailUpload"}},{key:"template",get:function(){return v.a}},{key:"channelName",get:function(){return d.k.generateUniqueChannelName(this)}},{key:"behaviors",get:function(){var e=this;return[{behaviorClass:s.f,title:l.a.getPhrase(this.lang,"resizeAndCrop"),size:"modal-lg",spinnerButtonOptions:{channelName:this.channelName,buttonText:l.a.getPhrase(this.lang,"crop"),onClick:function(){return e.onClickCrop()}}}]}}])&&k(t.prototype,n),y&&k(t,y),I}(r.a.View)}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[53],{1114:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return m}));var o,i=n(6),r=n(2),a=n(1154),u=n.n(a),c=n(1115),l=n.n(c);function s(e){return(s="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 p(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function f(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,o=d(e);if(t){var i=d(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return g(this,n)}}function g(e,t){return!t||"object"!==s(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 d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}!function(e){e.ClickCrop="click:crop",e.CropImage="crop:image",e.ImageCropped="image:cropped"}(o||(o={}));var m=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&&h(e,t)}(c,e);var t,n,r,a=f(c);function c(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),a.call(this,e)}return t=c,(n=[{key:"initialize",value:function(){this.listenTo(this.options.channelName,o.CropImage,this.crop)}},{key:"getMinCropBoxWidth",value:function(){return this.options.minWidth*this.getViewportToImageRatio()}},{key:"getMinCropBoxHeight",value:function(){return this.options.minHeight*this.getViewportToImageRatio()}},{key:"getViewportToImageRatio",value:function(){return this.options.getCropRegionWidth()/this.model.get("width")}},{key:"crop",value:function(){var e=this.cropper.getCroppedCanvas().toDataURL(this.getImageMimeType());i.Radio.channel(this.options.channelName).trigger(o.ImageCropped,e)}},{key:"getImageMimeType",value:function(){var e=this.model.get("dataUrl").match(/data:([a-zA-Z0-9]+\/[a-zA-Z0-9-.+]+).*,.*/);if(e)return e[1]}},{key:"renderCropper",value:function(){this.getMinCropBoxWidth();var e=this.getUI("image").get(0);this.cropper=new u.a(e,{viewMode:1,aspectRatio:this.options.minWidth/this.options.minHeight,minCropBoxWidth:this.getMinCropBoxWidth(),minCropBoxHeight:this.getMinCropBoxHeight(),autoCropArea:1})}},{key:"onRender",value:function(){this.renderCropper()}},{key:"onBeforeDestroy",value:function(){this.cropper.destroy()}},{key:"name",get:function(){return"ImageCropperComponent"}},{key:"template",get:function(){return l.a}},{key:"className",get:function(){return"text-center"}},{key:"elements",get:function(){return{image:".img"}}}])&&p(t.prototype,n),r&&p(t,r),c}(r.a.Component)},1115:function(e,t,n){var o=n(10);e.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,o,i){var r;e.propertyIsEnumerable;return'<img src="'+e.escapeExpression("function"==typeof(r=null!=(r=n.dataUrl||(null!=t?t.dataUrl:t))?r:e.hooks.helperMissing)?r.call(null!=t?t:e.nullContext||{},{name:"dataUrl",hash:{},data:i}):r)+'" class="img img-fluid" />'},useData:!0})},1297:function(e,t,n){var o=n(10);e.exports=(o.default||o).template({1:function(e,t,n,o,i){var r;e.propertyIsEnumerable;return(null!=(r=e.lambda(null!=(r=null!=t?t.options:t)?r.spinnerEl:r,t))?r:"")+"\r\n"},3:function(e,t,n,o,i){return'<div class="cropper-region"></div>\r\n'},compiler:[8,">= 4.3.0"],main:function(e,t,n,o,i){var r;e.propertyIsEnumerable;return null!=(r=n.unless.call(null!=t?t:e.nullContext||{},null!=(r=null!=t?t.options:t)?r.dataFetched:r,{name:"unless",hash:{},fn:e.program(1,i,0),inverse:e.program(3,i,0),data:i}))?r:""},useData:!0})},1430:function(e,t,n){"use strict";n.r(t),n.d(t,"ThumbnailUploadView",(function(){return O}));var o=n(1),i=n(6),r=n(2),a=n(30),u=n(19),c=n(5),l=n(3),s=n(283),p=n(0),h=n(246),f=n(293),g=n(8),d=n(13),m=n(1114),y=n(1297),v=n.n(y);function b(e){return(b="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 k(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function w(e,t){return(w=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function C(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,o=E(e);if(t){var i=E(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return I(this,n)}}function I(e,t){return!t||"object"!==b(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(e){return(E=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var O=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&&w(e,t)}(I,e);var t,n,y,b=C(I);function I(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,I),b.call(this,e)}return t=I,(n=[{key:"initialize",value:function(){this.videoDataService=c.a.getInstance(p.g.Video,this),this.imageUploadDataService=c.a.getInstance(p.g.ImageUpload,this),this.navLockService=c.a.getInstance(p.x.NavLock,this),this.viewModel=a.a.get("image:storage"),this.bindListeners(),this.initImageEl()}},{key:"regions",value:function(){return{cropper:{el:".cropper-region",replaceElement:!0}}}},{key:"events",value:function(){return{"shown.bs.modal":"renderCropper"}}},{key:"bindListeners",value:function(){var e=this;this.listenTo(this.channelName,m.a.ImageCropped,this.onImageCropped),this.listenTo(p.e.VIDEO,"".concat(p.f.VIDEOS,":").concat(this.options.videoId,":sync"),this.render),this.listenTo(p.e.VIDEO,"".concat(p.f.UPDATE_VIDEO_THUMBNAIL,":").concat(this.options.videoId,":sync"),(function(){return e.triggerMethod("hide")}))}},{key:"initImageEl",value:function(){this.viewModel.get("dataUrl")||r.a.ErrorHelper.throw(new u.a("DataUrl must be set on the image:storage ViewModel")),this.imageEl=new Image,this.imageEl.src=this.viewModel.get("dataUrl"),this.viewModel.unset("dataUrl")}},{key:"getCropRegionWidth",value:function(){return this.$el.find(".modal-body").width()}},{key:"onClickCrop",value:function(){i.Radio.channel(this.channelName).trigger(m.a.CropImage),i.Radio.channel(this.channelName).trigger(h.b.ShowSpinner)}},{key:"onImageCropped",value:function(e){var t=this;this.imageUploadDataService.uploadBase64Image(e,g.f.Thumbnails,(function(e){return t.onImageUploaded(e)}))}},{key:"onImageUploaded",value:function(e){var t=this,n=this.model.thumbnail&&this.model.thumbnail.id;this.videoDataService.addOrUpdateThumbnail(this.options.videoId,e,n,(function(){return t.triggerMethod("hide")}))}},{key:"renderCropper",value:function(){var e=new f.a({dataUrl:this.imageEl.src,width:this.imageEl.width,height:this.imageEl.height});this.showChildView("cropper",new m.b({model:e,channelName:this.channelName,imageType:g.f.Thumbnails,minWidth:p.k[g.f.Thumbnails].width,minHeight:p.k[g.f.Thumbnails].height,getCropRegionWidth:o.bind(this.getCropRegionWidth,this)}))}},{key:"onBeforeRender",value:function(){this.model=this.videoDataService.getVideo(this.options.videoId)}},{key:"viewOptions",value:function(){return{dataFetched:!!this.model,spinnerEl:d.q.getSpinner({size:d.r.Large,extraClasses:"mx-auto"})}}},{key:"onBeforeDestroy",value:function(){a.a.get("upload:thumbnail:options").get("lockNav")&&this.navLockService.lock()}},{key:"name",get:function(){return"ThumbnailUploadView"}},{key:"title",get:function(){return l.a.getPhrase(this.lang,"title")}},{key:"lang",get:function(){return"libraryEditor.thumbnailUpload"}},{key:"template",get:function(){return v.a}},{key:"channelName",get:function(){return d.k.generateUniqueChannelName(this)}},{key:"behaviors",get:function(){var e=this;return[{behaviorClass:s.f,title:l.a.getPhrase(this.lang,"resizeAndCrop"),size:"modal-lg",spinnerButtonOptions:{channelName:this.channelName,buttonText:l.a.getPhrase(this.lang,"crop"),onClick:function(){return e.onClickCrop()}}}]}}])&&k(t.prototype,n),y&&k(t,y),I}(r.a.View)}}]);
|