@clickview/library-editor 1.1.26-rc.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.
Files changed (596) hide show
  1. package/dist/css/1.chunk.css.map +1 -0
  2. package/dist/css/10.chunk.css.map +1 -0
  3. package/dist/css/11.chunk.css +137 -0
  4. package/dist/css/11.chunk.css.map +1 -0
  5. package/dist/css/12.chunk.css.map +1 -0
  6. package/dist/css/13.chunk.css.map +1 -0
  7. package/dist/css/14.chunk.css.map +1 -0
  8. package/dist/css/16.chunk.css.map +1 -0
  9. package/dist/css/17.chunk.css.map +1 -0
  10. package/dist/css/18.chunk.css +20 -0
  11. package/dist/css/18.chunk.css.map +1 -0
  12. package/dist/css/2.chunk.css +145 -0
  13. package/dist/css/2.chunk.css.map +1 -0
  14. package/dist/css/21.chunk.css.map +1 -0
  15. package/dist/css/22.chunk.css.map +1 -0
  16. package/dist/css/23.chunk.css.map +1 -0
  17. package/dist/css/25.chunk.css.map +1 -0
  18. package/dist/css/26.chunk.css.map +1 -0
  19. package/dist/css/28.chunk.css.map +1 -0
  20. package/dist/css/29.chunk.css.map +1 -0
  21. package/dist/css/3.chunk.css.map +1 -0
  22. package/dist/css/30.chunk.css.map +1 -0
  23. package/dist/css/31.chunk.css.map +1 -0
  24. package/dist/css/32.chunk.css.map +1 -0
  25. package/dist/css/33.chunk.css.map +1 -0
  26. package/dist/css/34.chunk.css +21 -0
  27. package/dist/css/34.chunk.css.map +1 -0
  28. package/dist/css/35.chunk.css +20 -0
  29. package/dist/css/35.chunk.css.map +1 -0
  30. package/dist/css/36.chunk.css +14 -0
  31. package/dist/css/36.chunk.css.map +1 -0
  32. package/dist/css/37.chunk.css.map +1 -0
  33. package/dist/css/38.chunk.css.map +1 -0
  34. package/dist/css/40.chunk.css.map +1 -0
  35. package/dist/css/41.chunk.css.map +1 -0
  36. package/dist/css/42.chunk.css.map +1 -0
  37. package/dist/css/43.chunk.css.map +1 -0
  38. package/dist/css/44.chunk.css.map +1 -0
  39. package/dist/css/45.chunk.css.map +1 -0
  40. package/dist/css/46.chunk.css.map +1 -0
  41. package/dist/css/47.chunk.css.map +1 -0
  42. package/dist/css/48.chunk.css.map +1 -0
  43. package/dist/css/49.chunk.css +35 -0
  44. package/dist/css/49.chunk.css.map +1 -0
  45. package/dist/css/50.chunk.css.map +1 -0
  46. package/dist/css/51.chunk.css.map +1 -0
  47. package/dist/css/52.chunk.css +66 -0
  48. package/dist/css/52.chunk.css.map +1 -0
  49. package/dist/css/55.chunk.css.map +1 -0
  50. package/dist/css/56.chunk.css.map +1 -0
  51. package/dist/css/58.chunk.css.map +1 -0
  52. package/dist/css/59.chunk.css.map +1 -0
  53. package/dist/css/6.chunk.css.map +1 -0
  54. package/dist/css/60.chunk.css +18 -0
  55. package/dist/css/60.chunk.css.map +1 -0
  56. package/dist/css/62.chunk.css.map +1 -0
  57. package/dist/css/63.chunk.css +170 -0
  58. package/dist/css/63.chunk.css.map +1 -0
  59. package/dist/css/67.chunk.css +78 -0
  60. package/dist/css/67.chunk.css.map +1 -0
  61. package/dist/css/68.chunk.css +17 -0
  62. package/dist/css/68.chunk.css.map +1 -0
  63. package/dist/css/69.chunk.css +17 -0
  64. package/dist/css/69.chunk.css.map +1 -0
  65. package/dist/css/7.chunk.css.map +1 -0
  66. package/dist/css/70.chunk.css +23 -0
  67. package/dist/css/70.chunk.css.map +1 -0
  68. package/dist/css/71.chunk.css +40 -0
  69. package/dist/css/71.chunk.css.map +1 -0
  70. package/dist/css/72.chunk.css +16 -0
  71. package/dist/css/72.chunk.css.map +1 -0
  72. package/dist/css/73.chunk.css +37 -0
  73. package/dist/css/73.chunk.css.map +1 -0
  74. package/dist/css/74.chunk.css +29 -0
  75. package/dist/css/74.chunk.css.map +1 -0
  76. package/dist/css/75.chunk.css +6 -0
  77. package/dist/css/75.chunk.css.map +1 -0
  78. package/dist/css/76.chunk.css +6 -0
  79. package/dist/css/76.chunk.css.map +1 -0
  80. package/dist/css/8.chunk.css.map +1 -0
  81. package/dist/css/library-editor-app.css.map +1 -0
  82. package/dist/libs/common/src/react/flight/enums/RequestStatus.d.ts +6 -0
  83. package/dist/libs/common/src/react/flight/enums/index.d.ts +1 -0
  84. package/dist/libs/common/src/react/flight/interfaces/FlightState.d.ts +22 -0
  85. package/dist/libs/common/src/react/flight/interfaces/NormalizeOptions.d.ts +4 -0
  86. package/dist/libs/common/src/react/flight/interfaces/Request.d.ts +29 -0
  87. package/dist/libs/common/src/react/flight/interfaces/UpdateStateOptions.d.ts +15 -0
  88. package/dist/libs/common/src/react/interfaces/ApplicationData.d.ts +3 -0
  89. package/dist/libs/common/src/react/interfaces/ApplicationState.d.ts +8 -0
  90. package/dist/libs/common/src/react/interfaces/BaseReducerActions.d.ts +4 -0
  91. package/dist/libs/common/src/react/interfaces/index.d.ts +4 -0
  92. package/dist/libs/shared/src/enums/MasterObjectTypes.d.ts +8 -0
  93. package/dist/libs/shared/src/enums/ObjectOwnerType.d.ts +4 -0
  94. package/dist/libs/shared/src/enums/UploadInteractionType.d.ts +4 -0
  95. package/dist/libs/shared/src/interfaces/collections/SubtitleCollection.d.ts +3 -0
  96. package/dist/libs/shared/src/interfaces/models/FileUpload.d.ts +20 -0
  97. package/dist/libs/shared/src/interfaces/models/Language.d.ts +4 -0
  98. package/dist/libs/shared/src/interfaces/models/Pdf.d.ts +4 -0
  99. package/dist/libs/shared/src/interfaces/models/Subtitle.d.ts +7 -0
  100. package/dist/libs/shared/src/interfaces/requests/UpdateObjectChannel.d.ts +3 -0
  101. package/dist/libs/shared/src/interfaces/requests/UpdateObjectRating.d.ts +3 -0
  102. package/dist/libs/shared/src/interfaces/requests/UpdateResourceRequest.d.ts +3 -0
  103. package/dist/libs/shared/src/interfaces/services/BaseConfigDataService.d.ts +5 -0
  104. package/dist/libs/shared/src/legacy/behaviors/file-drop/FileDropBehavior.d.ts +19 -0
  105. package/dist/libs/shared/src/legacy/behaviors/file-drop/FileDropHelper.d.ts +4 -0
  106. package/dist/libs/shared/src/legacy/behaviors/file-drop/FileDropMaskBehavior.d.ts +19 -0
  107. package/dist/libs/shared/src/legacy/behaviors/file-select/FileSelectBehavior.d.ts +16 -0
  108. package/dist/libs/shared/src/legacy/components/file-select/FileSelectComponent.d.ts +29 -0
  109. package/dist/libs/shared/src/legacy/components/file-uploads/FileUploadComponent.d.ts +15 -0
  110. package/dist/libs/shared/src/legacy/components/resource-item/ResourceItemComponent.d.ts +22 -0
  111. package/dist/libs/shared/src/legacy/components/subtitle-item/SubtitleItemComponent.d.ts +17 -0
  112. package/dist/libs/shared/src/legacy/errors/too-many-files/TooManyFilesError.d.ts +7 -0
  113. package/dist/libs/shared/src/legacy/errors/too-many-resources/TooManyResourcesError.d.ts +8 -0
  114. package/dist/libs/shared/src/legacy/errors/too-many-subtitles/TooManySubtitlesError.d.ts +8 -0
  115. package/dist/libs/shared/src/utils/SubtitleHelper.d.ts +9 -0
  116. package/dist/libs/shared/src/utils/VideoDetailsHelper.d.ts +21 -0
  117. package/dist/scripts/0-1c2bb7e28a.chunk.js +1 -0
  118. package/dist/scripts/0-1dbc79e4e7.chunk.js +1 -0
  119. package/dist/scripts/0-93276429bf.chunk.js +1 -0
  120. package/dist/scripts/0.chunk.js +1039 -0
  121. package/dist/scripts/0.chunk.js.map +1 -0
  122. package/dist/scripts/1-480e5932a6.chunk.js +1 -0
  123. package/dist/scripts/1-6051b28de6.chunk.js +1 -0
  124. package/dist/scripts/1-b85c11fc30.chunk.js +1 -0
  125. package/dist/scripts/1.chunk.js +442 -0
  126. package/dist/scripts/1.chunk.js.map +1 -0
  127. package/dist/scripts/10-3ff370d548.chunk.js +1 -0
  128. package/dist/scripts/10-923c4b075a.chunk.js +1 -0
  129. package/dist/scripts/10-e2fea45a6c.chunk.js +1 -0
  130. package/dist/scripts/10.chunk.js +820 -0
  131. package/dist/scripts/10.chunk.js.map +1 -0
  132. package/dist/scripts/11-3dec7d2c7e.chunk.js +11 -0
  133. package/dist/scripts/11-74bc3f2d9f.chunk.js +11 -0
  134. package/dist/scripts/11.chunk.js +4091 -0
  135. package/dist/scripts/11.chunk.js.map +1 -0
  136. package/dist/scripts/12-07999b80e0.chunk.js +1 -0
  137. package/dist/scripts/12-24bd360be0.chunk.js +1 -0
  138. package/dist/scripts/12-e522e64a94.chunk.js +1 -0
  139. package/dist/scripts/12.chunk.js +555 -0
  140. package/dist/scripts/12.chunk.js.map +1 -0
  141. package/dist/scripts/13-081c0e5887.chunk.js +1 -0
  142. package/dist/scripts/13-54fe4fe53b.chunk.js +1 -0
  143. package/dist/scripts/13-958a8fd026.chunk.js +1 -0
  144. package/dist/scripts/13.chunk.js +380 -0
  145. package/dist/scripts/13.chunk.js.map +1 -0
  146. package/dist/scripts/14-16f84b2721.chunk.js +1 -0
  147. package/dist/scripts/14-45cd4dc6ef.chunk.js +1 -0
  148. package/dist/scripts/14-68c85d6674.chunk.js +1 -0
  149. package/dist/scripts/14.chunk.js +2386 -0
  150. package/dist/scripts/14.chunk.js.map +1 -0
  151. package/dist/scripts/15-12fa4c3471.chunk.js +1 -0
  152. package/dist/scripts/15-5544e6bde6.chunk.js +1 -0
  153. package/dist/scripts/15-8c96c3288e.chunk.js +1 -0
  154. package/dist/scripts/15.chunk.js +314 -0
  155. package/dist/scripts/15.chunk.js.map +1 -0
  156. package/dist/scripts/16-670c43d26f.chunk.js +1 -0
  157. package/dist/scripts/16-742a776f88.chunk.js +1 -0
  158. package/dist/scripts/16-7bcffb06e7.chunk.js +1 -0
  159. package/dist/scripts/16.chunk.js +1290 -0
  160. package/dist/scripts/16.chunk.js.map +1 -0
  161. package/dist/scripts/17-140fec014b.chunk.js +1 -0
  162. package/dist/scripts/17-b5e44e8b17.chunk.js +1 -0
  163. package/dist/scripts/17-f6b0159da3.chunk.js +1 -0
  164. package/dist/scripts/17.chunk.js +381 -0
  165. package/dist/scripts/17.chunk.js.map +1 -0
  166. package/dist/scripts/18.chunk.js +393 -0
  167. package/dist/scripts/18.chunk.js.map +1 -0
  168. package/dist/scripts/19.chunk.js +364 -0
  169. package/dist/scripts/19.chunk.js.map +1 -0
  170. package/dist/scripts/2-0c5fba8b60.chunk.js +1 -0
  171. package/dist/scripts/2-7cc9176e8a.chunk.js +1 -0
  172. package/dist/scripts/2.chunk.js +523 -0
  173. package/dist/scripts/2.chunk.js.map +1 -0
  174. package/dist/scripts/20-4d88ede0e0.chunk.js +1 -0
  175. package/dist/scripts/20-732a7a549d.chunk.js +1 -0
  176. package/dist/scripts/20-df9f6f7661.chunk.js +1 -0
  177. package/dist/scripts/20.chunk.js +317 -0
  178. package/dist/scripts/20.chunk.js.map +1 -0
  179. package/dist/scripts/21-0b84d33cef.chunk.js +1 -0
  180. package/dist/scripts/21-c9983ca8ad.chunk.js +1 -0
  181. package/dist/scripts/21-ee85b6d208.chunk.js +1 -0
  182. package/dist/scripts/21.chunk.js +531 -0
  183. package/dist/scripts/21.chunk.js.map +1 -0
  184. package/dist/scripts/22-151cf38018.chunk.js +1 -0
  185. package/dist/scripts/22-3b2207c8f6.chunk.js +1 -0
  186. package/dist/scripts/22-6e6ed9f607.chunk.js +1 -0
  187. package/dist/scripts/22.chunk.js +354 -0
  188. package/dist/scripts/22.chunk.js.map +1 -0
  189. package/dist/scripts/23-1af21bf234.chunk.js +1 -0
  190. package/dist/scripts/23-94f9fe4222.chunk.js +1 -0
  191. package/dist/scripts/23-ab8f73ee87.chunk.js +1 -0
  192. package/dist/scripts/23.chunk.js +604 -0
  193. package/dist/scripts/23.chunk.js.map +1 -0
  194. package/dist/scripts/24-74ab289589.chunk.js +1 -0
  195. package/dist/scripts/24-7aa9b43511.chunk.js +1 -0
  196. package/dist/scripts/24-d1ffdd4755.chunk.js +1 -0
  197. package/dist/scripts/24.chunk.js +318 -0
  198. package/dist/scripts/24.chunk.js.map +1 -0
  199. package/dist/scripts/25-5a38ce3533.chunk.js +1 -0
  200. package/dist/scripts/25-76d9011eea.chunk.js +1 -0
  201. package/dist/scripts/25-866cfc0ef5.chunk.js +1 -0
  202. package/dist/scripts/25.chunk.js +365 -0
  203. package/dist/scripts/25.chunk.js.map +1 -0
  204. package/dist/scripts/26-d166e3c313.chunk.js +1 -0
  205. package/dist/scripts/26-e53ba8e00f.chunk.js +1 -0
  206. package/dist/scripts/26-ea028a6276.chunk.js +1 -0
  207. package/dist/scripts/26.chunk.js +442 -0
  208. package/dist/scripts/26.chunk.js.map +1 -0
  209. package/dist/scripts/27-2109d41afa.chunk.js +1 -0
  210. package/dist/scripts/27-c1241fcd84.chunk.js +1 -0
  211. package/dist/scripts/27-ee88c84482.chunk.js +1 -0
  212. package/dist/scripts/27.chunk.js +3630 -0
  213. package/dist/scripts/27.chunk.js.map +1 -0
  214. package/dist/scripts/28-5c540e74cc.chunk.js +1 -0
  215. package/dist/scripts/28-76b9766891.chunk.js +1 -0
  216. package/dist/scripts/28-e490147f6b.chunk.js +1 -0
  217. package/dist/scripts/28.chunk.js +3172 -0
  218. package/dist/scripts/28.chunk.js.map +1 -0
  219. package/dist/scripts/29-2da59b1589.chunk.js +1 -0
  220. package/dist/scripts/29-69389908f8.chunk.js +1 -0
  221. package/dist/scripts/29-bb7e39304b.chunk.js +1 -0
  222. package/dist/scripts/29.chunk.js +3090 -0
  223. package/dist/scripts/29.chunk.js.map +1 -0
  224. package/dist/scripts/3-6e67dd4b74.chunk.js +1 -0
  225. package/dist/scripts/3-81b501ac1e.chunk.js +1 -0
  226. package/dist/scripts/3-c69e4454ce.chunk.js +1 -0
  227. package/dist/scripts/3.chunk.js +845 -0
  228. package/dist/scripts/3.chunk.js.map +1 -0
  229. package/dist/scripts/30-9d32d88d76.chunk.js +1 -0
  230. package/dist/scripts/30-a1df3e37da.chunk.js +1 -0
  231. package/dist/scripts/30-fa390c35f6.chunk.js +1 -0
  232. package/dist/scripts/30.chunk.js +1851 -0
  233. package/dist/scripts/30.chunk.js.map +1 -0
  234. package/dist/scripts/31-ce31250e42.chunk.js +1 -0
  235. package/dist/scripts/31-f15802825c.chunk.js +1 -0
  236. package/dist/scripts/31-fc63c4629d.chunk.js +1 -0
  237. package/dist/scripts/31.chunk.js +958 -0
  238. package/dist/scripts/31.chunk.js.map +1 -0
  239. package/dist/scripts/32-1ad8193581.chunk.js +1 -0
  240. package/dist/scripts/32-4173874dbe.chunk.js +1 -0
  241. package/dist/scripts/32-9bca57f408.chunk.js +1 -0
  242. package/dist/scripts/32.chunk.js +1235 -0
  243. package/dist/scripts/32.chunk.js.map +1 -0
  244. package/dist/scripts/33-20ac0ab4a1.chunk.js +1 -0
  245. package/dist/scripts/33-350334db4c.chunk.js +1 -0
  246. package/dist/scripts/33-7efae85b8b.chunk.js +1 -0
  247. package/dist/scripts/33.chunk.js +958 -0
  248. package/dist/scripts/33.chunk.js.map +1 -0
  249. package/dist/scripts/34-3adf309726.chunk.js +1 -0
  250. package/dist/scripts/34-c4f0495750.chunk.js +1 -0
  251. package/dist/scripts/34-f6eea83a09.chunk.js +1 -0
  252. package/dist/scripts/34.chunk.js +990 -0
  253. package/dist/scripts/34.chunk.js.map +1 -0
  254. package/dist/scripts/35-17b30890a5.chunk.js +1 -0
  255. package/dist/scripts/35-7f90628b77.chunk.js +1 -0
  256. package/dist/scripts/35-9c3899dfbd.chunk.js +1 -0
  257. package/dist/scripts/35.chunk.js +518 -0
  258. package/dist/scripts/35.chunk.js.map +1 -0
  259. package/dist/scripts/36-2ec95df618.chunk.js +1 -0
  260. package/dist/scripts/36-b5ad543fba.chunk.js +1 -0
  261. package/dist/scripts/36-cdbe95bd06.chunk.js +1 -0
  262. package/dist/scripts/36.chunk.js +335 -0
  263. package/dist/scripts/36.chunk.js.map +1 -0
  264. package/dist/scripts/37-3f3a603b60.chunk.js +1 -0
  265. package/dist/scripts/37-6fa4b8fc60.chunk.js +1 -0
  266. package/dist/scripts/37-c649a307d4.chunk.js +1 -0
  267. package/dist/scripts/37.chunk.js +236 -0
  268. package/dist/scripts/37.chunk.js.map +1 -0
  269. package/dist/scripts/38-1c98f19489.chunk.js +1 -0
  270. package/dist/scripts/38-6fc346f964.chunk.js +1 -0
  271. package/dist/scripts/38-7ffe535b0d.chunk.js +1 -0
  272. package/dist/scripts/38.chunk.js +315 -0
  273. package/dist/scripts/38.chunk.js.map +1 -0
  274. package/dist/scripts/39-13d6669c3f.chunk.js +1 -0
  275. package/dist/scripts/39-71c4bb46b2.chunk.js +1 -0
  276. package/dist/scripts/39-e5983a5d53.chunk.js +1 -0
  277. package/dist/scripts/39.chunk.js +107 -0
  278. package/dist/scripts/39.chunk.js.map +1 -0
  279. package/dist/scripts/4-435484d217.chunk.js +1 -0
  280. package/dist/scripts/4-7274621693.chunk.js +1 -0
  281. package/dist/scripts/4-85ba8523ad.chunk.js +1 -0
  282. package/dist/scripts/4.chunk.js +335 -0
  283. package/dist/scripts/4.chunk.js.map +1 -0
  284. package/dist/scripts/40-2ecbd41570.chunk.js +1 -0
  285. package/dist/scripts/40-a691a401ff.chunk.js +1 -0
  286. package/dist/scripts/40-f1d72b1049.chunk.js +1 -0
  287. package/dist/scripts/40.chunk.js +2493 -0
  288. package/dist/scripts/40.chunk.js.map +1 -0
  289. package/dist/scripts/41-0368ba16dc.chunk.js +1 -0
  290. package/dist/scripts/41-85fcb15184.chunk.js +1 -0
  291. package/dist/scripts/41-bb9aef24f7.chunk.js +1 -0
  292. package/dist/scripts/41.chunk.js +1782 -0
  293. package/dist/scripts/41.chunk.js.map +1 -0
  294. package/dist/scripts/42-389acb6e55.chunk.js +1 -0
  295. package/dist/scripts/42-3ef41f40f5.chunk.js +1 -0
  296. package/dist/scripts/42-61a626d7f4.chunk.js +1 -0
  297. package/dist/scripts/42.chunk.js +2327 -0
  298. package/dist/scripts/42.chunk.js.map +1 -0
  299. package/dist/scripts/43-2fe5b1c9cc.chunk.js +1 -0
  300. package/dist/scripts/43-49f13dab14.chunk.js +1 -0
  301. package/dist/scripts/43-a5b882d502.chunk.js +1 -0
  302. package/dist/scripts/43.chunk.js +1206 -0
  303. package/dist/scripts/43.chunk.js.map +1 -0
  304. package/dist/scripts/44-0703eb0ad8.chunk.js +1 -0
  305. package/dist/scripts/44-de22428999.chunk.js +1 -0
  306. package/dist/scripts/44-ee6a740a16.chunk.js +1 -0
  307. package/dist/scripts/44.chunk.js +2245 -0
  308. package/dist/scripts/44.chunk.js.map +1 -0
  309. package/dist/scripts/45-806dd5b78c.chunk.js +1 -0
  310. package/dist/scripts/45-da34a8b6b2.chunk.js +1 -0
  311. package/dist/scripts/45-e4a92a40fd.chunk.js +1 -0
  312. package/dist/scripts/45.chunk.js +1065 -0
  313. package/dist/scripts/45.chunk.js.map +1 -0
  314. package/dist/scripts/46-4aa05464fe.chunk.js +1 -0
  315. package/dist/scripts/46-cccef3e874.chunk.js +1 -0
  316. package/dist/scripts/46-ebf8eee4ac.chunk.js +1 -0
  317. package/dist/scripts/46.chunk.js +655 -0
  318. package/dist/scripts/46.chunk.js.map +1 -0
  319. package/dist/scripts/47-1e3d829757.chunk.js +1 -0
  320. package/dist/scripts/47-56d22af6ba.chunk.js +1 -0
  321. package/dist/scripts/47-c61fa52c53.chunk.js +1 -0
  322. package/dist/scripts/47.chunk.js +736 -0
  323. package/dist/scripts/47.chunk.js.map +1 -0
  324. package/dist/scripts/48-877e9e02b8.chunk.js +1 -0
  325. package/dist/scripts/48-e05ab3ecac.chunk.js +1 -0
  326. package/dist/scripts/48-fc96b968fc.chunk.js +1 -0
  327. package/dist/scripts/48.chunk.js +994 -0
  328. package/dist/scripts/48.chunk.js.map +1 -0
  329. package/dist/scripts/49-13c5f8e87d.chunk.js +1 -0
  330. package/dist/scripts/49-4a6c119f58.chunk.js +1 -0
  331. package/dist/scripts/49-f9151c7e06.chunk.js +1 -0
  332. package/dist/scripts/49.chunk.js +761 -0
  333. package/dist/scripts/49.chunk.js.map +1 -0
  334. package/dist/scripts/5-1ba89c4774.chunk.js +1 -0
  335. package/dist/scripts/5-515b264fbc.chunk.js +1 -0
  336. package/dist/scripts/5-d6a7d71167.chunk.js +1 -0
  337. package/dist/scripts/5.chunk.js +15 -0
  338. package/dist/scripts/5.chunk.js.map +1 -0
  339. package/dist/scripts/50-0741587a02.chunk.js +1 -0
  340. package/dist/scripts/50-3924907655.chunk.js +1 -0
  341. package/dist/scripts/50-4de0b758d5.chunk.js +1 -0
  342. package/dist/scripts/50.chunk.js +530 -0
  343. package/dist/scripts/50.chunk.js.map +1 -0
  344. package/dist/scripts/51-a5f1309ada.chunk.js +1 -0
  345. package/dist/scripts/51-dca2a9cc86.chunk.js +1 -0
  346. package/dist/scripts/51-ea33746146.chunk.js +1 -0
  347. package/dist/scripts/51.chunk.js +932 -0
  348. package/dist/scripts/51.chunk.js.map +1 -0
  349. package/dist/scripts/52-50230b48c8.chunk.js +1 -0
  350. package/dist/scripts/52-a3c8ed29ca.chunk.js +1 -0
  351. package/dist/scripts/52-bc48f1f9e8.chunk.js +1 -0
  352. package/dist/scripts/52.chunk.js +408 -0
  353. package/dist/scripts/52.chunk.js.map +1 -0
  354. package/dist/scripts/53-0e253f9f3e.chunk.js +1 -0
  355. package/dist/scripts/53-36007500cf.chunk.js +1 -0
  356. package/dist/scripts/53-d8f0dea552.chunk.js +1 -0
  357. package/dist/scripts/53.chunk.js +756 -0
  358. package/dist/scripts/53.chunk.js.map +1 -0
  359. package/dist/scripts/54-7cdbdcebf9.chunk.js +1 -0
  360. package/dist/scripts/54-d1bc70c7b5.chunk.js +1 -0
  361. package/dist/scripts/54-ead54d0b34.chunk.js +1 -0
  362. package/dist/scripts/54.chunk.js +681 -0
  363. package/dist/scripts/54.chunk.js.map +1 -0
  364. package/dist/scripts/55-3c60601030.chunk.js +1 -0
  365. package/dist/scripts/55-a5fa20b497.chunk.js +1 -0
  366. package/dist/scripts/55-e29d6a6ba9.chunk.js +1 -0
  367. package/dist/scripts/55.chunk.js +645 -0
  368. package/dist/scripts/55.chunk.js.map +1 -0
  369. package/dist/scripts/56-36d54fa08f.chunk.js +1 -0
  370. package/dist/scripts/56-370078d597.chunk.js +1 -0
  371. package/dist/scripts/56-df0a32000b.chunk.js +1 -0
  372. package/dist/scripts/56.chunk.js +346 -0
  373. package/dist/scripts/56.chunk.js.map +1 -0
  374. package/dist/scripts/57-6e622c6480.chunk.js +1 -0
  375. package/dist/scripts/57-a4f4d6fe41.chunk.js +1 -0
  376. package/dist/scripts/57-c1faec8b32.chunk.js +1 -0
  377. package/dist/scripts/57.chunk.js +422 -0
  378. package/dist/scripts/57.chunk.js.map +1 -0
  379. package/dist/scripts/58-17706ccb46.chunk.js +1 -0
  380. package/dist/scripts/58-a0fe201826.chunk.js +1 -0
  381. package/dist/scripts/58-e996405f2b.chunk.js +1 -0
  382. package/dist/scripts/58.chunk.js +437 -0
  383. package/dist/scripts/58.chunk.js.map +1 -0
  384. package/dist/scripts/59-0a7bdc86b0.chunk.js +1 -0
  385. package/dist/scripts/59-381a49ed7f.chunk.js +1 -0
  386. package/dist/scripts/59-4f2fcb6412.chunk.js +1 -0
  387. package/dist/scripts/59.chunk.js +342 -0
  388. package/dist/scripts/59.chunk.js.map +1 -0
  389. package/dist/scripts/6-40c8ba5007.chunk.js +1 -0
  390. package/dist/scripts/6-51a379e066.chunk.js +1 -0
  391. package/dist/scripts/6-b3d36065dc.chunk.js +1 -0
  392. package/dist/scripts/6.chunk.js +484 -0
  393. package/dist/scripts/6.chunk.js.map +1 -0
  394. package/dist/scripts/60-0d8896555f.chunk.js +1 -0
  395. package/dist/scripts/60-b4a91c86fa.chunk.js +1 -0
  396. package/dist/scripts/60-c57f161f18.chunk.js +1 -0
  397. package/dist/scripts/60.chunk.js +254 -0
  398. package/dist/scripts/60.chunk.js.map +1 -0
  399. package/dist/scripts/61-5d6e59d408.chunk.js +1 -0
  400. package/dist/scripts/61-7d81d27c31.chunk.js +1 -0
  401. package/dist/scripts/61-a342a0d501.chunk.js +1 -0
  402. package/dist/scripts/61.chunk.js +408 -0
  403. package/dist/scripts/61.chunk.js.map +1 -0
  404. package/dist/scripts/62-758f5e505b.chunk.js +1 -0
  405. package/dist/scripts/62-b572d8b80d.chunk.js +1 -0
  406. package/dist/scripts/62-f5fd35fdc0.chunk.js +1 -0
  407. package/dist/scripts/62.chunk.js +142 -0
  408. package/dist/scripts/62.chunk.js.map +1 -0
  409. package/dist/scripts/63-568008965e.chunk.js +1 -0
  410. package/dist/scripts/63-6700b4d00a.chunk.js +1 -0
  411. package/dist/scripts/63-c88b9860e9.chunk.js +1 -0
  412. package/dist/scripts/63.chunk.js +147 -0
  413. package/dist/scripts/63.chunk.js.map +1 -0
  414. package/dist/scripts/64-9c88ee6161.chunk.js +1 -0
  415. package/dist/scripts/64-e177d4c971.chunk.js +1 -0
  416. package/dist/scripts/64-fa2facacbb.chunk.js +1 -0
  417. package/dist/scripts/64.chunk.js +439 -0
  418. package/dist/scripts/64.chunk.js.map +1 -0
  419. package/dist/scripts/65-93567fe088.chunk.js +1 -0
  420. package/dist/scripts/65-e4568d1f06.chunk.js +1 -0
  421. package/dist/scripts/65-f750573f69.chunk.js +1 -0
  422. package/dist/scripts/65.chunk.js +582 -0
  423. package/dist/scripts/65.chunk.js.map +1 -0
  424. package/dist/scripts/66-c84a3a3c3f.chunk.js +1 -0
  425. package/dist/scripts/66-f325ff3187.chunk.js +1 -0
  426. package/dist/scripts/66-f6d213b33c.chunk.js +1 -0
  427. package/dist/scripts/66.chunk.js +442 -0
  428. package/dist/scripts/66.chunk.js.map +1 -0
  429. package/dist/scripts/67-3c9628d296.chunk.js +1 -0
  430. package/dist/scripts/67-97c694c3d5.chunk.js +1 -0
  431. package/dist/scripts/67-c5af18680c.chunk.js +1 -0
  432. package/dist/scripts/67.chunk.js +295 -0
  433. package/dist/scripts/67.chunk.js.map +1 -0
  434. package/dist/scripts/68-488cd1552f.chunk.js +1 -0
  435. package/dist/scripts/68-7b1d5e8e75.chunk.js +1 -0
  436. package/dist/scripts/68-eb8700aeb1.chunk.js +1 -0
  437. package/dist/scripts/68.chunk.js +165 -0
  438. package/dist/scripts/68.chunk.js.map +1 -0
  439. package/dist/scripts/69-3d2063cd0f.chunk.js +1 -0
  440. package/dist/scripts/69-b0ea71d7c5.chunk.js +1 -0
  441. package/dist/scripts/69-be2be90b7c.chunk.js +1 -0
  442. package/dist/scripts/69.chunk.js +248 -0
  443. package/dist/scripts/69.chunk.js.map +1 -0
  444. package/dist/scripts/7-3151397d74.chunk.js +1 -0
  445. package/dist/scripts/7-aac8c84ccb.chunk.js +1 -0
  446. package/dist/scripts/7-dfddb8ffa8.chunk.js +1 -0
  447. package/dist/scripts/7.chunk.js +309 -0
  448. package/dist/scripts/7.chunk.js.map +1 -0
  449. package/dist/scripts/70-27e9e5792a.chunk.js +1 -0
  450. package/dist/scripts/70-39dc936989.chunk.js +1 -0
  451. package/dist/scripts/70-e6ebb44667.chunk.js +1 -0
  452. package/dist/scripts/70.chunk.js +207 -0
  453. package/dist/scripts/70.chunk.js.map +1 -0
  454. package/dist/scripts/71-8e3682a7d7.chunk.js +1 -0
  455. package/dist/scripts/71-a80858069c.chunk.js +1 -0
  456. package/dist/scripts/71-c5923e2d2d.chunk.js +1 -0
  457. package/dist/scripts/71.chunk.js +237 -0
  458. package/dist/scripts/71.chunk.js.map +1 -0
  459. package/dist/scripts/72-245f28bf97.chunk.js +1 -0
  460. package/dist/scripts/72-550438db4e.chunk.js +1 -0
  461. package/dist/scripts/72-65364adff1.chunk.js +1 -0
  462. package/dist/scripts/72.chunk.js +331 -0
  463. package/dist/scripts/72.chunk.js.map +1 -0
  464. package/dist/scripts/73.chunk.js +404 -0
  465. package/dist/scripts/73.chunk.js.map +1 -0
  466. package/dist/scripts/74.chunk.js +301 -0
  467. package/dist/scripts/74.chunk.js.map +1 -0
  468. package/dist/scripts/75.chunk.js +231 -0
  469. package/dist/scripts/75.chunk.js.map +1 -0
  470. package/dist/scripts/76.chunk.js +157 -0
  471. package/dist/scripts/76.chunk.js.map +1 -0
  472. package/dist/scripts/77.chunk.js +307 -0
  473. package/dist/scripts/77.chunk.js.map +1 -0
  474. package/dist/scripts/78.chunk.js +249 -0
  475. package/dist/scripts/78.chunk.js.map +1 -0
  476. package/dist/scripts/79.chunk.js +282 -0
  477. package/dist/scripts/79.chunk.js.map +1 -0
  478. package/dist/scripts/8-c4955c2009.chunk.js +1 -0
  479. package/dist/scripts/8-d46f48d03c.chunk.js +1 -0
  480. package/dist/scripts/8-e5d19252c8.chunk.js +1 -0
  481. package/dist/scripts/8.chunk.js +307 -0
  482. package/dist/scripts/8.chunk.js.map +1 -0
  483. package/dist/scripts/80.chunk.js +308 -0
  484. package/dist/scripts/80.chunk.js.map +1 -0
  485. package/dist/scripts/81.chunk.js +366 -0
  486. package/dist/scripts/81.chunk.js.map +1 -0
  487. package/dist/scripts/82.chunk.js +314 -0
  488. package/dist/scripts/82.chunk.js.map +1 -0
  489. package/dist/scripts/83.chunk.js +328 -0
  490. package/dist/scripts/83.chunk.js.map +1 -0
  491. package/dist/scripts/84.chunk.js +313 -0
  492. package/dist/scripts/84.chunk.js.map +1 -0
  493. package/dist/scripts/85.chunk.js +291 -0
  494. package/dist/scripts/85.chunk.js.map +1 -0
  495. package/dist/scripts/86.chunk.js +119 -0
  496. package/dist/scripts/86.chunk.js.map +1 -0
  497. package/dist/scripts/87.chunk.js +219 -0
  498. package/dist/scripts/87.chunk.js.map +1 -0
  499. package/dist/scripts/88.chunk.js +194 -0
  500. package/dist/scripts/88.chunk.js.map +1 -0
  501. package/dist/scripts/89.chunk.js +522 -0
  502. package/dist/scripts/89.chunk.js.map +1 -0
  503. package/dist/scripts/9-4589726554.chunk.js +1 -0
  504. package/dist/scripts/9-66021549bd.chunk.js +1 -0
  505. package/dist/scripts/9-df99ba6ce1.chunk.js +1 -0
  506. package/dist/scripts/9.chunk.js +222 -0
  507. package/dist/scripts/9.chunk.js.map +1 -0
  508. package/dist/scripts/90.chunk.js +337 -0
  509. package/dist/scripts/90.chunk.js.map +1 -0
  510. package/dist/scripts/91.chunk.js +131 -0
  511. package/dist/scripts/91.chunk.js.map +1 -0
  512. package/dist/scripts/92.chunk.js +266 -0
  513. package/dist/scripts/92.chunk.js.map +1 -0
  514. package/dist/scripts/bundle-1b984e2fd9.min.js +8 -0
  515. package/dist/scripts/{bundle-8862b095c0.min.js → bundle-203920eb14.min.js} +1 -1
  516. package/dist/scripts/bundle-7d13ba933b.min.js +8 -0
  517. package/dist/scripts/bundle-d5b23160b1.min.js +8 -0
  518. package/dist/scripts/bundle.js +67100 -0
  519. package/dist/scripts/bundle.js.map +1 -0
  520. package/dist/scripts/bundles.json +2 -2
  521. package/dist/scripts/polyfills-9b0be1bd72.min.js +1 -0
  522. package/dist/scripts/polyfills-cd3d0a9f6d.min.js +1 -0
  523. package/dist/scripts/polyfills-d891a77823.min.js +1 -0
  524. package/dist/scripts/polyfills.js +14866 -0
  525. package/dist/scripts/polyfills.js.map +1 -0
  526. package/package.json +2 -2
  527. /package/dist/scripts/{0-1deffb42bf.chunk.js → 0-8b75adf540.chunk.js} +0 -0
  528. /package/dist/scripts/{1-a4065968c1.chunk.js → 1-22a3bd404f.chunk.js} +0 -0
  529. /package/dist/scripts/{10-0adc529f9b.chunk.js → 10-31317a2d02.chunk.js} +0 -0
  530. /package/dist/scripts/{12-18ae0dfa89.chunk.js → 12-6ecdd79b85.chunk.js} +0 -0
  531. /package/dist/scripts/{13-a9ed73e93d.chunk.js → 13-282f8add17.chunk.js} +0 -0
  532. /package/dist/scripts/{14-e0828acdfa.chunk.js → 14-5e443cb402.chunk.js} +0 -0
  533. /package/dist/scripts/{15-c67caabb0a.chunk.js → 15-1f779dd0d3.chunk.js} +0 -0
  534. /package/dist/scripts/{16-31fefb2cac.chunk.js → 16-427a8933c8.chunk.js} +0 -0
  535. /package/dist/scripts/{17-b9c5bbda43.chunk.js → 17-7093f50dff.chunk.js} +0 -0
  536. /package/dist/scripts/{20-2bca62d1c0.chunk.js → 20-a84733c89f.chunk.js} +0 -0
  537. /package/dist/scripts/{21-c70d40dc61.chunk.js → 21-9b28a13702.chunk.js} +0 -0
  538. /package/dist/scripts/{22-0e9dca307f.chunk.js → 22-082c94a39c.chunk.js} +0 -0
  539. /package/dist/scripts/{23-b4a5ffb3a6.chunk.js → 23-2b00ff99bf.chunk.js} +0 -0
  540. /package/dist/scripts/{24-88056bc5c9.chunk.js → 24-c94049500e.chunk.js} +0 -0
  541. /package/dist/scripts/{25-ec294abf37.chunk.js → 25-34c0406f50.chunk.js} +0 -0
  542. /package/dist/scripts/{26-2a038b6df5.chunk.js → 26-d19e3f755c.chunk.js} +0 -0
  543. /package/dist/scripts/{27-9f06d5bb5d.chunk.js → 27-3aa629dd67.chunk.js} +0 -0
  544. /package/dist/scripts/{28-4e62071464.chunk.js → 28-738b88c816.chunk.js} +0 -0
  545. /package/dist/scripts/{29-5ab940b23f.chunk.js → 29-3faa153e38.chunk.js} +0 -0
  546. /package/dist/scripts/{3-dbf1f0bdbc.chunk.js → 3-42e8af9f39.chunk.js} +0 -0
  547. /package/dist/scripts/{30-87ec7ee868.chunk.js → 30-109f8ddd5c.chunk.js} +0 -0
  548. /package/dist/scripts/{31-24f9dc350e.chunk.js → 31-639090fee3.chunk.js} +0 -0
  549. /package/dist/scripts/{32-a06209da52.chunk.js → 32-3de9c7454b.chunk.js} +0 -0
  550. /package/dist/scripts/{33-c33020ec6f.chunk.js → 33-675467f07d.chunk.js} +0 -0
  551. /package/dist/scripts/{34-116a50814d.chunk.js → 34-0a7f3b55fe.chunk.js} +0 -0
  552. /package/dist/scripts/{35-33ea39c18e.chunk.js → 35-4254e160f0.chunk.js} +0 -0
  553. /package/dist/scripts/{36-ccb493b3f6.chunk.js → 36-1fde696d6a.chunk.js} +0 -0
  554. /package/dist/scripts/{37-bb5a5bdad3.chunk.js → 37-97b84a8be5.chunk.js} +0 -0
  555. /package/dist/scripts/{38-64d5f34871.chunk.js → 38-0cf8029bec.chunk.js} +0 -0
  556. /package/dist/scripts/{39-14259bc6fe.chunk.js → 39-748eb61732.chunk.js} +0 -0
  557. /package/dist/scripts/{4-dbbff4289b.chunk.js → 4-5c50e71b83.chunk.js} +0 -0
  558. /package/dist/scripts/{40-ea678bbe5b.chunk.js → 40-2691dfbd5a.chunk.js} +0 -0
  559. /package/dist/scripts/{41-2d35060d0e.chunk.js → 41-1df587ee3a.chunk.js} +0 -0
  560. /package/dist/scripts/{42-898076e213.chunk.js → 42-3480033857.chunk.js} +0 -0
  561. /package/dist/scripts/{43-0616177a42.chunk.js → 43-72d1bc0ae2.chunk.js} +0 -0
  562. /package/dist/scripts/{44-861ac46f36.chunk.js → 44-756fd6622b.chunk.js} +0 -0
  563. /package/dist/scripts/{45-7446535f17.chunk.js → 45-610d098194.chunk.js} +0 -0
  564. /package/dist/scripts/{46-26620d2a5f.chunk.js → 46-cadf3f46ee.chunk.js} +0 -0
  565. /package/dist/scripts/{47-a4034122c9.chunk.js → 47-22a83e5974.chunk.js} +0 -0
  566. /package/dist/scripts/{48-76b2c74863.chunk.js → 48-e577124476.chunk.js} +0 -0
  567. /package/dist/scripts/{49-505e968070.chunk.js → 49-0f9a6a1782.chunk.js} +0 -0
  568. /package/dist/scripts/{5-2051149282.chunk.js → 5-06b97501c3.chunk.js} +0 -0
  569. /package/dist/scripts/{50-5fc4da3bc5.chunk.js → 50-0d5aed7730.chunk.js} +0 -0
  570. /package/dist/scripts/{51-fc0310c5cd.chunk.js → 51-cd37c8efa2.chunk.js} +0 -0
  571. /package/dist/scripts/{52-bf7eecfbac.chunk.js → 52-8b53a5c0b1.chunk.js} +0 -0
  572. /package/dist/scripts/{53-ec51fba164.chunk.js → 53-54b0df474f.chunk.js} +0 -0
  573. /package/dist/scripts/{54-d3990092dd.chunk.js → 54-dd4d101665.chunk.js} +0 -0
  574. /package/dist/scripts/{55-e4665da63e.chunk.js → 55-078bb9b0ea.chunk.js} +0 -0
  575. /package/dist/scripts/{56-21b33b42c3.chunk.js → 56-7a6c662f14.chunk.js} +0 -0
  576. /package/dist/scripts/{57-07deff9444.chunk.js → 57-0e126120b9.chunk.js} +0 -0
  577. /package/dist/scripts/{58-68ca09ffdf.chunk.js → 58-5729cbaa5c.chunk.js} +0 -0
  578. /package/dist/scripts/{59-c7705e6551.chunk.js → 59-333f38ee3b.chunk.js} +0 -0
  579. /package/dist/scripts/{6-9bc788ce4c.chunk.js → 6-1045293de4.chunk.js} +0 -0
  580. /package/dist/scripts/{60-319578f49a.chunk.js → 60-b17c6609cd.chunk.js} +0 -0
  581. /package/dist/scripts/{61-25fcfd00c9.chunk.js → 61-57fa6b5248.chunk.js} +0 -0
  582. /package/dist/scripts/{62-d07ddf14ff.chunk.js → 62-67458b7fb4.chunk.js} +0 -0
  583. /package/dist/scripts/{63-08c93c2e53.chunk.js → 63-420b10f5f2.chunk.js} +0 -0
  584. /package/dist/scripts/{64-ffead99364.chunk.js → 64-e6598113a7.chunk.js} +0 -0
  585. /package/dist/scripts/{65-86eee87750.chunk.js → 65-a7e499ceee.chunk.js} +0 -0
  586. /package/dist/scripts/{66-79a4d8629a.chunk.js → 66-f00f29ccae.chunk.js} +0 -0
  587. /package/dist/scripts/{67-bc34473155.chunk.js → 67-1ebaab7a2d.chunk.js} +0 -0
  588. /package/dist/scripts/{68-c3fe0c028e.chunk.js → 68-38a6d7fb50.chunk.js} +0 -0
  589. /package/dist/scripts/{69-f4f1f07045.chunk.js → 69-870856c6fb.chunk.js} +0 -0
  590. /package/dist/scripts/{7-74c0fcd6fe.chunk.js → 7-d41d3bf60c.chunk.js} +0 -0
  591. /package/dist/scripts/{70-4681989887.chunk.js → 70-6ef72cd9b6.chunk.js} +0 -0
  592. /package/dist/scripts/{71-8ae59fd304.chunk.js → 71-4e4a47d601.chunk.js} +0 -0
  593. /package/dist/scripts/{72-8615720ce0.chunk.js → 72-0a6c88f9fe.chunk.js} +0 -0
  594. /package/dist/scripts/{8-039e714b81.chunk.js → 8-7278f3247c.chunk.js} +0 -0
  595. /package/dist/scripts/{9-e76ba48df5.chunk.js → 9-576592d419.chunk.js} +0 -0
  596. /package/dist/scripts/{polyfills-57fccaae30.min.js → polyfills-5a81b67408.min.js} +0 -0
