1import{l as te,m as ie,p as ne,ra as oe}from"./chunk-C53UORQN.js";import{Da as J,Na as X,Ya as ee,ka as E}from"./chunk-GRKZLBTJ.js";import{J as z}from"./chunk-DNJMDJPD.js";import{F as b,z as I}from"./chunk-YBSG77R6.js";import{i as W}from"./chunk-DXTONCKZ.js";import{a as G}from"./chunk-V2N2YMJZ.js";import{d as re}from"./chunk-QHZU4PST.js";import{a as Y,d as Z,e as q,h as Q}from"./chunk-3QAVFP5S.js";import{p as w}from"./chunk-2K5EWLY6.js";import{A as O,C as F,Ca as j,Da as N,Ec as p,Fa as D,Hb as c,Hd as K,J as R,Ma as U,N as V,Pa as f,R as P,ca as B,d as x,da as k,f as C,fa as L,ga as A,id as v,ka as y,la as M,n as _,qa as o,t as H,xb as $}from"./chunk-QXK5WLZZ.js";var ue=(()=>{class r{el=o(f);ihAutoFocus=K(!0);ngAfterContentInit(){setTimeout(()=>{this.el.nativeElement.focus()},100)}static \u0275fac=function(t){return new(t||r)};static \u0275dir=c({type:r,selectors:[["","ihAutoFocus",""]],inputs:{ihAutoFocus:[1,"ihAutoFocus"]}})}return r})();var T=class{_document;_textarea;constructor(m,e){this._document=e;let t=this._textarea=this._document.createElement("textarea"),i=t.style;i.position="fixed",i.top=i.opacity="0",i.left="-999em",t.setAttribute("aria-hidden","true"),t.value=m,t.readOnly=!0,(this._document.fullscreenElement||this._document.body).appendChild(t)}copy(){let m=this._textarea,e=!1;try{if(m){let t=this._document.activeElement;m.select(),m.setSelectionRange(0,m.value.length),e=this._document.execCommand("copy"),t&&t.focus()}}catch{}return e}destroy(){let m=this._textarea;m&&(m.remove(),this._textarea=void 0)}},se=(()=>{class r{_document=o(j);constructor(){}copy(e){let t=this.beginCopy(e),i=t.copy();return t.destroy(),i}beginCopy(e){return new T(e,this._document)}static \u0275fac=function(t){return new(t||r)};static \u0275prov=M({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();var Oe=(()=>{class r{ihCopy;host=o(f);snackbar=o(ie);clipboard=o(se);destroyRef=o(N);ngOnInit(){O(this.host.nativeElement,"click").pipe(L(()=>{this.clipboard.copy(this.ihCopy)}),G(this.destroyRef)).subscribe(()=>this.snackbar.open("Copied to clipboard"))}static \u0275fac=function(t){return new(t||r)};static \u0275dir=c({type:r,selectors:[["","ihCopy",""]],inputs:{ihCopy:"ihCopy"}})}return r})();var je=(()=>{class r{elementRef=o(f);currencyCode="USD";el;currencySymbol="";onChange=()=>{};onTouched=()=>{};matInput=null;constructor(){this.el=this.elementRef.nativeElement}ngOnInit(){this.currencySymbol=this.getCurrencySymbol()}ngAfterViewInit(){this.matInput=this.el._elementRef?.nativeElement?.__ngContext__?.find(e=>e instanceof re),this.matInput?(this.matInput.type="tel",this.matInput.placeholder=this.formatCurrency(1)):(this.el.type="tel",this.el.placeholder=this.formatCurrency(1))}onFocus(){this.el.value===""?(this.el.value=this.currencySymbol,this.el.setSelectionRange(-1,-1)):this.el.setSelectionRange(this.currencySymbol.length,this.el.value.length)}onBlur(){this.onTouched(),this.formatValue()}onKeyDown(e){let t=e.target,i=t.value,n=this.el.selectionStart,s=this.el.selectionEnd,a=this.el.value.indexOf(".");if(!(["ArrowLeft","ArrowRight","Tab","End","Home"].includes(e.key)||e.ctrlKey)){if(e.key==="."&&a!==-1&&n<=a){e.preventDefault(),t.setSelectionRange(a+1,a+1);return}if(!/^\d$/.test(e.key)&&e.key!==b.Backspace&&e.key!==b.Delete){e.preventDefault();return}if(e.key===b.Backspace)if(a!==-1&&n===a+1){e.preventDefault(),t.setSelectionRange(n-1,n-1);return}else if(a!==-1&&n>a){e.preventDefault(),i=i.slice(0,n-1)+"0"+i.slice(n),this.el.value=i;let u=this.parseValue(i);if(this.onChange(u),n===a+1){t.setSelectionRange(n-2,n-2);return}t.setSelectionRange(n-1,n-1);return}else if(i[n-1]===","&&n===s){e.preventDefault(),i=i.slice(0,n-2)+i.slice(n-1);let u=this.formatWhileTyping(i),l=this.parseValue(u);this.el.value=u,this.onChange(l),t.setSelectionRange(n-1,n-1)}else return;if(e.key===b.Delete)if(a!==-1&&n===a)e.preventDefault();else if(a!==-1&&n>=a){e.preventDefault(),i=i.slice(0,n)+"0"+i.slice(n+1),this.el.value=i;let u=this.parseValue(i);this.onChange(u),t.setSelectionRange(n,n);return}else if(i[n]===","&&n===s){e.preventDefault(),i=i.slice(0,n+1)+i.slice(n+2);let u=this.formatWhileTyping(i),l=this.parseValue(u);this.el.value=u,this.onChange(l),t.setSelectionRange(n,n)}else return;if(n!==null&&s!==null){let u=i.indexOf(".");if(u!==-1&&n>u){e.preventDefault();let l=i;n===i.length?(l=i+e.key,l=l.replace(".",""),l=l.slice(0,n-2)+"."+l.slice(n-2)):l=i.slice(0,n)+e.key+i.slice(n+1);let h=this.formatWhileTyping(l),g=h.length-i.length,S=n+g;g===0&&S++;let ce=this.parseValue(h);this.el.value=h,this.onChange(ce),setTimeout(()=>{t.setSelectionRange(S,S)}),this.matInput&&(this.matInput.value=h)}}}}onInput(e){let t=e.target,i=t.value,n=t.selectionStart,s=t.selectionEnd;if(n!==null&&s!==null){let l=i.indexOf(".");if(l!==-1&&n>l){let h=i[n-1];i=i.slice(0,n-1)+i.slice(n),n--,n===i.length?i=i.slice(0,n-1)+h:(i=i.slice(0,n)+h+i.slice(n+1),n++)}}let a=this.formatWhileTyping(i),u=this.parseValue(a);if(this.el.value=a,this.onChange(u),n!==null&&!(i.indexOf(".")===-1&&a.indexOf(".")!==-1)){let l=a.length-i.length;n+=l}t.setSelectionRange(n,n),this.matInput&&(this.matInput.value=a)}writeValue(e){e!==null?this.el.value=this.formatCurrency(e):this.el.value=""}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this.el.disabled=e}formatValue(){let e=this.parseValue(this.el.value);e!==null?this.el.value=this.formatCurrency(e):this.el.value="",this.matInput&&(this.matInput.value=this.el.value)}formatWhileTyping(e){let t=e.replace(/[^\d.]/g,""),i=parseFloat(t);if(isNaN(i))return this.currencySymbol;let n=i.toFixed(2).split(".");return n[0]=n[0].replace(/\B(?=(\d{3})+(?!\d))/g,","),this.currencySymbol+n.join(".")}parseValue(e){let t=e.replace(this.currencySymbol,"").replace(/[^0-9.
1-]+/g,""),i=parseFloat(t);return isNaN(i)?null:i}formatCurrency(e){return new Intl.NumberFormat("en-US",{style:"currency",currency:this.currencyCode,minimumFractionDigits:2,maximumFractionDigits:2}).format(e)}getCurrencySymbol(){return new Intl.NumberFormat("en-US",{style:"currency",currency:this.currencyCode}).formatToParts(0).find(n=>n.type==="currency")?.value||"$"}static \u0275fac=function(t){return new(t||r)};static \u0275dir=c({type:r,selectors:[["","ihCurrency",""]],hostBindings:function(t,i){t&1&&p("focus",function(){return i.onFocus()})("blur",function(){return i.onBlur()})("keydown",function(s){return i.onKeyDown(s)})("input",function(s){return i.onInput(s)})},inputs:{currencyCode:[0,"ihCurrency","currencyCode"]},features:[v([{provide:Y,useExisting:y(()=>r),multi:!0}])]})}return r})();var Ke=(()=>{class r{el=o(f);renderer=o($);ngAfterViewInit(){let e=window.getComputedStyle(this.el.nativeElement).direction;e==="rtl"?this.renderer.addClass(this.el.nativeElement,"rtl"):e==="ltr"&&this.renderer.addClass(this.el.nativeElement,"ltr")}static \u0275fac=function(t){return new(t||r)};static \u0275dir=c({type:r,selectors:[["","ihDirection",""]]})}return r})();var Qe=(()=>{class r{http=o(w);validate(e){return F(500).pipe(B(()=>e.value?this.http.get("/api/account/emailInUse",{params:{email:e.value}}):_(null)),H(t=>t?{emailInUse:!0}:null),R(()=>_({emailInUse:!0})))}onChange;registerOnValidatorChange(e){this.onChange=e}static \u0275fac=function(t){return new(t||r)};static \u0275dir=c({type:r,selectors:[["","emailInUse",""]],features:[v([{provide:q,useExisting:y(()=>r),multi:!0}])]})}return r})();var rt=(()=>{class r{router=o(W);onClick(e){if(!e.target)return;let t=e.target instanceof HTMLAnchorElement?e.target:e.target.closest("a");if(J(t)){let i=t.getAttribute("href");if(i.startsWith("#")){e.preventDefault(),console.debug("detected link as hash fragment. intercepting: "+t.getAttribute("href")),this.router.navigate([],{fragment:i.substring(1),queryParams:E(window.location.search)});return}e.preventDefault(),console.debug("detected link as dynamic router link. intercepting: "+t.getAttribute("href")),this.router.navigate([t.pathname],{fragment:t.hash?t.hash.substring(1):void 0,queryParams:E(t.search)})}}static \u0275fac=function(t){return new(t||r)};static \u0275dir=c({type:r,selectors:[["","ihInterceptHref",""]],hostBindings:function(t,i){t&1&&p("click",function(s){return i.onClick(s)})}})}return r})();var dt=(()=>{class r{element=o(f);intersectionThrottle=0;intersectionRootMargin="0px";intersectionRoot;intersectionThreshold;visibilityChange=new D;destroy$=new C;ngOnInit(){let e=this.element.nativeElement,t={root:this.intersectionRoot,rootMargin:this.intersectionRootMargin,threshold:this.intersectionThreshold};this.fromIntersectionObserver(e,t,this.intersectionThrottle).pipe(P(),k(this.destroy$)).subscribe(i=>{this.visibilityChange.emit(i)})}ngOnDestroy(){this.destroy$.next()}fromIntersectionObserver(e,t,i=0){return new x(s=>{let a=new C,u=new IntersectionObserver((l,h)=>{l.forEach(g=>{a.next({entry:g,observer:h})})},t);return a.subscribe(()=>{s.next(I.Pending)}),a.pipe(A(i)).subscribe(async({entry:l,observer:h})=>{n(l)?(s.next(I.Intersecting),h.unobserve(l.target)):s.next(I.NotIntersecting)}),u.observe(e),{unsubscribe(){u.disconnect(),a.unsubscribe()}}});function n(s){return s.isIntersecting||s.intersectionRatio>0}}static \u0275fac=function(t){return new(t||r)};static \u0275dir=c({type:r,selectors:[["","ihIntersectionObserver",""]],inputs:{intersectionThrottle:"intersectionThrottle",intersectionRootMargin:"intersectionRootMargin",intersectionRoot:"intersectionRoot",intersectionThreshold:"intersectionThreshold"},outputs:{visibilityChange:"visibilityChange"}})}return r})();var Dt=(()=>{class r{duration=500;ihLongPress=new D;timeoutId;isPressing=!1;constructor(){}onPressStart(e){e.preventDefault(),this.isPressing=!0,this.timeoutId=setTimeout(()=>{this.isPressing&&this.ihLongPress.emit()},this.duration)}onPressEnd(){this.isPressing=!1,clearTimeout(this.timeoutId)}ngOnDestroy(){clearTimeout(this.timeoutId)}static \u0275fac=function(t){return new(t||r)};static \u0275dir=c({type:r,selectors:[["","ihLongPress",""]],hostBindings:function(t,i){t&1&&p("mousedown",function(s){return i.onPressStart(s)})("touchstart",function(s){return i.onPressStart(s)})("mouseup",function(){return i.onPressEnd()})("mouseleave",function(){return i.onPressEnd()})("touchend",function(){return i.onPressEnd()})("touchcancel",function(){return i.onPressEnd()})},inputs:{duration:"duration"},outputs:{ihLongPress:"ihLongPress"}})}return r})();var _t=(()=>{class r{el=o(f);ngControl=o(Q,{optional:!0,host:!0,self:!0});constructor(){if(!this.ngControl)throw new Error("SlugFormatterDirective must be used with a form control")}onInput(){let e=this.el.nativeElement.value,t=e.toLowerCase().replace(/[^a-z0-9-]+/g,"-").replace(/^-+/g,"").replace(/-{2,}/g,"-");e!==t&&this.ngControl.control.setValue(t)}static \u0275fac=function(t){return new(t||r)};static \u0275dir=c({type:r,selectors:[["","ihSlugFormatter",""]],hostBindings:function(t,i){t&1&&p("input",function(){return i.onInput()})}})}return r})();var Lt=(()=>{class r{pageVisibility=o(oe);config=o(ee);platform="facebook";url=window.location.href;destroy$=new C;shareOnSocial(e){e.preventDefault();let t=encodeURIComponent(window.location.href),i=z[this.platform];this.config.config$.pipe(V(1),k(this.destroy$)).subscribe(n=>{if(n.isTemplate)return;let s=n.keys.fbAppId||"";if(i.deepLink.includes("{this.appId}")&&(s||console.warn("Facebook App ID is not configured. Social sharing may not work correctly."),i.deepLink=i.deepLink.replace("{this.appId}",s)),i.fallbackLink.includes("{this.appId}")&&(i.fallbackLink=i.fallbackLink.replace("{this.appId}",s)),i&&X())window.open(i.deepLink+t,"_blank"),this.pageVisibility.visibilityChange$.subscribe(a=>{a&&window.open(i.fallbackLink+t,"_blank")});else if(i){let l=(window.innerWidth-600)/2,g=`width=600,height=400,top=${(window.innerHeight-400)/2},left=${l},scrollbars=no,toolbar=no,menubar=no`;window.open(i.fallbackLink+t,"_blank",g)}})}ngOnDestroy(){this.destroy$.next()}static \u0275fac=function(t){return new(t||r)};static \u0275dir=c({type:r,selectors:[["","ihSocialShare",""]],hostBindings:function(t,i){t&1&&p("click",function(s){return i.shareOnSocial(s)})},inputs:{platform:[0,"ihSocialShare","platform"],url:"url"}})}return r})();var Kt=(()=>{class r{ihTrackClick;trackProperties;monitoring=o(te);onClick(){this.monitoring.logEvent(this.ihTrackClick,this.trackProperties)}static \u0275fac=function(t){return new(t||r)};static \u0275dir=c({type:r,selectors:[["","ihTrackClick",""]],hostBindings:function(t,i){t&1&&p("click",function(){return i.onClick()})},inputs:{ihTrackClick:"ihTrackClick",trackProperties:"trackProperties"}})}return r})();var qt=(()=>{class r{script=o(ne);container;url;loadParticles(){}static \u0275fac=function(t){return new(t||r)};static \u0275dir=c({type:r,selectors:[["","ihTsparticles",""]],inputs:{container:"container",url:"url"}})}return r})();var ti=(()=>{class r{el=o(f);
1onKeyDown(e){if(!e.key.match(/^[a-z]$/))return;let t=e.key.toUpperCase(),i=this.el.nativeElement.selectionStart,n=this.el.nativeElement.selectionEnd;this.el.nativeElement.value=this.el.nativeElement.value.substring(0,i)+t+this.el.nativeElement.value.substring(n),this.el.nativeElement.selectionStart=i+1,this.el.nativeElement.selectionEnd=i+1,e.preventDefault(),e.stopPropagation(),this.el.nativeElement.dispatchEvent(new Event("input")),this.el.nativeElement.dispatchEvent(new Event("change")),this.el.nativeElement.dispatchEvent(new KeyboardEvent("keyup",e)),this.el.nativeElement.dispatchEvent(new KeyboardEvent("keypress",e))}static \u0275fac=function(t){return new(t||r)};static \u0275dir=c({type:r,selectors:[["","ihUppercase",""]],hostBindings:function(t,i){t&1&&p("keydown",function(s){return i.onKeyDown(s)})}})}return r})();var ai=(()=>{class r{http=o(w);initialValue;validator;ngOnChanges(e){"initialValue"in e&&(this.validator=this.createValidator(this.initialValue))}validate(e){return this.validator?this.validator(e):null}createValidator(e){return t=>e!==t.value?null:{valueNotChanged:{value:t.value}}}static \u0275fac=function(t){return new(t||r)};static \u0275dir=c({type:r,selectors:[["","ihValueMustChange",""]],inputs:{initialValue:[0,"ihValueMustChange","initialValue"]},features:[v([{provide:Z,useExisting:y(()=>r),multi:!0}]),U]})}return r})();export{ue as a,se as b,Oe as c,je as d,Ke as e,Qe as f,rt as g,dt as h,Dt as i,_t as j,Lt as k,Kt as l,qt as m,ti as n,ai as o}; 2/**i18n:c9e569e2ecdb3e0de183c72d8315eadfdcb9da9e09d5ac2d9fef9056c1853e21*/
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.