!function(e){var t={};function i(r){if(t[r])return t[r].exports;var s=t[r]={i:r,l:!1,exports:{}};return e[r].call(s.exports,s,s.exports,i),s.l=!0,s.exports}i.m=e,i.c=t,i.d=function(e,t,r){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(i.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var s in e)i.d(r,s,function(t){return e[t]}.bind(null,s));return r},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i(i.s=275)}([function(e,t,i){"use strict";function r(e,t,i,r,s,n,a,o){var l,h="function"==typeof e?e.options:e;if(t&&(h.render=t,h.staticRenderFns=i,h._compiled=!0),r&&(h.functional=!0),n&&(h._scopeId="data-v-"+n),a?(l=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),s&&s.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},h._ssrRegister=l):s&&(l=o?function(){s.call(this,(h.functional?this.parent:this).$root.$options.shadowRoot)}:s),l)if(h.functional){h._injectStyles=l;var u=h.render;h.render=function(e,t){return l.call(t),u(e,t)}}else{var c=h.beforeCreate;h.beforeCreate=c?[].concat(c,l):[l]}return{exports:e,options:h}}i.d(t,"a",(function(){return r}))},function(e,t,i){"use strict";i.r(t),i.d(t,"__extends",(function(){return s})),i.d(t,"__assign",(function(){return n})),i.d(t,"__rest",(function(){return a})),i.d(t,"__decorate",(function(){return o})),i.d(t,"__param",(function(){return l})),i.d(t,"__metadata",(function(){return h})),i.d(t,"__awaiter",(function(){return u})),i.d(t,"__generator",(function(){return c})),i.d(t,"__createBinding",(function(){return d})),i.d(t,"__exportStar",(function(){return p})),i.d(t,"__values",(function(){return f})),i.d(t,"__read",(function(){return m})),i.d(t,"__spread",(function(){return g})),i.d(t,"__spreadArrays",(function(){return y})),i.d(t,"__await",(function(){return v})),i.d(t,"__asyncGenerator",(function(){return b})),i.d(t,"__asyncDelegator",(function(){return C})),i.d(t,"__asyncValues",(function(){return x})),i.d(t,"__makeTemplateObject",(function(){return S})),i.d(t,"__importStar",(function(){return _})),i.d(t,"__importDefault",(function(){return T})),i.d(t,"__classPrivateFieldGet",(function(){return P})),i.d(t,"__classPrivateFieldSet",(function(){return w}));
/*! *****************************************************************************
Copyright (c) Microsoft Corporation.

Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */
var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)};function s(e,t){function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}var n=function(){return(n=Object.assign||function(e){for(var t,i=1,r=arguments.length;i<r;i++)for(var s in t=arguments[i])Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s]);return e}).apply(this,arguments)};function a(e,t){var i={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(i[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var s=0;for(r=Object.getOwnPropertySymbols(e);s<r.length;s++)t.indexOf(r[s])<0&&Object.prototype.propertyIsEnumerable.call(e,r[s])&&(i[r[s]]=e[r[s]])}return i}function o(e,t,i,r){var s,n=arguments.length,a=n<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,r);else for(var o=e.length-1;o>=0;o--)(s=e[o])&&(a=(n<3?s(a):n>3?s(t,i,a):s(t,i))||a);return n>3&&a&&Object.defineProperty(t,i,a),a}function l(e,t){return function(i,r){t(i,r,e)}}function h(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function u(e,t,i,r){return new(i||(i=Promise))((function(s,n){function a(e){try{l(r.next(e))}catch(e){n(e)}}function o(e){try{l(r.throw(e))}catch(e){n(e)}}function l(e){var t;e.done?s(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,o)}l((r=r.apply(e,t||[])).next())}))}function c(e,t){var i,r,s,n,a={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]};return n={next:o(0),throw:o(1),return:o(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function o(n){return function(o){return function(n){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,r&&(s=2&n[0]?r.return:n[0]?r.throw||((s=r.return)&&s.call(r),0):r.next)&&!(s=s.call(r,n[1])).done)return s;switch(r=0,s&&(n=[2&n[0],s.value]),n[0]){case 0:case 1:s=n;break;case 4:return a.label++,{value:n[1],done:!1};case 5:a.label++,r=n[1],n=[0];continue;case 7:n=a.ops.pop(),a.trys.pop();continue;default:if(!(s=a.trys,(s=s.length>0&&s[s.length-1])||6!==n[0]&&2!==n[0])){a=0;continue}if(3===n[0]&&(!s||n[1]>s[0]&&n[1]<s[3])){a.label=n[1];break}if(6===n[0]&&a.label<s[1]){a.label=s[1],s=n;break}if(s&&a.label<s[2]){a.label=s[2],a.ops.push(n);break}s[2]&&a.ops.pop(),a.trys.pop();continue}n=t.call(e,a)}catch(e){n=[6,e],r=0}finally{i=s=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}}([n,o])}}}function d(e,t,i,r){void 0===r&&(r=i),e[r]=t[i]}function p(e,t){for(var i in e)"default"===i||t.hasOwnProperty(i)||(t[i]=e[i])}function f(e){var t="function"==typeof Symbol&&Symbol.iterator,i=t&&e[t],r=0;if(i)return i.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function m(e,t){var i="function"==typeof Symbol&&e[Symbol.iterator];if(!i)return e;var r,s,n=i.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=n.next()).done;)a.push(r.value)}catch(e){s={error:e}}finally{try{r&&!r.done&&(i=n.return)&&i.call(n)}finally{if(s)throw s.error}}return a}function g(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(m(arguments[t]));return e}function y(){for(var e=0,t=0,i=arguments.length;t<i;t++)e+=arguments[t].length;var r=Array(e),s=0;for(t=0;t<i;t++)for(var n=arguments[t],a=0,o=n.length;a<o;a++,s++)r[s]=n[a];return r}function v(e){return this instanceof v?(this.v=e,this):new v(e)}function b(e,t,i){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,s=i.apply(e,t||[]),n=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(e){s[e]&&(r[e]=function(t){return new Promise((function(i,r){n.push([e,t,i,r])>1||o(e,t)}))})}function o(e,t){try{(i=s[e](t)).value instanceof v?Promise.resolve(i.value.v).then(l,h):u(n[0][2],i)}catch(e){u(n[0][3],e)}var i}function l(e){o("next",e)}function h(e){o("throw",e)}function u(e,t){e(t),n.shift(),n.length&&o(n[0][0],n[0][1])}}function C(e){var t,i;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,s){t[r]=e[r]?function(t){return(i=!i)?{value:v(e[r](t)),done:"return"===r}:s?s(t):t}:s}}function x(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,i=e[Symbol.asyncIterator];return i?i.call(e):(e=f(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(i){t[i]=e[i]&&function(t){return new Promise((function(r,s){(function(e,t,i,r){Promise.resolve(r).then((function(t){e({value:t,done:i})}),t)})(r,s,(t=e[i](t)).done,t.value)}))}}}function S(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function _(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)Object.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t.default=e,t}function T(e){return e&&e.__esModule?e:{default:e}}function P(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)}function w(e,t,i){if(!t.has(e))throw new TypeError("attempted to set private field on non-instance");return t.set(e,i),i}},function(e,t){e.exports=Vue},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=i(1).__importDefault(i(2)),s=i(230),n=r.default.extend({methods:{getSiteText(e,...t){const i=this.$store,r=i.getters.siteTextMap||{},n=i.getters.debugSiteText||!1;return(0,s.getSiteTextItem)(e,{debug:n,replacements:t,siteTextMap:r})}}});t.default=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.siteTextFilter=void 0;const r=i(1),s=i(230),n=r.__importDefault(i(223));var a;t.siteTextFilter=(a=()=>({siteTextMap:n.default.getters.siteTextMap,debug:n.default.getters.debugSiteText}),(e,t,i)=>{const r=a();t=t||r.replacements,void 0===i&&(i=r.debug||!1);const n=r.siteTextMap||{};return(0,s.getSiteTextItem)(e,{debug:i,replacements:t,siteTextMap:n})})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ChallengeStatus=void 0,function(e){e.DeviceNameAlreadyExists="DeviceNameAlreadyExists",e.Disabled="Disabled",e.InvalidCaptchaResponse="InvalidCaptchaResponse",e.InvalidCredentials="InvalidCredentials",e.InvalidOneTimeCode="InvalidOneTimeCode",e.LockedOut="LockedOut",e.SyncError="SyncError",e.Success="Success",e.Unknown="Unknown",e.SessionExpired="SessionExpired",e.LockedOutinExternalIdentityProvider="LockedOutinExternalIdentityProvider",e.UserNotFound="UserNotFound",e.MaximumAttemptsReached="MaximumAttemptsReached",e.PdfCodeInvalid="PdfCodeInvalid",e.OTPExpired="OTPExpired",e.BotDetected="BotDetected"}(t.ChallengeStatus||(t.ChallengeStatus={}))},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ICustomTelemetryEvent=t.userAction=t.stepName=t.stepType=t.workflowName=t.getWorkflowName=t.getStepName=t.telemetry=void 0;const r=i(7),s=i(222),n=i(280);Object.defineProperty(t,"workflowName",{enumerable:!0,get:function(){return n.workflowName}}),Object.defineProperty(t,"userAction",{enumerable:!0,get:function(){return n.userAction}}),Object.defineProperty(t,"stepType",{enumerable:!0,get:function(){return n.stepType}}),Object.defineProperty(t,"stepName",{enumerable:!0,get:function(){return n.stepName}});const a=i(281);Object.defineProperty(t,"ICustomTelemetryEvent",{enumerable:!0,get:function(){return a.ICustomTelemetryEvent}});class o{constructor(){this.status={enabled:!1,retries:10,delay:100,cachedEvents:new Array},this.requests=new Map,this.checkTelemetry=async()=>{var e,t;if(null===(null===(e=window.Alkami)||void 0===e?void 0:e.UserTelemetry)||void 0===(null===(t=window.Alkami)||void 0===t?void 0:t.UserTelemetry))--this.status.retries<=0?this.status.cachedEvents=[]:setTimeout(()=>{this.checkTelemetry()},this.status.delay);else if(this.status.enabled=!0,this.status.cachedEvents.length>0){for(const e of this.status.cachedEvents)switch(e.type){case"page":await this.page(e.event);break;case"custom":await this.custom(e.event);break;case"identify":await this.identify()}this.status.cachedEvents=[]}},this.page=async e=>{var t;!1===this.enabled({type:"page",event:e})||this.isDupe(e+"|page")||await(null===(t=window.Alkami.UserTelemetry)||void 0===t?void 0:t.logPageEventAsync(e))},this.custom=async e=>{var t,i;!1===this.enabled({type:"custom",event:e})||this.isDupe(`${e.workflowName}|custom|${e.action}`)||(e.eventProperties=null!==(t=e.eventProperties)&&void 0!==t?t:{},e.eventProperties.stepType=e.stepType,e.eventProperties.stepName=e.stepName,await(null===(i=window.Alkami.UserTelemetry)||void 0===i?void 0:i.logCustomEventAsync(e.workflowName,e.action,e.eventProperties)))},this.identify=async()=>{var e;!1===this.enabled({type:"identify"})||this.isDupe("identify")||await(null===(e=window.Alkami.UserTelemetry)||void 0===e?void 0:e.identifyAuthenticatedUserAsync())},this.timeout=async e=>new Promise(t=>{setTimeout(t,e)}),this.isDupe=e=>{const t=Date.now(),i=this.requests.get(e);if(null!=i&&t-i<50)return!0;if(this.requests.set(e,t),this.requests.size>50){const e=new Map;this.requests.forEach((i,r)=>{t-i<50&&e.set(r,i)}),this.requests=e}return!1},this.checkTelemetry()}static get factory(){return l instanceof o||(l=new o),l}get context(){var e;return null===(e=window.Alkami.UserTelemetry)||void 0===e?void 0:e.context}enabled(e){return!0===this.status.enabled||(this.status.retries>0&&this.status.cachedEvents.push(e),!1)}}let l;o.getStepName=(e,t)=>{if(e===n.workflowName.retail_registration)switch(t){case r.ChallengeType.ChooseRegistrationType:return n.stepName.registration_type;case r.ChallengeType.RegistrationDisclosure:return n.stepName.disclosure;case r.ChallengeType.ConfirmIdentity:return n.stepName.confirm_your_identity;case r.ChallengeType.StepUp:return n.stepName.verify_your_identity;case r.ChallengeType.OneTimeCode:return n.stepName.verification_code;case r.ChallengeType.CreateUsername:return n.stepName.create_username;case r.ChallengeType.CreateUser:return n.stepName.create_password;case r.ChallengeType.UpdateBusiness:return n.stepName.business_information}return n.stepName.unknown},o.getWorkflowName=e=>{switch(e){case s.Workflow.Registration:return n.workflowName.retail_registration}return n.workflowName.unknown};const h=o.factory;t.telemetry=h;const u=o.getStepName;t.getStepName=u;const c=o.getWorkflowName;t.getWorkflowName=c},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ChallengeType=void 0,function(e){e.ChangePassword="ChangePassword",e.CheckSyncResult="CheckSyncResult",e.ForgotUsernameChooseScenario="ForgotUsernameChooseScenario",e.ForgotPasswordChooseScenario="ForgotPasswordChooseScenario",e.ChooseRegistrationType="ChooseRegistrationType",e.ForgotUsernameConfirmIdentity="ForgotUsernameConfirmIdentity",e.CreateUsername="CreateUsername",e.Done="Done",e.Empty="Empty",e.OneTimeCode="OneTimeCode",e.OneTimeCodeDestination="OneTimeCodeDestination",e.QuestionsAndAnswers="QuestionsAndAnswers",e.RegistrationComplete="RegistrationComplete",e.StartForgotPassword="StartForgotPassword",e.StartForgotUsername="StartForgotUsername",e.StartRegistration="StartRegistration",e.StartSync="StartSync",e.StepUp="StepUp",e.TemporaryPassword="TemporaryPassword",e.UsernameAndPassword="UsernameAndPassword",e.UsernameRecovered="UsernameRecovered",e.Tethered="Tethered",e.ConvertedUser="ConvertedUser",e.ForgotPasswordDisclosure="ForgotPasswordDisclosure",e.ForgotPasswordConfirmIdentity="ForgotPasswordConfirmIdentity",e.StepUpForgot="StepUpForgot",e.OneTimeCodeForgotContainer="OneTimeCodeForgotContainer",e.CheckSyncResultForgot="CheckSyncResultForgot",e.RegistrationDisclosure="RegistrationDisclosure",e.ConfirmIdentity="ConfirmIdentity",e.CreateUser="CreateUser",e.UpdateBusiness="UpdateBusiness"}(t.ChallengeType||(t.ChallengeType={}))},function(e,t,i){"use strict";i.r(t);var r=i(194),s=i(36);for(var n in s)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return s[e]}))}(n);var a=i(0),o=Object(a.a)(s.default,r.a,r.b,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ElementIds=void 0,function(e){e.Username="username",e.Password="password",e.AuthenticationSubmit="btn_submitCredentials",e.DisclosureCheckbox="acceptDisclosureCheckbox",e.DisclosureContinue="disclosureAcceptanceBtn",e.UsernameChooseScenarioCard="usernameType",e.UserIdentifyingField="UserIdentifyingField",e.ConfirmIdentityContinue="btn_submitConfirmIdentity",e.StepUpCategory="stepUpCategory",e.StepUpDestination="stepUpDestination",e.StepUpContinue="btn_chooseStepUpOptions",e.OTPCodeInput="codeInput",e.OTPChangeMethod="btn_changeMethod",e.OTPResendCode="btn_resendOTP",e.OTPVerify="btn_submitOTPCode",e.CreateUsername="btn_createUsername",e.UpdateBusiness="btn_updateBusiness"}(t.ElementIds||(t.ElementIds={}))},function(e,t,i){"use strict";i.r(t);var r=i(197),s=i(44);for(var n in s)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return s[e]}))}(n);i(328);var a=i(0),o=Object(a.a)(s.default,r.a,r.b,!1,null,"53cc26a2",null);t.default=o.exports},function(e,t,i){"use strict";i.r(t);var r=i(198),s=i(46);for(var n in s)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return s[e]}))}(n);i(329);var a=i(0),o=Object(a.a)(s.default,r.a,r.b,!1,null,"6fdc3c83",null);t.default=o.exports},function(e,t,i){"use strict";i.r(t);var r=i(200),s=i(54);for(var n in s)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return s[e]}))}(n);var a=i(0),o=Object(a.a)(s.default,r.a,r.b,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AuthenticationFactor=void 0,function(e){e.Unknown="Unknown",e.SmsCode="SmsCode",e.EmailCode="EmailCode",e.VoiceCode="VoiceCode",e.TOTP="TOTP",e.WebAuthn="WebAuthn",e.PushNotification="PushNotification",e.VoicePrompt="VoicePrompt",e.QuestionsAndAnswers="QuestionsAndAnswers",e.Token="Token",e.Biometric="Biometric"}(t.AuthenticationFactor||(t.AuthenticationFactor={}))},function(e,t,i){"use strict";i.r(t);var r=i(196),s=i(40);for(var n in s)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return s[e]}))}(n);var a=i(0),o=Object(a.a)(s.default,r.a,r.b,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=i(1),s=i(7),n=r.__importDefault(i(226)),a=Object.keys(s.ChallengeType).map(e=>[e,()=>Promise.resolve().then(()=>r.__importStar(i(291)("./"+e)))]).filter(e=>e);t.default=(0,n.default)(a)},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ScenarioType=void 0,function(e){e[e.Unknown=0]="Unknown",e[e.Registration=1]="Registration",e[e.AdminRegistration=2]="AdminRegistration",e[e.ForgotPassword=3]="ForgotPassword",e[e.ForgotUsername=4]="ForgotUsername",e[e.UserSearch=5]="UserSearch"}(t.ScenarioType||(t.ScenarioType={}))},function(e,t,i){"use strict";i.r(t);var r=i(166),s=i(56);for(var n in s)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return s[e]}))}(n);i(312);var a=i(0),o=Object(a.a)(s.default,r.a,r.b,!1,null,"a9a99156",null);t.default=o.exports},function(e,t,i){"use strict";i.r(t);var r=i(179),s=i(89);for(var n in s)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return s[e]}))}(n);i(317);var a=i(0),o=Object(a.a)(s.default,r.a,r.b,!1,null,"7827f44a",null);t.default=o.exports},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=i(1),s=r.__importDefault(i(226)),n=i(13),a=Object.keys(n.AuthenticationFactor).map(e=>[e,()=>Promise.resolve().then(()=>r.__importStar(i(299)("./"+e)))]);t.default=(0,s.default)(a)},function(e,t,i){"use strict";i.r(t);var r=i(21),s=i.n(r);for(var n in r)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return r[e]}))}(n);t.default=s.a},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=i(1).__importDefault(i(2));t.default=r.default.extend({name:"app",computed:{currentChallengeType(){return this.$store.getters.currentChallengeType}},watch:{currentChallengeType(e,t){const i=new CustomEvent("challengetypechange",{bubbles:!0,cancelable:!1,detail:{currentChallengeType:e,previousChallengeType:t}});this.$el.dispatchEvent(i)}}})},function(e,t,i){"use strict";i.r(t);var r=i(23),s=i.n(r);for(var n in r)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return r[e]}))}(n);t.default=s.a},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=i(1).__importDefault(i(2)),s=i(6);t.default=r.default.extend({name:"authentication",props:{},computed:{authenticatedModel(){return this.$store.getters.authenticatedModel},isSyncing(){return this.$store.getters.isSyncing},currentChallengeType(){return this.$store.getters.currentChallengeType}},watch:{authenticatedModel(e){e&&"string"==typeof e.username&&"string"==typeof e.nonce&&this.$nextTick(()=>{const e=document.querySelector("#form_authenticated");e&&(this.$store.commit("setIsSubmittingAuthenticatedModel",!0),e.submit())})},async isSyncing(){for(;this.$store.getters.isSyncing&&!this.authenticatedModel.username.length;){const e={...this.$store.getters.checkSyncResultChallenge};await this.$store.dispatch("submitChallenge",e),await new Promise(e=>setTimeout(e,1e3))}}},components:{},async mounted(){var e;s.telemetry.page(s.workflowName.retail_registration),""===(null===(e=this.$store.getters.configuration.loginCredentials)||void 0===e?void 0:e.UserName)&&await this.$store.dispatch("getRememberedUsername"),this.$store.commit("currentChallenge",{ChallengeTypeValue:this.$store.getters.configuration.initialChallengeType,Progression:[]})}})},function(e,t,i){"use strict";i.r(t);var r=i(25),s=i.n(r);for(var n in r)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return r[e]}))}(n);t.default=s.a},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=i(1).__importDefault(i(2)),s=i(7),n=i(6);t.default=r.default.extend({name:"registration",props:{},computed:{currentChallengeType(){const e=this.$store.getters.currentChallengeType;switch(e){case s.ChallengeType.StepUp:return s.ChallengeType.StepUpForgot;case s.ChallengeType.OneTimeCode:return s.ChallengeType.OneTimeCodeForgotContainer;case s.ChallengeType.CheckSyncResult:return s.ChallengeType.CheckSyncResultForgot;default:return e}},authenticatedModel(){return this.$store.getters.authenticatedModel},isSyncing(){return this.$store.getters.isSyncing}},watch:{authenticatedModel(e){e&&"string"==typeof e.username&&"string"==typeof e.nonce&&this.$nextTick(()=>{const e=document.querySelector("#form_authenticated");e&&(this.$store.commit("setIsSubmittingAuthenticatedModel",!0),e.submit())})},async isSyncing(){for(;this.$store.getters.isSyncing;){const e={...this.$store.getters.checkSyncResultChallenge};await this.$store.dispatch("submitChallenge",e),await new Promise(e=>setTimeout(e,1e3))}}},components:{},mounted(){this.$store.commit("currentChallenge",{ChallengeTypeValue:this.$store.getters.configuration.initialChallengeType,Progression:[]}),this.$store.dispatch("submitChallenge",this.$store.state.currentChallenge),n.telemetry.page(n.workflowName.retail_registration)}})},function(e,t,i){"use strict";i.r(t);var r=i(27),s=i.n(r);for(var n in r)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return r[e]}))}(n);t.default=s.a},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=i(1).__importDefault(i(2)),s=i(7);t.default=r.default.extend({name:"authentication",props:{},computed:{currentChallengeType(){const e=this.$store.getters.currentChallengeType;switch(e){case s.ChallengeType.StepUp:return s.ChallengeType.StepUpForgot;case s.ChallengeType.OneTimeCode:return s.ChallengeType.OneTimeCodeForgotContainer;case s.ChallengeType.UsernameAndPassword:return this.$store.commit("currentChallenge",{ChallengeTypeValue:s.ChallengeType.StartForgotUsername,Progression:[]}),this.$store.dispatch("submitChallenge",this.$store.state.currentChallenge),s.ChallengeType.StartForgotUsername;default:return e}}},methods:{submitForm(e){this.$store.dispatch("submitChallenge",this.$store.state.currentChallenge),e.preventDefault()}},components:{},mounted(){this.$store.commit("currentChallenge",{ChallengeTypeValue:this.$store.getters.configuration.initialChallengeType,Progression:[]}),this.$store.dispatch("submitChallenge",this.$store.state.currentChallenge)}})},function(e,t,i){"use strict";i.r(t);var r=i(29),s=i.n(r);for(var n in r)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return r[e]}))}(n);t.default=s.a},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=i(1).__importDefault(i(2)),s=i(7);t.default=r.default.extend({name:"forgotpassword",props:{},computed:{currentChallengeType(){const e=this.$store.getters.currentChallengeType;switch(e){case s.ChallengeType.StepUp:return s.ChallengeType.StepUpForgot;case s.ChallengeType.OneTimeCode:return s.ChallengeType.OneTimeCodeForgotContainer;case s.ChallengeType.CheckSyncResult:return s.ChallengeType.CheckSyncResultForgot;default:return e}}},methods:{submitForm(e){this.$store.dispatch("submitChallenge",this.$store.state.currentChallenge),e.preventDefault()}},components:{},mounted(){this.$store.commit("currentChallenge",{ChallengeTypeValue:this.$store.getters.configuration.initialChallengeType,Progression:[]}),this.$store.dispatch("submitChallenge",this.$store.state.currentChallenge)}})},function(e,t,i){"use strict";i.r(t);var r=i(31),s=i.n(r);for(var n in r)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return r[e]}))}(n);t.default=s.a},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=i(1).__importDefault(i(2)),s=i(7);t.default=r.default.extend({name:"logingrouping",props:{},computed:{currentChallengeType(){const e=this.$store.getters.currentChallengeType;switch(e){case s.ChallengeType.StepUp:return s.ChallengeType.StepUpForgot;case s.ChallengeType.OneTimeCode:return s.ChallengeType.OneTimeCodeForgotContainer;case s.ChallengeType.CheckSyncResult:return s.ChallengeType.CheckSyncResultForgot;default:return e}}},methods:{submitForm(e){this.$store.dispatch("submitChallenge",this.$store.state.currentChallenge),e.preventDefault()}},components:{},mounted(){var e;let t={...this.$store.state.configuration.nextRequestedChallenge};t.ChallengeTypeValue=s.ChallengeType.StepUp,this.$store.commit("currentChallenge",t);if(t){let i=0,r=0;null===(e=t.StepUpCategories)||void 0===e||e.forEach((function(e){var t;e.$id=i.toString(),e.StepUpModel.$id=i.toString(),null===(t=e.StepUpModel.Destinations)||void 0===t||t.forEach((function(e){e.$id=r.toString(),r++})),i++}))}}})},function(e,t,i){"use strict";i.r(t);var r=i(33),s=i.n(r);for(var n in r)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return r[e]}))}(n);t.default=s.a},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=i(1).__importDefault(i(2));t.default=r.default.extend({name:"change-password",props:{},computed:{},methods:{},components:{}})},function(e,t,i){"use strict";i.r(t);var r=i(35),s=i.n(r);for(var n in r)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return r[e]}))}(n);t.default=s.a},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=i(1),s=r.__importDefault(i(2)),n=r.__importDefault(i(8)),a=r.__importDefault(i(229));t.default=s.default.extend({name:"check-sync-result",props:{},computed:{baseUrl(){return this.$store.state.configuration.baseUrl}},components:{IsotopeSlide:n.default,SyncFailure:a.default}})},function(e,t,i){"use strict";i.r(t);var r=i(37),s=i.n(r);for(var n in r)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return r[e]}))}(n);t.default=s.a},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=i(1).__importDefault(i(2));t.default=r.default.extend({name:"isotope-slide",props:{},computed:{hasHeader(){return!!this.$slots.header},hasFooter(){return!!this.$slots.footer}}})},function(e,t,i){"use strict";i.r(t);var r=i(39),s=i.n(r);for(var n in r)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return r[e]}))}(n);t.default=s.a},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=i(1),s=r.__importDefault(i(2)),n=r.__importDefault(i(3)),a=i(4),o=r.__importDefault(i(14)),l=r.__importDefault(i(292)),h=i(294);t.default=s.default.extend({name:"sync-failure",props:{buttonText:{type:String,default:""},url:{type:String,default:""}},mixins:[n.default],filters:{sitetext:a.siteTextFilter},computed:{errorMessage(){const e=this.$store.state.errors;let t="";return e.length>0&&(t=e[0].CustomSubCode),null!==t&&t.startsWith("AEC")?this.getSiteText("Sync.SyncError."+t):this.getSiteText("Error.Generic")}},components:{SlideHeader:o.default},mounted(){l.default.loadAnimation({container:document.querySelector(".syncAnimation.error"),renderer:"svg",animationData:h.ConfirmationError64,loop:!1,autoplay:!0})}})},function(e,t,i){"use strict";i.r(t);var r=i(41),s=i.n(r);for(var n in r)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return r[e]}))}(n);t.default=s.a},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=i(1).__importDefault(i(2));t.default=r.default.extend({name:"slide-header",props:{header:{type:String,default:""},subtitle:{type:String,default:""}},mounted(){""!==this.header&&this.$refs.heading.focus()}})},function(e,t,i){"use strict";i.r(t);var r=i(43),s=i.n(r);for(var n in r)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return r[e]}))}(n);t.default=s.a},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=i(1),s=r.__importDefault(i(2)),n=r.__importDefault(i(229)),a=r.__importDefault(i(10)),o=r.__importDefault(i(11));t.default=s.default.extend({name:"check-sync-result",props:{},computed:{baseUrl(){return this.$store.state.configuration.baseUrl},url(){switch(!0){case this.$store.getters.isRegistering:return this.baseUrl+"Registration";case this.$store.getters.isForgotPasswordWorkflow:return this.baseUrl+"ForgotPassword"}return this.baseUrl+"ForgotPassword"}},components:{ContainerSlide:a.default,SyncFailure:n.default,SlideHeaderWithNav:o.default}})},function(e,t,i){"use strict";i.r(t);var r=i(45),s=i.n(r);for(var n in r)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return r[e]}))}(n);t.default=s.a},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=i(1).__importDefault(i(2));t.default=r.default.extend({name:"container-slide",computed:{hasHeader(){return!!this.$slots.header},hasFooter(){return!!this.$slots.footer},isMobile(){return this.$store.getters.isMobile}}})},function(e,t,i){"use strict";i.r(t);var r=i(47),s=i.n(r);for(var n in r)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return r[e]}))}(n);t.default=s.a},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=i(1),s=r.__importDefault(i(2)),n=r.__importDefault(i(3)),a=i(4),o=i(5),l=r.__importDefault(i(295)),h=i(224),u=i(6);t.default=s.default.extend({name:"slide-header-with-nav",mixins:[n.default],filters:{sitetext:a.siteTextFilter},data:()=>({contentToggle:!1,displayErrorMessage:!1,suppressedChallengeStatus:[o.ChallengeStatus.InvalidOneTimeCode,o.ChallengeStatus.PdfCodeInvalid,o.ChallengeStatus.SyncError,o.ChallengeStatus.OTPExpired]}),props:{url:{type:String,default:"/"},workflowName:{type:String,default:""}},computed:{...(0,h.mapGetters)(["hasSessionExpiredError","hasInvalidChallengeStatus","hasServerError","currentChallengeType","isForgotPasswordWorkflow","isForgotUsernameWorkflow","isRegistering"]),...(0,h.mapState)(["challengeStatus","currentChallenge","isCypress"]),isMobile(){return this.$store.getters.isMobile},errorMessage(){var e;let t="";if(this.hasSessionExpiredError)t=this.getSiteText("ChallengeStatus.SessionExpired");else if(!this.suppressedChallengeStatus.includes(this.challengeStatus))if(this.hasInvalidChallengeStatus){let i="ChallengeStatus."+this.challengeStatus;this.workflowName.length>0&&(i=`${this.workflowName}.${i}`),t=this.getSiteText(i,null===(e=this.currentChallenge.SessionInfo)||void 0===e?void 0:e.Id)}else this.hasServerError&&(t=this.getSiteText("Error.Generic"));return this.setDisplayError(t.length>0),t},closeButtonText(){return this.isForgotPasswordWorkflow?this.getSiteText("ForgotPassword.Close.Text"):this.isForgotUsernameWorkflow?this.getSiteText("ForgotUsername.Close.Text"):this.isRegistering?this.getSiteText("Registration.Close.Text"):"Cancel"}},methods:{toggleSheet(e,t){this.contentToggle=e,t&&t.preventDefault()},cancelConfirmText(){return this.$store.getters.isForgotPasswordWorkflow?this.getSiteText("ForgotPassword.Close.Confirm.Text"):this.$store.getters.isForgotUsernameWorkflow?this.getSiteText("ForgotUsername.Close.Confirm.Text"):this.$store.getters.isRegistering?this.getSiteText("Registration.Close.Confirm.Text"):""},setDisplayError(e){this.$nextTick(()=>{this.displayErrorMessage=e,e&&this.$refs.slide.scrollIntoView({behavior:"smooth"})})},closeNotification(){this.displayErrorMessage=!1},clickCloseButton(e){const t=(0,u.getWorkflowName)(this.$store.getters.workflow);t!==u.workflowName.unknown&&u.telemetry.custom({workflowName:t,stepType:u.stepType.progression,stepName:(0,u.getStepName)(t,this.currentChallengeType),action:u.userAction.cancel_clicked}),this.toggleSheet(!0,e)},async clickConfirmClose(){const e=(0,u.getWorkflowName)(this.$store.getters.workflow);e!==u.workflowName.unknown&&await u.telemetry.custom({workflowName:e,stepType:u.stepType.cancellation,stepName:u.stepName.quit_confirmation,action:u.userAction.yes_clicked}),this.isCypress||(document.location.href=this.url)},clickCancelClose(){const e=(0,u.getWorkflowName)(this.$store.getters.workflow);e!==u.workflowName.unknown&&u.telemetry.custom({workflowName:e,stepType:u.stepType.cancellation,stepName:u.stepName.quit_confirmation,action:u.userAction.cancel_clicked}),this.toggleSheet(!1)},sheetClosed(){const e=(0,u.getWorkflowName)(this.$store.getters.workflow);e!==u.workflowName.unknown&&u.telemetry.custom({workflowName:e,stepType:u.stepType.cancellation,stepName:u.stepName.quit_confirmation,action:u.userAction.sheet_closed})}},mounted(){var e,t,i;null===(e=document.querySelector("#closeButton button"))||void 0===e||e.setAttribute("type","button"),null===(t=document.querySelector('[aria-label="Close notification"]'))||void 0===t||t.setAttribute("type","button"),null===(i=document.querySelector('[aria-label="navigation menu"]'))||void 0===i||i.setAttribute("type","button"),this.$store.getters.hasSessionExpiredError&&this.setDisplayError(!0)},components:{ProgressBar:l.default}})},function(e,t,i){"use strict";i.r(t);var r=i(49),s=i.n(r);for(var n in r)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return r[e]}))}(n);t.default=s.a},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=i(1),s=r.__importDefault(i(2)),n=r.__importDefault(i(3)),a=i(4);t.default=s.default.extend({name:"progress-bar",mixins:[n.default],filters:{sitetext:a.siteTextFilter},computed:{showProgressBar(){return this.currentWorkflowMaxSteps>0},currentWorkflowMaxSteps(){return this.$store.getters.currentWorkflowMaxSteps},currentWorkflowStep(){return this.$store.getters.currentWorkflowStep},percentComplete(){const e=100*this.currentWorkflowStep/this.currentWorkflowMaxSteps;return e>100?100:e},progressBarHeading(){return this.getSiteText("Forgot.Progressbar.Heading",this.currentWorkflowStep,this.currentWorkflowMaxSteps)}}})},function(e,t,i){"use strict";i.r(t);var r=i(51),s=i.n(r);for(var n in r)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return r[e]}))}(n);t.default=s.a},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=i(1),s=r.__importDefault(i(2)),n=r.__importDefault(i(153));t.default=s.default.extend({name:"choose-registration-type",components:{ChooseScenario:n.default}})},function(e,t,i){"use strict";i.r(t);var r=i(53),s=i.n(r);for(var n in r)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return r[e]}))}(n);t.default=s.a},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=i(1),s=r.__importDefault(i(2)),n=i(5),a=i(16),o=i(296),l=r.__importDefault(i(3)),h=i(4),u=r.__importDefault(i(11)),c=r.__importDefault(i(10)),d=r.__importDefault(i(12)),p=i(6);t.default=s.default.extend({name:"choose-scenario",data:()=>({selectedScenario:0}),props:{cardName:{type:String,required:!1,validator:e=>"string"==typeof e||null===e,default:null}},computed:{isMobile(){return this.$store.getters.isMobile},canContinue(){return 0!==this.selectedScenario},submitting(){return this.$store.getters.isSubmittingChallenge},currentChallenge(){return this.$store.state.currentChallenge},scenarios(){return this.$store.state.currentChallenge.Scenarios||[]}},mixins:[l.default],filters:{sitetext:h.siteTextFilter},methods:{baseUrl(){return this.$store.state.configuration.baseUrl},scenarioType(){const e=this.scenarios.length>0?this.scenarios[0].ScenarioTypeValue:0;return a.ScenarioType[e]},async selectScenario(e){var t,i;this.selectedScenario=e;const r=(0,p.getWorkflowName)(this.$store.getters.workflow);if(r!==p.workflowName.unknown){let s=null!==(i=null===(t=this.scenarios.find(t=>t.Id===e))||void 0===t?void 0:t.UserLookupTypeValue)&&void 0!==i?i:o.UserLookupType.None;p.telemetry.custom({workflowName:r,action:s===o.UserLookupType.Business?p.userAction.business_account_clicked:p.userAction.individual_account_clicked,stepType:p.stepType.progression,stepName:p.stepName.registration_type})}await this.submitForm()},async submitForm(){if(this.submitting)return;let e=this.selectedScenario;if(!e){const e=[{CustomSubCode:"",ErrorCode:0,Field:"Choose Scenario Type",ItemIndex:0,Message:`Unable to determine scenario Selected: ${this.selectedScenario} Allowed:${this.scenarios.join("|")}`,Origin:"ChooseScenario (FrontEnd)",Severity:1,SubCode:0}];return void this.$store.commit("errors",e)}let t={...this.currentChallenge,ChosenScenarioId:e};this.$store.commit("challengeStatus",n.ChallengeStatus.Unknown),await this.$store.dispatch("submitChallenge",t)}},components:{SlideHeaderWithNav:u.default,ContainerSlide:c.default,IsotopeHeader:d.default}})},function(e,t,i){"use strict";i.r(t);var r=i(55),s=i.n(r);for(var n in r)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return r[e]}))}(n);t.default=s.a},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=i(1).__importDefault(i(2)),s=i(4);t.default=r.default.extend({name:"isotope-header",props:{siteText:{type:String,default:""}},filters:{sitetext:s.siteTextFilter},computed:{isMobile(){return this.$store.getters.isMobile},cssClasses(){let e=["mar-bottom--md","text--capitalize"];return this.isMobile?e.push("mar-top--xl","font-medium-heading"):e.push("mar-top--2xl","font-small-heading"),e}},mounted(){this.$refs.heading.focus()}})},function(e,t,i){"use strict";i.r(t);var r=i(57),s=i.n(r);for(var n in r)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return r[e]}))}(n);t.default=s.a},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=i(1),s=r.__importDefault(i(2)),n=i(5),a=i(16),o=i(233),l=i(9),h=r.__importDefault(i(3)),u=i(4),c=r.__importDefault(i(11)),d=r.__importDefault(i(10)),p=r.__importDefault(i(297)),f=r.__importDefault(i(12)),m=i(6);t.default=s.default.extend({name:"confirm-identity",data:()=>({showNotification:!1,fieldValidationStatus:new Map,hasInvalidField:!0}),mixins:[h.default],filters:{sitetext:u.siteTextFilter},methods:{baseUrl(){return this.$store.state.configuration.baseUrl},async submitForm(){if(this.submitting)return;const e={...this.confirmIdentityChallenge};this.$store.commit("challengeStatus",n.ChallengeStatus.Unknown),await this.$store.dispatch("submitChallenge",e);const t=(0,m.getWorkflowName)(this.$store.getters.workflow);if(t!==m.workflowName.unknown){let i={numDataPoints:e.Scenario.FieldGroups.reduce((e,t)=>e.concat(t.Fields),[]).filter(e=>null!==e.Value&&"string"==typeof e.Value&&e.Value.trim().length>0).length};this.$store.getters.hasInvalidChallengeStatus&&(i.error=this.$store.getters.challengeStatus),m.telemetry.custom({workflowName:t,stepType:m.stepType.progression,stepName:m.stepName.confirm_your_identity,action:m.userAction.continue_clicked,eventProperties:i})}},notificationMessage(){return this.getSiteText(this.scenarioType+".ConfirmIdentity.Notification")},validationCheck(e){this.fieldValidationStatus.set(o.UserIdentifyingFieldType[e.fieldType],e.isValid);let t=!1;for(let e of this.fieldValidationStatus.values())if(!e){t=!0;break}this.hasInvalidField=t}},computed:{scenarioType(){return a.ScenarioType[this.confirmIdentityChallenge.Scenario.ScenarioTypeValue]},submitting(){return this.$store.getters.isSubmittingChallenge},confirmIdentityChallenge(){return this.$store.state.currentChallenge},buttonDisabled(){return this.submitting||this.hasInvalidField},elementIds:()=>l.ElementIds},mounted(){var e;this.notificationMessage()&&(this.showNotification=!0),null===(e=document.querySelector('[data-cy="notificationMessage"] button'))||void 0===e||e.setAttribute("type","button")},components:{SlideHeaderWithNav:c.default,ContainerSlide:d.default,UserIdentifyingFieldGroup:p.default,IsotopeHeader:f.default}})},function(e,t,i){"use strict";i.r(t);var r=i(59),s=i.n(r);for(var n in r)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return r[e]}))}(n);t.default=s.a},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=i(1),s=r.__importDefault(i(2)),n=r.__importDefault(i(3)),a=i(4),o=r.__importDefault(i(298)),l=i(16);t.default=s.default.extend({name:"user-identifying-field-group",props:{index:{type:Number,default:0},name:{type:String,default:""},fields:{type:Array,default:()=>[]},scenarioType:{type:Number,default:0},scenarioName:{type:String,default:""}},mixins:[n.default],filters:{sitetext:a.siteTextFilter},methods:{textForGroup(e,t){const i=this.$store.state.configuration.bankName;return this.getSiteText(`${l.ScenarioType[e]}.UserIdentifyingFieldGroup.${t+1}.Text`,i)},validationCheck(e){this.$emit("validation-check",e)}},components:{UserIdentifyingField:o.default}})},function(e,t,i){"use strict";i.r(t);var r=i(61),s=i.n(r);for(var n in r)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return r[e]}))}(n);t.default=s.a},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=i(1),s=r.__importDefault(i(2)),n=r.__importDefault(i(3)),a=i(4),o=i(233),l=i(16),h=i(9);t.default=s.default.extend({name:"user-identifying-field",props:{fieldType:{type:Number,default:o.UserIdentifyingFieldType.MothersMaidenName},isRequired:{type:Boolean,default:!1},isSensitive:{type:Boolean,default:!1},value:{type:String,default:""},scenarioType:{type:Number,default:l.ScenarioType.Unknown},scenarioName:{type:String,default:""},regex:{type:String,default:""}},data:()=>({states:[{label:"AL",value:"AL"},{label:"AK",value:"AK"},{label:"AZ",value:"AZ"},{label:"AR",value:"AR"},{label:"CA",value:"CA"},{label:"CO",value:"CO"},{label:"CT",value:"CT"},{label:"DE",value:"DE"},{label:"FL",value:"FL"},{label:"GA",value:"GA"},{label:"HI",value:"HI"},{label:"ID",value:"ID"},{label:"IL",value:"IL"},{label:"IN",value:"IN"},{label:"IA",value:"IA"},{label:"KS",value:"KS"},{label:"KY",value:"KY"},{label:"LA",value:"LA"},{label:"ME",value:"ME"},{label:"MD",value:"MD"},{label:"MA",value:"MA"},{label:"MI",value:"MI"},{label:"MN",value:"MN"},{label:"MS",value:"MS"},{label:"MO",value:"MO"},{label:"MT",value:"MT"},{label:"NE",value:"NE"},{label:"NV",value:"NV"},{label:"NH",value:"NH"},{label:"NJ",value:"NJ"},{label:"NM",value:"NM"},{label:"NY",value:"NY"},{label:"NC",value:"NC"},{label:"ND",value:"ND"},{label:"OH",value:"OH"},{label:"OK",value:"OK"},{label:"OR",value:"OR"},{label:"PA",value:"PA"},{label:"RI",value:"RI"},{label:"SC",value:"SC"},{label:"SD",value:"SD"},{label:"TN",value:"TN"},{label:"TX",value:"TX"},{label:"UT",value:"UT"},{label:"VT",value:"VT"},{label:"VA",value:"VA"},{label:"WA",value:"WA"},{label:"WV",value:"WV"},{label:"WI",value:"WI"},{label:"WY",value:"WY"}]}),mixins:[n.default],filters:{sitetext:a.siteTextFilter},computed:{inputVal:{get(){return this.fieldType===o.UserIdentifyingFieldType.IsBusiness?!!this.value&&("True"===this.value.toString()||"true"===this.value.toString()):this.value},set(e){this.fieldType===o.UserIdentifyingFieldType.IsBusiness&&(e=null===e?"false":e.toString()),this.$emit("input",e.trim())}},elementIds:()=>h.ElementIds},methods:{label(e,t){var i=""===this.scenarioName?"":this.scenarioName+".",r=this.getSiteText(`${l.ScenarioType[t]}.${i}UserIdentifyingField.${o.UserIdentifyingFieldType[e]}.Label`);return r.startsWith("__Localize_Me__")?this.getSiteText(`UserIdentifyingField.${o.UserIdentifyingFieldType[e]}.Label`):r},helperText(e,t){var i=""===this.scenarioName?"":this.scenarioName+".",r=this.getSiteText(`${l.ScenarioType[t]}.${i}UserIdentifyingField.${o.UserIdentifyingFieldType[e]}.HelperText`);return r.startsWith("__Localize_Me__")?this.getSiteText(`UserIdentifyingField.${o.UserIdentifyingFieldType[e]}.HelperText`):r},requiredText(e,t){return""+this.getSiteText("UserIdentifyingField.Required",this.label(e,t))},optionalText(){return this.getSiteText("UserIdentifyingField.Optional")},isOfFieldType:(e,t)=>t===o.UserIdentifyingFieldType[e],validationRules(e,t){const i=this.validationRegex(e);return null!==i?[r=>""===r||null===r||i.test(r)||this.getSiteText("UserIdentifyingField.ErrorMessage",this.label(e,t))]:null},validationRegex(e){if(null!=this.regex&&this.regex.length>0)try{return new RegExp(this.regex)}catch(e){console.error(`Invalid regex for field ${this.scenarioName}: ${this.label(this.fieldType,this.scenarioType)}`)}return e===o.UserIdentifyingFieldType.TaxId||e===o.UserIdentifyingFieldType.EIN?/^(\d{3}-?\d{2}-?\d{4}|\d{1,9}|\d{2}-\d{7})$/:e===o.UserIdentifyingFieldType.HomePhone||e===o.UserIdentifyingFieldType.WorkPhone||e===o.UserIdentifyingFieldType.CellPhone?/^$|^(?:(?:\+?1\s*(?:[.-]\s*)?)?(?:\(\s*([2-9]1[02-9]|[2-9][02-8]1|[2-9][02-8][02-9])\s*\)|([2-9]1[02-9]|[2-9][02-8]1|[2-9][02-8][02-9]))\s*(?:[.-]\s*)?)?([2-9]1[02-9]|[2-9][02-9]1|[2-9][02-9]{2})\s*(?:[.-]\s*)?([0-9]{4})(?:\s*(?:#|x\.?|ext\.?|extension)\s*(\d+))?$/:e===o.UserIdentifyingFieldType.Email?/(^$|^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$)/:e===o.UserIdentifyingFieldType.State?/^(A[KLRZ]|C[AOT]|D[CE]|FL|GA|HI|I[ADLN]|K[SY]|LA|M[ADEINOST]|N[CDEHJMVY]|O[HKR]|P[AR]|RI|S[CD]|T[NX]|UT|V[AIT]|W[AIVY])$/:null},validationCheck(e){this.$emit("validation-check",{fieldType:this.fieldType,isValid:e&&0===Object.keys(e).length})},getNameForField(e){return`${this.elementIds.UserIdentifyingField}_${o.UserIdentifyingFieldType[e]}`},toggleHiddenText(e,t){const i=this.getSiteText(`UserIdentifyingField.${o.UserIdentifyingFieldType[e]}.Label`),r=this.getSiteText("UserIdentifyingField."+t);return r.startsWith("__Localize_Me__")?`${t} ${i}`:`${r} ${i}`},handleTextfieldFocus(e){if(this.$store.getters.isMobile){const t=window.screenY||window.pageYOffset,i=e.target.getBoundingClientRect().top;window.scrollTo({top:t+i-.1*window.innerHeight,behavior:"smooth"})}}}})},function(e,t,i){"use strict";i.r(t);var r=i(63),s=i.n(r);for(var n in r)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return r[e]}))}(n);t.default=s.a},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=i(1),s=r.__importDefault(i(2)),n=r.__importDefault(i(3)),a=i(4),o=r.__importDefault(i(8));t.default=s.default.extend({name:"converted-user",props:{},mixins:[n.default],filters:{sitetext:a.siteTextFilter},computed:{},methods:{linkForCreateNewPassword(){return this.$store.state.configuration.baseUrl+"ForgotPassword"},baseUrl(){return this.$store.state.configuration.baseUrl},instructions(){const e=this.$store.state.configuration.bankName;return this.getSiteText("ConvertedUser.Text",e)}},components:{IsotopeSlide:o.default}})},function(e,t,i){"use strict";i.r(t);var r=i(65),s=i.n(r);for(var n in r)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return r[e]}))}(n);t.default=s.a},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=i(1),s=r.__importDefault(i(2)),n=r.__importDefault(i(3)),a=i(4),o=i(5),l=r.__importDefault(i(12)),h=r.__importDefault(i(11)),u=r.__importDefault(i(10)),c=i(6);t.default=s.default.extend({name:"create-user",data:()=>({password:"",confirmPassword:"",invalidPassword:!1,passwordMismatch:!1,submitting:!1}),computed:{baseUrl(){return this.$store.state.configuration.baseUrl},isMobile(){return this.$store.getters.isMobile},buttonDisabled(){return 0===this.password.length||0===this.confirmPassword.length||this.submitting||this.invalidPassword||this.passwordMismatch},confirmPasswordErrorMessage(){return this.confirmPassword.length>0&&this.passwordMismatch?[this.getSiteText("Registration.CreateUser.PasswordDoesNotMatch")]:[]},showConfirmPasswordMessage(){return this.confirmPassword.length>0&&!this.passwordMismatch},passwordRegex(){return this.$store.state.currentChallenge.PasswordRegex},passwordStrengthEnabled(){return this.$store.state.currentChallenge.PasswordStrengthEnabled},passwordStrengthMinLength(){return this.$store.state.currentChallenge.PasswordStrengthMinLength},passwordMediumStrengthRegex(){return this.$store.state.currentChallenge.PasswordMediumStrengthRegex},passwordStrongStrengthRegex(){return this.$store.state.currentChallenge.PasswordStrongStrengthRegex},isLoading(){return this.submitting||this.$store.getters.isSyncing||this.$store.getters.isSubmittingAuthenticatedModel}},mixins:[n.default],filters:{sitetext:a.siteTextFilter},methods:{passwordStrengths(){return{weak:this.getSiteText("Registration.CreateUser.PasswordStrength.Weak"),fair:this.getSiteText("Registration.CreateUser.PasswordStrength.Fair"),strong:this.getSiteText("Registration.CreateUser.PasswordStrength.Strong")}},checkPasswordValid(e){const t=new RegExp(this.passwordRegex);this.invalidPassword=!t.test(e);let i=this.$store.getters.username;return this.password.includes(i)?this.getSiteText("Registration.CreateUser.PasswordIncludesUsername"):this.invalidPassword?this.getSiteText("Registration.CreateUser.PasswordDoesNotMeetRequirements"):void 0},checkPasswordStrength(){if(!this.passwordStrengthEnabled||this.password.length<this.passwordStrengthMinLength)return"none";if(new RegExp(this.passwordStrongStrengthRegex).test(this.password))return"strong";return new RegExp(this.passwordMediumStrengthRegex).test(this.password)?"fair":"weak"},checkPasswordMatches(){this.passwordMismatch=this.password!==this.confirmPassword},async submitForm(){if(this.submitting)return;this.submitting=!0;const e=c.telemetry.custom({workflowName:c.workflowName.retail_registration,stepType:c.stepType.progression,stepName:c.stepName.create_password,action:c.userAction.create_password_clicked});this.$store.commit("challengeStatus",o.ChallengeStatus.Unknown);const t={...this.$store.state.currentChallenge,Password:this.password},i=this.$store.dispatch("submitChallenge",t);await Promise.all([e,i]),this.submitting=!1}},components:{SlideHeaderWithNav:h.default,ContainerSlide:u.default,IsotopeHeader:l.default}})},function(e,t,i){"use strict";i.r(t);var r=i(67),s=i.n(r);for(var n in r)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return r[e]}))}(n);t.default=s.a},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=i(1),s=r.__importDefault(i(2)),n=r.__importDefault(i(3)),a=i(4),o=i(5),l=i(9),h=r.__importDefault(i(11)),u=r.__importDefault(i(10)),c=r.__importDefault(i(12)),d=i(6);t.default=s.default.extend({name:"create-username",data:()=>({inputValue:"",submitting:!1,username:"",errors:[]}),computed:{baseUrl(){return this.$store.state.configuration.baseUrl},isMobile(){return this.$store.getters.isMobile},getSubheading(){return this.getSiteText("Registration.CreateUsername.SubHeading",this.usernameMinLength,this.usernameMaxLength)},buttonDisabled(){return this.submitting||!this.isValidUsername},suggestedUsernames(){var e;return(null===(e=this.$store.state.currentChallenge.SuggestedUsernames)||void 0===e?void 0:e.length)>0?this.$store.state.currentChallenge.SuggestedUsernames:[]},showSuggestedUsernames(){return this.suggestedUsernames.length>0},hasExceededTries(){return this.$store.state.currentChallenge.HasExceededTries},usernameSuggestionHeading(){return!0===this.hasExceededTries?this.getSiteText("Registration.CreateUsername.Suggestions.Exceeded"):this.getSiteText("Registration.CreateUsername.Suggestions")},usernameRegex(){return new RegExp(this.$store.state.currentChallenge.UsernameRegex)},usernameMinLength(){return this.$store.state.currentChallenge.UsernameMinLength},usernameMaxLength(){return this.$store.state.currentChallenge.UsernameMaxLength},isValidUsername(){return this.username.length>=this.usernameMinLength&&this.username.length<=this.usernameMaxLength&&this.usernameRegex.test(this.username)&&0===this.errors.length},elementIds:()=>l.ElementIds},mixins:[n.default],filters:{sitetext:a.siteTextFilter},methods:{validateBlur(e){const t=e.target.value;this.validateUsername(t)},validateUsername(e){if(!this.hasExceededTries)if(this.username="",0!==e.length)if(e.length<this.usernameMinLength||e.length>this.usernameMaxLength)this.errors=[this.getSiteText("Registration.CreateUsername.Input.InvalidLength",this.usernameMinLength,this.usernameMaxLength)];else{if(this.usernameRegex.test(e))return this.username=e,this.errors=[],!0;this.errors=[this.getSiteText("Registration.CreateUsername.Input.Invalid")]}else this.errors=[this.getSiteText("Registration.CreateUsername.Input.Required")]},chooseUsername(e){this.username=e,this.inputValue=e,this.errors=[]},async submitForm(){if(this.submitting)return;this.submitting=!0;const e=this.hasExceededTries;this.$store.commit("challengeStatus",o.ChallengeStatus.Unknown),this.$store.commit("setUserName",this.username);const t={...this.$store.state.currentChallenge,Username:this.username};await this.$store.dispatch("submitChallenge",t),this.submitting=!1,d.telemetry.custom({workflowName:d.workflowName.retail_registration,stepType:d.stepType.progression,stepName:d.stepName.create_username,action:d.userAction.create_username_clicked,eventProperties:{isAvailable:!1!==this.$store.state.currentChallenge.IsAvailable,usernameType:!0===e?"generated":"custom"}}),!1===this.$store.state.currentChallenge.IsAvailable&&(this.errors=[this.getSiteText("Registration.CreateUsername.Input.Unavailable")])}},components:{SlideHeaderWithNav:h.default,ContainerSlide:u.default,IsotopeHeader:c.default}})},function(e,t,i){"use strict";i.r(t);var r=i(69),s=i.n(r);for(var n in r)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return r[e]}))}(n);t.default=s.a},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=i(1).__importDefault(i(2));t.default=r.default.extend({name:"empty",props:{},computed:{},methods:{},components:{}})},function(e,t,i){"use strict";i.r(t);var r=i(71),s=i.n(r);for(var n in r)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return r[e]}))}(n);t.default=s.a},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=i(1).__importDefault(i(2));t.default=r.default.extend({name:"forgot-password",props:{},computed:{},methods:{},components:{}})},function(e,t,i){"use strict";i.r(t);var r=i(73),s=i.n(r);for(var n in r)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return r[e]}))}(n);t.default=s.a},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=i(1),s=r.__importDefault(i(2)),n=r.__importDefault(i(153));t.default=s.default.extend({name:"forgot-password-choose-scenario",components:{ChooseScenario:n.default}})},function(e,t,i){"use strict";i.r(t);var r=i(75),s=i.n(r);for(var n in r)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return r[e]}))}(n);t.default=s.a},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=i(1),s=r.__importDefault(i(2)),n=r.__importDefault(i(17));t.default=s.default.extend({name:"forgot-password-confirm-identity",components:{ConfirmIdentity:n.default}})},function(e,t,i){"use strict";i.r(t);var r=i(77),s=i.n(r);for(var n in r)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return r[e]}))}(n);t.default=s.a},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=i(1),s=r.__importDefault(i(2)),n=i(5),a=r.__importDefault(i(3)),o=i(4),l=r.__importDefault(i(11)),h=r.__importDefault(i(10)),u=r.__importDefault(i(242)),c=i(9);t.default=s.default.extend({name:"forgot-password-disclosure",data:()=>({disclosureAccepted:!1}),computed:{currentChallenge(){return this.$store.state.currentChallenge},canContinue(){return!this.disclosureAccepted},disclosureContent(){return this.$store.state.currentChallenge.DisclosureContent||""},disclosureID(){return this.$store.state.currentChallenge.DisclosureId||""},doesDisclosureExists(){return""!==this.disclosureContent},isMobile(){return this.$store.getters.isMobile},submitting(){return this.$store.getters.isSubmittingChallenge},hasError(){return this.$store.state.challengeStatus!==n.ChallengeStatus.Success&&this.$store.state.challengeStatus!==n.ChallengeStatus.Unknown},elementIds:()=>c.ElementIds},mixins:[a.default],filters:{sitetext:o.siteTextFilter},methods:{baseUrl(){return this.$store.state.configuration.baseUrl},async submitForm(){if(this.submitting||!this.disclosureAccepted)return;const e={...this.currentChallenge,DisclosureID:this.disclosureID,Accepted:this.disclosureAccepted};this.$store.commit("challengeStatus",n.ChallengeStatus.Unknown),await this.$store.dispatch("submitChallenge",e)},toggleAccepted(){this.disclosureAccepted=!this.disclosureAccepted}},mounted(){this.$refs.heading.focus()},components:{SlideHeaderWithNav:l.default,ContainerSlide:h.default,Disclosure:u.default}})},function(e,t,i){"use strict";i.r(t);var r=i(79),s=i.n(r);for(var n in r)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return r[e]}))}(n);t.default=s.a},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=i(1),s=r.__importDefault(i(2)),n=r.__importDefault(i(3)),a=i(9),o=i(6);t.default=s.default.extend({name:"disclosure",props:{content:{type:String,required:!0},checkboxLabel:{type:String,required:!0},printLinkText:{type:String,required:!0}},computed:{elementIds:()=>a.ElementIds,isMobile(){return this.$store.getters.isMobile},disclosurePrintLink(){return"/Content/Disclosures/Print?name="+this.$store.state.currentChallenge.DisclosureName}},data:()=>({disclosureAccepted:!1,nearestQuarter:-1}),mixins:[n.default],methods:{toggleAccepted(e){this.disclosureAccepted=e,this.$emit("toggleDisclosureAccepted",e);const t=(0,o.getWorkflowName)(this.$store.getters.workflow);t!==o.workflowName.unknown&&o.telemetry.custom({workflowName:t,stepType:o.stepType.progression,stepName:o.stepName.disclosure,action:o.userAction.agree_clicked,eventProperties:{value:e}})},printClicked(){const e=(0,o.getWorkflowName)(this.$store.getters.workflow);e!==o.workflowName.unknown&&o.telemetry.custom({workflowName:e,stepType:o.stepType.progression,stepName:o.stepName.disclosure,action:o.userAction.print_pdf_clicked})},scrollDisclosure(e){const t=(0,o.getWorkflowName)(this.$store.getters.workflow);if(t!==o.workflowName.unknown){const i=e.target,r=i.scrollTop/(i.scrollHeight-i.clientHeight),s=Math.round(Math.round(4*r)/4*100);s>this.nearestQuarter&&(this.nearestQuarter=s,o.telemetry.custom({workflowName:t,stepType:o.stepType.progression,stepName:o.stepName.disclosure,action:o.userAction.disclosure_scroll,eventProperties:{position:s+"%"}}))}}}})},function(e,t,i){"use strict";i.r(t);var r=i(81),s=i.n(r);for(var n in r)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return r[e]}))}(n);t.default=s.a},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=i(1).__importDefault(i(2));t.default=r.default.extend({name:"forgot-username",props:{},computed:{},methods:{},components:{}})},function(e,t,i){"use strict";i.r(t);var r=i(83),s=i.n(r);for(var n in r)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return r[e]}))}(n);t.default=s.a},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=i(1),s=r.__importDefault(i(2)),n=r.__importDefault(i(153)),a=i(9);t.default=s.default.extend({name:"forgot-username-choose-scenario",components:{ChooseScenario:n.default},computed:{elementIds:()=>a.ElementIds}})},function(e,t,i){"use strict";i.r(t);var r=i(85),s=i.n(r);for(var n in r)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return r[e]}))}(n);t.default=s.a},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=i(1),s=r.__importDefault(i(2)),n=r.__importDefault(i(17));t.default=s.default.extend({name:"forgot-username-confirm-identity",components:{ConfirmIdentity:n.default}})},function(e,t,i){"use strict";i.r(t);var r=i(178),s=i(87);for(var n in s)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return s[e]}))}(n);i(316);var a=i(0),o=Object(a.a)(s.default,r.a,r.b,!1,null,"6413f83e",null);t.default=o.exports},function(e,t,i){"use strict";i.r(t);var r=i(88),s=i.n(r);for(var n in r)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return r[e]}))}(n);t.default=s.a},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=i(1),s=r.__importDefault(i(2)),n=r.__importDefault(i(8)),a=i(5),o=r.__importDefault(i(3)),l=i(4),h=i(7),u=i(13),c=r.__importDefault(i(14));t.default=s.default.extend({name:"one-time-code",data:()=>({oneTimeCode:"",resendingCode:!1,navigatingBack:!1,canResendCode:!0,clearError:!1}),props:{},computed:{hasError(){return!this.$data.clearError&&this.$store.state.challengeStatus!==a.ChallengeStatus.Success&&this.$store.state.challengeStatus!==a.ChallengeStatus.Unknown},errorText(){return this.getSiteText("ChallengeStatus."+this.$store.state.challengeStatus)},currentChallenge(){return this.$store.state.currentChallenge},codeSentText(){const e=this.$store.state.currentChallenge;let t="";if(e.AuthenticationFactorValue===u.AuthenticationFactor.EmailCode)t=this.getSiteText("CodeStepup.Verify.Email.CodeSent",[e.Destination.MaskedAddress.toLowerCase()]);else if(e.AuthenticationFactorValue===u.AuthenticationFactor.SmsCode||e.AuthenticationFactorValue===u.AuthenticationFactor.VoiceCode){const i=e.Destination.MaskedAddress.slice(-3);t=this.getSiteText("CodeStepup.Verify.Phone.CodeSent",[i])}else e.AuthenticationFactorValue===u.AuthenticationFactor.Unknown&&"Manual"===e.Destination.MaskedAddress&&(t=this.getSiteText("CodeStepup.Verify.ManualMfa.CodeSent"));return t},resendButtonText(){return this.isManualMfa?"":this.canResendCode?this.getSiteText("CodeStepup.Verify.ResendCode"):this.getSiteText("CodeStepup.Verify.CodeSent")},submitting(){return this.$store.getters.isSubmittingChallenge||this.$store.getters.isSubmittingAuthenticatedModel},isMobile(){return this.$store.getters.isMobile},codeEntryHelperText(){if(this.isManualMfa)return"";const e=this.$store.state.currentChallenge;return this.getSiteText("StepUp.OneTimeCode.DisplayInput.HelperText",[e.MinutesToLive])},isManualMfa(){const e=this.$store.state.currentChallenge;return e.AuthenticationFactorValue===u.AuthenticationFactor.Unknown&&"Manual"===e.Destination.MaskedAddress}},mounted(){this.$el.querySelector("#txt_OTP").focus()},mixins:[o.default],filters:{sitetext:l.siteTextFilter},methods:{oneTimeCodeUpdated(e){this.$data.oneTimeCode=e},onFocus(){this.$data.clearError=!0},async submitForm(){if(this.submitting)return;this.$data.clearError=!1;const e={...this.currentChallenge,ValidationKey:this.$data.oneTimeCode,RememberDevice:this.$store.getters.rememberDevice,DeviceName:this.$store.getters.deviceName};this.$store.commit("challengeStatus",a.ChallengeStatus.Unknown),await this.$store.dispatch("submitChallenge",e),this.hasError&&this.oneTimeCodeUpdated("")},async navigateBack(){this.navigatingBack||(this.navigatingBack=!0,this.oneTimeCode="",this.$store.commit("challengeStatus",a.ChallengeStatus.Unknown),await this.$store.dispatch("goToPreviousChallenge"),this.navigatingBack=!1)},async resendCode(){if(this.resendingCode)return;this.resendingCode=!0;const e={...this.currentChallenge,ChallengeTypeValue:h.ChallengeType.OneTimeCodeDestination};await this.$store.dispatch("submitChallenge",e),this.resendingCode=!1,this.oneTimeCodeUpdated(""),this.canResendCode=!1,setTimeout(()=>this.canResendCode=!0,6e4)}},components:{IsotopeSlide:n.default,SlideHeader:c.default}})},function(e,t,i){"use strict";i.r(t);var r=i(90),s=i.n(r);for(var n in r)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return r[e]}))}(n);t.default=s.a},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=i(1),s=r.__importDefault(i(2)),n=r.__importDefault(i(3)),a=i(4),o=i(5),l=i(7),h=i(13),u=i(9),c=i(6);t.default=s.default.extend({name:"one-time-code",data:()=>({resendingCode:!1,canResendCode:!0}),props:{authenticationFactor:{type:String,required:!0},oneTimeCode:{type:String,default:""}},computed:{tokenLength(){return this.authenticationFactor===h.AuthenticationFactor.Token?8:6},subHeadingText(){let e="",t=[];switch(this.authenticationFactor){case h.AuthenticationFactor.SmsCode:case h.AuthenticationFactor.VoiceCode:e="Phone",t=[this.currentChallenge.Destination.MaskedAddress];break;case h.AuthenticationFactor.EmailCode:e="Email",t=[this.currentChallenge.Destination.MaskedAddress];break;case h.AuthenticationFactor.Token:e="Token";break;case h.AuthenticationFactor.TOTP:e="TOTP";break;case h.AuthenticationFactor.Unknown:e="Unknown"}return this.getSiteText("Forgot.VerificationCode.SubHeading."+e,t)},actionText(){return this.isMobile?"":this.getSiteText("Forgot.VerificationCode.EnterCode")},hasError(){return this.$store.state.challengeStatus!==o.ChallengeStatus.Success&&this.$store.state.challengeStatus!==o.ChallengeStatus.Unknown},errorText(){return this.getSiteText("ChallengeStatus."+this.$store.state.challengeStatus)},inputHelperText(){let e="",t=[];switch(this.authenticationFactor){case h.AuthenticationFactor.SmsCode:case h.AuthenticationFactor.VoiceCode:case h.AuthenticationFactor.EmailCode:e="Expiration",t=[this.currentChallenge.MinutesToLive.toString()];break;case h.AuthenticationFactor.Token:e="Token";break;case h.AuthenticationFactor.TOTP:e="TOTP";break;case h.AuthenticationFactor.Unknown:e="Unknown"}return this.getSiteText("Forgot.VerificationCode.HelperText."+e,t)},currentChallenge(){return this.$store.state.currentChallenge},displayResendCode(){switch(this.authenticationFactor){case h.AuthenticationFactor.SmsCode:case h.AuthenticationFactor.VoiceCode:case h.AuthenticationFactor.EmailCode:return!0}return!1},resendButtonText(){return this.canResendCode?this.getSiteText("Forgot.VerificationCode.ResendCode"):this.getSiteText("Forgot.VerificationCode.CodeSent")},submitting(){return this.$store.getters.isSubmittingChallenge},isMobile(){return this.$store.getters.isMobile},authenticatedModel(){return this.$store.getters.authenticatedModel},isSyncing(){return this.$store.getters.isSyncing},elementIds:()=>u.ElementIds},mixins:[n.default],filters:{sitetext:a.siteTextFilter},methods:{oneTimeCodeUpdated(e){this.hasError&&this.$store.commit("challengeStatus",o.ChallengeStatus.Unknown),this.$emit("code-entered",{valid:e.length===this.tokenLength,code:e})},async resendCode(){if(this.resendingCode)return;const e=(0,c.getWorkflowName)(this.$store.getters.workflow);e!==c.workflowName.unknown&&c.telemetry.custom({workflowName:e,stepType:c.stepType.progression,stepName:c.stepName.verification_code,action:c.userAction.resend_code_clicked}),this.resendingCode=!0,this.$store.commit("setIsResendingOTP",this.resendingCode);const t={...this.currentChallenge,ChallengeTypeValue:l.ChallengeType.OneTimeCodeDestination};await this.$store.dispatch("submitChallenge",t),this.resendingCode=!1,this.$store.commit("setIsResendingOTP",this.resendingCode),this.oneTimeCodeUpdated(""),this.canResendCode=!1,setTimeout(()=>this.canResendCode=!0,6e4)},changeMethod(){const e=(0,c.getWorkflowName)(this.$store.getters.workflow);e!==c.workflowName.unknown&&c.telemetry.custom({workflowName:e,stepType:c.stepType.progression,stepName:c.stepName.verification_code,action:c.userAction.change_method_clicked}),this.$store.commit("challengeStatus",o.ChallengeStatus.Unknown),this.$emit("change-stepup-method")}},watch:{async isSyncing(){for(;this.$store.getters.isSyncing&&!this.authenticatedModel.username.length;){const e={...this.$store.getters.checkSyncResultChallenge};await this.$store.dispatch("submitChallenge",e),await new Promise(e=>setTimeout(e,1e3))}},authenticatedModel(e){e&&"string"==typeof e.username&&"string"==typeof e.nonce&&this.$nextTick(()=>{const e=document.querySelector("#form_authenticated");e&&(this.$store.commit("setIsSubmittingAuthenticatedModel",!0),e.submit())})}}})},function(e,t,i){"use strict";i.r(t);var r=i(92),s=i.n(r);for(var n in r)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return r[e]}))}(n);t.default=s.a},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=i(1),s=r.__importDefault(i(2)),n=r.__importDefault(i(3)),a=i(4),o=i(5),l=i(9),h=r.__importDefault(i(11)),u=r.__importDefault(i(10)),c=r.__importDefault(i(18)),d=r.__importDefault(i(12)),p=i(6);t.default=s.default.extend({name:"one-time-code-container",data:()=>({oneTimeCode:"",valid:!1,isSubmitting:!1,navigatingBack:!1}),computed:{baseUrl(){return this.$store.state.configuration.baseUrl},actionText(){return this.getSiteText("Forgot.VerificationCode.EnterCode")},hasError(){return this.$store.state.challengeStatus!==o.ChallengeStatus.Success&&this.$store.state.challengeStatus!==o.ChallengeStatus.Unknown},errorText(){return this.getSiteText("ChallengeStatus."+this.$store.state.challengeStatus)},buttonText(){var e;return null===(e=this.$options.filters)||void 0===e?void 0:e.sitetext("Forgot.VerificationCode.Verify")},buttonDisabled(){return!this.valid},submitting(){return this.$store.getters.isSubmittingChallenge},isMobile(){return this.$store.getters.isMobile},currentChallenge(){return this.$store.state.currentChallenge},scenarioType(){return this.$store.getters.isForgotUsernameWorkflow?"ForgotUsername":this.$store.getters.isForgotPasswordWorkflow?"ForgotPassword":"Registration"},isSyncing(){return this.$store.getters.isSyncing},isLoading(){return this.isSubmitting||this.isSyncing||this.$store.getters.isSubmittingAuthenticatedModel},elementIds:()=>l.ElementIds},mixins:[n.default],filters:{sitetext:a.siteTextFilter},methods:{async submitForm(){if(this.isSubmitting||!this.valid)return;let e={...this.currentChallenge,ValidationKey:this.oneTimeCode};this.$store.commit("setRemainOnStepUpScreenOnFailure",!0),this.$store.commit("challengeStatus",o.ChallengeStatus.Unknown),this.isSubmitting=!0,await this.$store.dispatch("submitChallenge",e),this.isSubmitting=!1,this.hasError&&(this.oneTimeCode="");const t=(0,p.getWorkflowName)(this.$store.getters.workflow);if(t!==p.workflowName.unknown){let e={workflowName:t,stepType:p.stepType.progression,stepName:p.stepName.verification_code,action:p.userAction.continue_clicked};this.hasError&&(e.eventProperties={error:this.$store.state.challengeStatus}),p.telemetry.custom(e)}},async changeStepupMethod(){this.navigatingBack||(this.navigatingBack=!0,this.oneTimeCode="",await this.$store.dispatch("goToPreviousChallenge"),this.navigatingBack=!1)},otpCodeEntered({valid:e,code:t}){this.valid=e,this.oneTimeCode=t}},components:{SlideHeaderWithNav:h.default,ContainerSlide:u.default,OneTimeCode:c.default,IsotopeHeader:d.default}})},function(e,t,i){"use strict";i.r(t);var r=i(94),s=i.n(r);for(var n in r)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return r[e]}))}(n);t.default=s.a},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=i(1).__importDefault(i(2));t.default=r.default.extend({name:"questions-and-answers",props:{},computed:{},methods:{},components:{}})},function(e,t,i){"use strict";i.r(t);var r=i(96),s=i.n(r);for(var n in r)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return r[e]}))}(n);t.default=s.a},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=i(1),s=r.__importDefault(i(2)),n=i(5),a=r.__importDefault(i(3)),o=i(4),l=r.__importDefault(i(11)),h=r.__importDefault(i(10)),u=r.__importDefault(i(242)),c=r.__importDefault(i(12)),d=i(6);t.default=s.default.extend({name:"registration-disclosure",props:{},data:()=>({disclosureAccepted:!1,userPdfCode:""}),computed:{currentChallenge(){return this.$store.state.currentChallenge},canContinue(){return this.disclosureAccepted&&(""!==this.userPdfCode||!this.pdfEnabled)},disclosureContent(){return this.$store.state.currentChallenge.DisclosureContent||""},disclosureID(){return this.$store.state.currentChallenge.DisclosureId||""},doesDisclosureExists(){return""!==this.disclosureContent},htmlBeforeDisclosure(){const e=this.$store.state.configuration.bankName,t=`Registration.Disclosure.HtmlBefore${this.$store.state.currentChallenge.IsBusiness?"Business":""}RegistrationDisclosure`;return this.getSiteText(t,e)},isMobile(){return this.$store.getters.isMobile},submitting(){return this.$store.getters.isSubmittingChallenge},pdfUrl(){return this.$store.state.configuration.pdfDisclosureLocation},hasError(){return this.$store.state.challengeStatus!==n.ChallengeStatus.Success&&this.$store.state.challengeStatus!==n.ChallengeStatus.Unknown},pdfCodeErrorMessages(){return this.$store.state.errors.some(e=>"BAD_CODE"===e.CustomSubCode)?[this.getSiteText("Registration.PDF.Error")]:[]},pdfEnabled(){return this.$store.state.currentChallenge.ShouldCheckPdf&&!!this.$store.state.configuration.pdfDisclosureLocation},isCypress(){return this.$store.state.isCypress}},mixins:[a.default],filters:{sitetext:o.siteTextFilter},methods:{baseUrl(){return this.$store.state.configuration.baseUrl},async submitForm(){if(this.submitting||!this.disclosureAccepted)return;const e={...this.currentChallenge,DisclosureID:this.disclosureID,Accepted:this.disclosureAccepted,UserSubmittedPdfCode:this.userPdfCode};d.telemetry.custom({workflowName:d.workflowName.retail_registration,stepType:d.stepType.progression,stepName:d.stepName.disclosure,action:d.userAction.continue_clicked}),this.$store.commit("challengeStatus",n.ChallengeStatus.Unknown),await this.$store.dispatch("submitChallenge",e)},toggleAccepted(e){this.disclosureAccepted=e},handleTextfieldFocus(e){if(this.isMobile){const t=window.screenY||window.pageYOffset,i=e.target.getBoundingClientRect().top;window.scrollTo({top:t+i,behavior:"smooth"})}},PDFOpen(){d.telemetry.custom({workflowName:d.workflowName.retail_registration,stepType:d.stepType.progression,stepName:d.stepName.disclosure,action:d.userAction.open_pdf_clicked}),this.isCypress||window.open(this.pdfUrl,"_blank")}},components:{SlideHeaderWithNav:l.default,ContainerSlide:h.default,Disclosure:u.default,IsotopeHeader:c.default}})},function(e,t,i){"use strict";i.r(t);var r=i(98),s=i.n(r);for(var n in r)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return r[e]}))}(n);t.default=s.a},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=i(1).__importDefault(i(2));t.default=r.default.extend({name:"reset-password",props:{},computed:{},methods:{},components:{}})},function(e,t,i){"use strict";i.r(t);var r=i(100),s=i.n(r);for(var n in r)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return r[e]}))}(n);t.default=s.a},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=i(1).__importDefault(i(2));t.default=r.default.extend({name:"start-forget-password",props:{},computed:{},methods:{},components:{}})},function(e,t,i){"use strict";i.r(t);var r=i(102),s=i.n(r);for(var n in r)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return r[e]}))}(n);t.default=s.a},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=i(1).__importDefault(i(2));t.default=r.default.extend({name:"start-forgot-username",props:{},computed:{},methods:{},components:{}})},function(e,t,i){"use strict";i.r(t);var r=i(104),s=i.n(r);for(var n in r)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return r[e]}))}(n);t.default=s.a},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=i(1).__importDefault(i(2));t.default=r.default.extend({name:"start-registration",props:{},computed:{},methods:{},components:{}})},function(e,t,i){"use strict";i.r(t);var r=i(106),s=i.n(r);for(var n in r)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return r[e]}))}(n);t.default=s.a},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=i(1),s=r.__importDefault(i(2)),n=i(13),a=r.__importDefault(i(19)),o=r.__importDefault(i(8)),l=r.__importDefault(i(3)),h=i(4),u=r.__importDefault(i(14));t.default=s.default.extend({name:"step-up",props:{},data:()=>({selectedStepUpCategoryId:null}),mixins:[l.default],filters:{sitetext:h.siteTextFilter},computed:{stepUpCategories(){return(this.$store.state.currentChallenge.StepUpCategories||[]).filter(e=>"Unknown"!==e.StepUpModel.AuthenticationFactorValue)},selectedStepUpCategory:{get(){const e=this.selectedStepUpCategoryId;return this.stepUpCategories.find(t=>t.$id===e)||this.stepUpCategories[0]},set(e){this.selectedStepUpCategoryId=e.$id}},authenticationFactorMetaData(){const e=e=>{switch(e){case n.AuthenticationFactor.SmsCode:return{icon:"mobile-sms",label:this.getSiteText("Stepup.Icon.Label.SMS")};case n.AuthenticationFactor.EmailCode:return{icon:"email-alt",label:this.getSiteText("Stepup.Icon.Label.EmailCode")};case n.AuthenticationFactor.VoiceCode:return{icon:"receive-call",label:this.getSiteText("Stepup.Icon.Label.VoiceCode")};case n.AuthenticationFactor.TOTP:return{icon:"phone2",label:this.getSiteText("Stepup.Icon.Label.TOTP")};case n.AuthenticationFactor.Token:return{icon:"lock",label:this.getSiteText("Stepup.Icon.Label.Token")};default:return{icon:"cut-out",label:this.getSiteText("Stepup.Icon.Label.Unknown")}}},t={};return this.stepUpCategories.forEach(i=>{t[i.StepUpModel.AuthenticationFactorValue]=e(i.StepUpModel.AuthenticationFactorValue)}),t},manualMfaEnabled(){const e=(this.$store.state.currentChallenge.StepUpCategories||[]).find(e=>"Unknown"===e.StepUpModel.AuthenticationFactorValue);return void 0!==(null==e?void 0:e.StepUpModel.Destinations.find(e=>"Manual"===e.MaskedAddress))}},methods:{categoryChanged(e){this.selectedStepUpCategory=e,this.$store.commit("setRememberDevice",!1),this.$store.commit("setDeviceName","")},async submitManualMfa(){if(this.manualMfaEnabled){const e=(this.$store.state.currentChallenge.StepUpCategories||[]).find(e=>"Unknown"===e.StepUpModel.AuthenticationFactorValue),t={...null==e?void 0:e.NextChallenge,Destination:{...null==e?void 0:e.StepUpModel.Destinations.find(e=>"Manual"===e.MaskedAddress)}};await this.$store.dispatch("submitChallenge",{...t,Destination:{...null==e?void 0:e.StepUpModel.Destinations.find(e=>"Manual"===e.MaskedAddress)}})}}},mounted(){this.selectedStepUpCategory=this.stepUpCategories[0]},components:{IsotopeSlide:o.default,...a.default,SlideHeader:u.default}})},function(e,t,i){"use strict";i.r(t);var r=i(108),s=i.n(r);for(var n in r)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return r[e]}))}(n);t.default=s.a},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=i(1),s=r.__importDefault(i(2)),n=r.__importDefault(i(8));t.default=s.default.extend({name:"biometric",props:{},computed:{},methods:{},components:{IsotopeSlide:n.default}})},function(e,t,i){"use strict";i.r(t);var r=i(110),s=i.n(r);for(var n in r)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return r[e]}))}(n);t.default=s.a},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=i(1),s=r.__importDefault(i(2)),n=r.__importDefault(i(154));t.default=s.default.extend({name:"email-code",props:{stepUpCategory:{type:Object,required:!0}},computed:{},methods:{},components:{CodeStepup:n.default}})},function(e,t,i){"use strict";i.r(t);var r=i(112),s=i.n(r);for(var n in r)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return r[e]}))}(n);t.default=s.a},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=i(1),s=r.__importDefault(i(2)),n=r.__importDefault(i(8)),a=r.__importDefault(i(256)),o=r.__importDefault(i(3)),l=i(4),h=r.__importDefault(i(14));t.default=s.default.extend({name:"code-stepup",props:{stepUpCategory:{type:Object,required:!0}},data:()=>({selectedDestinationId:null,navigatingBack:!1,header:"",subtitle:"",isSubmitting:!1}),mixins:[o.default],filters:{sitetext:l.siteTextFilter},computed:{destinations(){return this.stepUpCategory.StepUpModel.Destinations},selectedDestination:{get(){const e=this.selectedDestinationId;return this.destinations.find(t=>t.$id===e)||this.destinations[0]},set(e){this.selectedDestinationId=e.$id}},isMobile(){return this.$store.getters.isMobile},hasServerError(){return this.$store.state.errors.length>0},ariaDescriptionId(){return"destinationDescription"+this.stepUpCategory.StepUpModel.AuthenticationFactorValue}},methods:{async sendCode(){this.isSubmitting||(this.isSubmitting=!0,await this.$store.dispatch("submitChallenge",{...this.stepUpCategory.NextChallenge,Destination:{...this.selectedDestination}}),this.isSubmitting=!1)},async navigateBack(){this.navigatingBack||(this.navigatingBack=!0,this.selectedDestinationId=null,await this.$store.dispatch("goToPreviousChallenge"),this.navigatingBack=!1)},changeDestinationSelection(e){this.selectedDestinationId=e}},mounted(){this.destinations.length>0&&(this.selectedDestination=this.destinations[0])},components:{IsotopeSlide:n.default,RememberDevice:a.default,SlideHeader:h.default}})},function(e,t,i){"use strict";i.r(t);var r=i(114),s=i.n(r);for(var n in r)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return r[e]}))}(n);t.default=s.a},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=i(1),s=r.__importDefault(i(2)),n=r.__importDefault(i(3)),a=i(4),o=i(5);t.default=s.default.extend({name:"remember-device",mixins:[n.default],filters:{sitetext:a.siteTextFilter},methods:{toggleRememberStatus(){this.rememberDevice=!this.rememberDevice}},computed:{hasError(){return this.$store.getters.challengeStatus===o.ChallengeStatus.DeviceNameAlreadyExists},errorText(){return this.$store.getters.challengeStatus===o.ChallengeStatus.DeviceNameAlreadyExists?this.getSiteText("RDM.DeviceAlreadyExists"):""},canRememberDevice(){return this.$store.getters.canRememberDevice},rememberDevice:{get(){return this.$store.getters.rememberDevice},set(e){this.$store.commit("setRememberDevice",e)}},deviceName:{get(){return this.$store.getters.deviceName},set(e){this.$store.commit("setDeviceName",e)}},showMandatory2faMessage(){return!this.$store.getters.canRememberDevice&&this.$store.getters.isStepUpMandatory}}})},function(e,t,i){"use strict";i.r(t);var r=i(116),s=i.n(r);for(var n in r)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return r[e]}))}(n);t.default=s.a},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=i(1),s=r.__importDefault(i(2)),n=r.__importDefault(i(8));t.default=s.default.extend({name:"push-notification",props:{},computed:{},methods:{},components:{IsotopeSlide:n.default}})},function(e,t,i){"use strict";i.r(t);var r=i(118),s=i.n(r);for(var n in r)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return r[e]}))}(n);t.default=s.a},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=i(1),s=r.__importDefault(i(2)),n=r.__importDefault(i(8));t.default=s.default.extend({name:"questions-and-answers",props:{},computed:{},methods:{},components:{IsotopeSlide:n.default}})},function(e,t,i){"use strict";i.r(t);var r=i(120),s=i.n(r);for(var n in r)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return r[e]}))}(n);t.default=s.a},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=i(1),s=r.__importDefault(i(2)),n=r.__importDefault(i(154));t.default=s.default.extend({name:"sms-code",props:{stepUpCategory:{type:Object,required:!0}},computed:{},methods:{},components:{CodeStepup:n.default}})},function(e,t,i){"use strict";i.r(t);var r=i(122),s=i.n(r);for(var n in r)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return r[e]}))}(n);t.default=s.a},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=i(1),s=r.__importDefault(i(2)),n=r.__importDefault(i(3)),a=i(4),o=i(13),l=i(9);t.default=s.default.extend({name:"step-up-option",props:{stepUpCategory:{type:Object,required:!0},isSelectedCategory:{type:Boolean,required:!0,default:!1}},data:()=>({internalSelectedDestination:null}),mixins:[n.default],filters:{sitetext:a.siteTextFilter},computed:{stepUpType(){return this.stepUpCategory.StepUpModel.AuthenticationFactorValue},showDropdown(){var e;return this.isSelectedCategory&&(null===(e=this.stepUpCategory.StepUpModel.Destinations)||void 0===e?void 0:e.length)>0},getStrings(){return{label:this.getText("Dropdown.Label")}},getItems(){let e=[];return this.stepUpCategory.StepUpModel.Destinations.forEach(t=>{e.push({label:t.MaskedAddress,value:t.$id})}),e},selectedDestination:{get(){var e;const t=null===(e=this.internalSelectedDestination)||void 0===e?void 0:e.$id;if(!t)return[];const i=this.stepUpCategory.StepUpModel.Destinations.find(e=>e.$id===t);return i?[i.$id]:[]},set(e){const t=this.stepUpCategory.StepUpModel.Destinations.find(t=>t.$id===e[0]);this.internalSelectedDestination=t||null,this.$emit("stepup-destination-selected",this.internalSelectedDestination)}},elementIds:()=>l.ElementIds},methods:{buttonChanged(){this.$emit("stepup-option-selected",this.stepUpCategory),this.$emit("stepup-destination-selected",this.internalSelectedDestination)},getText(e){let t="";switch(this.stepUpCategory.StepUpModel.AuthenticationFactorValue){case o.AuthenticationFactor.SmsCode:t="SMS";break;case o.AuthenticationFactor.EmailCode:t="Email";break;case o.AuthenticationFactor.VoiceCode:t="VoiceCall";break;case o.AuthenticationFactor.Token:t="Token";break;case o.AuthenticationFactor.TOTP:t="TOTP"}return this.getSiteText(`Forgot.${t}.${e}`)}},mounted(){var e;(null===(e=this.stepUpCategory.StepUpModel.Destinations)||void 0===e?void 0:e.length)>0&&(this.internalSelectedDestination=this.stepUpCategory.StepUpModel.Destinations[0])}})},function(e,t,i){"use strict";i.r(t);var r=i(124),s=i.n(r);for(var n in r)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return r[e]}))}(n);t.default=s.a},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=i(1),s=r.__importDefault(i(2)),n=r.__importDefault(i(261));t.default=s.default.extend({name:"totp",props:{stepUpCategory:{type:Object,required:!0}},computed:{},methods:{},components:{TokenStepup:n.default}})},function(e,t,i){"use strict";i.r(t);var r=i(126),s=i.n(r);for(var n in r)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return r[e]}))}(n);t.default=s.a},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=i(1),s=r.__importDefault(i(2)),n=r.__importDefault(i(8)),a=r.__importDefault(i(256)),o=r.__importDefault(i(3)),l=i(13),h=i(5),u=i(7),c=i(4),d=r.__importDefault(i(14));t.default=s.default.extend({name:"token-stepup",props:{stepUpCategory:{type:Object,required:!0},tokenLength:{type:Number,required:!0}},data:()=>({tokenCode:"",isNavigatingBack:!1,header:"",subtitle:"",clearError:!1}),mixins:[o.default],filters:{sitetext:c.siteTextFilter},computed:{hasError(){return!this.$data.clearError&&this.$store.state.challengeStatus!==h.ChallengeStatus.Success&&this.$store.state.challengeStatus!==h.ChallengeStatus.Unknown},errorText(){return this.getSiteText("ChallengeStatus."+this.$store.state.challengeStatus)},currentChallenge(){return this.$store.state.currentChallenge},inputHelperText(){const e=this.stepUpCategory.StepUpModel.AuthenticationFactorValue;let t="";return e===l.AuthenticationFactor.TOTP?t=this.getSiteText("StepUp.TOTP.DisplayInput.HelperText"):e===l.AuthenticationFactor.Token&&(t=this.getSiteText("StepUp.Token.DisplayInput.HelperText")),t},isTOTP(){return this.stepUpCategory.StepUpModel.AuthenticationFactorValue===l.AuthenticationFactor.TOTP},submitting(){return this.$store.getters.isSubmittingChallenge},isMobile(){return this.$store.getters.isMobile},elementId(){return this.isTOTP?"txt_TOTP":"txt_Token"},hasServerError(){return this.$store.state.errors.length>0}},methods:{tokenCodeUpdated(e){this.$data.tokenCode=e},onFocus(){this.$data.clearError=!0},async navigateBack(){this.isNavigatingBack||(this.isNavigatingBack=!0,await this.$store.dispatch("goToPreviousChallenge"),this.isNavigatingBack=!1)},async verifyCode(){if(this.submitting)return;this.$data.clearError=!1;const e={...this.currentChallenge,ValidationKey:this.$data.tokenCode,AuthenticationFactorValue:this.isTOTP?l.AuthenticationFactor.TOTP:l.AuthenticationFactor.Token,RememberDevice:this.$store.getters.rememberDevice,DeviceName:this.$store.getters.deviceName};e.ProviderId=this.stepUpCategory.NextChallenge.ProviderId,e.ChallengeTypeValue=u.ChallengeType.OneTimeCode,this.$store.commit("setRemainOnStepUpScreenOnFailure",!0),this.$store.commit("challengeStatus",h.ChallengeStatus.Unknown),await this.$store.dispatch("submitChallenge",e),this.hasError&&this.tokenCodeUpdated("")}},components:{IsotopeSlide:n.default,RememberDevice:a.default,SlideHeader:d.default}})},function(e,t,i){"use strict";i.r(t);var r=i(128),s=i.n(r);for(var n in r)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return r[e]}))}(n);t.default=s.a},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=i(1),s=r.__importDefault(i(2)),n=r.__importDefault(i(261));t.default=s.default.extend({name:"token",props:{stepUpCategory:{type:Object,required:!0}},computed:{},methods:{},components:{TokenStepup:n.default}})},function(e,t,i){"use strict";i.r(t);var r=i(130),s=i.n(r);for(var n in r)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return r[e]}))}(n);t.default=s.a},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=i(1),s=r.__importDefault(i(2)),n=r.__importDefault(i(8));t.default=s.default.extend({name:"unknown-stepup",props:{},computed:{},methods:{},components:{IsotopeSlide:n.default}})},function(e,t,i){"use strict";i.r(t);var r=i(132),s=i.n(r);for(var n in r)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return r[e]}))}(n);t.default=s.a},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=i(1),s=r.__importDefault(i(2)),n=r.__importDefault(i(154));t.default=s.default.extend({name:"voice-code",props:{stepUpCategory:{type:Object,required:!0}},computed:{},methods:{},components:{CodeStepup:n.default}})},function(e,t,i){"use strict";i.r(t);var r=i(134),s=i.n(r);for(var n in r)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return r[e]}))}(n);t.default=s.a},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=i(1),s=r.__importDefault(i(2)),n=r.__importDefault(i(8));t.default=s.default.extend({name:"voice-prompt",props:{},computed:{},methods:{},components:{IsotopeSlide:n.default}})},function(e,t,i){"use strict";i.r(t);var r=i(136),s=i.n(r);for(var n in r)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return r[e]}))}(n);t.default=s.a},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=i(1),s=r.__importDefault(i(2)),n=r.__importDefault(i(8));t.default=s.default.extend({name:"web-authn",props:{},computed:{},methods:{},components:{IsotopeSlide:n.default}})},function(e,t,i){"use strict";i.r(t);var r=i(138),s=i.n(r);for(var n in r)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return r[e]}))}(n);t.default=s.a},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=i(1),s=r.__importDefault(i(2)),n=r.__importDefault(i(3)),a=i(4),o=i(7),l=i(13),h=i(5),u=i(9),c=r.__importDefault(i(11)),d=r.__importDefault(i(10)),p=r.__importDefault(i(18)),f=r.__importDefault(i(12)),m=r.__importDefault(i(155)),g=i(6);t.default=s.default.extend({name:"step-up",props:{},data:()=>({selectedCategory:null,selectedDestination:null,isSubmitting:!1,tokenTOTP:{show:!1,valid:!1,code:""}}),mixins:[n.default],filters:{sitetext:a.siteTextFilter},computed:{stepUpChallenge(){return this.$store.state.currentChallenge},scenarioType(){return this.$store.getters.isForgotUsernameWorkflow?"ForgotUsername":this.$store.getters.isForgotPasswordWorkflow?"ForgotPassword":"Registration"},headerText(){return this.tokenTOTP.show?this.scenarioType+".VerificationCode.Heading":this.scenarioType+".StepUp.Heading"},stepUpCategories(){return(this.stepUpChallenge.StepUpCategories||[]).filter(e=>"Unknown"!==e.StepUpModel.AuthenticationFactorValue)},isMobile(){return this.$store.getters.isMobile},buttonDisabled(){if(this.isSubmitting||!this.selectedCategory)return!0;if(this.tokenTOTP.show)return!this.tokenTOTP.valid;switch(this.selectedCategory.StepUpModel.AuthenticationFactorValue){case l.AuthenticationFactor.Token:case l.AuthenticationFactor.TOTP:return!1}return null===this.selectedDestination},buttonText(){var e,t;return this.tokenTOTP.show?null===(t=this.$options.filters)||void 0===t?void 0:t.sitetext("Forgot.VerificationCode.Verify"):null===(e=this.$options.filters)||void 0===e?void 0:e.sitetext("ForgotWorkflow.ActionButtonText")},hasError(){return this.$store.state.challengeStatus!==h.ChallengeStatus.Success&&this.$store.state.challengeStatus!==h.ChallengeStatus.Unknown},isSyncing(){return this.$store.getters.isSyncing},isRedirecting(){const e=this.$store.getters.authenticatedModel;return!(!e||0===e.username.length||0===e.nonce.length)},isLoading(){return this.isSubmitting||this.isSyncing||this.isRedirecting},elementIds:()=>u.ElementIds,buttonID(){return this.tokenTOTP.show?this.elementIds.OTPVerify:this.elementIds.StepUpContinue},showManualGeneratedMFA(){const e=(this.$store.state.currentChallenge.StepUpCategories||[]).find(e=>"Unknown"===e.StepUpModel.AuthenticationFactorValue);return void 0!==(null==e?void 0:e.StepUpModel.Destinations.find(e=>"Manual"===e.MaskedAddress))}},methods:{baseUrl(){return this.$store.state.configuration.baseUrl},isSelectedCategory(e){return!(!this.selectedCategory||this.selectedCategory.$id!==e)},stepupCategorySelected(e){this.selectedCategory=e;const t=(0,g.getWorkflowName)(this.$store.getters.workflow);if(t!==g.workflowName.unknown){const i=e.StepUpModel.AuthenticationFactorValue.toLowerCase().replace("code","");g.telemetry.custom({workflowName:t,stepType:g.stepType.progression,stepName:g.stepName.verify_your_identity,action:g.userAction.verification_type_chosen,eventProperties:{verificationType:i}})}},stepupDestinationSelected(e){this.selectedDestination=e},async submitForm(){if(this.isSubmitting||!this.selectedCategory)return;const e=(0,g.getWorkflowName)(this.$store.getters.workflow);let t;switch(e!==g.workflowName.unknown&&g.telemetry.custom({workflowName:e,stepType:g.stepType.progression,stepName:g.stepName.verify_your_identity,action:g.userAction.continue_clicked}),this.selectedCategory.StepUpModel.AuthenticationFactorValue){case l.AuthenticationFactor.Token:case l.AuthenticationFactor.TOTP:if(!this.tokenTOTP.show){if(this.$store.getters.currentWorkflowMaxSteps>0&&this.$store.getters.currentWorkflowStep<this.$store.getters.currentWorkflowMaxSteps){const e=this.$store.getters.currentWorkflowStep;this.$store.commit("setCurrentWorkflowStep",e+1)}return this.tokenTOTP.show=!0,void this.$refs.heading.focus()}t={...this.stepUpChallenge,ValidationKey:this.tokenTOTP.code,AuthenticationFactorValue:this.selectedCategory.StepUpModel.AuthenticationFactorValue,ProviderId:this.selectedCategory.NextChallenge.ProviderId,ChallengeTypeValue:o.ChallengeType.OneTimeCode},this.$store.commit("setRemainOnStepUpScreenOnFailure",!0),this.$store.commit("challengeStatus",h.ChallengeStatus.Unknown);break;default:t={...this.selectedCategory.NextChallenge,Destination:{...this.selectedDestination}}}this.isSubmitting=!0,await this.$store.dispatch("submitChallenge",t),this.isSubmitting=!1,this.hasError&&(this.tokenTOTP.code="")},changeStepupMethod(){if(this.$store.getters.currentWorkflowMaxSteps>0){const e=this.$store.getters.currentWorkflowStep-1;this.$store.commit("setCurrentWorkflowStep",e)}this.tokenTOTP={show:!1,valid:!1,code:""},this.$refs.heading.focus()},otpCodeEntered({valid:e,code:t}){this.tokenTOTP.valid=e,this.tokenTOTP.code=t},async submitManualMfa(){if(this.isSubmitting)return;this.isSubmitting=!0;const e=(this.$store.state.currentChallenge.StepUpCategories||[]).find(e=>"Unknown"===e.StepUpModel.AuthenticationFactorValue),t={...null==e?void 0:e.NextChallenge,Destination:{...null==e?void 0:e.StepUpModel.Destinations.find(e=>"Manual"===e.MaskedAddress)}};await this.$store.dispatch("submitChallenge",{...t,Destination:{...null==e?void 0:e.StepUpModel.Destinations.find(e=>"Manual"===e.MaskedAddress)}}),this.isSubmitting=!1}},components:{SlideHeaderWithNav:c.default,ContainerSlide:d.default,StepUpOption:m.default,OneTimeCode:p.default,IsotopeHeader:f.default}})},function(e,t,i){"use strict";i.r(t);var r=i(140),s=i.n(r);for(var n in r)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return r[e]}))}(n);t.default=s.a},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=i(1).__importDefault(i(2));t.default=r.default.extend({name:"temporary-password",props:{},computed:{},methods:{},components:{}})},function(e,t,i){"use strict";i.r(t);var r=i(142),s=i.n(r);for(var n in r)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return r[e]}))}(n);t.default=s.a},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=i(1),s=r.__importDefault(i(2)),n=r.__importDefault(i(3)),a=i(4),o=r.__importDefault(i(300)),l=r.__importDefault(i(270)),h=i(5);var u;!function(e){e.NotApplicable="NotApplicable",e.InProgress="InProgress",e.Succeeded="Succeeded",e.Failed="Fails"}(u||(u={})),t.default=s.default.extend({name:"tethered",data:()=>({turnstileToken:"",turnstileError:"",turnstileValidationStatus:u.NotApplicable}),computed:{currentChallenge(){return this.$store.state.currentChallenge},currentChallengeStatus(){return this.$store.state.challengeStatus},getAnimationJSON:()=>o.default,turnstileEnabled(){return this.$store.state.configuration.turnstileEnabled},turnstileSiteKey(){return this.$store.state.configuration.turnstileSitekey},errorMessage(){var e;return this.turnstileValidationStatus===u.Failed?this.getSiteText("ChallengeStatus."+this.currentChallengeStatus,null===(e=this.currentChallenge.SessionInfo)||void 0===e?void 0:e.Id):this.getSiteText("UsernameAndPassword.Error.WithReference",this.turnstileError)},displayError(){return""!==this.turnstileError||this.turnstileValidationStatus===u.Failed},showTurnstile(){return this.turnstileValidationStatus===u.InProgress||this.turnstileValidationStatus===u.Failed},showLoadingAnimation(){return this.turnstileValidationStatus===u.NotApplicable||this.turnstileValidationStatus===u.Succeeded},isMobile(){return this.$store.getters.isMobile},baseUrl(){return this.$store.state.configuration.baseUrl}},mixins:[n.default],filters:{sitetext:a.siteTextFilter},methods:{async setTurnstileToken(e){this.turnstileValidationStatus!==u.Failed&&(this.turnstileError="",this.turnstileToken=e,await this.submitForm())},setTurnstileError(e){this.turnstileError=e},disableTurnstile(){this.$store.commit("setTurnstileEnableState",!1)},turnstileTokenExpired(){this.turnstileError="",this.turnstileToken=""},async submitForm(){const e=this.$store.getters.loginCredentials;this.turnstileEnabled&&this.$store.commit("setTurnstileToken",this.turnstileToken);const t={...this.currentChallenge,Username:decodeURIComponent(e.UserName),Password:decodeURIComponent(e.Password)};await this.$store.dispatch("submitChallenge",t),this.currentChallengeStatus===h.ChallengeStatus.BotDetected?this.turnstileValidationStatus=u.Failed:this.turnstileEnabled&&(this.turnstileValidationStatus=u.Succeeded),this.$store.commit("clearLoginCredentials")}},components:{Turnstile:l.default},mounted(){this.turnstileEnabled?this.turnstileValidationStatus=u.InProgress:this.submitForm()}})},function(e,t,i){"use strict";i.r(t);var r=i(144),s=i.n(r);for(var n in r)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return r[e]}))}(n);t.default=s.a},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=i(1).__importDefault(i(2));var s;!function(e){e[e.retry=0]="retry",e[e.disable=1]="disable"}(s||(s={})),t.default=r.default.extend({name:"turnstile",props:{sitekey:{type:String,required:!0},language:{type:String,required:!1,default:null},action:{type:String,required:!0}},data:()=>({src:"https://challenges.cloudflare.com/turnstile/v0/api.js?render=explicit",widgetId:void 0,filteredErrors:[{error:"invalid_sitekey",action:s.disable}],retries:0}),methods:{render(){var e;const t={action:this.action,sitekey:this.sitekey,language:this.language||"en",theme:"light",callback:e=>this.response(e),"error-callback":e=>this.error(e),"expired-callback":()=>this.expired(),retry:"never"};this.widgetId=null===(e=window.turnstile)||void 0===e?void 0:e.render(this.$refs.turnstileContainer,t)},response(e){this.$emit("response",e)},reset(){var e;null===(e=window.turnstile)||void 0===e||e.reset(this.widgetId)},disable(){var e;null===(e=window.turnstile)||void 0===e||e.remove(this.widgetId),this.$emit("disable")},error(e){const t=this.filteredErrors.find(t=>t.error===e);if(void 0!==t)switch(t.action){case s.disable:return this.disable(),console.error("Turnstile disabled due to error "+t.error),!0;case s.retry:if(this.retries<3)return this.retries++,this.reset(),!0}return this.$emit("error",e),!0},expired(){this.$emit("expired")}},mounted(){if(null===window.turnstile||!window.turnstile){const e=document.createElement("script");return e.src=this.src,e.addEventListener("load",()=>this.render()),e.addEventListener("error",()=>this.disable()),void document.head.appendChild(e)}this.render()}})},function(e,t,i){"use strict";i.r(t);var r=i(146),s=i.n(r);for(var n in r)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return r[e]}))}(n);t.default=s.a},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=i(1),s=r.__importDefault(i(2)),n=r.__importDefault(i(3)),a=i(4),o=i(9),l=i(5),h=r.__importDefault(i(12)),u=r.__importDefault(i(11)),c=r.__importDefault(i(10)),d=i(6);function p(e){var t;const i=null!==(t=null==e?void 0:e.replace(/\D/g,""))&&void 0!==t?t:"";if(i.length>10)return i;var r=/(\d{0,3})(\d{0,3})(\d{0,4})/.exec(i);return r?r[2]?"("+r[1]+") "+r[2]+(r[3]?"-"+r[3]:""):r[1]:e}t.default=s.default.extend({name:"update-business",data(){var e;let t=this.$store.state.currentChallenge;return{businessName:t.BusinessName,businessPhone:p(t.BusinessPhoneNumber),businessPhoneType:[null!==(e=t.BusinessPhoneType)&&void 0!==e?e:"Work"],businessAddressLine1:t.BusinessAddressLine1,businessAddressLine2:t.BusinessAddressLine2,businessCity:t.BusinessCity,businessState:t.BusinessState,businessZip:t.BusinessPostalCode,businessEin:t.BusinessEin,hasPhoneError:!1,hasZipError:!1,hasEinError:!1,phoneTypes:[{label:this.getSiteText("Registration.UpdateBusiness.PhoneTypes.Home"),value:"Home"},{label:this.getSiteText("Registration.UpdateBusiness.PhoneTypes.Mobile"),value:"Mobile"},{label:this.getSiteText("Registration.UpdateBusiness.PhoneTypes.Work"),value:"Work"}]}},mixins:[n.default],filters:{sitetext:a.siteTextFilter},methods:{baseUrl(){return this.$store.state.configuration.baseUrl},async submitForm(){if(this.submitting)return;d.telemetry.custom({workflowName:d.workflowName.retail_registration,stepType:d.stepType.progression,stepName:d.stepName.business_information,action:d.userAction.continue_clicked});const e={...this.updateBusinessChallenge,BusinessName:this.businessName,BusinessPhoneNumber:this.businessPhone.replace(/\D/g,""),BusinessPhoneType:this.businessPhoneType[0],BusinessAddressLine1:this.businessAddressLine1,BusinessAddressLine2:this.businessAddressLine2,BusinessCity:this.businessCity,BusinessState:this.businessState,BusinessPostalCode:this.businessZip,BusinessEin:this.businessEin.replace(/\D/g,"")};this.$store.commit("challengeStatus",l.ChallengeStatus.Unknown),await this.$store.dispatch("submitChallenge",e)},validatePhone(){let e=p(this.businessPhone);this.businessPhone=null!=e?e:this.businessPhone,this.hasPhoneError=!(e.replace(/\D/g,"").length>=10)},validateZip(){this.hasZipError=null===this.zipCodeRegex().exec(this.businessZip)},validateEin(){var e;this.hasEinError=9!==(null!==(e=this.businessEin)&&void 0!==e?e:"").replace(/\D/g,"").length},zipCodeRegex:()=>/^\d{5}([-]|\s*)?(\d{4})?$/,getCustomErrorMessage(e){return this.getSiteText("UserIdentifyingField.Required",this.getSiteText(`UserIdentifyingField.${e}.Label`))}},computed:{submitting(){return this.$store.getters.isSubmittingChallenge},getSubheading(){return this.getSiteText("Registration.UpdateBusiness.Subheading")},getPhoneTypeSiteText(){return{label:this.getSiteText("Registration.UpdateBusiness.Input.BusinessPhoneType")}},buttonDisabled(){var e,t,i,r,s,n,a,o;return!((null!==(t=null===(e=this.businessName)||void 0===e?void 0:e.length)&&void 0!==t?t:0)>0&&(null!==(r=null===(i=this.businessAddressLine1)||void 0===i?void 0:i.length)&&void 0!==r?r:0)>0&&(null!==(n=null===(s=this.businessCity)||void 0===s?void 0:s.length)&&void 0!==n?n:0)>0&&this.businessState&&null!==this.zipCodeRegex().exec(this.businessZip)&&(null!==(o=null===(a=this.businessPhone)||void 0===a?void 0:a.replace(/\D/g,"").length)&&void 0!==o?o:0)>=10&&this.businessPhoneType)},updateBusinessChallenge(){return this.$store.state.currentChallenge},zipHasErrorCheck(){return this.hasZipError},einHasErrorCheck(){return this.hasEinError},phoneHasErrorCheck(){return this.hasPhoneError},getZipErrorMessage(){return this.hasZipError?[this.getSiteText("Registration.UpdateBusiness.Errors.Zip")]:[]},getPhoneErrorMessage(){return this.hasPhoneError?[this.getSiteText("Registration.UpdateBusiness.Errors.Phone")]:[]},getEinErrorMessage(){return this.hasEinError?[this.getSiteText("Registration.UpdateBusiness.Errors.Ein")]:[]},elementIds:()=>o.ElementIds},components:{SlideHeaderWithNav:u.default,ContainerSlide:c.default,IsotopeHeader:h.default}})},function(e,t,i){"use strict";i.r(t);var r=i(148),s=i.n(r);for(var n in r)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return r[e]}))}(n);t.default=s.a},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=i(1),s=r.__importDefault(i(2)),n=i(5),a=r.__importDefault(i(3)),o=r.__importDefault(i(8)),l=i(4),h=i(7),u=i(9),c=r.__importDefault(i(270)),d=i(6),p=r.__importDefault(i(301));t.default=s.default.extend({name:"username-and-password",props:{},data:()=>({username:null,password:null,rememberUsername:!1,mobileInfoPanel:null,showSheet:!1,hasResetError:!1,hasInvalidChallengeStatus:!1,hasServerError:!1,FUFPToggle:!1,logoPath:"",widgetConfig:{background:[]},turnstileToken:"",turnstileError:""}),computed:{currentChallenge(){return this.$store.state.currentChallenge},registrationRedirectUrl(){return this.$store.state.configuration.baseUrl+"Registration"},openAccountRedirectUrl(){return this.getSiteText("DigitalAccountOpening.DisplayLink.URL")},showForgotPasswordLink(){return this.$store.getters.displayForgotPasswordLink},showAccountOpeningLink(){return this.$store.getters.displayAccountOpeningLink},showForgotUsernameLink(){return this.$store.getters.displayForgotUsernameLink},ellipsisConfig(){return this.$store.getters.ellipsisConfig},mobileInfoPanelClass(){return"isotope-hidden--desktop "+(this.showSheet?"info-sheet":"info-sheet hidden")},wrongCredentials(){return this.$store.state.challengeStatus===n.ChallengeStatus.InvalidCredentials},shouldHideRegistration(){return!(!this.isMobile||"True"===this.$store.state.configuration.mobileRegistrationEnabled)||(!!this.$store.getters.disableDesktopRegistration||!(this.$store.getters.isNativeApplication||!this.isOauthRedirect()))},submitting(){return this.$store.getters.isSubmittingChallenge||this.$store.getters.isSubmittingAuthenticatedModel},errorMessage(){var e;return this.$store.getters.hasInvalidChallengeStatus?this.getSiteText("ChallengeStatus."+this.currentChallengeStatus,null===(e=this.currentChallenge.SessionInfo)||void 0===e?void 0:e.Id):""},isMobile(){return this.$store.getters.isMobile},elementIds:()=>u.ElementIds,bankName(){return this.$store.state.configuration.bankName},desktopLoginLayers(){let e=[];return this.widgetConfig&&this.widgetConfig.background.length>0&&(e=this.widgetConfig.background),e},turnstileEnabled(){return this.$store.state.configuration.turnstileEnabled},turnstileSiteKey(){return this.$store.state.configuration.turnstileSitekey},submitDisabled(){return this.submitting||this.turnstileEnabled&&""===this.turnstileToken},displayServerError(){return this.hasServerError||this.turnstileEnabled&&""!==this.turnstileError},serverErrorMessage(){return this.turnstileEnabled&&""!==this.turnstileError?this.getSiteText("UsernameAndPassword.Error.WithReference",this.turnstileError):this.getSiteText("Error.Generic")},currentChallengeStatus(){return this.$store.state.challengeStatus},isCypress(){return this.$store.state.isCypress}},mixins:[a.default],filters:{sitetext:l.siteTextFilter},methods:{async submitForm(){if(this.submitting)return;this.hasServerError=!1,await this.$store.dispatch("resetErrorStatus"),this.turnstileEnabled&&this.$store.commit("setTurnstileToken",this.turnstileToken);const e={...this.currentChallenge,Username:this.$data.username,Password:this.$data.password};await this.$store.dispatch("submitChallenge",e),this.$store.getters.hasInvalidChallengeStatus&&(this.hasInvalidChallengeStatus=!0,this.turnstileEnabled&&this.currentChallengeStatus===n.ChallengeStatus.InvalidCredentials&&(this.turnstileToken="",this.$refs.turnstile.reset())),this.$store.getters.hasServerError&&(this.hasServerError=!0)},getIconClassFromSiteText(e){return"font-icon-"+this.getSiteText(e)},async toggleRememberMe(e){this.rememberUsername=e,d.telemetry.custom({workflowName:d.workflowName.retail_registration,action:d.userAction.remember_me_checked,stepType:d.stepType.entry,stepName:d.stepName.login,eventProperties:{value:e}}),await this.$store.dispatch("setRememberUsername",this.rememberUsername)},toggleSheet(e){this.showSheet=e},contentToggled(){if(!1===this.showSheet){var e=this.$refs.bottomSheetRef.$el.querySelector(".irisv-sheet__content--opened");null!=e&&e.classList.remove("irisv-sheet__content--opened")}},rememberMeDesktopText(){return this.getSiteText("UsernameAndPassword.RememberUsername.Desktop.Message")},resetValidationError(e){const t=this.$store.getters.challengeHistory[this.$store.getters.challengeHistory.length-2].ChallengeTypeValue===h.ChallengeType.Tethered&&!this.hasResetError;this.hasResetError=!0,!t&&(this.$store.state.challengeStatus===n.ChallengeStatus.InvalidCredentials||this.$store.state.challengeStatus===n.ChallengeStatus.LockedOut&&e)&&(this.hasInvalidChallengeStatus=!1)},ellipsisItemSelected({selectedMenuItem:e}){null!==this.mobileInfoPanel&&e.iconName===this.getSiteText("UsernameAndPassword.InfoPanel.Ellipsis.IconName")&&e.label===this.getSiteText("UsernameAndPassword.InfoPanel.Ellipsis.Label")&&"#"===e.href&&this.toggleSheet(!0)},getReturnUrl:()=>new URLSearchParams(window.location.search).get("ReturnUrl"),getOAuthRedirectUri(){const e=this.getReturnUrl();if(e){const t=new URLSearchParams(e),i=Array.from(t.keys()).find(e=>"redirect_uri"===e.toLowerCase()||e.toLowerCase().endsWith("?redirect_uri"));if(i)return t.get(i)}return null},isOauthRedirect(){const e=this.getReturnUrl();if(e){return/^(?:(?:\/)?mobile)?(?:\/)?oauth\/authorize/.test(e)}return!1},async setupThemeBuilderItems(){const e=window.Alkami.Themes,t=e.baseAssetUrl||e.baseUrl+"/assets",i=(await e.Config).brandLogos.wide.fileName;null!=i&&""!==i&&(this.logoPath=`${t}/${i}`);let r;try{r=await e.getWidgetConfig("alkami.webapps.isotope")}catch(e){return void console.log("This FI may not have configued the Login Page Brand Image in Theme Builder.",e)}if(r&&r.background&&2===r.background.length){const t=this.$refs.loginPage;this.widgetConfig={...r},t.style.setProperty("--widgetIsotopeColorBgLayer0",""+this.widgetConfig.background[0].color.bgColor),t.style.setProperty("--widgetIsotopeImageAttachmentLayer1",""+this.widgetConfig.background[1].image.attachment),""!==this.widgetConfig.background[1].image.fileName&&t.style.setProperty("--widgetIsotopeImageLayer1",`url(${e.baseWidgetUrl}/alkami.webapps.isotope/assets/${this.widgetConfig.background[1].image.fileName})`),t.style.setProperty("--widgetIsotopeImagePositionXLayer1",""+this.widgetConfig.background[1].image.positionX),t.style.setProperty("--widgetIsotopeImagePositionYLayer1",""+this.widgetConfig.background[1].image.positionY),t.style.setProperty("--widgetIsotopeImageRepeatLayer1",""+this.widgetConfig.background[1].image.repeat),t.style.setProperty("--widgetIsotopeImageSizeLayer1",""+this.widgetConfig.background[1].image.size),t.style.setProperty("--widgetIsotopeImageOpacityLayer1",""+this.widgetConfig.background[1].image.opacity)}},setTurnstileToken(e){this.turnstileError="",this.turnstileToken=e},setTurnstileError(e){this.turnstileError=e},disableTurnstile(){this.$store.commit("setTurnstileEnableState",!1)},turnstileTokenExpired(){this.turnstileError="",this.turnstileToken=""},ellipsisToggled(e){d.telemetry.custom({workflowName:d.workflowName.retail_registration,action:d.userAction.overflow_menu_clicked,stepType:d.stepType.entry,stepName:d.stepName.login,eventProperties:{value:!0===e?"open":"close"}})},async goToRegistration(){try{await d.telemetry.custom({workflowName:d.workflowName.retail_registration,action:d.userAction.register_account_clicked,stepType:d.stepType.entry,stepName:d.stepName.login})}catch{}this.isCypress||(document.location=this.registrationRedirectUrl)}},components:{IsotopeSlide:o.default,Turnstile:c.default,ForgotLinks:p.default},async mounted(){var e,t,i,r,s,n;this.currentChallenge.Username&&this.currentChallenge.Username.length&&(this.username=this.currentChallenge.Username),""!==(null===(e=this.$store.getters.configuration.loginCredentials)||void 0===e?void 0:e.UserName)&&(this.username=null===(t=this.$store.getters.configuration.loginCredentials)||void 0===t?void 0:t.UserName);const a=this.$store.state.rememberedUsername;a&&(this.rememberUsername=!0,this.username=a,this.$store.commit("setRememberUsername",!0));var o=document.getElementById("mobile_info_panel");if(o){this.mobileInfoPanel=o.innerHTML;const e={iconName:this.getSiteText("UsernameAndPassword.InfoPanel.Ellipsis.IconName"),label:this.getSiteText("UsernameAndPassword.InfoPanel.Ellipsis.Label"),href:"#",target:"_self"};var l=this.$store.getters.ellipsisConfig;l.push(e),this.$store.commit("updateEllipsisConfig",l)}if(document.querySelector('a[href="/Content/Help/ShowVisitorContent?name=VisitorHelp"]')){const e=new CustomEvent("helpLinkLoaded",{bubbles:!0,cancelable:!1});this.$el.dispatchEvent(e)}let h=new CustomEvent("UsernameAndPasswordUIInitialized",{bubbles:!0,cancelable:!1});this.$el.dispatchEvent(h),this.$store.getters.hasInvalidChallengeStatus&&(this.hasInvalidChallengeStatus=!0),this.$store.getters.hasServerError&&(this.hasServerError=!0),setTimeout(()=>{var e;null===(e=document.querySelector("#ellipsis_menu button"))||void 0===e||e.setAttribute("type","button")},0),null===(i=document.querySelector("#rememberMeCheckBox button"))||void 0===i||i.setAttribute("type","button"),null===(r=document.querySelector("#password"))||void 0===r||r.setAttribute("autocomplete","current-password"),null===(s=document.querySelector("body.Authentication h1#widget_title"))||void 0===s||s.setAttribute("aria-hidden","true"),null===(n=document.querySelector("body.Authentication ul#widget_nav"))||void 0===n||n.setAttribute("aria-hidden","true"),document.querySelector("body.theme--theme-builder")&&await this.setupThemeBuilderItems()},beforeCreate(){document.body.classList.add("username-and-password")},beforeDestroy(){document.body.classList.remove("username-and-password")}})},function(e,t,i){"use strict";i.r(t);var r=i(150),s=i.n(r);for(var n in r)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return r[e]}))}(n);t.default=s.a},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=i(1),s=r.__importDefault(i(2)),n=r.__importDefault(i(3)),a=i(4),o=i(6);t.default=s.default.extend({name:"forgot-links",mixins:[n.default],data:()=>({FUFPToggle:!1}),filters:{sitetext:a.siteTextFilter},computed:{isMobile(){return this.$store.getters.isMobile},showForgotPasswordLink(){return this.$store.getters.displayForgotPasswordLink},forgotUsernameUrl(){return this.$store.state.configuration.baseUrl+"ForgotUsername"},showForgotUsernameLink(){return this.$store.getters.displayForgotUsernameLink},forgotPasswordUrl(){return this.$store.state.configuration.baseUrl+"ForgotPassword"},useIrisSheetForFUFP(){return this.isMobile&&this.showForgotUsernameLink&&this.showForgotPasswordLink},FUFPText(){let e="";switch(!0){case this.showForgotUsernameLink&&this.showForgotPasswordLink:e=this.getSiteText("UsernameAndPassword.Link.Forgot.UsernameAndPassword");break;case this.showForgotUsernameLink:e=this.getSiteText("UsernameAndPassword.Link.Forgot.Username");break;case this.showForgotPasswordLink:e=this.getSiteText("UsernameAndPassword.Link.Forgot.Password")}if(this.isMobile){let t="";switch(!0){case this.useIrisSheetForFUFP:t=' tabindex="0"';break;case this.showForgotUsernameLink:t=` href="${this.forgotUsernameUrl}"`;break;case this.showForgotPasswordLink:t=` href="${this.forgotPasswordUrl}"`}e=`<a${t} class="forgotLinks_anchor">${e.replace(/{linku}|{linkp}/gi,"")}</a>`}else{let t=0,i=0;e=e.replace(/{linku}|{linkp}/gi,e=>{let r;return r="{linku}"===e.toLowerCase()?++t:++i,r%2==0?"</a>":`<a href="${"{linku}"===e.toLowerCase()?this.forgotUsernameUrl:this.forgotPasswordUrl}">`})}return e},isCypress(){return this.$store.state.isCypress}},methods:{mobileForgotUsernameOrPassword(){this.FUFPToggle=!0;let e=document.querySelector('.forgotLinks [aria-label="close"]');e&&e.setAttribute("type","button")},async handleClick(e){const t=e.target.getAttribute("href");null!==t&&(t===this.forgotUsernameUrl?await o.telemetry.custom({workflowName:o.workflowName.retail_registration,stepType:o.stepType.entry,stepName:o.stepName.login,action:o.userAction.forgot_username_clicked}):t===this.forgotPasswordUrl&&await o.telemetry.custom({workflowName:o.workflowName.retail_registration,stepType:o.stepType.entry,stepName:o.stepName.login,action:o.userAction.forgot_password_clicked}),this.isCypress||(document.location.href=t))}}})},function(e,t,i){"use strict";i.r(t);var r=i(152),s=i.n(r);for(var n in r)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return r[e]}))}(n);t.default=s.a},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=i(1),s=r.__importDefault(i(2)),n=r.__importDefault(i(3)),a=i(4),o=r.__importDefault(i(11)),l=r.__importDefault(i(10));t.default=s.default.extend({name:"username-recovered",props:{},computed:{isMobile(){return this.$store.getters.isMobile}},methods:{baseUrl(){return this.$store.state.configuration.baseUrl},recoveredUsername(){return this.$store.state.currentChallenge.RecoveredUsername||""}},mixins:[n.default],filters:{sitetext:a.siteTextFilter},mounted(){this.$refs.usernameRecovered.focus()},components:{SlideHeaderWithNav:o.default,ContainerSlide:l.default}})},function(e,t,i){"use strict";i.r(t);var r=i(199),s=i(52);for(var n in s)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return s[e]}))}(n);i(330);var a=i(0),o=Object(a.a)(s.default,r.a,r.b,!1,null,"9c7e7f4a",null);t.default=o.exports},function(e,t,i){"use strict";i.r(t);var r=i(219),s=i(111);for(var n in s)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return s[e]}))}(n);i(336);var a=i(0),o=Object(a.a)(s.default,r.a,r.b,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";i.r(t);var r=i(203),s=i(121);for(var n in s)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return s[e]}))}(n);i(333);var a=i(0),o=Object(a.a)(s.default,r.a,r.b,!1,null,"cd485526",null);t.default=o.exports},function(e,t,i){"use strict";i.d(t,"a",(function(){return r})),i.d(t,"b",(function(){return s}));var r=function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"isotope-app",class:this.$route.name,attrs:{id:"app"}},[t("router-view",{staticClass:"isotope-page"})],1)},s=[]},function(e,t,i){"use strict";i.d(t,"a",(function(){return r})),i.d(t,"b",(function(){return s}));var r=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"isotope-page--authentication"},[i(e.currentChallengeType,{tag:"component",staticClass:"isotope-challenge-type"}),i("form",{attrs:{id:"form_authenticated",method:"POST",action:e.$store.state.configuration.redirectUrl}},[i("input",{directives:[{name:"model",rawName:"v-model",value:e.authenticatedModel.username,expression:"authenticatedModel.username"}],attrs:{type:"hidden",name:"username"},domProps:{value:e.authenticatedModel.username},on:{input:function(t){t.target.composing||e.$set(e.authenticatedModel,"username",t.target.value)}}}),i("input",{directives:[{name:"model",rawName:"v-model",value:e.authenticatedModel.nonce,expression:"authenticatedModel.nonce"}],attrs:{type:"hidden",name:"nonce"},domProps:{value:e.authenticatedModel.nonce},on:{input:function(t){t.target.composing||e.$set(e.authenticatedModel,"nonce",t.target.value)}}})])],1)},s=[]},function(e,t,i){"use strict";i.d(t,"a",(function(){return r})),i.d(t,"b",(function(){return s}));var r=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"isotope-page--registration"},[i(e.currentChallengeType,{tag:"component",staticClass:"isotope-challenge-type"}),i("form",{attrs:{id:"form_authenticated",method:"POST",action:e.$store.state.configuration.redirectUrl}},[i("input",{directives:[{name:"model",rawName:"v-model",value:e.authenticatedModel.username,expression:"authenticatedModel.username"}],attrs:{type:"hidden",name:"username"},domProps:{value:e.authenticatedModel.username},on:{input:function(t){t.target.composing||e.$set(e.authenticatedModel,"username",t.target.value)}}}),i("input",{directives:[{name:"model",rawName:"v-model",value:e.authenticatedModel.nonce,expression:"authenticatedModel.nonce"}],attrs:{type:"hidden",name:"nonce"},domProps:{value:e.authenticatedModel.nonce},on:{input:function(t){t.target.composing||e.$set(e.authenticatedModel,"nonce",t.target.value)}}})])],1)},s=[]},function(e,t,i){"use strict";i.d(t,"a",(function(){return r})),i.d(t,"b",(function(){return s}));var r=function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"authentication_page"},[t(this.currentChallengeType,{tag:"component"})],1)},s=[]},function(e,t,i){"use strict";i.d(t,"a",(function(){return r})),i.d(t,"b",(function(){return s}));var r=function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"forgotPassword_page forgotpassword-component--container"},[t(this.currentChallengeType,{tag:"component",staticClass:"isotope-challenge-type"})],1)},s=[]},function(e,t,i){"use strict";i.d(t,"a",(function(){return r})),i.d(t,"b",(function(){return s}));var r=function(){var e=this.$createElement,t=this._self._c||e;return t("div",[t(this.currentChallengeType,{tag:"component"})],1)},s=[]},function(e,t,i){"use strict";i.d(t,"a",(function(){return r})),i.d(t,"b",(function(){return s}));var r=function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"isotope-challenge-type--change-password"})},s=[]},function(e,t,i){"use strict";i.d(t,"a",(function(){return r})),i.d(t,"b",(function(){return s}));var r=function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"isotope-challenge-type--check-sync-result"},[t("isotope-slide",{staticClass:"check-sync-result"},[t("sync-failure",{attrs:{buttonText:"Sync.SyncError.Button.Back",url:this.baseUrl}})],1)],1)},s=[]},function(e,t,i){"use strict";i.d(t,"a",(function(){return r})),i.d(t,"b",(function(){return s}));var r=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"isotope-challenge-type--check-sync-result"},[i("container-slide",{staticClass:"check-sync-result",on:{submit:function(t){return t.preventDefault(),e.submitForm()}}},[i("template",{slot:"header"},[i("SlideHeaderWithNav",{attrs:{url:e.baseUrl}})],1),i("sync-failure",{attrs:{buttonText:"ForgotPassword.SyncError.Button.Back",url:e.url}})],2)],1)},s=[]},function(e,t,i){"use strict";i.d(t,"a",(function(){return r})),i.d(t,"b",(function(){return s}));var r=function(){var e=this.$createElement;return(this._self._c||e)("choose-scenario")},s=[]},function(e,t,i){"use strict";i.d(t,"a",(function(){return r})),i.d(t,"b",(function(){return s}));var r=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"isotope-challenge-type--confirm-identity"},[i("container-slide",{staticClass:"confirm-identity",on:{submit:function(t){return t.preventDefault(),e.submitForm()}}},[i("template",{slot:"header"},[i("SlideHeaderWithNav",{attrs:{url:e.baseUrl(),workflowName:e.scenarioType}})],1),i("IsotopeHeader",{attrs:{siteText:e.scenarioType+".ConfirmIdentity.Heading"}}),i("div",{staticClass:"mar-child-bottom--small",attrs:{"data-cy":"notificationMessage"}},[i("iris-notification",{attrs:{roleType:"alertdialog",kind:"inline",messageType:"info-light",message:e.notificationMessage(),showCloseIcon:!1,show:e.showNotification,closeAriaLabel:"Close"},on:{"update:show":function(t){e.showNotification=t}}})],1),e._l(e.confirmIdentityChallenge.Scenario.FieldGroups,(function(t,r){return i("user-identifying-field-group",{key:t.Id,attrs:{index:r,name:t.Name,fields:t.Fields,scenarioType:e.confirmIdentityChallenge.Scenario.ScenarioTypeValue,scenarioName:e.confirmIdentityChallenge.Scenario.Name},on:{"validation-check":e.validationCheck}})})),i("template",{slot:"footer"},[i("iris-button",{staticClass:"mar-top--2xl",attrs:{id:e.elementIds.ConfirmIdentityContinue,fullWidth:!1,isDisabled:e.buttonDisabled,text:e._f("sitetext")("ForgotWorkflow.ActionButtonText"),isLoading:e.submitting,type:"submit"}})],1)],2)],1)},s=[]},function(e,t,i){"use strict";i.d(t,"a",(function(){return r})),i.d(t,"b",(function(){return s}));var r=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"isotope-challenge-type--converted-user"},[i("isotope-slide",{staticClass:"text--center"},[i("iris-avatar",{staticClass:"pad-bottom--base",attrs:{mainIconName:"lock-token",isStatic:"true",backgroundColor:"transparent",size:"large",letterIconColor:"#0267C1",ariaLabel:"security"}}),i("h2",{staticClass:"font-small-heading mar-bottom--small mar-top--0"},[e._v("\n            "+e._s(e._f("sitetext")("ConvertedUser.Header"))+"\n        ")]),i("div",{staticClass:"mar-bottom--big",attrs:{id:"converted_user_instructions"}},[e._v("\n            "+e._s(e.instructions())+"\n        ")]),i("iris-button",{staticClass:"mar-right--tiny",attrs:{text:e._f("sitetext")("ConvertedUser.Button.Primary"),fullWidth:!1,kind:"highEmphasis",href:e.linkForCreateNewPassword()}}),i("iris-button",{staticClass:"mar-left--tiny",attrs:{text:e._f("sitetext")("ConvertedUser.Button.Secondary"),fullWidth:!1,href:e.baseUrl(),kind:"lowEmphasis"}})],1)],1)},s=[]},function(e,t,i){"use strict";i.d(t,"a",(function(){return r})),i.d(t,"b",(function(){return s}));var r=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"isotope-challenge-type--create-user"},[i("container-slide",{staticClass:"create-user",on:{submit:function(t){return t.preventDefault(),e.submitForm()}}},[i("template",{slot:"header"},[i("SlideHeaderWithNav",{attrs:{url:e.baseUrl}})],1),i("isotope-header",{attrs:{siteText:"Registration.CreateUser.Heading"}}),i("div",{staticClass:"subHeading mar-bottom--big",class:[e.isMobile?"mar-top--xl":"mar-top--small"]},[e._v("\n            "+e._s(e._f("sitetext")("Registration.CreateUser.Subheading"))+"\n        ")]),i("iris-textfield-password",{staticClass:"mar-top--small",attrs:{"data-cy":"passwordInput",label:e._f("sitetext")("Registration.CreateUser.TextField.Password.Label"),passwordStrengthLabel:e.passwordStrengths(),passwordStrength:e.checkPasswordStrength(),validationRules:[e.checkPasswordValid]},on:{"textfield-input":function(t){return e.checkPasswordMatches()}},model:{value:e.password,callback:function(t){e.password=t},expression:"password"}}),i("iris-textfield-password",{staticClass:"mar-top--small",attrs:{"data-cy":"confirmPasswordInput",label:e._f("sitetext")("Registration.CreateUser.TextField.ConfirmPassword.Label"),hasError:e.passwordMismatch,errorMessages:e.confirmPasswordErrorMessage},on:{"textfield-input":function(t){return e.checkPasswordMatches()}},model:{value:e.confirmPassword,callback:function(t){e.confirmPassword=t},expression:"confirmPassword"}}),e.showConfirmPasswordMessage?i("div",{staticClass:"irisv-textfield__messages",attrs:{"data-cy":"confirmPasswordMatchLabel"}},[i("div",{staticClass:"irisv-textfield__messages-help-text font-caption"},[e._v("\n                "+e._s(e._f("sitetext")("Registration.CreateUser.PasswordMatches"))+"\n            ")])]):e._e(),i("template",{slot:"footer"},[i("iris-button",{staticClass:"mar-top--2xl",attrs:{"data-cy":"createPasswordButton",fullWidth:!1,isDisabled:e.buttonDisabled,text:e._f("sitetext")("Registration.CreateUser.ButtonText"),isLoading:e.isLoading,type:"submit"}})],1)],2)],1)},s=[]},function(e,t,i){"use strict";i.d(t,"a",(function(){return r})),i.d(t,"b",(function(){return s}));var r=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"isotope-challenge-type--create-username"},[i("container-slide",{staticClass:"create-username",on:{submit:function(t){return t.preventDefault(),e.submitForm()}}},[i("template",{slot:"header"},[i("SlideHeaderWithNav",{attrs:{url:e.baseUrl}})],1),i("div",[i("isotope-header",{attrs:{siteText:"Registration.CreateUsername.Heading"}}),i("div",{staticClass:"subHeading mar-bottom--xl",class:[e.isMobile?"mar-top--xl":"mar-top--small"],attrs:{"data-cy":"createUsernameSubHeading"}},[e._v("\n                "+e._s(e.getSubheading)+"\n            ")]),i("iris-textfield",{attrs:{"data-cy":"usernameInput",label:e._f("sitetext")("Registration.CreateUsername.Input.Label"),hasError:e.errors.length>0,errorMessages:e.errors,isDisabled:e.hasExceededTries,value:e.inputValue,requiredValidationErrorMessaging:""},on:{"textfield-input":e.validateUsername,"textfield-blur":e.validateBlur}}),e.showSuggestedUsernames?i("div",{staticClass:"showSuggestedUsernames"},[i("div",{attrs:{"data-cy":"suggestedUsernames"}},[e._v("\n                    "+e._s(e.usernameSuggestionHeading)+"\n                ")]),i("div",{staticClass:"suggestions"},e._l(e.suggestedUsernames,(function(t,r){return i("iris-radio-button",{key:r,attrs:{label:t,value:t,name:"chooseUsername"},on:{"radio-button-change":e.chooseUsername}})})),1)]):e._e()],1),i("template",{slot:"footer"},[i("iris-button",{staticClass:"mar-top--2xl",attrs:{id:e.elementIds.CreateUsername,"data-cy":"create-username-button",fullWidth:e.isMobile,isDisabled:e.buttonDisabled,text:e._f("sitetext")("Registration.ButtonText.CreateUsername"),isLoading:e.submitting,loadingText:e._f("sitetext")("Registration.ButtonText.CreateUsername"),type:"submit"}})],1)],2)],1)},s=[]},function(e,t,i){"use strict";i.d(t,"a",(function(){return r})),i.d(t,"b",(function(){return s}));var r=function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"isotope-challenge-type--empty"})},s=[]},function(e,t,i){"use strict";i.d(t,"a",(function(){return r})),i.d(t,"b",(function(){return s}));var r=function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"isotope-challenge-type--forgot-password"})},s=[]},function(e,t,i){"use strict";i.d(t,"a",(function(){return r})),i.d(t,"b",(function(){return s}));var r=function(){var e=this.$createElement;return(this._self._c||e)("choose-scenario")},s=[]},function(e,t,i){"use strict";i.d(t,"a",(function(){return r})),i.d(t,"b",(function(){return s}));var r=function(){var e=this.$createElement;return(this._self._c||e)("confirm-identity",{attrs:{requiresUsername:!0}})},s=[]},function(e,t,i){"use strict";i.d(t,"a",(function(){return r})),i.d(t,"b",(function(){return s}));var r=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"isotope-challenge-type--forgot-password-disclosure"},[i("container-slide",{staticClass:"forgot-password-disclosure",on:{submit:function(t){return t.preventDefault(),e.submitForm()}}},[i("template",{slot:"header"},[i("SlideHeaderWithNav",{attrs:{url:e.baseUrl()}}),i("div",{ref:"heading",attrs:{tabindex:"-1"}},[e.isMobile?i("div",{staticClass:"font-medium-heading mar-top--xl mar-bottom--md",attrs:{role:"heading"}},[e._v("\n                    "+e._s(e._f("sitetext")("ForgotWorkflow.Disclosure.Mobile.Heading"))+"\n                ")]):e._e()])],1),i("Disclosure",{attrs:{content:e.disclosureContent,checkboxLabel:e._f("sitetext")("ForgotWorkflow.Disclosure.AcceptCheckbox.Label"),printLinkText:e._f("sitetext")("Disclosure.PrintLinkText")},on:{toggleDisclosureAccepted:e.toggleAccepted}}),i("template",{slot:"footer"},[i("div",{staticClass:"forgot-password-disclosure--footer",class:{"disclosure-footer":!e.isMobile}},[i("iris-button",{class:{"disclosure-button--mobile":e.isMobile},attrs:{id:e.elementIds.DisclosureContinue,"data-cy":"accept-disclosure-button",text:e._f("sitetext")("ForgotWorkflow.ActionButtonText"),fullWidth:e.isMobile,type:"submit",isDisabled:e.canContinue,isLoading:e.submitting,kind:"highEmphasis"}})],1)])],2)],1)},s=[]},function(e,t,i){"use strict";i.d(t,"a",(function(){return r})),i.d(t,"b",(function(){return s}));var r=function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"isotope-challenge-type--forgot-username"})},s=[]},function(e,t,i){"use strict";i.d(t,"a",(function(){return r})),i.d(t,"b",(function(){return s}));var r=function(){var e=this.$createElement;return(this._self._c||e)("choose-scenario",{attrs:{cardName:this.elementIds.UsernameChooseScenarioCard}})},s=[]},function(e,t,i){"use strict";i.d(t,"a",(function(){return r})),i.d(t,"b",(function(){return s}));var r=function(){var e=this.$createElement;return(this._self._c||e)("confirm-identity")},s=[]},function(e,t,i){"use strict";i.d(t,"a",(function(){return r})),i.d(t,"b",(function(){return s}));var r=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"isotope-challenge-type--one-time-code"},[i("isotope-slide",{staticClass:"one-time-code",on:{submit:function(t){return t.preventDefault(),e.submitForm()}}},[i("template",{slot:"header"},[i("slide-header",{attrs:{header:e._f("sitetext")("StepUp.OneTimeCode.Header"),subtitle:e.codeSentText}})],1),i("div",{staticClass:"isotope-actions",attrs:{role:"heading",tabindex:"-1"}},[i("iris-display-input-field-specified",{attrs:{elementId:"txt_OTP",actiontext:e._f("sitetext")("StepUp.OneTimeCode.DisplayInput.ActionText"),align:"center",hasError:e.hasError,errortext:e.errorText,helpertext:e.codeEntryHelperText,maxlength:6,minlength:6,keyboardType:"numeric"},on:{"display-input-field-input":e.oneTimeCodeUpdated,"display-input-field-focus":e.onFocus},model:{value:e.$data.oneTimeCode,callback:function(t){e.$set(e.$data,"oneTimeCode",t)},expression:"$data.oneTimeCode"}})],1),i("div",{staticClass:"isotope-actions isotope-actions--row mar-top--base"},[e.isManualMfa?e._e():i("iris-button",{attrs:{id:"btn_resendOTP",kind:"compact",text:e.resendButtonText,isDisabled:!e.canResendCode},on:{"button-click":function(t){return e.resendCode()}}})],1),i("template",{slot:"footer"},[i("div",{staticClass:"isotope-actions isotope-actions--row-reverse",class:{"mar-bottom--small":e.isMobile}},[i("iris-button",{class:{"mar-bottom--tiny":e.isMobile},attrs:{id:"btn_submitOTP",isLoading:e.submitting,isDisabled:e.navigatingBack||e.submitting,text:e._f("sitetext")("StepUp.OneTimeCode.Button.Verify"),type:"submit"}}),i("iris-button",{class:{"mar-right--tiny":!e.isMobile},attrs:{kind:"lowEmphasis",text:e._f("sitetext")("MFA.Button.Navigate.Back"),disabled:e.navigatingBack||e.submitting,isLoading:e.navigatingBack},on:{"button-click":function(t){return e.navigateBack()}}})],1)])],2)],1)},s=[]},function(e,t,i){"use strict";i.d(t,"a",(function(){return r})),i.d(t,"b",(function(){return s}));var r=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"codeInput"},[i("div",{staticClass:"subHeading mar-bottom--big",class:[e.isMobile?"mar-top--xl":"mar-top--small"]},[e._v("\n        "+e._s(e.subHeadingText)+"\n    ")]),i("iris-display-input-field-specified",{staticClass:"codeInputField",attrs:{value:e.oneTimeCode,elementId:e.elementIds.OTPCodeInput,actiontext:e.actionText,align:"center",hasError:e.hasError,errortext:e.errorText,helpertext:e.inputHelperText,keyboardType:"numeric",maxlength:e.tokenLength,minlength:e.tokenLength},on:{"display-input-field-input":e.oneTimeCodeUpdated}}),i("div",{staticClass:"optionButtons mar-top--md"},[e.displayResendCode?i("iris-button",{staticClass:"width--Button pad-x--0",attrs:{id:e.elementIds.OTPResendCode,kind:"compact",text:e.resendButtonText,isDisabled:!e.canResendCode},on:{"button-click":function(t){return e.resendCode()}}}):e._e(),e.displayResendCode?i("span",{staticClass:"verificationCodeOr"},[e._v("\n            "+e._s(e._f("sitetext")("Forgot.VerificationCode.Or"))+"\n        ")]):e._e(),i("iris-button",{staticClass:"width--Button pad-x--0",attrs:{id:e.elementIds.OTPChangeMethod,kind:"compact",text:e.getSiteText("Forgot.VerificationCode.ChangeMethod")},on:{"button-click":function(t){return e.changeMethod()}}})],1),i("form",{attrs:{id:"form_authenticated",method:"POST",action:e.$store.state.configuration.redirectUrl}},[i("input",{directives:[{name:"model",rawName:"v-model",value:e.authenticatedModel.username,expression:"authenticatedModel.username"}],attrs:{type:"hidden",name:"username"},domProps:{value:e.authenticatedModel.username},on:{input:function(t){t.target.composing||e.$set(e.authenticatedModel,"username",t.target.value)}}}),i("input",{directives:[{name:"model",rawName:"v-model",value:e.authenticatedModel.nonce,expression:"authenticatedModel.nonce"}],attrs:{type:"hidden",name:"nonce"},domProps:{value:e.authenticatedModel.nonce},on:{input:function(t){t.target.composing||e.$set(e.authenticatedModel,"nonce",t.target.value)}}})])],1)},s=[]},function(e,t,i){"use strict";i.d(t,"a",(function(){return r})),i.d(t,"b",(function(){return s}));var r=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"isotope-challenge-type--otp-code"},[i("container-slide",{staticClass:"forgot-otp",on:{submit:function(t){return t.preventDefault(),e.submitForm()}}},[i("template",{slot:"header"},[i("SlideHeaderWithNav",{attrs:{url:e.baseUrl,workflowName:e.$store.getters.workflow}})],1),i("div",[i("isotope-header",{attrs:{siteText:e.scenarioType+".VerificationCode.Heading"}}),i("one-time-code",{attrs:{authenticationFactor:e.currentChallenge.AuthenticationFactorValue,oneTimeCode:e.oneTimeCode},on:{"change-stepup-method":e.changeStepupMethod,"code-entered":e.otpCodeEntered}})],1),i("template",{slot:"footer"},[i("iris-button",{attrs:{id:e.elementIds.OTPVerify,fullWidth:e.isMobile,isDisabled:e.buttonDisabled,text:e.buttonText,isLoading:e.isLoading,type:"submit"}})],1)],2)],1)},s=[]},function(e,t,i){"use strict";i.d(t,"a",(function(){return r})),i.d(t,"b",(function(){return s}));var r=function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"isotope-challenge-type--questions-and-answers"})},s=[]},function(e,t,i){"use strict";i.d(t,"a",(function(){return r})),i.d(t,"b",(function(){return s}));var r=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"isotope-challenge-type--registration-disclosure"},[i("container-slide",{staticClass:"registration-disclosure",on:{submit:function(t){return t.preventDefault(),e.submitForm()}}},[i("template",{slot:"header"},[i("SlideHeaderWithNav",{attrs:{url:e.baseUrl()}})],1),i("isotope-header",{attrs:{siteText:"Registration.Disclosure.Heading"}}),i("div",{staticClass:"font-body-2",domProps:{innerHTML:e._s(e.htmlBeforeDisclosure)}}),i("Disclosure",{attrs:{content:e.disclosureContent,checkboxLabel:e._f("sitetext")("Global.Disclosures.Registration.LabelFor.AgreementCheckbox"),printLinkText:e._f("sitetext")("Disclosure.PrintLinkText")},on:{toggleDisclosureAccepted:e.toggleAccepted}}),e.disclosureAccepted&&e.pdfEnabled?i("div",{staticClass:"mar-top--small",attrs:{"data-cy":"PDFAccessConfirmation"}},[i("div",{staticClass:"font-mar--tiny"},[i("div",{staticClass:"font-subtitle-2",attrs:{"data-cy":"PDFHeading",role:"heading"}},[e._v("\n                    "+e._s(e._f("sitetext")("Registration.PDF.Heading"))+"\n                ")]),i("div",{staticClass:"font-caption mar-y--small",attrs:{"data-cy":"PDFInstructions"}},[e._v("\n                    "+e._s(e._f("sitetext")("Registration.PDF.Instructions"))+"\n                ")]),i("ol",{staticClass:"pdf-steps",attrs:{type:"1"}},[i("li",{staticClass:"font-caption"},[i("a",{attrs:{"data-cy":"PDFOpen",href:e.pdfUrl,target:"_blank"},on:{click:function(t){return t.preventDefault(),e.PDFOpen.apply(null,arguments)}}},[e._v("\n                            "+e._s(e._f("sitetext")("Registration.PDF.OpenPDF"))+"\n                        ")])]),i("li",{staticClass:"font-caption",attrs:{"data-cy":"PDFVerifyCode"}},[e._v("\n                        "+e._s(e._f("sitetext")("Registration.PDF.VerifyCode"))+"\n                    ")])]),i("iris-textfield",{staticClass:"mar-bottom--small",attrs:{"data-cy":"PDFCodeInput",label:e._f("sitetext")("Registration.PDF.AccessCodeLabel"),hasError:e.pdfCodeErrorMessages.length>0,errorMessages:e.pdfCodeErrorMessages},on:{"textfield-focus":e.handleTextfieldFocus},model:{value:e.userPdfCode,callback:function(t){e.userPdfCode=t},expression:"userPdfCode"}})],1)]):e._e(),i("template",{slot:"footer"},[i("iris-button",{staticClass:"mar-top--xl",attrs:{"data-cy":"accept-disclosure-button",text:e._f("sitetext")("Registration.ButtonText.Continue"),fullWidth:e.isMobile,type:"submit",isDisabled:!e.canContinue,isLoading:e.submitting,kind:"highEmphasis"}})],1)],2)],1)},s=[]},function(e,t,i){"use strict";i.d(t,"a",(function(){return r})),i.d(t,"b",(function(){return s}));var r=function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"isotope-challenge-type--reset-password"})},s=[]},function(e,t,i){"use strict";i.d(t,"a",(function(){return r})),i.d(t,"b",(function(){return s}));var r=function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"isotope-challenge-type--start-forgot-password"})},s=[]},function(e,t,i){"use strict";i.d(t,"a",(function(){return r})),i.d(t,"b",(function(){return s}));var r=function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"isotope-challenge-type--start-forgot-username"})},s=[]},function(e,t,i){"use strict";i.d(t,"a",(function(){return r})),i.d(t,"b",(function(){return s}));var r=function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"isotope-challenge-type--start-registration"})},s=[]},function(e,t,i){"use strict";i.d(t,"a",(function(){return r})),i.d(t,"b",(function(){return s}));var r=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"isotope-challenge-type--step-up"},[e.stepUpCategories.length?i("isotope-slide",{staticClass:"isotope-slide--squash isotope-slide--stepupOptions"},[i("template",{slot:"header"},[i("slide-header",{attrs:{header:e._f("sitetext")("StepUp.Verification.Header"),subtitle:e._f("sitetext")("StepUp.Verification.HelperText")}}),e.manualMfaEnabled?i("div",[e._v("\n                "+e._s(e._f("sitetext")("StepUp.Verification.HelperText.ManualMfa"))+"\n                "),i("a",{attrs:{"data-cy":"manualMfa"},on:{click:function(t){return e.submitManualMfa()}}},[e._v("\n                    "+e._s(e._f("sitetext")("StepUp.Verification.HelperText.ManualMfaLink"))+"\n                ")])]):e._e()],1),i("div",{staticClass:"isotope-selectable-category-list"},e._l(e.stepUpCategories,(function(t){return i("iris-selectable-tile",{key:t.$id,staticClass:"mar-right--tiny mar-bottom--tiny isotope-selectable-category-item",attrs:{iconName:e.authenticationFactorMetaData[t.StepUpModel.AuthenticationFactorValue].icon,isChecked:t.$id===e.selectedStepUpCategoryId,label:e.authenticationFactorMetaData[t.StepUpModel.AuthenticationFactorValue].label,isSingleSelection:"",name:"group1",value:t.$id},on:{"selectable-tile-change":function(i){return e.categoryChanged(t)}}})})),1)],2):e._e(),e._l(e.stepUpCategories,(function(t){return i(t.StepUpModel.AuthenticationFactorValue,{directives:[{name:"show",rawName:"v-show",value:t.$id===e.selectedStepUpCategoryId,expression:"stepUpCategory.$id === selectedStepUpCategoryId"}],key:t.$id,tag:"component",staticClass:"isotope-step-up-category",attrs:{stepUpCategory:t}})}))],2)},s=[]},function(e,t,i){"use strict";i.d(t,"a",(function(){return r})),i.d(t,"b",(function(){return s}));var r=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"isotope-challenge-type--step-up"},[i("container-slide",{staticClass:"forgot-stepup",on:{submit:function(t){return t.preventDefault(),e.submitForm()}}},[i("template",{slot:"header"},[i("SlideHeaderWithNav",{attrs:{url:e.baseUrl(),workflowName:e.$store.getters.workflow}})],1),i("div",[i("isotope-header",{attrs:{siteText:e.headerText}}),e.showManualGeneratedMFA?i("div",[e._v("\n                "+e._s(e._f("sitetext")("StepUp.Verification.HelperText.ManualMfa"))+"\n                "),i("a",{attrs:{"data-cy":"manualMfa"},on:{click:function(t){return e.submitManualMfa()}}},[e._v("\n                    "+e._s(e._f("sitetext")("StepUp.Verification.HelperText.ManualMfaLink"))+"\n                ")])]):e._e(),e.tokenTOTP.show?i("div",[i("one-time-code",{attrs:{authenticationFactor:e.selectedCategory.StepUpModel.AuthenticationFactorValue,oneTimeCode:e.tokenTOTP.code},on:{"change-stepup-method":e.changeStepupMethod,"code-entered":e.otpCodeEntered}})],1):i("div",{staticClass:"stepUpOptions"},e._l(e.stepUpCategories,(function(t){return i("step-up-option",{key:t.$id,attrs:{stepUpCategory:t,isSelectedCategory:e.isSelectedCategory(t.$id)},on:{"stepup-option-selected":e.stepupCategorySelected,"stepup-destination-selected":e.stepupDestinationSelected}})})),1)],1),i("template",{slot:"footer"},[i("iris-button",{attrs:{id:e.buttonID,fullWidth:e.isMobile,isDisabled:e.buttonDisabled,text:e.buttonText,isLoading:e.isLoading,type:"submit"}})],1)],2)],1)},s=[]},function(e,t,i){"use strict";i.d(t,"a",(function(){return r})),i.d(t,"b",(function(){return s}));var r=function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"isotope-challenge-type--temporary-password"})},s=[]},function(e,t,i){"use strict";i.d(t,"a",(function(){return r})),i.d(t,"b",(function(){return s}));var r=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"isotope-challenge-type--tethered"},[e.showTurnstile?i("div",{staticClass:"turnstile"},[i("turnstile",{ref:"turnstile",attrs:{sitekey:e.turnstileSiteKey,language:e.getSiteText("Turnstile.Language"),action:"tetheredLogin"},on:{response:e.setTurnstileToken,expired:e.turnstileTokenExpired,error:e.setTurnstileError,disable:e.disableTurnstile}}),i("iris-notification",{class:[e.isMobile?"mar-top--small":"mar-top--base"],attrs:{kind:"inline",roleType:"alertdialog",messageType:"error",message:e.errorMessage,showCloseIcon:!1,showTrailingContent:!1,iconAriaLabel:"error",show:e.displayError,"data-cy":"tetheredError",closeAriaLabel:"Close notification"}}),e.displayError?i("iris-button",{staticClass:"mar-top--base",attrs:{"data-cy":"returnToLoginButton",type:"button",text:e._f("sitetext")("Tethered.Loading.Button.Back"),href:e.baseUrl}}):e._e()],1):e._e(),e.showLoadingAnimation?i("div",{staticClass:"animationContainer"},[i("iris-lottie-animation",{attrs:{alt:e.getSiteText("Tethered.Loading.AnimationAlt"),isLooping:!0,animationJSON:e.getAnimationJSON,isAriaHidden:!0,width:64,"data-cy":"loadingAnimation"}}),i("h2",{staticClass:"font-content-heading--activity",attrs:{"data-cy":"heading"}},[e._v("\n            "+e._s(e._f("sitetext")("Tethered.Loading"))+"\n        ")])],1):e._e()])},s=[]},function(e,t,i){"use strict";i.d(t,"a",(function(){return r})),i.d(t,"b",(function(){return s}));var r=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"isotope-challenge-type--update-business"},[i("container-slide",{staticClass:"update-business",on:{submit:function(t){return t.preventDefault(),e.submitForm()}}},[i("template",{slot:"header"},[i("SlideHeaderWithNav",{attrs:{url:e.baseUrl()}})],1),i("isotope-header",{attrs:{siteText:"Registration.UpdateBusiness.Heading"}}),i("div",{staticClass:"subHeading mar-top--small mar-bottom--xl",attrs:{"data-cy":"updateBusinessSubHeading"}},[e._v("\n            "+e._s(e.getSubheading)+"\n        ")]),i("iris-textfield",{staticClass:"mar-child-bottom--small",attrs:{"data-cy":"businessNameInput",label:e._f("sitetext")("Registration.UpdateBusiness.Input.BusinessName"),requiredValidationErrorMessaging:e.getCustomErrorMessage("BusinessName")},model:{value:e.businessName,callback:function(t){e.businessName=t},expression:"businessName"}}),i("iris-textfield",{staticClass:"mar-child-bottom--small",attrs:{"data-cy":"businessPhoneInput",label:e._f("sitetext")("Registration.UpdateBusiness.Input.BusinessPhone"),hasError:e.phoneHasErrorCheck,errorMessages:e.getPhoneErrorMessage,validation:!1},on:{"textfield-input":e.validatePhone,"textfield-blur":e.validatePhone},model:{value:e.businessPhone,callback:function(t){e.businessPhone=t},expression:"businessPhone"}}),i("iris-select-dropdown",{staticClass:"mar-child-bottom--small",attrs:{"data-cy":"businessPhoneTypeInput",label:e._f("sitetext")("Registration.UpdateBusiness.Input.BusinessPhoneType"),items:e.phoneTypes,strings:e.getPhoneTypeSiteText,requiredValidationErrorMessaging:e._f("sitetext")("Registration.Input.Required")},model:{value:e.businessPhoneType,callback:function(t){e.businessPhoneType=t},expression:"businessPhoneType"}}),i("iris-textfield",{staticClass:"mar-child-bottom--small",attrs:{"data-cy":"businessAddressLine1Input",label:e._f("sitetext")("Registration.UpdateBusiness.Input.BusinessAddressLine1"),requiredValidationErrorMessaging:e.getCustomErrorMessage("Address")},model:{value:e.businessAddressLine1,callback:function(t){e.businessAddressLine1=t},expression:"businessAddressLine1"}}),i("iris-textfield",{staticClass:"mar-child-bottom--small",attrs:{"data-cy":"businessAddressLine2Input",label:e._f("sitetext")("Registration.UpdateBusiness.Input.BusinessAddressLine2"),isOptional:!0},model:{value:e.businessAddressLine2,callback:function(t){e.businessAddressLine2=t},expression:"businessAddressLine2"}}),i("iris-textfield",{staticClass:"mar-child-bottom--small",attrs:{"data-cy":"businessCityInput",label:e._f("sitetext")("Registration.UpdateBusiness.Input.BusinessCity"),requiredValidationErrorMessaging:e.getCustomErrorMessage("City")},model:{value:e.businessCity,callback:function(t){e.businessCity=t},expression:"businessCity"}}),i("div",{staticClass:"row"},[i("iris-textfield",{staticClass:"mar-child-bottom--small column",attrs:{"data-cy":"businessStateInput",label:e._f("sitetext")("Registration.UpdateBusiness.Input.BusinessState"),minlength:2,maxlength:2,minLengthValidationErrorMessage:e._f("sitetext")("Registration.UpdateBusiness.Errors.State"),maxLengthValidationErrorMessage:e._f("sitetext")("Registration.UpdateBusiness.Errors.State")},model:{value:e.businessState,callback:function(t){e.businessState=t},expression:"businessState"}}),i("iris-textfield",{staticClass:"mar-child-bottom--small column",attrs:{"data-cy":"businessZipInput",label:e._f("sitetext")("Registration.UpdateBusiness.Input.BusinessZip"),hasError:e.zipHasErrorCheck,errorMessages:e.getZipErrorMessage,validation:!1},on:{"textfield-input":e.validateZip,"textfield-blur":e.validateZip},model:{value:e.businessZip,callback:function(t){e.businessZip=t},expression:"businessZip"}})],1),i("iris-textfield",{staticClass:"mar-child-bottom--small",attrs:{"data-cy":"businessEinInput",label:e._f("sitetext")("Registration.UpdateBusiness.Input.BusinessEin"),hasError:e.einHasErrorCheck,errorMessages:e.getEinErrorMessage,validation:!1},on:{"textfield-input":e.validateEin,"textfield-blur":e.validateEin},model:{value:e.businessEin,callback:function(t){e.businessEin=t},expression:"businessEin"}}),i("template",{slot:"footer"},[i("iris-button",{staticClass:"mar-top--xl",attrs:{id:e.elementIds.UpdateBusiness,"data-cy":"update-business-button",fullWidth:!1,isDisabled:e.buttonDisabled,text:e._f("sitetext")("Registration.ActionButtonText"),isLoading:e.submitting,type:"submit"}})],1)],2)],1)},s=[]},function(e,t,i){"use strict";i.d(t,"a",(function(){return r})),i.d(t,"b",(function(){return s}));var r=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{ref:"loginPage",staticClass:"isotope-challenge-type--username-and-password"},[i("iris-sheet",{ref:"bottomSheetRef",class:e.mobileInfoPanelClass,attrs:{kind:"partial",contentToggle:e.showSheet,showScrim:!0,showCompactButton:!1,irisSheetHeader:!0,irisSheetHeaderText:e._f("sitetext")("UsernameAndPassword.InfoPanel.Header.Label"),suppressed:!0,"data-cy":"mobileInfoPanel"},on:{"update:contentToggle":function(t){e.showSheet=t},"update:content-toggle":function(t){e.showSheet=t},"sheet:closing":function(t){return e.toggleSheet(!1)},"sheet:content-toggle-request":e.contentToggled},scopedSlots:e._u([{key:"irisSheetContent",fn:function(){return[i("div",{attrs:{id:"mobile-info-panel"},domProps:{innerHTML:e._s(e.mobileInfoPanel)}})]},proxy:!0}])}),i("div",{staticClass:"login-image-container"},[i("isotope-slide",{class:["usernameAndPasswordForm",e.desktopLoginLayers.length>0?"usernameAndPasswordForm--graphic-present":""],on:{submit:function(t){return t.preventDefault(),e.submitForm.apply(null,arguments)}}},[i("div",{staticClass:"ellipsis",attrs:{id:"usernameAndPassword_ellipsis"}},[i("iris-menu-dropdown",{attrs:{id:"ellipsis_menu",kind:"action",menuAlignment:"right",triggerType:"quickactionbutton",items:e.ellipsisConfig,quickActionButtonProps:{kind:"mediumEmphasis",variation:"embedded"}},on:{"menu-dropdown-item-selected":e.ellipsisItemSelected,"menu-dropdown-opened":function(t){return e.ellipsisToggled(!0)},"menu-dropdown-closed":function(t){return e.ellipsisToggled(!1)}}})],1),e.logoPath?i("div",{staticClass:"logo isotope-hidden--mobile"},[i("img",{attrs:{src:e.logoPath}})]):e._e(),i("div",{staticClass:"mar-top--small isotope-hidden--desktop"}),i("iris-textfield",{attrs:{elementId:e.elementIds.Username,label:e._f("sitetext")("UsernameAndPassword.TextField.Username.Label"),isOptional:!1,kind:"underline",isClearable:!1,hasError:e.wrongCredentials,requiredValidationErrorMessaging:e._f("sitetext")("UsernameAndPassword.TextField.Username.Required"),autocomplete:"username",autocorrect:"off",autocapitalize:"off",spellcheck:"false"},on:{"textfield-input":function(t){return e.resetValidationError(!0)}},model:{value:e.username,callback:function(t){e.username=t},expression:"username"}}),i("iris-textfield-password",{staticClass:"mar-top--small",attrs:{autocomplete:"current-password",elementId:e.elementIds.Password,label:e._f("sitetext")("UsernameAndPassword.TextField.Password.Label"),kind:"underline",isOptional:!1,hasError:e.wrongCredentials,requiredValidationErrorMessaging:e._f("sitetext")("UsernameAndPassword.TextField.Password.Required")},on:{"textfield-input":function(t){return e.resetValidationError(!1)}},model:{value:e.password,callback:function(t){e.password=t},expression:"password"}}),i("div",{staticClass:"rememberMe"},[i("iris-switch",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.isMobile?null:e.rememberMeDesktopText(),expression:"isMobile ? null : rememberMeDesktopText()"}],attrs:{id:"rememberMeCheckBox",ariaLabel:e.getSiteText("UsernameAndPassword.RememberUsername.Label"),isSelected:e.rememberUsername},on:{"switch-change":e.toggleRememberMe}}),e._v("\n                "+e._s(e._f("sitetext")("UsernameAndPassword.RememberUsername.Label"))+"\n            ")],1),e.turnstileEnabled?i("div",{staticClass:"turnstile",class:[e.isMobile?"mar-top--small":"mar-top--base"]},[i("turnstile",{ref:"turnstile",attrs:{sitekey:e.turnstileSiteKey,language:e.getSiteText("Turnstile.Language"),action:"login"},on:{response:e.setTurnstileToken,expired:e.turnstileTokenExpired,error:e.setTurnstileError,disable:e.disableTurnstile}})],1):e._e(),i("div",{class:[e.isMobile?"mar-top--small":"mar-top--base"]},[i("iris-notification",{attrs:{roleType:"alertdialog",useDuration:!1,kind:"inline",showLeadingIcon:!0,messageType:"error-light",message:e.errorMessage,showCloseIcon:!1,showTrailingContent:!1,showTimeoutBar:!1,iconName:"alert-line",iconIsIconDecorative:!1,iconAriaLabel:"error",show:e.hasInvalidChallengeStatus,"data-cy":"invalidChallenge",closeAriaLabel:"Close notification"}})],1),i("div",{class:[e.isMobile?"mar-top--small":"mar-top--base"]},[i("iris-notification",{attrs:{roleType:"alertdialog",useDuration:!1,kind:"inline",showLeadingIcon:!0,messageType:"error",message:e.serverErrorMessage,showCloseIcon:!1,showTrailingContent:!1,showTimeoutBar:!1,iconName:"alert-line",iconIsIconDecorative:!1,iconAriaLabel:"error",show:e.displayServerError,"data-cy":"serverError",closeAriaLabel:"Close notification"}})],1),i("div",{class:["isotope-actions",e.isMobile?"mar-top--small":"mar-top--base"]},[i("iris-button",{attrs:{id:e.elementIds.AuthenticationSubmit,fullWidth:!0,isDisabled:e.submitDisabled,text:e._f("sitetext")("UsernameAndPassword.Button.Login"),isLoading:e.submitting,loadingText:e._f("sitetext")("UsernameAndPassword.Button.Login.Loading"),type:"submit"}}),e.showForgotUsernameLink||e.showForgotPasswordLink?i("forgot-links",{class:["forgotLinks",e.isMobile?"":"mar-bottom--sm"]}):e._e(),e.isMobile||e.shouldHideRegistration?e._e():i("iris-button",{class:["registration",e.showAccountOpeningLink?"":"mar-top--base"],attrs:{kind:"lowEmphasis",fullWidth:!0,text:e._f("sitetext")("UsernameAndPassword.Button.Register")},on:{"button-click":e.goToRegistration}}),e.isMobile&&!e.shouldHideRegistration?i("a",{staticClass:"registration mar-top--sm",on:{click:e.goToRegistration}},[e._v("\n                    "+e._s(e._f("sitetext")("UsernameAndPassword.Button.Register"))+"\n                ")]):e._e(),e.showAccountOpeningLink?i("div",{class:["openAccountDiv",e.isMobile?"mar-top--small":""]},[i("a",{staticClass:"openAccount",attrs:{href:e.openAccountRedirectUrl}},[e._v("\n                        "+e._s(e._f("sitetext")("DigitalAccountOpening.DisplayLink.Label"))+"\n                    ")])]):e._e()],1)],1),e.desktopLoginLayers.length>0?i("div",{staticClass:"graphicPanelContainer isotope-hidden--mobile"},e._l(e.desktopLoginLayers,(function(e,t){return i("div",{key:"layer_"+t,class:["graphicPanelContainer__layer","graphicPanelContainer__layer"+t+"--"+e.type]})})),0):e._e(),i("div",{staticClass:"mar-bottom--small isotope-hidden--desktop"})],1)],1)},s=[]},function(e,t,i){"use strict";i.d(t,"a",(function(){return r})),i.d(t,"b",(function(){return s}));var r=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"isotope-challenge-type--username-recovered"},[i("container-slide",{staticClass:"username-recovered"},[i("template",{slot:"header"},[i("SlideHeaderWithNav",{attrs:{url:e.baseUrl()}})],1),i("div",{staticClass:"username-recovered-center",class:[e.isMobile?"mar-top--xl":"mar-top--2xl"]},[i("div",{staticClass:"username-recovered-container"},[i("div",{ref:"usernameRecovered",staticClass:"username-recovered-content",attrs:{tabindex:"-1"}},[i("div",{staticClass:"username-recovered-heading"},[e._v("\n                        "+e._s(e._f("sitetext")("ForgotUsername.Complete.Heading"))+"\n                    ")]),i("div",{staticClass:"username-recovered-name"},[e._v("\n                        "+e._s(e.recoveredUsername())+"\n                    ")])]),i("div",{staticClass:"username-recovered-footer"},[i("iris-button",{attrs:{id:"loginBtn",text:e._f("sitetext")("ForgotUsername.Complete.Button.Text"),fullWidth:!1,href:e.baseUrl(),kind:"highEmphasis"}})],1)])])],2)],1)},s=[]},function(e,t,i){"use strict";i.d(t,"a",(function(){return r})),i.d(t,"b",(function(){return s}));var r=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("form",{staticClass:"isotope-slide",attrs:{role:"form"},on:{submit:function(t){return t.preventDefault(),e.$emit("submit",t)}}},[e.hasHeader?i("div",{staticClass:"isotope-slide__header"},[e._t("header")],2):e._e(),i("div",{staticClass:"isotope-slide__content"},[e._t("default")],2),e.hasFooter?i("div",{staticClass:"isotope-slide__footer"},[e._t("footer")],2):e._e()])},s=[]},function(e,t,i){"use strict";i.d(t,"a",(function(){return r})),i.d(t,"b",(function(){return s}));var r=function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"syncFailure"},[t("div",{staticClass:"syncAnimation error"}),t("div",{staticClass:"mar-top--base"},[t("div",[t("slide-header",{attrs:{"data-cy":"header",header:this._f("sitetext")("Sync.SyncError.Header"),subtitle:this.errorMessage}}),t("iris-button",{staticClass:"mar-top--big",attrs:{"data-cy":"button",type:"button",text:this._f("sitetext")(this.buttonText),href:this.url}})],1)])])},s=[]},function(e,t,i){"use strict";i.d(t,"a",(function(){return r})),i.d(t,"b",(function(){return s}));var r=function(){var e=this.$createElement,t=this._self._c||e;return t("div",[t("h1",{ref:"heading",staticClass:"font-medium-heading",attrs:{tabindex:"-1"}},[this._v("\n        "+this._s(this.header)+"\n    ")]),t("p",{staticClass:"mar-top--small font-body-2"},[this._v("\n        "+this._s(this.subtitle)+"\n    ")])])},s=[]},function(e,t,i){"use strict";i.d(t,"a",(function(){return r})),i.d(t,"b",(function(){return s}));var r=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("form",{staticClass:"container-slide container-slide--content",class:{"container-slide--mobile":e.isMobile},attrs:{role:"form"},on:{submit:function(t){return t.preventDefault(),e.$emit("submit",t)}}},[i("div",{staticClass:"slide__header"},[e._t("header")],2),i("div",{staticClass:"slide__content"},[e._t("default")],2),e.hasFooter?i("div",{staticClass:"slide__footer",class:{"container-slide-footer--mobile":e.isMobile}},[e._t("footer")],2):e._e()])},s=[]},function(e,t,i){"use strict";i.d(t,"a",(function(){return r})),i.d(t,"b",(function(){return s}));var r=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{ref:"slide",staticClass:"slide-header-with-nav"},[i("div",{staticClass:"slide-header-close",class:{"slide-header-close--mobile":e.isMobile}},[i("iris-quick-action-button",{attrs:{id:"closeButton",kind:"mediumEmphasis",avatarProps:{mainIconName:"cancel-x",size:"small"},label:e.closeButtonText},on:{"quick-action-button-click":function(t){return e.clickCloseButton(t)}}})],1),i("ProgressBar",{staticClass:"progress"}),i("iris-notification",{staticClass:"slide-header-notification",attrs:{"data-cy":"slideHeaderNotification",roleType:"alert",useDuration:!1,kind:"inline",showLeadingIcon:!0,messageType:"error-light",message:e.errorMessage,showCloseIcon:!1,showTrailingContent:!1,showTimeoutBar:!1,iconName:"alert-line",iconIsIconDecorative:!1,iconAriaLabel:"closeError",show:e.displayErrorMessage,closeAriaLabel:"Close notification"},on:{"update:show":function(t){e.displayErrorMessage=t},"notification-close":e.closeNotification}}),i("iris-sheet",{attrs:{contentToggle:e.contentToggle,irisSheetHeader:!1,irisSheetFooter:!0,kind:"partial",suppressed:!0,showCloseButton:!1},on:{"update:contentToggle":function(t){e.contentToggle=t},"update:content-toggle":function(t){e.contentToggle=t},"sheet:closed":e.sheetClosed},scopedSlots:e._u([{key:"irisSheetContent",fn:function(){return[i("div",{staticClass:"close-confirm-heading text--center mar-top--xl mar-bottom--md"},[e._v("\n                "+e._s(e._f("sitetext")("ForgotWorkflow.Close.Confirm.Header"))+"\n            ")]),i("div",{staticClass:"text--center close-confirm-text"},[e._v("\n                "+e._s(e.cancelConfirmText())+"\n            ")])]},proxy:!0},{key:"irisSheetFooter",fn:function(){return[i("iris-button",{attrs:{id:"btn_confirmClose",kind:"highEmphasis",text:e._f("sitetext")("ForgotWorkflow.Close.Confirm.Button.Text"),fullWidth:!0},on:{"button-click":function(t){return e.clickConfirmClose()}}}),i("iris-button",{attrs:{id:"btn_cancelClose",kind:"lowEmphasis",text:e._f("sitetext")("ForgotWorkflow.Close.Cancel.Button.Text"),fullWidth:!0},on:{"button-click":function(t){return e.clickCancelClose()}}})]},proxy:!0}])})],1)},s=[]},function(e,t,i){"use strict";i.d(t,"a",(function(){return r})),i.d(t,"b",(function(){return s}));var r=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"isotope-challenge-type--choose-scenario"},[i("container-slide",{staticClass:"choose-scenario--container-slide",on:{submit:function(t){return t.preventDefault(),e.submitForm()}}},[i("template",{slot:"header"},[i("SlideHeaderWithNav",{attrs:{url:e.baseUrl()}})],1),i("isotope-header",{attrs:{siteText:e.scenarioType()+".ChooseScenario.Heading"}}),i("div",{staticClass:"choose-scenario--container"},e._l(e.scenarios,(function(t){return i("span",{key:t.Id,attrs:{role:"button",tabindex:"0"},on:{click:function(i){return e.selectScenario(t.Id)},keyup:function(i){return!i.type.indexOf("key")&&e._k(i.keyCode,"enter",13,i.key,"Enter")?null:e.selectScenario(t.Id)}}},[i("iris-card",{staticClass:"choose-scenario--card",attrs:{name:e.cardName,hasHoverState:!0,hasActiveState:!0,cardCursorPointer:"pointer"}},[i("h2",{staticClass:"font-content-heading--activity-description choose-scenario--text mar--0 font-size--sm"},[e._v("\n                        "+e._s(e._f("sitetext")(e.scenarioType()+".ChooseScenario."+t.Name+".Text"))+"\n                    ")]),i("div",{staticClass:"font-content-heading--activity-description-label choose-scenario--description mar--0 font-size--xs"},[e._v("\n                        "+e._s(e._f("sitetext")(e.scenarioType()+".ChooseScenario."+t.Name+".Description"))+"\n                    ")])])],1)})),0)],2)],1)},s=[]},function(e,t,i){"use strict";i.d(t,"a",(function(){return r})),i.d(t,"b",(function(){return s}));var r=function(){var e=this.$createElement;return(this._self._c||e)("div",{ref:"heading",class:this.cssClasses,attrs:{tabindex:"-1",role:"heading","data-cy":"isotope-header","aria-level":"1"}},[this._v("\n    "+this._s(this._f("sitetext")(this.siteText))+"\n")])},s=[]},function(e,t,i){"use strict";i.d(t,"a",(function(){return r})),i.d(t,"b",(function(){return s}));var r=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"field-group"},[i("div",{staticClass:"mar-child-bottom--small"},[i("p",[e._v("\n            "+e._s(e.textForGroup(e.scenarioType,e.index))+"\n        ")])]),e._l(e.fields,(function(t){return i("user-identifying-field",{key:t.Id,staticClass:"mar-child-bottom--small",attrs:{id:t.Id,fieldType:t.IdentifyingFieldType,isRequired:t.IsRequired,isSensitive:t.IsSensitive,scenarioType:e.scenarioType,scenarioName:e.scenarioName,regex:t.MatchRegEx},on:{"validation-check":e.validationCheck},model:{value:t.Value,callback:function(i){e.$set(t,"Value",i)},expression:"field.Value"}})}))],2)},s=[]},function(e,t,i){"use strict";i.d(t,"a",(function(){return r})),i.d(t,"b",(function(){return s}));var r=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[i("div",{staticClass:"disclosure",attrs:{"data-cy":"disclosure-text"},domProps:{innerHTML:e._s(e.content)},on:{scroll:e.scrollDisclosure}}),i("div",{attrs:{id:"accept-disclosure-wrapper"}},[i("iris-checkbox",{staticClass:"accept-disclosure-checkbox",class:{"disclosure-checkbox--mobile":e.isMobile},attrs:{id:e.elementIds.DisclosureCheckbox,"data-cy":"accept-disclosure-checkbox",label:e.checkboxLabel,isLowEmphasis:!1},on:{"checkbox-change":e.toggleAccepted}}),i("iris-quick-action-button",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.printLinkText,expression:"printLinkText"}],staticClass:"disclosure-print",class:{hidden:e.isMobile},attrs:{"data-cy":"disclosure-print",label:e.printLinkText,kind:"mediumEmphasis",variation:"embedded",alignment:"left","avatar-props":{mainIconName:"print",size:"small"},target:"_blank",href:e.disclosurePrintLink},on:{"quick-action-button-click":e.printClicked}})],1)])},s=[]},function(e,t,i){"use strict";i.d(t,"a",(function(){return r})),i.d(t,"b",(function(){return s}));var r=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"stepUpOption"},[i("iris-radio-button",{attrs:{label:e.getText("Label"),value:e.stepUpType,name:e.elementIds.StepUpCategory},on:{"radio-button-change":e.buttonChanged}}),i("div",{staticClass:"stepUpDetails"},[i("div",{staticClass:"stepUpDescription"},[e._v("\n            "+e._s(e.getText("Description"))+"\n        ")]),e.showDropdown?i("iris-select-dropdown",{staticClass:"stepUpDestinations",attrs:{name:e.elementIds.StepUpDestination,strings:e.getStrings,items:e.getItems,showListDividers:!0},model:{value:e.selectedDestination,callback:function(t){e.selectedDestination=t},expression:"selectedDestination"}}):e._e()],1)],1)},s=[]},function(e,t,i){"use strict";i.d(t,"a",(function(){return r})),i.d(t,"b",(function(){return s}));var r=function(){var e=this.$createElement;return(this._self._c||e)("div",{ref:"turnstileContainer"})},s=[]},function(e,t,i){"use strict";i.d(t,"a",(function(){return r})),i.d(t,"b",(function(){return s}));var r=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[i("span",e._g({class:{"font-caption":!e.isMobile},attrs:{"data-cy":"FUFPText"},domProps:{innerHTML:e._s(e.FUFPText)},on:{click:function(t){return t.preventDefault(),e.handleClick.apply(null,arguments)}}},e.useIrisSheetForFUFP?{click:e.mobileForgotUsernameOrPassword}:{})),e.useIrisSheetForFUFP?i("iris-sheet",{attrs:{kind:"partial",irisSheetHeader:!1,showScrim:!0,suppressed:!0,contentToggle:e.FUFPToggle,"data-cy":"FUFPSheet"},on:{"update:contentToggle":function(t){e.FUFPToggle=t},"update:content-toggle":function(t){e.FUFPToggle=t}},scopedSlots:e._u([{key:"irisSheetContent",fn:function(){return[i("a",{staticClass:"FUFPLink",attrs:{"data-cy":"username",href:e.forgotUsernameUrl},on:{click:function(t){return t.preventDefault(),e.handleClick.apply(null,arguments)}}},[e._v("\n                "+e._s(e._f("sitetext")("UsernameAndPassword.Link.ForgotUsername"))+"\n                "),i("iris-avatar",{attrs:{mainIconName:"angle",letterIconColor:"rgb(var(--colorBrandedAffordanceAccessible))"}})],1),i("hr",{staticClass:"irisv-divider"}),i("a",{staticClass:"FUFPLink",attrs:{"data-cy":"password",href:e.forgotPasswordUrl},on:{click:function(t){return t.preventDefault(),e.handleClick.apply(null,arguments)}}},[e._v("\n                "+e._s(e._f("sitetext")("UsernameAndPassword.Link.ForgotPassword"))+"\n                "),i("iris-avatar",{attrs:{mainIconName:"angle",letterIconColor:"rgb(var(--colorBrandedAffordanceAccessible))"}})],1)]},proxy:!0}],null,!1,1202909185)}):e._e()],1)},s=[]},function(e,t,i){"use strict";i.d(t,"a",(function(){return r})),i.d(t,"b",(function(){return s}));var r=function(){var e=this.$createElement;return(this._self._c||e)("isotope-slide",{staticClass:"stepup-biometric"},[this._v("\n    Biometric\n")])},s=[]},function(e,t,i){"use strict";i.d(t,"a",(function(){return r})),i.d(t,"b",(function(){return s}));var r=function(){var e=this.$createElement;return(this._self._c||e)("code-stepup",{staticClass:"isotope-step-up-category--email-code",attrs:{stepUpCategory:this.stepUpCategory}})},s=[]},function(e,t,i){"use strict";i.d(t,"a",(function(){return r})),i.d(t,"b",(function(){return s}));var r=function(){var e=this.$createElement;return(this._self._c||e)("isotope-slide",{staticClass:"stepup-push-notification"},[this._v("\n    Push Notification\n")])},s=[]},function(e,t,i){"use strict";i.d(t,"a",(function(){return r})),i.d(t,"b",(function(){return s}));var r=function(){var e=this.$createElement;return(this._self._c||e)("isotope-slide",{staticClass:"stepup-questions-and-answers"},[this._v("\n    Questions And Answers\n")])},s=[]},function(e,t,i){"use strict";i.d(t,"a",(function(){return r})),i.d(t,"b",(function(){return s}));var r=function(){var e=this.$createElement;return(this._self._c||e)("code-stepup",{staticClass:"isotope-step-up-category--sms-code",attrs:{stepUpCategory:this.stepUpCategory}})},s=[]},function(e,t,i){"use strict";i.d(t,"a",(function(){return r})),i.d(t,"b",(function(){return s}));var r=function(){var e=this.$createElement;return(this._self._c||e)("token-stepup",{staticClass:"isotope-step-up-category--totp",attrs:{stepUpCategory:this.stepUpCategory,tokenLength:6}})},s=[]},function(e,t,i){"use strict";i.d(t,"a",(function(){return r})),i.d(t,"b",(function(){return s}));var r=function(){var e=this.$createElement;return(this._self._c||e)("token-stepup",{staticClass:"isotope-step-up-category--token",attrs:{stepUpCategory:this.stepUpCategory,tokenLength:8}})},s=[]},function(e,t,i){"use strict";i.d(t,"a",(function(){return r})),i.d(t,"b",(function(){return s}));var r=function(){var e=this.$createElement;return(this._self._c||e)("isotope-slide",{staticClass:"stepup-unknown"},[this._v("\n    Unknown MFA Option\n")])},s=[]},function(e,t,i){"use strict";i.d(t,"a",(function(){return r})),i.d(t,"b",(function(){return s}));var r=function(){var e=this.$createElement;return(this._self._c||e)("code-stepup",{staticClass:"isotope-step-up-category--voice-code",attrs:{stepUpCategory:this.stepUpCategory}})},s=[]},function(e,t,i){"use strict";i.d(t,"a",(function(){return r})),i.d(t,"b",(function(){return s}));var r=function(){var e=this.$createElement;return(this._self._c||e)("isotope-slide",{staticClass:"stepup-voice-prompt"},[this._v("\n    Voice Prompt\n")])},s=[]},function(e,t,i){"use strict";i.d(t,"a",(function(){return r})),i.d(t,"b",(function(){return s}));var r=function(){var e=this.$createElement;return(this._self._c||e)("isotope-slide",{staticClass:"stepup-web-authn"},[this._v("\n    Web Authn\n")])},s=[]},function(e,t,i){"use strict";i.d(t,"a",(function(){return r})),i.d(t,"b",(function(){return s}));var r=function(){var e=this.$createElement,t=this._self._c||e;return this.showProgressBar?t("div",{staticClass:"progressBarContainer"},[t("div",{staticClass:"progressBarHeading"},[this._v("\n        "+this._s(this.progressBarHeading)+"\n    ")]),t("div",{staticClass:"progressBarBackground"},[t("div",{staticClass:"progressBar",style:{width:this.percentComplete+"%"}})])]):this._e()},s=[]},function(e,t,i){"use strict";i.d(t,"a",(function(){return r})),i.d(t,"b",(function(){return s}));var r=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[e.isOfFieldType(e.fieldType,"IsBusiness")?i("iris-checkbox",{attrs:{name:e.getNameForField(e.fieldType),label:e.label(e.fieldType,e.scenarioType)},model:{value:e.inputVal,callback:function(t){e.inputVal=t},expression:"inputVal"}}):e.isOfFieldType(e.fieldType,"State")?i("iris-textfield-dropdown",{attrs:{name:e.getNameForField(e.fieldType),label:e.label(e.fieldType,e.scenarioType),isOptional:!e.isRequired,helperText:e.helperText(e.fieldType,e.scenarioType),optionalText:e.optionalText(),items:e.states,validationRules:e.validationRules(e.fieldType,e.scenarioType)},on:{"validation-check":e.validationCheck,"textfield-focus":e.handleTextfieldFocus},model:{value:e.inputVal,callback:function(t){e.inputVal=t},expression:"inputVal"}}):e.isOfFieldType(e.fieldType,"DateOfBirth")?i("iris-textfield-date",{attrs:{name:e.getNameForField(e.fieldType),label:e.label(e.fieldType,e.scenarioType),isOptional:!e.isRequired,optionalText:e.optionalText(),validationRules:e.validationRules(e.fieldType,e.scenarioType)},on:{"validation-check":e.validationCheck,"textfield-focus":e.handleTextfieldFocus},model:{value:e.inputVal,callback:function(t){e.inputVal=t},expression:"inputVal"}}):e.isSensitive&&null!==e.validationRules(e.fieldType)?i("iris-textfield-password",{attrs:{name:e.getNameForField(e.fieldType),label:e.label(e.fieldType,e.scenarioType),isOptional:!e.isRequired,helperText:e.helperText(e.fieldType,e.scenarioType),optionalText:e.optionalText(),requiredValidationErrorMessaging:e.requiredText(e.fieldType,e.scenarioType),validationRules:e.validationRules(e.fieldType,e.scenarioType),hidePasswordIconAriaLabel:e.toggleHiddenText(e.fieldType,"Hide"),showPasswordIconAriaLabel:e.toggleHiddenText(e.fieldType,"Show")},on:{"validation-check":e.validationCheck,"textfield-focus":e.handleTextfieldFocus},model:{value:e.inputVal,callback:function(t){e.inputVal=t},expression:"inputVal"}}):e.isSensitive&&null===e.validationRules(e.fieldType)?i("iris-textfield-password",{attrs:{name:e.getNameForField(e.fieldType),label:e.label(e.fieldType,e.scenarioType),isOptional:!e.isRequired,helperText:e.helperText(e.fieldType,e.scenarioType),optionalText:e.optionalText(),requiredValidationErrorMessaging:e.requiredText(e.fieldType,e.scenarioType),hidePasswordIconAriaLabel:e.toggleHiddenText(e.fieldType,"Hide"),showPasswordIconAriaLabel:e.toggleHiddenText(e.fieldType,"Show")},on:{"validation-check":e.validationCheck,"textfield-focus":e.handleTextfieldFocus},model:{value:e.inputVal,callback:function(t){e.inputVal=t},expression:"inputVal"}}):e.isSensitive||null===e.validationRules(e.fieldType)?i("iris-textfield",{attrs:{name:e.getNameForField(e.fieldType),label:e.label(e.fieldType,e.scenarioType),isOptional:!e.isRequired,helperText:e.helperText(e.fieldType,e.scenarioType),optionalText:e.optionalText(),requiredValidationErrorMessaging:e.requiredText(e.fieldType,e.scenarioType)},on:{"validation-check":e.validationCheck,"textfield-focus":e.handleTextfieldFocus},model:{value:e.inputVal,callback:function(t){e.inputVal=t},expression:"inputVal"}}):i("iris-textfield",{attrs:{name:e.getNameForField(e.fieldType),label:e.label(e.fieldType,e.scenarioType),isOptional:!e.isRequired,helperText:e.helperText(e.fieldType,e.scenarioType),optionalText:e.optionalText(),requiredValidationErrorMessaging:e.requiredText(e.fieldType,e.scenarioType),validationRules:e.validationRules(e.fieldType,e.scenarioType)},on:{"validation-check":e.validationCheck,"textfield-focus":e.handleTextfieldFocus},model:{value:e.inputVal,callback:function(t){e.inputVal=t},expression:"inputVal"}})],1)},s=[]},function(e,t,i){"use strict";i.d(t,"a",(function(){return r})),i.d(t,"b",(function(){return s}));var r=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("isotope-slide",{staticClass:"code-stepup",on:{submit:function(t){return t.preventDefault(),e.sendCode()}}},[i("div",{staticClass:"isotope-hidden--mobile"},[i("slide-header",{attrs:{header:e.header,subtitle:e.subtitle}}),i("div",{staticClass:"mar-bottom--gigantic"})],1),i("div",{staticClass:"mar-bottom--small"},[i("div",{staticClass:"mar-top--small stepup-error"},[i("iris-notification",{attrs:{roleType:"alertdialog",useDuration:!1,kind:"inline",showLeadingIcon:!0,messageType:"error",message:e._f("sitetext")("Error.Generic"),showCloseIcon:!1,showTrailingContent:!1,showTimeoutBar:!1,iconName:"alert-line",iconIsIconDecorative:!1,iconAriaLabel:"error",show:e.hasServerError,closeAriaLabel:"Close notification"}})],1),i("div",{attrs:{id:e.ariaDescriptionId}},[e._v("\n            "+e._s(e._f("sitetext")("StepUp.OneTimeCode.Destination."+e.stepUpCategory.StepUpModel.AuthenticationFactorValue+".Description"))+"\n        ")]),e.destinations.length?i("fieldset",{staticClass:"select-destination isotope-actions",attrs:{"aria-describedby":e.ariaDescriptionId}},e._l(e.destinations,(function(t){return i("iris-cloaked-checkmark",{key:t.$id,staticClass:"code-stepup--row-destinations no-title",attrs:{name:"destinations",isSingleSelection:"",isChecked:e.selectedDestinationId===t.$id,label:t.MaskedAddress.toLowerCase(),value:t.$id,hasRightAlignCheckmark:""},on:{"cloaked-checkmark-change":function(i){return e.changeDestinationSelection(t.$id)}}})})),1):e._e()]),i("div",{staticClass:"isotope-actions"},[i("remember-device")],1),i("template",{slot:"footer"},[i("div",{staticClass:"isotope-actions isotope-actions--row-reverse",class:{"mar-bottom--small":e.isMobile}},[i("iris-button",{class:{"mar-bottom--tiny":e.isMobile},attrs:{"data-cy":"sendCode",type:"submit",isDisabled:e.isSubmitting||e.navigatingBack,isLoading:e.isSubmitting,text:e._f("sitetext")("CodeStepup.Button.SendCode")}}),i("iris-button",{class:{"mar-right--tiny":!e.isMobile},attrs:{kind:"lowEmphasis",disabled:e.isSubmitting||e.navigatingBack,isLoading:e.navigatingBack,text:e._f("sitetext")("MFA.Button.Navigate.Back")},on:{"button-click":function(t){return e.navigateBack()}}})],1)])],2)},s=[]},function(e,t,i){"use strict";i.d(t,"a",(function(){return r})),i.d(t,"b",(function(){return s}));var r=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("isotope-slide",{staticClass:"isotope-step-up-category--token",on:{submit:function(t){return t.preventDefault(),e.verifyCode()}}},[i("div",{staticClass:"isotope-hidden--mobile"},[i("slide-header",{attrs:{header:e.header,subtitle:e.subtitle}}),i("div",{staticClass:"mar-bottom--gigantic"})],1),i("div",{staticClass:"isotope-actions mar-bottom--big"},[i("div",{staticClass:"mar-top--small stepup-error"},[i("iris-notification",{attrs:{roleType:"alertdialog",useDuration:!1,kind:"inline",showLeadingIcon:!0,messageType:"error",message:e._f("sitetext")("Error.Generic"),showCloseIcon:!1,showTrailingContent:!1,showTimeoutBar:!1,iconName:"alert-line",iconIsIconDecorative:!1,iconAriaLabel:"error",show:e.hasServerError,closeAriaLabel:"Close notification"}})],1),i("iris-display-input-field-specified",{attrs:{elementId:e.elementId,actiontext:e._f("sitetext")("StepUp.Token.DisplayInput.ActionText"),align:"center",hasError:e.hasError,errortext:e.errorText,helpertext:e.inputHelperText,keyboardType:"numeric",maxlength:e.tokenLength,minlength:e.tokenLength},on:{"display-input-field-input":e.tokenCodeUpdated,"display-input-field-focus":e.onFocus},model:{value:e.$data.tokenCode,callback:function(t){e.$set(e.$data,"tokenCode",t)},expression:"$data.tokenCode"}})],1),i("div",{staticClass:"isotope-actions"},[i("remember-device")],1),i("template",{slot:"footer"},[i("div",{staticClass:"isotope-actions isotope-actions--row-reverse",class:{"mar-bottom--small":e.isMobile}},[i("iris-button",{class:{"mar-bottom--tiny":e.isMobile},attrs:{id:"btn_SubmitTOTP",isLoading:e.submitting,isDisabled:e.submitting||!e.tokenCode,type:"submit",text:e._f("sitetext")("StepUp.Token.Button.Verify")}}),i("iris-button",{class:{"mar-right--tiny":!e.isMobile},attrs:{kind:"lowEmphasis",disabled:e.isNavigatingBack||e.submitting,text:e._f("sitetext")("MFA.Button.Navigate.Back"),isLoading:e.isNavigatingBack},on:{"button-click":function(t){return e.navigateBack()}}})],1)])],2)},s=[]},function(e,t,i){"use strict";i.d(t,"a",(function(){return r})),i.d(t,"b",(function(){return s}));var r=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[e.canRememberDevice?i("div",[i("div",{staticClass:"remember-device--checkbox mar-bottom--small"},[i("iris-checkbox",{key:"rememberDevice",attrs:{id:"rememberDeviceCheckBox",value:e.rememberDevice,isChecked:e.rememberDevice,label:e._f("sitetext")("RememberDevice.RememberThisDevice")},on:{"checkbox-change":e.toggleRememberStatus}})],1),e.rememberDevice?i("div",[i("iris-textfield",{staticClass:"mar-bottom--small",attrs:{label:e._f("sitetext")("RememberDevice.DeviceName"),hasError:e.hasError,errorMessages:e.errorText,kind:"underline"},model:{value:e.deviceName,callback:function(t){e.deviceName=t},expression:"deviceName"}})],1):e._e(),e.rememberDevice?e._e():i("div",{staticClass:"deviceName-placeholder isotope-hidden--mobile"})]):e._e(),e.showMandatory2faMessage?i("div",{staticClass:"mandatory2fa mar-bottom--small"},[e._v("\n        "+e._s(e._f("sitetext")("RememberDevice.Unavailable.Mandatory2fa"))+"\n    ")]):e._e()])},s=[]},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Workflow=void 0,function(e){e.Authentication="Authentication",e.ForgotUsername="ForgotUsername",e.ForgotPassword="ForgotPassword",e.Registration="Registration"}(t.Workflow||(t.Workflow={}))},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=i(1),s=r.__importDefault(i(2)),n=r.__importDefault(i(224)),a=i(286),o=i(7),l=i(222),h=i(5);s.default.use(n.default),t.default=new n.default.Store({state:{challengeStatus:h.ChallengeStatus.Unknown,currentChallenge:{ChallengeTypeValue:o.ChallengeType.Empty},challengeHistory:[{ChallengeTypeValue:o.ChallengeType.Empty}],configuration:{},errors:[],machineSecretProvider:{},nonce:null,progression:[o.ChallengeType.Empty],isSubmittingChallenge:!1,rememberDevice:!1,deviceName:"",remainOnStepUpScreenOnFailure:!1,rememberUsername:!1,rememberedUsername:"",hasRememberedUsername:!1,authenticatedModel:{username:"",nonce:""},isSyncing:!1,checkSyncResultChallenge:{ChallengeTypeValue:o.ChallengeType.CheckSyncResult},showRememberDevice:!1,isStepUpMandatory:!1,currentWorkflowMaxSteps:0,currentWorkflowStep:0,isResendingOTP:!1,isSubmittingAuthenticatedModel:!1,turnstileToken:"",isCypress:!1,username:""},getters:{currentChallengeType:e=>e.currentChallenge.ChallengeTypeValue,currentChallenge:e=>e.currentChallenge,siteTextMap:e=>e.configuration.siteTextMap,debugSiteText:e=>e.configuration.debugSiteText||!1,loginCredentials:e=>e.configuration.loginCredentials,rememberDevice:e=>e.rememberDevice,deviceName:e=>e.deviceName,remainOnStepUpScreenOnFailure:e=>e.remainOnStepUpScreenOnFailure,canRememberDevice:e=>{const t=e.configuration.machineSecretProvider;return e.showRememberDevice&&null!==t&&""!==t},challengeStatus:e=>e.challengeStatus,rememberUsername:e=>e.rememberUsername,ellipsisConfig:e=>JSON.parse(JSON.stringify(e.configuration.ellipsisConfig)),hasServerError:e=>e.errors.length>0,hasInvalidChallengeStatus:e=>e.challengeStatus!==h.ChallengeStatus.Success&&e.challengeStatus!==h.ChallengeStatus.Unknown,hasSessionExpiredError:e=>e.challengeStatus===h.ChallengeStatus.SessionExpired,isSubmittingChallenge:e=>e.isSubmittingChallenge,authenticatedModel:e=>e.authenticatedModel,isSyncing:e=>e.isSyncing,checkSyncResultChallenge:e=>e.checkSyncResultChallenge,configuration:e=>e.configuration,challengeHistory:e=>e.challengeHistory,showRememberDevice:e=>e.showRememberDevice,isStepUpMandatory:e=>e.isStepUpMandatory,isMobile:e=>!!e.configuration.baseUrl&&e.configuration.baseUrl.toLowerCase().includes("mobile"),isNativeApplication:e=>"true"===e.configuration.isNativeApplication.toLowerCase(),isForgotPasswordWorkflow:e=>{if(e.currentChallenge){return e.currentChallenge.Progression.includes(o.ChallengeType.StartForgotPassword)}return!1},isForgotUsernameWorkflow:e=>{if(e.currentChallenge){return e.currentChallenge.Progression.includes(o.ChallengeType.StartForgotUsername)}return!1},isRegistering:e=>{if(e.currentChallenge){return e.currentChallenge.Progression.includes(o.ChallengeType.StartRegistration)}return!1},workflow:(e,t)=>t.isForgotPasswordWorkflow?l.Workflow.ForgotPassword:t.isForgotUsernameWorkflow?l.Workflow.ForgotUsername:t.isRegistering?l.Workflow.Registration:l.Workflow.Authentication,currentWorkflowMaxSteps:e=>e.currentWorkflowMaxSteps,currentWorkflowStep:e=>e.currentWorkflowStep,isResendingOTP:e=>e.isResendingOTP,isSubmittingAuthenticatedModel:e=>e.isSubmittingAuthenticatedModel,displayAccountOpeningLink:e=>{var t;return"true"===(null===(t=e.configuration.displayAccountOpeningLink)||void 0===t?void 0:t.toLowerCase())},displayForgotPasswordLink:e=>{var t;return"true"===(null===(t=e.configuration.displayForgotPasswordLink)||void 0===t?void 0:t.toLowerCase())},displayForgotUsernameLink:e=>{var t;return"true"===(null===(t=e.configuration.displayForgotUsernameLink)||void 0===t?void 0:t.toLowerCase())},enableAppStoreNavigationPrompt:e=>{var t;return"true"===(null===(t=e.configuration.enableAppStoreNavigationPrompt)||void 0===t?void 0:t.toLowerCase())},disableDesktopRegistration:e=>{var t;return"true"===(null===(t=e.configuration.disableDesktopRegistration)||void 0===t?void 0:t.toLocaleLowerCase())},initialChallengeType:e=>e.configuration.initialChallengeType,username:e=>e.username},mutations:{configuration:(e,t)=>{e.configuration=t},errors:(e,t)=>{e.errors=t},machineSecretProvider:(e,t)=>{e.machineSecretProvider=t},currentChallenge:(e,t)=>{e.currentChallenge=t,e.challengeHistory.push(t)},challengeStatus:(e,t)=>{e.challengeStatus=t},isSubmittingChallenge:(e,t)=>{e.isSubmittingChallenge=t},clearLoginCredentials:e=>{e.configuration.loginCredentials=void 0},setRememberDevice:(e,t)=>{e.rememberDevice=t},setDeviceName:(e,t)=>{e.deviceName=t},setRemainOnStepUpScreenOnFailure:(e,t)=>{e.remainOnStepUpScreenOnFailure=t},setRememberUsername:(e,t)=>{e.rememberUsername=t},updateEllipsisConfig:(e,t)=>{e.configuration.ellipsisConfig=t},setRememberedUsername:(e,t)=>{e.rememberedUsername=t},hasRememberedUsername:(e,t)=>{e.hasRememberedUsername=t},authenticatedModel:(e,t)=>{e.authenticatedModel=t},isSyncing:(e,t)=>{e.isSyncing=t},setShowRememberDevice:(e,t)=>{e.showRememberDevice=t},setIsStepUpMandatory:(e,t)=>{e.isStepUpMandatory=t},setCurrentWorkflowMaxSteps:(e,t)=>{e.currentWorkflowMaxSteps=t},setCurrentWorkflowStep:(e,t)=>{e.currentWorkflowStep=t},setIsResendingOTP:(e,t)=>{e.isResendingOTP=t},setIsSubmittingAuthenticatedModel:(e,t)=>{e.isSubmittingAuthenticatedModel=t},setTurnstileToken:(e,t)=>{e.turnstileToken=t},setTurnstileEnableState:(e,t)=>{e.configuration.turnstileEnabled=t},isCypress:(e,t)=>{e.isCypress=t},setUserName:(e,t)=>{e.username=t}},actions:{debug:(e,t)=>{e.commit("configuration",{...e.state.configuration,debugSiteText:t})},initializeIsotope:async(e,t)=>{const i=t.configuration;return e.commit("configuration",i),e.dispatch("submitChallenge",{})},submitChallenge:async(e,t)=>{const i=new a.ChallengeProcessor(e,t);let r=null;try{r=await i.submitChallenge()}catch(e){if("function"==typeof e.json)try{r=await e.json()}catch(e){}else r=e}return null==r||null==r.ChallengeStatusValue&&null==r.ValidationResults?(e.commit("errors",[{CustomSubCode:"",ErrorCode:0,Field:"",ItemIndex:0,Message:"An unknown error occurred.",Origin:t.ChallengeTypeValue,Severity:1,SubCode:0}]),e.commit("isSubmittingChallenge",!1),r):i.postSubmitChallenge(r)},goToPreviousChallenge:e=>{const t=e.state.challengeHistory.pop();let i=e.state.challengeHistory.pop();for(;t.ChallengeTypeValue===i.ChallengeTypeValue;)i=e.state.challengeHistory.pop();if(!t||t.ChallengeTypeValue===o.ChallengeType.Empty||!i||i.ChallengeTypeValue===o.ChallengeType.Empty)return;const r={...t,...i,Nonce:t.Nonce,Progression:t.Progression};if(e.state.currentWorkflowMaxSteps>0){const t=e.state.currentWorkflowStep-1;e.commit("setCurrentWorkflowStep",t)}e.commit("currentChallenge",r)},resetErrorStatus:e=>{e.commit("errors",[]),e.commit("challengeStatus",h.ChallengeStatus.Unknown)},getRememberedUsername:async e=>{try{const t=e.state.configuration;if(t.initialChallengeType!==o.ChallengeType.Tethered){const i=await(0,a.GetRememberedUsername)(t);""!==i&&e.commit("hasRememberedUsername",!0),e.commit("setRememberedUsername",i)}}catch(e){}},setChallengeStatus:(e,t)=>{e.commit("challengeStatus",t)},setRememberUsername:async(e,t)=>{var i;if(e.commit("setRememberUsername",t),!0===window.Alkami.Helpers.isNativeApplication()&&"function"==typeof(null===(i=window.f_rememberMeSwitch)||void 0===i?void 0:i.postMessage)&&window.f_rememberMeSwitch.postMessage(JSON.stringify({rememberMe:t})),!t&&!0===e.state.hasRememberedUsername)try{e.commit("hasRememberedUsername",!1);const t=e.state.configuration;await(0,a.RemoveRememberedUsername)(t)}catch(t){console.error("Error unsetting remember username",t),e.commit("hasRememberedUsername",!0)}}}})},function(e,t){e.exports=Vuex},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=i(288),s=i(289),n=i(290);t.default=new class{constructor(){this.provider=new n.DefaultMachineSecretProvider}createProvider(e){let t;switch(e){case r.MachineSecretProviderType.EntrustRememberedDevicesProvider:t=new s.EntrustMachineSecretProvider;break;default:t=new n.DefaultMachineSecretProvider}return this.provider=t,t}get machineSecretProvider(){return this.provider}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return Array.from(e).reduce((e,t)=>{const i=t[0],r=t[1];return e[i]=r,e},{})}},function(e,t,i){"use strict";i.r(t);var r=i(162),s=i(32);for(var n in s)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return s[e]}))}(n);var a=i(0),o=Object(a.a)(s.default,r.a,r.b,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";i.r(t);var r=i(163),s=i(34);for(var n in s)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return s[e]}))}(n);i(309);var a=i(0),o=Object(a.a)(s.default,r.a,r.b,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";i.r(t);var r=i(195),s=i(38);for(var n in s)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return s[e]}))}(n);i(327);var a=i(0),o=Object(a.a)(s.default,r.a,r.b,!1,null,"ee18a92c",null);t.default=o.exports},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSiteTextItem=void 0,t.getSiteTextItem=function(e,t={}){const{debug:i=!1,replacements:r=[],siteTextMap:s={}}=t;let n=s[e];return i?(null==n&&(e="__Localize_Me__"+e),[e,...r].join(" ")):null==n?"__Localize_Me__"+e:(r.length>0&&(n=n.replace(/{(\d+)}/g,(e,t)=>void 0!==r[t]?r[t].toString():e)),n)}},function(e,t,i){"use strict";i.r(t);var r=i(164),s=i(42);for(var n in s)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return s[e]}))}(n);i(310),i(311);var a=i(0),o=Object(a.a)(s.default,r.a,r.b,!1,null,"7cb37c0b",null);t.default=o.exports},function(e,t,i){"use strict";i.r(t);var r=i(165),s=i(50);for(var n in s)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return s[e]}))}(n);var a=i(0),o=Object(a.a)(s.default,r.a,r.b,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UserIdentifyingFieldType=void 0,function(e){e[e.FirstName=0]="FirstName",e[e.LastName=1]="LastName",e[e.TaxId=4]="TaxId",e[e.HomePhone=5]="HomePhone",e[e.WorkPhone=6]="WorkPhone",e[e.CellPhone=7]="CellPhone",e[e.Address=8]="Address",e[e.City=9]="City",e[e.State=10]="State",e[e.ZipCode=11]="ZipCode",e[e.DateOfBirth=12]="DateOfBirth",e[e.MothersMaidenName=14]="MothersMaidenName",e[e.AccountNumber=15]="AccountNumber",e[e.IsBusiness=17]="IsBusiness",e[e.BusinessName=18]="BusinessName",e[e.Password=19]="Password",e[e.MemberNumber=21]="MemberNumber",e[e.Email=22]="Email",e[e.DriversLicenseNumber=23]="DriversLicenseNumber",e[e.CustomField=24]="CustomField",e[e.DebitCardNumber=25]="DebitCardNumber",e[e.CreditCardNumber=26]="CreditCardNumber",e[e.AccountHolderNumber=27]="AccountHolderNumber",e[e.Codeword=28]="Codeword",e[e.PIN=29]="PIN",e[e.EIN=30]="EIN",e[e.Username=31]="Username",e[e.BusinessFirstName=32]="BusinessFirstName",e[e.BusinessLastName=33]="BusinessLastName",e[e.ConfigurableField1=34]="ConfigurableField1",e[e.ConfigurableField2=35]="ConfigurableField2"}(t.UserIdentifyingFieldType||(t.UserIdentifyingFieldType={}))},function(e,t,i){"use strict";i.r(t);var r=i(167),s=i(62);for(var n in s)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return s[e]}))}(n);var a=i(0),o=Object(a.a)(s.default,r.a,r.b,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";i.r(t);var r=i(168),s=i(64);for(var n in s)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return s[e]}))}(n);i(313);var a=i(0),o=Object(a.a)(s.default,r.a,r.b,!1,null,"beefd568",null);t.default=o.exports},function(e,t,i){"use strict";i.r(t);var r=i(169),s=i(66);for(var n in s)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return s[e]}))}(n);i(314);var a=i(0),o=Object(a.a)(s.default,r.a,r.b,!1,null,"7cc8a3fc",null);t.default=o.exports},function(e,t,i){"use strict";i.r(t);var r=i(170),s=i(68);for(var n in s)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return s[e]}))}(n);var a=i(0),o=Object(a.a)(s.default,r.a,r.b,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";i.r(t);var r=i(171),s=i(70);for(var n in s)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return s[e]}))}(n);var a=i(0),o=Object(a.a)(s.default,r.a,r.b,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";i.r(t);var r=i(172),s=i(72);for(var n in s)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return s[e]}))}(n);var a=i(0),o=Object(a.a)(s.default,r.a,r.b,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";i.r(t);var r=i(173),s=i(74);for(var n in s)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return s[e]}))}(n);var a=i(0),o=Object(a.a)(s.default,r.a,r.b,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";i.r(t);var r=i(174),s=i(76);for(var n in s)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return s[e]}))}(n);i(315);var a=i(0),o=Object(a.a)(s.default,r.a,r.b,!1,null,"1a6ea58d",null);t.default=o.exports},function(e,t,i){"use strict";i.r(t);var r=i(202),s=i(78);for(var n in s)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return s[e]}))}(n);i(332);var a=i(0),o=Object(a.a)(s.default,r.a,r.b,!1,null,"3b1a05f1",null);t.default=o.exports},function(e,t,i){"use strict";i.r(t);var r=i(175),s=i(80);for(var n in s)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return s[e]}))}(n);var a=i(0),o=Object(a.a)(s.default,r.a,r.b,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";i.r(t);var r=i(176),s=i(82);for(var n in s)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return s[e]}))}(n);var a=i(0),o=Object(a.a)(s.default,r.a,r.b,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";i.r(t);var r=i(177),s=i(84);for(var n in s)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return s[e]}))}(n);var a=i(0),o=Object(a.a)(s.default,r.a,r.b,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";i.r(t);var r=i(180),s=i(91);for(var n in s)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return s[e]}))}(n);i(318);var a=i(0),o=Object(a.a)(s.default,r.a,r.b,!1,null,"0d06e3c4",null);t.default=o.exports},function(e,t,i){"use strict";i.r(t);var r=i(181),s=i(93);for(var n in s)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return s[e]}))}(n);var a=i(0),o=Object(a.a)(s.default,r.a,r.b,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";i.r(t);var r=i(182),s=i(95);for(var n in s)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return s[e]}))}(n);i(319);var a=i(0),o=Object(a.a)(s.default,r.a,r.b,!1,null,"8c1853a8",null);t.default=o.exports},function(e,t,i){"use strict";i.r(t);var r=i(183),s=i(97);for(var n in s)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return s[e]}))}(n);var a=i(0),o=Object(a.a)(s.default,r.a,r.b,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";i.r(t);var r=i(184),s=i(99);for(var n in s)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return s[e]}))}(n);var a=i(0),o=Object(a.a)(s.default,r.a,r.b,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";i.r(t);var r=i(185),s=i(101);for(var n in s)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return s[e]}))}(n);var a=i(0),o=Object(a.a)(s.default,r.a,r.b,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";i.r(t);var r=i(186),s=i(103);for(var n in s)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return s[e]}))}(n);var a=i(0),o=Object(a.a)(s.default,r.a,r.b,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";i.r(t);var r=i(187),s=i(105);for(var n in s)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return s[e]}))}(n);i(320);var a=i(0),o=Object(a.a)(s.default,r.a,r.b,!1,null,"776f7154",null);t.default=o.exports},function(e,t,i){"use strict";i.r(t);var r=i(206),s=i(107);for(var n in s)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return s[e]}))}(n);var a=i(0),o=Object(a.a)(s.default,r.a,r.b,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";i.r(t);var r=i(207),s=i(109);for(var n in s)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return s[e]}))}(n);var a=i(0),o=Object(a.a)(s.default,r.a,r.b,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";i.r(t);var r=i(221),s=i(113);for(var n in s)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return s[e]}))}(n);i(337);var a=i(0),o=Object(a.a)(s.default,r.a,r.b,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";i.r(t);var r=i(208),s=i(115);for(var n in s)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return s[e]}))}(n);var a=i(0),o=Object(a.a)(s.default,r.a,r.b,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";i.r(t);var r=i(209),s=i(117);for(var n in s)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return s[e]}))}(n);var a=i(0),o=Object(a.a)(s.default,r.a,r.b,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";i.r(t);var r=i(210),s=i(119);for(var n in s)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return s[e]}))}(n);var a=i(0),o=Object(a.a)(s.default,r.a,r.b,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";i.r(t);var r=i(211),s=i(123);for(var n in s)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return s[e]}))}(n);var a=i(0),o=Object(a.a)(s.default,r.a,r.b,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";i.r(t);var r=i(220),s=i(125);for(var n in s)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return s[e]}))}(n);var a=i(0),o=Object(a.a)(s.default,r.a,r.b,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";i.r(t);var r=i(212),s=i(127);for(var n in s)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return s[e]}))}(n);var a=i(0),o=Object(a.a)(s.default,r.a,r.b,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";i.r(t);var r=i(213),s=i(129);for(var n in s)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return s[e]}))}(n);var a=i(0),o=Object(a.a)(s.default,r.a,r.b,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";i.r(t);var r=i(214),s=i(131);for(var n in s)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return s[e]}))}(n);var a=i(0),o=Object(a.a)(s.default,r.a,r.b,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";i.r(t);var r=i(215),s=i(133);for(var n in s)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return s[e]}))}(n);var a=i(0),o=Object(a.a)(s.default,r.a,r.b,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";i.r(t);var r=i(216),s=i(135);for(var n in s)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return s[e]}))}(n);var a=i(0),o=Object(a.a)(s.default,r.a,r.b,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";i.r(t);var r=i(188),s=i(137);for(var n in s)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return s[e]}))}(n);i(321);var a=i(0),o=Object(a.a)(s.default,r.a,r.b,!1,null,"5750e5a7",null);t.default=o.exports},function(e,t,i){"use strict";i.r(t);var r=i(189),s=i(139);for(var n in s)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return s[e]}))}(n);var a=i(0),o=Object(a.a)(s.default,r.a,r.b,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";i.r(t);var r=i(190),s=i(141);for(var n in s)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return s[e]}))}(n);i(322);var a=i(0),o=Object(a.a)(s.default,r.a,r.b,!1,null,"6031e1e4",null);t.default=o.exports},function(e,t,i){"use strict";i.r(t);var r=i(204),s=i(143);for(var n in s)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return s[e]}))}(n);i(334);var a=i(0),o=Object(a.a)(s.default,r.a,r.b,!1,null,"ee916bb4",null);t.default=o.exports},function(e,t,i){"use strict";i.r(t);var r=i(191),s=i(145);for(var n in s)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return s[e]}))}(n);i(323);var a=i(0),o=Object(a.a)(s.default,r.a,r.b,!1,null,"39135195",null);t.default=o.exports},function(e,t,i){"use strict";i.r(t);var r=i(192),s=i(147);for(var n in s)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return s[e]}))}(n);i(324),i(325);var a=i(0),o=Object(a.a)(s.default,r.a,r.b,!1,null,"1d9e8d75",null);t.default=o.exports},function(e,t,i){"use strict";i.r(t);var r=i(193),s=i(151);for(var n in s)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return s[e]}))}(n);i(326);var a=i(0),o=Object(a.a)(s.default,r.a,r.b,!1,null,"d33611bc",null);t.default=o.exports},function(e,t,i){"use strict";i.r(t);var r=i(2),s=i.n(r),n=i(86),a=s.a.extend({name:"one-time-code-destination",components:{OneTimeCode:n.default}}),o=i(0),l=Object(o.a)(a,(function(){var e=this.$createElement;return(this._self._c||e)("one-time-code")}),[],!1,null,null,null);t.default=l.exports},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.init=t.reset=void 0;const r=i(1),s=r.__importDefault(i(2)),n=r.__importDefault(i(276)),a=r.__importDefault(i(277)),o=r.__importDefault(i(223)),l=r.__importDefault(i(225)),h=r.__importDefault(i(15)),u=i(7),c=r.__importDefault(i(302)),d=i(5);let p,f,m=null;function g(){p&&p.$destroy()}function y(e){if(p&&g(),f=e,!f.clientKey)throw new Error("You must specify a clientKey as a Guid");if(!f.redirectUrl)throw new Error("A redirectUrl was not specified.");if(!f.sessionId)throw new Error("A sessionId was not specified.");if(!f.elementId||!document.getElementById(f.elementId))throw new Error("A valid elementId must be provided");const t={},i=Object.keys(u.ChallengeType),r=f.componentOverrides||{};if(r){Object.keys(r).forEach(e=>{i.includes(e)&&(t[e]=r[e])})}if(f.ellipsisConfig){const e=f.ellipsisConfig.findIndex(e=>"/Mobile/Info"===e.href);e>=0&&f.ellipsisConfig.splice(e,1)}const c={...h.default,...t};Object.entries(c).forEach(e=>{s.default.component(e[0],e[1])}),p=new s.default({router:(0,a.default)(f),store:o.default,created(){l.default.createProvider(f.machineSecretProvider),this.$store.commit("configuration",f),"true"===sessionStorage.getItem(d.ChallengeStatus.SessionExpired)&&(this.$store.commit("challengeStatus",d.ChallengeStatus.SessionExpired),sessionStorage.removeItem(d.ChallengeStatus.SessionExpired)),"cypress"===Object({NODE_ENV:"production"}).ALBUS_LOCAL_DEV&&this.$store.commit("isCypress",!0)},render:e=>e(n.default)}).$mount("#"+f.elementId)}"cypress"===Object({NODE_ENV:"production"}).ALBUS_LOCAL_DEV&&(m=(0,c.default)()),t.reset=g,t.init=y;const v=window;v.Alkami=v.Alkami||{},v.Alkami.Isotope={init:y},m&&m.then(()=>fetch("/Isotope/Configuration").then(e=>e.json()).then(e=>{var t;switch((null===(t=e.baseUrl)||void 0===t?void 0:t.toLowerCase().includes("mobile"))&&document.body.classList.add("isotope-mobile"),e.initialChallengeType){case"UsernameAndPassword":document.body.classList.add("Authentication");break;case"StartForgotPassword":document.body.classList.add("ForgotPassword");break;case"StartForgotUsername":document.body.classList.add("ForgotUsername")}y(e)}))},function(e,t,i){"use strict";i.r(t);var r=i(156),s=i(20);for(var n in s)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return s[e]}))}(n);i(305);var a=i(0),o=Object(a.a)(s.default,r.a,r.b,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=i(1),s=r.__importDefault(i(2)),n=r.__importDefault(i(278)),a=r.__importDefault(i(279)),o=r.__importDefault(i(282)),l=r.__importDefault(i(283)),h=r.__importDefault(i(284)),u=r.__importDefault(i(285));s.default.use(n.default),t.default=function(e){return new n.default({mode:"history",base:e.baseUrl||"/",routes:[{path:"/Authentication",component:a.default},{path:"/Registration",component:o.default},{path:"/ForgotUsername",component:l.default},{path:"/ForgotPassword",component:h.default},{path:"/Authentication/LoginGrouping",component:u.default},{path:"*",redirect:"/Authentication"}]})}},function(e,t){e.exports=VueRouter},function(e,t,i){"use strict";i.r(t);var r=i(157),s=i(22);for(var n in s)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return s[e]}))}(n);i(306);var a=i(0),o=Object(a.a)(s.default,r.a,r.b,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.userAction=t.stepName=t.stepType=t.workflowName=void 0,function(e){e.unknown="unknown",e.retail_registration="retail_registration"}(t.workflowName||(t.workflowName={})),function(e){e.unknown="unknown",e.entry="entry",e.progression="progression",e.cancellation="cancellation"}(t.stepType||(t.stepType={})),function(e){e.unknown="unknown",e.login="login",e.registration_type="registration_type",e.disclosure="disclosure",e.confirm_your_identity="confirm_your_identity",e.verify_your_identity="verify_your_identity",e.verification_code="verification_code",e.business_information="business_information",e.create_username="create_username",e.create_password="create_password",e.confirm_contact="confirm_contact",e.quit_confirmation="quit_confirmation"}(t.stepName||(t.stepName={})),function(e){e.unknown="unknown",e.overflow_menu_clicked="overflow_menu_clicked",e.password_show_toggled="password_show_toggled",e.remember_me_checked="remember_me_checked",e.forgot_username_clicked="forgot_username_clicked",e.forgot_password_clicked="forgot_password_clicked",e.register_account_clicked="register_account_clicked",e.cancel_clicked="cancel_clicked",e.individual_account_clicked="individual_account_clicked",e.business_account_clicked="business_account_clicked",e.new_account_selected="new_account_selected",e.continue_clicked="continue_clicked",e.agree_clicked="agree_clicked",e.open_pdf_clicked="open_pdf_clicked",e.print_pdf_clicked="print_pdf_clicked",e.disclosure_scroll="disclosure_scroll",e.verification_type_chosen="verification_type_chosen",e.resend_code_clicked="resend_code_clicked",e.change_method_clicked="change_method_clicked",e.create_username_clicked="create_username_clicked",e.create_password_clicked="create_password_clicked",e.confirm_clicked="confirm_clicked",e.estatements_accept_checked="estatements_accept_checked",e.email_preferences_checked="email_preferences_checked",e.subscribe_pfm_clicked="subscribe_pfm_clicked",e.yes_clicked="yes_clicked",e.sheet_closed="sheet_closed"}(t.userAction||(t.userAction={}))},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,i){"use strict";i.r(t);var r=i(158),s=i(24);for(var n in s)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return s[e]}))}(n);var a=i(0),o=Object(a.a)(s.default,r.a,r.b,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";i.r(t);var r=i(159),s=i(26);for(var n in s)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return s[e]}))}(n);var a=i(0),o=Object(a.a)(s.default,r.a,r.b,!1,null,"1e29e738",null);t.default=o.exports},function(e,t,i){"use strict";i.r(t);var r=i(160),s=i(28);for(var n in s)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return s[e]}))}(n);i(307);var a=i(0),o=Object(a.a)(s.default,r.a,r.b,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";i.r(t);var r=i(161),s=i(30);for(var n in s)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return s[e]}))}(n);i(308);var a=i(0),o=Object(a.a)(s.default,r.a,r.b,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ChallengeProcessor=t.RemoveRememberedUsername=t.GetRememberedUsername=t.getChallenges=void 0;const r=i(1),s=i(7),n=i(287),a=i(5),o=r.__importDefault(i(225));t.getChallenges=async function(){const e=await fetch("/Authentication/Challenges");if(!e.ok)throw new Error(await e.text());return await e.json()},t.GetRememberedUsername=async function(e){const t=await fetch(e.rootUrl+"API/Isotope/GetRememberedUsername",{headers:{"Content-Type":"application/json"},method:"GET"});return t.ok?await t.json():""},t.RemoveRememberedUsername=async function(e){await fetch(e.rootUrl+"API/Isotope/RememberedUsername",{method:"DELETE"})};t.ChallengeProcessor=class{constructor(e,t){this.context=e,this.request=t,this.response=null,this.preSubmitChallenge()}preSubmitChallenge(){if(this.context.state.errors=[],this.request.ChallengeTypeValue===s.ChallengeType.Tethered&&(this.request.ChallengeTypeValue=s.ChallengeType.UsernameAndPassword),this.request.ChallengeTypeValue!==s.ChallengeType.CheckSyncResult){this.context.commit("isSubmittingChallenge",!0);const e=this.context.state.currentChallenge;e.Nonce&&e.Progression.length&&(this.request.Nonce=e.Nonce,this.request.Progression=e.Progression)}}async submitChallenge(){const e=this.request.Username,t=this.request.ChallengeTypeValue;t===s.ChallengeType.UsernameAndPassword&&o.default.machineSecretProvider.initialize(e);const i=this.context.state.configuration,r=this.context.state.rememberUsername,n={AdditionalParameters:{isMobile:null!=i.baseUrl&&i.baseUrl.toLowerCase().includes("mobile")?"true":"false",rememberUserName:r?"true":"false",persistentSessionIdentifier:"string"==typeof Global_PersistentSessionIdentifier?Global_PersistentSessionIdentifier:"",isTetheredLogin:i.initialChallengeType===s.ChallengeType.Tethered?"true":"false"},Id:i.sessionId,MachineInfo:o.default.machineSecretProvider.read()};i.turnstileEnabled&&t===s.ChallengeType.UsernameAndPassword&&(n.AdditionalParameters.token=this.context.state.turnstileToken);const a={...this.request,SessionInfo:n,UserAgentString:navigator.userAgent},l={Request:{BankIdentifier:i.clientKey,BankUri:i.bankUri,SubmittedChallenge:a},RedirectUrl:i.redirectUrl},h=this.getChallengeUrl(a,i.rootUrl),u=await fetch(h,{body:JSON.stringify(l),credentials:"include",headers:{"Content-Type":"application/json"},method:"POST"});if(!u.ok)throw u;return await u.json()}getChallengeUrl(e,t){let i;switch(e.ChallengeTypeValue){case s.ChallengeType.StartRegistration:case s.ChallengeType.ChooseRegistrationType:case s.ChallengeType.RegistrationDisclosure:case s.ChallengeType.ConfirmIdentity:case s.ChallengeType.UpdateBusiness:case s.ChallengeType.CreateUsername:case s.ChallengeType.CreateUser:i=`${t}API/Registration/${e.ChallengeTypeValue}`;break;case s.ChallengeType.UsernameAndPassword:i=t+"API/Isotope/Credentials";break;case s.ChallengeType.StartForgotPassword:case s.ChallengeType.ForgotPasswordDisclosure:case s.ChallengeType.ForgotPasswordChooseScenario:case s.ChallengeType.ForgotPasswordConfirmIdentity:i=`${t}API/ForgotPassword/${e.ChallengeTypeValue}`;break;case s.ChallengeType.StartForgotUsername:case s.ChallengeType.ForgotUsernameChooseScenario:case s.ChallengeType.ForgotUsernameConfirmIdentity:i=`${t}API/ForgotUsername/${e.ChallengeTypeValue}`;break;default:i=t+"API/Isotope"}return i}postSubmitChallenge(e){if(this.response=e,e.ChallengeStatusValue===a.ChallengeStatus.SessionExpired)return sessionStorage.setItem(a.ChallengeStatus.SessionExpired,"true"),window.location.reload(),e;if(e.NextRequestedChallenge){if(this.updateMachineInfo(),this.getNumberOfSteps(),this.updateCurrentStep(),this.handleLockout())return e;let t={...e.NextRequestedChallenge};switch(e.NextRequestedChallenge.ChallengeTypeValue){case s.ChallengeType.Done:return this.handleDoneChallenge(),e;case s.ChallengeType.StepUp:this.handleStepUpChallenge();break;case s.ChallengeType.CheckSyncResult:if(this.handleCheckSyncResultChallenge())return e;break;case s.ChallengeType.OneTimeCode:this.context.state.remainOnStepUpScreenOnFailure&&(t=this.repeatStep(t));break;case s.ChallengeType.OneTimeCodeDestination:e.HasError&&(t=this.repeatStep(t));break;case s.ChallengeType.ForgotPasswordConfirmIdentity:case s.ChallengeType.ForgotUsernameConfirmIdentity:case s.ChallengeType.ConfirmIdentity:null==t.Scenario&&this.request.ChallengeTypeValue===t.ChallengeTypeValue&&(t=this.repeatStep(t));break;case s.ChallengeType.UsernameAndPassword:e.ChallengeStatusValue===a.ChallengeStatus.BotDetected&&this.context.getters.initialChallengeType===s.ChallengeType.Tethered&&(t=this.repeatStep(t))}this.context.commit("currentChallenge",t),this.context.commit("setRemainOnStepUpScreenOnFailure",!1)}return this.handleValidationErrors(),e.ChallengeStatusValue&&this.context.commit("challengeStatus",e.ChallengeStatusValue),this.context.commit("isSubmittingChallenge",!1),e}updateMachineInfo(){var e,t,i,r;"True"===(null===(r=null===(i=null===(t=null===(e=this.response)||void 0===e?void 0:e.NextRequestedChallenge)||void 0===t?void 0:t.SessionInfo)||void 0===i?void 0:i.AdditionalParameters)||void 0===r?void 0:r.UpdateMachineInfo)&&o.default.machineSecretProvider.write(this.response.NextRequestedChallenge.SessionInfo.MachineInfo)}getNumberOfSteps(){var e,t,i,r,s,n,a,o,l;const h=null===(r=null===(i=null===(t=null===(e=this.response)||void 0===e?void 0:e.NextRequestedChallenge)||void 0===t?void 0:t.SessionInfo)||void 0===i?void 0:i.AdditionalParameters)||void 0===r?void 0:r.NumberOfStepsRequired;if(null==h)return;const u=parseInt(h,10);!isNaN(u)&&u>0&&(this.context.commit("setCurrentWorkflowMaxSteps",u),this.request.ChallengeTypeValue!==(null===(s=this.response)||void 0===s?void 0:s.NextRequestedChallenge.ChallengeTypeValue)&&this.context.commit("setCurrentWorkflowStep",0),null!=(null===(l=null===(o=null===(a=null===(n=this.response)||void 0===n?void 0:n.NextRequestedChallenge)||void 0===a?void 0:a.SessionInfo)||void 0===o?void 0:o.AdditionalParameters)||void 0===l?void 0:l.NumberOfStepsRequired)&&(this.response.NextRequestedChallenge.SessionInfo.AdditionalParameters.NumberOfStepsRequired="0"))}updateCurrentStep(){var e;if(this.context.state.currentWorkflowMaxSteps>0&&this.context.state.currentWorkflowStep<this.context.state.currentWorkflowMaxSteps&&this.request.ChallengeTypeValue!==(null===(e=this.response)||void 0===e?void 0:e.NextRequestedChallenge.ChallengeTypeValue)&&!this.context.state.isResendingOTP){const e=this.context.state.currentWorkflowStep+1;this.context.commit("setCurrentWorkflowStep",e)}}handleLockout(){var e,t;if((null===(e=this.response)||void 0===e?void 0:e.NextRequestedChallenge.ChallengeTypeValue)!==s.ChallengeType.UsernameAndPassword&&(null===(t=this.response)||void 0===t?void 0:t.ChallengeStatusValue)===a.ChallengeStatus.LockedOut){const e=this.context.state.configuration.baseUrl?`${this.context.state.configuration.bankUri}${this.context.state.configuration.baseUrl}\\Authentication\\LockedOut`:this.context.state.configuration.bankUri+"\\Authentication\\LockedOut";return window.location.href=e,!0}return!1}handleDoneChallenge(){var e;const t=null===(e=this.response)||void 0===e?void 0:e.NextRequestedChallenge;this.context.commit("isSyncing",!1),this.context.commit("authenticatedModel",{username:t.Username,nonce:t.Grant})}handleStepUpChallenge(){var e;const t=null===(e=this.response)||void 0===e?void 0:e.NextRequestedChallenge;this.context.commit("setShowRememberDevice",t.IsRememberDeviceOptionSupported),this.context.commit("setIsStepUpMandatory",t.IsStepUpMandatory)}handleCheckSyncResultChallenge(){var e,t;switch(null===(e=this.response)||void 0===e?void 0:e.ChallengeStatusValue){case a.ChallengeStatus.Success:return this.context.commit("isSyncing",!0),this.context.state.checkSyncResultChallenge={...null===(t=this.response)||void 0===t?void 0:t.NextRequestedChallenge},!0;case a.ChallengeStatus.SyncError:this.context.commit("isSyncing",!1)}return!1}handleValidationErrors(){var e;if((null===(e=this.response)||void 0===e?void 0:e.ValidationResults)&&this.response.ValidationResults instanceof Array){const e=this.response.ValidationResults.filter(e=>e.Severity===n.Severity.Error||e.Severity===n.Severity.Fatal);this.context.commit("errors",e)}}repeatStep(e){const t=this.context.state.challengeHistory.pop();return t&&this.response&&(e={...t,...this.response.NextRequestedChallenge,ChallengeTypeValue:t.ChallengeTypeValue}),e}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SubCode=t.Severity=t.ErrorCode=void 0,function(e){e[e.Unknown=0]="Unknown",e[e.Informational=100]="Informational",e[e.ValidationError=200]="ValidationError",e[e.DataRequestError=300]="DataRequestError",e[e.UnsupportedError=310]="UnsupportedError",e[e.PermissionError=320]="PermissionError",e[e.SystemNonFatalError=400]="SystemNonFatalError",e[e.SystemFatalError=500]="SystemFatalError"}(t.ErrorCode||(t.ErrorCode={})),function(e){e[e.Warning=0]="Warning",e[e.Error=1]="Error",e[e.Fatal=2]="Fatal"}(t.Severity||(t.Severity={})),function(e){e[e.None=0]="None",e[e.Custom=1]="Custom",e[e.NoDataInRequest=300]="NoDataInRequest",e[e.NoRecordsFound=302]="NoRecordsFound",e[e.BadRequest=400]="BadRequest",e[e.LoginInvalid=401]="LoginInvalid",e[e.SessionTokenExpired=402]="SessionTokenExpired",e[e.UserTokenExpired=403]="UserTokenExpired",e[e.SubCode409=409]="SubCode409",e[e.IncompleteRequest=411]="IncompleteRequest",e[e.PreviousRequestRequired=412]="PreviousRequestRequired",e[e.ValueOutOfRange=413]="ValueOutOfRange",e[e.ValueUnsupported=415]="ValueUnsupported",e[e.UnprocessableEntity=422]="UnprocessableEntity",e[e.AccountLocked=423]="AccountLocked",e[e.MfaLoginFailed=424]="MfaLoginFailed",e[e.MacInvalid=425]="MacInvalid",e[e.EncryptionError=426]="EncryptionError",e[e.TooManyRequests=429]="TooManyRequests",e[e.InvalidLanguage=430]="InvalidLanguage",e[e.InvalidEmailFormat=431]="InvalidEmailFormat",e[e.InvalidPhoneFormat=432]="InvalidPhoneFormat",e[e.InvalidDataSourceId=433]="InvalidDataSourceId",e[e.InvalidFinancialInstitutionId=434]="InvalidFinancialInstitutionId",e[e.MalformedRequest=435]="MalformedRequest",e[e.AccessDenied=436]="AccessDenied",e[e.ArtifactNotFound=437]="ArtifactNotFound",e[e.UpdateToFieldNotAllowed=438]="UpdateToFieldNotAllowed",e[e.ArtifactCannotBeDecompressed=439]="ArtifactCannotBeDecompressed",e[e.MimeTypeNotSupported=440]="MimeTypeNotSupported",e[e.ArtifactArchived=441]="ArtifactArchived",e[e.ArtifactTooLarge=442]="ArtifactTooLarge",e[e.ArtifactTooSmall=443]="ArtifactTooSmall",e[e.ArtifactRejected=444]="ArtifactRejected",e[e.InvalidDataLength=445]="InvalidDataLength",e[e.InvalidFormat=475]="InvalidFormat",e[e.InvalidEnvironment=476]="InvalidEnvironment",e[e.DatesOutOfOrder=497]="DatesOutOfOrder",e[e.DateRangeTooLarge=498]="DateRangeTooLarge",e[e.GeneralError=499]="GeneralError",e[e.ServiceTemporarilyUnavailable=503]="ServiceTemporarilyUnavailable"}(t.SubCode||(t.SubCode={}))},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MachineSecretProviderType=void 0,function(e){e.DefaultProvider="Default Provider",e.EntrustRememberedDevicesProvider="Entrust Remembered Devices Provider"}(t.MachineSecretProviderType||(t.MachineSecretProviderType={}))},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EntrustMachineSecretProvider=void 0;t.EntrustMachineSecretProvider=class{initialize(e){machineSecret.setDebugOn(!1).setStorageTypeExclusions("flash").setMachineNonceName(this.getMachineNonceName(e)).setSequenceNonceName(this.getSequenceNonceName(e))}read(){const e={};return e.MachineNonce=machineSecret.fetchMachineNonce(),e.SequenceNonce=machineSecret.fetchSequenceNonce(),e.DeviceFingerprint=this.cleanUpFingerprint(machineSecret.getDeviceFingerprint()),e}write(e){machineSecret.storeMachineNonce(e.MachineNonce),machineSecret.storeSequenceNonce(e.SequenceNonce)}getRealm(){return"https://"+window.location.hostname+"/"}getMachineNonceName(e){return this.getHash(this.getRealm(),e,"ob_mn")}getSequenceNonceName(e){return this.getHash(this.getRealm(),e,"ob_sn")}getHash(e,t,i){const r=i+t.toLowerCase(),s=CryptoJS.enc.Utf8.parse(e),n=CryptoJS.enc.Utf8.parse(r),a=CryptoJS.HmacSHA1(n,s);return CryptoJS.enc.Hex.stringify(a).toUpperCase()}cleanUpFingerprint(e){const t=JSON.parse(e),i=t.attributes.webGL,r=[4,6,7,8,9,10,11,12,13,14,15,16,17,18,19,21,24];for(let e=0;e<i.length;e++)null==i[e]&&r.indexOf(e)>-1&&(i[e]=0);return JSON.stringify(t)}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DefaultMachineSecretProvider=void 0;t.DefaultMachineSecretProvider=class{initialize(){}write(e){}read(){const e={};return e.director=this.hasPlugin("Shockwave"),e.mimeTypes=this.getMimeTypes(),e.mimeTypesCount=navigator.mimeTypes.length,e.plugins=this.getPlugins(),e.pluginsCount=navigator.plugins.length,e.quickTime=this.hasPlugin("QuickTime"),e.realPlayer=this.hasPlugin("RealPlayer"),e.windowsMediaPlayer=this.hasPlugin("WindowsMediaPlayer"),e.accrobatReader=this.hasPlugin("AdobeReader"),e.svgViewer=!1,e.clearType=!1,e.screenColorDepth=screen.colorDepth,e.screenHeight=screen.height,e.screenPixelDepth=screen.pixelDepth,e.screenWidth=screen.width,e.screenAvailHeigth=screen.availHeight,e.screenAvailWidth=screen.availWidth,e.appName=navigator.appName,e.appVersion=navigator.appVersion,e.appMinorVersion=navigator.appMinorVersion,e.cookieEnabled=navigator.cookieEnabled,e.cpuClass=navigator.cpuClass,e.systemLanguage=navigator.systemLanguage,e.userAgent=navigator.userAgent,e.userLanguage=navigator.userLanguage,e.javaEnabled=navigator.javaEnabled(),e.platform=navigator.platform,e.appCodeName=navigator.appCodeName,e.language=navigator.language,e.oscpu=navigator.oscpu,e.vendor=navigator.vendor,e.vendorSub=navigator.vendorSub,e.product=navigator.product,e.productSub=navigator.productSub,void 0!==navigator.taintEnabled&&(e.taintEnabled=navigator.taintEnabled()),e}getMimeTypes(){return navigator.mimeTypes&&navigator.mimeTypes.length?Array.from(navigator.mimeTypes).map(e=>e.type).join(","):""}getPlugins(){return navigator.plugins&&navigator.plugins.length?Array.from(navigator.plugins).map(e=>e.name.replace(/&/g,"")).join(","):""}hasPlugin(e){const t=window.PluginDetect;return!!t&&null!==t.getVersion(e)}}},function(e,t,i){var r={"./":15,"./ChangePassword":227,"./ChangePassword.vue":227,"./CheckSyncResult":228,"./CheckSyncResult.vue":228,"./CheckSyncResultForgot":231,"./CheckSyncResultForgot.vue":231,"./ChooseRegistrationType":232,"./ChooseRegistrationType.vue":232,"./ConfirmIdentity":17,"./ConfirmIdentity.vue":17,"./ConvertedUser":234,"./ConvertedUser.vue":234,"./CreateUser":235,"./CreateUser.vue":235,"./CreateUsername":236,"./CreateUsername.vue":236,"./Empty":237,"./Empty.vue":237,"./ForgotPassword":238,"./ForgotPassword.vue":238,"./ForgotPasswordChooseScenario":239,"./ForgotPasswordChooseScenario.vue":239,"./ForgotPasswordConfirmIdentity":240,"./ForgotPasswordConfirmIdentity.vue":240,"./ForgotPasswordDisclosure":241,"./ForgotPasswordDisclosure.vue":241,"./ForgotUsername":243,"./ForgotUsername.vue":243,"./ForgotUsernameChooseScenario":244,"./ForgotUsernameChooseScenario.vue":244,"./ForgotUsernameConfirmIdentity":245,"./ForgotUsernameConfirmIdentity.vue":245,"./OneTimeCode":86,"./OneTimeCode.vue":86,"./OneTimeCodeDestination":274,"./OneTimeCodeDestination.vue":274,"./OneTimeCodeForgot":18,"./OneTimeCodeForgot.vue":18,"./OneTimeCodeForgotContainer":246,"./OneTimeCodeForgotContainer.vue":246,"./QuestionsAndAnswers":247,"./QuestionsAndAnswers.vue":247,"./RegistrationDisclosure":248,"./RegistrationDisclosure.vue":248,"./ResetPassword":249,"./ResetPassword.vue":249,"./StartForgotPassword":250,"./StartForgotPassword.vue":250,"./StartForgotUsername":251,"./StartForgotUsername.vue":251,"./StartRegistration":252,"./StartRegistration.vue":252,"./StepUp":253,"./StepUp.vue":253,"./StepUpForgot":267,"./StepUpForgot.vue":267,"./TemporaryPassword":268,"./TemporaryPassword.vue":268,"./Tethered":269,"./Tethered.vue":269,"./UpdateBusiness":271,"./UpdateBusiness.vue":271,"./UsernameAndPassword":272,"./UsernameAndPassword.vue":272,"./UsernameRecovered":273,"./UsernameRecovered.vue":273,"./index":15,"./index.ts":15};function s(e){var t=n(e);return i(t)}function n(e){if(!i.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}s.keys=function(){return Object.keys(r)},s.resolve=n,e.exports=s,s.id=291},function(module,exports,__webpack_require__){"undefined"!=typeof navigator&&function(e,t){module.exports=t()}(0,(function(){"use strict";var svgNS="http://www.w3.org/2000/svg",locationHref="",_useWebWorker=!1,initialDefaultFrame=-999999,setWebWorker=function(e){_useWebWorker=!!e},getWebWorker=function(){return _useWebWorker},setLocationHref=function(e){locationHref=e},getLocationHref=function(){return locationHref};function createTag(e){return document.createElement(e)}function extendPrototype(e,t){var i,r,s=e.length;for(i=0;i<s;i+=1)for(var n in r=e[i].prototype)Object.prototype.hasOwnProperty.call(r,n)&&(t.prototype[n]=r[n])}function getDescriptor(e,t){return Object.getOwnPropertyDescriptor(e,t)}function createProxyFunction(e){function t(){}return t.prototype=e,t}var audioControllerFactory=function(){function e(e){this.audios=[],this.audioFactory=e,this._volume=1,this._isMuted=!1}return e.prototype={addAudio:function(e){this.audios.push(e)},pause:function(){var e,t=this.audios.length;for(e=0;e<t;e+=1)this.audios[e].pause()},resume:function(){var e,t=this.audios.length;for(e=0;e<t;e+=1)this.audios[e].resume()},setRate:function(e){var t,i=this.audios.length;for(t=0;t<i;t+=1)this.audios[t].setRate(e)},createAudio:function(e){return this.audioFactory?this.audioFactory(e):window.Howl?new window.Howl({src:[e]}):{isPlaying:!1,play:function(){this.isPlaying=!0},seek:function(){this.isPlaying=!1},playing:function(){},rate:function(){},setVolume:function(){}}},setAudioFactory:function(e){this.audioFactory=e},setVolume:function(e){this._volume=e,this._updateVolume()},mute:function(){this._isMuted=!0,this._updateVolume()},unmute:function(){this._isMuted=!1,this._updateVolume()},getVolume:function(){return this._volume},_updateVolume:function(){var e,t=this.audios.length;for(e=0;e<t;e+=1)this.audios[e].volume(this._volume*(this._isMuted?0:1))}},function(){return new e}}(),createTypedArray=function(){function e(e,t){var i,r=0,s=[];switch(e){case"int16":case"uint8c":i=1;break;default:i=1.1}for(r=0;r<t;r+=1)s.push(i);return s}return"function"==typeof Uint8ClampedArray&&"function"==typeof Float32Array?function(t,i){return"float32"===t?new Float32Array(i):"int16"===t?new Int16Array(i):"uint8c"===t?new Uint8ClampedArray(i):e(t,i)}:e}();function createSizedArray(e){return Array.apply(null,{length:e})}function _typeof$6(e){return(_typeof$6="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var subframeEnabled=!0,expressionsPlugin=null,idPrefix="",isSafari=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),_shouldRoundValues=!1,bmPow=Math.pow,bmSqrt=Math.sqrt,bmFloor=Math.floor,bmMax=Math.max,bmMin=Math.min,BMMath={};function ProjectInterface$1(){return{}}!function(){var e,t=["abs","acos","acosh","asin","asinh","atan","atanh","atan2","ceil","cbrt","expm1","clz32","cos","cosh","exp","floor","fround","hypot","imul","log","log1p","log2","log10","max","min","pow","random","round","sign","sin","sinh","sqrt","tan","tanh","trunc","E","LN10","LN2","LOG10E","LOG2E","PI","SQRT1_2","SQRT2"],i=t.length;for(e=0;e<i;e+=1)BMMath[t[e]]=Math[t[e]]}(),BMMath.random=Math.random,BMMath.abs=function(e){if("object"===_typeof$6(e)&&e.length){var t,i=createSizedArray(e.length),r=e.length;for(t=0;t<r;t+=1)i[t]=Math.abs(e[t]);return i}return Math.abs(e)};var defaultCurveSegments=150,degToRads=Math.PI/180,roundCorner=.5519;function roundValues(e){_shouldRoundValues=!!e}function bmRnd(e){return _shouldRoundValues?Math.round(e):e}function styleDiv(e){e.style.position="absolute",e.style.top=0,e.style.left=0,e.style.display="block",e.style.transformOrigin="0 0",e.style.webkitTransformOrigin="0 0",e.style.backfaceVisibility="visible",e.style.webkitBackfaceVisibility="visible",e.style.transformStyle="preserve-3d",e.style.webkitTransformStyle="preserve-3d",e.style.mozTransformStyle="preserve-3d"}function BMEnterFrameEvent(e,t,i,r){this.type=e,this.currentTime=t,this.totalTime=i,this.direction=r<0?-1:1}function BMCompleteEvent(e,t){this.type=e,this.direction=t<0?-1:1}function BMCompleteLoopEvent(e,t,i,r){this.type=e,this.currentLoop=i,this.totalLoops=t,this.direction=r<0?-1:1}function BMSegmentStartEvent(e,t,i){this.type=e,this.firstFrame=t,this.totalFrames=i}function BMDestroyEvent(e,t){this.type=e,this.target=t}function BMRenderFrameErrorEvent(e,t){this.type="renderFrameError",this.nativeError=e,this.currentTime=t}function BMConfigErrorEvent(e){this.type="configError",this.nativeError=e}function BMAnimationConfigErrorEvent(e,t){this.type=e,this.nativeError=t}var createElementID=(_count=0,function(){return idPrefix+"__lottie_element_"+(_count+=1)}),_count;function HSVtoRGB(e,t,i){var r,s,n,a,o,l,h,u;switch(l=i*(1-t),h=i*(1-(o=6*e-(a=Math.floor(6*e)))*t),u=i*(1-(1-o)*t),a%6){case 0:r=i,s=u,n=l;break;case 1:r=h,s=i,n=l;break;case 2:r=l,s=i,n=u;break;case 3:r=l,s=h,n=i;break;case 4:r=u,s=l,n=i;break;case 5:r=i,s=l,n=h}return[r,s,n]}function RGBtoHSV(e,t,i){var r,s=Math.max(e,t,i),n=Math.min(e,t,i),a=s-n,o=0===s?0:a/s,l=s/255;switch(s){case n:r=0;break;case e:r=t-i+a*(t<i?6:0),r/=6*a;break;case t:r=i-e+2*a,r/=6*a;break;case i:r=e-t+4*a,r/=6*a}return[r,o,l]}function addSaturationToRGB(e,t){var i=RGBtoHSV(255*e[0],255*e[1],255*e[2]);return i[1]+=t,i[1]>1?i[1]=1:i[1]<=0&&(i[1]=0),HSVtoRGB(i[0],i[1],i[2])}function addBrightnessToRGB(e,t){var i=RGBtoHSV(255*e[0],255*e[1],255*e[2]);return i[2]+=t,i[2]>1?i[2]=1:i[2]<0&&(i[2]=0),HSVtoRGB(i[0],i[1],i[2])}function addHueToRGB(e,t){var i=RGBtoHSV(255*e[0],255*e[1],255*e[2]);return i[0]+=t/360,i[0]>1?i[0]-=1:i[0]<0&&(i[0]+=1),HSVtoRGB(i[0],i[1],i[2])}var rgbToHex=function(){var e,t,i=[];for(e=0;e<256;e+=1)t=e.toString(16),i[e]=1===t.length?"0"+t:t;return function(e,t,r){return e<0&&(e=0),t<0&&(t=0),r<0&&(r=0),"#"+i[e]+i[t]+i[r]}}(),setSubframeEnabled=function(e){subframeEnabled=!!e},getSubframeEnabled=function(){return subframeEnabled},setExpressionsPlugin=function(e){expressionsPlugin=e},getExpressionsPlugin=function(){return expressionsPlugin},setDefaultCurveSegments=function(e){defaultCurveSegments=e},getDefaultCurveSegments=function(){return defaultCurveSegments},setIdPrefix=function(e){idPrefix=e},getIdPrefix=function(){return idPrefix};function createNS(e){return document.createElementNS(svgNS,e)}function _typeof$5(e){return(_typeof$5="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var dataManager=function(){var e,t,i=1,r=[],s={onmessage:function(){},postMessage:function(t){e({data:t})}},n={postMessage:function(e){s.onmessage({data:e})}};function a(){t||((t=function(t){if(window.Worker&&window.Blob&&getWebWorker()){var i=new Blob(["var _workerSelf = self; self.onmessage = ",t.toString()],{type:"text/javascript"}),r=URL.createObjectURL(i);return new Worker(r)}return e=t,s}((function(e){if(n.dataManager||(n.dataManager=function(){function e(s,n){var a,o,l,h,u,d,p=s.length;for(o=0;o<p;o+=1)if("ks"in(a=s[o])&&!a.completed){if(a.completed=!0,a.tt&&(s[o-1].td=a.tt),a.hasMask){var f=a.masksProperties;for(h=f.length,l=0;l<h;l+=1)if(f[l].pt.k.i)r(f[l].pt.k);else for(d=f[l].pt.k.length,u=0;u<d;u+=1)f[l].pt.k[u].s&&r(f[l].pt.k[u].s[0]),f[l].pt.k[u].e&&r(f[l].pt.k[u].e[0])}0===a.ty?(a.layers=t(a.refId,n),e(a.layers,n)):4===a.ty?i(a.shapes):5===a.ty&&c(a)}}function t(e,t){var i=function(e,t){for(var i=0,r=t.length;i<r;){if(t[i].id===e)return t[i];i+=1}return null}(e,t);return i?i.layers.__used?JSON.parse(JSON.stringify(i.layers)):(i.layers.__used=!0,i.layers):null}function i(e){var t,s,n;for(t=e.length-1;t>=0;t-=1)if("sh"===e[t].ty)if(e[t].ks.k.i)r(e[t].ks.k);else for(n=e[t].ks.k.length,s=0;s<n;s+=1)e[t].ks.k[s].s&&r(e[t].ks.k[s].s[0]),e[t].ks.k[s].e&&r(e[t].ks.k[s].e[0]);else"gr"===e[t].ty&&i(e[t].it)}function r(e){var t,i=e.i.length;for(t=0;t<i;t+=1)e.i[t][0]+=e.v[t][0],e.i[t][1]+=e.v[t][1],e.o[t][0]+=e.v[t][0],e.o[t][1]+=e.v[t][1]}function s(e,t){var i=t?t.split("."):[100,100,100];return e[0]>i[0]||!(i[0]>e[0])&&(e[1]>i[1]||!(i[1]>e[1])&&(e[2]>i[2]||!(i[2]>e[2])&&null))}var n,a=function(){var e=[4,4,14];function t(e){var t,i,r,s=e.length;for(t=0;t<s;t+=1)5===e[t].ty&&(i=e[t],r=void 0,r=i.t.d,i.t.d={k:[{s:r,t:0}]})}return function(i){if(s(e,i.v)&&(t(i.layers),i.assets)){var r,n=i.assets.length;for(r=0;r<n;r+=1)i.assets[r].layers&&t(i.assets[r].layers)}}}(),o=(n=[4,7,99],function(e){if(e.chars&&!s(n,e.v)){var t,r=e.chars.length;for(t=0;t<r;t+=1){var a=e.chars[t];a.data&&a.data.shapes&&(i(a.data.shapes),a.data.ip=0,a.data.op=99999,a.data.st=0,a.data.sr=1,a.data.ks={p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0}},e.chars[t].t||(a.data.shapes.push({ty:"no"}),a.data.shapes[0].it.push({p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0},sk:{k:0,a:0},sa:{k:0,a:0},ty:"tr"})))}}}),l=function(){var e=[5,7,15];function t(e){var t,i,r,s=e.length;for(t=0;t<s;t+=1)5===e[t].ty&&(i=e[t],r=void 0,"number"==typeof(r=i.t.p).a&&(r.a={a:0,k:r.a}),"number"==typeof r.p&&(r.p={a:0,k:r.p}),"number"==typeof r.r&&(r.r={a:0,k:r.r}))}return function(i){if(s(e,i.v)&&(t(i.layers),i.assets)){var r,n=i.assets.length;for(r=0;r<n;r+=1)i.assets[r].layers&&t(i.assets[r].layers)}}}(),h=function(){var e=[4,1,9];function t(e){var i,r,s,n=e.length;for(i=0;i<n;i+=1)if("gr"===e[i].ty)t(e[i].it);else if("fl"===e[i].ty||"st"===e[i].ty)if(e[i].c.k&&e[i].c.k[0].i)for(s=e[i].c.k.length,r=0;r<s;r+=1)e[i].c.k[r].s&&(e[i].c.k[r].s[0]/=255,e[i].c.k[r].s[1]/=255,e[i].c.k[r].s[2]/=255,e[i].c.k[r].s[3]/=255),e[i].c.k[r].e&&(e[i].c.k[r].e[0]/=255,e[i].c.k[r].e[1]/=255,e[i].c.k[r].e[2]/=255,e[i].c.k[r].e[3]/=255);else e[i].c.k[0]/=255,e[i].c.k[1]/=255,e[i].c.k[2]/=255,e[i].c.k[3]/=255}function i(e){var i,r=e.length;for(i=0;i<r;i+=1)4===e[i].ty&&t(e[i].shapes)}return function(t){if(s(e,t.v)&&(i(t.layers),t.assets)){var r,n=t.assets.length;for(r=0;r<n;r+=1)t.assets[r].layers&&i(t.assets[r].layers)}}}(),u=function(){var e=[4,4,18];function t(e){var i,r,s;for(i=e.length-1;i>=0;i-=1)if("sh"===e[i].ty)if(e[i].ks.k.i)e[i].ks.k.c=e[i].closed;else for(s=e[i].ks.k.length,r=0;r<s;r+=1)e[i].ks.k[r].s&&(e[i].ks.k[r].s[0].c=e[i].closed),e[i].ks.k[r].e&&(e[i].ks.k[r].e[0].c=e[i].closed);else"gr"===e[i].ty&&t(e[i].it)}function i(e){var i,r,s,n,a,o,l=e.length;for(r=0;r<l;r+=1){if((i=e[r]).hasMask){var h=i.masksProperties;for(n=h.length,s=0;s<n;s+=1)if(h[s].pt.k.i)h[s].pt.k.c=h[s].cl;else for(o=h[s].pt.k.length,a=0;a<o;a+=1)h[s].pt.k[a].s&&(h[s].pt.k[a].s[0].c=h[s].cl),h[s].pt.k[a].e&&(h[s].pt.k[a].e[0].c=h[s].cl)}4===i.ty&&t(i.shapes)}}return function(t){if(s(e,t.v)&&(i(t.layers),t.assets)){var r,n=t.assets.length;for(r=0;r<n;r+=1)t.assets[r].layers&&i(t.assets[r].layers)}}}();function c(e){0===e.t.a.length&&e.t.p}var d={completeData:function(i){i.__complete||(h(i),a(i),o(i),l(i),u(i),e(i.layers,i.assets),function(i,r){if(i){var s=0,n=i.length;for(s=0;s<n;s+=1)1===i[s].t&&(i[s].data.layers=t(i[s].data.refId,r),e(i[s].data.layers,r))}}(i.chars,i.assets),i.__complete=!0)}};return d.checkColors=h,d.checkChars=o,d.checkPathProperties=l,d.checkShapes=u,d.completeLayers=e,d}()),n.assetLoader||(n.assetLoader=function(){function e(e){var t=e.getResponseHeader("content-type");return t&&"json"===e.responseType&&-1!==t.indexOf("json")||e.response&&"object"===_typeof$5(e.response)?e.response:e.response&&"string"==typeof e.response?JSON.parse(e.response):e.responseText?JSON.parse(e.responseText):null}return{load:function(t,i,r,s){var n,a=new XMLHttpRequest;try{a.responseType="json"}catch(e){}a.onreadystatechange=function(){if(4===a.readyState)if(200===a.status)n=e(a),r(n);else try{n=e(a),r(n)}catch(e){s&&s(e)}};try{a.open("GET",t,!0)}catch(e){a.open("GET",i+"/"+t,!0)}a.send()}}}()),"loadAnimation"===e.data.type)n.assetLoader.load(e.data.path,e.data.fullPath,(function(t){n.dataManager.completeData(t),n.postMessage({id:e.data.id,payload:t,status:"success"})}),(function(){n.postMessage({id:e.data.id,status:"error"})}));else if("complete"===e.data.type){var t=e.data.animation;n.dataManager.completeData(t),n.postMessage({id:e.data.id,payload:t,status:"success"})}else"loadData"===e.data.type&&n.assetLoader.load(e.data.path,e.data.fullPath,(function(t){n.postMessage({id:e.data.id,payload:t,status:"success"})}),(function(){n.postMessage({id:e.data.id,status:"error"})}))}))).onmessage=function(e){var t=e.data,i=t.id,s=r[i];r[i]=null,"success"===t.status?s.onComplete(t.payload):s.onError&&s.onError()})}function o(e,t){var s="processId_"+(i+=1);return r[s]={onComplete:e,onError:t},s}return{loadAnimation:function(e,i,r){a();var s=o(i,r);t.postMessage({type:"loadAnimation",path:e,fullPath:window.location.origin+window.location.pathname,id:s})},loadData:function(e,i,r){a();var s=o(i,r);t.postMessage({type:"loadData",path:e,fullPath:window.location.origin+window.location.pathname,id:s})},completeAnimation:function(e,i,r){a();var s=o(i,r);t.postMessage({type:"complete",animation:e,id:s})}}}(),ImagePreloader=function(){var e=function(){var e=createTag("canvas");e.width=1,e.height=1;var t=e.getContext("2d");return t.fillStyle="rgba(0,0,0,0)",t.fillRect(0,0,1,1),e}();function t(){this.loadedAssets+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function i(){this.loadedFootagesCount+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function r(e,t,i){var r="";if(e.e)r=e.p;else if(t){var s=e.p;-1!==s.indexOf("images/")&&(s=s.split("/")[1]),r=t+s}else r=i,r+=e.u?e.u:"",r+=e.p;return r}function s(e){var t=0,i=setInterval(function(){(e.getBBox().width||t>500)&&(this._imageLoaded(),clearInterval(i)),t+=1}.bind(this),50)}function n(e){var t={assetData:e},i=r(e,this.assetsPath,this.path);return dataManager.loadData(i,function(e){t.img=e,this._footageLoaded()}.bind(this),function(){t.img={},this._footageLoaded()}.bind(this)),t}function a(){this._imageLoaded=t.bind(this),this._footageLoaded=i.bind(this),this.testImageLoaded=s.bind(this),this.createFootageData=n.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}return a.prototype={loadAssets:function(e,t){var i;this.imagesLoadedCb=t;var r=e.length;for(i=0;i<r;i+=1)e[i].layers||(e[i].t&&"seq"!==e[i].t?3===e[i].t&&(this.totalFootages+=1,this.images.push(this.createFootageData(e[i]))):(this.totalImages+=1,this.images.push(this._createImageData(e[i]))))},setAssetsPath:function(e){this.assetsPath=e||""},setPath:function(e){this.path=e||""},loadedImages:function(){return this.totalImages===this.loadedAssets},loadedFootages:function(){return this.totalFootages===this.loadedFootagesCount},destroy:function(){this.imagesLoadedCb=null,this.images.length=0},getAsset:function(e){for(var t=0,i=this.images.length;t<i;){if(this.images[t].assetData===e)return this.images[t].img;t+=1}return null},createImgData:function(t){var i=r(t,this.assetsPath,this.path),s=createTag("img");s.crossOrigin="anonymous",s.addEventListener("load",this._imageLoaded,!1),s.addEventListener("error",function(){n.img=e,this._imageLoaded()}.bind(this),!1),s.src=i;var n={img:s,assetData:t};return n},createImageData:function(t){var i=r(t,this.assetsPath,this.path),s=createNS("image");isSafari?this.testImageLoaded(s):s.addEventListener("load",this._imageLoaded,!1),s.addEventListener("error",function(){n.img=e,this._imageLoaded()}.bind(this),!1),s.setAttributeNS("http://www.w3.org/1999/xlink","href",i),this._elementHelper.append?this._elementHelper.append(s):this._elementHelper.appendChild(s);var n={img:s,assetData:t};return n},imageLoaded:t,footageLoaded:i,setCacheType:function(e,t){"svg"===e?(this._elementHelper=t,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}},a}();function BaseEvent(){}BaseEvent.prototype={triggerEvent:function(e,t){if(this._cbs[e])for(var i=this._cbs[e],r=0;r<i.length;r+=1)i[r](t)},addEventListener:function(e,t){return this._cbs[e]||(this._cbs[e]=[]),this._cbs[e].push(t),function(){this.removeEventListener(e,t)}.bind(this)},removeEventListener:function(e,t){if(t){if(this._cbs[e]){for(var i=0,r=this._cbs[e].length;i<r;)this._cbs[e][i]===t&&(this._cbs[e].splice(i,1),i-=1,r-=1),i+=1;this._cbs[e].length||(this._cbs[e]=null)}}else this._cbs[e]=null}};var markerParser=function(){function e(e){for(var t,i=e.split("\r\n"),r={},s=0,n=0;n<i.length;n+=1)2===(t=i[n].split(":")).length&&(r[t[0]]=t[1].trim(),s+=1);if(0===s)throw new Error;return r}return function(t){for(var i=[],r=0;r<t.length;r+=1){var s=t[r],n={time:s.tm,duration:s.dr};try{n.payload=JSON.parse(t[r].cm)}catch(i){try{n.payload=e(t[r].cm)}catch(e){n.payload={name:t[r]}}}i.push(n)}return i}}(),ProjectInterface=function(){function e(e){this.compositions.push(e)}return function(){function t(e){for(var t=0,i=this.compositions.length;t<i;){if(this.compositions[t].data&&this.compositions[t].data.nm===e)return this.compositions[t].prepareFrame&&this.compositions[t].data.xt&&this.compositions[t].prepareFrame(this.currentFrame),this.compositions[t].compInterface;t+=1}return null}return t.compositions=[],t.currentFrame=0,t.registerComposition=e,t}}(),renderers={},registerRenderer=function(e,t){renderers[e]=t};function getRenderer(e){return renderers[e]}function _typeof$4(e){return(_typeof$4="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var AnimationItem=function(){this._cbs=[],this.name="",this.path="",this.isLoaded=!1,this.currentFrame=0,this.currentRawFrame=0,this.firstFrame=0,this.totalFrames=0,this.frameRate=0,this.frameMult=0,this.playSpeed=1,this.playDirection=1,this.playCount=0,this.animationData={},this.assets=[],this.isPaused=!0,this.autoplay=!1,this.loop=!0,this.renderer=null,this.animationID=createElementID(),this.assetsPath="",this.timeCompleted=0,this.segmentPos=0,this.isSubframeEnabled=getSubframeEnabled(),this.segments=[],this._idle=!0,this._completedLoop=!1,this.projectInterface=ProjectInterface(),this.imagePreloader=new ImagePreloader,this.audioController=audioControllerFactory(),this.markers=[],this.configAnimation=this.configAnimation.bind(this),this.onSetupError=this.onSetupError.bind(this),this.onSegmentComplete=this.onSegmentComplete.bind(this)};extendPrototype([BaseEvent],AnimationItem),AnimationItem.prototype.setParams=function(e){(e.wrapper||e.container)&&(this.wrapper=e.wrapper||e.container);var t="svg";e.animType?t=e.animType:e.renderer&&(t=e.renderer);var i=getRenderer(t);this.renderer=new i(this,e.rendererSettings),this.imagePreloader.setCacheType(t,this.renderer.globalData.defs),this.renderer.setProjectInterface(this.projectInterface),this.animType=t,""===e.loop||null===e.loop||void 0===e.loop||!0===e.loop?this.loop=!0:!1===e.loop?this.loop=!1:this.loop=parseInt(e.loop,10),this.autoplay=!("autoplay"in e)||e.autoplay,this.name=e.name?e.name:"",this.autoloadSegments=!Object.prototype.hasOwnProperty.call(e,"autoloadSegments")||e.autoloadSegments,this.assetsPath=e.assetsPath,this.initialSegment=e.initialSegment,e.audioFactory&&this.audioController.setAudioFactory(e.audioFactory),e.animationData?this.setupAnimation(e.animationData):e.path&&(-1!==e.path.lastIndexOf("\\")?this.path=e.path.substr(0,e.path.lastIndexOf("\\")+1):this.path=e.path.substr(0,e.path.lastIndexOf("/")+1),this.fileName=e.path.substr(e.path.lastIndexOf("/")+1),this.fileName=this.fileName.substr(0,this.fileName.lastIndexOf(".json")),dataManager.loadAnimation(e.path,this.configAnimation,this.onSetupError))},AnimationItem.prototype.onSetupError=function(){this.trigger("data_failed")},AnimationItem.prototype.setupAnimation=function(e){dataManager.completeAnimation(e,this.configAnimation)},AnimationItem.prototype.setData=function(e,t){t&&"object"!==_typeof$4(t)&&(t=JSON.parse(t));var i={wrapper:e,animationData:t},r=e.attributes;i.path=r.getNamedItem("data-animation-path")?r.getNamedItem("data-animation-path").value:r.getNamedItem("data-bm-path")?r.getNamedItem("data-bm-path").value:r.getNamedItem("bm-path")?r.getNamedItem("bm-path").value:"",i.animType=r.getNamedItem("data-anim-type")?r.getNamedItem("data-anim-type").value:r.getNamedItem("data-bm-type")?r.getNamedItem("data-bm-type").value:r.getNamedItem("bm-type")?r.getNamedItem("bm-type").value:r.getNamedItem("data-bm-renderer")?r.getNamedItem("data-bm-renderer").value:r.getNamedItem("bm-renderer")?r.getNamedItem("bm-renderer").value:"canvas";var s=r.getNamedItem("data-anim-loop")?r.getNamedItem("data-anim-loop").value:r.getNamedItem("data-bm-loop")?r.getNamedItem("data-bm-loop").value:r.getNamedItem("bm-loop")?r.getNamedItem("bm-loop").value:"";"false"===s?i.loop=!1:"true"===s?i.loop=!0:""!==s&&(i.loop=parseInt(s,10));var n=r.getNamedItem("data-anim-autoplay")?r.getNamedItem("data-anim-autoplay").value:r.getNamedItem("data-bm-autoplay")?r.getNamedItem("data-bm-autoplay").value:!r.getNamedItem("bm-autoplay")||r.getNamedItem("bm-autoplay").value;i.autoplay="false"!==n,i.name=r.getNamedItem("data-name")?r.getNamedItem("data-name").value:r.getNamedItem("data-bm-name")?r.getNamedItem("data-bm-name").value:r.getNamedItem("bm-name")?r.getNamedItem("bm-name").value:"","false"===(r.getNamedItem("data-anim-prerender")?r.getNamedItem("data-anim-prerender").value:r.getNamedItem("data-bm-prerender")?r.getNamedItem("data-bm-prerender").value:r.getNamedItem("bm-prerender")?r.getNamedItem("bm-prerender").value:"")&&(i.prerender=!1),this.setParams(i)},AnimationItem.prototype.includeLayers=function(e){e.op>this.animationData.op&&(this.animationData.op=e.op,this.totalFrames=Math.floor(e.op-this.animationData.ip));var t,i,r=this.animationData.layers,s=r.length,n=e.layers,a=n.length;for(i=0;i<a;i+=1)for(t=0;t<s;){if(r[t].id===n[i].id){r[t]=n[i];break}t+=1}if((e.chars||e.fonts)&&(this.renderer.globalData.fontManager.addChars(e.chars),this.renderer.globalData.fontManager.addFonts(e.fonts,this.renderer.globalData.defs)),e.assets)for(s=e.assets.length,t=0;t<s;t+=1)this.animationData.assets.push(e.assets[t]);this.animationData.__complete=!1,dataManager.completeAnimation(this.animationData,this.onSegmentComplete)},AnimationItem.prototype.onSegmentComplete=function(e){this.animationData=e;var t=getExpressionsPlugin();t&&t.initExpressions(this),this.loadNextSegment()},AnimationItem.prototype.loadNextSegment=function(){var e=this.animationData.segments;if(!e||0===e.length||!this.autoloadSegments)return this.trigger("data_ready"),void(this.timeCompleted=this.totalFrames);var t=e.shift();this.timeCompleted=t.time*this.frameRate;var i=this.path+this.fileName+"_"+this.segmentPos+".json";this.segmentPos+=1,dataManager.loadData(i,this.includeLayers.bind(this),function(){this.trigger("data_failed")}.bind(this))},AnimationItem.prototype.loadSegments=function(){this.animationData.segments||(this.timeCompleted=this.totalFrames),this.loadNextSegment()},AnimationItem.prototype.imagesLoaded=function(){this.trigger("loaded_images"),this.checkLoaded()},AnimationItem.prototype.preloadImages=function(){this.imagePreloader.setAssetsPath(this.assetsPath),this.imagePreloader.setPath(this.path),this.imagePreloader.loadAssets(this.animationData.assets,this.imagesLoaded.bind(this))},AnimationItem.prototype.configAnimation=function(e){if(this.renderer)try{this.animationData=e,this.initialSegment?(this.totalFrames=Math.floor(this.initialSegment[1]-this.initialSegment[0]),this.firstFrame=Math.round(this.initialSegment[0])):(this.totalFrames=Math.floor(this.animationData.op-this.animationData.ip),this.firstFrame=Math.round(this.animationData.ip)),this.renderer.configAnimation(e),e.assets||(e.assets=[]),this.assets=this.animationData.assets,this.frameRate=this.animationData.fr,this.frameMult=this.animationData.fr/1e3,this.renderer.searchExtraCompositions(e.assets),this.markers=markerParser(e.markers||[]),this.trigger("config_ready"),this.preloadImages(),this.loadSegments(),this.updaFrameModifier(),this.waitForFontsLoaded(),this.isPaused&&this.audioController.pause()}catch(e){this.triggerConfigError(e)}},AnimationItem.prototype.waitForFontsLoaded=function(){this.renderer&&(this.renderer.globalData.fontManager.isLoaded?this.checkLoaded():setTimeout(this.waitForFontsLoaded.bind(this),20))},AnimationItem.prototype.checkLoaded=function(){if(!this.isLoaded&&this.renderer.globalData.fontManager.isLoaded&&(this.imagePreloader.loadedImages()||"canvas"!==this.renderer.rendererType)&&this.imagePreloader.loadedFootages()){this.isLoaded=!0;var e=getExpressionsPlugin();e&&e.initExpressions(this),this.renderer.initItems(),setTimeout(function(){this.trigger("DOMLoaded")}.bind(this),0),this.gotoFrame(),this.autoplay&&this.play()}},AnimationItem.prototype.resize=function(){this.renderer.updateContainerSize()},AnimationItem.prototype.setSubframe=function(e){this.isSubframeEnabled=!!e},AnimationItem.prototype.gotoFrame=function(){this.currentFrame=this.isSubframeEnabled?this.currentRawFrame:~~this.currentRawFrame,this.timeCompleted!==this.totalFrames&&this.currentFrame>this.timeCompleted&&(this.currentFrame=this.timeCompleted),this.trigger("enterFrame"),this.renderFrame(),this.trigger("drawnFrame")},AnimationItem.prototype.renderFrame=function(){if(!1!==this.isLoaded&&this.renderer)try{this.renderer.renderFrame(this.currentFrame+this.firstFrame)}catch(e){this.triggerRenderFrameError(e)}},AnimationItem.prototype.play=function(e){e&&this.name!==e||!0===this.isPaused&&(this.isPaused=!1,this.audioController.resume(),this._idle&&(this._idle=!1,this.trigger("_active")))},AnimationItem.prototype.pause=function(e){e&&this.name!==e||!1===this.isPaused&&(this.isPaused=!0,this._idle=!0,this.trigger("_idle"),this.audioController.pause())},AnimationItem.prototype.togglePause=function(e){e&&this.name!==e||(!0===this.isPaused?this.play():this.pause())},AnimationItem.prototype.stop=function(e){e&&this.name!==e||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},AnimationItem.prototype.getMarkerData=function(e){for(var t,i=0;i<this.markers.length;i+=1)if((t=this.markers[i]).payload&&t.payload.name===e)return t;return null},AnimationItem.prototype.goToAndStop=function(e,t,i){if(!i||this.name===i){var r=Number(e);if(isNaN(r)){var s=this.getMarkerData(e);s&&this.goToAndStop(s.time,!0)}else t?this.setCurrentRawFrameValue(e):this.setCurrentRawFrameValue(e*this.frameModifier);this.pause()}},AnimationItem.prototype.goToAndPlay=function(e,t,i){if(!i||this.name===i){var r=Number(e);if(isNaN(r)){var s=this.getMarkerData(e);s&&(s.duration?this.playSegments([s.time,s.time+s.duration],!0):this.goToAndStop(s.time,!0))}else this.goToAndStop(r,t,i);this.play()}},AnimationItem.prototype.advanceTime=function(e){if(!0!==this.isPaused&&!1!==this.isLoaded){var t=this.currentRawFrame+e*this.frameModifier,i=!1;t>=this.totalFrames-1&&this.frameModifier>0?this.loop&&this.playCount!==this.loop?t>=this.totalFrames?(this.playCount+=1,this.checkSegments(t%this.totalFrames)||(this.setCurrentRawFrameValue(t%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(t):this.checkSegments(t>this.totalFrames?t%this.totalFrames:0)||(i=!0,t=this.totalFrames-1):t<0?this.checkSegments(t%this.totalFrames)||(!this.loop||this.playCount--<=0&&!0!==this.loop?(i=!0,t=0):(this.setCurrentRawFrameValue(this.totalFrames+t%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0)):this.setCurrentRawFrameValue(t),i&&(this.setCurrentRawFrameValue(t),this.pause(),this.trigger("complete"))}},AnimationItem.prototype.adjustSegment=function(e,t){this.playCount=0,e[1]<e[0]?(this.frameModifier>0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.totalFrames=e[0]-e[1],this.timeCompleted=this.totalFrames,this.firstFrame=e[1],this.setCurrentRawFrameValue(this.totalFrames-.001-t)):e[1]>e[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.totalFrames=e[1]-e[0],this.timeCompleted=this.totalFrames,this.firstFrame=e[0],this.setCurrentRawFrameValue(.001+t)),this.trigger("segmentStart")},AnimationItem.prototype.setSegment=function(e,t){var i=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<e?i=e:this.currentRawFrame+this.firstFrame>t&&(i=t-e)),this.firstFrame=e,this.totalFrames=t-e,this.timeCompleted=this.totalFrames,-1!==i&&this.goToAndStop(i,!0)},AnimationItem.prototype.playSegments=function(e,t){if(t&&(this.segments.length=0),"object"===_typeof$4(e[0])){var i,r=e.length;for(i=0;i<r;i+=1)this.segments.push(e[i])}else this.segments.push(e);this.segments.length&&t&&this.adjustSegment(this.segments.shift(),0),this.isPaused&&this.play()},AnimationItem.prototype.resetSegments=function(e){this.segments.length=0,this.segments.push([this.animationData.ip,this.animationData.op]),e&&this.checkSegments(0)},AnimationItem.prototype.checkSegments=function(e){return!!this.segments.length&&(this.adjustSegment(this.segments.shift(),e),!0)},AnimationItem.prototype.destroy=function(e){e&&this.name!==e||!this.renderer||(this.renderer.destroy(),this.imagePreloader.destroy(),this.trigger("destroy"),this._cbs=null,this.onEnterFrame=null,this.onLoopComplete=null,this.onComplete=null,this.onSegmentStart=null,this.onDestroy=null,this.renderer=null,this.renderer=null,this.imagePreloader=null,this.projectInterface=null)},AnimationItem.prototype.setCurrentRawFrameValue=function(e){this.currentRawFrame=e,this.gotoFrame()},AnimationItem.prototype.setSpeed=function(e){this.playSpeed=e,this.updaFrameModifier()},AnimationItem.prototype.setDirection=function(e){this.playDirection=e<0?-1:1,this.updaFrameModifier()},AnimationItem.prototype.setVolume=function(e,t){t&&this.name!==t||this.audioController.setVolume(e)},AnimationItem.prototype.getVolume=function(){return this.audioController.getVolume()},AnimationItem.prototype.mute=function(e){e&&this.name!==e||this.audioController.mute()},AnimationItem.prototype.unmute=function(e){e&&this.name!==e||this.audioController.unmute()},AnimationItem.prototype.updaFrameModifier=function(){this.frameModifier=this.frameMult*this.playSpeed*this.playDirection,this.audioController.setRate(this.playSpeed*this.playDirection)},AnimationItem.prototype.getPath=function(){return this.path},AnimationItem.prototype.getAssetsPath=function(e){var t="";if(e.e)t=e.p;else if(this.assetsPath){var i=e.p;-1!==i.indexOf("images/")&&(i=i.split("/")[1]),t=this.assetsPath+i}else t=this.path,t+=e.u?e.u:"",t+=e.p;return t},AnimationItem.prototype.getAssetData=function(e){for(var t=0,i=this.assets.length;t<i;){if(e===this.assets[t].id)return this.assets[t];t+=1}return null},AnimationItem.prototype.hide=function(){this.renderer.hide()},AnimationItem.prototype.show=function(){this.renderer.show()},AnimationItem.prototype.getDuration=function(e){return e?this.totalFrames:this.totalFrames/this.frameRate},AnimationItem.prototype.trigger=function(e){if(this._cbs&&this._cbs[e])switch(e){case"enterFrame":case"drawnFrame":this.triggerEvent(e,new BMEnterFrameEvent(e,this.currentFrame,this.totalFrames,this.frameModifier));break;case"loopComplete":this.triggerEvent(e,new BMCompleteLoopEvent(e,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(e,new BMCompleteEvent(e,this.frameMult));break;case"segmentStart":this.triggerEvent(e,new BMSegmentStartEvent(e,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(e,new BMDestroyEvent(e,this));break;default:this.triggerEvent(e)}"enterFrame"===e&&this.onEnterFrame&&this.onEnterFrame.call(this,new BMEnterFrameEvent(e,this.currentFrame,this.totalFrames,this.frameMult)),"loopComplete"===e&&this.onLoopComplete&&this.onLoopComplete.call(this,new BMCompleteLoopEvent(e,this.loop,this.playCount,this.frameMult)),"complete"===e&&this.onComplete&&this.onComplete.call(this,new BMCompleteEvent(e,this.frameMult)),"segmentStart"===e&&this.onSegmentStart&&this.onSegmentStart.call(this,new BMSegmentStartEvent(e,this.firstFrame,this.totalFrames)),"destroy"===e&&this.onDestroy&&this.onDestroy.call(this,new BMDestroyEvent(e,this))},AnimationItem.prototype.triggerRenderFrameError=function(e){var t=new BMRenderFrameErrorEvent(e,this.currentFrame);this.triggerEvent("error",t),this.onError&&this.onError.call(this,t)},AnimationItem.prototype.triggerConfigError=function(e){var t=new BMConfigErrorEvent(e,this.currentFrame);this.triggerEvent("error",t),this.onError&&this.onError.call(this,t)};var animationManager=function(){var e={},t=[],i=0,r=0,s=0,n=!0,a=!1;function o(e){for(var i=0,s=e.target;i<r;)t[i].animation===s&&(t.splice(i,1),i-=1,r-=1,s.isPaused||u()),i+=1}function l(e,i){if(!e)return null;for(var s=0;s<r;){if(t[s].elem===e&&null!==t[s].elem)return t[s].animation;s+=1}var n=new AnimationItem;return c(n,e),n.setData(e,i),n}function h(){s+=1,f()}function u(){s-=1}function c(e,i){e.addEventListener("destroy",o),e.addEventListener("_active",h),e.addEventListener("_idle",u),t.push({elem:i,animation:e}),r+=1}function d(e){var o,l=e-i;for(o=0;o<r;o+=1)t[o].animation.advanceTime(l);i=e,s&&!a?window.requestAnimationFrame(d):n=!0}function p(e){i=e,window.requestAnimationFrame(d)}function f(){!a&&s&&n&&(window.requestAnimationFrame(p),n=!1)}return e.registerAnimation=l,e.loadAnimation=function(e){var t=new AnimationItem;return c(t,null),t.setParams(e),t},e.setSpeed=function(e,i){var s;for(s=0;s<r;s+=1)t[s].animation.setSpeed(e,i)},e.setDirection=function(e,i){var s;for(s=0;s<r;s+=1)t[s].animation.setDirection(e,i)},e.play=function(e){var i;for(i=0;i<r;i+=1)t[i].animation.play(e)},e.pause=function(e){var i;for(i=0;i<r;i+=1)t[i].animation.pause(e)},e.stop=function(e){var i;for(i=0;i<r;i+=1)t[i].animation.stop(e)},e.togglePause=function(e){var i;for(i=0;i<r;i+=1)t[i].animation.togglePause(e)},e.searchAnimations=function(e,t,i){var r,s=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),n=s.length;for(r=0;r<n;r+=1)i&&s[r].setAttribute("data-bm-type",i),l(s[r],e);if(t&&0===n){i||(i="svg");var a=document.getElementsByTagName("body")[0];a.innerText="";var o=createTag("div");o.style.width="100%",o.style.height="100%",o.setAttribute("data-bm-type",i),a.appendChild(o),l(o,e)}},e.resize=function(){var e;for(e=0;e<r;e+=1)t[e].animation.resize()},e.goToAndStop=function(e,i,s){var n;for(n=0;n<r;n+=1)t[n].animation.goToAndStop(e,i,s)},e.destroy=function(e){var i;for(i=r-1;i>=0;i-=1)t[i].animation.destroy(e)},e.freeze=function(){a=!0},e.unfreeze=function(){a=!1,f()},e.setVolume=function(e,i){var s;for(s=0;s<r;s+=1)t[s].animation.setVolume(e,i)},e.mute=function(e){var i;for(i=0;i<r;i+=1)t[i].animation.mute(e)},e.unmute=function(e){var i;for(i=0;i<r;i+=1)t[i].animation.unmute(e)},e.getRegisteredAnimations=function(){var e,i=t.length,r=[];for(e=0;e<i;e+=1)r.push(t[e].animation);return r},e}(),BezierFactory=function(){var e={getBezierEasing:function(e,i,r,s,n){var a=n||("bez_"+e+"_"+i+"_"+r+"_"+s).replace(/\./g,"p");if(t[a])return t[a];var o=new l([e,i,r,s]);return t[a]=o,o}},t={};var i="function"==typeof Float32Array;function r(e,t){return 1-3*t+3*e}function s(e,t){return 3*t-6*e}function n(e){return 3*e}function a(e,t,i){return((r(t,i)*e+s(t,i))*e+n(t))*e}function o(e,t,i){return 3*r(t,i)*e*e+2*s(t,i)*e+n(t)}function l(e){this._p=e,this._mSampleValues=i?new Float32Array(11):new Array(11),this._precomputed=!1,this.get=this.get.bind(this)}return l.prototype={get:function(e){var t=this._p[0],i=this._p[1],r=this._p[2],s=this._p[3];return this._precomputed||this._precompute(),t===i&&r===s?e:0===e?0:1===e?1:a(this._getTForX(e),i,s)},_precompute:function(){var e=this._p[0],t=this._p[1],i=this._p[2],r=this._p[3];this._precomputed=!0,e===t&&i===r||this._calcSampleValues()},_calcSampleValues:function(){for(var e=this._p[0],t=this._p[2],i=0;i<11;++i)this._mSampleValues[i]=a(.1*i,e,t)},_getTForX:function(e){for(var t=this._p[0],i=this._p[2],r=this._mSampleValues,s=0,n=1;10!==n&&r[n]<=e;++n)s+=.1;var l=s+.1*((e-r[--n])/(r[n+1]-r[n])),h=o(l,t,i);return h>=.001?function(e,t,i,r){for(var s=0;s<4;++s){var n=o(t,i,r);if(0===n)return t;t-=(a(t,i,r)-e)/n}return t}(e,l,t,i):0===h?l:function(e,t,i,r,s){var n,o,l=0;do{(n=a(o=t+(i-t)/2,r,s)-e)>0?i=o:t=o}while(Math.abs(n)>1e-7&&++l<10);return o}(e,s,s+.1,t,i)}},e}(),pooling={double:function(e){return e.concat(createSizedArray(e.length))}},poolFactory=function(e,t,i){var r=0,s=e,n=createSizedArray(s);return{newElement:function(){return r?n[r-=1]:t()},release:function(e){r===s&&(n=pooling.double(n),s*=2),i&&i(e),n[r]=e,r+=1}}},bezierLengthPool=poolFactory(8,(function(){return{addedLength:0,percents:createTypedArray("float32",getDefaultCurveSegments()),lengths:createTypedArray("float32",getDefaultCurveSegments())}})),segmentsLengthPool=poolFactory(8,(function(){return{lengths:[],totalLength:0}}),(function(e){var t,i=e.lengths.length;for(t=0;t<i;t+=1)bezierLengthPool.release(e.lengths[t]);e.lengths.length=0}));function bezFunction(){var e=Math;function t(e,t,i,r,s,n){var a=e*r+t*s+i*n-s*r-n*e-i*t;return a>-.001&&a<.001}var i=function(e,t,i,r){var s,n,a,o,l,h,u=getDefaultCurveSegments(),c=0,d=[],p=[],f=bezierLengthPool.newElement();for(a=i.length,s=0;s<u;s+=1){for(l=s/(u-1),h=0,n=0;n<a;n+=1)o=bmPow(1-l,3)*e[n]+3*bmPow(1-l,2)*l*i[n]+3*(1-l)*bmPow(l,2)*r[n]+bmPow(l,3)*t[n],d[n]=o,null!==p[n]&&(h+=bmPow(d[n]-p[n],2)),p[n]=d[n];h&&(c+=h=bmSqrt(h)),f.percents[s]=l,f.lengths[s]=c}return f.addedLength=c,f};function r(e){this.segmentLength=0,this.points=new Array(e)}function s(e,t){this.partialLength=e,this.point=t}var n,a=(n={},function(e,i,a,o){var l=(e[0]+"_"+e[1]+"_"+i[0]+"_"+i[1]+"_"+a[0]+"_"+a[1]+"_"+o[0]+"_"+o[1]).replace(/\./g,"p");if(!n[l]){var h,u,c,d,p,f,m,g=getDefaultCurveSegments(),y=0,v=null;2===e.length&&(e[0]!==i[0]||e[1]!==i[1])&&t(e[0],e[1],i[0],i[1],e[0]+a[0],e[1]+a[1])&&t(e[0],e[1],i[0],i[1],i[0]+o[0],i[1]+o[1])&&(g=2);var b=new r(g);for(c=a.length,h=0;h<g;h+=1){for(m=createSizedArray(c),p=h/(g-1),f=0,u=0;u<c;u+=1)d=bmPow(1-p,3)*e[u]+3*bmPow(1-p,2)*p*(e[u]+a[u])+3*(1-p)*bmPow(p,2)*(i[u]+o[u])+bmPow(p,3)*i[u],m[u]=d,null!==v&&(f+=bmPow(m[u]-v[u],2));y+=f=bmSqrt(f),b.points[h]=new s(f,m),v=m}b.segmentLength=y,n[l]=b}return n[l]});function o(e,t){var i=t.percents,r=t.lengths,s=i.length,n=bmFloor((s-1)*e),a=e*t.addedLength,o=0;if(n===s-1||0===n||a===r[n])return i[n];for(var l=r[n]>a?-1:1,h=!0;h;)if(r[n]<=a&&r[n+1]>a?(o=(a-r[n])/(r[n+1]-r[n]),h=!1):n+=l,n<0||n>=s-1){if(n===s-1)return i[n];h=!1}return i[n]+(i[n+1]-i[n])*o}var l=createTypedArray("float32",8);return{getSegmentsLength:function(e){var t,r=segmentsLengthPool.newElement(),s=e.c,n=e.v,a=e.o,o=e.i,l=e._length,h=r.lengths,u=0;for(t=0;t<l-1;t+=1)h[t]=i(n[t],n[t+1],a[t],o[t+1]),u+=h[t].addedLength;return s&&l&&(h[t]=i(n[t],n[0],a[t],o[0]),u+=h[t].addedLength),r.totalLength=u,r},getNewSegment:function(t,i,r,s,n,a,h){n<0?n=0:n>1&&(n=1);var u,c=o(n,h),d=o(a=a>1?1:a,h),p=t.length,f=1-c,m=1-d,g=f*f*f,y=c*f*f*3,v=c*c*f*3,b=c*c*c,C=f*f*m,x=c*f*m+f*c*m+f*f*d,S=c*c*m+f*c*d+c*f*d,_=c*c*d,T=f*m*m,P=c*m*m+f*d*m+f*m*d,w=c*d*m+f*d*d+c*m*d,k=c*d*d,E=m*m*m,A=d*m*m+m*d*m+m*m*d,F=d*d*m+m*d*d+d*m*d,D=d*d*d;for(u=0;u<p;u+=1)l[4*u]=e.round(1e3*(g*t[u]+y*r[u]+v*s[u]+b*i[u]))/1e3,l[4*u+1]=e.round(1e3*(C*t[u]+x*r[u]+S*s[u]+_*i[u]))/1e3,l[4*u+2]=e.round(1e3*(T*t[u]+P*r[u]+w*s[u]+k*i[u]))/1e3,l[4*u+3]=e.round(1e3*(E*t[u]+A*r[u]+F*s[u]+D*i[u]))/1e3;return l},getPointInSegment:function(t,i,r,s,n,a){var l=o(n,a),h=1-l;return[e.round(1e3*(h*h*h*t[0]+(l*h*h+h*l*h+h*h*l)*r[0]+(l*l*h+h*l*l+l*h*l)*s[0]+l*l*l*i[0]))/1e3,e.round(1e3*(h*h*h*t[1]+(l*h*h+h*l*h+h*h*l)*r[1]+(l*l*h+h*l*l+l*h*l)*s[1]+l*l*l*i[1]))/1e3]},buildBezierData:a,pointOnLine2D:t,pointOnLine3D:function(i,r,s,n,a,o,l,h,u){if(0===s&&0===o&&0===u)return t(i,r,n,a,l,h);var c,d=e.sqrt(e.pow(n-i,2)+e.pow(a-r,2)+e.pow(o-s,2)),p=e.sqrt(e.pow(l-i,2)+e.pow(h-r,2)+e.pow(u-s,2)),f=e.sqrt(e.pow(l-n,2)+e.pow(h-a,2)+e.pow(u-o,2));return(c=d>p?d>f?d-p-f:f-p-d:f>p?f-p-d:p-d-f)>-1e-4&&c<1e-4}}}var bez=bezFunction(),PropertyFactory=function(){var e=initialDefaultFrame,t=Math.abs;function i(e,t){var i,s=this.offsetTime;"multidimensional"===this.propType&&(i=createTypedArray("float32",this.pv.length));for(var n,a,o,l,h,u,c,d,p,f=t.lastIndex,m=f,g=this.keyframes.length-1,y=!0;y;){if(n=this.keyframes[m],a=this.keyframes[m+1],m===g-1&&e>=a.t-s){n.h&&(n=a),f=0;break}if(a.t-s>e){f=m;break}m<g-1?m+=1:(f=0,y=!1)}o=this.keyframesMetadata[m]||{};var v,b=a.t-s,C=n.t-s;if(n.to){o.bezierData||(o.bezierData=bez.buildBezierData(n.s,a.s||n.e,n.to,n.ti));var x=o.bezierData;if(e>=b||e<C){var S=e>=b?x.points.length-1:0;for(h=x.points[S].point.length,l=0;l<h;l+=1)i[l]=x.points[S].point[l]}else{o.__fnct?p=o.__fnct:(p=BezierFactory.getBezierEasing(n.o.x,n.o.y,n.i.x,n.i.y,n.n).get,o.__fnct=p),u=p((e-C)/(b-C));var _,T=x.segmentLength*u,P=t.lastFrame<e&&t._lastKeyframeIndex===m?t._lastAddedLength:0;for(d=t.lastFrame<e&&t._lastKeyframeIndex===m?t._lastPoint:0,y=!0,c=x.points.length;y;){if(P+=x.points[d].partialLength,0===T||0===u||d===x.points.length-1){for(h=x.points[d].point.length,l=0;l<h;l+=1)i[l]=x.points[d].point[l];break}if(T>=P&&T<P+x.points[d+1].partialLength){for(_=(T-P)/x.points[d+1].partialLength,h=x.points[d].point.length,l=0;l<h;l+=1)i[l]=x.points[d].point[l]+(x.points[d+1].point[l]-x.points[d].point[l])*_;break}d<c-1?d+=1:y=!1}t._lastPoint=d,t._lastAddedLength=P-x.points[d].partialLength,t._lastKeyframeIndex=m}}else{var w,k,E,A,F;if(g=n.s.length,v=a.s||n.e,this.sh&&1!==n.h)if(e>=b)i[0]=v[0],i[1]=v[1],i[2]=v[2];else if(e<=C)i[0]=n.s[0],i[1]=n.s[1],i[2]=n.s[2];else{!function(e,t){var i=t[0],r=t[1],s=t[2],n=t[3],a=Math.atan2(2*r*n-2*i*s,1-2*r*r-2*s*s),o=Math.asin(2*i*r+2*s*n),l=Math.atan2(2*i*n-2*r*s,1-2*i*i-2*s*s);e[0]=a/degToRads,e[1]=o/degToRads,e[2]=l/degToRads}(i,function(e,t,i){var r,s,n,a,o,l=[],h=e[0],u=e[1],c=e[2],d=e[3],p=t[0],f=t[1],m=t[2],g=t[3];(s=h*p+u*f+c*m+d*g)<0&&(s=-s,p=-p,f=-f,m=-m,g=-g);1-s>1e-6?(r=Math.acos(s),n=Math.sin(r),a=Math.sin((1-i)*r)/n,o=Math.sin(i*r)/n):(a=1-i,o=i);return l[0]=a*h+o*p,l[1]=a*u+o*f,l[2]=a*c+o*m,l[3]=a*d+o*g,l}(r(n.s),r(v),(e-C)/(b-C)))}else for(m=0;m<g;m+=1)1!==n.h&&(e>=b?u=1:e<C?u=0:(n.o.x.constructor===Array?(o.__fnct||(o.__fnct=[]),o.__fnct[m]?p=o.__fnct[m]:(w=void 0===n.o.x[m]?n.o.x[0]:n.o.x[m],k=void 0===n.o.y[m]?n.o.y[0]:n.o.y[m],E=void 0===n.i.x[m]?n.i.x[0]:n.i.x[m],A=void 0===n.i.y[m]?n.i.y[0]:n.i.y[m],p=BezierFactory.getBezierEasing(w,k,E,A).get,o.__fnct[m]=p)):o.__fnct?p=o.__fnct:(w=n.o.x,k=n.o.y,E=n.i.x,A=n.i.y,p=BezierFactory.getBezierEasing(w,k,E,A).get,n.keyframeMetadata=p),u=p((e-C)/(b-C)))),v=a.s||n.e,F=1===n.h?n.s[m]:n.s[m]+(v[m]-n.s[m])*u,"multidimensional"===this.propType?i[m]=F:i=F}return t.lastIndex=f,i}function r(e){var t=e[0]*degToRads,i=e[1]*degToRads,r=e[2]*degToRads,s=Math.cos(t/2),n=Math.cos(i/2),a=Math.cos(r/2),o=Math.sin(t/2),l=Math.sin(i/2),h=Math.sin(r/2);return[o*l*a+s*n*h,o*n*a+s*l*h,s*l*a-o*n*h,s*n*a-o*l*h]}function s(){var t=this.comp.renderedFrame-this.offsetTime,i=this.keyframes[0].t-this.offsetTime,r=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(t===this._caching.lastFrame||this._caching.lastFrame!==e&&(this._caching.lastFrame>=r&&t>=r||this._caching.lastFrame<i&&t<i))){this._caching.lastFrame>=t&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var s=this.interpolateValue(t,this._caching);this.pv=s}return this._caching.lastFrame=t,this.pv}function n(e){var i;if("unidimensional"===this.propType)i=e*this.mult,t(this.v-i)>1e-5&&(this.v=i,this._mdf=!0);else for(var r=0,s=this.v.length;r<s;)i=e[r]*this.mult,t(this.v[r]-i)>1e-5&&(this.v[r]=i,this._mdf=!0),r+=1}function a(){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length)if(this.lock)this.setVValue(this.pv);else{var e;this.lock=!0,this._mdf=this._isFirstFrame;var t=this.effectsSequence.length,i=this.kf?this.pv:this.data.k;for(e=0;e<t;e+=1)i=this.effectsSequence[e](i);this.setVValue(i),this._isFirstFrame=!1,this.lock=!1,this.frameId=this.elem.globalData.frameId}}function o(e){this.effectsSequence.push(e),this.container.addDynamicProperty(this)}function l(e,t,i,r){this.propType="unidimensional",this.mult=i||1,this.data=t,this.v=i?t.k*i:t.k,this.pv=t.k,this._mdf=!1,this.elem=e,this.container=r,this.comp=e.comp,this.k=!1,this.kf=!1,this.vel=0,this.effectsSequence=[],this._isFirstFrame=!0,this.getValue=a,this.setVValue=n,this.addEffect=o}function h(e,t,i,r){var s;this.propType="multidimensional",this.mult=i||1,this.data=t,this._mdf=!1,this.elem=e,this.container=r,this.comp=e.comp,this.k=!1,this.kf=!1,this.frameId=-1;var l=t.k.length;for(this.v=createTypedArray("float32",l),this.pv=createTypedArray("float32",l),this.vel=createTypedArray("float32",l),s=0;s<l;s+=1)this.v[s]=t.k[s]*this.mult,this.pv[s]=t.k[s];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=a,this.setVValue=n,this.addEffect=o}function u(t,r,l,h){this.propType="unidimensional",this.keyframes=r.k,this.keyframesMetadata=[],this.offsetTime=t.data.st,this.frameId=-1,this._caching={lastFrame:e,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=r,this.mult=l||1,this.elem=t,this.container=h,this.comp=t.comp,this.v=e,this.pv=e,this._isFirstFrame=!0,this.getValue=a,this.setVValue=n,this.interpolateValue=i,this.effectsSequence=[s.bind(this)],this.addEffect=o}function c(t,r,l,h){var u;this.propType="multidimensional";var c,d,p,f,m=r.k.length;for(u=0;u<m-1;u+=1)r.k[u].to&&r.k[u].s&&r.k[u+1]&&r.k[u+1].s&&(c=r.k[u].s,d=r.k[u+1].s,p=r.k[u].to,f=r.k[u].ti,(2===c.length&&(c[0]!==d[0]||c[1]!==d[1])&&bez.pointOnLine2D(c[0],c[1],d[0],d[1],c[0]+p[0],c[1]+p[1])&&bez.pointOnLine2D(c[0],c[1],d[0],d[1],d[0]+f[0],d[1]+f[1])||3===c.length&&(c[0]!==d[0]||c[1]!==d[1]||c[2]!==d[2])&&bez.pointOnLine3D(c[0],c[1],c[2],d[0],d[1],d[2],c[0]+p[0],c[1]+p[1],c[2]+p[2])&&bez.pointOnLine3D(c[0],c[1],c[2],d[0],d[1],d[2],d[0]+f[0],d[1]+f[1],d[2]+f[2]))&&(r.k[u].to=null,r.k[u].ti=null),c[0]===d[0]&&c[1]===d[1]&&0===p[0]&&0===p[1]&&0===f[0]&&0===f[1]&&(2===c.length||c[2]===d[2]&&0===p[2]&&0===f[2])&&(r.k[u].to=null,r.k[u].ti=null));this.effectsSequence=[s.bind(this)],this.data=r,this.keyframes=r.k,this.keyframesMetadata=[],this.offsetTime=t.data.st,this.k=!0,this.kf=!0,this._isFirstFrame=!0,this.mult=l||1,this.elem=t,this.container=h,this.comp=t.comp,this.getValue=a,this.setVValue=n,this.interpolateValue=i,this.frameId=-1;var g=r.k[0].s.length;for(this.v=createTypedArray("float32",g),this.pv=createTypedArray("float32",g),u=0;u<g;u+=1)this.v[u]=e,this.pv[u]=e;this._caching={lastFrame:e,lastIndex:0,value:createTypedArray("float32",g)},this.addEffect=o}return{getProp:function(e,t,i,r,s){var n;if(t.k.length)if("number"==typeof t.k[0])n=new h(e,t,r,s);else switch(i){case 0:n=new u(e,t,r,s);break;case 1:n=new c(e,t,r,s)}else n=new l(e,t,r,s);return n.effectsSequence.length&&s.addDynamicProperty(n),n}}}();function DynamicPropertyContainer(){}DynamicPropertyContainer.prototype={addDynamicProperty:function(e){-1===this.dynamicProperties.indexOf(e)&&(this.dynamicProperties.push(e),this.container.addDynamicProperty(this),this._isAnimated=!0)},iterateDynamicProperties:function(){var e;this._mdf=!1;var t=this.dynamicProperties.length;for(e=0;e<t;e+=1)this.dynamicProperties[e].getValue(),this.dynamicProperties[e]._mdf&&(this._mdf=!0)},initDynamicPropertyContainer:function(e){this.container=e,this.dynamicProperties=[],this._mdf=!1,this._isAnimated=!1}};var pointPool=poolFactory(8,(function(){return createTypedArray("float32",2)}));function ShapePath(){this.c=!1,this._length=0,this._maxLength=8,this.v=createSizedArray(this._maxLength),this.o=createSizedArray(this._maxLength),this.i=createSizedArray(this._maxLength)}ShapePath.prototype.setPathData=function(e,t){this.c=e,this.setLength(t);for(var i=0;i<t;)this.v[i]=pointPool.newElement(),this.o[i]=pointPool.newElement(),this.i[i]=pointPool.newElement(),i+=1},ShapePath.prototype.setLength=function(e){for(;this._maxLength<e;)this.doubleArrayLength();this._length=e},ShapePath.prototype.doubleArrayLength=function(){this.v=this.v.concat(createSizedArray(this._maxLength)),this.i=this.i.concat(createSizedArray(this._maxLength)),this.o=this.o.concat(createSizedArray(this._maxLength)),this._maxLength*=2},ShapePath.prototype.setXYAt=function(e,t,i,r,s){var n;switch(this._length=Math.max(this._length,r+1),this._length>=this._maxLength&&this.doubleArrayLength(),i){case"v":n=this.v;break;case"i":n=this.i;break;case"o":n=this.o;break;default:n=[]}(!n[r]||n[r]&&!s)&&(n[r]=pointPool.newElement()),n[r][0]=e,n[r][1]=t},ShapePath.prototype.setTripleAt=function(e,t,i,r,s,n,a,o){this.setXYAt(e,t,"v",a,o),this.setXYAt(i,r,"o",a,o),this.setXYAt(s,n,"i",a,o)},ShapePath.prototype.reverse=function(){var e=new ShapePath;e.setPathData(this.c,this._length);var t=this.v,i=this.o,r=this.i,s=0;this.c&&(e.setTripleAt(t[0][0],t[0][1],r[0][0],r[0][1],i[0][0],i[0][1],0,!1),s=1);var n,a=this._length-1,o=this._length;for(n=s;n<o;n+=1)e.setTripleAt(t[a][0],t[a][1],r[a][0],r[a][1],i[a][0],i[a][1],n,!1),a-=1;return e};var shapePool=(factory=poolFactory(4,(function(){return new ShapePath}),(function(e){var t,i=e._length;for(t=0;t<i;t+=1)pointPool.release(e.v[t]),pointPool.release(e.i[t]),pointPool.release(e.o[t]),e.v[t]=null,e.i[t]=null,e.o[t]=null;e._length=0,e.c=!1})),factory.clone=function(e){var t,i=factory.newElement(),r=void 0===e._length?e.v.length:e._length;for(i.setLength(r),i.c=e.c,t=0;t<r;t+=1)i.setTripleAt(e.v[t][0],e.v[t][1],e.o[t][0],e.o[t][1],e.i[t][0],e.i[t][1],t);return i},factory),factory;function ShapeCollection(){this._length=0,this._maxLength=4,this.shapes=createSizedArray(this._maxLength)}ShapeCollection.prototype.addShape=function(e){this._length===this._maxLength&&(this.shapes=this.shapes.concat(createSizedArray(this._maxLength)),this._maxLength*=2),this.shapes[this._length]=e,this._length+=1},ShapeCollection.prototype.releaseShapes=function(){var e;for(e=0;e<this._length;e+=1)shapePool.release(this.shapes[e]);this._length=0};var shapeCollectionPool=(ob={newShapeCollection:function(){return _length?pool[_length-=1]:new ShapeCollection},release:function(e){var t,i=e._length;for(t=0;t<i;t+=1)shapePool.release(e.shapes[t]);e._length=0,_length===_maxLength&&(pool=pooling.double(pool),_maxLength*=2),pool[_length]=e,_length+=1}},_length=0,_maxLength=4,pool=createSizedArray(_maxLength),ob),ob,_length,_maxLength,pool,ShapePropertyFactory=function(){function e(e,t,i){var r,s,n,a,o,l,h,u,c,d=i.lastIndex,p=this.keyframes;if(e<p[0].t-this.offsetTime)r=p[0].s[0],n=!0,d=0;else if(e>=p[p.length-1].t-this.offsetTime)r=p[p.length-1].s?p[p.length-1].s[0]:p[p.length-2].e[0],n=!0;else{for(var f,m,g,y=d,v=p.length-1,b=!0;b&&(f=p[y],!((m=p[y+1]).t-this.offsetTime>e));)y<v-1?y+=1:b=!1;if(g=this.keyframesMetadata[y]||{},d=y,!(n=1===f.h)){if(e>=m.t-this.offsetTime)u=1;else if(e<f.t-this.offsetTime)u=0;else{var C;g.__fnct?C=g.__fnct:(C=BezierFactory.getBezierEasing(f.o.x,f.o.y,f.i.x,f.i.y).get,g.__fnct=C),u=C((e-(f.t-this.offsetTime))/(m.t-this.offsetTime-(f.t-this.offsetTime)))}s=m.s?m.s[0]:f.e[0]}r=f.s[0]}for(l=t._length,h=r.i[0].length,i.lastIndex=d,a=0;a<l;a+=1)for(o=0;o<h;o+=1)c=n?r.i[a][o]:r.i[a][o]+(s.i[a][o]-r.i[a][o])*u,t.i[a][o]=c,c=n?r.o[a][o]:r.o[a][o]+(s.o[a][o]-r.o[a][o])*u,t.o[a][o]=c,c=n?r.v[a][o]:r.v[a][o]+(s.v[a][o]-r.v[a][o])*u,t.v[a][o]=c}function t(){var e=this.comp.renderedFrame-this.offsetTime,t=this.keyframes[0].t-this.offsetTime,i=this.keyframes[this.keyframes.length-1].t-this.offsetTime,r=this._caching.lastFrame;return-999999!==r&&(r<t&&e<t||r>i&&e>i)||(this._caching.lastIndex=r<e?this._caching.lastIndex:0,this.interpolateShape(e,this.pv,this._caching)),this._caching.lastFrame=e,this.pv}function i(){this.paths=this.localShapeCollection}function r(e){(function(e,t){if(e._length!==t._length||e.c!==t.c)return!1;var i,r=e._length;for(i=0;i<r;i+=1)if(e.v[i][0]!==t.v[i][0]||e.v[i][1]!==t.v[i][1]||e.o[i][0]!==t.o[i][0]||e.o[i][1]!==t.o[i][1]||e.i[i][0]!==t.i[i][0]||e.i[i][1]!==t.i[i][1])return!1;return!0})(this.v,e)||(this.v=shapePool.clone(e),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection)}function s(){if(this.elem.globalData.frameId!==this.frameId)if(this.effectsSequence.length)if(this.lock)this.setVValue(this.pv);else{var e,t;this.lock=!0,this._mdf=!1,e=this.kf?this.pv:this.data.ks?this.data.ks.k:this.data.pt.k;var i=this.effectsSequence.length;for(t=0;t<i;t+=1)e=this.effectsSequence[t](e);this.setVValue(e),this.lock=!1,this.frameId=this.elem.globalData.frameId}else this._mdf=!1}function n(e,t,r){this.propType="shape",this.comp=e.comp,this.container=e,this.elem=e,this.data=t,this.k=!1,this.kf=!1,this._mdf=!1;var s=3===r?t.pt.k:t.ks.k;this.v=shapePool.clone(s),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=i,this.effectsSequence=[]}function a(e){this.effectsSequence.push(e),this.container.addDynamicProperty(this)}function o(e,r,s){this.propType="shape",this.comp=e.comp,this.elem=e,this.container=e,this.offsetTime=e.data.st,this.keyframes=3===s?r.pt.k:r.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var n=this.keyframes[0].s[0].i.length;this.v=shapePool.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,n),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=-999999,this.reset=i,this._caching={lastFrame:-999999,lastIndex:0},this.effectsSequence=[t.bind(this)]}n.prototype.interpolateShape=e,n.prototype.getValue=s,n.prototype.setVValue=r,n.prototype.addEffect=a,o.prototype.getValue=s,o.prototype.interpolateShape=e,o.prototype.setVValue=r,o.prototype.addEffect=a;var l=function(){var e=roundCorner;function t(e,t){this.v=shapePool.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=t.d,this.elem=e,this.comp=e.comp,this.frameId=-1,this.initDynamicPropertyContainer(e),this.p=PropertyFactory.getProp(e,t.p,1,0,this),this.s=PropertyFactory.getProp(e,t.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}return t.prototype={reset:i,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertEllToPath())},convertEllToPath:function(){var t=this.p.v[0],i=this.p.v[1],r=this.s.v[0]/2,s=this.s.v[1]/2,n=3!==this.d,a=this.v;a.v[0][0]=t,a.v[0][1]=i-s,a.v[1][0]=n?t+r:t-r,a.v[1][1]=i,a.v[2][0]=t,a.v[2][1]=i+s,a.v[3][0]=n?t-r:t+r,a.v[3][1]=i,a.i[0][0]=n?t-r*e:t+r*e,a.i[0][1]=i-s,a.i[1][0]=n?t+r:t-r,a.i[1][1]=i-s*e,a.i[2][0]=n?t+r*e:t-r*e,a.i[2][1]=i+s,a.i[3][0]=n?t-r:t+r,a.i[3][1]=i+s*e,a.o[0][0]=n?t+r*e:t-r*e,a.o[0][1]=i-s,a.o[1][0]=n?t+r:t-r,a.o[1][1]=i+s*e,a.o[2][0]=n?t-r*e:t+r*e,a.o[2][1]=i+s,a.o[3][0]=n?t-r:t+r,a.o[3][1]=i-s*e}},extendPrototype([DynamicPropertyContainer],t),t}(),h=function(){function e(e,t){this.v=shapePool.newElement(),this.v.setPathData(!0,0),this.elem=e,this.comp=e.comp,this.data=t,this.frameId=-1,this.d=t.d,this.initDynamicPropertyContainer(e),1===t.sy?(this.ir=PropertyFactory.getProp(e,t.ir,0,0,this),this.is=PropertyFactory.getProp(e,t.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=PropertyFactory.getProp(e,t.pt,0,0,this),this.p=PropertyFactory.getProp(e,t.p,1,0,this),this.r=PropertyFactory.getProp(e,t.r,0,degToRads,this),this.or=PropertyFactory.getProp(e,t.or,0,0,this),this.os=PropertyFactory.getProp(e,t.os,0,.01,this),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertToPath())}return e.prototype={reset:i,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertToPath())},convertStarToPath:function(){var e,t,i,r,s=2*Math.floor(this.pt.v),n=2*Math.PI/s,a=!0,o=this.or.v,l=this.ir.v,h=this.os.v,u=this.is.v,c=2*Math.PI*o/(2*s),d=2*Math.PI*l/(2*s),p=-Math.PI/2;p+=this.r.v;var f=3===this.data.d?-1:1;for(this.v._length=0,e=0;e<s;e+=1){i=a?h:u,r=a?c:d;var m=(t=a?o:l)*Math.cos(p),g=t*Math.sin(p),y=0===m&&0===g?0:g/Math.sqrt(m*m+g*g),v=0===m&&0===g?0:-m/Math.sqrt(m*m+g*g);m+=+this.p.v[0],g+=+this.p.v[1],this.v.setTripleAt(m,g,m-y*r*i*f,g-v*r*i*f,m+y*r*i*f,g+v*r*i*f,e,!0),a=!a,p+=n*f}},convertPolygonToPath:function(){var e,t=Math.floor(this.pt.v),i=2*Math.PI/t,r=this.or.v,s=this.os.v,n=2*Math.PI*r/(4*t),a=.5*-Math.PI,o=3===this.data.d?-1:1;for(a+=this.r.v,this.v._length=0,e=0;e<t;e+=1){var l=r*Math.cos(a),h=r*Math.sin(a),u=0===l&&0===h?0:h/Math.sqrt(l*l+h*h),c=0===l&&0===h?0:-l/Math.sqrt(l*l+h*h);l+=+this.p.v[0],h+=+this.p.v[1],this.v.setTripleAt(l,h,l-u*n*s*o,h-c*n*s*o,l+u*n*s*o,h+c*n*s*o,e,!0),a+=i*o}this.paths.length=0,this.paths[0]=this.v}},extendPrototype([DynamicPropertyContainer],e),e}(),u=function(){function e(e,t){this.v=shapePool.newElement(),this.v.c=!0,this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=e,this.comp=e.comp,this.frameId=-1,this.d=t.d,this.initDynamicPropertyContainer(e),this.p=PropertyFactory.getProp(e,t.p,1,0,this),this.s=PropertyFactory.getProp(e,t.s,1,0,this),this.r=PropertyFactory.getProp(e,t.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}return e.prototype={convertRectToPath:function(){var e=this.p.v[0],t=this.p.v[1],i=this.s.v[0]/2,r=this.s.v[1]/2,s=bmMin(i,r,this.r.v),n=s*(1-roundCorner);this.v._length=0,2===this.d||1===this.d?(this.v.setTripleAt(e+i,t-r+s,e+i,t-r+s,e+i,t-r+n,0,!0),this.v.setTripleAt(e+i,t+r-s,e+i,t+r-n,e+i,t+r-s,1,!0),0!==s?(this.v.setTripleAt(e+i-s,t+r,e+i-s,t+r,e+i-n,t+r,2,!0),this.v.setTripleAt(e-i+s,t+r,e-i+n,t+r,e-i+s,t+r,3,!0),this.v.setTripleAt(e-i,t+r-s,e-i,t+r-s,e-i,t+r-n,4,!0),this.v.setTripleAt(e-i,t-r+s,e-i,t-r+n,e-i,t-r+s,5,!0),this.v.setTripleAt(e-i+s,t-r,e-i+s,t-r,e-i+n,t-r,6,!0),this.v.setTripleAt(e+i-s,t-r,e+i-n,t-r,e+i-s,t-r,7,!0)):(this.v.setTripleAt(e-i,t+r,e-i+n,t+r,e-i,t+r,2),this.v.setTripleAt(e-i,t-r,e-i,t-r+n,e-i,t-r,3))):(this.v.setTripleAt(e+i,t-r+s,e+i,t-r+n,e+i,t-r+s,0,!0),0!==s?(this.v.setTripleAt(e+i-s,t-r,e+i-s,t-r,e+i-n,t-r,1,!0),this.v.setTripleAt(e-i+s,t-r,e-i+n,t-r,e-i+s,t-r,2,!0),this.v.setTripleAt(e-i,t-r+s,e-i,t-r+s,e-i,t-r+n,3,!0),this.v.setTripleAt(e-i,t+r-s,e-i,t+r-n,e-i,t+r-s,4,!0),this.v.setTripleAt(e-i+s,t+r,e-i+s,t+r,e-i+n,t+r,5,!0),this.v.setTripleAt(e+i-s,t+r,e+i-n,t+r,e+i-s,t+r,6,!0),this.v.setTripleAt(e+i,t+r-s,e+i,t+r-s,e+i,t+r-n,7,!0)):(this.v.setTripleAt(e-i,t-r,e-i+n,t-r,e-i,t-r,1,!0),this.v.setTripleAt(e-i,t+r,e-i,t+r-n,e-i,t+r,2,!0),this.v.setTripleAt(e+i,t+r,e+i-n,t+r,e+i,t+r,3,!0)))},getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertRectToPath())},reset:i},extendPrototype([DynamicPropertyContainer],e),e}();var c={getShapeProp:function(e,t,i){var r;return 3===i||4===i?r=(3===i?t.pt:t.ks).k.length?new o(e,t,i):new n(e,t,i):5===i?r=new u(e,t):6===i?r=new l(e,t):7===i&&(r=new h(e,t)),r.k&&e.addDynamicProperty(r),r},getConstructorFunction:function(){return n},getKeyframedConstructorFunction:function(){return o}};return c}(),Matrix=function(){var e=Math.cos,t=Math.sin,i=Math.tan,r=Math.round;function s(){return this.props[0]=1,this.props[1]=0,this.props[2]=0,this.props[3]=0,this.props[4]=0,this.props[5]=1,this.props[6]=0,this.props[7]=0,this.props[8]=0,this.props[9]=0,this.props[10]=1,this.props[11]=0,this.props[12]=0,this.props[13]=0,this.props[14]=0,this.props[15]=1,this}function n(i){if(0===i)return this;var r=e(i),s=t(i);return this._t(r,-s,0,0,s,r,0,0,0,0,1,0,0,0,0,1)}function a(i){if(0===i)return this;var r=e(i),s=t(i);return this._t(1,0,0,0,0,r,-s,0,0,s,r,0,0,0,0,1)}function o(i){if(0===i)return this;var r=e(i),s=t(i);return this._t(r,0,s,0,0,1,0,0,-s,0,r,0,0,0,0,1)}function l(i){if(0===i)return this;var r=e(i),s=t(i);return this._t(r,-s,0,0,s,r,0,0,0,0,1,0,0,0,0,1)}function h(e,t){return this._t(1,t,e,1,0,0)}function u(e,t){return this.shear(i(e),i(t))}function c(r,s){var n=e(s),a=t(s);return this._t(n,a,0,0,-a,n,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,i(r),1,0,0,0,0,1,0,0,0,0,1)._t(n,-a,0,0,a,n,0,0,0,0,1,0,0,0,0,1)}function d(e,t,i){return i||0===i||(i=1),1===e&&1===t&&1===i?this:this._t(e,0,0,0,0,t,0,0,0,0,i,0,0,0,0,1)}function p(e,t,i,r,s,n,a,o,l,h,u,c,d,p,f,m){return this.props[0]=e,this.props[1]=t,this.props[2]=i,this.props[3]=r,this.props[4]=s,this.props[5]=n,this.props[6]=a,this.props[7]=o,this.props[8]=l,this.props[9]=h,this.props[10]=u,this.props[11]=c,this.props[12]=d,this.props[13]=p,this.props[14]=f,this.props[15]=m,this}function f(e,t,i){return i=i||0,0!==e||0!==t||0!==i?this._t(1,0,0,0,0,1,0,0,0,0,1,0,e,t,i,1):this}function m(e,t,i,r,s,n,a,o,l,h,u,c,d,p,f,m){var g=this.props;if(1===e&&0===t&&0===i&&0===r&&0===s&&1===n&&0===a&&0===o&&0===l&&0===h&&1===u&&0===c)return g[12]=g[12]*e+g[15]*d,g[13]=g[13]*n+g[15]*p,g[14]=g[14]*u+g[15]*f,g[15]*=m,this._identityCalculated=!1,this;var y=g[0],v=g[1],b=g[2],C=g[3],x=g[4],S=g[5],_=g[6],T=g[7],P=g[8],w=g[9],k=g[10],E=g[11],A=g[12],F=g[13],D=g[14],M=g[15];return g[0]=y*e+v*s+b*l+C*d,g[1]=y*t+v*n+b*h+C*p,g[2]=y*i+v*a+b*u+C*f,g[3]=y*r+v*o+b*c+C*m,g[4]=x*e+S*s+_*l+T*d,g[5]=x*t+S*n+_*h+T*p,g[6]=x*i+S*a+_*u+T*f,g[7]=x*r+S*o+_*c+T*m,g[8]=P*e+w*s+k*l+E*d,g[9]=P*t+w*n+k*h+E*p,g[10]=P*i+w*a+k*u+E*f,g[11]=P*r+w*o+k*c+E*m,g[12]=A*e+F*s+D*l+M*d,g[13]=A*t+F*n+D*h+M*p,g[14]=A*i+F*a+D*u+M*f,g[15]=A*r+F*o+D*c+M*m,this._identityCalculated=!1,this}function g(){return this._identityCalculated||(this._identity=!(1!==this.props[0]||0!==this.props[1]||0!==this.props[2]||0!==this.props[3]||0!==this.props[4]||1!==this.props[5]||0!==this.props[6]||0!==this.props[7]||0!==this.props[8]||0!==this.props[9]||1!==this.props[10]||0!==this.props[11]||0!==this.props[12]||0!==this.props[13]||0!==this.props[14]||1!==this.props[15]),this._identityCalculated=!0),this._identity}function y(e){for(var t=0;t<16;){if(e.props[t]!==this.props[t])return!1;t+=1}return!0}function v(e){var t;for(t=0;t<16;t+=1)e.props[t]=this.props[t];return e}function b(e){var t;for(t=0;t<16;t+=1)this.props[t]=e[t]}function C(e,t,i){return{x:e*this.props[0]+t*this.props[4]+i*this.props[8]+this.props[12],y:e*this.props[1]+t*this.props[5]+i*this.props[9]+this.props[13],z:e*this.props[2]+t*this.props[6]+i*this.props[10]+this.props[14]}}function x(e,t,i){return e*this.props[0]+t*this.props[4]+i*this.props[8]+this.props[12]}function S(e,t,i){return e*this.props[1]+t*this.props[5]+i*this.props[9]+this.props[13]}function _(e,t,i){return e*this.props[2]+t*this.props[6]+i*this.props[10]+this.props[14]}function T(){var e=this.props[0]*this.props[5]-this.props[1]*this.props[4],t=this.props[5]/e,i=-this.props[1]/e,r=-this.props[4]/e,s=this.props[0]/e,n=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/e,a=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/e,o=new Matrix;return o.props[0]=t,o.props[1]=i,o.props[4]=r,o.props[5]=s,o.props[12]=n,o.props[13]=a,o}function P(e){return this.getInverseMatrix().applyToPointArray(e[0],e[1],e[2]||0)}function w(e){var t,i=e.length,r=[];for(t=0;t<i;t+=1)r[t]=P(e[t]);return r}function k(e,t,i){var r=createTypedArray("float32",6);if(this.isIdentity())r[0]=e[0],r[1]=e[1],r[2]=t[0],r[3]=t[1],r[4]=i[0],r[5]=i[1];else{var s=this.props[0],n=this.props[1],a=this.props[4],o=this.props[5],l=this.props[12],h=this.props[13];r[0]=e[0]*s+e[1]*a+l,r[1]=e[0]*n+e[1]*o+h,r[2]=t[0]*s+t[1]*a+l,r[3]=t[0]*n+t[1]*o+h,r[4]=i[0]*s+i[1]*a+l,r[5]=i[0]*n+i[1]*o+h}return r}function E(e,t,i){return this.isIdentity()?[e,t,i]:[e*this.props[0]+t*this.props[4]+i*this.props[8]+this.props[12],e*this.props[1]+t*this.props[5]+i*this.props[9]+this.props[13],e*this.props[2]+t*this.props[6]+i*this.props[10]+this.props[14]]}function A(e,t){if(this.isIdentity())return e+","+t;var i=this.props;return Math.round(100*(e*i[0]+t*i[4]+i[12]))/100+","+Math.round(100*(e*i[1]+t*i[5]+i[13]))/100}function F(){for(var e=0,t=this.props,i="matrix3d(";e<16;)i+=r(1e4*t[e])/1e4,i+=15===e?")":",",e+=1;return i}function D(e){return e<1e-6&&e>0||e>-1e-6&&e<0?r(1e4*e)/1e4:e}function M(){var e=this.props;return"matrix("+D(e[0])+","+D(e[1])+","+D(e[4])+","+D(e[5])+","+D(e[12])+","+D(e[13])+")"}return function(){this.reset=s,this.rotate=n,this.rotateX=a,this.rotateY=o,this.rotateZ=l,this.skew=u,this.skewFromAxis=c,this.shear=h,this.scale=d,this.setTransform=p,this.translate=f,this.transform=m,this.applyToPoint=C,this.applyToX=x,this.applyToY=S,this.applyToZ=_,this.applyToPointArray=E,this.applyToTriplePoints=k,this.applyToPointStringified=A,this.toCSS=F,this.to2dCSS=M,this.clone=v,this.cloneFromProps=b,this.equals=y,this.inversePoints=w,this.inversePoint=P,this.getInverseMatrix=T,this._t=this.transform,this.isIdentity=g,this._identity=!0,this._identityCalculated=!1,this.props=createTypedArray("float32",16),this.reset()}}();function _typeof$3(e){return(_typeof$3="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var lottie={},standalone="__[STANDALONE]__",animationData="__[ANIMATIONDATA]__",renderer="",queryString;function setLocation(e){setLocationHref(e)}function searchAnimations(){!0===standalone?animationManager.searchAnimations(animationData,standalone,renderer):animationManager.searchAnimations()}function setSubframeRendering(e){setSubframeEnabled(e)}function setPrefix(e){setIdPrefix(e)}function loadAnimation(e){return!0===standalone&&(e.animationData=JSON.parse(animationData)),animationManager.loadAnimation(e)}function setQuality(e){if("string"==typeof e)switch(e){case"high":setDefaultCurveSegments(200);break;default:case"medium":setDefaultCurveSegments(50);break;case"low":setDefaultCurveSegments(10)}else!isNaN(e)&&e>1&&setDefaultCurveSegments(e);getDefaultCurveSegments()>=50?roundValues(!1):roundValues(!0)}function inBrowser(){return"undefined"!=typeof navigator}function installPlugin(e,t){"expressions"===e&&setExpressionsPlugin(t)}function getFactory(e){switch(e){case"propertyFactory":return PropertyFactory;case"shapePropertyFactory":return ShapePropertyFactory;case"matrix":return Matrix;default:return null}}function checkReady(){"complete"===document.readyState&&(clearInterval(readyStateCheckInterval),searchAnimations())}function getQueryVariable(e){for(var t=queryString.split("&"),i=0;i<t.length;i+=1){var r=t[i].split("=");if(decodeURIComponent(r[0])==e)return decodeURIComponent(r[1])}return null}if(lottie.play=animationManager.play,lottie.pause=animationManager.pause,lottie.setLocationHref=setLocation,lottie.togglePause=animationManager.togglePause,lottie.setSpeed=animationManager.setSpeed,lottie.setDirection=animationManager.setDirection,lottie.stop=animationManager.stop,lottie.searchAnimations=searchAnimations,lottie.registerAnimation=animationManager.registerAnimation,lottie.loadAnimation=loadAnimation,lottie.setSubframeRendering=setSubframeRendering,lottie.resize=animationManager.resize,lottie.goToAndStop=animationManager.goToAndStop,lottie.destroy=animationManager.destroy,lottie.setQuality=setQuality,lottie.inBrowser=inBrowser,lottie.installPlugin=installPlugin,lottie.freeze=animationManager.freeze,lottie.unfreeze=animationManager.unfreeze,lottie.setVolume=animationManager.setVolume,lottie.mute=animationManager.mute,lottie.unmute=animationManager.unmute,lottie.getRegisteredAnimations=animationManager.getRegisteredAnimations,lottie.useWebWorker=setWebWorker,lottie.setIDPrefix=setPrefix,lottie.__getFactory=getFactory,lottie.version="5.9.1",standalone){var scripts=document.getElementsByTagName("script"),index=scripts.length-1,myScript=scripts[index]||{src:""};queryString=myScript.src.replace(/^[^\?]+\??/,""),renderer=getQueryVariable("renderer")}var readyStateCheckInterval=setInterval(checkReady,100);try{"object"===_typeof$3(exports)&&void 0!==module||__webpack_require__(293)||(window.bodymovin=lottie)}catch(e){}var ShapeModifiers=function(){var e={},t={};return e.registerModifier=function(e,i){t[e]||(t[e]=i)},e.getModifier=function(e,i,r){return new t[e](i,r)},e}();function ShapeModifier(){}function TrimModifier(){}function PuckerAndBloatModifier(){}ShapeModifier.prototype.initModifierProperties=function(){},ShapeModifier.prototype.addShapeToModifier=function(){},ShapeModifier.prototype.addShape=function(e){if(!this.closed){e.sh.container.addDynamicProperty(e.sh);var t={shape:e.sh,data:e,localShapeCollection:shapeCollectionPool.newShapeCollection()};this.shapes.push(t),this.addShapeToModifier(t),this._isAnimated&&e.setAsAnimated()}},ShapeModifier.prototype.init=function(e,t){this.shapes=[],this.elem=e,this.initDynamicPropertyContainer(e),this.initModifierProperties(e,t),this.frameId=initialDefaultFrame,this.closed=!1,this.k=!1,this.dynamicProperties.length?this.k=!0:this.getValue(!0)},ShapeModifier.prototype.processKeys=function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties())},extendPrototype([DynamicPropertyContainer],ShapeModifier),extendPrototype([ShapeModifier],TrimModifier),TrimModifier.prototype.initModifierProperties=function(e,t){this.s=PropertyFactory.getProp(e,t.s,0,.01,this),this.e=PropertyFactory.getProp(e,t.e,0,.01,this),this.o=PropertyFactory.getProp(e,t.o,0,0,this),this.sValue=0,this.eValue=0,this.getValue=this.processKeys,this.m=t.m,this._isAnimated=!!this.s.effectsSequence.length||!!this.e.effectsSequence.length||!!this.o.effectsSequence.length},TrimModifier.prototype.addShapeToModifier=function(e){e.pathsData=[]},TrimModifier.prototype.calculateShapeEdges=function(e,t,i,r,s){var n=[];t<=1?n.push({s:e,e:t}):e>=1?n.push({s:e-1,e:t-1}):(n.push({s:e,e:1}),n.push({s:0,e:t-1}));var a,o,l=[],h=n.length;for(a=0;a<h;a+=1){var u,c;if(!((o=n[a]).e*s<r||o.s*s>r+i))u=o.s*s<=r?0:(o.s*s-r)/i,c=o.e*s>=r+i?1:(o.e*s-r)/i,l.push([u,c])}return l.length||l.push([0,0]),l},TrimModifier.prototype.releasePathsData=function(e){var t,i=e.length;for(t=0;t<i;t+=1)segmentsLengthPool.release(e[t]);return e.length=0,e},TrimModifier.prototype.processShapes=function(e){var t,i,r,s;if(this._mdf||e){var n=this.o.v%360/360;if(n<0&&(n+=1),(t=this.s.v>1?1+n:this.s.v<0?0+n:this.s.v+n)>(i=this.e.v>1?1+n:this.e.v<0?0+n:this.e.v+n)){var a=t;t=i,i=a}t=1e-4*Math.round(1e4*t),i=1e-4*Math.round(1e4*i),this.sValue=t,this.eValue=i}else t=this.sValue,i=this.eValue;var o,l,h,u,c,d=this.shapes.length,p=0;if(i===t)for(s=0;s<d;s+=1)this.shapes[s].localShapeCollection.releaseShapes(),this.shapes[s].shape._mdf=!0,this.shapes[s].shape.paths=this.shapes[s].localShapeCollection,this._mdf&&(this.shapes[s].pathsData.length=0);else if(1===i&&0===t||0===i&&1===t){if(this._mdf)for(s=0;s<d;s+=1)this.shapes[s].pathsData.length=0,this.shapes[s].shape._mdf=!0}else{var f,m,g=[];for(s=0;s<d;s+=1)if((f=this.shapes[s]).shape._mdf||this._mdf||e||2===this.m){if(l=(r=f.shape.paths)._length,c=0,!f.shape._mdf&&f.pathsData.length)c=f.totalShapeLength;else{for(h=this.releasePathsData(f.pathsData),o=0;o<l;o+=1)u=bez.getSegmentsLength(r.shapes[o]),h.push(u),c+=u.totalLength;f.totalShapeLength=c,f.pathsData=h}p+=c,f.shape._mdf=!0}else f.shape.paths=f.localShapeCollection;var y,v=t,b=i,C=0;for(s=d-1;s>=0;s-=1)if((f=this.shapes[s]).shape._mdf){for((m=f.localShapeCollection).releaseShapes(),2===this.m&&d>1?(y=this.calculateShapeEdges(t,i,f.totalShapeLength,C,p),C+=f.totalShapeLength):y=[[v,b]],l=y.length,o=0;o<l;o+=1){v=y[o][0],b=y[o][1],g.length=0,b<=1?g.push({s:f.totalShapeLength*v,e:f.totalShapeLength*b}):v>=1?g.push({s:f.totalShapeLength*(v-1),e:f.totalShapeLength*(b-1)}):(g.push({s:f.totalShapeLength*v,e:f.totalShapeLength}),g.push({s:0,e:f.totalShapeLength*(b-1)}));var x=this.addShapes(f,g[0]);if(g[0].s!==g[0].e){if(g.length>1)if(f.shape.paths.shapes[f.shape.paths._length-1].c){var S=x.pop();this.addPaths(x,m),x=this.addShapes(f,g[1],S)}else this.addPaths(x,m),x=this.addShapes(f,g[1]);this.addPaths(x,m)}}f.shape.paths=m}}},TrimModifier.prototype.addPaths=function(e,t){var i,r=e.length;for(i=0;i<r;i+=1)t.addShape(e[i])},TrimModifier.prototype.addSegment=function(e,t,i,r,s,n,a){s.setXYAt(t[0],t[1],"o",n),s.setXYAt(i[0],i[1],"i",n+1),a&&s.setXYAt(e[0],e[1],"v",n),s.setXYAt(r[0],r[1],"v",n+1)},TrimModifier.prototype.addSegmentFromArray=function(e,t,i,r){t.setXYAt(e[1],e[5],"o",i),t.setXYAt(e[2],e[6],"i",i+1),r&&t.setXYAt(e[0],e[4],"v",i),t.setXYAt(e[3],e[7],"v",i+1)},TrimModifier.prototype.addShapes=function(e,t,i){var r,s,n,a,o,l,h,u,c=e.pathsData,d=e.shape.paths.shapes,p=e.shape.paths._length,f=0,m=[],g=!0;for(i?(o=i._length,u=i._length):(i=shapePool.newElement(),o=0,u=0),m.push(i),r=0;r<p;r+=1){for(l=c[r].lengths,i.c=d[r].c,n=d[r].c?l.length:l.length+1,s=1;s<n;s+=1)if(f+(a=l[s-1]).addedLength<t.s)f+=a.addedLength,i.c=!1;else{if(f>t.e){i.c=!1;break}t.s<=f&&t.e>=f+a.addedLength?(this.addSegment(d[r].v[s-1],d[r].o[s-1],d[r].i[s],d[r].v[s],i,o,g),g=!1):(h=bez.getNewSegment(d[r].v[s-1],d[r].v[s],d[r].o[s-1],d[r].i[s],(t.s-f)/a.addedLength,(t.e-f)/a.addedLength,l[s-1]),this.addSegmentFromArray(h,i,o,g),g=!1,i.c=!1),f+=a.addedLength,o+=1}if(d[r].c&&l.length){if(a=l[s-1],f<=t.e){var y=l[s-1].addedLength;t.s<=f&&t.e>=f+y?(this.addSegment(d[r].v[s-1],d[r].o[s-1],d[r].i[0],d[r].v[0],i,o,g),g=!1):(h=bez.getNewSegment(d[r].v[s-1],d[r].v[0],d[r].o[s-1],d[r].i[0],(t.s-f)/y,(t.e-f)/y,l[s-1]),this.addSegmentFromArray(h,i,o,g),g=!1,i.c=!1)}else i.c=!1;f+=a.addedLength,o+=1}if(i._length&&(i.setXYAt(i.v[u][0],i.v[u][1],"i",u),i.setXYAt(i.v[i._length-1][0],i.v[i._length-1][1],"o",i._length-1)),f>t.e)break;r<p-1&&(i=shapePool.newElement(),g=!0,m.push(i),o=0)}return m},extendPrototype([ShapeModifier],PuckerAndBloatModifier),PuckerAndBloatModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.amount=PropertyFactory.getProp(e,t.a,0,null,this),this._isAnimated=!!this.amount.effectsSequence.length},PuckerAndBloatModifier.prototype.processPath=function(e,t){var i=t/100,r=[0,0],s=e._length,n=0;for(n=0;n<s;n+=1)r[0]+=e.v[n][0],r[1]+=e.v[n][1];r[0]/=s,r[1]/=s;var a,o,l,h,u,c,d=shapePool.newElement();for(d.c=e.c,n=0;n<s;n+=1)a=e.v[n][0]+(r[0]-e.v[n][0])*i,o=e.v[n][1]+(r[1]-e.v[n][1])*i,l=e.o[n][0]+(r[0]-e.o[n][0])*-i,h=e.o[n][1]+(r[1]-e.o[n][1])*-i,u=e.i[n][0]+(r[0]-e.i[n][0])*-i,c=e.i[n][1]+(r[1]-e.i[n][1])*-i,d.setTripleAt(a,o,l,h,u,c,n);return d},PuckerAndBloatModifier.prototype.processShapes=function(e){var t,i,r,s,n,a,o=this.shapes.length,l=this.amount.v;if(0!==l)for(i=0;i<o;i+=1){if(a=(n=this.shapes[i]).localShapeCollection,n.shape._mdf||this._mdf||e)for(a.releaseShapes(),n.shape._mdf=!0,t=n.shape.paths.shapes,s=n.shape.paths._length,r=0;r<s;r+=1)a.addShape(this.processPath(t[r],l));n.shape.paths=n.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)};var TransformPropertyFactory=function(){var e=[0,0];function t(e,t,i){if(this.elem=e,this.frameId=-1,this.propType="transform",this.data=t,this.v=new Matrix,this.pre=new Matrix,this.appliedTransformations=0,this.initDynamicPropertyContainer(i||e),t.p&&t.p.s?(this.px=PropertyFactory.getProp(e,t.p.x,0,0,this),this.py=PropertyFactory.getProp(e,t.p.y,0,0,this),t.p.z&&(this.pz=PropertyFactory.getProp(e,t.p.z,0,0,this))):this.p=PropertyFactory.getProp(e,t.p||{k:[0,0,0]},1,0,this),t.rx){if(this.rx=PropertyFactory.getProp(e,t.rx,0,degToRads,this),this.ry=PropertyFactory.getProp(e,t.ry,0,degToRads,this),this.rz=PropertyFactory.getProp(e,t.rz,0,degToRads,this),t.or.k[0].ti){var r,s=t.or.k.length;for(r=0;r<s;r+=1)t.or.k[r].to=null,t.or.k[r].ti=null}this.or=PropertyFactory.getProp(e,t.or,1,degToRads,this),this.or.sh=!0}else this.r=PropertyFactory.getProp(e,t.r||{k:0},0,degToRads,this);t.sk&&(this.sk=PropertyFactory.getProp(e,t.sk,0,degToRads,this),this.sa=PropertyFactory.getProp(e,t.sa,0,degToRads,this)),this.a=PropertyFactory.getProp(e,t.a||{k:[0,0,0]},1,0,this),this.s=PropertyFactory.getProp(e,t.s||{k:[100,100,100]},1,.01,this),t.o?this.o=PropertyFactory.getProp(e,t.o,0,.01,e):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0)}return t.prototype={applyToMatrix:function(e){var t=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||t,this.a&&e.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&e.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&e.skewFromAxis(-this.sk.v,this.sa.v),this.r?e.rotate(-this.r.v):e.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.data.p.s?this.data.p.z?e.translate(this.px.v,this.py.v,-this.pz.v):e.translate(this.px.v,this.py.v,0):e.translate(this.p.v[0],this.p.v[1],-this.p.v[2])},getValue:function(t){if(this.elem.globalData.frameId!==this.frameId){if(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||t){var i;if(this.v.cloneFromProps(this.pre.props),this.appliedTransformations<1&&this.v.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations<2&&this.v.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&this.appliedTransformations<3&&this.v.skewFromAxis(-this.sk.v,this.sa.v),this.r&&this.appliedTransformations<4?this.v.rotate(-this.r.v):!this.r&&this.appliedTransformations<4&&this.v.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.autoOriented){var r,s;if(i=this.elem.globalData.frameRate,this.p&&this.p.keyframes&&this.p.getValueAtTime)this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(r=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/i,0),s=this.p.getValueAtTime(this.p.keyframes[0].t/i,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(r=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/i,0),s=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/i,0)):(r=this.p.pv,s=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/i,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){r=[],s=[];var n=this.px,a=this.py;n._caching.lastFrame+n.offsetTime<=n.keyframes[0].t?(r[0]=n.getValueAtTime((n.keyframes[0].t+.01)/i,0),r[1]=a.getValueAtTime((a.keyframes[0].t+.01)/i,0),s[0]=n.getValueAtTime(n.keyframes[0].t/i,0),s[1]=a.getValueAtTime(a.keyframes[0].t/i,0)):n._caching.lastFrame+n.offsetTime>=n.keyframes[n.keyframes.length-1].t?(r[0]=n.getValueAtTime(n.keyframes[n.keyframes.length-1].t/i,0),r[1]=a.getValueAtTime(a.keyframes[a.keyframes.length-1].t/i,0),s[0]=n.getValueAtTime((n.keyframes[n.keyframes.length-1].t-.01)/i,0),s[1]=a.getValueAtTime((a.keyframes[a.keyframes.length-1].t-.01)/i,0)):(r=[n.pv,a.pv],s[0]=n.getValueAtTime((n._caching.lastFrame+n.offsetTime-.01)/i,n.offsetTime),s[1]=a.getValueAtTime((a._caching.lastFrame+a.offsetTime-.01)/i,a.offsetTime))}else r=s=e;this.v.rotate(-Math.atan2(r[1]-s[1],r[0]-s[0]))}this.data.p&&this.data.p.s?this.data.p.z?this.v.translate(this.px.v,this.py.v,-this.pz.v):this.v.translate(this.px.v,this.py.v,0):this.v.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}this.frameId=this.elem.globalData.frameId}},precalculateMatrix:function(){if(!this.a.k&&(this.pre.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations=1,!this.s.effectsSequence.length)){if(this.pre.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.appliedTransformations=2,this.sk){if(this.sk.effectsSequence.length||this.sa.effectsSequence.length)return;this.pre.skewFromAxis(-this.sk.v,this.sa.v),this.appliedTransformations=3}this.r?this.r.effectsSequence.length||(this.pre.rotate(-this.r.v),this.appliedTransformations=4):this.rz.effectsSequence.length||this.ry.effectsSequence.length||this.rx.effectsSequence.length||this.or.effectsSequence.length||(this.pre.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.appliedTransformations=4)}},autoOrient:function(){}},extendPrototype([DynamicPropertyContainer],t),t.prototype.addDynamicProperty=function(e){this._addDynamicProperty(e),this.elem.addDynamicProperty(e),this._isDirty=!0},t.prototype._addDynamicProperty=DynamicPropertyContainer.prototype.addDynamicProperty,{getTransformProperty:function(e,i,r){return new t(e,i,r)}}}();function RepeaterModifier(){}function RoundCornersModifier(){}function getFontProperties(e){for(var t=e.fStyle?e.fStyle.split(" "):[],i="normal",r="normal",s=t.length,n=0;n<s;n+=1)switch(t[n].toLowerCase()){case"italic":r="italic";break;case"bold":i="700";break;case"black":i="900";break;case"medium":i="500";break;case"regular":case"normal":i="400";break;case"light":case"thin":i="200"}return{style:r,weight:e.fWeight||i}}extendPrototype([ShapeModifier],RepeaterModifier),RepeaterModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.c=PropertyFactory.getProp(e,t.c,0,null,this),this.o=PropertyFactory.getProp(e,t.o,0,null,this),this.tr=TransformPropertyFactory.getTransformProperty(e,t.tr,this),this.so=PropertyFactory.getProp(e,t.tr.so,0,.01,this),this.eo=PropertyFactory.getProp(e,t.tr.eo,0,.01,this),this.data=t,this.dynamicProperties.length||this.getValue(!0),this._isAnimated=!!this.dynamicProperties.length,this.pMatrix=new Matrix,this.rMatrix=new Matrix,this.sMatrix=new Matrix,this.tMatrix=new Matrix,this.matrix=new Matrix},RepeaterModifier.prototype.applyTransforms=function(e,t,i,r,s,n){var a=n?-1:1,o=r.s.v[0]+(1-r.s.v[0])*(1-s),l=r.s.v[1]+(1-r.s.v[1])*(1-s);e.translate(r.p.v[0]*a*s,r.p.v[1]*a*s,r.p.v[2]),t.translate(-r.a.v[0],-r.a.v[1],r.a.v[2]),t.rotate(-r.r.v*a*s),t.translate(r.a.v[0],r.a.v[1],r.a.v[2]),i.translate(-r.a.v[0],-r.a.v[1],r.a.v[2]),i.scale(n?1/o:o,n?1/l:l),i.translate(r.a.v[0],r.a.v[1],r.a.v[2])},RepeaterModifier.prototype.init=function(e,t,i,r){for(this.elem=e,this.arr=t,this.pos=i,this.elemsData=r,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(e),this.initModifierProperties(e,t[i]);i>0;)i-=1,this._elements.unshift(t[i]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},RepeaterModifier.prototype.resetElements=function(e){var t,i=e.length;for(t=0;t<i;t+=1)e[t]._processed=!1,"gr"===e[t].ty&&this.resetElements(e[t].it)},RepeaterModifier.prototype.cloneElements=function(e){var t=JSON.parse(JSON.stringify(e));return this.resetElements(t),t},RepeaterModifier.prototype.changeGroupRender=function(e,t){var i,r=e.length;for(i=0;i<r;i+=1)e[i]._render=t,"gr"===e[i].ty&&this.changeGroupRender(e[i].it,t)},RepeaterModifier.prototype.processShapes=function(e){var t,i,r,s,n,a=!1;if(this._mdf||e){var o,l=Math.ceil(this.c.v);if(this._groups.length<l){for(;this._groups.length<l;){var h={it:this.cloneElements(this._elements),ty:"gr"};h.it.push({a:{a:0,ix:1,k:[0,0]},nm:"Transform",o:{a:0,ix:7,k:100},p:{a:0,ix:2,k:[0,0]},r:{a:1,ix:6,k:[{s:0,e:0,t:0},{s:0,e:0,t:1}]},s:{a:0,ix:3,k:[100,100]},sa:{a:0,ix:5,k:0},sk:{a:0,ix:4,k:0},ty:"tr"}),this.arr.splice(0,0,h),this._groups.splice(0,0,h),this._currentCopies+=1}this.elem.reloadShapes(),a=!0}for(n=0,r=0;r<=this._groups.length-1;r+=1){if(o=n<l,this._groups[r]._render=o,this.changeGroupRender(this._groups[r].it,o),!o){var u=this.elemsData[r].it,c=u[u.length-1];0!==c.transform.op.v?(c.transform.op._mdf=!0,c.transform.op.v=0):c.transform.op._mdf=!1}n+=1}this._currentCopies=l;var d=this.o.v,p=d%1,f=d>0?Math.floor(d):Math.ceil(d),m=this.pMatrix.props,g=this.rMatrix.props,y=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var v,b,C=0;if(d>0){for(;C<f;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),C+=1;p&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,p,!1),C+=p)}else if(d<0){for(;C>f;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),C-=1;p&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-p,!0),C-=p)}for(r=1===this.data.m?0:this._currentCopies-1,s=1===this.data.m?1:-1,n=this._currentCopies;n;){if(b=(i=(t=this.elemsData[r].it)[t.length-1].transform.mProps.v.props).length,t[t.length-1].transform.mProps._mdf=!0,t[t.length-1].transform.op._mdf=!0,t[t.length-1].transform.op.v=1===this._currentCopies?this.so.v:this.so.v+(this.eo.v-this.so.v)*(r/(this._currentCopies-1)),0!==C){for((0!==r&&1===s||r!==this._currentCopies-1&&-1===s)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(g[0],g[1],g[2],g[3],g[4],g[5],g[6],g[7],g[8],g[9],g[10],g[11],g[12],g[13],g[14],g[15]),this.matrix.transform(y[0],y[1],y[2],y[3],y[4],y[5],y[6],y[7],y[8],y[9],y[10],y[11],y[12],y[13],y[14],y[15]),this.matrix.transform(m[0],m[1],m[2],m[3],m[4],m[5],m[6],m[7],m[8],m[9],m[10],m[11],m[12],m[13],m[14],m[15]),v=0;v<b;v+=1)i[v]=this.matrix.props[v];this.matrix.reset()}else for(this.matrix.reset(),v=0;v<b;v+=1)i[v]=this.matrix.props[v];C+=1,n-=1,r+=s}}else for(n=this._currentCopies,r=0,s=1;n;)i=(t=this.elemsData[r].it)[t.length-1].transform.mProps.v.props,t[t.length-1].transform.mProps._mdf=!1,t[t.length-1].transform.op._mdf=!1,n-=1,r+=s;return a},RepeaterModifier.prototype.addShape=function(){},extendPrototype([ShapeModifier],RoundCornersModifier),RoundCornersModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.rd=PropertyFactory.getProp(e,t.r,0,null,this),this._isAnimated=!!this.rd.effectsSequence.length},RoundCornersModifier.prototype.processPath=function(e,t){var i,r=shapePool.newElement();r.c=e.c;var s,n,a,o,l,h,u,c,d,p,f,m,g=e._length,y=0;for(i=0;i<g;i+=1)s=e.v[i],a=e.o[i],n=e.i[i],s[0]===a[0]&&s[1]===a[1]&&s[0]===n[0]&&s[1]===n[1]?0!==i&&i!==g-1||e.c?(o=0===i?e.v[g-1]:e.v[i-1],h=(l=Math.sqrt(Math.pow(s[0]-o[0],2)+Math.pow(s[1]-o[1],2)))?Math.min(l/2,t)/l:0,u=f=s[0]+(o[0]-s[0])*h,c=m=s[1]-(s[1]-o[1])*h,d=u-(u-s[0])*roundCorner,p=c-(c-s[1])*roundCorner,r.setTripleAt(u,c,d,p,f,m,y),y+=1,o=i===g-1?e.v[0]:e.v[i+1],h=(l=Math.sqrt(Math.pow(s[0]-o[0],2)+Math.pow(s[1]-o[1],2)))?Math.min(l/2,t)/l:0,u=d=s[0]+(o[0]-s[0])*h,c=p=s[1]+(o[1]-s[1])*h,f=u-(u-s[0])*roundCorner,m=c-(c-s[1])*roundCorner,r.setTripleAt(u,c,d,p,f,m,y),y+=1):(r.setTripleAt(s[0],s[1],a[0],a[1],n[0],n[1],y),y+=1):(r.setTripleAt(e.v[i][0],e.v[i][1],e.o[i][0],e.o[i][1],e.i[i][0],e.i[i][1],y),y+=1);return r},RoundCornersModifier.prototype.processShapes=function(e){var t,i,r,s,n,a,o=this.shapes.length,l=this.rd.v;if(0!==l)for(i=0;i<o;i+=1){if(a=(n=this.shapes[i]).localShapeCollection,n.shape._mdf||this._mdf||e)for(a.releaseShapes(),n.shape._mdf=!0,t=n.shape.paths.shapes,s=n.shape.paths._length,r=0;r<s;r+=1)a.addShape(this.processPath(t[r],l));n.shape.paths=n.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)};var FontManager=function(){var e={w:0,size:0,shapes:[],data:{shapes:[]}},t=[];t=t.concat([2304,2305,2306,2307,2362,2363,2364,2364,2366,2367,2368,2369,2370,2371,2372,2373,2374,2375,2376,2377,2378,2379,2380,2381,2382,2383,2387,2388,2389,2390,2391,2402,2403]);var i=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"],r=[65039,8205];function s(e,t){var i=createTag("span");i.setAttribute("aria-hidden",!0),i.style.fontFamily=t;var r=createTag("span");r.innerText="giItT1WQy@!-/#",i.style.position="absolute",i.style.left="-10000px",i.style.top="-10000px",i.style.fontSize="300px",i.style.fontVariant="normal",i.style.fontStyle="normal",i.style.fontWeight="normal",i.style.letterSpacing="0",i.appendChild(r),document.body.appendChild(i);var s=r.offsetWidth;return r.style.fontFamily=function(e){var t,i=e.split(","),r=i.length,s=[];for(t=0;t<r;t+=1)"sans-serif"!==i[t]&&"monospace"!==i[t]&&s.push(i[t]);return s.join(",")}(e)+", "+t,{node:r,w:s,parent:i}}function n(e,t){var i=createNS("text");i.style.fontSize="100px";var r=getFontProperties(t);return i.setAttribute("font-family",t.fFamily),i.setAttribute("font-style",r.style),i.setAttribute("font-weight",r.weight),i.textContent="1",t.fClass?(i.style.fontFamily="inherit",i.setAttribute("class",t.fClass)):i.style.fontFamily=t.fFamily,e.appendChild(i),createTag("canvas").getContext("2d").font=t.fWeight+" "+t.fStyle+" 100px "+t.fFamily,i}var a=function(){this.fonts=[],this.chars=null,this.typekitLoaded=0,this.isLoaded=!1,this._warned=!1,this.initTime=Date.now(),this.setIsLoadedBinded=this.setIsLoaded.bind(this),this.checkLoadedFontsBinded=this.checkLoadedFonts.bind(this)};return a.isModifier=function(e,t){var r=e.toString(16)+t.toString(16);return-1!==i.indexOf(r)},a.isZeroWidthJoiner=function(e,t){return t?e===r[0]&&t===r[1]:e===r[1]},a.isCombinedCharacter=function(e){return-1!==t.indexOf(e)},a.prototype={addChars:function(e){if(e){var t;this.chars||(this.chars=[]);var i,r,s=e.length,n=this.chars.length;for(t=0;t<s;t+=1){for(i=0,r=!1;i<n;)this.chars[i].style===e[t].style&&this.chars[i].fFamily===e[t].fFamily&&this.chars[i].ch===e[t].ch&&(r=!0),i+=1;r||(this.chars.push(e[t]),n+=1)}}},addFonts:function(e,t){if(e){if(this.chars)return this.isLoaded=!0,void(this.fonts=e.list);var i,r=e.list,a=r.length,o=a;for(i=0;i<a;i+=1){var l,h,u=!0;if(r[i].loaded=!1,r[i].monoCase=s(r[i].fFamily,"monospace"),r[i].sansCase=s(r[i].fFamily,"sans-serif"),r[i].fPath){if("p"===r[i].fOrigin||3===r[i].origin){if((l=document.querySelectorAll('style[f-forigin="p"][f-family="'+r[i].fFamily+'"], style[f-origin="3"][f-family="'+r[i].fFamily+'"]')).length>0&&(u=!1),u){var c=createTag("style");c.setAttribute("f-forigin",r[i].fOrigin),c.setAttribute("f-origin",r[i].origin),c.setAttribute("f-family",r[i].fFamily),c.type="text/css",c.innerText="@font-face {font-family: "+r[i].fFamily+"; font-style: normal; src: url('"+r[i].fPath+"');}",t.appendChild(c)}}else if("g"===r[i].fOrigin||1===r[i].origin){for(l=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),h=0;h<l.length;h+=1)-1!==l[h].href.indexOf(r[i].fPath)&&(u=!1);if(u){var d=createTag("link");d.setAttribute("f-forigin",r[i].fOrigin),d.setAttribute("f-origin",r[i].origin),d.type="text/css",d.rel="stylesheet",d.href=r[i].fPath,document.body.appendChild(d)}}else if("t"===r[i].fOrigin||2===r[i].origin){for(l=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),h=0;h<l.length;h+=1)r[i].fPath===l[h].src&&(u=!1);if(u){var p=createTag("link");p.setAttribute("f-forigin",r[i].fOrigin),p.setAttribute("f-origin",r[i].origin),p.setAttribute("rel","stylesheet"),p.setAttribute("href",r[i].fPath),t.appendChild(p)}}}else r[i].loaded=!0,o-=1;r[i].helper=n(t,r[i]),r[i].cache={},this.fonts.push(r[i])}0===o?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}else this.isLoaded=!0},getCharData:function(t,i,r){for(var s=0,n=this.chars.length;s<n;){if(this.chars[s].ch===t&&this.chars[s].style===i&&this.chars[s].fFamily===r)return this.chars[s];s+=1}return("string"==typeof t&&13!==t.charCodeAt(0)||!t)&&console&&console.warn&&!this._warned&&(this._warned=!0,console.warn("Missing character from exported characters list: ",t,i,r)),e},getFontByName:function(e){for(var t=0,i=this.fonts.length;t<i;){if(this.fonts[t].fName===e)return this.fonts[t];t+=1}return this.fonts[0]},measureText:function(e,t,i){var r=this.getFontByName(t),s=e.charCodeAt(0);if(!r.cache[s+1]){var n=r.helper;if(" "===e){n.textContent="|"+e+"|";var a=n.getComputedTextLength();n.textContent="||";var o=n.getComputedTextLength();r.cache[s+1]=(a-o)/100}else n.textContent=e,r.cache[s+1]=n.getComputedTextLength()/100}return r.cache[s+1]*i},checkLoadedFonts:function(){var e,t,i,r=this.fonts.length,s=r;for(e=0;e<r;e+=1)this.fonts[e].loaded?s-=1:"n"===this.fonts[e].fOrigin||0===this.fonts[e].origin?this.fonts[e].loaded=!0:(t=this.fonts[e].monoCase.node,i=this.fonts[e].monoCase.w,t.offsetWidth!==i?(s-=1,this.fonts[e].loaded=!0):(t=this.fonts[e].sansCase.node,i=this.fonts[e].sansCase.w,t.offsetWidth!==i&&(s-=1,this.fonts[e].loaded=!0)),this.fonts[e].loaded&&(this.fonts[e].sansCase.parent.parentNode.removeChild(this.fonts[e].sansCase.parent),this.fonts[e].monoCase.parent.parentNode.removeChild(this.fonts[e].monoCase.parent)));0!==s&&Date.now()-this.initTime<5e3?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)},setIsLoaded:function(){this.isLoaded=!0}},a}();function RenderableElement(){}RenderableElement.prototype={initRenderable:function(){this.isInRange=!1,this.hidden=!1,this.isTransparent=!1,this.renderableComponents=[]},addRenderableComponent:function(e){-1===this.renderableComponents.indexOf(e)&&this.renderableComponents.push(e)},removeRenderableComponent:function(e){-1!==this.renderableComponents.indexOf(e)&&this.renderableComponents.splice(this.renderableComponents.indexOf(e),1)},prepareRenderableFrame:function(e){this.checkLayerLimits(e)},checkTransparency:function(){this.finalTransform.mProp.o.v<=0?!this.isTransparent&&this.globalData.renderConfig.hideOnTransparent&&(this.isTransparent=!0,this.hide()):this.isTransparent&&(this.isTransparent=!1,this.show())},checkLayerLimits:function(e){this.data.ip-this.data.st<=e&&this.data.op-this.data.st>e?!0!==this.isInRange&&(this.globalData._mdf=!0,this._mdf=!0,this.isInRange=!0,this.show()):!1!==this.isInRange&&(this.globalData._mdf=!0,this.isInRange=!1,this.hide())},renderRenderable:function(){var e,t=this.renderableComponents.length;for(e=0;e<t;e+=1)this.renderableComponents[e].renderFrame(this._isFirstFrame)},sourceRectAtTime:function(){return{top:0,left:0,width:100,height:100}},getLayerSize:function(){return 5===this.data.ty?{w:this.data.textData.width,h:this.data.textData.height}:{w:this.data.width,h:this.data.height}}};var MaskManagerInterface=function(){function e(e,t){this._mask=e,this._data=t}Object.defineProperty(e.prototype,"maskPath",{get:function(){return this._mask.prop.k&&this._mask.prop.getValue(),this._mask.prop}}),Object.defineProperty(e.prototype,"maskOpacity",{get:function(){return this._mask.op.k&&this._mask.op.getValue(),100*this._mask.op.v}});return function(t){var i,r=createSizedArray(t.viewData.length),s=t.viewData.length;for(i=0;i<s;i+=1)r[i]=new e(t.viewData[i],t.masksProperties[i]);return function(e){for(i=0;i<s;){if(t.masksProperties[i].nm===e)return r[i];i+=1}return null}}}(),ExpressionPropertyInterface=function(){var e={pv:0,v:0,mult:1},t={pv:[0,0,0],v:[0,0,0],mult:1};function i(e,t,i){Object.defineProperty(e,"velocity",{get:function(){return t.getVelocityAtTime(t.comp.currentFrame)}}),e.numKeys=t.keyframes?t.keyframes.length:0,e.key=function(r){if(!e.numKeys)return 0;var s="";s="s"in t.keyframes[r-1]?t.keyframes[r-1].s:"e"in t.keyframes[r-2]?t.keyframes[r-2].e:t.keyframes[r-2].s;var n="unidimensional"===i?new Number(s):Object.assign({},s);return n.time=t.keyframes[r-1].t/t.elem.comp.globalData.frameRate,n.value="unidimensional"===i?s[0]:s,n},e.valueAtTime=t.getValueAtTime,e.speedAtTime=t.getSpeedAtTime,e.velocityAtTime=t.getVelocityAtTime,e.propertyGroup=t.propertyGroup}function r(){return e}return function(s){return s?"unidimensional"===s.propType?function(t){t&&"pv"in t||(t=e);var r=1/t.mult,s=t.pv*r,n=new Number(s);return n.value=s,i(n,t,"unidimensional"),function(){return t.k&&t.getValue(),s=t.v*r,n.value!==s&&((n=new Number(s)).value=s,i(n,t,"unidimensional")),n}}(s):function(e){e&&"pv"in e||(e=t);var r=1/e.mult,s=e.data&&e.data.l||e.pv.length,n=createTypedArray("float32",s),a=createTypedArray("float32",s);return n.value=a,i(n,e,"multidimensional"),function(){e.k&&e.getValue();for(var t=0;t<s;t+=1)a[t]=e.v[t]*r,n[t]=a[t];return n}}(s):r}}(),TransformExpressionInterface=function(e){function t(e){switch(e){case"scale":case"Scale":case"ADBE Scale":case 6:return t.scale;case"rotation":case"Rotation":case"ADBE Rotation":case"ADBE Rotate Z":case 10:return t.rotation;case"ADBE Rotate X":return t.xRotation;case"ADBE Rotate Y":return t.yRotation;case"position":case"Position":case"ADBE Position":case 2:return t.position;case"ADBE Position_0":return t.xPosition;case"ADBE Position_1":return t.yPosition;case"ADBE Position_2":return t.zPosition;case"anchorPoint":case"AnchorPoint":case"Anchor Point":case"ADBE AnchorPoint":case 1:return t.anchorPoint;case"opacity":case"Opacity":case 11:return t.opacity;default:return null}}var i,r,s,n;return Object.defineProperty(t,"rotation",{get:ExpressionPropertyInterface(e.r||e.rz)}),Object.defineProperty(t,"zRotation",{get:ExpressionPropertyInterface(e.rz||e.r)}),Object.defineProperty(t,"xRotation",{get:ExpressionPropertyInterface(e.rx)}),Object.defineProperty(t,"yRotation",{get:ExpressionPropertyInterface(e.ry)}),Object.defineProperty(t,"scale",{get:ExpressionPropertyInterface(e.s)}),e.p?n=ExpressionPropertyInterface(e.p):(i=ExpressionPropertyInterface(e.px),r=ExpressionPropertyInterface(e.py),e.pz&&(s=ExpressionPropertyInterface(e.pz))),Object.defineProperty(t,"position",{get:function(){return e.p?n():[i(),r(),s?s():0]}}),Object.defineProperty(t,"xPosition",{get:ExpressionPropertyInterface(e.px)}),Object.defineProperty(t,"yPosition",{get:ExpressionPropertyInterface(e.py)}),Object.defineProperty(t,"zPosition",{get:ExpressionPropertyInterface(e.pz)}),Object.defineProperty(t,"anchorPoint",{get:ExpressionPropertyInterface(e.a)}),Object.defineProperty(t,"opacity",{get:ExpressionPropertyInterface(e.o)}),Object.defineProperty(t,"skew",{get:ExpressionPropertyInterface(e.sk)}),Object.defineProperty(t,"skewAxis",{get:ExpressionPropertyInterface(e.sa)}),Object.defineProperty(t,"orientation",{get:ExpressionPropertyInterface(e.or)}),t},LayerExpressionInterface=function(){function e(e){var t=new Matrix;void 0!==e?this._elem.finalTransform.mProp.getValueAtTime(e).clone(t):this._elem.finalTransform.mProp.applyToMatrix(t);return t}function t(e,t){var i=this.getMatrix(t);return i.props[12]=0,i.props[13]=0,i.props[14]=0,this.applyPoint(i,e)}function i(e,t){var i=this.getMatrix(t);return this.applyPoint(i,e)}function r(e,t){var i=this.getMatrix(t);return i.props[12]=0,i.props[13]=0,i.props[14]=0,this.invertPoint(i,e)}function s(e,t){var i=this.getMatrix(t);return this.invertPoint(i,e)}function n(e,t){if(this._elem.hierarchy&&this._elem.hierarchy.length){var i,r=this._elem.hierarchy.length;for(i=0;i<r;i+=1)this._elem.hierarchy[i].finalTransform.mProp.applyToMatrix(e)}return e.applyToPointArray(t[0],t[1],t[2]||0)}function a(e,t){if(this._elem.hierarchy&&this._elem.hierarchy.length){var i,r=this._elem.hierarchy.length;for(i=0;i<r;i+=1)this._elem.hierarchy[i].finalTransform.mProp.applyToMatrix(e)}return e.inversePoint(t)}function o(e){var t=new Matrix;if(t.reset(),this._elem.finalTransform.mProp.applyToMatrix(t),this._elem.hierarchy&&this._elem.hierarchy.length){var i,r=this._elem.hierarchy.length;for(i=0;i<r;i+=1)this._elem.hierarchy[i].finalTransform.mProp.applyToMatrix(t);return t.inversePoint(e)}return t.inversePoint(e)}function l(){return[1,1,1,1]}return function(h){var u;function c(e){switch(e){case"ADBE Root Vectors Group":case"Contents":case 2:return c.shapeInterface;case 1:case 6:case"Transform":case"transform":case"ADBE Transform Group":return u;case 4:case"ADBE Effect Parade":case"effects":case"Effects":return c.effect;case"ADBE Text Properties":return c.textInterface;default:return null}}c.getMatrix=e,c.invertPoint=a,c.applyPoint=n,c.toWorld=i,c.toWorldVec=t,c.fromWorld=s,c.fromWorldVec=r,c.toComp=i,c.fromComp=o,c.sampleImage=l,c.sourceRectAtTime=h.sourceRectAtTime.bind(h),c._elem=h;var d=getDescriptor(u=TransformExpressionInterface(h.finalTransform.mProp),"anchorPoint");return Object.defineProperties(c,{hasParent:{get:function(){return h.hierarchy.length}},parent:{get:function(){return h.hierarchy[0].layerInterface}},rotation:getDescriptor(u,"rotation"),scale:getDescriptor(u,"scale"),position:getDescriptor(u,"position"),opacity:getDescriptor(u,"opacity"),anchorPoint:d,anchor_point:d,transform:{get:function(){return u}},active:{get:function(){return h.isInRange}}}),c.startTime=h.data.st,c.index=h.data.ind,c.source=h.data.refId,c.height=0===h.data.ty?h.data.h:100,c.width=0===h.data.ty?h.data.w:100,c.inPoint=h.data.ip/h.comp.globalData.frameRate,c.outPoint=h.data.op/h.comp.globalData.frameRate,c._name=h.data.nm,c.registerMaskInterface=function(e){c.mask=new MaskManagerInterface(e,h)},c.registerEffectsInterface=function(e){c.effect=e},c}}(),propertyGroupFactory=function(e,t){return function(i){return(i=void 0===i?1:i)<=0?e:t(i-1)}},PropertyInterface=function(e,t){var i={_name:e};return function(e){return(e=void 0===e?1:e)<=0?i:t(e-1)}},EffectsExpressionInterface=function(){function e(i,r,s,n){function a(e){for(var t=i.ef,r=0,s=t.length;r<s;){if(e===t[r].nm||e===t[r].mn||e===t[r].ix)return 5===t[r].ty?h[r]:h[r]();r+=1}throw new Error}var o,l=propertyGroupFactory(a,s),h=[],u=i.ef.length;for(o=0;o<u;o+=1)5===i.ef[o].ty?h.push(e(i.ef[o],r.effectElements[o],r.effectElements[o].propertyGroup,n)):h.push(t(r.effectElements[o],i.ef[o].ty,n,l));return"ADBE Color Control"===i.mn&&Object.defineProperty(a,"color",{get:function(){return h[0]()}}),Object.defineProperties(a,{numProperties:{get:function(){return i.np}},_name:{value:i.nm},propertyGroup:{value:l}}),a.enabled=0!==i.en,a.active=a.enabled,a}function t(e,t,i,r){var s=ExpressionPropertyInterface(e.p);return e.p.setGroupProperty&&e.p.setGroupProperty(PropertyInterface("",r)),function(){return 10===t?i.comp.compInterface(e.p.v):s()}}return{createEffectsInterface:function(t,i){if(t.effectsManager){var r,s=[],n=t.data.ef,a=t.effectsManager.effectElements.length;for(r=0;r<a;r+=1)s.push(e(n[r],t.effectsManager.effectElements[r],i,t));var o=t.data.ef||[],l=function(e){for(r=0,a=o.length;r<a;){if(e===o[r].nm||e===o[r].mn||e===o[r].ix)return s[r];r+=1}return null};return Object.defineProperty(l,"numProperties",{get:function(){return o.length}}),l}return null}}}(),CompExpressionInterface=function(e){function t(t){for(var i=0,r=e.layers.length;i<r;){if(e.layers[i].nm===t||e.layers[i].ind===t)return e.elements[i].layerInterface;i+=1}return null}return Object.defineProperty(t,"_name",{value:e.data.nm}),t.layer=t,t.pixelAspect=1,t.height=e.data.h||e.globalData.compSize.h,t.width=e.data.w||e.globalData.compSize.w,t.pixelAspect=1,t.frameDuration=1/e.globalData.frameRate,t.displayStartTime=0,t.numLayers=e.layers.length,t},ShapePathInterface=function(e,t,i){var r=t.sh;function s(e){return"Shape"===e||"shape"===e||"Path"===e||"path"===e||"ADBE Vector Shape"===e||2===e?s.path:null}var n=propertyGroupFactory(s,i);return r.setGroupProperty(PropertyInterface("Path",n)),Object.defineProperties(s,{path:{get:function(){return r.k&&r.getValue(),r}},shape:{get:function(){return r.k&&r.getValue(),r}},_name:{value:e.nm},ix:{value:e.ix},propertyIndex:{value:e.ix},mn:{value:e.mn},propertyGroup:{value:i}}),s},ShapeExpressionInterface=function(){function e(e,o,p){var f,m=[],g=e?e.length:0;for(f=0;f<g;f+=1)"gr"===e[f].ty?m.push(t(e[f],o[f],p)):"fl"===e[f].ty?m.push(i(e[f],o[f],p)):"st"===e[f].ty?m.push(n(e[f],o[f],p)):"tm"===e[f].ty?m.push(a(e[f],o[f],p)):"tr"===e[f].ty||("el"===e[f].ty?m.push(l(e[f],o[f],p)):"sr"===e[f].ty?m.push(h(e[f],o[f],p)):"sh"===e[f].ty?m.push(ShapePathInterface(e[f],o[f],p)):"rc"===e[f].ty?m.push(u(e[f],o[f],p)):"rd"===e[f].ty?m.push(c(e[f],o[f],p)):"rp"===e[f].ty?m.push(d(e[f],o[f],p)):"gf"===e[f].ty?m.push(r(e[f],o[f],p)):m.push(s(e[f],o[f])));return m}function t(t,i,r){var s=function(e){switch(e){case"ADBE Vectors Group":case"Contents":case 2:return s.content;default:return s.transform}};s.propertyGroup=propertyGroupFactory(s,r);var n=function(t,i,r){var s,n=function(e){for(var t=0,i=s.length;t<i;){if(s[t]._name===e||s[t].mn===e||s[t].propertyIndex===e||s[t].ix===e||s[t].ind===e)return s[t];t+=1}return"number"==typeof e?s[e-1]:null};n.propertyGroup=propertyGroupFactory(n,r),s=e(t.it,i.it,n.propertyGroup),n.numProperties=s.length;var a=o(t.it[t.it.length-1],i.it[i.it.length-1],n.propertyGroup);return n.transform=a,n.propertyIndex=t.cix,n._name=t.nm,n}(t,i,s.propertyGroup),a=o(t.it[t.it.length-1],i.it[i.it.length-1],s.propertyGroup);return s.content=n,s.transform=a,Object.defineProperty(s,"_name",{get:function(){return t.nm}}),s.numProperties=t.np,s.propertyIndex=t.ix,s.nm=t.nm,s.mn=t.mn,s}function i(e,t,i){function r(e){return"Color"===e||"color"===e?r.color:"Opacity"===e||"opacity"===e?r.opacity:null}return Object.defineProperties(r,{color:{get:ExpressionPropertyInterface(t.c)},opacity:{get:ExpressionPropertyInterface(t.o)},_name:{value:e.nm},mn:{value:e.mn}}),t.c.setGroupProperty(PropertyInterface("Color",i)),t.o.setGroupProperty(PropertyInterface("Opacity",i)),r}function r(e,t,i){function r(e){return"Start Point"===e||"start point"===e?r.startPoint:"End Point"===e||"end point"===e?r.endPoint:"Opacity"===e||"opacity"===e?r.opacity:null}return Object.defineProperties(r,{startPoint:{get:ExpressionPropertyInterface(t.s)},endPoint:{get:ExpressionPropertyInterface(t.e)},opacity:{get:ExpressionPropertyInterface(t.o)},type:{get:function(){return"a"}},_name:{value:e.nm},mn:{value:e.mn}}),t.s.setGroupProperty(PropertyInterface("Start Point",i)),t.e.setGroupProperty(PropertyInterface("End Point",i)),t.o.setGroupProperty(PropertyInterface("Opacity",i)),r}function s(){return function(){return null}}function n(e,t,i){var r,s=propertyGroupFactory(h,i),n=propertyGroupFactory(l,s);function a(i){Object.defineProperty(l,e.d[i].nm,{get:ExpressionPropertyInterface(t.d.dataProps[i].p)})}var o=e.d?e.d.length:0,l={};for(r=0;r<o;r+=1)a(r),t.d.dataProps[r].p.setGroupProperty(n);function h(e){return"Color"===e||"color"===e?h.color:"Opacity"===e||"opacity"===e?h.opacity:"Stroke Width"===e||"stroke width"===e?h.strokeWidth:null}return Object.defineProperties(h,{color:{get:ExpressionPropertyInterface(t.c)},opacity:{get:ExpressionPropertyInterface(t.o)},strokeWidth:{get:ExpressionPropertyInterface(t.w)},dash:{get:function(){return l}},_name:{value:e.nm},mn:{value:e.mn}}),t.c.setGroupProperty(PropertyInterface("Color",s)),t.o.setGroupProperty(PropertyInterface("Opacity",s)),t.w.setGroupProperty(PropertyInterface("Stroke Width",s)),h}function a(e,t,i){function r(t){return t===e.e.ix||"End"===t||"end"===t?r.end:t===e.s.ix?r.start:t===e.o.ix?r.offset:null}var s=propertyGroupFactory(r,i);return r.propertyIndex=e.ix,t.s.setGroupProperty(PropertyInterface("Start",s)),t.e.setGroupProperty(PropertyInterface("End",s)),t.o.setGroupProperty(PropertyInterface("Offset",s)),r.propertyIndex=e.ix,r.propertyGroup=i,Object.defineProperties(r,{start:{get:ExpressionPropertyInterface(t.s)},end:{get:ExpressionPropertyInterface(t.e)},offset:{get:ExpressionPropertyInterface(t.o)},_name:{value:e.nm}}),r.mn=e.mn,r}function o(e,t,i){function r(t){return e.a.ix===t||"Anchor Point"===t?r.anchorPoint:e.o.ix===t||"Opacity"===t?r.opacity:e.p.ix===t||"Position"===t?r.position:e.r.ix===t||"Rotation"===t||"ADBE Vector Rotation"===t?r.rotation:e.s.ix===t||"Scale"===t?r.scale:e.sk&&e.sk.ix===t||"Skew"===t?r.skew:e.sa&&e.sa.ix===t||"Skew Axis"===t?r.skewAxis:null}var s=propertyGroupFactory(r,i);return t.transform.mProps.o.setGroupProperty(PropertyInterface("Opacity",s)),t.transform.mProps.p.setGroupProperty(PropertyInterface("Position",s)),t.transform.mProps.a.setGroupProperty(PropertyInterface("Anchor Point",s)),t.transform.mProps.s.setGroupProperty(PropertyInterface("Scale",s)),t.transform.mProps.r.setGroupProperty(PropertyInterface("Rotation",s)),t.transform.mProps.sk&&(t.transform.mProps.sk.setGroupProperty(PropertyInterface("Skew",s)),t.transform.mProps.sa.setGroupProperty(PropertyInterface("Skew Angle",s))),t.transform.op.setGroupProperty(PropertyInterface("Opacity",s)),Object.defineProperties(r,{opacity:{get:ExpressionPropertyInterface(t.transform.mProps.o)},position:{get:ExpressionPropertyInterface(t.transform.mProps.p)},anchorPoint:{get:ExpressionPropertyInterface(t.transform.mProps.a)},scale:{get:ExpressionPropertyInterface(t.transform.mProps.s)},rotation:{get:ExpressionPropertyInterface(t.transform.mProps.r)},skew:{get:ExpressionPropertyInterface(t.transform.mProps.sk)},skewAxis:{get:ExpressionPropertyInterface(t.transform.mProps.sa)},_name:{value:e.nm}}),r.ty="tr",r.mn=e.mn,r.propertyGroup=i,r}function l(e,t,i){function r(t){return e.p.ix===t?r.position:e.s.ix===t?r.size:null}var s=propertyGroupFactory(r,i);r.propertyIndex=e.ix;var n="tm"===t.sh.ty?t.sh.prop:t.sh;return n.s.setGroupProperty(PropertyInterface("Size",s)),n.p.setGroupProperty(PropertyInterface("Position",s)),Object.defineProperties(r,{size:{get:ExpressionPropertyInterface(n.s)},position:{get:ExpressionPropertyInterface(n.p)},_name:{value:e.nm}}),r.mn=e.mn,r}function h(e,t,i){function r(t){return e.p.ix===t?r.position:e.r.ix===t?r.rotation:e.pt.ix===t?r.points:e.or.ix===t||"ADBE Vector Star Outer Radius"===t?r.outerRadius:e.os.ix===t?r.outerRoundness:!e.ir||e.ir.ix!==t&&"ADBE Vector Star Inner Radius"!==t?e.is&&e.is.ix===t?r.innerRoundness:null:r.innerRadius}var s=propertyGroupFactory(r,i),n="tm"===t.sh.ty?t.sh.prop:t.sh;return r.propertyIndex=e.ix,n.or.setGroupProperty(PropertyInterface("Outer Radius",s)),n.os.setGroupProperty(PropertyInterface("Outer Roundness",s)),n.pt.setGroupProperty(PropertyInterface("Points",s)),n.p.setGroupProperty(PropertyInterface("Position",s)),n.r.setGroupProperty(PropertyInterface("Rotation",s)),e.ir&&(n.ir.setGroupProperty(PropertyInterface("Inner Radius",s)),n.is.setGroupProperty(PropertyInterface("Inner Roundness",s))),Object.defineProperties(r,{position:{get:ExpressionPropertyInterface(n.p)},rotation:{get:ExpressionPropertyInterface(n.r)},points:{get:ExpressionPropertyInterface(n.pt)},outerRadius:{get:ExpressionPropertyInterface(n.or)},outerRoundness:{get:ExpressionPropertyInterface(n.os)},innerRadius:{get:ExpressionPropertyInterface(n.ir)},innerRoundness:{get:ExpressionPropertyInterface(n.is)},_name:{value:e.nm}}),r.mn=e.mn,r}function u(e,t,i){function r(t){return e.p.ix===t?r.position:e.r.ix===t?r.roundness:e.s.ix===t||"Size"===t||"ADBE Vector Rect Size"===t?r.size:null}var s=propertyGroupFactory(r,i),n="tm"===t.sh.ty?t.sh.prop:t.sh;return r.propertyIndex=e.ix,n.p.setGroupProperty(PropertyInterface("Position",s)),n.s.setGroupProperty(PropertyInterface("Size",s)),n.r.setGroupProperty(PropertyInterface("Rotation",s)),Object.defineProperties(r,{position:{get:ExpressionPropertyInterface(n.p)},roundness:{get:ExpressionPropertyInterface(n.r)},size:{get:ExpressionPropertyInterface(n.s)},_name:{value:e.nm}}),r.mn=e.mn,r}function c(e,t,i){function r(t){return e.r.ix===t||"Round Corners 1"===t?r.radius:null}var s=propertyGroupFactory(r,i),n=t;return r.propertyIndex=e.ix,n.rd.setGroupProperty(PropertyInterface("Radius",s)),Object.defineProperties(r,{radius:{get:ExpressionPropertyInterface(n.rd)},_name:{value:e.nm}}),r.mn=e.mn,r}function d(e,t,i){function r(t){return e.c.ix===t||"Copies"===t?r.copies:e.o.ix===t||"Offset"===t?r.offset:null}var s=propertyGroupFactory(r,i),n=t;return r.propertyIndex=e.ix,n.c.setGroupProperty(PropertyInterface("Copies",s)),n.o.setGroupProperty(PropertyInterface("Offset",s)),Object.defineProperties(r,{copies:{get:ExpressionPropertyInterface(n.c)},offset:{get:ExpressionPropertyInterface(n.o)},_name:{value:e.nm}}),r.mn=e.mn,r}return function(t,i,r){var s;function n(e){if("number"==typeof e)return 0===(e=void 0===e?1:e)?r:s[e-1];for(var t=0,i=s.length;t<i;){if(s[t]._name===e)return s[t];t+=1}return null}return n.propertyGroup=propertyGroupFactory(n,(function(){return r})),s=e(t,i,n.propertyGroup),n.numProperties=s.length,n._name="Contents",n}}(),TextExpressionInterface=function(e){var t;function i(e){switch(e){case"ADBE Text Document":return i.sourceText;default:return null}}return Object.defineProperty(i,"sourceText",{get:function(){e.textProperty.getValue();var i=e.textProperty.currentData.t;return void 0!==i&&(e.textProperty.currentData.t=void 0,(t=new String(i)).value=i||new String(i)),t}}),i},getBlendMode=(blendModeEnums={0:"source-over",1:"multiply",2:"screen",3:"overlay",4:"darken",5:"lighten",6:"color-dodge",7:"color-burn",8:"hard-light",9:"soft-light",10:"difference",11:"exclusion",12:"hue",13:"saturation",14:"color",15:"luminosity"},function(e){return blendModeEnums[e]||""}),blendModeEnums;function SliderEffect(e,t,i){this.p=PropertyFactory.getProp(t,e.v,0,0,i)}function AngleEffect(e,t,i){this.p=PropertyFactory.getProp(t,e.v,0,0,i)}function ColorEffect(e,t,i){this.p=PropertyFactory.getProp(t,e.v,1,0,i)}function PointEffect(e,t,i){this.p=PropertyFactory.getProp(t,e.v,1,0,i)}function LayerIndexEffect(e,t,i){this.p=PropertyFactory.getProp(t,e.v,0,0,i)}function MaskIndexEffect(e,t,i){this.p=PropertyFactory.getProp(t,e.v,0,0,i)}function CheckboxEffect(e,t,i){this.p=PropertyFactory.getProp(t,e.v,0,0,i)}function NoValueEffect(){this.p={}}function EffectsManager(e,t){var i,r=e.ef||[];this.effectElements=[];var s,n=r.length;for(i=0;i<n;i+=1)s=new GroupEffect(r[i],t),this.effectElements.push(s)}function GroupEffect(e,t){this.init(e,t)}function BaseElement(){}function FrameElement(){}function _typeof$2(e){return(_typeof$2="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}extendPrototype([DynamicPropertyContainer],GroupEffect),GroupEffect.prototype.getValue=GroupEffect.prototype.iterateDynamicProperties,GroupEffect.prototype.init=function(e,t){var i;this.data=e,this.effectElements=[],this.initDynamicPropertyContainer(t);var r,s=this.data.ef.length,n=this.data.ef;for(i=0;i<s;i+=1){switch(r=null,n[i].ty){case 0:r=new SliderEffect(n[i],t,this);break;case 1:r=new AngleEffect(n[i],t,this);break;case 2:r=new ColorEffect(n[i],t,this);break;case 3:r=new PointEffect(n[i],t,this);break;case 4:case 7:r=new CheckboxEffect(n[i],t,this);break;case 10:r=new LayerIndexEffect(n[i],t,this);break;case 11:r=new MaskIndexEffect(n[i],t,this);break;case 5:r=new EffectsManager(n[i],t,this);break;default:r=new NoValueEffect(n[i],t,this)}r&&this.effectElements.push(r)}},BaseElement.prototype={checkMasks:function(){if(!this.data.hasMask)return!1;for(var e=0,t=this.data.masksProperties.length;e<t;){if("n"!==this.data.masksProperties[e].mode&&!1!==this.data.masksProperties[e].cl)return!0;e+=1}return!1},initExpressions:function(){this.layerInterface=LayerExpressionInterface(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager);var e=EffectsExpressionInterface.createEffectsInterface(this,this.layerInterface);this.layerInterface.registerEffectsInterface(e),0===this.data.ty||this.data.xt?this.compInterface=CompExpressionInterface(this):4===this.data.ty?(this.layerInterface.shapeInterface=ShapeExpressionInterface(this.shapesData,this.itemsData,this.layerInterface),this.layerInterface.content=this.layerInterface.shapeInterface):5===this.data.ty&&(this.layerInterface.textInterface=TextExpressionInterface(this),this.layerInterface.text=this.layerInterface.textInterface)},setBlendMode:function(){var e=getBlendMode(this.data.bm);(this.baseElement||this.layerElement).style["mix-blend-mode"]=e},initBaseData:function(e,t,i){this.globalData=t,this.comp=i,this.data=e,this.layerId=createElementID(),this.data.sr||(this.data.sr=1),this.effectsManager=new EffectsManager(this.data,this,this.dynamicProperties)},getType:function(){return this.type},sourceRectAtTime:function(){}},FrameElement.prototype={initFrame:function(){this._isFirstFrame=!1,this.dynamicProperties=[],this._mdf=!1},prepareProperties:function(e,t){var i,r=this.dynamicProperties.length;for(i=0;i<r;i+=1)(t||this._isParent&&"transform"===this.dynamicProperties[i].propType)&&(this.dynamicProperties[i].getValue(),this.dynamicProperties[i]._mdf&&(this.globalData._mdf=!0,this._mdf=!0))},addDynamicProperty:function(e){-1===this.dynamicProperties.indexOf(e)&&this.dynamicProperties.push(e)}};var FootageInterface=(dataInterfaceFactory=function(e){function t(e){return"Outline"===e?t.outlineInterface():null}return t._name="Outline",t.outlineInterface=function(e){var t="",i=e.getFootageData();function r(e){if(i[e])return t=e,"object"===_typeof$2(i=i[e])?r:i;var s=e.indexOf(t);if(-1!==s){var n=parseInt(e.substr(s+t.length),10);return"object"===_typeof$2(i=i[n])?r:i}return""}return function(){return t="",i=e.getFootageData(),r}}(e),t},function(e){function t(e){return"Data"===e?t.dataInterface:null}return t._name="Data",t.dataInterface=dataInterfaceFactory(e),t}),dataInterfaceFactory;function FootageElement(e,t,i){this.initFrame(),this.initRenderable(),this.assetData=t.getAssetData(e.refId),this.footageData=t.imageLoader.getAsset(this.assetData),this.initBaseData(e,t,i)}function AudioElement(e,t,i){this.initFrame(),this.initRenderable(),this.assetData=t.getAssetData(e.refId),this.initBaseData(e,t,i),this._isPlaying=!1,this._canPlay=!1;var r=this.globalData.getAssetsPath(this.assetData);this.audio=this.globalData.audioController.createAudio(r),this._currentTime=0,this.globalData.audioController.addAudio(this),this.tm=e.tm?PropertyFactory.getProp(this,e.tm,0,t.frameRate,this):{_placeholder:!0}}function BaseRenderer(){}function TransformElement(){}function MaskElement(e,t,i){this.data=e,this.element=t,this.globalData=i,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var r,s,n=this.globalData.defs,a=this.masksProperties?this.masksProperties.length:0;this.viewData=createSizedArray(a),this.solidPath="";var o,l,h,u,c,d,p=this.masksProperties,f=0,m=[],g=createElementID(),y="clipPath",v="clip-path";for(r=0;r<a;r+=1)if(("a"!==p[r].mode&&"n"!==p[r].mode||p[r].inv||100!==p[r].o.k||p[r].o.x)&&(y="mask",v="mask"),"s"!==p[r].mode&&"i"!==p[r].mode||0!==f?h=null:((h=createNS("rect")).setAttribute("fill","#ffffff"),h.setAttribute("width",this.element.comp.data.w||0),h.setAttribute("height",this.element.comp.data.h||0),m.push(h)),s=createNS("path"),"n"===p[r].mode)this.viewData[r]={op:PropertyFactory.getProp(this.element,p[r].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,p[r],3),elem:s,lastPath:""},n.appendChild(s);else{var b;if(f+=1,s.setAttribute("fill","s"===p[r].mode?"#000000":"#ffffff"),s.setAttribute("clip-rule","nonzero"),0!==p[r].x.k?(y="mask",v="mask",d=PropertyFactory.getProp(this.element,p[r].x,0,null,this.element),b=createElementID(),(u=createNS("filter")).setAttribute("id",b),(c=createNS("feMorphology")).setAttribute("operator","erode"),c.setAttribute("in","SourceGraphic"),c.setAttribute("radius","0"),u.appendChild(c),n.appendChild(u),s.setAttribute("stroke","s"===p[r].mode?"#000000":"#ffffff")):(c=null,d=null),this.storedData[r]={elem:s,x:d,expan:c,lastPath:"",lastOperator:"",filterId:b,lastRadius:0},"i"===p[r].mode){l=m.length;var C=createNS("g");for(o=0;o<l;o+=1)C.appendChild(m[o]);var x=createNS("mask");x.setAttribute("mask-type","alpha"),x.setAttribute("id",g+"_"+f),x.appendChild(s),n.appendChild(x),C.setAttribute("mask","url("+getLocationHref()+"#"+g+"_"+f+")"),m.length=0,m.push(C)}else m.push(s);p[r].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[r]={elem:s,lastPath:"",op:PropertyFactory.getProp(this.element,p[r].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,p[r],3),invRect:h},this.viewData[r].prop.k||this.drawPath(p[r],this.viewData[r].prop.v,this.viewData[r])}for(this.maskElement=createNS(y),a=m.length,r=0;r<a;r+=1)this.maskElement.appendChild(m[r]);f>0&&(this.maskElement.setAttribute("id",g),this.element.maskedElement.setAttribute(v,"url("+getLocationHref()+"#"+g+")"),n.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}FootageElement.prototype.prepareFrame=function(){},extendPrototype([RenderableElement,BaseElement,FrameElement],FootageElement),FootageElement.prototype.getBaseElement=function(){return null},FootageElement.prototype.renderFrame=function(){},FootageElement.prototype.destroy=function(){},FootageElement.prototype.initExpressions=function(){this.layerInterface=FootageInterface(this)},FootageElement.prototype.getFootageData=function(){return this.footageData},AudioElement.prototype.prepareFrame=function(e){if(this.prepareRenderableFrame(e,!0),this.prepareProperties(e,!0),this.tm._placeholder)this._currentTime=e/this.data.sr;else{var t=this.tm.v;this._currentTime=t}},extendPrototype([RenderableElement,BaseElement,FrameElement],AudioElement),AudioElement.prototype.renderFrame=function(){this.isInRange&&this._canPlay&&(this._isPlaying?(!this.audio.playing()||Math.abs(this._currentTime/this.globalData.frameRate-this.audio.seek())>.1)&&this.audio.seek(this._currentTime/this.globalData.frameRate):(this.audio.play(),this.audio.seek(this._currentTime/this.globalData.frameRate),this._isPlaying=!0))},AudioElement.prototype.show=function(){},AudioElement.prototype.hide=function(){this.audio.pause(),this._isPlaying=!1},AudioElement.prototype.pause=function(){this.audio.pause(),this._isPlaying=!1,this._canPlay=!1},AudioElement.prototype.resume=function(){this._canPlay=!0},AudioElement.prototype.setRate=function(e){this.audio.rate(e)},AudioElement.prototype.volume=function(e){this.audio.volume(e)},AudioElement.prototype.getBaseElement=function(){return null},AudioElement.prototype.destroy=function(){},AudioElement.prototype.sourceRectAtTime=function(){},AudioElement.prototype.initExpressions=function(){},BaseRenderer.prototype.checkLayers=function(e){var t,i,r=this.layers.length;for(this.completeLayers=!0,t=r-1;t>=0;t-=1)this.elements[t]||(i=this.layers[t]).ip-i.st<=e-this.layers[t].st&&i.op-i.st>e-this.layers[t].st&&this.buildItem(t),this.completeLayers=!!this.elements[t]&&this.completeLayers;this.checkPendingElements()},BaseRenderer.prototype.createItem=function(e){switch(e.ty){case 2:return this.createImage(e);case 0:return this.createComp(e);case 1:return this.createSolid(e);case 3:return this.createNull(e);case 4:return this.createShape(e);case 5:return this.createText(e);case 6:return this.createAudio(e);case 13:return this.createCamera(e);case 15:return this.createFootage(e);default:return this.createNull(e)}},BaseRenderer.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},BaseRenderer.prototype.createAudio=function(e){return new AudioElement(e,this.globalData,this)},BaseRenderer.prototype.createFootage=function(e){return new FootageElement(e,this.globalData,this)},BaseRenderer.prototype.buildAllItems=function(){var e,t=this.layers.length;for(e=0;e<t;e+=1)this.buildItem(e);this.checkPendingElements()},BaseRenderer.prototype.includeLayers=function(e){var t;this.completeLayers=!1;var i,r=e.length,s=this.layers.length;for(t=0;t<r;t+=1)for(i=0;i<s;){if(this.layers[i].id===e[t].id){this.layers[i]=e[t];break}i+=1}},BaseRenderer.prototype.setProjectInterface=function(e){this.globalData.projectInterface=e},BaseRenderer.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems()},BaseRenderer.prototype.buildElementParenting=function(e,t,i){for(var r=this.elements,s=this.layers,n=0,a=s.length;n<a;)s[n].ind==t&&(r[n]&&!0!==r[n]?(i.push(r[n]),r[n].setAsParent(),void 0!==s[n].parent?this.buildElementParenting(e,s[n].parent,i):e.setHierarchy(i)):(this.buildItem(n),this.addPendingElement(e))),n+=1},BaseRenderer.prototype.addPendingElement=function(e){this.pendingElements.push(e)},BaseRenderer.prototype.searchExtraCompositions=function(e){var t,i=e.length;for(t=0;t<i;t+=1)if(e[t].xt){var r=this.createComp(e[t]);r.initExpressions(),this.globalData.projectInterface.registerComposition(r)}},BaseRenderer.prototype.setupGlobalData=function(e,t){this.globalData.fontManager=new FontManager,this.globalData.fontManager.addChars(e.chars),this.globalData.fontManager.addFonts(e.fonts,t),this.globalData.getAssetData=this.animationItem.getAssetData.bind(this.animationItem),this.globalData.getAssetsPath=this.animationItem.getAssetsPath.bind(this.animationItem),this.globalData.imageLoader=this.animationItem.imagePreloader,this.globalData.audioController=this.animationItem.audioController,this.globalData.frameId=0,this.globalData.frameRate=e.fr,this.globalData.nm=e.nm,this.globalData.compSize={w:e.w,h:e.h}},TransformElement.prototype={initTransform:function(){this.finalTransform={mProp:this.data.ks?TransformPropertyFactory.getTransformProperty(this,this.data.ks,this):{o:0},_matMdf:!1,_opMdf:!1,mat:new Matrix},this.data.ao&&(this.finalTransform.mProp.autoOriented=!0),this.data.ty},renderTransform:function(){if(this.finalTransform._opMdf=this.finalTransform.mProp.o._mdf||this._isFirstFrame,this.finalTransform._matMdf=this.finalTransform.mProp._mdf||this._isFirstFrame,this.hierarchy){var e,t=this.finalTransform.mat,i=0,r=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;i<r;){if(this.hierarchy[i].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}i+=1}if(this.finalTransform._matMdf)for(e=this.finalTransform.mProp.v.props,t.cloneFromProps(e),i=0;i<r;i+=1)e=this.hierarchy[i].finalTransform.mProp.v.props,t.transform(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15])}},globalToLocal:function(e){var t=[];t.push(this.finalTransform);for(var i,r=!0,s=this.comp;r;)s.finalTransform?(s.data.hasMask&&t.splice(0,0,s.finalTransform),s=s.comp):r=!1;var n,a=t.length;for(i=0;i<a;i+=1)n=t[i].mat.applyToPointArray(0,0,0),e=[e[0]-n[0],e[1]-n[1],0];return e},mHelper:new Matrix},MaskElement.prototype.getMaskProperty=function(e){return this.viewData[e].prop},MaskElement.prototype.renderFrame=function(e){var t,i=this.element.finalTransform.mat,r=this.masksProperties.length;for(t=0;t<r;t+=1)if((this.viewData[t].prop._mdf||e)&&this.drawPath(this.masksProperties[t],this.viewData[t].prop.v,this.viewData[t]),(this.viewData[t].op._mdf||e)&&this.viewData[t].elem.setAttribute("fill-opacity",this.viewData[t].op.v),"n"!==this.masksProperties[t].mode&&(this.viewData[t].invRect&&(this.element.finalTransform.mProp._mdf||e)&&this.viewData[t].invRect.setAttribute("transform",i.getInverseMatrix().to2dCSS()),this.storedData[t].x&&(this.storedData[t].x._mdf||e))){var s=this.storedData[t].expan;this.storedData[t].x.v<0?("erode"!==this.storedData[t].lastOperator&&(this.storedData[t].lastOperator="erode",this.storedData[t].elem.setAttribute("filter","url("+getLocationHref()+"#"+this.storedData[t].filterId+")")),s.setAttribute("radius",-this.storedData[t].x.v)):("dilate"!==this.storedData[t].lastOperator&&(this.storedData[t].lastOperator="dilate",this.storedData[t].elem.setAttribute("filter",null)),this.storedData[t].elem.setAttribute("stroke-width",2*this.storedData[t].x.v))}},MaskElement.prototype.getMaskelement=function(){return this.maskElement},MaskElement.prototype.createLayerSolidPath=function(){var e="M0,0 ";return e+=" h"+this.globalData.compSize.w,e+=" v"+this.globalData.compSize.h,e+=" h-"+this.globalData.compSize.w,e+=" v-"+this.globalData.compSize.h+" "},MaskElement.prototype.drawPath=function(e,t,i){var r,s,n=" M"+t.v[0][0]+","+t.v[0][1];for(s=t._length,r=1;r<s;r+=1)n+=" C"+t.o[r-1][0]+","+t.o[r-1][1]+" "+t.i[r][0]+","+t.i[r][1]+" "+t.v[r][0]+","+t.v[r][1];if(t.c&&s>1&&(n+=" C"+t.o[r-1][0]+","+t.o[r-1][1]+" "+t.i[0][0]+","+t.i[0][1]+" "+t.v[0][0]+","+t.v[0][1]),i.lastPath!==n){var a="";i.elem&&(t.c&&(a=e.inv?this.solidPath+n:n),i.elem.setAttribute("d",a)),i.lastPath=n}},MaskElement.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};var filtersFactory=function(){var e={};return e.createFilter=function(e,t){var i=createNS("filter");i.setAttribute("id",e),!0!==t&&(i.setAttribute("filterUnits","objectBoundingBox"),i.setAttribute("x","0%"),i.setAttribute("y","0%"),i.setAttribute("width","100%"),i.setAttribute("height","100%"));return i},e.createAlphaToLuminanceFilter=function(){var e=createNS("feColorMatrix");return e.setAttribute("type","matrix"),e.setAttribute("color-interpolation-filters","sRGB"),e.setAttribute("values","0 0 0 1 0  0 0 0 1 0  0 0 0 1 0  0 0 0 1 1"),e},e}(),featureSupport=function(){var e={maskType:!0};return(/MSIE 10/i.test(navigator.userAgent)||/MSIE 9/i.test(navigator.userAgent)||/rv:11.0/i.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent))&&(e.maskType=!1),e}();function SVGTintFilter(e,t){this.filterManager=t;var i=createNS("feColorMatrix");if(i.setAttribute("type","matrix"),i.setAttribute("color-interpolation-filters","linearRGB"),i.setAttribute("values","0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0"),i.setAttribute("result","f1"),e.appendChild(i),(i=createNS("feColorMatrix")).setAttribute("type","matrix"),i.setAttribute("color-interpolation-filters","sRGB"),i.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),i.setAttribute("result","f2"),e.appendChild(i),this.matrixFilter=i,100!==t.effectElements[2].p.v||t.effectElements[2].p.k){var r,s=createNS("feMerge");e.appendChild(s),(r=createNS("feMergeNode")).setAttribute("in","SourceGraphic"),s.appendChild(r),(r=createNS("feMergeNode")).setAttribute("in","f2"),s.appendChild(r)}}function SVGFillFilter(e,t){this.filterManager=t;var i=createNS("feColorMatrix");i.setAttribute("type","matrix"),i.setAttribute("color-interpolation-filters","sRGB"),i.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),e.appendChild(i),this.matrixFilter=i}function SVGStrokeEffect(e,t){this.initialized=!1,this.filterManager=t,this.elem=e,this.paths=[]}function SVGTritoneFilter(e,t){this.filterManager=t;var i=createNS("feColorMatrix");i.setAttribute("type","matrix"),i.setAttribute("color-interpolation-filters","linearRGB"),i.setAttribute("values","0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0"),i.setAttribute("result","f1"),e.appendChild(i);var r=createNS("feComponentTransfer");r.setAttribute("color-interpolation-filters","sRGB"),e.appendChild(r),this.matrixFilter=r;var s=createNS("feFuncR");s.setAttribute("type","table"),r.appendChild(s),this.feFuncR=s;var n=createNS("feFuncG");n.setAttribute("type","table"),r.appendChild(n),this.feFuncG=n;var a=createNS("feFuncB");a.setAttribute("type","table"),r.appendChild(a),this.feFuncB=a}function SVGProLevelsFilter(e,t){this.filterManager=t;var i=this.filterManager.effectElements,r=createNS("feComponentTransfer");(i[10].p.k||0!==i[10].p.v||i[11].p.k||1!==i[11].p.v||i[12].p.k||1!==i[12].p.v||i[13].p.k||0!==i[13].p.v||i[14].p.k||1!==i[14].p.v)&&(this.feFuncR=this.createFeFunc("feFuncR",r)),(i[17].p.k||0!==i[17].p.v||i[18].p.k||1!==i[18].p.v||i[19].p.k||1!==i[19].p.v||i[20].p.k||0!==i[20].p.v||i[21].p.k||1!==i[21].p.v)&&(this.feFuncG=this.createFeFunc("feFuncG",r)),(i[24].p.k||0!==i[24].p.v||i[25].p.k||1!==i[25].p.v||i[26].p.k||1!==i[26].p.v||i[27].p.k||0!==i[27].p.v||i[28].p.k||1!==i[28].p.v)&&(this.feFuncB=this.createFeFunc("feFuncB",r)),(i[31].p.k||0!==i[31].p.v||i[32].p.k||1!==i[32].p.v||i[33].p.k||1!==i[33].p.v||i[34].p.k||0!==i[34].p.v||i[35].p.k||1!==i[35].p.v)&&(this.feFuncA=this.createFeFunc("feFuncA",r)),(this.feFuncR||this.feFuncG||this.feFuncB||this.feFuncA)&&(r.setAttribute("color-interpolation-filters","sRGB"),e.appendChild(r),r=createNS("feComponentTransfer")),(i[3].p.k||0!==i[3].p.v||i[4].p.k||1!==i[4].p.v||i[5].p.k||1!==i[5].p.v||i[6].p.k||0!==i[6].p.v||i[7].p.k||1!==i[7].p.v)&&(r.setAttribute("color-interpolation-filters","sRGB"),e.appendChild(r),this.feFuncRComposed=this.createFeFunc("feFuncR",r),this.feFuncGComposed=this.createFeFunc("feFuncG",r),this.feFuncBComposed=this.createFeFunc("feFuncB",r))}function SVGDropShadowEffect(e,t){var i=t.container.globalData.renderConfig.filterSize;e.setAttribute("x",i.x),e.setAttribute("y",i.y),e.setAttribute("width",i.width),e.setAttribute("height",i.height),this.filterManager=t;var r=createNS("feGaussianBlur");r.setAttribute("in","SourceAlpha"),r.setAttribute("result","drop_shadow_1"),r.setAttribute("stdDeviation","0"),this.feGaussianBlur=r,e.appendChild(r);var s=createNS("feOffset");s.setAttribute("dx","25"),s.setAttribute("dy","0"),s.setAttribute("in","drop_shadow_1"),s.setAttribute("result","drop_shadow_2"),this.feOffset=s,e.appendChild(s);var n=createNS("feFlood");n.setAttribute("flood-color","#00ff00"),n.setAttribute("flood-opacity","1"),n.setAttribute("result","drop_shadow_3"),this.feFlood=n,e.appendChild(n);var a=createNS("feComposite");a.setAttribute("in","drop_shadow_3"),a.setAttribute("in2","drop_shadow_2"),a.setAttribute("operator","in"),a.setAttribute("result","drop_shadow_4"),e.appendChild(a);var o,l=createNS("feMerge");e.appendChild(l),o=createNS("feMergeNode"),l.appendChild(o),(o=createNS("feMergeNode")).setAttribute("in","SourceGraphic"),this.feMergeNode=o,this.feMerge=l,this.originalNodeAdded=!1,l.appendChild(o)}SVGTintFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t=this.filterManager.effectElements[0].p.v,i=this.filterManager.effectElements[1].p.v,r=this.filterManager.effectElements[2].p.v/100;this.matrixFilter.setAttribute("values",i[0]-t[0]+" 0 0 0 "+t[0]+" "+(i[1]-t[1])+" 0 0 0 "+t[1]+" "+(i[2]-t[2])+" 0 0 0 "+t[2]+" 0 0 0 "+r+" 0")}},SVGFillFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t=this.filterManager.effectElements[2].p.v,i=this.filterManager.effectElements[6].p.v;this.matrixFilter.setAttribute("values","0 0 0 0 "+t[0]+" 0 0 0 0 "+t[1]+" 0 0 0 0 "+t[2]+" 0 0 0 "+i+" 0")}},SVGStrokeEffect.prototype.initialize=function(){var e,t,i,r,s=this.elem.layerElement.children||this.elem.layerElement.childNodes;for(1===this.filterManager.effectElements[1].p.v?(r=this.elem.maskManager.masksProperties.length,i=0):r=(i=this.filterManager.effectElements[0].p.v-1)+1,(t=createNS("g")).setAttribute("fill","none"),t.setAttribute("stroke-linecap","round"),t.setAttribute("stroke-dashoffset",1);i<r;i+=1)e=createNS("path"),t.appendChild(e),this.paths.push({p:e,m:i});if(3===this.filterManager.effectElements[10].p.v){var n=createNS("mask"),a=createElementID();n.setAttribute("id",a),n.setAttribute("mask-type","alpha"),n.appendChild(t),this.elem.globalData.defs.appendChild(n);var o=createNS("g");for(o.setAttribute("mask","url("+getLocationHref()+"#"+a+")");s[0];)o.appendChild(s[0]);this.elem.layerElement.appendChild(o),this.masker=n,t.setAttribute("stroke","#fff")}else if(1===this.filterManager.effectElements[10].p.v||2===this.filterManager.effectElements[10].p.v){if(2===this.filterManager.effectElements[10].p.v)for(s=this.elem.layerElement.children||this.elem.layerElement.childNodes;s.length;)this.elem.layerElement.removeChild(s[0]);this.elem.layerElement.appendChild(t),this.elem.layerElement.removeAttribute("mask"),t.setAttribute("stroke","#fff")}this.initialized=!0,this.pathMasker=t},SVGStrokeEffect.prototype.renderFrame=function(e){var t;this.initialized||this.initialize();var i,r,s=this.paths.length;for(t=0;t<s;t+=1)if(-1!==this.paths[t].m&&(i=this.elem.maskManager.viewData[this.paths[t].m],r=this.paths[t].p,(e||this.filterManager._mdf||i.prop._mdf)&&r.setAttribute("d",i.lastPath),e||this.filterManager.effectElements[9].p._mdf||this.filterManager.effectElements[4].p._mdf||this.filterManager.effectElements[7].p._mdf||this.filterManager.effectElements[8].p._mdf||i.prop._mdf)){var n;if(0!==this.filterManager.effectElements[7].p.v||100!==this.filterManager.effectElements[8].p.v){var a=.01*Math.min(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v),o=.01*Math.max(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v),l=r.getTotalLength();n="0 0 0 "+l*a+" ";var h,u=l*(o-a),c=1+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01,d=Math.floor(u/c);for(h=0;h<d;h+=1)n+="1 "+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01+" ";n+="0 "+10*l+" 0 0"}else n="1 "+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01;r.setAttribute("stroke-dasharray",n)}if((e||this.filterManager.effectElements[4].p._mdf)&&this.pathMasker.setAttribute("stroke-width",2*this.filterManager.effectElements[4].p.v),(e||this.filterManager.effectElements[6].p._mdf)&&this.pathMasker.setAttribute("opacity",this.filterManager.effectElements[6].p.v),(1===this.filterManager.effectElements[10].p.v||2===this.filterManager.effectElements[10].p.v)&&(e||this.filterManager.effectElements[3].p._mdf)){var p=this.filterManager.effectElements[3].p.v;this.pathMasker.setAttribute("stroke","rgb("+bmFloor(255*p[0])+","+bmFloor(255*p[1])+","+bmFloor(255*p[2])+")")}},SVGTritoneFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t=this.filterManager.effectElements[0].p.v,i=this.filterManager.effectElements[1].p.v,r=this.filterManager.effectElements[2].p.v,s=r[0]+" "+i[0]+" "+t[0],n=r[1]+" "+i[1]+" "+t[1],a=r[2]+" "+i[2]+" "+t[2];this.feFuncR.setAttribute("tableValues",s),this.feFuncG.setAttribute("tableValues",n),this.feFuncB.setAttribute("tableValues",a)}},SVGProLevelsFilter.prototype.createFeFunc=function(e,t){var i=createNS(e);return i.setAttribute("type","table"),t.appendChild(i),i},SVGProLevelsFilter.prototype.getTableValue=function(e,t,i,r,s){for(var n,a,o=0,l=Math.min(e,t),h=Math.max(e,t),u=Array.call(null,{length:256}),c=0,d=s-r,p=t-e;o<=256;)a=(n=o/256)<=l?p<0?s:r:n>=h?p<0?r:s:r+d*Math.pow((n-e)/p,1/i),u[c]=a,c+=1,o+=256/255;return u.join(" ")},SVGProLevelsFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t,i=this.filterManager.effectElements;this.feFuncRComposed&&(e||i[3].p._mdf||i[4].p._mdf||i[5].p._mdf||i[6].p._mdf||i[7].p._mdf)&&(t=this.getTableValue(i[3].p.v,i[4].p.v,i[5].p.v,i[6].p.v,i[7].p.v),this.feFuncRComposed.setAttribute("tableValues",t),this.feFuncGComposed.setAttribute("tableValues",t),this.feFuncBComposed.setAttribute("tableValues",t)),this.feFuncR&&(e||i[10].p._mdf||i[11].p._mdf||i[12].p._mdf||i[13].p._mdf||i[14].p._mdf)&&(t=this.getTableValue(i[10].p.v,i[11].p.v,i[12].p.v,i[13].p.v,i[14].p.v),this.feFuncR.setAttribute("tableValues",t)),this.feFuncG&&(e||i[17].p._mdf||i[18].p._mdf||i[19].p._mdf||i[20].p._mdf||i[21].p._mdf)&&(t=this.getTableValue(i[17].p.v,i[18].p.v,i[19].p.v,i[20].p.v,i[21].p.v),this.feFuncG.setAttribute("tableValues",t)),this.feFuncB&&(e||i[24].p._mdf||i[25].p._mdf||i[26].p._mdf||i[27].p._mdf||i[28].p._mdf)&&(t=this.getTableValue(i[24].p.v,i[25].p.v,i[26].p.v,i[27].p.v,i[28].p.v),this.feFuncB.setAttribute("tableValues",t)),this.feFuncA&&(e||i[31].p._mdf||i[32].p._mdf||i[33].p._mdf||i[34].p._mdf||i[35].p._mdf)&&(t=this.getTableValue(i[31].p.v,i[32].p.v,i[33].p.v,i[34].p.v,i[35].p.v),this.feFuncA.setAttribute("tableValues",t))}},SVGDropShadowEffect.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){if((e||this.filterManager.effectElements[4].p._mdf)&&this.feGaussianBlur.setAttribute("stdDeviation",this.filterManager.effectElements[4].p.v/4),e||this.filterManager.effectElements[0].p._mdf){var t=this.filterManager.effectElements[0].p.v;this.feFlood.setAttribute("flood-color",rgbToHex(Math.round(255*t[0]),Math.round(255*t[1]),Math.round(255*t[2])))}if((e||this.filterManager.effectElements[1].p._mdf)&&this.feFlood.setAttribute("flood-opacity",this.filterManager.effectElements[1].p.v/255),e||this.filterManager.effectElements[2].p._mdf||this.filterManager.effectElements[3].p._mdf){var i=this.filterManager.effectElements[3].p.v,r=(this.filterManager.effectElements[2].p.v-90)*degToRads,s=i*Math.cos(r),n=i*Math.sin(r);this.feOffset.setAttribute("dx",s),this.feOffset.setAttribute("dy",n)}}};var _svgMatteSymbols=[];function SVGMatte3Effect(e,t,i){this.initialized=!1,this.filterManager=t,this.filterElem=e,this.elem=i,i.matteElement=createNS("g"),i.matteElement.appendChild(i.layerElement),i.matteElement.appendChild(i.transformedElement),i.baseElement=i.matteElement}function SVGGaussianBlurEffect(e,t){e.setAttribute("x","-100%"),e.setAttribute("y","-100%"),e.setAttribute("width","300%"),e.setAttribute("height","300%"),this.filterManager=t;var i=createNS("feGaussianBlur");e.appendChild(i),this.feGaussianBlur=i}SVGMatte3Effect.prototype.findSymbol=function(e){for(var t=0,i=_svgMatteSymbols.length;t<i;){if(_svgMatteSymbols[t]===e)return _svgMatteSymbols[t];t+=1}return null},SVGMatte3Effect.prototype.replaceInParent=function(e,t){var i=e.layerElement.parentNode;if(i){for(var r,s=i.children,n=0,a=s.length;n<a&&s[n]!==e.layerElement;)n+=1;n<=a-2&&(r=s[n+1]);var o=createNS("use");o.setAttribute("href","#"+t),r?i.insertBefore(o,r):i.appendChild(o)}},SVGMatte3Effect.prototype.setElementAsMask=function(e,t){if(!this.findSymbol(t)){var i=createElementID(),r=createNS("mask");r.setAttribute("id",t.layerId),r.setAttribute("mask-type","alpha"),_svgMatteSymbols.push(t);var s=e.globalData.defs;s.appendChild(r);var n=createNS("symbol");n.setAttribute("id",i),this.replaceInParent(t,i),n.appendChild(t.layerElement),s.appendChild(n);var a=createNS("use");a.setAttribute("href","#"+i),r.appendChild(a),t.data.hd=!1,t.show()}e.setMatte(t.layerId)},SVGMatte3Effect.prototype.initialize=function(){for(var e=this.filterManager.effectElements[0].p.v,t=this.elem.comp.elements,i=0,r=t.length;i<r;)t[i]&&t[i].data.ind===e&&this.setElementAsMask(this.elem,t[i]),i+=1;this.initialized=!0},SVGMatte3Effect.prototype.renderFrame=function(){this.initialized||this.initialize()},SVGGaussianBlurEffect.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t=.3*this.filterManager.effectElements[0].p.v,i=this.filterManager.effectElements[1].p.v,r=3==i?0:t,s=2==i?0:t;this.feGaussianBlur.setAttribute("stdDeviation",r+" "+s);var n=1==this.filterManager.effectElements[2].p.v?"wrap":"duplicate";this.feGaussianBlur.setAttribute("edgeMode",n)}};var registeredEffects={};function SVGEffects(e){var t,i,r=e.data.ef?e.data.ef.length:0,s=createElementID(),n=filtersFactory.createFilter(s,!0),a=0;for(this.filters=[],t=0;t<r;t+=1){i=null;var o=e.data.ef[t].ty;if(registeredEffects[o])i=new(0,registeredEffects[o].effect)(n,e.effectsManager.effectElements[t],e),registeredEffects[o].countsAsEffect&&(a+=1);20===e.data.ef[t].ty?(a+=1,i=new SVGTintFilter(n,e.effectsManager.effectElements[t])):21===e.data.ef[t].ty?(a+=1,i=new SVGFillFilter(n,e.effectsManager.effectElements[t])):22===e.data.ef[t].ty?i=new SVGStrokeEffect(e,e.effectsManager.effectElements[t]):23===e.data.ef[t].ty?(a+=1,i=new SVGTritoneFilter(n,e.effectsManager.effectElements[t])):24===e.data.ef[t].ty?(a+=1,i=new SVGProLevelsFilter(n,e.effectsManager.effectElements[t])):25===e.data.ef[t].ty?(a+=1,i=new SVGDropShadowEffect(n,e.effectsManager.effectElements[t])):28===e.data.ef[t].ty?i=new SVGMatte3Effect(n,e.effectsManager.effectElements[t],e):29===e.data.ef[t].ty&&(a+=1,i=new SVGGaussianBlurEffect(n,e.effectsManager.effectElements[t])),i&&this.filters.push(i)}a&&(e.globalData.defs.appendChild(n),e.layerElement.setAttribute("filter","url("+getLocationHref()+"#"+s+")")),this.filters.length&&e.addRenderableComponent(this)}function registerEffect(e,t,i){registeredEffects[e]={effect:t,countsAsEffect:i}}function SVGBaseElement(){}function HierarchyElement(){}function RenderableDOMElement(){}function IImageElement(e,t,i){this.assetData=t.getAssetData(e.refId),this.initElement(e,t,i),this.sourceRect={top:0,left:0,width:this.assetData.w,height:this.assetData.h}}function ProcessedElement(e,t){this.elem=e,this.pos=t}function IShapeElement(){}SVGEffects.prototype.renderFrame=function(e){var t,i=this.filters.length;for(t=0;t<i;t+=1)this.filters[t].renderFrame(e)},SVGBaseElement.prototype={initRendererElement:function(){this.layerElement=createNS("g")},createContainerElements:function(){this.matteElement=createNS("g"),this.transformedElement=this.layerElement,this.maskedElement=this.layerElement,this._sizeChanged=!1;var e,t,i,r=null;if(this.data.td){if(3==this.data.td||1==this.data.td){var s=createNS("mask");s.setAttribute("id",this.layerId),s.setAttribute("mask-type",3==this.data.td?"luminance":"alpha"),s.appendChild(this.layerElement),r=s,this.globalData.defs.appendChild(s),featureSupport.maskType||1!=this.data.td||(s.setAttribute("mask-type","luminance"),e=createElementID(),t=filtersFactory.createFilter(e),this.globalData.defs.appendChild(t),t.appendChild(filtersFactory.createAlphaToLuminanceFilter()),(i=createNS("g")).appendChild(this.layerElement),r=i,s.appendChild(i),i.setAttribute("filter","url("+getLocationHref()+"#"+e+")"))}else if(2==this.data.td){var n=createNS("mask");n.setAttribute("id",this.layerId),n.setAttribute("mask-type","alpha");var a=createNS("g");n.appendChild(a),e=createElementID(),t=filtersFactory.createFilter(e);var o=createNS("feComponentTransfer");o.setAttribute("in","SourceGraphic"),t.appendChild(o);var l=createNS("feFuncA");l.setAttribute("type","table"),l.setAttribute("tableValues","1.0 0.0"),o.appendChild(l),this.globalData.defs.appendChild(t);var h=createNS("rect");h.setAttribute("width",this.comp.data.w),h.setAttribute("height",this.comp.data.h),h.setAttribute("x","0"),h.setAttribute("y","0"),h.setAttribute("fill","#ffffff"),h.setAttribute("opacity","0"),a.setAttribute("filter","url("+getLocationHref()+"#"+e+")"),a.appendChild(h),a.appendChild(this.layerElement),r=a,featureSupport.maskType||(n.setAttribute("mask-type","luminance"),t.appendChild(filtersFactory.createAlphaToLuminanceFilter()),i=createNS("g"),a.appendChild(h),i.appendChild(this.layerElement),r=i,a.appendChild(i)),this.globalData.defs.appendChild(n)}}else this.data.tt?(this.matteElement.appendChild(this.layerElement),r=this.matteElement,this.baseElement=this.matteElement):this.baseElement=this.layerElement;if(this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),0===this.data.ty&&!this.data.hd){var u=createNS("clipPath"),c=createNS("path");c.setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z");var d=createElementID();if(u.setAttribute("id",d),u.appendChild(c),this.globalData.defs.appendChild(u),this.checkMasks()){var p=createNS("g");p.setAttribute("clip-path","url("+getLocationHref()+"#"+d+")"),p.appendChild(this.layerElement),this.transformedElement=p,r?r.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+d+")")}0!==this.data.bm&&this.setBlendMode()},renderElement:function(){this.finalTransform._matMdf&&this.transformedElement.setAttribute("transform",this.finalTransform.mat.to2dCSS()),this.finalTransform._opMdf&&this.transformedElement.setAttribute("opacity",this.finalTransform.mProp.o.v)},destroyBaseElement:function(){this.layerElement=null,this.matteElement=null,this.maskManager.destroy()},getBaseElement:function(){return this.data.hd?null:this.baseElement},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData),this.renderableEffectsManager=new SVGEffects(this)},setMatte:function(e){this.matteElement&&this.matteElement.setAttribute("mask","url("+getLocationHref()+"#"+e+")")}},HierarchyElement.prototype={initHierarchy:function(){this.hierarchy=[],this._isParent=!1,this.checkParenting()},setHierarchy:function(e){this.hierarchy=e},setAsParent:function(){this._isParent=!0},checkParenting:function(){void 0!==this.data.parent&&this.comp.buildElementParenting(this,this.data.parent,[])}},extendPrototype([RenderableElement,createProxyFunction({initElement:function(e,t,i){this.initFrame(),this.initBaseData(e,t,i),this.initTransform(e,t,i),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide()},hide:function(){this.hidden||this.isInRange&&!this.isTransparent||((this.baseElement||this.layerElement).style.display="none",this.hidden=!0)},show:function(){this.isInRange&&!this.isTransparent&&(this.data.hd||((this.baseElement||this.layerElement).style.display="block"),this.hidden=!1,this._isFirstFrame=!0)},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},renderInnerContent:function(){},prepareFrame:function(e){this._mdf=!1,this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange),this.checkTransparency()},destroy:function(){this.innerElem=null,this.destroyBaseElement()}})],RenderableDOMElement),extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],IImageElement),IImageElement.prototype.createContent=function(){var e=this.globalData.getAssetsPath(this.assetData);this.innerElem=createNS("image"),this.innerElem.setAttribute("width",this.assetData.w+"px"),this.innerElem.setAttribute("height",this.assetData.h+"px"),this.innerElem.setAttribute("preserveAspectRatio",this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio),this.innerElem.setAttributeNS("http://www.w3.org/1999/xlink","href",e),this.layerElement.appendChild(this.innerElem)},IImageElement.prototype.sourceRectAtTime=function(){return this.sourceRect},IShapeElement.prototype={addShapeToModifiers:function(e){var t,i=this.shapeModifiers.length;for(t=0;t<i;t+=1)this.shapeModifiers[t].addShape(e)},isShapeInAnimatedModifiers:function(e){for(var t=this.shapeModifiers.length;0<t;)if(this.shapeModifiers[0].isAnimatedWithShape(e))return!0;return!1},renderModifiers:function(){if(this.shapeModifiers.length){var e,t=this.shapes.length;for(e=0;e<t;e+=1)this.shapes[e].sh.reset();for(e=(t=this.shapeModifiers.length)-1;e>=0&&!this.shapeModifiers[e].processShapes(this._isFirstFrame);e-=1);}},searchProcessedElement:function(e){for(var t=this.processedElements,i=0,r=t.length;i<r;){if(t[i].elem===e)return t[i].pos;i+=1}return 0},addProcessedElement:function(e,t){for(var i=this.processedElements,r=i.length;r;)if(i[r-=1].elem===e)return void(i[r].pos=t);i.push(new ProcessedElement(e,t))},prepareFrame:function(e){this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange)}};var lineCapEnum={1:"butt",2:"round",3:"square"},lineJoinEnum={1:"miter",2:"round",3:"bevel"};function SVGShapeData(e,t,i){this.caches=[],this.styles=[],this.transformers=e,this.lStr="",this.sh=i,this.lvl=t,this._isAnimated=!!i.k;for(var r=0,s=e.length;r<s;){if(e[r].mProps.dynamicProperties.length){this._isAnimated=!0;break}r+=1}}function SVGStyleData(e,t){this.data=e,this.type=e.ty,this.d="",this.lvl=t,this._mdf=!1,this.closed=!0===e.hd,this.pElem=createNS("path"),this.msElem=null}function DashProperty(e,t,i,r){var s;this.elem=e,this.frameId=-1,this.dataProps=createSizedArray(t.length),this.renderer=i,this.k=!1,this.dashStr="",this.dashArray=createTypedArray("float32",t.length?t.length-1:0),this.dashoffset=createTypedArray("float32",1),this.initDynamicPropertyContainer(r);var n,a=t.length||0;for(s=0;s<a;s+=1)n=PropertyFactory.getProp(e,t[s].v,0,0,this),this.k=n.k||this.k,this.dataProps[s]={n:t[s].n,p:n};this.k||this.getValue(!0),this._isAnimated=this.k}function SVGStrokeStyleData(e,t,i){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(e,t.o,0,.01,this),this.w=PropertyFactory.getProp(e,t.w,0,null,this),this.d=new DashProperty(e,t.d||{},"svg",this),this.c=PropertyFactory.getProp(e,t.c,1,255,this),this.style=i,this._isAnimated=!!this._isAnimated}function SVGFillStyleData(e,t,i){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(e,t.o,0,.01,this),this.c=PropertyFactory.getProp(e,t.c,1,255,this),this.style=i}function SVGNoStyleData(e,t,i){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.style=i}function GradientProperty(e,t,i){this.data=t,this.c=createTypedArray("uint8c",4*t.p);var r=t.k.k[0].s?t.k.k[0].s.length-4*t.p:t.k.k.length-4*t.p;this.o=createTypedArray("float32",r),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=r,this.initDynamicPropertyContainer(i),this.prop=PropertyFactory.getProp(e,t.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}function SVGGradientFillStyleData(e,t,i){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.initGradientData(e,t,i)}function SVGGradientStrokeStyleData(e,t,i){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.w=PropertyFactory.getProp(e,t.w,0,null,this),this.d=new DashProperty(e,t.d||{},"svg",this),this.initGradientData(e,t,i),this._isAnimated=!!this._isAnimated}function ShapeGroupData(){this.it=[],this.prevViewData=[],this.gr=createNS("g")}function SVGTransformData(e,t,i){this.transform={mProps:e,op:t,container:i},this.elements=[],this._isAnimated=this.transform.mProps.dynamicProperties.length||this.transform.op.effectsSequence.length}SVGShapeData.prototype.setAsAnimated=function(){this._isAnimated=!0},SVGStyleData.prototype.reset=function(){this.d="",this._mdf=!1},DashProperty.prototype.getValue=function(e){if((this.elem.globalData.frameId!==this.frameId||e)&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf=this._mdf||e,this._mdf)){var t=0,i=this.dataProps.length;for("svg"===this.renderer&&(this.dashStr=""),t=0;t<i;t+=1)"o"!==this.dataProps[t].n?"svg"===this.renderer?this.dashStr+=" "+this.dataProps[t].p.v:this.dashArray[t]=this.dataProps[t].p.v:this.dashoffset[0]=this.dataProps[t].p.v}},extendPrototype([DynamicPropertyContainer],DashProperty),extendPrototype([DynamicPropertyContainer],SVGStrokeStyleData),extendPrototype([DynamicPropertyContainer],SVGFillStyleData),extendPrototype([DynamicPropertyContainer],SVGNoStyleData),GradientProperty.prototype.comparePoints=function(e,t){for(var i=0,r=this.o.length/2;i<r;){if(Math.abs(e[4*i]-e[4*t+2*i])>.01)return!1;i+=1}return!0},GradientProperty.prototype.checkCollapsable=function(){if(this.o.length/2!=this.c.length/4)return!1;if(this.data.k.k[0].s)for(var e=0,t=this.data.k.k.length;e<t;){if(!this.comparePoints(this.data.k.k[e].s,this.data.p))return!1;e+=1}else if(!this.comparePoints(this.data.k.k,this.data.p))return!1;return!0},GradientProperty.prototype.getValue=function(e){if(this.prop.getValue(),this._mdf=!1,this._cmdf=!1,this._omdf=!1,this.prop._mdf||e){var t,i,r,s=4*this.data.p;for(t=0;t<s;t+=1)i=t%4==0?100:255,r=Math.round(this.prop.v[t]*i),this.c[t]!==r&&(this.c[t]=r,this._cmdf=!e);if(this.o.length)for(s=this.prop.v.length,t=4*this.data.p;t<s;t+=1)i=t%2==0?100:1,r=t%2==0?Math.round(100*this.prop.v[t]):this.prop.v[t],this.o[t-4*this.data.p]!==r&&(this.o[t-4*this.data.p]=r,this._omdf=!e);this._mdf=!e}},extendPrototype([DynamicPropertyContainer],GradientProperty),SVGGradientFillStyleData.prototype.initGradientData=function(e,t,i){this.o=PropertyFactory.getProp(e,t.o,0,.01,this),this.s=PropertyFactory.getProp(e,t.s,1,null,this),this.e=PropertyFactory.getProp(e,t.e,1,null,this),this.h=PropertyFactory.getProp(e,t.h||{k:0},0,.01,this),this.a=PropertyFactory.getProp(e,t.a||{k:0},0,degToRads,this),this.g=new GradientProperty(e,t.g,this),this.style=i,this.stops=[],this.setGradientData(i.pElem,t),this.setGradientOpacity(t,i),this._isAnimated=!!this._isAnimated},SVGGradientFillStyleData.prototype.setGradientData=function(e,t){var i=createElementID(),r=createNS(1===t.t?"linearGradient":"radialGradient");r.setAttribute("id",i),r.setAttribute("spreadMethod","pad"),r.setAttribute("gradientUnits","userSpaceOnUse");var s,n,a,o=[];for(a=4*t.g.p,n=0;n<a;n+=4)s=createNS("stop"),r.appendChild(s),o.push(s);e.setAttribute("gf"===t.ty?"fill":"stroke","url("+getLocationHref()+"#"+i+")"),this.gf=r,this.cst=o},SVGGradientFillStyleData.prototype.setGradientOpacity=function(e,t){if(this.g._hasOpacity&&!this.g._collapsable){var i,r,s,n=createNS("mask"),a=createNS("path");n.appendChild(a);var o=createElementID(),l=createElementID();n.setAttribute("id",l);var h=createNS(1===e.t?"linearGradient":"radialGradient");h.setAttribute("id",o),h.setAttribute("spreadMethod","pad"),h.setAttribute("gradientUnits","userSpaceOnUse"),s=e.g.k.k[0].s?e.g.k.k[0].s.length:e.g.k.k.length;var u=this.stops;for(r=4*e.g.p;r<s;r+=2)(i=createNS("stop")).setAttribute("stop-color","rgb(255,255,255)"),h.appendChild(i),u.push(i);a.setAttribute("gf"===e.ty?"fill":"stroke","url("+getLocationHref()+"#"+o+")"),"gs"===e.ty&&(a.setAttribute("stroke-linecap",lineCapEnum[e.lc||2]),a.setAttribute("stroke-linejoin",lineJoinEnum[e.lj||2]),1===e.lj&&a.setAttribute("stroke-miterlimit",e.ml)),this.of=h,this.ms=n,this.ost=u,this.maskId=l,t.msElem=a}},extendPrototype([DynamicPropertyContainer],SVGGradientFillStyleData),extendPrototype([SVGGradientFillStyleData,DynamicPropertyContainer],SVGGradientStrokeStyleData);var buildShapeString=function(e,t,i,r){if(0===t)return"";var s,n=e.o,a=e.i,o=e.v,l=" M"+r.applyToPointStringified(o[0][0],o[0][1]);for(s=1;s<t;s+=1)l+=" C"+r.applyToPointStringified(n[s-1][0],n[s-1][1])+" "+r.applyToPointStringified(a[s][0],a[s][1])+" "+r.applyToPointStringified(o[s][0],o[s][1]);return i&&t&&(l+=" C"+r.applyToPointStringified(n[s-1][0],n[s-1][1])+" "+r.applyToPointStringified(a[0][0],a[0][1])+" "+r.applyToPointStringified(o[0][0],o[0][1]),l+="z"),l},SVGElementsRenderer=function(){var e=new Matrix,t=new Matrix;function i(e,t,i){(i||t.transform.op._mdf)&&t.transform.container.setAttribute("opacity",t.transform.op.v),(i||t.transform.mProps._mdf)&&t.transform.container.setAttribute("transform",t.transform.mProps.v.to2dCSS())}function r(){}function s(i,r,s){var n,a,o,l,h,u,c,d,p,f,m,g=r.styles.length,y=r.lvl;for(u=0;u<g;u+=1){if(l=r.sh._mdf||s,r.styles[u].lvl<y){for(d=t.reset(),f=y-r.styles[u].lvl,m=r.transformers.length-1;!l&&f>0;)l=r.transformers[m].mProps._mdf||l,f-=1,m-=1;if(l)for(f=y-r.styles[u].lvl,m=r.transformers.length-1;f>0;)p=r.transformers[m].mProps.v.props,d.transform(p[0],p[1],p[2],p[3],p[4],p[5],p[6],p[7],p[8],p[9],p[10],p[11],p[12],p[13],p[14],p[15]),f-=1,m-=1}else d=e;if(a=(c=r.sh.paths)._length,l){for(o="",n=0;n<a;n+=1)(h=c.shapes[n])&&h._length&&(o+=buildShapeString(h,h._length,h.c,d));r.caches[u]=o}else o=r.caches[u];r.styles[u].d+=!0===i.hd?"":o,r.styles[u]._mdf=l||r.styles[u]._mdf}}function n(e,t,i){var r=t.style;(t.c._mdf||i)&&r.pElem.setAttribute("fill","rgb("+bmFloor(t.c.v[0])+","+bmFloor(t.c.v[1])+","+bmFloor(t.c.v[2])+")"),(t.o._mdf||i)&&r.pElem.setAttribute("fill-opacity",t.o.v)}function a(e,t,i){o(e,t,i),l(e,t,i)}function o(e,t,i){var r,s,n,a,o,l=t.gf,h=t.g._hasOpacity,u=t.s.v,c=t.e.v;if(t.o._mdf||i){var d="gf"===e.ty?"fill-opacity":"stroke-opacity";t.style.pElem.setAttribute(d,t.o.v)}if(t.s._mdf||i){var p=1===e.t?"x1":"cx",f="x1"===p?"y1":"cy";l.setAttribute(p,u[0]),l.setAttribute(f,u[1]),h&&!t.g._collapsable&&(t.of.setAttribute(p,u[0]),t.of.setAttribute(f,u[1]))}if(t.g._cmdf||i){r=t.cst;var m=t.g.c;for(n=r.length,s=0;s<n;s+=1)(a=r[s]).setAttribute("offset",m[4*s]+"%"),a.setAttribute("stop-color","rgb("+m[4*s+1]+","+m[4*s+2]+","+m[4*s+3]+")")}if(h&&(t.g._omdf||i)){var g=t.g.o;for(n=(r=t.g._collapsable?t.cst:t.ost).length,s=0;s<n;s+=1)a=r[s],t.g._collapsable||a.setAttribute("offset",g[2*s]+"%"),a.setAttribute("stop-opacity",g[2*s+1])}if(1===e.t)(t.e._mdf||i)&&(l.setAttribute("x2",c[0]),l.setAttribute("y2",c[1]),h&&!t.g._collapsable&&(t.of.setAttribute("x2",c[0]),t.of.setAttribute("y2",c[1])));else if((t.s._mdf||t.e._mdf||i)&&(o=Math.sqrt(Math.pow(u[0]-c[0],2)+Math.pow(u[1]-c[1],2)),l.setAttribute("r",o),h&&!t.g._collapsable&&t.of.setAttribute("r",o)),t.e._mdf||t.h._mdf||t.a._mdf||i){o||(o=Math.sqrt(Math.pow(u[0]-c[0],2)+Math.pow(u[1]-c[1],2)));var y=Math.atan2(c[1]-u[1],c[0]-u[0]),v=t.h.v;v>=1?v=.99:v<=-1&&(v=-.99);var b=o*v,C=Math.cos(y+t.a.v)*b+u[0],x=Math.sin(y+t.a.v)*b+u[1];l.setAttribute("fx",C),l.setAttribute("fy",x),h&&!t.g._collapsable&&(t.of.setAttribute("fx",C),t.of.setAttribute("fy",x))}}function l(e,t,i){var r=t.style,s=t.d;s&&(s._mdf||i)&&s.dashStr&&(r.pElem.setAttribute("stroke-dasharray",s.dashStr),r.pElem.setAttribute("stroke-dashoffset",s.dashoffset[0])),t.c&&(t.c._mdf||i)&&r.pElem.setAttribute("stroke","rgb("+bmFloor(t.c.v[0])+","+bmFloor(t.c.v[1])+","+bmFloor(t.c.v[2])+")"),(t.o._mdf||i)&&r.pElem.setAttribute("stroke-opacity",t.o.v),(t.w._mdf||i)&&(r.pElem.setAttribute("stroke-width",t.w.v),r.msElem&&r.msElem.setAttribute("stroke-width",t.w.v))}return{createRenderFunction:function(e){switch(e.ty){case"fl":return n;case"gf":return o;case"gs":return a;case"st":return l;case"sh":case"el":case"rc":case"sr":return s;case"tr":return i;case"no":return r;default:return null}}}}();function SVGShapeElement(e,t,i){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(e,t,i),this.prevViewData=[]}function LetterProps(e,t,i,r,s,n){this.o=e,this.sw=t,this.sc=i,this.fc=r,this.m=s,this.p=n,this._mdf={o:!0,sw:!!t,sc:!!i,fc:!!r,m:!0,p:!0}}function TextProperty(e,t){this._frameId=initialDefaultFrame,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,this.data=t,this.elem=e,this.comp=this.elem.comp,this.keysIndex=0,this.canResize=!1,this.minimumFontSize=1,this.effectsSequence=[],this.currentData={ascent:0,boxWidth:this.defaultBoxWidth,f:"",fStyle:"",fWeight:"",fc:"",j:"",justifyOffset:"",l:[],lh:0,lineWidths:[],ls:"",of:"",s:"",sc:"",sw:0,t:0,tr:0,sz:0,ps:null,fillColorAnim:!1,strokeColorAnim:!1,strokeWidthAnim:!1,yOffset:0,finalSize:0,finalText:[],finalLineHeight:0,__complete:!1},this.copyData(this.currentData,this.data.d.k[0].s),this.searchProperty()||this.completeTextData(this.currentData)}extendPrototype([BaseElement,TransformElement,SVGBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableDOMElement],SVGShapeElement),SVGShapeElement.prototype.initSecondaryElement=function(){},SVGShapeElement.prototype.identityMatrix=new Matrix,SVGShapeElement.prototype.buildExpressionInterface=function(){},SVGShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes()},SVGShapeElement.prototype.filterUniqueShapes=function(){var e,t,i,r,s=this.shapes.length,n=this.stylesList.length,a=[],o=!1;for(i=0;i<n;i+=1){for(r=this.stylesList[i],o=!1,a.length=0,e=0;e<s;e+=1)-1!==(t=this.shapes[e]).styles.indexOf(r)&&(a.push(t),o=t._isAnimated||o);a.length>1&&o&&this.setShapesAsAnimated(a)}},SVGShapeElement.prototype.setShapesAsAnimated=function(e){var t,i=e.length;for(t=0;t<i;t+=1)e[t].setAsAnimated()},SVGShapeElement.prototype.createStyleElement=function(e,t){var i,r=new SVGStyleData(e,t),s=r.pElem;if("st"===e.ty)i=new SVGStrokeStyleData(this,e,r);else if("fl"===e.ty)i=new SVGFillStyleData(this,e,r);else if("gf"===e.ty||"gs"===e.ty){i=new("gf"===e.ty?SVGGradientFillStyleData:SVGGradientStrokeStyleData)(this,e,r),this.globalData.defs.appendChild(i.gf),i.maskId&&(this.globalData.defs.appendChild(i.ms),this.globalData.defs.appendChild(i.of),s.setAttribute("mask","url("+getLocationHref()+"#"+i.maskId+")"))}else"no"===e.ty&&(i=new SVGNoStyleData(this,e,r));return"st"!==e.ty&&"gs"!==e.ty||(s.setAttribute("stroke-linecap",lineCapEnum[e.lc||2]),s.setAttribute("stroke-linejoin",lineJoinEnum[e.lj||2]),s.setAttribute("fill-opacity","0"),1===e.lj&&s.setAttribute("stroke-miterlimit",e.ml)),2===e.r&&s.setAttribute("fill-rule","evenodd"),e.ln&&s.setAttribute("id",e.ln),e.cl&&s.setAttribute("class",e.cl),e.bm&&(s.style["mix-blend-mode"]=getBlendMode(e.bm)),this.stylesList.push(r),this.addToAnimatedContents(e,i),i},SVGShapeElement.prototype.createGroupElement=function(e){var t=new ShapeGroupData;return e.ln&&t.gr.setAttribute("id",e.ln),e.cl&&t.gr.setAttribute("class",e.cl),e.bm&&(t.gr.style["mix-blend-mode"]=getBlendMode(e.bm)),t},SVGShapeElement.prototype.createTransformElement=function(e,t){var i=TransformPropertyFactory.getTransformProperty(this,e,this),r=new SVGTransformData(i,i.o,t);return this.addToAnimatedContents(e,r),r},SVGShapeElement.prototype.createShapeElement=function(e,t,i){var r=4;"rc"===e.ty?r=5:"el"===e.ty?r=6:"sr"===e.ty&&(r=7);var s=new SVGShapeData(t,i,ShapePropertyFactory.getShapeProp(this,e,r,this));return this.shapes.push(s),this.addShapeToModifiers(s),this.addToAnimatedContents(e,s),s},SVGShapeElement.prototype.addToAnimatedContents=function(e,t){for(var i=0,r=this.animatedContents.length;i<r;){if(this.animatedContents[i].element===t)return;i+=1}this.animatedContents.push({fn:SVGElementsRenderer.createRenderFunction(e),element:t,data:e})},SVGShapeElement.prototype.setElementStyles=function(e){var t,i=e.styles,r=this.stylesList.length;for(t=0;t<r;t+=1)this.stylesList[t].closed||i.push(this.stylesList[t])},SVGShapeElement.prototype.reloadShapes=function(){var e;this._isFirstFrame=!0;var t=this.itemsData.length;for(e=0;e<t;e+=1)this.prevViewData[e]=this.itemsData[e];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes(),t=this.dynamicProperties.length,e=0;e<t;e+=1)this.dynamicProperties[e].getValue();this.renderModifiers()},SVGShapeElement.prototype.searchShapes=function(e,t,i,r,s,n,a){var o,l,h,u,c,d,p=[].concat(n),f=e.length-1,m=[],g=[];for(o=f;o>=0;o-=1){if((d=this.searchProcessedElement(e[o]))?t[o]=i[d-1]:e[o]._render=a,"fl"===e[o].ty||"st"===e[o].ty||"gf"===e[o].ty||"gs"===e[o].ty||"no"===e[o].ty)d?t[o].style.closed=!1:t[o]=this.createStyleElement(e[o],s),e[o]._render&&t[o].style.pElem.parentNode!==r&&r.appendChild(t[o].style.pElem),m.push(t[o].style);else if("gr"===e[o].ty){if(d)for(h=t[o].it.length,l=0;l<h;l+=1)t[o].prevViewData[l]=t[o].it[l];else t[o]=this.createGroupElement(e[o]);this.searchShapes(e[o].it,t[o].it,t[o].prevViewData,t[o].gr,s+1,p,a),e[o]._render&&t[o].gr.parentNode!==r&&r.appendChild(t[o].gr)}else"tr"===e[o].ty?(d||(t[o]=this.createTransformElement(e[o],r)),u=t[o].transform,p.push(u)):"sh"===e[o].ty||"rc"===e[o].ty||"el"===e[o].ty||"sr"===e[o].ty?(d||(t[o]=this.createShapeElement(e[o],p,s)),this.setElementStyles(t[o])):"tm"===e[o].ty||"rd"===e[o].ty||"ms"===e[o].ty||"pb"===e[o].ty?(d?(c=t[o]).closed=!1:((c=ShapeModifiers.getModifier(e[o].ty)).init(this,e[o]),t[o]=c,this.shapeModifiers.push(c)),g.push(c)):"rp"===e[o].ty&&(d?(c=t[o]).closed=!0:(c=ShapeModifiers.getModifier(e[o].ty),t[o]=c,c.init(this,e,o,t),this.shapeModifiers.push(c),a=!1),g.push(c));this.addProcessedElement(e[o],o+1)}for(f=m.length,o=0;o<f;o+=1)m[o].closed=!0;for(f=g.length,o=0;o<f;o+=1)g[o].closed=!0},SVGShapeElement.prototype.renderInnerContent=function(){var e;this.renderModifiers();var t=this.stylesList.length;for(e=0;e<t;e+=1)this.stylesList[e].reset();for(this.renderShape(),e=0;e<t;e+=1)(this.stylesList[e]._mdf||this._isFirstFrame)&&(this.stylesList[e].msElem&&(this.stylesList[e].msElem.setAttribute("d",this.stylesList[e].d),this.stylesList[e].d="M0 0"+this.stylesList[e].d),this.stylesList[e].pElem.setAttribute("d",this.stylesList[e].d||"M0 0"))},SVGShapeElement.prototype.renderShape=function(){var e,t,i=this.animatedContents.length;for(e=0;e<i;e+=1)t=this.animatedContents[e],(this._isFirstFrame||t.element._isAnimated)&&!0!==t.data&&t.fn(t.data,t.element,this._isFirstFrame)},SVGShapeElement.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null},LetterProps.prototype.update=function(e,t,i,r,s,n){this._mdf.o=!1,this._mdf.sw=!1,this._mdf.sc=!1,this._mdf.fc=!1,this._mdf.m=!1,this._mdf.p=!1;var a=!1;return this.o!==e&&(this.o=e,this._mdf.o=!0,a=!0),this.sw!==t&&(this.sw=t,this._mdf.sw=!0,a=!0),this.sc!==i&&(this.sc=i,this._mdf.sc=!0,a=!0),this.fc!==r&&(this.fc=r,this._mdf.fc=!0,a=!0),this.m!==s&&(this.m=s,this._mdf.m=!0,a=!0),!n.length||this.p[0]===n[0]&&this.p[1]===n[1]&&this.p[4]===n[4]&&this.p[5]===n[5]&&this.p[12]===n[12]&&this.p[13]===n[13]||(this.p=n,this._mdf.p=!0,a=!0),a},TextProperty.prototype.defaultBoxWidth=[0,0],TextProperty.prototype.copyData=function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},TextProperty.prototype.setCurrentData=function(e){e.__complete||this.completeTextData(e),this.currentData=e,this.currentData.boxWidth=this.currentData.boxWidth||this.defaultBoxWidth,this._mdf=!0},TextProperty.prototype.searchProperty=function(){return this.searchKeyframes()},TextProperty.prototype.searchKeyframes=function(){return this.kf=this.data.d.k.length>1,this.kf&&this.addEffect(this.getKeyframeValue.bind(this)),this.kf},TextProperty.prototype.addEffect=function(e){this.effectsSequence.push(e),this.elem.addDynamicProperty(this)},TextProperty.prototype.getValue=function(e){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length||e){this.currentData.t=this.data.d.k[this.keysIndex].s.t;var t=this.currentData,i=this.keysIndex;if(this.lock)this.setCurrentData(this.currentData);else{var r;this.lock=!0,this._mdf=!1;var s=this.effectsSequence.length,n=e||this.data.d.k[this.keysIndex].s;for(r=0;r<s;r+=1)n=i!==this.keysIndex?this.effectsSequence[r](n,n.t):this.effectsSequence[r](this.currentData,n.t);t!==n&&this.setCurrentData(n),this.v=this.currentData,this.pv=this.v,this.lock=!1,this.frameId=this.elem.globalData.frameId}}},TextProperty.prototype.getKeyframeValue=function(){for(var e=this.data.d.k,t=this.elem.comp.renderedFrame,i=0,r=e.length;i<=r-1&&!(i===r-1||e[i+1].t>t);)i+=1;return this.keysIndex!==i&&(this.keysIndex=i),this.data.d.k[this.keysIndex].s},TextProperty.prototype.buildFinalText=function(e){for(var t,i,r=[],s=0,n=e.length,a=!1;s<n;)t=e.charCodeAt(s),FontManager.isCombinedCharacter(t)?r[r.length-1]+=e.charAt(s):t>=55296&&t<=56319?(i=e.charCodeAt(s+1))>=56320&&i<=57343?(a||FontManager.isModifier(t,i)?(r[r.length-1]+=e.substr(s,2),a=!1):r.push(e.substr(s,2)),s+=1):r.push(e.charAt(s)):t>56319?(i=e.charCodeAt(s+1),FontManager.isZeroWidthJoiner(t,i)?(a=!0,r[r.length-1]+=e.substr(s,2),s+=1):r.push(e.charAt(s))):FontManager.isZeroWidthJoiner(t)?(r[r.length-1]+=e.charAt(s),a=!0):r.push(e.charAt(s)),s+=1;return r},TextProperty.prototype.completeTextData=function(e){e.__complete=!0;var t,i,r,s,n,a,o,l=this.elem.globalData.fontManager,h=this.data,u=[],c=0,d=h.m.g,p=0,f=0,m=0,g=[],y=0,v=0,b=l.getFontByName(e.f),C=0,x=getFontProperties(b);e.fWeight=x.weight,e.fStyle=x.style,e.finalSize=e.s,e.finalText=this.buildFinalText(e.t),i=e.finalText.length,e.finalLineHeight=e.lh;var S,_=e.tr/1e3*e.finalSize;if(e.sz)for(var T,P,w=!0,k=e.sz[0],E=e.sz[1];w;){T=0,y=0,i=(P=this.buildFinalText(e.t)).length,_=e.tr/1e3*e.finalSize;var A=-1;for(t=0;t<i;t+=1)S=P[t].charCodeAt(0),r=!1," "===P[t]?A=t:13!==S&&3!==S||(y=0,r=!0,T+=e.finalLineHeight||1.2*e.finalSize),l.chars?(o=l.getCharData(P[t],b.fStyle,b.fFamily),C=r?0:o.w*e.finalSize/100):C=l.measureText(P[t],e.f,e.finalSize),y+C>k&&" "!==P[t]?(-1===A?i+=1:t=A,T+=e.finalLineHeight||1.2*e.finalSize,P.splice(t,A===t?1:0,"\r"),A=-1,y=0):(y+=C,y+=_);T+=b.ascent*e.finalSize/100,this.canResize&&e.finalSize>this.minimumFontSize&&E<T?(e.finalSize-=1,e.finalLineHeight=e.finalSize*e.lh/e.s):(e.finalText=P,i=e.finalText.length,w=!1)}y=-_,C=0;var F,D=0;for(t=0;t<i;t+=1)if(r=!1,13===(S=(F=e.finalText[t]).charCodeAt(0))||3===S?(D=0,g.push(y),v=y>v?y:v,y=-2*_,s="",r=!0,m+=1):s=F,l.chars?(o=l.getCharData(F,b.fStyle,l.getFontByName(e.f).fFamily),C=r?0:o.w*e.finalSize/100):C=l.measureText(s,e.f,e.finalSize)," "===F?D+=C+_:(y+=C+_+D,D=0),u.push({l:C,an:C,add:p,n:r,anIndexes:[],val:s,line:m,animatorJustifyOffset:0}),2==d){if(p+=C,""===s||" "===s||t===i-1){for(""!==s&&" "!==s||(p-=C);f<=t;)u[f].an=p,u[f].ind=c,u[f].extra=C,f+=1;c+=1,p=0}}else if(3==d){if(p+=C,""===s||t===i-1){for(""===s&&(p-=C);f<=t;)u[f].an=p,u[f].ind=c,u[f].extra=C,f+=1;p=0,c+=1}}else u[c].ind=c,u[c].extra=0,c+=1;if(e.l=u,v=y>v?y:v,g.push(y),e.sz)e.boxWidth=e.sz[0],e.justifyOffset=0;else switch(e.boxWidth=v,e.j){case 1:e.justifyOffset=-e.boxWidth;break;case 2:e.justifyOffset=-e.boxWidth/2;break;default:e.justifyOffset=0}e.lineWidths=g;var M,I,R,U,O=h.a;a=O.length;var B=[];for(n=0;n<a;n+=1){for((M=O[n]).a.sc&&(e.strokeColorAnim=!0),M.a.sw&&(e.strokeWidthAnim=!0),(M.a.fc||M.a.fh||M.a.fs||M.a.fb)&&(e.fillColorAnim=!0),U=0,R=M.s.b,t=0;t<i;t+=1)(I=u[t]).anIndexes[n]=U,(1==R&&""!==I.val||2==R&&""!==I.val&&" "!==I.val||3==R&&(I.n||" "==I.val||t==i-1)||4==R&&(I.n||t==i-1))&&(1===M.s.rn&&B.push(U),U+=1);h.a[n].s.totalChars=U;var L,N=-1;if(1===M.s.rn)for(t=0;t<i;t+=1)N!=(I=u[t]).anIndexes[n]&&(N=I.anIndexes[n],L=B.splice(Math.floor(Math.random()*B.length),1)[0]),I.anIndexes[n]=L}e.yOffset=e.finalLineHeight||1.2*e.finalSize,e.ls=e.ls||0,e.ascent=b.ascent*e.finalSize/100},TextProperty.prototype.updateDocumentData=function(e,t){t=void 0===t?this.keysIndex:t;var i=this.copyData({},this.data.d.k[t].s);i=this.copyData(i,e),this.data.d.k[t].s=i,this.recalculate(t),this.elem.addDynamicProperty(this)},TextProperty.prototype.recalculate=function(e){var t=this.data.d.k[e].s;t.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(t)},TextProperty.prototype.canResizeFont=function(e){this.canResize=e,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)},TextProperty.prototype.setMinimumFontSize=function(e){this.minimumFontSize=Math.floor(e)||1,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)};var TextSelectorProp=function(){var e=Math.max,t=Math.min,i=Math.floor;function r(e,t){this._currentTextLength=-1,this.k=!1,this.data=t,this.elem=e,this.comp=e.comp,this.finalS=0,this.finalE=0,this.initDynamicPropertyContainer(e),this.s=PropertyFactory.getProp(e,t.s||{k:0},0,0,this),this.e="e"in t?PropertyFactory.getProp(e,t.e,0,0,this):{v:100},this.o=PropertyFactory.getProp(e,t.o||{k:0},0,0,this),this.xe=PropertyFactory.getProp(e,t.xe||{k:0},0,0,this),this.ne=PropertyFactory.getProp(e,t.ne||{k:0},0,0,this),this.sm=PropertyFactory.getProp(e,t.sm||{k:100},0,0,this),this.a=PropertyFactory.getProp(e,t.a,0,.01,this),this.dynamicProperties.length||this.getValue()}return r.prototype={getMult:function(r){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var s=0,n=0,a=1,o=1;this.ne.v>0?s=this.ne.v/100:n=-this.ne.v/100,this.xe.v>0?a=1-this.xe.v/100:o=1+this.xe.v/100;var l=BezierFactory.getBezierEasing(s,n,a,o).get,h=0,u=this.finalS,c=this.finalE,d=this.data.sh;if(2===d)h=l(h=c===u?r>=c?1:0:e(0,t(.5/(c-u)+(r-u)/(c-u),1)));else if(3===d)h=l(h=c===u?r>=c?0:1:1-e(0,t(.5/(c-u)+(r-u)/(c-u),1)));else if(4===d)c===u?h=0:(h=e(0,t(.5/(c-u)+(r-u)/(c-u),1)))<.5?h*=2:h=1-2*(h-.5),h=l(h);else if(5===d){if(c===u)h=0;else{var p=c-u,f=-p/2+(r=t(e(0,r+.5-u),c-u)),m=p/2;h=Math.sqrt(1-f*f/(m*m))}h=l(h)}else 6===d?(c===u?h=0:(r=t(e(0,r+.5-u),c-u),h=(1+Math.cos(Math.PI+2*Math.PI*r/(c-u)))/2),h=l(h)):(r>=i(u)&&(h=e(0,t(r-u<0?t(c,1)-(u-r):c-r,1))),h=l(h));if(100!==this.sm.v){var g=.01*this.sm.v;0===g&&(g=1e-8);var y=.5-.5*g;h<y?h=0:(h=(h-y)/g)>1&&(h=1)}return h*this.a.v},getValue:function(e){this.iterateDynamicProperties(),this._mdf=e||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,e&&2===this.data.r&&(this.e.v=this._currentTextLength);var t=2===this.data.r?1:100/this.data.totalChars,i=this.o.v/t,r=this.s.v/t+i,s=this.e.v/t+i;if(r>s){var n=r;r=s,s=n}this.finalS=r,this.finalE=s}},extendPrototype([DynamicPropertyContainer],r),{getTextSelectorProp:function(e,t,i){return new r(e,t,i)}}}();function TextAnimatorDataProperty(e,t,i){var r={propType:!1},s=PropertyFactory.getProp,n=t.a;this.a={r:n.r?s(e,n.r,0,degToRads,i):r,rx:n.rx?s(e,n.rx,0,degToRads,i):r,ry:n.ry?s(e,n.ry,0,degToRads,i):r,sk:n.sk?s(e,n.sk,0,degToRads,i):r,sa:n.sa?s(e,n.sa,0,degToRads,i):r,s:n.s?s(e,n.s,1,.01,i):r,a:n.a?s(e,n.a,1,0,i):r,o:n.o?s(e,n.o,0,.01,i):r,p:n.p?s(e,n.p,1,0,i):r,sw:n.sw?s(e,n.sw,0,0,i):r,sc:n.sc?s(e,n.sc,1,0,i):r,fc:n.fc?s(e,n.fc,1,0,i):r,fh:n.fh?s(e,n.fh,0,0,i):r,fs:n.fs?s(e,n.fs,0,.01,i):r,fb:n.fb?s(e,n.fb,0,.01,i):r,t:n.t?s(e,n.t,0,0,i):r},this.s=TextSelectorProp.getTextSelectorProp(e,t.s,i),this.s.t=t.s.t}function TextAnimatorProperty(e,t,i){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=e,this._renderType=t,this._elem=i,this._animatorsData=createSizedArray(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(i)}function ITextElement(){}TextAnimatorProperty.prototype.searchProperties=function(){var e,t,i=this._textData.a.length,r=PropertyFactory.getProp;for(e=0;e<i;e+=1)t=this._textData.a[e],this._animatorsData[e]=new TextAnimatorDataProperty(this._elem,t,this);this._textData.p&&"m"in this._textData.p?(this._pathData={a:r(this._elem,this._textData.p.a,0,0,this),f:r(this._elem,this._textData.p.f,0,0,this),l:r(this._elem,this._textData.p.l,0,0,this),r:r(this._elem,this._textData.p.r,0,0,this),p:r(this._elem,this._textData.p.p,0,0,this),m:this._elem.maskManager.getMaskProperty(this._textData.p.m)},this._hasMaskedPath=!0):this._hasMaskedPath=!1,this._moreOptions.alignment=r(this._elem,this._textData.m.a,1,0,this)},TextAnimatorProperty.prototype.getMeasures=function(e,t){if(this.lettersChangedFlag=t,this._mdf||this._isFirstFrame||t||this._hasMaskedPath&&this._pathData.m._mdf){this._isFirstFrame=!1;var i,r,s,n,a,o,l,h,u,c,d,p,f,m,g,y,v,b,C,x=this._moreOptions.alignment.v,S=this._animatorsData,_=this._textData,T=this.mHelper,P=this._renderType,w=this.renderedLetters.length,k=e.l;if(this._hasMaskedPath){if(C=this._pathData.m,!this._pathData.n||this._pathData._mdf){var E,A=C.v;for(this._pathData.r.v&&(A=A.reverse()),a={tLength:0,segments:[]},n=A._length-1,y=0,s=0;s<n;s+=1)E=bez.buildBezierData(A.v[s],A.v[s+1],[A.o[s][0]-A.v[s][0],A.o[s][1]-A.v[s][1]],[A.i[s+1][0]-A.v[s+1][0],A.i[s+1][1]-A.v[s+1][1]]),a.tLength+=E.segmentLength,a.segments.push(E),y+=E.segmentLength;s=n,C.v.c&&(E=bez.buildBezierData(A.v[s],A.v[0],[A.o[s][0]-A.v[s][0],A.o[s][1]-A.v[s][1]],[A.i[0][0]-A.v[0][0],A.i[0][1]-A.v[0][1]]),a.tLength+=E.segmentLength,a.segments.push(E),y+=E.segmentLength),this._pathData.pi=a}if(a=this._pathData.pi,o=this._pathData.f.v,d=0,c=1,h=0,u=!0,m=a.segments,o<0&&C.v.c)for(a.tLength<Math.abs(o)&&(o=-Math.abs(o)%a.tLength),c=(f=m[d=m.length-1].points).length-1;o<0;)o+=f[c].partialLength,(c-=1)<0&&(c=(f=m[d-=1].points).length-1);p=(f=m[d].points)[c-1],g=(l=f[c]).partialLength}n=k.length,i=0,r=0;var F,D,M,I,R,U=1.2*e.finalSize*.714,O=!0;M=S.length;var B,L,N,V,$,H,G,j,z,W,q,Y,X=-1,Z=o,K=d,J=c,Q=-1,ee="",te=this.defaultPropsArray;if(2===e.j||1===e.j){var ie=0,re=0,se=2===e.j?-.5:-1,ne=0,ae=!0;for(s=0;s<n;s+=1)if(k[s].n){for(ie&&(ie+=re);ne<s;)k[ne].animatorJustifyOffset=ie,ne+=1;ie=0,ae=!0}else{for(D=0;D<M;D+=1)(F=S[D].a).t.propType&&(ae&&2===e.j&&(re+=F.t.v*se),(R=S[D].s.getMult(k[s].anIndexes[D],_.a[D].s.totalChars)).length?ie+=F.t.v*R[0]*se:ie+=F.t.v*R*se);ae=!1}for(ie&&(ie+=re);ne<s;)k[ne].animatorJustifyOffset=ie,ne+=1}for(s=0;s<n;s+=1){if(T.reset(),V=1,k[s].n)i=0,r+=e.yOffset,r+=O?1:0,o=Z,O=!1,this._hasMaskedPath&&(c=J,p=(f=m[d=K].points)[c-1],g=(l=f[c]).partialLength,h=0),ee="",q="",z="",Y="",te=this.defaultPropsArray;else{if(this._hasMaskedPath){if(Q!==k[s].line){switch(e.j){case 1:o+=y-e.lineWidths[k[s].line];break;case 2:o+=(y-e.lineWidths[k[s].line])/2}Q=k[s].line}X!==k[s].ind&&(k[X]&&(o+=k[X].extra),o+=k[s].an/2,X=k[s].ind),o+=x[0]*k[s].an*.005;var oe=0;for(D=0;D<M;D+=1)(F=S[D].a).p.propType&&((R=S[D].s.getMult(k[s].anIndexes[D],_.a[D].s.totalChars)).length?oe+=F.p.v[0]*R[0]:oe+=F.p.v[0]*R),F.a.propType&&((R=S[D].s.getMult(k[s].anIndexes[D],_.a[D].s.totalChars)).length?oe+=F.a.v[0]*R[0]:oe+=F.a.v[0]*R);for(u=!0,this._pathData.a.v&&(o=.5*k[0].an+(y-this._pathData.f.v-.5*k[0].an-.5*k[k.length-1].an)*X/(n-1),o+=this._pathData.f.v);u;)h+g>=o+oe||!f?(v=(o+oe-h)/l.partialLength,L=p.point[0]+(l.point[0]-p.point[0])*v,N=p.point[1]+(l.point[1]-p.point[1])*v,T.translate(-x[0]*k[s].an*.005,-x[1]*U*.01),u=!1):f&&(h+=l.partialLength,(c+=1)>=f.length&&(c=0,m[d+=1]?f=m[d].points:C.v.c?(c=0,f=m[d=0].points):(h-=l.partialLength,f=null)),f&&(p=l,g=(l=f[c]).partialLength));B=k[s].an/2-k[s].add,T.translate(-B,0,0)}else B=k[s].an/2-k[s].add,T.translate(-B,0,0),T.translate(-x[0]*k[s].an*.005,-x[1]*U*.01,0);for(D=0;D<M;D+=1)(F=S[D].a).t.propType&&(R=S[D].s.getMult(k[s].anIndexes[D],_.a[D].s.totalChars),0===i&&0===e.j||(this._hasMaskedPath?R.length?o+=F.t.v*R[0]:o+=F.t.v*R:R.length?i+=F.t.v*R[0]:i+=F.t.v*R));for(e.strokeWidthAnim&&(H=e.sw||0),e.strokeColorAnim&&($=e.sc?[e.sc[0],e.sc[1],e.sc[2]]:[0,0,0]),e.fillColorAnim&&e.fc&&(G=[e.fc[0],e.fc[1],e.fc[2]]),D=0;D<M;D+=1)(F=S[D].a).a.propType&&((R=S[D].s.getMult(k[s].anIndexes[D],_.a[D].s.totalChars)).length?T.translate(-F.a.v[0]*R[0],-F.a.v[1]*R[1],F.a.v[2]*R[2]):T.translate(-F.a.v[0]*R,-F.a.v[1]*R,F.a.v[2]*R));for(D=0;D<M;D+=1)(F=S[D].a).s.propType&&((R=S[D].s.getMult(k[s].anIndexes[D],_.a[D].s.totalChars)).length?T.scale(1+(F.s.v[0]-1)*R[0],1+(F.s.v[1]-1)*R[1],1):T.scale(1+(F.s.v[0]-1)*R,1+(F.s.v[1]-1)*R,1));for(D=0;D<M;D+=1){if(F=S[D].a,R=S[D].s.getMult(k[s].anIndexes[D],_.a[D].s.totalChars),F.sk.propType&&(R.length?T.skewFromAxis(-F.sk.v*R[0],F.sa.v*R[1]):T.skewFromAxis(-F.sk.v*R,F.sa.v*R)),F.r.propType&&(R.length?T.rotateZ(-F.r.v*R[2]):T.rotateZ(-F.r.v*R)),F.ry.propType&&(R.length?T.rotateY(F.ry.v*R[1]):T.rotateY(F.ry.v*R)),F.rx.propType&&(R.length?T.rotateX(F.rx.v*R[0]):T.rotateX(F.rx.v*R)),F.o.propType&&(R.length?V+=(F.o.v*R[0]-V)*R[0]:V+=(F.o.v*R-V)*R),e.strokeWidthAnim&&F.sw.propType&&(R.length?H+=F.sw.v*R[0]:H+=F.sw.v*R),e.strokeColorAnim&&F.sc.propType)for(j=0;j<3;j+=1)R.length?$[j]+=(F.sc.v[j]-$[j])*R[0]:$[j]+=(F.sc.v[j]-$[j])*R;if(e.fillColorAnim&&e.fc){if(F.fc.propType)for(j=0;j<3;j+=1)R.length?G[j]+=(F.fc.v[j]-G[j])*R[0]:G[j]+=(F.fc.v[j]-G[j])*R;F.fh.propType&&(G=R.length?addHueToRGB(G,F.fh.v*R[0]):addHueToRGB(G,F.fh.v*R)),F.fs.propType&&(G=R.length?addSaturationToRGB(G,F.fs.v*R[0]):addSaturationToRGB(G,F.fs.v*R)),F.fb.propType&&(G=R.length?addBrightnessToRGB(G,F.fb.v*R[0]):addBrightnessToRGB(G,F.fb.v*R))}}for(D=0;D<M;D+=1)(F=S[D].a).p.propType&&(R=S[D].s.getMult(k[s].anIndexes[D],_.a[D].s.totalChars),this._hasMaskedPath?R.length?T.translate(0,F.p.v[1]*R[0],-F.p.v[2]*R[1]):T.translate(0,F.p.v[1]*R,-F.p.v[2]*R):R.length?T.translate(F.p.v[0]*R[0],F.p.v[1]*R[1],-F.p.v[2]*R[2]):T.translate(F.p.v[0]*R,F.p.v[1]*R,-F.p.v[2]*R));if(e.strokeWidthAnim&&(z=H<0?0:H),e.strokeColorAnim&&(W="rgb("+Math.round(255*$[0])+","+Math.round(255*$[1])+","+Math.round(255*$[2])+")"),e.fillColorAnim&&e.fc&&(q="rgb("+Math.round(255*G[0])+","+Math.round(255*G[1])+","+Math.round(255*G[2])+")"),this._hasMaskedPath){if(T.translate(0,-e.ls),T.translate(0,x[1]*U*.01+r,0),this._pathData.p.v){b=(l.point[1]-p.point[1])/(l.point[0]-p.point[0]);var le=180*Math.atan(b)/Math.PI;l.point[0]<p.point[0]&&(le+=180),T.rotate(-le*Math.PI/180)}T.translate(L,N,0),o-=x[0]*k[s].an*.005,k[s+1]&&X!==k[s+1].ind&&(o+=k[s].an/2,o+=.001*e.tr*e.finalSize)}else{switch(T.translate(i,r,0),e.ps&&T.translate(e.ps[0],e.ps[1]+e.ascent,0),e.j){case 1:T.translate(k[s].animatorJustifyOffset+e.justifyOffset+(e.boxWidth-e.lineWidths[k[s].line]),0,0);break;case 2:T.translate(k[s].animatorJustifyOffset+e.justifyOffset+(e.boxWidth-e.lineWidths[k[s].line])/2,0,0)}T.translate(0,-e.ls),T.translate(B,0,0),T.translate(x[0]*k[s].an*.005,x[1]*U*.01,0),i+=k[s].l+.001*e.tr*e.finalSize}"html"===P?ee=T.toCSS():"svg"===P?ee=T.to2dCSS():te=[T.props[0],T.props[1],T.props[2],T.props[3],T.props[4],T.props[5],T.props[6],T.props[7],T.props[8],T.props[9],T.props[10],T.props[11],T.props[12],T.props[13],T.props[14],T.props[15]],Y=V}w<=s?(I=new LetterProps(Y,z,W,q,ee,te),this.renderedLetters.push(I),w+=1,this.lettersChangedFlag=!0):(I=this.renderedLetters[s],this.lettersChangedFlag=I.update(Y,z,W,q,ee,te)||this.lettersChangedFlag)}}},TextAnimatorProperty.prototype.getValue=function(){this._elem.globalData.frameId!==this._frameId&&(this._frameId=this._elem.globalData.frameId,this.iterateDynamicProperties())},TextAnimatorProperty.prototype.mHelper=new Matrix,TextAnimatorProperty.prototype.defaultPropsArray=[],extendPrototype([DynamicPropertyContainer],TextAnimatorProperty),ITextElement.prototype.initElement=function(e,t,i){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(e,t,i),this.textProperty=new TextProperty(this,e.t,this.dynamicProperties),this.textAnimator=new TextAnimatorProperty(e.t,this.renderType,this),this.initTransform(e,t,i),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide(),this.textAnimator.searchProperties(this.dynamicProperties)},ITextElement.prototype.prepareFrame=function(e){this._mdf=!1,this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange),(this.textProperty._mdf||this.textProperty._isFirstFrame)&&(this.buildNewText(),this.textProperty._isFirstFrame=!1,this.textProperty._mdf=!1)},ITextElement.prototype.createPathShape=function(e,t){var i,r,s=t.length,n="";for(i=0;i<s;i+=1)"sh"===t[i].ty&&(r=t[i].ks.k,n+=buildShapeString(r,r.i.length,!0,e));return n},ITextElement.prototype.updateDocumentData=function(e,t){this.textProperty.updateDocumentData(e,t)},ITextElement.prototype.canResizeFont=function(e){this.textProperty.canResizeFont(e)},ITextElement.prototype.setMinimumFontSize=function(e){this.textProperty.setMinimumFontSize(e)},ITextElement.prototype.applyTextPropertiesToMatrix=function(e,t,i,r,s){switch(e.ps&&t.translate(e.ps[0],e.ps[1]+e.ascent,0),t.translate(0,-e.ls,0),e.j){case 1:t.translate(e.justifyOffset+(e.boxWidth-e.lineWidths[i]),0,0);break;case 2:t.translate(e.justifyOffset+(e.boxWidth-e.lineWidths[i])/2,0,0)}t.translate(r,s,0)},ITextElement.prototype.buildColor=function(e){return"rgb("+Math.round(255*e[0])+","+Math.round(255*e[1])+","+Math.round(255*e[2])+")"},ITextElement.prototype.emptyProp=new LetterProps,ITextElement.prototype.destroy=function(){};var emptyShapeData={shapes:[]};function SVGTextLottieElement(e,t,i){this.textSpans=[],this.renderType="svg",this.initElement(e,t,i)}function ISolidElement(e,t,i){this.initElement(e,t,i)}function NullElement(e,t,i){this.initFrame(),this.initBaseData(e,t,i),this.initFrame(),this.initTransform(e,t,i),this.initHierarchy()}function SVGRendererBase(){}function ICompElement(){}function SVGCompElement(e,t,i){this.layers=e.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(e,t,i),this.tm=e.tm?PropertyFactory.getProp(this,e.tm,0,t.frameRate,this):{_placeholder:!0}}function SVGRenderer(e,t){this.animationItem=e,this.layers=null,this.renderedFrame=-1,this.svgElement=createNS("svg");var i="";if(t&&t.title){var r=createNS("title"),s=createElementID();r.setAttribute("id",s),r.textContent=t.title,this.svgElement.appendChild(r),i+=s}if(t&&t.description){var n=createNS("desc"),a=createElementID();n.setAttribute("id",a),n.textContent=t.description,this.svgElement.appendChild(n),i+=" "+a}i&&this.svgElement.setAttribute("aria-labelledby",i);var o=createNS("defs");this.svgElement.appendChild(o);var l=createNS("g");this.svgElement.appendChild(l),this.layerElement=l,this.renderConfig={preserveAspectRatio:t&&t.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:t&&t.contentVisibility||"visible",progressiveLoad:t&&t.progressiveLoad||!1,hideOnTransparent:!(t&&!1===t.hideOnTransparent),viewBoxOnly:t&&t.viewBoxOnly||!1,viewBoxSize:t&&t.viewBoxSize||!1,className:t&&t.className||"",id:t&&t.id||"",focusable:t&&t.focusable,filterSize:{width:t&&t.filterSize&&t.filterSize.width||"100%",height:t&&t.filterSize&&t.filterSize.height||"100%",x:t&&t.filterSize&&t.filterSize.x||"0%",y:t&&t.filterSize&&t.filterSize.y||"0%"}},this.globalData={_mdf:!1,frameNum:-1,defs:o,renderConfig:this.renderConfig},this.elements=[],this.pendingElements=[],this.destroyed=!1,this.rendererType="svg"}function CVContextData(){var e;this.saved=[],this.cArrPos=0,this.cTr=new Matrix,this.cO=1;for(this.savedOp=createTypedArray("float32",15),e=0;e<15;e+=1)this.saved[e]=createTypedArray("float32",16);this._length=15}function ShapeTransformManager(){this.sequences={},this.sequenceList=[],this.transform_key_count=0}function CVEffects(){}function CVMaskElement(e,t){var i;this.data=e,this.element=t,this.masksProperties=this.data.masksProperties||[],this.viewData=createSizedArray(this.masksProperties.length);var r=this.masksProperties.length,s=!1;for(i=0;i<r;i+=1)"n"!==this.masksProperties[i].mode&&(s=!0),this.viewData[i]=ShapePropertyFactory.getShapeProp(this.element,this.masksProperties[i],3);this.hasMasks=s,s&&this.element.addRenderableComponent(this)}function CVBaseElement(){}function CVShapeData(e,t,i,r){this.styledShapes=[],this.tr=[0,0,0,0,0,0];var s,n=4;"rc"===t.ty?n=5:"el"===t.ty?n=6:"sr"===t.ty&&(n=7),this.sh=ShapePropertyFactory.getShapeProp(e,t,n,e);var a,o=i.length;for(s=0;s<o;s+=1)i[s].closed||(a={transforms:r.addTransformSequence(i[s].transforms),trNodes:[]},this.styledShapes.push(a),i[s].elements.push(a))}function CVShapeElement(e,t,i){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.itemsData=[],this.prevViewData=[],this.shapeModifiers=[],this.processedElements=[],this.transformsManager=new ShapeTransformManager,this.initElement(e,t,i)}function CVTextElement(e,t,i){this.textSpans=[],this.yOffset=0,this.fillColorAnim=!1,this.strokeColorAnim=!1,this.strokeWidthAnim=!1,this.stroke=!1,this.fill=!1,this.justifyOffset=0,this.currentRender=null,this.renderType="canvas",this.values={fill:"rgba(0,0,0,0)",stroke:"rgba(0,0,0,0)",sWidth:0,fValue:""},this.initElement(e,t,i)}function CVImageElement(e,t,i){this.assetData=t.getAssetData(e.refId),this.img=t.imageLoader.getAsset(this.assetData),this.initElement(e,t,i)}function CVSolidElement(e,t,i){this.initElement(e,t,i)}function CanvasRendererBase(e,t){this.animationItem=e,this.renderConfig={clearCanvas:!t||void 0===t.clearCanvas||t.clearCanvas,context:t&&t.context||null,progressiveLoad:t&&t.progressiveLoad||!1,preserveAspectRatio:t&&t.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:t&&t.contentVisibility||"visible",className:t&&t.className||"",id:t&&t.id||""},this.renderConfig.dpr=t&&t.dpr||1,this.animationItem.wrapper&&(this.renderConfig.dpr=t&&t.dpr||window.devicePixelRatio||1),this.renderedFrame=-1,this.globalData={frameNum:-1,_mdf:!1,renderConfig:this.renderConfig,currentGlobalAlpha:-1},this.contextData=new CVContextData,this.elements=[],this.pendingElements=[],this.transformMat=new Matrix,this.completeLayers=!1,this.rendererType="canvas"}function CVCompElement(e,t,i){this.completeLayers=!1,this.layers=e.layers,this.pendingElements=[],this.elements=createSizedArray(this.layers.length),this.initElement(e,t,i),this.tm=e.tm?PropertyFactory.getProp(this,e.tm,0,t.frameRate,this):{_placeholder:!0}}function CanvasRenderer(e,t){this.animationItem=e,this.renderConfig={clearCanvas:!t||void 0===t.clearCanvas||t.clearCanvas,context:t&&t.context||null,progressiveLoad:t&&t.progressiveLoad||!1,preserveAspectRatio:t&&t.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:t&&t.contentVisibility||"visible",className:t&&t.className||"",id:t&&t.id||""},this.renderConfig.dpr=t&&t.dpr||1,this.animationItem.wrapper&&(this.renderConfig.dpr=t&&t.dpr||window.devicePixelRatio||1),this.renderedFrame=-1,this.globalData={frameNum:-1,_mdf:!1,renderConfig:this.renderConfig,currentGlobalAlpha:-1},this.contextData=new CVContextData,this.elements=[],this.pendingElements=[],this.transformMat=new Matrix,this.completeLayers=!1,this.rendererType="canvas"}function HBaseElement(){}function HSolidElement(e,t,i){this.initElement(e,t,i)}function HShapeElement(e,t,i){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.shapesContainer=createNS("g"),this.initElement(e,t,i),this.prevViewData=[],this.currentBBox={x:999999,y:-999999,h:0,w:0}}function HTextElement(e,t,i){this.textSpans=[],this.textPaths=[],this.currentBBox={x:999999,y:-999999,h:0,w:0},this.renderType="svg",this.isMasked=!1,this.initElement(e,t,i)}function HCameraElement(e,t,i){this.initFrame(),this.initBaseData(e,t,i),this.initHierarchy();var r=PropertyFactory.getProp;if(this.pe=r(this,e.pe,0,0,this),e.ks.p.s?(this.px=r(this,e.ks.p.x,1,0,this),this.py=r(this,e.ks.p.y,1,0,this),this.pz=r(this,e.ks.p.z,1,0,this)):this.p=r(this,e.ks.p,1,0,this),e.ks.a&&(this.a=r(this,e.ks.a,1,0,this)),e.ks.or.k.length&&e.ks.or.k[0].to){var s,n=e.ks.or.k.length;for(s=0;s<n;s+=1)e.ks.or.k[s].to=null,e.ks.or.k[s].ti=null}this.or=r(this,e.ks.or,1,degToRads,this),this.or.sh=!0,this.rx=r(this,e.ks.rx,0,degToRads,this),this.ry=r(this,e.ks.ry,0,degToRads,this),this.rz=r(this,e.ks.rz,0,degToRads,this),this.mat=new Matrix,this._prevMat=new Matrix,this._isFirstFrame=!0,this.finalTransform={mProp:this}}function HImageElement(e,t,i){this.assetData=t.getAssetData(e.refId),this.initElement(e,t,i)}function HybridRendererBase(e,t){this.animationItem=e,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:t&&t.className||"",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!(t&&!1===t.hideOnTransparent),filterSize:{width:t&&t.filterSize&&t.filterSize.width||"400%",height:t&&t.filterSize&&t.filterSize.height||"400%",x:t&&t.filterSize&&t.filterSize.x||"-100%",y:t&&t.filterSize&&t.filterSize.y||"-100%"}},this.globalData={_mdf:!1,frameNum:-1,renderConfig:this.renderConfig},this.pendingElements=[],this.elements=[],this.threeDElements=[],this.destroyed=!1,this.camera=null,this.supports3d=!0,this.rendererType="html"}function HCompElement(e,t,i){this.layers=e.layers,this.supports3d=!e.hasMask,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(e,t,i),this.tm=e.tm?PropertyFactory.getProp(this,e.tm,0,t.frameRate,this):{_placeholder:!0}}function HybridRenderer(e,t){this.animationItem=e,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:t&&t.className||"",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!(t&&!1===t.hideOnTransparent),filterSize:{width:t&&t.filterSize&&t.filterSize.width||"400%",height:t&&t.filterSize&&t.filterSize.height||"400%",x:t&&t.filterSize&&t.filterSize.x||"-100%",y:t&&t.filterSize&&t.filterSize.y||"-100%"}},this.globalData={_mdf:!1,frameNum:-1,renderConfig:this.renderConfig},this.pendingElements=[],this.elements=[],this.threeDElements=[],this.destroyed=!1,this.camera=null,this.supports3d=!0,this.rendererType="html"}extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],SVGTextLottieElement),SVGTextLottieElement.prototype.createContent=function(){this.data.singleShape&&!this.globalData.fontManager.chars&&(this.textContainer=createNS("text"))},SVGTextLottieElement.prototype.buildTextContents=function(e){for(var t=0,i=e.length,r=[],s="";t<i;)e[t]===String.fromCharCode(13)||e[t]===String.fromCharCode(3)?(r.push(s),s=""):s+=e[t],t+=1;return r.push(s),r},SVGTextLottieElement.prototype.buildNewText=function(){var e,t;this.addDynamicProperty(this);var i=this.textProperty.currentData;this.renderedLetters=createSizedArray(i?i.l.length:0),i.fc?this.layerElement.setAttribute("fill",this.buildColor(i.fc)):this.layerElement.setAttribute("fill","rgba(0,0,0,0)"),i.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(i.sc)),this.layerElement.setAttribute("stroke-width",i.sw)),this.layerElement.setAttribute("font-size",i.finalSize);var r=this.globalData.fontManager.getFontByName(i.f);if(r.fClass)this.layerElement.setAttribute("class",r.fClass);else{this.layerElement.setAttribute("font-family",r.fFamily);var s=i.fWeight,n=i.fStyle;this.layerElement.setAttribute("font-style",n),this.layerElement.setAttribute("font-weight",s)}this.layerElement.setAttribute("aria-label",i.t);var a,o=i.l||[],l=!!this.globalData.fontManager.chars;t=o.length;var h=this.mHelper,u=this.data.singleShape,c=0,d=0,p=!0,f=.001*i.tr*i.finalSize;if(!u||l||i.sz){var m,g=this.textSpans.length;for(e=0;e<t;e+=1){if(this.textSpans[e]||(this.textSpans[e]={span:null,childSpan:null,glyph:null}),!l||!u||0===e){if(a=g>e?this.textSpans[e].span:createNS(l?"g":"text"),g<=e){if(a.setAttribute("stroke-linecap","butt"),a.setAttribute("stroke-linejoin","round"),a.setAttribute("stroke-miterlimit","4"),this.textSpans[e].span=a,l){var y=createNS("g");a.appendChild(y),this.textSpans[e].childSpan=y}this.textSpans[e].span=a,this.layerElement.appendChild(a)}a.style.display="inherit"}if(h.reset(),h.scale(i.finalSize/100,i.finalSize/100),u&&(o[e].n&&(c=-f,d+=i.yOffset,d+=p?1:0,p=!1),this.applyTextPropertiesToMatrix(i,h,o[e].line,c,d),c+=o[e].l||0,c+=f),l){var v;if(1===(m=this.globalData.fontManager.getCharData(i.finalText[e],r.fStyle,this.globalData.fontManager.getFontByName(i.f).fFamily)).t)v=new SVGCompElement(m.data,this.globalData,this);else{var b=emptyShapeData;m.data&&m.data.shapes&&(b=m.data),v=new SVGShapeElement(b,this.globalData,this)}this.textSpans[e].glyph=v,v._debug=!0,v.prepareFrame(0),v.renderFrame(),this.textSpans[e].childSpan.appendChild(v.layerElement),this.textSpans[e].childSpan.setAttribute("transform","scale("+i.finalSize/100+","+i.finalSize/100+")")}else u&&a.setAttribute("transform","translate("+h.props[12]+","+h.props[13]+")"),a.textContent=o[e].val,a.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}u&&a&&a.setAttribute("d","")}else{var C=this.textContainer,x="start";switch(i.j){case 1:x="end";break;case 2:x="middle";break;default:x="start"}C.setAttribute("text-anchor",x),C.setAttribute("letter-spacing",f);var S=this.buildTextContents(i.finalText);for(t=S.length,d=i.ps?i.ps[1]+i.ascent:0,e=0;e<t;e+=1)(a=this.textSpans[e].span||createNS("tspan")).textContent=S[e],a.setAttribute("x",0),a.setAttribute("y",d),a.style.display="inherit",C.appendChild(a),this.textSpans[e]||(this.textSpans[e]={span:null,glyph:null}),this.textSpans[e].span=a,d+=i.finalLineHeight;this.layerElement.appendChild(C)}for(;e<this.textSpans.length;)this.textSpans[e].span.style.display="none",e+=1;this._sizeChanged=!0},SVGTextLottieElement.prototype.sourceRectAtTime=function(){if(this.prepareFrame(this.comp.renderedFrame-this.data.st),this.renderInnerContent(),this._sizeChanged){this._sizeChanged=!1;var e=this.layerElement.getBBox();this.bbox={top:e.y,left:e.x,width:e.width,height:e.height}}return this.bbox},SVGTextLottieElement.prototype.getValue=function(){var e,t,i=this.textSpans.length;for(this.renderedFrame=this.comp.renderedFrame,e=0;e<i;e+=1)(t=this.textSpans[e].glyph)&&(t.prepareFrame(this.comp.renderedFrame-this.data.st),t._mdf&&(this._mdf=!0))},SVGTextLottieElement.prototype.renderInnerContent=function(){if((!this.data.singleShape||this._mdf)&&(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag)){var e,t;this._sizeChanged=!0;var i,r,s,n=this.textAnimator.renderedLetters,a=this.textProperty.currentData.l;for(t=a.length,e=0;e<t;e+=1)a[e].n||(i=n[e],r=this.textSpans[e].span,(s=this.textSpans[e].glyph)&&s.renderFrame(),i._mdf.m&&r.setAttribute("transform",i.m),i._mdf.o&&r.setAttribute("opacity",i.o),i._mdf.sw&&r.setAttribute("stroke-width",i.sw),i._mdf.sc&&r.setAttribute("stroke",i.sc),i._mdf.fc&&r.setAttribute("fill",i.fc))}},extendPrototype([IImageElement],ISolidElement),ISolidElement.prototype.createContent=function(){var e=createNS("rect");e.setAttribute("width",this.data.sw),e.setAttribute("height",this.data.sh),e.setAttribute("fill",this.data.sc),this.layerElement.appendChild(e)},NullElement.prototype.prepareFrame=function(e){this.prepareProperties(e,!0)},NullElement.prototype.renderFrame=function(){},NullElement.prototype.getBaseElement=function(){return null},NullElement.prototype.destroy=function(){},NullElement.prototype.sourceRectAtTime=function(){},NullElement.prototype.hide=function(){},extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement],NullElement),extendPrototype([BaseRenderer],SVGRendererBase),SVGRendererBase.prototype.createNull=function(e){return new NullElement(e,this.globalData,this)},SVGRendererBase.prototype.createShape=function(e){return new SVGShapeElement(e,this.globalData,this)},SVGRendererBase.prototype.createText=function(e){return new SVGTextLottieElement(e,this.globalData,this)},SVGRendererBase.prototype.createImage=function(e){return new IImageElement(e,this.globalData,this)},SVGRendererBase.prototype.createSolid=function(e){return new ISolidElement(e,this.globalData,this)},SVGRendererBase.prototype.configAnimation=function(e){this.svgElement.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.renderConfig.viewBoxSize?this.svgElement.setAttribute("viewBox",this.renderConfig.viewBoxSize):this.svgElement.setAttribute("viewBox","0 0 "+e.w+" "+e.h),this.renderConfig.viewBoxOnly||(this.svgElement.setAttribute("width",e.w),this.svgElement.setAttribute("height",e.h),this.svgElement.style.width="100%",this.svgElement.style.height="100%",this.svgElement.style.transform="translate3d(0,0,0)",this.svgElement.style.contentVisibility=this.renderConfig.contentVisibility),this.renderConfig.className&&this.svgElement.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.svgElement.setAttribute("id",this.renderConfig.id),void 0!==this.renderConfig.focusable&&this.svgElement.setAttribute("focusable",this.renderConfig.focusable),this.svgElement.setAttribute("preserveAspectRatio",this.renderConfig.preserveAspectRatio),this.animationItem.wrapper.appendChild(this.svgElement);var t=this.globalData.defs;this.setupGlobalData(e,t),this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.data=e;var i=createNS("clipPath"),r=createNS("rect");r.setAttribute("width",e.w),r.setAttribute("height",e.h),r.setAttribute("x",0),r.setAttribute("y",0);var s=createElementID();i.setAttribute("id",s),i.appendChild(r),this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+s+")"),t.appendChild(i),this.layers=e.layers,this.elements=createSizedArray(e.layers.length)},SVGRendererBase.prototype.destroy=function(){var e;this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.layerElement=null,this.globalData.defs=null;var t=this.layers?this.layers.length:0;for(e=0;e<t;e+=1)this.elements[e]&&this.elements[e].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},SVGRendererBase.prototype.updateContainerSize=function(){},SVGRendererBase.prototype.buildItem=function(e){var t=this.elements;if(!t[e]&&99!==this.layers[e].ty){t[e]=!0;var i=this.createItem(this.layers[e]);t[e]=i,getExpressionsPlugin()&&(0===this.layers[e].ty&&this.globalData.projectInterface.registerComposition(i),i.initExpressions()),this.appendElementInPos(i,e),this.layers[e].tt&&(this.elements[e-1]&&!0!==this.elements[e-1]?i.setMatte(t[e-1].layerId):(this.buildItem(e-1),this.addPendingElement(i)))}},SVGRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var e=this.pendingElements.pop();if(e.checkParenting(),e.data.tt)for(var t=0,i=this.elements.length;t<i;){if(this.elements[t]===e){e.setMatte(this.elements[t-1].layerId);break}t+=1}}},SVGRendererBase.prototype.renderFrame=function(e){if(this.renderedFrame!==e&&!this.destroyed){var t;null===e?e=this.renderedFrame:this.renderedFrame=e,this.globalData.frameNum=e,this.globalData.frameId+=1,this.globalData.projectInterface.currentFrame=e,this.globalData._mdf=!1;var i=this.layers.length;for(this.completeLayers||this.checkLayers(e),t=i-1;t>=0;t-=1)(this.completeLayers||this.elements[t])&&this.elements[t].prepareFrame(e-this.layers[t].st);if(this.globalData._mdf)for(t=0;t<i;t+=1)(this.completeLayers||this.elements[t])&&this.elements[t].renderFrame()}},SVGRendererBase.prototype.appendElementInPos=function(e,t){var i=e.getBaseElement();if(i){for(var r,s=0;s<t;)this.elements[s]&&!0!==this.elements[s]&&this.elements[s].getBaseElement()&&(r=this.elements[s].getBaseElement()),s+=1;r?this.layerElement.insertBefore(i,r):this.layerElement.appendChild(i)}},SVGRendererBase.prototype.hide=function(){this.layerElement.style.display="none"},SVGRendererBase.prototype.show=function(){this.layerElement.style.display="block"},extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement,RenderableDOMElement],ICompElement),ICompElement.prototype.initElement=function(e,t,i){this.initFrame(),this.initBaseData(e,t,i),this.initTransform(e,t,i),this.initRenderable(),this.initHierarchy(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),!this.data.xt&&t.progressiveLoad||this.buildAllItems(),this.hide()},ICompElement.prototype.prepareFrame=function(e){if(this._mdf=!1,this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange),this.isInRange||this.data.xt){if(this.tm._placeholder)this.renderedFrame=e/this.data.sr;else{var t=this.tm.v;t===this.data.op&&(t=this.data.op-1),this.renderedFrame=t}var i,r=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),i=r-1;i>=0;i-=1)(this.completeLayers||this.elements[i])&&(this.elements[i].prepareFrame(this.renderedFrame-this.layers[i].st),this.elements[i]._mdf&&(this._mdf=!0))}},ICompElement.prototype.renderInnerContent=function(){var e,t=this.layers.length;for(e=0;e<t;e+=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()},ICompElement.prototype.setElements=function(e){this.elements=e},ICompElement.prototype.getElements=function(){return this.elements},ICompElement.prototype.destroyElements=function(){var e,t=this.layers.length;for(e=0;e<t;e+=1)this.elements[e]&&this.elements[e].destroy()},ICompElement.prototype.destroy=function(){this.destroyElements(),this.destroyBaseElement()},extendPrototype([SVGRendererBase,ICompElement,SVGBaseElement],SVGCompElement),SVGCompElement.prototype.createComp=function(e){return new SVGCompElement(e,this.globalData,this)},extendPrototype([SVGRendererBase],SVGRenderer),SVGRenderer.prototype.createComp=function(e){return new SVGCompElement(e,this.globalData,this)},CVContextData.prototype.duplicate=function(){var e=2*this._length,t=this.savedOp;this.savedOp=createTypedArray("float32",e),this.savedOp.set(t);var i=0;for(i=this._length;i<e;i+=1)this.saved[i]=createTypedArray("float32",16);this._length=e},CVContextData.prototype.reset=function(){this.cArrPos=0,this.cTr.reset(),this.cO=1},ShapeTransformManager.prototype={addTransformSequence:function(e){var t,i=e.length,r="_";for(t=0;t<i;t+=1)r+=e[t].transform.key+"_";var s=this.sequences[r];return s||(s={transforms:[].concat(e),finalTransform:new Matrix,_mdf:!1},this.sequences[r]=s,this.sequenceList.push(s)),s},processSequence:function(e,t){for(var i,r=0,s=e.transforms.length,n=t;r<s&&!t;){if(e.transforms[r].transform.mProps._mdf){n=!0;break}r+=1}if(n)for(e.finalTransform.reset(),r=s-1;r>=0;r-=1)i=e.transforms[r].transform.mProps.v.props,e.finalTransform.transform(i[0],i[1],i[2],i[3],i[4],i[5],i[6],i[7],i[8],i[9],i[10],i[11],i[12],i[13],i[14],i[15]);e._mdf=n},processSequences:function(e){var t,i=this.sequenceList.length;for(t=0;t<i;t+=1)this.processSequence(this.sequenceList[t],e)},getNewKey:function(){return this.transform_key_count+=1,"_"+this.transform_key_count}},CVEffects.prototype.renderFrame=function(){},CVMaskElement.prototype.renderFrame=function(){if(this.hasMasks){var e,t,i,r,s=this.element.finalTransform.mat,n=this.element.canvasContext,a=this.masksProperties.length;for(n.beginPath(),e=0;e<a;e+=1)if("n"!==this.masksProperties[e].mode){var o;this.masksProperties[e].inv&&(n.moveTo(0,0),n.lineTo(this.element.globalData.compSize.w,0),n.lineTo(this.element.globalData.compSize.w,this.element.globalData.compSize.h),n.lineTo(0,this.element.globalData.compSize.h),n.lineTo(0,0)),r=this.viewData[e].v,t=s.applyToPointArray(r.v[0][0],r.v[0][1],0),n.moveTo(t[0],t[1]);var l=r._length;for(o=1;o<l;o+=1)i=s.applyToTriplePoints(r.o[o-1],r.i[o],r.v[o]),n.bezierCurveTo(i[0],i[1],i[2],i[3],i[4],i[5]);i=s.applyToTriplePoints(r.o[o-1],r.i[0],r.v[0]),n.bezierCurveTo(i[0],i[1],i[2],i[3],i[4],i[5])}this.element.globalData.renderer.save(!0),n.clip()}},CVMaskElement.prototype.getMaskProperty=MaskElement.prototype.getMaskProperty,CVMaskElement.prototype.destroy=function(){this.element=null},CVBaseElement.prototype={createElements:function(){},initRendererElement:function(){},createContainerElements:function(){this.canvasContext=this.globalData.canvasContext,this.renderableEffectsManager=new CVEffects(this)},createContent:function(){},setBlendMode:function(){var e=this.globalData;if(e.blendMode!==this.data.bm){e.blendMode=this.data.bm;var t=getBlendMode(this.data.bm);e.canvasContext.globalCompositeOperation=t}},createRenderableComponents:function(){this.maskManager=new CVMaskElement(this.data,this)},hideElement:function(){this.hidden||this.isInRange&&!this.isTransparent||(this.hidden=!0)},showElement:function(){this.isInRange&&!this.isTransparent&&(this.hidden=!1,this._isFirstFrame=!0,this.maskManager._isFirstFrame=!0)},renderFrame:function(){if(!this.hidden&&!this.data.hd){this.renderTransform(),this.renderRenderable(),this.setBlendMode();var e=0===this.data.ty;this.globalData.renderer.save(e),this.globalData.renderer.ctxTransform(this.finalTransform.mat.props),this.globalData.renderer.ctxOpacity(this.finalTransform.mProp.o.v),this.renderInnerContent(),this.globalData.renderer.restore(e),this.maskManager.hasMasks&&this.globalData.renderer.restore(!0),this._isFirstFrame&&(this._isFirstFrame=!1)}},destroy:function(){this.canvasContext=null,this.data=null,this.globalData=null,this.maskManager.destroy()},mHelper:new Matrix},CVBaseElement.prototype.hide=CVBaseElement.prototype.hideElement,CVBaseElement.prototype.show=CVBaseElement.prototype.showElement,CVShapeData.prototype.setAsAnimated=SVGShapeData.prototype.setAsAnimated,extendPrototype([BaseElement,TransformElement,CVBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableElement],CVShapeElement),CVShapeElement.prototype.initElement=RenderableDOMElement.prototype.initElement,CVShapeElement.prototype.transformHelper={opacity:1,_opMdf:!1},CVShapeElement.prototype.dashResetter=[],CVShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[])},CVShapeElement.prototype.createStyleElement=function(e,t){var i={data:e,type:e.ty,preTransforms:this.transformsManager.addTransformSequence(t),transforms:[],elements:[],closed:!0===e.hd},r={};if("fl"===e.ty||"st"===e.ty?(r.c=PropertyFactory.getProp(this,e.c,1,255,this),r.c.k||(i.co="rgb("+bmFloor(r.c.v[0])+","+bmFloor(r.c.v[1])+","+bmFloor(r.c.v[2])+")")):"gf"!==e.ty&&"gs"!==e.ty||(r.s=PropertyFactory.getProp(this,e.s,1,null,this),r.e=PropertyFactory.getProp(this,e.e,1,null,this),r.h=PropertyFactory.getProp(this,e.h||{k:0},0,.01,this),r.a=PropertyFactory.getProp(this,e.a||{k:0},0,degToRads,this),r.g=new GradientProperty(this,e.g,this)),r.o=PropertyFactory.getProp(this,e.o,0,.01,this),"st"===e.ty||"gs"===e.ty){if(i.lc=lineCapEnum[e.lc||2],i.lj=lineJoinEnum[e.lj||2],1==e.lj&&(i.ml=e.ml),r.w=PropertyFactory.getProp(this,e.w,0,null,this),r.w.k||(i.wi=r.w.v),e.d){var s=new DashProperty(this,e.d,"canvas",this);r.d=s,r.d.k||(i.da=r.d.dashArray,i.do=r.d.dashoffset[0])}}else i.r=2===e.r?"evenodd":"nonzero";return this.stylesList.push(i),r.style=i,r},CVShapeElement.prototype.createGroupElement=function(){return{it:[],prevViewData:[]}},CVShapeElement.prototype.createTransformElement=function(e){return{transform:{opacity:1,_opMdf:!1,key:this.transformsManager.getNewKey(),op:PropertyFactory.getProp(this,e.o,0,.01,this),mProps:TransformPropertyFactory.getTransformProperty(this,e,this)}}},CVShapeElement.prototype.createShapeElement=function(e){var t=new CVShapeData(this,e,this.stylesList,this.transformsManager);return this.shapes.push(t),this.addShapeToModifiers(t),t},CVShapeElement.prototype.reloadShapes=function(){var e;this._isFirstFrame=!0;var t=this.itemsData.length;for(e=0;e<t;e+=1)this.prevViewData[e]=this.itemsData[e];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[]),t=this.dynamicProperties.length,e=0;e<t;e+=1)this.dynamicProperties[e].getValue();this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame)},CVShapeElement.prototype.addTransformToStyleList=function(e){var t,i=this.stylesList.length;for(t=0;t<i;t+=1)this.stylesList[t].closed||this.stylesList[t].transforms.push(e)},CVShapeElement.prototype.removeTransformFromStyleList=function(){var e,t=this.stylesList.length;for(e=0;e<t;e+=1)this.stylesList[e].closed||this.stylesList[e].transforms.pop()},CVShapeElement.prototype.closeStyles=function(e){var t,i=e.length;for(t=0;t<i;t+=1)e[t].closed=!0},CVShapeElement.prototype.searchShapes=function(e,t,i,r,s){var n,a,o,l,h,u,c=e.length-1,d=[],p=[],f=[].concat(s);for(n=c;n>=0;n-=1){if((l=this.searchProcessedElement(e[n]))?t[n]=i[l-1]:e[n]._shouldRender=r,"fl"===e[n].ty||"st"===e[n].ty||"gf"===e[n].ty||"gs"===e[n].ty)l?t[n].style.closed=!1:t[n]=this.createStyleElement(e[n],f),d.push(t[n].style);else if("gr"===e[n].ty){if(l)for(o=t[n].it.length,a=0;a<o;a+=1)t[n].prevViewData[a]=t[n].it[a];else t[n]=this.createGroupElement(e[n]);this.searchShapes(e[n].it,t[n].it,t[n].prevViewData,r,f)}else"tr"===e[n].ty?(l||(u=this.createTransformElement(e[n]),t[n]=u),f.push(t[n]),this.addTransformToStyleList(t[n])):"sh"===e[n].ty||"rc"===e[n].ty||"el"===e[n].ty||"sr"===e[n].ty?l||(t[n]=this.createShapeElement(e[n])):"tm"===e[n].ty||"rd"===e[n].ty||"pb"===e[n].ty?(l?(h=t[n]).closed=!1:((h=ShapeModifiers.getModifier(e[n].ty)).init(this,e[n]),t[n]=h,this.shapeModifiers.push(h)),p.push(h)):"rp"===e[n].ty&&(l?(h=t[n]).closed=!0:(h=ShapeModifiers.getModifier(e[n].ty),t[n]=h,h.init(this,e,n,t),this.shapeModifiers.push(h),r=!1),p.push(h));this.addProcessedElement(e[n],n+1)}for(this.removeTransformFromStyleList(),this.closeStyles(d),c=p.length,n=0;n<c;n+=1)p[n].closed=!0},CVShapeElement.prototype.renderInnerContent=function(){this.transformHelper.opacity=1,this.transformHelper._opMdf=!1,this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame),this.renderShape(this.transformHelper,this.shapesData,this.itemsData,!0)},CVShapeElement.prototype.renderShapeTransform=function(e,t){(e._opMdf||t.op._mdf||this._isFirstFrame)&&(t.opacity=e.opacity,t.opacity*=t.op.v,t._opMdf=!0)},CVShapeElement.prototype.drawLayer=function(){var e,t,i,r,s,n,a,o,l,h=this.stylesList.length,u=this.globalData.renderer,c=this.globalData.canvasContext;for(e=0;e<h;e+=1)if(("st"!==(o=(l=this.stylesList[e]).type)&&"gs"!==o||0!==l.wi)&&l.data._shouldRender&&0!==l.coOp&&0!==this.globalData.currentGlobalAlpha){for(u.save(),n=l.elements,"st"===o||"gs"===o?(c.strokeStyle="st"===o?l.co:l.grd,c.lineWidth=l.wi,c.lineCap=l.lc,c.lineJoin=l.lj,c.miterLimit=l.ml||0):c.fillStyle="fl"===o?l.co:l.grd,u.ctxOpacity(l.coOp),"st"!==o&&"gs"!==o&&c.beginPath(),u.ctxTransform(l.preTransforms.finalTransform.props),i=n.length,t=0;t<i;t+=1){for("st"!==o&&"gs"!==o||(c.beginPath(),l.da&&(c.setLineDash(l.da),c.lineDashOffset=l.do)),s=(a=n[t].trNodes).length,r=0;r<s;r+=1)"m"===a[r].t?c.moveTo(a[r].p[0],a[r].p[1]):"c"===a[r].t?c.bezierCurveTo(a[r].pts[0],a[r].pts[1],a[r].pts[2],a[r].pts[3],a[r].pts[4],a[r].pts[5]):c.closePath();"st"!==o&&"gs"!==o||(c.stroke(),l.da&&c.setLineDash(this.dashResetter))}"st"!==o&&"gs"!==o&&c.fill(l.r),u.restore()}},CVShapeElement.prototype.renderShape=function(e,t,i,r){var s,n;for(n=e,s=t.length-1;s>=0;s-=1)"tr"===t[s].ty?(n=i[s].transform,this.renderShapeTransform(e,n)):"sh"===t[s].ty||"el"===t[s].ty||"rc"===t[s].ty||"sr"===t[s].ty?this.renderPath(t[s],i[s]):"fl"===t[s].ty?this.renderFill(t[s],i[s],n):"st"===t[s].ty?this.renderStroke(t[s],i[s],n):"gf"===t[s].ty||"gs"===t[s].ty?this.renderGradientFill(t[s],i[s],n):"gr"===t[s].ty?this.renderShape(n,t[s].it,i[s].it):t[s].ty;r&&this.drawLayer()},CVShapeElement.prototype.renderStyledShape=function(e,t){if(this._isFirstFrame||t._mdf||e.transforms._mdf){var i,r,s,n=e.trNodes,a=t.paths,o=a._length;n.length=0;var l=e.transforms.finalTransform;for(s=0;s<o;s+=1){var h=a.shapes[s];if(h&&h.v){for(r=h._length,i=1;i<r;i+=1)1===i&&n.push({t:"m",p:l.applyToPointArray(h.v[0][0],h.v[0][1],0)}),n.push({t:"c",pts:l.applyToTriplePoints(h.o[i-1],h.i[i],h.v[i])});1===r&&n.push({t:"m",p:l.applyToPointArray(h.v[0][0],h.v[0][1],0)}),h.c&&r&&(n.push({t:"c",pts:l.applyToTriplePoints(h.o[i-1],h.i[0],h.v[0])}),n.push({t:"z"}))}}e.trNodes=n}},CVShapeElement.prototype.renderPath=function(e,t){if(!0!==e.hd&&e._shouldRender){var i,r=t.styledShapes.length;for(i=0;i<r;i+=1)this.renderStyledShape(t.styledShapes[i],t.sh)}},CVShapeElement.prototype.renderFill=function(e,t,i){var r=t.style;(t.c._mdf||this._isFirstFrame)&&(r.co="rgb("+bmFloor(t.c.v[0])+","+bmFloor(t.c.v[1])+","+bmFloor(t.c.v[2])+")"),(t.o._mdf||i._opMdf||this._isFirstFrame)&&(r.coOp=t.o.v*i.opacity)},CVShapeElement.prototype.renderGradientFill=function(e,t,i){var r,s=t.style;if(!s.grd||t.g._mdf||t.s._mdf||t.e._mdf||1!==e.t&&(t.h._mdf||t.a._mdf)){var n,a=this.globalData.canvasContext,o=t.s.v,l=t.e.v;if(1===e.t)r=a.createLinearGradient(o[0],o[1],l[0],l[1]);else{var h=Math.sqrt(Math.pow(o[0]-l[0],2)+Math.pow(o[1]-l[1],2)),u=Math.atan2(l[1]-o[1],l[0]-o[0]),c=t.h.v;c>=1?c=.99:c<=-1&&(c=-.99);var d=h*c,p=Math.cos(u+t.a.v)*d+o[0],f=Math.sin(u+t.a.v)*d+o[1];r=a.createRadialGradient(p,f,0,o[0],o[1],h)}var m=e.g.p,g=t.g.c,y=1;for(n=0;n<m;n+=1)t.g._hasOpacity&&t.g._collapsable&&(y=t.g.o[2*n+1]),r.addColorStop(g[4*n]/100,"rgba("+g[4*n+1]+","+g[4*n+2]+","+g[4*n+3]+","+y+")");s.grd=r}s.coOp=t.o.v*i.opacity},CVShapeElement.prototype.renderStroke=function(e,t,i){var r=t.style,s=t.d;s&&(s._mdf||this._isFirstFrame)&&(r.da=s.dashArray,r.do=s.dashoffset[0]),(t.c._mdf||this._isFirstFrame)&&(r.co="rgb("+bmFloor(t.c.v[0])+","+bmFloor(t.c.v[1])+","+bmFloor(t.c.v[2])+")"),(t.o._mdf||i._opMdf||this._isFirstFrame)&&(r.coOp=t.o.v*i.opacity),(t.w._mdf||this._isFirstFrame)&&(r.wi=t.w.v)},CVShapeElement.prototype.destroy=function(){this.shapesData=null,this.globalData=null,this.canvasContext=null,this.stylesList.length=0,this.itemsData.length=0},extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement,ITextElement],CVTextElement),CVTextElement.prototype.tHelper=createTag("canvas").getContext("2d"),CVTextElement.prototype.buildNewText=function(){var e=this.textProperty.currentData;this.renderedLetters=createSizedArray(e.l?e.l.length:0);var t=!1;e.fc?(t=!0,this.values.fill=this.buildColor(e.fc)):this.values.fill="rgba(0,0,0,0)",this.fill=t;var i=!1;e.sc&&(i=!0,this.values.stroke=this.buildColor(e.sc),this.values.sWidth=e.sw);var r,s,n,a,o,l,h,u,c,d,p,f,m=this.globalData.fontManager.getFontByName(e.f),g=e.l,y=this.mHelper;this.stroke=i,this.values.fValue=e.finalSize+"px "+this.globalData.fontManager.getFontByName(e.f).fFamily,s=e.finalText.length;var v=this.data.singleShape,b=.001*e.tr*e.finalSize,C=0,x=0,S=!0,_=0;for(r=0;r<s;r+=1){a=(n=this.globalData.fontManager.getCharData(e.finalText[r],m.fStyle,this.globalData.fontManager.getFontByName(e.f).fFamily))&&n.data||{},y.reset(),v&&g[r].n&&(C=-b,x+=e.yOffset,x+=S?1:0,S=!1),c=(h=a.shapes?a.shapes[0].it:[]).length,y.scale(e.finalSize/100,e.finalSize/100),v&&this.applyTextPropertiesToMatrix(e,y,g[r].line,C,x),p=createSizedArray(c-1);var T=0;for(u=0;u<c;u+=1)if("sh"===h[u].ty){for(l=h[u].ks.k.i.length,d=h[u].ks.k,f=[],o=1;o<l;o+=1)1===o&&f.push(y.applyToX(d.v[0][0],d.v[0][1],0),y.applyToY(d.v[0][0],d.v[0][1],0)),f.push(y.applyToX(d.o[o-1][0],d.o[o-1][1],0),y.applyToY(d.o[o-1][0],d.o[o-1][1],0),y.applyToX(d.i[o][0],d.i[o][1],0),y.applyToY(d.i[o][0],d.i[o][1],0),y.applyToX(d.v[o][0],d.v[o][1],0),y.applyToY(d.v[o][0],d.v[o][1],0));f.push(y.applyToX(d.o[o-1][0],d.o[o-1][1],0),y.applyToY(d.o[o-1][0],d.o[o-1][1],0),y.applyToX(d.i[0][0],d.i[0][1],0),y.applyToY(d.i[0][0],d.i[0][1],0),y.applyToX(d.v[0][0],d.v[0][1],0),y.applyToY(d.v[0][0],d.v[0][1],0)),p[T]=f,T+=1}v&&(C+=g[r].l,C+=b),this.textSpans[_]?this.textSpans[_].elem=p:this.textSpans[_]={elem:p},_+=1}},CVTextElement.prototype.renderInnerContent=function(){var e,t,i,r,s,n,a=this.canvasContext;a.font=this.values.fValue,a.lineCap="butt",a.lineJoin="miter",a.miterLimit=4,this.data.singleShape||this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag);var o,l=this.textAnimator.renderedLetters,h=this.textProperty.currentData.l;t=h.length;var u,c,d=null,p=null,f=null;for(e=0;e<t;e+=1)if(!h[e].n){if((o=l[e])&&(this.globalData.renderer.save(),this.globalData.renderer.ctxTransform(o.p),this.globalData.renderer.ctxOpacity(o.o)),this.fill){for(o&&o.fc?d!==o.fc&&(d=o.fc,a.fillStyle=o.fc):d!==this.values.fill&&(d=this.values.fill,a.fillStyle=this.values.fill),r=(u=this.textSpans[e].elem).length,this.globalData.canvasContext.beginPath(),i=0;i<r;i+=1)for(n=(c=u[i]).length,this.globalData.canvasContext.moveTo(c[0],c[1]),s=2;s<n;s+=6)this.globalData.canvasContext.bezierCurveTo(c[s],c[s+1],c[s+2],c[s+3],c[s+4],c[s+5]);this.globalData.canvasContext.closePath(),this.globalData.canvasContext.fill()}if(this.stroke){for(o&&o.sw?f!==o.sw&&(f=o.sw,a.lineWidth=o.sw):f!==this.values.sWidth&&(f=this.values.sWidth,a.lineWidth=this.values.sWidth),o&&o.sc?p!==o.sc&&(p=o.sc,a.strokeStyle=o.sc):p!==this.values.stroke&&(p=this.values.stroke,a.strokeStyle=this.values.stroke),r=(u=this.textSpans[e].elem).length,this.globalData.canvasContext.beginPath(),i=0;i<r;i+=1)for(n=(c=u[i]).length,this.globalData.canvasContext.moveTo(c[0],c[1]),s=2;s<n;s+=6)this.globalData.canvasContext.bezierCurveTo(c[s],c[s+1],c[s+2],c[s+3],c[s+4],c[s+5]);this.globalData.canvasContext.closePath(),this.globalData.canvasContext.stroke()}o&&this.globalData.renderer.restore()}},extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVImageElement),CVImageElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVImageElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVImageElement.prototype.createContent=function(){if(this.img.width&&(this.assetData.w!==this.img.width||this.assetData.h!==this.img.height)){var e=createTag("canvas");e.width=this.assetData.w,e.height=this.assetData.h;var t,i,r=e.getContext("2d"),s=this.img.width,n=this.img.height,a=s/n,o=this.assetData.w/this.assetData.h,l=this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio;a>o&&"xMidYMid slice"===l||a<o&&"xMidYMid slice"!==l?t=(i=n)*o:i=(t=s)/o,r.drawImage(this.img,(s-t)/2,(n-i)/2,t,i,0,0,this.assetData.w,this.assetData.h),this.img=e}},CVImageElement.prototype.renderInnerContent=function(){this.canvasContext.drawImage(this.img,0,0)},CVImageElement.prototype.destroy=function(){this.img=null},extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVSolidElement),CVSolidElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVSolidElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVSolidElement.prototype.renderInnerContent=function(){var e=this.canvasContext;e.fillStyle=this.data.sc,e.fillRect(0,0,this.data.sw,this.data.sh)},extendPrototype([BaseRenderer],CanvasRendererBase),CanvasRendererBase.prototype.createShape=function(e){return new CVShapeElement(e,this.globalData,this)},CanvasRendererBase.prototype.createText=function(e){return new CVTextElement(e,this.globalData,this)},CanvasRendererBase.prototype.createImage=function(e){return new CVImageElement(e,this.globalData,this)},CanvasRendererBase.prototype.createSolid=function(e){return new CVSolidElement(e,this.globalData,this)},CanvasRendererBase.prototype.createNull=SVGRenderer.prototype.createNull,CanvasRendererBase.prototype.ctxTransform=function(e){if(1!==e[0]||0!==e[1]||0!==e[4]||1!==e[5]||0!==e[12]||0!==e[13])if(this.renderConfig.clearCanvas){this.transformMat.cloneFromProps(e);var t=this.contextData.cTr.props;this.transformMat.transform(t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15]),this.contextData.cTr.cloneFromProps(this.transformMat.props);var i=this.contextData.cTr.props;this.canvasContext.setTransform(i[0],i[1],i[4],i[5],i[12],i[13])}else this.canvasContext.transform(e[0],e[1],e[4],e[5],e[12],e[13])},CanvasRendererBase.prototype.ctxOpacity=function(e){if(!this.renderConfig.clearCanvas)return this.canvasContext.globalAlpha*=e<0?0:e,void(this.globalData.currentGlobalAlpha=this.contextData.cO);this.contextData.cO*=e<0?0:e,this.globalData.currentGlobalAlpha!==this.contextData.cO&&(this.canvasContext.globalAlpha=this.contextData.cO,this.globalData.currentGlobalAlpha=this.contextData.cO)},CanvasRendererBase.prototype.reset=function(){this.renderConfig.clearCanvas?this.contextData.reset():this.canvasContext.restore()},CanvasRendererBase.prototype.save=function(e){if(this.renderConfig.clearCanvas){e&&this.canvasContext.save();var t,i=this.contextData.cTr.props;this.contextData._length<=this.contextData.cArrPos&&this.contextData.duplicate();var r=this.contextData.saved[this.contextData.cArrPos];for(t=0;t<16;t+=1)r[t]=i[t];this.contextData.savedOp[this.contextData.cArrPos]=this.contextData.cO,this.contextData.cArrPos+=1}else this.canvasContext.save()},CanvasRendererBase.prototype.restore=function(e){if(this.renderConfig.clearCanvas){e&&(this.canvasContext.restore(),this.globalData.blendMode="source-over"),this.contextData.cArrPos-=1;var t,i=this.contextData.saved[this.contextData.cArrPos],r=this.contextData.cTr.props;for(t=0;t<16;t+=1)r[t]=i[t];this.canvasContext.setTransform(i[0],i[1],i[4],i[5],i[12],i[13]),i=this.contextData.savedOp[this.contextData.cArrPos],this.contextData.cO=i,this.globalData.currentGlobalAlpha!==i&&(this.canvasContext.globalAlpha=i,this.globalData.currentGlobalAlpha=i)}else this.canvasContext.restore()},CanvasRendererBase.prototype.configAnimation=function(e){if(this.animationItem.wrapper){this.animationItem.container=createTag("canvas");var t=this.animationItem.container.style;t.width="100%",t.height="100%";var i="0px 0px 0px";t.transformOrigin=i,t.mozTransformOrigin=i,t.webkitTransformOrigin=i,t["-webkit-transform"]=i,t.contentVisibility=this.renderConfig.contentVisibility,this.animationItem.wrapper.appendChild(this.animationItem.container),this.canvasContext=this.animationItem.container.getContext("2d"),this.renderConfig.className&&this.animationItem.container.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.animationItem.container.setAttribute("id",this.renderConfig.id)}else this.canvasContext=this.renderConfig.context;this.data=e,this.layers=e.layers,this.transformCanvas={w:e.w,h:e.h,sx:0,sy:0,tx:0,ty:0},this.setupGlobalData(e,document.body),this.globalData.canvasContext=this.canvasContext,this.globalData.renderer=this,this.globalData.isDashed=!1,this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.globalData.transformCanvas=this.transformCanvas,this.elements=createSizedArray(e.layers.length),this.updateContainerSize()},CanvasRendererBase.prototype.updateContainerSize=function(){var e,t,i,r;if(this.reset(),this.animationItem.wrapper&&this.animationItem.container?(e=this.animationItem.wrapper.offsetWidth,t=this.animationItem.wrapper.offsetHeight,this.animationItem.container.setAttribute("width",e*this.renderConfig.dpr),this.animationItem.container.setAttribute("height",t*this.renderConfig.dpr)):(e=this.canvasContext.canvas.width*this.renderConfig.dpr,t=this.canvasContext.canvas.height*this.renderConfig.dpr),-1!==this.renderConfig.preserveAspectRatio.indexOf("meet")||-1!==this.renderConfig.preserveAspectRatio.indexOf("slice")){var s=this.renderConfig.preserveAspectRatio.split(" "),n=s[1]||"meet",a=s[0]||"xMidYMid",o=a.substr(0,4),l=a.substr(4);i=e/t,(r=this.transformCanvas.w/this.transformCanvas.h)>i&&"meet"===n||r<i&&"slice"===n?(this.transformCanvas.sx=e/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=e/(this.transformCanvas.w/this.renderConfig.dpr)):(this.transformCanvas.sx=t/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.sy=t/(this.transformCanvas.h/this.renderConfig.dpr)),this.transformCanvas.tx="xMid"===o&&(r<i&&"meet"===n||r>i&&"slice"===n)?(e-this.transformCanvas.w*(t/this.transformCanvas.h))/2*this.renderConfig.dpr:"xMax"===o&&(r<i&&"meet"===n||r>i&&"slice"===n)?(e-this.transformCanvas.w*(t/this.transformCanvas.h))*this.renderConfig.dpr:0,this.transformCanvas.ty="YMid"===l&&(r>i&&"meet"===n||r<i&&"slice"===n)?(t-this.transformCanvas.h*(e/this.transformCanvas.w))/2*this.renderConfig.dpr:"YMax"===l&&(r>i&&"meet"===n||r<i&&"slice"===n)?(t-this.transformCanvas.h*(e/this.transformCanvas.w))*this.renderConfig.dpr:0}else"none"===this.renderConfig.preserveAspectRatio?(this.transformCanvas.sx=e/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=t/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.tx=0,this.transformCanvas.ty=0):(this.transformCanvas.sx=this.renderConfig.dpr,this.transformCanvas.sy=this.renderConfig.dpr,this.transformCanvas.tx=0,this.transformCanvas.ty=0);this.transformCanvas.props=[this.transformCanvas.sx,0,0,0,0,this.transformCanvas.sy,0,0,0,0,1,0,this.transformCanvas.tx,this.transformCanvas.ty,0,1],this.ctxTransform(this.transformCanvas.props),this.canvasContext.beginPath(),this.canvasContext.rect(0,0,this.transformCanvas.w,this.transformCanvas.h),this.canvasContext.closePath(),this.canvasContext.clip(),this.renderFrame(this.renderedFrame,!0)},CanvasRendererBase.prototype.destroy=function(){var e;for(this.renderConfig.clearCanvas&&this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),e=(this.layers?this.layers.length:0)-1;e>=0;e-=1)this.elements[e]&&this.elements[e].destroy();this.elements.length=0,this.globalData.canvasContext=null,this.animationItem.container=null,this.destroyed=!0},CanvasRendererBase.prototype.renderFrame=function(e,t){if((this.renderedFrame!==e||!0!==this.renderConfig.clearCanvas||t)&&!this.destroyed&&-1!==e){var i;this.renderedFrame=e,this.globalData.frameNum=e-this.animationItem._isFirstFrame,this.globalData.frameId+=1,this.globalData._mdf=!this.renderConfig.clearCanvas||t,this.globalData.projectInterface.currentFrame=e;var r=this.layers.length;for(this.completeLayers||this.checkLayers(e),i=0;i<r;i+=1)(this.completeLayers||this.elements[i])&&this.elements[i].prepareFrame(e-this.layers[i].st);if(this.globalData._mdf){for(!0===this.renderConfig.clearCanvas?this.canvasContext.clearRect(0,0,this.transformCanvas.w,this.transformCanvas.h):this.save(),i=r-1;i>=0;i-=1)(this.completeLayers||this.elements[i])&&this.elements[i].renderFrame();!0!==this.renderConfig.clearCanvas&&this.restore()}}},CanvasRendererBase.prototype.buildItem=function(e){var t=this.elements;if(!t[e]&&99!==this.layers[e].ty){var i=this.createItem(this.layers[e],this,this.globalData);t[e]=i,i.initExpressions()}},CanvasRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){this.pendingElements.pop().checkParenting()}},CanvasRendererBase.prototype.hide=function(){this.animationItem.container.style.display="none"},CanvasRendererBase.prototype.show=function(){this.animationItem.container.style.display="block"},extendPrototype([CanvasRendererBase,ICompElement,CVBaseElement],CVCompElement),CVCompElement.prototype.renderInnerContent=function(){var e,t=this.canvasContext;for(t.beginPath(),t.moveTo(0,0),t.lineTo(this.data.w,0),t.lineTo(this.data.w,this.data.h),t.lineTo(0,this.data.h),t.lineTo(0,0),t.clip(),e=this.layers.length-1;e>=0;e-=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()},CVCompElement.prototype.destroy=function(){var e;for(e=this.layers.length-1;e>=0;e-=1)this.elements[e]&&this.elements[e].destroy();this.layers=null,this.elements=null},CVCompElement.prototype.createComp=function(e){return new CVCompElement(e,this.globalData,this)},extendPrototype([CanvasRendererBase],CanvasRenderer),CanvasRenderer.prototype.createComp=function(e){return new CVCompElement(e,this.globalData,this)},HBaseElement.prototype={checkBlendMode:function(){},initRendererElement:function(){this.baseElement=createTag(this.data.tg||"div"),this.data.hasMask?(this.svgElement=createNS("svg"),this.layerElement=createNS("g"),this.maskedElement=this.layerElement,this.svgElement.appendChild(this.layerElement),this.baseElement.appendChild(this.svgElement)):this.layerElement=this.baseElement,styleDiv(this.baseElement)},createContainerElements:function(){this.renderableEffectsManager=new CVEffects(this),this.transformedElement=this.baseElement,this.maskedElement=this.layerElement,this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),0!==this.data.bm&&this.setBlendMode()},renderElement:function(){var e=this.transformedElement?this.transformedElement.style:{};if(this.finalTransform._matMdf){var t=this.finalTransform.mat.toCSS();e.transform=t,e.webkitTransform=t}this.finalTransform._opMdf&&(e.opacity=this.finalTransform.mProp.o.v)},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},destroy:function(){this.layerElement=null,this.transformedElement=null,this.matteElement&&(this.matteElement=null),this.maskManager&&(this.maskManager.destroy(),this.maskManager=null)},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData)},addEffects:function(){},setMatte:function(){}},HBaseElement.prototype.getBaseElement=SVGBaseElement.prototype.getBaseElement,HBaseElement.prototype.destroyBaseElement=HBaseElement.prototype.destroy,HBaseElement.prototype.buildElementParenting=BaseRenderer.prototype.buildElementParenting,extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],HSolidElement),HSolidElement.prototype.createContent=function(){var e;this.data.hasMask?((e=createNS("rect")).setAttribute("width",this.data.sw),e.setAttribute("height",this.data.sh),e.setAttribute("fill",this.data.sc),this.svgElement.setAttribute("width",this.data.sw),this.svgElement.setAttribute("height",this.data.sh)):((e=createTag("div")).style.width=this.data.sw+"px",e.style.height=this.data.sh+"px",e.style.backgroundColor=this.data.sc),this.layerElement.appendChild(e)},extendPrototype([BaseElement,TransformElement,HSolidElement,SVGShapeElement,HBaseElement,HierarchyElement,FrameElement,RenderableElement],HShapeElement),HShapeElement.prototype._renderShapeFrame=HShapeElement.prototype.renderInnerContent,HShapeElement.prototype.createContent=function(){var e;if(this.baseElement.style.fontSize=0,this.data.hasMask)this.layerElement.appendChild(this.shapesContainer),e=this.svgElement;else{e=createNS("svg");var t=this.comp.data?this.comp.data:this.globalData.compSize;e.setAttribute("width",t.w),e.setAttribute("height",t.h),e.appendChild(this.shapesContainer),this.layerElement.appendChild(e)}this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.shapesContainer,0,[],!0),this.filterUniqueShapes(),this.shapeCont=e},HShapeElement.prototype.getTransformedPoint=function(e,t){var i,r=e.length;for(i=0;i<r;i+=1)t=e[i].mProps.v.applyToPointArray(t[0],t[1],0);return t},HShapeElement.prototype.calculateShapeBoundingBox=function(e,t){var i,r,s,n,a,o=e.sh.v,l=e.transformers,h=o._length;if(!(h<=1)){for(i=0;i<h-1;i+=1)r=this.getTransformedPoint(l,o.v[i]),s=this.getTransformedPoint(l,o.o[i]),n=this.getTransformedPoint(l,o.i[i+1]),a=this.getTransformedPoint(l,o.v[i+1]),this.checkBounds(r,s,n,a,t);o.c&&(r=this.getTransformedPoint(l,o.v[i]),s=this.getTransformedPoint(l,o.o[i]),n=this.getTransformedPoint(l,o.i[0]),a=this.getTransformedPoint(l,o.v[0]),this.checkBounds(r,s,n,a,t))}},HShapeElement.prototype.checkBounds=function(e,t,i,r,s){this.getBoundsOfCurve(e,t,i,r);var n=this.shapeBoundingBox;s.x=bmMin(n.left,s.x),s.xMax=bmMax(n.right,s.xMax),s.y=bmMin(n.top,s.y),s.yMax=bmMax(n.bottom,s.yMax)},HShapeElement.prototype.shapeBoundingBox={left:0,right:0,top:0,bottom:0},HShapeElement.prototype.tempBoundingBox={x:0,xMax:0,y:0,yMax:0,width:0,height:0},HShapeElement.prototype.getBoundsOfCurve=function(e,t,i,r){for(var s,n,a,o,l,h,u,c=[[e[0],r[0]],[e[1],r[1]]],d=0;d<2;++d)n=6*e[d]-12*t[d]+6*i[d],s=-3*e[d]+9*t[d]-9*i[d]+3*r[d],a=3*t[d]-3*e[d],n|=0,a|=0,0===(s|=0)&&0===n||(0===s?(o=-a/n)>0&&o<1&&c[d].push(this.calculateF(o,e,t,i,r,d)):(l=n*n-4*a*s)>=0&&((h=(-n+bmSqrt(l))/(2*s))>0&&h<1&&c[d].push(this.calculateF(h,e,t,i,r,d)),(u=(-n-bmSqrt(l))/(2*s))>0&&u<1&&c[d].push(this.calculateF(u,e,t,i,r,d))));this.shapeBoundingBox.left=bmMin.apply(null,c[0]),this.shapeBoundingBox.top=bmMin.apply(null,c[1]),this.shapeBoundingBox.right=bmMax.apply(null,c[0]),this.shapeBoundingBox.bottom=bmMax.apply(null,c[1])},HShapeElement.prototype.calculateF=function(e,t,i,r,s,n){return bmPow(1-e,3)*t[n]+3*bmPow(1-e,2)*e*i[n]+3*(1-e)*bmPow(e,2)*r[n]+bmPow(e,3)*s[n]},HShapeElement.prototype.calculateBoundingBox=function(e,t){var i,r=e.length;for(i=0;i<r;i+=1)e[i]&&e[i].sh?this.calculateShapeBoundingBox(e[i],t):e[i]&&e[i].it&&this.calculateBoundingBox(e[i].it,t)},HShapeElement.prototype.currentBoxContains=function(e){return this.currentBBox.x<=e.x&&this.currentBBox.y<=e.y&&this.currentBBox.width+this.currentBBox.x>=e.x+e.width&&this.currentBBox.height+this.currentBBox.y>=e.y+e.height},HShapeElement.prototype.renderInnerContent=function(){if(this._renderShapeFrame(),!this.hidden&&(this._isFirstFrame||this._mdf)){var e=this.tempBoundingBox,t=999999;if(e.x=t,e.xMax=-t,e.y=t,e.yMax=-t,this.calculateBoundingBox(this.itemsData,e),e.width=e.xMax<e.x?0:e.xMax-e.x,e.height=e.yMax<e.y?0:e.yMax-e.y,this.currentBoxContains(e))return;var i=!1;if(this.currentBBox.w!==e.width&&(this.currentBBox.w=e.width,this.shapeCont.setAttribute("width",e.width),i=!0),this.currentBBox.h!==e.height&&(this.currentBBox.h=e.height,this.shapeCont.setAttribute("height",e.height),i=!0),i||this.currentBBox.x!==e.x||this.currentBBox.y!==e.y){this.currentBBox.w=e.width,this.currentBBox.h=e.height,this.currentBBox.x=e.x,this.currentBBox.y=e.y,this.shapeCont.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h);var r=this.shapeCont.style,s="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";r.transform=s,r.webkitTransform=s}}},extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],HTextElement),HTextElement.prototype.createContent=function(){if(this.isMasked=this.checkMasks(),this.isMasked){this.renderType="svg",this.compW=this.comp.data.w,this.compH=this.comp.data.h,this.svgElement.setAttribute("width",this.compW),this.svgElement.setAttribute("height",this.compH);var e=createNS("g");this.maskedElement.appendChild(e),this.innerElem=e}else this.renderType="html",this.innerElem=this.layerElement;this.checkParenting()},HTextElement.prototype.buildNewText=function(){var e=this.textProperty.currentData;this.renderedLetters=createSizedArray(e.l?e.l.length:0);var t=this.innerElem.style,i=e.fc?this.buildColor(e.fc):"rgba(0,0,0,0)";t.fill=i,t.color=i,e.sc&&(t.stroke=this.buildColor(e.sc),t.strokeWidth=e.sw+"px");var r,s,n=this.globalData.fontManager.getFontByName(e.f);if(!this.globalData.fontManager.chars)if(t.fontSize=e.finalSize+"px",t.lineHeight=e.finalSize+"px",n.fClass)this.innerElem.className=n.fClass;else{t.fontFamily=n.fFamily;var a=e.fWeight,o=e.fStyle;t.fontStyle=o,t.fontWeight=a}var l,h,u,c=e.l;s=c.length;var d,p=this.mHelper,f="",m=0;for(r=0;r<s;r+=1){if(this.globalData.fontManager.chars?(this.textPaths[m]?l=this.textPaths[m]:((l=createNS("path")).setAttribute("stroke-linecap",lineCapEnum[1]),l.setAttribute("stroke-linejoin",lineJoinEnum[2]),l.setAttribute("stroke-miterlimit","4")),this.isMasked||(this.textSpans[m]?u=(h=this.textSpans[m]).children[0]:((h=createTag("div")).style.lineHeight=0,(u=createNS("svg")).appendChild(l),styleDiv(h)))):this.isMasked?l=this.textPaths[m]?this.textPaths[m]:createNS("text"):this.textSpans[m]?(h=this.textSpans[m],l=this.textPaths[m]):(styleDiv(h=createTag("span")),styleDiv(l=createTag("span")),h.appendChild(l)),this.globalData.fontManager.chars){var g,y=this.globalData.fontManager.getCharData(e.finalText[r],n.fStyle,this.globalData.fontManager.getFontByName(e.f).fFamily);if(g=y?y.data:null,p.reset(),g&&g.shapes&&g.shapes.length&&(d=g.shapes[0].it,p.scale(e.finalSize/100,e.finalSize/100),f=this.createPathShape(p,d),l.setAttribute("d",f)),this.isMasked)this.innerElem.appendChild(l);else{if(this.innerElem.appendChild(h),g&&g.shapes){document.body.appendChild(u);var v=u.getBBox();u.setAttribute("width",v.width+2),u.setAttribute("height",v.height+2),u.setAttribute("viewBox",v.x-1+" "+(v.y-1)+" "+(v.width+2)+" "+(v.height+2));var b=u.style,C="translate("+(v.x-1)+"px,"+(v.y-1)+"px)";b.transform=C,b.webkitTransform=C,c[r].yOffset=v.y-1}else u.setAttribute("width",1),u.setAttribute("height",1);h.appendChild(u)}}else if(l.textContent=c[r].val,l.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),this.isMasked)this.innerElem.appendChild(l);else{this.innerElem.appendChild(h);var x=l.style,S="translate3d(0,"+-e.finalSize/1.2+"px,0)";x.transform=S,x.webkitTransform=S}this.isMasked?this.textSpans[m]=l:this.textSpans[m]=h,this.textSpans[m].style.display="block",this.textPaths[m]=l,m+=1}for(;m<this.textSpans.length;)this.textSpans[m].style.display="none",m+=1},HTextElement.prototype.renderInnerContent=function(){var e;if(this.data.singleShape){if(!this._isFirstFrame&&!this.lettersChangedFlag)return;if(this.isMasked&&this.finalTransform._matMdf){this.svgElement.setAttribute("viewBox",-this.finalTransform.mProp.p.v[0]+" "+-this.finalTransform.mProp.p.v[1]+" "+this.compW+" "+this.compH),e=this.svgElement.style;var t="translate("+-this.finalTransform.mProp.p.v[0]+"px,"+-this.finalTransform.mProp.p.v[1]+"px)";e.transform=t,e.webkitTransform=t}}if(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag){var i,r,s,n,a,o=0,l=this.textAnimator.renderedLetters,h=this.textProperty.currentData.l;for(r=h.length,i=0;i<r;i+=1)h[i].n?o+=1:(n=this.textSpans[i],a=this.textPaths[i],s=l[o],o+=1,s._mdf.m&&(this.isMasked?n.setAttribute("transform",s.m):(n.style.webkitTransform=s.m,n.style.transform=s.m)),n.style.opacity=s.o,s.sw&&s._mdf.sw&&a.setAttribute("stroke-width",s.sw),s.sc&&s._mdf.sc&&a.setAttribute("stroke",s.sc),s.fc&&s._mdf.fc&&(a.setAttribute("fill",s.fc),a.style.color=s.fc));if(this.innerElem.getBBox&&!this.hidden&&(this._isFirstFrame||this._mdf)){var u=this.innerElem.getBBox();this.currentBBox.w!==u.width&&(this.currentBBox.w=u.width,this.svgElement.setAttribute("width",u.width)),this.currentBBox.h!==u.height&&(this.currentBBox.h=u.height,this.svgElement.setAttribute("height",u.height));if(this.currentBBox.w!==u.width+2||this.currentBBox.h!==u.height+2||this.currentBBox.x!==u.x-1||this.currentBBox.y!==u.y-1){this.currentBBox.w=u.width+2,this.currentBBox.h=u.height+2,this.currentBBox.x=u.x-1,this.currentBBox.y=u.y-1,this.svgElement.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h),e=this.svgElement.style;var c="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";e.transform=c,e.webkitTransform=c}}}},extendPrototype([BaseElement,FrameElement,HierarchyElement],HCameraElement),HCameraElement.prototype.setup=function(){var e,t,i,r,s=this.comp.threeDElements.length;for(e=0;e<s;e+=1)if("3d"===(t=this.comp.threeDElements[e]).type){i=t.perspectiveElem.style,r=t.container.style;var n=this.pe.v+"px",a="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";i.perspective=n,i.webkitPerspective=n,r.transformOrigin="0px 0px 0px",r.mozTransformOrigin="0px 0px 0px",r.webkitTransformOrigin="0px 0px 0px",i.transform=a,i.webkitTransform=a}},HCameraElement.prototype.createElements=function(){},HCameraElement.prototype.hide=function(){},HCameraElement.prototype.renderFrame=function(){var e,t,i=this._isFirstFrame;if(this.hierarchy)for(t=this.hierarchy.length,e=0;e<t;e+=1)i=this.hierarchy[e].finalTransform.mProp._mdf||i;if(i||this.pe._mdf||this.p&&this.p._mdf||this.px&&(this.px._mdf||this.py._mdf||this.pz._mdf)||this.rx._mdf||this.ry._mdf||this.rz._mdf||this.or._mdf||this.a&&this.a._mdf){if(this.mat.reset(),this.hierarchy)for(e=t=this.hierarchy.length-1;e>=0;e-=1){var r=this.hierarchy[e].finalTransform.mProp;this.mat.translate(-r.p.v[0],-r.p.v[1],r.p.v[2]),this.mat.rotateX(-r.or.v[0]).rotateY(-r.or.v[1]).rotateZ(r.or.v[2]),this.mat.rotateX(-r.rx.v).rotateY(-r.ry.v).rotateZ(r.rz.v),this.mat.scale(1/r.s.v[0],1/r.s.v[1],1/r.s.v[2]),this.mat.translate(r.a.v[0],r.a.v[1],r.a.v[2])}if(this.p?this.mat.translate(-this.p.v[0],-this.p.v[1],this.p.v[2]):this.mat.translate(-this.px.v,-this.py.v,this.pz.v),this.a){var s;s=this.p?[this.p.v[0]-this.a.v[0],this.p.v[1]-this.a.v[1],this.p.v[2]-this.a.v[2]]:[this.px.v-this.a.v[0],this.py.v-this.a.v[1],this.pz.v-this.a.v[2]];var n=Math.sqrt(Math.pow(s[0],2)+Math.pow(s[1],2)+Math.pow(s[2],2)),a=[s[0]/n,s[1]/n,s[2]/n],o=Math.sqrt(a[2]*a[2]+a[0]*a[0]),l=Math.atan2(a[1],o),h=Math.atan2(a[0],-a[2]);this.mat.rotateY(h).rotateX(-l)}this.mat.rotateX(-this.rx.v).rotateY(-this.ry.v).rotateZ(this.rz.v),this.mat.rotateX(-this.or.v[0]).rotateY(-this.or.v[1]).rotateZ(this.or.v[2]),this.mat.translate(this.globalData.compSize.w/2,this.globalData.compSize.h/2,0),this.mat.translate(0,0,this.pe.v);var u=!this._prevMat.equals(this.mat);if((u||this.pe._mdf)&&this.comp.threeDElements){var c,d,p;for(t=this.comp.threeDElements.length,e=0;e<t;e+=1)if("3d"===(c=this.comp.threeDElements[e]).type){if(u){var f=this.mat.toCSS();(p=c.container.style).transform=f,p.webkitTransform=f}this.pe._mdf&&((d=c.perspectiveElem.style).perspective=this.pe.v+"px",d.webkitPerspective=this.pe.v+"px")}this.mat.clone(this._prevMat)}}this._isFirstFrame=!1},HCameraElement.prototype.prepareFrame=function(e){this.prepareProperties(e,!0)},HCameraElement.prototype.destroy=function(){},HCameraElement.prototype.getBaseElement=function(){return null},extendPrototype([BaseElement,TransformElement,HBaseElement,HSolidElement,HierarchyElement,FrameElement,RenderableElement],HImageElement),HImageElement.prototype.createContent=function(){var e=this.globalData.getAssetsPath(this.assetData),t=new Image;this.data.hasMask?(this.imageElem=createNS("image"),this.imageElem.setAttribute("width",this.assetData.w+"px"),this.imageElem.setAttribute("height",this.assetData.h+"px"),this.imageElem.setAttributeNS("http://www.w3.org/1999/xlink","href",e),this.layerElement.appendChild(this.imageElem),this.baseElement.setAttribute("width",this.assetData.w),this.baseElement.setAttribute("height",this.assetData.h)):this.layerElement.appendChild(t),t.crossOrigin="anonymous",t.src=e,this.data.ln&&this.baseElement.setAttribute("id",this.data.ln)},extendPrototype([BaseRenderer],HybridRendererBase),HybridRendererBase.prototype.buildItem=SVGRenderer.prototype.buildItem,HybridRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){this.pendingElements.pop().checkParenting()}},HybridRendererBase.prototype.appendElementInPos=function(e,t){var i=e.getBaseElement();if(i){var r=this.layers[t];if(r.ddd&&this.supports3d)this.addTo3dContainer(i,t);else if(this.threeDElements)this.addTo3dContainer(i,t);else{for(var s,n,a=0;a<t;)this.elements[a]&&!0!==this.elements[a]&&this.elements[a].getBaseElement&&(n=this.elements[a],s=(this.layers[a].ddd?this.getThreeDContainerByPos(a):n.getBaseElement())||s),a+=1;s?r.ddd&&this.supports3d||this.layerElement.insertBefore(i,s):r.ddd&&this.supports3d||this.layerElement.appendChild(i)}}},HybridRendererBase.prototype.createShape=function(e){return this.supports3d?new HShapeElement(e,this.globalData,this):new SVGShapeElement(e,this.globalData,this)},HybridRendererBase.prototype.createText=function(e){return this.supports3d?new HTextElement(e,this.globalData,this):new SVGTextLottieElement(e,this.globalData,this)},HybridRendererBase.prototype.createCamera=function(e){return this.camera=new HCameraElement(e,this.globalData,this),this.camera},HybridRendererBase.prototype.createImage=function(e){return this.supports3d?new HImageElement(e,this.globalData,this):new IImageElement(e,this.globalData,this)},HybridRendererBase.prototype.createSolid=function(e){return this.supports3d?new HSolidElement(e,this.globalData,this):new ISolidElement(e,this.globalData,this)},HybridRendererBase.prototype.createNull=SVGRenderer.prototype.createNull,HybridRendererBase.prototype.getThreeDContainerByPos=function(e){for(var t=0,i=this.threeDElements.length;t<i;){if(this.threeDElements[t].startPos<=e&&this.threeDElements[t].endPos>=e)return this.threeDElements[t].perspectiveElem;t+=1}return null},HybridRendererBase.prototype.createThreeDContainer=function(e,t){var i,r,s=createTag("div");styleDiv(s);var n=createTag("div");if(styleDiv(n),"3d"===t){(i=s.style).width=this.globalData.compSize.w+"px",i.height=this.globalData.compSize.h+"px";i.webkitTransformOrigin="50% 50%",i.mozTransformOrigin="50% 50%",i.transformOrigin="50% 50%";var a="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";(r=n.style).transform=a,r.webkitTransform=a}s.appendChild(n);var o={container:n,perspectiveElem:s,startPos:e,endPos:e,type:t};return this.threeDElements.push(o),o},HybridRendererBase.prototype.build3dContainers=function(){var e,t,i=this.layers.length,r="";for(e=0;e<i;e+=1)this.layers[e].ddd&&3!==this.layers[e].ty?("3d"!==r&&(r="3d",t=this.createThreeDContainer(e,"3d")),t.endPos=Math.max(t.endPos,e)):("2d"!==r&&(r="2d",t=this.createThreeDContainer(e,"2d")),t.endPos=Math.max(t.endPos,e));for(e=(i=this.threeDElements.length)-1;e>=0;e-=1)this.resizerElem.appendChild(this.threeDElements[e].perspectiveElem)},HybridRendererBase.prototype.addTo3dContainer=function(e,t){for(var i=0,r=this.threeDElements.length;i<r;){if(t<=this.threeDElements[i].endPos){for(var s,n=this.threeDElements[i].startPos;n<t;)this.elements[n]&&this.elements[n].getBaseElement&&(s=this.elements[n].getBaseElement()),n+=1;s?this.threeDElements[i].container.insertBefore(e,s):this.threeDElements[i].container.appendChild(e);break}i+=1}},HybridRendererBase.prototype.configAnimation=function(e){var t=createTag("div"),i=this.animationItem.wrapper,r=t.style;r.width=e.w+"px",r.height=e.h+"px",this.resizerElem=t,styleDiv(t),r.transformStyle="flat",r.mozTransformStyle="flat",r.webkitTransformStyle="flat",this.renderConfig.className&&t.setAttribute("class",this.renderConfig.className),i.appendChild(t),r.overflow="hidden";var s=createNS("svg");s.setAttribute("width","1"),s.setAttribute("height","1"),styleDiv(s),this.resizerElem.appendChild(s);var n=createNS("defs");s.appendChild(n),this.data=e,this.setupGlobalData(e,s),this.globalData.defs=n,this.layers=e.layers,this.layerElement=this.resizerElem,this.build3dContainers(),this.updateContainerSize()},HybridRendererBase.prototype.destroy=function(){var e;this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.animationItem.container=null,this.globalData.defs=null;var t=this.layers?this.layers.length:0;for(e=0;e<t;e+=1)this.elements[e].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},HybridRendererBase.prototype.updateContainerSize=function(){var e,t,i,r,s=this.animationItem.wrapper.offsetWidth,n=this.animationItem.wrapper.offsetHeight,a=s/n;this.globalData.compSize.w/this.globalData.compSize.h>a?(e=s/this.globalData.compSize.w,t=s/this.globalData.compSize.w,i=0,r=(n-this.globalData.compSize.h*(s/this.globalData.compSize.w))/2):(e=n/this.globalData.compSize.h,t=n/this.globalData.compSize.h,i=(s-this.globalData.compSize.w*(n/this.globalData.compSize.h))/2,r=0);var o=this.resizerElem.style;o.webkitTransform="matrix3d("+e+",0,0,0,0,"+t+",0,0,0,0,1,0,"+i+","+r+",0,1)",o.transform=o.webkitTransform},HybridRendererBase.prototype.renderFrame=SVGRenderer.prototype.renderFrame,HybridRendererBase.prototype.hide=function(){this.resizerElem.style.display="none"},HybridRendererBase.prototype.show=function(){this.resizerElem.style.display="block"},HybridRendererBase.prototype.initItems=function(){if(this.buildAllItems(),this.camera)this.camera.setup();else{var e,t=this.globalData.compSize.w,i=this.globalData.compSize.h,r=this.threeDElements.length;for(e=0;e<r;e+=1){var s=this.threeDElements[e].perspectiveElem.style;s.webkitPerspective=Math.sqrt(Math.pow(t,2)+Math.pow(i,2))+"px",s.perspective=s.webkitPerspective}}},HybridRendererBase.prototype.searchExtraCompositions=function(e){var t,i=e.length,r=createTag("div");for(t=0;t<i;t+=1)if(e[t].xt){var s=this.createComp(e[t],r,this.globalData.comp,null);s.initExpressions(),this.globalData.projectInterface.registerComposition(s)}},extendPrototype([HybridRendererBase,ICompElement,HBaseElement],HCompElement),HCompElement.prototype._createBaseContainerElements=HCompElement.prototype.createContainerElements,HCompElement.prototype.createContainerElements=function(){this._createBaseContainerElements(),this.data.hasMask?(this.svgElement.setAttribute("width",this.data.w),this.svgElement.setAttribute("height",this.data.h),this.transformedElement=this.baseElement):this.transformedElement=this.layerElement},HCompElement.prototype.addTo3dContainer=function(e,t){for(var i,r=0;r<t;)this.elements[r]&&this.elements[r].getBaseElement&&(i=this.elements[r].getBaseElement()),r+=1;i?this.layerElement.insertBefore(e,i):this.layerElement.appendChild(e)},HCompElement.prototype.createComp=function(e){return this.supports3d?new HCompElement(e,this.globalData,this):new SVGCompElement(e,this.globalData,this)},extendPrototype([HybridRendererBase],HybridRenderer),HybridRenderer.prototype.createComp=function(e){return this.supports3d?new HCompElement(e,this.globalData,this):new SVGCompElement(e,this.globalData,this)};var Expressions=function(){var e={};return e.initExpressions=function(e){var t=0,i=[];e.renderer.compInterface=CompExpressionInterface(e.renderer),e.renderer.globalData.projectInterface.registerComposition(e.renderer),e.renderer.globalData.pushExpression=function(){t+=1},e.renderer.globalData.popExpression=function(){0===(t-=1)&&function(){var e,t=i.length;for(e=0;e<t;e+=1)i[e].release();i.length=0}()},e.renderer.globalData.registerExpressionProperty=function(e){-1===i.indexOf(e)&&i.push(e)}},e}();function _typeof$1(e){return(_typeof$1="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function seedRandom(e,t){var i=this,r=t.pow(256,6),s=t.pow(2,52),n=2*s;function a(e){var t,i=e.length,r=this,s=0,n=r.i=r.j=0,a=r.S=[];for(i||(e=[i++]);s<256;)a[s]=s++;for(s=0;s<256;s++)a[s]=a[n=255&n+e[s%i]+(t=a[s])],a[n]=t;r.g=function(e){for(var t,i=0,s=r.i,n=r.j,a=r.S;e--;)t=a[s=255&s+1],i=256*i+a[255&(a[s]=a[n=255&n+t])+(a[n]=t)];return r.i=s,r.j=n,i}}function o(e,t){return t.i=e.i,t.j=e.j,t.S=e.S.slice(),t}function l(e,t){for(var i,r=e+"",s=0;s<r.length;)t[255&s]=255&(i^=19*t[255&s])+r.charCodeAt(s++);return h(t)}function h(e){return String.fromCharCode.apply(0,e)}t.seedrandom=function(u,c,d){var p=[],f=l(function e(t,i){var r,s=[],n=_typeof$1(t);if(i&&"object"==n)for(r in t)try{s.push(e(t[r],i-1))}catch(e){}return s.length?s:"string"==n?t:t+"\0"}((c=!0===c?{entropy:!0}:c||{}).entropy?[u,h(e)]:null===u?function(){try{void 0;var t=new Uint8Array(256);return(i.crypto||i.msCrypto).getRandomValues(t),h(t)}catch(t){var r=i.navigator,s=r&&r.plugins;return[+new Date,i,s,i.screen,h(e)]}}():u,3),p),m=new a(p),g=function(){for(var e=m.g(6),t=r,i=0;e<s;)e=256*(e+i),t*=256,i=m.g(1);for(;e>=n;)e/=2,t/=2,i>>>=1;return(e+i)/t};return g.int32=function(){return 0|m.g(4)},g.quick=function(){return m.g(4)/4294967296},g.double=g,l(h(m.S),e),(c.pass||d||function(e,i,r,s){return s&&(s.S&&o(s,m),e.state=function(){return o(m,{})}),r?(t.random=e,i):e})(g,f,"global"in c?c.global:this==t,c.state)},l(t.random(),e)}function initialize$2(e){seedRandom([],e)}var propTypes={SHAPE:"shape"};function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var ExpressionManager=function(){var ob={},Math=BMMath,window=null,document=null,XMLHttpRequest=null,fetch=null,frames=null;function $bm_isInstanceOfArray(e){return e.constructor===Array||e.constructor===Float32Array}function isNumerable(e,t){return"number"===e||"boolean"===e||"string"===e||t instanceof Number}function $bm_neg(e){var t=_typeof(e);if("number"===t||"boolean"===t||e instanceof Number)return-e;if($bm_isInstanceOfArray(e)){var i,r=e.length,s=[];for(i=0;i<r;i+=1)s[i]=-e[i];return s}return e.propType?e.v:-e}initialize$2(BMMath);var easeInBez=BezierFactory.getBezierEasing(.333,0,.833,.833,"easeIn").get,easeOutBez=BezierFactory.getBezierEasing(.167,.167,.667,1,"easeOut").get,easeInOutBez=BezierFactory.getBezierEasing(.33,0,.667,1,"easeInOut").get;function sum(e,t){var i=_typeof(e),r=_typeof(t);if("string"===i||"string"===r)return e+t;if(isNumerable(i,e)&&isNumerable(r,t))return e+t;if($bm_isInstanceOfArray(e)&&isNumerable(r,t))return(e=e.slice(0))[0]+=t,e;if(isNumerable(i,e)&&$bm_isInstanceOfArray(t))return(t=t.slice(0))[0]=e+t[0],t;if($bm_isInstanceOfArray(e)&&$bm_isInstanceOfArray(t)){for(var s=0,n=e.length,a=t.length,o=[];s<n||s<a;)("number"==typeof e[s]||e[s]instanceof Number)&&("number"==typeof t[s]||t[s]instanceof Number)?o[s]=e[s]+t[s]:o[s]=void 0===t[s]?e[s]:e[s]||t[s],s+=1;return o}return 0}var add=sum;function sub(e,t){var i=_typeof(e),r=_typeof(t);if(isNumerable(i,e)&&isNumerable(r,t))return"string"===i&&(e=parseInt(e,10)),"string"===r&&(t=parseInt(t,10)),e-t;if($bm_isInstanceOfArray(e)&&isNumerable(r,t))return(e=e.slice(0))[0]-=t,e;if(isNumerable(i,e)&&$bm_isInstanceOfArray(t))return(t=t.slice(0))[0]=e-t[0],t;if($bm_isInstanceOfArray(e)&&$bm_isInstanceOfArray(t)){for(var s=0,n=e.length,a=t.length,o=[];s<n||s<a;)("number"==typeof e[s]||e[s]instanceof Number)&&("number"==typeof t[s]||t[s]instanceof Number)?o[s]=e[s]-t[s]:o[s]=void 0===t[s]?e[s]:e[s]||t[s],s+=1;return o}return 0}function mul(e,t){var i,r,s,n=_typeof(e),a=_typeof(t);if(isNumerable(n,e)&&isNumerable(a,t))return e*t;if($bm_isInstanceOfArray(e)&&isNumerable(a,t)){for(s=e.length,i=createTypedArray("float32",s),r=0;r<s;r+=1)i[r]=e[r]*t;return i}if(isNumerable(n,e)&&$bm_isInstanceOfArray(t)){for(s=t.length,i=createTypedArray("float32",s),r=0;r<s;r+=1)i[r]=e*t[r];return i}return 0}function div(e,t){var i,r,s,n=_typeof(e),a=_typeof(t);if(isNumerable(n,e)&&isNumerable(a,t))return e/t;if($bm_isInstanceOfArray(e)&&isNumerable(a,t)){for(s=e.length,i=createTypedArray("float32",s),r=0;r<s;r+=1)i[r]=e[r]/t;return i}if(isNumerable(n,e)&&$bm_isInstanceOfArray(t)){for(s=t.length,i=createTypedArray("float32",s),r=0;r<s;r+=1)i[r]=e/t[r];return i}return 0}function mod(e,t){return"string"==typeof e&&(e=parseInt(e,10)),"string"==typeof t&&(t=parseInt(t,10)),e%t}var $bm_sum=sum,$bm_sub=sub,$bm_mul=mul,$bm_div=div,$bm_mod=mod;function clamp(e,t,i){if(t>i){var r=i;i=t,t=r}return Math.min(Math.max(e,t),i)}function radiansToDegrees(e){return e/degToRads}var radians_to_degrees=radiansToDegrees;function degreesToRadians(e){return e*degToRads}var degrees_to_radians=radiansToDegrees,helperLengthArray=[0,0,0,0,0,0];function length(e,t){if("number"==typeof e||e instanceof Number)return t=t||0,Math.abs(e-t);var i;t||(t=helperLengthArray);var r=Math.min(e.length,t.length),s=0;for(i=0;i<r;i+=1)s+=Math.pow(t[i]-e[i],2);return Math.sqrt(s)}function normalize(e){return div(e,length(e))}function rgbToHsl(e){var t,i,r=e[0],s=e[1],n=e[2],a=Math.max(r,s,n),o=Math.min(r,s,n),l=(a+o)/2;if(a===o)t=0,i=0;else{var h=a-o;switch(i=l>.5?h/(2-a-o):h/(a+o),a){case r:t=(s-n)/h+(s<n?6:0);break;case s:t=(n-r)/h+2;break;case n:t=(r-s)/h+4}t/=6}return[t,i,l,e[3]]}function hue2rgb(e,t,i){return i<0&&(i+=1),i>1&&(i-=1),i<1/6?e+6*(t-e)*i:i<.5?t:i<2/3?e+(t-e)*(2/3-i)*6:e}function hslToRgb(e){var t,i,r,s=e[0],n=e[1],a=e[2];if(0===n)t=a,r=a,i=a;else{var o=a<.5?a*(1+n):a+n-a*n,l=2*a-o;t=hue2rgb(l,o,s+1/3),i=hue2rgb(l,o,s),r=hue2rgb(l,o,s-1/3)}return[t,i,r,e[3]]}function linear(e,t,i,r,s){if(void 0!==r&&void 0!==s||(r=t,s=i,t=0,i=1),i<t){var n=i;i=t,t=n}if(e<=t)return r;if(e>=i)return s;var a,o=i===t?0:(e-t)/(i-t);if(!r.length)return r+(s-r)*o;var l=r.length,h=createTypedArray("float32",l);for(a=0;a<l;a+=1)h[a]=r[a]+(s[a]-r[a])*o;return h}function random(e,t){if(void 0===t&&(void 0===e?(e=0,t=1):(t=e,e=void 0)),t.length){var i,r=t.length;e||(e=createTypedArray("float32",r));var s=createTypedArray("float32",r),n=BMMath.random();for(i=0;i<r;i+=1)s[i]=e[i]+n*(t[i]-e[i]);return s}return void 0===e&&(e=0),e+BMMath.random()*(t-e)}function createPath(e,t,i,r){var s,n=e.length,a=shapePool.newElement();a.setPathData(!!r,n);var o,l,h=[0,0];for(s=0;s<n;s+=1)o=t&&t[s]?t[s]:h,l=i&&i[s]?i[s]:h,a.setTripleAt(e[s][0],e[s][1],l[0]+e[s][0],l[1]+e[s][1],o[0]+e[s][0],o[1]+e[s][1],s,!0);return a}function initiateExpression(elem,data,property){var val=data.x,needsVelocity=/velocity(?![\w\d])/.test(val),_needsRandom=-1!==val.indexOf("random"),elemType=elem.data.ty,transform,$bm_transform,content,effect,thisProperty=property;thisProperty.valueAtTime=thisProperty.getValueAtTime,Object.defineProperty(thisProperty,"value",{get:function(){return thisProperty.v}}),elem.comp.frameDuration=1/elem.comp.globalData.frameRate,elem.comp.displayStartTime=0;var inPoint=elem.data.ip/elem.comp.globalData.frameRate,outPoint=elem.data.op/elem.comp.globalData.frameRate,width=elem.data.sw?elem.data.sw:0,height=elem.data.sh?elem.data.sh:0,name=elem.data.nm,loopIn,loop_in,loopOut,loop_out,smooth,toWorld,fromWorld,fromComp,toComp,fromCompToSurface,position,rotation,anchorPoint,scale,thisLayer,thisComp,mask,valueAtTime,velocityAtTime,scoped_bm_rt,expression_function=eval("[function _expression_function(){"+val+";scoped_bm_rt=$bm_rt}]")[0],numKeys=property.kf?data.k.length:0,active=!this.data||!0!==this.data.hd,wiggle=function(e,t){var i,r,s=this.pv.length?this.pv.length:1,n=createTypedArray("float32",s);var a=Math.floor(5*time);for(i=0,r=0;i<a;){for(r=0;r<s;r+=1)n[r]+=-t+2*t*BMMath.random();i+=1}var o=5*time,l=o-Math.floor(o),h=createTypedArray("float32",s);if(s>1){for(r=0;r<s;r+=1)h[r]=this.pv[r]+n[r]+(-t+2*t*BMMath.random())*l;return h}return this.pv+n[0]+(-t+2*t*BMMath.random())*l}.bind(this);function loopInDuration(e,t){return loopIn(e,t,!0)}function loopOutDuration(e,t){return loopOut(e,t,!0)}thisProperty.loopIn&&(loopIn=thisProperty.loopIn.bind(thisProperty),loop_in=loopIn),thisProperty.loopOut&&(loopOut=thisProperty.loopOut.bind(thisProperty),loop_out=loopOut),thisProperty.smooth&&(smooth=thisProperty.smooth.bind(thisProperty)),this.getValueAtTime&&(valueAtTime=this.getValueAtTime.bind(this)),this.getVelocityAtTime&&(velocityAtTime=this.getVelocityAtTime.bind(this));var comp=elem.comp.globalData.projectInterface.bind(elem.comp.globalData.projectInterface),time,velocity,value,text,textIndex,textTotal,selectorValue;function lookAt(e,t){var i=[t[0]-e[0],t[1]-e[1],t[2]-e[2]],r=Math.atan2(i[0],Math.sqrt(i[1]*i[1]+i[2]*i[2]))/degToRads;return[-Math.atan2(i[1],i[2])/degToRads,r,0]}function easeOut(e,t,i,r,s){return applyEase(easeOutBez,e,t,i,r,s)}function easeIn(e,t,i,r,s){return applyEase(easeInBez,e,t,i,r,s)}function ease(e,t,i,r,s){return applyEase(easeInOutBez,e,t,i,r,s)}function applyEase(e,t,i,r,s,n){void 0===s?(s=i,n=r):t=(t-i)/(r-i),t>1?t=1:t<0&&(t=0);var a=e(t);if($bm_isInstanceOfArray(s)){var o,l=s.length,h=createTypedArray("float32",l);for(o=0;o<l;o+=1)h[o]=(n[o]-s[o])*a+s[o];return h}return(n-s)*a+s}function nearestKey(e){var t,i,r,s=data.k.length;if(data.k.length&&"number"!=typeof data.k[0])if(i=-1,(e*=elem.comp.globalData.frameRate)<data.k[0].t)i=1,r=data.k[0].t;else{for(t=0;t<s-1;t+=1){if(e===data.k[t].t){i=t+1,r=data.k[t].t;break}if(e>data.k[t].t&&e<data.k[t+1].t){e-data.k[t].t>data.k[t+1].t-e?(i=t+2,r=data.k[t+1].t):(i=t+1,r=data.k[t].t);break}}-1===i&&(i=t+1,r=data.k[t].t)}else i=0,r=0;var n={};return n.index=i,n.time=r/elem.comp.globalData.frameRate,n}function key(e){var t,i,r;if(!data.k.length||"number"==typeof data.k[0])throw new Error("The property has no keyframe at index "+e);e-=1,t={time:data.k[e].t/elem.comp.globalData.frameRate,value:[]};var s=Object.prototype.hasOwnProperty.call(data.k[e],"s")?data.k[e].s:data.k[e-1].e;for(r=s.length,i=0;i<r;i+=1)t[i]=s[i],t.value[i]=s[i];return t}function framesToTime(e,t){return t||(t=elem.comp.globalData.frameRate),e/t}function timeToFrames(e,t){return e||0===e||(e=time),t||(t=elem.comp.globalData.frameRate),e*t}function seedRandom(e){BMMath.seedrandom(randSeed+e)}function sourceRectAtTime(){return elem.sourceRectAtTime()}function substring(e,t){return"string"==typeof value?void 0===t?value.substring(e):value.substring(e,t):""}function substr(e,t){return"string"==typeof value?void 0===t?value.substr(e):value.substr(e,t):""}function posterizeTime(e){time=0===e?0:Math.floor(time*e)/e,value=valueAtTime(time)}var index=elem.data.ind,hasParent=!(!elem.hierarchy||!elem.hierarchy.length),parent,randSeed=Math.floor(1e6*Math.random()),globalData=elem.globalData;function executeExpression(e){return value=e,this.frameExpressionId===elem.globalData.frameId&&"textSelector"!==this.propType?value:("textSelector"===this.propType&&(textIndex=this.textIndex,textTotal=this.textTotal,selectorValue=this.selectorValue),thisLayer||(text=elem.layerInterface.text,thisLayer=elem.layerInterface,thisComp=elem.comp.compInterface,toWorld=thisLayer.toWorld.bind(thisLayer),fromWorld=thisLayer.fromWorld.bind(thisLayer),fromComp=thisLayer.fromComp.bind(thisLayer),toComp=thisLayer.toComp.bind(thisLayer),mask=thisLayer.mask?thisLayer.mask.bind(thisLayer):null,fromCompToSurface=fromComp),transform||(transform=elem.layerInterface("ADBE Transform Group"),$bm_transform=transform,transform&&(anchorPoint=transform.anchorPoint)),4!==elemType||content||(content=thisLayer("ADBE Root Vectors Group")),effect||(effect=thisLayer(4)),(hasParent=!(!elem.hierarchy||!elem.hierarchy.length))&&!parent&&(parent=elem.hierarchy[0].layerInterface),time=this.comp.renderedFrame/this.comp.globalData.frameRate,_needsRandom&&seedRandom(randSeed+time),needsVelocity&&(velocity=velocityAtTime(time)),expression_function(),this.frameExpressionId=elem.globalData.frameId,scoped_bm_rt=scoped_bm_rt.propType===propTypes.SHAPE?scoped_bm_rt.v:scoped_bm_rt)}return executeExpression.__preventDeadCodeRemoval=[$bm_transform,anchorPoint,velocity,inPoint,outPoint,width,height,name,loop_in,loop_out,smooth,toComp,fromCompToSurface,toWorld,fromWorld,mask,position,rotation,scale,thisComp,numKeys,active,wiggle,loopInDuration,loopOutDuration,comp,lookAt,easeOut,easeIn,ease,nearestKey,key,text,textIndex,textTotal,selectorValue,framesToTime,timeToFrames,sourceRectAtTime,substring,substr,posterizeTime,index,globalData],executeExpression}return ob.initiateExpression=initiateExpression,ob.__preventDeadCodeRemoval=[window,document,XMLHttpRequest,fetch,frames,$bm_neg,add,$bm_sum,$bm_sub,$bm_mul,$bm_div,$bm_mod,clamp,radians_to_degrees,degreesToRadians,degrees_to_radians,normalize,rgbToHsl,hslToRgb,linear,random,createPath],ob}(),expressionHelpers={searchExpressions:function(e,t,i){t.x&&(i.k=!0,i.x=!0,i.initiateExpression=ExpressionManager.initiateExpression,i.effectsSequence.push(i.initiateExpression(e,t,i).bind(i)))},getSpeedAtTime:function(e){var t=this.getValueAtTime(e),i=this.getValueAtTime(e+-.01),r=0;if(t.length){var s;for(s=0;s<t.length;s+=1)r+=Math.pow(i[s]-t[s],2);r=100*Math.sqrt(r)}else r=0;return r},getVelocityAtTime:function(e){if(void 0!==this.vel)return this.vel;var t,i,r=this.getValueAtTime(e),s=this.getValueAtTime(e+-.001);if(r.length)for(t=createTypedArray("float32",r.length),i=0;i<r.length;i+=1)t[i]=(s[i]-r[i])/-.001;else t=(s-r)/-.001;return t},getValueAtTime:function(e){return e*=this.elem.globalData.frameRate,(e-=this.offsetTime)!==this._cachingAtTime.lastFrame&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastFrame<e?this._cachingAtTime.lastIndex:0,this._cachingAtTime.value=this.interpolateValue(e,this._cachingAtTime),this._cachingAtTime.lastFrame=e),this._cachingAtTime.value},getStaticValueAtTime:function(){return this.pv},setGroupProperty:function(e){this.propertyGroup=e}};function addPropertyDecorator(){function e(e,t,i){if(!this.k||!this.keyframes)return this.pv;e=e?e.toLowerCase():"";var r,s,n,a,o,l=this.comp.renderedFrame,h=this.keyframes,u=h[h.length-1].t;if(l<=u)return this.pv;if(i?s=u-(r=t?Math.abs(u-this.elem.comp.globalData.frameRate*t):Math.max(0,u-this.elem.data.ip)):((!t||t>h.length-1)&&(t=h.length-1),r=u-(s=h[h.length-1-t].t)),"pingpong"===e){if(Math.floor((l-s)/r)%2!=0)return this.getValueAtTime((r-(l-s)%r+s)/this.comp.globalData.frameRate,0)}else{if("offset"===e){var c=this.getValueAtTime(s/this.comp.globalData.frameRate,0),d=this.getValueAtTime(u/this.comp.globalData.frameRate,0),p=this.getValueAtTime(((l-s)%r+s)/this.comp.globalData.frameRate,0),f=Math.floor((l-s)/r);if(this.pv.length){for(a=(o=new Array(c.length)).length,n=0;n<a;n+=1)o[n]=(d[n]-c[n])*f+p[n];return o}return(d-c)*f+p}if("continue"===e){var m=this.getValueAtTime(u/this.comp.globalData.frameRate,0),g=this.getValueAtTime((u-.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(a=(o=new Array(m.length)).length,n=0;n<a;n+=1)o[n]=m[n]+(m[n]-g[n])*((l-u)/this.comp.globalData.frameRate)/5e-4;return o}return m+(l-u)/.001*(m-g)}}return this.getValueAtTime(((l-s)%r+s)/this.comp.globalData.frameRate,0)}function t(e,t,i){if(!this.k)return this.pv;e=e?e.toLowerCase():"";var r,s,n,a,o,l=this.comp.renderedFrame,h=this.keyframes,u=h[0].t;if(l>=u)return this.pv;if(i?s=u+(r=t?Math.abs(this.elem.comp.globalData.frameRate*t):Math.max(0,this.elem.data.op-u)):((!t||t>h.length-1)&&(t=h.length-1),r=(s=h[t].t)-u),"pingpong"===e){if(Math.floor((u-l)/r)%2==0)return this.getValueAtTime(((u-l)%r+u)/this.comp.globalData.frameRate,0)}else{if("offset"===e){var c=this.getValueAtTime(u/this.comp.globalData.frameRate,0),d=this.getValueAtTime(s/this.comp.globalData.frameRate,0),p=this.getValueAtTime((r-(u-l)%r+u)/this.comp.globalData.frameRate,0),f=Math.floor((u-l)/r)+1;if(this.pv.length){for(a=(o=new Array(c.length)).length,n=0;n<a;n+=1)o[n]=p[n]-(d[n]-c[n])*f;return o}return p-(d-c)*f}if("continue"===e){var m=this.getValueAtTime(u/this.comp.globalData.frameRate,0),g=this.getValueAtTime((u+.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(a=(o=new Array(m.length)).length,n=0;n<a;n+=1)o[n]=m[n]+(m[n]-g[n])*(u-l)/.001;return o}return m+(m-g)*(u-l)/.001}}return this.getValueAtTime((r-((u-l)%r+u))/this.comp.globalData.frameRate,0)}function i(e,t){if(!this.k)return this.pv;if(e=.5*(e||.4),(t=Math.floor(t||5))<=1)return this.pv;var i,r,s=this.comp.renderedFrame/this.comp.globalData.frameRate,n=s-e,a=t>1?(s+e-n)/(t-1):1,o=0,l=0;for(i=this.pv.length?createTypedArray("float32",this.pv.length):0;o<t;){if(r=this.getValueAtTime(n+o*a),this.pv.length)for(l=0;l<this.pv.length;l+=1)i[l]+=r[l];else i+=r;o+=1}if(this.pv.length)for(l=0;l<this.pv.length;l+=1)i[l]/=t;else i/=t;return i}function r(e){this._transformCachingAtTime||(this._transformCachingAtTime={v:new Matrix});var t=this._transformCachingAtTime.v;if(t.cloneFromProps(this.pre.props),this.appliedTransformations<1){var i=this.a.getValueAtTime(e);t.translate(-i[0]*this.a.mult,-i[1]*this.a.mult,i[2]*this.a.mult)}if(this.appliedTransformations<2){var r=this.s.getValueAtTime(e);t.scale(r[0]*this.s.mult,r[1]*this.s.mult,r[2]*this.s.mult)}if(this.sk&&this.appliedTransformations<3){var s=this.sk.getValueAtTime(e),n=this.sa.getValueAtTime(e);t.skewFromAxis(-s*this.sk.mult,n*this.sa.mult)}if(this.r&&this.appliedTransformations<4){var a=this.r.getValueAtTime(e);t.rotate(-a*this.r.mult)}else if(!this.r&&this.appliedTransformations<4){var o=this.rz.getValueAtTime(e),l=this.ry.getValueAtTime(e),h=this.rx.getValueAtTime(e),u=this.or.getValueAtTime(e);t.rotateZ(-o*this.rz.mult).rotateY(l*this.ry.mult).rotateX(h*this.rx.mult).rotateZ(-u[2]*this.or.mult).rotateY(u[1]*this.or.mult).rotateX(u[0]*this.or.mult)}if(this.data.p&&this.data.p.s){var c=this.px.getValueAtTime(e),d=this.py.getValueAtTime(e);if(this.data.p.z){var p=this.pz.getValueAtTime(e);t.translate(c*this.px.mult,d*this.py.mult,-p*this.pz.mult)}else t.translate(c*this.px.mult,d*this.py.mult,0)}else{var f=this.p.getValueAtTime(e);t.translate(f[0]*this.p.mult,f[1]*this.p.mult,-f[2]*this.p.mult)}return t}function s(){return this.v.clone(new Matrix)}var n=TransformPropertyFactory.getTransformProperty;TransformPropertyFactory.getTransformProperty=function(e,t,i){var a=n(e,t,i);return a.dynamicProperties.length?a.getValueAtTime=r.bind(a):a.getValueAtTime=s.bind(a),a.setGroupProperty=expressionHelpers.setGroupProperty,a};var a=PropertyFactory.getProp;PropertyFactory.getProp=function(r,s,n,o,l){var h=a(r,s,n,o,l);h.kf?h.getValueAtTime=expressionHelpers.getValueAtTime.bind(h):h.getValueAtTime=expressionHelpers.getStaticValueAtTime.bind(h),h.setGroupProperty=expressionHelpers.setGroupProperty,h.loopOut=e,h.loopIn=t,h.smooth=i,h.getVelocityAtTime=expressionHelpers.getVelocityAtTime.bind(h),h.getSpeedAtTime=expressionHelpers.getSpeedAtTime.bind(h),h.numKeys=1===s.a?s.k.length:0,h.propertyIndex=s.ix;var u=0;return 0!==n&&(u=createTypedArray("float32",1===s.a?s.k[0].s.length:s.k.length)),h._cachingAtTime={lastFrame:initialDefaultFrame,lastIndex:0,value:u},expressionHelpers.searchExpressions(r,s,h),h.k&&l.addDynamicProperty(h),h};var o=ShapePropertyFactory.getConstructorFunction(),l=ShapePropertyFactory.getKeyframedConstructorFunction();function h(){}h.prototype={vertices:function(e,t){this.k&&this.getValue();var i,r=this.v;void 0!==t&&(r=this.getValueAtTime(t,0));var s=r._length,n=r[e],a=r.v,o=createSizedArray(s);for(i=0;i<s;i+=1)o[i]="i"===e||"o"===e?[n[i][0]-a[i][0],n[i][1]-a[i][1]]:[n[i][0],n[i][1]];return o},points:function(e){return this.vertices("v",e)},inTangents:function(e){return this.vertices("i",e)},outTangents:function(e){return this.vertices("o",e)},isClosed:function(){return this.v.c},pointOnPath:function(e,t){var i=this.v;void 0!==t&&(i=this.getValueAtTime(t,0)),this._segmentsLength||(this._segmentsLength=bez.getSegmentsLength(i));for(var r,s=this._segmentsLength,n=s.lengths,a=s.totalLength*e,o=0,l=n.length,h=0;o<l;){if(h+n[o].addedLength>a){var u=o,c=i.c&&o===l-1?0:o+1,d=(a-h)/n[o].addedLength;r=bez.getPointInSegment(i.v[u],i.v[c],i.o[u],i.i[c],d,n[o]);break}h+=n[o].addedLength,o+=1}return r||(r=i.c?[i.v[0][0],i.v[0][1]]:[i.v[i._length-1][0],i.v[i._length-1][1]]),r},vectorOnPath:function(e,t,i){1==e?e=this.v.c:0==e&&(e=.999);var r=this.pointOnPath(e,t),s=this.pointOnPath(e+.001,t),n=s[0]-r[0],a=s[1]-r[1],o=Math.sqrt(Math.pow(n,2)+Math.pow(a,2));return 0===o?[0,0]:"tangent"===i?[n/o,a/o]:[-a/o,n/o]},tangentOnPath:function(e,t){return this.vectorOnPath(e,t,"tangent")},normalOnPath:function(e,t){return this.vectorOnPath(e,t,"normal")},setGroupProperty:expressionHelpers.setGroupProperty,getValueAtTime:expressionHelpers.getStaticValueAtTime},extendPrototype([h],o),extendPrototype([h],l),l.prototype.getValueAtTime=function(e){return this._cachingAtTime||(this._cachingAtTime={shapeValue:shapePool.clone(this.pv),lastIndex:0,lastTime:initialDefaultFrame}),e*=this.elem.globalData.frameRate,(e-=this.offsetTime)!==this._cachingAtTime.lastTime&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastTime<e?this._caching.lastIndex:0,this._cachingAtTime.lastTime=e,this.interpolateShape(e,this._cachingAtTime.shapeValue,this._cachingAtTime)),this._cachingAtTime.shapeValue},l.prototype.initiateExpression=ExpressionManager.initiateExpression;var u=ShapePropertyFactory.getShapeProp;ShapePropertyFactory.getShapeProp=function(e,t,i,r,s){var n=u(e,t,i,r,s);return n.propertyIndex=t.ix,n.lock=!1,3===i?expressionHelpers.searchExpressions(e,t.pt,n):4===i&&expressionHelpers.searchExpressions(e,t.ks,n),n.k&&e.addDynamicProperty(n),n}}function initialize$1(){addPropertyDecorator()}function addDecorator(){TextProperty.prototype.getExpressionValue=function(e,t){var i=this.calculateExpression(t);if(e.t!==i){var r={};return this.copyData(r,e),r.t=i.toString(),r.__complete=!1,r}return e},TextProperty.prototype.searchProperty=function(){var e=this.searchKeyframes(),t=this.searchExpressions();return this.kf=e||t,this.kf},TextProperty.prototype.searchExpressions=function(){return this.data.d.x?(this.calculateExpression=ExpressionManager.initiateExpression.bind(this)(this.elem,this.data.d,this),this.addEffect(this.getExpressionValue.bind(this)),!0):null}}function initialize(){addDecorator()}return registerRenderer("canvas",CanvasRenderer),registerRenderer("html",HybridRenderer),registerRenderer("svg",SVGRenderer),ShapeModifiers.registerModifier("tm",TrimModifier),ShapeModifiers.registerModifier("pb",PuckerAndBloatModifier),ShapeModifiers.registerModifier("rp",RepeaterModifier),ShapeModifiers.registerModifier("rd",RoundCornersModifier),setExpressionsPlugin(Expressions),initialize$1(),initialize(),registerEffect(20,SVGTintFilter,!0),registerEffect(21,SVGFillFilter,!0),registerEffect(22,SVGStrokeEffect,!1),registerEffect(23,SVGTritoneFilter,!0),registerEffect(24,SVGProLevelsFilter,!0),registerEffect(25,SVGDropShadowEffect,!0),registerEffect(28,SVGMatte3Effect,!1),registerEffect(29,SVGGaussianBlurEffect,!0),lottie}))},function(e,t){(function(t){e.exports=t}).call(this,{})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ConfirmationError64=void 0,t.ConfirmationError64={v:"5.6.10",fr:60,ip:0,op:91,w:64,h:64,nm:"Error 40",ddd:0,assets:[],layers:[{ddd:0,ind:1,ty:3,nm:"Controller",sr:1,ks:{o:{a:0,k:0,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[32.438,31.125,0],ix:2},a:{a:0,k:[60,60,0],ix:1},s:{a:1,k:[{i:{x:[.593,.593,.2],y:[1,1,1]},o:{x:[.998,.998,.5],y:[0,0,0]},t:30,s:[100,100,100]},{i:{x:[.2,.2,.2],y:[1,1,1]},o:{x:[.719,.719,.5],y:[0,0,0]},t:49,s:[112,112,100]},{t:63,s:[100,100,100]}],ix:6}},ao:0,ip:30,op:210,st:-90,bm:0},{ddd:0,ind:2,ty:4,nm:"Dot",parent:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[59.562,69.875,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ty:"rc",d:1,s:{a:1,k:[{i:{x:[.2,.2],y:[1,1]},o:{x:[.5,.5],y:[0,0]},t:41,s:[0,0]},{t:48,s:[4,4]}],ix:2},p:{a:0,k:[0,0],ix:3},r:{a:0,k:0,ix:4},nm:"Rectangle Path 1",mn:"ADBE Vector Shape - Rect",hd:!1},{ty:"fl",c:{a:0,k:[.75686275959,.0941176489,.149019613862,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:".colorBrandedErrorFill",mn:"ADBE Vector Graphic - Fill",hd:!1,cl:"colorBrandedErrorFill"},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Rectangle 1",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:41,op:180,st:11,bm:0},{ddd:0,ind:3,ty:4,nm:"Bar",parent:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{s:!0,x:{a:0,k:59.533,ix:3},y:{a:1,k:[{i:{x:[.34],y:[1]},o:{x:[.88],y:[0]},t:30,s:[52.875]},{i:{x:[0],y:[1]},o:{x:[.172],y:[0]},t:48,s:[57.875]},{i:{x:[.697],y:[.724]},o:{x:[.157],y:[0]},t:55,s:[56.875]},{i:{x:[.778],y:[1]},o:{x:[.428],y:[.618]},t:67,s:[56.792]},{t:69,s:[56.783]}],ix:4}},a:{a:0,k:[.13,-5.083,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0]],o:[[0,0],[0,0]],v:[[.132,-12.666],[.152,1.963]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"tm",s:{a:0,k:0,ix:1},e:{a:1,k:[{i:{x:[.2],y:[1]},o:{x:[.5],y:[0]},t:30,s:[0]},{t:50,s:[100]}],ix:2},o:{a:0,k:0,ix:3},m:1,ix:2,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1},{ty:"st",c:{a:0,k:[.756862745098,.094117647059,.149019607843,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:4,ix:5},lc:1,lj:1,ml:4,bm:0,nm:".colorBrandedErrorStroke",mn:"ADBE Vector Graphic - Stroke",hd:!1,cl:"colorBrandedErrorStroke"},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Shape 1",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:30,op:180,st:0,bm:0},{ddd:0,ind:4,ty:4,nm:"Fill circle",parent:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:0,s:[0]},{t:90,s:[418]}],ix:10},p:{a:0,k:[59.562,60.875,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{d:1,ty:"el",s:{a:0,k:[40,40],ix:2},p:{a:0,k:[0,0],ix:3},nm:"Ellipse Path 1",mn:"ADBE Vector Shape - Ellipse",hd:!1},{ty:"tm",s:{a:1,k:[{i:{x:[.2],y:[1]},o:{x:[.5],y:[0]},t:0,s:[0]},{t:30,s:[0]}],ix:1},e:{a:1,k:[{i:{x:[.2],y:[1]},o:{x:[.5],y:[0]},t:0,s:[16]},{t:30,s:[100]}],ix:2},o:{a:0,k:0,ix:3},m:1,ix:2,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1},{ty:"st",c:{a:0,k:[.756862745098,.094117647059,.149019607843,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:4,ix:5},lc:1,lj:1,ml:4,bm:0,nm:".colorBrandedErrorStroke",mn:"ADBE Vector Graphic - Stroke",hd:!1,cl:"colorBrandedErrorStroke"},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Ellipse 1",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:180,st:-90,bm:0}],markers:[]}},function(e,t,i){"use strict";i.r(t);var r=i(217),s=i(48);for(var n in s)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return s[e]}))}(n);i(335);var a=i(0),o=Object(a.a)(s.default,r.a,r.b,!1,null,"7d3e7582",null);t.default=o.exports},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UserLookupType=void 0,function(e){e[e.None=0]="None",e[e.Retail=1]="Retail",e[e.Business=2]="Business"}(t.UserLookupType||(t.UserLookupType={}))},function(e,t,i){"use strict";i.r(t);var r=i(201),s=i(58);for(var n in s)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return s[e]}))}(n);i(331);var a=i(0),o=Object(a.a)(s.default,r.a,r.b,!1,null,"b1f66e40",null);t.default=o.exports},function(e,t,i){"use strict";i.r(t);var r=i(218),s=i(60);for(var n in s)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return s[e]}))}(n);var a=i(0),o=Object(a.a)(s.default,r.a,r.b,!1,null,"c778b9ec",null);t.default=o.exports},function(e,t,i){var r={"./":19,"./Biometric":254,"./Biometric.vue":254,"./EmailCode":255,"./EmailCode.vue":255,"./PushNotification":257,"./PushNotification.vue":257,"./QuestionsAndAnswers":258,"./QuestionsAndAnswers.vue":258,"./SmsCode":259,"./SmsCode.vue":259,"./StepUpOption":155,"./StepUpOption.vue":155,"./TOTP":260,"./TOTP.vue":260,"./Token":262,"./Token.vue":262,"./Unknown":263,"./Unknown.vue":263,"./VoiceCode":264,"./VoiceCode.vue":264,"./VoicePrompt":265,"./VoicePrompt.vue":265,"./WebAuthn":266,"./WebAuthn.vue":266,"./index":19,"./index.ts":19};function s(e){var t=n(e);return i(t)}function n(e){if(!i.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}s.keys=function(){return Object.keys(r)},s.resolve=n,e.exports=s,s.id=299},function(e){e.exports=JSON.parse('{"v":"5.6.10","fr":60,"ip":0,"op":90,"w":40,"h":40,"nm":"Circle-40-Indeterminate","ddd":0,"assets":[],"layers":[{"ddd":0,"ind":1,"ty":4,"nm":"Indeterminate Progress","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":0,"s":[0]},{"t":90,"s":[418]}],"ix":10},"p":{"a":0,"k":[20,20,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"d":1,"ty":"el","s":{"a":0,"k":[38,38],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"nm":"Ellipse Path 1","mn":"ADBE Vector Shape - Ellipse","hd":false},{"ty":"tm","s":{"a":1,"k":[{"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[0]},"t":24,"s":[0]},{"t":90,"s":[84]}],"ix":1},"e":{"a":1,"k":[{"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[0]},"t":0,"s":[16]},{"t":71.654296875,"s":[100]}],"ix":2},"o":{"a":0,"k":0,"ix":3},"m":1,"ix":2,"nm":"Trim Paths 1","mn":"ADBE Vector Filter - Trim","hd":false},{"ty":"st","c":{"a":0,"k":[0,0.458823531866,0.290196090937,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":2,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":".colorBrandedGuidanceAccessibleStroke","mn":"ADBE Vector Graphic - Stroke","hd":false,"cl":"colorBrandedGuidanceAccessibleStroke"},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Indicator","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":90,"st":0,"bm":0}],"markers":[]}')},function(e,t,i){"use strict";i.r(t);var r=i(205),s=i(149);for(var n in s)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return s[e]}))}(n);var a=i(0),o=Object(a.a)(s.default,r.a,r.b,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=i(303),s=i(304),n=["https://staging-iris.alkamitech.com/cdn/iris-vue/latest/iris-components.shim.desktop.min.css","https://iris.alkamitech.com/cdn/iris-foundation/latest/iris-foundation.min.css","https://staging-iris.alkamitech.com/cdn/iris-vue/latest/iris-components.min.css"],a=["https://staging-iris.alkamitech.com/cdn/iris-vue/latest/iris-vue.umd.min.js"];t.default=async function(){window.Cypress&&((0,s.setupSiteText)(),await(0,r.injectResources)({jsToInject:a,cssToInject:n,injectLottie:!0}))}},function(e,t,i){"use strict";function r(e){return new Promise((t,i)=>{e.addEventListener("load",()=>{t()}),e.addEventListener("error",()=>{i(new Error("Unable to load resource."))})})}Object.defineProperty(t,"__esModule",{value:!0}),t.injectResources=void 0,t.injectResources=async function(e){const t=[];e.jsToInject&&t.push(e.jsToInject.reduce(async(e,t)=>{const i=function(e){const t=document.createElement("script");return t.type="text/javascript",t.src=e,t}(t),s=r(i);return document.body.appendChild(i),await s},Promise.resolve())),e.cssToInject&&t.push(e.cssToInject.reduce(async(e,t)=>{const i=function(e){const t=document.createElement("link");return t.rel="stylesheet",t.type="text/css",t.href=e,t}(t),s=r(i);return document.head.appendChild(i),await s},Promise.resolve())),e.injectLottie&&(window.lottie={loadAnimation:e=>(e.container.innerHTML="<div>A Fake lottie animation</div>",{setSpeed:e=>{}})}),await Promise.all(t)}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setupSiteText=t.mockSiteTextMap=void 0;const r={"UsernameAndPassword.Header":"Welcome to Online Banking!","UsernameAndPassword.TextField.Username.Label":"Username","UsernameAndPassword.TextField.Username.Required":"Username is required","UsernameAndPassword.TextField.Password.Label":"Password","UsernameAndPassword.TextField.Password.Required":"Password is required","UsernameAndPassword.Link.Forgot":"Forgot Username or Password?","UsernameAndPassword.Link.Forgot.UsernameAndPassword":"Forgot {linku}Username{linku} or {linkp}Password{linkp}?","UsernameAndPassword.Link.Forgot.Username":"{linku}Forgot Username{linku}?","UsernameAndPassword.Link.Forgot.Password":"{linkp}Forgot Password{linkp}?","UsernameAndPassword.Link.Forgot.Forgot":"Forgot","UsernameAndPassword.Link.Forgot.Or":"or","UsernameAndPassword.Link.Forgot.QuestionMark":"?","UsernameAndPassword.Link.ForgotUsername":"Forgot Username","UsernameAndPassword.Link.ForgotPassword":"Forgot Password","UsernameAndPassword.Button.Login":"Login","UsernameAndPassword.Button.Register":"Register a New Account","DigitalAccountOpening.DisplayLink.Label":"Become a Member","DigitalAccountOpening.DisplayLink.URL":"http://www.google.com","UsernameAndPassword.Desktop.SideBar.Header":"On a mobile device?","UsernameAndPassword.Desktop.SideBar.Text":"Download the app for convenient and secure access to your accounts.","UsernameAndPassword.Desktop.SideBar.List.First.Icon":"touchid","UsernameAndPassword.Desktop.SideBar.List.First.Header":"Biometric Login","UsernameAndPassword.Desktop.SideBar.List.First.Text":"Use your device hardware","UsernameAndPassword.Desktop.SideBar.List.Second.Icon":"atm","UsernameAndPassword.Desktop.SideBar.List.Second.Header":"Nearby ATMs","UsernameAndPassword.Desktop.SideBar.List.Second.Text":"Enable location services","UsernameAndPassword.Desktop.SideBar.List.Third.Icon":"phone2","UsernameAndPassword.Desktop.SideBar.List.Third.Header":"Snapshot","UsernameAndPassword.Desktop.SideBar.List.Third.Text":"Preview accounts without login","UsernameAndPassword.Desktop.SideBar.Link.ToMobile":"Go to mobile site","StepUp.OneTimeCode.Header":"Enter Code","StepUp.OneTimeCode.DisplayInput.ActionText":"Enter Code","StepUp.OneTimeCode.DisplayInput.HelperText":"Code will expire in {0} minutes","StepUp.OneTimeCode.Button.Verify":"Verify","StepUp.Verification.Header":"Verification needed","StepUp.Verification.HelperText":"Choose a verification method","CodeStepup.Button.SendCode":"Send code","MFA.Button.Navigate.Back":"Back","RememberDevice.RememberThisDevice":"Remember this device","RememberDevice.DeviceName":"Device name","StepUp.Token.Button.Verify":"Verify","StepUp.Token.DisplayInput.ActionText":"Enter code","StepUp.TOTP.DisplayInput.HelperText":"Enter code shown in your two-factor authentication app","StepUp.Token.DisplayInput.HelperText":"Enter code shown in your Entrust Token App","CodeStepup.Destination.SendCodeTo":"Send code to","CodeStepup.Verify.ResendCode":"Resend code","CodeStepup.Verify.CodeSent":"Code sent","CodeStepup.Verify.Phone.CodeSent":"A 6-digit code has been sent to your phone number ending in {0}","CodeStepup.Verify.Email.CodeSent":"A 6-digit code has been sent to your email {0}","Stepup.Icon.Label.SMS":"SMS","Stepup.Icon.Label.EmailCode":"Email","Stepup.Icon.Label.VoiceCode":"Call","Stepup.Icon.Label.TOTP":"2FA","Stepup.Icon.Label.Token":"Token","Stepup.Icon.Label.Unknown":"Unknown","ChallengeStatus.InvalidCredentials":"Invalid Credentials!","ChallengeStatus.LockedOut":"Your account is locked. To reset it, click forgot password.","ChallengeStatus.LockedOutinExternalIdentityProvider":"Your account is locked. Call the call-center for assistance with your account.","ChallengeStatus.InvalidOneTimeCode":"Invalid code","ChallengeStatus.InvalidCaptchaResponse":"Invalid CAPTCHA response","ChallengeStatus.OTPExpired":"Your code has expired. Please request a new one.","ChallengeStatus.DeclinedByRisk":"Your request has been declined.","ChallengeStatus.SessionExpired":"Your session has expired.","ChallengeStatus.TemporaryPasswordExpired":"Your temporary password has expired. To reset it, click forgot password.","Error.Generic":"An unexpected error has occurred. Please try again later.","AppStore.Link":"/appStore","GooglePlay.Link":"/playStore","Sync.Header":"Loading your accounts","Sync.SyncError.Header":"Sync failed","Sync.SyncError.Button.Back":"Login Sync Error Button","ForgotPassword.SyncError.Button.Back":"ForgotPassword Sync Error Button","Sync.SyncError.AEC.Unknown":"AEC.Unknown encountered","Sync.SyncError.AEC.ProviderError":"AEC.ProviderError encountered","Sync.SyncError.AEC.UnhandledProviderException":"AEC.UnhandledProviderException encountered","Sync.SyncError.AEC.AccountTypeNotFound":"AEC.AccountTypeNotFound encountered","Sync.SyncError.AEC.TimeOut":"AEC.TimeOut encountered","Sync.SyncError.AEC.MemberIsNotEligibleToLogin":"AEC.MemberIsNotEligibleToLogin encountered","Sync.SyncError.AEC.CacheExpired":"AEC.CacheExpired encountered","Tethered.Loading":"Redirecting you to online banking...","UsernameAndPassword.RememberUsername.Label":"Remember Me","UsernameAndPassword.RememberUsername.Desktop.Message":"Do not select if you are using a public computer.","UsernameAndPassword.InfoPanel.Ellipsis.IconName":"info","UsernameAndPassword.InfoPanel.Ellipsis.Label":"Ellipsis Info Link","UsernameAndPassword.InfoPanel.Header.Label":"Info Panel Header Label","RememberDevice.Unavailable.Mandatory2fa":"Mandatory Two Factor Authentication has been enabled.","ForgotWorkflow.Close.Confirm.Header":"Are you sure you want to quit?","ForgotPassword.Close.Confirm.Text":"You will need to go through the forgot password flow again to reset password.","ForgotPassword.Close.Text":"Cancel forgot password recovery","ForgotUsername.Close.Confirm.Text":"You will need to go through the forgot username flow again to recover your username.","ForgotUsername.Close.Text":"Cancel forgot username recovery","ForgotWorkflow.Close.Confirm.Button.Text":"Yes","ForgotWorkflow.Close.Cancel.Button.Text":"Cancel","ForgotWorkflow.Disclosure.AcceptCheckbox.Label":"I Accept","ForgotWorkflow.ActionButtonText":"Continue","ForgotWorkflow.Disclosure.Mobile.Heading":"Please accept the disclosure","ForgotUsername.ChooseScenario.Heading":"I want to","ForgotUsername.ChooseScenario.Retail Forgot Username.Text":"Find My Personal Username","ForgotUsername.ChooseScenario.Retail Forgot Username.Description":"Choose this if you are an individual and you forgot your username","ForgotUsername.ChooseScenario.Business Forgot Username.Text":"Find My Business Username","ForgotUsername.ChooseScenario.Business Forgot Username.Description":"Choose this if you are a business and you forgot your username","ForgotUsername.Complete.Heading":"Your username is","ForgotUsername.Complete.Button.Text":"Login","ForgotPassword.ChooseScenario.Heading":"I want to","ForgotPassword.ChooseScenario.Forgot Password.Text":"Reset My Password","ForgotPassword.ChooseScenario.Forgot Password.Description":"Choose this if you're an individual or a business and forgot your password","ForgotPassword.ChooseScenario.Business Sub User Forgot Password.Text":"Reset My Business Sub User Password","ForgotPassword.ChooseScenario.Business Sub User Forgot Password.Description":"Choose this if you are a business sub user and you forgot your password","ForgotUsername.Challenge.Heading":"Forgot Username","ForgotUsername.ConfirmIdentity.Heading":"Verify your identity","ForgotUsername.ConfirmIdentity.Notification":"","ForgotUsername.UserIdentifyingFieldGroup.1.Text":"The following information is used to verify you have an account with us and that you are the owner of the account. We match your answers against our records.","ForgotUsername.UserIdentifyingFieldGroup.2.Text":"Answer any one of the questions below","ForgotPassword.Challenge.Heading":"Forgot Password","ForgotPassword.ConfirmIdentity.Heading":"Verify your identity","ForgotPassword.ConfirmIdentity.Notification":"","ForgotPassword.UserIdentifyingFieldGroup.1.Text":"The following information is used to verify you have an account with us and that you are the owner of the account. We match your answers against our records.","ForgotPassword.UserIdentifyingFieldGroup.2.Text":"Answer any one of the questions below","UserIdentifyingField.Required":"Input is required","UserIdentifyingField.ErrorMessage":"Invalid input","UserIdentifyingField.Optional":"(Optional)","UserIdentifyingField.LastName.Label":"Last Name","UserIdentifyingField.LastName.HelperText":"","UserIdentifyingField.EIN.Label":"EIN","UserIdentifyingField.EIN.HelperText":"","UserIdentifyingField.EIN.ErrorMessage":"","UserIdentifyingField.AccountNumber.Label":"Account Number","UserIdentifyingField.AccountNumber.HelperText":"","UserIdentifyingField.AccountNumber.ErrorMessage":"","UserIdentifyingField.DebitCardNumber.Label":"Debit Card Number","UserIdentifyingField.DebitCardNumber.HelperText":"","UserIdentifyingField.DebitCardNumber.ErrorMessage":"","UserIdentifyingField.CreditCardNumber.Label":"Credit Card Number","UserIdentifyingField.CreditCardNumber.HelperText":"","UserIdentifyingField.CreditCardNumber.ErrorMessage":"","UserIdentifyingField.Username.Label":"Confirm Username","UserIdentifyingField.Username.HelperText":"","UserIdentifyingField.TaxId.Label":"Social Security Number","UserIdentifyingField.TaxId.HelperText":"","UserIdentifyingField.TaxId.ErrorMessage":"Invalid {0}","UserIdentifyingField.DateOfBirth.Label":"Date of Birth","UserIdentifyingField.DateOfBirth.HelperText":"","UserIdentifyingField.DateOfBirth.ErrorMessage":"Invalid {0}","UserIdentifyingField.FirstName.Label":"First Name","UserIdentifyingField.FirstName.HelperText":"","UserIdentifyingField.MiddleName.Label":"Middle Name","UserIdentifyingField.MiddleName.HelperText":"","UserIdentifyingField.Suffix.Label":"Suffix","UserIdentifyingField.Suffix.HelperText":"","UserIdentifyingField.HomePhone.Label":"Home Phone","UserIdentifyingField.HomePhone.HelperText":"","UserIdentifyingField.WorkPhone.Label":"Work Phone","UserIdentifyingField.WorkPhone.HelperText":"","UserIdentifyingField.CellPhone.Label":"Cell Phone","UserIdentifyingField.CellPhone.HelperText":"","UserIdentifyingField.Address.Label":"Address","UserIdentifyingField.Address.HelperText":"","UserIdentifyingField.City.Label":"City","UserIdentifyingField.City.HelperText":"","UserIdentifyingField.State.Label":"State","UserIdentifyingField.State.HelperText":"","UserIdentifyingField.ZipCode.Label":"ZipCode","UserIdentifyingField.ZipCode.HelperText":"","UserIdentifyingField.PlaceOfBirth.Label":"Place of Birth","UserIdentifyingField.PlaceOfBirth.HelperText":"","UserIdentifyingField.MothersMaidenName.Label":"Mother's Maiden Name","UserIdentifyingField.MothersMaidenName.HelperText":"","UserIdentifyingField.AccountType.Label":"Account Type","UserIdentifyingField.AccountType.HelperText":"","UserIdentifyingField.IsBusiness.Label":"Is Business","UserIdentifyingField.IsBusiness.HelperText":"","UserIdentifyingField.Password.Label":"Password","UserIdentifyingField.Password.HelperText":"","UserIdentifyingField.None.Label":"None","UserIdentifyingField.None.HelperText":"","UserIdentifyingField.MemberNumber.Label":"Member Number","UserIdentifyingField.MemberNumber.HelperText":"","UserIdentifyingField.Email.Label":"Email","UserIdentifyingField.Email.HelperText":"","UserIdentifyingField.DriversLicenseNumber.Label":"Drivers License Number","UserIdentifyingField.DriversLicenseNumber.HelperText":"","UserIdentifyingField.CustomField.Label":"Custom Field","UserIdentifyingField.CustomField.HelperText":"","UserIdentifyingField.AccountHolderNumber.Label":"Account Holder Number","UserIdentifyingField.AccountHolderNumber.HelperText":"","UserIdentifyingField.Codeword.Label":"Codeword","UserIdentifyingField.Codeword.HelperText":"","UserIdentifyingField.PIN.Label":"PIN","UserIdentifyingField.PIN.HelperText":"","UserIdentifyingField.BusinessFirstName.Label":"Business First Name","UserIdentifyingField.BusinessFirstName.HelperText":"","UserIdentifyingField.BusinessLastName.Label":"Business Last Name","UserIdentifyingField.BusinessLastName.HelperText":"","UserIdentifyingField.BusinessName.Label":"Business Name","UserIdentifyingField.BusinessName.HelperText":"","ForgotPassword.StepUp.Heading":"Password reset method","ForgotUsername.StepUp.Heading":"Username recovery method","Forgot.SMS.Label":"SMS Text","Forgot.SMS.Description":"A one-time code will be sent to your mobile phone.","Forgot.SMS.Dropdown.Label":"Select Phone Number","Forgot.Token.Label":"Token","Forgot.Token.Description":"A one-time code generated through Entrust.","Forgot.VoiceCall.Label":"Voice Call","Forgot.VoiceCall.Description":"You will get a call that reads a one-time code to you.","Forgot.VoiceCall.Dropdown.Label":"Select Phone Number","Forgot.TOTP.Label":"Time-Based One Time Passcode","Forgot.TOTP.Description":"A one-time passcode generated on your security application.","Forgot.Email.Label":"Email","Forgot.Email.Description":"A one-time code will be sent to your email address.","Forgot.Email.Dropdown.Label":"Select Email","ForgotPassword.VerificationCode.Heading":"Verification Code","ForgotUsername.VerificationCode.Heading":"Verification Code","Forgot.VerificationCode.SubHeading.Email":"A 6-digit code has been sent to your email.","Forgot.VerificationCode.SubHeading.Token":"Enter the 8 digit code for your Token.","Forgot.VerificationCode.SubHeading.Phone":"A 6-digit code has been sent to your phone number.","Forgot.VerificationCode.SubHeading.TOTP":"Enter the 6 digit time-based one time passcode from your security application.","Forgot.VerificationCode.EnterCode":"Enter Code","Forgot.VerificationCode.HelperText.Expiration":"Code will expire in 5 minutes","Forgot.VerificationCode.HelperText.Token":"Enter code shown in your Entrust token app","Forgot.VerificationCode.HelperText.TOTP":"Enter code shown in your two - factor authentication app","Forgot.VerificationCode.ResendCode":"Resend code","Forgot.VerificationCode.CodeSent":"Code sent","Forgot.VerificationCode.Or":"or","Forgot.VerificationCode.ChangeMethod":"Change method","Forgot.VerificationCode.Verify":"Verify","Forgot.Progressbar.Heading":"Step {0} of {1}","ForgotUsername.ChallengeStatus.UnableToLocateUser":"Unable to locate user, forgot username flow. Reference Code: 12345","ForgotPassword.ChallengeStatus.UnableToLocateUser":"Unable to locate user, forgot password flow. Reference Code: 12345","ForgotUsername.ChallengeStatus.MaximumAttemptsReached":"Username - Maximum number of lookup attempts reached.","ForgotPassword.ChallengeStatus.MaximumAttemptsReached":"Password - Maximum number of lookup attempts reached.","Registration.ChallengeStatus.MaximumAttemptsReached":"Registration - Maximum number of lookup attempts reached.","Registration.ChooseScenario.Heading":"I want to","Registration.ChooseScenario.Retail Registration.Text":"Register to my individual account","Registration.ChooseScenario.Retail Registration.Description":"Select this if you have a personal account","Registration.ChooseScenario.Business Registration.Text":"Register to my business account","Registration.ChooseScenario.Business Registration.Description":"Select this if you have a business account","Registration.ActionButtonText":"Next","Registration.Disclosure.AcceptCheckbox.Label":"I agree","Registration.ConfirmIdentity.Heading":"Confirm Your Identity","Registration.ConfirmIdentity.Notification":"","Registration.UserIdentifyingFieldGroup.1.Text":"The following information is used to verify you have an account with FI Central and that you are the owner of the account. We match your answers against our records.","Registration.UserIdentifyingFieldGroup.2.Text":"Answer any one of the questions below","Registration.Close.Confirm.Text":"You will need to go through the registration flow again to register your account","Registration.Close.Text":"Cancel registration","Registration.StepUp.Heading":"Verify Your Identity","Registration.Progressbar.Heading":"Step {0} of {1}","Registration.VerificationCode.Heading":"Verification Code","Registration.ChallengeStatus.UnableToLocateUser":"We are unable to locate your account. The information you provided does not match out records. Please try again. Reference Code: 12345","Registration.Disclosure.Heading":"Disclosure","Registration.PDF.Heading":"PDF access confirmation","Registration.PDF.Instructions":"Before you proceed, we need to make sure you can open PDF documents.","Registration.PDF.OpenPDF":"Open PDF","Registration.PDF.VerifyCode":"Copy the 5 character code into the text below.","Registration.PDF.AccessCodeLabel":"Access Code","Registration.PDF.Error":"We are unable to verify your PDF confirmation. Please use the Open PDF link to open the PDF and copy the provided code.","Registration.Disclosure.HtmlBeforeRegistrationDisclosure":"","Registration.Disclosure.HtmlBeforeBusinessRegistrationDisclosure":"","Global.Disclosures.Registration.LabelFor.AgreementCheckbox":"I agree","Registration.ButtonText.Continue":"Continue","ChallengeStatus.Error":"An unexpected error has occurred. Please try again later.","Registration.CreateUsername.Heading":"Create Username","Registration.CreateUsername.SubHeading":"Create a unique, alphanumeric username between 6 and 10 characters in length.","Registration.CreateUsername.Input.Label":"Username","Registration.CreateUsername.Input.Unavailable":"Username unavailable","Registration.CreateUsername.Input.Required":"This input field is required (English)","Registration.CreateUsername.Input.Invalid":"Username is invalid","Registration.CreateUsername.Input.InvalidLength":"Username must be between 6 and 30 characters in length.","Registration.CreateUsername.Input.Available":"Username available","Registration.CreateUsername.Suggestions":"Enter a new username or choose from the following options:","Registration.CreateUsername.Suggestions.Exceeded":"You have exceeded your limit attempts.  Choose a username from the following:","Registration.ButtonText.CreateUsername":"Create Username","Registration.ChallengeStatus.GenericError":"An unexpected error has occurred. Please try again later.  Reference code: {0}","Registration.ChallengeStatus.InsufficientContactInformation":"To log in to your account your contact information needs to be on file with your financial institution. Call the call-center to add your contact information.","Registration.CreateUser.Heading":"Create Password","Registration.CreateUser.Subheading":"Your password must be at least 8 characters long and contain at least one uppercase letter and one number.","Registration.CreateUser.PasswordStrength.Weak":"Password strength is Weak","Registration.CreateUser.PasswordStrength.Fair":"Password strength is Fair","Registration.CreateUser.PasswordStrength.Strong":"Password strength is Strong","Registration.CreateUser.PasswordMatches":"Password matches","Registration.CreateUser.PasswordDoesNotMatch":"Password does not match","Registration.CreateUser.InvalidPassword":"Password does not meet the requirements","Registration.CreateUser.PasswordIncludesUsername":"Username can not be used in password","Registration.CreateUser.ButtonText":"Create Password","Registration.CreateUser.TextField.Password.Label":"Password","Registration.CreateUser.TextField.ConfirmPassword.Label":"Confirm password","Registration.CreateUser.PasswordDoesNotMeetRequirements":"The password does not meet the requirements","Registration.Input.Required":"This input field is required","Registration.UpdateBusiness.Heading":"Business Information","Registration.UpdateBusiness.Subheading":"Enter your business information to register your business account for online banking.","Registration.UpdateBusiness.Input.BusinessName":"Business Name","Registration.UpdateBusiness.Input.BusinessPhone":"Business Phone","Registration.UpdateBusiness.Input.BusinessPhoneType":"Type of Number","Registration.UpdateBusiness.Input.BusinessAddressLine1":"Business Address 1","Registration.UpdateBusiness.Input.BusinessAddressLine2":"Business Address 2","Registration.UpdateBusiness.Input.BusinessCity":"City","Registration.UpdateBusiness.Input.BusinessState":"State","Registration.UpdateBusiness.Input.BusinessZip":"Zip","Registration.UpdateBusiness.Input.BusinessEin":"EIN","Registration.UpdateBusiness.PhoneTypes.Home":"Home","Registration.UpdateBusiness.PhoneTypes.Mobile":"Mobile","Registration.UpdateBusiness.PhoneTypes.Work":"Work","Registration.UpdateBusiness.Errors.Phone":"Enter a valid phone number with an area code.","Registration.UpdateBusiness.Errors.Zip":"Enter a valid 5 digit or 9 digit zip code.","Registration.UpdateBusiness.Errors.State":"Enter a 2 letter state code.","Registration.UpdateBusiness.Errors.Ein":"Enter a valid 9 digit number.","UsernameAndPassword.AppStore.NavigationPrompt.Title":"You are now leaving the Alpha Financial website","UsernameAndPassword.AppStore.NavigationPrompt.Content":"The website you are accessing is not operated by Alpha Financial and we are not responsible for any content or information posted on this external website.  Please review their Terms, Privacy and Security policies to see how they apply to you.","UsernameAndPassword.AppStore.NavigationPrompt.Continue":"Continue","UsernameAndPassword.AppStore.NavigationPrompt.Cancel":"Cancel","ConvertedUser.Header":"Secure your account","ConvertedUser.Text":"{0} requires you to create a new password before you log in.","ConvertedUser.Button.Primary":"Create new password","ConvertedUser.Button.Secondary":"Return to login","ChallengeStatus.MaximumAttemptsReached":"Login maximum attempts reached","StepUp.OneTimeCode.Destination.SmsCode.Description":"Choose a phone number to verify.","StepUp.OneTimeCode.Destination.VoiceCode.Description":"Choose a phone number to verify.","StepUp.OneTimeCode.Destination.EmailCode.Description":"Choose an email to verify.","UsernameAndPassword.Turnstile.Language":"tlh","UsernameAndPassword.Error.WithReference":"An error has occurred.  Reference code: {0}","ChallengeStatus.BotDetected":"Bot detected: {0}","Tethered.Loading.AnimationAlt":"Alternative site text for the tethered loading animation","Tethered.Loading.Button.Back":"Back to login"};t.mockSiteTextMap=r,t.setupSiteText=function(){window.Alkami.Localization.SiteText.get=(e,t)=>{let i=r[e];if(t&&t.length>0&&i)for(let e=0;e<t.length;e++)i=i.replace("{"+e.toString()+"}",t[e]);return void 0===i&&(i="__LOCALIZE_ME__"+e),i}}},function(e,t,i){},function(e,t,i){},function(e,t,i){},function(e,t,i){},function(e,t,i){},function(e,t,i){},function(e,t,i){},function(e,t,i){},function(e,t,i){},function(e,t,i){},function(e,t,i){},function(e,t,i){},function(e,t,i){},function(e,t,i){},function(e,t,i){},function(e,t,i){},function(e,t,i){},function(e,t,i){},function(e,t,i){},function(e,t,i){},function(e,t,i){},function(e,t,i){},function(e,t,i){},function(e,t,i){},function(e,t,i){},function(e,t,i){},function(e,t,i){},function(e,t,i){},function(e,t,i){},function(e,t,i){},function(e,t,i){},function(e,t,i){},function(e,t,i){}]);
//# sourceMappingURL=isotope.min.js.map