@@ -0,0 +1,165 @@
1
+ (window["webpackJsonp_clickview_library_editor"] = window["webpackJsonp_clickview_library_editor"] || []).push([[68],{
2
+
3
+ /***/ "./src/apps/migration-wizard/views/publish-library-complete/PublishLibraryComplete.hbs":
4
+ /*!*********************************************************************************************!*\
5
+ !*** ./src/apps/migration-wizard/views/publish-library-complete/PublishLibraryComplete.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({"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
12
+ var stack1, alias1=container.propertyIsEnumerable, alias2=container.lambda, alias3=container.escapeExpression, alias4=depth0 != null ? depth0 : (container.nullContext || {}), alias5=container.hooks.helperMissing;
13
+
14
+ return "<div class=\""
15
+ + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.middle : stack1), depth0))
16
+ + "\">\r\n <img src=\"/images/checked.png\" class=\"p-3 "
17
+ + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.checkedImage : stack1), depth0))
18
+ + "\">\r\n <h4>"
19
+ + alias3((helpers.lang||(depth0 && depth0.lang)||alias5).call(alias4,"complete",{"name":"lang","hash":{},"data":data}))
20
+ + "</h4>\r\n <p>\r\n "
21
+ + alias3((helpers.lang||(depth0 && depth0.lang)||alias5).call(alias4,"newLibraryNote",{"name":"lang","hash":{},"data":data}))
22
+ + "\r\n </p>\r\n <a class=\"btn btn-primary link-to-online\" href=\""
23
+ + alias3(alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.onlineUrl : stack1), depth0))
24
+ + "\" target=\"_blank\">"
25
+ + alias3((helpers.lang||(depth0 && depth0.lang)||alias5).call(alias4,"checkItOut",{"name":"lang","hash":{},"data":data}))
26
+ + "</a>\r\n</div>";
27
+ },"useData":true});
28
+
29
+ /***/ }),
30
+
31
+ /***/ "./src/apps/migration-wizard/views/publish-library-complete/PublishLibraryCompleteView.ts":
32
+ /*!************************************************************************************************!*\
33
+ !*** ./src/apps/migration-wizard/views/publish-library-complete/PublishLibraryCompleteView.ts ***!
34
+ \************************************************************************************************/
35
+ /*! exports provided: PublishLibraryCompleteView */
36
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
37
+
38
+ "use strict";
39
+ __webpack_require__.r(__webpack_exports__);
40
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PublishLibraryCompleteView", function() { return PublishLibraryCompleteView; });
41
+ /* harmony import */ var _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone */ "../../libs/common/src/backbone/index.ts");
42
+ /* harmony import */ var _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone/services/LanguageService */ "../../libs/common/src/backbone/services/LanguageService.tsx");
43
+ /* harmony import */ var _libs_common_src_backbone_utils_UrlHelper__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone/utils/UrlHelper */ "../../libs/common/src/backbone/utils/UrlHelper.ts");
44
+ /* harmony import */ var _shared_services_ConfigDataService__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../shared/services/ConfigDataService */ "./src/shared/services/ConfigDataService.ts");
45
+ /* harmony import */ var _shared_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../shared/constants */ "./src/shared/constants/index.ts");
46
+ /* harmony import */ var _PublishLibraryComplete_hbs__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./PublishLibraryComplete.hbs */ "./src/apps/migration-wizard/views/publish-library-complete/PublishLibraryComplete.hbs");
47
+ /* harmony import */ var _PublishLibraryComplete_hbs__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_PublishLibraryComplete_hbs__WEBPACK_IMPORTED_MODULE_5__);
48
+ /* harmony import */ var _publish_library_complete_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./publish-library-complete.scss */ "./src/apps/migration-wizard/views/publish-library-complete/publish-library-complete.scss");
49
+ /* harmony import */ var _publish_library_complete_scss__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_publish_library_complete_scss__WEBPACK_IMPORTED_MODULE_6__);
50
+ 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); }
51
+
52
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
53
+
54
+ 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); } }
55
+
56
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
57
+
58
+ 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); }
59
+
60
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
61
+
62
+ 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); }; }
63
+
64
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
65
+
66
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
67
+
68
+ 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; } }
69
+
70
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
71
+
72
+
73
+
74
+
75
+
76
+
77
+
78
+
79
+ var PublishLibraryCompleteView = /*#__PURE__*/function (_Core$View) {
80
+ _inherits(PublishLibraryCompleteView, _Core$View);
81
+
82
+ var _super = _createSuper(PublishLibraryCompleteView);
83
+
84
+ function PublishLibraryCompleteView() {
85
+ _classCallCheck(this, PublishLibraryCompleteView);
86
+
87
+ return _super.apply(this, arguments);
88
+ }
89
+
90
+ _createClass(PublishLibraryCompleteView, [{
91
+ key: "events",
92
+ value: function events() {
93
+ return {
94
+ 'click .link-to-online': 'onClickLinkToOnline'
95
+ };
96
+ }
97
+ }, {
98
+ key: "onClickLinkToOnline",
99
+ value: function onClickLinkToOnline() {
100
+ _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__["Core"].AppLinkHelper.trigger({
101
+ application: _shared_constants__WEBPACK_IMPORTED_MODULE_4__["AppChannels"].LIBRARY_EDITOR,
102
+ action: _shared_constants__WEBPACK_IMPORTED_MODULE_4__["Actions"].LibraryEditor.HOME
103
+ });
104
+ }
105
+ }, {
106
+ key: "viewOptions",
107
+ value: function viewOptions() {
108
+ return {
109
+ styles: _publish_library_complete_scss__WEBPACK_IMPORTED_MODULE_6___default.a,
110
+ onlineUrl: _libs_common_src_backbone_utils_UrlHelper__WEBPACK_IMPORTED_MODULE_2__["UrlHelper"].safeUrlConcat(this.config.get('onlineUrl'), 'libraries')
111
+ };
112
+ }
113
+ }, {
114
+ key: "name",
115
+ get: function get() {
116
+ return 'PublishLibraryCompleteView';
117
+ }
118
+ }, {
119
+ key: "title",
120
+ get: function get() {
121
+ return _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_1__["LanguageService"].getPhrase(this.lang, 'title');
122
+ }
123
+ }, {
124
+ key: "lang",
125
+ get: function get() {
126
+ return 'migrationWizard.publishLibraryComplete';
127
+ }
128
+ }, {
129
+ key: "template",
130
+ get: function get() {
131
+ return _PublishLibraryComplete_hbs__WEBPACK_IMPORTED_MODULE_5___default.a;
132
+ }
133
+ }, {
134
+ key: "className",
135
+ get: function get() {
136
+ return "container text-center p-4 bg-white ".concat(_publish_library_complete_scss__WEBPACK_IMPORTED_MODULE_6___default.a.migrationBackupContainer, " ").concat(_publish_library_complete_scss__WEBPACK_IMPORTED_MODULE_6___default.a.complete);
137
+ }
138
+ }, {
139
+ key: "requiredResources",
140
+ get: function get() {
141
+ return {
142
+ config: _shared_services_ConfigDataService__WEBPACK_IMPORTED_MODULE_3__["ConfigDataServiceHelper"].config
143
+ };
144
+ }
145
+ }]);
146
+
147
+ return PublishLibraryCompleteView;
148
+ }(_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__["Core"].View);
149
+
150
+ /***/ }),
151
+
152
+ /***/ "./src/apps/migration-wizard/views/publish-library-complete/publish-library-complete.scss":
153
+ /*!************************************************************************************************!*\
154
+ !*** ./src/apps/migration-wizard/views/publish-library-complete/publish-library-complete.scss ***!
155
+ \************************************************************************************************/
156
+ /*! no static exports found */
157
+ /***/ (function(module, exports, __webpack_require__) {
158
+
159
+ // extracted by mini-css-extract-plugin
160
+ module.exports = {"complete":"cv--complete--2A6IC","middle":"cv--middle--1R3SI","checkedImage":"cv--checkedImage--2Vb1u","migrationBackupContainer":"cv--migrationBackupContainer--26fzE"};
161
+
162
+ /***/ })
163
+
164
+ }]);
165
+ //# sourceMappingURL=68.chunk.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/migration-wizard/views/publish-library-complete/PublishLibraryComplete.hbs","file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/migration-wizard/views/publish-library-complete/PublishLibraryCompleteView.ts","webpack://@clickview/library-editor/./src/apps/migration-wizard/views/publish-library-complete/publish-library-complete.scss?a72b"],"names":[],"mappings":";;;;;;;;;AAAA,iBAAiB,mBAAO,CAAC,8BAAY;AACrC,iEAAiE;AACjE,gLAAgL;;AAEhL;AACA;AACA;AACA;AACA;AACA,qFAAqF,uBAAuB,aAAa;AACzH;AACA,2FAA2F,uBAAuB,aAAa;AAC/H;AACA;AACA;AACA,uFAAuF,uBAAuB,aAAa;AAC3H;AACA,CAAC,gBAAgB,E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACjBjB;AACA;AACA;AAGA;AAEA;AAEA;AACA;AAEO,IAAM,0BAAb;AAAA;;AAAA;;AAAA;AAAA;;AAAA;AAAA;;AAAA;AAAA;AAAA,6BAuBe;AACX,aAAO;AACL,iCAAyB;AADpB,OAAP;AAGD;AA3BH;AAAA;AAAA,0CA6B6B;AACzB,oEAAI,CAAC,aAAL,CAAmB,OAAnB,CAA2B;AACzB,mBAAW,EAAE,6DAAW,CAAC,cADA;AAEzB,cAAM,EAAE,yDAAO,CAAC,aAAR,CAAsB;AAFL,OAA3B;AAID;AAlCH;AAAA;AAAA,kCA0CoB;AAChB,aAAO;AACL,cAAM,EAAN,qEADK;AAEL,iBAAS,EAAE,mFAAS,CAAC,aAAV,CAAwB,KAAK,MAAL,CAAY,GAAZ,CAAgB,WAAhB,CAAxB,EAAsD,WAAtD;AAFN,OAAP;AAID;AA/CH;AAAA;AAAA,wBAGiB;AACb,aAAO,4BAAP;AACD;AALH;AAAA;AAAA,wBAOkB;AACd,aAAO,kGAAe,CAAC,SAAhB,CAA0B,KAAK,IAA/B,EAAqC,OAArC,CAAP;AACD;AATH;AAAA;AAAA,wBAWiB;AACb,aAAO,wCAAP;AACD;AAbH;AAAA;AAAA,wBAeqB;AACjB,aAAO,kEAAP;AACD;AAjBH;AAAA;AAAA,wBAmBsB;AAClB,0DAA6C,qEAAM,CAAC,wBAApD,cAAgF,qEAAM,CAAC,QAAvF;AACD;AArBH;AAAA;AAAA,wBAoC8B;AAC1B,aAAO;AACL,cAAM,EAAE,0FAAuB,CAAC;AAD3B,OAAP;AAGD;AAxCH;;AAAA;AAAA,EAAgD,8DAAI,CAAC,IAArD,E;;;;;;;;;;;ACZA;AACA,kBAAkB,yK","file":"scripts/68.chunk.js","sourcesContent":["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=container.lambda, alias3=container.escapeExpression, alias4=depth0 != null ? depth0 : (container.nullContext || {}), alias5=container.hooks.helperMissing;\n\n return \"<div class=\\\"\"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.middle : stack1), depth0))\n + \"\\\">\\r\\n <img src=\\\"/images/checked.png\\\" class=\\\"p-3 \"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.checkedImage : stack1), depth0))\n + \"\\\">\\r\\n <h4>\"\n + alias3((helpers.lang||(depth0 && depth0.lang)||alias5).call(alias4,\"complete\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</h4>\\r\\n <p>\\r\\n \"\n + alias3((helpers.lang||(depth0 && depth0.lang)||alias5).call(alias4,\"newLibraryNote\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"\\r\\n </p>\\r\\n <a class=\\\"btn btn-primary link-to-online\\\" href=\\\"\"\n + alias3(alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.onlineUrl : stack1), depth0))\n + \"\\\" target=\\\"_blank\\\">\"\n + alias3((helpers.lang||(depth0 && depth0.lang)||alias5).call(alias4,\"checkItOut\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</a>\\r\\n</div>\";\n},\"useData\":true});","import { Core } from 'libs/common/core';\r\nimport { LanguageService } from 'libs/common/backbone/services/LanguageService';\r\nimport { UrlHelper } from 'libs/common/backbone/utils/UrlHelper';\r\nimport { ObjectHash } from 'backbone';\r\n\r\nimport { ConfigDataServiceHelper } from 'shared/services/ConfigDataService';\r\nimport { Config } from 'shared/models/Config';\r\nimport { AppChannels, Actions } from 'shared/constants';\r\n\r\nimport PublishLibraryCompleteTemplate from './PublishLibraryComplete.hbs';\r\nimport styles from './publish-library-complete.scss';\r\n\r\nexport class PublishLibraryCompleteView extends Core.View {\r\n public config: Config;\r\n\r\n public get name(): string {\r\n return 'PublishLibraryCompleteView';\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.publishLibraryComplete';\r\n }\r\n\r\n public get template(): any {\r\n return PublishLibraryCompleteTemplate;\r\n }\r\n\r\n public get className(): string {\r\n return `container text-center p-4 bg-white ${styles.migrationBackupContainer} ${styles.complete}`;\r\n }\r\n\r\n public events(): ObjectHash {\r\n return {\r\n 'click .link-to-online': 'onClickLinkToOnline'\r\n };\r\n }\r\n\r\n private onClickLinkToOnline(): void {\r\n Core.AppLinkHelper.trigger({\r\n application: AppChannels.LIBRARY_EDITOR,\r\n action: Actions.LibraryEditor.HOME\r\n });\r\n }\r\n\r\n public get requiredResources(): Core.RequiredResourceHash {\r\n return {\r\n config: ConfigDataServiceHelper.config\r\n };\r\n }\r\n\r\n public viewOptions(): ObjectHash {\r\n return {\r\n styles,\r\n onlineUrl: UrlHelper.safeUrlConcat(this.config.get('onlineUrl'), 'libraries')\r\n };\r\n }\r\n}","// extracted by mini-css-extract-plugin\nmodule.exports = {\"complete\":\"cv--complete--2A6IC\",\"middle\":\"cv--middle--1R3SI\",\"checkedImage\":\"cv--checkedImage--2Vb1u\",\"migrationBackupContainer\":\"cv--migrationBackupContainer--26fzE\"};"],"sourceRoot":""}
@@ -0,0 +1 @@
1
+ (window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[69],{1027:function(e,t,n){"use strict";n.d(t,"a",(function(){return h}));var r=n(2),o=n(246);function c(e){return(c="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 i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function s(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,r=f(e);if(t){var o=f(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return u(this,n)}}function u(e,t){return!t||"object"!==c(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 f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var h=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&&l(e,t)}(u,e);var t,n,r,c=s(u);function u(){return i(this,u),c.apply(this,arguments)}return t=u,(n=[{key:"defaults",value:function(){return e={},t=o.c.Disabled,n=!0,t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e;var e,t,n}}])&&a(t.prototype,n),r&&a(t,r),u}(r.a.Model)},1293:function(e,t,n){var r=n(10);e.exports=(r.default||r).template({1:function(e,t,n,r,o){var c;e.propertyIsEnumerable;return(null!=(c=e.lambda(null!=(c=null!=t?t.options:t)?c.spinnerEl:c,t))?c:"")+"\r\n"},3:function(e,t,n,r,o){var c;e.propertyIsEnumerable;return null!=(c=n.unless.call(null!=t?t:e.nullContext||{},null!=(c=null!=t?t.options:t)?c.alreadyDownloaded:c,{name:"unless",hash:{},fn:e.program(4,o,0),inverse:e.program(6,o,0),data:o}))?c:""},4:function(e,t,n,r,o){e.propertyIsEnumerable;var c=null!=t?t:e.nullContext||{},i=e.hooks.helperMissing,a=e.escapeExpression;return"<p><strong>"+a((n.lang||t&&t.lang||i).call(c,"description",{name:"lang",hash:{},data:o}))+'</strong></p>\r\n<svg height="100" viewBox="0 0 427 100" width="427" xmlns="http://www.w3.org/2000/svg">\r\n <g fill="none" fill-rule="evenodd">\r\n <g fill-rule="nonzero">\r\n <path d="m94.5 55.5c-.5522847 0-1-.4477153-1-1s.4477153-1 1-1h2c.5522847 0 1 .4477153 1 1s-.4477153 1-1 1zm14 0c-.552285 0-1-.4477153-1-1s.447715-1 1-1h2c.552285 0 1 .4477153 1 1s-.447715 1-1 1zm14 0c-.552285 0-1-.4477153-1-1s.447715-1 1-1h2c.552285 0 1 .4477153 1 1s-.447715 1-1 1zm14 0c-.552285 0-1-.4477153-1-1s.447715-1 1-1h2c.552285 0 1 .4477153 1 1s-.447715 1-1 1zm14 0c-.552285 0-1-.4477153-1-1s.447715-1 1-1h2c.552285 0 1 .4477153 1 1s-.447715 1-1 1zm112 0c-.552285 0-1-.4477153-1-1s.447715-1 1-1h2c.552285 0 1 .4477153 1 1s-.447715 1-1 1zm14 0c-.552285 0-1-.4477153-1-1s.447715-1 1-1h2c.552285 0 1 .4477153 1 1s-.447715 1-1 1zm14 0c-.552285 0-1-.4477153-1-1s.447715-1 1-1h2c.552285 0 1 .4477153 1 1s-.447715 1-1 1zm14 0c-.552285 0-1-.4477153-1-1s.447715-1 1-1h2c.552285 0 1 .4477153 1 1s-.447715 1-1 1zm14 0c-.552285 0-1-.4477153-1-1s.447715-1 1-1h2c.552285 0 1 .4477153 1 1s-.447715 1-1 1z" fill="#f8981d"/><path d="m75.3660384 82.489591c-.0757675.0069357-.1518122.010409-.2278965.010409h-54.6179583c-11.70030947 0-19.2714702-8.1915084-19.97109491-19.1076542-.62065424-9.6839806 4.42338321-18.3273466 12.94458521-20.6053076-.4297787-11.9466685 6.5982062-21.1867066 17.1901489-24.2852299 10.2989712-3.0128186 20.88668.7410547 26.0606491 10.0502544 12.8217558-3.457481 26.1104718 8.263297 24.2211271 21.1832845 16.58825 6.4833251 12.6943926 31.07962-5.5995606 32.7542438zm-.3464266-4.989591c13.592216-1.3432135 15.9498811-20.1088375 2.3914689-23.6692862-1.3614422-.3575157-2.1594623-1.7680385-1.7646963-3.11915 3.0734097-10.5189376-8.8471782-21.078668-19.2165057-16.7806108-1.2612369.5227791-2.7086325-.0629726-3.2513006-1.3157806-3.6287978-8.3774717-12.3662807-11.8667544-21.0909115-9.3144869-8.9863414 2.6288273-14.6536056 10.6534543-13.4524943 21.2329216.1549662 1.3649525-.8204237 2.5992336-2.1842308 2.7639765-7.0138244.8472442-11.43239953 7.6566537-10.91209037 15.7749642.54005245 8.4263623 6.08667627 14.4274522 14.98133247 14.4274522z" fill="#e2e2e2"/><path d="m411.5 76h12.5c1.656854 0 3 1.3431458 3 3s-1.343146 3-3 3h-90c-1.656854 0-3-1.3431458-3-3s1.343146-3 3-3h11.5c-4.142136 0-7.5-3.3578644-7.5-7.5v-40c0-4.1421356 3.357864-7.5 7.5-7.5h66c4.142136 0 7.5 3.3578644 7.5 7.5v40c0 4.1421356-3.357864 7.5-7.5 7.5zm-17.5 0h-31c0 1.1045695.895431 2 2 2h27c1.10457 0 2-.8954305 2-2zm-48.5-50c-1.380712 0-2.5 1.1192881-2.5 2.5v40c0 1.3807119 1.119288 2.5 2.5 2.5h66c1.380712 0 2.5-1.1192881 2.5-2.5v-40c0-1.3807119-1.119288-2.5-2.5-2.5z" fill="#e2e2e2"/><path d="m194.688889 46.6708215v4.0154896c-21.037954-1.3356058-31.688889-5.9896514-31.688889-14.6862716 0-1.1045913.891623-2.0000395 1.991496-2.0000395s1.991496.8954482 1.991496 2.0000395c0 5.6687396 9.152444 9.4529958 27.70589 10.6707816zm25.906865.1564809c20.376102-1.018022 30.421254-4.8884966 30.421254-10.8272629 0-1.1045913.891623-2.0000395 1.991496-2.0000395s1.991496.8954482 1.991496 2.0000395c0 8.4131404-9.967884 13.0429588-29.664711 14.5450572zm-25.906865 22.7606388v4.0154864c-21.037953-1.3356021-31.688889-5.9896477-31.688889-14.6862684 0-1.1045913.891623-2.0000395 1.991496-2.0000395s1.991496.8954482 1.991496 2.0000395c0 5.6687397 9.152444 9.4529958 27.70589 10.6707815zm25.879593.1578414c20.394411-1.0159301 30.448526-4.8872081 30.448526-10.8286234 0-1.1045913.891623-2.0000395 1.991496-2.0000395s1.991496.8954482 1.991496 2.0000395c0 9.9178906-13.85241 14.5780829-41.165781 15.0546252zm-55.568482-53.0262704s0 9.9603659 40 9.9603659c11.131238 0 10-6.640244 10-23.24085371 26.666667-3.32012195 40 13.28048781 40 13.28048781s-10 13.2804878-50 13.2804878-40-13.2804878-40-13.2804878z" fill="#f8f8f8"/></g><path d="m199.011905 38.4086355v36.4615785c0 1.1045695.89543 2 2 2 .384934 0 .76169-.1110843 1.085049-.3199204l25.091884-16.205146c.927883-.5992563 1.194287-1.8372468.59503-2.7651291-.115325-.1785696-.258382-.3376117-.423784-.4711387l-25.091884-20.2564325c-.859459-.6938329-2.118651-.5595663-2.812483.2998927-.287178.3557307-.443812.7991133-.443812 1.2562955z" fill="#f8981d"/><path d="m163 16.7249015.011729-.216286.025974-.2387743c1.009035-9.27583682 21.668177-16.2698412 45.79563-16.2698412s44.786596 6.99400437 45.79563 16.2698412l.025974.2387743.01173.216286v65.814781c0 9.5919064-21.048324 16.9642858-45.833334 16.9642858s-45.833333-7.3723794-45.833333-16.9642858zm4 .1084611v65.7063199c0 6.2420953 19.192018 12.9642858 41.833333 12.9642858s41.833334-6.7221905 41.833334-12.9642858v-65.7063199l-.014245-.1309494c-.68278-6.276646-19.663443-12.7024132-41.819089-12.7024132s-41.136309 6.4257672-41.819088 12.7024132z" fill="#e2e2e2" fill-rule="nonzero"/>\r\n </g>\r\n</svg>\r\n<p>'+a((n.lang||t&&t.lang||i).call(c,"nextStep",{name:"lang",hash:{},data:o}))+"</p>\r\n"},6:function(e,t,n,r,o){e.propertyIsEnumerable;return'<p class="m-0">'+e.escapeExpression((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"alreadyAdded",{name:"lang",hash:{},data:o}))+"</p>\r\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var c;e.propertyIsEnumerable;return null!=(c=n.unless.call(null!=t?t:e.nullContext||{},null!=(c=null!=t?t.options:t)?c.dataFetched:c,{name:"unless",hash:{},fn:e.program(1,o,0),inverse:e.program(3,o,0),data:o}))?c:""},useData:!0})},1427:function(e,t,n){"use strict";n.r(t),n.d(t,"DownloadToLocalCacheView",(function(){return w}));var r=n(5),o=n(3),c=n(2),i=n(283),a=n(246),l=n(136),s=n(0),u=n(1027),f=n(13),h=n(80),p=n(1293),d=n.n(p);function y(e){return(y="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 m(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function g(e,t){return(g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function v(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,r=C(e);if(t){var o=C(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return b(this,n)}}function b(e,t){return!t||"object"!==y(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 C(e){return(C=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var w=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&&g(e,t)}(b,e);var t,n,p,y=v(b);function b(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,b),y.call(this,e)}return t=b,(n=[{key:"initialize",value:function(){this.localCacheDataService=r.a.getInstance(s.g.LocalCache,this),this.bindListeners()}},{key:"bindListeners",value:function(){var e=this;this.listenTo(s.e.USER,"".concat(s.f.CURRENT_USER,":sync"),this.render),this.listenTo(s.e.LOCAL_CACHE,"".concat(s.f.LOCAL_CACHE_DEVICES,":sync"),this.render),this.listenTo(s.e.LOCAL_CACHE,"".concat(s.f.LOCAL_CACHE_DOWNLOADS,":").concat(this.options.videoId,":sync"),this.render),this.listenTo(s.e.LOCAL_CACHE,"".concat(s.f.ADD_VIDEO_TO_LOCAL_CACHE,":sync"),(function(){return e.triggerMethod("hide")})),this.listenTo(s.e.LOCAL_CACHE,"".concat(s.f.ADD_VIDEO_TO_LOCAL_CACHE,":error"),(function(){return e.triggerMethod("hide")}))}},{key:"getSpinnerButtonOptions",value:function(){var e=this;if(!this.localCacheDownloads||!this.localCacheDownloads.length)return{model:this.spinnerModel,channelName:this.channelName,buttonText:o.a.getPhrase(this.lang,"buttonText"),onClick:function(){return e.onClickAddToLocalCache()}}}},{key:"onClickAddToLocalCache",value:function(){this.spinnerModel.set(a.c.ShowSpinner,!0),this.localCacheDataService.downloadVideoToLocalCache(this.model.get("deviceId"),this.options.videoId)}},{key:"onBeforeRender",value:function(){var e=this.localCacheDataService.getDevices(this.currentUser.get("customerId"));return this.localCacheDownloads=this.localCacheDataService.getDownloadsForVideos([this.options.videoId]),!(e&&this.localCacheDownloads&&(this.model=f.i.getNewestDeviceUserCanManage(e,this.currentUser.get("customerId")),this.model?(this.spinnerModel.set(a.c.Disabled,!1),0):(setTimeout((function(){return c.a.ErrorHelper.throw(new h.c)}),0),1)))}},{key:"viewOptions",value:function(){return{dataFetched:!!this.model&&!!this.localCacheDownloads,spinnerEl:f.q.getSpinner({size:f.r.Large,extraClasses:"mx-auto"}),alreadyDownloaded:this.localCacheDownloads&&this.localCacheDownloads.length}}},{key:"name",get:function(){return"DownloadToLocalCacheView"}},{key:"title",get:function(){return o.a.getPhrase(this.lang,"title")}},{key:"lang",get:function(){return"shared.downloadToLocalCache"}},{key:"template",get:function(){return d.a}},{key:"channelName",get:function(){return f.k.generateUniqueChannelName(this)}},{key:"behaviors",get:function(){return this.spinnerModel=new u.a,[{behaviorClass:i.f,title:o.a.getPhrase(this.lang,"popupHeading"),spinnerButtonOptions:this.getSpinnerButtonOptions}]}},{key:"requiredResources",get:function(){return{currentUser:l.b.currentUser}}}])&&m(t.prototype,n),p&&m(t,p),b}(c.a.View)}}]);
@@ -0,0 +1 @@
1
+ (window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[69],{1031:function(e,t,n){"use strict";n.d(t,"a",(function(){return h}));var r=n(2),o=n(246);function c(e){return(c="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 i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function s(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,r=f(e);if(t){var o=f(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return u(this,n)}}function u(e,t){return!t||"object"!==c(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 f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var h=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&&l(e,t)}(u,e);var t,n,r,c=s(u);function u(){return i(this,u),c.apply(this,arguments)}return t=u,(n=[{key:"defaults",value:function(){return e={},t=o.c.Disabled,n=!0,t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e;var e,t,n}}])&&a(t.prototype,n),r&&a(t,r),u}(r.a.Model)},1299:function(e,t,n){var r=n(10);e.exports=(r.default||r).template({1:function(e,t,n,r,o){var c;e.propertyIsEnumerable;return(null!=(c=e.lambda(null!=(c=null!=t?t.options:t)?c.spinnerEl:c,t))?c:"")+"\r\n"},3:function(e,t,n,r,o){var c;e.propertyIsEnumerable;return null!=(c=n.unless.call(null!=t?t:e.nullContext||{},null!=(c=null!=t?t.options:t)?c.alreadyDownloaded:c,{name:"unless",hash:{},fn:e.program(4,o,0),inverse:e.program(6,o,0),data:o}))?c:""},4:function(e,t,n,r,o){e.propertyIsEnumerable;var c=null!=t?t:e.nullContext||{},i=e.hooks.helperMissing,a=e.escapeExpression;return"<p><strong>"+a((n.lang||t&&t.lang||i).call(c,"description",{name:"lang",hash:{},data:o}))+'</strong></p>\r\n<svg height="100" viewBox="0 0 427 100" width="427" xmlns="http://www.w3.org/2000/svg">\r\n <g fill="none" fill-rule="evenodd">\r\n <g fill-rule="nonzero">\r\n <path d="m94.5 55.5c-.5522847 0-1-.4477153-1-1s.4477153-1 1-1h2c.5522847 0 1 .4477153 1 1s-.4477153 1-1 1zm14 0c-.552285 0-1-.4477153-1-1s.447715-1 1-1h2c.552285 0 1 .4477153 1 1s-.447715 1-1 1zm14 0c-.552285 0-1-.4477153-1-1s.447715-1 1-1h2c.552285 0 1 .4477153 1 1s-.447715 1-1 1zm14 0c-.552285 0-1-.4477153-1-1s.447715-1 1-1h2c.552285 0 1 .4477153 1 1s-.447715 1-1 1zm14 0c-.552285 0-1-.4477153-1-1s.447715-1 1-1h2c.552285 0 1 .4477153 1 1s-.447715 1-1 1zm112 0c-.552285 0-1-.4477153-1-1s.447715-1 1-1h2c.552285 0 1 .4477153 1 1s-.447715 1-1 1zm14 0c-.552285 0-1-.4477153-1-1s.447715-1 1-1h2c.552285 0 1 .4477153 1 1s-.447715 1-1 1zm14 0c-.552285 0-1-.4477153-1-1s.447715-1 1-1h2c.552285 0 1 .4477153 1 1s-.447715 1-1 1zm14 0c-.552285 0-1-.4477153-1-1s.447715-1 1-1h2c.552285 0 1 .4477153 1 1s-.447715 1-1 1zm14 0c-.552285 0-1-.4477153-1-1s.447715-1 1-1h2c.552285 0 1 .4477153 1 1s-.447715 1-1 1z" fill="#f8981d"/><path d="m75.3660384 82.489591c-.0757675.0069357-.1518122.010409-.2278965.010409h-54.6179583c-11.70030947 0-19.2714702-8.1915084-19.97109491-19.1076542-.62065424-9.6839806 4.42338321-18.3273466 12.94458521-20.6053076-.4297787-11.9466685 6.5982062-21.1867066 17.1901489-24.2852299 10.2989712-3.0128186 20.88668.7410547 26.0606491 10.0502544 12.8217558-3.457481 26.1104718 8.263297 24.2211271 21.1832845 16.58825 6.4833251 12.6943926 31.07962-5.5995606 32.7542438zm-.3464266-4.989591c13.592216-1.3432135 15.9498811-20.1088375 2.3914689-23.6692862-1.3614422-.3575157-2.1594623-1.7680385-1.7646963-3.11915 3.0734097-10.5189376-8.8471782-21.078668-19.2165057-16.7806108-1.2612369.5227791-2.7086325-.0629726-3.2513006-1.3157806-3.6287978-8.3774717-12.3662807-11.8667544-21.0909115-9.3144869-8.9863414 2.6288273-14.6536056 10.6534543-13.4524943 21.2329216.1549662 1.3649525-.8204237 2.5992336-2.1842308 2.7639765-7.0138244.8472442-11.43239953 7.6566537-10.91209037 15.7749642.54005245 8.4263623 6.08667627 14.4274522 14.98133247 14.4274522z" fill="#e2e2e2"/><path d="m411.5 76h12.5c1.656854 0 3 1.3431458 3 3s-1.343146 3-3 3h-90c-1.656854 0-3-1.3431458-3-3s1.343146-3 3-3h11.5c-4.142136 0-7.5-3.3578644-7.5-7.5v-40c0-4.1421356 3.357864-7.5 7.5-7.5h66c4.142136 0 7.5 3.3578644 7.5 7.5v40c0 4.1421356-3.357864 7.5-7.5 7.5zm-17.5 0h-31c0 1.1045695.895431 2 2 2h27c1.10457 0 2-.8954305 2-2zm-48.5-50c-1.380712 0-2.5 1.1192881-2.5 2.5v40c0 1.3807119 1.119288 2.5 2.5 2.5h66c1.380712 0 2.5-1.1192881 2.5-2.5v-40c0-1.3807119-1.119288-2.5-2.5-2.5z" fill="#e2e2e2"/><path d="m194.688889 46.6708215v4.0154896c-21.037954-1.3356058-31.688889-5.9896514-31.688889-14.6862716 0-1.1045913.891623-2.0000395 1.991496-2.0000395s1.991496.8954482 1.991496 2.0000395c0 5.6687396 9.152444 9.4529958 27.70589 10.6707816zm25.906865.1564809c20.376102-1.018022 30.421254-4.8884966 30.421254-10.8272629 0-1.1045913.891623-2.0000395 1.991496-2.0000395s1.991496.8954482 1.991496 2.0000395c0 8.4131404-9.967884 13.0429588-29.664711 14.5450572zm-25.906865 22.7606388v4.0154864c-21.037953-1.3356021-31.688889-5.9896477-31.688889-14.6862684 0-1.1045913.891623-2.0000395 1.991496-2.0000395s1.991496.8954482 1.991496 2.0000395c0 5.6687397 9.152444 9.4529958 27.70589 10.6707815zm25.879593.1578414c20.394411-1.0159301 30.448526-4.8872081 30.448526-10.8286234 0-1.1045913.891623-2.0000395 1.991496-2.0000395s1.991496.8954482 1.991496 2.0000395c0 9.9178906-13.85241 14.5780829-41.165781 15.0546252zm-55.568482-53.0262704s0 9.9603659 40 9.9603659c11.131238 0 10-6.640244 10-23.24085371 26.666667-3.32012195 40 13.28048781 40 13.28048781s-10 13.2804878-50 13.2804878-40-13.2804878-40-13.2804878z" fill="#f8f8f8"/></g><path d="m199.011905 38.4086355v36.4615785c0 1.1045695.89543 2 2 2 .384934 0 .76169-.1110843 1.085049-.3199204l25.091884-16.205146c.927883-.5992563 1.194287-1.8372468.59503-2.7651291-.115325-.1785696-.258382-.3376117-.423784-.4711387l-25.091884-20.2564325c-.859459-.6938329-2.118651-.5595663-2.812483.2998927-.287178.3557307-.443812.7991133-.443812 1.2562955z" fill="#f8981d"/><path d="m163 16.7249015.011729-.216286.025974-.2387743c1.009035-9.27583682 21.668177-16.2698412 45.79563-16.2698412s44.786596 6.99400437 45.79563 16.2698412l.025974.2387743.01173.216286v65.814781c0 9.5919064-21.048324 16.9642858-45.833334 16.9642858s-45.833333-7.3723794-45.833333-16.9642858zm4 .1084611v65.7063199c0 6.2420953 19.192018 12.9642858 41.833333 12.9642858s41.833334-6.7221905 41.833334-12.9642858v-65.7063199l-.014245-.1309494c-.68278-6.276646-19.663443-12.7024132-41.819089-12.7024132s-41.136309 6.4257672-41.819088 12.7024132z" fill="#e2e2e2" fill-rule="nonzero"/>\r\n </g>\r\n</svg>\r\n<p>'+a((n.lang||t&&t.lang||i).call(c,"nextStep",{name:"lang",hash:{},data:o}))+"</p>\r\n"},6:function(e,t,n,r,o){e.propertyIsEnumerable;return'<p class="m-0">'+e.escapeExpression((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"alreadyAdded",{name:"lang",hash:{},data:o}))+"</p>\r\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var c;e.propertyIsEnumerable;return null!=(c=n.unless.call(null!=t?t:e.nullContext||{},null!=(c=null!=t?t.options:t)?c.dataFetched:c,{name:"unless",hash:{},fn:e.program(1,o,0),inverse:e.program(3,o,0),data:o}))?c:""},useData:!0})},1433:function(e,t,n){"use strict";n.r(t),n.d(t,"DownloadToLocalCacheView",(function(){return w}));var r=n(5),o=n(3),c=n(2),i=n(283),a=n(246),l=n(136),s=n(0),u=n(1031),f=n(13),h=n(80),p=n(1299),d=n.n(p);function y(e){return(y="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 m(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function g(e,t){return(g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function v(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,r=C(e);if(t){var o=C(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return b(this,n)}}function b(e,t){return!t||"object"!==y(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 C(e){return(C=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var w=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&&g(e,t)}(b,e);var t,n,p,y=v(b);function b(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,b),y.call(this,e)}return t=b,(n=[{key:"initialize",value:function(){this.localCacheDataService=r.a.getInstance(s.g.LocalCache,this),this.bindListeners()}},{key:"bindListeners",value:function(){var e=this;this.listenTo(s.e.USER,"".concat(s.f.CURRENT_USER,":sync"),this.render),this.listenTo(s.e.LOCAL_CACHE,"".concat(s.f.LOCAL_CACHE_DEVICES,":sync"),this.render),this.listenTo(s.e.LOCAL_CACHE,"".concat(s.f.LOCAL_CACHE_DOWNLOADS,":").concat(this.options.videoId,":sync"),this.render),this.listenTo(s.e.LOCAL_CACHE,"".concat(s.f.ADD_VIDEO_TO_LOCAL_CACHE,":sync"),(function(){return e.triggerMethod("hide")})),this.listenTo(s.e.LOCAL_CACHE,"".concat(s.f.ADD_VIDEO_TO_LOCAL_CACHE,":error"),(function(){return e.triggerMethod("hide")}))}},{key:"getSpinnerButtonOptions",value:function(){var e=this;if(!this.localCacheDownloads||!this.localCacheDownloads.length)return{model:this.spinnerModel,channelName:this.channelName,buttonText:o.a.getPhrase(this.lang,"buttonText"),onClick:function(){return e.onClickAddToLocalCache()}}}},{key:"onClickAddToLocalCache",value:function(){this.spinnerModel.set(a.c.ShowSpinner,!0),this.localCacheDataService.downloadVideoToLocalCache(this.model.get("deviceId"),this.options.videoId)}},{key:"onBeforeRender",value:function(){var e=this.localCacheDataService.getDevices(this.currentUser.get("customerId"));return this.localCacheDownloads=this.localCacheDataService.getDownloadsForVideos([this.options.videoId]),!(e&&this.localCacheDownloads&&(this.model=f.i.getNewestDeviceUserCanManage(e,this.currentUser.get("customerId")),this.model?(this.spinnerModel.set(a.c.Disabled,!1),0):(setTimeout((function(){return c.a.ErrorHelper.throw(new h.c)}),0),1)))}},{key:"viewOptions",value:function(){return{dataFetched:!!this.model&&!!this.localCacheDownloads,spinnerEl:f.q.getSpinner({size:f.r.Large,extraClasses:"mx-auto"}),alreadyDownloaded:this.localCacheDownloads&&this.localCacheDownloads.length}}},{key:"name",get:function(){return"DownloadToLocalCacheView"}},{key:"title",get:function(){return o.a.getPhrase(this.lang,"title")}},{key:"lang",get:function(){return"shared.downloadToLocalCache"}},{key:"template",get:function(){return d.a}},{key:"channelName",get:function(){return f.k.generateUniqueChannelName(this)}},{key:"behaviors",get:function(){return this.spinnerModel=new u.a,[{behaviorClass:i.f,title:o.a.getPhrase(this.lang,"popupHeading"),spinnerButtonOptions:this.getSpinnerButtonOptions}]}},{key:"requiredResources",get:function(){return{currentUser:l.b.currentUser}}}])&&m(t.prototype,n),p&&m(t,p),b}(c.a.View)}}]);
@@ -0,0 +1 @@
1
+ (window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[69],{1032:function(e,t,n){"use strict";n.d(t,"a",(function(){return h}));var r=n(2),o=n(246);function c(e){return(c="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 i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function s(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,r=f(e);if(t){var o=f(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return u(this,n)}}function u(e,t){return!t||"object"!==c(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 f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var h=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&&l(e,t)}(u,e);var t,n,r,c=s(u);function u(){return i(this,u),c.apply(this,arguments)}return t=u,(n=[{key:"defaults",value:function(){return e={},t=o.c.Disabled,n=!0,t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e;var e,t,n}}])&&a(t.prototype,n),r&&a(t,r),u}(r.a.Model)},1300:function(e,t,n){var r=n(10);e.exports=(r.default||r).template({1:function(e,t,n,r,o){var c;e.propertyIsEnumerable;return(null!=(c=e.lambda(null!=(c=null!=t?t.options:t)?c.spinnerEl:c,t))?c:"")+"\r\n"},3:function(e,t,n,r,o){var c;e.propertyIsEnumerable;return null!=(c=n.unless.call(null!=t?t:e.nullContext||{},null!=(c=null!=t?t.options:t)?c.alreadyDownloaded:c,{name:"unless",hash:{},fn:e.program(4,o,0),inverse:e.program(6,o,0),data:o}))?c:""},4:function(e,t,n,r,o){e.propertyIsEnumerable;var c=null!=t?t:e.nullContext||{},i=e.hooks.helperMissing,a=e.escapeExpression;return"<p><strong>"+a((n.lang||t&&t.lang||i).call(c,"description",{name:"lang",hash:{},data:o}))+'</strong></p>\r\n<svg height="100" viewBox="0 0 427 100" width="427" xmlns="http://www.w3.org/2000/svg">\r\n <g fill="none" fill-rule="evenodd">\r\n <g fill-rule="nonzero">\r\n <path d="m94.5 55.5c-.5522847 0-1-.4477153-1-1s.4477153-1 1-1h2c.5522847 0 1 .4477153 1 1s-.4477153 1-1 1zm14 0c-.552285 0-1-.4477153-1-1s.447715-1 1-1h2c.552285 0 1 .4477153 1 1s-.447715 1-1 1zm14 0c-.552285 0-1-.4477153-1-1s.447715-1 1-1h2c.552285 0 1 .4477153 1 1s-.447715 1-1 1zm14 0c-.552285 0-1-.4477153-1-1s.447715-1 1-1h2c.552285 0 1 .4477153 1 1s-.447715 1-1 1zm14 0c-.552285 0-1-.4477153-1-1s.447715-1 1-1h2c.552285 0 1 .4477153 1 1s-.447715 1-1 1zm112 0c-.552285 0-1-.4477153-1-1s.447715-1 1-1h2c.552285 0 1 .4477153 1 1s-.447715 1-1 1zm14 0c-.552285 0-1-.4477153-1-1s.447715-1 1-1h2c.552285 0 1 .4477153 1 1s-.447715 1-1 1zm14 0c-.552285 0-1-.4477153-1-1s.447715-1 1-1h2c.552285 0 1 .4477153 1 1s-.447715 1-1 1zm14 0c-.552285 0-1-.4477153-1-1s.447715-1 1-1h2c.552285 0 1 .4477153 1 1s-.447715 1-1 1zm14 0c-.552285 0-1-.4477153-1-1s.447715-1 1-1h2c.552285 0 1 .4477153 1 1s-.447715 1-1 1z" fill="#f8981d"/><path d="m75.3660384 82.489591c-.0757675.0069357-.1518122.010409-.2278965.010409h-54.6179583c-11.70030947 0-19.2714702-8.1915084-19.97109491-19.1076542-.62065424-9.6839806 4.42338321-18.3273466 12.94458521-20.6053076-.4297787-11.9466685 6.5982062-21.1867066 17.1901489-24.2852299 10.2989712-3.0128186 20.88668.7410547 26.0606491 10.0502544 12.8217558-3.457481 26.1104718 8.263297 24.2211271 21.1832845 16.58825 6.4833251 12.6943926 31.07962-5.5995606 32.7542438zm-.3464266-4.989591c13.592216-1.3432135 15.9498811-20.1088375 2.3914689-23.6692862-1.3614422-.3575157-2.1594623-1.7680385-1.7646963-3.11915 3.0734097-10.5189376-8.8471782-21.078668-19.2165057-16.7806108-1.2612369.5227791-2.7086325-.0629726-3.2513006-1.3157806-3.6287978-8.3774717-12.3662807-11.8667544-21.0909115-9.3144869-8.9863414 2.6288273-14.6536056 10.6534543-13.4524943 21.2329216.1549662 1.3649525-.8204237 2.5992336-2.1842308 2.7639765-7.0138244.8472442-11.43239953 7.6566537-10.91209037 15.7749642.54005245 8.4263623 6.08667627 14.4274522 14.98133247 14.4274522z" fill="#e2e2e2"/><path d="m411.5 76h12.5c1.656854 0 3 1.3431458 3 3s-1.343146 3-3 3h-90c-1.656854 0-3-1.3431458-3-3s1.343146-3 3-3h11.5c-4.142136 0-7.5-3.3578644-7.5-7.5v-40c0-4.1421356 3.357864-7.5 7.5-7.5h66c4.142136 0 7.5 3.3578644 7.5 7.5v40c0 4.1421356-3.357864 7.5-7.5 7.5zm-17.5 0h-31c0 1.1045695.895431 2 2 2h27c1.10457 0 2-.8954305 2-2zm-48.5-50c-1.380712 0-2.5 1.1192881-2.5 2.5v40c0 1.3807119 1.119288 2.5 2.5 2.5h66c1.380712 0 2.5-1.1192881 2.5-2.5v-40c0-1.3807119-1.119288-2.5-2.5-2.5z" fill="#e2e2e2"/><path d="m194.688889 46.6708215v4.0154896c-21.037954-1.3356058-31.688889-5.9896514-31.688889-14.6862716 0-1.1045913.891623-2.0000395 1.991496-2.0000395s1.991496.8954482 1.991496 2.0000395c0 5.6687396 9.152444 9.4529958 27.70589 10.6707816zm25.906865.1564809c20.376102-1.018022 30.421254-4.8884966 30.421254-10.8272629 0-1.1045913.891623-2.0000395 1.991496-2.0000395s1.991496.8954482 1.991496 2.0000395c0 8.4131404-9.967884 13.0429588-29.664711 14.5450572zm-25.906865 22.7606388v4.0154864c-21.037953-1.3356021-31.688889-5.9896477-31.688889-14.6862684 0-1.1045913.891623-2.0000395 1.991496-2.0000395s1.991496.8954482 1.991496 2.0000395c0 5.6687397 9.152444 9.4529958 27.70589 10.6707815zm25.879593.1578414c20.394411-1.0159301 30.448526-4.8872081 30.448526-10.8286234 0-1.1045913.891623-2.0000395 1.991496-2.0000395s1.991496.8954482 1.991496 2.0000395c0 9.9178906-13.85241 14.5780829-41.165781 15.0546252zm-55.568482-53.0262704s0 9.9603659 40 9.9603659c11.131238 0 10-6.640244 10-23.24085371 26.666667-3.32012195 40 13.28048781 40 13.28048781s-10 13.2804878-50 13.2804878-40-13.2804878-40-13.2804878z" fill="#f8f8f8"/></g><path d="m199.011905 38.4086355v36.4615785c0 1.1045695.89543 2 2 2 .384934 0 .76169-.1110843 1.085049-.3199204l25.091884-16.205146c.927883-.5992563 1.194287-1.8372468.59503-2.7651291-.115325-.1785696-.258382-.3376117-.423784-.4711387l-25.091884-20.2564325c-.859459-.6938329-2.118651-.5595663-2.812483.2998927-.287178.3557307-.443812.7991133-.443812 1.2562955z" fill="#f8981d"/><path d="m163 16.7249015.011729-.216286.025974-.2387743c1.009035-9.27583682 21.668177-16.2698412 45.79563-16.2698412s44.786596 6.99400437 45.79563 16.2698412l.025974.2387743.01173.216286v65.814781c0 9.5919064-21.048324 16.9642858-45.833334 16.9642858s-45.833333-7.3723794-45.833333-16.9642858zm4 .1084611v65.7063199c0 6.2420953 19.192018 12.9642858 41.833333 12.9642858s41.833334-6.7221905 41.833334-12.9642858v-65.7063199l-.014245-.1309494c-.68278-6.276646-19.663443-12.7024132-41.819089-12.7024132s-41.136309 6.4257672-41.819088 12.7024132z" fill="#e2e2e2" fill-rule="nonzero"/>\r\n </g>\r\n</svg>\r\n<p>'+a((n.lang||t&&t.lang||i).call(c,"nextStep",{name:"lang",hash:{},data:o}))+"</p>\r\n"},6:function(e,t,n,r,o){e.propertyIsEnumerable;return'<p class="m-0">'+e.escapeExpression((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"alreadyAdded",{name:"lang",hash:{},data:o}))+"</p>\r\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var c;e.propertyIsEnumerable;return null!=(c=n.unless.call(null!=t?t:e.nullContext||{},null!=(c=null!=t?t.options:t)?c.dataFetched:c,{name:"unless",hash:{},fn:e.program(1,o,0),inverse:e.program(3,o,0),data:o}))?c:""},useData:!0})},1434:function(e,t,n){"use strict";n.r(t),n.d(t,"DownloadToLocalCacheView",(function(){return w}));var r=n(5),o=n(3),c=n(2),i=n(283),a=n(246),l=n(136),s=n(0),u=n(1032),f=n(13),h=n(80),p=n(1300),d=n.n(p);function y(e){return(y="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 m(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function g(e,t){return(g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function v(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,r=C(e);if(t){var o=C(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return b(this,n)}}function b(e,t){return!t||"object"!==y(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 C(e){return(C=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var w=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&&g(e,t)}(b,e);var t,n,p,y=v(b);function b(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,b),y.call(this,e)}return t=b,(n=[{key:"initialize",value:function(){this.localCacheDataService=r.a.getInstance(s.g.LocalCache,this),this.bindListeners()}},{key:"bindListeners",value:function(){var e=this;this.listenTo(s.e.USER,"".concat(s.f.CURRENT_USER,":sync"),this.render),this.listenTo(s.e.LOCAL_CACHE,"".concat(s.f.LOCAL_CACHE_DEVICES,":sync"),this.render),this.listenTo(s.e.LOCAL_CACHE,"".concat(s.f.LOCAL_CACHE_DOWNLOADS,":").concat(this.options.videoId,":sync"),this.render),this.listenTo(s.e.LOCAL_CACHE,"".concat(s.f.ADD_VIDEO_TO_LOCAL_CACHE,":sync"),(function(){return e.triggerMethod("hide")})),this.listenTo(s.e.LOCAL_CACHE,"".concat(s.f.ADD_VIDEO_TO_LOCAL_CACHE,":error"),(function(){return e.triggerMethod("hide")}))}},{key:"getSpinnerButtonOptions",value:function(){var e=this;if(!this.localCacheDownloads||!this.localCacheDownloads.length)return{model:this.spinnerModel,channelName:this.channelName,buttonText:o.a.getPhrase(this.lang,"buttonText"),onClick:function(){return e.onClickAddToLocalCache()}}}},{key:"onClickAddToLocalCache",value:function(){this.spinnerModel.set(a.c.ShowSpinner,!0),this.localCacheDataService.downloadVideoToLocalCache(this.model.get("deviceId"),this.options.videoId)}},{key:"onBeforeRender",value:function(){var e=this.localCacheDataService.getDevices(this.currentUser.get("customerId"));return this.localCacheDownloads=this.localCacheDataService.getDownloadsForVideos([this.options.videoId]),!(e&&this.localCacheDownloads&&(this.model=f.i.getNewestDeviceUserCanManage(e,this.currentUser.get("customerId")),this.model?(this.spinnerModel.set(a.c.Disabled,!1),0):(setTimeout((function(){return c.a.ErrorHelper.throw(new h.c)}),0),1)))}},{key:"viewOptions",value:function(){return{dataFetched:!!this.model&&!!this.localCacheDownloads,spinnerEl:f.q.getSpinner({size:f.r.Large,extraClasses:"mx-auto"}),alreadyDownloaded:this.localCacheDownloads&&this.localCacheDownloads.length}}},{key:"name",get:function(){return"DownloadToLocalCacheView"}},{key:"title",get:function(){return o.a.getPhrase(this.lang,"title")}},{key:"lang",get:function(){return"shared.downloadToLocalCache"}},{key:"template",get:function(){return d.a}},{key:"channelName",get:function(){return f.k.generateUniqueChannelName(this)}},{key:"behaviors",get:function(){return this.spinnerModel=new u.a,[{behaviorClass:i.f,title:o.a.getPhrase(this.lang,"popupHeading"),spinnerButtonOptions:this.getSpinnerButtonOptions}]}},{key:"requiredResources",get:function(){return{currentUser:l.b.currentUser}}}])&&m(t.prototype,n),p&&m(t,p),b}(c.a.View)}}]);
@@ -0,0 +1,248 @@
1
+ (window["webpackJsonp_clickview_library_editor"] = window["webpackJsonp_clickview_library_editor"] || []).push([[69],{
2
+
3
+ /***/ "./src/apps/migration-wizard/views/publisher-backup-complete/PublisherBackupComplete.hbs":
4
+ /*!***********************************************************************************************!*\
5
+ !*** ./src/apps/migration-wizard/views/publisher-backup-complete/PublisherBackupComplete.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.escapeExpression, alias3=depth0 != null ? depth0 : (container.nullContext || {}), alias4=container.hooks.helperMissing;
13
+
14
+ return " <img src=\"/images/warning.png\" class=\"p-3 "
15
+ + alias2(container.lambda(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.warningImage : stack1), depth0))
16
+ + "\">\r\n <h4>"
17
+ + alias2((helpers.lang||(depth0 && depth0.lang)||alias4).call(alias3,"errorHeading",{"name":"lang","hash":{},"data":data}))
18
+ + "</h4>\r\n <p>\r\n "
19
+ + ((stack1 = (helpers.lang||(depth0 && depth0.lang)||alias4).call(alias3,"errorDescription",{"name":"lang","hash":{},"data":data})) != null ? stack1 : "")
20
+ + "\r\n </p>\r\n <a class=\"btn btn-primary applink-start-migration\">"
21
+ + alias2((helpers.lang||(depth0 && depth0.lang)||alias4).call(alias3,"continueAnyway",{"name":"lang","hash":{},"data":data}))
22
+ + "</a>\r\n <p class=\"mt-3\">"
23
+ + ((stack1 = (helpers.lang||(depth0 && depth0.lang)||alias4).call(alias3,"bookAnAppointment",{"name":"lang","hash":{"url":((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.appointmentUrl : stack1),"linkClasses":"info-link"},"data":data})) != null ? stack1 : "")
24
+ + "</p>\r\n";
25
+ },"3":function(container,depth0,helpers,partials,data) {
26
+ var stack1, alias1=container.propertyIsEnumerable, alias2=container.escapeExpression, alias3=depth0 != null ? depth0 : (container.nullContext || {}), alias4=container.hooks.helperMissing;
27
+
28
+ return " <img src=\"/images/checked.png\" class=\"p-3 "
29
+ + alias2(container.lambda(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.checkedImage : stack1), depth0))
30
+ + "\">\r\n <h4>"
31
+ + alias2((helpers.lang||(depth0 && depth0.lang)||alias4).call(alias3,"completeHeading",{"name":"lang","hash":{},"data":data}))
32
+ + "</h4>\r\n <p>\r\n "
33
+ + ((stack1 = (helpers.lang||(depth0 && depth0.lang)||alias4).call(alias3,"completeBody",{"name":"lang","hash":{"archiveSvg":((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.archiveSvg : stack1)},"data":data})) != null ? stack1 : "")
34
+ + "\r\n </p>\r\n <a class=\"btn btn-primary applink-start-migration\">"
35
+ + alias2((helpers.lang||(depth0 && depth0.lang)||alias4).call(alias3,"getStarted",{"name":"lang","hash":{},"data":data}))
36
+ + "</a>\r\n";
37
+ },"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
38
+ var stack1, alias1=container.propertyIsEnumerable;
39
+
40
+ return "<div class=\""
41
+ + container.escapeExpression(container.lambda(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.middle : stack1), depth0))
42
+ + "\">\r\n"
43
+ + ((stack1 = helpers["if"].call(depth0 != null ? depth0 : (container.nullContext || {}),((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.error : stack1),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.program(3, data, 0),"data":data})) != null ? stack1 : "")
44
+ + "</div>";
45
+ },"useData":true});
46
+
47
+ /***/ }),
48
+
49
+ /***/ "./src/apps/migration-wizard/views/publisher-backup-complete/PublisherBackupCompleteView.ts":
50
+ /*!**************************************************************************************************!*\
51
+ !*** ./src/apps/migration-wizard/views/publisher-backup-complete/PublisherBackupCompleteView.ts ***!
52
+ \**************************************************************************************************/
53
+ /*! exports provided: PublisherBackupCompleteView */
54
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
55
+
56
+ "use strict";
57
+ __webpack_require__.r(__webpack_exports__);
58
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PublisherBackupCompleteView", function() { return PublisherBackupCompleteView; });
59
+ /* harmony import */ var _libs_common_src_backbone_utils_UrlHelper__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone/utils/UrlHelper */ "../../libs/common/src/backbone/utils/UrlHelper.ts");
60
+ /* harmony import */ var _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone */ "../../libs/common/src/backbone/index.ts");
61
+ /* harmony import */ var _libs_common_src_backbone_services_InstanceManager__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone/services/InstanceManager */ "../../libs/common/src/backbone/services/InstanceManager.ts");
62
+ /* harmony import */ var _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone/services/LanguageService */ "../../libs/common/src/backbone/services/LanguageService.tsx");
63
+ /* harmony import */ var _libs_shared_src_utils_SvgHelper__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../../../../libs/shared/src/utils/SvgHelper */ "../../libs/shared/src/utils/SvgHelper.ts");
64
+ /* harmony import */ var _shared_services_ConfigDataService__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../shared/services/ConfigDataService */ "./src/shared/services/ConfigDataService.ts");
65
+ /* harmony import */ var _shared_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../shared/constants */ "./src/shared/constants/index.ts");
66
+ /* harmony import */ var _utils_MigrationHelper__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../utils/MigrationHelper */ "./src/apps/migration-wizard/utils/MigrationHelper.ts");
67
+ /* harmony import */ var _publisher_backup_complete_scss__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./publisher-backup-complete.scss */ "./src/apps/migration-wizard/views/publisher-backup-complete/publisher-backup-complete.scss");
68
+ /* harmony import */ var _publisher_backup_complete_scss__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_publisher_backup_complete_scss__WEBPACK_IMPORTED_MODULE_8__);
69
+ /* harmony import */ var _PublisherBackupComplete_hbs__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./PublisherBackupComplete.hbs */ "./src/apps/migration-wizard/views/publisher-backup-complete/PublisherBackupComplete.hbs");
70
+ /* harmony import */ var _PublisherBackupComplete_hbs__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_PublisherBackupComplete_hbs__WEBPACK_IMPORTED_MODULE_9__);
71
+ 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); }
72
+
73
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
74
+
75
+ 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); } }
76
+
77
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
78
+
79
+ 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); }
80
+
81
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
82
+
83
+ 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); }; }
84
+
85
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
86
+
87
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
88
+
89
+ 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; } }
90
+
91
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
92
+
93
+
94
+
95
+
96
+
97
+
98
+
99
+
100
+
101
+
102
+
103
+ var PublisherBackupCompleteView = /*#__PURE__*/function (_Core$View) {
104
+ _inherits(PublisherBackupCompleteView, _Core$View);
105
+
106
+ var _super = _createSuper(PublisherBackupCompleteView);
107
+
108
+ function PublisherBackupCompleteView() {
109
+ _classCallCheck(this, PublisherBackupCompleteView);
110
+
111
+ return _super.apply(this, arguments);
112
+ }
113
+
114
+ _createClass(PublisherBackupCompleteView, [{
115
+ key: "initialize",
116
+ value: function initialize() {
117
+ this.migrationVideoDataService = _libs_common_src_backbone_services_InstanceManager__WEBPACK_IMPORTED_MODULE_2__["InstanceManager"].getInstance(_shared_constants__WEBPACK_IMPORTED_MODULE_6__["DataServices"].MigrationVideo, this);
118
+ this.bindListeners();
119
+ }
120
+ }, {
121
+ key: "bindListeners",
122
+ value: function bindListeners() {
123
+ this.listenTo(_shared_constants__WEBPACK_IMPORTED_MODULE_6__["DataChannels"].MIGRATION, "".concat(_shared_constants__WEBPACK_IMPORTED_MODULE_6__["DataPrefixes"].CUSTOMER_METADATA, ":sync"), this.render);
124
+ }
125
+ }, {
126
+ key: "viewOptions",
127
+ value: function viewOptions() {
128
+ return {
129
+ styles: _publisher_backup_complete_scss__WEBPACK_IMPORTED_MODULE_8___default.a,
130
+ error: this.hasErrored(),
131
+ archiveSvg: "<span class=\"d-inline-block align-middle svg-container\">\n ".concat(_libs_shared_src_utils_SvgHelper__WEBPACK_IMPORTED_MODULE_4__["SvgHelper"].getSvg(_libs_shared_src_utils_SvgHelper__WEBPACK_IMPORTED_MODULE_4__["cvSvgLibrary"].PublisherArchive), "</span>"),
132
+ appointmentUrl: "\n ".concat(_libs_common_src_backbone_utils_UrlHelper__WEBPACK_IMPORTED_MODULE_0__["UrlHelper"].safeUrlConcat(this.config.get('marketingSiteUrl'), '/library-editor/book-appointment?type=library-editor-publisher-backup-tool'), "\n ")
133
+ };
134
+ }
135
+ }, {
136
+ key: "onBeforeRender",
137
+ value: function onBeforeRender() {
138
+ var _this = this;
139
+
140
+ this.migrationVideoDataService.getCustomerMetadata(function (data) {
141
+ _this.metadata = data;
142
+ });
143
+ return !!this.metadata;
144
+ }
145
+ }, {
146
+ key: "onRender",
147
+ value: function onRender() {
148
+ if (this.pollingStarted || !this.hasErrored()) return;
149
+ this.pollCloudSyncStatus();
150
+ this.pollingStarted = true;
151
+ }
152
+ }, {
153
+ key: "hasErrored",
154
+ value: function hasErrored() {
155
+ return _utils_MigrationHelper__WEBPACK_IMPORTED_MODULE_7__["MigrationHelper"].backupCompleteWithError(this.metadata);
156
+ }
157
+ }, {
158
+ key: "pollCloudSyncStatus",
159
+ value: function pollCloudSyncStatus() {
160
+ var _this2 = this;
161
+
162
+ this.migrationVideoDataService.clearCacheAndGetCustomerMetadata(function (metadata) {
163
+ if (_this2.isDestroyed()) return;
164
+
165
+ if (_utils_MigrationHelper__WEBPACK_IMPORTED_MODULE_7__["MigrationHelper"].backupProcessing(metadata)) {
166
+ _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_1__["Core"].AppLinkHelper.trigger({
167
+ application: _shared_constants__WEBPACK_IMPORTED_MODULE_6__["AppChannels"].MIGRATION_WIZARD,
168
+ action: _shared_constants__WEBPACK_IMPORTED_MODULE_6__["Actions"].MigrationWizard.BACKUP_PROGRESS
169
+ });
170
+ return;
171
+ }
172
+
173
+ if (_utils_MigrationHelper__WEBPACK_IMPORTED_MODULE_7__["MigrationHelper"].backupCompleteWithoutError(metadata)) {
174
+ _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_1__["Core"].AppLinkHelper.trigger({
175
+ application: _shared_constants__WEBPACK_IMPORTED_MODULE_6__["AppChannels"].MIGRATION_WIZARD,
176
+ action: _shared_constants__WEBPACK_IMPORTED_MODULE_6__["Actions"].MigrationWizard.BACKUP_COMPLETE
177
+ });
178
+ return;
179
+ }
180
+
181
+ setTimeout(function () {
182
+ return _this2.pollCloudSyncStatus();
183
+ }, 30000);
184
+ });
185
+ }
186
+ }, {
187
+ key: "name",
188
+ get: function get() {
189
+ return 'PublisherBackupCompleteView';
190
+ }
191
+ }, {
192
+ key: "title",
193
+ get: function get() {
194
+ return _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_3__["LanguageService"].getPhrase(this.lang, 'title');
195
+ }
196
+ }, {
197
+ key: "lang",
198
+ get: function get() {
199
+ return 'migrationWizard.publisherBackupComplete';
200
+ }
201
+ }, {
202
+ key: "className",
203
+ get: function get() {
204
+ return "container text-center p-4 bg-white ".concat(_publisher_backup_complete_scss__WEBPACK_IMPORTED_MODULE_8___default.a.migrationBackupContainer, " ").concat(_publisher_backup_complete_scss__WEBPACK_IMPORTED_MODULE_8___default.a.complete);
205
+ }
206
+ }, {
207
+ key: "template",
208
+ get: function get() {
209
+ return _PublisherBackupComplete_hbs__WEBPACK_IMPORTED_MODULE_9___default.a;
210
+ }
211
+ }, {
212
+ key: "appLinks",
213
+ get: function get() {
214
+ return {
215
+ '.applink-start-migration': {
216
+ application: _shared_constants__WEBPACK_IMPORTED_MODULE_6__["AppChannels"].MIGRATION_WIZARD,
217
+ action: _shared_constants__WEBPACK_IMPORTED_MODULE_6__["Actions"].MigrationWizard.START_MIGRATION
218
+ }
219
+ };
220
+ }
221
+ }, {
222
+ key: "requiredResources",
223
+ get: function get() {
224
+ return {
225
+ config: _shared_services_ConfigDataService__WEBPACK_IMPORTED_MODULE_5__["ConfigDataServiceHelper"].config
226
+ };
227
+ }
228
+ }]);
229
+
230
+ return PublisherBackupCompleteView;
231
+ }(_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_1__["Core"].View);
232
+
233
+ /***/ }),
234
+
235
+ /***/ "./src/apps/migration-wizard/views/publisher-backup-complete/publisher-backup-complete.scss":
236
+ /*!**************************************************************************************************!*\
237
+ !*** ./src/apps/migration-wizard/views/publisher-backup-complete/publisher-backup-complete.scss ***!
238
+ \**************************************************************************************************/
239
+ /*! no static exports found */
240
+ /***/ (function(module, exports, __webpack_require__) {
241
+
242
+ // extracted by mini-css-extract-plugin
243
+ module.exports = {"complete":"cv--complete--2YgCz","middle":"cv--middle--2QcuL","checkedImage":"cv--checkedImage--30_1Z","warningImage":"cv--warningImage--2gF7F"};
244
+
245
+ /***/ })
246
+
247
+ }]);
248
+ //# sourceMappingURL=69.chunk.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/migration-wizard/views/publisher-backup-complete/PublisherBackupComplete.hbs","file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/migration-wizard/views/publisher-backup-complete/PublisherBackupCompleteView.ts","webpack://@clickview/library-editor/./src/apps/migration-wizard/views/publisher-backup-complete/publisher-backup-complete.scss?c7a8"],"names":[],"mappings":";;;;;;;;;AAAA,iBAAiB,mBAAO,CAAC,8BAAY;AACrC,iEAAiE;AACjE,uJAAuJ;;AAEvJ;AACA;AACA;AACA,yFAAyF,uBAAuB,aAAa;AAC7H;AACA,iGAAiG,uBAAuB,aAAa;AACrI;AACA,2FAA2F,uBAAuB,aAAa;AAC/H;AACA,kGAAkG,sBAAsB,iIAAiI,aAAa;AACtQ;AACA,CAAC;AACD,uJAAuJ;;AAEvJ;AACA;AACA;AACA,4FAA4F,uBAAuB,aAAa;AAChI;AACA,6FAA6F,sBAAsB,0GAA0G,aAAa;AAC1O;AACA,uFAAuF,uBAAuB,aAAa;AAC3H;AACA,CAAC;AACD;;AAEA;AACA;AACA;AACA,0FAA0F,2FAA2F,qBAAqB,wFAAwF;AAClS;AACA,CAAC,gBAAgB,E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACjCjB;AACA;AACA;AACA;AACA;AAGA;AACA;AAGA;AAGA;AACA;AAEO,IAAM,2BAAb;AAAA;;AAAA;;AAAA;AAAA;;AAAA;AAAA;;AAAA;AAAA;AAAA,iCAMmB;AACf,WAAK,yBAAL,GAAiC,kGAAe,CAAC,WAAhB,CAA4B,8DAAY,CAAC,cAAzC,EAAyD,IAAzD,CAAjC;AAEA,WAAK,aAAL;AACD;AAVH;AAAA;AAAA,oCAYuB;AACnB,WAAK,QAAL,CAAc,8DAAY,CAAC,SAA3B,YAAyC,8DAAY,CAAC,iBAAtD,YAAgF,KAAK,MAArF;AACD;AAdH;AAAA;AAAA,kCAoCoB;AAChB,aAAO;AACL,cAAM,EAAN,sEADK;AAEL,aAAK,EAAE,KAAK,UAAL,EAFF;AAGL,kBAAU,gFACN,0EAAS,CAAC,MAAV,CAAiB,6EAAY,CAAC,gBAA9B,CADM,YAHL;AAKL,sBAAc,sBACV,mFAAS,CAAC,aAAV,CAAwB,KAAK,MAAL,CAAY,GAAZ,CAAgB,kBAAhB,CAAxB,EAA6D,4EAA7D,CADU;AALT,OAAP;AASD;AA9CH;AAAA;AAAA,qCA+DuB;AAAA;;AACnB,WAAK,yBAAL,CAA+B,mBAA/B,CAAmD,UAAC,IAAD,EAA2B;AAC5E,aAAI,CAAC,QAAL,GAAgB,IAAhB;AACD,OAFD;AAIA,aAAO,CAAC,CAAC,KAAK,QAAd;AACD;AArEH;AAAA;AAAA,+BAuEiB;AACb,UAAI,KAAK,cAAL,IAAuB,CAAC,KAAK,UAAL,EAA5B,EAA+C;AAE/C,WAAK,mBAAL;AACA,WAAK,cAAL,GAAsB,IAAtB;AACD;AA5EH;AAAA;AAAA,iCA8EoB;AAChB,aAAO,sEAAe,CAAC,uBAAhB,CAAwC,KAAK,QAA7C,CAAP;AACD;AAhFH;AAAA;AAAA,0CAkF6B;AAAA;;AACzB,WAAK,yBAAL,CAA+B,gCAA/B,CAAgE,UAAC,QAAD,EAA+B;AAC7F,YAAI,MAAI,CAAC,WAAL,EAAJ,EAAwB;;AAExB,YAAI,sEAAe,CAAC,gBAAhB,CAAiC,QAAjC,CAAJ,EAAgD;AAC9C,wEAAI,CAAC,aAAL,CAAmB,OAAnB,CAA2B;AACzB,uBAAW,EAAE,6DAAW,CAAC,gBADA;AAEzB,kBAAM,EAAE,yDAAO,CAAC,eAAR,CAAwB;AAFP,WAA3B;AAIA;AACD;;AAED,YAAI,sEAAe,CAAC,0BAAhB,CAA2C,QAA3C,CAAJ,EAA0D;AACxD,wEAAI,CAAC,aAAL,CAAmB,OAAnB,CAA2B;AACzB,uBAAW,EAAE,6DAAW,CAAC,gBADA;AAEzB,kBAAM,EAAE,yDAAO,CAAC,eAAR,CAAwB;AAFP,WAA3B;AAIA;AACD;;AAED,kBAAU,CAAC;AAAA,iBAAM,MAAI,CAAC,mBAAL,EAAN;AAAA,SAAD,EAAmC,KAAnC,CAAV;AACD,OApBD;AAqBD;AAxGH;AAAA;AAAA,wBAgBiB;AACb,aAAO,6BAAP;AACD;AAlBH;AAAA;AAAA,wBAoBkB;AACd,aAAO,kGAAe,CAAC,SAAhB,CAA0B,KAAK,IAA/B,EAAqC,OAArC,CAAP;AACD;AAtBH;AAAA;AAAA,wBAwBiB;AACb,aAAO,yCAAP;AACD;AA1BH;AAAA;AAAA,wBA4BsB;AAClB,0DAA6C,sEAAM,CAAC,wBAApD,cAAgF,sEAAM,CAAC,QAAvF;AACD;AA9BH;AAAA;AAAA,wBAgCqB;AACjB,aAAO,mEAAP;AACD;AAlCH;AAAA;AAAA,wBAgDqB;AACjB,aAAO;AACL,oCAA4B;AAC1B,qBAAW,EAAE,6DAAW,CAAC,gBADC;AAE1B,gBAAM,EAAE,yDAAO,CAAC,eAAR,CAAwB;AAFN;AADvB,OAAP;AAMD;AAvDH;AAAA;AAAA,wBAyD8B;AAC1B,aAAO;AACL,cAAM,EAAE,0FAAuB,CAAC;AAD3B,OAAP;AAGD;AA7DH;;AAAA;AAAA,EAAiD,8DAAI,CAAC,IAAtD,E;;;;;;;;;;;ACnBA;AACA,kBAAkB,iJ","file":"scripts/69.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.escapeExpression, alias3=depth0 != null ? depth0 : (container.nullContext || {}), alias4=container.hooks.helperMissing;\n\n return \" <img src=\\\"/images/warning.png\\\" class=\\\"p-3 \"\n + alias2(container.lambda(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.warningImage : stack1), depth0))\n + \"\\\">\\r\\n <h4>\"\n + alias2((helpers.lang||(depth0 && depth0.lang)||alias4).call(alias3,\"errorHeading\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</h4>\\r\\n <p>\\r\\n \"\n + ((stack1 = (helpers.lang||(depth0 && depth0.lang)||alias4).call(alias3,\"errorDescription\",{\"name\":\"lang\",\"hash\":{},\"data\":data})) != null ? stack1 : \"\")\n + \"\\r\\n </p>\\r\\n <a class=\\\"btn btn-primary applink-start-migration\\\">\"\n + alias2((helpers.lang||(depth0 && depth0.lang)||alias4).call(alias3,\"continueAnyway\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</a>\\r\\n <p class=\\\"mt-3\\\">\"\n + ((stack1 = (helpers.lang||(depth0 && depth0.lang)||alias4).call(alias3,\"bookAnAppointment\",{\"name\":\"lang\",\"hash\":{\"url\":((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.appointmentUrl : stack1),\"linkClasses\":\"info-link\"},\"data\":data})) != null ? stack1 : \"\")\n + \"</p>\\r\\n\";\n},\"3\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable, alias2=container.escapeExpression, alias3=depth0 != null ? depth0 : (container.nullContext || {}), alias4=container.hooks.helperMissing;\n\n return \" <img src=\\\"/images/checked.png\\\" class=\\\"p-3 \"\n + alias2(container.lambda(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.checkedImage : stack1), depth0))\n + \"\\\">\\r\\n <h4>\"\n + alias2((helpers.lang||(depth0 && depth0.lang)||alias4).call(alias3,\"completeHeading\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</h4>\\r\\n <p>\\r\\n \"\n + ((stack1 = (helpers.lang||(depth0 && depth0.lang)||alias4).call(alias3,\"completeBody\",{\"name\":\"lang\",\"hash\":{\"archiveSvg\":((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.archiveSvg : stack1)},\"data\":data})) != null ? stack1 : \"\")\n + \"\\r\\n </p>\\r\\n <a class=\\\"btn btn-primary applink-start-migration\\\">\"\n + alias2((helpers.lang||(depth0 && depth0.lang)||alias4).call(alias3,\"getStarted\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</a>\\r\\n\";\n},\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable;\n\n return \"<div class=\\\"\"\n + container.escapeExpression(container.lambda(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.middle : stack1), depth0))\n + \"\\\">\\r\\n\"\n + ((stack1 = helpers[\"if\"].call(depth0 != null ? depth0 : (container.nullContext || {}),((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.error : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.program(3, data, 0),\"data\":data})) != null ? stack1 : \"\")\n + \"</div>\";\n},\"useData\":true});","import { ObjectHash } from 'backbone';\r\n\r\nimport { UrlHelper } from 'libs/common/backbone/utils/UrlHelper';\r\nimport { Core } from 'libs/common/core';\r\nimport { InstanceManager } from 'libs/common/backbone/services/InstanceManager';\r\nimport { LanguageService } from 'libs/common/backbone/services/LanguageService';\r\nimport { SvgHelper, cvSvgLibrary } from 'libs/shared/utils/SvgHelper';\r\n\r\nimport { Config } from 'shared/models/Config';\r\nimport { ConfigDataServiceHelper } from 'shared/services/ConfigDataService';\r\nimport { Actions, DataServices, DataPrefixes, DataChannels, AppChannels } from 'shared/constants';\r\n\r\nimport { CustomerMetadata } from 'apps/migration-wizard/models';\r\nimport { MigrationHelper } from 'apps/migration-wizard/utils/MigrationHelper';\r\nimport { MigrationVideoDataService } from 'apps/migration-wizard/services/MigrationVideoDataService';\r\n\r\nimport styles from './publisher-backup-complete.scss';\r\nimport PublisherBackupTemplate from './PublisherBackupComplete.hbs';\r\n\r\nexport class PublisherBackupCompleteView extends Core.View {\r\n private pollingStarted: boolean;\r\n private metadata: CustomerMetadata;\r\n private migrationVideoDataService: MigrationVideoDataService;\r\n public config: Config;\r\n\r\n public initialize(): void {\r\n this.migrationVideoDataService = InstanceManager.getInstance(DataServices.MigrationVideo, this);\r\n\r\n this.bindListeners();\r\n }\r\n\r\n private bindListeners(): void {\r\n this.listenTo(DataChannels.MIGRATION, `${DataPrefixes.CUSTOMER_METADATA}:sync`, this.render);\r\n }\r\n\r\n public get name(): string {\r\n return 'PublisherBackupCompleteView';\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.publisherBackupComplete';\r\n }\r\n\r\n public get className(): string {\r\n return `container text-center p-4 bg-white ${styles.migrationBackupContainer} ${styles.complete}`;\r\n }\r\n\r\n public get template(): any {\r\n return PublisherBackupTemplate;\r\n }\r\n\r\n public viewOptions(): ObjectHash {\r\n return {\r\n styles,\r\n error: this.hasErrored(),\r\n archiveSvg: `<span class=\\\"d-inline-block align-middle svg-container\\\">\r\n ${SvgHelper.getSvg(cvSvgLibrary.PublisherArchive)}</span>`,\r\n appointmentUrl: `\r\n ${UrlHelper.safeUrlConcat(this.config.get('marketingSiteUrl'), '/library-editor/book-appointment?type=library-editor-publisher-backup-tool')}\r\n `\r\n };\r\n }\r\n\r\n public get appLinks(): Core.AppLinkHash {\r\n return {\r\n '.applink-start-migration': {\r\n application: AppChannels.MIGRATION_WIZARD,\r\n action: Actions.MigrationWizard.START_MIGRATION,\r\n }\r\n };\r\n }\r\n\r\n public get requiredResources(): Core.RequiredResourceHash {\r\n return {\r\n config: ConfigDataServiceHelper.config\r\n };\r\n }\r\n\r\n public onBeforeRender(): boolean {\r\n this.migrationVideoDataService.getCustomerMetadata((data: CustomerMetadata) => {\r\n this.metadata = data;\r\n });\r\n\r\n return !!this.metadata;\r\n }\r\n\r\n public onRender(): void {\r\n if (this.pollingStarted || !this.hasErrored()) return;\r\n\r\n this.pollCloudSyncStatus();\r\n this.pollingStarted = true;\r\n }\r\n\r\n private hasErrored(): boolean {\r\n return MigrationHelper.backupCompleteWithError(this.metadata);\r\n }\r\n\r\n private pollCloudSyncStatus(): void {\r\n this.migrationVideoDataService.clearCacheAndGetCustomerMetadata((metadata: CustomerMetadata) => {\r\n if (this.isDestroyed()) return;\r\n\r\n if (MigrationHelper.backupProcessing(metadata)) {\r\n Core.AppLinkHelper.trigger({\r\n application: AppChannels.MIGRATION_WIZARD,\r\n action: Actions.MigrationWizard.BACKUP_PROGRESS,\r\n });\r\n return;\r\n }\r\n\r\n if (MigrationHelper.backupCompleteWithoutError(metadata)) {\r\n Core.AppLinkHelper.trigger({\r\n application: AppChannels.MIGRATION_WIZARD,\r\n action: Actions.MigrationWizard.BACKUP_COMPLETE,\r\n });\r\n return;\r\n }\r\n\r\n setTimeout(() => this.pollCloudSyncStatus(), 30000);\r\n });\r\n }\r\n}","// extracted by mini-css-extract-plugin\nmodule.exports = {\"complete\":\"cv--complete--2YgCz\",\"middle\":\"cv--middle--2QcuL\",\"checkedImage\":\"cv--checkedImage--30_1Z\",\"warningImage\":\"cv--warningImage--2gF7F\"};"],"sourceRoot":""}