PageSourceSearch

https://app.zizzlhealth.com/chunk-NJOLMKCV.js

js zizzlhealth.com collected 2026-10-04 09:04:55 UTC 68,410 bytes, 366 lines download raw bytes

1import{a as Xt}from"./chunk-RNSH36DY.js";import{a as $t}from"./chunk-HYMHHPRT.js";import{a as Yt}from"./chunk-MX52JLSM.js";import{a as Wt}from"./chunk-CM3YMKPH.js";import{a as jt}from"./chunk-UIC3F5SJ.js";import"./chunk-PF23TUI5.js";import"./chunk-X4SS5AE4.js";import{a as Gt}from"./chunk-NHKGU2ZU.js";import{a as Qt}from"./chunk-ZTUFD5WV.js";import{a as Kt}from"./chunk-VMF7DVVE.js";import{b as Ht,d as Ot}from"./chunk-LDHAEA2C.js";import"./chunk-GX6Q44PG.js";import{a as Jt}from"./chunk-TT4JBDS4.js";import"./chunk-COG6NDFD.js";import"./chunk-WU3ZZRCF.js";import"./chunk-2DVW6NNR.js";import"./chunk-J33STALQ.js";import"./chunk-7UZYWCAJ.js";import"./chunk-JPW7Q7LK.js";import"./chunk-RLW3V3EM.js";import{a as zt}from"./chunk-E5MZHRCM.js";import"./chunk-OTCVUNFS.js";import"./chunk-EJ2SHUDU.js";import"./chunk-H6JGA3DX.js";import"./chunk-UGA52WK6.js";import"./chunk-3BFAUH7X.js";import"./chunk-AVU5L2TO.js";import"./chunk-UI46IEFP.js";import"./chunk-2CKLEDFQ.js";import"./chunk-33FEPJ3A.js";import"./chunk-TPBA6ABQ.js";import"./chunk-AEEFSUM3.js";import"./chunk-RQ6AKNCT.js";import"./chunk-KZOPVYTS.js";import{a as Rt}from"./chunk-V2OO5VHH.js";import"./chunk-PYUPTSCS.js";import"./chunk-7K5NL6GZ.js";import"./chunk-ZLZN3GPS.js";import"./chunk-XJIAS6SL.js";import"./chunk-P5JEEBZF.js";import"./chunk-T4M4G6BT.js";import"./chunk-FZT3HNTI.js";import"./chunk-YG7VAGBA.js";import"./chunk-5O6V4YTM.js";import{l as qt}from"./chunk-TYZHFY6G.js";import"./chunk-5RZO6GQS.js";import{h as ke,i as qe,k as kt}from"./chunk-GMTS2G3P.js";import{A as Bt,c as Dt,f as Ut,l as Vt}from"./chunk-R3FAXX6Z.js";import{E as Lt}from"./chunk-SBE4IRCG.js";import"./chunk-7N4UQO3G.js";import{b as k}from"./chunk-YH4AQGDE.js";import"./chunk-GYHADFHX.js";import"./chunk-JGCT54ME.js";import"./chunk-HBGIEOJ5.js";import"./chunk-5WTM5GVB.js";import"./chunk-4DJZWZ6L.js";import"./chunk-4IXKFKR2.js";import"./chunk-5S33QXEP.js";import{M as It,d as Nt}from"./chunk-LYBZHU26.js";import"./chunk-DNSEV4C6.js";import"./chunk-OUYJIES4.js";import{$b as c,Bb as xt,Bc as Le,Dc as yt,Ea as gt,Fc as vt,Gc as n,Hc as G,Ic as K,Lc as $,Mc as X,Nb as ce,Nc as Z,Rb as Be,Sb as Re,Ub as p,Vb as f,W as P,Wc as ee,Xb as Ct,Yb as St,Zb as wt,_b as A,ac as l,bc as v,dd as Tt,e as ht,ec as bt,ed as Ft,fb as m,fc as Ce,ga as V,gc as Se,id as Pt,kc as y,na as x,oa as C,ob as _t,pc as S,rc as h,va as ft,vb as xe,vc as At,w as pt,wc as Et,xc as Mt}from"./chunk-2HYWGLDD.js";import{a as se,b as le,f as b,h as ii,j as Ve}from"./chunk-CHAYX62K.js";var en=b((jo,Zt)=>{Zt.exports=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then}});var q=b(Q=>{var He,oi=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];Q.getSymbolSize=function(t){if(!t)throw new Error('"version" cannot be null or undefined');if(t<1||t>40)throw new Error('"version" should be in range from 1 to 40');return t*4+17};Q.getSymbolTotalCodewords=function(t){return oi[t]};Q.getBCHDigit=function(i){let t=0;for(;i!==0;)t++,i>>>=1;return t};Q.setToSJISFunction=function(t){if(typeof t!="function")throw new Error('"toSJISFunc" is not a valid function.');He=t};Q.isKanjiModeEnabled=function(){return typeof He<"u"};Q.toSJIS=function(t){return He(t)}});var we=b(N=>{N.L={bit:1};N.M={bit:0};N.Q={bit:3};N.H={bit:2};function ri(i){if(typeof i!="string")throw new Error("Param is not a string");switch(i.toLowerCase()){case"l":case"low":return N.L;case"m":case"medium":return N.M;case"q":case"quartile":return N.Q;case"h":case"high":return N.H;default:throw new Error("Unknown EC Level: "+i)}}N.isValid=function(t){return t&&typeof t.bit<"u"&&t.bit>=0&&t.bit<4};N.from=function(t,e){if(N.isValid(t))return t;try{return ri(t)}catch{return e}}});var on=b((Xo,nn)=>{function tn(){this.buffer=[],this.length=0}tn.prototype={get:function(i){let t=Math.floor(i/8);return(this.buffer[t]>>>7-i%8&1)===1},put:function(i,t){for(let e=0;e<t;e++)this.putBit((i>>>t-e-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(i){let t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),i&&(this.buffer[t]|=128>>>this.length%8),this.length++}};nn.exports=tn});
1var an=b((Zo,rn)=>{function de(i){if(!i||i<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=i,this.data=new Uint8Array(i*i),this.reservedBit=new Uint8Array(i*i)}de.prototype.set=function(i,t,e,o){let r=i*this.size+t;this.data[r]=e,o&&(this.reservedBit[r]=!0)};de.prototype.get=function(i,t){return this.data[i*this.size+t]};de.prototype.xor=function(i,t,e){this.data[i*this.size+t]^=e};de.prototype.isReserved=function(i,t){return this.reservedBit[i*this.size+t]};rn.exports=de});var sn=b(be=>{var ai=q().getSymbolSize;be.getRowColCoords=function(t){if(t===1)return[];let e=Math.floor(t/7)+2,o=ai(t),r=o===145?26:Math.ceil((o-13)/(2*e-2))*2,a=[o-7];for(let s=1;s<e-1;s++)a[s]=a[s-1]-r;return a.push(6),a.reverse()};be.getPositions=function(t){let e=[],o=be.getRowColCoords(t),r=o.length;for(let a=0;a<r;a++)for(let s=0;s<r;s++)a===0&&s===0||a===0&&s===r-1||a===r-1&&s===0||e.push([o[a],o[s]]);return e}});var dn=b(cn=>{var si=q().getSymbolSize,ln=7;cn.getPositions=function(t){let e=si(t);return[[0,0],[e-ln,0],[0,e-ln]]}});var un=b(E=>{E.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};var W={N1:3,N2:3,N3:40,N4:10};E.isValid=function(t){return t!=null&&t!==""&&!isNaN(t)&&t>=0&&t<=7};E.from=function(t){return E.isValid(t)?parseInt(t,10):void 0};E.getPenaltyN1=function(t){let e=t.size,o=0,r=0,a=0,s=null,d=null;for(let u=0;u<e;u++){r=a=0,s=d=null;for(let g=0;g<e;g++){let _=t.get(u,g);_===s?r++:(r>=5&&(o+=W.N1+(r-5)),s=_,r=1),_=t.get(g,u),_===d?a++:(a>=5&&(o+=W.N1+(a-5)),d=_,a=1)}r>=5&&(o+=W.N1+(r-5)),a>=5&&(o+=W.N1+(a-5))}return o};E.getPenaltyN2=function(t){let e=t.size,o=0;for(let r=0;r<e-1;r++)for(let a=0;a<e-1;a++){let s=t.get(r,a)+t.get(r,a+1)+t.get(r+1,a)+t.get(r+1,a+1);(s===4||s===0)&&o++}return o*W.N2};E.getPenaltyN3=function(t){let e=t.size,o=0,r=0,a=0;for(let s=0;s<e;s++){r=a=0;for(let d=0;d<e;d++)r=r<<1&2047|t.get(s,d),d>=10&&(r===1488||r===93)&&o++,a=a<<1&2047|t.get(d,s),d>=10&&(a===1488||a===93)&&o++}return o*W.N3};E.getPenaltyN4=function(t){let e=0,o=t.data.length;for(let a=0;a<o;a++)e+=t.data[a];return Math.abs(Math.ceil(e*100/o/5)-10)*W.N4};function li(i,t,e){switch(i){case E.Patterns.PATTERN000:return(t+e)%2===0;case E.Patterns.PATTERN001:return t%2===0;case E.Patterns.PATTERN010:return e%3===0;case E.Patterns.PATTERN011:return(t+e)%3===0;case E.Patterns.PATTERN100:return(Math.floor(t/2)+Math.floor(e/3))%2===0;case E.Patterns.PATTERN101:return t*e%2+t*e%3===0;case E.Patterns.PATTERN110:return(t*e%2+t*e%3)%2===0;case E.Patterns.PATTERN111:return(t*e%3+(t+e)%2)%2===0;default:throw new Error("bad maskPattern:"+i)}}E.applyMask=function(t,e){let o=e.size;for(let r=0;r<o;r++)for(let a=0;a<o;a++)e.isReserved(a,r)||e.xor(a,r,li(t,a,r))};E.getBestMask=function(t,e){let o=Object.keys(E.Patterns).length,r=0,a=1/0;for(let s=0;s<o;s++){e(s),E.applyMask(s,t);let d=E.getPenaltyN1(t)+E.getPenaltyN2(t)+E.getPenaltyN3(t)+E.getPenaltyN4(t);E.applyMask(s,t),d<a&&(a=d,r=s)}return r}});var Oe=b(ze=>{var H=we(),Ae=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],Ee=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];ze.getBlocksCount=function(t,e){switch(e){case H.L:return Ae[(t-1)*4+0];case H.M:return Ae[(t-1)*4+1];case H.Q:return Ae[(t-1)*4+2];case H.H:return Ae[(t-1)*4+3];default:return}};ze.getTotalCodewordsCount=function(t,e){switch(e){case H.L:return Ee[(t-1)*4+0];case H.M:return Ee[(t-1)*4+1];case H.Q:return Ee[(t-1)*4+2];case H.H:return Ee[(t-1)*4+3];default:return}}});var mn=b(ye=>{var ue=new Uint8Array(512),Me=new Uint8Array(256);(function(){let t=1;for(let e=0;e<255;e++)ue[e]=t,Me[t]=e,t<<=1,t&256&&(t^=285);for(let e=255;e<512;
1e++)ue[e]=ue[e-255]})();ye.log=function(t){if(t<1)throw new Error("log("+t+")");return Me[t]};ye.exp=function(t){return ue[t]};ye.mul=function(t,e){return t===0||e===0?0:ue[Me[t]+Me[e]]}});var hn=b(me=>{var Ke=mn();me.mul=function(t,e){let o=new Uint8Array(t.length+e.length-1);for(let r=0;r<t.length;r++)for(let a=0;a<e.length;a++)o[r+a]^=Ke.mul(t[r],e[a]);return o};me.mod=function(t,e){let o=new Uint8Array(t);for(;o.length-e.length>=0;){let r=o[0];for(let s=0;s<e.length;s++)o[s]^=Ke.mul(e[s],r);let a=0;for(;a<o.length&&o[a]===0;)a++;o=o.slice(a)}return o};me.generateECPolynomial=function(t){let e=new Uint8Array([1]);for(let o=0;o<t;o++)e=me.mul(e,new Uint8Array([1,Ke.exp(o)]));return e}});var gn=b((ar,fn)=>{var pn=hn();function Qe(i){this.genPoly=void 0,this.degree=i,this.degree&&this.initialize(this.degree)}Qe.prototype.initialize=function(t){this.degree=t,this.genPoly=pn.generateECPolynomial(this.degree)};Qe.prototype.encode=function(t){if(!this.genPoly)throw new Error("Encoder not initialized");let e=new Uint8Array(t.length+this.degree);e.set(t);let o=pn.mod(e,this.genPoly),r=this.degree-o.length;if(r>0){let a=new Uint8Array(this.degree);return a.set(o,r),a}return o};fn.exports=Qe});var We=b(_n=>{_n.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40}});var Ye=b(B=>{var xn="[0-9]+",ci="[A-Z $%*+\\-./:]+",he="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";he=he.replace(/u/g,"\\u");var di="(?:(?![A-Z0-9 $%*+\\-./:]|"+he+`)(?:.|[\r
2]))+`;B.KANJI=new RegExp(he,"g");B.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g");B.BYTE=new RegExp(di,"g");B.NUMERIC=new RegExp(xn,"g");B.ALPHANUMERIC=new RegExp(ci,"g");var ui=new RegExp("^"+he+"$"),mi=new RegExp("^"+xn+"$"),hi=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");B.testKanji=function(t){return ui.test(t)};B.testNumeric=function(t){return mi.test(t)};B.testAlphanumeric=function(t){return hi.test(t)}});var z=b(T=>{var pi=We(),Je=Ye();T.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]};T.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]};T.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]};T.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]};T.MIXED={bit:-1};T.getCharCountIndicator=function(t,e){if(!t.ccBits)throw new Error("Invalid mode: "+t);if(!pi.isValid(e))throw new Error("Invalid version: "+e);return e>=1&&e<10?t.ccBits[0]:e<27?t.ccBits[1]:t.ccBits[2]};T.getBestModeForData=function(t){return Je.testNumeric(t)?T.NUMERIC:Je.testAlphanumeric(t)?T.ALPHANUMERIC:Je.testKanji(t)?T.KANJI:T.BYTE};T.toString=function(t){if(t&&t.id)return t.id;throw new Error("Invalid mode")};T.isValid=function(t){return t&&t.bit&&t.ccBits};function fi(i){if(typeof i!="string")throw new Error("Param is not a string");switch(i.toLowerCase()){case"numeric":return T.NUMERIC;case"alphanumeric":return T.ALPHANUMERIC;case"kanji":return T.KANJI;case"byte":return T.BYTE;default:throw new Error("Unknown mode: "+i)}}T.from=function(t,e){if(T.isValid(t))return t;try{return fi(t)}catch{return e}}});var An=b(Y=>{var ve=q(),gi=Oe(),Cn=we(),O=z(),je=We(),wn=7973,Sn=ve.getBCHDigit(wn);function _i(i,t,e){for(let o=1;o<=40;o++)if(t<=Y.getCapacity(o,e,i))return o}function bn(i,t){return O.getCharCountIndicator(i,t)+4}function xi(i,t){let e=0;return i.forEach(function(o){let r=bn(o.mode,t);e+=r+o.getBitsLength()}),e}function Ci(i,t){for(let e=1;e<=40;e++)if(xi(i,e)<=Y.getCapacity(e,t,O.MIXED))return e}Y.from=function(t,e){return je.isValid(t)?parseInt(t,10):e};Y.getCapacity=function(t,e,o){if(!je.isValid(t))throw new Error("Invalid QR Code version");typeof o>"u"&&(o=O.BYTE);let r=ve.getSymbolTotalCodewords(t),a=gi.getTotalCodewordsCount(t,e),s=(r-a)*8;if(o===O.MIXED)return s;let d=s-bn(o,t);switch(o){case O.NUMERIC:return Math.floor(d/10*3);case O.ALPHANUMERIC:return Math.floor(d/11*2);case O.KANJI:return Math.floor(d/13);case O.BYTE:default:return Math.floor(d/8)}};Y.getBestVersionForData=function(t,e){let o,r=Cn.from(e,Cn.M);if(Array.isArray(t)){if(t.length>1)return Ci(t,r);if(t.length===0)return 1;o=t[0]}else o=t;return _i(o.mode,o.getLength(),r)};Y.getEncodedBits=function(t){if(!je.isValid(t)||t<7)throw new Error("Invalid QR Code version");let e=t<<12;
2for(;ve.getBCHDigit(e)-Sn>=0;)e^=wn<<ve.getBCHDigit(e)-Sn;return t<<12|e}});var vn=b(yn=>{var Ge=q(),Mn=1335,Si=21522,En=Ge.getBCHDigit(Mn);yn.getEncodedBits=function(t,e){let o=t.bit<<3|e,r=o<<10;for(;Ge.getBCHDigit(r)-En>=0;)r^=Mn<<Ge.getBCHDigit(r)-En;return(o<<10|r)^Si}});var Fn=b((mr,Tn)=>{var wi=z();function te(i){this.mode=wi.NUMERIC,this.data=i.toString()}te.getBitsLength=function(t){return 10*Math.floor(t/3)+(t%3?t%3*3+1:0)};te.prototype.getLength=function(){return this.data.length};te.prototype.getBitsLength=function(){return te.getBitsLength(this.data.length)};te.prototype.write=function(t){let e,o,r;for(e=0;e+3<=this.data.length;e+=3)o=this.data.substr(e,3),r=parseInt(o,10),t.put(r,10);let a=this.data.length-e;a>0&&(o=this.data.substr(e),r=parseInt(o,10),t.put(r,a*3+1))};Tn.exports=te});var Nn=b((hr,Pn)=>{var bi=z(),$e=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function ne(i){this.mode=bi.ALPHANUMERIC,this.data=i}ne.getBitsLength=function(t){return 11*Math.floor(t/2)+6*(t%2)};ne.prototype.getLength=function(){return this.data.length};ne.prototype.getBitsLength=function(){return ne.getBitsLength(this.data.length)};ne.prototype.write=function(t){let e;for(e=0;e+2<=this.data.length;e+=2){let o=$e.indexOf(this.data[e])*45;o+=$e.indexOf(this.data[e+1]),t.put(o,11)}this.data.length%2&&t.put($e.indexOf(this.data[e]),6)};Pn.exports=ne});var Dn=b((pr,In)=>{var Ai=z();function ie(i){this.mode=Ai.BYTE,typeof i=="string"?this.data=new TextEncoder().encode(i):this.data=new Uint8Array(i)}ie.getBitsLength=function(t){return t*8};ie.prototype.getLength=function(){return this.data.length};ie.prototype.getBitsLength=function(){return ie.getBitsLength(this.data.length)};ie.prototype.write=function(i){for(let t=0,e=this.data.length;t<e;t++)i.put(this.data[t],8)};In.exports=ie});var Vn=b((fr,Un)=>{var Ei=z(),Mi=q();function oe(i){this.mode=Ei.KANJI,this.data=i}oe.getBitsLength=function(t){return t*13};oe.prototype.getLength=function(){return this.data.length};oe.prototype.getBitsLength=function(){return oe.getBitsLength(this.data.length)};oe.prototype.write=function(i){let t;for(t=0;t<this.data.length;t++){let e=Mi.toSJIS(this.data[t]);if(e>=33088&&e<=40956)e-=33088;else if(e>=57408&&e<=60351)e-=49472;else throw new Error("Invalid SJIS character: "+this.data[t]+`
3Make sure your charset is UTF-8`);e=(e>>>8&255)*192+(e&255),i.put(e,13)}};Un.exports=oe});var Bn=b((gr,Xe)=>{"use strict";var pe={single_source_shortest_paths:function(i,t,e){var o={},r={};r[t]=0;var a=pe.PriorityQueue.make();a.push(t,0);for(var s,d,u,g,_,F,M,I,R;!a.empty();){s=a.pop(),d=s.value,g=s.cost,_=i[d]||{};for(u in _)_.hasOwnProperty(u)&&(F=_[u],M=g+F,I=r[u],R=typeof r[u]>"u",(R||I>M)&&(r[u]=M,a.push(u,M),o[u]=d))}if(typeof e<"u"&&typeof r[e]>"u"){var L=["Could not find a path from ",t," to ",e,"."].join("");throw new Error(L)}return o},extract_shortest_path_from_predecessor_list:function(i,t){for(var e=[],o=t,r;o;)e.push(o),r=i[o],o=i[o];return e.reverse(),e},find_path:function(i,t,e){var o=pe.single_source_shortest_paths(i,t,e);return pe.extract_shortest_path_from_predecessor_list(o,e)},PriorityQueue:{make:function(i){var t=pe.PriorityQueue,e={},o;i=i||{};for(o in t)t.hasOwnProperty(o)&&(e[o]=t[o]);return e.queue=[],e.sorter=i.sorter||t.default_sorter,e},default_sorter:function(i,t){return i.cost-t.cost},push:function(i,t){var e={value:i,cost:t};this.queue.push(e),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return this.queue.length===0}}};typeof Xe<"u"&&(Xe.exports=pe)});var Kn=b(re=>{var w=z(),kn=Fn(),qn=Nn(),Hn=Dn(),zn=Vn(),fe=Ye(),Te=q(),yi=Bn();function Rn(i){return unescape(encodeURIComponent(i)).length}function ge(i,t,e){let o=[],r;for(;(r=i.exec(e))!==null;)o.push({data:r[0],index:r.index,mode:t,length:r[0].length});return o}function On(i){let t=ge(fe.NUMERIC,w.NUMERIC,i),e=ge(fe.ALPHANUMERIC,w.ALPHANUMERIC,i),o,r;return Te.isKanjiModeEnabled()?(o=ge(fe.BYTE,w.BYTE,i),r=ge(fe.KANJI,w.KANJI,i)):(o=ge(fe.BYTE_KANJI,w.BYTE,i),r=[]),t.concat(e,o,r).sort(function(s,d){return s.index-d.index}).map(function(s){return{data:s.data,mode:s.mode,length:s.length}})}function Ze(i,t){switch(t){case w.NUMERIC:return kn.getBitsLength(i);case w.ALPHANUMERIC:return qn.getBitsLength(i);case w.KANJI:return zn.getBitsLength(i);case w.BYTE:return Hn.getBitsLength(i)}}function vi(i){return i.reduce(function(t,e){let o=t.length-1>=0?t[t.length-1]:null;return o&&o.mode===e.mode?(t[t.length-1].data+=e.data,t):(t.push(e),t)},[])}function Ti(i){let t=[];for(let e=0;e<i.length;e++){let o=i[e];switch(o.mode){case w.NUMERIC:t.push([o,{data:o.data,mode:w.ALPHANUMERIC,length:o.length},{data:o.data,mode:w.BYTE,length:o.length}]);break;case w.ALPHANUMERIC:t.push([o,{data:o.data,mode:w.BYTE,length:o.length}]);break;case w.KANJI:t.push([o,{data:o.data,mode:w.BYTE,length:Rn(o.data)}]);break;case w.BYTE:t.push([{data:o.data,mode:w.BYTE,length:Rn(o.data)}])}}return t}function Fi(i,t){let e={},o={start:{}},r=["start"];for(let a=0;a<i.length;a++){let s=i[a],d=[];for(let u=0;u<s.length;u++){let g=s[u],_=""+a+u;d.push(_),e[_]={node:g,lastCount:0},o[_]={};for(let F=0;F<r.length;F++){let M=r[F];e[M]&&e[M].node.mode===g.mode?(o[M][_]=Ze(e[M].lastCount+g.length,g.mode)-Ze(e[M].lastCount,g.mode),e[M].lastCount+=g.length):(e[M]&&(e[M].lastCount=g.length),o[M][_]=Ze(g.length,g.mode)+4+w.getCharCountIndicator(g.mode,t))}}r=d}for(let a=0;a<r.length;a++)o[r[a]].end=0;return{map:o,table:e}}function Ln(i,t){let e,o=w.getBestModeForData(i);if(e=w.from(t,o),e!==w.BYTE&&e.bit<o.bit)throw new Error('"'+i+'" cannot be encoded with mode '+w.toString(e)+`.
4 Suggested mode is: `+w.toString(o));switch(e===w.KANJI&&!Te.isKanjiModeEnabled()&&(e=w.BYTE),e){case w.NUMERIC:return new kn(i);case w.ALPHANUMERIC:return new qn(i);case w.KANJI:return new zn(i);case w.BYTE:return new Hn(i)}}re.fromArray=function(t){return t.reduce(function(e,o){return typeof o=="str
4ing"?e.push(Ln(o,null)):o.data&&e.push(Ln(o.data,o.mode)),e},[])};re.fromString=function(t,e){let o=On(t,Te.isKanjiModeEnabled()),r=Ti(o),a=Fi(r,e),s=yi.find_path(a.map,"start","end"),d=[];for(let u=1;u<s.length-1;u++)d.push(a.table[s[u]].node);return re.fromArray(vi(d))};re.rawSplit=function(t){return re.fromArray(On(t,Te.isKanjiModeEnabled()))}});var Wn=b(Qn=>{var Pe=q(),et=we(),Pi=on(),Ni=an(),Ii=sn(),Di=dn(),it=un(),ot=Oe(),Ui=gn(),Fe=An(),Vi=vn(),Bi=z(),tt=Kn();function Ri(i,t){let e=i.size,o=Di.getPositions(t);for(let r=0;r<o.length;r++){let a=o[r][0],s=o[r][1];for(let d=-1;d<=7;d++)if(!(a+d<=-1||e<=a+d))for(let u=-1;u<=7;u++)s+u<=-1||e<=s+u||(d>=0&&d<=6&&(u===0||u===6)||u>=0&&u<=6&&(d===0||d===6)||d>=2&&d<=4&&u>=2&&u<=4?i.set(a+d,s+u,!0,!0):i.set(a+d,s+u,!1,!0))}}function Li(i){let t=i.size;for(let e=8;e<t-8;e++){let o=e%2===0;i.set(e,6,o,!0),i.set(6,e,o,!0)}}function ki(i,t){let e=Ii.getPositions(t);for(let o=0;o<e.length;o++){let r=e[o][0],a=e[o][1];for(let s=-2;s<=2;s++)for(let d=-2;d<=2;d++)s===-2||s===2||d===-2||d===2||s===0&&d===0?i.set(r+s,a+d,!0,!0):i.set(r+s,a+d,!1,!0)}}function qi(i,t){let e=i.size,o=Fe.getEncodedBits(t),r,a,s;for(let d=0;d<18;d++)r=Math.floor(d/3),a=d%3+e-8-3,s=(o>>d&1)===1,i.set(r,a,s,!0),i.set(a,r,s,!0)}function nt(i,t,e){let o=i.size,r=Vi.getEncodedBits(t,e),a,s;for(a=0;a<15;a++)s=(r>>a&1)===1,a<6?i.set(a,8,s,!0):a<8?i.set(a+1,8,s,!0):i.set(o-15+a,8,s,!0),a<8?i.set(8,o-a-1,s,!0):a<9?i.set(8,15-a-1+1,s,!0):i.set(8,15-a-1,s,!0);i.set(o-8,8,1,!0)}function Hi(i,t){let e=i.size,o=-1,r=e-1,a=7,s=0;for(let d=e-1;d>0;d-=2)for(d===6&&d--;;){for(let u=0;u<2;u++)if(!i.isReserved(r,d-u)){let g=!1;s<t.length&&(g=(t[s]>>>a&1)===1),i.set(r,d-u,g),a--,a===-1&&(s++,a=7)}if(r+=o,r<0||e<=r){r-=o,o=-o;break}}}function zi(i,t,e){let o=new Pi;e.forEach(function(u){o.put(u.mode.bit,4),o.put(u.getLength(),Bi.getCharCountIndicator(u.mode,i)),u.write(o)});let r=Pe.getSymbolTotalCodewords(i),a=ot.getTotalCodewordsCount(i,t),s=(r-a)*8;for(o.getLengthInBits()+4<=s&&o.put(0,4);o.getLengthInBits()%8!==0;)o.putBit(0);let d=(s-o.getLengthInBits())/8;for(let u=0;u<d;u++)o.put(u%2?17:236,8);return Oi(o,i,t)}function Oi(i,t,e){let o=Pe.getSymbolTotalCodewords(t),r=ot.getTotalCodewordsCount(t,e),a=o-r,s=ot.getBlocksCount(t,e),d=o%s,u=s-d,g=Math.floor(o/s),_=Math.floor(a/s),F=_+1,M=g-_,I=new Ui(M),R=0,L=new Array(s),ut=new Array(s),Ie=0,ni=new Uint8Array(i.buffer);for(let j=0;j<s;j++){let Ue=j<u?_:F;L[j]=ni.slice(R,R+Ue),ut[j]=I.encode(L[j]),R+=Ue,Ie=Math.max(Ie,Ue)}let De=new Uint8Array(o),mt=0,D,U;for(D=0;D<Ie;D++)for(U=0;U<s;U++)D<L[U].length&&(De[mt++]=L[U][D]);for(D=0;D<M;D++)for(U=0;U<s;U++)De[mt++]=ut[U][D];return De}function Ki(i,t,e,o){let r;if(Array.isArray(i))r=tt.fromArray(i);else if(typeof i=="string"){let g=t;if(!g){let _=tt.rawSplit(i);g=Fe.getBestVersionForData(_,e)}r=tt.fromString(i,g||40)}else throw new Error("Invalid data");let a=Fe.getBestVersionForData(r,e);if(!a)throw new Error("The amount of data is too big to be stored in a QR Code");if(!t)t=a;else if(t<a)throw new Error(`
5The chosen QR Code version cannot contain this amount of data.
6Minimum version required to store current data is: `+a+`.
7`);let s=zi(t,e,r),d=Pe.getSymbolSize(t),u=new Ni(d);return Ri(u,t),Li(u),ki(u,t),nt(u,e,0),t>=7&&qi(u,t),Hi(u,s),isNaN(o)&&(o=it.getBestMask(u,nt.bind(null,u,e))),it.applyMask(o,u),nt(u,e,o),{modules:u,version:t,errorCorrectionLevel:e,maskPattern:o,segments:r}}Qn.create=function(t,e){if(typeof t>"u"||t==="")throw new Error("No input text");let o=et.M,r,a;return typeof e<"u"&&(o=et.from(e.errorCorrectionLevel,et.M),r=Fe.from(e.version),a=it.from(e.maskPattern),e.toSJISFunc&&Pe.setToSJISFunction(e.toSJISFunc)),Ki(t,r,o,a)}});var rt=b(J=>{function Yn(i){if(typeof i=="number"&&(i=i.toString()),typeof i!="string")throw new Error("Color should be defined as hex string");let t=i.slice().replace("#","").split("");if(t.length<3||t.length===5||t.length>8)throw new Error("Invalid hex color: "+i);(t.length===3||t.length===4)&&(t=Array.prototype.concat.apply([],t.map(function(o){return[o,o]}))),t.length===6&&t.push("F","F");let e=parseInt(t.join(""),16);return{r:e>>24&255,g:e>>16&255,b:e>>8&255,a:e&255,hex:"#"+t.slice(0,6).join("")}}J.getOptions=function(t){t||(t={}),t.color||(t.color={});let e=typeof t.margin>"u"||t.margin===null||t.margin<0?4:t.margin,o=t.width&&t.width>=21?t.width:void 0,r=t.scale||4;
7return{width:o,scale:o?4:r,margin:e,color:{dark:Yn(t.color.dark||"#000000ff"),light:Yn(t.color.light||"#ffffffff")},type:t.type,rendererOpts:t.rendererOpts||{}}};J.getScale=function(t,e){return e.width&&e.width>=t+e.margin*2?e.width/(t+e.margin*2):e.scale};J.getImageWidth=function(t,e){let o=J.getScale(t,e);return Math.floor((t+e.margin*2)*o)};J.qrToImageData=function(t,e,o){let r=e.modules.size,a=e.modules.data,s=J.getScale(r,o),d=Math.floor((r+o.margin*2)*s),u=o.margin*s,g=[o.color.light,o.color.dark];for(let _=0;_<d;_++)for(let F=0;F<d;F++){let M=(_*d+F)*4,I=o.color.light;if(_>=u&&F>=u&&_<d-u&&F<d-u){let R=Math.floor((_-u)/s),L=Math.floor((F-u)/s);I=g[a[R*r+L]?1:0]}t[M++]=I.r,t[M++]=I.g,t[M++]=I.b,t[M]=I.a}}});var Jn=b(Ne=>{var at=rt();function Qi(i,t,e){i.clearRect(0,0,t.width,t.height),t.style||(t.style={}),t.height=e,t.width=e,t.style.height=e+"px",t.style.width=e+"px"}function Wi(){try{return document.createElement("canvas")}catch{throw new Error("You need to specify a canvas element")}}Ne.render=function(t,e,o){let r=o,a=e;typeof r>"u"&&(!e||!e.getContext)&&(r=e,e=void 0),e||(a=Wi()),r=at.getOptions(r);let s=at.getImageWidth(t.modules.size,r),d=a.getContext("2d"),u=d.createImageData(s,s);return at.qrToImageData(u.data,t,r),Qi(d,a,s),d.putImageData(u,0,0),a};Ne.renderToDataURL=function(t,e,o){let r=o;typeof r>"u"&&(!e||!e.getContext)&&(r=e,e=void 0),r||(r={});let a=Ne.render(t,e,r),s=r.type||"image/png",d=r.rendererOpts||{};return a.toDataURL(s,d.quality)}});var $n=b(Gn=>{var Yi=rt();function jn(i,t){let e=i.a/255,o=t+'="'+i.hex+'"';return e<1?o+" "+t+'-opacity="'+e.toFixed(2).slice(1)+'"':o}function st(i,t,e){let o=i+t;return typeof e<"u"&&(o+=" "+e),o}function Ji(i,t,e){let o="",r=0,a=!1,s=0;for(let d=0;d<i.length;d++){let u=Math.floor(d%t),g=Math.floor(d/t);!u&&!a&&(a=!0),i[d]?(s++,d>0&&u>0&&i[d-1]||(o+=a?st("M",u+e,.5+g+e):st("m",r,0),r=0,a=!1),u+1<t&&i[d+1]||(o+=st("h",s),s=0)):r++}return o}Gn.render=function(t,e,o){let r=Yi.getOptions(e),a=t.modules.size,s=t.modules.data,d=a+r.margin*2,u=r.color.light.a?"<path "+jn(r.color.light,"fill")+' d="M0 0h'+d+"v"+d+'H0z"/>':"",g="<path "+jn(r.color.dark,"stroke")+' d="'+Ji(s,a,r.margin)+'"/>',_='viewBox="0 0 '+d+" "+d+'"',M='<svg xmlns="http://www.w3.org/2000/svg" '+(r.width?'width="'+r.width+'" height="'+r.width+'" ':"")+_+' shape-rendering="crispEdges">'+u+g+`</svg>
8`;return typeof o=="function"&&o(null,M),M}});var Zn=b(_e=>{var ji=en(),lt=Wn(),Xn=Jn(),Gi=$n();function ct(i,t,e,o,r){let a=[].slice.call(arguments,1),s=a.length,d=typeof a[s-1]=="function";if(!d&&!ji())throw new Error("Callback required as last argument");if(d){if(s<2)throw new Error("Too few arguments provided");s===2?(r=e,e=t,t=o=void 0):s===3&&(t.getContext&&typeof r>"u"?(r=o,o=void 0):(r=o,o=e,e=t,t=void 0))}else{if(s<1)throw new Error("Too few arguments provided");return s===1?(e=t,t=o=void 0):s===2&&!t.getContext&&(o=e,e=t,t=void 0),new Promise(function(u,g){try{let _=lt.create(e,o);u(i(_,t,o))}catch(_){g(_)}})}try{let u=lt.create(e,o);r(null,i(u,t,o))}catch(u){r(u)}}_e.create=lt.create;_e.toCanvas=ct.bind(null,Xn.render);_e.toDataURL=ct.bind(null,Xn.renderToDataURL);_e.toString=ct.bind(null,function(i,t,e){return Gi.render(i,e)})});var ae=ii(Zn(),1);var Xi=["qrcElement"],ei=(()=>{class i{allowEmptyString=!1;colorDark="#000000ff";colorLight="#ffffffff";cssClass="qrcode";elementType="canvas";errorCorrectionLevel="M";imageSrc;imageHeight;imageWidth;margin=4;qrdata="";scale=4;version;width=10;alt;ariaLabel;title;qrCodeURL=new ft;qrcElement;context=null;centerImage;renderer=V(_t);sanitizer=V(It);ngOnChanges(){return Ve(this,null,function*(){yield this.createQRCode()})}isValidQrCodeText(e){return this.allowEmptyString===!1?!(typeof e>"u"||e===""||e==="null"||e===null):!(typeof e>"u")}toDataURL(e){return new Promise((o,r)=>{(0,ae.toDataURL)(this.qrdata,e,(a,s)=>{a?r(a):o(s)})})}toCanvas(e,o){return new Promise((r,a)=>{(0,ae.toCanvas)(e,this.qrdata,o,s=>{s?a(s):r("success")})})}toSVG(e){return new Promise((o,r)=>{(0,ae.toString)(this.qrdata,e,(a,s)=>{a?r(a):o(s)})})}renderElement(e){for(let o of this.qrcElement.nativeElement.childNodes)this.renderer.removeChild(this.qrcElement.nativeElement,o);this.renderer.appendChild(this.qrcElement.nativeElement,e)}createQRCode(){return Ve(this,null,function*(){this.version&&this.version>40?(console.warn("[angularx-qrcode] max value for `version` is 40"),this.version=40):this.version&&this.version<1?(console.warn("[angularx-qrcode]`min value for `version` is 1"),this.version=1):this.version!==void 0&&isNaN(this.version)&&(console.warn("[angularx-qrcode] ver
8sion should be a number, defaulting to auto."),this.version=void 0);try{if(!this.isValidQrCodeText(this.qrdata))throw new Error("[angularx-qrcode] Field `qrdata` is empty, set 'allowEmptyString=\"true\"' to overwrite this behaviour.");this.isValidQrCodeText(this.qrdata)&&this.qrdata===""&&(this.qrdata=" ");let e={color:{dark:this.colorDark,light:this.colorLight},errorCorrectionLevel:this.errorCorrectionLevel,margin:this.margin,scale:this.scale,version:this.version,width:this.width},o=this.imageSrc,r=this.imageHeight?+this.imageHeight:40,a=this.imageWidth?+this.imageWidth:40;switch(this.elementType){case"canvas":{let s=this.renderer.createElement("canvas");this.context=s.getContext("2d"),this.toCanvas(s,e).then(()=>{if(this.ariaLabel&&this.renderer.setAttribute(s,"aria-label",`${this.ariaLabel}`),this.title&&this.renderer.setAttribute(s,"title",`${this.title}`),o&&this.context){this.centerImage=new Image(a,r),o!==this.centerImage.src&&(this.centerImage.crossOrigin="anonymous",this.centerImage.src=o),r!==this.centerImage.height&&(this.centerImage.height=r),a!==this.centerImage.width&&(this.centerImage.width=a);let d=this.centerImage;d&&(d.onload=()=>{this.context?.drawImage(d,s.width/2-a/2,s.height/2-r/2,a,r)})}this.renderElement(s),this.emitQRCodeURL(s)}).catch(d=>{console.error("[angularx-qrcode] canvas error:",d)});break}case"svg":{let s=this.renderer.createElement("div");this.toSVG(e).then(d=>{this.renderer.setProperty(s,"innerHTML",d);let u=s.firstChild;this.renderer.setAttribute(u,"height",`${this.width}`),this.renderer.setAttribute(u,"width",`${this.width}`),this.renderElement(u),this.emitQRCodeURL(u)}).catch(d=>{console.error("[angularx-qrcode] svg error:",d)});break}case"url":case"img":default:{let s=this.renderer.createElement("img");this.toDataURL(e).then(d=>{this.alt&&s.setAttribute("alt",this.alt),this.ariaLabel&&s.setAttribute("aria-label",this.ariaLabel),s.setAttribute("src",d),this.title&&s.setAttribute("title",this.title),this.renderElement(s),this.emitQRCodeURL(s)}).catch(d=>{console.error("[angularx-qrcode] img/url error:",d)})}}}catch(e){console.error("[angularx-qrcode] Error generating QR Code:",e.message)}})}convertBase64ImageUrlToBlob(e){let o=e.split(";base64,"),r=o[0].split(":")[1],a=atob(o[1]),s=new Uint8Array(a.length);for(let d=0;d<a.length;++d)s[d]=a.charCodeAt(d);return new Blob([s],{type:r})}emitQRCodeURL(e){let o=e.constructor.name;if(o===SVGSVGElement.name){let u=e.outerHTML,g=new Blob([u],{type:"image/svg+xml"}),_=URL.createObjectURL(g),F=this.sanitizer.bypassSecurityTrustUrl(_);this.qrCodeURL.emit(F);return}let r="";o===HTMLCanvasElement.name&&(r=e.toDataURL("image/png")),o===HTMLImageElement.name&&(r=e.src);let a=this.convertBase64ImageUrlToBlob(r),s=URL.createObjectURL(a),d=this.sanitizer.bypassSecurityTrustUrl(s);this.qrCodeURL.emit(d)}static \u0275fac=function(o){return new(o||i)};static \u0275cmp=xe({type:i,selectors:[["qrcode"]],viewQuery:function(o,r){if(o&1&&At(Xi,7),o&2){let a;Et(a=Mt())&&(r.qrcElement=a.first)}},inputs:{allowEmptyString:"allowEmptyString",colorDark:"colorDark",colorLight:"colorLight",cssClass:"cssClass",elementType:"elementType",errorCorrectionLevel:"errorCorrectionLevel",imageSrc:"imageSrc",imageHeight:"imageHeight",imageWidth:"imageWidth",margin:"margin",qrdata:"qrdata",scale:"scale",version:"version",width:"width",alt:"alt",ariaLabel:"ariaLabel",title:"title"},outputs:{qrCodeURL:"qrCodeURL"},features:[gt],decls:2,vars:2,consts:[["qrcElement",""]],template:function(o,r){o&1&&bt(0,"div",null,0),o&2&&vt(r.cssClass)},encapsulation:2,changeDetection:0})}return i})();var dt=i=>({"border-green border-all":i}),ti=i=>[i];function Zi(i,t){i&1&&(n(0,`
9  `),c(1,"div"),n(2,`
10    `),n(3,`
11
12    `),c(4,"app-inline-alert",10),n(5,"Note: Changes to this account can't be made while impersonating."),l(),n(6,`
13
14  `),l(),n(7,`
15
16`)),i&2&&(m(4),A("isInline",!0))}function eo(i,t){i&1&&n(0,"********")}function to(i,t){i&1&&(n(0,`
17            `),xt(1,eo,1,0,"ng-template",null,0,Pt),n(3,`
18          `))}function no(i,t){if(i&1&&(n(0,`
19        `),c(1,"app-field-view-only-row",18),n(2,`
20          `),p(3,to,4,0),l(),Be(),n(4,`
21      `)),i&2){let e=t.$implicit,o=h(3);m(),Re(e),A("entity",o.user),m(2),f(e.controlName==="password"?3:-1)}}function io(i,t){if(i&1){let e=y();n(0,`
22  `),c(1,"div",11),n(2,`
23    `),c(3,"div",12),n(4,`
24      `),c(5,"h2",13),n(6,"Email and Password"),l(),n(7,`
25      `),c(8,"div",14),n(9,`
26        `),c(10,"button",15),S("click",function(){x(e);let r=h(2);return C(r.showEmailUpdateDialog=!0)}),n(11,`
27            Change Email
28        `),l(),n(12,`
29        `),c(13,"button",16),S("click",function(){x(e);let r=h(2);return C(r.showPasswordUpdateDialog=!0)}),n(14,`
30            Change Password
31        `),l(),n(15,`
32      `),l(),n(16,`
33    `),l(),n(17,`
34    `),c(18,"div",17),n(19,`
35      `),St(20,no,5,4,null,null,Ct),l(),n(22,`
36  `),l(),n(23,`
37`)}if(i&2){let e=h(2);m(10),ce("aria-expanded",e.showEmailUpdateDialog),m(3),ce("aria-expanded",e.showPasswordUpdateDialog),m(7),wt(e.loginSettingsViewOnlyFields)}}function oo(i,t){if(i&1&&(n(0,`
38        `),c(1,"app-field-view-only-row",18),n(2," "),l(),Be(),n(3,`
39      `)),i&2){let e=h(3);m(),Re(e.phoneNumberField),A("entity",e.user)}}function ro(i,t){if(i&1){let e=y();n(0,`
40  `),c(1,"div",11),n(2,`
41    `),c(3,"div",12),n(4,`
42      `),c(5,"h2",13),n(6,"Phone Number"),l(),n(7,`
43      `),c(8,"button",19),S("click",function(){x(e);let r=h(2);return C(r.showPhoneNumberUpdateDialog=!0)}),n(9,`
44        Change Phone Number
45      `),l(),n(10,`
46    `),l(),n(11,`
47    `),c(12,"div",17),n(13,`
48      `),p(14,oo,4,3),l(),n(15,`
49  `),l(),n(16,`
50`)}if(i&2){let e=h(2);m(8),ce("aria-expanded",e.showPhoneNumberUpdateDialog),m(6),f(e.user?14:-1)}}function ao(i,t){i&1&&(n(0,`
51    `),c(1,"app-inline-alert",32),n(2,`
52      `),c(3,"div"),n(4,`
53        `),c(5,"b"),n(6,"Multi-factor authentication (MFA) is not enabled for your account."),l(),n(7," "),v(8,"br"),n(9,`
54        Please enable MFA to enhance your account security.
55      `),l(),n(10,`
56    `),l(),n(11,`
57  `))}function so(i,t){i&1&&(n(0,`
58                    `),c(1,"div",33),n(2,`
59                      `),v(3,"app-pill",34),n(4,`
60                    `),l(),n(5,`
61                  `)),i&2&&(m(3),A("status","active")("text","Active"))}function lo(i,t){i&1&&(n(0,`
62                    `),c(1,"div",33),n(2,`
63                      `),v(3,"app-pill",34),n(4,`
64                    `),l(),n(5,`
65                  `)),i&2&&(m(3),A("status","default")("text","Inactive"))}function co(i,t){if(i&1&&(n(0,`
66                `),c(1,"div"),n(2,`
67                  `),c(3,"p")(4,"strong"),n(5,"Registered Phone Number"),l(),n(6),l(),n(7,`
68                `),l(),n(8,`
69              `)),i&2){let e=h(3);m(6),K(" ",(e.userMFASettings==null?null:e.userMFASettings.phoneNumber)??"123-4567-8888")}}function uo(i,t){if(i&1){let e=y();n(0,`
70                  `),c(1,"button",35),S("click",function(){x(e);let r=h(3);return C(r.removeMfaMethod(r.MFAMethod.SMS))}),n(2,`
71                      Disable
72                  `),l(),n(3,`
73                `)}}function mo(i,t){if(i&1){let e=y();n(0,`
74                  `),c(1,"button",36),S("click",function(){x(e);let r=h(3);return C(r.showPhoneConfirmationDialog())}),n(2,`
75                      Verify Phone Number
76                  `),l(),n(3,`
77                `)}if(i&2){let e=h(3);m(),ce("aria-expanded",e.showPhoneVerificationDialog)}}function ho(i,t){if(i&1){let e=y();n(0,`
78                  `),c(1,"button",37),S("click",function(){x(e);let r=h(3);return C(r.beginMFASetup(r.MFAMethod.SMS))}),n(2,`
79                      Enable
80                  `),l(),n(3,`
81                `)}if(i&2){let e=h(3);m(),A("pTooltip","You must disable the current MFA method before enabling a new one.")("tooltipDisabled",!e.userMFASettings.activeMFAMethod)("tooltipPosition","bottom")("disabled",e.userMFASettings.activeMFAMethod)}}function po(i,t){i&1&&(n(0,`
82                        `),c(1,"div",33),n(2,`
83                          `),v(3,"app-pill",34),n(4,`
84                        `),l(),n(5,`
85                      `)),i&2&&(m(3),A("status","active")("text","Active"))}function fo(i,t){i&1&&(n(0,`
86                        `),c(1,"div",33),n(2,`
87                          `),v(3,"app-pill",34),n(4,`
88                        `),l(),n(5,`
89                      `)),i&2&&(m(3),A("status","default")("text","Inactive"))}function go(i,t){if(i&1&&(n(0,`
90                    `),c(1,"p",33)(2,"strong"),n(3,"Registered Email"),l(),n(4),l(),n(5,`
91                  `)),i&2){let e=h(4);m(4),K(" ",(e.userMFASettings==null?null:e.userMFASettings.email)??"[email protected]")}}function _o(i,t){if(i&1){let e=y();n(0,`
92                      `),c(1,"button",39),S("click",function(){x(e);let r=h(4);return C(r.removeMfaMethod(r.MFAMethod.EMAIL))}),n(2,`
93                        Disable
94                      `),l(),n(3,`
95                    `)}}function xo(i,t){if(i&1){let e=y();n(0,`
96                      `),c(1,"button",37),S("click",function(){x(e);let r=h(4);return C(r.beginMFASetup(r.MFAMethod.EMAIL))}),n(2,`
97                        Enable
98                      `),l(),n(3,`
99                    `)}if(i&2){let e=h(4);m(),A("pTooltip","You must disable the current MFA method before enabling a new one.")("tooltipDisabled",!e.userMFASettings.activeMFAMethod)("tooltipPosition","bottom")("disabled",e.userMFASettings.activeMFAMethod)}}function Co(i,t){if(i&1&&(n(0,`
100          `),c(1,"div",22),n(2,`
101            `),c(3,"div",23),n(4,`
102              `),c(5,"div",24),n(6,`
103                `),c(7,"div",25),n(8,`
104                  `),c(9,"span",26),n(10,`
105                    `),v(11,"i",38),n(12,"Email Authentication"),l(),n(13,`
106                    `),Ce(14),n(15,`
107                      `),p(16,po,6,2),p(17,fo,6,2),Se(),n(18,`
108                  `),l(),n(19,`
109                  `),c(20,"p",28),n(21,"Receive verification codes via email"),l(),n(22,`
110                  `),p(23,go,6,1),c(24,"div",31),n(25,`
111                    `),p(26,_o,4,0),p(27,xo,4,4),l(),n(28,`
112                `),l(),n(29,`
113              `),l(),n(30,`
114            `),l(),n(31,`
115          `)),i&2){let e=h(3);m(3),A("ngClass",ee(6,dt,e.userMFASettings.activeMFAMethod===e.MFAMethod.EMAIL)),m(13),f(e.userMFASettings.activeMFAMethod===e.MFAMethod.EMAIL?16:-1),m(),f(e.userMFASettings.activeMFAMethod!==e.MFAMethod.EMAIL?17:-1),m(6),f(e.userMFASettings.activeMFAMethod===e.MFAMethod.EMAIL?23:-1),m(3),f(e.userMFASettings.activeMFAMethod===e.MFAMethod.EMAIL?26:-1),m(),f(e.userMFASettings.activeMFAMethod!==e.MFAMethod.EMAIL?27:-1)}}function So(i,t){i&1&&(n(0,`
116                      `),c(1,"div",33),n(2,`
117                        `),v(3,"app-pill",34),n(4,`
118                      `),l(),n(5,`
119                    `)),i&2&&(m(3),A("status","active")("text","Active"))}function wo(i,t){i&1&&(n(0,`
120                      `),c(1,"div",33),n(2,`
121                        `),v(3,"app-pill",34),n(4,`
122                      `),l(),n(5,`
123                    `)),i&2&&(m(3),A("status","default")("text","Inactive"))}function bo(i,t){if(i&1){let e=y();n(0,`
124                    `),c(1,"button",39),S("click",function(){x(e);let r=h(3);return C(r.removeMfaMethod(r.MFAMethod.AUTHENTICATOR_APP))}),n(2,`
125                      Disable
126                    `),l(),n(3,`
127                  `)}}function Ao(i,t){if(i&1){let e=y();n(0,`
128                    `),c(1,"button",37),S("click",function(){x(e);let r=h(3);return C(r.beginMFASetup(r.MFAMethod.AUTHENTICATOR_APP))}),n(2,`
129                      Enable
130                    `),l(),n(3,`
131                  `)}if(i&2){let e=h(3);m(),A("pTooltip","You must disable the current MFA method before enabling a new one.")("tooltipDisabled",!e.userMFASettings.activeMFAMethod)("tooltipPosition","bottom")("disabled",e.userMFASettings.activeMFAMethod)}}function Eo(i,t){if(i&1&&(n(0,`
132  `),p(1,ao,12,0),c(2,"div",20),n(3,`
133    `),c(4,"div",12),n(5,`
134      `),c(6,"h2",13),n(7,"Multi Factor Authentication"),l(),n(8,`
135    `),l(),n(9,`
136    `),c(10,"div",17),n(11,`
137      `),c(12,"app-inline-alert",10),n(13,"Only one MFA method can be active at a time"),l(),n(14,`
138      `),c(15,"div",21),n(16,`
139        `),c(17,"div",22),n(18,`
140          `),c(19,"div",23),n(20,`
141            `),c(21,"div",24),n(22,`
142              `),c(23,"div",25),n(24,`
143                `),c(25,"span",26),n(26,`
144                  `),v(27,"i",27),n(28,`SMS Authentication
145                `),l(),n(29,`
146                `),Ce(30),n(31,`
147                  `),p(32,so,6,2),p(33,lo,6,2),Se(),n(34,`
148              `),l(),n(35,`
149              `),c(36,"p",28),n(37,"Receive verification codes via text message"),l(),n(38,`
150              `),p(39,co,9,1),c(40,"div",29),n(41,`
151                `),p(42,uo,4,0),p(43,mo,4,1),p(44,ho,4,4),l(),n(45,`
152            `),l(),n(46,`
153          `),l(),n(47,`
154        `),l(),n(48,`
155        `),p(49,Co,32,8),c(50,"div",22),n(51,`
156            `),c(52,"div",23),n(53,`
157              `),c(54,"div",24),n(55,`
158                `),c(56,"div",25),n(57,`
159                  `),c(58,"span",26),n(59,`
160                    `),v(60,"i",30),n(61,`Authenticator App
161                  `),l(),n(62,`
162                  `),Ce(63),n(64,`
163                    `),p(65,So,6,2),p(66,wo,6,2),Se(),n(67,`
164                `),l(),n(68,`
165                `),c(69,"p",28),n(70,"Use an authenticator app like Google Authenticator"),l(),n(71,`
166                `),c(72,"div",31),n(73,`
167                  `),p(74,bo,4,0),p(75,Ao,4,4),l(),n(76,`
168              `),l(),n(77,`
169            `),l(),n(78,`
170          `),l(),n(79,`
171        `),l(),n(80,`
172      `),l(),n(81,`
173    `),l(),n(82,`
174  `)),i&2){let e=h(2);m(),f(e.userMFASettings!=null&&e.userMFASettings.activeMFAMethod?-1:1),m(),yt("border-top-none",!(e.userMFASettings!=null&&e.userMFASettings.activeMFAMethod)),m(10),A("isInline",!0),m(7),A("ngClass",ee(17,dt,e.userMFASettings.activeMFAMethod===e.MFAMethod.SMS)),m(13),f(e.userMFASettings.activeMFAMethod===e.MFAMethod.SMS?32:-1),m(),f(e.userMFASettings.activeMFAMethod!==e.MFAMethod.SMS?33:-1),m(6),f(e.userMFASettings.activeMFAMethod===e.MFAMethod.SMS?39:-1),m(3),f(e.userMFASettings.activeMFAMethod===e.MFAMethod.SMS?42:-1),m(),f(e.userMFASettings.activeMFAMethod!==e.MFAMethod.SMS&&!e.userMFASettings.isPhoneNumberConfirmed?43:-1),m(),f(e.userMFASettings.activeMFAMethod!==e.MFAMethod.SMS&&e.userMFASettings.isPhoneNumberConfirmed?44:-1),m(5),f(-1),m(3),A("ngClass",ee(19,dt,e.userMFASettings.activeMFAMethod===e.MFAMethod.AUTHENTICATOR_APP)),m(13),f(e.userMFASettings.activeMFAMethod===e.MFAMethod.AUTHENTICATOR_APP?65:-1),m(),f(e.userMFASettings.activeMFAMethod!==e.MFAMethod.AUTHENTICATOR_APP?66:-1),m(8),f(e.userMFASettings.activeMFAMethod===e.MFAMethod.AUTHENTICATOR_APP?74:-1),m(),f(e.userMFASettings.activeMFAMethod!==e.MFAMethod.AUTHENTICATOR_APP?75:-1)}}function Mo(i,t){if(i&1&&(n(0,`
175`),n(1,`
176
177`),p(2,io,24,2),p(3,ro,17,2),p(4,Eo,83,21)),i&2){let e=h();m(2),f(e.sessionSettings!=null&&e.sessionSettings.isImpersonating?-1:2),m(),f(e.sessionSettings!=null&&e.sessionSettings.isImpersonating?-1:3),m(),f(e.sessionSettings!=null&&e.sessionSettings.isImpersonating?-1:4)}}function yo(i,t){i&1&&(n(0,`
178      `),c(1,"h2"),n(2,"Authenticator Settings"),l(),n(3,`
179      `),c(4,"p"),n(5,"Use an app like Google Authenticator or Authy"),l(),n(6,`
180      `),v(7,"hr"),n(8,`
181    `))}function vo(i,t){i&1&&(n(0,`
182      `),c(1,"h2"),n(2,"SMS Settings"),l(),n(3,`
183      `),c(4,"p"),n(5,"Set up authentication with SMS"),l(),n(6,`
184      `),v(7,"hr"),n(8,`
185    `))}function To(i,t){i&1&&(n(0,`
186      `),c(1,"h2"),n(2,"Email Settings"),l(),n(3,`
187      `),c(4,"p"),n(5,"Set up authentication with email"),l(),n(6,`
188      `),v(7,"hr"),n(8,`
189    `))}function Fo(i,t){i&1&&(n(0,`
190      `),v(1,"app-loader"),n(2,`
191    `))}function Po(i,t){if(i&1){let e=y();n(0,`
192          `),c(1,"p"),n(2,`
193            We will send a verification code to
194            `),c(3,"strong"),n(4),l(),n(5,`
195          `),l(),n(6,`
196          `),c(7,"div",41),n(8,`
197            `),c(9,"button",42),S("click",function(){x(e);let r=h(3);return C(r.initializeMFASetup(r.MFAMethod.SMS))}),n(10,"Send Verification Code"),l(),n(11,`
198          `),l(),n(12,`
199        `)}if(i&2){let e=h(3);m(4),K("",e.userMFASettings.phoneNumber,".")}}function No(i,t){if(i&1){let e=y();n(0,`
200          `),c(1,"p"),n(2,`
201            We will send a verification code to
202            `),c(3,"strong"),n(4),l(),n(5,`
203          `),l(),n(6,`
204
205          `),c(7,"div",41),n(8,`
206            `),c(9,"button",42),S("click",function(){x(e);let r=h(3);return C(r.initializeMFASetup(r.MFAMethod.EMAIL))}),n(10,"Send Verification Code"),l(),n(11,`
207          `),l(),n(12,`
208        `)}if(i&2){let e=h(3);m(4),K("",e.userMFASettings.email,". ")}}function Io(i,t){if(i&1){let e=y();n(0,`
209          `),c(1,"div",43),n(2,`
210            `),c(3,"div",44),n(4,`
211              `),c(5,"div",45),n(6,`
212                `),v(7,"qrcode",46),n(8,`
213              `),l(),n(9,`
214              `),c(10,"div"),n(11,"Scan this QR code with your authenticator app"),l(),n(12,`
215            `),l(),n(13,`
216          `),l(),n(14,`
217
218          `),c(15,"p",33),n(16,"Can't scan? Enter this key manually: "),c(17,"span",47),n(18),l()(),n(19,`
219
220          `),c(20,"div",41),n(21,`
221            `),c(22,"button",48),S("click",function(){x(e);let r=h(3);return C(r.continueToCodeVerification())}),n(23,"I've Added the Account"),l(),n(24,`
222          `),l(),n(25,`
223        `)}if(i&2){let e=h(3);m(7),A("qrdata",e.mfaSetup.otpAuthUri)("colorDark","#000080")("colorLight","#ffffff")("width",256)("errorCorrectionLevel","M"),m(11),G(e.mfaSetup==null?null:e.mfaSetup.secretKey)}}function Do(i,t){if(i&1&&(n(0,`
224      `),p(1,Po,13,1)(2,No,13,1)(3,Io,26,6),n(4,`
225    `)),i&2){let e,o=h(2);m(),f((e=o.mfaSetup.mfaMethod)===o.MFAMethod.SMS?1:e===o.MFAMethod.EMAIL?2:e===o.MFAMethod.AUTHENTICATOR_APP?3:-1)}}function Uo(i,t){if(i&1&&(n(0,`
226            `),c(1,"p"),n(2,`
227              Enter the verification code sent to
228              `),c(3,"strong"),n(4),l(),n(5,`
229            `),l(),n(6,`
230          `)),i&2){let e=h(3);m(4),K("",e.userMFASettings.phoneNumber,".")}}function Vo(i,t){if(i&1&&(n(0,`
231            `),c(1,"p"),n(2,`
232              Enter the verification code sent to
233              `),c(3,"strong"),n(4),l(),n(5,`
234            `),l(),n(6,`
235          `)),i&2){let e=h(3);m(4),K("",e.userMFASettings.email,". ")}}function Bo(i,t){i&1&&(n(0,`
236            `),c(1,"p"),n(2,"Enter the verification code in your authenticator app"),l(),n(3,`
237          `))}function Ro(i,t){if(i&1){let e=y();n(0,`
238      `),c(1,"div"),n(2,`
239        `),p(3,Uo,7,1)(4,Vo,7,1)(5,Bo,4,0),n(6,`
240
241        `),c(7,"div",49),n(8,`
242          `),c(9,"div",50),n(10,`
243            `),c(11,"label",51),n(12,`
244              `),c(13,"span"),n(14,"Code"),l(),n(15,`
245            `),l(),n(16,`
246            `),v(17,"input",52,1),n(19,`
247          `),l(),n(20,`
248          `),c(21,"div"),n(22,`
249            `),c(23,"button",53),S("click",function(){x(e);let r=Le(18),a=h(2);return C(a.verifyMFACode(r.value))}),n(24,"Verify"),l(),n(25,`
250          `),l(),n(26,`
251        `),l(),n(27,`
252      `),l(),n(28,`
253    `)}if(i&2){let e,o=h(2);m(3),f((e=o.mfaSetup.mfaMethod)===o.MFAMethod.SMS?3:e===o.MFAMethod.EMAIL?4:e===o.MFAMethod.AUTHENTICATOR_APP?5:-1)}}function Lo(i,t){if(i&1){let e=y();n(0,`
254
255`),c(1,"app-admin-header",40),S("parentLinkAction",function(){x(e);let r=h();return C(r.cancelMFASetup())}),l(),n(2,`
256
257`),n(3,`
258`),c(4,"div",11),n(5,`
259  `),p(6,yo,9,0)(7,vo,9,0)(8,To,9,0),n(9,`
260
261  `),c(10,"div",17),n(11,`
262    `),p(12,Fo,3,0)(13,Do,5,1)(14,Ro,29,1),l(),n(15,`
263`),l(),n(16,`
264`)}if(i&2){let e,o=h();m(),A("pageTitle","Set up "+o.mfaMethodName(o.mfaSetup==null?null:o.mfaSetup.mfaMethod))("showBackButton",!0),m(5),f((e=o.mfaSetup.mfaMethod)===o.MFAMethod.AUTHENTICATOR_APP?6:e===o.MFAMethod.SMS?7:e===o.MFAMethod.EMAIL?8:-1),m(6),f(o.loadingMFASetup?12:o.mfaSetup.mfaSetupStage=="createCode"?13:o.mfaSetup.mfaSetupStage=="verify"?14:-1)}}function ko(i,t){if(i&1){let e=y();n(0,`
265    `),c(1,"p",6),n(2,"Fields marked "),c(3,"span",7),n(4,"*"),l(),n(5," are required."),l(),n(6,`
266    `),c(7,"app-dynamic-form",54,2),S("onSubmit",function(r){x(e);let a=h();return C(a.changePassword(r))})("onCancel",function(){x(e);let r=h();return C(r.showPasswordUpdateDialog=!1)}),n(9,`
267      `),c(10,"app-dynamic-form-field",55),n(11," "),l(),n(12,`
268      `),c(13,"app-dynamic-form-field",56),n(14," "),l(),n(15,`
269      `),c(16,"app-dynamic-form-field",57),n(17," "),l(),n(18,`
270    `),l(),n(19,`
271  `)}if(i&2){let e=h();m(7),A("fields",e.passwordUpdateFields)("entity",e.user)("contentFieldsMode",!0)("horizontalForm",!0)("showCancelButton",!0)("showSubmitButton",!0)("buttonsPosition","left")}}function qo(i,t){if(i&1){let e=y();n(0,`
272    `),c(1,"div",58),n(2,`
273      `),c(3,"p",58),n(4,"We need to verify your phone number before you can enable SMS authentication."),l(),n(5,`
274      `),c(6,"p",59),n(7,`
275        A verification code will be sent to `),c(8,"strong"),n(9),l(),n(10,`
276      `),l(),n(11,`
277      `),c(12,"div",60),n(13,`
278        `),c(14,"button",61),S("click",function(){x(e);let r=h();return C(r.sendPhoneVerificationCode())}),n(15,"Send Code"),l(),n(16,`
279        `),c(17,"button",62),S("click",function(){x(e);let r=h();return C(r.cancelPhoneVerification())}),n(18,"Cancel"),l(),n(19,`
280      `),l(),n(20,`
281    `),l(),n(21,`
282  `)}if(i&2){let e=h();m(9),G(e.userMFASettings==null?null:e.userMFASettings.phoneNumber)}}function Ho(i,t){if(i&1){let e=y();n(0,`
283    `),c(1,"div",63),n(2,`
284      `),c(3,"p",58),n(4,`
285        Please enter the verification code sent to `),c(5,"strong"),n(6),l(),n(7,`
286      `),l(),n(8,`
287      `),c(9,"div",64),n(10,`
288        `),c(11,"label",65),n(12,`
289          `),c(13,"span"),n(14,"Code"),l(),n(15,`
290        `),l(),n(16,`
291        `),v(17,"input",66,3),n(19,`
292      `),l(),n(20,`
293      `),c(21,"div",67),n(22,`
294        `),c(23,"button",61),S("click",function(){x(e);let r=Le(18),a=h();return C(a.verifyPhoneCode(r.value))}),n(24,"Verify"),l(),n(25,`
295        `),c(26,"button",62),S("click",function(){x(e);let r=h();return C(r.cancelPhoneVerification())}),n(27,"Cancel"),l(),n(28,`
296      `),l(),n(29,`
297    `),l(),n(30,`
298  `)}if(i&2){let e=h();m(6),G(e.userMFASettings==null?null:e.userMFASettings.phoneNumber)}}function zo(i,t){i&1&&(n(0,`
299          `),c(1,"p",70),n(2,`
300            Warning: Changing your phone number will disable SMS-based two-factor authentication (MFA). You will need to re-enable it with your new number if you wish to use it.
301          `),l(),n(3,`
302        `))}function Oo(i,t){if(i&1){let e=y();n(0,`
303      `),c(1,"p",6),n(2,"Fields marked "),c(3,"span",7),n(4,"*"),l(),n(5," are required."),l(),n(6,`
304      `),c(7,"p"),n(8,"Please enter your new phone number."),l(),n(9,`
305      `),c(10,"app-dynamic-form",68),S("onCancel",function(){x(e);let r=h(2);return C(r.cancelPhoneNumberUpdate())})("onSubmit",function(r){x(e);let a=h(2);return C(a.updatePhoneNumber(r.cellPhone))}),n(11,`
306        `),v(12,"app-dynamic-form-field",69),n(13,`
307        `),p(14,zo,4,0),l(),n(15,`
308    `)}if(i&2){let e=h(2);m(10),A("fields",ee(5,ti,e.phoneNumberField))("entity",e.user)("submitButtonText","Continue")("horizontalForm",!0),m(4),f(e.userMFASettings.activeMFAMethod===e.MFAMethod.SMS?14:-1)}}function Ko(i,t){if(i&1){let e=y();n(0,`
309      `),c(1,"p"),n(2,`
310        You are about to change your phone number to
311        `),c(3,"strong"),n(4),Tt(5,"formatPhoneNumber"),l(),n(6,`.
312      `),l(),n(7,`
313      `),c(8,"div",71),n(9,`
314        `),c(10,"label",72),n(11,"Enter the code sent to your new number:"),l(),n(12,`
315        `),c(13,"input",73),Z("ngModelChange",function(r){x(e);let a=h(2);return X(a.confirmationCode,r)||(a.confirmationCode=r),C(r)}),l(),n(14,`
316      `),l(),n(15,`
317      `),c(16,"div",74),n(17,`
318        `),c(18,"div",75),n(19,`
319          `),c(20,"button",76),S("click",function(){x(e);let r=h(2);return C(r.phoneNumberUpdateStage="enter")}),n(21,"Back"),l(),n(22,`
320        `),l(),n(23,`
321        `),c(24,"div",77),n(25,`
322          `),c(26,"button",78),S("click",function(){x(e);let r=h(2);return C(r.confirmPhoneNumberUpdate())}),n(27,"Confirm"),l(),n(28,`
323        `),l(),n(29,`
324      `),l(),n(30,`
325    `)}if(i&2){let e=h(2);m(4),G(Ft(5,2,e.newPhoneNumber)),m(9),$("ngModel",e.confirmationCode)}}function Qo(i,t){if(i&1&&(n(0,`
326    `),p(1,Oo,16,7),p(2,Ko,31,4)),i&2){let e=h();m(),f(e.phoneNumberUpdateStage==="enter"?1:-1),m(),f(e.phoneNumberUpdateStage==="confirm"?2:-1)}}function Wo(i,t){if(i&1){let e=y();n(0,`
327      `),c(1,"p",6),n(2,"Fields marked "),c(3,"span",7),n(4,"*"),l(),n(5," are required."),l(),n(6,`
328      `),c(7,"p"),n(8,"Please enter your new email address."),l(),n(9,`
329      `),c(10,"app-dynamic-form",68),S("onCancel",function(){x(e);let r=h(2);return C(r.cancelEmailUpdate())})("onSubmit",function(r){x(e);let a=h(2);return C(a.updateEmail(r.email))}),n(11,`
330        `),v(12,"app-dynamic-form-field",79),n(13,`
331      `),l(),n(14,`
332    `)}if(i&2){let e=h(2);m(10),A("fields",ee(4,ti,e.emailField))("entity",e.user)("submitButtonText","Continue")("horizontalForm",!0)}}function Yo(i,t){if(i&1){let e=y();n(0,`
333      `),c(1,"p"),n(2,`
334        You are about to change your email address to
335        `),c(3,"strong"),n(4),l(),n(5,`.
336          `),v(6,"br"),n(7,`
337          `),c(8,"strong"),n(9,"This will also change your login name."),l(),n(10,`
338      `),l(),n(11,`
339      `),n(12,`
340      `),c(13,"div",74),n(14,`
341        `),c(15,"div",75),n(16,`
342          `),c(17,"button",76),S("click",function(){x(e);let r=h(2);return C(r.cancelEmailUpdate())}),n(18,"Cancel"),l(),n(19,`
343        `),l(),n(20,`
344        `),c(21,"div",77),n(22,`
345          `),c(23,"button",78),S("click",function(){x(e);let r=h(2);return C(r.confirmEmailUpdate())}),n(24,"Confirm"),l(),n(25,`
346        `),l(),n(26,`
347      `),l(),n(27,`
348    `)}if(i&2){let e=h(2);m(4),G(e.newEmail)}}function Jo(i,t){if(i&1&&(n(0,`
349    `),p(1,Wo,15,6),p(2,Yo,28,1)),i&2){let e=h();m(),f(e.emailUpdateStage==="enter"?1:-1),m(),f(e.emailUpdateStage==="confirm"?2:-1)}}var ia=(()=>{class i{constructor(){this.siteDataService=V(Lt),this.userService=V(Jt),this.formService=V(qt),this.sessionService=V(Gt),this.accountService=V($t),this.unsubscribe$=new ht,this.loading=!0,this.showPasswordUpdateDialog=!1,this.showPhoneNumberUpdateDialog=!1,this.showEmailUpdateDialog=!1,this.phoneNumberUpdateStage="enter",this.emailUpdateStage="enter",this.showPhoneVerificationDialog=!1,this.phoneVerificationStage="sendCode",this.phoneNumberField={name:"cellPhone",controlName:"cellPhone",label:"Phone Number",dynamicFormFieldTypeID:ke.TEXT,dynamicFormFieldTextBoxTypeID:qe.PHONE,placeholder:"Enter your phone number",required:!0},this.emailField=new kt({name:"email",controlName:"email",label:"Email Address",dynamicFormFieldTypeID:ke.TEXT,dynamicFormFieldTextBoxTypeID:qe.EMAIL,placeholder:"Enter your email address",required:!0}),this.userMFASettings={activeMFAMethod:null,isEmailConfirmed:!0,isPhoneNumberConfirmed:!1,phoneNumber:"123-456-7890",authenticatorAppName:"Google Authenticator"},this.loadingMFASetup=!1,this.MFAMethod=k}ngOnInit(){this.siteDataService.hideSiteLoader(),this.initialize()}changePassword(e){this.accountService.changePassword(e).pipe(P(this.unsubscribe$)).subscribe({next:o=>{o.succeeded?(this.formService.hideFormLoader(),this.showPasswordUpdateDialog=!1,this.siteDataService.showSiteSuccessAlert("Password changed successfully")):(this.formService.hideFormLoader(),this.siteDataService.showSiteErrorAlert("There was a problem changing your password."),o.errors&&o.errors.length>0&&this.formService.showFormErrorMessage(o.errors[0].description))},error:o=>{this.formService.hideFormLoader();let r=o?.error;Array.isArray(r)&&r.length>0?this.formService.showFormErrorMessage(r[0]):this.siteDataService.showSiteErrorAlert("There was a problem changing your password.")}})}initialize(){pt([this.userService.getUserMetadata(),this.userService.getCurrentUserForEdit(),this.sessionService.getSessionSettings(),this.accountService.getLoginSettingsMetadata(),this.accountService.getPasswordUpdateMetadataMetadata(),this.accountService.getMfaSettings()]).pipe(P(this.unsubscribe$)).subscribe(e=>{this.user=e[1].user,this.sessionSettings=e[2],this.loginSettingsViewOnlyFields=e[3].fields,this.passwordUpdateFields=e[4].fields,this.loading=!1,this.userMFASettings=e[5]})}updatePhoneNumber(e){this.newPhoneNumber=e,this.accountService.sendConfirmationCodeForNewPhoneNumber(e).pipe(P(this.unsubscribe$)).subscribe({next:()=>{this.showPhoneNumberUpdateDialog=!0,this.phoneNumberUpdateStage="confirm"},error:o=>{this.siteDataService.showSiteErrorAlert("There was a problem sending the confirmation code.")}})}confirmPhoneNumberUpdate(){if(!this.confirmationCode||this.confirmationCode.trim()===""){this.siteDataService.showSiteErrorAlert("Please enter the confirmation code.");return}this.accountService.confirmAndUpdatePhoneNumber(this.newPhoneNumber,this.confirmationCode).pi
349pe(P(this.unsubscribe$)).subscribe({next:e=>{if(!e.succeeded){if(e.errors&&e.errors.length>0){this.siteDataService.showSiteErrorAlert(e.errors[0]);return}this.siteDataService.showSiteErrorAlert("There was a problem updating your phone number.");return}this.showPhoneNumberUpdateDialog=!1,this.phoneNumberUpdateStage="enter",this.siteDataService.showSiteSuccessAlert("Phone number updated successfully."),this.initialize()},error:e=>{this.siteDataService.showSiteErrorAlert("There was a problem updating your phone number.")}})}cancelPhoneNumberUpdate(){this.showPhoneNumberUpdateDialog=!1,this.phoneNumberUpdateStage="enter",this.newPhoneNumber=""}beginMFASetup(e){if(e===k.AUTHENTICATOR_APP){this.initializeMFASetup(e);return}this.mfaSetup={mfaMethod:e,email:this.user.email,mfaSetupStage:"createCode"}}initializeMFASetup(e){this.loadingMFASetup=!0,this.accountService.initializeMfaSetup(le(se({},this.userMFASettings),{activeMFAMethod:e})).pipe(P(this.unsubscribe$)).subscribe({next:o=>{this.loadingMFASetup=!1,this.mfaSetup={mfaMethod:e,email:this.user.email,mfaSetupStage:e===k.AUTHENTICATOR_APP?"createCode":"verify",otpAuthUri:o.otpSetupUri,secretKey:o.otpSetupKey}},error:o=>{this.loadingMFASetup=!1,this.siteDataService.showSiteErrorAlert("There was a problem initializing MFA setup.")}})}continueToCodeVerification(){this.mfaSetup.mfaMethod===k.AUTHENTICATOR_APP&&this.mfaSetup.otpAuthUri&&(this.mfaSetup.mfaSetupStage="verify")}verifyMFACode(e){let o={code:e,method:this.mfaSetup.mfaMethod};this.accountService.completeMfaSetup(o).pipe(P(this.unsubscribe$)).subscribe({next:r=>{r.succeeded?(this.siteDataService.showSiteSuccessAlert("MFA setup completed successfully."),this.mfaSetup=null,this.initialize()):this.siteDataService.showSiteErrorAlert(r.errorMessage)},error:r=>{this.siteDataService.showSiteErrorAlert("There was a problem initializing MFA setup.")}})}removeMfaMethod(e){this.accountService.removeMfa(e).pipe(P(this.unsubscribe$)).subscribe({next:o=>{this.siteDataService.showSiteSuccessAlert("MFA method removed successfully."),this.initialize()},error:o=>{this.siteDataService.showSiteErrorAlert("There was a problem removing the MFA method.")}})}cancelMFASetup(){this.mfaSetup.mfaSetupStage=="createCode"?this.mfaSetup=null:this.mfaSetup.mfaSetupStage=="verify"&&(this.mfaSetup=null)}mfaMethodName(e){switch(e){case k.SMS:return"SMS Authentication";case k.AUTHENTICATOR_APP:return"Authenticator App";case k.EMAIL:return"Email Authentication";default:return"Unknown Method"}}showPhoneConfirmationDialog(){this.phoneVerificationStage="sendCode",this.showPhoneVerificationDialog=!0}sendPhoneVerificationCode(){let e=this.userMFASettings.phoneNumber||this.user.cellPhone;this.accountService.sendPhoneNumberConfirmation(e).pipe(P(this.unsubscribe$)).subscribe({next:()=>{this.siteDataService.showSiteSuccessAlert("Verification code sent to your phone."),this.phoneVerificationStage="verifyCode"},error:o=>{this.siteDataService.showSiteErrorAlert("There was a problem sending the verification code.")}})}verifyPhoneCode(e){if(!e||e.trim()===""){this.siteDataService.showSiteErrorAlert("Please enter the verification code.");return}let o=this.userMFASettings.phoneNumber||this.user.cellPhone;this.accountService.checkPhoneNumberConfirmation(o,e).pipe(P(this.unsubscribe$)).subscribe({next:()=>{this.siteDataService.showSiteSuccessAlert("Phone number verified successfully."),this.showPhoneVerificationDialog=!1,this.userMFASettings=le(se({},this.userMFASettings),{isPhoneNumberConfirmed:!0}),this.initialize()},error:r=>{this.siteDataService.showSiteErrorAlert("Invalid verification code. Please try again.")}})}cancelPhoneVerification(){this.showPhoneVerificationDialog=!1,this.phoneVerificationStage="sendCode"}sendPhoneNumberConfirmation(){let e=this.user.cellPhone;this.accountService.sendPhoneNumberConfirmation(e).pipe(P(this.unsubscribe$)).subscribe({next:()=>{},error:o=>{this.siteDataService.showSiteErrorAlert("There was a problem sending the confirmation code.")}})}updateEmail(e){this.userService.isEmailAddressAvailable(e).pipe(P(this.unsubscribe$)).subscribe({next:o=>{if(!o){this.siteDataService.showSiteErrorAlert("Email address is already in use.");return}
349this.newEmail=e,this.emailUpdateStage="confirm"},error:()=>{this.siteDataService.showSiteErrorAlert("There was a problem checking the email address availability.")}})}confirmEmailUpdate(){this.userService.updateUser(this.user.userID,le(se({},this.user),{email:this.newEmail})).pipe(P(this.unsubscribe$)).subscribe({next:()=>{this.user=le(se({},this.user),{email:this.newEmail}),this.siteDataService.refreshLoggedInClientUser(),this.showEmailUpdateDialog=!1,this.emailUpdateStage="enter",this.siteDataService.showSiteSuccessAlert("Email address updated successfully."),this.initialize()},error:()=>{this.siteDataService.showSiteErrorAlert("There was a problem updating your email address.")}})}cancelEmailUpdate(){this.showEmailUpdateDialog=!1,this.emailUpdateStage="enter",this.newEmail=""}ngOnDestroy(){this.unsubscribe$.next(),this.unsubscribe$.complete()}static{this.\u0275fac=function(o){return new(o||i)}}static{this.\u0275cmp=xe({type:i,selectors:[["ng-component"]],decls:26,vars:18,consts:[["valueOverride",""],["codeVerification",""],["form",""],["phoneVerificationCode",""],["id","dialog-update-password","header","Change Password","contentStyleClass","pb-0",3,"visibleChange","onHide","visible","appRestoreFocus","appRestoreFocusOnHide"],["id","dialog-verify-phone","header","Verify Phone Number","contentStyleClass","pb-0",3,"visibleChange","onHide","visible","appRestoreFocus","appRestoreFocusOnHide"],[1,"required-asterisk-label"],["aria-hidden","true",1,"required-asterisk"],["id","dialog-update-phone","header","Update Phone Number","contentStyleClass","pb-0",3,"visibleChange","onHide","visible","appRestoreFocus","appRestoreFocusOnHide"],["id","dialog-update-email","header","Update Email Address","contentStyleClass","pb-0",3,"visibleChange","onHide","visible","appRestoreFocus","appRestoreFocusOnHide"],["alertType","info",3,"isInline"],[1,"card","edit-card"],[1,"card-header","d-flex","align-items-center","justify-content-between","pb-3"],[1,"text-h4","mb-0"],[1,"header-action"],["type","button","id","btn-change-email","aria-controls","dialog-update-email","aria-haspopup","dialog",1,"btn","btn-secondary","btn-sm",3,"click"],["type","button","id","btn-change-password","aria-controls","dialog-update-password","aria-haspopup","dialog",1,"btn","btn-secondary","btn-sm",3,"click"],[1,"card-body"],[3,"field","entity"],["type","button","id","btn-change-phone","aria-controls","dialog-update-phone","aria-haspopup","dialog",1,"btn","btn-secondary","btn-sm","header-action",3,"click"],[1,"card","edit-card","pb-2"],[1,"row","mt-3"],[1,"col-12","col-lg","mb-3"],[1,"card","full-height","mb-0",3,"ngClass"],[1,"justify-content-between","d-flex","flex-column","full-height"],[1,"d-flex","justify-content-between","align-items-center","mb-3","border-bottom","pb-2"],[1,"text-h5","mb-0"],[1,"fal","fa-mobile","mr-2","text-medium"],[1,"card-text"],[1,"row","bg-transparent","border-0","px-3"],[1,"fal","fa-shield","mr-2","text-medium"],[1,"row","bg-transparent","px-3"],["alertType","warning"],[1,"mb-1"],[3,"status","text"],["type","button",1,"btn","col","btn-accent-secondary","bg-transparent",3,"click"],["type","button","id","btn-verify-phone","aria-controls","dialog-verify-phone","aria-haspopup","dialog",1,"btn","col","btn-primary",3,"click"],["type","button",1,"btn","col","btn-primary",3,"click","pTooltip","tooltipDisabled","tooltipPosition","disabled"],[1,"fal","fa-envelope","mr-2","text-medium"],["type","button",1,"btn","col","btn-outline-danger","text-danger","bg-transparent",3,"click"],[3,"parentLinkAction","pageTitle","showBackButton"],[1,"mt-4"],[1,"btn","btn-primary",3,"click"],[1,"text-center"],[1,"card","d-inline-block"],[1,"qrcodeImage","d-inline-block"],[3,"qrdata","colorDark","colorLight","width","errorCorrectionLevel"],[1,"fw-700"],["type","submit",1,"btn","btn-primary",3,"click"],[1,"d-flex"],[1,"form-group","mr-3"],["for","codeVerification",1,"sr-only"],["name","codeVerification","placeholder","Code (e.g. 321789)"],[1,"btn","btn-primary","btn-sm",3,"click"],["formID","update-password-form",3,"onSubmit","onCancel","fields","entity","contentFieldsMode","horizontalForm","showCancelButton","showSubmitButton","buttonsPosition"],["fieldName","password","formID","update-password-form"],["fieldName","newPassword","formID","update-password-form"],["fieldName","confirmNewPassword","formID","update-password-form"],[1,"mb-3"],[1,"mb-4"],[1,"d-flex","justify-content-start"],["type","submit",1,"btn","btn-primary","me-2",3,"click"],["type","button",1,"btn","btn-accent-secondary",3,"click"],[1,"text-center","mb-3"],[1,"form-group","mb-4"],["for","phoneVerificationCode",1,"mb-2"],["name","phoneVerificationCode",1,"p-inputtext","w-100"],[1,"d-flex","justify-content-center"],[3,"onCancel","onSubmit","fields","entity","submitButtonText","horizontalForm"],["fieldName","cellPhone"],[1,"alert","alert-warning"],[1,"form-group"],["for","confirmationCode"],["id","confirmationCode","type","text","placeholder","Confirmation Code",3,"ngModelChange","ngModel"],[1,"form-action","row"],[1,"col"],[1,"btn","btn-secondary","btn-lg","me-2",3,"click"],[1,"col","right-buttons"],[1,"btn","btn-primary","btn-lg",3,"click"],["fieldName","email"]],template:function(o,r){o&1&&(p(0,Zi,8,1)(1,Mo,5,3)(2,Lo,17,4),c(3,"app-dialog",4),Z("visibleChange",function(s){return X(r.showPasswordUpdateDialog,s)||(r.showPasswordUpdateDialog=s),s}),S("onHide",function(){return r.showPasswordUpdateDialog=!1}),n(4,`
350
351  `),p(5,ko,20,7),l(),n(6,`
352
353`),c(7,"app-dialog",5),Z("visibleChange",function(s){return X(r.showPhoneVerificationDialog,s)||(r.showPhoneVerificationDialog=s),s}),S("onHide",function(){return r.showPhoneVerificationDialog=!1}),n(8,`
354
355  `),c(9,"p",6),n(10,"Fields marked "),c(11,"span",7),n(12,"*"),l(),n(13," are required."),l(),n(14,`
356
357  `),p(15,qo,22,1),p(16,Ho,31,1),l(),n(17,`
358
359`),c(18,"app-dialog",8),Z("visibleChange",function(s){return X(r.showPhoneNumberUpdateDialog,s)||(r.showPhoneNumberUpdateDialog=s),s}),S("onHide",function(){return r.showPhoneNumberUpdateDialog=!1}),n(19,`
360
361  `),p(20,Qo,3,2),l(),n(21,`
362
363`),c(22,"app-dialog",9),Z("visibleChange",function(s){return X(r.showEmailUpdateDialog,s)||(r.showEmailUpdateDialog=s),s}),S("onHide",function(){return r.showEmailUpdateDialog=!1}),n(23,`
364
365  `),p(24,Jo,3,2),l(),n(25,`
366`)),o&2&&(f(!r.sessionSettings||r.sessionSettings!=null&&r.sessionSettings.isImpersonating?0:r.mfaSetup?r.mfaSetup?2:-1:1),m(3),$("visible",r.showPasswordUpdateDialog),A("appRestoreFocus","btn-change-password")("appRestoreFocusOnHide",!0),m(2),f(r.showPasswordUpdateDialog&&r.passwordUpdateFields?5:-1),m(2),$("visible",r.showPhoneVerificationDialog),A("appRestoreFocus","btn-verify-phone")("appRestoreFocusOnHide",!0),m(8),f(r.phoneVerificationStage==="sendCode"?15:-1),m(),f(r.phoneVerificationStage==="verifyCode"?16:-1),m(2),$("visible",r.showPhoneNumberUpdateDialog),A("appRestoreFocus","btn-change-phone")("appRestoreFocusOnHide",!0),m(2),f(r.loading?-1:20),m(2),$("visible",r.showEmailUpdateDialog),A("appRestoreFocus","btn-change-email")("appRestoreFocusOnHide",!0),m(2),f(r.loading?-1:24))},dependencies:[zt,Wt,Nt,Yt,Rt,Kt,Qt,ei,Ot,Ht,Bt,Dt,Ut,Vt,jt,Xt],encapsulation:2})}}return i})();export{ia as AccountSettingsComponent};

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.