@clickview/library-editor 1.1.29-dev.1 → 1.1.29-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (196) hide show
  1. package/dist/css/11.chunk.css +135 -0
  2. package/dist/css/17.chunk.css +14 -0
  3. package/dist/css/18.chunk.css +18 -0
  4. package/dist/css/2.chunk.css +143 -0
  5. package/dist/css/34.chunk.css +19 -0
  6. package/dist/css/35.chunk.css +18 -0
  7. package/dist/css/36.chunk.css +12 -0
  8. package/dist/css/49.chunk.css +33 -0
  9. package/dist/css/52.chunk.css +64 -0
  10. package/dist/css/60.chunk.css +16 -0
  11. package/dist/css/63.chunk.css +168 -0
  12. package/dist/css/67.chunk.css +76 -0
  13. package/dist/css/68.chunk.css +15 -0
  14. package/dist/css/69.chunk.css +15 -0
  15. package/dist/css/70.chunk.css +21 -0
  16. package/dist/css/71.chunk.css +38 -0
  17. package/dist/css/72.chunk.css +14 -0
  18. package/dist/css/73.chunk.css +35 -0
  19. package/dist/css/74.chunk.css +27 -0
  20. package/dist/css/75.chunk.css +4 -0
  21. package/dist/css/76.chunk.css +4 -0
  22. package/dist/scripts/{0-893cf9da03.chunk.js → 0-d9bab0e33f.chunk.js} +1 -1
  23. package/dist/scripts/0.chunk.js +64 -0
  24. package/dist/scripts/1-43274a8acf.chunk.js +1 -0
  25. package/dist/scripts/1.chunk.js +75 -0
  26. package/dist/scripts/{10-2fdf5fbc53.chunk.js → 10-9ccbcc7396.chunk.js} +1 -1
  27. package/dist/scripts/10.chunk.js +62 -0
  28. package/dist/scripts/{11-d8ac95ace0.chunk.js → 11-eacd10fc4b.chunk.js} +1 -1
  29. package/dist/scripts/11.chunk.js +317 -0
  30. package/dist/scripts/{12-4a650f5770.chunk.js → 12-f7d3c3eb14.chunk.js} +1 -1
  31. package/dist/scripts/12.chunk.js +56 -0
  32. package/dist/scripts/{13-bf721cf737.chunk.js → 13-596293d2f3.chunk.js} +1 -1
  33. package/dist/scripts/13.chunk.js +25 -0
  34. package/dist/scripts/{14-6d9b2e7b5d.chunk.js → 14-10db24a21b.chunk.js} +1 -1
  35. package/dist/scripts/14.chunk.js +272 -0
  36. package/dist/scripts/{15-66f7b3f806.chunk.js → 15-c27b6e07d7.chunk.js} +1 -1
  37. package/dist/scripts/15.chunk.js +35 -0
  38. package/dist/scripts/{16-c8a2187366.chunk.js → 16-0527a91c12.chunk.js} +1 -1
  39. package/dist/scripts/16.chunk.js +79 -0
  40. package/dist/scripts/{17-74011bb49d.chunk.js → 17-0eb846d9b9.chunk.js} +1 -1
  41. package/dist/scripts/17.chunk.js +40 -0
  42. package/dist/scripts/18.chunk.js +40 -0
  43. package/dist/scripts/19.chunk.js +43 -0
  44. package/dist/scripts/{2-adb8cb0f02.chunk.js → 2-32600b4825.chunk.js} +1 -1
  45. package/dist/scripts/2.chunk.js +33 -0
  46. package/dist/scripts/{20-037b7c190d.chunk.js → 20-4694e953f3.chunk.js} +1 -1
  47. package/dist/scripts/20.chunk.js +18 -0
  48. package/dist/scripts/{21-722fc28f1a.chunk.js → 21-31fe65f6fe.chunk.js} +1 -1
  49. package/dist/scripts/21.chunk.js +55 -0
  50. package/dist/scripts/{22-70a4351788.chunk.js → 22-53683e1113.chunk.js} +1 -1
  51. package/dist/scripts/22.chunk.js +47 -0
  52. package/dist/scripts/23-532207d286.chunk.js +1 -0
  53. package/dist/scripts/23.chunk.js +47 -0
  54. package/dist/scripts/{24-6102fbd968.chunk.js → 24-bbcd07a4ad.chunk.js} +1 -1
  55. package/dist/scripts/24.chunk.js +33 -0
  56. package/dist/scripts/{25-5e3718c4f8.chunk.js → 25-89fdb8ae9e.chunk.js} +1 -1
  57. package/dist/scripts/25.chunk.js +25 -0
  58. package/dist/scripts/{26-125d9a6de8.chunk.js → 26-f96a71dc19.chunk.js} +1 -1
  59. package/dist/scripts/26.chunk.js +25 -0
  60. package/dist/scripts/{27-457c6bad4b.chunk.js → 27-0f31b7c661.chunk.js} +1 -1
  61. package/dist/scripts/27.chunk.js +10 -0
  62. package/dist/scripts/{28-5d9b1adc65.chunk.js → 28-33fe42f228.chunk.js} +1 -1
  63. package/dist/scripts/28.chunk.js +334 -0
  64. package/dist/scripts/{29-0c9c51c239.chunk.js → 29-98ee96c8e2.chunk.js} +1 -1
  65. package/dist/scripts/29.chunk.js +202 -0
  66. package/dist/scripts/{3-b28a477332.chunk.js → 3-cde1cf5937.chunk.js} +1 -1
  67. package/dist/scripts/3.chunk.js +49 -0
  68. package/dist/scripts/{30-f0260bfb5d.chunk.js → 30-a1e91c98bb.chunk.js} +1 -1
  69. package/dist/scripts/30.chunk.js +137 -0
  70. package/dist/scripts/{31-620d94f312.chunk.js → 31-ddc6005e61.chunk.js} +1 -1
  71. package/dist/scripts/31.chunk.js +113 -0
  72. package/dist/scripts/{32-fca1e842be.chunk.js → 32-faaa878653.chunk.js} +1 -1
  73. package/dist/scripts/32.chunk.js +115 -0
  74. package/dist/scripts/{33-35a23ce7dc.chunk.js → 33-c0f26ea2ed.chunk.js} +1 -1
  75. package/dist/scripts/33.chunk.js +93 -0
  76. package/dist/scripts/{34-63cad33739.chunk.js → 34-664e3c9ed8.chunk.js} +1 -1
  77. package/dist/scripts/34.chunk.js +63 -0
  78. package/dist/scripts/{35-c714c79c47.chunk.js → 35-65df59652c.chunk.js} +1 -1
  79. package/dist/scripts/35.chunk.js +48 -0
  80. package/dist/scripts/{36-97d54bfcb6.chunk.js → 36-67f06d207e.chunk.js} +1 -1
  81. package/dist/scripts/36.chunk.js +33 -0
  82. package/dist/scripts/{37-714e274ba1.chunk.js → 37-cd9319a509.chunk.js} +1 -1
  83. package/dist/scripts/37.chunk.js +25 -0
  84. package/dist/scripts/{38-57707f35c5.chunk.js → 38-d31c013847.chunk.js} +1 -1
  85. package/dist/scripts/38.chunk.js +25 -0
  86. package/dist/scripts/{39-8efc05edc8.chunk.js → 39-c6cddc090b.chunk.js} +1 -1
  87. package/dist/scripts/39.chunk.js +19 -0
  88. package/dist/scripts/{4-a5df37905e.chunk.js → 4-1c1dfe2433.chunk.js} +1 -1
  89. package/dist/scripts/4.chunk.js +26 -0
  90. package/dist/scripts/{40-7683dbe2eb.chunk.js → 40-fe62a14c0d.chunk.js} +1 -1
  91. package/dist/scripts/40.chunk.js +182 -0
  92. package/dist/scripts/{41-278fde528e.chunk.js → 41-f38884bab1.chunk.js} +1 -1
  93. package/dist/scripts/41.chunk.js +175 -0
  94. package/dist/scripts/{42-ba98b82f3f.chunk.js → 42-ed988e3f2d.chunk.js} +1 -1
  95. package/dist/scripts/42.chunk.js +176 -0
  96. package/dist/scripts/{43-6821c05ced.chunk.js → 43-5e456895fb.chunk.js} +1 -1
  97. package/dist/scripts/43.chunk.js +113 -0
  98. package/dist/scripts/{44-ac3f31f773.chunk.js → 44-7bdb91c84a.chunk.js} +1 -1
  99. package/dist/scripts/44.chunk.js +122 -0
  100. package/dist/scripts/{45-9eafa772d6.chunk.js → 45-ecdc8f35ff.chunk.js} +1 -1
  101. package/dist/scripts/45.chunk.js +85 -0
  102. package/dist/scripts/{46-6e1aaad220.chunk.js → 46-d7378b7299.chunk.js} +1 -1
  103. package/dist/scripts/46.chunk.js +78 -0
  104. package/dist/scripts/{47-23c8fd27f4.chunk.js → 47-918e00832a.chunk.js} +1 -1
  105. package/dist/scripts/47.chunk.js +70 -0
  106. package/dist/scripts/{48-7e67867a3f.chunk.js → 48-29367eedb5.chunk.js} +1 -1
  107. package/dist/scripts/48.chunk.js +88 -0
  108. package/dist/scripts/{49-e9876d2cab.chunk.js → 49-bfa3d256c7.chunk.js} +1 -1
  109. package/dist/scripts/49.chunk.js +62 -0
  110. package/dist/scripts/{5-f1869dedae.chunk.js → 5-2643262b33.chunk.js} +1 -1
  111. package/dist/scripts/5.chunk.js +10 -0
  112. package/dist/scripts/{50-f9c7c3761e.chunk.js → 50-4fd30753c4.chunk.js} +1 -1
  113. package/dist/scripts/50.chunk.js +64 -0
  114. package/dist/scripts/{51-3b6afb684f.chunk.js → 51-6be60d667e.chunk.js} +1 -1
  115. package/dist/scripts/51.chunk.js +55 -0
  116. package/dist/scripts/{52-a9f0c422a5.chunk.js → 52-40c6ddc6d8.chunk.js} +1 -1
  117. package/dist/scripts/52.chunk.js +47 -0
  118. package/dist/scripts/{53-8b48f7fdca.chunk.js → 53-bd14d7e2d0.chunk.js} +1 -1
  119. package/dist/scripts/53.chunk.js +56 -0
  120. package/dist/scripts/{54-e4c4395d60.chunk.js → 54-5ff1f1ae99.chunk.js} +1 -1
  121. package/dist/scripts/54.chunk.js +56 -0
  122. package/dist/scripts/{55-d8b06f6866.chunk.js → 55-d7a84e12ce.chunk.js} +1 -1
  123. package/dist/scripts/55.chunk.js +41 -0
  124. package/dist/scripts/{56-d6d4357a95.chunk.js → 56-11e9b487a7.chunk.js} +1 -1
  125. package/dist/scripts/56.chunk.js +41 -0
  126. package/dist/scripts/{57-0b06c18f49.chunk.js → 57-1dbfc6cc21.chunk.js} +1 -1
  127. package/dist/scripts/57.chunk.js +50 -0
  128. package/dist/scripts/{58-437d8ddfa0.chunk.js → 58-bd86d244ca.chunk.js} +1 -1
  129. package/dist/scripts/58.chunk.js +33 -0
  130. package/dist/scripts/{59-2e17690315.chunk.js → 59-17eae5e85d.chunk.js} +1 -1
  131. package/dist/scripts/59.chunk.js +33 -0
  132. package/dist/scripts/{6-aa503af6ca.chunk.js → 6-761fc04f5a.chunk.js} +1 -1
  133. package/dist/scripts/6.chunk.js +40 -0
  134. package/dist/scripts/{60-148ca2abae.chunk.js → 60-b4b7bcf2df.chunk.js} +1 -1
  135. package/dist/scripts/60.chunk.js +33 -0
  136. package/dist/scripts/{61-c9d395815f.chunk.js → 61-e21c38e6ad.chunk.js} +1 -1
  137. package/dist/scripts/61.chunk.js +33 -0
  138. package/dist/scripts/{62-1fb6fc1ccd.chunk.js → 62-f13702f3ce.chunk.js} +1 -1
  139. package/dist/scripts/62.chunk.js +25 -0
  140. package/dist/scripts/{63-5a28ef5304.chunk.js → 63-951be4ea1c.chunk.js} +1 -1
  141. package/dist/scripts/63.chunk.js +25 -0
  142. package/dist/scripts/{64-d48ec30d03.chunk.js → 64-00ac823b05.chunk.js} +1 -1
  143. package/dist/scripts/64.chunk.js +33 -0
  144. package/dist/scripts/{65-f19fd0e2c6.chunk.js → 65-4fcdbba2ce.chunk.js} +1 -1
  145. package/dist/scripts/65.chunk.js +34 -0
  146. package/dist/scripts/{66-09e627c1ad.chunk.js → 66-d5f77f0f1b.chunk.js} +1 -1
  147. package/dist/scripts/66.chunk.js +33 -0
  148. package/dist/scripts/{67-4407c6bbae.chunk.js → 67-71fccc45c2.chunk.js} +1 -1
  149. package/dist/scripts/67.chunk.js +25 -0
  150. package/dist/scripts/{68-50d56244e4.chunk.js → 68-68def3bc6f.chunk.js} +1 -1
  151. package/dist/scripts/68.chunk.js +25 -0
  152. package/dist/scripts/{69-63e2e42b11.chunk.js → 69-988f711f29.chunk.js} +1 -1
  153. package/dist/scripts/69.chunk.js +25 -0
  154. package/dist/scripts/{7-470aeaa5af.chunk.js → 7-7f5ce7e0da.chunk.js} +1 -1
  155. package/dist/scripts/7.chunk.js +33 -0
  156. package/dist/scripts/{70-60d35f9d34.chunk.js → 70-41fe72ca31.chunk.js} +1 -1
  157. package/dist/scripts/70.chunk.js +25 -0
  158. package/dist/scripts/{71-a03ad04161.chunk.js → 71-c49e3df87b.chunk.js} +1 -1
  159. package/dist/scripts/71.chunk.js +25 -0
  160. package/dist/scripts/{72-97e3161fa9.chunk.js → 72-7407631469.chunk.js} +1 -1
  161. package/dist/scripts/72.chunk.js +25 -0
  162. package/dist/scripts/73.chunk.js +25 -0
  163. package/dist/scripts/74.chunk.js +25 -0
  164. package/dist/scripts/75.chunk.js +25 -0
  165. package/dist/scripts/76.chunk.js +25 -0
  166. package/dist/scripts/77.chunk.js +26 -0
  167. package/dist/scripts/78.chunk.js +26 -0
  168. package/dist/scripts/79.chunk.js +26 -0
  169. package/dist/scripts/{8-4ec4ac9a11.chunk.js → 8-d0e1978f60.chunk.js} +1 -1
  170. package/dist/scripts/8.chunk.js +33 -0
  171. package/dist/scripts/80.chunk.js +26 -0
  172. package/dist/scripts/81.chunk.js +26 -0
  173. package/dist/scripts/82.chunk.js +26 -0
  174. package/dist/scripts/83.chunk.js +26 -0
  175. package/dist/scripts/84.chunk.js +26 -0
  176. package/dist/scripts/85.chunk.js +26 -0
  177. package/dist/scripts/86.chunk.js +18 -0
  178. package/dist/scripts/87.chunk.js +18 -0
  179. package/dist/scripts/88.chunk.js +18 -0
  180. package/dist/scripts/89.chunk.js +18 -0
  181. package/dist/scripts/9-eedec13766.chunk.js +1 -0
  182. package/dist/scripts/9.chunk.js +18 -0
  183. package/dist/scripts/90.chunk.js +18 -0
  184. package/dist/scripts/91.chunk.js +18 -0
  185. package/dist/scripts/92.chunk.js +18 -0
  186. package/dist/scripts/bundle-5aa09ebe8d.min.js +8 -0
  187. package/dist/scripts/bundle.js +9345 -0
  188. package/dist/scripts/bundles.json +2 -2
  189. package/dist/scripts/polyfills-1ff4d28da8.min.js +1 -0
  190. package/dist/scripts/polyfills.js +2694 -0
  191. package/package.json +3 -3
  192. package/dist/scripts/1-f569dbba40.chunk.js +0 -1
  193. package/dist/scripts/23-ad81f42a40.chunk.js +0 -1
  194. package/dist/scripts/9-72164a8e26.chunk.js +0 -1
  195. package/dist/scripts/bundle-6f9fb1912c.min.js +0 -8
  196. package/dist/scripts/polyfills-22f553c16e.min.js +0 -1
