@clickview/lite 0.36.5-rc.0 → 0.36.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/bundles.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "appBundle": "bundle-b65d53f255.min.js",
2
+ "appBundle": "bundle-5d6ccf790d.min.js",
3
3
  "cssBundle": "lite-app-cf320ec59b.css",
4
4
  "polyfillBundle": "polyfills-02090a38a6.min.js"
5
5
  }
@@ -1,2 +1,2 @@
1
- /*! For license information please see 487-47fc5d9127-lite.chunk.js.LICENSE.txt */
2
- "use strict";(self.webpackChunk_clickview_lite=self.webpackChunk_clickview_lite||[]).push([[487],{12058:(t,e,n)=>{n.d(e,{X:()=>o});var r=n(32735);function o(t){return r.createElement("p",{className:t.className},t.children)}},75919:(t,e,n)=>{n.d(e,{N:()=>a});var r=n(32735);const o={annotation:"LkdHB",above:"ROdbm",below:"OzyHx",left:"W9EBF",right:"zhio2",divider:"cdR_p",imageContainer:"QZZMF"};function a(t){return r.createElement("div",{className:(e="d-flex align-items-center text-center position-relative w-100 ".concat(o.imageContainer),"center"===t.contentPosition&&(e+=" px-5 justify-content-center"),"right"===t.contentPosition&&(e+=" me-n5 justify-content-end"),e)},r.createElement("div",{className:function(){var e=o.annotation;switch(t.annotationPosition){case"top-left":e+=" ".concat(o.above," ").concat(o.left);break;case"top-right":e+=" ".concat(o.above," ").concat(o.right);break;case"bottom-left":e+=" ".concat(o.below," ").concat(o.left);break;case"bottom-right":e+=" ".concat(o.below," ").concat(o.right)}return t.annotationClassName&&(e+=" ".concat(t.annotationClassName)),e}()},r.createElement("img",{className:"img-fluid",src:t.annotationUrl})),t.children,"right"===t.contentPosition&&r.createElement("div",{className:o.divider}));var e}a.defaultProps={contentPosition:"center"}},45038:(t,e,n)=>{n.d(e,{P:()=>i});var r=n(32735),o=n(57245);const a={playerContainer:"w7_Oy",fallback:"xcBuH"};function i(t){return r.createElement("div",{className:"".concat(a.playerContainer," w-100")},t.hasDataLoaded?r.createElement(o._,{config:t.config,video:t.video,currentUser:t.currentUser,shareLink:t.shareLink,viewKey:t.viewKey,onReady:t.onReady,allowPip:!1,allowCreateClip:!1}):r.createElement("div",{className:"".concat(a.fallback," w-100 h-100 bg-light rounded-3 overflow-hidden")}))}},98065:(t,e,n)=>{n.d(e,{x:()=>r});var r={getWelcomeVideo:function(t){return t?t.primaryUrl.includes("staging")?{videoId:"43000110",shareId:"GgX4xD"}:{videoId:"49331262",shareId:"0DYKrb"}:null},getAdvisorVideo:function(t){return t?t.primaryUrl.includes("staging")?{videoId:"43002959",shareId:"b98KVj"}:{videoId:"49331262",shareId:"0DYKrb"}:null}}},30544:(t,e,n)=>{n.r(e),n.d(e,{OnboardingWelcomeVideoView:()=>V});var r=n(32735),o=n(23481),a=n(20354),i=n(30439),c=n(83914),u=n(83345),l=n(60051),s=n(39151),f=n(47812),d=n(31949),h=n(1575),p=n(79967),m=n(35223),v=n(99742),y=n(75359),g=n(12058),b=n(27583),w=n(75919),E=n(45038),x=n(73190),P=n(98065);const C={headingContainer:"hPvDP",buttonContainer:"ORgxa",icon:"BogCL",skipButton:"uaLaz",replayContainer:"d1Nj9",playerContainer:"pHDzd",infoContainer:"lmbyg"};function L(t){return L="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},L(t)}function I(){I=function(){return e};var t,e={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(t,e,n){t[e]=n.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";function l(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,n){return t[e]=n}}function s(t,e,n,r){var a=e&&e.prototype instanceof y?e:y,i=Object.create(a.prototype),c=new _(r||[]);return o(i,"_invoke",{value:N(t,n,c)}),i}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var d="suspendedStart",h="suspendedYield",p="executing",m="completed",v={};function y(){}function g(){}function b(){}var w={};l(w,i,(function(){return this}));var E=Object.getPrototypeOf,x=E&&E(E(T([])));x&&x!==n&&r.call(x,i)&&(w=x);var P=b.prototype=y.prototype=Object.create(w);function C(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function k(t,e){function n(o,a,i,c){var u=f(t[o],t,a);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==L(s)&&r.call(s,"__await")?e.resolve(s.__await).then((function(t){n("next",t,i,c)}),(function(t){n("throw",t,i,c)})):e.resolve(s).then((function(t){l.value=t,i(l)}),(function(t){return n("throw",t,i,c)}))}c(u.arg)}var a;o(this,"_invoke",{value:function(t,r){function o(){return new e((function(e,o){n(t,r,e,o)}))}return a=a?a.then(o,o):o()}})}function N(e,n,r){var o=d;return function(a,i){if(o===p)throw new Error("Generator is already running");if(o===m){if("throw"===a)throw i;return{value:t,done:!0}}for(r.method=a,r.arg=i;;){var c=r.delegate;if(c){var u=S(c,r);if(u){if(u===v)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===d)throw o=m,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=p;var l=f(e,n,r);if("normal"===l.type){if(o=r.done?m:h,l.arg===v)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(o=m,r.method="throw",r.arg=l.arg)}}}function S(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,S(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var a=f(o,e.iterator,n.arg);if("throw"===a.type)return n.method="throw",n.arg=a.arg,n.delegate=null,v;var i=a.arg;return i?i.done?(n[e.resultName]=i.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,v):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function j(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function O(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function _(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function T(e){if(e||""===e){var n=e[i];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return a.next=a}}throw new TypeError(L(e)+" is not iterable")}return g.prototype=b,o(P,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:g,configurable:!0}),g.displayName=l(b,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===g||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,l(t,u,"GeneratorFunction")),t.prototype=Object.create(P),t},e.awrap=function(t){return{__await:t}},C(k.prototype),l(k.prototype,c,(function(){return this})),e.AsyncIterator=k,e.async=function(t,n,r,o,a){void 0===a&&(a=Promise);var i=new k(s(t,n,r,o),a);return e.isGeneratorFunction(n)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},C(P),l(P,u,"Generator"),l(P,i,(function(){return this})),l(P,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},e.values=T,_.prototype={constructor:_,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(O),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return c.type="throw",c.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var u=r.call(i,"catchLoc"),l=r.call(i,"finallyLoc");if(u&&l){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=t,i.arg=e,a?(this.method="next",this.next=a.finallyLoc,v):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),O(n),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;O(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:T(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),v}},e}function k(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,a,i,c=[],u=!0,l=!1;try{if(a=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=a.call(n)).done)&&(c.push(r.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return N(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?N(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function N(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function S(t,e,n){var r;return r=function(t,e){if("object"!=L(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,"string");if("object"!=L(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(e),(e="symbol"==L(r)?r:String(r))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var j,O=function(t,e,n,r){return new(n||(n=Promise))((function(o,a){function i(t){try{u(r.next(t))}catch(t){a(t)}}function c(t){try{u(r.throw(t))}catch(t){a(t)}}function u(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(i,c)}u((r=r.apply(t,e||[])).next())}))},_="onboarding.welcomeVideo";!function(t){t[t.IsPaused=0]="IsPaused",t[t.IsPlayingDisabled=1]="IsPlayingDisabled",t[t.Countdown3=2]="Countdown3",t[t.Countdown2=3]="Countdown2",t[t.Countdown1=4]="Countdown1",t[t.IsComplete=5]="IsComplete"}(j||(j={}));var T=S(S(S(S(S(S({},j.IsPaused,o.T.getPhrase(_,"playVideo")),j.IsPlayingDisabled,o.T.getPhrase(_,"getStarted")),j.Countdown3,o.T.getPhrase(_,"getStartedIn",{time:3})),j.Countdown2,o.T.getPhrase(_,"getStartedIn",{time:2})),j.Countdown1,o.T.getPhrase(_,"getStartedIn",{time:1})),j.IsComplete,o.T.getPhrase(_,"getStarted"));function V(){var t=(0,x.Q)(),e=t.completeStepAsync,n=t.onSaveError,o=a.a.useBasicFetch(s.L.config()),L=a.a.useBasicFetch(d.N.currentUser()),N=P.x.getWelcomeVideo(o.data),S=r.useRef(),V=a.a.useBasicFetch(N&&h.R.sharedVideo(N.videoId,N.shareId)),B=a.a.useBasicFetch(i.o.getShareObject(N.shareId)),D=a.a.useBasicFetch(f.k.createViewKey(N.shareId,l.f.Share)),F=k(r.useState(j.IsPaused),2),A=F[0],R=F[1],U=k(r.useState(!1),2),G=U[0],K=U[1];function z(t){A!==t&&R(t)}var W=(0,p.k)();function H(){return O(this,void 0,void 0,I().mark((function t(){return I().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e();case 3:t.next=9;break;case 5:return t.prev=5,t.t0=t.catch(0),n(),t.abrupt("return",Promise.reject());case 9:case"end":return t.stop()}}),t,null,[[0,5]])})))}function Y(t){S.current=t,t.isPaused()&&z(j.IsPaused);var e=!1,n=function(){var n=t.currentTime();if(n!==t.duration()||G?n!==t.duration()&&G&&K(!1):K(!0),!e)if(t.isPaused())z(j.IsPaused);else{var r=Math.floor(t.duration()-n);r>22?z(j.IsPlayingDisabled):22!==r?21!==r?20!==r?(z(j.IsComplete),e=!0):z(j.Countdown1):z(j.Countdown2):z(j.Countdown3)}};t.on("timeupdate",n),t.one("dispose",(function(){t.off("timeupdate",n)}))}var M=V.data&&L.hasCompleted&&o.hasCompleted&&B.hasCompleted&&D.hasCompleted,X=W.lg||W.xl||W.xxl;return r.createElement(b.z,{namespace:_},r.createElement(b.z.Left,{className:"bg-dark-blue d-flex justify-content-center flex-column"},X&&r.createElement(w.N,{annotationUrl:v.W.OnboardingV2.WelcomeVideo.HIT_PLAY,annotationPosition:"bottom-right",annotationClassName:"pe-5"},r.createElement(E.P,{hasDataLoaded:M,config:o.data,video:V.data,currentUser:L.data,shareLink:B.data,viewKey:D.data,onReady:Y}))),r.createElement(b.z.Right,{hasCustomButtons:!0},r.createElement(y.W,{className:C.headingContainer},r.createElement(u.x,{phrase:"heading"})),!X&&r.createElement(E.P,{hasDataLoaded:M,config:o.data,video:V.data,currentUser:L.data,shareLink:B.data,viewKey:D.data,onReady:Y}),r.createElement(g.X,{className:C.infoContainer},r.createElement(u.x,{phrase:"watchVideo"})),G&&r.createElement("div",{className:"position-absolute ".concat(C.replayContainer)},r.createElement("button",{className:"btn btn-link text-info text-decoration-none btn-lg ".concat(C.replayButton),onClick:function(){var t,e;K(!1),null===(t=S.current)||void 0===t||t.currentTime(0),null===(e=S.current)||void 0===e||e.play()}},r.createElement(c.x,{svgName:m.vn.Retry,className:"svg-container ".concat(C.icon)}),r.createElement(u.x,{phrase:"replayVideo"}))),r.createElement("div",{className:"position-absolute ".concat(C.buttonContainer)},r.createElement("button",{className:"btn btn-link text-decoration-none btn-lg ".concat(C.skipButton),onClick:function(){H()}},r.createElement(u.x,{phrase:"skipVideo"})),r.createElement("button",{className:"btn btn-dark btn-lg",onClick:A===j.IsPaused?function(){var t;null===(t=S.current)||void 0===t||t.play()}:function(){H()},disabled:A!==j.IsComplete&&A!==j.IsPaused},A===j.IsPaused&&r.createElement(c.x,{svgName:m.vn.Play,className:"svg-container ".concat(C.icon)}),T[A]))))}}}]);
1
+ /*! For license information please see 487-49dc182b07-lite.chunk.js.LICENSE.txt */
2
+ "use strict";(self.webpackChunk_clickview_lite=self.webpackChunk_clickview_lite||[]).push([[487],{12058:(t,e,n)=>{n.d(e,{X:()=>o});var r=n(32735);function o(t){return r.createElement("p",{className:t.className},t.children)}},75919:(t,e,n)=>{n.d(e,{N:()=>a});var r=n(32735);const o={annotation:"LkdHB",above:"ROdbm",below:"OzyHx",left:"W9EBF",right:"zhio2",divider:"cdR_p",imageContainer:"QZZMF"};function a(t){return r.createElement("div",{className:(e="d-flex align-items-center text-center position-relative w-100 ".concat(o.imageContainer),"center"===t.contentPosition&&(e+=" px-5 justify-content-center"),"right"===t.contentPosition&&(e+=" me-n5 justify-content-end"),e)},r.createElement("div",{className:function(){var e=o.annotation;switch(t.annotationPosition){case"top-left":e+=" ".concat(o.above," ").concat(o.left);break;case"top-right":e+=" ".concat(o.above," ").concat(o.right);break;case"bottom-left":e+=" ".concat(o.below," ").concat(o.left);break;case"bottom-right":e+=" ".concat(o.below," ").concat(o.right)}return t.annotationClassName&&(e+=" ".concat(t.annotationClassName)),e}()},r.createElement("img",{className:"img-fluid",src:t.annotationUrl})),t.children,"right"===t.contentPosition&&r.createElement("div",{className:o.divider}));var e}a.defaultProps={contentPosition:"center"}},45038:(t,e,n)=>{n.d(e,{P:()=>i});var r=n(32735),o=n(57245);const a={playerContainer:"w7_Oy",fallback:"xcBuH"};function i(t){return r.createElement("div",{className:"".concat(a.playerContainer," w-100")},t.hasDataLoaded?r.createElement(o._,{config:t.config,video:t.video,currentUser:t.currentUser,shareLink:t.shareLink,viewKey:t.viewKey,onReady:t.onReady,allowPip:!1,allowCreateClip:!1}):r.createElement("div",{className:"".concat(a.fallback," w-100 h-100 bg-light rounded-3 overflow-hidden")}))}},98065:(t,e,n)=>{n.d(e,{x:()=>r});var r={getWelcomeVideo:function(t){return t?t.primaryUrl.includes("staging")?{videoId:"43000110",shareId:"GgX4xD"}:{videoId:"78694940",shareId:"DNBPmD"}:null},getAdvisorVideo:function(t){return t?t.primaryUrl.includes("staging")?{videoId:"43002959",shareId:"b98KVj"}:{videoId:"49331262",shareId:"0DYKrb"}:null}}},30544:(t,e,n)=>{n.r(e),n.d(e,{OnboardingWelcomeVideoView:()=>V});var r=n(32735),o=n(23481),a=n(20354),i=n(30439),c=n(83914),u=n(83345),l=n(60051),s=n(39151),f=n(47812),d=n(31949),h=n(1575),p=n(79967),m=n(35223),v=n(99742),y=n(75359),g=n(12058),b=n(27583),w=n(75919),E=n(45038),x=n(73190),P=n(98065);const C={headingContainer:"hPvDP",buttonContainer:"ORgxa",icon:"BogCL",skipButton:"uaLaz",replayContainer:"d1Nj9",playerContainer:"pHDzd",infoContainer:"lmbyg"};function L(t){return L="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},L(t)}function I(){I=function(){return e};var t,e={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(t,e,n){t[e]=n.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";function l(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,n){return t[e]=n}}function s(t,e,n,r){var a=e&&e.prototype instanceof y?e:y,i=Object.create(a.prototype),c=new _(r||[]);return o(i,"_invoke",{value:N(t,n,c)}),i}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var d="suspendedStart",h="suspendedYield",p="executing",m="completed",v={};function y(){}function g(){}function b(){}var w={};l(w,i,(function(){return this}));var E=Object.getPrototypeOf,x=E&&E(E(T([])));x&&x!==n&&r.call(x,i)&&(w=x);var P=b.prototype=y.prototype=Object.create(w);function C(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function k(t,e){function n(o,a,i,c){var u=f(t[o],t,a);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==L(s)&&r.call(s,"__await")?e.resolve(s.__await).then((function(t){n("next",t,i,c)}),(function(t){n("throw",t,i,c)})):e.resolve(s).then((function(t){l.value=t,i(l)}),(function(t){return n("throw",t,i,c)}))}c(u.arg)}var a;o(this,"_invoke",{value:function(t,r){function o(){return new e((function(e,o){n(t,r,e,o)}))}return a=a?a.then(o,o):o()}})}function N(e,n,r){var o=d;return function(a,i){if(o===p)throw new Error("Generator is already running");if(o===m){if("throw"===a)throw i;return{value:t,done:!0}}for(r.method=a,r.arg=i;;){var c=r.delegate;if(c){var u=S(c,r);if(u){if(u===v)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===d)throw o=m,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=p;var l=f(e,n,r);if("normal"===l.type){if(o=r.done?m:h,l.arg===v)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(o=m,r.method="throw",r.arg=l.arg)}}}function S(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,S(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var a=f(o,e.iterator,n.arg);if("throw"===a.type)return n.method="throw",n.arg=a.arg,n.delegate=null,v;var i=a.arg;return i?i.done?(n[e.resultName]=i.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,v):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function j(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function O(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function _(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function T(e){if(e||""===e){var n=e[i];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return a.next=a}}throw new TypeError(L(e)+" is not iterable")}return g.prototype=b,o(P,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:g,configurable:!0}),g.displayName=l(b,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===g||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,l(t,u,"GeneratorFunction")),t.prototype=Object.create(P),t},e.awrap=function(t){return{__await:t}},C(k.prototype),l(k.prototype,c,(function(){return this})),e.AsyncIterator=k,e.async=function(t,n,r,o,a){void 0===a&&(a=Promise);var i=new k(s(t,n,r,o),a);return e.isGeneratorFunction(n)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},C(P),l(P,u,"Generator"),l(P,i,(function(){return this})),l(P,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},e.values=T,_.prototype={constructor:_,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(O),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return c.type="throw",c.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var u=r.call(i,"catchLoc"),l=r.call(i,"finallyLoc");if(u&&l){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=t,i.arg=e,a?(this.method="next",this.next=a.finallyLoc,v):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),O(n),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;O(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:T(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),v}},e}function k(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,a,i,c=[],u=!0,l=!1;try{if(a=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=a.call(n)).done)&&(c.push(r.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return N(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?N(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function N(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function S(t,e,n){var r;return r=function(t,e){if("object"!=L(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,"string");if("object"!=L(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(e),(e="symbol"==L(r)?r:String(r))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var j,O=function(t,e,n,r){return new(n||(n=Promise))((function(o,a){function i(t){try{u(r.next(t))}catch(t){a(t)}}function c(t){try{u(r.throw(t))}catch(t){a(t)}}function u(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(i,c)}u((r=r.apply(t,e||[])).next())}))},_="onboarding.welcomeVideo";!function(t){t[t.IsPaused=0]="IsPaused",t[t.IsPlayingDisabled=1]="IsPlayingDisabled",t[t.Countdown3=2]="Countdown3",t[t.Countdown2=3]="Countdown2",t[t.Countdown1=4]="Countdown1",t[t.IsComplete=5]="IsComplete"}(j||(j={}));var T=S(S(S(S(S(S({},j.IsPaused,o.T.getPhrase(_,"playVideo")),j.IsPlayingDisabled,o.T.getPhrase(_,"getStarted")),j.Countdown3,o.T.getPhrase(_,"getStartedIn",{time:3})),j.Countdown2,o.T.getPhrase(_,"getStartedIn",{time:2})),j.Countdown1,o.T.getPhrase(_,"getStartedIn",{time:1})),j.IsComplete,o.T.getPhrase(_,"getStarted"));function V(){var t=(0,x.Q)(),e=t.completeStepAsync,n=t.onSaveError,o=a.a.useBasicFetch(s.L.config()),L=a.a.useBasicFetch(d.N.currentUser()),N=P.x.getWelcomeVideo(o.data),S=r.useRef(),V=a.a.useBasicFetch(N&&h.R.sharedVideo(N.videoId,N.shareId)),B=a.a.useBasicFetch(i.o.getShareObject(N.shareId)),D=a.a.useBasicFetch(f.k.createViewKey(N.shareId,l.f.Share)),F=k(r.useState(j.IsPaused),2),A=F[0],R=F[1],U=k(r.useState(!1),2),G=U[0],z=U[1];function K(t){A!==t&&R(t)}var W=(0,p.k)();function H(){return O(this,void 0,void 0,I().mark((function t(){return I().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e();case 3:t.next=9;break;case 5:return t.prev=5,t.t0=t.catch(0),n(),t.abrupt("return",Promise.reject());case 9:case"end":return t.stop()}}),t,null,[[0,5]])})))}function Y(t){S.current=t,t.isPaused()&&K(j.IsPaused);var e=!1,n=function(){var n=t.currentTime();if(n!==t.duration()||G?n!==t.duration()&&G&&z(!1):z(!0),!e)if(t.isPaused())K(j.IsPaused);else{var r=Math.floor(t.duration()-n);r>22?K(j.IsPlayingDisabled):22!==r?21!==r?20!==r?(K(j.IsComplete),e=!0):K(j.Countdown1):K(j.Countdown2):K(j.Countdown3)}};t.on("timeupdate",n),t.one("dispose",(function(){t.off("timeupdate",n)}))}var M=V.data&&L.hasCompleted&&o.hasCompleted&&B.hasCompleted&&D.hasCompleted,X=W.lg||W.xl||W.xxl;return r.createElement(b.z,{namespace:_},r.createElement(b.z.Left,{className:"bg-dark-blue d-flex justify-content-center flex-column"},X&&r.createElement(w.N,{annotationUrl:v.W.OnboardingV2.WelcomeVideo.HIT_PLAY,annotationPosition:"bottom-right",annotationClassName:"pe-5"},r.createElement(E.P,{hasDataLoaded:M,config:o.data,video:V.data,currentUser:L.data,shareLink:B.data,viewKey:D.data,onReady:Y}))),r.createElement(b.z.Right,{hasCustomButtons:!0},r.createElement(y.W,{className:C.headingContainer},r.createElement(u.x,{phrase:"heading"})),!X&&r.createElement(E.P,{hasDataLoaded:M,config:o.data,video:V.data,currentUser:L.data,shareLink:B.data,viewKey:D.data,onReady:Y}),r.createElement(g.X,{className:C.infoContainer},r.createElement(u.x,{phrase:"watchVideo"})),G&&r.createElement("div",{className:"position-absolute ".concat(C.replayContainer)},r.createElement("button",{className:"btn btn-link text-info text-decoration-none btn-lg ".concat(C.replayButton),onClick:function(){var t,e;z(!1),null===(t=S.current)||void 0===t||t.currentTime(0),null===(e=S.current)||void 0===e||e.play()}},r.createElement(c.x,{svgName:m.vn.Retry,className:"svg-container ".concat(C.icon)}),r.createElement(u.x,{phrase:"replayVideo"}))),r.createElement("div",{className:"position-absolute ".concat(C.buttonContainer)},r.createElement("button",{className:"btn btn-link text-decoration-none btn-lg ".concat(C.skipButton),onClick:function(){H()}},r.createElement(u.x,{phrase:"skipVideo"})),r.createElement("button",{className:"btn btn-dark btn-lg",onClick:A===j.IsPaused?function(){var t;null===(t=S.current)||void 0===t||t.play()}:function(){H()},disabled:A!==j.IsComplete&&A!==j.IsPaused},A===j.IsPaused&&r.createElement(c.x,{svgName:m.vn.Play,className:"svg-container ".concat(C.icon)}),T[A]))))}}}]);
@@ -1,2 +1,2 @@
1
- /*! For license information please see 8296-b39a26c35f-lite.chunk.js.LICENSE.txt */
2
- "use strict";(self.webpackChunk_clickview_lite=self.webpackChunk_clickview_lite||[]).push([[8296],{74887:(e,t,r)=>{r.d(t,{f:()=>i});var n=r(32735),o=r(11607);const a={icon:"ohit6",description:"DmrW6",option:"KOzYf"};function i(e){return n.createElement("ul",{className:"list-unstyled mb-3"},e.options.map((function(t){return n.createElement("li",{key:t.id,className:"".concat(a.option," mb-2 border border-2 rounded-3 ").concat(e.selection===t.id?"border-dark bg-light-blue":"border-transparent")},n.createElement(o.L,{onClick:function(){return e.setSelection(t.id)},className:"d-flex align-items-center p-2"},n.createElement("div",{className:"rounded border border-dark ".concat(t.colourClass," ").concat(a.icon)},n.createElement("img",{src:t.imageUrl,className:"img-fluid"})),n.createElement("div",null,n.createElement("h2",{className:"mb-1 h6"},t.title),n.createElement("p",{className:"mb-0 ".concat(a.description)},t.description))))})))}},12058:(e,t,r)=>{r.d(t,{X:()=>o});var n=r(32735);function o(e){return n.createElement("p",{className:e.className},e.children)}},75919:(e,t,r)=>{r.d(t,{N:()=>a});var n=r(32735);const o={annotation:"LkdHB",above:"ROdbm",below:"OzyHx",left:"W9EBF",right:"zhio2",divider:"cdR_p",imageContainer:"QZZMF"};function a(e){return n.createElement("div",{className:(t="d-flex align-items-center text-center position-relative w-100 ".concat(o.imageContainer),"center"===e.contentPosition&&(t+=" px-5 justify-content-center"),"right"===e.contentPosition&&(t+=" me-n5 justify-content-end"),t)},n.createElement("div",{className:function(){var t=o.annotation;switch(e.annotationPosition){case"top-left":t+=" ".concat(o.above," ").concat(o.left);break;case"top-right":t+=" ".concat(o.above," ").concat(o.right);break;case"bottom-left":t+=" ".concat(o.below," ").concat(o.left);break;case"bottom-right":t+=" ".concat(o.below," ").concat(o.right)}return e.annotationClassName&&(t+=" ".concat(e.annotationClassName)),t}()},n.createElement("img",{className:"img-fluid",src:e.annotationUrl})),e.children,"right"===e.contentPosition&&n.createElement("div",{className:o.divider}));var t}a.defaultProps={contentPosition:"center"}},45038:(e,t,r)=>{r.d(t,{P:()=>i});var n=r(32735),o=r(57245);const a={playerContainer:"w7_Oy",fallback:"xcBuH"};function i(e){return n.createElement("div",{className:"".concat(a.playerContainer," w-100")},e.hasDataLoaded?n.createElement(o._,{config:e.config,video:e.video,currentUser:e.currentUser,shareLink:e.shareLink,viewKey:e.viewKey,onReady:e.onReady,allowPip:!1,allowCreateClip:!1}):n.createElement("div",{className:"".concat(a.fallback," w-100 h-100 bg-light rounded-3 overflow-hidden")}))}},98065:(e,t,r)=>{r.d(t,{x:()=>n});var n={getWelcomeVideo:function(e){return e?e.primaryUrl.includes("staging")?{videoId:"43000110",shareId:"GgX4xD"}:{videoId:"49331262",shareId:"0DYKrb"}:null},getAdvisorVideo:function(e){return e?e.primaryUrl.includes("staging")?{videoId:"43002959",shareId:"b98KVj"}:{videoId:"49331262",shareId:"0DYKrb"}:null}}},92560:(e,t,r)=>{r.r(t),r.d(t,{OnboardingAdvisorVideoView:()=>j});var n=r(32735),o=r(23481),a=r(20354),i=r(50122),c=r(30439),l=r(83345),s=r(19808),u=r(60051),d=r(39151),f=r(47812),h=r(31949),m=r(1575),p=r(79967),v=r(99742),y=r(75359),g=r(74887),b=r(12058),w=r(27583),E=r(75919),x=r(45038),N=r(73190),k=r(98065);const L={headingContainer:"NrAKd",partnerLogos:"jG9GO",infoContainer:"U79xU",options:"Ps0S0"};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},C(e)}function O(){O=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function s(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,r){return e[t]=r}}function u(e,t,r,n){var a=t&&t.prototype instanceof y?t:y,i=Object.create(a.prototype),c=new P(n||[]);return o(i,"_invoke",{value:A(e,r,c)}),i}function d(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var f="suspendedStart",h="suspendedYield",m="executing",p="completed",v={};function y(){}function g(){}function b(){}var w={};s(w,i,(function(){return this}));var E=Object.getPrototypeOf,x=E&&E(E(j([])));x&&x!==r&&n.call(x,i)&&(w=x);var N=b.prototype=y.prototype=Object.create(w);function k(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function L(e,t){function r(o,a,i,c){var l=d(e[o],e,a);if("throw"!==l.type){var s=l.arg,u=s.value;return u&&"object"==C(u)&&n.call(u,"__await")?t.resolve(u.__await).then((function(e){r("next",e,i,c)}),(function(e){r("throw",e,i,c)})):t.resolve(u).then((function(e){s.value=e,i(s)}),(function(e){return r("throw",e,i,c)}))}c(l.arg)}var a;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return a=a?a.then(o,o):o()}})}function A(t,r,n){var o=f;return function(a,i){if(o===m)throw new Error("Generator is already running");if(o===p){if("throw"===a)throw i;return{value:e,done:!0}}for(n.method=a,n.arg=i;;){var c=n.delegate;if(c){var l=S(c,n);if(l){if(l===v)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===f)throw o=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=m;var s=d(t,r,n);if("normal"===s.type){if(o=n.done?p:h,s.arg===v)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=p,n.method="throw",n.arg=s.arg)}}}function S(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,S(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var a=d(o,t.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,v;var i=a.arg;return i?i.done?(r[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function U(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function _(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function P(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(U,this),this.reset(!0)}function j(t){if(t||""===t){var r=t[i];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function r(){for(;++o<t.length;)if(n.call(t,o))return r.value=t[o],r.done=!1,r;return r.value=e,r.done=!0,r};return a.next=a}}throw new TypeError(C(t)+" is not iterable")}return g.prototype=b,o(N,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:g,configurable:!0}),g.displayName=s(b,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,s(e,l,"GeneratorFunction")),e.prototype=Object.create(N),e},t.awrap=function(e){return{__await:e}},k(L.prototype),s(L.prototype,c,(function(){return this})),t.AsyncIterator=L,t.async=function(e,r,n,o,a){void 0===a&&(a=Promise);var i=new L(u(e,r,n,o),a);return t.isGeneratorFunction(r)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},k(N),s(N,l,"Generator"),s(N,i,(function(){return this})),s(N,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=j,P.prototype={constructor:P,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(_),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function o(n,o){return c.type="throw",c.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var l=n.call(i,"catchLoc"),s=n.call(i,"finallyLoc");if(l&&s){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,v):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),v},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),_(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:j(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}function A(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var S=function(e,t,r,n){return new(r||(r=Promise))((function(o,a){function i(e){try{l(n.next(e))}catch(e){a(e)}}function c(e){try{l(n.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(i,c)}l((n=n.apply(e,t||[])).next())}))},U="onboarding.advisorVideo",_=o.T.encloseNamespace(U),P=[{id:"contact-us",imageUrl:v.W.OnboardingV2.AdvisorVideo.CONTACT_US_ICON,colourClass:"bg-yellow",title:_("contactUsTitle"),description:_("contactUsDescription")},{id:"check-out-clickview",imageUrl:v.W.OnboardingV2.AdvisorVideo.CHECK_OUT_CLICKVIEW_ICON,colourClass:"bg-purple",title:_("checkOutClickViewTitle"),description:_("checkOutClickViewDescription")}];function j(){var e,t,r=(0,N.Q)(),o=r.completeStepAsync,C=r.onSaveError,j=r.onClickBack,V=r.onClickAreYouATeacher,I=a.a.useBasicFetch(d.L.config()),T=a.a.useBasicFetch(h.N.currentUser()),K=k.x.getAdvisorVideo(I.data),R=a.a.useBasicFetch(K&&m.R.sharedVideo(K.videoId,K.shareId)),F=a.a.useBasicFetch(c.o.getShareObject(K.shareId)),B=a.a.useBasicFetch(f.k.createViewKey(K.shareId,u.f.Share)),G=(e=n.useState(),t=2,function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a,i,c=[],l=!0,s=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=a.call(r)).done)&&(c.push(n.value),c.length!==t);l=!0);}catch(e){s=!0,o=e}finally{try{if(!l&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(s)throw o}}return c}}(e,t)||function(e,t){if(e){if("string"==typeof e)return A(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?A(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),W=G[0],D=G[1],Y=(0,p.k)(),z=R.data&&T.hasCompleted&&I.hasCompleted&&F.hasCompleted&&B.hasCompleted,H=function(e){switch(e){case s.b.AU:return{heading:_("auPartners"),imageUrl:v.W.OnboardingV2.AdvisorVideo.PARTNERS_AU};case s.b.UK:return{heading:_("ukPartners"),imageUrl:v.W.OnboardingV2.AdvisorVideo.PARTNERS_UK};case s.b.US:return{heading:_("usPartners"),imageUrl:v.W.OnboardingV2.AdvisorVideo.PARTNERS_US};default:return null}}(T.data.instanceRegion),X=Y.lg||Y.xl||Y.xxl;return n.createElement(w.z,{namespace:U},n.createElement(w.z.Left,{className:"bg-blue d-flex justify-content-center flex-column"},X&&n.createElement(E.N,{annotationUrl:v.W.OnboardingV2.AdvisorVideo.ANNOTATION,annotationPosition:"bottom-right"},n.createElement(x.P,{hasDataLoaded:z,config:I.data,video:R.data,currentUser:T.data,shareLink:F.data,viewKey:B.data}))),n.createElement(w.z.Right,{hasCustomButtons:!1,onClickNext:function(){return S(this,void 0,void 0,O().mark((function e(){return O().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i.m.setAdvisorVideoSelection(W),e.prev=1,e.next=4,o({isExiting:"check-out-clickview"===W});case 4:e.next=10;break;case 6:return e.prev=6,e.t0=e.catch(1),C(),e.abrupt("return",Promise.reject());case 10:case"end":return e.stop()}}),e,null,[[1,6]])})))},onClickAreYouATeacher:V,onClickBack:function(){i.m.removeUsageIntention(),j()},disableNext:!W,className:"position-relative"},n.createElement(y.W,{className:"".concat(L.headingContainer)},n.createElement(l.x,{phrase:"heading"})),!X&&n.createElement(x.P,{hasDataLoaded:z,config:I.data,video:R.data,currentUser:T.data,shareLink:F.data,viewKey:B.data}),n.createElement(b.X,{className:L.infoContainer},n.createElement(l.x,{phrase:"description"})),n.createElement("div",{className:L.options},n.createElement(g.f,{options:P,selection:W,setSelection:D})),!!H&&n.createElement("div",{className:"".concat(L.partnerLogos)},n.createElement("h2",{className:"h6 text-center"},H.heading),n.createElement("div",{className:"w-100 d-flex justify-content-center"},n.createElement("img",{className:"img-fluid",src:H.imageUrl})))))}}}]);
1
+ /*! For license information please see 8296-eb7c394089-lite.chunk.js.LICENSE.txt */
2
+ "use strict";(self.webpackChunk_clickview_lite=self.webpackChunk_clickview_lite||[]).push([[8296],{74887:(e,t,r)=>{r.d(t,{f:()=>i});var n=r(32735),o=r(11607);const a={icon:"ohit6",description:"DmrW6",option:"KOzYf"};function i(e){return n.createElement("ul",{className:"list-unstyled mb-3"},e.options.map((function(t){return n.createElement("li",{key:t.id,className:"".concat(a.option," mb-2 border border-2 rounded-3 ").concat(e.selection===t.id?"border-dark bg-light-blue":"border-transparent")},n.createElement(o.L,{onClick:function(){return e.setSelection(t.id)},className:"d-flex align-items-center p-2"},n.createElement("div",{className:"rounded border border-dark ".concat(t.colourClass," ").concat(a.icon)},n.createElement("img",{src:t.imageUrl,className:"img-fluid"})),n.createElement("div",null,n.createElement("h2",{className:"mb-1 h6"},t.title),n.createElement("p",{className:"mb-0 ".concat(a.description)},t.description))))})))}},12058:(e,t,r)=>{r.d(t,{X:()=>o});var n=r(32735);function o(e){return n.createElement("p",{className:e.className},e.children)}},75919:(e,t,r)=>{r.d(t,{N:()=>a});var n=r(32735);const o={annotation:"LkdHB",above:"ROdbm",below:"OzyHx",left:"W9EBF",right:"zhio2",divider:"cdR_p",imageContainer:"QZZMF"};function a(e){return n.createElement("div",{className:(t="d-flex align-items-center text-center position-relative w-100 ".concat(o.imageContainer),"center"===e.contentPosition&&(t+=" px-5 justify-content-center"),"right"===e.contentPosition&&(t+=" me-n5 justify-content-end"),t)},n.createElement("div",{className:function(){var t=o.annotation;switch(e.annotationPosition){case"top-left":t+=" ".concat(o.above," ").concat(o.left);break;case"top-right":t+=" ".concat(o.above," ").concat(o.right);break;case"bottom-left":t+=" ".concat(o.below," ").concat(o.left);break;case"bottom-right":t+=" ".concat(o.below," ").concat(o.right)}return e.annotationClassName&&(t+=" ".concat(e.annotationClassName)),t}()},n.createElement("img",{className:"img-fluid",src:e.annotationUrl})),e.children,"right"===e.contentPosition&&n.createElement("div",{className:o.divider}));var t}a.defaultProps={contentPosition:"center"}},45038:(e,t,r)=>{r.d(t,{P:()=>i});var n=r(32735),o=r(57245);const a={playerContainer:"w7_Oy",fallback:"xcBuH"};function i(e){return n.createElement("div",{className:"".concat(a.playerContainer," w-100")},e.hasDataLoaded?n.createElement(o._,{config:e.config,video:e.video,currentUser:e.currentUser,shareLink:e.shareLink,viewKey:e.viewKey,onReady:e.onReady,allowPip:!1,allowCreateClip:!1}):n.createElement("div",{className:"".concat(a.fallback," w-100 h-100 bg-light rounded-3 overflow-hidden")}))}},98065:(e,t,r)=>{r.d(t,{x:()=>n});var n={getWelcomeVideo:function(e){return e?e.primaryUrl.includes("staging")?{videoId:"43000110",shareId:"GgX4xD"}:{videoId:"78694940",shareId:"DNBPmD"}:null},getAdvisorVideo:function(e){return e?e.primaryUrl.includes("staging")?{videoId:"43002959",shareId:"b98KVj"}:{videoId:"49331262",shareId:"0DYKrb"}:null}}},92560:(e,t,r)=>{r.r(t),r.d(t,{OnboardingAdvisorVideoView:()=>j});var n=r(32735),o=r(23481),a=r(20354),i=r(50122),c=r(30439),l=r(83345),s=r(19808),u=r(60051),d=r(39151),f=r(47812),h=r(31949),m=r(1575),p=r(79967),v=r(99742),y=r(75359),g=r(74887),b=r(12058),w=r(27583),E=r(75919),x=r(45038),N=r(73190),k=r(98065);const L={headingContainer:"NrAKd",partnerLogos:"jG9GO",infoContainer:"U79xU",options:"Ps0S0"};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},C(e)}function O(){O=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function s(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,r){return e[t]=r}}function u(e,t,r,n){var a=t&&t.prototype instanceof y?t:y,i=Object.create(a.prototype),c=new P(n||[]);return o(i,"_invoke",{value:A(e,r,c)}),i}function d(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var f="suspendedStart",h="suspendedYield",m="executing",p="completed",v={};function y(){}function g(){}function b(){}var w={};s(w,i,(function(){return this}));var E=Object.getPrototypeOf,x=E&&E(E(j([])));x&&x!==r&&n.call(x,i)&&(w=x);var N=b.prototype=y.prototype=Object.create(w);function k(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function L(e,t){function r(o,a,i,c){var l=d(e[o],e,a);if("throw"!==l.type){var s=l.arg,u=s.value;return u&&"object"==C(u)&&n.call(u,"__await")?t.resolve(u.__await).then((function(e){r("next",e,i,c)}),(function(e){r("throw",e,i,c)})):t.resolve(u).then((function(e){s.value=e,i(s)}),(function(e){return r("throw",e,i,c)}))}c(l.arg)}var a;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return a=a?a.then(o,o):o()}})}function A(t,r,n){var o=f;return function(a,i){if(o===m)throw new Error("Generator is already running");if(o===p){if("throw"===a)throw i;return{value:e,done:!0}}for(n.method=a,n.arg=i;;){var c=n.delegate;if(c){var l=S(c,n);if(l){if(l===v)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===f)throw o=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=m;var s=d(t,r,n);if("normal"===s.type){if(o=n.done?p:h,s.arg===v)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=p,n.method="throw",n.arg=s.arg)}}}function S(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,S(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var a=d(o,t.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,v;var i=a.arg;return i?i.done?(r[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function U(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function _(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function P(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(U,this),this.reset(!0)}function j(t){if(t||""===t){var r=t[i];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function r(){for(;++o<t.length;)if(n.call(t,o))return r.value=t[o],r.done=!1,r;return r.value=e,r.done=!0,r};return a.next=a}}throw new TypeError(C(t)+" is not iterable")}return g.prototype=b,o(N,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:g,configurable:!0}),g.displayName=s(b,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,s(e,l,"GeneratorFunction")),e.prototype=Object.create(N),e},t.awrap=function(e){return{__await:e}},k(L.prototype),s(L.prototype,c,(function(){return this})),t.AsyncIterator=L,t.async=function(e,r,n,o,a){void 0===a&&(a=Promise);var i=new L(u(e,r,n,o),a);return t.isGeneratorFunction(r)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},k(N),s(N,l,"Generator"),s(N,i,(function(){return this})),s(N,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=j,P.prototype={constructor:P,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(_),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function o(n,o){return c.type="throw",c.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var l=n.call(i,"catchLoc"),s=n.call(i,"finallyLoc");if(l&&s){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,v):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),v},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),_(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:j(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}function A(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var S=function(e,t,r,n){return new(r||(r=Promise))((function(o,a){function i(e){try{l(n.next(e))}catch(e){a(e)}}function c(e){try{l(n.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(i,c)}l((n=n.apply(e,t||[])).next())}))},U="onboarding.advisorVideo",_=o.T.encloseNamespace(U),P=[{id:"contact-us",imageUrl:v.W.OnboardingV2.AdvisorVideo.CONTACT_US_ICON,colourClass:"bg-yellow",title:_("contactUsTitle"),description:_("contactUsDescription")},{id:"check-out-clickview",imageUrl:v.W.OnboardingV2.AdvisorVideo.CHECK_OUT_CLICKVIEW_ICON,colourClass:"bg-purple",title:_("checkOutClickViewTitle"),description:_("checkOutClickViewDescription")}];function j(){var e,t,r=(0,N.Q)(),o=r.completeStepAsync,C=r.onSaveError,j=r.onClickBack,V=r.onClickAreYouATeacher,I=a.a.useBasicFetch(d.L.config()),T=a.a.useBasicFetch(h.N.currentUser()),K=k.x.getAdvisorVideo(I.data),R=a.a.useBasicFetch(K&&m.R.sharedVideo(K.videoId,K.shareId)),B=a.a.useBasicFetch(c.o.getShareObject(K.shareId)),F=a.a.useBasicFetch(f.k.createViewKey(K.shareId,u.f.Share)),G=(e=n.useState(),t=2,function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a,i,c=[],l=!0,s=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=a.call(r)).done)&&(c.push(n.value),c.length!==t);l=!0);}catch(e){s=!0,o=e}finally{try{if(!l&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(s)throw o}}return c}}(e,t)||function(e,t){if(e){if("string"==typeof e)return A(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?A(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),W=G[0],D=G[1],z=(0,p.k)(),Y=R.data&&T.hasCompleted&&I.hasCompleted&&B.hasCompleted&&F.hasCompleted,H=function(e){switch(e){case s.b.AU:return{heading:_("auPartners"),imageUrl:v.W.OnboardingV2.AdvisorVideo.PARTNERS_AU};case s.b.UK:return{heading:_("ukPartners"),imageUrl:v.W.OnboardingV2.AdvisorVideo.PARTNERS_UK};case s.b.US:return{heading:_("usPartners"),imageUrl:v.W.OnboardingV2.AdvisorVideo.PARTNERS_US};default:return null}}(T.data.instanceRegion),X=z.lg||z.xl||z.xxl;return n.createElement(w.z,{namespace:U},n.createElement(w.z.Left,{className:"bg-blue d-flex justify-content-center flex-column"},X&&n.createElement(E.N,{annotationUrl:v.W.OnboardingV2.AdvisorVideo.ANNOTATION,annotationPosition:"bottom-right"},n.createElement(x.P,{hasDataLoaded:Y,config:I.data,video:R.data,currentUser:T.data,shareLink:B.data,viewKey:F.data}))),n.createElement(w.z.Right,{hasCustomButtons:!1,onClickNext:function(){return S(this,void 0,void 0,O().mark((function e(){return O().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i.m.setAdvisorVideoSelection(W),e.prev=1,e.next=4,o({isExiting:"check-out-clickview"===W});case 4:e.next=10;break;case 6:return e.prev=6,e.t0=e.catch(1),C(),e.abrupt("return",Promise.reject());case 10:case"end":return e.stop()}}),e,null,[[1,6]])})))},onClickAreYouATeacher:V,onClickBack:function(){i.m.removeUsageIntention(),j()},disableNext:!W,className:"position-relative"},n.createElement(y.W,{className:"".concat(L.headingContainer)},n.createElement(l.x,{phrase:"heading"})),!X&&n.createElement(x.P,{hasDataLoaded:Y,config:I.data,video:R.data,currentUser:T.data,shareLink:B.data,viewKey:F.data}),n.createElement(b.X,{className:L.infoContainer},n.createElement(l.x,{phrase:"description"})),n.createElement("div",{className:L.options},n.createElement(g.f,{options:P,selection:W,setSelection:D})),!!H&&n.createElement("div",{className:"".concat(L.partnerLogos)},n.createElement("h2",{className:"h6 text-center"},H.heading),n.createElement("div",{className:"w-100 d-flex justify-content-center"},n.createElement("img",{className:"img-fluid",src:H.imageUrl})))))}}}]);