PageSourceSearch

https://cdn.ama.ab.ca/amaabcaprod/bundles/chunk-JUNIDTW6.js

js ama.ab.ca collected 2026-10-02 02:28:39 UTC 87,374 bytes, 1 lines download raw bytes

1import{a as me,b as O,c as Me,d as A,e as Yt,f as Vt,g as z,h as ie,i as ae,j as Ye,k as Le,l as oe,m as Ht,n as T,o as se,p as j}from"./chunk-3LKZ2YJS.js";import{a as qt,b as Nt}from"./chunk-TH5WTJN4.js";import{d as Ft}from"./chunk-4O546CWG.js";import{q as Rt}from"./chunk-FXAAXJP6.js";import"./chunk-DSZNWXDP.js";import"./chunk-Y4LJCV6F.js";import{Da as Se,Ea as It,I as At,M as Et,fb as Ut,ga as Bt,ra as Ot}from"./chunk-5PPMLQSG.js";import{$c as Te,$d as Pt,Ed as Lt,Ha as Ce,Ia as ke,Ja as xe,Kc as wt,La as ye,Ma as ve,Na as we,Oa as vt,Vc as Tt,Yc as D,ad as ne,dd as St,f as H,fd as R,id as Mt,l as ge,s as ut,xa as _e}from"./chunk-QGDCA6H2.js";import{a as dt,b as pt}from"./chunk-YBDJGEQS.js";import{F as lt,Fa as _t,Ha as Ct,Ja as kt,Ka as xt,Ma as yt,W as ee,Z as te,ca as mt,da as V,ia as ht,na as be,oa as gt,p as Y,qa as bt,ta as fe,u as X,ua as ft,x as ct}from"./chunk-DUSY2FLN.js";import{$c as st,Ad as he,Bc as E,Ca as b,Da as f,Dd as N,Fc as y,Ha as et,Id as Ne,Ka as U,Lb as C,Mc as g,Oc as d,Pc as at,Qc as ot,Sb as v,Tb as tt,Yb as M,Yc as w,Zc as Fe,_c as Q,a as ce,ad as m,b as Ue,bd as k,cd as G,ce as P,dd as pe,hd as $,id as K,jd as J,lc as u,nc as h,oc as nt,pc as it,qc as F,qd as rt,rc as q,rd as L,sc as p,sd as ue,ta as Xe,tb as le,tc as o,uc as s,vc as x,xd as B,yb as l,yd as qe,zd as Z}from"./chunk-IEHOALLG.js";P();var on=function(t,a,e,n){var i=arguments.length,c=i<3?a:n===null?n=Object.getOwnPropertyDescriptor(a,e):n,_;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(t,a,e,n);else for(var S=t.length-1;S>=0;S--)(_=t[S])&&(c=(i<3?_(c):i>3?_(a,e,c):_(a,e))||c);return i>3&&c&&Object.defineProperty(a,e,c),c},sn=function(t,a){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,a)},rn=()=>({type:"interaction",action:"close slideout",category:"slideout",area:"we have sent your checklist to your inbox"}),cn=t=>({type:"interaction",action:"form submit",category:"slideout",area:t});function ln(t,a){if(t&1){let e=y();o(0,"div",3)(1,"i",4),m(2,"check_circle"),s(),o(3,"h3",5),m(4),s(),o(5,"div")(6,"div",6),m(7,"You will receive a unique login in to your email:"),s(),o(8,"h6"),m(9),s()(),o(10,"button",7),g("click",function(){b(e);let i=d();return f(i.closeModal())}),m(11," Back to My Checklist "),s()()}if(t&2){let e=d();l(4),G("",e.abeService.checkListState().name,", We Have Sent Your Checklist to Your Inbox"),l(5),k(e.abeService.checkListState().email),l(),p("appAnalytics",rt(3,rn))}}function mn(t,a){t&1&&(o(0,"h4",22),m(1,"Email My Results"),s(),o(2,"p"),m(3,"Get easy access to your checklist through a link sent directly to your inbox."),s())}function dn(t,a){t&1&&(o(0,"h4",22),m(1,"Save Your Progress"),s(),o(2,"div",23)(3,"div",24)(4,"span",25),m(5,"done"),s(),m(6," Get easy access to your checklist through a link sent directly to your inbox. "),s(),o(7,"div",26)(8,"span",25),m(9,"done"),s(),m(10," Come back to this list at any time to update your progress "),s()())}function pn(t,a){if(t&1&&u(0,mn,4,0)(1,dn,11,0),t&2){let e=d(2);h(e.user?0:1)}}function un(t,a){t&1&&(o(0,"h4",9),m(1,"Resend the Checklist Link to Your Email"),s())}function hn(t,a){t&1&&(o(0,"div",27),m(1,"Name is required"),s())}function gn(t,a){t&1&&(o(0,"div",27),m(1," Name can only consist of english alphabetic characters and common name characters i.e. A-Z',-.() "),s())}function bn(t,a){if(t&1&&(u(0,hn,2,0,"div",27),u(1,gn,2,0,"div",27)),t&2){d();let e=w(12);h(e.errors!=null&&e.errors.required?0:-1),l(),h(e.errors!=null&&e.errors.pattern?1:-1)}}function fn(t,a){t&1&&(o(0,"div",16),m(1,"Get your personalized checklist straight to your inbox."),s())}function _n(t,a){if(t&1&&(o(0,"div",27),m(1),s()),t&2){let e=d(3);l(),k(e.sharedErrorMessages.emailRequired)}}function Cn(t,a){if(t&1&&(o(0,"div",27),m(1),s()),t&2){let e=d(3);l(),k(e.sharedErrorMessages.emailInvalid)}}function kn(t,a){if(t&1&&(u(0,_n,2,1,"div",27),u(1,Cn,2,1,"div",27)),t&2){d();let e=w(21);h(e.errors!=null&&e.errors.required?0:-1),l(),h(e.errors!=null&&e.errors.email||e.errors!=null&&e.errors.pattern?1:-1)}}function xn(t,a){t&1&&x(0,"loading")}function yn(t,a){if(t&1){let e=y();o(0,"a",28),g("click",function(){b(e);let i=d(2);return f(i.closeModal())}),m(1," Remind Me Later "),s()}}function vn(t,a){if(t&1){let e=y();o(0,"div",8),u(1,pn,2,1)(2,un,2,0,"h4",9),s(),o(3,"div",10)(4,"form",11,0),g("ngSubmit",function(){b(e);let i=w(5),c=d();return f(c.submit(i))}),o(6,"div")(7,"label",12),m(8,"Your Name "),o(9,"span",13),m(10,"*"),s()(),o(11,"input",14,1),J("ngModelChange",function(i){b(e);let c=d();return K(c.emailChecklistModel.name,i)||(c.emailChecklistModel.name=i),f(i)}),g("keypress",function(i){b(e);let c=d();return f(c.nameRestrictions(i))}),s(),u(13,bn,2,2),s(),o(14,"div")(15,"label",15),m(16," Email Address "),o(17,"span",13),m(18,"*"),s()(),u(19,fn,2,0,"div",16),o(20,"input",17,2),J("ngModelChange",function(i){b(e);let c=d();return K(c.emailChecklistModel.email,i)||(c.emailChecklistModel.email=i),f(i)}),g("change",function(){b(e);let i=d();return f(i.emailChecklistModel.email=i.emailChecklistModel.email==null?null:i.emailChecklistModel.email.trim())}),s(),u(22,kn,2,2),s(),o(23,"button",18)(24,"div",19),m(25,"Send My Business Checklist"),s(),o(26,"div",20),m(27,"Resend Link"),s(),u(28,xn,1,0,"loading"),s(),u(29,yn,2,0,"a",21),s()()}if(t&2){let e=w(5),n=w(12),i=w(21),c=d();l(),h(c.abeService.checkListState().emailSent?2:1),l(10),Q("u-border-color__red",(n.touched||e.submitted)&&n.invalid),$("ngModel",c.emailChecklistModel.name),l(2),h((n.touched||e.submitted)&&n.invalid?13:-1),l(6),h(c.abeService.checkListState().emailSent?19:-1),l(),Q("u-border-color__red",(i.touched||e.submitted)&&i.invalid),$("ngModel",c.emailChecklistModel.email),l(2),h((i.touched||e.submitted)&&i.invalid?22:-1),l(),p("disabled",c.isLoading)("appAnalytics",L(14,cn,c.modalName)),l(5),h(c.isLoading?28:-1),l(),h(!c.abeService.checkListState().emailSent&&!c.user?29:-1)}}var re=class Ve{constructor(a,e,n){this.abeService=a,this.modalService=e,this.funnelAnalyticsService=n,this.modalName="email my results",this.emailChecklistModel={name:"",email:""},this.sharedErrorMessages=Ot,this.isLoading=!1,this.isSuccess=!1,this.nameRestrictions=wt}ngOnInit(){let{email:a,name:e}=this.abeService.checkListState();this.emailChecklistModel={email:a||this.user?.email||this.emailChecklistModel?.email,name:e||this.user?.firstName||this.emailChecklistModel?.name},this.funnelAnalyticsService.funnelEvent("funnel_start",this.buildAnalyticsData({funnel_step_progress:"start"}))}submit(a){if(a.invalid)return;let e={guid:this.abeService.checkListState().guid??null,email:this.emailChecklistModel.email,name:this.emailChecklistModel.name,checklistState:this.abeService.checkListState()};this.abeService.saveAndEmailState(e).withLoad(n=>this.isLoading=n).subscribe(()=>{let n=ut(this.abeService.checkListState());n.emailSent=!0,n.email=this.emailChecklistModel.email,n.name=this.emailChecklistModel.name,this.abeService.updateCheckListState(n),this.isSuccess=!0,this.abeService.submittedSaveProgressEvent(),this.funnelAnalyticsService.funnelEvent("funnel_complete",this.buildAnalyticsData({funnel_step_progress:"complete",funnel_result:"checklist requested",funnel_value:0}))}).attach(this)}closeModal(){this.modalService.closeAllModals()}buildAnalyticsData(a={}){return ce({funnel_name:this.modalName,funnel_step_progress:"",business_unit:"reg",funnel_step_
1name:this.modalName,funnel_product_selected:"checklist request",funnel_product_details:"",funnel_result:"",funnel_value:""},a)}static{this.\u0275fac=function(e){return new(e||Ve)(C(T),C(R),C(ge))}}static{this.\u0275cmp=v({type:Ve,selectors:[["email-results-modal"]],inputs:{user:"user"},standalone:!1,decls:2,vars:1,consts:[["f","ngForm"],["yourName","ngModel"],["emailControl","ngModel"],[1,"modal-body","d-flex","flex-column","gap-4","text-center"],[1,"material-symbols-outlined","u-color__green","md-60"],[1,"mt-2"],[1,"pt-3"],[1,"btn","btn-secondary","u-bg-color__primary-blue","u-border-color__royal",3,"click","appAnalytics"],[1,"d-flex","flex-column","align-items-start"],[1,"header-text","text-center","text-md-start","mb-3"],[1,"modal-body"],[1,"connect-form",3,"ngSubmit"],["for","yourName"],[1,"u-color__primary-red"],["id","yourName","required","","type","text","maxlength","50","name","yourName","pattern","[a-zA-Z',-.()\\s]+",3,"ngModelChange","keypress","ngModel"],["for","email"],[1,"mb-1"],["type","text","required","","email","","emailpattern","","id","email","name","email",3,"ngModelChange","change","ngModel"],["type","submit",1,"btn","btn-primary2","mt-3",3,"disabled","appAnalytics"],[1,"d-none","d-md-inline"],[1,"d-inline","d-md-none"],[1,"c-line-button","u-color__dark-blue","mx-auto"],[1,"header-text"],[1,"my-3"],[1,"d-flex"],[1,"material-symbols-outlined","mt-1","me-2","u-color__green"],[1,"d-flex","mt-2"],[1,"text-danger"],[1,"c-line-button","u-color__dark-blue","mx-auto",3,"click"]],template:function(e,n){e&1&&u(0,ln,12,4,"div",3)(1,vn,30,16),e&2&&h(n.isSuccess?0:1)},dependencies:[Te,Pt,Bt,ft,ht,be,gt,_t,kt,xt,Ct,fe,bt],styles:["[_nghost-%COMP%]     loading{margin-right:-3rem}[_nghost-%COMP%]     loading svg{margin-top:-1rem;margin-bottom:-1rem}.md-60[_ngcontent-%COMP%]{font-size:3.75rem}.connect-form[_ngcontent-%COMP%]{display:flex;gap:1.5rem}"]})}};re=on([V(),sn("design:paramtypes",[T,R,ge])],re);function Re(t,a){let e=document.getElementById(t);if(e){let n=e.getBoundingClientRect(),i=window.scrollY||document.documentElement.scrollTop;window.scrollTo({top:n.top+i-a,behavior:"smooth"})}}P();P();var Tn=["*"],Sn=t=>({"pb-0":t}),Dt=t=>({$implicit:t});function Mn(t,a){t&1&&E(0)}function Ln(t,a){t&1&&(o(0,"span",10),m(1,"check_circle"),s())}function Pn(t,a){t&1&&E(0)}function Rn(t,a){if(t&1&&(o(0,"div",15)(1,"span",16),m(2),s(),o(3,"p",11),m(4),s()()),t&2){let e=a.$implicit;l(2),k(e.icon),l(2),k(e.text)}}var jt=(()=>{class t{constructor(){this.collapsed=!0}getProgressText(e){return e.tasksComplete===0?"Not Yet Started":`${e.tasksComplete}/${e.totalTasks} Tasks Completed`}buttonState(e){return e?{icon:"add",text:"Expand"}:{icon:"remove",text:"Collapse"}}toggleCollapsed(){this.collapsed=!this.collapsed}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=v({type:t,selectors:[["phase-accordion"]],inputs:{phase:"phase",title:"title",description:"description",progress:"progress",collapsed:"collapsed"},standalone:!1,ngContentSelectors:Tn,decls:28,vars:26,consts:[["toggleButton",""],["ngbAccordion",""],["ngbAccordionItem","",3,"collapsed"],["ngbAccordionHeader","",1,"d-flex","justify-content-between","py-5","px-3","px-sm-9",3,"ngClass"],[1,"d-flex","flex-column","col-12","col-sm-7"],[1,"d-flex","justify-content-between"],[1,"bold-text","phase-font"],["ngbAccordionToggle","",1,"d-sm-none",3,"click"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"d-flex","align-items-center"],[1,"material-symbols-outlined","u-color__green","pe-2"],[1,"bold-text"],["ngbAccordionToggle","",1,"col-2","d-none","d-sm-flex","justify-content-end",3,"click"],["ngbAccordionCollapse",""],["ngbAccordionBody","",1,"px-3","px-sm-9","py-0"],[1,"button-style"],[1,"material-symbols-outlined"]],template:function(n,i){if(n&1&&(at(),o(0,"div",1)(1,"div",2)(2,"div",3)(3,"div",4)(4,"div",5)(5,"p",6),m(6),s(),o(7,"div",7),g("click",function(){return i.toggleCollapsed()}),M(8,Mn,1,0,"ng-container",8),B(9,"map"),s()(),o(10,"h3"),m(11),s(),o(12,"p"),m(13),s(),o(14,"span",9),u(15,Ln,2,0,"span",10),o(16,"p",11),m(17),B(18,"map"),s()()(),o(19,"div",12),g("click",function(){return i.toggleCollapsed()}),M(20,Pn,1,0,"ng-container",8),B(21,"map"),s()(),o(22,"div",13)(23,"div",14),x(24,"hr"),ot(25),s()()()(),M(26,Rn,5,2,"ng-template",null,0,N)),n&2){let c=w(27);l(),p("collapsed",i.collapsed),l(),p("ngClass",L(20,Sn,!i.collapsed)),l(4),k(i.phase),l(2),p("ngTemplateOutlet",c)("ngTemplateOutletContext",L(22,Dt,Z(9,11,i.c
1ollapsed,i.buttonState))),l(3),k(i.title),l(2),k(i.description),l(2),h(i.progress.totalTasks&&i.progress.phaseComplete?15:-1),l(2),k(Z(18,14,i.progress,i.getProgressText)),l(3),p("ngTemplateOutlet",c)("ngTemplateOutletContext",L(24,Dt,Z(21,17,i.collapsed,i.buttonState)))}},dependencies:[Y,X,we,ve,ye,xe,Ce,ke,ne],styles:[".button-style[_ngcontent-%COMP%]{display:flex;align-items:center;color:#1c4c74;font-size:12px;cursor:pointer}.button-style[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-size:12px}@media only screen and (min-width:768px){.button-style[_ngcontent-%COMP%], .button-style[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-size:18px}}.phase-font[_ngcontent-%COMP%]{font-size:.75rem}@media only screen and (min-width:768px){.phase-font[_ngcontent-%COMP%]{font-size:1rem}}.bold-text[_ngcontent-%COMP%]{font-family:Lato Black,Open Sans,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:900;margin-bottom:0}.accordion-item[_ngcontent-%COMP%]{border:none}"]})}}return t})();P();P();function En(t,a){t&1&&(o(0,"strong",5),m(1,"Connect With a Business Registries Specialist"),s())}function Bn(t,a){t&1&&(o(0,"strong",5),m(1,"Connect "),o(2,"span",6),m(3,"With a Business Registries Specialist"),s()())}function On(t,a){t&1&&(o(0,"p",7),m(1,"Get tailored assistance"),s(),o(2,"strong",8),m(3,"Request a Call Back"),s())}var Ee=(()=>{class t{constructor(){this.inHeader=!1,this.buttonClicked=new U}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=v({type:t,selectors:[["callback-button"]],inputs:{inHeader:"inHeader"},outputs:{buttonClicked:"buttonClicked"},standalone:!1,decls:8,vars:5,consts:[["role","button",1,"card",3,"click"],[1,"d-flex","align-items-center"],[1,"image-container","position-relative","rounded-start",3,"ngClass"],["src","https://cdn.ama.ab.ca/amaabcaprod/content/images/insurance/auto/teddy.png","alt","Teddy Headshot",1,"headshot-image","rounded-circle","m-1",3,"ngClass"],[1,"d-flex","flex-row","flex-md-column","align-items-center","align-items-md-start","w-100","justify-content-between","py-2",3,"ngClass"],[1,"u-color__dark-blue","bold-text"],[1,"d-none","d-sm-inline"],[1,"u-font-size__sm","m-0","d-none","d-md-flex"],["id","request-callback",1,"u-color__royal","bold-text","d-none","d-md-flex"]],template:function(n,i){n&1&&(o(0,"div",0),g("click",function(){return i.buttonClicked.emit()}),o(1,"div",1)(2,"div",2),x(3,"img",3),s()(),o(4,"div",4),u(5,En,2,0,"strong",5)(6,Bn,4,0,"strong",5),u(7,On,4,0),s()()),n&2&&(l(2),p("ngClass",i.inHeader?"d-flex align-items-center":"image-container-background"),l(),p("ngClass",i.inHeader?"header":"full"),l(),p("ngClass",i.inHeader?"pe-2":"px-2 ps-md-3"),l(),h(i.inHeader?6:5),l(2),h(i.inHeader?-1:7))},dependencies:[Y],styles:[".card[_ngcontent-%COMP%]{border:none;flex-direction:row;width:100%;margin-left:auto;background-color:#fff;box-shadow:none;border:1px solid #246aa8}.card[_ngcontent-%COMP%]:hover   #request-callback[_ngcontent-%COMP%]{text-decoration:underline}@media only screen and (min-width:1366px){.card[_ngcontent-%COMP%]{width:26rem}}.image-container[_ngcontent-%COMP%]{background:#fff;width:3rem;height:100%;padding:.5rem}@media only screen and (min-width:1024px){.image-container-background[_ngcontent-%COMP%]{background:url(https://cdn.ama.ab.ca/amaabcaprod/content/images/centres/edmonton-south-square.jpg) center;background-size:cover;background-repeat:no-repeat;width:5.625rem}}.headshot-image[_ngcontent-%COMP%]{border:2px solid #246aa8;transform:scaleX(-1)}.headshot-image.header[_ngcontent-%COMP%]{height:1.5rem;width:1.5rem}.headshot-image.full[_ngcontent-%COMP%]{height:1.875rem;width:1.875rem}@media only screen and (min-width:1024px){.headshot-image.full[_ngcontent-%COMP%]{border:2px solid white;position:absolute;bottom:0;right:0;height:2.5rem;width:2.5rem}}.bold-text[_ngcontent-%COMP%]{font-family:Lato Black,Open Sans,Helvetica Neue,Helvetica,Arial,sans-serif}"]})}}return t})();P();var In=function(t,a,e,n){var i=arguments.length,c=i<3?a:n===null?n=Object.getOwnPropertyDescriptor(a,e):n,_;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(t,a,e,n);else for(var S=t.length-1;S>=0;S--)(_=t[S])&&(c=(i<3?_(c):i>3?_(a,e,c):_(a,e))||c);return i>3&&c&&Object.defineProperty(a,e,c),c},Un=function(t,a){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,a)};function Fn(t,a){t&1&&(o(0,"div",3),x(1,"i",5),o(2,"span",6),m(3,"Your Progress has Been Saved"),s(),o(4,"span",7),m(5,"Saved"),s()())}function qn(t,a){t&1&&(o(0,"div",3),x(1,"i",8),o(2,"span"),m(3,"Save Your Progress"),s()())}function Nn(t,a){if(t&1){let e=y();o(0,"div",4)(1,"div",9)(2,"button",10),g("click",function(){b(e);let i=d();return f(i.openEmailResultsModal())}),x(3,"i",11),o(4,"span",12),m(5,"Email "),o(6,"span",13),m(7,"My Results"),s()()(),o(8,"callback-button",14),g("buttonClicked",function(){b(e);let i=d();return f(i.openRegistryCallbackModal())}),s()()()}if(t&2){let e=d();l(3),p("ngClass",e.abeService.checkListState().emailSent?"pe-2 pe-sm-3":"pe-3"),l(5),p("inHeader",!0)}}var Be=class De{constructor(a,e){this.abeService=a,this.modalService=e,this.bgColor="u-bg-color__medium-navy-blue",this.hideCTA=!0}openRegistryCallbackModal(){this.modalService.openModal(j,{name:se,offCanvas:!0,analyticsType:H.BusinessSuite})}openEmailResultsModal(){this.modalService.openModal(re,{name:"email my results",offCanvas:!0,analyticsType:H.BusinessSuite,data:{user:this.user}})}stickItEvent(a){this.hideCTA=!a}static{this.\u0275fac=function(e){return new(e||De)(C(T),C(R))}}static{this.\u0275cmp=v({type:De,selectors:[["abe-sticky-menu"]],inputs:{user:"user"},standalone:!1,decls:8,vars:3,consts:[[3,"stickItChange","bgcolor"],[1,"d-sm-flex","w-100","align-items-center","my-4"],[1,"u-font-face-bold","u-color__white"],[1,"d-flex","align-items-center"],[1,"ms-auto"],["data-icon","rotate_right",1,"material-symbols-outlined","pe-2"],[1,"d-none","d-sm-block"],[1,"d-sm-none"],["data-icon","cloud_off",1,"material-symbols-outlined","pe-2"],[1,"d-flex","justify-content-between"],[1,"btn","u-bg-color__medium-navy-blue","email-btn","me-3","cta-button","d-flex","align-items-center","px-3","px-sm-3",3,"click"],["data-icon","send",1,"material-symbols-outlined",3,"ngClass"],[1,"text-start"],[1,"d-none","d-sm-flex"],[1,"me-3","cta-button",3,"buttonClicked","inHeader"]],template:function(e,n){e&1&&(o(0,"sticky-menu",0),g("stickItChange",function(c){return n.stickItEvent(c)}),o(1,"div",1)(2,"div",2)(3,"h3"),m(4,"Your Startup Checklist"),s(),u(5,Fn,6,0,"div",3)(6,qn,4,0,"div",3),s(),u(7,Nn,9,2,"div",4),s()()),e&2&&(p("bgcolor",n.bgColor),l(5),h(n.abeService.checkListState().emailSent?5:6),l(2),h(n.hideCTA?-1:7))},dependencies:[Y,qt,Ee],styles:["sticky-menu[_ngcontent-%COMP%]{--sticky-menu-z-index: 1003}[_nghost-%COMP%]     sticky-menu nav .sticky-menu__menu{height:auto!important}[_nghost-%COMP%]     sticky-menu .card{width:auto;height:inherit}.email-btn[_ngcontent-%COMP%], .email-btn.email-btn[_ngcontent-%COMP%]:focus{border:1px solid white;color:#fff}.cta-button[_ngcontent-%COMP%]{width:50%;margin-top:1rem;font-size:1rem}@media only screen and (min-width:1024px){.cta-button[_ngcontent-%COMP%]{width:14rem;height:6.625rem;margin-top:0}}"]})}};Be=In([V(),Un("design:paramtypes",[T,R])],Be);P();function r(t){window.open(t,"_blank")}var ze={[me.StrengthAndWeakness]:{showRequestCallback:!0,amaResources:[],otherResources:[{title:"SWOT Analysis: Do You Know Your Business\u2019s Strengths and Weaknesses?",ctaText:"Discover Your Strengths and Weaknesses",
1iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://www.bdc.ca/en/articles-tools/business-strategy-planning/define-strategy/swot-analysis-easy-tool-strategic-planning",action:function(){r(this.anchorLink)}},{title:"SWOT Analysis Template",ctaText:"SWOT Template",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://www.bdc.ca/en/articles-tools/entrepreneur-toolkit/templates-business-guides/swot-analysis-template",action:function(){r(this.anchorLink)}},{title:"How Can You Analyze Your Small Business's Strengths and Weaknesses?",ctaText:"Learn More About Analysis Methods",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://www.linkedin.com/advice/1/how-can-you-analyze-your-small-businesss-strengths",action:function(){r(this.anchorLink)}}]},[me.BusinessIdea]:{showRequestCallback:!0,otherResources:[{title:"How to Find a Good Business Idea",ctaText:"Find Your Next Big Idea",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://www.bdc.ca/en/articles-tools/start-buy-business/start-business/small-business-ideas-starting-own-business",action:function(){r(this.anchorLink)}},{title:"What Makes a Business Idea Successful?",ctaText:"Turn Your Ideas Into a Success",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://businesslink.ca/what-makes-a-business-idea-successful/",action:function(){r(this.anchorLink)}}]},[me.MarketResearch]:{showRequestCallback:!0,otherResources:[{title:"Market Research for Small Business:",ctaText:"Know Your Market, Grow Your Business - Start Now",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://businesslink.ca/services/market-research/",action:function(){r(this.anchorLink)}},{title:"A Practical Guide to Market Research to Help You Make Better Decisions",ctaText:"Gather Insights About Your Business",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://www.bdc.ca/en/articles-tools/blog/how-conduct-market-research-small-businesses",action:function(){r(this.anchorLink)}},{title:"Alberta Economic Dashboard",ctaText:"Discover a Wealth of Vital Economic Information",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://economicdashboard.alberta.ca/",action:function(){r(this.anchorLink)}},{title:"Small Business Hub",ctaText:"Learn How To Plan and Run Your Business",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://www12.statcan.gc.ca/census-recensement/smallbusiness-petitesentreprises/index-eng.htm",action:function(){r(this.anchorLink)}}]},[me.TargetAudience]:{showRequestCallback:!0,otherResources:[{title:"How to Define Your Target Market",ctaText:"Help Define Your Target Market Today",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://www.bdc.ca/en/articles-tools/marketing-sales-export/marketing/business-planning-market-research",action:function(){r(this.anchorLink)}},{title:"How to Identify Your Target Audience",ctaText:"Learn About Target Audineces",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://www.business.com/articles/identify-your-target-audience/",action:function(){r(this.anchorLink)}}]}};var je={[O.MarketResearch]:{showRequestCallback:!0,otherResources:[{title:"How to Conduct a Competitive Analysis",ctaText:"Stay Ahead of the Competition - Learn More",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://www.bdc.ca/en/articles-tools/marketing-sales-export/marketing/how-evaluate-competition",action:function(){r(this.anchorLink)}},{title:"Market Research for Small Businesses",ctaText:"Get Help With Market Research",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://businesslink.ca/services/market-research/",action:function(){r(this.anchorLink)}}]},[O.BusinessPlan]:{showRequestCallback:!0,otherResources:[{title:"Writing a Compelling Business Plan",ctaText:"Learn to Write a Business Plan",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://businesslink.ca/writing-a-compelling-business-plan/",action:function(){r(this.anchorLink)}},{title:"Business Plan Template",ctaText:"Explore Business Plan Templates",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://futurpreneur.ca/en/resource/business-plan-writer/",action:function(){r(this.anchorLink)}},{title:"How to Write an Effective Business Plan",ctaText:"Learn to Write a Business Plan",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://www.bdc.ca/en/articles-tools/start-buy-business/start-business/how-write-business-plan",action:function(){r(this.anchorLink)}},{title:"Business Plan Template",ctaText:"Explore Business Plan Templates",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://www.bdc.ca/en/articles-tools/entrepreneur-toolkit/templates-business-guides/business-plan-template",action:function(){r(this.anchorLink)}},{title:"Interactive Business Plan Builder",ctaText:"Create Your Custome Business Plan",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://businesslink.ca/interactive-business-plan-builder/",action:function(){r(this.anchorLink)}},{title:"Your Business Planner. More than just numbers.",ctaText:"Download the Business Planner",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://servus.ca/-/media/Servus/Documents/Business/your-business-planner-more-than-just-numbers.pdf",action:function(){r(this.anchorLink)}},{title:"Business Plan Guide",ctaText:"Learn about Business Plans",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://sbs-spe.feddevontario.canada.ca/business-plan-guide",action:function(){r(this.anchorLink)}}]},[O.Audience]:{showRequestCallback:!0,otherResources:[{title:"Mastering Primary Market Research",ctaText:"Get The Insights You Need",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://businesslink.ca/mastering-primary-market-research/",action:function(){r(this.anchorLink)}}]},[O.Location]:{showRequestCallback:!0,otherResources:[{title:"How to Choose the Right Location for Your Business",ctaText:"Learn How to Choose a Location",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://www.bdc.ca/en/articles-tools/money-finance/buy-lease-commercial-real-estate/how-choose-right-location-for-your-business",action:function(){r(this.anchorLink)}},{title:"Negotiating the Best Lease and Location for Your Business",ctaText:"Learn How to Negotiate",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://businesslink.ca/negotiating-best-lease-and-location-your-business/",action:function(){r(this.anchorLink)}}]},[O.BusinessStructure]:{showRequestCallback:!0,amaResources:[{title:"Selecting a Business Structure",ctaText:"Cho
1ose A Business Structure",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://ama.ab.ca/registries/business/selecting-business-structure",action:function(){r(this.anchorLink)}},{title:"Business Startup Package",ctaText:"Start Today",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://ama.ab.ca/business/small-business/business-startup",action:function(){r(this.anchorLink)}},{title:"Registering a Business",ctaText:"Register Today",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://ama.ab.ca/registries/business/registering-business",action:function(){r(this.anchorLink)}},{title:"Changing a Business Structure",ctaText:"Learn To Make Changes",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://ama.ab.ca/registries/business/change-business-structure",action:function(){r(this.anchorLink)}}],otherResources:[{title:"How to Choose the Right Structure for Your Business",ctaText:"Learn How",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://www.bdc.ca/en/articles-tools/start-buy-business/start-business/advantages-different-business-structures",action:function(){r(this.anchorLink)}},{title:"Choosing a Business Structure",ctaText:"Choose A Business Structure",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://businesslink.ca/resource/choosing-a-business-structure/",action:function(){r(this.anchorLink)}}]},[O.BusinessName]:{showRequestCallback:!0,amaResources:[{title:"Naming a Business",ctaText:"Choose The Perfect Name",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://ama.ab.ca/registries/business/naming-business",action:function(){r(this.anchorLink)}},{title:"NUANS Search Request",ctaText:"Confirm Your Name",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://my.ama.ab.ca/help/forms/registry-search/nuans-search",action:function(){r(this.anchorLink)}},{title:"Naming a Corporation",ctaText:"Name Your Corporation",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://ama.ab.ca/registries/business/naming-business/corporation",action:function(){r(this.anchorLink)}},{title:"Naming a Trade Name/Partnership",ctaText:"Name Your Partnership",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://ama.ab.ca/registries/business/naming-business/trade-name-partnership",action:function(){r(this.anchorLink)}},{title:"Business Startup Package",ctaText:"Start Today",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://ama.ab.ca/business/small-business/business-startup",action:function(){r(this.anchorLink)}}],otherResources:[{title:"Building a Brand",ctaText:"Explore Brand Building Tips",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://businesslink.ca/building-a-brand-where-do-you-come-in/",action:function(){r(this.anchorLink)}},{title:"Choosing a Business Name",ctaText:"Name Your Business",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://www.canada.ca/en/services/business/start/choosing-a-business-name-1.html",action:function(){r(this.anchorLink)}}]},[O.LegalRequirements]:{showRequestCallback:!0,otherResources:[{title:"5 Small Business Legal Resolutions",ctaText:"Review Legal Compliance",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://businesslink.ca/2016-small-business-legal-resolutions/",action:function(){r(this.anchorLink)}},{title:"Alberta: A Legal Compliance Checklist",ctaText:"Review Legal Compliance",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://getzcollins.com/self-employment-in-alberta-a-legal-compliance-checklist/",action:function(){r(this.anchorLink)}},{title:"Starting a Business",ctaText:"Learn the Steps to Consider Before Starting a Business",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://www.canada.ca/en/services/business/start.html",action:function(){r(this.anchorLink)}},{title:"Small Business Resources",ctaText:"Learn How to Start, Grow and Succeed",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://www.alberta.ca/small-business-resources",action:function(){r(this.anchorLink)}}]},[O.Finances]:{showRequestCallback:!1,otherResources:[{title:"How to Build a Financial Action Plan for Your Business?",ctaText:"Build a Financial Plan",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://www.bdc.ca/en/articles-tools/money-finance/manage-finances/how-build-financial-action-plan-business",action:function(){r(this.anchorLink)}},{title:"Financial Plan Template",ctaText:"Explore Financial Plan Templates",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://www.bdc.ca/en/articles-tools/entrepreneur-toolkit/templates-business-guides/financial-plan-template",action:function(){r(this.anchorLink)}},{title:"Your Business Planner. More than just numbers.",ctaText:"Download the Business Planner",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://www.servus.ca/-/media/servus/documents/business/your-business-planner-more-than-just-numbers.ashx",action:function(){r(this.anchorLink)}}]},[O.Taxes]:{showRequestCallback:!0,otherResources:[{title:"Business Taxes",ctaText:"Understand Canadian Taxes",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://www.canada.ca/en/services/business/taxes.html",action:function(){r(this.anchorLink)}},{title:"Accounting, Bookkeeping, and Taxes",ctaText:"Keep Good Financial Records",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://businesslink.ca/resource/accounting-bookkeeping-and-taxes/",action:function(){r(this.anchorLink)}},{title:"Corporate Income Tax",ctaText:"Learn More About Corporate Income Tax",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://www.alberta.ca/corporate-income-tax",action:function(){r(this.anchorLink)}}]}};var We={[Me.Options]:{showRequestCallback:!0,otherResources:[{title:"Financing for Your Start-Up",ctaText:"Learn How to Secure Capital",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://www.bdc.ca/en/articles-tools/start-buy-business/start-business/how-finance-start-up",action:function(){r(this.anchorLink)}},{title:"Free and Low-Cost Funding and Budget Tools for Your Business",ctaText:"Get the Tools That Can Help",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://www.bdc.ca/en/articles-tools/technology/free-low-cost-applications/free-and-low-cost-funding-budget-tools-your-business",action:function(){r(this.anchorLink)}},{title:"How to Prepare to Apply for Funding",ctaText:"Learn How to Apply",
1iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://businesslink.ca/how-to-prepare-to-apply-for-funding/",action:function(){r(this.anchorLink)}},{title:"Canada Small Business Financing Program",ctaText:"Learn About the Program",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://ised-isde.canada.ca/site/canada-small-business-financing-program/en",action:function(){r(this.anchorLink)}},{title:"Business Benefits Finder",ctaText:"Find Programs and Services to Help Your Business Grow",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://innovation.ised-isde.canada.ca/s/?language=en_CA",action:function(){r(this.anchorLink)}},{title:"Business Financing",ctaText:"Learn About the Five C's of Lending",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://businesslink.ca/resource/small-business-basics-business-financing/",action:function(){r(this.anchorLink)}},{title:"Starting Your Business",ctaText:"Find Resources for Funding",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://www.alberta.ca/small-business-resources",action:function(){r(this.anchorLink)}},{title:"Capital and Financing Supports for Entrepreneurs",ctaText:"Find Options for funding and Financing Your Business",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://www.alberta.ca/capital-financing-supports-entrepreneurs",action:function(){r(this.anchorLink)}},{title:"Connectica by Alberta Innovates",ctaText:"Search a Funding Database",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://connectica.ca/offering/?clicked_tab=Funding",action:function(){r(this.anchorLink)}},{title:"Funding Programs",ctaText:"Find a Program",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://albertainnovates.ca/funding/",action:function(){r(this.anchorLink)}},{title:"Getting Business Support and Financing",ctaText:"Get Personalize List of Programs",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://www.canada.ca/en/services/business/start/support-financing.html",action:function(){r(this.anchorLink)}}]},[Me.Network]:{showRequestCallback:!0,otherResources:[{title:"Where to Find the Advice You Need to Run a Business",ctaText:"Get Advice",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://www.bdc.ca/en/articles-tools/business-strategy-planning/manage-business/small-business-advice-making-better-decisions",action:function(){r(this.anchorLink)}},{title:"Finding a Mentor: 7 Qualities Entrepreneurs Should Look For",ctaText:"Get Mentor Tips",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://www.bdc.ca/en/articles-tools/business-strategy-planning/manage-business/how-find-business-mentor-tips-young-entrepreneurs",action:function(){r(this.anchorLink)}},{title:"Using Partnerships to Diversify Revenue and Optimize Your Business",ctaText:"Boost Revenue With Smart Partnerships",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://businesslink.ca/using-partnerships-to-diversify-revenue-and-optimize-your-business/",action:function(){r(this.anchorLink)}},{title:"Innovation from Here for the World",ctaText:"Jump Into an Edmonton Program",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://edmontonunlimited.com/",action:function(){r(this.anchorLink)}},{title:"Get Connected to Calgary's Tech Community",ctaText:"Find the Resources You Need in Calgary",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://www.platformcalgary.com/",action:function(){r(this.anchorLink)}},{title:"Launch and Grow Your Startup in Alberta Faster",ctaText:"Apply to a Program",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://albertacatalyzer.com/",action:function(){r(this.anchorLink)}}]},[Me.SecureFunding]:{showRequestCallback:!1,otherResources:[{title:"Capital and Financing Supports for Entrepreneurs",ctaText:"Get Support",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://www.alberta.ca/capital-financing-supports-entrepreneurs",action:function(){r(this.anchorLink)}},{title:"Quiz: Are You Ready to Apply for a Business Loan?",ctaText:"Get Ready",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://www.bdc.ca/en/articles-tools/entrepreneur-toolkit/business-assessments/business-loan",action:function(){r(this.anchorLink)}}]}};var Qe={[A.Register]:{showRequestCallback:!0,amaResources:[{title:"Registering a Business in Alberta",ctaText:"Register Your Business",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://ama.ab.ca/registries/business/registering-business",action:function(){r(this.anchorLink)}},{title:"Registering a Trade Name or Partnership",ctaText:"Register Your Trade Name or Partnership",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://ama.ab.ca/registries/business/registering-business/trade-name-partnership",action:function(){r(this.anchorLink)}},{title:"Registering a Corporation",ctaText:"Register Your Corporation",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://ama.ab.ca/registries/business/registering-business/corporation",action:function(){r(this.anchorLink)}},{title:"Business Startup Package",ctaText:"Start Today",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://ama.ab.ca/business/small-business/business-startup",action:function(){r(this.anchorLink)}},{title:"The Successes and Struggles of a Small Business",ctaText:"Learn More",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://ama.ab.ca/articles/successes-struggles-small-business",action:function(){r(this.anchorLink)}}]},[A.License]:{showRequestCallback:!0,amaResources:[{title:"Permits and Regulations",ctaText:"Learn More",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://ama.ab.ca/business/small-business/start/permits-regulations",action:function(){r(this.anchorLink)}}],otherResources:[{title:"Licenses, Permits, and Regulations",ctaText:"Stay Compliant With Licences and Permits",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://businesslink.ca/resource/licenses-permits-and-regulations/",action:function(){r(this.anchorLink)}}]},[A.BrandAndMarketing]:{showRequestCallback:!0,amaResources:[{title:"Growing a Business",ctaText:"Learn To Grow",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://ama.ab.ca/business/small-business/grow",action:function(){r(this.anchorLink)}}],otherResources:[{title:"Small Business Marketing Guide",ctaText:"Check Out The Guide",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://businesslink.ca/resource/small-business-marketing-guide",action:function(){r(this.anchorLink)}},{title:"Marketing",ctaText:"Get Marketing Tools",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://www.bdc.ca/en/articles-tools/marketing-sales-export/marketing",action:function(){r(this.anchorLink)}},{title:"Marketing Your Business: A Primer for Entrepreneurs",ctaText:"Learn More",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://www.bdc.ca/en/articles-tools/marketing-sales-export/marketing/marketing-your-business-primer-entrepreneurs",action:function(){r(this.anchorLink)}},{title:"Logos and Beyond",ctaText:"Personify Your Brand",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://businesslink.ca/logos-and-beyond-personifying-your-brand/",action:function(){r(this.anchorLink)}},{title:"Building a Brand: Where Do You Come In?",ctaText:"Learn About Brand Building",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://businesslink.ca/building-a-brand-where-do-you-come-in",action:function(){r(this.anchorLink)}}]},[A.Insure]:{showRequestCallback:!0,amaResources:[{title:"Business Insurance",ctaText:"Insure Your Business",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://ama.ab.ca/insurance/business",action:function(){r(this.anchorLink)}},{title:"How Business Benefits from Insurance",ctaText:"Learn More",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://ama.ab.ca/articles/businesses-that-benefit-from-business-insurance",action:function(){r(this.anchorLink)}},{title:"Business Insurance 101",ctaText:"Know The Basics",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://ama.ab.ca/articles/business-insurance-101",action:function(){r(this.anchorLink)}},{title:"7 Things Your Business Insurance Covers",ctaText:"Understand Your Coverage",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://ama.ab.ca/articles/7-things-business-insurance-covers",action:function(){r(this.anchorLink)}},{title:"6 Reasons Why You Need Business Insurance",ctaText:"Get More Insight",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://ama.ab.ca/articles/6-reasons-why-you-need-business-insurance",action:function(){r(this.anchorLink)}}],otherResources:[{title:"Insurance, Risk Management, and Saving Strategies",ctaText:"Safeguard Your Business",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://businesslink.ca/safeguarding-your-business-insurance-risk-management-and-saving-strategies/",action:function(){r(this.anchorLink)}},{title:"What Business Insurance Do You Need?",ctaText:"Learn About Types Of Insurance",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://www.bdc.ca/en/articles-tools/business-strategy-planning/manage-business/what-business-insurance-do-you-need",action:function(){r(this.anchorLink)}}]},[A.BuildTeam]:{showRequestCallback:!0,amaResources:[{title:"Consider Offering Employee Benefits",ctaText:"Find Out How Employee",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://ama.ab.ca/articles/reasons-to-consider-offering-employee-benefits",action:function(){r(this.anchorLink)}}
1,{title:"Choosing Health and Benefit Plans",ctaText:"Choose The Right One",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://ama.ab.ca/articles/choosing-health-benefits-plans-employees",action:function(){r(this.anchorLink)}},{title:"Four Great Reasons to Consider Offering Employee Benefits",ctaText:"Learn More",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://ama.ab.ca/articles/reasons-to-consider-offering-employee-benefits",action:function(){r(this.anchorLink)}}],otherResources:[{title:"Government of Canada Payroll",ctaText:"Learn How To Set Up Payroll",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://www.canada.ca/en/revenue-agency/services/tax/businesses/topics/payroll.html",action:function(){r(this.anchorLink)}},{title:"5 Secrets to Successfully Building Your Team",ctaText:"Recruiting Top Talents",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://www.bdc.ca/en/articles-tools/employees/recruit/top-talent-recruiting-secrets",action:function(){r(this.anchorLink)}},{title:"How to Find the Right Mix of Salary and Benefits",ctaText:"Building Your Team",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://www.bdc.ca/en/articles-tools/employees/manage/mix-salary-benefits",action:function(){r(this.anchorLink)}},{title:"Finding and Hiring Employees",ctaText:"Get Help",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://businesslink.ca/resource/finding-and-hiring-employees/",action:function(){r(this.anchorLink)}}]},[A.RegisterTaxes]:{showRequestCallback:!0,otherResources:[{title:"Corporate Income Tax",ctaText:"Learn More",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://www.alberta.ca/corporate-income-tax",action:function(){r(this.anchorLink)}},{title:"Business Taxes",ctaText:"Learn More",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://www.canada.ca/en/services/business/taxes.html",action:function(){r(this.anchorLink)}}]},[A.CustomerSupport]:{showRequestCallback:!0,otherResources:[{title:"Stand Out with Superb Customer Service",ctaText:"Get The Jump Good Customer Service",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://businesslink.ca/stand-out-superb-customer-service/",action:function(){r(this.anchorLink)}},{title:"6 Ways to Build Better Customer Relationships",ctaText:"Learn How",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://www.bdc.ca/en/articles-tools/marketing-sales-export/marketing/importance-building-customer-relationships",action:function(){r(this.anchorLink)}}]},[A.SalesAndDistribution]:{showRequestCallback:!0,otherResources:[{title:"Revving Up Your Sales",ctaText:"Accelerate Your Strategy",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://www.bdc.ca/en/articles-tools/entrepreneur-toolkit/guides/revving-up-sales",action:function(){r(this.anchorLink)}}]},[A.AnnualReturn]:{showRequestCallback:!0,amaResources:[{title:"Filing Your Return Manually or Automatically",ctaText:"Learn More",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://ama.ab.ca/registries/business/annual-return",action:function(){r(this.anchorLink)}},{title:"Business Startup Package",ctaText:"Start Today",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://ama.ab.ca/business/small-business/business-startup",action:function(){r(this.anchorLink)}}],otherResources:[{title:"Oscar\u2019s Barbershop: Filing Annual Returns",ctaText:"Learn More",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://businesslink.ca/oscars-barbershop-filing-annual-returns/",action:function(){r(this.anchorLink)}}]}};var Ge={[Yt.GetReady]:{showRequestCallback:!0,amaResources:[{title:"AMA Rewards for Business",ctaText:"Learn More About AMA Rewards",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://ama.ab.ca/business/small-business/grow/rewards",action:function(){r(this.anchorLink)}}],otherResources:[{title:"Inventory Management",ctaText:"Streamline Your Inventory for Success",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://www.bdc.ca/en/articles-tools/entrepreneur-toolkit/guides/inventory-management",action:function(){r(this.anchorLink)}},{title:"Operations",ctaText:"Give Your Business a Competitive Edge",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://www.bdc.ca/en/articles-tools/operations",action:function(){r(this.anchorLink)}},{title:"Small Business Resources",ctaText:"Read Helpful Articles and Links",iconUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/desktop-computer-sm.png",anchorLink:"https://servus.ca/business/small-business/small-business-resources",action:function(){r(this.anchorLink)}}]}};var $e={[Vt.Launch]:{showRequestCallback:!0}};P();P();P();function Vn(t,a){if(t&1&&(o(0,"p",5),m(1),s()),t&2){let e=d();l(),k(e.subText)}}function Hn(t,a){t&1&&(o(0,"i",7),m(1,"launch"),s())}function Dn(t,a){if(t&1&&(o(0,"a",8),m(1),s()),t&2){let e=d();
1p("href",e.anchorLink,le),l(),k(e.ctaText)}}function zn(t,a){if(t&1&&m(0),t&2){let e=d();G(" ",e.ctaText," ")}}var Qt=(()=>{class t{constructor(){this.isExternal=!1,this.buttonClicked=new U}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=v({type:t,selectors:[["cta-button"]],inputs:{title:"title",subText:"subText",ctaText:"ctaText",iconUrl:"iconUrl",isExternal:"isExternal",anchorLink:"anchorLink"},outputs:{buttonClicked:"buttonClicked"},standalone:!1,decls:11,vars:5,consts:[["role","button",1,"card",3,"click"],[1,"d-flex","align-items-center","icon-image","d-none","d-md-flex"],["alt","button icon",3,"src"],[1,"d-flex","flex-column","align-items-start","w-100","justify-content-between","p-2","ps-md-3"],[1,"lato-black"],[1,"u-font-size__sm","m-0"],["id","cta-text",1,"u-color__royal","lato-black"],[1,"material-symbols-outlined","me-2"],["target","_blank",3,"href"]],template:function(n,i){n&1&&(o(0,"div",0),g("click",function(){return i.buttonClicked.emit()}),o(1,"div",1),x(2,"img",2),s(),o(3,"div",3)(4,"strong",4),m(5),s(),u(6,Vn,2,1,"p",5),o(7,"strong",6),u(8,Hn,2,0,"i",7),u(9,Dn,2,2,"a",8)(10,zn,1,1),s()()()),n&2&&(l(2),p("src",i.iconUrl,le),l(3),k(i.title),l(),h(i.subText?6:-1),l(2),h(i.isExternal?8:-1),l(),h(i.anchorLink?9:10))},styles:[".card[_ngcontent-%COMP%]{flex-direction:row;width:100%;background-color:#fff;box-shadow:none;border:1px solid #bed4e3;padding:0 .5rem}.card[_ngcontent-%COMP%]:hover   #cta-text[_ngcontent-%COMP%]{text-decoration:underline}.icon-image[_ngcontent-%COMP%]{width:3.65rem}"]})}}return t})();var $t=t=>({"u-bg-color__lightest-grey":t}),Kt=(t,a)=>({task:t,taskId:a}),Oe=t=>({$implicit:t}),Wn=(t,a)=>({"selected-task-style":t,"top-border-radius":a}),Jt=(t,a)=>a.id;function Qn(t,a){t&1&&E(0)}function Gn(t,a){if(t&1){let e=y();o(0,"div",8),g("click",function(){let i=b(e).$implicit,c=d(2);return f(c.selectTask(i.id))}),M(1,Qn,1,0,"ng-container",9),s()}if(t&2){let e=a.$implicit,n=d(2),i=w(3);p("ngClass",L(3,$t,n.selectedTaskId!==e.id)),l(),p("ngTemplateOutlet",i)("ngTemplateOutletContext",ue(5,Kt,e,e.id))}}function $n(t,a){t&1&&E(0)}function Kn(t,a){if(t&1){let e=y();o(0,"div",7)(1,"h3"),m(2),s(),o(3,"p"),m(4),s(),o(5,"app-checkbox",10),J("ngModelChange",function(i){b(e);let c=d(2);return K(c.tasks[c.selectedTaskId].completed,i)||(c.tasks[c.selectedTaskId].completed=i),f(i)}),g("click",function(){b(e);let i=d(2);return f(i.refreshTasks())}),m(6," Mark as Complete "),s(),M(7,$n,1,0,"ng-container",9),B(8,"map"),s()}if(t&2){let e=d(2),n=w(5);l(2),k(e.tasks[e.selectedTaskId].name),l(),Fe("white-space","pre-line"),l(),k(e.tasks[e.selectedTaskId].description),l(),p("border",!0)("fillCheckbox",!0),$("ngModel",e.tasks[e.selectedTaskId].completed),l(2),p("ngTemplateOutlet",n)("ngTemplateOutletContext",L(13,Oe,he(8,9,e.selectedTaskId,e.getResources,e.phaseId)))}}function Jn(t,a){if(t&1&&(o(0,"div",3)(1,"div",5),F(2,Gn,2,8,"div",6,Jt),s(),u(4,Kn,9,15,"div",7),s()),t&2){let e=d();l(2),q(e.tasks),l(2),h(e.selectedTaskId>=0?4:-1)}}function Zn(t,a){t&1&&E(0)}function Xn(t,a){t&1&&E(0)}function ei(t,a){if(t&1){let e=y();o(0,"div",13),g("show",function(){let i=b(e).$implicit,c=d(2);return f(c.selectTask(i.id))})("hide",function(){b(e);let i=d(2);return f(i.selectTask(-1))}),o(1,"div",14),x(2,"span",15),o(3,"div",16),M(4,Zn,1,0,"ng-container",9),s()(),o(5,"div",17)(6,"div",18)(7,"p",19),m(8),s(),o(9,"app-checkbox",20),J("ngModelChange",function(i){let c=b(e).$implicit;return K(c.completed,i)||(c.completed=i),f(i)}),g("click",function(){b(e);let i=d(2);return f(i.refreshTasks())}),m(10," Mark as Complete "),s(),M(11,Xn,1,0,"ng-container",9),B(12,"map"),s()()()}if(t&2){let e=a.$implicit,n=d(2),i=w(3),c=w(5);p("collapsed",n.selectedTaskId!==e.id),l(2),p("id","phase-"+n.phaseId+"-task-"+e.id),l(),p("ngClass",L(19,$t,n.selectedTaskId!==e.id)),l(),p("ngTemplateOutlet",i)("ngTemplateOutletContext",ue(21,Kt,e,e.id)),l(3),Fe("white-space","pre-line"),l(),k(e.description),l(),p("id",e.id)("name",e.name)("border",!0)("fillCheckbox",!0),$("ngModel",e.completed),l(2),p("ngTemplateOutlet",c)("ngTemplateOutletContext",L(24,Oe,he(12,15,e.id,n.getResources,n.phaseId)))}}function ti(t,a){if(t&1&&(o(0,"div",4)(1,"div",11),F(2,ei,13,26,"div",12,Jt),s()()),t&2){let e=d();l(),p("closeOthers",!0),l(),q(e.tasks)}}function ni(t,a){if(t&1&&(o(0,"div",21)(1,"div",22)(2,"span",23),m(3),s(),o(4,"strong",24),m(5),s()(),o(6,"span",25),m(7),s(),o(8,"span",26),m(9," chevron_right "),s()()),t&2){let e=a.task,n=a.taskId,i=d();p("ngClass",ue(6,Wn,i.selectedTaskId===n,n===0)),l(2),p("ngClass",e.completed?"u-color__green":"exclamation"),l(),G(" ",e.completed?"done":"exclamation"," "),l(2),pe("",n+1,". ",e.name),l(2),G(" ",i.selectedTaskId===n?"expand_less":"expand_more"," ")}}function ii(t,a){if(t&1){let e=y();o(0,"cta-button",30),B(1,"map"),g("buttonClicked",function(){b(e);let i=d(3);return f(i.openRequestCallbackModal())}),s()}if(t&2){let e=d(3);p("title",he(1,1,e.selectedTaskId,e.getCallBackCtaTitle,e.phaseId))}}function ai(t,a){t&1&&E(0)}function oi(t,a){if(t&1&&(o(0,"strong",28),m(1,"Ways AMA Can Help You"),s(),u(2,ii,2,5,"cta-button",29),M(3,ai,1,0,"ng-container",9)),t&2){let e=d().$implicit;d();let n=w(7);l(2),h(e.showRequestCallback?2:-1),l(),p("ngTemplateOutlet",n)("ngTemplateOutletContext",L(3,Oe,e.amaResources))}}function si(t,a){t&1&&E(0)}function ri(t,a){if(t&1&&(o(0,"strong",28),m(1,"Other Resources to Help You"),s(),M(2,si,1,0,"ng-container",9)),t&2){let e=d().$implicit;d();let n=w(7);l(2),p("ngTemplateOutlet",n)("ngTemplateOutletContext",L(2,Oe,e.otherResources))}}function ci(t,a){if(t&1&&(o(0,"div",27),u(1,oi,4,5),u(2,ri,3,4),s()),t&2){let e=a.$implicit;l(),h(e.showRequestCallback||e.amaResources?1:-1),l(),h(e!=null&&e.otherResources?2:-1)}}function li(t,a){if(t&1){let e=y();o(0,"cta-button",33),B(1,"titlecase"),B(2,"titlecase"),g("buttonClicked",function(){let i=b(e).$implicit;return f(i.action?i.action():null)}),s()}if(t&2){let e=a.$implicit;p("title",qe(1,6,e.title))("subText",e.subText)("ctaText",qe(2,8,e.ctaText))("iconUrl",e.iconUrl)("isExternal",!0)("anchorLink",e==null?null:e.anchorLink)}}function mi(t,a){if(t&1&&(o(0,"div",31),F(1,li,3,10,"cta-button",32,nt),s()),t&2){let e=a.$implicit;l(),q(e)}}var Zt=(()=>{class t{constructor(e,n){this.mms=e,this.modalService=n,this.updatedTasks=new U,this.selectedTaskId=-1}ngOnInit(){let e=this.tasks.findIndex(n=>!n.completed);this.selectTask(e!==-1?e:this.mms.isMobile?-1:0)}selectTask(e){this.selectedTaskId=e,this.mms.isMobile&&Re(`phase-${this.phaseId}-task-${e}`,190)}openRequestCallbackModal(){this.modalService.openModal(j,{name:se,offCanvas:!0,analyticsType:H.BusinessSuite,data:{businessInsuranceInquiry:this.phaseId===4&&this.selectedTaskId===A.Insure}})}refreshTasks(){setTimeout(()=>{this.updatedTasks.emit(this.tasks)})}getResources(e,n){return{1:ze,2:je,3:We,4:Qe,5:Ge,6:$e}[n][e]}getCallBackCtaTitle(e,n){return"Connect With "+(n===4&&e===A.Insure?"an Insurance Agent":"a Business Registries Specialist")}static{this.\u0275fac=function(n){return new(n||t)(C(D),C(R))}}static{this.\u0275cmp=v({type:t,selectors:[["phase-accordion-expanded"]],inputs:{phaseId:"phaseId",tasks:"tasks"},outputs:{updatedTasks:"updatedTasks"},standalone:!1,decls:8,vars:1,consts:[["taskItem",""],["CTA",""],["resourceButtons",""],[1,"expanded-content"],[1,"accordion","pb-3"],[1,"col-5"],[1,"desktop-tasks",3,"ngClass"],[1,"col-6"],[1,"desktop-tasks",3,"click","ngClass"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"ngModelChange","click","border","fillCheckbox","ngModel"],["ngbAccordion","",3,"closeOthers"],["ngbAccordionItem","",3,"collapsed"],["ngbAccordionItem","",3,"show","hide","collapsed"],["ngbAccordionHeader",""],[3,"id"],["ngbAccordionToggle","",3,"ngClass"],["ngbAccordionCollapse",""],["ngbAccordionBody",""],[1,"pt-3"],[3,"ngModelChange","click","id","name","border","fillCheckbox","ngModel"],[1,"d-flex","align-items-center","justify-content-between","py-4","px-3","cursor-pointer",3,"ngClass"],[1,"d-flex","align-items-center"],[1,"material-symbols-outlined",3,"ngClass"],[1,"px-3"],[1,"material-symbols-outlined","ms-auto","d-md-none"],[1,"material-symbols-outlined","u-font-size__xxxl","d-none","d-md-flex"],[1,"d-flex","flex-column","pt-6"],[1,"bold-text","pb-3"],["subText","Get tailored assistance","ctaText","Request a Call Back","iconUrl","https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/ama-agents_lg.png",1,"pb-4",3,"title"],["subText","Get tailored assistance","ctaText","Request a Call Back","iconUrl","https://cdn.ama.ab.ca/amaabcaprod/content/images/iconology/ama-agents_lg.png",1,"pb-4",3,"buttonClicked","title"],[1,"d-flex","flex-column","gap-4","resources"],[3,"title","subText","ctaText","iconUrl","isExternal","anchorLink"],[3,"buttonClicked","title","subText","ctaText","iconUrl","isExternal","anchorLink"]],template:function(n,i){n&1&&(u(0,Jn,5,1,"div",3)(1,ti,4,1,"div",4),M(2,ni,10,9,"ng-template",null,0,N)(4,ci,3,2,"ng-template",null,1,N)(6,mi,3,0,"ng-template",null,2,N)),n&2&&h(i.mms.isMobile?1:0)},dependencies:[Y,X,It,we,ve,ye,xe,Ce,ke,be,fe,Qt,ct,ne],styles:[".expanded-content[_ngcontent-%COMP%]{display:flex;justify-content:space-between;padding-top:1.5rem;padding-bottom:1rem}.resources[_ngcontent-%COMP%]   cta-button[_ngcontent-%COMP%]:last-of-type{padding-bottom:1.5rem}.desktop-tasks[_ngcontent-%COMP%]{border-bottom:1px solid #dbdbdb}.exclamation[_ngcontent-%COMP%]{color:#d6a103}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}app-checkbox[_ngcontent-%COMP%]{width:fit-content}.bold-text[_ngcontent-%COMP%]{font-family:Lato Black,Open Sans,Helvetica Neue,Helvetica,Arial,sans-serif}.accordion[_ngcontent-%COMP%]{--bs-accordion-border-color: white;--bs-accordion-border-radius: 0;
1--bs-accordion-body-padding-y: 0}.accordion[_ngcontent-%COMP%]   .accordion-item[_ngcontent-%COMP%]{border-bottom:1px solid #dbdbdb;border-radius:0}.accordion[_ngcontent-%COMP%]   .accordion-item[_ngcontent-%COMP%]   .selected-task-style[_ngcontent-%COMP%]{border:1px solid #dbdbdb;box-shadow:0 4px 4px #00000026}.accordion[_ngcontent-%COMP%]   .accordion-item[_ngcontent-%COMP%]   .show[_ngcontent-%COMP%]{border:1px solid #dbdbdb}.accordion[_ngcontent-%COMP%]   .accordion-item[_ngcontent-%COMP%]   .top-border-radius[_ngcontent-%COMP%], .accordion[_ngcontent-%COMP%]   .accordion-item[_ngcontent-%COMP%]:first-of-type   .collapsed[_ngcontent-%COMP%]{border-top-left-radius:.5625rem;border-top-right-radius:.5625rem}.accordion[_ngcontent-%COMP%]   .accordion-item[_ngcontent-%COMP%]:last-of-type{border-bottom:none}.accordion[_ngcontent-%COMP%]   .accordion-item[_ngcontent-%COMP%]:last-of-type   .collapsed[_ngcontent-%COMP%], .accordion[_ngcontent-%COMP%]   .accordion-item[_ngcontent-%COMP%]:last-of-type   .show[_ngcontent-%COMP%]{border-bottom-left-radius:.5625rem;border-bottom-right-radius:.5625rem}"]})}}return t})();P();P();var pi=function(t,a,e,n){var i=arguments.length,c=i<3?a:n===null?n=Object.getOwnPropertyDescriptor(a,e):n,_;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(t,a,e,n);else for(var S=t.length-1;S>=0;S--)(_=t[S])&&(c=(i<3?_(c):i>3?_(a,e,c):_(a,e))||c);return i>3&&c&&Object.defineProperty(a,e,c),c},ui=function(t,a){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,a)};function hi(t,a){if(t&1){let e=y();o(0,"div",2),g("click",function(){b(e);let i=d();return f(i.buttonClicked.emit())}),o(1,"div")(2,"h6")(3,"span",3),m(4,"mail"),s(),o(5,"span"),m(6,"The email you have provided is"),s()(),o(7,"p",4),m(8),s()(),o(9,"div",5)(10,"strong",6),m(11,"Resend Link"),s()()()}if(t&2){let e=d();l(8),k(e.email())}}function gi(t,a){if(t&1){let e=y();o(0,"div",7),g("click",function(){b(e);let i=d();return f(i.buttonClicked.emit())}),o(1,"div",8)(2,"span",9),m(3,"send"),s(),o(4,"div",10)(5,"strong",11),m(6,"Email My Results"),s(),o(7,"p",12),m(8," Access your personalized checklist via a link sent to your inbox "),s()()()()}}var Ie=class Je{constructor(a){this.abeService=a,this.buttonClicked=new U,this.email=Ne(()=>this.abeService.checkListState().email),this.changesSaved=Ne(()=>this.abeService.checkListState().emailSent)}static{this.\u0275fac=function(e){return new(e||Je)(C(T))}}static{this.\u0275cmp=v({type:Je,selectors:[["email-results-button"]],outputs:{buttonClicked:"buttonClicked"},standalone:!1,decls:2,vars:1,consts:[[1,"resend-card","d-flex","flex-column","flex-md-row","gap-0","gap-md-4","pt-2"],["id","emailCard","role","button",1,"card","u-border-color__dark-blue"],[1,"resend-card","d-flex","flex-column","flex-md-row","gap-0","gap-md-4","pt-2",3,"click"],[1,"material-symbols-outlined","pe-1"],[1,"m-0"],[1,"d-flex","align-items-center"],["id","cta-text",1,"u-color__royal","lato-black"],["id","emailCard","role","button",1,"card","u-border-color__dark-blue",3,"click"],[1,"d-flex"],[1,"material-symbols-outlined","send-icon","ms-3","ms-md-3","my-auto","u-color__dark-blue","flex-start"],[1,"d-flex","flex-row","flex-md-column","align-items-center","align-items-md-start","w-100","justify-content-between","p-2","ps-md-3"],[1,"lato-black","u-color__dark-blue"],[1,"u-font-size__sm","m-0","d-none","d-md-flex","lh-base"]],template:function(e,n){e&1&&u(0,hi,12,1,"div",0)(1,gi,9,0,"div",1),e&2&&h(n.email()&&n.changesSaved()?0:1)},styles:["[_nghost-%COMP%]{margin-left:auto;width:100%}@media only screen and (min-width:1366px){[_nghost-%COMP%]{width:26rem}}.resend-card[_ngcontent-%COMP%]:hover{cursor:pointer}.resend-card[_ngcontent-%COMP%]:hover   #cta-text[_ngcontent-%COMP%]{text-decoration:underline}#emailCard[_ngcontent-%COMP%]{border:none;flex-direction:row;width:100%;margin-left:auto;background-color:#fff;box-shadow:none;border:1px solid #246aa8}#emailCard[_ngcontent-%COMP%]   .send-icon[_ngcontent-%COMP%]{font-size:35px;font-weight:600}
1@media only screen and (min-width:1366px){#emailCard[_ngcontent-%COMP%]{width:26rem}}"]})}};Ie=pi([V(),ui("design:paramtypes",[T])],Ie);var ki=function(t,a,e,n){var i=arguments.length,c=i<3?a:n===null?n=Object.getOwnPropertyDescriptor(a,e):n,_;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(t,a,e,n);else for(var S=t.length-1;S>=0;S--)(_=t[S])&&(c=(i<3?_(c):i>3?_(a,e,c):_(a,e))||c);return i>3&&c&&Object.defineProperty(a,e,c),c},xi=function(t,a){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,a)},yi=(t,a)=>a.id;function vi(t,a){t&1&&x(0,"loading",8),t&2&&p("width",5)}function wi(t,a){if(t&1){let e=y();o(0,"div",18)(1,"phase-accordion",19),B(2,"map"),g("click",function(){let i=b(e).$implicit,c=d(2);return f(c.openPhase(i.id))}),o(3,"phase-accordion-expanded",20),g("updatedTasks",function(i){let c=b(e).$implicit,_=d(2);return f(_.refreshChecklistState(i,c.id))}),s()()()}if(t&2){let e=a.$implicit,n=d(2);l(),p("phase","Phase "+e.id)("id","phase-"+e.id)("title",e.name)("description",e.description)("progress",Z(2,8,e.items,n.getPhaseProgress))("collapsed",n.selectedPhase!==e.id),l(2),p("tasks",e.items)("phaseId",e.id)}}function Ti(t,a){if(t&1&&(o(0,"div",9),F(1,wi,4,11,"div",18,yi),s()),t&2){let e=d();l(),q(e.abeService.checkListState().phases)}}var de=class Ze{constructor(a,e,n,i,c,_){this.abeService=a,this.route=e,this.userService=n,this.modalService=i,this.router=c,this.mms=_,this.dataWidgetType=Mt,this.agentDataWidgetConfigExtras={agentType:Lt.RegistryAgent,specialities:[16,17]},this.selectedPhase=-1,this.isLoading=!1,this.checklistGuid=e.snapshot.queryParams.id}ngOnInit(){this.checklistGuid&&this.abeService.getChecklisById(this.checklistGuid).withLoad(e=>this.isLoading=e).subscribe({next:e=>{e.emailSent=!0,e.quizCompleted=!0,e.guid=this.checklistGuid,this.abeService.updateCheckListState(e)},error:()=>{this.navigateToQuiz()}}).attach(this);let a=pt()===dt.Prod;!this.checklistGuid&&!this.abeService.checkListState().quizCompleted&&a&&this.navigateToQuiz(),this.userService.getUserInfo().subscribe(e=>this.user=e).attach(this)}navigateToQuiz(){this.router.navigateByUrl(this.quizUrl)}get quizUrl(){return this.router.serializeUrl(this.router.createUrlTree([".."],{relativeTo:this.route}))}openEmailResultsModal(){this.modalService.openModal(re,{name:"email my results",offCanvas:!0,analyticsType:H.BusinessSuite,data:{user:this.user}})}openRegistryCallbackModal(){this.modalService.openModal(j,{name:se,offCanvas:!0,analyticsType:H.BusinessSuite})}getPhaseProgress(a){let e=a.length,n=a.filter(c=>c.completed).length;return{totalTasks:e,tasksComplete:n,phaseComplete:e===n}}refreshChecklistState(a,e){let{phaseComplete:n}=this.getPhaseProgress(a);if(this.abeService.checkListState.update(i=>Ue(ce({},i),{phases:i.phases.map(c=>c.id===e?Ue(ce({},c),{completed:n,items:a}):c),emailSent:!1})),n){this.navigateToNextIncompletePhase();return}this.mms.isMobile||this.scrollToPhase(e)}openPhase(a){this.selectedPhase!==a&&(this.selectedPhase=a,setTimeout(()=>{this.scrollToPhase(a)},300))}navigateToNextIncompletePhase(){let a=this.abeService.checkListState().phases.find(e=>!e.completed);a&&this.openPhase(a.id)}scrollToPhase(a){let e=this.mms.isMobile?190:160;Re(`phase-${a}`,e)}static{this.\u0275fac=function(e){return new(e||Ze)(C(T),C(ee),C(_e),C(R),C(te),C(D))}}static{this.\u0275cmp=v({type:Ze,selectors:[["abe-checklist"]],standalone:!1,decls:31,vars:5,consts:[[1,"u-bg-color__lightest-grey"],[3,"user"],[1,"container"],[1,"top-section"],[1,"col-12","col-md-5","pb-5"],["arrowPosition","start","arrowDirection","left",3,"click","analyticsRedirectUrl"],[1,"d-flex","gap-2","flex-column","col-12","col-md-5"],[3,"buttonClicked"],[3,"width"],[1,"py-8"],[1,"container","py-8"],[1,"row"],[1,"col-12","col-md-5"],[1,"mb-3"],[3,"configExtras","type"],[1,"row","justify-content-center"],[1,"col-md-5","text-center"],["href","/registries/agents",1,"btn","btn-primary"],[1,"pb-4"],[3,"click","phase","id","title","description","progress","collapsed"],[3,"updatedTasks","tasks","phaseId"]],template:function(e,n){e&1&&(o(0,"div",0),x(1,"abe-sticky-menu",1),o(2,"div",2)(3,"div",3)(4,"div",4)(5,"h3"),m(6,"Congratulations on Taking the First Steps Towards Launching Your Business!"),s(),o(7,"p"),m(8," Starting a business can feel overwhelming, but the AMA Business Registry Checklist is here to guide you through every step. This comprehensive tool ensures you consider all essential aspects of your entrepreneurial journey, from your initial ideas to formal business registration. "),s(),o(9,"p"),m(10," The checklist is designed to help you stay organized and on track, offering expert insights and guidance along the way. And if you need more support, our Registry Advisors are here to help. Whether you\u2019re looking for advice, have questions, or need extra guid
1ance, our team is ready to assist you as you navigate the path to launching your business successfully. "),s(),o(11,"line-button",5),g("click",function(){return n.navigateToQuiz()}),m(12," Retake the Quiz "),s()(),o(13,"div",6)(14,"callback-button",7),g("buttonClicked",function(){return n.openRegistryCallbackModal()}),s(),o(15,"email-results-button",7),g("buttonClicked",function(){return n.openEmailResultsModal()}),s()()(),u(16,vi,1,1,"loading",8)(17,Ti,3,0,"div",9),s()(),o(18,"div",10)(19,"div",11)(20,"div",12)(21,"h3",13),m(22,"Our Expert Business Registry Specialists Can Help"),s(),o(23,"div"),m(24," From selecting a type of business structure to registering your business and obtaining a license, our specialists are here to help. We can connect you with valuable resources to create your business plan and build your path to a successful business. "),s()()(),o(25,"div",9),x(26,"widget",14),s(),o(27,"div",15)(28,"div",16)(29,"a",17),m(30,"Meet Our Registry Specialists"),s()()()()),e&2&&(l(),p("user",n.user),l(10),p("analyticsRedirectUrl",n.quizUrl),l(5),h(n.isLoading?16:17),l(10),p("configExtras",n.agentDataWidgetConfigExtras)("type",n.dataWidgetType.Agent))},dependencies:[Te,St,Se,Rt,jt,Ee,Be,Zt,Ie,ne],styles:[".top-section[_ngcontent-%COMP%]{display:flex;justify-content:space-between;flex-direction:column;padding-top:2rem}@media only screen and (min-width:1024px){.top-section[_ngcontent-%COMP%]{flex-direction:row}}#emailSentCard[_ngcontent-%COMP%]{width:100%;margin-left:auto}@media only screen and (min-width:1366px){#emailSentCard[_ngcontent-%COMP%]{width:25rem}}.fit-content[_ngcontent-%COMP%]{width:fit-content}"]})}};de=ki([V(),xi("design:paramtypes",[T,ee,_e,R,te,D])],de);P();var Xt=[{id:0,name:z.CurrentStageQuestion,text:"What Best Describes the Current Stage of Your Business?",subtext:"Whether you\u2019re just brainstorming ideas or you\u2019re ready to register your business, knowing where you are in the process is key to building a strong foundation before you open your doors.",hasAnswered:!1,allowsMultipleAnswers:!0,answers:[{imageUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/alberta-business/have-business-idea.png",text:"Just Have a Business Idea",value:ie.HaveBusinessIdea,selected:!1},{imageUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/alberta-business/conducted-research.png",text:"Conducted Some Market Research",value:ie.MadeResearch,selected:!1},{imageUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/alberta-business/ready-to-write-plan.png",text:"Ready to Write a Business Plan",value:ie.ReadyToWritePlan,selected:!1},{imageUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/alberta-business/looking-for-funding.png",text:"Looking for Funding",value:ie.LookingForFunding,selected:!1},{imageUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/alberta-business/ready-to-launch.png",text:"Ready to Launch",value:ie.ReadyToLaunch,selected:!1}]},{id:1,name:z.IndustryQuestion,text:"What Industry Are You Interested In?",subtext:" The type of business you choose can impact everything from your business plan to your marketing approach. Let us help you align your goals with your industry.",hasAnswered:!1,allowsMultipleAnswers:!1,answers:[{imageUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/alberta-business/industry-tech.png",text:"Technology",value:ae.Technology,selected:!1},{imageUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/alberta-business/industry-retail.png",text:"Retail",value:ae.Retail,selected:!1},{imageUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/alberta-business/industry-services.png",text:"Services",value:ae.Services,selected:!1},{imageUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/alberta-business/industry-manufacturing.png",text:"Manufacturing",value:ae.Manufacturing,selected:!1},{imageUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/alberta-business/industry-other.png",text:"Other",value:ae.Other,selected:!1}]},{id:2,name:z.IsUnderDifferentNameQuestion,text:"Do You Plan to Do Business Under a Name Different Than Your Own?",subtext:"Choosing the right business name is essential when you register your business. Knowing this will help you meet legal requirements and create a recognizable brand.",hasAnswered:!1,allowsMultipleAnswers:!1,answers:[{imageUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/alberta-business/store-with-a-name.png",text:"Yes",value:!0,selected:!1},{imageUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/alberta-business/person-with-a-name.png",text:"No",value:!1,selected:!1}]},{id:3,name:z.OwnersQuestion,text:"How Many Owners Will Your Business Have?",subtext:" Your ownership structure will influence your type of business, legal requirements, and operational strategy. ",hasAnswered:!1,allowsMultipleAnswers:!1,answers:[{imageUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/alberta-business/one-person.png",text:"Just Me",value:Ye.JustMe,selected:!1},{imageUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/alberta-business/multiple-people.png",text:"More Than One",value:Ye.MoreThanOne,selected:!1}]},{id:4,name:z.LegalReqFamiliarityQuestion,text:"How Familiar Are You With the Legal Requirements of Starting a Business?",subtext:"Understanding the rules to start and register your business can save you time and hassle. We can connect you with the right resources to fill in any gaps.",hasAnswered:!1,allowsMultipleAnswers:!1,answers:[{imageUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/alberta-business/very-familiar.png",text:"Very Familiar",value:Le.VeryFamiliar,selected:!1},{imageUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/alberta-business/somewhat-familiar.png",text:"Somewhat Familiar",value:Le.SomewhatFamiliar,selected:!1},{imageUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/alberta-business/not-familiar.png",text:"Not Familiar",value:Le.NotFamiliar,selected:!1}]},{id:5,name:z.HasBudgetQuestion,text:"Do You Have a Budget or Funding for Your Business?",subtext:"A plan for financing, whether through savings, investors, or a small business loan, is critical to starting a successful business. A clear budget supports your overall business plan and long-term goals.",hasAnswered:!1,allowsMultipleAnswers:!1,answers:[{imageUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/alberta-business/funding.png",text:"Yes, I Have a Budget/Funding",value:!0,selected:!1},{imageUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/alberta-business/no-funding.png",text:"No, I Need Help With This",value:!1,selected:!1}]},{id:6,name:z.ConcernsQuestion,text:"What\u2019s Your Biggest Concern About Starting a Business?",subtext:"Identifying challenges like competition, finding customers, or managing finances can help you plan effectively and build a successful business.",hasAnswered:!1,allowsMultipleAnswers:!0,answers:[{imageUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/alberta-business/multiple-people.png",text:"Finding Customers",value:oe.FindingCustomers,selected:!1},{imageUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/alberta-business/industry-retail.png",text:"Competition",value:oe.Competition,selected:!1},{imageUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/alberta-business/funding.png",text:"Managing Finances",value:oe.ManagingFinances,selected:!1},{imageUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/alberta-business/ready-to-write-plan.png",text:"Legal Requirements",value:oe.LegalRequirements,selected:!1},{imageUrl:"https://cdn.ama.ab.ca/amaabcaprod/content/images/alberta-business/industry-other.png",text:"Other",value:oe.Other,selected:!1}]}];P();var Si=t=>({$implicit:t});function Mi(t,a){t&1&&E(0)}function Li(t,a){t&1&&m(0," Select All That Apply ")}function Pi(t,a){t&1&&m(0," Choose One Answer to Continue ")}function Ri(t,a){if(t&1){let e=y();o(0,"line-button",14),g("click",function(){b(e);let i=d();return f(i.previousQuestion())}),m(1,"Previous Question"),s()}}function Ai(t,a){if(t&1){let e=y();o(0,"button",15),g("click",function(){b(e);let i=d();return f(i.previousQuestion())}),o(1,"span",16),m(2," chevron_left "),s(),o(3,"span"),m(4,"Previous Question"),s()()}}function Ei(t,a){if(t&1){let e=y();o(0,"button",22),g("click",function(){let i=b(e).$implicit,c=d(2);return f(c.toggleAnswer(i))}),o(1,"div",23),x(2,"img",24),s(),o(3,"div"),x(4,"div",25)(5,"img",26),s(),o(6,"p",27),m(7),s()()}if(t&2){let e=a.$implicit,n=d().$implicit;st(n.classes),Q("selected",e.selected),l(5),p("src",e.imageUrl,le),l(2),k(e.text)}}function Bi(t,a){if(t&1&&(o(0,"div",17)(1,"p",18)(2,"strong"),m(3),s()(),o(4,"h2",18),m(5),s(),o(6,"div",19),m(7),s(),o(8,"div",20),F(9,Ei,8,6,"button",21,it),s()()),t&2){let e=a.$implicit,n=d();l(3),pe("Question ",e.id+1," of ",n.questions.length),l(2),k(e.text),l(2),k(e.subtext),l(2),q(e.answers
1)}}var W=(function(t){return t[t.CurrentStage=0]="CurrentStage",t[t.Industry=1]="Industry",t[t.IsUnderDifferentName=2]="IsUnderDifferentName",t[t.Owners=3]="Owners",t[t.LegalReqFamiliarity=4]="LegalReqFamiliarity",t[t.HasBudget=5]="HasBudget",t[t.Concerns=6]="Concerns",t})(W||{}),en=(()=>{class t{constructor(e,n,i,c,_,S,tn){this.router=e,this.route=n,this.pageScrollService=i,this.mms=c,this.stateService=_,this.document=S,this.gaService=tn,this.questions=Xt}ngOnInit(){this.restart()}previousQuestion(){this.currentQuestion.id>0&&(this.currentQuestion=this.questions[this.currentQuestion.id-1]),this.scrollToQuestionTop()}nextQuestion(){this.currentQuestion.hasAnswered&&(this.currentQuestion.id+1>=this.questions.length?(this.quizCompletedAnalytics(),this.stateService.transformQuizToChecklist(this.data),this.goToChecklist()):this.currentQuestion=this.questions[this.currentQuestion.id+1],this.scrollToQuestionTop())}toggleAnswer(e){let n=e.value;switch(this.currentQuestion.allowsMultipleAnswers||this.currentQuestion.answers.filter(i=>i.text!==e.text).forEach(i=>{i.selected=!1}),e.selected=!e.selected,this.currentQuestion.id){case W.CurrentStage:this.updateMultipleAnswers(this.data.currentStage,this.data.currentStage.indexOf(n),n),this.currentQuestion.hasAnswered=this.data.currentStage.length>0;break;case W.Industry:this.updateAnswer("industry",n);break;case W.IsUnderDifferentName:this.updateAnswer("isUnderDifferentName",e.value);break;case W.Owners:this.updateAnswer("owners",n);break;case W.LegalReqFamiliarity:this.updateAnswer("legalReqFamiliarity",n);break;case W.HasBudget:this.updateAnswer("hasBudget",e.value);break;case W.Concerns:this.updateMultipleAnswers(this.data.concerns,this.data.concerns.indexOf(n),n),this.currentQuestion.hasAnswered=this.data.concerns.length>0;break}}quizCompletedAnalytics(){this.gaService.pushEvent({event:"quiz_complete",business_unit:"reg",website_name:window.location.hostname,item_name:"alberta business engine quiz",item_category:"quiz",item_action:"quiz submitted",item_action_detail:`answers: ${this.formatAnswersForAnalytics()}`})}formatAnswersForAnalytics(){return[this.mapValuesToText(this.data.currentStage,this.questions[0]).join(","),this.mapValuesToText([this.data.industry],this.questions[1]),this.data.isUnderDifferentName?"Yes":"No",this.mapValuesToText([this.data.owners],this.questions[3]),this.mapValuesToText([this.data.legalReqFamiliarity],this.questions[4]),this.data.hasBudget?"Yes":"No",this.mapValuesToText(this.data.concerns,this.questions[6]).join(",")].join("|")}mapValuesToText(e,n){return e.map(i=>{let c=n.answers.find(_=>_.value===i);return c?c.text:""})}goToChecklist(){this.router.navigate(["business","start","checklist"])}updateAnswer(e,n){this.data[e]=this.data[e]===n?void 0:n,this.currentQuestion.hasAnswered=this.data[e]!==void 0}updateMultipleAnswers(e,n,i){n===-1?e.push(i):e.splice(n,1)}restart(){this.data={currentStage:[],industry:void 0,isUnderDifferentName:void 0,owners:void 0,legalReqFamiliarity:void 0,hasBudget:void 0,concerns:[]},this.questions.forEach(e=>{e.answers.forEach(n=>{n.selected=!1}),e.hasAnswered=!1}),this.currentQuestion=this.questions[0],this.stateService.setCheckListState(Ht)}scrollToQuestionTop(){(this.mms.isPhone||this.mms.isTablet)&&this.pageScrollService.scroll({document:this.document,scrollTarget:"#questionTop",duration:300,scrollOffset:this.mms.isPhone?185:200})}static{this.\u0275fac=function(n){return new(n||t)(C(te),C(ee),C(Et),C(D),C(T),C(et),C(Tt))}}static{this.\u0275cmp=v({type:t,selectors:[["abe-quiz"]],standalone:!1,decls:23,vars:13,consts:[["questionTmpl",""],[1,"scrolltarget"],[1,"container"],[1,"my-3"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"mt-3","mt-md-6"],[1,"text-sm-center"],[1,"mt-6","mb-2"],[1,"lato-black"],[1,"d-sm-flex","justify-content-center","quiz-controls","d-none","d-sm-block"],["arrowPosition","start","arrowDirection","left"],["type","button","analytics-ignore","",1,"btn","btn-primary",3,"click","disabled"],[1,"d-sm-none"],[1,"c-line-button","u-color__royal","mt-3"],["arrowPosition","start","arrowDirection","left",3,"click"],[1,"c-line-button","u-color__royal","mt-3",3,"click"],[1,"material-symbols-outlined"],["
1id","questionTop",1,"text-sm-center","my-3"],[1,"mb-0"],[1,"question-subtext"],[1,"row","justify-content-lg-center","question"],["type","button",1,"mt-3","px-2",3,"selected","class"],["type","button",1,"mt-3","px-2",3,"click"],[1,"check"],["src","https://cdn.ama.ab.ca/amaabcaprod/external-assets/membership/quiz/green-checkmark-and-circle.svg","alt","check"],[1,"overlay"],["width","160","alt","answer_image",3,"src"],[1,"mt-2","lato-black"]],template:function(n,i){if(n&1&&(x(0,"div",1),o(1,"div",2)(2,"div")(3,"div",3),M(4,Mi,1,0,"ng-container",4),s(),x(5,"hr",5),o(6,"div",6)(7,"p",7)(8,"strong",8),u(9,Li,1,0)(10,Pi,1,0),s()(),o(11,"div",9),u(12,Ri,2,0,"line-button",10),o(13,"button",11),g("click",function(){return i.nextQuestion()}),m(14," Continue "),s()(),o(15,"div",12)(16,"div")(17,"button",11),g("click",function(){return i.nextQuestion()}),m(18," Continue "),s()(),o(19,"div"),u(20,Ai,5,0,"button",13),s()()()()(),M(21,Bi,11,4,"ng-template",null,0,N)),n&2){let c=w(22);l(4),p("ngTemplateOutlet",c)("ngTemplateOutletContext",L(11,Si,i.currentQuestion)),l(5),h(i.currentQuestion.allowsMultipleAnswers?9:10),l(3),h(i.currentQuestion.id>0?12:-1),l(),Q("disabled",!i.currentQuestion.hasAnswered),p("disabled",!i.currentQuestion.hasAnswered),l(4),Q("disabled",!i.currentQuestion.hasAnswered),p("disabled",!i.currentQuestion.hasAnswered),l(3),h(i.currentQuestion.id>0?20:-1)}},dependencies:[X,Se],styles:["#questionTop[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin:0 5px}.question[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{border:none;background:none;padding:0;width:auto;display:flex;flex-direction:column;align-items:center;position:relative}.question[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{width:190px}.question[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]   .check[_ngcontent-%COMP%]{position:absolute;display:none;top:15px;margin-right:100px;z-index:2;width:35px}.question[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]   .check[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:100%;height:100%}.question[_ngcontent-%COMP%]   button.selected[_ngcontent-%COMP%]   .check[_ngcontent-%COMP%], .question[_ngcontent-%COMP%]   button.selected[_ngcontent-%COMP%]   .overlay[_ngcontent-%COMP%]{display:block!important}@media only screen and (max-width:1023px){.question[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{max-width:50%;flex-basis:50%}.question[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]   .check[_ngcontent-%COMP%]{top:5px;left:20px}}.question[_ngcontent-%COMP%]   button[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(.check){background-color:#fff;border-radius:.5625rem;padding:15px 5px;position:relative;filter:drop-shadow(1px 3px 4px rgba(1,11,24,.2))}.question[_ngcontent-%COMP%]   button[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(.check)   .overlay[_ngcontent-%COMP%]{position:absolute;inset:0;z-index:1;display:none;background-color:#246ca980;border-radius:.5625rem}.question-subtext[_ngcontent-%COMP%]{margin:0 auto;max-width:710px}.quiz-controls[_ngcontent-%COMP%]{position:relative}.quiz-controls[_ngcontent-%COMP%]   line-button[_ngcontent-%COMP%]{text-align:left;position:absolute;bottom:0;left:0}.btn-primary.disabled[_ngcontent-%COMP%]{background-color:#c6c6c6;border-color:#c6c6c6}"]}
1)}}return t})();P();var Oi=[{path:"",component:de}],us=(()=>{class t{static{this.AbeQuizComponent=en}static{this.AbeChecklistComponent=de}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=tt({type:t})}static{this.\u0275inj=Xe({imports:[mt.forChild(Oi),lt,Ut,Nt,vt,yt,At,Ft,j]})}}return t})();export{us as AlbertaBusinessEngineModule};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.