@@ -1 +1 @@
1
- (window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[41],{1247:function(t,e,n){"use strict";n.d(e,"a",(function(){return y}));var r=n(2),o=n(36),i=n(3);function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function c(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function u(t,e){return(u=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=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(t){return!1}}();return function(){var n,r=f(t);if(e){var o=f(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return l(this,n)}}function l(t,e){return!e||"object"!==a(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function f(t){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var p="migrationWizard.smartMigrationApiCall",y=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&u(t,e)}(l,t);var e,n,o,a=s(l);function l(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,l),(e=a.call(this,i.a.getPhrase(p,"title"))).supportUrl=t,e}return e=l,(n=[{key:"onDone",value:function(){r.a.LocationUtils.Reload()}},{key:"name",get:function(){return"SmartMigrationApiCallError"}},{key:"dialogOptions",get:function(){return{title:i.a.getPhrase(p,"heading"),text:"<p>".concat(i.a.getPhrase(p,"errorNotice")," \n <strong>").concat(i.a.getPhrase(p,"reloadPage"),"</strong></p>\n <p>").concat(i.a.getPhrase(p,"helpGuide",{supportUrl:this.supportUrl,linkClasses:"text-info"}),"</p>"),buttons:[{text:i.a.getPhrase(p,"reload"),className:"btn btn-primary",success:!0}]}}}])&&c(e.prototype,n),o&&c(e,o),l}(o.a)},1284:function(t,e,n){"use strict";n(295);var r=n(2),o=n(36),i=n(3);function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function c(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function u(t,e){return(u=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=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(t){return!1}}();return function(){var n,r=f(t);if(e){var o=f(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return l(this,n)}}function l(t,e){return!e||"object"!==a(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function f(t){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var p="migrationWizard.backupProgress",y=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&u(t,e)}(l,t);var e,n,o,a=s(l);function l(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,l),a.call(this,i.a.getPhrase(p,"title"))}return e=l,(n=[{key:"onDone",value:function(){r.a.LocationUtils.Reload()}},{key:"name",get:function(){return"BackupProgressError"}},{key:"dialogOptions",get:function(){return{title:i.a.getPhrase(p,"heading"),text:i.a.getPhrase(p,"body"),buttons:[{text:i.a.getPhrase(p,"reload"),className:"btn btn-primary",success:!0}]}}}])&&c(e.prototype,n),o&&c(e,o),l}(o.a);function g(t){return(g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function h(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function b(t,e){return(b=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function m(t){var e=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(t){return!1}}();return function(){var n,r=v(t);if(e){var o=v(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return d(this,n)}}function d(t,e){return!e||"object"!==g(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function v(t){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var P=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&b(t,e)}(c,t);var e,n,o,a=m(c);function c(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,c),a.call(this,i.a.getPhrase("migrationWizard.migrationProgressError","title"))}return e=c,(n=[{key:"onDone",value:function(){r.a.LocationUtils.Reload()}},{key:"name",get:function(){return"MigrationProgressError"}},{key:"dialogOptions",get:function(){return{title:i.a.getPhrase("migrationWizard.migrationProgressError","heading"),text:i.a.getPhrase("migrationWizard.migrationProgressError","body"),buttons:[{text:i.a.getPhrase("migrationWizard.migrationProgressError","reload"),className:"btn btn-primary",success:!0}]}}}])&&h(e.prototype,n),o&&h(e,o),c}(o.a);function O(t){return(O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function w(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function _(t,e){return(_=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function k(t){var e=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(t){return!1}}();return function(){var n,r=S(t);if(e){var o=S(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return R(this,n)}}function R(t,e){return!e||"object"!==O(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function S(t){return(S=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var x=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&_(t,e)}(c,t);var e,n,o,a=k(c);function c(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,c),a.call(this,i.a.getPhrase("migrationWizard.migrationFinalisation","title"))}return e=c,(n=[{key:"onDone",value:function(){r.a.LocationUtils.Reload()}},{key:"name",get:function(){return"MigrationFinalisationError"}},{key:"dialogOptions",get:function(){return{title:i.a.getPhrase("migrationWizard.migrationFinalisation","heading"),text:i.a.getPhrase("migrationWizard.migrationFinalisation","body"),buttons:[{text:i.a.getPhrase("migrationWizard.migrationFinalisation","reload"),className:"btn btn-primary",success:!0}]}}}])&&w(e.prototype,n),o&&w(e,o),c}(o.a);n(1247);n.d(e,"a",(function(){return y})),n.d(e,"c",(function(){return P})),n.d(e,"b",(function(){return x})),n.d(e,"a",(function(){return y}))},1310:function(t,e,n){"use strict";n.d(e,"a",(function(){return g}));var r=n(2),o=n(1370),i=n.n(o),a=n(1371),c=n.n(a);function u(t){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function s(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function l(t,e){return(l=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function f(t){var e=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(t){return!1}}();return function(){var n,r=y(t);if(e){var o=y(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p(this,n)}}function p(t,e){return!e||"object"!==u(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function y(t){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var g=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&l(t,e)}(a,t);var e,n,r,o=f(a);function a(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),o.call(this,t)}return e=a,(n=[{key:"initialize",value:function(){this.listenTo(this.model,"change:percentage",this.update)}},{key:"viewOptions",value:function(){return{styles:i.a,text:this.options.text,class:this.options.class,percentage:this.options.percentage}}},{key:"onRender",value:function(){this.update()}},{key:"update",value:function(){var t=this.model.get("percentage")||0,e=this.getUI("circle").get(0),n=2*e.r.baseVal.value*Math.PI;e.style.strokeDasharray="".concat(n," ").concat(n),e.style.strokeDashoffset=n;var r=n-t/100*n;e.style.strokeDashoffset=r;var o=this.getUI("text");o&&o.text("".concat(t,"%"))}},{key:"name",get:function(){return"ProgressCircleComponent"}},{key:"template",get:function(){return c.a}},{key:"lang",get:function(){return"migrationWizard.progressCircle"}},{key:"elements",get:function(){return{circle:".progress-circle",text:".progress-circle-text"}}}])&&s(e.prototype,n),r&&s(e,r),a}(r.a.Component)},1370:function(t,e,n){t.exports={circle:"_3iX0l",extraText:"_1nYnx",progressCircleContainer:"_2l1Al",progressCircle:"_1RbA5"}},1371:function(t,e,n){var r=n(10);t.exports=(r.default||r).template({1:function(t,e,n,r,o){t.propertyIsEnumerable;var i,a=t.lambda,c=t.escapeExpression;return' <span class="'+c(a(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.extraText:i,e))+'">'+c(a(null!=(i=null!=e?e.options:e)?i.text:i,e))+"</span>\r\n"},compiler:[8,">= 4.3.0"],main:function(t,e,n,r,o){t.propertyIsEnumerable;var i,a=t.lambda,c=t.escapeExpression,u=null!=e?e:t.nullContext||{};return'<div class="'+c(a(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.circle:i,e))+" "+c(a(null!=(i=null!=e?e.options:e)?i.class:i,e))+'">\r\n <span>\r\n <span class="progress-circle-text">'+c((n.lang||e&&e.lang||t.hooks.helperMissing).call(u,"progress",{name:"lang",hash:{percentage:null!=(i=null!=e?e.options:e)?i.percentage:i},data:o}))+"</span>\r\n"+(null!=(i=n.if.call(u,null!=(i=null!=e?e.options:e)?i.text:i,{name:"if",hash:{},fn:t.program(1,o,0),inverse:t.noop,data:o}))?i:"")+' </span>\r\n\r\n <svg class="'+c(a(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.progressCircleContainer:i,e))+'">\r\n <circle class="progress-circle '+c(a(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.progressCircle:i,e))+'" transform=\'rotate(270 160 0)\' stroke-width="28" fill="transparent" r="150">\r\n </svg>\r\n</div>'},useData:!0})},1551:function(t,e,n){t.exports={backupProgress:"_15jUh",info:"_1NjZL",progress:"fp9FZ",migrationBackupContainer:"_28z_5"}},1552:function(t,e,n){var r=n(10);t.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,r,o){t.propertyIsEnumerable;var i,a=null!=e?e:t.nullContext||{},c=t.hooks.helperMissing,u=t.escapeExpression;return'<h4 class="pb-4">'+u((n.lang||e&&e.lang||c).call(a,"heading",{name:"lang",hash:{},data:o}))+'</h4>\r\n<div class="progress-circle-region"></div>\r\n<p class="'+u(t.lambda(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.info:i,e))+' pt-4">\r\n '+(null!=(i=(n.lang||e&&e.lang||c).call(a,"info",{name:"lang",hash:{},data:o}))?i:"")+"\r\n</p>"},useData:!0})},1638:function(t,e,n){"use strict";n.r(e),n.d(e,"PublisherBackupProgressView",(function(){return O}));var r=n(2),o=n(5),i=n(30),a=n(1551),c=n.n(a),u=n(1552),s=n.n(u),l=n(1284),f=n(0),p=n(3),y=n(1310);function g(t){return(g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function h(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function b(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function m(t,e){return(m=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function d(t){var e=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(t){return!1}}();return function(){var n,r=P(t);if(e){var o=P(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return v(this,n)}}function v(t,e){return!e||"object"!==g(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function P(t){return(P=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var O=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&m(t,e)}(g,t);var e,n,a,u=d(g);function g(){return h(this,g),u.apply(this,arguments)}return e=g,(n=[{key:"initialize",value:function(){this.viewModel=i.a.get("backup:progress",{percentage:0}),this.migrationVideoDataService=o.a.getInstance(f.g.MigrationVideo,this),this.bindMigrationDataListeners()}},{key:"regions",value:function(){return{progressCircle:{replaceElement:!0,el:".progress-circle-region"}}}},{key:"bindMigrationDataListeners",value:function(){this.listenTo(f.e.MIGRATION,"".concat(f.f.CUSTOMER_METADATA,":sync"),this.render),this.listenTo(f.e.MIGRATION,"".concat(f.f.CUSTOMER_VIDEO,":count:error"),this.onError)}},{key:"onError",value:function(){r.a.ErrorHelper.throw(new l.a)}},{key:"poll",value:function(){var t=this;this.migrationVideoDataService.getCustomerVideoCount((function(e){t.isDestroyed()||(t.videoCount=e,t.setPercentage(),t.viewModel.get("percentage")>=100?t.migrationVideoDataService.clearCacheAndGetCustomerMetadata((function(){r.a.AppLinkHelper.trigger({application:f.b.MIGRATION_WIZARD,action:f.a.MigrationWizard.BACKUP_COMPLETE})})):(setTimeout((function(){return t.poll()}),5e3),t.render()))}))}},{key:"setPercentage",value:function(){if(this.videoCount){var t=100*this.videoCount.get("progressPercentage");t>100&&(t=100),this.viewModel.set({percentage:Math.round(t)})}}},{key:"renderProgressCircle",value:function(){this.showChildView("progressCircle",new y.a({model:this.viewModel,text:p.a.getPhrase(this.lang,"hasBeenBackedUp"),class:c.a.progress}))}},{key:"onBeforeRender",value:function(){return this.customerMetadata=this.migrationVideoDataService.getCustomerMetadata(),!!this.customerMetadata}},{key:"viewOptions",value:function(){return{styles:c.a,timeRemaining:"30 minutes"}}},{key:"onRender",value:function(){this.pollingStarted||(this.poll(),this.pollingStarted=!0),this.renderProgressCircle()}},{key:"name",get:function(){return"PublisherBackupProgressView"}},{key:"title",get:function(){return p.a.getPhrase(this.lang,"title")}},{key:"lang",get:function(){return"migrationWizard.publisherBackupProgress"}},{key:"className",get:function(){return"container text-center p-5 bg-white ".concat(c.a.migrationBackupContainer," ").concat(c.a.backupProgress)}},{key:"template",get:function(){return s.a}}])&&b(e.prototype,n),a&&b(e,a),g}(r.a.View)}}]);
1
+ (window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[41],{1249:function(t,e,n){"use strict";n.d(e,"a",(function(){return y}));var r=n(2),o=n(36),i=n(3);function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function c(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function u(t,e){return(u=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=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(t){return!1}}();return function(){var n,r=f(t);if(e){var o=f(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return l(this,n)}}function l(t,e){return!e||"object"!==a(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function f(t){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var p="migrationWizard.smartMigrationApiCall",y=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&u(t,e)}(l,t);var e,n,o,a=s(l);function l(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,l),(e=a.call(this,i.a.getPhrase(p,"title"))).supportUrl=t,e}return e=l,(n=[{key:"onDone",value:function(){r.a.LocationUtils.Reload()}},{key:"name",get:function(){return"SmartMigrationApiCallError"}},{key:"dialogOptions",get:function(){return{title:i.a.getPhrase(p,"heading"),text:"<p>".concat(i.a.getPhrase(p,"errorNotice")," \n <strong>").concat(i.a.getPhrase(p,"reloadPage"),"</strong></p>\n <p>").concat(i.a.getPhrase(p,"helpGuide",{supportUrl:this.supportUrl,linkClasses:"text-info"}),"</p>"),buttons:[{text:i.a.getPhrase(p,"reload"),className:"btn btn-primary",success:!0}]}}}])&&c(e.prototype,n),o&&c(e,o),l}(o.a)},1286:function(t,e,n){"use strict";n(295);var r=n(2),o=n(36),i=n(3);function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function c(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function u(t,e){return(u=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=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(t){return!1}}();return function(){var n,r=f(t);if(e){var o=f(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return l(this,n)}}function l(t,e){return!e||"object"!==a(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function f(t){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var p="migrationWizard.backupProgress",y=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&u(t,e)}(l,t);var e,n,o,a=s(l);function l(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,l),a.call(this,i.a.getPhrase(p,"title"))}return e=l,(n=[{key:"onDone",value:function(){r.a.LocationUtils.Reload()}},{key:"name",get:function(){return"BackupProgressError"}},{key:"dialogOptions",get:function(){return{title:i.a.getPhrase(p,"heading"),text:i.a.getPhrase(p,"body"),buttons:[{text:i.a.getPhrase(p,"reload"),className:"btn btn-primary",success:!0}]}}}])&&c(e.prototype,n),o&&c(e,o),l}(o.a);function g(t){return(g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function h(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function b(t,e){return(b=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function m(t){var e=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(t){return!1}}();return function(){var n,r=v(t);if(e){var o=v(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return d(this,n)}}function d(t,e){return!e||"object"!==g(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function v(t){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var P=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&b(t,e)}(c,t);var e,n,o,a=m(c);function c(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,c),a.call(this,i.a.getPhrase("migrationWizard.migrationProgressError","title"))}return e=c,(n=[{key:"onDone",value:function(){r.a.LocationUtils.Reload()}},{key:"name",get:function(){return"MigrationProgressError"}},{key:"dialogOptions",get:function(){return{title:i.a.getPhrase("migrationWizard.migrationProgressError","heading"),text:i.a.getPhrase("migrationWizard.migrationProgressError","body"),buttons:[{text:i.a.getPhrase("migrationWizard.migrationProgressError","reload"),className:"btn btn-primary",success:!0}]}}}])&&h(e.prototype,n),o&&h(e,o),c}(o.a);function O(t){return(O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function w(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function _(t,e){return(_=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function k(t){var e=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(t){return!1}}();return function(){var n,r=S(t);if(e){var o=S(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return R(this,n)}}function R(t,e){return!e||"object"!==O(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function S(t){return(S=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var x=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&_(t,e)}(c,t);var e,n,o,a=k(c);function c(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,c),a.call(this,i.a.getPhrase("migrationWizard.migrationFinalisation","title"))}return e=c,(n=[{key:"onDone",value:function(){r.a.LocationUtils.Reload()}},{key:"name",get:function(){return"MigrationFinalisationError"}},{key:"dialogOptions",get:function(){return{title:i.a.getPhrase("migrationWizard.migrationFinalisation","heading"),text:i.a.getPhrase("migrationWizard.migrationFinalisation","body"),buttons:[{text:i.a.getPhrase("migrationWizard.migrationFinalisation","reload"),className:"btn btn-primary",success:!0}]}}}])&&w(e.prototype,n),o&&w(e,o),c}(o.a);n(1249);n.d(e,"a",(function(){return y})),n.d(e,"c",(function(){return P})),n.d(e,"b",(function(){return x})),n.d(e,"a",(function(){return y}))},1312:function(t,e,n){"use strict";n.d(e,"a",(function(){return g}));var r=n(2),o=n(1372),i=n.n(o),a=n(1373),c=n.n(a);function u(t){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function s(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function l(t,e){return(l=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function f(t){var e=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(t){return!1}}();return function(){var n,r=y(t);if(e){var o=y(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p(this,n)}}function p(t,e){return!e||"object"!==u(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function y(t){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var g=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&l(t,e)}(a,t);var e,n,r,o=f(a);function a(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),o.call(this,t)}return e=a,(n=[{key:"initialize",value:function(){this.listenTo(this.model,"change:percentage",this.update)}},{key:"viewOptions",value:function(){return{styles:i.a,text:this.options.text,class:this.options.class,percentage:this.options.percentage}}},{key:"onRender",value:function(){this.update()}},{key:"update",value:function(){var t=this.model.get("percentage")||0,e=this.getUI("circle").get(0),n=2*e.r.baseVal.value*Math.PI;e.style.strokeDasharray="".concat(n," ").concat(n),e.style.strokeDashoffset=n;var r=n-t/100*n;e.style.strokeDashoffset=r;var o=this.getUI("text");o&&o.text("".concat(t,"%"))}},{key:"name",get:function(){return"ProgressCircleComponent"}},{key:"template",get:function(){return c.a}},{key:"lang",get:function(){return"migrationWizard.progressCircle"}},{key:"elements",get:function(){return{circle:".progress-circle",text:".progress-circle-text"}}}])&&s(e.prototype,n),r&&s(e,r),a}(r.a.Component)},1372:function(t,e,n){t.exports={circle:"_3iX0l",extraText:"_1nYnx",progressCircleContainer:"_2l1Al",progressCircle:"_1RbA5"}},1373:function(t,e,n){var r=n(10);t.exports=(r.default||r).template({1:function(t,e,n,r,o){t.propertyIsEnumerable;var i,a=t.lambda,c=t.escapeExpression;return' <span class="'+c(a(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.extraText:i,e))+'">'+c(a(null!=(i=null!=e?e.options:e)?i.text:i,e))+"</span>\r\n"},compiler:[8,">= 4.3.0"],main:function(t,e,n,r,o){t.propertyIsEnumerable;var i,a=t.lambda,c=t.escapeExpression,u=null!=e?e:t.nullContext||{};return'<div class="'+c(a(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.circle:i,e))+" "+c(a(null!=(i=null!=e?e.options:e)?i.class:i,e))+'">\r\n <span>\r\n <span class="progress-circle-text">'+c((n.lang||e&&e.lang||t.hooks.helperMissing).call(u,"progress",{name:"lang",hash:{percentage:null!=(i=null!=e?e.options:e)?i.percentage:i},data:o}))+"</span>\r\n"+(null!=(i=n.if.call(u,null!=(i=null!=e?e.options:e)?i.text:i,{name:"if",hash:{},fn:t.program(1,o,0),inverse:t.noop,data:o}))?i:"")+' </span>\r\n\r\n <svg class="'+c(a(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.progressCircleContainer:i,e))+'">\r\n <circle class="progress-circle '+c(a(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.progressCircle:i,e))+'" transform=\'rotate(270 160 0)\' stroke-width="28" fill="transparent" r="150">\r\n </svg>\r\n</div>'},useData:!0})},1553:function(t,e,n){t.exports={backupProgress:"_15jUh",info:"_1NjZL",progress:"fp9FZ",migrationBackupContainer:"_28z_5"}},1554:function(t,e,n){var r=n(10);t.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,r,o){t.propertyIsEnumerable;var i,a=null!=e?e:t.nullContext||{},c=t.hooks.helperMissing,u=t.escapeExpression;return'<h4 class="pb-4">'+u((n.lang||e&&e.lang||c).call(a,"heading",{name:"lang",hash:{},data:o}))+'</h4>\r\n<div class="progress-circle-region"></div>\r\n<p class="'+u(t.lambda(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.info:i,e))+' pt-4">\r\n '+(null!=(i=(n.lang||e&&e.lang||c).call(a,"info",{name:"lang",hash:{},data:o}))?i:"")+"\r\n</p>"},useData:!0})},1640:function(t,e,n){"use strict";n.r(e),n.d(e,"PublisherBackupProgressView",(function(){return O}));var r=n(2),o=n(5),i=n(30),a=n(1553),c=n.n(a),u=n(1554),s=n.n(u),l=n(1286),f=n(0),p=n(3),y=n(1312);function g(t){return(g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function h(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function b(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function m(t,e){return(m=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function d(t){var e=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(t){return!1}}();return function(){var n,r=P(t);if(e){var o=P(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return v(this,n)}}function v(t,e){return!e||"object"!==g(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function P(t){return(P=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var O=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&m(t,e)}(g,t);var e,n,a,u=d(g);function g(){return h(this,g),u.apply(this,arguments)}return e=g,(n=[{key:"initialize",value:function(){this.viewModel=i.a.get("backup:progress",{percentage:0}),this.migrationVideoDataService=o.a.getInstance(f.g.MigrationVideo,this),this.bindMigrationDataListeners()}},{key:"regions",value:function(){return{progressCircle:{replaceElement:!0,el:".progress-circle-region"}}}},{key:"bindMigrationDataListeners",value:function(){this.listenTo(f.e.MIGRATION,"".concat(f.f.CUSTOMER_METADATA,":sync"),this.render),this.listenTo(f.e.MIGRATION,"".concat(f.f.CUSTOMER_VIDEO,":count:error"),this.onError)}},{key:"onError",value:function(){r.a.ErrorHelper.throw(new l.a)}},{key:"poll",value:function(){var t=this;this.migrationVideoDataService.getCustomerVideoCount((function(e){t.isDestroyed()||(t.videoCount=e,t.setPercentage(),t.viewModel.get("percentage")>=100?t.migrationVideoDataService.clearCacheAndGetCustomerMetadata((function(){r.a.AppLinkHelper.trigger({application:f.b.MIGRATION_WIZARD,action:f.a.MigrationWizard.BACKUP_COMPLETE})})):(setTimeout((function(){return t.poll()}),5e3),t.render()))}))}},{key:"setPercentage",value:function(){if(this.videoCount){var t=100*this.videoCount.get("progressPercentage");t>100&&(t=100),this.viewModel.set({percentage:Math.round(t)})}}},{key:"renderProgressCircle",value:function(){this.showChildView("progressCircle",new y.a({model:this.viewModel,text:p.a.getPhrase(this.lang,"hasBeenBackedUp"),class:c.a.progress}))}},{key:"onBeforeRender",value:function(){return this.customerMetadata=this.migrationVideoDataService.getCustomerMetadata(),!!this.customerMetadata}},{key:"viewOptions",value:function(){return{styles:c.a,timeRemaining:"30 minutes"}}},{key:"onRender",value:function(){this.pollingStarted||(this.poll(),this.pollingStarted=!0),this.renderProgressCircle()}},{key:"name",get:function(){return"PublisherBackupProgressView"}},{key:"title",get:function(){return p.a.getPhrase(this.lang,"title")}},{key:"lang",get:function(){return"migrationWizard.publisherBackupProgress"}},{key:"className",get:function(){return"container text-center p-5 bg-white ".concat(c.a.migrationBackupContainer," ").concat(c.a.backupProgress)}},{key:"template",get:function(){return s.a}}])&&b(e.prototype,n),a&&b(e,a),g}(r.a.View)}}]);