1import{a as oe}from"./chunk-ONCRFWYH.js";import{a as re}from"./chunk-WH6553TB.js";import{v as ne}from"./chunk-7DQ5IDYD.js";import"./chunk-OHK4JWWL.js";import"./chunk-GAWBVHDV.js";import"./chunk-466IXCVS.js";import"./chunk-I4SNZ2Q5.js";import"./chunk-6FG4KXI6.js";import"./chunk-XCS72FDQ.js";import"./chunk-WLL3BAAB.js";import"./chunk-EDF3FQZZ.js";import"./chunk-ZGSLCXHW.js";import"./chunk-O474YC64.js";import"./chunk-PNPW23CE.js";import"./chunk-DIEYCNP2.js";import"./chunk-TQPKTQAL.js";import"./chunk-D7VEHFH6.js";import"./chunk-BJEDNTAC.js";import"./chunk-OSUWHDPV.js";import"./chunk-7365YTCK.js";import"./chunk-6TQOBFCS.js";import"./chunk-PPMQE2JW.js";import"./chunk-FUUHAJX4.js";import"./chunk-2UQAVQ45.js";import"./chunk-JKUHAAK3.js";import"./chunk-ZEOBUA47.js";import"./chunk-Z5XG4XOC.js";import"./chunk-5SRAOHH7.js";import"./chunk-S2WGG3O5.js";import"./chunk-2VXHONUW.js";import"./chunk-BTWHZXKR.js";import{d as Z,e as ee,q as te}from"./chunk-NQRRLVFI.js";import"./chunk-HTF3JALH.js";import"./chunk-RJGQFZWE.js";import"./chunk-RYGMUVZO.js";import"./chunk-6LHHOJ67.js";import"./chunk-YDRZG5W4.js";import"./chunk-C2K24JJO.js";import"./chunk-SKLK4QB7.js";import"./chunk-FOX6PFLG.js";import"./chunk-4BJWPEWV.js";import"./chunk-IHXXJ3FS.js";import"./chunk-XIR7RIPN.js";import"./chunk-EQEHDPN2.js";import"./chunk-KQNKCWSB.js";import"./chunk-7GS6EP74.js";import"./chunk-W3NQXQOX.js";import"./chunk-FN5PQSEI.js";import"./chunk-DORVKHI7.js";import"./chunk-TN75OO2P.js";import"./chunk-YR7EQSKE.js";import{c as K,e as Q}from"./chunk-7A4O647I.js";import"./chunk-LO6CADJZ.js";import"./chunk-BE6I22JN.js";import{a as V}from"./chunk-4Z5RL6QO.js";import"./chunk-C5N2ULTJ.js";import"./chunk-HQANNBNX.js";import"./chunk-AE6ER5EQ.js";import"./chunk-VCDKFT4V.js";import"./chunk-U7DEF5TX.js";import{a as ie}from"./chunk-PFMUUSHO.js";import"./chunk-2TFAGBRS.js";import"./chunk-BUYGALCV.js";import"./chunk-2QYSD5RO.js";import"./chunk-5PO4QCCX.js";import"./chunk-DMHJZRXD.js";import"./chunk-K4QTA3A5.js";import"./chunk-54W4P7NA.js";import"./chunk-XYUM3QGQ.js";import{L as z}from"./chunk-AJRHK7D2.js";import"./chunk-QGTBO2LV.js";import"./chunk-BPCMKL7S.js";import"./chunk-PCGUCIEY.js";import{a as Y}from"./chunk-TBVUQWMS.js";import{f as F,h as q,n as G}from"./chunk-FAGCLODN.js";import"./chunk-ROUGUONR.js";import"./chunk-SVLM2ECX.js";import"./chunk-MY5YK5O5.js";import"./chunk-4NGQH4V6.js";import"./chunk-PWQXPZVK.js";import"./chunk-UKHQPMQZ.js";import"./chunk-Y4AYZAWK.js";import"./chunk-7WAXKT5I.js";import"./chunk-MHLI7EB3.js";import"./chunk-KIBC2ZGT.js";import{Z as W,_ as J,ca as $}from"./chunk-6K3X73CK.js";import"./chunk-DLTOIL4G.js";import{e as U}from"./chunk-334MXCTX.js";import{b as X}from"./chunk-U5TOGEJX.js";import{H as N,L as B}from"./chunk-OD4FXCMW.js";import{D as A,Fc as y,Ib as l,Ob as d,Pb as R,S as w,Wc as n,Yc as c,Zc as S,_c as L,bd as O,cb as j,g as k,hc as H,jc as T,la as v,na as P,oc as _,pc as t,qc as i,rc as g,ta as x,ua as D,ud as p,vd as m,xa as E,y as M,z as h,zb as s}from"./chunk-T2TVCV7P.js";import"./chunk-BBHHUGUF.js";var u=class a{constructor(e,o){this.dialogRef=o;Object.assign(this,e)}close(){this.dialogRef.close()}static{this.\u0275fac=function(o){return new(o||a)(l(J),l(W))}}static{this.\u0275cmp=d({type:a,selectors:[["ng-component"]],decls:53,vars:30,consts:[["title","Get Help",3,"close"],[1,"pt-4"],[1,"list-styled","list-styled--gray-900"],["mat-button","","type","button",1,"btn","btn-outline-primary","m-1",3,"click"]],template:function(o,r){o&1&&(t(0,"ui-popup-header",0),y("close",function(){return r.close()}),i(),t(1,"mat-dialog-content",1)(2,"h4"),n(3,"Overview"),i(),t(4,"p"),n(5),i(),t(6,"h4"),n(7,"What does this mean for me?"),i(),t(8,"p"),n(9),p(10,"translate"),i(),t(11,"h4"),n(12,"How do I get access?"),i(),t(13,"p"),n(14),i(),t(15,"p"),n(16),p(17,"translate"),i(),t(18,"ul",2)(19,"li"),n(20,"The Ausmed website"),i(),t(21,"li"),n(22),p(23,"translate"),i()(),t(24,"h4"),n(25,"Can I unlink my accounts?"),i(),t(26,"p"),n(27),p(28,"translate"),p(29,"translate"),i(),t(30,"h4"),n(31,"What data will be shared?"),i(),t(32,"p"),n(33),i(),t(34,"ul",2)(35,"li"),n(36,"Member ID"),i(),t(37,"li"),n(38,"Email"),i(),t(39,"li"),n(40,"Join date"),i(),t(41,"li"),n(42,"Membership status"),i(),t(43,"li"),n(44,"Date of birth"),i(),t(45,"li"),n(46),p(47,"translate"),i()(),t(48,"p"),n(49),i()(),t(50,"ui-popup-buttons")(51,"button",3),y("click",function(){return r.close()}),n(52,"Close"),i()()),o&2&&(s(5),S("",r.partner.name," (",r.partner.abbreviation,") Members are able to access all of the benefits of an Ausmed Subscription as part of a member benefit."),s(4),L("All ",r.partner.abbreviation," Assist and ",r.partner.abbreviation," Complete members will be granted access to Ausmed's online ",m(10,18,"CPD")," resources as part of their membership."),s(5),S(" To initiate access, you will be required to link your ",r.partner.abbreviation," account with Ausmed. You can link your existing Ausmed account, or create a new Ausmed account. If you currently have a personal subscription with Ausmed, your payments will cease and will recommence upon expiration of your ",r.partner.abbreviation," membership if applicable. "),s(2),c(" You will be able to access Ausmed's online ",m(17,20,"CPD")," resources via: "),s(6),c("The 'Learning' section of the Ausmed ",m(23,22,"CPD")," App"),s(5),O(" Yes, you can manually unlink your ",r.partner.abbreviation," account and
1your Ausmed account via the Ausmed website. Access to Ausmed's online ",m(28,24,"CPD")," resources will automatically cease if you manually unlink your accounts. If my ",r.partner.abbreviation," membership expires, will I still be able to access my Ausmed account? Yes. If your ",r.partner.abbreviation," membership expires, or you manually unlink your ",r.partner.abbreviation," and Ausmed accounts, you will still be able to access your ",m(29,26,"CPD")," Portfolio and all associated records in your Ausmed account. "),s(6),c(" Upon linking your ",r.partner.abbreviation," account with Ausmed, the following information will be shared between the two applications: "),s(13),c("",m(47,28,"CPD")," Progress"),s(3),c(" You are able to unlink your ",r.partner.abbreviation," and Ausmed accounts at any time via the Ausmed website. "))},dependencies:[Z,$,ee,K],encapsulation:2})}};var f=class a{constructor(e){this.http=e}authMedibank(e){return this.http.get(Y.accountServiceEndpoint+`/authMedibank?jwt=${e}`)}static{this.\u0275fac=function(o){return new(o||a)(E(U))}}static{this.\u0275prov=x({token:a,factory:a.\u0275fac,providedIn:"root"})}};function pe(a,e){a&1&&g(0,"div",1)}var b=class a{constructor(e,o,r,I,ce,de){this.authService=e;this.medibankService=o;this.route=r;this.router=I;this.platformId=ce;this.headerService=de;this.ngUnsubscribe=new k}ngOnInit(){this.headerService.setDisplayOptions({showSignIn:!1},this.ngUnsubscribe),this.route.queryParams.pipe(v(e=>e&&Object.keys(e).length>0&&e.jwt?(this.jwt=e.jwt,this.medibankService.authMedibank(this.jwt)):h(()=>({message:"You cannot log in since there is no valid data provided."}))),w(e=>h(()=>({title:"Sorry an error occurred.",message:e.error&&e.error.message||e.statusText||e.message||e}))),v(e=>(e.token&&this.authService.isAuthenticated()?this.authService.fullLogout(!1):M(null)).pipe(A(()=>e))),P(e=>{e.token&&(this.authService.setToken(e.token),B(this.platformId)?location.href=location.protocol+"//"+location.host+"/dashboard":this.router.navigate(["/dashboard"]))}),V(e=>this.loadStatus=e)).subscribe({error:e=>{console.log(e)}})}ngOnDestroy(){this.ngUnsubscribe.next()}static{this.\u0275fac=function(o){return new(o||a)(l(z),l(f),l(F),l(q),l(j),l(ie))}}static{this.\u0275cmp=d({type:a,selectors:[["ng-component"]],decls:2,vars:3,consts:[["cssClass","loaderContainer--standalone",3,"loaded","loadError"],[1,"container","py-10"]],template:function(o,r){o&1&&(g(0,"loader-container",0),H(1,pe,1,0,"div",1)),o&2&&(_("loaded",r.loadStatus.done)("loadError",r.loadStatus.error),s(),T(r.loadStatus.error?1:-1))},dependencies:[re],encapsulation:2})}};var me=[{path:"medibank",component:b}],ae=class a{static{this.\u0275fac=function(o){return new(o||a)}}static{this.\u0275mod=R({type:a})}static{this.\u0275inj=D({imports:[N,ne,G.forChild(me),te,Q,oe,X,u]})}};export{ae as LinkStartModule};
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.