@motopays/pay-form 2.4.0-rc.3 → 2.4.1-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. package/CHANGELOG.md +312 -312
  2. package/README.md +640 -640
  3. package/index.js +1 -1
  4. package/package.json +24 -24
package/index.js CHANGED
@@ -1,3 +1,3 @@
1
1
  (()=>{"use strict";var e,v={},p={};function n(e){var a=p[e];if(void 0!==a)return a.exports;var r=p[e]={exports:{}};return v[e].call(r.exports,r,r.exports,n),r.exports}n.m=v,e=[],n.O=(a,r,l,o)=>{if(!r){var u=1/0;for(f=0;f<e.length;f++){for(var[r,l,o]=e[f],_=!0,t=0;t<r.length;t++)(!1&o||u>=o)&&Object.keys(n.O).every(h=>n.O[h](r[t]))?r.splice(t--,1):(_=!1,o<u&&(u=o));if(_){e.splice(f--,1);var s=l();void 0!==s&&(a=s)}}return a}o=o||0;for(var f=e.length;f>0&&e[f-1][2]>o;f--)e[f]=e[f-1];e[f]=[r,l,o]},n.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return n.d(a,{a}),a},n.d=(e,a)=>{for(var r in a)n.o(a,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:a[r]})},n.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),(()=>{var e={121:0};n.O.j=l=>0===e[l];var a=(l,o)=>{var t,s,[f,u,_]=o,c=0;if(f.some(d=>0!==e[d])){for(t in u)n.o(u,t)&&(n.m[t]=u[t]);if(_)var b=_(n)}for(l&&l(o);c<f.length;c++)n.o(e,s=f[c])&&e[s]&&e[s][0](),e[s]=0;return n.O(b)},r=self.webpackChunk_motopays_pay_form=self.webpackChunk_motopays_pay_form||[];r.forEach(a.bind(null,0)),r.push=a.bind(null,r.push.bind(r))})()})();
2
2
  "use strict";(self.webpackChunk_motopays_pay_form=self.webpackChunk_motopays_pay_form||[]).push([[461],{935:()=>{const te=globalThis;function ee(e){return(te.__Zone_symbol_prefix||"__zone_symbol__")+e}const ke=Object.getOwnPropertyDescriptor,Ne=Object.defineProperty,Le=Object.getPrototypeOf,_t=Object.create,Et=Array.prototype.slice,Ie="addEventListener",Me="removeEventListener",Ze=ee(Ie),Ae=ee(Me),ae="true",le="false",ve=ee("");function je(e,r){return Zone.current.wrap(e,r)}function He(e,r,c,t,i){return Zone.current.scheduleMacroTask(e,r,c,t,i)}const j=ee,we=typeof window<"u",Te=we?window:void 0,$=we&&Te||globalThis,Tt="removeAttribute";function xe(e,r){for(let c=e.length-1;c>=0;c--)"function"==typeof e[c]&&(e[c]=je(e[c],r+"_"+c));return e}function We(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&typeof e.set>"u")}const qe=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,Re=!("nw"in $)&&typeof $.process<"u"&&"[object process]"===$.process.toString(),Ve=!Re&&!qe&&!(!we||!Te.HTMLElement),Xe=typeof $.process<"u"&&"[object process]"===$.process.toString()&&!qe&&!(!we||!Te.HTMLElement),Ce={},yt=j("enable_beforeunload"),Ye=function(e){if(!(e=e||$.event))return;let r=Ce[e.type];r||(r=Ce[e.type]=j("ON_PROPERTY"+e.type));const c=this||e.target||$,t=c[r];let i;return Ve&&c===Te&&"error"===e.type?(i=t&&t.call(this,e.message,e.filename,e.lineno,e.colno,e.error),!0===i&&e.preventDefault()):(i=t&&t.apply(this,arguments),"beforeunload"===e.type&&$[yt]&&"string"==typeof i?e.returnValue=i:null!=i&&!i&&e.preventDefault()),i};function $e(e,r,c){let t=ke(e,r);if(!t&&c&&ke(c,r)&&(t={enumerable:!0,configurable:!0}),!t||!t.configurable)return;const i=j("on"+r+"patched");if(e.hasOwnProperty(i)&&e[i])return;delete t.writable,delete t.value;const u=t.get,E=t.set,T=r.slice(2);let m=Ce[T];m||(m=Ce[T]=j("ON_PROPERTY"+T)),t.set=function(D){let d=this;!d&&e===$&&(d=$),d&&("function"==typeof d[m]&&d.removeEventListener(T,Ye),E&&E.call(d,null),d[m]=D,"function"==typeof D&&d.addEventListener(T,Ye,!1))},t.get=function(){let D=this;if(!D&&e===$&&(D=$),!D)return null;const d=D[m];if(d)return d;if(u){let w=u.call(this);if(w)return t.set.call(this,w),"function"==typeof D[Tt]&&D.removeAttribute(r),w}return null},Ne(e,r,t),e[i]=!0}function Je(e,r,c){if(r)for(let t=0;t<r.length;t++)$e(e,"on"+r[t],c);else{const t=[];for(const i in e)"on"==i.slice(0,2)&&t.push(i);for(let i=0;i<t.length;i++)$e(e,t[i],c)}}const re=j("originalInstance");function be(e){const r=$[e];if(!r)return;$[j(e)]=r,$[e]=function(){const i=xe(arguments,e);switch(i.length){case 0:this[re]=new r;break;case 1:this[re]=new r(i[0]);break;case 2:this[re]=new r(i[0],i[1]);break;case 3:this[re]=new r(i[0],i[1],i[2]);break;case 4:this[re]=new r(i[0],i[1],i[2],i[3]);break;default:throw new Error("Arg list too long.")}},fe($[e],r);const c=new r(function(){});let t;for(t in c)"XMLHttpRequest"===e&&"responseBlob"===t||function(i){"function"==typeof c[i]?$[e].prototype[i]=function(){return this[re][i].apply(this[re],arguments)}:Ne($[e].prototype,i,{set:function(u){"function"==typeof u?(this[re][i]=je(u,e+"."+i),fe(this[re][i],u)):this[re][i]=u},get:function(){return this[re][i]}})}(t);for(t in r)"prototype"!==t&&r.hasOwnProperty(t)&&($[e][t]=r[t])}function ue(e,r,c){let t=e;for(;t&&!t.hasOwnProperty(r);)t=Le(t);!t&&e[r]&&(t=e);const i=j(r);let u=null;if(t&&(!(u=t[i])||!t.hasOwnProperty(i))&&(u=t[i]=t[r],We(t&&ke(t,r)))){const T=c(u,i,r);t[r]=function(){return T(this,arguments)},fe(t[r],u)}return u}function mt(e,r,c){let t=null;function i(u){const E=u.data;return E.args[E.cbIdx]=function(){u.invoke.apply(this,arguments)},t.apply(E.target,E.args),u}t=ue(e,r,u=>function(E,T){const m=c(E,T);return m.cbIdx>=0&&"function"==typeof T[m.cbIdx]?He(m.name,T[m.cbIdx],m,i):u.apply(E,T)})}function fe(e,r){e[j("OriginalDelegate")]=r}let Ke=!1,Ge=!1;function kt(){if(Ke)return Ge;Ke=!0;try{const e=Te.navigator.userAgent;(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/")||-1!==e.indexOf("Edge/"))&&(Ge=!0)}catch{}return Ge}function Qe(e){return"function"==typeof e}function et(e){return"number"==typeof e}let ge=!1;if(typeof window<"u")try{const e=Object.defineProperty({},"passive",{get:function(){ge=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch{ge=!1}const vt={useG:!0},ne={},tt={},nt=new RegExp("^"+ve+"(\\w+)(true|false)$"),rt=j("propagationStopped");function ot(e,r){const c=(r?r(e):e)+le,t=(r?r(e):e)+ae,i=ve+c,u=ve+t;ne[e]={},ne[e][le]=i,ne[e][ae]=u}function bt(e,r,c,t){const i=t&&t.add||Ie,u=t&&t.rm||Me,E=t&&t.listeners||"eventListeners",T=t&&t.rmAll||"removeAllListeners",m=j(i),D="."+i+":",d="prependListener",w="."+d+":",Z=function(k,h,H){if(k.isRemoved)return;const V=k.callback;let Y;"object"==typeof V&&V.handleEvent&&(k.callback=g=>V.handleEvent(g),k.originalDelegate=V);try{k.invoke(k,h,[H])}catch(g){Y=g}const G=k.options;return G&&"object"==typeof G&&G.once&&h[u].call(h,H.type,k.originalDelegate?k.originalDelegate:k.callback,G),Y};function x(k,h,H){if(!(h=h||e.event))return;const V=k||h.target||e,Y=V[ne[h.type][H?ae:le]];if(Y){const G=[];if(1===Y.length){const g=Z(Y[0],V,h);g&&G.push(g)}else{const g=Y.slice();for(let z=0;z<g.length&&(!h||!0!==h[rt]);z++){const O=Z(g[z],V,h);O&&G.push(O)}}if(1===G.length)throw G[0];for(let g=0;g<G.length;g++){const z=G[g];r.nativeScheduleMicroTask(()=>{throw z})}}}const U=function(k){return x(this,k,!1)},J=function(k){return x(this,k,!0)};function K(k,h){if(!k)return!1;let H=!0;h&&void 0!==h.useG&&(H=h.useG);const V=h&&h.vh;let Y=!0;h&&void 0!==h.chkDup&&(Y=h.chkDup);let G=!1;h&&void 0!==h.rt&&(G=h.rt);let g=k;for(;g&&!g.hasOwnProperty(i);)g=Le(g);if(!g&&k[i]&&(g=k),!g||g[m])return!1;const z=h&&h.eventNameToString,O={},R=g[m]=g[i],b=g[j(u)]=g[u],S=g[j(E)]=g[E],Q=g[j(T)]=g[T];let W;h&&h.prepend&&(W=g[j(h.prepend)]=g[h.prepend]);const q=H?function(s){if(!O.isExisting)return R.call(O.target,O.eventName,O.capture?J:U,O.options)}:function(s){return R.call(O.target,O.eventName,s.invoke,O.options)},A=H?function(s){if(!s.isRemoved){const l=ne[s.eventName];let v;l&&(v=l[s.capture?ae:le]);const C=v&&s.target[v];if(C)for(let y=0;y<C.length;y++)if(C[y]===s){C.splice(y,1),s.isRemoved=!0,s.removeAbortListener&&(s.removeAbortListener(),s.removeAbortListener=null),0===C.length&&(s.allRemoved=!0,s.target[v]=null);break}}if(s.allRemoved)return b.call(s.target,s.eventName,s.capture?J:U,s.options)}:function(s){return b.call(s.target,s.eventName,s.invoke,s.options)},he=h&&h.diff?h.diff:function(s,l){const v=typeof l;return"function"===v&&s.callback===l||"object"===v&&s.originalDelegate===l},de=Zone[j("UNPATCHED_EVENTS")],oe=e[j("PASSIVE_EVENTS")],a=function(s,l,v,C,y=!1,L=!1){return function(){const I=this||e;let M=arguments[0];h&&h.transferEventName&&(M=h.transferEventName(M));let F=arguments[1];if(!F)return s.apply(this,arguments);if(Re&&"uncaughtException"===M)return s.apply(this,arguments);let B=!1;if("function"!=typeof F){if(!F.handleEvent)return s.apply(this,arguments);B=!0}if(V&&!V(s,F,I,arguments))return;const Ee=ge&&!!oe&&-1!==oe.indexOf(M),ie=function f(s){if("object"==typeof s&&null!==s){const l={...s};return s.signal&&(l.signal=s.signal),l}return s}(function N(s,l){return!ge&&"object"==typeof s&&s?!!s.capture:ge&&l?"boolean"==typeof s?{capture:s,passive:!0}:s?"object"==typeof s&&!1!==s.passive?{...s,passive:!0}:s:{passive:!0}:s}(arguments[2],Ee)),me=ie?.signal;if(me?.aborted)return;if(de)for(let ce=0;ce<de.length;ce++)if(M===de[ce])return Ee?s.call(I,M,F,ie):s.apply(this,arguments);const Be=!!ie&&("boolean"==typeof ie||ie.capture),lt=!(!ie||"object"!=typeof ie)&&ie.once,At=Zone.current;let Ue=ne[M];Ue||(ot(M,z),Ue=ne[M]);const ut=Ue[Be?ae:le];let Se,pe=I[ut],ft=!1;if(pe){if(ft=!0,Y)for(let ce=0;ce<pe.length;ce++)if(he(pe[ce],F))return}else pe=I[ut]=[];const ht=I.constructor.name,dt=tt[ht];dt&&(Se=dt[M]),Se||(Se=ht+l+(z?z(M):M)),O.options=ie,lt&&(O.options.once=!1),O.target=I,O.capture=Be,O.eventName=M,O.isExisting=ft;const Pe=H?vt:void 0;Pe&&(Pe.taskData=O),me&&(O.options.signal=void 0);const se=At.scheduleEventTask(Se,F,Pe,v,C);if(me){O.options.signal=me;const ce=()=>se.zone.cancelTask(se);s.call(me,"abort",ce,{once:!0}),se.removeAbortListener=()=>me.removeEventListener("abort",ce)}return O.target=null,Pe&&(Pe.taskData=null),lt&&(O.options.once=!0),!ge&&"boolean"==typeof se.options||(se.options=ie),se.target=I,se.capture=Be,se.eventName=M,B&&(se.originalDelegate=F),L?pe.unshift(se):pe.push(se),y?I:void 0}};return g[i]=a(R,D,q,A,G),W&&(g[d]=a(W,w,function(s){return W.call(O.target,O.eventName,s.invoke,O.options)},A,G,!0)),g[u]=function(){const s=this||e;let l=arguments[0];h&&h.transferEventName&&(l=h.transferEventName(l));const v=arguments[2],C=!!v&&("boolean"==typeof v||v.capture),y=arguments[1];if(!y)return b.apply(this,arguments);if(V&&!V(b,y,s,arguments))return;const L=ne[l];let I;L&&(I=L[C?ae:le]);const M=I&&s[I];if(M)for(let F=0;F<M.length;F++){const B=M[F];if(he(B,y))return M.splice(F,1),B.isRemoved=!0,0!==M.length||(B.allRemoved=!0,s[I]=null,C||"string"!=typeof l)||(s[ve+"ON_PROPERTY"+l]=null),B.zone.cancelTask(B),G?s:void 0}return b.apply(this,arguments)},g[E]=function(){const s=this||e;let l=arguments[0];h&&h.transferEventName&&(l=h.transferEventName(l));const v=[],C=st(s,z?z(l):l);for(let y=0;y<C.length;y++){const L=C[y];v.push(L.originalDelegate?L.originalDelegate:L.callback)}return v},g[T]=function(){const s=this||e;let l=arguments[0];if(l){h&&h.transferEventName&&(l=h.transferEventName(l));const v=ne[l];if(v){const L=s[v[le]],I=s[v[ae]];if(L){const M=L.slice();for(let F=0;F<M.length;F++){const B=M[F];this[u].call(this,l,B.originalDelegate?B.originalDelegate:B.callback,B.options)}}if(I){const M=I.slice();for(let F=0;F<M.length;F++){const B=M[F];this[u].call(this,l,B.originalDelegate?B.originalDelegate:B.callback,B.options)}}}}else{const v=Object.keys(s);for(let C=0;C<v.length;C++){const L=nt.exec(v[C]);let I=L&&L[1];I&&"removeListener"!==I&&this[T].call(this,I)}this[T].call(this,"removeListener")}if(G)return this},fe(g[i],R),fe(g[u],b),Q&&fe(g[T],Q),S&&fe(g[E],S),!0}let X=[];for(let k=0;k<c.length;k++)X[k]=K(c[k],t);return X}function st(e,r){if(!r){const u=[];for(let E in e){const T=nt.exec(E);let m=T&&T[1];if(m&&(!r||m===r)){const D=e[E];if(D)for(let d=0;d<D.length;d++)u.push(D[d])}}return u}let c=ne[r];c||(ot(r),c=ne[r]);const t=e[c[le]],i=e[c[ae]];return t?i?t.concat(i):t.slice():i?i.slice():[]}function Pt(e,r){const c=e.Event;c&&c.prototype&&r.patchMethod(c.prototype,"stopImmediatePropagation",t=>function(i,u){i[rt]=!0,t&&t.apply(i,u)})}const De=j("zoneTask");function ye(e,r,c,t){let i=null,u=null;c+=t;const E={};function T(D){const d=D.data;d.args[0]=function(){return D.invoke.apply(this,arguments)};const w=i.apply(e,d.args);return et(w)?d.handleId=w:(d.handle=w,d.isRefreshable=Qe(w.refresh)),D}function m(D){const{handle:d,handleId:w}=D.data;return u.call(e,d??w)}i=ue(e,r+=t,D=>function(d,w){if(Qe(w[0])){const Z={isRefreshable:!1,isPeriodic:"Interval"===t,delay:"Timeout"===t||"Interval"===t?w[1]||0:void 0,args:w},x=w[0];w[0]=function(){try{return x.apply(this,arguments)}finally{const{handle:H,handleId:V,isPeriodic:Y,isRefreshable:G}=Z;!Y&&!G&&(V?delete E[V]:H&&(H[De]=null))}};const U=He(r,w[0],Z,T,m);if(!U)return U;const{handleId:J,handle:K,isRefreshable:X,isPeriodic:k}=U.data;if(J)E[J]=U;else if(K&&(K[De]=U,X&&!k)){const h=K.refresh;K.refresh=function(){const{zone:H,state:V}=U;return"notScheduled"===V?(U._state="scheduled",H._updateTaskCount(U,1)):"running"===V&&(U._state="scheduling"),h.call(this)}}return K??J??U}return D.apply(e,w)}),u=ue(e,c,D=>function(d,w){const Z=w[0];let x;et(Z)?(x=E[Z],delete E[Z]):(x=Z?.[De],x?Z[De]=null:x=Z),x?.type?x.cancelFn&&x.zone.cancelTask(x):D.apply(e,w)})}function it(e,r,c){if(!c||0===c.length)return r;const t=c.filter(u=>u.target===e);if(!t||0===t.length)return r;const i=t[0].ignoreProperties;return r.filter(u=>-1===i.indexOf(u))}function ct(e,r,c,t){e&&Je(e,it(e,r,c),t)}function Fe(e){return Object.getOwnPropertyNames(e).filter(r=>r.startsWith("on")&&r.length>2).map(r=>r.substring(2))}function It(e,r,c,t,i){const u=Zone.__symbol__(t);if(r[u])return;const E=r[u]=r[t];r[t]=function(T,m,D){return m&&m.prototype&&i.forEach(function(d){const w=`${c}.${t}::`+d,Z=m.prototype;try{if(Z.hasOwnProperty(d)){const x=e.ObjectGetOwnPropertyDescriptor(Z,d);x&&x.value?(x.value=e.wrapWithCurrentZone(x.value,w),e._redefineProperty(m.prototype,d,x)):Z[d]&&(Z[d]=e.wrapWithCurrentZone(Z[d],w))}else Z[d]&&(Z[d]=e.wrapWithCurrentZone(Z[d],w))}catch{}}),E.call(r,T,m,D)},e.attachOriginToPatched(r[t],E)}const at=function Oe(){const e=globalThis,r=!0===e[ee("forceDuplicateZoneCheck")];if(e.Zone&&(r||"function"!=typeof e.Zone.__symbol__))throw new Error("Zone already loaded.");return e.Zone??=function ze(){const e=te.performance;function r(N){e&&e.mark&&e.mark(N)}function c(N,_){e&&e.measure&&e.measure(N,_)}r("Zone");let t=(()=>{class N{static#e=this.__symbol__=ee;static assertZonePatched(){if(te.Promise!==O.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let n=N.current;for(;n.parent;)n=n.parent;return n}static get current(){return b.zone}static get currentTask(){return S}static __load_patch(n,o,p=!1){if(O.hasOwnProperty(n)){const P=!0===te[ee("forceDuplicateZoneCheck")];if(!p&&P)throw Error("Already loaded patch: "+n)}else if(!te["__Zone_disable_"+n]){const P="Zone:"+n;r(P),O[n]=o(te,N,R),c(P,P)}}get parent(){return this._parent}get name(){return this._name}constructor(n,o){this._parent=n,this._name=o?o.name||"unnamed":"<root>",this._properties=o&&o.properties||{},this._zoneDelegate=new u(this,this._parent&&this._parent._zoneDelegate,o)}get(n){const o=this.getZoneWith(n);if(o)return o._properties[n]}getZoneWith(n){let o=this;for(;o;){if(o._properties.hasOwnProperty(n))return o;o=o._parent}return null}fork(n){if(!n)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,n)}wrap(n,o){if("function"!=typeof n)throw new Error("Expecting function got: "+n);const p=this._zoneDelegate.intercept(this,n,o),P=this;return function(){return P.runGuarded(p,this,arguments,o)}}run(n,o,p,P){b={parent:b,zone:this};try{return this._zoneDelegate.invoke(this,n,o,p,P)}finally{b=b.parent}}runGuarded(n,o=null,p,P){b={parent:b,zone:this};try{try{return this._zoneDelegate.invoke(this,n,o,p,P)}catch(q){if(this._zoneDelegate.handleError(this,q))throw q}}finally{b=b.parent}}runTask(n,o,p){if(n.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(n.zone||K).name+"; Execution: "+this.name+")");const P=n,{type:q,data:{isPeriodic:A=!1,isRefreshable:_e=!1}={}}=n;if(n.state===X&&(q===z||q===g))return;const he=n.state!=H;he&&P._transitionTo(H,h);const de=S;S=P,b={parent:b,zone:this};try{q==g&&n.data&&!A&&!_e&&(n.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,P,o,p)}catch(oe){if(this._zoneDelegate.handleError(this,oe))throw oe}}finally{const oe=n.state;if(oe!==X&&oe!==Y)if(q==z||A||_e&&oe===k)he&&P._transitionTo(h,H,k);else{const f=P._zoneDelegates;this._updateTaskCount(P,-1),he&&P._transitionTo(X,H,X),_e&&(P._zoneDelegates=f)}b=b.parent,S=de}}scheduleTask(n){if(n.zone&&n.zone!==this){let p=this;for(;p;){if(p===n.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${n.zone.name}`);p=p.parent}}n._transitionTo(k,X);const o=[];n._zoneDelegates=o,n._zone=this;try{n=this._zoneDelegate.scheduleTask(this,n)}catch(p){throw n._transitionTo(Y,k,X),this._zoneDelegate.handleError(this,p),p}return n._zoneDelegates===o&&this._updateTaskCount(n,1),n.state==k&&n._transitionTo(h,k),n}scheduleMicroTask(n,o,p,P){return this.scheduleTask(new E(G,n,o,p,P,void 0))}scheduleMacroTask(n,o,p,P,q){return this.scheduleTask(new E(g,n,o,p,P,q))}scheduleEventTask(n,o,p,P,q){return this.scheduleTask(new E(z,n,o,p,P,q))}cancelTask(n){if(n.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(n.zone||K).name+"; Execution: "+this.name+")");if(n.state===h||n.state===H){n._transitionTo(V,h,H);try{this._zoneDelegate.cancelTask(this,n)}catch(o){throw n._transitionTo(Y,V),this._zoneDelegate.handleError(this,o),o}return this._updateTaskCount(n,-1),n._transitionTo(X,V),n.runCount=-1,n}}_updateTaskCount(n,o){const p=n._zoneDelegates;-1==o&&(n._zoneDelegates=null);for(let P=0;P<p.length;P++)p[P]._updateTaskCount(n.type,o)}}return N})();const i={name:"",onHasTask:(N,_,n,o)=>N.hasTask(n,o),onScheduleTask:(N,_,n,o)=>N.scheduleTask(n,o),onInvokeTask:(N,_,n,o,p,P)=>N.invokeTask(n,o,p,P),onCancelTask:(N,_,n,o)=>N.cancelTask(n,o)};class u{get zone(){return this._zone}constructor(_,n,o){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this._zone=_,this._parentDelegate=n,this._forkZS=o&&(o&&o.onFork?o:n._forkZS),this._forkDlgt=o&&(o.onFork?n:n._forkDlgt),this._forkCurrZone=o&&(o.onFork?this._zone:n._forkCurrZone),this._interceptZS=o&&(o.onIntercept?o:n._interceptZS),this._interceptDlgt=o&&(o.onIntercept?n:n._interceptDlgt),this._interceptCurrZone=o&&(o.onIntercept?this._zone:n._interceptCurrZone),this._invokeZS=o&&(o.onInvoke?o:n._invokeZS),this._invokeDlgt=o&&(o.onInvoke?n:n._invokeDlgt),this._invokeCurrZone=o&&(o.onInvoke?this._zone:n._invokeCurrZone),this._handleErrorZS=o&&(o.onHandleError?o:n._handleErrorZS),this._handleErrorDlgt=o&&(o.onHandleError?n:n._handleErrorDlgt),this._handleErrorCurrZone=o&&(o.onHandleError?this._zone:n._handleErrorCurrZone),this._scheduleTaskZS=o&&(o.onScheduleTask?o:n._scheduleTaskZS),this._scheduleTaskDlgt=o&&(o.onScheduleTask?n:n._scheduleTaskDlgt),this._scheduleTaskCurrZone=o&&(o.onScheduleTask?this._zone:n._scheduleTaskCurrZone),this._invokeTaskZS=o&&(o.onInvokeTask?o:n._invokeTaskZS),this._invokeTaskDlgt=o&&(o.onInvokeTask?n:n._invokeTaskDlgt),this._invokeTaskCurrZone=o&&(o.onInvokeTask?this._zone:n._invokeTaskCurrZone),this._cancelTaskZS=o&&(o.onCancelTask?o:n._cancelTaskZS),this._cancelTaskDlgt=o&&(o.onCancelTask?n:n._cancelTaskDlgt),this._cancelTaskCurrZone=o&&(o.onCancelTask?this._zone:n._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const p=o&&o.onHasTask;(p||n&&n._hasTaskZS)&&(this._hasTaskZS=p?o:i,this._hasTaskDlgt=n,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=this._zone,o.onScheduleTask||(this._scheduleTaskZS=i,this._scheduleTaskDlgt=n,this._scheduleTaskCurrZone=this._zone),o.onInvokeTask||(this._invokeTaskZS=i,this._invokeTaskDlgt=n,this._invokeTaskCurrZone=this._zone),o.onCancelTask||(this._cancelTaskZS=i,this._cancelTaskDlgt=n,this._cancelTaskCurrZone=this._zone))}fork(_,n){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,_,n):new t(_,n)}intercept(_,n,o){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,_,n,o):n}invoke(_,n,o,p,P){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,_,n,o,p,P):n.apply(o,p)}handleError(_,n){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,_,n)}scheduleTask(_,n){let o=n;if(this._scheduleTaskZS)this._hasTaskZS&&o._zoneDelegates.push(this._hasTaskDlgtOwner),o=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,_,n),o||(o=n);else if(n.scheduleFn)n.scheduleFn(n);else{if(n.type!=G)throw new Error("Task is missing scheduleFn.");U(n)}return o}invokeTask(_,n,o,p){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,_,n,o,p):n.callback.apply(o,p)}cancelTask(_,n){let o;if(this._cancelTaskZS)o=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,_,n);else{if(!n.cancelFn)throw Error("Task is not cancelable");o=n.cancelFn(n)}return o}hasTask(_,n){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,_,n)}catch(o){this.handleError(_,o)}}_updateTaskCount(_,n){const o=this._taskCounts,p=o[_],P=o[_]=p+n;if(P<0)throw new Error("More tasks executed then were scheduled.");0!=p&&0!=P||this.hasTask(this._zone,{microTask:o.microTask>0,macroTask:o.macroTask>0,eventTask:o.eventTask>0,change:_})}}class E{constructor(_,n,o,p,P,q){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=_,this.source=n,this.data=p,this.scheduleFn=P,this.cancelFn=q,!o)throw new Error("callback is not defined");this.callback=o;const A=this;this.invoke=_===z&&p&&p.useG?E.invokeTask:function(){return E.invokeTask.call(te,A,this,arguments)}}static invokeTask(_,n,o){_||(_=this),Q++;try{return _.runCount++,_.zone.runTask(_,n,o)}finally{1==Q&&J(),Q--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(X,k)}_transitionTo(_,n,o){if(this._state!==n&&this._state!==o)throw new Error(`${this.type} '${this.source}': can not transition to '${_}', expecting state '${n}'${o?" or '"+o+"'":""}, was '${this._state}'.`);this._state=_,_==X&&(this._zoneDelegates=null)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const T=ee("setTimeout"),m=ee("Promise"),D=ee("then");let Z,d=[],w=!1;function x(N){if(Z||te[m]&&(Z=te[m].resolve(0)),Z){let _=Z[D];_||(_=Z.then),_.call(Z,N)}else te[T](N,0)}function U(N){0===Q&&0===d.length&&x(J),N&&d.push(N)}function J(){if(!w){for(w=!0;d.length;){const N=d;d=[];for(let _=0;_<N.length;_++){const n=N[_];try{n.zone.runTask(n,null,null)}catch(o){R.onUnhandledError(o)}}}R.microtaskDrainDone(),w=!1}}const K={name:"NO ZONE"},X="notScheduled",k="scheduling",h="scheduled",H="running",V="canceling",Y="unknown",G="microTask",g="macroTask",z="eventTask",O={},R={symbol:ee,currentZoneFrame:()=>b,onUnhandledError:W,microtaskDrainDone:W,scheduleMicroTask:U,showUncaughtError:()=>!t[ee("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:W,patchMethod:()=>W,bindArguments:()=>[],patchThen:()=>W,patchMacroTask:()=>W,patchEventPrototype:()=>W,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>W,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>W,wrapWithCurrentZone:()=>W,filterProperties:()=>[],attachOriginToPatched:()=>W,_redefineProperty:()=>W,patchCallbacks:()=>W,nativeScheduleMicroTask:x};let b={parent:null,zone:new t(null,null)},S=null,Q=0;function W(){}return c("Zone","Zone"),t}(),e.Zone}();(function Zt(e){(function Nt(e){e.__load_patch("ZoneAwarePromise",(r,c,t)=>{const i=Object.getOwnPropertyDescriptor,u=Object.defineProperty,T=t.symbol,m=[],D=!1!==r[T("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],d=T("Promise"),w=T("then"),Z="__creationTrace__";t.onUnhandledError=f=>{if(t.showUncaughtError()){const a=f&&f.rejection;a?console.error("Unhandled Promise rejection:",a instanceof Error?a.message:a,"; Zone:",f.zone.name,"; Task:",f.task&&f.task.source,"; Value:",a,a instanceof Error?a.stack:void 0):console.error(f)}},t.microtaskDrainDone=()=>{for(;m.length;){const f=m.shift();try{f.zone.runGuarded(()=>{throw f.throwOriginal?f.rejection:f})}catch(a){U(a)}}};const x=T("unhandledPromiseRejectionHandler");function U(f){t.onUnhandledError(f);try{const a=c[x];"function"==typeof a&&a.call(this,f)}catch{}}function J(f){return f&&f.then}function K(f){return f}function X(f){return A.reject(f)}const k=T("state"),h=T("value"),H=T("finally"),V=T("parentPromiseValue"),Y=T("parentPromiseState"),G="Promise.then",g=null,z=!0,O=!1,R=0;function b(f,a){return s=>{try{N(f,a,s)}catch(l){N(f,!1,l)}}}const S=function(){let f=!1;return function(s){return function(){f||(f=!0,s.apply(null,arguments))}}},Q="Promise resolved with itself",W=T("currentTaskTrace");function N(f,a,s){const l=S();if(f===s)throw new TypeError(Q);if(f[k]===g){let v=null;try{("object"==typeof s||"function"==typeof s)&&(v=s&&s.then)}catch(C){return l(()=>{N(f,!1,C)})(),f}if(a!==O&&s instanceof A&&s.hasOwnProperty(k)&&s.hasOwnProperty(h)&&s[k]!==g)n(s),N(f,s[k],s[h]);else if(a!==O&&"function"==typeof v)try{v.call(s,l(b(f,a)),l(b(f,!1)))}catch(C){l(()=>{N(f,!1,C)})()}else{f[k]=a;const C=f[h];if(f[h]=s,f[H]===H&&a===z&&(f[k]=f[Y],f[h]=f[V]),a===O&&s instanceof Error){const y=c.currentTask&&c.currentTask.data&&c.currentTask.data[Z];y&&u(s,W,{configurable:!0,enumerable:!1,writable:!0,value:y})}for(let y=0;y<C.length;)o(f,C[y++],C[y++],C[y++],C[y++]);if(0==C.length&&a==O){f[k]=R;let y=s;try{throw new Error("Uncaught (in promise): "+function E(f){return f&&f.toString===Object.prototype.toString?(f.constructor&&f.constructor.name||"")+": "+JSON.stringify(f):f?f.toString():Object.prototype.toString.call(f)}(s)+(s&&s.stack?"\n"+s.stack:""))}catch(L){y=L}D&&(y.throwOriginal=!0),y.rejection=s,y.promise=f,y.zone=c.current,y.task=c.currentTask,m.push(y),t.scheduleMicroTask()}}}return f}const _=T("rejectionHandledHandler");function n(f){if(f[k]===R){try{const a=c[_];a&&"function"==typeof a&&a.call(this,{rejection:f[h],promise:f})}catch{}f[k]=O;for(let a=0;a<m.length;a++)f===m[a].promise&&m.splice(a,1)}}function o(f,a,s,l,v){n(f);const C=f[k],y=C?"function"==typeof l?l:K:"function"==typeof v?v:X;a.scheduleMicroTask(G,()=>{try{const L=f[h],I=!!s&&H===s[H];I&&(s[V]=L,s[Y]=C);const M=a.run(y,void 0,I&&y!==X&&y!==K?[]:[L]);N(s,!0,M)}catch(L){N(s,!1,L)}},s)}const P=function(){},q=r.AggregateError;class A{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(a){return a instanceof A?a:N(new this(null),z,a)}static reject(a){return N(new this(null),O,a)}static withResolvers(){const a={};return a.promise=new A((s,l)=>{a.resolve=s,a.reject=l}),a}static any(a){if(!a||"function"!=typeof a[Symbol.iterator])return Promise.reject(new q([],"All promises were rejected"));const s=[];let l=0;try{for(let y of a)l++,s.push(A.resolve(y))}catch{return Promise.reject(new q([],"All promises were rejected"))}if(0===l)return Promise.reject(new q([],"All promises were rejected"));let v=!1;const C=[];return new A((y,L)=>{for(let I=0;I<s.length;I++)s[I].then(M=>{v||(v=!0,y(M))},M=>{C.push(M),l--,0===l&&(v=!0,L(new q(C,"All promises were rejected")))})})}static race(a){let s,l,v=new this((L,I)=>{s=L,l=I});function C(L){s(L)}function y(L){l(L)}for(let L of a)J(L)||(L=this.resolve(L)),L.then(C,y);return v}static all(a){return A.allWithCallback(a)}static allSettled(a){return(this&&this.prototype instanceof A?this:A).allWithCallback(a,{thenCallback:l=>({status:"fulfilled",value:l}),errorCallback:l=>({status:"rejected",reason:l})})}static allWithCallback(a,s){let l,v,C=new this((M,F)=>{l=M,v=F}),y=2,L=0;const I=[];for(let M of a){J(M)||(M=this.resolve(M));const F=L;try{M.then(B=>{I[F]=s?s.thenCallback(B):B,y--,0===y&&l(I)},B=>{s?(I[F]=s.errorCallback(B),y--,0===y&&l(I)):v(B)})}catch(B){v(B)}y++,L++}return y-=2,0===y&&l(I),C}constructor(a){const s=this;if(!(s instanceof A))throw new Error("Must be an instanceof Promise.");s[k]=g,s[h]=[];try{const l=S();a&&a(l(b(s,z)),l(b(s,O)))}catch(l){N(s,!1,l)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return A}then(a,s){let l=this.constructor?.[Symbol.species];(!l||"function"!=typeof l)&&(l=this.constructor||A);const v=new l(P),C=c.current;return this[k]==g?this[h].push(C,v,a,s):o(this,C,v,a,s),v}catch(a){return this.then(null,a)}finally(a){let s=this.constructor?.[Symbol.species];(!s||"function"!=typeof s)&&(s=A);const l=new s(P);l[H]=H;const v=c.current;return this[k]==g?this[h].push(v,l,a,a):o(this,v,l,a,a),l}}A.resolve=A.resolve,A.reject=A.reject,A.race=A.race,A.all=A.all;const _e=r[d]=r.Promise;r.Promise=A;const he=T("thenPatched");function de(f){const a=f.prototype,s=i(a,"then");if(s&&(!1===s.writable||!s.configurable))return;const l=a.then;a[w]=l,f.prototype.then=function(v,C){return new A((L,I)=>{l.call(this,L,I)}).then(v,C)},f[he]=!0}return t.patchThen=de,_e&&(de(_e),ue(r,"fetch",f=>function oe(f){return function(a,s){let l=f.apply(a,s);if(l instanceof A)return l;let v=l.constructor;return v[he]||de(v),l}}(f))),Promise[c.__symbol__("uncaughtPromiseErrors")]=m,A})})(e),function Lt(e){e.__load_patch("toString",r=>{const c=Function.prototype.toString,t=j("OriginalDelegate"),i=j("Promise"),u=j("Error"),E=function(){if("function"==typeof this){const d=this[t];if(d)return"function"==typeof d?c.call(d):Object.prototype.toString.call(d);if(this===Promise){const w=r[i];if(w)return c.call(w)}if(this===Error){const w=r[u];if(w)return c.call(w)}}return c.call(this)};E[t]=c,Function.prototype.toString=E;const T=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":T.call(this)}})}(e),function Mt(e){e.__load_patch("util",(r,c,t)=>{const i=Fe(r);t.patchOnProperties=Je,t.patchMethod=ue,t.bindArguments=xe,t.patchMacroTask=mt;const u=c.__symbol__("BLACK_LISTED_EVENTS"),E=c.__symbol__("UNPATCHED_EVENTS");r[E]&&(r[u]=r[E]),r[u]&&(c[u]=c[E]=r[u]),t.patchEventPrototype=Pt,t.patchEventTarget=bt,t.isIEOrEdge=kt,t.ObjectDefineProperty=Ne,t.ObjectGetOwnPropertyDescriptor=ke,t.ObjectCreate=_t,t.ArraySlice=Et,t.patchClass=be,t.wrapWithCurrentZone=je,t.filterProperties=it,t.attachOriginToPatched=fe,t._redefineProperty=Object.defineProperty,t.patchCallbacks=It,t.getGlobalObjects=()=>({globalSources:tt,zoneSymbolEventNames:ne,eventNames:i,isBrowser:Ve,isMix:Xe,isNode:Re,TRUE_STR:ae,FALSE_STR:le,ZONE_SYMBOL_PREFIX:ve,ADD_EVENT_LISTENER_STR:Ie,REMOVE_EVENT_LISTENER_STR:Me})})}(e)})(at),function Ot(e){e.__load_patch("legacy",r=>{const c=r[e.__symbol__("legacyPatch")];c&&c()}),e.__load_patch("timers",r=>{const c="set",t="clear";ye(r,c,t,"Timeout"),ye(r,c,t,"Interval"),ye(r,c,t,"Immediate")}),e.__load_patch("requestAnimationFrame",r=>{ye(r,"request","cancel","AnimationFrame"),ye(r,"mozRequest","mozCancel","AnimationFrame"),ye(r,"webkitRequest","webkitCancel","AnimationFrame")}),e.__load_patch("blocking",(r,c)=>{const t=["alert","prompt","confirm"];for(let i=0;i<t.length;i++)ue(r,t[i],(E,T,m)=>function(D,d){return c.current.run(E,r,d,m)})}),e.__load_patch("EventTarget",(r,c,t)=>{(function Dt(e,r){r.patchEventPrototype(e,r)})(r,t),function Ct(e,r){if(Zone[r.symbol("patchEventTarget")])return;const{eventNames:c,zoneSymbolEventNames:t,TRUE_STR:i,FALSE_STR:u,ZONE_SYMBOL_PREFIX:E}=r.getGlobalObjects();for(let m=0;m<c.length;m++){const D=c[m],Z=E+(D+u),x=E+(D+i);t[D]={},t[D][u]=Z,t[D][i]=x}const T=e.EventTarget;T&&T.prototype&&r.patchEventTarget(e,r,[T&&T.prototype])}(r,t);const i=r.XMLHttpRequestEventTarget;i&&i.prototype&&t.patchEventTarget(r,t,[i.prototype])}),e.__load_patch("MutationObserver",(r,c,t)=>{be("MutationObserver"),be("WebKitMutationObserver")}),e.__load_patch("IntersectionObserver",(r,c,t)=>{be("IntersectionObserver")}),e.__load_patch("FileReader",(r,c,t)=>{be("FileReader")}),e.__load_patch("on_property",(r,c,t)=>{!function St(e,r){if(Re&&!Xe||Zone[e.symbol("patchEvents")])return;const c=r.__Zone_ignore_on_properties;let t=[];if(Ve){const i=window;t=t.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const u=function pt(){try{const e=Te.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:i,ignoreProperties:["error"]}]:[];ct(i,Fe(i),c&&c.concat(u),Le(i))}t=t.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let i=0;i<t.length;i++){const u=r[t[i]];u&&u.prototype&&ct(u.prototype,Fe(u.prototype),c)}}(t,r)}),e.__load_patch("customElements",(r,c,t)=>{!function Rt(e,r){const{isBrowser:c,isMix:t}=r.getGlobalObjects();(c||t)&&e.customElements&&"customElements"in e&&r.patchCallbacks(r,e.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback","formAssociatedCallback","formDisabledCallback","formResetCallback","formStateRestoreCallback"])}(r,t)}),e.__load_patch("XHR",(r,c)=>{!function D(d){const w=d.XMLHttpRequest;if(!w)return;const Z=w.prototype;let U=Z[Ze],J=Z[Ae];if(!U){const R=d.XMLHttpRequestEventTarget;if(R){const b=R.prototype;U=b[Ze],J=b[Ae]}}const K="readystatechange",X="scheduled";function k(R){const b=R.data,S=b.target;S[E]=!1,S[m]=!1;const Q=S[u];U||(U=S[Ze],J=S[Ae]),Q&&J.call(S,K,Q);const W=S[u]=()=>{if(S.readyState===S.DONE)if(!b.aborted&&S[E]&&R.state===X){const _=S[c.__symbol__("loadfalse")];if(0!==S.status&&_&&_.length>0){const n=R.invoke;R.invoke=function(){const o=S[c.__symbol__("loadfalse")];for(let p=0;p<o.length;p++)o[p]===R&&o.splice(p,1);!b.aborted&&R.state===X&&n.call(R)},_.push(R)}else R.invoke()}else!b.aborted&&!1===S[E]&&(S[m]=!0)};return U.call(S,K,W),S[t]||(S[t]=R),z.apply(S,b.args),S[E]=!0,R}function h(){}function H(R){const b=R.data;return b.aborted=!0,O.apply(b.target,b.args)}const V=ue(Z,"open",()=>function(R,b){return R[i]=0==b[2],R[T]=b[1],V.apply(R,b)}),G=j("fetchTaskAborting"),g=j("fetchTaskScheduling"),z=ue(Z,"send",()=>function(R,b){if(!0===c.current[g]||R[i])return z.apply(R,b);{const S={target:R,url:R[T],isPeriodic:!1,args:b,aborted:!1},Q=He("XMLHttpRequest.send",h,S,k,H);R&&!0===R[m]&&!S.aborted&&Q.state===X&&Q.invoke()}}),O=ue(Z,"abort",()=>function(R,b){const S=function x(R){return R[t]}(R);if(S&&"string"==typeof S.type){if(null==S.cancelFn||S.data&&S.data.aborted)return;S.zone.cancelTask(S)}else if(!0===c.current[G])return O.apply(R,b)})}(r);const t=j("xhrTask"),i=j("xhrSync"),u=j("xhrListener"),E=j("xhrScheduled"),T=j("xhrURL"),m=j("xhrErrorBeforeScheduled")}),e.__load_patch("geolocation",r=>{r.navigator&&r.navigator.geolocation&&function gt(e,r){const c=e.constructor.name;for(let t=0;t<r.length;t++){const i=r[t],u=e[i];if(u){if(!We(ke(e,i)))continue;e[i]=(T=>{const m=function(){return T.apply(this,xe(arguments,c+"."+i))};return fe(m,T),m})(u)}}}(r.navigator.geolocation,["getCurrentPosition","watchPosition"])}),e.__load_patch("PromiseRejectionEvent",(r,c)=>{function t(i){return function(u){st(r,i).forEach(T=>{const m=r.PromiseRejectionEvent;if(m){const D=new m(i,{promise:u.promise,reason:u.rejection});T.invoke(D)}})}}r.PromiseRejectionEvent&&(c[j("unhandledPromiseRejectionHandler")]=t("unhandledrejection"),c[j("rejectionHandledHandler")]=t("rejectionhandled"))}),e.__load_patch("queueMicrotask",(r,c,t)=>{!function wt(e,r){r.patchMethod(e,"queueMicrotask",c=>function(t,i){Zone.current.scheduleMicroTask("queueMicrotask",i[0])})}(r,t)})}(at)}},te=>{te(te.s=935)}]);
3
- (self.webpackChunk_motopays_pay_form=self.webpackChunk_motopays_pay_form||[]).push([[792],{88:(F,A,M)=>{"use strict";function D(e,n){return Object.is(e,n)}let Me=null,Se=!1,Te=1;const z=Symbol("SIGNAL");function ie(e){const n=Me;return Me=e,n}const jt={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Sr(e){if(Se)throw new Error("");if(null===Me)return;Me.consumerOnSignalRead(e);const n=Me.nextProducerIndex++;zs(Me),n<Me.producerNode.length&&Me.producerNode[n]!==e&&Pi(Me)&&ro(Me.producerNode[n],Me.producerIndexOfThis[n]),Me.producerNode[n]!==e&&(Me.producerNode[n]=e,Me.producerIndexOfThis[n]=Pi(Me)?$s(e,Me,n):0),Me.producerLastReadVersion[n]=e.version}function to(e){if((!Pi(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==Te)){if(!e.producerMustRecompute(e)&&!Tr(e))return e.dirty=!1,void(e.lastCleanEpoch=Te);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=Te}}function kn(e){if(void 0===e.liveConsumerNode)return;const n=Se;Se=!0;try{for(const t of e.liveConsumerNode)t.dirty||_e(t)}finally{Se=n}}function Ce(){return!1!==Me?.consumerAllowSignalWrites}function _e(e){e.dirty=!0,kn(e),e.consumerMarkedDirty?.(e)}function Ye(e){return e&&(e.nextProducerIndex=0),ie(e)}function ft(e,n){if(ie(n),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(Pi(e))for(let t=e.nextProducerIndex;t<e.producerNode.length;t++)ro(e.producerNode[t],e.producerIndexOfThis[t]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Tr(e){zs(e);for(let n=0;n<e.producerNode.length;n++){const t=e.producerNode[n],r=e.producerLastReadVersion[n];if(r!==t.version||(to(t),r!==t.version))return!0}return!1}function no(e){if(zs(e),Pi(e))for(let n=0;n<e.producerNode.length;n++)ro(e.producerNode[n],e.producerIndexOfThis[n]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function $s(e,n,t){if(Ws(e),0===e.liveConsumerNode.length&&io(e))for(let r=0;r<e.producerNode.length;r++)e.producerIndexOfThis[r]=$s(e.producerNode[r],e,r);return e.liveConsumerIndexOfThis.push(t),e.liveConsumerNode.push(n)-1}function ro(e,n){if(Ws(e),1===e.liveConsumerNode.length&&io(e))for(let r=0;r<e.producerNode.length;r++)ro(e.producerNode[r],e.producerIndexOfThis[r]);const t=e.liveConsumerNode.length-1;if(e.liveConsumerNode[n]=e.liveConsumerNode[t],e.liveConsumerIndexOfThis[n]=e.liveConsumerIndexOfThis[t],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,n<e.liveConsumerNode.length){const r=e.liveConsumerIndexOfThis[n],i=e.liveConsumerNode[n];zs(i),i.producerIndexOfThis[r]=n}}function Pi(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function zs(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function Ws(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function io(e){return void 0!==e.producerNode}const Uu=Symbol("UNSET"),Lo=Symbol("COMPUTING"),Vo=Symbol("ERRORED"),$u={...jt,value:Uu,dirty:!0,error:null,equal:D,producerMustRecompute:e=>e.value===Uu||e.value===Lo,producerRecomputeValue(e){if(e.value===Lo)throw new Error("Detected cycle in computations.");const n=e.value;e.value=Lo;const t=Ye(e);let r;try{r=e.computation()}catch(i){r=Vo,e.error=i}finally{ft(e,t)}n!==Uu&&n!==Vo&&r!==Vo&&e.equal(n,r)?e.value=n:(e.value=r,e.version++)}};let zu=function oo(){throw new Error};function qs(){zu()}let or=null;function so(e,n){Ce()||qs(),e.equal(e.value,n)||(e.value=n,function xn(e){e.version++,function Fo(){Te++}(),kn(e),or?.()}(e))}const Zu={...jt,equal:D,value:void 0};const Ai=()=>{},Pm={...jt,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{null!==e.schedule&&e.schedule(e.ref)},hasRun:!1,cleanupFn:Ai};function Je(e){return"function"==typeof e}function Gn(e){const t=e(r=>{Error.call(r),r.stack=(new Error).stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}const Ks=Gn(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((r,i)=>`${i+1}) ${r.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t});function Bo(e,n){if(e){const t=e.indexOf(n);0<=t&&e.splice(t,1)}}class cn{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;const{_parentage:t}=this;if(t)if(this._parentage=null,Array.isArray(t))for(const o of t)o.remove(this);else t.remove(this);const{initialTeardown:r}=this;if(Je(r))try{r()}catch(o){n=o instanceof Ks?o.errors:[o]}const{_finalizers:i}=this;if(i){this._finalizers=null;for(const o of i)try{_d(o)}catch(s){n=n??[],s instanceof Ks?n=[...n,...s.errors]:n.push(s)}}if(n)throw new Ks(n)}}add(n){var t;if(n&&n!==this)if(this.closed)_d(n);else{if(n instanceof cn){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=null!==(t=this._finalizers)&&void 0!==t?t:[]).push(n)}}_hasParent(n){const{_parentage:t}=this;return t===n||Array.isArray(t)&&t.includes(n)}_addParent(n){const{_parentage:t}=this;this._parentage=Array.isArray(t)?(t.push(n),t):t?[t,n]:n}_removeParent(n){const{_parentage:t}=this;t===n?this._parentage=null:Array.isArray(t)&&Bo(t,n)}remove(n){const{_finalizers:t}=this;t&&Bo(t,n),n instanceof cn&&n._removeParent(this)}}cn.EMPTY=(()=>{const e=new cn;return e.closed=!0,e})();const yd=cn.EMPTY;function vd(e){return e instanceof cn||e&&"closed"in e&&Je(e.remove)&&Je(e.add)&&Je(e.unsubscribe)}function _d(e){Je(e)?e():e.unsubscribe()}const ki={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Xs={setTimeout(e,n,...t){const{delegate:r}=Xs;return r?.setTimeout?r.setTimeout(e,n,...t):setTimeout(e,n,...t)},clearTimeout(e){const{delegate:n}=Xs;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function bd(e){Xs.setTimeout(()=>{const{onUnhandledError:n}=ki;if(!n)throw e;n(e)})}function ao(){}const xi=Yu("C",void 0,void 0);function Yu(e,n,t){return{kind:e,value:n,error:t}}let Ni=null;function Js(e){if(ki.useDeprecatedSynchronousErrorHandling){const n=!Ni;if(n&&(Ni={errorThrown:!1,error:null}),e(),n){const{errorThrown:t,error:r}=Ni;if(Ni=null,t)throw r}}else e()}class Nn extends cn{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,vd(n)&&n.add(this)):this.destination=Nm}static create(n,t,r){return new ea(n,t,r)}next(n){this.isStopped?na(function Am(e){return Yu("N",e,void 0)}(n),this):this._next(n)}error(n){this.isStopped?na(function Qs(e){return Yu("E",void 0,e)}(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?na(xi,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const Cd=Function.prototype.bind;function Ku(e,n){return Cd.call(e,n)}class km{constructor(n){this.partialObserver=n}next(n){const{partialObserver:t}=this;if(t.next)try{t.next(n)}catch(r){ta(r)}}error(n){const{partialObserver:t}=this;if(t.error)try{t.error(n)}catch(r){ta(r)}else ta(n)}complete(){const{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(t){ta(t)}}}class ea extends Nn{constructor(n,t,r){let i;if(super(),Je(n)||!n)i={next:n??void 0,error:t??void 0,complete:r??void 0};else{let o;this&&ki.useDeprecatedNextContext?(o=Object.create(n),o.unsubscribe=()=>this.unsubscribe(),i={next:n.next&&Ku(n.next,o),error:n.error&&Ku(n.error,o),complete:n.complete&&Ku(n.complete,o)}):i=n}this.destination=new km(i)}}function ta(e){ki.useDeprecatedSynchronousErrorHandling?function wd(e){ki.useDeprecatedSynchronousErrorHandling&&Ni&&(Ni.errorThrown=!0,Ni.error=e)}(e):bd(e)}function na(e,n){const{onStoppedNotification:t}=ki;t&&Xs.setTimeout(()=>t(e,n))}const Nm={closed:!0,next:ao,error:function xm(e){throw e},complete:ao},ra="function"==typeof Symbol&&Symbol.observable||"@@observable";function Ho(e){return e}let _t=(()=>{class e{constructor(t){t&&(this._subscribe=t)}lift(t){const r=new e;return r.source=this,r.operator=t,r}subscribe(t,r,i){const o=function Ed(e){return e&&e instanceof Nn||function Qu(e){return e&&Je(e.next)&&Je(e.error)&&Je(e.complete)}(e)&&vd(e)}(t)?t:new ea(t,r,i);return Js(()=>{const{operator:s,source:u}=this;o.add(s?s.call(o,u):u?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(t){try{return this._subscribe(t)}catch(r){t.error(r)}}forEach(t,r){return new(r=Xu(r))((i,o)=>{const s=new ea({next:u=>{try{t(u)}catch(c){o(c),s.unsubscribe()}},error:o,complete:i});this.subscribe(s)})}_subscribe(t){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(t)}[ra](){return this}pipe(...t){return function ia(e){return 0===e.length?Ho:1===e.length?e[0]:function(t){return e.reduce((r,i)=>i(r),t)}}(t)(this)}toPromise(t){return new(t=Xu(t))((r,i)=>{let o;this.subscribe(s=>o=s,s=>i(s),()=>r(o))})}}return e.create=n=>new e(n),e})();function Xu(e){var n;return null!==(n=e??ki.Promise)&&void 0!==n?n:Promise}const Ju=Gn(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let bt=(()=>{class e extends _t{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){const r=new Dd(this,this);return r.operator=t,r}_throwIfClosed(){if(this.closed)throw new Ju}next(t){Js(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(t)}})}error(t){Js(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;const{observers:r}=this;for(;r.length;)r.shift().error(t)}})}complete(){Js(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:t}=this;for(;t.length;)t.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var t;return(null===(t=this.observers)||void 0===t?void 0:t.length)>0}_trySubscribe(t){return this._throwIfClosed(),super._trySubscribe(t)}_subscribe(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)}_innerSubscribe(t){const{hasError:r,isStopped:i,observers:o}=this;return r||i?yd:(this.currentObservers=null,o.push(t),new cn(()=>{this.currentObservers=null,Bo(o,t)}))}_checkFinalizedStatuses(t){const{hasError:r,thrownError:i,isStopped:o}=this;r?t.error(i):o&&t.complete()}asObservable(){const t=new _t;return t.source=this,t}}return e.create=(n,t)=>new Dd(n,t),e})();class Dd extends bt{constructor(n,t){super(),this.destination=n,this.source=t}next(n){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===r||r.call(t,n)}error(n){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===r||r.call(t,n)}complete(){var n,t;null===(t=null===(n=this.destination)||void 0===n?void 0:n.complete)||void 0===t||t.call(n)}_subscribe(n){var t,r;return null!==(r=null===(t=this.source)||void 0===t?void 0:t.subscribe(n))&&void 0!==r?r:yd}}class ec extends bt{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){const t=super._subscribe(n);return!t.closed&&n.next(this._value),t}getValue(){const{hasError:n,thrownError:t,_value:r}=this;if(n)throw t;return this._throwIfClosed(),r}next(n){super.next(this._value=n)}}function mn(e){return n=>{if(function Sd(e){return Je(e?.lift)}(n))return n.lift(function(t){try{return e(t,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function Kt(e,n,t,r,i){return new Td(e,n,t,r,i)}class Td extends Nn{constructor(n,t,r,i,o,s){super(n),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=t?function(u){try{t(u)}catch(c){n.error(c)}}:super._next,this._error=i?function(u){try{i(u)}catch(c){n.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(u){n.error(u)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:t}=this;super.unsubscribe(),!t&&(null===(n=this.onFinalize)||void 0===n||n.call(this))}}}function St(e,n){return mn((t,r)=>{let i=0;t.subscribe(Kt(r,o=>{r.next(e.call(n,o,i++))}))})}typeof navigator<"u"&&navigator,typeof navigator<"u"&&!/Opera/.test(navigator.userAgent)&&navigator,typeof navigator<"u"&&(/MSIE/.test(navigator.userAgent)||navigator),typeof navigator<"u"&&!/Opera|WebKit/.test(navigator.userAgent)&&navigator,typeof navigator<"u"&&navigator;const Jd="https://g.co/ng/security#xss";class k extends Error{constructor(n,t){super(function uo(e,n){return`NG0${Math.abs(e)}${n?": "+n:""}`}(n,t)),this.code=n}}function xr(e){return{toString:e}.toString()}const fo="__annotations__",Nr="__parameters__",On="__prop__metadata__";function fa(e,n,t,r,i){return xr(()=>{const o=Jo(n);function s(...u){if(this instanceof s)return o.call(this,...u),this;const c=new s(...u);return function(f){return i&&i(f,...u),(f.hasOwnProperty(fo)?f[fo]:Object.defineProperty(f,fo,{value:[]})[fo]).push(c),r&&r(f),f}}return t&&(s.prototype=Object.create(t.prototype)),s.prototype.ngMetadataName=e,s.annotationCls=s,s})}function Jo(e){return function(...t){if(e){const r=e(...t);for(const i in r)this[i]=r[i]}}}function ui(e,n,t){return xr(()=>{const r=Jo(n);function i(...o){if(this instanceof i)return r.apply(this,o),this;const s=new i(...o);return u.annotation=s,u;function u(c,d,f){const m=c.hasOwnProperty(Nr)?c[Nr]:Object.defineProperty(c,Nr,{value:[]})[Nr];for(;m.length<=f;)m.push(null);return(m[f]=m[f]||[]).push(s),c}}return t&&(i.prototype=Object.create(t.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}const Ze=globalThis;function Be(e){for(let n in e)if(e[n]===Be)return n;throw Error("Could not find renamed property on target object.")}function tf(e,n){for(const t in n)n.hasOwnProperty(t)&&!e.hasOwnProperty(t)&&(e[t]=n[t])}function wt(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(wt).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const n=e.toString();if(null==n)return""+n;const t=n.indexOf("\n");return-1===t?n:n.substring(0,t)}function ha(e,n){return null==e||""===e?null===n?"":n:null==n||""===n?e:e+" "+n}const lg=Be({__forward_ref__:Be});function Pe(e){return e.__forward_ref__=Pe,e.toString=function(){return wt(this())},e}function ae(e){return ho(e)?e():e}function ho(e){return"function"==typeof e&&e.hasOwnProperty(lg)&&e.__forward_ref__===Pe}function q(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Ct(e){return{providers:e.providers||[],imports:e.imports||[]}}function ma(e){return Ec(e,ga)||Ec(e,Sc)}function Ec(e,n){return e.hasOwnProperty(n)?e[n]:null}function po(e){return e&&(e.hasOwnProperty(Dc)||e.hasOwnProperty(uf))?e[Dc]:null}const ga=Be({\u0275prov:Be}),Dc=Be({\u0275inj:Be}),Sc=Be({ngInjectableDef:Be}),uf=Be({ngInjectorDef:Be});class ${constructor(n,t){this._desc=n,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.\u0275prov=q({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Ic(e){return e&&!!e.\u0275providers}const ts=Be({\u0275cmp:Be}),ns=Be({\u0275dir:Be}),_a=Be({\u0275pipe:Be}),lf=Be({\u0275mod:Be}),yn=Be({\u0275fac:Be}),mo=Be({__NG_ELEMENT_ID__:Be}),Pc=Be({__NG_ENV_ID__:Be});function W(e){return"string"==typeof e?e:null==e?"":String(e)}function ba(e,n){throw new k(-201,!1)}var ve=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(ve||{});let Ac;function rs(){return Ac}function Jt(e){const n=Ac;return Ac=e,n}function kc(e,n,t){const r=ma(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:t&ve.Optional?null:void 0!==n?n:void ba()}const os={},li="__NG_DI_FLAG__",Ca="ngTempTokenPath",bg=/\n/gm,Li="__source";let ur;function Ae(e){const n=ur;return ur=e,n}function a(e,n=ve.Default){if(void 0===ur)throw new k(-203,!1);return null===ur?kc(e,void 0,n):ur.get(e,n&ve.Optional?null:void 0,n)}function l(e,n=ve.Default){return(rs()||a)(ae(e),n)}function p(e,n=ve.Default){return l(e,v(n))}function v(e){return typeof e>"u"||"number"==typeof e?e:(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function b(e){const n=[];for(let t=0;t<e.length;t++){const r=ae(e[t]);if(Array.isArray(r)){if(0===r.length)throw new k(900,!1);let i,o=ve.Default;for(let s=0;s<r.length;s++){const u=r[s],c=E(u);"number"==typeof c?-1===c?i=u.token:o|=c:i=u}n.push(l(i,o))}else n.push(l(r))}return n}function w(e,n){return e[li]=n,e.prototype[li]=n,e}function E(e){return e[li]}const K=w(ui("Inject",e=>({token:e})),-1),We=w(ui("Optional"),8),ht=w(ui("Self"),2),Gt=w(ui("SkipSelf"),4),ss=w(ui("Host"),1);function vn(e,n){return e.hasOwnProperty(yn)?e[yn]:null}function Ea(e,n){e.forEach(t=>Array.isArray(t)?Ea(t,n):n(t))}function sw(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function hf(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function pf(e,n){const t=[];for(let r=0;r<e;r++)t.push(n);return t}function zn(e,n,t){let r=Da(e,n);return r>=0?e[1|r]=t:(r=~r,function aw(e,n,t,r){let i=e.length;if(i==n)e.push(t,r);else if(1===i)e.push(r,e[0]),e[0]=t;else{for(i--,e.push(e[i-1],e[i]);i>n;)e[i]=e[i-2],i--;e[n]=t,e[n+1]=r}}(e,r,n,t)),r}function Cg(e,n){const t=Da(e,n);if(t>=0)return e[1|t]}function Da(e,n){return function uw(e,n,t){let r=0,i=e.length>>t;for(;i!==r;){const o=r+(i-r>>1),s=e[o<<t];if(n===s)return o<<t;s>n?i=o:r=o+1}return~(i<<t)}(e,n,1)}const di={},ke=[],fi=new $(""),cw=new $("",-1),Eg=new $("");class mf{get(n,t=os){if(t===os){const r=new Error(`NullInjectorError: No provider for ${wt(n)}!`);throw r.name="NullInjectorError",r}return t}}var gf=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(gf||{}),Rr=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Rr||{}),go=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(go||{});function HA(e,n,t){let r=e.length;for(;;){const i=e.indexOf(n,t);if(-1===i)return i;if(0===i||e.charCodeAt(i-1)<=32){const o=n.length;if(i+o===r||e.charCodeAt(i+o)<=32)return i}t=i+1}}function Dg(e,n,t){let r=0;for(;r<t.length;){const i=t[r];if("number"==typeof i){if(0!==i)break;r++;const o=t[r++],s=t[r++],u=t[r++];e.setAttribute(n,s,u,o)}else{const o=i,s=t[++r];dw(o)?e.setProperty(n,o,s):e.setAttribute(n,o,s),r++}}return r}function lw(e){return 3===e||4===e||6===e}function dw(e){return 64===e.charCodeAt(0)}function xc(e,n){if(null!==n&&0!==n.length)if(null===e||0===e.length)e=n.slice();else{let t=-1;for(let r=0;r<n.length;r++){const i=n[r];"number"==typeof i?t=i:0===t||fw(e,t,i,null,-1===t||2===t?n[++r]:null)}}return e}function fw(e,n,t,r,i){let o=0,s=e.length;if(-1===n)s=-1;else for(;o<e.length;){const u=e[o++];if("number"==typeof u){if(u===n){s=-1;break}if(u>n){s=o-1;break}}}for(;o<e.length;){const u=e[o];if("number"==typeof u)break;if(u===t){if(null===r)return void(null!==i&&(e[o+1]=i));if(r===e[o+1])return void(e[o+2]=i)}o++,null!==r&&o++,null!==i&&o++}-1!==s&&(e.splice(s,0,n),o=s+1),e.splice(o++,0,t),null!==r&&e.splice(o++,0,r),null!==i&&e.splice(o++,0,i)}const hw="ng-template";function GA(e,n,t,r){let i=0;if(r){for(;i<n.length&&"string"==typeof n[i];i+=2)if("class"===n[i]&&-1!==HA(n[i+1].toLowerCase(),t,0))return!0}else if(Sg(e))return!1;if(i=n.indexOf(1,i),i>-1){let o;for(;++i<n.length&&"string"==typeof(o=n[i]);)if(o.toLowerCase()===t)return!0}return!1}function Sg(e){return 4===e.type&&e.value!==hw}function UA(e,n,t){return n===(4!==e.type||t?e.value:hw)}function $A(e,n,t){let r=4;const i=e.attrs,o=null!==i?function qA(e){for(let n=0;n<e.length;n++)if(lw(e[n]))return n;return e.length}(i):0;let s=!1;for(let u=0;u<n.length;u++){const c=n[u];if("number"!=typeof c){if(!s)if(4&r){if(r=2|1&r,""!==c&&!UA(e,c,t)||""===c&&1===n.length){if(Fr(r))return!1;s=!0}}else if(8&r){if(null===i||!GA(e,i,c,t)){if(Fr(r))return!1;s=!0}}else{const d=n[++u],f=zA(c,i,Sg(e),t);if(-1===f){if(Fr(r))return!1;s=!0;continue}if(""!==d){let m;if(m=f>o?"":i[f+1].toLowerCase(),2&r&&d!==m){if(Fr(r))return!1;s=!0}}}}else{if(!s&&!Fr(r)&&!Fr(c))return!1;if(s&&Fr(c))continue;s=!1,r=c|1&r}}return Fr(r)||s}function Fr(e){return!(1&e)}function zA(e,n,t,r){if(null===n)return-1;let i=0;if(r||!t){let o=!1;for(;i<n.length;){const s=n[i];if(s===e)return i;if(3===s||6===s)o=!0;else{if(1===s||2===s){let u=n[++i];for(;"string"==typeof u;)u=n[++i];continue}if(4===s)break;if(0===s){i+=4;continue}}i+=o?1:2}return-1}return function ZA(e,n){let t=e.indexOf(4);if(t>-1)for(t++;t<e.length;){const r=e[t];if("number"==typeof r)return-1;if(r===n)return t;t++}return-1}(n,e)}function pw(e,n,t=!1){for(let r=0;r<n.length;r++)if($A(e,n[r],t))return!0;return!1}function YA(e,n){e:for(let t=0;t<n.length;t++){const r=n[t];if(e.length===r.length){for(let i=0;i<e.length;i++)if(e[i]!==r[i])continue e;return!0}}return!1}function mw(e,n){return e?":not("+n.trim()+")":n}function KA(e){let n=e[0],t=1,r=2,i="",o=!1;for(;t<e.length;){let s=e[t];if("string"==typeof s)if(2&r){const u=e[++t];i+="["+s+(u.length>0?'="'+u+'"':"")+"]"}else 8&r?i+="."+s:4&r&&(i+=" "+s);else""!==i&&!Fr(s)&&(n+=mw(o,i),i=""),r=s,o=o||!Fr(r);t++}return""!==i&&(n+=mw(o,i)),n}function ut(e){return xr(()=>{const n=yw(e),t={...n,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===gf.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Rr.Emulated,styles:e.styles||ke,_:null,schemas:e.schemas||null,tView:null,id:""};vw(t);const r=e.dependencies;return t.directiveDefs=yf(r,!1),t.pipeDefs=yf(r,!0),t.id=function nk(e){let n=0;const t=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const i of t)n=Math.imul(31,n)+i.charCodeAt(0)|0;return n+=2147483648,"c"+n}(t),t})}function JA(e){return ye(e)||$t(e)}function ek(e){return null!==e}function Ut(e){return xr(()=>({type:e.type,bootstrap:e.bootstrap||ke,declarations:e.declarations||ke,imports:e.imports||ke,exports:e.exports||ke,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function gw(e,n){if(null==e)return di;const t={};for(const r in e)if(e.hasOwnProperty(r)){const i=e[r];let o,s,u=go.None;Array.isArray(i)?(u=i[0],o=i[1],s=i[2]??o):(o=i,s=i),n?(t[o]=u!==go.None?[r,u]:r,n[o]=s):t[o]=r}return t}function ce(e){return xr(()=>{const n=yw(e);return vw(n),n})}function Nt(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function ye(e){return e[ts]||null}function $t(e){return e[ns]||null}function en(e){return e[_a]||null}function yw(e){const n={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:n,inputTransforms:null,inputConfig:e.inputs||di,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||ke,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:gw(e.inputs,n),outputs:gw(e.outputs),debugInfo:null}}function vw(e){e.features?.forEach(n=>n(e))}function yf(e,n){if(!e)return null;const t=n?en:JA;return()=>("function"==typeof e?e():e).map(r=>t(r)).filter(ek)}function Sa(e){return{\u0275providers:e}}function rk(...e){return{\u0275providers:Tg(0,e),\u0275fromNgModule:!0}}function Tg(e,...n){const t=[],r=new Set;let i;const o=s=>{t.push(s)};return Ea(n,s=>{const u=s;vf(u,o,[],r)&&(i||=[],i.push(u))}),void 0!==i&&_w(i,o),t}function _w(e,n){for(let t=0;t<e.length;t++){const{ngModule:r,providers:i}=e[t];Mg(i,o=>{n(o,r)})}}function vf(e,n,t,r){if(!(e=ae(e)))return!1;let i=null,o=po(e);const s=!o&&ye(e);if(o||s){if(s&&!s.standalone)return!1;i=e}else{const c=e.ngModule;if(o=po(c),!o)return!1;i=c}const u=r.has(i);if(s){if(u)return!1;if(r.add(i),s.dependencies){const c="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const d of c)vf(d,n,t,r)}}else{if(!o)return!1;{if(null!=o.imports&&!u){let d;r.add(i);try{Ea(o.imports,f=>{vf(f,n,t,r)&&(d||=[],d.push(f))})}finally{}void 0!==d&&_w(d,n)}if(!u){const d=vn(i)||(()=>new i);n({provide:i,useFactory:d,deps:ke},i),n({provide:Eg,useValue:i,multi:!0},i),n({provide:fi,useValue:()=>l(i),multi:!0},i)}const c=o.providers;if(null!=c&&!u){const d=e;Mg(c,f=>{n(f,d)})}}}return i!==e&&void 0!==e.providers}function Mg(e,n){for(let t of e)Ic(t)&&(t=t.\u0275providers),Array.isArray(t)?Mg(t,n):n(t)}const ik=Be({provide:String,useValue:Be});function Ig(e){return null!==e&&"object"==typeof e&&ik in e}function us(e){return"function"==typeof e}const Pg=new $(""),_f={},sk={};let Ag;function bf(){return void 0===Ag&&(Ag=new mf),Ag}class cr{}class Ta extends cr{get destroyed(){return this._destroyed}constructor(n,t,r,i){super(),this.parent=t,this.source=r,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,xg(n,s=>this.processProvider(s)),this.records.set(cw,Ma(void 0,this)),i.has("environment")&&this.records.set(cr,Ma(void 0,this));const o=this.records.get(Pg);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Eg,ke,ve.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const n=ie(null);try{for(const r of this._ngOnDestroyHooks)r.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const r of t)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),ie(n)}}onDestroy(n){return this.assertNotDestroyed(),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){this.assertNotDestroyed();const t=Ae(this),r=Jt(void 0);try{return n()}finally{Ae(t),Jt(r)}}get(n,t=os,r=ve.Default){if(this.assertNotDestroyed(),n.hasOwnProperty(Pc))return n[Pc](this);r=v(r);const o=Ae(this),s=Jt(void 0);try{if(!(r&ve.SkipSelf)){let c=this.records.get(n);if(void 0===c){const d=function dk(e){return"function"==typeof e||"object"==typeof e&&e instanceof $}(n)&&ma(n);c=d&&this.injectableDefInScope(d)?Ma(kg(n),_f):null,this.records.set(n,c)}if(null!=c)return this.hydrate(n,c)}return(r&ve.Self?bf():this.parent).get(n,t=r&ve.Optional&&t===os?null:t)}catch(u){if("NullInjectorError"===u.name){if((u[Ca]=u[Ca]||[]).unshift(wt(n)),o)throw u;return function V(e,n,t,r){const i=e[Ca];throw n[Li]&&i.unshift(n[Li]),e.message=function O(e,n,t,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let i=wt(n);if(Array.isArray(n))i=n.map(wt).join(" -> ");else if("object"==typeof n){let o=[];for(let s in n)if(n.hasOwnProperty(s)){let u=n[s];o.push(s+":"+("string"==typeof u?JSON.stringify(u):wt(u)))}i=`{${o.join(", ")}}`}return`${t}${r?"("+r+")":""}[${i}]: ${e.replace(bg,"\n ")}`}("\n"+e.message,i,t,r),e.ngTokenPath=i,e[Ca]=null,e}(u,n,"R3InjectorError",this.source)}throw u}finally{Jt(s),Ae(o)}}resolveInjectorInitializers(){const n=ie(null),t=Ae(this),r=Jt(void 0);try{const o=this.get(fi,ke,ve.Self);for(const s of o)s()}finally{Ae(t),Jt(r),ie(n)}}toString(){const n=[],t=this.records;for(const r of t.keys())n.push(wt(r));return`R3Injector[${n.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new k(205,!1)}processProvider(n){let t=us(n=ae(n))?n:ae(n&&n.provide);const r=function uk(e){return Ig(e)?Ma(void 0,e.useValue):Ma(Cw(e),_f)}(n);if(!us(n)&&!0===n.multi){let i=this.records.get(t);i||(i=Ma(void 0,_f,!0),i.factory=()=>b(i.multi),this.records.set(t,i)),t=n,i.multi.push(n)}this.records.set(t,r)}hydrate(n,t){const r=ie(null);try{return t.value===_f&&(t.value=sk,t.value=t.factory()),"object"==typeof t.value&&t.value&&function lk(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}finally{ie(r)}}injectableDefInScope(n){if(!n.providedIn)return!1;const t=ae(n.providedIn);return"string"==typeof t?"any"===t||this.scopes.has(t):this.injectorDefTypes.has(t)}removeOnDestroy(n){const t=this._onDestroyHooks.indexOf(n);-1!==t&&this._onDestroyHooks.splice(t,1)}}function kg(e){const n=ma(e),t=null!==n?n.factory:vn(e);if(null!==t)return t;if(e instanceof $)throw new k(204,!1);if(e instanceof Function)return function ak(e){if(e.length>0)throw new k(204,!1);const t=function af(e){return e&&(e[ga]||e[Sc])||null}(e);return null!==t?()=>t.factory(e):()=>new e}(e);throw new k(204,!1)}function Cw(e,n,t){let r;if(us(e)){const i=ae(e);return vn(i)||kg(i)}if(Ig(e))r=()=>ae(e.useValue);else if(function ww(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...b(e.deps||[]));else if(function bw(e){return!(!e||!e.useExisting)}(e))r=()=>l(ae(e.useExisting));else{const i=ae(e&&(e.useClass||e.provide));if(!function ck(e){return!!e.deps}(e))return vn(i)||kg(i);r=()=>new i(...b(e.deps))}return r}function Ma(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function xg(e,n){for(const t of e)Array.isArray(t)?xg(t,n):t&&Ic(t)?xg(t.\u0275providers,n):n(t)}function Ew(){return void 0!==rs()||null!=function ff(){return ur}()}function zt(e){const n=Ze.ng;if(n&&n.\u0275compilerFacade)return n.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}const Dw={\u0275\u0275defineInjectable:q,\u0275\u0275defineInjector:Ct,\u0275\u0275inject:l,\u0275\u0275invalidFactoryDep:function h(e){throw new k(202,!1)},resolveForwardRef:ae},mk=Function;function Nc(e){return"function"==typeof e}const gk=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*(arguments|(?:[^()]+\(\[\],)?[^()]+\(arguments\).*)\)/,yk=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,vk=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,_k=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{[^}]*super\(\.\.\.arguments\)/;class wk{constructor(n){this._reflect=n||Ze.Reflect}factory(n){return(...t)=>new n(...t)}_zipTypesAndAnnotations(n,t){let r;r=pf(typeof n>"u"?t.length:n.length);for(let i=0;i<r.length;i++)r[i]=typeof n>"u"?[]:n[i]&&n[i]!=Object?[n[i]]:[],t&&null!=t[i]&&(r[i]=r[i].concat(t[i]));return r}_ownParameters(n,t){if(function bk(e){return gk.test(e)||_k.test(e)||yk.test(e)&&!vk.test(e)}(n.toString()))return null;if(n.parameters&&n.parameters!==t.parameters)return n.parameters;const i=n.ctorParameters;if(i&&i!==t.ctorParameters){const u="function"==typeof i?i():i,c=u.map(f=>f&&f.type),d=u.map(f=>f&&Og(f.decorators));return this._zipTypesAndAnnotations(c,d)}const o=n.hasOwnProperty(Nr)&&n[Nr],s=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",n);return s||o?this._zipTypesAndAnnotations(s,o):pf(n.length)}parameters(n){if(!Nc(n))return[];const t=wf(n);let r=this._ownParameters(n,t);return!r&&t!==Object&&(r=this.parameters(t)),r||[]}_ownAnnotations(n,t){if(n.annotations&&n.annotations!==t.annotations){let r=n.annotations;return"function"==typeof r&&r.annotations&&(r=r.annotations),r}return n.decorators&&n.decorators!==t.decorators?Og(n.decorators):n.hasOwnProperty(fo)?n[fo]:null}annotations(n){if(!Nc(n))return[];const t=wf(n),r=this._ownAnnotations(n,t)||[];return(t!==Object?this.annotations(t):[]).concat(r)}_ownPropMetadata(n,t){if(n.propMetadata&&n.propMetadata!==t.propMetadata){let r=n.propMetadata;return"function"==typeof r&&r.propMetadata&&(r=r.propMetadata),r}if(n.propDecorators&&n.propDecorators!==t.propDecorators){const r=n.propDecorators,i={};return Object.keys(r).forEach(o=>{i[o]=Og(r[o])}),i}return n.hasOwnProperty(On)?n[On]:null}propMetadata(n){if(!Nc(n))return{};const t=wf(n),r={};if(t!==Object){const o=this.propMetadata(t);Object.keys(o).forEach(s=>{r[s]=o[s]})}const i=this._ownPropMetadata(n,t);return i&&Object.keys(i).forEach(o=>{const s=[];r.hasOwnProperty(o)&&s.push(...r[o]),s.push(...i[o]),r[o]=s}),r}ownPropMetadata(n){return Nc(n)&&this._ownPropMetadata(n,wf(n))||{}}hasLifecycleHook(n,t){return n instanceof mk&&t in n.prototype}}function Og(e){return e?e.map(n=>new(0,n.type.annotationCls)(...n.args?n.args:[])):[]}function wf(e){const n=e.prototype?Object.getPrototypeOf(e.prototype):null;return(n?n.constructor:null)||Object}const pt=0,B=1,oe=2,Ot=3,Lr=4,tn=5,_n=6,Pa=7,et=8,Rt=9,hi=10,le=11,Oc=12,Sw=13,Aa=14,mt=15,cs=16,ka=17,Vi=18,xa=19,Tw=20,yo=21,Cf=22,lr=23,J=25,Rg=1,pi=7,Na=9,Tt=10;var Df=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(Df||{});function Wt(e){return Array.isArray(e)&&"object"==typeof e[Rg]}function dn(e){return Array.isArray(e)&&!0===e[Rg]}function Fg(e){return!!(4&e.flags)}function ls(e){return e.componentOffset>-1}function Sf(e){return!(1&~e.flags)}function Vr(e){return!!e.template}function Fc(e){return!!(512&e[oe])}class kw{constructor(n,t,r){this.previousValue=n,this.currentValue=t,this.firstChange=r}isFirstChange(){return this.firstChange}}function xw(e,n,t,r){null!==n?n.applyValueToInputSignal(n,r):e[t]=r}function jr(){return Nw}function Nw(e){return e.type.prototype.ngOnChanges&&(e.setInput=Sk),Dk}function Dk(){const e=Rw(this),n=e?.current;if(n){const t=e.previous;if(t===di)e.previous=n;else for(let r in n)t[r]=n[r];e.current=null,this.ngOnChanges(n)}}function Sk(e,n,t,r,i){const o=this.declaredInputs[r],s=Rw(e)||function Tk(e,n){return e[Ow]=n}(e,{previous:di,current:null}),u=s.current||(s.current={}),c=s.previous,d=c[o];u[o]=new kw(d&&d.currentValue,t,c===di),xw(e,n,i,t)}jr.ngInherit=!0;const Ow="__ngSimpleChanges__";function Rw(e){return e[Ow]||null}const mi=function(e,n,t){};function xe(e){for(;Array.isArray(e);)e=e[pt];return e}function Lc(e,n){return xe(n[e])}function bn(e,n){return xe(n[e.index])}function Vc(e,n){return e.data[n]}function ds(e,n){return e[n]}function Wn(e,n){const t=n[e];return Wt(t)?t:t[pt]}function Hg(e){return!(128&~e[oe])}function dr(e,n){return null==n?null:e[n]}function Vw(e){e[ka]=0}function jw(e){1024&e[oe]||(e[oe]|=1024,Hg(e)&&Mf(e))}function Tf(e){return!!(9216&e[oe]||e[lr]?.dirty)}function Gg(e){e[hi].changeDetectionScheduler?.notify(8),64&e[oe]&&(e[oe]|=1024),Tf(e)&&Mf(e)}function Mf(e){e[hi].changeDetectionScheduler?.notify(0);let n=ji(e);for(;null!==n&&!(8192&n[oe])&&(n[oe]|=8192,Hg(n));)n=ji(n)}function If(e,n){if(!(256&~e[oe]))throw new k(911,!1);null===e[yo]&&(e[yo]=[]),e[yo].push(n)}function ji(e){const n=e[Ot];return dn(n)?n[Ot]:n}const de={lFrame:Qw(null),bindingsEnabled:!0,skipHydrationRootTNode:null};let Hw=!1;function Gw(){return de.bindingsEnabled}function fs(){return null!==de.skipHydrationRootTNode}function x(){return de.lFrame.lView}function ge(){return de.lFrame.tView}function Ne(e){return de.lFrame.contextLView=e,e[et]}function Oe(e){return de.lFrame.contextLView=null,e}function qe(){let e=Uw();for(;null!==e&&64===e.type;)e=e.parent;return e}function Uw(){return de.lFrame.currentTNode}function Br(e,n){const t=de.lFrame;t.currentTNode=e,t.isParent=n}function zg(){return de.lFrame.isParent}function Wg(){de.lFrame.isParent=!1}function $w(){return de.lFrame.contextLView}function Ww(){return Hw}function qw(e){Hw=e}function wn(){const e=de.lFrame;let n=e.bindingRootIndex;return-1===n&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function Hr(){return de.lFrame.bindingIndex++}function Hi(e){const n=de.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function Bk(e,n){const t=de.lFrame;t.bindingIndex=t.bindingRootIndex=e,qg(n)}function qg(e){de.lFrame.currentDirectiveIndex=e}function Zg(e){const n=de.lFrame.currentDirectiveIndex;return-1===n?null:e[n]}function Af(e){de.lFrame.currentQueryIndex=e}function Gk(e){const n=e[B];return 2===n.type?n.declTNode:1===n.type?e[tn]:null}function Kw(e,n,t){if(t&ve.SkipSelf){let i=n,o=e;for(;!(i=i.parent,null!==i||t&ve.Host||(i=Gk(o),null===i||(o=o[Aa],10&i.type))););if(null===i)return!1;n=i,e=o}const r=de.lFrame=Xw();return r.currentTNode=n,r.lView=e,!0}function Kg(e){const n=Xw(),t=e[B];de.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function Xw(){const e=de.lFrame,n=null===e?null:e.child;return null===n?Qw(e):n}function Qw(e){const n={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=n),n}function Jw(){const e=de.lFrame;return de.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const eC=Jw;function Xg(){const e=Jw();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function nn(){return de.lFrame.selectedIndex}function hs(e){de.lFrame.selectedIndex=e}function tt(){const e=de.lFrame;return Vc(e.tView,e.selectedIndex)}let nC=!0;function Bc(){return nC}function gi(e){nC=e}function kf(e,n){for(let t=n.directiveStart,r=n.directiveEnd;t<r;t++){const o=e.data[t].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:u,ngAfterViewInit:c,ngAfterViewChecked:d,ngOnDestroy:f}=o;s&&(e.contentHooks??=[]).push(-t,s),u&&((e.contentHooks??=[]).push(t,u),(e.contentCheckHooks??=[]).push(t,u)),c&&(e.viewHooks??=[]).push(-t,c),d&&((e.viewHooks??=[]).push(t,d),(e.viewCheckHooks??=[]).push(t,d)),null!=f&&(e.destroyHooks??=[]).push(t,f)}}function xf(e,n,t){rC(e,n,3,t)}function Nf(e,n,t,r){(3&e[oe])===t&&rC(e,n,t,r)}function Qg(e,n){let t=e[oe];(3&t)===n&&(t&=16383,t+=1,e[oe]=t)}function rC(e,n,t,r){const o=r??-1,s=n.length-1;let u=0;for(let c=void 0!==r?65535&e[ka]:0;c<s;c++)if("number"==typeof n[c+1]){if(u=n[c],null!=r&&u>=r)break}else n[c]<0&&(e[ka]+=65536),(u<o||-1==o)&&(Yk(e,t,n,c),e[ka]=(4294901760&e[ka])+c+2),c++}function iC(e,n){mi(4,e,n);const t=ie(null);try{n.call(e)}finally{ie(t),mi(5,e,n)}}function Yk(e,n,t,r){const i=t[r]<0,o=t[r+1],u=e[i?-t[r]:t[r]];i?e[oe]>>14<e[ka]>>16&&(3&e[oe])===n&&(e[oe]+=16384,iC(u,o)):iC(u,o)}const Oa=-1;class Hc{constructor(n,t,r){this.factory=n,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=r}}const e0={};class ps{constructor(n,t){this.injector=n,this.parentInjector=t}get(n,t,r){r=v(r);const i=this.injector.get(n,e0,r);return i!==e0||t===e0?i:this.parentInjector.get(n,t,r)}}function t0(e){return e!==Oa}function Gc(e){return 32767&e}function Uc(e,n){let t=function Jk(e){return e>>16}(e),r=n;for(;t>0;)r=r[Aa],t--;return r}let n0=!0;function Of(e){const n=n0;return n0=e,n}const sC=255,aC=5;let tx=0;const yi={};function Rf(e,n){const t=uC(e,n);if(-1!==t)return t;const r=n[B];r.firstCreatePass&&(e.injectorIndex=n.length,r0(r.data,e),r0(n,null),r0(r.blueprint,null));const i=Ff(e,n),o=e.injectorIndex;if(t0(i)){const s=Gc(i),u=Uc(i,n),c=u[B].data;for(let d=0;d<8;d++)n[o+d]=u[s+d]|c[s+d]}return n[o+8]=i,o}function r0(e,n){e.push(0,0,0,0,0,0,0,0,n)}function uC(e,n){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===n[e.injectorIndex+8]?-1:e.injectorIndex}function Ff(e,n){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let t=0,r=null,i=n;for(;null!==i;){if(r=mC(i),null===r)return Oa;if(t++,i=i[Aa],-1!==r.injectorIndex)return r.injectorIndex|t<<16}return Oa}function o0(e,n,t){!function nx(e,n,t){let r;"string"==typeof t?r=t.charCodeAt(0)||0:t.hasOwnProperty(mo)&&(r=t[mo]),null==r&&(r=t[mo]=tx++);const i=r&sC;n.data[e+(i>>aC)]|=1<<i}(e,n,t)}function cC(e,n,t){if(t&ve.Optional||void 0!==e)return e;ba()}function lC(e,n,t,r){if(t&ve.Optional&&void 0===r&&(r=null),!(t&(ve.Self|ve.Host))){const i=e[Rt],o=Jt(void 0);try{return i?i.get(n,r,t&ve.Optional):kc(n,r,t&ve.Optional)}finally{Jt(o)}}return cC(r,0,t)}function dC(e,n,t,r=ve.Default,i){if(null!==e){if(2048&n[oe]&&!(r&ve.Self)){const s=function ax(e,n,t,r,i){let o=e,s=n;for(;null!==o&&null!==s&&2048&s[oe]&&!(512&s[oe]);){const u=fC(o,s,t,r|ve.Self,yi);if(u!==yi)return u;let c=o.parent;if(!c){const d=s[Tw];if(d){const f=d.get(t,yi,r);if(f!==yi)return f}c=mC(s),s=s[Aa]}o=c}return i}(e,n,t,r,yi);if(s!==yi)return s}const o=fC(e,n,t,r,yi);if(o!==yi)return o}return lC(n,t,r,i)}function fC(e,n,t,r,i){const o=function ox(e){if("string"==typeof e)return e.charCodeAt(0)||0;const n=e.hasOwnProperty(mo)?e[mo]:void 0;return"number"==typeof n?n>=0?n&sC:sx:n}(t);if("function"==typeof o){if(!Kw(n,e,r))return r&ve.Host?cC(i,0,r):lC(n,t,r,i);try{let s;if(s=o(r),null!=s||r&ve.Optional)return s;ba()}finally{eC()}}else if("number"==typeof o){let s=null,u=uC(e,n),c=Oa,d=r&ve.Host?n[mt][tn]:null;for((-1===u||r&ve.SkipSelf)&&(c=-1===u?Ff(e,n):n[u+8],c!==Oa&&pC(r,!1)?(s=n[B],u=Gc(c),n=Uc(c,n)):u=-1);-1!==u;){const f=n[B];if(hC(o,u,f.data)){const m=ix(u,n,t,s,r,d);if(m!==yi)return m}c=n[u+8],c!==Oa&&pC(r,n[B].data[u+8]===d)&&hC(o,u,n)?(s=f,u=Gc(c),n=Uc(c,n)):u=-1}}return i}function ix(e,n,t,r,i,o){const s=n[B],u=s.data[e+8],f=function Lf(e,n,t,r,i){const o=e.providerIndexes,s=n.data,u=1048575&o,c=e.directiveStart,f=o>>20,g=i?u+f:e.directiveEnd;for(let y=r?u:u+f;y<g;y++){const _=s[y];if(y<c&&t===_||y>=c&&_.type===t)return y}if(i){const y=s[c];if(y&&Vr(y)&&y.type===t)return c}return null}(u,s,t,null==r?ls(u)&&n0:r!=s&&!!(3&u.type),i&ve.Host&&o===u);return null!==f?ms(n,s,f,u):yi}function ms(e,n,t,r){let i=e[t];const o=n.data;if(function Kk(e){return e instanceof Hc}(i)){const s=i;s.resolving&&function Ht(e,n){throw n&&n.join(" > "),new k(-200,e)}(function Ee(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():W(e)}(o[t]));const u=Of(s.canSeeViewProviders);s.resolving=!0;const d=s.injectImpl?Jt(s.injectImpl):null;Kw(e,r,ve.Default);try{i=e[t]=s.factory(void 0,o,e,r),n.firstCreatePass&&t>=r.directiveStart&&function Zk(e,n,t){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=n.type.prototype;if(r){const s=Nw(n);(t.preOrderHooks??=[]).push(e,s),(t.preOrderCheckHooks??=[]).push(e,s)}i&&(t.preOrderHooks??=[]).push(0-e,i),o&&((t.preOrderHooks??=[]).push(e,o),(t.preOrderCheckHooks??=[]).push(e,o))}(t,o[t],n)}finally{null!==d&&Jt(d),Of(u),s.resolving=!1,eC()}}return i}function hC(e,n,t){return!!(t[n+(e>>aC)]&1<<e)}function pC(e,n){return!(e&ve.Self||e&ve.Host&&n)}class qt{constructor(n,t){this._tNode=n,this._lView=t}get(n,t,r){return dC(this._tNode,this._lView,n,v(r),t)}}function sx(){return new qt(qe(),x())}function rn(e){return xr(()=>{const n=e.prototype.constructor,t=n[yn]||s0(n),r=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){const o=i[yn]||s0(i);if(o&&o!==t)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function s0(e){return ho(e)?()=>{const n=s0(ae(e));return n&&n()}:vn(e)}function mC(e){const n=e[B],t=n.type;return 2===t?n.declTNode:1===t?e[tn]:null}const ux=ui("Attribute",e=>({attributeName:e,__NG_ELEMENT_ID__:()=>function Vf(e){return function rx(e,n){if("class"===n)return e.classes;if("style"===n)return e.styles;const t=e.attrs;if(t){const r=t.length;let i=0;for(;i<r;){const o=t[i];if(lw(o))break;if(0===o)i+=2;else if("number"==typeof o)for(i++;i<r&&"string"==typeof t[i];)i++;else{if(o===n)return t[i+1];i+=2}}}return null}(qe(),e)}(e)}));let gC=null;function jf(e){return yC(function a0(){return gC=gC||new wk}().parameters(e))}function yC(e){return e.map(n=>function cx(e){const n={token:null,attribute:null,host:!1,optional:!1,self:!1,skipSelf:!1};if(Array.isArray(e)&&e.length>0)for(let t=0;t<e.length;t++){const r=e[t];if(void 0===r)continue;const i=Object.getPrototypeOf(r);if(r instanceof We||"Optional"===i.ngMetadataName)n.optional=!0;else if(r instanceof Gt||"SkipSelf"===i.ngMetadataName)n.skipSelf=!0;else if(r instanceof ht||"Self"===i.ngMetadataName)n.self=!0;else if(r instanceof ss||"Host"===i.ngMetadataName)n.host=!0;else if(r instanceof K)n.token=r.token;else if(r instanceof ux){if(void 0===r.attributeName)throw new k(204,!1);n.attribute=r.attributeName}else n.token=r}else n.token=void 0===e||Array.isArray(e)&&0===e.length?null:e;return n}(n))}const dx=Be({provide:String,useValue:Be});function vC(e){return void 0!==e.useClass}function _C(e){return void 0!==e.useFactory}const mx=fa("Injectable",void 0,void 0,void 0,(e,n)=>function lx(e,n){let t=null,r=null;e.hasOwnProperty(ga)||Object.defineProperty(e,ga,{get:()=>(null===t&&(t=zt().compileInjectable(Dw,`ng:///${e.name}/\u0275prov.js`,function px(e,n){const t=n||{providedIn:null},r={name:e.name,type:e,typeArgumentCount:0,providedIn:t.providedIn};return(vC(t)||_C(t))&&void 0!==t.deps&&(r.deps=yC(t.deps)),vC(t)?r.useClass=t.useClass:function fx(e){return dx in e}(t)?r.useValue=t.useValue:_C(t)?r.useFactory=t.useFactory:function hx(e){return void 0!==e.useExisting}(t)&&(r.useExisting=t.useExisting),r}(e,n))),t)}),e.hasOwnProperty(yn)||Object.defineProperty(e,yn,{get:()=>{if(null===r){const i=zt();r=i.compileFactory(Dw,`ng:///${e.name}/\u0275fac.js`,{name:e.name,type:e,typeArgumentCount:0,deps:jf(e),target:i.FactoryTarget.Injectable})}return r},configurable:!0})}(e,n));function bC(e,n=null,t=null,r){const i=wC(e,n,t,r);return i.resolveInjectorInitializers(),i}function wC(e,n=null,t=null,r,i=new Set){const o=[t||ke,rk(e)];return r=r||("object"==typeof e?void 0:wt(e)),new Ta(o,n||bf(),r||null,i)}class Ke{static#e=this.THROW_IF_NOT_FOUND=os;static#t=this.NULL=new mf;static create(n,t){if(Array.isArray(n))return bC({name:""},t,n,"");{const r=n.name??"";return bC({name:r},n.parent,n.providers,r)}}static#n=this.\u0275prov=q({token:Ke,providedIn:"any",factory:()=>l(cw)});static#r=this.__NG_ELEMENT_ID__=-1}new $("").__NG_ELEMENT_ID__=e=>{const n=qe();if(null===n)throw new k(204,!1);if(2&n.type)return n.value;if(e&ve.Optional)return null;throw new k(204,!1)};function u0(e){return e.ngOriginalError}const EC=!0;let $c=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=vx;static#t=this.__NG_ENV_ID__=t=>t}return e})();class yx extends $c{constructor(n){super(),this._lView=n}onDestroy(n){return If(this._lView,n),()=>function Ug(e,n){if(null===e[yo])return;const t=e[yo].indexOf(n);-1!==t&&e[yo].splice(t,1)}(this._lView,n)}}function vx(){return new yx(x())}let gs=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new ec(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const t=this.taskId++;return this.pendingTasks.add(t),t}remove(t){this.pendingTasks.delete(t),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static#e=this.\u0275prov=q({token:e,providedIn:"root",factory:()=>new e})}return e})();const ct=class _x extends bt{constructor(n=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=n,Ew()&&(this.destroyRef=p($c,{optional:!0})??void 0,this.pendingTasks=p(gs,{optional:!0})??void 0)}emit(n){const t=ie(null);try{super.next(n)}finally{ie(t)}}subscribe(n,t,r){let i=n,o=t||(()=>null),s=r;if(n&&"object"==typeof n){const c=n;i=c.next?.bind(c),o=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(o=this.wrapInTimeout(o),i&&(i=this.wrapInTimeout(i)),s&&(s=this.wrapInTimeout(s)));const u=super.subscribe({next:i,error:o,complete:s});return n instanceof cn&&n.add(u),u}wrapInTimeout(n){return t=>{const r=this.pendingTasks?.add();setTimeout(()=>{n(t),void 0!==r&&this.pendingTasks?.remove(r)})}}};function Bf(...e){}function DC(e){let n,t;function r(){e=Bf;try{void 0!==t&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(t),void 0!==n&&clearTimeout(n)}catch{}}return n=setTimeout(()=>{e(),r()}),"function"==typeof requestAnimationFrame&&(t=requestAnimationFrame(()=>{e(),r()})),()=>r()}function SC(e){return queueMicrotask(()=>e()),()=>{e=Bf}}const c0="isAngularZone",Hf=c0+"_ID";let bx=0;class Re{constructor(n){this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ct(!1),this.onMicrotaskEmpty=new ct(!1),this.onStable=new ct(!1),this.onError=new ct(!1);const{enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:i=!1,scheduleInRootZone:o=EC}=n;if(typeof Zone>"u")throw new k(908,!1);Zone.assertZonePatched();const s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!i&&r,s.shouldCoalesceRunChangeDetection=i,s.callbackScheduled=!1,s.scheduleInRootZone=o,function Ex(e){const n=()=>{!function Cx(e){function n(){DC(()=>{e.callbackScheduled=!1,d0(e),e.isCheckStableRunning=!0,l0(e),e.isCheckStableRunning=!1})}e.isCheckStableRunning||e.callbackScheduled||(e.callbackScheduled=!0,e.scheduleInRootZone?Zone.root.run(()=>{n()}):e._outer.run(()=>{n()}),d0(e))}(e)},t=bx++;e._inner=e._inner.fork({name:"angular",properties:{[c0]:!0,[Hf]:t,[Hf+t]:!0},onInvokeTask:(r,i,o,s,u,c)=>{if(function Dx(e){return IC(e,"__ignore_ng_zone__")}(c))return r.invokeTask(o,s,u,c);try{return TC(e),r.invokeTask(o,s,u,c)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||e.shouldCoalesceRunChangeDetection)&&n(),MC(e)}},onInvoke:(r,i,o,s,u,c,d)=>{try{return TC(e),r.invoke(o,s,u,c,d)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!function Sx(e){return IC(e,"__scheduler_tick__")}(c)&&n(),MC(e)}},onHasTask:(r,i,o,s)=>{r.hasTask(o,s),i===o&&("microTask"==s.change?(e._hasPendingMicrotasks=s.microTask,d0(e),l0(e)):"macroTask"==s.change&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,i,o,s)=>(r.handleError(o,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}(s)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get(c0)}static assertInAngularZone(){if(!Re.isInAngularZone())throw new k(909,!1)}static assertNotInAngularZone(){if(Re.isInAngularZone())throw new k(909,!1)}run(n,t,r){return this._inner.run(n,t,r)}runTask(n,t,r,i){const o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+i,n,wx,Bf,Bf);try{return o.runTask(s,t,r)}finally{o.cancelTask(s)}}runGuarded(n,t,r){return this._inner.runGuarded(n,t,r)}runOutsideAngular(n){return this._outer.run(n)}}const wx={};function l0(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function d0(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&!0===e.callbackScheduled)}function TC(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function MC(e){e._nesting--,l0(e)}class f0{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ct,this.onMicrotaskEmpty=new ct,this.onStable=new ct,this.onError=new ct}run(n,t,r){return n.apply(t,r)}runGuarded(n,t,r){return n.apply(t,r)}runOutsideAngular(n){return n()}runTask(n,t,r,i){return n.apply(t,r)}}function IC(e,n){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0]?.data?.[n]}class vi{constructor(){this._console=console}handleError(n){const t=this._findOriginalError(n);this._console.error("ERROR",n),t&&this._console.error("ORIGINAL ERROR",t)}_findOriginalError(n){let t=n&&u0(n);for(;t&&u0(t);)t=u0(t);return t||null}}const Mx=new $("",{providedIn:"root",factory:()=>{const e=p(Re),n=p(vi);return t=>e.runOutsideAngular(()=>n.handleError(t))}});function Ix(){return La(qe(),x())}function La(e,n){return new Ln(bn(e,n))}let Ln=(()=>{class e{constructor(t){this.nativeElement=t}static#e=this.__NG_ELEMENT_ID__=Ix}return e})();function Wc(e){return!(128&~e.flags)}Symbol;const m0=new Map;let kx=0;function g0(e){m0.delete(e[xa])}const Gf="__ngContext__";function fn(e,n){Wt(n)?(e[Gf]=n[xa],function Nx(e){m0.set(e[xa],e)}(n)):e[Gf]=n}function BC(e){return GC(e[Oc])}function HC(e){return GC(e[Lr])}function GC(e){for(;null!==e&&!dn(e);)e=e[Lr];return e}let v0;function vo(){if(void 0!==v0)return v0;if(typeof document<"u")return document;throw new k(210,!1)}const ja=new $("",{providedIn:"root",factory:()=>Kx}),Kx="ng",KC=new $(""),Gi=new $("",{providedIn:"platform",factory:()=>"unknown"}),XC=new $(""),QC=new $("",{providedIn:"root",factory:()=>vo().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let JC=()=>null;function S0(e,n,t=!1){return JC(e,n,t)}const a1=new $("",{providedIn:"root",factory:()=>!1});let Xf,Qf;function Ga(e){return function A0(){if(void 0===Xf&&(Xf=null,Ze.trustedTypes))try{Xf=Ze.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Xf}()?.createHTML(e)||e}function l1(e){return function k0(){if(void 0===Qf&&(Qf=null,Ze.trustedTypes))try{Qf=Ze.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Qf}()?.createHTML(e)||e}class vs{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Jd})`}}class lN extends vs{getTypeName(){return"HTML"}}class dN extends vs{getTypeName(){return"Style"}}class fN extends vs{getTypeName(){return"Script"}}class hN extends vs{getTypeName(){return"URL"}}class pN extends vs{getTypeName(){return"ResourceURL"}}function qn(e){return e instanceof vs?e.changingThisBreaksApplicationSecurity:e}function _i(e,n){const t=function mN(e){return e instanceof vs&&e.getTypeName()||null}(e);if(null!=t&&t!==n){if("ResourceURL"===t&&"URL"===n)return!0;throw new Error(`Required a safe ${n}, got a ${t} (see ${Jd})`)}return t===n}class wN{constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n="<body><remove></remove>"+n;try{const t=(new window.DOMParser).parseFromString(Ga(n),"text/html").body;return null===t?this.inertDocumentHelper.getInertBodyElement(n):(t.firstChild?.remove(),t)}catch{return null}}}class CN{constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){const t=this.inertDocument.createElement("template");return t.innerHTML=Ga(n),t}}const DN=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Jf(e){return(e=String(e)).match(DN)?e:"unsafe:"+e}function Ui(e){const n={};for(const t of e.split(","))n[t]=!0;return n}function Jc(...e){const n={};for(const t of e)for(const r in t)t.hasOwnProperty(r)&&(n[r]=!0);return n}const p1=Ui("area,br,col,hr,img,wbr"),m1=Ui("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),g1=Ui("rp,rt"),x0=Jc(p1,Jc(m1,Ui("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Jc(g1,Ui("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Jc(g1,m1)),N0=Ui("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),y1=Jc(N0,Ui("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Ui("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),SN=Ui("script,style,template");class TN{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(n){let t=n.firstChild,r=!0,i=[];for(;t;)if(t.nodeType===Node.ELEMENT_NODE?r=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,r&&t.firstChild)i.push(t),t=PN(t);else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let o=IN(t);if(o){t=o;break}t=i.pop()}return this.buf.join("")}startElement(n){const t=v1(n).toLowerCase();if(!x0.hasOwnProperty(t))return this.sanitizedSomething=!0,!SN.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const r=n.attributes;for(let i=0;i<r.length;i++){const o=r.item(i),s=o.name,u=s.toLowerCase();if(!y1.hasOwnProperty(u)){this.sanitizedSomething=!0;continue}let c=o.value;N0[u]&&(c=Jf(c)),this.buf.push(" ",s,'="',b1(c),'"')}return this.buf.push(">"),!0}endElement(n){const t=v1(n).toLowerCase();x0.hasOwnProperty(t)&&!p1.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(n){this.buf.push(b1(n))}}function IN(e){const n=e.nextSibling;if(n&&e!==n.previousSibling)throw _1(n);return n}function PN(e){const n=e.firstChild;if(n&&function MN(e,n){return(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(e,n))throw _1(n);return n}function v1(e){const n=e.nodeName;return"string"==typeof n?n:"FORM"}function _1(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}const AN=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,kN=/([^\#-~ |!])/g;function b1(e){return e.replace(/&/g,"&amp;").replace(AN,function(n){return"&#"+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+";"}).replace(kN,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let eh;function w1(e,n){let t=null;try{eh=eh||function h1(e){const n=new CN(e);return function EN(){try{return!!(new window.DOMParser).parseFromString(Ga(""),"text/html")}catch{return!1}}()?new wN(n):n}(e);let r=n?String(n):"";t=eh.getInertBodyElement(r);let i=5,o=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=o,o=t.innerHTML,t=eh.getInertBodyElement(r)}while(r!==o);return Ga((new TN).sanitizeChildren(O0(t)||t))}finally{if(t){const r=O0(t)||t;for(;r.firstChild;)r.firstChild.remove()}}}function O0(e){return"content"in e&&function xN(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Zn=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(Zn||{});function _o(e){const n=tl();return n?l1(n.sanitize(Zn.HTML,e)||""):_i(e,"HTML")?l1(qn(e)):w1(vo(),W(e))}function el(e){const n=tl();return n?n.sanitize(Zn.URL,e)||"":_i(e,"URL")?qn(e):Jf(W(e))}function tl(){const e=x();return e&&e[hi].sanitizer}const jN=/^>|^->|<!--|-->|--!>|<!-$/g,BN=/(<|>)/g,HN="\u200b$1\u200b";function M1(e){return e.ownerDocument}var bo=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(bo||{});let L0;function V0(e,n){return L0(e,n)}function $a(e,n,t,r,i){if(null!=r){let o,s=!1;dn(r)?o=r:Wt(r)&&(s=!0,r=r[pt]);const u=xe(r);0===e&&null!==t?null==i?F1(n,t,u):_s(n,t,u,i||null,!0):1===e&&null!==t?_s(n,t,u,i||null,!0):2===e?function rl(e,n,t){e.removeChild(null,n,t)}(n,u,s):3===e&&n.destroyNode(u),null!=o&&function s2(e,n,t,r,i){const o=t[pi];o!==xe(t)&&$a(n,e,r,o,i);for(let u=Tt;u<t.length;u++){const c=t[u];sh(c[B],c,e,n,r,o)}}(n,e,o,t,i)}}function B0(e,n){return e.createComment(function E1(e){return e.replace(jN,n=>n.replace(BN,HN))}(n))}function rh(e,n,t){return e.createElement(n,t)}function N1(e,n){n[hi].changeDetectionScheduler?.notify(9),sh(e,n,n[le],2,null,null)}function O1(e,n){const t=e[Na],r=n[Ot];(Wt(r)||n[mt]!==r[Ot][mt])&&(e[oe]|=Df.HasTransplantedViews),null===t?e[Na]=[n]:t.push(n)}function H0(e,n){const t=e[Na],r=t.indexOf(n);t.splice(r,1)}function nl(e,n){if(e.length<=Tt)return;const t=Tt+n,r=e[t];if(r){const i=r[cs];null!==i&&i!==e&&H0(i,r),n>0&&(e[t-1][Lr]=r[Lr]);const o=hf(e,Tt+n);!function QN(e,n){N1(e,n),n[pt]=null,n[tn]=null}(r[B],r);const s=o[Vi];null!==s&&s.detachView(o[B]),r[Ot]=null,r[Lr]=null,r[oe]&=-129}return r}function ih(e,n){if(!(256&n[oe])){const t=n[le];t.destroyNode&&sh(e,n,t,3,null,null),function e2(e){let n=e[Oc];if(!n)return G0(e[B],e);for(;n;){let t=null;if(Wt(n))t=n[Oc];else{const r=n[Tt];r&&(t=r)}if(!t){for(;n&&!n[Lr]&&n!==e;)Wt(n)&&G0(n[B],n),n=n[Ot];null===n&&(n=e),Wt(n)&&G0(n[B],n),t=n&&n[Lr]}n=t}}(n)}}function G0(e,n){if(256&n[oe])return;const t=ie(null);try{n[oe]&=-129,n[oe]|=256,n[lr]&&no(n[lr]),function r2(e,n){let t;if(null!=e&&null!=(t=e.destroyHooks))for(let r=0;r<t.length;r+=2){const i=n[t[r]];if(!(i instanceof Hc)){const o=t[r+1];if(Array.isArray(o))for(let s=0;s<o.length;s+=2){const u=i[o[s]],c=o[s+1];mi(4,u,c);try{c.call(u)}finally{mi(5,u,c)}}else{mi(4,i,o);try{o.call(i)}finally{mi(5,i,o)}}}}}(e,n),function n2(e,n){const t=e.cleanup,r=n[Pa];if(null!==t)for(let o=0;o<t.length-1;o+=2)if("string"==typeof t[o]){const s=t[o+3];s>=0?r[s]():r[-s].unsubscribe(),o+=2}else t[o].call(r[t[o+1]]);null!==r&&(n[Pa]=null);const i=n[yo];if(null!==i){n[yo]=null;for(let o=0;o<i.length;o++)(0,i[o])()}}(e,n),1===n[B].type&&n[le].destroy();const r=n[cs];if(null!==r&&dn(n[Ot])){r!==n[Ot]&&H0(r,n);const i=n[Vi];null!==i&&i.detachView(e)}g0(n)}finally{ie(t)}}function U0(e,n,t){return function R1(e,n,t){let r=n;for(;null!==r&&168&r.type;)r=(n=r).parent;if(null===r)return t[pt];{const{componentOffset:i}=r;if(i>-1){const{encapsulation:o}=e.data[r.directiveStart+i];if(o===Rr.None||o===Rr.Emulated)return null}return bn(r,t)}}(e,n.parent,t)}function _s(e,n,t,r,i){e.insertBefore(n,t,r,i)}function F1(e,n,t){e.appendChild(n,t)}function L1(e,n,t,r,i){null!==r?_s(e,n,t,r,i):F1(e,n,t)}function $0(e,n){return e.parentNode(n)}function V1(e,n,t){return B1(e,n,t)}let z0,B1=function j1(e,n,t){return 40&e.type?bn(e,t):null};function oh(e,n,t,r){const i=U0(e,r,n),o=n[le],u=V1(r.parent||n[tn],r,n);if(null!=i)if(Array.isArray(t))for(let c=0;c<t.length;c++)L1(o,i,t[c],u,!1);else L1(o,i,t,u,!1);void 0!==z0&&z0(o,r,n,t,i)}function bs(e,n){if(null!==n){const t=n.type;if(3&t)return bn(n,e);if(4&t)return W0(-1,e[n.index]);if(8&t){const r=n.child;if(null!==r)return bs(e,r);{const i=e[n.index];return dn(i)?W0(-1,i):xe(i)}}if(128&t)return bs(e,n.next);if(32&t)return V0(n,e)()||xe(e[n.index]);{const r=G1(e,n);return null!==r?Array.isArray(r)?r[0]:bs(ji(e[mt]),r):bs(e,n.next)}}return null}function G1(e,n){return null!==n?e[mt][tn].projection[n.projection]:null}function W0(e,n){const t=Tt+e+1;if(t<n.length){const r=n[t],i=r[B].firstChild;if(null!==i)return bs(r,i)}return n[pi]}function q0(e,n,t,r,i,o,s){for(;null!=t;){if(128===t.type){t=t.next;continue}const u=r[t.index],c=t.type;if(s&&0===n&&(u&&fn(xe(u),r),t.flags|=2),32&~t.flags)if(8&c)q0(e,n,t.child,r,i,o,!1),$a(n,e,i,u,o);else if(32&c){const d=V0(t,r);let f;for(;f=d();)$a(n,e,i,f,o);$a(n,e,i,u,o)}else 16&c?$1(e,n,r,t,i,o):$a(n,e,i,u,o);t=s?t.projectionNext:t.next}}function sh(e,n,t,r,i,o){q0(t,r,e.firstChild,n,i,o,!1)}function $1(e,n,t,r,i,o){const s=t[mt],c=s[tn].projection[r.projection];if(Array.isArray(c))for(let d=0;d<c.length;d++)$a(n,e,i,c[d],o);else{let d=c;const f=s[Ot];Wc(r)&&(d.flags|=128),q0(e,n,d,f,i,o,!0)}}function z1(e,n,t){""===t?e.removeAttribute(n,"class"):e.setAttribute(n,"class",t)}function W1(e,n,t){const{mergedAttrs:r,classes:i,styles:o}=t;null!==r&&Dg(e,n,r),null!==i&&z1(e,n,i),null!==o&&function u2(e,n,t){e.setAttribute(n,"style",t)}(e,n,o)}const pe={};function N(e=1){q1(ge(),x(),nn()+e,!1)}function q1(e,n,t,r){if(!r)if(3&~n[oe]){const o=e.preOrderHooks;null!==o&&Nf(n,o,0,t)}else{const o=e.preOrderCheckHooks;null!==o&&xf(n,o,t)}hs(t)}function P(e,n=ve.Default){const t=x();return null===t?l(e,n):dC(qe(),t,ae(e),n)}function Z1(e,n,t,r,i,o){const s=ie(null);try{let u=null;i&go.SignalBased&&(u=n[r][z]),null!==u&&void 0!==u.transformFn&&(o=u.transformFn(o)),i&go.HasDecoratorInputTransform&&(o=e.inputTransforms[r].call(n,o)),null!==e.setInput?e.setInput(n,u,o,t,r):xw(n,u,r,o)}finally{ie(s)}}function ah(e,n,t,r,i,o,s,u,c,d,f){const m=n.blueprint.slice();return m[pt]=i,m[oe]=204|r,(null!==d||e&&2048&e[oe])&&(m[oe]|=2048),Vw(m),m[Ot]=m[Aa]=e,m[et]=t,m[hi]=s||e&&e[hi],m[le]=u||e&&e[le],m[Rt]=c||e&&e[Rt]||null,m[tn]=o,m[xa]=function xx(){return kx++}(),m[_n]=f,m[Tw]=d,m[mt]=2==n.type?e[mt]:m,m}function ws(e,n,t,r,i){let o=e.data[n];if(null===o)o=function Z0(e,n,t,r,i){const o=Uw(),s=zg(),c=e.data[n]=function y2(e,n,t,r,i,o){let s=n?n.injectorIndex:-1,u=0;return fs()&&(u|=128),{type:t,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:u,providerIndexes:0,value:i,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,s?o:o&&o.parent,t,n,r,i);return null===e.firstChild&&(e.firstChild=c),null!==o&&(s?null==o.child&&null!==c.parent&&(o.child=c):null===o.next&&(o.next=c,c.prev=o)),c}(e,n,t,r,i),function jk(){return de.lFrame.inI18n}()&&(o.flags|=32);else if(64&o.type){o.type=t,o.value=r,o.attrs=i;const s=function jc(){const e=de.lFrame,n=e.currentTNode;return e.isParent?n:n.parent}();o.injectorIndex=null===s?-1:s.injectorIndex}return Br(o,!0),o}function il(e,n,t,r){if(0===t)return-1;const i=n.length;for(let o=0;o<t;o++)n.push(r),e.blueprint.push(r),e.data.push(null);return i}function Y1(e,n,t,r,i){const o=nn(),s=2&r;try{hs(-1),s&&n.length>J&&q1(e,n,J,!1),mi(s?2:0,i),t(r,i)}finally{hs(o),mi(s?3:1,i)}}function Y0(e,n,t){if(Fg(n)){const r=ie(null);try{const o=n.directiveEnd;for(let s=n.directiveStart;s<o;s++){const u=e.data[s];u.contentQueries&&u.contentQueries(1,t[s],s)}}finally{ie(r)}}}function K0(e,n,t){Gw()&&(function D2(e,n,t,r){const i=t.directiveStart,o=t.directiveEnd;ls(t)&&function k2(e,n,t){const r=bn(n,e),i=K1(t);let s=16;t.signals?s=4096:t.onPush&&(s=64);const u=uh(e,ah(e,i,null,s,r,n,null,e[hi].rendererFactory.createRenderer(r,t),null,null,null));e[n.index]=u}(n,t,e.data[i+t.componentOffset]),e.firstCreatePass||Rf(t,n),fn(r,n);const s=t.initialInputs;for(let u=i;u<o;u++){const c=e.data[u],d=ms(n,e,u,t);fn(d,n),null!==s&&x2(0,u-i,d,c,0,s),Vr(c)&&(Wn(t.index,n)[et]=ms(n,e,u,t))}}(e,n,t,bn(t,n)),!(64&~t.flags)&&tE(e,n,t))}function X0(e,n,t=bn){const r=n.localNames;if(null!==r){let i=n.index+1;for(let o=0;o<r.length;o+=2){const s=r[o+1],u=-1===s?t(n,e):e[s];e[i++]=u}}}function K1(e){const n=e.tView;return null===n||n.incompleteFirstPass?e.tView=Q0(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):n}function Q0(e,n,t,r,i,o,s,u,c,d,f){const m=J+r,g=m+i,y=function d2(e,n){const t=[];for(let r=0;r<n;r++)t.push(r<e?null:pe);return t}(m,g),_="function"==typeof d?d():d;return y[B]={type:e,blueprint:y,template:t,queries:null,viewQuery:u,declTNode:n,data:y.slice().fill(null,m),bindingStartIndex:m,expandoStartIndex:g,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof o?o():o,pipeRegistry:"function"==typeof s?s():s,firstChild:null,schemas:c,consts:_,incompleteFirstPass:!1,ssrId:f}}let X1=()=>null;function Q1(e,n,t,r,i){for(let o in n){if(!n.hasOwnProperty(o))continue;const s=n[o];if(void 0===s)continue;r??={};let u,c=go.None;Array.isArray(s)?(u=s[0],c=s[1]):u=s;let d=o;if(null!==i){if(!i.hasOwnProperty(o))continue;d=i[o]}0===e?J1(r,t,d,u,c):J1(r,t,d,u)}return r}function J1(e,n,t,r,i){let o;e.hasOwnProperty(t)?(o=e[t]).push(n,r):o=e[t]=[n,r],void 0!==i&&o.push(i)}function jn(e,n,t,r,i,o,s,u){const c=bn(n,t);let f,d=n.inputs;!u&&null!=d&&(f=d[r])?(ry(e,t,f,r,i),ls(n)&&function b2(e,n){const t=Wn(n,e);16&t[oe]||(t[oe]|=64)}(t,n.index)):3&n.type&&(r=function _2(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),i=null!=s?s(i,n.value||"",r):i,o.setProperty(c,r,i))}function J0(e,n,t,r){if(Gw()){const i=null===r?null:{"":-1},o=function T2(e,n){const t=e.directiveRegistry;let r=null,i=null;if(t)for(let o=0;o<t.length;o++){const s=t[o];if(pw(n,s.selectors,!1))if(r||(r=[]),Vr(s))if(null!==s.findHostDirectiveDefs){const u=[];i=i||new Map,s.findHostDirectiveDefs(s,u,i),r.unshift(...u,s),ey(e,n,u.length)}else r.unshift(s),ey(e,n,0);else i=i||new Map,s.findHostDirectiveDefs?.(s,r,i),r.push(s)}return null===r?null:[r,i]}(e,t);let s,u;null===o?s=u=null:[s,u]=o,null!==s&&eE(e,n,t,s,i,u),i&&function M2(e,n,t){if(n){const r=e.localNames=[];for(let i=0;i<n.length;i+=2){const o=t[n[i+1]];if(null==o)throw new k(-301,!1);r.push(n[i],o)}}}(t,r,i)}t.mergedAttrs=xc(t.mergedAttrs,t.attrs)}function eE(e,n,t,r,i,o){for(let d=0;d<r.length;d++)o0(Rf(t,n),e,r[d].type);!function P2(e,n,t){e.flags|=1,e.directiveStart=n,e.directiveEnd=n+t,e.providerIndexes=n}(t,e.data.length,r.length);for(let d=0;d<r.length;d++){const f=r[d];f.providersResolver&&f.providersResolver(f)}let s=!1,u=!1,c=il(e,n,r.length,null);for(let d=0;d<r.length;d++){const f=r[d];t.mergedAttrs=xc(t.mergedAttrs,f.hostAttrs),A2(e,t,n,c,f),I2(c,f,i),null!==f.contentQueries&&(t.flags|=4),(null!==f.hostBindings||null!==f.hostAttrs||0!==f.hostVars)&&(t.flags|=64);const m=f.type.prototype;!s&&(m.ngOnChanges||m.ngOnInit||m.ngDoCheck)&&((e.preOrderHooks??=[]).push(t.index),s=!0),!u&&(m.ngOnChanges||m.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(t.index),u=!0),c++}!function v2(e,n,t){const i=n.directiveEnd,o=e.data,s=n.attrs,u=[];let c=null,d=null;for(let f=n.directiveStart;f<i;f++){const m=o[f],g=t?t.get(m):null,_=g?g.outputs:null;c=Q1(0,m.inputs,f,c,g?g.inputs:null),d=Q1(1,m.outputs,f,d,_);const C=null===c||null===s||Sg(n)?null:N2(c,f,s);u.push(C)}null!==c&&(c.hasOwnProperty("class")&&(n.flags|=8),c.hasOwnProperty("style")&&(n.flags|=16)),n.initialInputs=u,n.inputs=c,n.outputs=d}(e,t,o)}function tE(e,n,t){const r=t.directiveStart,i=t.directiveEnd,o=t.index,s=function Hk(){return de.lFrame.currentDirectiveIndex}();try{hs(o);for(let u=r;u<i;u++){const c=e.data[u],d=n[u];qg(u),(null!==c.hostBindings||0!==c.hostVars||null!==c.hostAttrs)&&S2(c,d)}}finally{hs(-1),qg(s)}}function S2(e,n){null!==e.hostBindings&&e.hostBindings(1,n)}function ey(e,n,t){n.componentOffset=t,(e.components??=[]).push(n.index)}function I2(e,n,t){if(t){if(n.exportAs)for(let r=0;r<n.exportAs.length;r++)t[n.exportAs[r]]=e;Vr(n)&&(t[""]=e)}}function A2(e,n,t,r,i){e.data[r]=i;const o=i.factory||(i.factory=vn(i.type)),s=new Hc(o,Vr(i),P);e.blueprint[r]=s,t[r]=s,function C2(e,n,t,r,i){const o=i.hostBindings;if(o){let s=e.hostBindingOpCodes;null===s&&(s=e.hostBindingOpCodes=[]);const u=~n.index;(function E2(e){let n=e.length;for(;n>0;){const t=e[--n];if("number"==typeof t&&t<0)return t}return 0})(s)!=u&&s.push(u),s.push(t,r,o)}}(e,n,r,il(e,t,i.hostVars,pe),i)}function bi(e,n,t,r,i,o){const s=bn(e,n);!function ty(e,n,t,r,i,o,s){if(null==o)e.removeAttribute(n,i,t);else{const u=null==s?W(o):s(o,r||"",i);e.setAttribute(n,i,u,t)}}(n[le],s,o,e.value,t,r,i)}function x2(e,n,t,r,i,o){const s=o[n];if(null!==s)for(let u=0;u<s.length;)Z1(r,t,s[u++],s[u++],s[u++],s[u++])}function N2(e,n,t){let r=null,i=0;for(;i<t.length;){const o=t[i];if(0!==o)if(5!==o){if("number"==typeof o)break;if(e.hasOwnProperty(o)){null===r&&(r=[]);const s=e[o];for(let u=0;u<s.length;u+=3)if(s[u]===n){r.push(o,s[u+1],s[u+2],t[i+1]);break}}i+=2}else i+=2;else i+=4}return r}function nE(e,n,t,r){return[e,!0,0,n,null,r,null,t,null,null]}function rE(e,n){const t=e.contentQueries;if(null!==t){const r=ie(null);try{for(let i=0;i<t.length;i+=2){const s=t[i+1];if(-1!==s){const u=e.data[s];Af(t[i]),u.contentQueries(2,n[s],s)}}}finally{ie(r)}}}function uh(e,n){return e[Oc]?e[Sw][Lr]=n:e[Oc]=n,e[Sw]=n,n}function ny(e,n,t){Af(0);const r=ie(null);try{n(e,t)}finally{ie(r)}}function sE(e,n,t){return(null===e||Vr(e))&&(t=function Bg(e){for(;Array.isArray(e);){if("object"==typeof e[Rg])return e;e=e[pt]}return null}(t[n.index])),t[le]}function ch(e,n){const t=e[Rt],r=t?t.get(vi,null):null;r&&r.handleError(n)}function ry(e,n,t,r,i){for(let o=0;o<t.length;){const s=t[o++],u=t[o++],c=t[o++];Z1(e.data[s],n[s],r,u,c,i)}}function O2(e,n){const t=Wn(n,e),r=t[B];!function R2(e,n){for(let t=n.length;t<e.blueprint.length;t++)n.push(e.blueprint[t])}(r,t);const i=t[pt];null!==i&&null===t[_n]&&(t[_n]=S0(i,t[Rt])),iy(r,t,t[et])}function iy(e,n,t){Kg(n);try{const r=e.viewQuery;null!==r&&ny(1,r,t);const i=e.template;null!==i&&Y1(e,n,i,1,t),e.firstCreatePass&&(e.firstCreatePass=!1),n[Vi]?.finishViewCreation(e),e.staticContentQueries&&rE(e,n),e.staticViewQueries&&ny(2,e.viewQuery,t);const o=e.components;null!==o&&function F2(e,n){for(let t=0;t<n.length;t++)O2(e,n[t])}(n,o)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{n[oe]&=-5,Xg()}}function za(e,n,t,r){const i=ie(null);try{const o=n.tView,c=ah(e,o,t,4096&e[oe]?4096:16,null,n,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null);c[cs]=e[n.index];const f=e[Vi];return null!==f&&(c[Vi]=f.createEmbeddedView(o)),iy(o,c,t),c}finally{ie(i)}}function aE(e,n){const t=Tt+n;if(t<e.length)return e[t]}function Cs(e,n){return!n||null===n.firstChild||Wc(e)}function Wa(e,n,t,r=!0){const i=n[B];if(function t2(e,n,t,r){const i=Tt+r,o=t.length;r>0&&(t[i-1][Lr]=n),r<o-Tt?(n[Lr]=t[i],sw(t,Tt+r,n)):(t.push(n),n[Lr]=null),n[Ot]=t;const s=n[cs];null!==s&&t!==s&&O1(s,n);const u=n[Vi];null!==u&&u.insertView(e),Gg(n),n[oe]|=128}(i,n,e,t),r){const s=W0(t,e),u=n[le],c=$0(u,e[pi]);null!==c&&function JN(e,n,t,r,i,o){r[pt]=i,r[tn]=n,sh(e,r,t,1,i,o)}(i,e[tn],u,n,c,s)}const o=n[_n];null!==o&&null!==o.firstChild&&(o.firstChild=null)}function oy(e,n){const t=nl(e,n);return void 0!==t&&ih(t[B],t),t}function ol(e,n,t,r,i=!1){for(;null!==t;){if(128===t.type){t=i?t.projectionNext:t.next;continue}const o=n[t.index];null!==o&&r.push(xe(o)),dn(o)&&uE(o,r);const s=t.type;if(8&s)ol(e,n,t.child,r);else if(32&s){const u=V0(t,n);let c;for(;c=u();)r.push(c)}else if(16&s){const u=G1(n,t);if(Array.isArray(u))r.push(...u);else{const c=ji(n[mt]);ol(c[B],c,u,r,!0)}}t=i?t.projectionNext:t.next}return r}function uE(e,n){for(let t=Tt;t<e.length;t++){const r=e[t],i=r[B].firstChild;null!==i&&ol(r[B],r,i,n)}e[pi]!==e[pt]&&n.push(e[pi])}let cE=[];const B2={...jt,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{Mf(e.lView)},consumerOnSignalRead(){this.lView[lr]=this}},G2={...jt,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{let n=ji(e.lView);for(;n&&!lE(n[B]);)n=ji(n);n&&jw(n)},consumerOnSignalRead(){this.lView[lr]=this}};function lE(e){return 2!==e.type}const U2=100;function lh(e,n=!0,t=0){const r=e[hi],i=r.rendererFactory;i.begin?.();try{!function $2(e,n){const t=Ww();try{qw(!0),sy(e,n);let r=0;for(;Tf(e);){if(r===U2)throw new k(103,!1);r++,sy(e,1)}}finally{qw(t)}}(e,t)}catch(s){throw n&&ch(e,s),s}finally{i.end?.(),r.inlineEffectRunner?.flush()}}function z2(e,n,t,r){const i=n[oe];if(!(256&~i))return;n[hi].inlineEffectRunner?.flush(),Kg(n);let u=!0,c=null,d=null;lE(e)?(d=function L2(e){return e[lr]??function V2(e){const n=cE.pop()??Object.create(B2);return n.lView=e,n}(e)}(n),c=Ye(d)):null===function H(){return Me}()?(u=!1,d=function H2(e){const n=e[lr]??Object.create(G2);return n.lView=e,n}(n),c=Ye(d)):n[lr]&&(no(n[lr]),n[lr]=null);try{Vw(n),function Zw(e){return de.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==t&&Y1(e,n,t,2,r);const f=!(3&~i);if(f){const y=e.preOrderCheckHooks;null!==y&&xf(n,y,null)}else{const y=e.preOrderHooks;null!==y&&Nf(n,y,0,null),Qg(n,0)}if(function W2(e){for(let n=BC(e);null!==n;n=HC(n)){if(!(n[oe]&Df.HasTransplantedViews))continue;const t=n[Na];for(let r=0;r<t.length;r++)jw(t[r])}}(n),fE(n,0),null!==e.contentQueries&&rE(e,n),f){const y=e.contentCheckHooks;null!==y&&xf(n,y)}else{const y=e.contentHooks;null!==y&&Nf(n,y,1),Qg(n,1)}!function l2(e,n){const t=e.hostBindingOpCodes;if(null!==t)try{for(let r=0;r<t.length;r++){const i=t[r];if(i<0)hs(~i);else{const o=i,s=t[++r],u=t[++r];Bk(s,o),u(2,n[o])}}}finally{hs(-1)}}(e,n);const m=e.components;null!==m&&pE(n,m,0);const g=e.viewQuery;if(null!==g&&ny(2,g,r),f){const y=e.viewCheckHooks;null!==y&&xf(n,y)}else{const y=e.viewHooks;null!==y&&Nf(n,y,2),Qg(n,2)}if(!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),n[Cf]){for(const y of n[Cf])y();n[Cf]=null}n[oe]&=-73}catch(f){throw Mf(n),f}finally{null!==d&&(ft(d,c),u&&function j2(e){e.lView[lr]!==e&&(e.lView=null,cE.push(e))}(d)),Xg()}}function fE(e,n){for(let t=BC(e);null!==t;t=HC(t))for(let r=Tt;r<t.length;r++)hE(t[r],n)}function q2(e,n,t){hE(Wn(n,e),t)}function hE(e,n){Hg(e)&&sy(e,n)}function sy(e,n){const r=e[B],i=e[oe],o=e[lr];let s=!!(0===n&&16&i);if(s||=!!(64&i&&0===n),s||=!!(1024&i),s||=!(!o?.dirty||!Tr(o)),s||=!1,o&&(o.dirty=!1),e[oe]&=-9217,s)z2(r,e,r.template,e[et]);else if(8192&i){fE(e,1);const u=r.components;null!==u&&pE(e,u,1)}}function pE(e,n,t){for(let r=0;r<n.length;r++)q2(e,n[r],t)}function sl(e,n){const t=Ww()?64:1088;for(e[hi].changeDetectionScheduler?.notify(n);e;){e[oe]|=t;const r=ji(e);if(Fc(e)&&!r)return e;e=r}return null}class al{get rootNodes(){const n=this._lView,t=n[B];return ol(t,n,t.firstChild,[])}constructor(n,t,r=!0){this._lView=n,this._cdRefInjectingView=t,this.notifyErrorHandler=r,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[et]}set context(n){this._lView[et]=n}get destroyed(){return!(256&~this._lView[oe])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const n=this._lView[Ot];if(dn(n)){const t=n[8],r=t?t.indexOf(this):-1;r>-1&&(nl(n,r),hf(t,r))}this._attachedToViewContainer=!1}ih(this._lView[B],this._lView)}onDestroy(n){If(this._lView,n)}markForCheck(){sl(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[oe]&=-129}reattach(){Gg(this._lView),this._lView[oe]|=128}detectChanges(){this._lView[oe]|=1024,lh(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new k(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const n=Fc(this._lView),t=this._lView[cs];null!==t&&!n&&H0(t,this._lView),N1(this._lView[B],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new k(902,!1);this._appRef=n;const t=Fc(this._lView),r=this._lView[cs];null!==r&&!t&&O1(r,this._lView),Gg(this._lView)}}let wi=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=K2}return e})();const Z2=wi,Y2=class extends Z2{constructor(n,t,r){super(),this._declarationLView=n,this._declarationTContainer=t,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,t){return this.createEmbeddedViewImpl(n,t)}createEmbeddedViewImpl(n,t,r){const i=za(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:t,dehydratedView:r});return new al(i)}};function K2(){return dh(qe(),x())}function dh(e,n){return 4&e.type?new Y2(n,e,La(e,n)):null}let RE=()=>null;function Ds(e,n){return RE(e,n)}class Za{}const ml=new $("",{providedIn:"root",factory:()=>!1}),FE=new $(""),yy=new $("");class GO{}class LE{}class $O{resolveComponentFactory(n){throw function UO(e){const n=Error(`No component factory found for ${wt(e)}.`);return n.ngComponent=e,n}(n)}}class Ss{static#e=this.NULL=new $O}class yh{}let Ci=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function zO(){const e=x(),t=Wn(qe().index,e);return(Wt(t)?t:e)[le]}()}return e})(),WO=(()=>{class e{static#e=this.\u0275prov=q({token:e,providedIn:"root",factory:()=>null})}return e})();function _h(e,n,t){let r=t?e.styles:null,i=t?e.classes:null,o=0;if(null!==n)for(let s=0;s<n.length;s++){const u=n[s];"number"==typeof u?o=u:1==o?i=ha(i,u):2==o&&(r=ha(r,u+": "+n[++s]+";"))}t?e.styles=r:e.stylesWithoutHost=r,t?e.classes=i:e.classesWithoutHost=i}class HE extends Ss{constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){const t=ye(n);return new vl(t,this.ngModule)}}function GE(e,n){const t=[];for(const r in e){if(!e.hasOwnProperty(r))continue;const i=e[r];if(void 0===i)continue;const o=Array.isArray(i),s=o?i[0]:i;t.push(n?{propName:s,templateName:r,isSignal:!!((o?i[1]:go.None)&go.SignalBased)}:{propName:s,templateName:r})}return t}class vl extends LE{get inputs(){const n=this.componentDef,t=n.inputTransforms,r=GE(n.inputs,!0);if(null!==t)for(const i of r)t.hasOwnProperty(i.propName)&&(i.transform=t[i.propName]);return r}get outputs(){return GE(this.componentDef.outputs,!1)}constructor(n,t){super(),this.componentDef=n,this.ngModule=t,this.componentType=n.type,this.selector=function XA(e){return e.map(KA).join(",")}(n.selectors),this.ngContentSelectors=n.ngContentSelectors?n.ngContentSelectors:[],this.isBoundToModule=!!t}create(n,t,r,i){const o=ie(null);try{let s=(i=i||this.ngModule)instanceof cr?i:i?.injector;s&&null!==this.componentDef.getStandaloneInjector&&(s=this.componentDef.getStandaloneInjector(s)||s);const u=s?new ps(n,s):n,c=u.get(yh,null);if(null===c)throw new k(407,!1);const m={rendererFactory:c,sanitizer:u.get(WO,null),inlineEffectRunner:null,changeDetectionScheduler:u.get(Za,null)},g=c.createRenderer(null,this.componentDef),y=this.componentDef.selectors[0][0]||"div",_=r?function f2(e,n,t,r){const o=r.get(a1,!1)||t===Rr.ShadowDom,s=e.selectRootElement(n,o);return function h2(e){X1(e)}(s),s}(g,r,this.componentDef.encapsulation,u):rh(g,y,function YO(e){const n=e.toLowerCase();return"svg"===n?"svg":"math"===n?"math":null}(y));let C=512;this.componentDef.signals?C|=4096:this.componentDef.onPush||(C|=16);let S=null;null!==_&&(S=S0(_,u,!0));const I=Q0(0,null,null,1,0,null,null,null,null,null,null),T=ah(null,I,null,C,null,null,m,g,u,null,S);Kg(T);let R,L,j=null;try{const X=this.componentDef;let re,Q=null;X.findHostDirectiveDefs?(re=[],Q=new Map,X.findHostDirectiveDefs(X,re,Q),re.push(X)):re=[X];const vt=function XO(e,n){const t=e[B],r=J;return e[r]=n,ws(t,r,2,"#host",null)}(T,_);j=function QO(e,n,t,r,i,o,s){const u=i[B];!function JO(e,n,t,r){for(const i of e)n.mergedAttrs=xc(n.mergedAttrs,i.hostAttrs);null!==n.mergedAttrs&&(_h(n,n.mergedAttrs,!0),null!==t&&W1(r,t,n))}(r,e,n,s);let c=null;null!==n&&(c=S0(n,i[Rt]));const d=o.rendererFactory.createRenderer(n,t);let f=16;t.signals?f=4096:t.onPush&&(f=64);const m=ah(i,K1(t),null,f,i[e.index],e,o,d,null,null,c);return u.firstCreatePass&&ey(u,e,r.length-1),uh(i,m),i[e.index]=m}(vt,_,X,re,T,m,g),L=Vc(I,J),_&&function tR(e,n,t,r){if(r)Dg(e,t,["ng-version","18.2.3"]);else{const{attrs:i,classes:o}=function QA(e){const n=[],t=[];let r=1,i=2;for(;r<e.length;){let o=e[r];if("string"==typeof o)2===i?""!==o&&n.push(o,e[++r]):8===i&&t.push(o);else{if(!Fr(i))break;i=o}r++}return{attrs:n,classes:t}}(n.selectors[0]);i&&Dg(e,t,i),o&&o.length>0&&z1(e,t,o.join(" "))}}(g,X,_,r),void 0!==t&&function nR(e,n,t){const r=e.projection=[];for(let i=0;i<n.length;i++){const o=t[i];r.push(null!=o?Array.from(o):null)}}(L,this.ngContentSelectors,t),R=function eR(e,n,t,r,i,o){const s=qe(),u=i[B],c=bn(s,i);eE(u,i,s,t,null,r);for(let f=0;f<t.length;f++)fn(ms(i,u,s.directiveStart+f,s),i);tE(u,i,s),c&&fn(c,i);const d=ms(i,u,s.directiveStart+s.componentOffset,s);if(e[et]=i[et]=d,null!==o)for(const f of o)f(d,n);return Y0(u,s,i),d}(j,X,re,Q,T,[rR]),iy(I,T,null)}catch(X){throw null!==j&&g0(j),g0(T),X}finally{Xg()}return new KO(this.componentType,R,La(L,T),T,L)}finally{ie(o)}}}class KO extends GO{constructor(n,t,r,i,o){super(),this.location=r,this._rootLView=i,this._tNode=o,this.previousInputValues=null,this.instance=t,this.hostView=this.changeDetectorRef=new al(i,void 0,!1),this.componentType=n}setInput(n,t){const r=this._tNode.inputs;let i;if(null!==r&&(i=r[n])){if(this.previousInputValues??=new Map,this.previousInputValues.has(n)&&Object.is(this.previousInputValues.get(n),t))return;const o=this._rootLView;ry(o[B],o,i,n,t),this.previousInputValues.set(n,t),sl(Wn(this._tNode.index,o),1)}}get injector(){return new qt(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}}function rR(){const e=qe();kf(x()[B],e)}let Gr=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=iR}return e})();function iR(){return function zE(e,n){let t;const r=n[e.index];return dn(r)?t=r:(t=nE(r,n,null,e),n[e.index]=t,uh(n,t)),WE(t,n,e,r),new UE(t,e,n)}(qe(),x())}const oR=Gr,UE=class extends oR{constructor(n,t,r){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=r}get element(){return La(this._hostTNode,this._hostLView)}get injector(){return new qt(this._hostTNode,this._hostLView)}get parentInjector(){const n=Ff(this._hostTNode,this._hostLView);if(t0(n)){const t=Uc(n,this._hostLView),r=Gc(n);return new qt(t[B].data[r+8],t)}return new qt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const t=$E(this._lContainer);return null!==t&&t[n]||null}get length(){return this._lContainer.length-Tt}createEmbeddedView(n,t,r){let i,o;"number"==typeof r?i=r:null!=r&&(i=r.index,o=r.injector);const s=Ds(this._lContainer,n.ssrId),u=n.createEmbeddedViewImpl(t||{},o,s);return this.insertImpl(u,i,Cs(this._hostTNode,s)),u}createComponent(n,t,r,i,o){const s=n&&!Nc(n);let u;if(s)u=t;else{const _=t||{};u=_.index,r=_.injector,i=_.projectableNodes,o=_.environmentInjector||_.ngModuleRef}const c=s?n:new vl(ye(n)),d=r||this.parentInjector;if(!o&&null==c.ngModule){const C=(s?d:this.parentInjector).get(cr,null);C&&(o=C)}const f=ye(c.componentType??{}),m=Ds(this._lContainer,f?.id??null),y=c.create(d,i,m?.firstChild??null,o);return this.insertImpl(y.hostView,u,Cs(this._hostTNode,m)),y}insert(n,t){return this.insertImpl(n,t,!0)}insertImpl(n,t,r){const i=n._lView;if(function Ak(e){return dn(e[Ot])}(i)){const u=this.indexOf(n);if(-1!==u)this.detach(u);else{const c=i[Ot],d=new UE(c,c[tn],c[Ot]);d.detach(d.indexOf(n))}}const o=this._adjustIndex(t),s=this._lContainer;return Wa(s,i,o,r),n.attachToViewContainerRef(),sw(by(s),o,n),n}move(n,t){return this.insert(n,t)}indexOf(n){const t=$E(this._lContainer);return null!==t?t.indexOf(n):-1}remove(n){const t=this._adjustIndex(n,-1),r=nl(this._lContainer,t);r&&(hf(by(this._lContainer),t),ih(r[B],r))}detach(n){const t=this._adjustIndex(n,-1),r=nl(this._lContainer,t);return r&&null!=hf(by(this._lContainer),t)?new al(r):null}_adjustIndex(n,t=0){return n??this.length+t}};function $E(e){return e[8]}function by(e){return e[8]||(e[8]=[])}let WE=function ZE(e,n,t,r){if(e[pi])return;let i;i=8&t.type?xe(r):function sR(e,n){const t=e[le],r=t.createComment(""),i=bn(n,e);return _s(t,$0(t,i),r,function i2(e,n){return e.nextSibling(n)}(t,i),!1),r}(n,t),e[pi]=i},wy=()=>!1;const nD=new Set;function Cn(e){nD.has(e)||(nD.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function Ie(e,n){Cn("NgSignals");const t=function Mm(e){const n=Object.create(Zu);n.value=e;const t=()=>(Sr(n),n.value);return t[z]=n,t}(e),r=t[z];return n?.equal&&(r.equal=n.equal),t.set=i=>so(r,i),t.update=i=>function jo(e,n){Ce()||qs(),so(e,n(e.value))}(r,i),t.asReadonly=iD.bind(t),t}function iD(){const e=this[z];if(void 0===e.readonlyFn){const n=()=>this();n[z]=e,e.readonlyFn=n}return e.readonlyFn}function oD(e){return function rD(e){return"function"==typeof e&&void 0!==e[z]}(e)&&"function"==typeof e.set}function Fe(e){let n=function gD(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),t=!0;const r=[e];for(;n;){let i;if(Vr(e))i=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new k(903,!1);i=n.\u0275dir}if(i){if(t){r.push(i);const s=e;s.inputs=wh(e.inputs),s.inputTransforms=wh(e.inputTransforms),s.declaredInputs=wh(e.declaredInputs),s.outputs=wh(e.outputs);const u=i.hostBindings;u&&PR(e,u);const c=i.viewQuery,d=i.contentQueries;if(c&&MR(e,c),d&&IR(e,d),SR(e,i),tf(e.outputs,i.outputs),Vr(i)&&i.data.animation){const f=e.data;f.animation=(f.animation||[]).concat(i.data.animation)}}const o=i.features;if(o)for(let s=0;s<o.length;s++){const u=o[s];u&&u.ngInherit&&u(e),u===Fe&&(t=!1)}}n=Object.getPrototypeOf(n)}!function TR(e){let n=0,t=null;for(let r=e.length-1;r>=0;r--){const i=e[r];i.hostVars=n+=i.hostVars,i.hostAttrs=xc(i.hostAttrs,t=xc(t,i.hostAttrs))}}(r)}function SR(e,n){for(const t in n.inputs){if(!n.inputs.hasOwnProperty(t)||e.inputs.hasOwnProperty(t))continue;const r=n.inputs[t];if(void 0!==r&&(e.inputs[t]=r,e.declaredInputs[t]=n.declaredInputs[t],null!==n.inputTransforms)){const i=Array.isArray(r)?r[0]:r;if(!n.inputTransforms.hasOwnProperty(i))continue;e.inputTransforms??={},e.inputTransforms[i]=n.inputTransforms[i]}}}function wh(e){return e===di?{}:e===ke?[]:e}function MR(e,n){const t=e.viewQuery;e.viewQuery=t?(r,i)=>{n(r,i),t(r,i)}:n}function IR(e,n){const t=e.contentQueries;e.contentQueries=t?(r,i,o)=>{n(r,i,o),t(r,i,o)}:n}function PR(e,n){const t=e.hostBindings;e.hostBindings=t?(r,i)=>{n(r,i),t(r,i)}:n}class Ms{}class FR{}class Ay extends Ms{constructor(n,t,r,i=!0){super(),this.ngModuleType=n,this._parent=t,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new HE(this);const o=function ln(e,n){const t=e[lf]||null;if(!t&&!0===n)throw new Error(`Type ${wt(e)} does not have '\u0275mod' property.`);return t}(n);this._bootstrapComponents=function Yn(e){return e instanceof Function?e():e}(o.bootstrap),this._r3Injector=wC(n,t,[{provide:Ms,useValue:this},{provide:Ss,useValue:this.componentFactoryResolver},...r],wt(n),new Set(["environment"])),i&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){const n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}}class ky extends FR{constructor(n){super(),this.moduleType=n}create(n){return new Ay(this.moduleType,n,[])}}class bD extends Ms{constructor(n){super(),this.componentFactoryResolver=new HE(this),this.instance=null;const t=new Ta([...n.providers,{provide:Ms,useValue:this},{provide:Ss,useValue:this.componentFactoryResolver}],n.parent||bf(),n.debugName,new Set(["environment"]));this.injector=t,n.runEnvironmentInitializers&&t.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}}function Ei(e,n,t){return e[n]=t}function Mt(e,n,t){return!Object.is(e[n],t)&&(e[n]=t,!0)}function Is(e,n,t,r){const i=Mt(e,n,t);return Mt(e,n+1,r)||i}function wl(e,n,t,r,i,o,s,u,c,d){const f=t+J,m=n.firstCreatePass?function UR(e,n,t,r,i,o,s,u,c){const d=n.consts,f=ws(n,e,4,s||null,u||null);J0(n,t,f,dr(d,c)),kf(n,f);const m=f.tView=Q0(2,f,r,i,o,n.directiveRegistry,n.pipeRegistry,null,n.schemas,d,null);return null!==n.queries&&(n.queries.template(n,f),m.queries=n.queries.embeddedTView(f)),f}(f,n,e,r,i,o,s,u,c):n.data[f];Br(m,!1);const g=CD(n,e,m,t);Bc()&&oh(n,e,g,m),fn(g,e);const y=nE(g,e,g,m);return e[f]=y,uh(e,y),function qE(e,n,t){return wy(e,n,t)}(y,m,e),Sf(m)&&K0(n,e,m),null!=c&&X0(e,m,d),m}function De(e,n,t,r,i,o,s,u){const c=x(),d=ge();return wl(c,d,e,n,t,r,i,dr(d.consts,o),s,u),De}let CD=function ED(e,n,t,r){return gi(!0),n[le].createComment("")};var Qa=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(Qa||{});let PD=(()=>{class e{constructor(){this.impl=null}execute(){this.impl?.execute()}static#e=this.\u0275prov=q({token:e,providedIn:"root",factory:()=>new e})}return e})();class Dl{constructor(){this.ngZone=p(Re),this.scheduler=p(Za),this.errorHandler=p(vi,{optional:!0}),this.sequences=new Set,this.deferredRegistrations=new Set,this.executing=!1}static#e=this.PHASES=[Qa.EarlyRead,Qa.Write,Qa.MixedReadWrite,Qa.Read];execute(){this.executing=!0;for(const n of Dl.PHASES)for(const t of this.sequences)if(!t.erroredOrDestroyed&&t.hooks[n])try{t.pipelinedValue=this.ngZone.runOutsideAngular(()=>t.hooks[n](t.pipelinedValue))}catch(r){t.erroredOrDestroyed=!0,this.errorHandler?.handleError(r)}this.executing=!1;for(const n of this.sequences)n.afterRun(),n.once&&this.sequences.delete(n);for(const n of this.deferredRegistrations)this.sequences.add(n);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(n){this.executing?this.deferredRegistrations.add(n):(this.sequences.add(n),this.scheduler.notify(6))}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}static#t=this.\u0275prov=q({token:Dl,providedIn:"root",factory:()=>new Dl})}function on(e,n,t,r){const i=x();return Mt(i,Hr(),n)&&(ge(),bi(tt(),i,e,n,t,r)),on}function Ph(e,n){return e<<17|n<<2}function Eo(e){return e>>17&32767}function $y(e){return 2|e}function As(e){return(131068&e)>>2}function zy(e,n){return-131069&e|n<<2}function Wy(e){return 1|e}function r4(e,n,t,r){const i=e[t+1],o=null===n;let s=r?Eo(i):As(i),u=!1;for(;0!==s&&(!1===u||o);){const d=e[s+1];kF(e[s],n)&&(u=!0,e[s+1]=r?Wy(d):$y(d)),s=r?Eo(d):As(d)}u&&(e[t+1]=r?$y(i):Wy(i))}function kF(e,n){return null===e||null==n||(Array.isArray(e)?e[1]:e)===n||!(!Array.isArray(e)||"string"!=typeof n)&&Da(e,n)>=0}const Zt={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function i4(e){return e.substring(Zt.key,Zt.keyEnd)}function o4(e,n){const t=Zt.textEnd;return t===n?-1:(n=Zt.keyEnd=function RF(e,n,t){for(;n<t&&e.charCodeAt(n)>32;)n++;return n}(e,Zt.key=n,t),hu(e,n,t))}function hu(e,n,t){for(;n<t&&e.charCodeAt(n)<=32;)n++;return n}function ee(e,n,t){const r=x();return Mt(r,Hr(),n)&&jn(ge(),tt(),r,e,n,r[le],t,!1),ee}function qy(e,n,t,r,i){const s=i?"class":"style";ry(e,t,n.inputs[s],s,r)}function pu(e,n,t){return $r(e,n,t,!1),pu}function Ur(e,n){return $r(e,n,null,!0),Ur}function zi(e){!function zr(e,n,t,r){const i=ge(),o=Hi(2);i.firstUpdatePass&&d4(i,null,o,r);const s=x();if(t!==pe&&Mt(s,o,t)){const u=i.data[nn()];if(m4(u,r)&&!l4(i,o)){let c=r?u.classesWithoutHost:u.stylesWithoutHost;null!==c&&(t=ha(c,t||"")),qy(i,u,s,t,r)}else!function zF(e,n,t,r,i,o,s,u){i===pe&&(i=ke);let c=0,d=0,f=0<i.length?i[0]:null,m=0<o.length?o[0]:null;for(;null!==f||null!==m;){const g=c<i.length?i[c+1]:void 0,y=d<o.length?o[d+1]:void 0;let C,_=null;f===m?(c+=2,d+=2,g!==y&&(_=m,C=y)):null===m||null!==f&&f<m?(c+=2,_=f):(d+=2,_=m,C=y),null!==_&&h4(e,n,t,r,_,C,s,u),f=c<i.length?i[c]:null,m=d<o.length?o[d]:null}}(i,u,s,s[le],s[o+1],s[o+1]=function UF(e,n,t){if(null==t||""===t)return ke;const r=[],i=qn(t);if(Array.isArray(i))for(let o=0;o<i.length;o++)e(r,i[o],!0);else if("object"==typeof i)for(const o in i)i.hasOwnProperty(o)&&e(r,o,i[o]);else"string"==typeof i&&n(r,i);return r}(e,n,t),r,o)}}($F,Si,e,!0)}function Si(e,n){for(let t=function NF(e){return function a4(e){Zt.key=0,Zt.keyEnd=0,Zt.value=0,Zt.valueEnd=0,Zt.textEnd=e.length}(e),o4(e,hu(e,0,Zt.textEnd))}(n);t>=0;t=o4(n,t))zn(e,i4(n),!0)}function $r(e,n,t,r){const i=x(),o=ge(),s=Hi(2);o.firstUpdatePass&&d4(o,e,s,r),n!==pe&&Mt(i,s,n)&&h4(o,o.data[nn()],i,i[le],e,i[s+1]=function WF(e,n){return null==e||""===e||("string"==typeof n?e+=n:"object"==typeof e&&(e=wt(qn(e)))),e}(n,t),r,s)}function l4(e,n){return n>=e.expandoStartIndex}function d4(e,n,t,r){const i=e.data;if(null===i[t+1]){const o=i[nn()],s=l4(e,t);m4(o,r)&&null===n&&!s&&(n=!1),n=function jF(e,n,t,r){const i=Zg(e);let o=r?n.residualClasses:n.residualStyles;if(null===i)0===(r?n.classBindings:n.styleBindings)&&(t=Tl(t=Zy(null,e,n,t,r),n.attrs,r),o=null);else{const s=n.directiveStylingLast;if(-1===s||e[s]!==i)if(t=Zy(i,e,n,t,r),null===o){let c=function BF(e,n,t){const r=t?n.classBindings:n.styleBindings;if(0!==As(r))return e[Eo(r)]}(e,n,r);void 0!==c&&Array.isArray(c)&&(c=Zy(null,e,n,c[1],r),c=Tl(c,n.attrs,r),function HF(e,n,t,r){e[Eo(t?n.classBindings:n.styleBindings)]=r}(e,n,r,c))}else o=function GF(e,n,t){let r;const i=n.directiveEnd;for(let o=1+n.directiveStylingLast;o<i;o++)r=Tl(r,e[o].hostAttrs,t);return Tl(r,n.attrs,t)}(e,n,r)}return void 0!==o&&(r?n.residualClasses=o:n.residualStyles=o),t}(i,o,n,r),function PF(e,n,t,r,i,o){let s=o?n.classBindings:n.styleBindings,u=Eo(s),c=As(s);e[r]=t;let f,d=!1;if(Array.isArray(t)?(f=t[1],(null===f||Da(t,f)>0)&&(d=!0)):f=t,i)if(0!==c){const g=Eo(e[u+1]);e[r+1]=Ph(g,u),0!==g&&(e[g+1]=zy(e[g+1],r)),e[u+1]=function MF(e,n){return 131071&e|n<<17}(e[u+1],r)}else e[r+1]=Ph(u,0),0!==u&&(e[u+1]=zy(e[u+1],r)),u=r;else e[r+1]=Ph(c,0),0===u?u=r:e[c+1]=zy(e[c+1],r),c=r;d&&(e[r+1]=$y(e[r+1])),r4(e,f,r,!0),r4(e,f,r,!1),function AF(e,n,t,r,i){const o=i?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof n&&Da(o,n)>=0&&(t[r+1]=Wy(t[r+1]))}(n,f,e,r,o),s=Ph(u,c),o?n.classBindings=s:n.styleBindings=s}(i,o,n,t,s,r)}}function Zy(e,n,t,r,i){let o=null;const s=t.directiveEnd;let u=t.directiveStylingLast;for(-1===u?u=t.directiveStart:u++;u<s&&(o=n[u],r=Tl(r,o.hostAttrs,i),o!==e);)u++;return null!==e&&(t.directiveStylingLast=u),r}function Tl(e,n,t){const r=t?1:2;let i=-1;if(null!==n)for(let o=0;o<n.length;o++){const s=n[o];"number"==typeof s?i=s:i===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),zn(e,s,!!t||n[++o]))}return void 0===e?null:e}function $F(e,n,t){const r=String(n);""!==r&&!r.includes(" ")&&zn(e,r,t)}function h4(e,n,t,r,i,o,s,u){if(!(3&n.type))return;const c=e.data,d=c[u+1],f=function IF(e){return!(1&~e)}(d)?p4(c,n,t,i,As(d),s):void 0;Ah(f)||(Ah(o)||function TF(e){return!(2&~e)}(d)&&(o=p4(c,null,t,i,u,s)),function a2(e,n,t,r,i){if(n)i?e.addClass(t,r):e.removeClass(t,r);else{let o=-1===r.indexOf("-")?void 0:bo.DashCase;null==i?e.removeStyle(t,r,o):("string"==typeof i&&i.endsWith("!important")&&(i=i.slice(0,-10),o|=bo.Important),e.setStyle(t,r,i,o))}}(r,s,Lc(nn(),t),i,o))}function p4(e,n,t,r,i,o){const s=null===n;let u;for(;i>0;){const c=e[i],d=Array.isArray(c),f=d?c[1]:c,m=null===f;let g=t[i+1];g===pe&&(g=m?ke:void 0);let y=m?Cg(g,r):f===r?g:void 0;if(d&&!Ah(y)&&(y=Cg(c,r)),Ah(y)&&(u=y,s))return u;const _=e[i+1];i=s?Eo(_):As(_)}if(null!==n){let c=o?n.residualClasses:n.residualStyles;null!=c&&(u=Cg(c,r))}return u}function Ah(e){return void 0!==e}function m4(e,n){return!!(e.flags&(n?8:16))}class rL{destroy(n){}updateValue(n,t){}swap(n,t){const r=Math.min(n,t),i=Math.max(n,t),o=this.detach(i);if(i-r>1){const s=this.detach(r);this.attach(r,o),this.attach(i,s)}else this.attach(r,o)}move(n,t){this.attach(t,this.detach(n))}}function Yy(e,n,t,r,i){return e===t&&Object.is(n,r)?1:Object.is(i(e,n),i(t,r))?-1:0}function Ky(e,n,t,r){return!(void 0===n||!n.has(r)||(e.attach(t,n.get(r)),n.delete(r),0))}function g4(e,n,t,r,i){if(Ky(e,n,r,t(r,i)))e.updateValue(r,i);else{const o=e.create(r,i);e.attach(r,o)}}function y4(e,n,t,r){const i=new Set;for(let o=n;o<=t;o++)i.add(r(o,e.at(o)));return i}class v4{constructor(){this.kvMap=new Map,this._vMap=void 0}has(n){return this.kvMap.has(n)}delete(n){if(!this.has(n))return!1;const t=this.kvMap.get(n);return void 0!==this._vMap&&this._vMap.has(t)?(this.kvMap.set(n,this._vMap.get(t)),this._vMap.delete(t)):this.kvMap.delete(n),!0}get(n){return this.kvMap.get(n)}set(n,t){if(this.kvMap.has(n)){let r=this.kvMap.get(n);void 0===this._vMap&&(this._vMap=new Map);const i=this._vMap;for(;i.has(r);)r=i.get(r);i.set(r,t)}else this.kvMap.set(n,t)}forEach(n){for(let[t,r]of this.kvMap)if(n(r,t),void 0!==this._vMap){const i=this._vMap;for(;i.has(r);)r=i.get(r),n(r,t)}}}function Le(e,n){Cn("NgControlFlow");const t=x(),r=Hr(),i=t[r]!==pe?t[r]:-1,o=-1!==i?kh(t,J+i):void 0;if(Mt(t,r,e)){const u=ie(null);try{if(void 0!==o&&oy(o,0),-1!==e){const c=J+e,d=kh(t,c),f=Xy(t[B],c),m=Ds(d,f.tView.ssrId);Wa(d,za(t,f,n,{dehydratedView:m}),0,Cs(f,m))}}finally{ie(u)}}else if(void 0!==o){const u=aE(o,0);void 0!==u&&(u[et]=n)}}class oL{constructor(n,t,r){this.lContainer=n,this.$implicit=t,this.$index=r}get $count(){return this.lContainer.length-Tt}}function Wi(e){return e}function _4(e,n){return n}class sL{constructor(n,t,r){this.hasEmptyBlock=n,this.trackByFn=t,this.liveCollection=r}}function Wr(e,n,t,r,i,o,s,u,c,d,f,m,g){Cn("NgControlFlow");const y=x(),_=ge(),C=void 0!==c,S=x(),I=u?s.bind(S[mt][et]):s,T=new sL(C,I);S[J+e]=T,wl(y,_,e+1,n,t,r,i,dr(_.consts,o)),C&&wl(y,_,e+2,c,d,f,m,dr(_.consts,g))}class aL extends rL{constructor(n,t,r){super(),this.lContainer=n,this.hostLView=t,this.templateTNode=r,this.operationsCounter=void 0,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-Tt}at(n){return this.getLView(n)[et].$implicit}attach(n,t){const r=t[_n];this.needsIndexUpdate||=n!==this.length,Wa(this.lContainer,t,n,Cs(this.templateTNode,r))}detach(n){return this.needsIndexUpdate||=n!==this.length-1,function uL(e,n){return nl(e,n)}(this.lContainer,n)}create(n,t){const r=Ds(this.lContainer,this.templateTNode.tView.ssrId),i=za(this.hostLView,this.templateTNode,new oL(this.lContainer,t,n),{dehydratedView:r});return this.operationsCounter?.recordCreate(),i}destroy(n){ih(n[B],n),this.operationsCounter?.recordDestroy()}updateValue(n,t){this.getLView(n)[et].$implicit=t}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let n=0;n<this.length;n++)this.getLView(n)[et].$index=n}getLView(n){return function cL(e,n){return aE(e,n)}(this.lContainer,n)}}function qr(e){const n=ie(null),t=nn();try{const r=x(),i=r[B],o=r[t],s=t+1,u=kh(r,s);if(void 0===o.liveCollection){const d=Xy(i,s);o.liveCollection=new aL(u,r,d)}else o.liveCollection.reset();const c=o.liveCollection;if(function iL(e,n,t){let r,i,o=0,s=e.length-1;if(Array.isArray(n)){let c=n.length-1;for(;o<=s&&o<=c;){const d=e.at(o),f=n[o],m=Yy(o,d,o,f,t);if(0!==m){m<0&&e.updateValue(o,f),o++;continue}const g=e.at(s),y=n[c],_=Yy(s,g,c,y,t);if(0!==_){_<0&&e.updateValue(s,y),s--,c--;continue}const C=t(o,d),S=t(s,g),I=t(o,f);if(Object.is(I,S)){const T=t(c,y);Object.is(T,C)?(e.swap(o,s),e.updateValue(s,y),c--,s--):e.move(s,o),e.updateValue(o,f),o++}else if(r??=new v4,i??=y4(e,o,s,t),Ky(e,r,o,I))e.updateValue(o,f),o++,s++;else if(i.has(I))r.set(C,e.detach(o)),s--;else{const T=e.create(o,n[o]);e.attach(o,T),o++,s++}}for(;o<=c;)g4(e,r,t,o,n[o]),o++}else if(null!=n){const c=n[Symbol.iterator]();let d=c.next();for(;!d.done&&o<=s;){const f=e.at(o),m=d.value,g=Yy(o,f,o,m,t);if(0!==g)g<0&&e.updateValue(o,m),o++,d=c.next();else{r??=new v4,i??=y4(e,o,s,t);const y=t(o,m);if(Ky(e,r,o,y))e.updateValue(o,m),o++,s++,d=c.next();else if(i.has(y)){const _=t(o,f);r.set(_,e.detach(o)),s--}else e.attach(o,e.create(o,m)),o++,s++,d=c.next()}}for(;!d.done;)g4(e,r,t,e.length,d.value),d=c.next()}for(;o<=s;)e.destroy(e.detach(s--));r?.forEach(c=>{e.destroy(c)})}(c,e,o.trackByFn),c.updateIndexes(),o.hasEmptyBlock){const d=Hr(),f=0===c.length;if(Mt(r,d,f)){const m=t+2,g=kh(r,m);if(f){const y=Xy(i,m),_=Ds(g,y.tView.ssrId);Wa(g,za(r,y,void 0,{dehydratedView:_}),0,Cs(y,_))}else oy(g,0)}}}finally{ie(n)}}function kh(e,n){return e[n]}function Xy(e,n){return Vc(e,n)}function G(e,n,t,r){const i=x(),o=ge(),s=J+e,u=i[le],c=o.firstCreatePass?function lL(e,n,t,r,i,o){const s=n.consts,c=ws(n,e,2,r,dr(s,i));return J0(n,t,c,dr(s,o)),null!==c.attrs&&_h(c,c.attrs,!1),null!==c.mergedAttrs&&_h(c,c.mergedAttrs,!0),null!==n.queries&&n.queries.elementStart(n,c),c}(s,o,i,n,t,r):o.data[s],d=b4(o,i,c,u,n,e);i[s]=d;const f=Sf(c);return Br(c,!0),W1(u,d,c),!function Ka(e){return!(32&~e.flags)}(c)&&Bc()&&oh(o,i,d,c),0===function kk(){return de.lFrame.elementDepthCount}()&&fn(d,i),function xk(){de.lFrame.elementDepthCount++}(),f&&(K0(o,i,c),Y0(o,c,i)),null!==r&&X0(i,c),G}function U(){let e=qe();zg()?Wg():(e=e.parent,Br(e,!1));const n=e;(function Ok(e){return de.skipHydrationRootTNode===e})(n)&&function Vk(){de.skipHydrationRootTNode=null}(),function Nk(){de.lFrame.elementDepthCount--}();const t=ge();return t.firstCreatePass&&(kf(t,e),Fg(e)&&t.queries.elementEnd(e)),null!=n.classesWithoutHost&&function Xk(e){return!!(8&e.flags)}(n)&&qy(t,n,x(),n.classesWithoutHost,!0),null!=n.stylesWithoutHost&&function Qk(e){return!!(16&e.flags)}(n)&&qy(t,n,x(),n.stylesWithoutHost,!1),U}function He(e,n,t,r){return G(e,n,t,r),U(),He}let b4=(e,n,t,r,i,o)=>(gi(!0),rh(r,i,function tC(){return de.lFrame.currentNamespace}()));function mu(e,n,t){const r=x(),i=ge(),o=e+J,s=i.firstCreatePass?function hL(e,n,t,r,i){const o=n.consts,s=dr(o,r),u=ws(n,e,8,"ng-container",s);return null!==s&&_h(u,s,!0),J0(n,t,u,dr(o,i)),null!==n.queries&&n.queries.elementStart(n,u),u}(o,i,r,n,t):i.data[o];Br(s,!0);const u=w4(i,r,s,e);return r[o]=u,Bc()&&oh(i,r,u,s),fn(u,r),Sf(s)&&(K0(i,r,s),Y0(i,s,r)),null!=t&&X0(r,s),mu}function gu(){let e=qe();const n=ge();return zg()?Wg():(e=e.parent,Br(e,!1)),n.firstCreatePass&&(kf(n,e),Fg(e)&&n.queries.elementEnd(e)),gu}function yu(e,n,t){return mu(e,n,t),gu(),yu}let w4=(e,n,t,r)=>(gi(!0),B0(n[le],""));function sn(){return x()}function xh(e,n,t){const r=x();if(Mt(r,Hr(),n)){const o=ge(),s=tt();jn(o,s,r,e,n,sE(Zg(o.data),s,r),t,!0)}return xh}const Nh="en-US";let S4=Nh,U4=(e,n,t)=>{};function be(e,n,t,r){const i=x(),o=ge(),s=qe();return ev(o,i,i[le],s,e,n,r),be}function ev(e,n,t,r,i,o,s){const u=Sf(r),d=e.firstCreatePass&&function oE(e){return e.cleanup??=[]}(e),f=n[et],m=function iE(e){return e[Pa]??=[]}(n);let g=!0;if(3&r.type||s){const C=bn(r,n),S=s?s(C):C,I=m.length,T=s?L=>s(xe(L[r.index])):r.index;let R=null;if(!s&&u&&(R=function s6(e,n,t,r){const i=e.cleanup;if(null!=i)for(let o=0;o<i.length-1;o+=2){const s=i[o];if(s===t&&i[o+1]===r){const u=n[Pa],c=i[o+2];return u.length>c?u[c]:null}"string"==typeof s&&(o+=2)}return null}(e,n,i,r.index)),null!==R)(R.__ngLastListenerFn__||R).__ngNextListenerFn__=o,R.__ngLastListenerFn__=o,g=!1;else{o=q4(r,n,f,o),U4(C,i,o);const L=t.listen(S,i,o);m.push(o,L),d&&d.push(i,T,I,I+1)}}else o=q4(r,n,f,o);const y=r.outputs;let _;if(g&&null!==y&&(_=y[i])){const C=_.length;if(C)for(let S=0;S<C;S+=2){const j=n[_[S]][_[S+1]].subscribe(o),X=m.length;m.push(o,j),d&&d.push(i,r.index,X,-(X+1))}}}function W4(e,n,t,r){const i=ie(null);try{return mi(6,n,t),!1!==t(r)}catch(o){return ch(e,o),!1}finally{mi(7,n,t),ie(i)}}function q4(e,n,t,r){return function i(o){if(o===Function)return r;sl(e.componentOffset>-1?Wn(e.index,n):n,5);let u=W4(n,t,r,o),c=i.__ngNextListenerFn__;for(;c;)u=W4(n,t,c,o)&&u,c=c.__ngNextListenerFn__;return u}}function Z(e=1){return function Uk(e){return(de.lFrame.contextLView=function Bw(e,n){for(;e>0;)n=n[Aa],e--;return n}(e,de.lFrame.contextLView))[et]}(e)}function a6(e,n){let t=null;const r=function WA(e){const n=e.attrs;if(null!=n){const t=n.indexOf(5);if(!(1&t))return n[t+1]}return null}(e);for(let i=0;i<n.length;i++){const o=n[i];if("*"!==o){if(null===r?pw(e,o,!0):YA(r,o))return i}else t=i}return t}function tv(e,n=0,t,r,i,o){const s=x(),u=ge(),c=r?e+1:null;null!==c&&wl(s,u,c,r,i,o,null,t);const d=ws(u,J+e,16,null,t||null);null===d.projection&&(d.projection=n),Wg();const m=!s[_n]||fs();null===s[mt][tn].projection[d.projection]&&null!==c?function u6(e,n,t){const r=J+t,i=n.data[r],o=e[r],s=Ds(o,i.tView.ssrId);Wa(o,za(e,i,void 0,{dehydratedView:s}),0,Cs(i,s))}(s,u,c):m&&32&~d.flags&&function o2(e,n,t){$1(n[le],0,n,t,U0(e,t,n),V1(t.parent||n[tn],t,n))}(u,s,d)}function rv(e,n,t,r){t>=e.data.length&&(e.data[t]=null,e.blueprint[t]=null),n[t]=r}function Lh(e){return ds($w(),J+e)}function fe(e,n=""){const t=x(),r=ge(),i=e+J,o=r.firstCreatePass?ws(r,i,1,n,null):r.data[i],s=hS(r,t,o,n,e);t[i]=s,Bc()&&oh(r,t,s,o),Br(o,!1)}let hS=(e,n,t,r,i)=>(gi(!0),function j0(e,n){return e.createText(n)}(n[le],r));function Xt(e){return lt("",e,""),Xt}function lt(e,n,t){const r=x(),i=function ou(e,n,t,r){return Mt(e,Hr(),t)?n+W(t)+r:pe}(r,e,n,t);return i!==pe&&function $i(e,n,t){const r=Lc(n,e);!function x1(e,n,t){e.setValue(n,t)}(e[le],r,t)}(r,nn(),i),lt}function iv(e,n,t){oD(n)&&(n=n());const r=x();return Mt(r,Hr(),n)&&jn(ge(),tt(),r,e,n,r[le],t,!1),iv}function ov(e,n){const t=x(),r=ge(),i=qe();return ev(r,t,t[le],i,e,n),ov}const ES={};function hr(e){const n=ge(),t=x(),r=e+J;return Br(ws(n,r,128,null,null),!1),rv(n,t,r,ES),hr}function Hn(e){return Cn("NgLet"),rv(ge(),x(),nn(),e),e}function At(e){const t=ds($w(),J+e);if(t===ES)throw new k(314,!1);return t}function sv(e,n,t,r,i){if(e=ae(e),Array.isArray(e))for(let o=0;o<e.length;o++)sv(e[o],n,t,r,i);else{const o=ge(),s=x(),u=qe();let c=us(e)?e:ae(e.provide);const d=Cw(e),f=1048575&u.providerIndexes,m=u.directiveStart,g=u.providerIndexes>>20;if(us(e)||!e.multi){const y=new Hc(d,i,P),_=uv(c,n,i?f:f+g,m);-1===_?(o0(Rf(u,s),o,c),av(o,e,n.length),n.push(c),u.directiveStart++,u.directiveEnd++,i&&(u.providerIndexes+=1048576),t.push(y),s.push(y)):(t[_]=y,s[_]=y)}else{const y=uv(c,n,f+g,m),_=uv(c,n,f,f+g),S=_>=0&&t[_];if(i&&!S||!i&&!(y>=0&&t[y])){o0(Rf(u,s),o,c);const I=function A6(e,n,t,r,i){const o=new Hc(e,t,P);return o.multi=[],o.index=n,o.componentProviders=0,DS(o,i,r&&!t),o}(i?P6:I6,t.length,i,r,d);!i&&S&&(t[_].providerFactory=I),av(o,e,n.length,0),n.push(c),u.directiveStart++,u.directiveEnd++,i&&(u.providerIndexes+=1048576),t.push(I),s.push(I)}else av(o,e,y>-1?y:_,DS(t[i?_:y],d,!i&&r));!i&&r&&S&&t[_].componentProviders++}}}function av(e,n,t,r){const i=us(n),o=function ok(e){return!!e.useClass}(n);if(i||o){const c=(o?ae(n.useClass):n).prototype.ngOnDestroy;if(c){const d=e.destroyHooks||(e.destroyHooks=[]);if(!i&&n.multi){const f=d.indexOf(t);-1===f?d.push(t,[r,c]):d[f+1].push(r,c)}else d.push(t,c)}}}function DS(e,n,t){return t&&e.componentProviders++,e.multi.push(n)-1}function uv(e,n,t,r){for(let i=t;i<r;i++)if(n[i]===e)return i;return-1}function I6(e,n,t,r){return cv(this.multi,[])}function P6(e,n,t,r){const i=this.multi;let o;if(this.providerFactory){const s=this.providerFactory.componentProviders,u=ms(t,t[B],this.providerFactory.index,r);o=u.slice(0,s),cv(i,o);for(let c=s;c<u.length;c++)o.push(u[c])}else o=[],cv(i,o);return o}function cv(e,n){for(let t=0;t<e.length;t++)n.push((0,e[t])());return n}function rt(e,n=[]){return t=>{t.providersResolver=(r,i)=>function M6(e,n,t){const r=ge();if(r.firstCreatePass){const i=Vr(e);sv(t,r.data,r.blueprint,i,!0),sv(n,r.data,r.blueprint,i,!1)}}(r,i?i(e):e,n)}}let k6=(()=>{class e{constructor(t){this._injector=t,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(t){if(!t.standalone)return null;if(!this.cachedInjectors.has(t)){const r=Tg(0,t.type),i=r.length>0?function wD(e,n,t=null){return new bD({providers:e,parent:n,debugName:t,runEnvironmentInitializers:!0}).injector}([r],this._injector,`Standalone[${t.type.name}]`):null;this.cachedInjectors.set(t,i)}return this.cachedInjectors.get(t)}ngOnDestroy(){try{for(const t of this.cachedInjectors.values())null!==t&&t.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=q({token:e,providedIn:"environment",factory:()=>new e(l(cr))})}return e})();function lv(e){Cn("NgStandalone"),e.getStandaloneInjector=n=>n.get(k6).getOrCreateStandaloneInjector(e)}function xl(e,n){const t=e[n];return t===pe?void 0:t}function PS(e,n,t,r,i,o){const s=n+t;return Mt(e,s,i)?Ei(e,s+1,o?r.call(o,i):r(i)):xl(e,s+1)}function AS(e,n,t,r,i,o,s){const u=n+t;return Is(e,u,i,o)?Ei(e,u+2,s?r.call(s,i,o):r(i,o)):xl(e,u+2)}function kS(e,n,t,r,i,o,s,u){const c=n+t;return function Eh(e,n,t,r,i){const o=Is(e,n,t,r);return Mt(e,n+2,i)||o}(e,c,i,o,s)?Ei(e,c+3,u?r.call(u,i,o,s):r(i,o,s)):xl(e,c+3)}function xS(e,n,t,r,i,o,s,u,c){const d=n+t;return function fr(e,n,t,r,i,o){const s=Is(e,n,t,r);return Is(e,n+2,i,o)||s}(e,d,i,o,s,u)?Ei(e,d+4,c?r.call(c,i,o,s,u):r(i,o,s,u)):xl(e,d+4)}function it(e,n){const t=ge();let r;const i=e+J;t.firstCreatePass?(r=function U6(e,n){if(n)for(let t=n.length-1;t>=0;t--){const r=n[t];if(e===r.name)return r}}(n,t.pipeRegistry),t.data[i]=r,r.onDestroy&&(t.destroyHooks??=[]).push(i,r.onDestroy)):r=t.data[i];const o=r.factory||(r.factory=vn(r.type)),u=Jt(P);try{const c=Of(!1),d=o();return Of(c),rv(t,x(),i,d),d}finally{Jt(u)}}function Nl(e,n,t){const r=e+J,i=x(),o=ds(i,r);return Ol(i,r)?PS(i,wn(),n,o.transform,t,o):o.transform(t)}function hn(e,n,t,r){const i=e+J,o=x(),s=ds(o,i);return Ol(o,i)?AS(o,wn(),n,s.transform,t,r,s):s.transform(t,r)}function _u(e,n,t,r,i){const o=e+J,s=x(),u=ds(s,o);return Ol(s,o)?kS(s,wn(),n,u.transform,t,r,i,u):u.transform(t,r,i)}function Ol(e,n){return e[B].data[n].pure}function Bh(e,n){return dh(e,n)}const eT=new $(""),Uh=new $("");let vv,gv=(()=>{class e{constructor(t,r,i){this._ngZone=t,this.registry=r,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,vv||(function VV(e){vv=e}(i),i.addToWindow(r)),this._watchAngularEvents(),t.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Re.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb()}});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(t)||(clearTimeout(r.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,r,i){let o=-1;r&&r>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==o),t()},r)),this._callbacks.push({doneCb:t,timeoutId:o,updateCb:i})}whenStable(t,r,i){if(i&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(t,r,i),this._runCallbacksIfReady()}registerApplication(t){this.registry.registerApplication(t,this)}unregisterApplication(t){this.registry.unregisterApplication(t)}findProviders(t,r,i){return[]}static#e=this.\u0275fac=function(r){return new(r||e)(l(Re),l(yv),l(Uh))};static#t=this.\u0275prov=q({token:e,factory:e.\u0275fac})}return e})(),yv=(()=>{class e{constructor(){this._applications=new Map}registerApplication(t,r){this._applications.set(t,r)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,r=!0){return vv?.findTestabilityInTree(this,t,r)??null}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function $h(e){return!!e&&"function"==typeof e.then}function tT(e){return!!e&&"function"==typeof e.subscribe}const nT=new $("");let rT=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,r)=>{this.resolve=t,this.reject=r}),this.appInits=p(nT,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const t=[];for(const i of this.appInits){const o=i();if($h(o))t.push(o);else if(tT(o)){const s=new Promise((u,c)=>{o.subscribe({complete:u,error:c})});t.push(s)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(t).then(()=>{r()}).catch(i=>{this.reject(i)}),0===t.length&&r(),this.initialized=!0}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const _v=new $("");function oT(e,n){return Array.isArray(n)?n.reduce(oT,e):{...e,...n}}let pr=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=p(Mx),this.afterRenderManager=p(PD),this.zonelessEnabled=p(ml),this.dirtyFlags=0,this.deferredDirtyFlags=0,this.externalTestViews=new Set,this.beforeRender=new bt,this.afterTick=new bt,this.componentTypes=[],this.components=[],this.isStable=p(gs).hasPendingTasks.pipe(St(t=>!t)),this._injector=p(cr)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let t;return new Promise(r=>{t=this.isStable.subscribe({next:i=>{i&&r()}})}).finally(()=>{t.unsubscribe()})}get injector(){return this._injector}bootstrap(t,r){const i=t instanceof LE;if(!this._injector.get(rT).done)throw!i&&function as(e){const n=ye(e)||$t(e)||en(e);return null!==n&&n.standalone}(t),new k(405,!1);let s;s=i?t:this._injector.get(Ss).resolveComponentFactory(t),this.componentTypes.push(s.componentType);const u=function jV(e){return e.isBoundToModule}(s)?void 0:this._injector.get(Ms),d=s.create(Ke.NULL,[],r||s.selector,u),f=d.location.nativeElement,m=d.injector.get(eT,null);return m?.registerApplication(f),d.onDestroy(()=>{this.detachView(d.hostView),zh(this.components,d),m?.unregisterApplication(f)}),this._loadComponent(d),d}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new k(101,!1);const t=ie(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,ie(t),this.afterTick.next()}}synchronize(){let t=null;this._injector.destroyed||(t=this._injector.get(yh,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let r=0;for(;0!==this.dirtyFlags&&r++<10;)this.synchronizeOnce(t)}synchronizeOnce(t){if(this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0,7&this.dirtyFlags){const r=!!(1&this.dirtyFlags);this.dirtyFlags&=-8,this.dirtyFlags|=8,this.beforeRender.next(r);for(let{_lView:i,notifyErrorHandler:o}of this._views)GV(i,o,r,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),7&this.dirtyFlags)return}else t?.begin?.(),t?.end?.();8&this.dirtyFlags&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){this.allViews.some(({_lView:t})=>Tf(t))?this.dirtyFlags|=2:this.dirtyFlags&=-8}attachView(t){const r=t;this._views.push(r),r.attachToAppRef(this)}detachView(t){const r=t;zh(this._views,r),r.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t);const r=this._injector.get(_v,[]);[...this._bootstrapListeners,...r].forEach(i=>i(t))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(t=>t()),this._views.slice().forEach(t=>t.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(t){return this._destroyListeners.push(t),()=>zh(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new k(406,!1);const t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function zh(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}function GV(e,n,t,r){(t||Tf(e))&&lh(e,n,t&&!r?0:1)}let WV=(()=>{class e{constructor(){this.zone=p(Re),this.changeDetectionScheduler=p(Za),this.applicationRef=p(pr)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function bv({ngZoneFactory:e,ignoreChangesOutsideZone:n,scheduleInRootZone:t}){return e??=()=>new Re({...wv(),scheduleInRootZone:t}),[{provide:Re,useFactory:e},{provide:fi,multi:!0,useFactory:()=>{const r=p(WV,{optional:!0});return()=>r.initialize()}},{provide:fi,multi:!0,useFactory:()=>{const r=p(ZV);return()=>{r.initialize()}}},!0===n?{provide:FE,useValue:!0}:[],{provide:yy,useValue:t??EC}]}function wv(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}let ZV=(()=>{class e{constructor(){this.subscription=new cn,this.initialized=!1,this.zone=p(Re),this.pendingTasks=p(gs)}initialize(){if(this.initialized)return;this.initialized=!0;let t=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(t=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{Re.assertNotInAngularZone(),queueMicrotask(()=>{null!==t&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(t),t=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Re.assertInAngularZone(),t??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Vl=(()=>{class e{constructor(){this.appRef=p(pr),this.taskService=p(gs),this.ngZone=p(Re),this.zonelessEnabled=p(ml),this.disableScheduling=p(FE,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new cn,this.angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Hf):null,this.scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(p(yy,{optional:!0})??!1),this.cancelScheduledCallback=null,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof f0||!this.zoneIsDefined)}notify(t){if(!this.zonelessEnabled&&5===t)return;switch(t){case 0:this.appRef.dirtyFlags|=2;break;case 3:case 2:case 4:case 5:case 1:this.appRef.dirtyFlags|=4;break;case 7:this.appRef.deferredDirtyFlags|=8;break;default:this.appRef.dirtyFlags|=8}if(!this.shouldScheduleTick())return;const r=this.useMicrotaskScheduler?SC:DC;this.pendingRenderTaskId=this.taskService.add(),this.cancelScheduledCallback=this.scheduleInRootZone?Zone.root.run(()=>r(()=>this.tick())):this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(){return!(this.disableScheduling||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Hf+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;!this.zonelessEnabled&&7&this.appRef.dirtyFlags&&(this.appRef.dirtyFlags|=1);const t=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){throw this.taskService.remove(t),r}finally{this.cleanup()}this.useMicrotaskScheduler=!0,SC(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(t)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){const t=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(t)}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Do=new $("",{providedIn:"root",factory:()=>p(Do,ve.Optional|ve.SkipSelf)||function YV(){return typeof $localize<"u"&&$localize.locale||Nh}()}),Ev=new $("");function qh(e){return!!e.platformInjector}let fT=(()=>{class e{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,r){const i=r?.scheduleInRootZone,s=r?.ignoreChangesOutsideZone,u=[bv({ngZoneFactory:()=>function Tx(e="zone.js",n){return"noop"===e?new f0:"zone.js"===e?new Re(n):e}(r?.ngZone,{...wv({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}),scheduleInRootZone:i}),ignoreChangesOutsideZone:s}),{provide:Za,useExisting:Vl}],c=function VR(e,n,t){return new Ay(e,n,t,!1)}(t.moduleType,this.injector,u);return function dT(e){const n=qh(e)?e.r3Injector:e.moduleRef.injector,t=n.get(Re);return t.run(()=>{qh(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();const r=n.get(vi,null);let i;if(t.runOutsideAngular(()=>{i=t.onError.subscribe({next:o=>{r.handleError(o)}})}),qh(e)){const o=()=>n.destroy(),s=e.platformInjector.get(Ev);s.add(o),n.onDestroy(()=>{i.unsubscribe(),s.delete(o)})}else e.moduleRef.onDestroy(()=>{zh(e.allPlatformModules,e.moduleRef),i.unsubscribe()});return function HV(e,n,t){try{const r=t();return $h(r)?r.catch(i=>{throw n.runOutsideAngular(()=>e.handleError(i)),i}):r}catch(r){throw n.runOutsideAngular(()=>e.handleError(r)),r}}(r,t,()=>{const o=n.get(rT);return o.runInitializers(),o.donePromise.then(()=>{if(function CL(e){"string"==typeof e&&(S4=e.toLowerCase().replace(/_/g,"-"))}(n.get(Do,Nh)||Nh),qh(e)){const u=n.get(pr);return void 0!==e.rootComponent&&u.bootstrap(e.rootComponent),u}return function t5(e,n){const t=e.injector.get(pr);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>t.bootstrap(r));else{if(!e.instance.ngDoBootstrap)throw new k(-403,!1);e.instance.ngDoBootstrap(t)}n.push(e)}(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}({moduleRef:c,allPlatformModules:this._modules})}bootstrapModule(t,r=[]){const i=oT({},r);return function zV(e,n,t){const r=new ky(t);return Promise.resolve(r)}(0,0,t).then(o=>this.bootstrapModuleFactory(o,i))}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new k(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const t=this._injector.get(Ev,null);t&&(t.forEach(r=>r()),t.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(r){return new(r||e)(l(Ke))};static#t=this.\u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),So=null;const hT=new $("");function pT(e,n,t=[]){const r=`Platform: ${n}`,i=new $(r);return(o=[])=>{let s=Dv();if(!s||s.injector.get(hT,!1)){const u=[...t,...o,{provide:i,useValue:!0}];e?e(u):function n5(e){if(So&&!So.get(hT,!1))throw new k(400,!1);(function iT(){!function Zs(e){zu=e}(()=>{throw new k(600,!1)})})(),So=e;const n=e.get(fT);(function gT(e){e.get(KC,null)?.forEach(t=>t())})(e)}(function mT(e=[],n){return Ke.create({name:n,providers:[{provide:Pg,useValue:"platform"},{provide:Ev,useValue:new Set([()=>So=null])},...e]})}(u,r))}return function r5(){const n=Dv();if(!n)throw new k(401,!1);return n}()}}function Dv(){return So?.get(fT)??null}let Cu=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=o5}return e})();function o5(e){return function s5(e,n,t){if(ls(e)&&!t){const r=Wn(e.index,n);return new al(r,r)}return 175&e.type?new al(n[mt],n):null}(qe(),x(),!(16&~e))}const v5=pT(null,"core",[]);let _5=(()=>{class e{constructor(t){}static#e=this.\u0275fac=function(r){return new(r||e)(l(pr))};static#t=this.\u0275mod=Ut({type:e});static#n=this.\u0275inj=Ct({})}return e})();const GT=new $("");function Ve(e,n){Cn("NgSignals");const t=function Tm(e){const n=Object.create($u);n.computation=e;const t=()=>{if(to(n),Sr(n),n.value===Vo)throw n.error;return n.value};return t[z]=n,t}(e);return n?.equal&&(t[z].equal=n.equal),t}function Zr(e){const n=ie(null);try{return e()}finally{ie(n)}}const X5=new $("",{providedIn:"root",factory:()=>p(Q5)});let Q5=(()=>{class e{static#e=this.\u0275prov=q({token:e,providedIn:"root",factory:()=>new J5})}return e})();class J5{constructor(){this.queuedEffectCount=0,this.queues=new Map,this.pendingTasks=p(gs),this.taskId=null}scheduleEffect(n){if(this.enqueue(n),null===this.taskId){const t=this.taskId=this.pendingTasks.add();queueMicrotask(()=>{this.flush(),this.pendingTasks.remove(t),this.taskId=null})}}enqueue(n){const t=n.creationZone;this.queues.has(t)||this.queues.set(t,new Set);const r=this.queues.get(t);r.has(n)||(this.queuedEffectCount++,r.add(n))}flush(){for(;this.queuedEffectCount>0;)for(const[n,t]of this.queues)null===n?this.flushQueue(t):n.run(()=>this.flushQueue(t))}flushQueue(n){for(const t of n)n.delete(t),this.queuedEffectCount--,t.run()}}class e9{constructor(n,t,r,i,o,s){this.scheduler=n,this.effectFn=t,this.creationZone=r,this.injector=o,this.watcher=function Im(e,n,t){const r=Object.create(Pm);t&&(r.consumerAllowSignalWrites=!0),r.fn=e,r.schedule=n;const i=c=>{r.cleanupFn=c};return r.ref={notify:()=>_e(r),run:()=>{if(null===r.fn)return;if(function me(){return Se}())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(r.dirty=!1,r.hasRun&&!Tr(r))return;r.hasRun=!0;const c=Ye(r);try{r.cleanupFn(),r.cleanupFn=Ai,r.fn(i)}finally{ft(r,c)}},cleanup:()=>r.cleanupFn(),destroy:()=>function s(c){(function o(c){return null===c.fn&&null===c.schedule})(c)||(no(c),c.cleanupFn(),c.fn=null,c.schedule=null,c.cleanupFn=Ai)}(r),[z]:r},r.ref}(u=>this.runEffect(u),()=>this.schedule(),s),this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}runEffect(n){try{this.effectFn(n)}catch(t){this.injector.get(vi,null,{optional:!0})?.handleError(t)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}}function Ov(e,n){Cn("NgSignals"),!n?.injector&&function Ng(e){if(!Ew())throw new k(-203,!1)}();const t=n?.injector??p(Ke),r=!0!==n?.manualCleanup?t.get($c):null,i=new e9(t.get(X5),e,typeof Zone>"u"?null:Zone.current,r,t,n?.allowSignalWrites??!1),o=t.get(Cu,null,{optional:!0});return o&&8&o._lView[oe]?(o._lView[Cf]??=[]).push(i.watcher.notify):i.watcher.notify(),i}let QT=null;function Gl(){return QT}class n9{}const an=new $("");function aM(e,n){n=encodeURIComponent(n);for(const t of e.split(";")){const r=t.indexOf("="),[i,o]=-1==r?[t,""]:[t.slice(0,r),t.slice(r+1)];if(i.trim()===n)return decodeURIComponent(o)}return null}const $v=/\s+/,uM=[];let zv=(()=>{class e{constructor(t,r){this._ngEl=t,this._renderer=r,this.initialClasses=uM,this.stateMap=new Map}set klass(t){this.initialClasses=null!=t?t.trim().split($v):uM}set ngClass(t){this.rawClass="string"==typeof t?t.trim().split($v):t}ngDoCheck(){for(const r of this.initialClasses)this._updateState(r,!0);const t=this.rawClass;if(Array.isArray(t)||t instanceof Set)for(const r of t)this._updateState(r,!0);else if(null!=t)for(const r of Object.keys(t))this._updateState(r,!!t[r]);this._applyStateDiff()}_updateState(t,r){const i=this.stateMap.get(t);void 0!==i?(i.enabled!==r&&(i.changed=!0,i.enabled=r),i.touched=!0):this.stateMap.set(t,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(const t of this.stateMap){const r=t[0],i=t[1];i.changed?(this._toggleClass(r,i.enabled),i.changed=!1):i.touched||(i.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),i.touched=!1}}_toggleClass(t,r){(t=t.trim()).length>0&&t.split($v).forEach(i=>{r?this._renderer.addClass(this._ngEl.nativeElement,i):this._renderer.removeClass(this._ngEl.nativeElement,i)})}static#e=this.\u0275fac=function(r){return new(r||e)(P(Ln),P(Ci))};static#t=this.\u0275dir=ce({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0})}return e})(),Wv=(()=>{class e{constructor(t){this._viewContainerRef=t,this.ngComponentOutlet=null,this._inputsUsed=new Map}_needToReCreateNgModuleInstance(t){return void 0!==t.ngComponentOutletNgModule||void 0!==t.ngComponentOutletNgModuleFactory}_needToReCreateComponentInstance(t){return void 0!==t.ngComponentOutlet||void 0!==t.ngComponentOutletContent||void 0!==t.ngComponentOutletInjector||this._needToReCreateNgModuleInstance(t)}ngOnChanges(t){if(this._needToReCreateComponentInstance(t)&&(this._viewContainerRef.clear(),this._inputsUsed.clear(),this._componentRef=void 0,this.ngComponentOutlet)){const r=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;this._needToReCreateNgModuleInstance(t)&&(this._moduleRef?.destroy(),this._moduleRef=this.ngComponentOutletNgModule?function LR(e,n){return new Ay(e,n??null,[])}(this.ngComponentOutletNgModule,cM(r)):this.ngComponentOutletNgModuleFactory?this.ngComponentOutletNgModuleFactory.create(cM(r)):void 0),this._componentRef=this._viewContainerRef.createComponent(this.ngComponentOutlet,{injector:r,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}ngDoCheck(){if(this._componentRef){if(this.ngComponentOutletInputs)for(const t of Object.keys(this.ngComponentOutletInputs))this._inputsUsed.set(t,!0);this._applyInputStateDiff(this._componentRef)}}ngOnDestroy(){this._moduleRef?.destroy()}_applyInputStateDiff(t){for(const[r,i]of this._inputsUsed)i?(t.setInput(r,this.ngComponentOutletInputs[r]),this._inputsUsed.set(r,!1)):(t.setInput(r,void 0),this._inputsUsed.delete(r))}static#e=this.\u0275fac=function(r){return new(r||e)(P(Gr))};static#t=this.\u0275dir=ce({type:e,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},standalone:!0,features:[jr]})}return e})();function cM(e){return e.get(Ms).injector}let pp=(()=>{class e{constructor(t,r){this._viewContainer=t,this._context=new $9,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){dM("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){dM("ngIfElse",t),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(t,r){return!0}static#e=this.\u0275fac=function(r){return new(r||e)(P(Gr),P(wi))};static#t=this.\u0275dir=ce({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return e})();class $9{constructor(){this.$implicit=null,this.ngIf=null}}function dM(e,n){if(n&&!n.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${wt(n)}'.`)}let hM=(()=>{class e{constructor(t){this._viewContainerRef=t,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(t){if(this._shouldRecreateView(t)){const r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const i=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,i,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(t){return!!t.ngTemplateOutlet||!!t.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(t,r,i)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,r,i),get:(t,r,i)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,i)}})}static#e=this.\u0275fac=function(r){return new(r||e)(P(Gr))};static#t=this.\u0275dir=ce({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[jr]})}return e})();let Xv=(()=>{class e{transform(t,r,i){if(null==t)return null;if(!this.supports(t))throw function Kr(e,n){return new k(2100,!1)}();return t.slice(r,i)}supports(t){return"string"==typeof t||Array.isArray(t)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275pipe=Nt({name:"slice",type:e,pure:!1,standalone:!0})}return e})(),Qv=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Ut({type:e});static#n=this.\u0275inj=Ct({})}return e})();const mM="browser";function gM(e){return"server"===e}class yM{}class qj extends n9{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class n_ extends qj{static makeCurrent(){!function t9(e){QT??=e}(new n_)}onAndCancel(n,t,r){return n.addEventListener(t,r),()=>{n.removeEventListener(t,r)}}dispatchEvent(n,t){n.dispatchEvent(t)}remove(n){n.remove()}createElement(n,t){return(t=t||this.getDefaultDocument()).createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,t){return"window"===t?window:"document"===t?n:"body"===t?n.body:null}getBaseHref(n){const t=function Zj(){return Wl=Wl||document.querySelector("base"),Wl?Wl.getAttribute("href"):null}();return null==t?null:function Yj(e){return new URL(e,document.baseURI).pathname}(t)}resetBaseElement(){Wl=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return aM(document.cookie,n)}}let Wl=null,Xj=(()=>{class e{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=q({token:e,factory:e.\u0275fac})}return e})();const vp=new $("");let MM=(()=>{class e{constructor(t,r){this._zone=r,this._eventNameToPlugin=new Map,t.forEach(i=>{i.manager=this}),this._plugins=t.slice().reverse()}addEventListener(t,r,i){return this._findPluginFor(r).addEventListener(t,r,i)}getZone(){return this._zone}_findPluginFor(t){let r=this._eventNameToPlugin.get(t);if(r)return r;if(r=this._plugins.find(o=>o.supports(t)),!r)throw new k(5101,!1);return this._eventNameToPlugin.set(t,r),r}static#e=this.\u0275fac=function(r){return new(r||e)(l(vp),l(Re))};static#t=this.\u0275prov=q({token:e,factory:e.\u0275fac})}return e})();class r_{constructor(n){this._doc=n}}const i_="ng-app-id";let IM=(()=>{class e{constructor(t,r,i,o={}){this.doc=t,this.appId=r,this.nonce=i,this.platformId=o,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=gM(o),this.resetHostNodes()}addStyles(t){for(const r of t)1===this.changeUsageCount(r,1)&&this.onStyleAdded(r)}removeStyles(t){for(const r of t)this.changeUsageCount(r,-1)<=0&&this.onStyleRemoved(r)}ngOnDestroy(){const t=this.styleNodesInDOM;t&&(t.forEach(r=>r.remove()),t.clear());for(const r of this.getAllStyles())this.onStyleRemoved(r);this.resetHostNodes()}addHost(t){this.hostNodes.add(t);for(const r of this.getAllStyles())this.addStyleToHost(t,r)}removeHost(t){this.hostNodes.delete(t)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(t){for(const r of this.hostNodes)this.addStyleToHost(r,t)}onStyleRemoved(t){const r=this.styleRef;r.get(t)?.elements?.forEach(i=>i.remove()),r.delete(t)}collectServerRenderedStyles(){const t=this.doc.head?.querySelectorAll(`style[${i_}="${this.appId}"]`);if(t?.length){const r=new Map;return t.forEach(i=>{null!=i.textContent&&r.set(i.textContent,i)}),r}return null}changeUsageCount(t,r){const i=this.styleRef;if(i.has(t)){const o=i.get(t);return o.usage+=r,o.usage}return i.set(t,{usage:r,elements:[]}),r}getStyleElement(t,r){const i=this.styleNodesInDOM,o=i?.get(r);if(o?.parentNode===t)return i.delete(r),o.removeAttribute(i_),o;{const s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=r,this.platformIsServer&&s.setAttribute(i_,this.appId),t.appendChild(s),s}}addStyleToHost(t,r){const i=this.getStyleElement(t,r),o=this.styleRef,s=o.get(r)?.elements;s?s.push(i):o.set(r,{elements:[i],usage:1})}resetHostNodes(){const t=this.hostNodes;t.clear(),t.add(this.doc.head)}static#e=this.\u0275fac=function(r){return new(r||e)(l(an),l(ja),l(QC,8),l(Gi))};static#t=this.\u0275prov=q({token:e,factory:e.\u0275fac})}return e})();const o_={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},s_=/%COMP%/g,t8=new $("",{providedIn:"root",factory:()=>!0});function AM(e,n){return n.map(t=>t.replace(s_,e))}let a_=(()=>{class e{constructor(t,r,i,o,s,u,c,d=null){this.eventManager=t,this.sharedStylesHost=r,this.appId=i,this.removeStylesOnCompDestroy=o,this.doc=s,this.platformId=u,this.ngZone=c,this.nonce=d,this.rendererByCompId=new Map,this.platformIsServer=gM(u),this.defaultRenderer=new u_(t,s,c,this.platformIsServer)}createRenderer(t,r){if(!t||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===Rr.ShadowDom&&(r={...r,encapsulation:Rr.Emulated});const i=this.getOrCreateRenderer(t,r);return i instanceof xM?i.applyToHost(t):i instanceof c_&&i.applyStyles(),i}getOrCreateRenderer(t,r){const i=this.rendererByCompId;let o=i.get(r.id);if(!o){const s=this.doc,u=this.ngZone,c=this.eventManager,d=this.sharedStylesHost,f=this.removeStylesOnCompDestroy,m=this.platformIsServer;switch(r.encapsulation){case Rr.Emulated:o=new xM(c,d,r,this.appId,f,s,u,m);break;case Rr.ShadowDom:return new o8(c,d,t,r,s,u,this.nonce,m);default:o=new c_(c,d,r,f,s,u,m)}i.set(r.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(r){return new(r||e)(l(MM),l(IM),l(ja),l(t8),l(an),l(Gi),l(Re),l(QC))};static#t=this.\u0275prov=q({token:e,factory:e.\u0275fac})}return e})();class u_{constructor(n,t,r,i){this.eventManager=n,this.doc=t,this.ngZone=r,this.platformIsServer=i,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(n,t){return t?this.doc.createElementNS(o_[t]||t,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,t){(kM(n)?n.content:n).appendChild(t)}insertBefore(n,t,r){n&&(kM(n)?n.content:n).insertBefore(t,r)}removeChild(n,t){t.remove()}selectRootElement(n,t){let r="string"==typeof n?this.doc.querySelector(n):n;if(!r)throw new k(-5104,!1);return t||(r.textContent=""),r}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,t,r,i){if(i){t=i+":"+t;const o=o_[i];o?n.setAttributeNS(o,t,r):n.setAttribute(t,r)}else n.setAttribute(t,r)}removeAttribute(n,t,r){if(r){const i=o_[r];i?n.removeAttributeNS(i,t):n.removeAttribute(`${r}:${t}`)}else n.removeAttribute(t)}addClass(n,t){n.classList.add(t)}removeClass(n,t){n.classList.remove(t)}setStyle(n,t,r,i){i&(bo.DashCase|bo.Important)?n.style.setProperty(t,r,i&bo.Important?"important":""):n.style[t]=r}removeStyle(n,t,r){r&bo.DashCase?n.style.removeProperty(t):n.style[t]=""}setProperty(n,t,r){null!=n&&(n[t]=r)}setValue(n,t){n.nodeValue=t}listen(n,t,r){if("string"==typeof n&&!(n=Gl().getGlobalEventTarget(this.doc,n)))throw new Error(`Unsupported event target ${n} for event ${t}`);return this.eventManager.addEventListener(n,t,this.decoratePreventDefault(r))}decoratePreventDefault(n){return t=>{if("__ngUnwrap__"===t)return n;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>n(t)):n(t))&&t.preventDefault()}}}function kM(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class o8 extends u_{constructor(n,t,r,i,o,s,u,c){super(n,o,s,c),this.sharedStylesHost=t,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const d=AM(i.id,i.styles);for(const f of d){const m=document.createElement("style");u&&m.setAttribute("nonce",u),m.textContent=f,this.shadowRoot.appendChild(m)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,t){return super.appendChild(this.nodeOrShadowRoot(n),t)}insertBefore(n,t,r){return super.insertBefore(this.nodeOrShadowRoot(n),t,r)}removeChild(n,t){return super.removeChild(null,t)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class c_ extends u_{constructor(n,t,r,i,o,s,u,c){super(n,o,s,u),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=i,this.styles=c?AM(c,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class xM extends c_{constructor(n,t,r,i,o,s,u,c){const d=i+"-"+r.id;super(n,t,r,o,s,u,c,d),this.contentAttr=function n8(e){return"_ngcontent-%COMP%".replace(s_,e)}(d),this.hostAttr=function r8(e){return"_nghost-%COMP%".replace(s_,e)}(d)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,t){const r=super.createElement(n,t);return super.setAttribute(r,this.contentAttr,""),r}}let s8=(()=>{class e extends r_{constructor(t){super(t)}supports(t){return!0}addEventListener(t,r,i){return t.addEventListener(r,i,!1),()=>this.removeEventListener(t,r,i)}removeEventListener(t,r,i){return t.removeEventListener(r,i)}static#e=this.\u0275fac=function(r){return new(r||e)(l(an))};static#t=this.\u0275prov=q({token:e,factory:e.\u0275fac})}return e})(),a8=(()=>{class e extends r_{constructor(t){super(t),this.delegate=p(GT,{optional:!0})}supports(t){return!!this.delegate&&this.delegate.supports(t)}addEventListener(t,r,i){return this.delegate.addEventListener(t,r,i)}removeEventListener(t,r,i){return this.delegate.removeEventListener(t,r,i)}static#e=this.\u0275fac=function(r){return new(r||e)(l(an))};static#t=this.\u0275prov=q({token:e,factory:e.\u0275fac})}return e})();const NM=["alt","control","meta","shift"],u8={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},c8={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let l8=(()=>{class e extends r_{constructor(t){super(t)}supports(t){return null!=e.parseEventName(t)}addEventListener(t,r,i){const o=e.parseEventName(r),s=e.eventCallback(o.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Gl().onAndCancel(t,o.domEventName,s))}static parseEventName(t){const r=t.toLowerCase().split("."),i=r.shift();if(0===r.length||"keydown"!==i&&"keyup"!==i)return null;const o=e._normalizeKey(r.pop());let s="",u=r.indexOf("code");if(u>-1&&(r.splice(u,1),s="code."),NM.forEach(d=>{const f=r.indexOf(d);f>-1&&(r.splice(f,1),s+=d+".")}),s+=o,0!=r.length||0===o.length)return null;const c={};return c.domEventName=i,c.fullKey=s,c}static matchEventFullKeyCode(t,r){let i=u8[t.key]||t.key,o="";return r.indexOf("code.")>-1&&(i=t.code,o="code."),!(null==i||!i)&&(i=i.toLowerCase()," "===i?i="space":"."===i&&(i="dot"),NM.forEach(s=>{s!==i&&(0,c8[s])(t)&&(o+=s+".")}),o+=i,o===r)}static eventCallback(t,r,i){return o=>{e.matchEventFullKeyCode(o,t)&&i.runGuarded(()=>r(o))}}static _normalizeKey(t){return"esc"===t?"escape":t}static#e=this.\u0275fac=function(r){return new(r||e)(l(an))};static#t=this.\u0275prov=q({token:e,factory:e.\u0275fac})}return e})();const p8=pT(v5,"browser",[{provide:Gi,useValue:mM},{provide:KC,useValue:function d8(){n_.makeCurrent()},multi:!0},{provide:an,useFactory:function h8(){return function Yx(e){v0=e}(document),document},deps:[]}]),m8=new $(""),FM=[{provide:Uh,useClass:class Kj{addToWindow(n){Ze.getAngularTestability=(r,i=!0)=>{const o=n.findTestabilityInTree(r,i);if(null==o)throw new k(5103,!1);return o},Ze.getAllAngularTestabilities=()=>n.getAllTestabilities(),Ze.getAllAngularRootElements=()=>n.getAllRootElements(),Ze.frameworkStabilizers||(Ze.frameworkStabilizers=[]),Ze.frameworkStabilizers.push(r=>{const i=Ze.getAllAngularTestabilities();let o=i.length;const s=function(){o--,0==o&&r()};i.forEach(u=>{u.whenStable(s)})})}findTestabilityInTree(n,t,r){return null==t?null:n.getTestability(t)??(r?Gl().isShadowRoot(t)?this.findTestabilityInTree(n,t.host,!0):this.findTestabilityInTree(n,t.parentElement,!0):null)}},deps:[]},{provide:eT,useClass:gv,deps:[Re,yv,Uh]},{provide:gv,useClass:gv,deps:[Re,yv,Uh]}],LM=[{provide:Pg,useValue:"root"},{provide:vi,useFactory:function f8(){return new vi},deps:[]},{provide:vp,useClass:s8,multi:!0,deps:[an,Re,Gi]},{provide:vp,useClass:l8,multi:!0,deps:[an]},{provide:vp,useClass:a8,multi:!0},a_,IM,MM,{provide:yh,useExisting:a_},{provide:yM,useClass:Xj,deps:[]},[]];let _p=(()=>{class e{constructor(t){}static withServerTransition(t){return{ngModule:e,providers:[{provide:ja,useValue:t.appId}]}}static#e=this.\u0275fac=function(r){return new(r||e)(l(m8,12))};static#t=this.\u0275mod=Ut({type:e});static#n=this.\u0275inj=Ct({providers:[...LM,...FM],imports:[Qv,_5]})}return e})(),l_=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=q({token:e,factory:function(r){let i=null;return i=r?new(r||e):l(_8),i},providedIn:"root"})}return e})(),_8=(()=>{class e extends l_{constructor(t){super(),this._doc=t}sanitize(t,r){if(null==r)return null;switch(t){case Zn.NONE:return r;case Zn.HTML:return _i(r,"HTML")?qn(r):w1(this._doc,String(r)).toString();case Zn.STYLE:return _i(r,"Style")?qn(r):r;case Zn.SCRIPT:if(_i(r,"Script"))return qn(r);throw new k(5200,!1);case Zn.URL:return _i(r,"URL")?qn(r):Jf(String(r));case Zn.RESOURCE_URL:if(_i(r,"ResourceURL"))return qn(r);throw new k(5201,!1);default:throw new k(5202,!1)}}bypassSecurityTrustHtml(t){return function gN(e){return new lN(e)}(t)}bypassSecurityTrustStyle(t){return function yN(e){return new dN(e)}(t)}bypassSecurityTrustScript(t){return function vN(e){return new fN(e)}(t)}bypassSecurityTrustUrl(t){return function _N(e){return new hN(e)}(t)}bypassSecurityTrustResourceUrl(t){return function bN(e){return new pN(e)}(t)}static#e=this.\u0275fac=function(r){return new(r||e)(l(an))};static#t=this.\u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const d_={now:()=>(d_.delegate||Date).now(),delegate:void 0};class b8 extends bt{constructor(n=1/0,t=1/0,r=d_){super(),this._bufferSize=n,this._windowTime=t,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=t===1/0,this._bufferSize=Math.max(1,n),this._windowTime=Math.max(1,t)}next(n){const{isStopped:t,_buffer:r,_infiniteTimeWindow:i,_timestampProvider:o,_windowTime:s}=this;t||(r.push(n),!i&&r.push(o.now()+s)),this._trimBuffer(),super.next(n)}_subscribe(n){this._throwIfClosed(),this._trimBuffer();const t=this._innerSubscribe(n),{_infiniteTimeWindow:r,_buffer:i}=this,o=i.slice();for(let s=0;s<o.length&&!n.closed;s+=r?1:2)n.next(o[s]);return this._checkFinalizedStatuses(n),t}_trimBuffer(){const{_bufferSize:n,_timestampProvider:t,_buffer:r,_infiniteTimeWindow:i}=this,o=(i?1:2)*n;if(n<1/0&&o<r.length&&r.splice(0,r.length-o),!i){const s=t.now();let u=0;for(let c=1;c<r.length&&r[c]<=s;c+=2)u=c;u&&r.splice(0,u+1)}}}var wp=function(){return wp=Object.assign||function(n){for(var t,r=1,i=arguments.length;r<i;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(n[o]=t[o]);return n},wp.apply(this,arguments)};function yr(e,n,t,r){return new(t||(t=Promise))(function(o,s){function u(f){try{d(r.next(f))}catch(m){s(m)}}function c(f){try{d(r.throw(f))}catch(m){s(m)}}function d(f){f.done?o(f.value):function i(o){return o instanceof t?o:new t(function(s){s(o)})}(f.value).then(u,c)}d((r=r.apply(e,n||[])).next())})}function Xr(e,n){var r,i,o,s,t={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return s={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function u(d){return function(f){return function c(d){if(r)throw new TypeError("Generator is already executing.");for(;s&&(s=0,d[0]&&(t=0)),t;)try{if(r=1,i&&(o=2&d[0]?i.return:d[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,d[1])).done)return o;switch(i=0,o&&(d=[2&d[0],o.value]),d[0]){case 0:case 1:o=d;break;case 4:return t.label++,{value:d[1],done:!1};case 5:t.label++,i=d[1],d=[0];continue;case 7:d=t.ops.pop(),t.trys.pop();continue;default:if(!(o=(o=t.trys).length>0&&o[o.length-1])&&(6===d[0]||2===d[0])){t=0;continue}if(3===d[0]&&(!o||d[1]>o[0]&&d[1]<o[3])){t.label=d[1];break}if(6===d[0]&&t.label<o[1]){t.label=o[1],o=d;break}if(o&&t.label<o[2]){t.label=o[2],t.ops.push(d);break}o[2]&&t.ops.pop(),t.trys.pop();continue}d=n.call(e,t)}catch(f){d=[6,f],i=0}finally{r=o=0}if(5&d[0])throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}([d,f])}}}function m_(e,n,t){if(t||2===arguments.length)for(var o,r=0,i=n.length;r<i;r++)(o||!(r in n))&&(o||(o=Array.prototype.slice.call(n,0,r)),o[r]=n[r]);return e.concat(o||Array.prototype.slice.call(n))}function To(e){return this instanceof To?(this.v=e,this):new To(e)}function GM(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=function p_(e){var n="function"==typeof Symbol&&Symbol.iterator,t=n&&e[n],r=0;if(t)return t.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(o){t[o]=e[o]&&function(s){return new Promise(function(u,c){!function i(o,s,u,c){Promise.resolve(c).then(function(d){o({value:d,done:u})},s)}(u,c,(s=e[o](s)).done,s.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const UM=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function $M(e){return Je(e?.then)}function zM(e){return Je(e[ra])}function WM(e){return Symbol.asyncIterator&&Je(e?.[Symbol.asyncIterator])}function qM(e){return new TypeError(`You provided ${null!==e&&"object"==typeof e?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const ZM=function B8(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function YM(e){return Je(e?.[ZM])}function KM(e){return function HM(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i,r=t.apply(e,n||[]),o=[];return i={},u("next"),u("throw"),u("return",function s(y){return function(_){return Promise.resolve(_).then(y,m)}}),i[Symbol.asyncIterator]=function(){return this},i;function u(y,_){r[y]&&(i[y]=function(C){return new Promise(function(S,I){o.push([y,C,S,I])>1||c(y,C)})},_&&(i[y]=_(i[y])))}function c(y,_){try{!function d(y){y.value instanceof To?Promise.resolve(y.value.v).then(f,m):g(o[0][2],y)}(r[y](_))}catch(C){g(o[0][3],C)}}function f(y){c("next",y)}function m(y){c("throw",y)}function g(y,_){y(_),o.shift(),o.length&&c(o[0][0],o[0][1])}}(this,arguments,function*(){const t=e.getReader();try{for(;;){const{value:r,done:i}=yield To(t.read());if(i)return yield To(void 0);yield yield To(r)}}finally{t.releaseLock()}})}function XM(e){return Je(e?.getReader)}function Qr(e){if(e instanceof _t)return e;if(null!=e){if(zM(e))return function H8(e){return new _t(n=>{const t=e[ra]();if(Je(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(UM(e))return function G8(e){return new _t(n=>{for(let t=0;t<e.length&&!n.closed;t++)n.next(e[t]);n.complete()})}(e);if($M(e))return function U8(e){return new _t(n=>{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,bd)})}(e);if(WM(e))return QM(e);if(YM(e))return function $8(e){return new _t(n=>{for(const t of e)if(n.next(t),n.closed)return;n.complete()})}(e);if(XM(e))return function z8(e){return QM(KM(e))}(e)}throw qM(e)}function QM(e){return new _t(n=>{(function W8(e,n){var t,r,i,o;return yr(this,void 0,void 0,function*(){try{for(t=GM(e);!(r=yield t.next()).done;)if(n.next(r.value),n.closed)return}catch(s){i={error:s}}finally{try{r&&!r.done&&(o=t.return)&&(yield o.call(t))}finally{if(i)throw i.error}}n.complete()})})(e,n).catch(t=>n.error(t))})}function Mo(e,n,t,r=0,i=!1){const o=n.schedule(function(){t(),i?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(o),!i)return o}function Cp(e,n,t=1/0){return Je(n)?Cp((r,i)=>St((o,s)=>n(r,o,i,s))(Qr(e(r,i))),t):("number"==typeof n&&(t=n),mn((r,i)=>function q8(e,n,t,r,i,o,s,u){const c=[];let d=0,f=0,m=!1;const g=()=>{m&&!c.length&&!d&&n.complete()},y=C=>d<r?_(C):c.push(C),_=C=>{o&&n.next(C),d++;let S=!1;Qr(t(C,f++)).subscribe(Kt(n,I=>{i?.(I),o?y(I):n.next(I)},()=>{S=!0},void 0,()=>{if(S)try{for(d--;c.length&&d<r;){const I=c.shift();s?Mo(n,s,()=>_(I)):_(I)}g()}catch(I){n.error(I)}}))};return e.subscribe(Kt(n,y,()=>{m=!0,g()})),()=>{u?.()}}(r,i,e,t)))}function JM(e=1/0){return Cp(Ho,e)}const eI=new _t(e=>e.complete());function tI(e){return e&&Je(e.schedule)}function g_(e){return e[e.length-1]}function Ep(e){return tI(g_(e))?e.pop():void 0}function nI(e,n=0){return mn((t,r)=>{t.subscribe(Kt(r,i=>Mo(r,e,()=>r.next(i),n),()=>Mo(r,e,()=>r.complete(),n),i=>Mo(r,e,()=>r.error(i),n)))})}function rI(e,n=0){return mn((t,r)=>{r.add(e.schedule(()=>t.subscribe(r),n))})}function iI(e,n){if(!e)throw new Error("Iterable cannot be null");return new _t(t=>{Mo(t,n,()=>{const r=e[Symbol.asyncIterator]();Mo(t,n,()=>{r.next().then(i=>{i.done?t.complete():t.next(i.value)})},0,!0)})})}function Io(e,n){return n?function nB(e,n){if(null!=e){if(zM(e))return function X8(e,n){return Qr(e).pipe(rI(n),nI(n))}(e,n);if(UM(e))return function J8(e,n){return new _t(t=>{let r=0;return n.schedule(function(){r===e.length?t.complete():(t.next(e[r++]),t.closed||this.schedule())})})}(e,n);if($M(e))return function Q8(e,n){return Qr(e).pipe(rI(n),nI(n))}(e,n);if(WM(e))return iI(e,n);if(YM(e))return function eB(e,n){return new _t(t=>{let r;return Mo(t,n,()=>{r=e[ZM](),Mo(t,n,()=>{let i,o;try{({value:i,done:o}=r.next())}catch(s){return void t.error(s)}o?t.complete():t.next(i)},0,!0)}),()=>Je(r?.return)&&r.return()})}(e,n);if(XM(e))return function tB(e,n){return iI(KM(e),n)}(e,n)}throw qM(e)}(e,n):Qr(e)}function oI(e,n){return mn((t,r)=>{let i=null,o=0,s=!1;const u=()=>s&&!i&&r.complete();t.subscribe(Kt(r,c=>{i?.unsubscribe();let d=0;const f=o++;Qr(e(c,f)).subscribe(i=Kt(r,m=>r.next(n?n(c,m,f,d++):m),()=>{i=null,u()}))},()=>{s=!0,u()}))})}const Dp={schedule(e,n){const t=setTimeout(e,n);return()=>clearTimeout(t)},scheduleBeforeRender(e){if(typeof window>"u")return Dp.schedule(e,0);if(typeof window.requestAnimationFrame>"u")return Dp.schedule(e,16);const n=window.requestAnimationFrame(e);return()=>window.cancelAnimationFrame(n)}};let y_;function fB(e,n,t){let r=t;return function oB(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}(e)&&n.some((i,o)=>!("*"===i||!function aB(e,n){if(!y_){const t=Element.prototype;y_=t.matches||t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE&&y_.call(e,n)}(e,i)||(r=o,0))),r}class pB{constructor(n,t){this.componentFactory=t.get(Ss).resolveComponentFactory(n)}create(n){return new mB(this.componentFactory,n)}}class mB{constructor(n,t){this.componentFactory=n,this.injector=t,this.eventEmitters=new b8(1),this.events=this.eventEmitters.pipe(oI(r=>function rB(...e){const n=Ep(e),t=function K8(e,n){return"number"==typeof g_(e)?e.pop():n}(e,1/0),r=e;return r.length?1===r.length?Qr(r[0]):JM(t)(Io(r,n)):eI}(...r))),this.componentRef=null,this.viewChangeDetectorRef=null,this.inputChanges=null,this.hasInputChanges=!1,this.implementsOnChanges=!1,this.scheduledChangeDetectionFn=null,this.scheduledDestroyFn=null,this.initialInputValues=new Map,this.unchangedInputs=new Set(this.componentFactory.inputs.map(({propName:r})=>r)),this.ngZone=this.injector.get(Re),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(n){this.runInZone(()=>{if(null!==this.scheduledDestroyFn)return this.scheduledDestroyFn(),void(this.scheduledDestroyFn=null);null===this.componentRef&&this.initializeComponent(n)})}disconnect(){this.runInZone(()=>{null===this.componentRef||null!==this.scheduledDestroyFn||(this.scheduledDestroyFn=Dp.schedule(()=>{null!==this.componentRef&&(this.componentRef.destroy(),this.componentRef=null,this.viewChangeDetectorRef=null)},10))})}getInputValue(n){return this.runInZone(()=>null===this.componentRef?this.initialInputValues.get(n):this.componentRef.instance[n])}setInputValue(n,t,r){this.runInZone(()=>{r&&(t=r.call(this.componentRef?.instance,t)),null!==this.componentRef?function uB(e,n){return e===n||e!=e&&n!=n}(t,this.getInputValue(n))&&(void 0!==t||!this.unchangedInputs.has(n))||(this.recordInputChange(n,t),this.unchangedInputs.delete(n),this.hasInputChanges=!0,this.componentRef.instance[n]=t,this.scheduleDetectChanges()):this.initialInputValues.set(n,t)})}initializeComponent(n){const t=Ke.create({providers:[],parent:this.injector}),r=function dB(e,n){const t=e.childNodes,r=n.map(()=>[]);let i=-1;n.some((o,s)=>"*"===o&&(i=s,!0));for(let o=0,s=t.length;o<s;++o){const u=t[o],c=fB(u,n,i);-1!==c&&r[c].push(u)}return r}(n,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(t,r,n),this.viewChangeDetectorRef=this.componentRef.injector.get(Cu),this.implementsOnChanges=function sB(e){return"function"==typeof e}(this.componentRef.instance.ngOnChanges),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.detectChanges(),this.injector.get(pr).attachView(this.componentRef.hostView)}initializeInputs(){this.componentFactory.inputs.forEach(({propName:n,transform:t})=>{this.initialInputValues.has(n)&&this.setInputValue(n,this.initialInputValues.get(n),t)}),this.initialInputValues.clear()}initializeOutputs(n){const t=this.componentFactory.outputs.map(({propName:r,templateName:i})=>n.instance[r].pipe(St(s=>({name:i,value:s}))));this.eventEmitters.next(t)}callNgOnChanges(n){if(!this.implementsOnChanges||null===this.inputChanges)return;const t=this.inputChanges;this.inputChanges=null,n.instance.ngOnChanges(t)}markViewForCheck(n){this.hasInputChanges&&(this.hasInputChanges=!1,n.markForCheck())}scheduleDetectChanges(){this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=Dp.scheduleBeforeRender(()=>{this.scheduledChangeDetectionFn=null,this.detectChanges()}))}recordInputChange(n,t){if(!this.implementsOnChanges)return;null===this.inputChanges&&(this.inputChanges={});const r=this.inputChanges[n];if(r)return void(r.currentValue=t);const i=this.unchangedInputs.has(n),o=i?void 0:this.getInputValue(n);this.inputChanges[n]=new kw(o,t,i)}detectChanges(){null!==this.componentRef&&(this.callNgOnChanges(this.componentRef),this.markViewForCheck(this.viewChangeDetectorRef),this.componentRef.changeDetectorRef.detectChanges())}runInZone(n){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(n):n()}}class gB extends HTMLElement{constructor(){super(...arguments),this.ngElementEventsSubscription=null}}class gt{constructor(n,t){this.type=n,this.payload=t}}const Jn={phoneNumber:{length:{min:4,max:30}},card:{code:{lengths:{"american-express":[3,4]}},number:{length:{min:13,max:19}},holder:{length:{min:1,max:128}}},keys:{apmsCollapse:"apms-collapse"}};function sI(e,n,t,r,i,o,s){try{var u=e[o](s),c=u.value}catch(d){return void t(d)}u.done?n(c):Promise.resolve(c).then(r,i)}function Su(e){return function(){var n=this,t=arguments;return new Promise(function(r,i){var o=e.apply(n,t);function s(c){sI(o,r,i,s,u,"next",c)}function u(c){sI(o,r,i,s,u,"throw",c)}s(void 0)})}}function Sp(e,n){return new Promise(function(t){return setTimeout(t,e,n)})}function Tp(e){return!!e&&"function"==typeof e.then}function uI(e,n){try{var t=e();Tp(t)?t.then(function(r){return n(!0,r)},function(r){return n(!1,r)}):n(!0,t)}catch(r){n(!1,r)}}function cI(e,n,t){return void 0===t&&(t=16),yr(this,void 0,void 0,function(){var r,i,o,s;return Xr(this,function(u){switch(u.label){case 0:r=Array(e.length),i=Date.now(),o=0,u.label=1;case 1:return o<e.length?(r[o]=n(e[o],o),(s=Date.now())>=i+t?(i=s,[4,new Promise(function(e){var n=new MessageChannel;n.port1.onmessage=function(){return e()},n.port2.postMessage(null)})]):[3,3]):[3,4];case 2:u.sent(),u.label=3;case 3:return++o,[3,1];case 4:return[2,r]}})})}function ql(e){return e.then(void 0,function(){}),e}function v_(e){return parseInt(e)}function Jr(e){return parseFloat(e)}function Yi(e,n){return"number"==typeof e&&isNaN(e)?n:e}function Tn(e){return e.reduce(function(n,t){return n+(t?1:0)},0)}function lI(e,n){if(void 0===n&&(n=1),Math.abs(n)>=1)return Math.round(e/n)*n;var t=1/n;return Math.round(e*t)/t}function Po(e,n){var f=0,m=0,g=0,y=0;g+=(y+=(65535&e[1])+(65535&n[1]))>>>16,y&=65535,m+=(g+=(e[1]>>>16)+(n[1]>>>16))>>>16,g&=65535,f+=(m+=(65535&e[0])+(65535&n[0]))>>>16,f+=(e[0]>>>16)+(n[0]>>>16),e[0]=(f&=65535)<<16|(m&=65535),e[1]=g<<16|y}function vr(e,n){var r=65535&e[0],i=e[1]>>>16,o=65535&e[1],u=65535&n[0],c=n[1]>>>16,d=65535&n[1],f=0,m=0,g=0,y=0;g+=(y+=o*d)>>>16,y&=65535,m+=(g+=i*d)>>>16,g&=65535,m+=(g+=o*c)>>>16,g&=65535,f+=(m+=r*d)>>>16,m&=65535,f+=(m+=i*c)>>>16,m&=65535,f+=(m+=o*u)>>>16,f+=(e[0]>>>16)*d+r*c+i*u+o*(n[0]>>>16),e[0]=(f&=65535)<<16|(m&=65535),e[1]=g<<16|y}function Tu(e,n){var t=e[0];32==(n%=64)?(e[0]=e[1],e[1]=t):n<32?(e[0]=t<<n|e[1]>>>32-n,e[1]=e[1]<<n|t>>>32-n):(e[0]=e[1]<<(n-=32)|t>>>32-n,e[1]=t<<n|e[1]>>>32-n)}function er(e,n){0!=(n%=64)&&(n<32?(e[0]=e[1]>>>32-n,e[1]=e[1]<<n):(e[0]=e[1]<<n-32,e[1]=0))}function yt(e,n){e[0]^=n[0],e[1]^=n[1]}var DB=[4283543511,3981806797],SB=[3301882366,444984403];function dI(e){var n=[0,e[0]>>>1];yt(e,n),vr(e,DB),n[1]=e[0]>>>1,yt(e,n),vr(e,SB),n[1]=e[0]>>>1,yt(e,n)}var Mp=[2277735313,289559509],Ip=[1291169091,658871167],fI=[0,5],TB=[0,1390208809],MB=[0,944331445];function pI(){var e=window,n=navigator;return Tn(["MSCSSMatrix"in e,"msSetImmediate"in e,"msIndexedDB"in e,"msMaxTouchPoints"in n,"msPointerEnabled"in n])>=4}function Zl(){var e=window,n=navigator;return Tn(["webkitPersistentStorage"in n,"webkitTemporaryStorage"in n,0===n.vendor.indexOf("Google"),"webkitResolveLocalFileSystemURL"in e,"BatteryManager"in e,"webkitMediaStream"in e,"webkitSpeechGrammar"in e])>=5}function ei(){var e=window;return Tn(["ApplePayError"in e,"CSSPrimitiveValue"in e,"Counter"in e,0===navigator.vendor.indexOf("Apple"),"RGBColor"in e,"WebKitMediaKeys"in e])>=4}function __(){var e=window,n=e.HTMLElement,t=e.Document;return Tn(["safari"in e,!("ongestureend"in e),!("TouchEvent"in e),!("orientation"in e),n&&!("autocapitalize"in n.prototype),t&&"pointerLockElement"in t.prototype])>=4}function Yl(){var e=window;return function AB(e){return/^function\s.*?\{\s*\[native code]\s*}$/.test(String(e))}(e.print)&&"[object WebPageNamespace]"===String(e.browser)}function mI(){var e,n,t=window;return Tn(["buildID"in navigator,"MozAppearance"in(null!==(n=null===(e=document.documentElement)||void 0===e?void 0:e.style)&&void 0!==n?n:{}),"onmozfullscreenchange"in t,"mozInnerScreenX"in t,"CSSMozDocumentRule"in t,"CanvasCaptureMediaStream"in t])>=4}function Kl(){var e=window,n=navigator,t=e.CSS,r=e.HTMLButtonElement;return Tn([!("getStorageUpdates"in n),r&&"popover"in r.prototype,"CSSCounterStyleRule"in e,t.supports("font-size-adjust: ex-height 0.5"),t.supports("text-transform: full-width")])>=4}function jB(){var e=document;return(e.exitFullscreen||e.msExitFullscreen||e.mozCancelFullScreen||e.webkitExitFullscreen).call(e)}function b_(){var e=Zl(),n=mI(),t=window,r=navigator,i="connection";return e?Tn([!("SharedWorker"in t),r[i]&&"ontypechange"in r[i],!("sinkId"in new Audio)])>=2:!!n&&Tn(["onorientationchange"in t,"orientation"in t,/android/i.test(r.appVersion)])>=2}function gI(e){var n=new Error(e);return n.name=e,n}function yI(e,n,t){var r,i,o;return void 0===t&&(t=50),yr(this,void 0,void 0,function(){var s,u;return Xr(this,function(c){switch(c.label){case 0:s=document,c.label=1;case 1:return s.body?[3,3]:[4,Sp(t)];case 2:return c.sent(),[3,1];case 3:u=s.createElement("iframe"),c.label=4;case 4:return c.trys.push([4,,10,11]),[4,new Promise(function(d,f){var m=!1,g=function(){m=!0,d()};u.onload=g,u.onerror=function(S){m=!0,f(S)};var _=u.style;_.setProperty("display","block","important"),_.position="absolute",_.top="0",_.left="0",_.visibility="hidden",n&&"srcdoc"in u?u.srcdoc=n:u.src="about:blank",s.body.appendChild(u);var C=function(){var S,I;m||("complete"===(null===(I=null===(S=u.contentWindow)||void 0===S?void 0:S.document)||void 0===I?void 0:I.readyState)?g():setTimeout(C,10))};C()})];case 5:c.sent(),c.label=6;case 6:return null!==(i=null===(r=u.contentWindow)||void 0===r?void 0:r.document)&&void 0!==i&&i.body?[3,8]:[4,Sp(t)];case 7:return c.sent(),[3,6];case 8:return[4,e(u,u.contentWindow)];case 9:return[2,c.sent()];case 10:return null===(o=u.parentNode)||void 0===o||o.removeChild(u),[7];case 11:return[2]}})})}function qB(e){for(var n=function CB(e){for(var n,t,r="Unexpected syntax '".concat(e,"'"),i=/^\s*([a-z-]*)(.*)$/i.exec(e),o=i[1]||void 0,s={},u=/([.:#][\w-]+|\[.+?\])/gi,c=function(g,y){s[g]=s[g]||[],s[g].push(y)};;){var d=u.exec(i[2]);if(!d)break;var f=d[0];switch(f[0]){case".":c("class",f.slice(1));break;case"#":c("id",f.slice(1));break;case"[":var m=/^\[([\w-]+)([~|^$*]?=("(.*?)"|([\w-]+)))?(\s+[is])?\]$/.exec(f);if(!m)throw new Error(r);c(m[1],null!==(t=null!==(n=m[4])&&void 0!==n?n:m[5])&&void 0!==t?t:"");break;default:throw new Error(r)}}return[o,s]}(e),r=n[1],i=document.createElement(n[0]??"div"),o=0,s=Object.keys(r);o<s.length;o++){var u=s[o],c=r[u].join(" ");"style"===u?ZB(i.style,c):i.setAttribute(u,c)}return i}function ZB(e,n){for(var t=0,r=n.split(";");t<r.length;t++){var o=/^\s*([\w-]+)\s*:\s*(.+?)(\s*!([\w-]+))?\s*$/.exec(r[t]);o&&e.setProperty(o[1],o[2],o[4]||"")}}var Mu=["monospace","sans-serif","serif"],vI=["sans-serif-thin","ARNO PRO","Agency FB","Arabic Typesetting","Arial Unicode MS","AvantGarde Bk BT","BankGothic Md BT","Batang","Bitstream Vera Sans Mono","Calibri","Century","Century Gothic","Clarendon","EUROSTILE","Franklin Gothic","Futura Bk BT","Futura Md BT","GOTHAM","Gill Sans","HELV","Haettenschweiler","Helvetica Neue","Humanst521 BT","Leelawadee","Letter Gothic","Levenim MT","Lucida Bright","Lucida Sans","Menlo","MS Mincho","MS Outlook","MS Reference Specialty","MS UI Gothic","MT Extra","MYRIAD PRO","Marlett","Meiryo UI","Microsoft Uighur","Minion Pro","Monotype Corsiva","PMingLiU","Pristina","SCRIPTINA","Segoe UI Light","Serifa","SimHei","Small Fonts","Staccato222 BT","TRAJAN PRO","Univers CE 55 Medium","Vrinda","ZWAdobeF"];function w_(e){return e.toDataURL()}var Pp,C_;function E_(){var e=screen;return[Yi(Jr(e.availTop),null),Yi(Jr(e.width)-Jr(e.availWidth)-Yi(Jr(e.availLeft),0),null),Yi(Jr(e.height)-Jr(e.availHeight)-Yi(Jr(e.availTop),0),null),Yi(Jr(e.availLeft),null)]}function D_(e){for(var n=0;n<4;++n)if(e[n])return!1;return!0}function F7(e){var n;return yr(this,void 0,void 0,function(){var t,r,i,o,s,u,c;return Xr(this,function(d){switch(d.label){case 0:for(t=document,r=t.createElement("div"),i=new Array(e.length),o={},_I(r),c=0;c<e.length;++c)"DIALOG"===(s=qB(e[c])).tagName&&s.show(),_I(u=t.createElement("div")),u.appendChild(s),r.appendChild(u),i[c]=s;d.label=1;case 1:return t.body?[3,3]:[4,Sp(50)];case 2:return d.sent(),[3,1];case 3:t.body.appendChild(r);try{for(c=0;c<e.length;++c)i[c].offsetParent||(o[e[c]]=!0)}finally{null===(n=r.parentNode)||void 0===n||n.removeChild(r)}return[2,o]}})})}function _I(e){e.style.setProperty("visibility","hidden","important"),e.style.setProperty("display","block","important")}function bI(e){return matchMedia("(inverted-colors: ".concat(e,")")).matches}function wI(e){return matchMedia("(forced-colors: ".concat(e,")")).matches}function Iu(e){return matchMedia("(prefers-contrast: ".concat(e,")")).matches}function CI(e){return matchMedia("(prefers-reduced-motion: ".concat(e,")")).matches}function EI(e){return matchMedia("(prefers-reduced-transparency: ".concat(e,")")).matches}function DI(e){return matchMedia("(dynamic-range: ".concat(e,")")).matches}var ze=Math,Mn=function(){return 0},S_={default:[],apple:[{font:"-apple-system-body"}],serif:[{fontFamily:"serif"}],sans:[{fontFamily:"sans-serif"}],mono:[{fontFamily:"monospace"}],min:[{fontSize:"1px"}],system:[{fontFamily:"system-ui"}]},rH=new Set([10752,2849,2884,2885,2886,2928,2929,2930,2931,2932,2960,2961,2962,2963,2964,2965,2966,2967,2968,2978,3024,3042,3088,3089,3106,3107,32773,32777,32777,32823,32824,32936,32937,32938,32939,32968,32969,32970,32971,3317,33170,3333,3379,3386,33901,33902,34016,34024,34076,3408,3410,3411,3412,3413,3414,3415,34467,34816,34817,34818,34819,34877,34921,34930,35660,35661,35724,35738,35739,36003,36004,36005,36347,36348,36349,37440,37441,37443,7936,7937,7938]),iH=new Set([34047,35723,36063,34852,34853,34854,34229,36392,36795,38449]),oH=["FRAGMENT_SHADER","VERTEX_SHADER"],sH=["LOW_FLOAT","MEDIUM_FLOAT","HIGH_FLOAT","LOW_INT","MEDIUM_INT","HIGH_INT"],MI="WEBGL_debug_renderer_info";function II(e){if(e.webgl)return e.webgl.context;var t,n=document.createElement("canvas");n.addEventListener("webglCreateContextError",function(){return t=void 0});for(var r=0,i=["webgl","experimental-webgl"];r<i.length;r++){var o=i[r];try{t=n.getContext(o)}catch{}if(t)break}return e.webgl={context:t},t}function lH(e,n,t){var r=e.getShaderPrecisionFormat(e[n],e[t]);return r?[r.rangeMin,r.rangeMax,r.precision]:[]}function PI(e){return Object.keys(e.__proto__).filter(dH)}function dH(e){return"string"==typeof e&&!e.match(/[^A-Z0-9_x]/)}function AI(){return mI()}function kI(e){return"function"==typeof e.getParameter}var pH={fonts:function QB(){var e=this;return yI(function(n,t){var r=t.document;return yr(e,void 0,void 0,function(){var i,o,s,u,c,d,m,g,y,_,C;return Xr(this,function(S){for((i=r.body).style.fontSize="48px",(o=r.createElement("div")).style.setProperty("visibility","hidden","important"),s={},u={},d=function(I,T){return c("'".concat(I,"',").concat(T))},m=function(){for(var I={},T=function(X){I[X]=Mu.map(function(re){return d(X,re)})},R=0,L=vI;R<L.length;R++)T(L[R]);return I},g=function(I){return Mu.some(function(T,R){return I[R].offsetWidth!==s[T]||I[R].offsetHeight!==u[T]})},y=Mu.map(c=function(I){var T=r.createElement("span"),R=T.style;return R.position="absolute",R.top="0",R.left="0",R.fontFamily=I,T.textContent="mmMwWLliI0O&1",o.appendChild(T),T}),_=m(),i.appendChild(o),C=0;C<Mu.length;C++)s[Mu[C]]=y[C].offsetWidth,u[Mu[C]]=y[C].offsetHeight;return[2,vI.filter(function(I){return g(_[I])})]})})})},domBlockers:function O7(e){var t=(void 0===e?{}:e).debug;return yr(this,void 0,void 0,function(){var r,i,s,u,c;return Xr(this,function(d){switch(d.label){case 0:return function R7(){return ei()||b_()}()?(r=function N7(){var e=atob;return{abpIndo:["#Iklan-Melayang","#Kolom-Iklan-728","#SidebarIklan-wrapper",'[title="ALIENBOLA" i]',e("I0JveC1CYW5uZXItYWRz")],abpvn:[".quangcao","#mobileCatfish",e("LmNsb3NlLWFkcw=="),'[id^="bn_bottom_fixed_"]',"#pmadv"],adBlockFinland:[".mainostila",e("LnNwb25zb3JpdA=="),".ylamainos",e("YVtocmVmKj0iL2NsaWNrdGhyZ2guYXNwPyJd"),e("YVtocmVmXj0iaHR0cHM6Ly9hcHAucmVhZHBlYWsuY29tL2FkcyJd")],adBlockPersian:["#navbar_notice_50",".kadr",'TABLE[width="140px"]',"#divAgahi",e("YVtocmVmXj0iaHR0cDovL2cxLnYuZndtcm0ubmV0L2FkLyJd")],adBlockWarningRemoval:["#adblock-honeypot",".adblocker-root",".wp_adblock_detect",e("LmhlYWRlci1ibG9ja2VkLWFk"),e("I2FkX2Jsb2NrZXI=")],adGuardAnnoyances:[".hs-sosyal","#cookieconsentdiv",'div[class^="app_gdpr"]',".as-oil",'[data-cypress="soft-push-notification-modal"]'],adGuardBase:[".BetterJsPopOverlay",e("I2FkXzMwMFgyNTA="),e("I2Jhbm5lcmZsb2F0MjI="),e("I2NhbXBhaWduLWJhbm5lcg=="),e("I0FkLUNvbnRlbnQ=")],adGuardChinese:[e("LlppX2FkX2FfSA=="),e("YVtocmVmKj0iLmh0aGJldDM0LmNvbSJd"),"#widget-quan",e("YVtocmVmKj0iLzg0OTkyMDIwLnh5eiJd"),e("YVtocmVmKj0iLjE5NTZobC5jb20vIl0=")],adGuardFrench:["#pavePub",e("LmFkLWRlc2t0b3AtcmVjdGFuZ2xl"),".mobile_adhesion",".widgetadv",e("LmFkc19iYW4=")],adGuardGerman:['aside[data-portal-id="leaderboard"]'],adGuardJapanese:["#kauli_yad_1",e("YVtocmVmXj0iaHR0cDovL2FkMi50cmFmZmljZ2F0ZS5uZXQvIl0="),e("Ll9wb3BJbl9pbmZpbml0ZV9hZA=="),e("LmFkZ29vZ2xl"),e("Ll9faXNib29zdFJldHVybkFk")],adGuardMobile:[e("YW1wLWF1dG8tYWRz"),e("LmFtcF9hZA=="),'amp-embed[type="24smi"]',"#mgid_iframe1",e("I2FkX2ludmlld19hcmVh")],adGuardRussian:[e("YVtocmVmXj0iaHR0cHM6Ly9hZC5sZXRtZWFkcy5jb20vIl0="),e("LnJlY2xhbWE="),'div[id^="smi2adblock"]',e("ZGl2W2lkXj0iQWRGb3hfYmFubmVyXyJd"),"#psyduckpockeball"],adGuardSocial:[e("YVtocmVmXj0iLy93d3cuc3R1bWJsZXVwb24uY29tL3N1Ym1pdD91cmw9Il0="),e("YVtocmVmXj0iLy90ZWxlZ3JhbS5tZS9zaGFyZS91cmw/Il0="),".etsy-tweet","#inlineShare",".popup-social"],adGuardSpanishPortuguese:["#barraPublicidade","#Publicidade","#publiEspecial","#queTooltip",".cnt-publi"],adGuardTrackingProtection:["#qoo-counter",e("YVtocmVmXj0iaHR0cDovL2NsaWNrLmhvdGxvZy5ydS8iXQ=="),e("YVtocmVmXj0iaHR0cDovL2hpdGNvdW50ZXIucnUvdG9wL3N0YXQucGhwIl0="),e("YVtocmVmXj0iaHR0cDovL3RvcC5tYWlsLnJ1L2p1bXAiXQ=="),"#top100counter"],adGuardTurkish:["#backkapat",e("I3Jla2xhbWk="),e("YVtocmVmXj0iaHR0cDovL2Fkc2Vydi5vbnRlay5jb20udHIvIl0="),e("YVtocmVmXj0iaHR0cDovL2l6bGVuemkuY29tL2NhbXBhaWduLyJd"),e("YVtocmVmXj0iaHR0cDovL3d3dy5pbnN0YWxsYWRzLm5ldC8iXQ==")],bulgarian:[e("dGQjZnJlZW5ldF90YWJsZV9hZHM="),"#ea_intext_div",".lapni-pop-over","#xenium_hot_offers"],easyList:[".yb-floorad",e("LndpZGdldF9wb19hZHNfd2lkZ2V0"),e("LnRyYWZmaWNqdW5reS1hZA=="),".textad_headline",e("LnNwb25zb3JlZC10ZXh0LWxpbmtz")],easyListChina:[e("LmFwcGd1aWRlLXdyYXBbb25jbGljayo9ImJjZWJvcy5jb20iXQ=="),e("LmZyb250cGFnZUFkdk0="),"#taotaole","#aafoot.top_box",".cfa_popup"],easyListCookie:[".ezmob-footer",".cc-CookieWarning","[data-cookie-number]",e("LmF3LWNvb2tpZS1iYW5uZXI="),".sygnal24-gdpr-modal-wrap"],easyListCzechSlovak:["#onlajny-stickers",e("I3Jla2xhbW5pLWJveA=="),e("LnJla2xhbWEtbWVnYWJvYXJk"),".sklik",e("W2lkXj0ic2tsaWtSZWtsYW1hIl0=")],easyListDutch:[e("I2FkdmVydGVudGll"),e("I3ZpcEFkbWFya3RCYW5uZXJCbG9jaw=="),".adstekst",e("YVtocmVmXj0iaHR0cHM6Ly94bHR1YmUubmwvY2xpY2svIl0="),"#semilo-lrectangle"],easyListGermany:["#SSpotIMPopSlider",e("LnNwb25zb3JsaW5rZ3J1ZW4="),e("I3dlcmJ1bmdza3k="),e("I3Jla2xhbWUtcmVjaHRzLW1pdHRl"),e("YVtocmVmXj0iaHR0cHM6Ly9iZDc0Mi5jb20vIl0=")],easyListItaly:[e("LmJveF9hZHZfYW5udW5jaQ=="),".sb-box-pubbliredazionale",e("YVtocmVmXj0iaHR0cDovL2FmZmlsaWF6aW9uaWFkcy5zbmFpLml0LyJd"),e("YVtocmVmXj0iaHR0cHM6Ly9hZHNlcnZlci5odG1sLml0LyJd"),e("YVtocmVmXj0iaHR0cHM6Ly9hZmZpbGlhemlvbmlhZHMuc25haS5pdC8iXQ==")],easyListLithuania:[e("LnJla2xhbW9zX3RhcnBhcw=="),e("LnJla2xhbW9zX251b3JvZG9z"),e("aW1nW2FsdD0iUmVrbGFtaW5pcyBza3lkZWxpcyJd"),e("aW1nW2FsdD0iRGVkaWt1b3RpLmx0IHNlcnZlcmlhaSJd"),e("aW1nW2FsdD0iSG9zdGluZ2FzIFNlcnZlcmlhaS5sdCJd")],estonian:[e("QVtocmVmKj0iaHR0cDovL3BheTRyZXN1bHRzMjQuZXUiXQ==")],fanboyAnnoyances:["#ac-lre-player",".navigate-to-top","#subscribe_popup",".newsletter_holder","#back-top"],fanboyAntiFacebook:[".util-bar-module-firefly-visible"],fanboyEnhancedTrackers:[".open.pushModal","#issuem-leaky-paywall-articles-zero-remaining-nag","#sovrn_container",'div[class$="-hide"][zoompage-fontsize][style="display: block;"]',".BlockNag__Card"],fanboySocial:["#FollowUs","#meteored_share","#social_follow",".article-sharer",".community__social-desc"],frellwitSwedish:[e("YVtocmVmKj0iY2FzaW5vcHJvLnNlIl1bdGFyZ2V0PSJfYmxhbmsiXQ=="),e("YVtocmVmKj0iZG9rdG9yLXNlLm9uZWxpbmsubWUiXQ=="),"article.category-samarbete",e("ZGl2LmhvbGlkQWRz"),"ul.adsmodern"],greekAdBlock:[e("QVtocmVmKj0iYWRtYW4ub3RlbmV0LmdyL2NsaWNrPyJd"),e("QVtocmVmKj0iaHR0cDovL2F4aWFiYW5uZXJzLmV4b2R1cy5nci8iXQ=="),e("QVtocmVmKj0iaHR0cDovL2ludGVyYWN0aXZlLmZvcnRobmV0LmdyL2NsaWNrPyJd"),"DIV.agores300","TABLE.advright"],hungarian:["#cemp_doboz",".optimonk-iframe-container",e("LmFkX19tYWlu"),e("W2NsYXNzKj0iR29vZ2xlQWRzIl0="),"#hirdetesek_box"],iDontCareAboutCookies:['.alert-info[data-block-track*="CookieNotice"]',".ModuleTemplateCookieIndicator",".o--cookies--container","#cookies-policy-sticky","#stickyCookieBar"],icelandicAbp:[e("QVtocmVmXj0iL2ZyYW1ld29yay9yZXNvdXJjZXMvZm9ybXMvYWRzLmFzcHgiXQ==")],latvian:[e("YVtocmVmPSJodHRwOi8vd3d3LnNhbGlkemluaS5sdi8iXVtzdHlsZT0iZGlzcGxheTogYmxvY2s7IHdpZHRoOiAxMjBweDsgaGVpZ2h0OiA0MHB4OyBvdmVyZmxvdzogaGlkZGVuOyBwb3NpdGlvbjogcmVsYXRpdmU7Il0="),e("YVtocmVmPSJodHRwOi8vd3d3LnNhbGlkemluaS5sdi8iXVtzdHlsZT0iZGlzcGxheTogYmxvY2s7IHdpZHRoOiA4OHB4OyBoZWlnaHQ6IDMxcHg7IG92ZXJmbG93OiBoaWRkZW47IHBvc2l0aW9uOiByZWxhdGl2ZTsiXQ==")],listKr:[e("YVtocmVmKj0iLy9hZC5wbGFuYnBsdXMuY28ua3IvIl0="),e("I2xpdmVyZUFkV3JhcHBlcg=="),e("YVtocmVmKj0iLy9hZHYuaW1hZHJlcC5jby5rci8iXQ=="),e("aW5zLmZhc3R2aWV3LWFk"),".revenue_unit_item.dable"],listeAr:[e("LmdlbWluaUxCMUFk"),".right-and-left-sponsers",e("YVtocmVmKj0iLmFmbGFtLmluZm8iXQ=="),e("YVtocmVmKj0iYm9vcmFxLm9yZyJd"),e("YVtocmVmKj0iZHViaXp6bGUuY29tL2FyLz91dG1fc291cmNlPSJd")],listeFr:[e("YVtocmVmXj0iaHR0cDovL3Byb21vLnZhZG9yLmNvbS8iXQ=="),e("I2FkY29udGFpbmVyX3JlY2hlcmNoZQ=="),e("YVtocmVmKj0id2Vib3JhbWEuZnIvZmNnaS1iaW4vIl0="),".site-pub-interstitiel",'div[id^="crt-"][data-criteo-id]'],officialPolish:["#ceneo-placeholder-ceneo-12",e("W2hyZWZePSJodHRwczovL2FmZi5zZW5kaHViLnBsLyJd"),e("YVtocmVmXj0iaHR0cDovL2Fkdm1hbmFnZXIudGVjaGZ1bi5wbC9yZWRpcmVjdC8iXQ=="),e("YVtocmVmXj0iaHR0cDovL3d3dy50cml6ZXIucGwvP3V0bV9zb3VyY2UiXQ=="),e("ZGl2I3NrYXBpZWNfYWQ=")],ro:[e("YVtocmVmXj0iLy9hZmZ0cmsuYWx0ZXgucm8vQ291bnRlci9DbGljayJd"),e("YVtocmVmXj0iaHR0cHM6Ly9ibGFja2ZyaWRheXNhbGVzLnJvL3Ryay9zaG9wLyJd"),e("YVtocmVmXj0iaHR0cHM6Ly9ldmVudC4ycGVyZm9ybWFudC5jb20vZXZlbnRzL2NsaWNrIl0="),e("YVtocmVmXj0iaHR0cHM6Ly9sLnByb2ZpdHNoYXJlLnJvLyJd"),'a[href^="/url/"]'],ruAd:[e("YVtocmVmKj0iLy9mZWJyYXJlLnJ1LyJd"),e("YVtocmVmKj0iLy91dGltZy5ydS8iXQ=="),e("YVtocmVmKj0iOi8vY2hpa2lkaWtpLnJ1Il0="),"#pgeldiz",".yandex-rtb-block"],thaiAds:["a[href*=macau-uta-popup]",e("I2Fkcy1nb29nbGUtbWlkZGxlX3JlY3RhbmdsZS1ncm91cA=="),e("LmFkczMwMHM="),".bumq",".img-kosana"],webAnnoyancesUltralist:["#mod-social-share-2","#social-tools",e("LmN0cGwtZnVsbGJhbm5lcg=="),".zergnet-recommend",".yt.btn-link.btn-md.btn"]}}(),i=Object.keys(r),[4,F7((c=[]).concat.apply(c,i.map(function(f){return r[f]})))]):[2,void 0];case 1:return s=d.sent(),t&&function L7(e,n){for(var t="DOM blockers debug:\n```",r=0,i=Object.keys(e);r<i.length;r++){var o=i[r];t+="\n".concat(o,":");for(var s=0,u=e[o];s<u.length;s++){var c=u[s];t+="\n ".concat(n[c]?"\u{1f6ab}":"\u27a1\ufe0f"," ").concat(c)}}console.log("".concat(t,"\n```"))}(r,s),(u=i.filter(function(f){var m=r[f];return Tn(m.map(function(y){return s[y]}))>.6*m.length})).sort(),[2,u]}})})},fontPreferences:function Y7(){return function K7(e,n){return void 0===n&&(n=4e3),yI(function(t,r){var i=r.document,o=i.body,s=o.style;s.width="".concat(n,"px"),s.webkitTextSizeAdjust=s.textSizeAdjust="none",Zl()?o.style.zoom="".concat(1/r.devicePixelRatio):ei()&&(o.style.zoom="reset");var u=i.createElement("div");return u.textContent=m_([],Array(n/20|0),!0).map(function(){return"word"}).join(" "),o.appendChild(u),e(i,o)},'<!doctype html><html><head><meta name="viewport" content="width=device-width, initial-scale=1">')}(function(e,n){for(var t={},r={},i=0,o=Object.keys(S_);i<o.length;i++){var u=S_[s=o[i]],c=u[0],d=void 0===c?{}:c,f=u[1],m=void 0===f?"mmMwWLliI0fiflO&1":f,g=e.createElement("span");g.textContent=m,g.style.whiteSpace="nowrap";for(var y=0,_=Object.keys(d);y<_.length;y++){var C=_[y],S=d[C];void 0!==S&&(g.style[C]=S)}t[s]=g,n.append(e.createElement("br"),g)}for(var I=0,T=Object.keys(S_);I<T.length;I++){var s;r[s=T[I]]=t[s].getBoundingClientRect().width}return r})},audio:function HB(){return function $B(){return ei()&&Kl()&&Yl()||Zl()&&function BB(){var e=navigator,n=window,t=Audio.prototype,r=n.visualViewport;return Tn(["srLatency"in t,"srChannelCount"in t,"devicePosture"in e,r&&"segments"in r,"getTextInformation"in Image.prototype])>=3}()&&function RB(){var e=window,n=e.URLPattern;return Tn(["union"in Set.prototype,"Iterator"in e,n&&"hasRegExpGroups"in n.prototype,"RGB8"in WebGLRenderingContext.prototype])>=3}()}()?-4:function GB(){var e=window,n=e.OfflineAudioContext||e.webkitOfflineAudioContext;if(!n)return-2;if(function UB(){return ei()&&!__()&&!function FB(){var e=window;return Tn(["DOMRectList"in e,"RTCPeerConnectionIceEvent"in e,"SVGGeometryElement"in e,"ontransitioncancel"in e])>=3}()}())return-1;var i=new n(1,5e3,44100),o=i.createOscillator();o.type="triangle",o.frequency.value=1e4;var s=i.createDynamicsCompressor();s.threshold.value=-50,s.knee.value=40,s.ratio.value=12,s.attack.value=0,s.release.value=.25,o.connect(s),s.connect(i.destination),o.start(0);var u=function zB(e){var o=function(){},s=new Promise(function(u,c){var d=!1,f=0,m=0;e.oncomplete=function(_){return u(_.renderedBuffer)};var g=function(){setTimeout(function(){return c(gI("timeout"))},Math.min(500,m+5e3-Date.now()))},y=function(){try{var _=e.startRendering();switch(Tp(_)&&ql(_),e.state){case"running":m=Date.now(),d&&g();break;case"suspended":document.hidden||f++,d&&f>=3?c(gI("suspended")):setTimeout(y,500)}}catch(C){c(C)}};y(),o=function(){d||(d=!0,m>0&&g())}});return[s,o]}(i),d=u[1],f=ql(u[0].then(function(m){return function WB(e){for(var n=0,t=0;t<e.length;++t)n+=Math.abs(e[t]);return n}(m.getChannelData(0).subarray(4500))},function(m){if("timeout"===m.name||"suspended"===m.name)return-3;throw m}));return function(){return d(),f}}()},screenFrame:function b7(){var e=this;if(ei()&&Kl()&&Yl())return function(){return Promise.resolve(void 0)};var n=function _7(){var e=this;return function v7(){if(void 0===C_){var e=function(){var n=E_();D_(n)?C_=setTimeout(e,2500):(Pp=n,C_=void 0)};e()}}(),function(){return yr(e,void 0,void 0,function(){var n;return Xr(this,function(t){switch(t.label){case 0:return D_(n=E_())?Pp?[2,m_([],Pp,!0)]:function VB(){var e=document;return e.fullscreenElement||e.msFullscreenElement||e.mozFullScreenElement||e.webkitFullscreenElement||null}()?[4,jB()]:[3,2]:[3,2];case 1:t.sent(),n=E_(),t.label=2;case 2:return D_(n)||(Pp=n),[2,n]}})})}}();return function(){return yr(e,void 0,void 0,function(){var t,r;return Xr(this,function(i){switch(i.label){case 0:return[4,n()];case 1:return t=i.sent(),[2,[(r=function(o){return null===o?null:lI(o,10)})(t[0]),r(t[1]),r(t[2]),r(t[3])]]}})})}},canvas:function e7(){return function t7(e){var n,r,i,t=!1,o=function n7(){var e=document.createElement("canvas");return e.width=1,e.height=1,[e,e.getContext("2d")]}(),s=o[0],u=o[1];return function r7(e,n){return!(!n||!e.toDataURL)}(s,u)?(t=function i7(e){return e.rect(0,0,10,10),e.rect(2,2,6,6),!e.isPointInPath(5,5,"evenodd")}(u),e?r=i="skipped":(n=function o7(e,n){!function s7(e,n){e.width=240,e.height=60,n.textBaseline="alphabetic",n.fillStyle="#f60",n.fillRect(100,1,62,20),n.fillStyle="#069",n.font='11pt "Times New Roman"';var t="Cwm fjordbank gly ".concat("\u{1f603}");n.fillText(t,2,15),n.fillStyle="rgba(102, 204, 0, 0.2)",n.font="18pt Arial",n.fillText(t,4,45)}(e,n);var t=w_(e);return t!==w_(e)?["unstable","unstable"]:(function a7(e,n){e.width=122,e.height=110,n.globalCompositeOperation="multiply";for(var t=0,r=[["#f2f",40,40],["#2ff",80,40],["#ff2",60,80]];t<r.length;t++){var i=r[t],s=i[1],u=i[2];n.fillStyle=i[0],n.beginPath(),n.arc(s,u,40,0,2*Math.PI,!0),n.closePath(),n.fill()}n.fillStyle="#f9c",n.arc(60,60,60,0,2*Math.PI,!0),n.arc(60,60,20,0,2*Math.PI,!0),n.fill("evenodd")}(e,n),[w_(e),t])}(s,u),r=n[0],i=n[1])):r=i="unsupported",{winding:t,geometry:r,text:i}}(function u7(){return ei()&&Kl()&&Yl()}())},osCpu:function l7(){return navigator.oscpu},languages:function d7(){var e=navigator,n=[],t=e.language||e.userLanguage||e.browserLanguage||e.systemLanguage;if(void 0!==t&&n.push([t]),Array.isArray(e.languages))Zl()&&function OB(){var e=window;return Tn([!("MediaSettingsRange"in e),"RTCEncodedAudioFrame"in e,""+e.Intl=="[object Intl]",""+e.Reflect=="[object Reflect]"])>=3}()||n.push(e.languages);else if("string"==typeof e.languages){var r=e.languages;r&&n.push(r.split(","))}return n},colorDepth:function f7(){return window.screen.colorDepth},deviceMemory:function h7(){return Yi(Jr(navigator.deviceMemory),void 0)},screenResolution:function p7(){if(!(ei()&&Kl()&&Yl()))return function m7(){var e=screen,n=function(r){return Yi(v_(r),null)},t=[n(e.width),n(e.height)];return t.sort().reverse(),t}()},hardwareConcurrency:function w7(){return Yi(v_(navigator.hardwareConcurrency),void 0)},timezone:function C7(){var e,n=null===(e=window.Intl)||void 0===e?void 0:e.DateTimeFormat;if(n){var t=(new n).resolvedOptions().timeZone;if(t)return t}var r=-function E7(){var e=(new Date).getFullYear();return Math.max(Jr(new Date(e,0,1).getTimezoneOffset()),Jr(new Date(e,6,1).getTimezoneOffset()))}();return"UTC".concat(r>=0?"+":"").concat(r)},sessionStorage:function D7(){try{return!!window.sessionStorage}catch{return!0}},localStorage:function S7(){try{return!!window.localStorage}catch{return!0}},indexedDB:function T7(){if(!pI()&&!function NB(){var e=window,n=navigator;return Tn(["msWriteProfilerMark"in e,"MSStream"in e,"msLaunchUri"in n,"msSaveBlob"in n])>=3&&!pI()}())try{return!!window.indexedDB}catch{return!0}},openDatabase:function M7(){return!!window.openDatabase},cpuClass:function I7(){return navigator.cpuClass},platform:function P7(){var e=navigator.platform;return"MacIntel"===e&&ei()&&!__()?function LB(){if("iPad"===navigator.platform)return!0;var e=screen,n=e.width/e.height;return Tn(["MediaSource"in window,!!Element.prototype.webkitRequestFullscreen,n>.65&&n<1.53])>=2}()?"iPad":"iPhone":e},plugins:function JB(){var e=navigator.plugins;if(e){for(var n=[],t=0;t<e.length;++t){var r=e[t];if(r){for(var i=[],o=0;o<r.length;++o){var s=r[o];i.push({type:s.type,suffixes:s.suffixes})}n.push({name:r.name,description:r.description,mimeTypes:i})}}return n}},touchSupport:function c7(){var t,e=navigator,n=0;void 0!==e.maxTouchPoints?n=v_(e.maxTouchPoints):void 0!==e.msMaxTouchPoints&&(n=e.msMaxTouchPoints);try{document.createEvent("TouchEvent"),t=!0}catch{t=!1}return{maxTouchPoints:n,touchEvent:t,touchStart:"ontouchstart"in window}},vendor:function A7(){return navigator.vendor||""},vendorFlavors:function k7(){for(var e=[],n=0,t=["chrome","safari","__crWeb","__gCrWeb","yandex","__yb","__ybro","__firefox__","__edgeTrackingPreventionStatistics","webkit","oprt","samsungAr","ucweb","UCShellJava","puffinDevice"];n<t.length;n++){var r=t[n],i=window[r];i&&"object"==typeof i&&e.push(r)}return e.sort()},cookiesEnabled:function x7(){var e=document;try{e.cookie="cookietest=1; SameSite=Strict;";var n=-1!==e.cookie.indexOf("cookietest=");return e.cookie="cookietest=1; SameSite=Strict; expires=Thu, 01-Jan-1970 00:00:01 GMT",n}catch{return!1}},colorGamut:function V7(){for(var e=0,n=["rec2020","p3","srgb"];e<n.length;e++){var t=n[e];if(matchMedia("(color-gamut: ".concat(t,")")).matches)return t}},invertedColors:function j7(){return!!bI("inverted")||!bI("none")&&void 0},forcedColors:function B7(){return!!wI("active")||!wI("none")&&void 0},monochrome:function G7(){if(matchMedia("(min-monochrome: 0)").matches){for(var e=0;e<=100;++e)if(matchMedia("(max-monochrome: ".concat(e,")")).matches)return e;throw new Error("Too high value")}},contrast:function U7(){return Iu("no-preference")?0:Iu("high")||Iu("more")?1:Iu("low")||Iu("less")?-1:Iu("forced")?10:void 0},reducedMotion:function $7(){return!!CI("reduce")||!CI("no-preference")&&void 0},reducedTransparency:function z7(){return!!EI("reduce")||!EI("no-preference")&&void 0},hdr:function W7(){return!!DI("high")||!DI("standard")&&void 0},math:function q7(){var Q,n=ze.acosh||Mn,t=ze.asin||Mn,r=ze.asinh||Mn,i=ze.atanh||Mn,o=ze.atan||Mn,s=ze.sin||Mn,u=ze.sinh||Mn,c=ze.cos||Mn,d=ze.cosh||Mn,f=ze.tan||Mn,m=ze.tanh||Mn,g=ze.exp||Mn,y=ze.expm1||Mn,_=ze.log1p||Mn;return{acos:(ze.acos||Mn)(.12312423423423424),acosh:n(1e308),acoshPf:(Q=1e154,ze.log(Q+ze.sqrt(Q*Q-1))),asin:t(.12312423423423424),asinh:r(1),asinhPf:ze.log(1+ze.sqrt(2)),atanh:i(.5),atanhPf:ze.log(3)/2,atan:o(.5),sin:s(-1e300),sinh:u(1),sinhPf:ze.exp(1)-1/ze.exp(1)/2,cos:c(10.000000000123),cosh:d(1),coshPf:(ze.exp(1)+1/ze.exp(1))/2,tan:f(-1e300),tanh:m(1),tanhPf:(ze.exp(2)-1)/(ze.exp(2)+1),exp:g(1),expm1:y(1),expm1Pf:ze.exp(1)-1,log1p:_(10),log1pPf:ze.log(11),powPI:ze.pow(ze.PI,-100)}},pdfViewerEnabled:function X7(){return navigator.pdfViewerEnabled},architecture:function Q7(){var e=new Float32Array(1),n=new Uint8Array(e.buffer);return e[0]=1/0,e[0]=e[0]-e[0],n[3]},applePay:function J7(){var e=window.ApplePaySession;if("function"!=typeof e?.canMakePayments)return-1;if(function YB(){for(var e=window;;){var n=e.parent;if(!n||n===e)return!1;try{if(n.location.origin!==e.location.origin)return!0}catch(t){if(t instanceof Error&&"SecurityError"===t.name)return!0;throw t}e=n}}())return-3;try{return e.canMakePayments()?1:0}catch(n){return function tH(e){if(e instanceof Error&&"InvalidAccessError"===e.name&&/\bfrom\b.*\binsecure\b/i.test(e.message))return-2;throw e}(n)}},privateClickMeasurement:function nH(){var e,n=document.createElement("a"),t=null!==(e=n.attributionSourceId)&&void 0!==e?e:n.attributionsourceid;return void 0===t?void 0:String(t)},audioBaseLatency:function hH(){var e;return b_()||ei()?window.AudioContext&&null!==(e=(new AudioContext).baseLatency)&&void 0!==e?e:-1:-2},webGlBasics:function uH(e){var n,t,r,i,o,s,c=II(e.cache);if(!c)return-1;if(!kI(c))return-2;var d=AI()?null:c.getExtension(MI);return{version:(null===(n=c.getParameter(c.VERSION))||void 0===n?void 0:n.toString())||"",vendor:(null===(t=c.getParameter(c.VENDOR))||void 0===t?void 0:t.toString())||"",vendorUnmasked:d?null===(r=c.getParameter(d.UNMASKED_VENDOR_WEBGL))||void 0===r?void 0:r.toString():"",renderer:(null===(i=c.getParameter(c.RENDERER))||void 0===i?void 0:i.toString())||"",rendererUnmasked:d?null===(o=c.getParameter(d.UNMASKED_RENDERER_WEBGL))||void 0===o?void 0:o.toString():"",shadingLanguageVersion:(null===(s=c.getParameter(c.SHADING_LANGUAGE_VERSION))||void 0===s?void 0:s.toString())||""}},webGlExtensions:function cH(e){var t=II(e.cache);if(!t)return-1;if(!kI(t))return-2;var r=t.getSupportedExtensions(),i=t.getContextAttributes(),o=[],s=[],u=[],c=[],d=[];if(i)for(var f=0,m=Object.keys(i);f<m.length;f++){var g=m[f];s.push("".concat(g,"=").concat(i[g]))}for(var _=0,C=PI(t);_<C.length;_++){var I=t[S=C[_]];u.push("".concat(S,"=").concat(I).concat(rH.has(I)?"=".concat(t.getParameter(I)):""))}if(r)for(var T=0,R=r;T<R.length;T++){var L=R[T];if(!(L===MI&&AI()||"WEBGL_polygon_mode"===L&&(Zl()||ei()))){var j=t.getExtension(L);if(!j){o.push(L);continue}for(var X=0,re=PI(j);X<re.length;X++){var S;I=j[S=re[X]],c.push("".concat(S,"=").concat(I).concat(iH.has(I)?"=".concat(t.getParameter(I)):""))}}}for(var Q=0,vt=oH;Q<vt.length;Q++)for(var Dt=vt[Q],kt=0,Pn=sH;kt<Pn.length;kt++){var Ro=Pn[kt],wr=lH(t,Dt,Ro);d.push("".concat(Dt,".").concat(Ro,"=").concat(wr.join(",")))}return c.sort(),u.sort(),{contextAttributes:s,parameters:u,shaderPrecisions:d,extensions:r,extensionParameters:c,unsupportedExtensions:o}}},gH="$ if upgrade to Pro: https://fpjs.dev/pro";function xI(e){return JSON.stringify(e,function(n,t){return t instanceof Error?function PB(e){var n;return wp({name:e.name,message:e.message,stack:null===(n=e.stack)||void 0===n?void 0:n.split("\n")},e)}(t):t},2)}function NI(e){return function IB(e,n){var f,t=function EB(e){for(var n=new Uint8Array(e.length),t=0;t<e.length;t++){var r=e.charCodeAt(t);if(r>127)return(new TextEncoder).encode(e);n[t]=r}return n}(e),r=[0,t.length],i=r[1]%16,o=r[1]-i,s=[0,n=n||0],u=[0,n],c=[0,0],d=[0,0];for(f=0;f<o;f+=16)c[0]=t[f+4]|t[f+5]<<8|t[f+6]<<16|t[f+7]<<24,c[1]=t[f]|t[f+1]<<8|t[f+2]<<16|t[f+3]<<24,d[0]=t[f+12]|t[f+13]<<8|t[f+14]<<16|t[f+15]<<24,d[1]=t[f+8]|t[f+9]<<8|t[f+10]<<16|t[f+11]<<24,vr(c,Mp),Tu(c,31),vr(c,Ip),yt(s,c),Tu(s,27),Po(s,u),vr(s,fI),Po(s,TB),vr(d,Ip),Tu(d,33),vr(d,Mp),yt(u,d),Tu(u,31),Po(u,s),vr(u,fI),Po(u,MB);c[0]=0,c[1]=0,d[0]=0,d[1]=0;var m=[0,0];switch(i){case 15:m[1]=t[f+14],er(m,48),yt(d,m);case 14:m[1]=t[f+13],er(m,40),yt(d,m);case 13:m[1]=t[f+12],er(m,32),yt(d,m);case 12:m[1]=t[f+11],er(m,24),yt(d,m);case 11:m[1]=t[f+10],er(m,16),yt(d,m);case 10:m[1]=t[f+9],er(m,8),yt(d,m);case 9:m[1]=t[f+8],yt(d,m),vr(d,Ip),Tu(d,33),vr(d,Mp),yt(u,d);case 8:m[1]=t[f+7],er(m,56),yt(c,m);case 7:m[1]=t[f+6],er(m,48),yt(c,m);case 6:m[1]=t[f+5],er(m,40),yt(c,m);case 5:m[1]=t[f+4],er(m,32),yt(c,m);case 4:m[1]=t[f+3],er(m,24),yt(c,m);case 3:m[1]=t[f+2],er(m,16),yt(c,m);case 2:m[1]=t[f+1],er(m,8),yt(c,m);case 1:m[1]=t[f],yt(c,m),vr(c,Mp),Tu(c,31),vr(c,Ip),yt(s,c)}return yt(s,r),yt(u,r),Po(s,u),Po(u,s),dI(s),dI(u),Po(s,u),Po(u,s),("00000000"+(s[0]>>>0).toString(16)).slice(-8)+("00000000"+(s[1]>>>0).toString(16)).slice(-8)+("00000000"+(u[0]>>>0).toString(16)).slice(-8)+("00000000"+(u[1]>>>0).toString(16)).slice(-8)}(function bH(e){for(var n="",t=0,r=Object.keys(e).sort();t<r.length;t++){var i=r[t],o=e[i],s="error"in o?"error":JSON.stringify(o.value);n+="".concat(n?"|":"").concat(i.replace(/([:|\\])/g,"\\$1"),":").concat(s)}return n}(e))}function CH(e){return void 0===e&&(e=50),function _B(e,n){void 0===n&&(n=1/0);var t=window.requestIdleCallback;return t?new Promise(function(r){return t.call(window,function(){return r()},{timeout:n})}):Sp(Math.min(e,n))}(e,2*e)}function EH(e,n){var t=Date.now();return{get:function(r){return yr(this,void 0,void 0,function(){var i,o,s;return Xr(this,function(u){switch(u.label){case 0:return i=Date.now(),[4,e()];case 1:return o=u.sent(),s=function wH(e){var n,t=function yH(e){var n=function vH(e){if(b_())return.4;if(ei())return!__()||Kl()&&Yl()?.3:.5;var n="value"in e.platform?e.platform.value:"";return/^Win/.test(n)?.6:/^Mac/.test(n)?.5:.7}(e),t=function _H(e){return lI(.99+.01*e,1e-4)}(n);return{score:n,comment:gH.replace(/\$/g,"".concat(t))}}(e);return{get visitorId(){return void 0===n&&(n=NI(this.components)),n},set visitorId(r){n=r},confidence:t,components:e,version:"4.5.1"}}(o),(n||r?.debug)&&console.log("Copy the text below to get the debug data:\n\n```\nversion: ".concat(s.version,"\nuserAgent: ").concat(navigator.userAgent,"\ntimeBetweenLoadAndGet: ").concat(i-t,"\nvisitorId: ").concat(s.visitorId,"\ncomponents: ").concat(xI(o),"\n```")),[2,s]}})})}}}var TH={load:function SH(e){var n;return void 0===e&&(e={}),yr(this,void 0,void 0,function(){var r,i;return Xr(this,function(o){switch(o.label){case 0:return(!(null!==(n=e.monitoring)&&void 0!==n)||n)&&function DH(){if(!(window.__fpjs_d_m||Math.random()>=.001))try{var e=new XMLHttpRequest;e.open("get","https://m1.openfpcdn.io/fingerprintjs/v".concat("4.5.1","/npm-monitoring"),!0),e.send()}catch(n){console.error(n)}}(),r=e.debug,[4,CH(e.delayFallback)];case 1:return o.sent(),i=function mH(e){return function xB(e,n,t,r){var i=Object.keys(e).filter(function(s){return function wB(e,n){return!function bB(e,n){for(var t=0,r=e.length;t<r;++t)if(e[t]===n)return!0;return!1}(e,n)}(t,s)}),o=ql(cI(i,function(s){return function kB(e,n){var t=ql(new Promise(function(r){var i=Date.now();uI(e.bind(null,n),function(){for(var o=[],s=0;s<arguments.length;s++)o[s]=arguments[s];var u=Date.now()-i;if(!o[0])return r(function(){return{error:o[1],duration:u}});var c=o[1];if(function hI(e){return"function"!=typeof e}(c))return r(function(){return{value:c,duration:u}});r(function(){return new Promise(function(d){var f=Date.now();uI(c,function(){for(var m=[],g=0;g<arguments.length;g++)m[g]=arguments[g];var y=u+Date.now()-f;if(!m[0])return d({error:m[1],duration:y});d({value:m[1],duration:y})})})})})}));return function(){return t.then(function(i){return i()})}}(e[s],n)},r));return function(){return yr(this,void 0,void 0,function(){var c,d,f,m;return Xr(this,function(g){switch(g.label){case 0:return[4,o];case 1:return[4,cI(g.sent(),function(y){return ql(y())},r)];case 2:return c=g.sent(),[4,Promise.all(c)];case 3:for(d=g.sent(),f={},m=0;m<i.length;++m)f[i[m]]=d[m];return[2,f]}})})}}(pH,e,[])}({cache:{},debug:r}),[2,EH(i,r)]}})})},hashComponents:NI,componentsToDebugString:xI},OI=function(e){return e[e.SMALL=1]="SMALL",e[e.MEDIUM=2]="MEDIUM",e[e.LARGE=3]="LARGE",e[e.EXTRA_LARGE=4]="EXTRA_LARGE",e[e.FULL_SCREEN=5]="FULL_SCREEN",e}(OI||{});const PH=TH.load();function AH(){return new _t(e=>{(function kH(){return T_.apply(this,arguments)})().then(n=>{e.next(n),e.complete()}).catch(n=>{e.error(n)})})}function T_(){return(T_=Su(function*(){const e={};e.browserData=function MH(){const e=screen.height||window.innerHeight,n=screen.width||window.innerWidth,t=OI.FULL_SCREEN;return{timezoneOffsetUtcMinutes:(new Date).getTimezoneOffset(),locale:navigator.language,userAgent:navigator.userAgent,javaEnabled:navigator.javaEnabled()||!1,javaScriptEnabled:!0,colorDepth:screen.colorDepth,width:n,height:e,challengeWindowSize:t}}();try{const n=yield(yield PH).get();e.id=n.visitorId,e.fonts=n.components.fonts.value;const t=navigator,r=t.getBattery?t.getBattery():void 0;let i;r&&(i=yield r,e.batteryLevelAndChargingStatus=i?`level: ${i.level??"unknown"}; charging: ${i.charging??"unknown"}`:void 0);const o=t.connection||t.mozConnection||t.webkitConnection;e.networkParameters=o?`type: ${o.type??"unknown"}; effectiveType: ${o.effectiveType??"unknown"}`:void 0}catch{}return e})).apply(this,arguments)}class Ap{constructor(){this.emitEnabled=!0,this.optionalEmitEnabled=!0,this.emitter=new ct}emit(n,t){this.emitEnabled&&(!t||t&&this.optionalEmitEnabled)&&this.emitter.emit(n)}}let st=(()=>{class e{constructor(){this.componentsStates={availableCardBrands:Ie({isRequired:!1,canShowError:!1,isValid:!0,filled:!0,enabled:!0}),cardList:Ie({isRequired:!1,canShowError:!1,isValid:!0,filled:!0,enabled:!0}),cardForm:Ie({isRequired:!0,canShowError:!1,isValid:!0,filled:!1,enabled:!0}),additionalForm:Ie({isRequired:!1,canShowError:!1,isValid:!0,filled:!1,enabled:!0}),chargeTerms:Ie({isRequired:!0,canShowError:!1,isValid:!0,filled:!1,enabled:!0}),payButton:Ie({isRequired:!0,canShowError:!1,isValid:!0,filled:!1,enabled:!0}),apmList:Ie({isRequired:!1,canShowError:!1,isValid:!0,filled:!0,enabled:!0}),userPreferences:Ie({isRequired:!0,canShowError:!1,isValid:!0,filled:!1,enabled:!0}),merchantInfo:Ie({isRequired:!1,canShowError:!1,isValid:!0,filled:!0,enabled:!0}),protectedBy:Ie({isRequired:!1,canShowError:!1,isValid:!0,filled:!0,enabled:!0})},this.visibility={availableCardBrands:Ve(()=>this.componentsStates.availableCardBrands().enabled&&!!this.data.settings()?.components?.some(t=>"available-card-brands"===t)),cardList:Ve(()=>this.componentsStates.cardList().enabled&&!!this.data.settings()?.components?.some(t=>"card-list"===t)),cardForm:Ve(()=>this.componentsStates.cardForm().enabled&&!!this.data.settings()?.components?.some(t=>"requisites"===t)),additionalForm:Ve(()=>this.componentsStates.cardForm().enabled&&this.componentsStates.additionalForm().enabled&&!!this.data.settings()?.components?.some(t=>"phone-number"===t)),chargeTerms:Ve(()=>this.componentsStates.chargeTerms().enabled&&!!this.data.settings()?.components?.some(t=>"charge-terms"===t)&&!this.visibility.noMethods()),payButton:Ve(()=>(this.componentsStates.cardList().enabled||this.componentsStates.cardForm().enabled)&&this.componentsStates.payButton().enabled&&!!this.data.settings()?.components?.some(t=>"pay-button"===t)),apmList:Ve(()=>this.componentsStates.apmList().enabled&&!!this.data.settings()?.components?.some(t=>"apm-list"===t)),userPreferences:Ve(()=>this.componentsStates.userPreferences().enabled&&!!this.data.settings()?.components?.some(t=>"user-preferences"===t)&&!this.visibility.noMethods()),merchantInfo:Ve(()=>this.componentsStates.merchantInfo().enabled&&!!this.data.settings()?.components?.some(t=>"merchant-info"===t)),protectedBy:Ve(()=>this.componentsStates.protectedBy().enabled&&!!this.data.settings()?.components?.some(t=>"protected-by"===t)),noMethods:Ve(()=>!this.componentsStates.cardForm().enabled&&!this.componentsStates.cardList().enabled&&!this.componentsStates.apmList().enabled)},this.data={payment:Ie(void 0),settings:Ie(void 0),userProvidedInfo:Ie({}),loadedPaymentSystems:Ie([]),loadedExistingCards:Ie([]),deviceInfo:Ie(void 0),state:Ie({type:"empty",payload:void 0}),paymentSystemsLoading:Ie(!1),cardsLoading:Ie(!1)},this.computed={isLoading:Ve(()=>this.data.paymentSystemsLoading()||this.data.cardsLoading()),paymentAvailability:Ve(()=>{const t=this.data.settings(),r={canPay:{byCard:!1,byApm:!1},isPayButtonDisabled:!1};if(!t)return r;let i=!0,o=!0;for(let s in this.componentsStates)if(this.componentsStates.hasOwnProperty(s)){const u=this.componentsStates[s]();i=i&&(u.isValid||!u.enabled),o=o&&(u.filled||!u.enabled),"chargeTerms"===s&&(!u.enabled||u.isValid)&&(r.canPay.byApm=!0)}return"disabled"!=t.requiredFieldsBehavior?.buttonStateUntilFilled||o?"hidden-enabled"!=t.requiredFieldsBehavior?.buttonStateUntilFilled||o?i?{canPay:{...r.canPay,byCard:!0}}:r:{...r,buttonDisableClass:"hidden-enabled-element",elementDisableClass:"hidden-enabled-element"}:{...r,elementDisableClass:"disabled-element",isPayButtonDisabled:!0}})},this.events={analytics:new Ap,error:new Ap,close:new Ap,paid:new Ap},this.callbacks={},this.clients={googlePay:void 0}}updateCanShowError(t){for(let r in this.componentsStates)this.componentsStates.hasOwnProperty(r)&&this.componentsStates[r].update(i=>i.canShowError===t?i:{...i,canShowError:t})}updateCanShowErrorForApm(t){this.componentsStates.chargeTerms.update(r=>({...r,canShowError:t}))}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=q({token:e,factory:e.\u0275fac})}return e})();function kp(e){return null!==e&&"object"==typeof e&&!Array.isArray(e)}function M_(e,...n){if(!n.length)return e;const t=n.shift();if(kp(e)&&kp(t))for(const r in t)if(Object.prototype.hasOwnProperty.call(t,r)){const i=t[r];e[r]=kp(i)&&kp(e[r])?M_(e[r],i):i}return M_(e,...n)}function xH(...e){return M_({},...e)}function RI(e){return"string"==typeof e||e instanceof String?JSON.parse(e):e}const FI={header:"Checkout",errors:{notCheckedCheckboxes:"Please check these boxes",invalidCardHolder:"Invalid cardholder name",invalidCardNumber:"Invalid card number",invalidCardExpiration:"Invalid card date",invalidCvv:"Invalid card code",invalidPhoneNumber:"Invalid phone number"},requisites:{paymentDetailsHeader:"Payment details",cardNumberPlaceholder:"Card number",cardExpirationPlaceholder:"MM/YY",cvvHint:"CVV (Card Verification Value)",cardHolderHeader:"Name on card",cardHolderPlaceholder:"Name on card"},phone:{header:"Phone",placeholder:"Phone number"},apms:{or:"OR",orUseAlternative:"or use alternative methods"},totalHeader:"Total",pay:"Pay",availableCardBrandsHeader:"Payment methods",transactionProtectedBy:"Your transactions are protected by",existingCards:{manageCardsHeader:"Manage cards",addNewCard:"Add new card",removeCard:"Remove card"},paymentResult:{success:"We placed your order",failure:{main:"Something went wrong",paymentFailed:"Payment failed."}},paymentProcessing:"payment processing",notifications:{cardDeleted:{title:"Successful",text:"Card has been deleted"},error:{default:{title:"Attention!",text:"Unable to process the payment"}}},noAvailablePaymentMethods:"No available payment methods...",close:"Close"},OH={urls:{},availableCardBrands:["mastercard","visa"],chargeTerms:void 0,isCloseButtonVisible:!0,isProblemTipsListVisible:!1,isTaxVisible:!1,isSignatureRequired:!1,isHeaderVisible:!0,closePaymentRedirect:!0,languageSettings:{code:"en-US",languages:{"en-US":FI,"es-ES":{header:"Verificar",errors:{notCheckedCheckboxes:"Debe marcar estas casillas",invalidCardHolder:"Nombre del titular de la tarjeta no v\xe1lido",invalidCardNumber:"N\xfamero de tarjeta no v\xe1lido",invalidCardExpiration:"Fecha de la tarjeta no v\xe1lida",invalidCvv:"C\xf3digo de la tarjeta no v\xe1lido",invalidPhoneNumber:"N\xfamero de tel\xe9fono no v\xe1lido"},requisites:{paymentDetailsHeader:"Detalles del pago",cardNumberPlaceholder:"N\xfamero de tarjeta",cardExpirationPlaceholder:"MM/AA",cvvHint:"CVV (Valor de verificaci\xf3n de la tarjeta)",cardHolderHeader:"Nombre en la tarjeta",cardHolderPlaceholder:"Nombre en la tarjeta"},phone:{header:"Tel\xe9fono",placeholder:"N\xfamero de tel\xe9fono"},apms:{or:"O",orUseAlternative:"o usar m\xe9todos alternativos"},totalHeader:"Total",pay:"Pagar",availableCardBrandsHeader:"M\xe9todos de pago",transactionProtectedBy:"Sus transacciones est\xe1n protegidas por",existingCards:{manageCardsHeader:"Gestionar tarjetas",addNewCard:"A\xf1adir nueva tarjeta",removeCard:"Eliminar tarjeta"},paymentResult:{success:"Hemos realizado su pedido",failure:{main:"Algo sali\xf3 mal",paymentFailed:"El pago no se ha procesado."}},paymentProcessing:"Procesando el pago\u2026",notifications:{cardDeleted:{title:"Exitoso",text:"Se ha eliminado la tarjeta."},error:{default:{title:"\xa1Atenci\xf3n!",text:"No se ha podido procesar el pago."}}},noAvailablePaymentMethods:"No hay m\xe9todos de pago disponibles\u2026",close:"Cerrar"},"fr-FR":{header:"Paiement",errors:{notCheckedCheckboxes:"Veuillez cocher les cases suivantes",invalidCardHolder:"Nom du titulaire de la carte invalide",invalidCardNumber:"Num\xe9ro de carte non valide",invalidCardExpiration:"Date de la carte invalide",invalidCvv:"Code de carte invalide",invalidPhoneNumber:"Num\xe9ro de t\xe9l\xe9phone invalide"},requisites:{paymentDetailsHeader:"Modalit\xe9s de paiement",cardNumberPlaceholder:"Num\xe9ro de carte",cardExpirationPlaceholder:"MM/AA",cvvHint:"CVV (Valeur de v\xe9rification de la carte)",cardHolderHeader:"Nom sur la carte",cardHolderPlaceholder:"Nom sur la carte"},phone:{header:"T\xe9l\xe9phone",placeholder:"Num\xe9ro de t\xe9l\xe9phone"},apms:{or:"OU",orUseAlternative:"ou utilisez des m\xe9thodes alternatives"},totalHeader:"Total",pay:"Payer",availableCardBrandsHeader:"Modes de paiement",transactionProtectedBy:"Vos transactions sont prot\xe9g\xe9es par",existingCards:{manageCardsHeader:"G\xe9rer les cartes",addNewCard:"Ajoutez une nouvelle carte",removeCard:"Supprimer la carte"},paymentResult:{success:"Nous avons pass\xe9 votre commande",failure:{main:"Une erreur est survenue",paymentFailed:"Le paiement a \xe9chou\xe9."}},paymentProcessing:"traitement du paiement",notifications:{cardDeleted:{title:"R\xe9ussie",text:"La carte a \xe9t\xe9 supprim\xe9e"},error:{default:{title:"Attention !",text:"Impossible de traiter le paiement"}}},noAvailablePaymentMethods:"Aucune m\xe9thode de paiement disponible...",close:"Fermer"}}},merchantInfo:void 0,userPreferences:void 0,components:["available-card-brands","no-methods","card-list","requisites","phone-number","charge-terms","pay-button","apm-list","user-preferences","merchant-info","protected-by"],resultComponentsStructure:{aboveResult:["available-card-brands"],belowResult:["merchant-info","protected-by"]},events:{analytics:{optional:!1,required:!1},error:!0},requiredFieldsBehavior:{buttonStateUntilFilled:"enabled",markAsInvalidUntilCorrect:!1,showStars:!1},apmsCollapse:!1};function RH(e,n){if(1&e&&(G(0,"div",1),He(1,"img",2),U()),2&e){const t=Z();N(),ee("src",t.src,el)("alt",t.alt)}}let Pu=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=ut({type:e,selectors:[["moto-picture"]],inputs:{src:"src",alt:"alt"},decls:1,vars:1,consts:[["class","__ndb-picture",4,"ngIf"],[1,"__ndb-picture"],[1,"__ndb-picture-tag",3,"src","alt"]],template:function(r,i){1&r&&De(0,RH,2,2,"div",0),2&r&&ee("ngIf",i.src)},dependencies:[pp],styles:[".__ndb-picture[_ngcontent-%COMP%]{height:inherit;width:inherit}.__ndb-picture-tag[_ngcontent-%COMP%]{height:100%;width:100%;object-fit:cover}"],changeDetection:0})}return e})();var Au=function(e){return e.default="default-card-icon",e.mastercard="master-card-icon",e.maestro="maestro",e.visa="visa-card-icon-new",e.discover="discover",e.jcb="jcb",e["american-express"]="american-express",e.unionpay="unionpay",e}(Au||{});const ku_customHeaders_skipToastr="X-Skip-Toastr";let FH=(()=>{class e{transform(t){const r=Au[t];let i=r?.toString();if(i&&(r==Au.visa&&(i+="-brand"),r==Au.mastercard&&(i+="-brand"),r))return`https://cdn.motopays.com/images/${i}.svg`}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275pipe=Nt({name:"brandLogo",type:e,pure:!0})}return e})();function LH(e,n){1&e&&He(0,"moto-picture",4),2&e&&ee("src",n)}function VH(e,n){if(1&e&&(De(0,LH,1,1,"moto-picture",4),it(1,"brandLogo")),2&e){let t;Le((t=Nl(1,1,n.$implicit))?0:-1,t)}}let VI=(()=>{class e{constructor(t){this.context=t}ngOnInit(){this.settings=this.context.data.settings}static#e=this.\u0275fac=function(r){return new(r||e)(P(st))};static#t=this.\u0275cmp=ut({type:e,selectors:[["moto-available-card-brands"]],decls:8,vars:1,consts:[[1,"__ndb-brands"],[1,"__ndb-brands-paymentsheader"],[1,"fz-14","fw-500"],[1,"__ndb-brands-payments"],[1,"__ndb-brands-payments-logo",3,"src"]],template:function(r,i){if(1&r&&(hr(0),G(1,"div",0)(2,"div",1)(3,"h6",2),fe(4),U()(),G(5,"div",3),Wr(6,VH,2,3,null,null,Wi),U()()),2&r){const o=i.settings();N(4),lt(" ",o.language.availableCardBrandsHeader," "),N(2),qr(o.availableCardBrands)}},dependencies:[Pu,FH],styles:["[_ngcontent-%COMP%]:root{--ndb-button-bg: #2c8ee8;--ndb-button-disabled-bg: rgba(201, 204, 216, .3);--ndb-button-hover-bg: #1467b4;--ndb-button-color: #fff;--ndb-card-border-color: #c9ccd8}.__ndb-brands[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:10px}.__ndb-brands-payments[_ngcontent-%COMP%]{gap:10px;display:flex;justify-content:center}.__ndb-brands-payments-logo[_ngcontent-%COMP%]{height:24px;width:36px}.__ndb-brands-header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:10px}.__ndb-brands-paymentsheader[_ngcontent-%COMP%]{justify-content:center;display:flex;align-items:center;gap:10px}"],changeDetection:0})}return e})();class jH{constructor(n,t=Ie(!1)){this.item=n,this.selected=t}setSelected(n){this.selected.set(n)}}var he=function(e){return e[e.State=0]="State",e[e.Transition=1]="Transition",e[e.Sequence=2]="Sequence",e[e.Group=3]="Group",e[e.Animate=4]="Animate",e[e.Keyframes=5]="Keyframes",e[e.Style=6]="Style",e[e.Trigger=7]="Trigger",e[e.Reference=8]="Reference",e[e.AnimateChild=9]="AnimateChild",e[e.AnimateRef=10]="AnimateRef",e[e.Query=11]="Query",e[e.Stagger=12]="Stagger",e}(he||{});const Ki="*";function xu(e,n){return{type:he.Trigger,name:e,definitions:n,options:{}}}function ti(e,n=null){return{type:he.Animate,styles:n,timings:e}}function Et(e){return{type:he.Style,styles:e,offset:null}}function Xl(e,n,t){return{type:he.State,name:e,styles:n,options:t}}function ni(e,n,t=null){return{type:he.Transition,expr:e,animation:n,options:t}}class Ql{constructor(n=0,t=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=n+t}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(n=>n()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(n){this._position=this.totalTime?n*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(n){const t="start"==n?this._onStartFns:this._onDoneFns;t.forEach(r=>r()),t.length=0}}class jI{constructor(n){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=n;let t=0,r=0,i=0;const o=this.players.length;0==o?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++t==o&&this._onFinish()}),s.onDestroy(()=>{++r==o&&this._onDestroy()}),s.onStart(()=>{++i==o&&this._onStart()})}),this.totalTime=this.players.reduce((s,u)=>Math.max(s,u.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this.players.forEach(n=>n.init())}onStart(n){this._onStartFns.push(n)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(n=>n()),this._onStartFns=[])}onDone(n){this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(n=>n.play())}pause(){this.players.forEach(n=>n.pause())}restart(){this.players.forEach(n=>n.restart())}finish(){this._onFinish(),this.players.forEach(n=>n.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(n=>n.destroy()),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this.players.forEach(n=>n.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(n){const t=n*this.totalTime;this.players.forEach(r=>{const i=r.totalTime?Math.min(1,t/r.totalTime):1;r.setPosition(i)})}getPosition(){const n=this.players.reduce((t,r)=>null===t||r.totalTime>t.totalTime?r:t,null);return null!=n?n.getPosition():0}beforeDestroy(){this.players.forEach(n=>{n.beforeDestroy&&n.beforeDestroy()})}triggerCallback(n){const t="start"==n?this._onStartFns:this._onDoneFns;t.forEach(r=>r()),t.length=0}}const Jl_animation_defaultAnimateMc=0;class P_{constructor(n){this.animationTime=Jl_animation_defaultAnimateMc,Object.assign(this,n)}}const zH=xu("ANHeight",[ni(":enter",[Et({overflow:"hidden",height:"0px"}),ti(Jl_animation_defaultAnimateMc,Et({height:"*",overflow:"hidden"}))]),ni(":leave",[Et({height:"*",overflow:"hidden"}),ti(Jl_animation_defaultAnimateMc,Et({height:"0px",overflow:"hidden"}))])]),WH=xu("ANScale",[ni(":enter",[Et({opacity:0,transform:"scale(0)"}),ti(Jl_animation_defaultAnimateMc,Et({opacity:1,transform:"scale(1)"}))]),ni(":leave",ti(Jl_animation_defaultAnimateMc,Et({opacity:0,transform:"scale(0)"})))]),A_=e=>{const n=new P_({animationName:"ANTransform",fromStyles:{opacity:"0",transform:"translateY(-100%)"},toStyles:{opacity:"1",transform:"translateY(0%)"}}),t=Object.assign(n,e),{animationName:r,animationTime:i,fromStyles:o,toStyles:s}=t;return xu(r,[ni(":enter",[Et(o),ti(i,Et(s))]),ni(":leave",[Et(s),ti(i,Et(o))])])},qH=e=>{const n=new P_({animationName:"ANStates",fromState:"a",toState:"b"}),t=Object.assign(n,e),{animationName:r,animationTime:i,fromStyles:o,toStyles:s,fromState:u,toState:c}=t;return xu(r,[Xl(u,Et(o)),Xl(c,Et(s)),ni(`${u}<=>${c}`,ti(i))])},ZH=e=>{const n=new P_({animationName:"ANStates"}),t=Object.assign(n,e),{animationName:r,animationTime:i,fromStyles:o,toStyles:s}=t;return xu(r,[ni(":enter",[Et(o),ti(i,Et(s))]),ni(":leave",[Et(s),ti(i,Et(o))])])};function tr(...e){return Io(e,Ep(e))}function Nu(e){return mn((n,t)=>{let o,r=null,i=!1;r=n.subscribe(Kt(t,void 0,void 0,s=>{o=Qr(e(s,Nu(e)(n))),r?(r.unsubscribe(),r=null,o.subscribe(t)):i=!0})),i&&(r.unsubscribe(),r=null,o.subscribe(t))})}function Ou(e,n){return Je(n)?Cp(e,n,1):Cp(e,1)}function BI(e,n){return mn((t,r)=>{let i=0;t.subscribe(Kt(r,o=>e.call(n,o,i++)&&r.next(o)))})}class xp{}class Np{}class nr{constructor(n){this.normalizedNames=new Map,this.lazyUpdate=null,n?"string"==typeof n?this.lazyInit=()=>{this.headers=new Map,n.split("\n").forEach(t=>{const r=t.indexOf(":");if(r>0){const i=t.slice(0,r),o=i.toLowerCase(),s=t.slice(r+1).trim();this.maybeSetNormalizedName(i,o),this.headers.has(o)?this.headers.get(o).push(s):this.headers.set(o,[s])}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEach((t,r)=>{this.setHeaderEntries(r,t)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([t,r])=>{this.setHeaderEntries(t,r)})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();const t=this.headers.get(n.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,t){return this.clone({name:n,value:t,op:"a"})}set(n,t){return this.clone({name:n,value:t,op:"s"})}delete(n,t){return this.clone({name:n,value:t,op:"d"})}maybeSetNormalizedName(n,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,n)}init(){this.lazyInit&&(this.lazyInit instanceof nr?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(t=>{this.headers.set(t,n.headers.get(t)),this.normalizedNames.set(t,n.normalizedNames.get(t))})}clone(n){const t=new nr;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof nr?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([n]),t}applyUpdate(n){const t=n.name.toLowerCase();switch(n.op){case"a":case"s":let r=n.value;if("string"==typeof r&&(r=[r]),0===r.length)return;this.maybeSetNormalizedName(n.name,t);const i=("a"===n.op?this.headers.get(t):void 0)||[];i.push(...r),this.headers.set(t,i);break;case"d":const o=n.value;if(o){let s=this.headers.get(t);if(!s)return;s=s.filter(u=>-1===o.indexOf(u)),0===s.length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,s)}else this.headers.delete(t),this.normalizedNames.delete(t)}}setHeaderEntries(n,t){const r=(Array.isArray(t)?t:[t]).map(o=>o.toString()),i=n.toLowerCase();this.headers.set(i,r),this.maybeSetNormalizedName(n,i)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>n(this.normalizedNames.get(t),this.headers.get(t)))}}class KH{encodeKey(n){return HI(n)}encodeValue(n){return HI(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}}const QH=/%(\d[a-f0-9])/gi,JH={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function HI(e){return encodeURIComponent(e).replace(QH,(n,t)=>JH[t]??n)}function Op(e){return`${e}`}class Xi{constructor(n={}){if(this.updates=null,this.cloneFrom=null,this.encoder=n.encoder||new KH,n.fromString){if(n.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function XH(e,n){const t=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(i=>{const o=i.indexOf("="),[s,u]=-1==o?[n.decodeKey(i),""]:[n.decodeKey(i.slice(0,o)),n.decodeValue(i.slice(o+1))],c=t.get(s)||[];c.push(u),t.set(s,c)}),t}(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(t=>{const r=n.fromObject[t],i=Array.isArray(r)?r.map(Op):[Op(r)];this.map.set(t,i)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();const t=this.map.get(n);return t?t[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,t){return this.clone({param:n,value:t,op:"a"})}appendAll(n){const t=[];return Object.keys(n).forEach(r=>{const i=n[r];Array.isArray(i)?i.forEach(o=>{t.push({param:r,value:o,op:"a"})}):t.push({param:r,value:i,op:"a"})}),this.clone(t)}set(n,t){return this.clone({param:n,value:t,op:"s"})}delete(n,t){return this.clone({param:n,value:t,op:"d"})}toString(){return this.init(),this.keys().map(n=>{const t=this.encoder.encodeKey(n);return this.map.get(n).map(r=>t+"="+this.encoder.encodeValue(r)).join("&")}).filter(n=>""!==n).join("&")}clone(n){const t=new Xi({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat(n),t}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":const t=("a"===n.op?this.map.get(n.param):void 0)||[];t.push(Op(n.value)),this.map.set(n.param,t);break;case"d":if(void 0===n.value){this.map.delete(n.param);break}{let r=this.map.get(n.param)||[];const i=r.indexOf(Op(n.value));-1!==i&&r.splice(i,1),r.length>0?this.map.set(n.param,r):this.map.delete(n.param)}}}),this.cloneFrom=this.updates=null)}}class eG{constructor(){this.map=new Map}set(n,t){return this.map.set(n,t),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}}function GI(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function UI(e){return typeof Blob<"u"&&e instanceof Blob}function $I(e){return typeof FormData<"u"&&e instanceof FormData}class ed{constructor(n,t,r,i){let o;if(this.url=t,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=n.toUpperCase(),function tG(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||i?(this.body=void 0!==r?r:null,o=i):o=r,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),this.transferCache=o.transferCache),this.headers??=new nr,this.context??=new eG,this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=t;else{const u=t.indexOf("?");this.urlWithParams=t+(-1===u?"?":u<t.length-1?"&":"")+s}}else this.params=new Xi,this.urlWithParams=t}serializeBody(){return null===this.body?null:"string"==typeof this.body||GI(this.body)||UI(this.body)||$I(this.body)||function nG(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}(this.body)?this.body:this.body instanceof Xi?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||$I(this.body)?null:UI(this.body)?this.body.type||null:GI(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Xi?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(n={}){const t=n.method||this.method,r=n.url||this.url,i=n.responseType||this.responseType,o=n.transferCache??this.transferCache,s=void 0!==n.body?n.body:this.body,u=n.withCredentials??this.withCredentials,c=n.reportProgress??this.reportProgress;let d=n.headers||this.headers,f=n.params||this.params;const m=n.context??this.context;return void 0!==n.setHeaders&&(d=Object.keys(n.setHeaders).reduce((g,y)=>g.set(y,n.setHeaders[y]),d)),n.setParams&&(f=Object.keys(n.setParams).reduce((g,y)=>g.set(y,n.setParams[y]),f)),new ed(t,r,s,{params:f,headers:d,context:m,reportProgress:c,responseType:i,withCredentials:u,transferCache:o})}}var Ao=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}(Ao||{});class k_{constructor(n,t=200,r="OK"){this.headers=n.headers||new nr,this.status=void 0!==n.status?n.status:t,this.statusText=n.statusText||r,this.url=n.url||null,this.ok=this.status>=200&&this.status<300}}class Rp extends k_{constructor(n={}){super(n),this.type=Ao.ResponseHeader}clone(n={}){return new Rp({headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}}class Os extends k_{constructor(n={}){super(n),this.type=Ao.Response,this.body=void 0!==n.body?n.body:null}clone(n={}){return new Os({body:void 0!==n.body?n.body:this.body,headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}}class Ru extends k_{constructor(n){super(n,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${n.url||"(unknown url)"}`:`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}}function x_(e,n){return{body:n,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,transferCache:e.transferCache}}let Fp=(()=>{class e{constructor(t){this.handler=t}request(t,r,i={}){let o;if(t instanceof ed)o=t;else{let c,d;c=i.headers instanceof nr?i.headers:new nr(i.headers),i.params&&(d=i.params instanceof Xi?i.params:new Xi({fromObject:i.params})),o=new ed(t,r,void 0!==i.body?i.body:null,{headers:c,context:i.context,params:d,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials,transferCache:i.transferCache})}const s=tr(o).pipe(Ou(c=>this.handler.handle(c)));if(t instanceof ed||"events"===i.observe)return s;const u=s.pipe(BI(c=>c instanceof Os));switch(i.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return u.pipe(St(c=>{if(null!==c.body&&!(c.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return c.body}));case"blob":return u.pipe(St(c=>{if(null!==c.body&&!(c.body instanceof Blob))throw new Error("Response is not a Blob.");return c.body}));case"text":return u.pipe(St(c=>{if(null!==c.body&&"string"!=typeof c.body)throw new Error("Response is not a string.");return c.body}));default:return u.pipe(St(c=>c.body))}case"response":return u;default:throw new Error(`Unreachable: unhandled observe type ${i.observe}}`)}}delete(t,r={}){return this.request("DELETE",t,r)}get(t,r={}){return this.request("GET",t,r)}head(t,r={}){return this.request("HEAD",t,r)}jsonp(t,r){return this.request("JSONP",t,{params:(new Xi).append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,r={}){return this.request("OPTIONS",t,r)}patch(t,r,i={}){return this.request("PATCH",t,x_(i,r))}post(t,r,i={}){return this.request("POST",t,x_(i,r))}put(t,r,i={}){return this.request("PUT",t,x_(i,r))}static#e=this.\u0275fac=function(r){return new(r||e)(l(xp))};static#t=this.\u0275prov=q({token:e,factory:e.\u0275fac})}return e})();const oG=/^\)\]\}',?\n/;function WI(e){if(e.url)return e.url;const n="X-Request-URL".toLocaleLowerCase();return e.headers.get(n)}let N_=(()=>{class e{constructor(){this.fetchImpl=p(aG,{optional:!0})?.fetch??((...t)=>globalThis.fetch(...t)),this.ngZone=p(Re)}handle(t){return new _t(r=>{const i=new AbortController;return this.doRequest(t,i.signal,r).then(O_,o=>r.error(new Ru({error:o}))),()=>i.abort()})}doRequest(t,r,i){var o=this;return Su(function*(){const s=o.createRequestInit(t);let u;try{const _=o.ngZone.runOutsideAngular(()=>o.fetchImpl(t.urlWithParams,{signal:r,...s}));(function uG(e){e.then(O_,O_)})(_),i.next({type:Ao.Sent}),u=yield _}catch(_){return void i.error(new Ru({error:_,status:_.status??0,statusText:_.statusText,url:t.urlWithParams,headers:_.headers}))}const c=new nr(u.headers),d=u.statusText,f=WI(u)??t.urlWithParams;let m=u.status,g=null;if(t.reportProgress&&i.next(new Rp({headers:c,status:m,statusText:d,url:f})),u.body){const _=u.headers.get("content-length"),C=[],S=u.body.getReader();let T,R,I=0;const L=typeof Zone<"u"&&Zone.current;yield o.ngZone.runOutsideAngular(Su(function*(){for(;;){const{done:X,value:re}=yield S.read();if(X)break;if(C.push(re),I+=re.length,t.reportProgress){R="text"===t.responseType?(R??"")+(T??=new TextDecoder).decode(re,{stream:!0}):void 0;const Q=()=>i.next({type:Ao.DownloadProgress,total:_?+_:void 0,loaded:I,partialText:R});L?L.run(Q):Q()}}}));const j=o.concatChunks(C,I);try{const X=u.headers.get("Content-Type")??"";g=o.parseBody(t,j,X)}catch(X){return void i.error(new Ru({error:X,headers:new nr(u.headers),status:u.status,statusText:u.statusText,url:WI(u)??t.urlWithParams}))}}0===m&&(m=g?200:0),m>=200&&m<300?(i.next(new Os({body:g,headers:c,status:m,statusText:d,url:f})),i.complete()):i.error(new Ru({error:g,headers:c,status:m,statusText:d,url:f}))})()}parseBody(t,r,i){switch(t.responseType){case"json":const o=(new TextDecoder).decode(r).replace(oG,"");return""===o?null:JSON.parse(o);case"text":return(new TextDecoder).decode(r);case"blob":return new Blob([r],{type:i});case"arraybuffer":return r.buffer}}createRequestInit(t){const r={},i=t.withCredentials?"include":void 0;if(t.headers.forEach((o,s)=>r[o]=s.join(",")),t.headers.has("Accept")||(r.Accept="application/json, text/plain, */*"),!t.headers.has("Content-Type")){const o=t.detectContentTypeHeader();null!==o&&(r["Content-Type"]=o)}return{body:t.serializeBody(),method:t.method,headers:r,credentials:i}}concatChunks(t,r){const i=new Uint8Array(r);let o=0;for(const s of t)i.set(s,o),o+=s.length;return i}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=q({token:e,factory:e.\u0275fac})}return e})();class aG{}function O_(){}function qI(e,n){return n(e)}const td=new $(""),ZI=new $(""),YI=new $("",{providedIn:"root",factory:()=>!0});let KI=(()=>{class e extends xp{constructor(t,r){super(),this.backend=t,this.injector=r,this.chain=null,this.pendingTasks=p(gs),this.contributeToStability=p(YI)}handle(t){if(null===this.chain){const r=Array.from(new Set([...this.injector.get(td),...this.injector.get(ZI,[])]));this.chain=r.reduceRight((i,o)=>function lG(e,n,t){return(r,i)=>function fk(e,n){e instanceof Ta&&e.assertNotDestroyed();const r=Ae(e),i=Jt(void 0);try{return n()}finally{Ae(r),Jt(i)}}(t,()=>n(r,o=>e(o,i)))}(i,o,this.injector),qI)}if(this.contributeToStability){const r=this.pendingTasks.add();return this.chain(t,i=>this.backend.handle(i)).pipe(function YH(e){return mn((n,t)=>{try{n.subscribe(t)}finally{t.add(e)}})}(()=>this.pendingTasks.remove(r)))}return this.chain(t,r=>this.backend.handle(r))}static#e=this.\u0275fac=function(r){return new(r||e)(l(Np),l(cr))};static#t=this.\u0275prov=q({token:e,factory:e.\u0275fac})}return e})();const yG=/^\)\]\}',?\n/;let QI=(()=>{class e{constructor(t){this.xhrFactory=t}handle(t){if("JSONP"===t.method)throw new k(-2800,!1);const r=this.xhrFactory;return(r.\u0275loadImpl?Io(r.\u0275loadImpl()):tr(null)).pipe(oI(()=>new _t(o=>{const s=r.build();if(s.open(t.method,t.urlWithParams),t.withCredentials&&(s.withCredentials=!0),t.headers.forEach((C,S)=>s.setRequestHeader(C,S.join(","))),t.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){const C=t.detectContentTypeHeader();null!==C&&s.setRequestHeader("Content-Type",C)}if(t.responseType){const C=t.responseType.toLowerCase();s.responseType="json"!==C?C:"text"}const u=t.serializeBody();let c=null;const d=()=>{if(null!==c)return c;const C=s.statusText||"OK",S=new nr(s.getAllResponseHeaders()),I=function vG(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(s)||t.url;return c=new Rp({headers:S,status:s.status,statusText:C,url:I}),c},f=()=>{let{headers:C,status:S,statusText:I,url:T}=d(),R=null;204!==S&&(R=typeof s.response>"u"?s.responseText:s.response),0===S&&(S=R?200:0);let L=S>=200&&S<300;if("json"===t.responseType&&"string"==typeof R){const j=R;R=R.replace(yG,"");try{R=""!==R?JSON.parse(R):null}catch(X){R=j,L&&(L=!1,R={error:X,text:R})}}L?(o.next(new Os({body:R,headers:C,status:S,statusText:I,url:T||void 0})),o.complete()):o.error(new Ru({error:R,headers:C,status:S,statusText:I,url:T||void 0}))},m=C=>{const{url:S}=d(),I=new Ru({error:C,status:s.status||0,statusText:s.statusText||"Unknown Error",url:S||void 0});o.error(I)};let g=!1;const y=C=>{g||(o.next(d()),g=!0);let S={type:Ao.DownloadProgress,loaded:C.loaded};C.lengthComputable&&(S.total=C.total),"text"===t.responseType&&s.responseText&&(S.partialText=s.responseText),o.next(S)},_=C=>{let S={type:Ao.UploadProgress,loaded:C.loaded};C.lengthComputable&&(S.total=C.total),o.next(S)};return s.addEventListener("load",f),s.addEventListener("error",m),s.addEventListener("timeout",m),s.addEventListener("abort",m),t.reportProgress&&(s.addEventListener("progress",y),null!==u&&s.upload&&s.upload.addEventListener("progress",_)),s.send(u),o.next({type:Ao.Sent}),()=>{s.removeEventListener("error",m),s.removeEventListener("abort",m),s.removeEventListener("load",f),s.removeEventListener("timeout",m),t.reportProgress&&(s.removeEventListener("progress",y),null!==u&&s.upload&&s.upload.removeEventListener("progress",_)),s.readyState!==s.DONE&&s.abort()}})))}static#e=this.\u0275fac=function(r){return new(r||e)(l(yM))};static#t=this.\u0275prov=q({token:e,factory:e.\u0275fac})}return e})();const R_=new $(""),JI=new $("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),eP=new $("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class tP{}let wG=(()=>{class e{constructor(t,r,i){this.doc=t,this.platform=r,this.cookieName=i,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=aM(t,this.cookieName),this.lastCookieString=t),this.lastToken}static#e=this.\u0275fac=function(r){return new(r||e)(l(an),l(Gi),l(JI))};static#t=this.\u0275prov=q({token:e,factory:e.\u0275fac})}return e})();function CG(e,n){const t=e.url.toLowerCase();if(!p(R_)||"GET"===e.method||"HEAD"===e.method||t.startsWith("http://")||t.startsWith("https://"))return n(e);const r=p(tP).getToken(),i=p(eP);return null!=r&&!e.headers.has(i)&&(e=e.clone({headers:e.headers.set(i,r)})),n(e)}var ko=function(e){return e[e.Interceptors=0]="Interceptors",e[e.LegacyInterceptors=1]="LegacyInterceptors",e[e.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",e[e.NoXsrfProtection=3]="NoXsrfProtection",e[e.JsonpSupport=4]="JsonpSupport",e[e.RequestsMadeViaParent=5]="RequestsMadeViaParent",e[e.Fetch=6]="Fetch",e}(ko||{});function EG(...e){const n=[Fp,QI,KI,{provide:xp,useExisting:KI},{provide:Np,useFactory:()=>p(N_,{optional:!0})??p(QI)},{provide:td,useValue:CG,multi:!0},{provide:R_,useValue:!0},{provide:tP,useClass:wG}];for(const t of e)n.push(...t.\u0275providers);return Sa(n)}function DG(e){return function Rs(e,n){return{\u0275kind:e,\u0275providers:n}}(ko.Interceptors,e.map(n=>({provide:td,useValue:n,multi:!0})))}class NG extends cn{constructor(n,t){super()}schedule(n,t=0){return this}}const Vp={setInterval(e,n,...t){const{delegate:r}=Vp;return r?.setInterval?r.setInterval(e,n,...t):setInterval(e,n,...t)},clearInterval(e){const{delegate:n}=Vp;return(n?.clearInterval||clearInterval)(e)},delegate:void 0};class nd{constructor(n,t=nd.now){this.schedulerActionCtor=n,this.now=t}schedule(n,t=0,r){return new this.schedulerActionCtor(this,n).schedule(r,t)}}nd.now=d_.now;const lP=new class RG extends nd{constructor(n,t=nd.now){super(n,t),this.actions=[],this._active=!1}flush(n){const{actions:t}=this;if(this._active)return void t.push(n);let r;this._active=!0;do{if(r=n.execute(n.state,n.delay))break}while(n=t.shift());if(this._active=!1,r){for(;n=t.shift();)n.unsubscribe();throw r}}}(class OG extends NG{constructor(n,t){super(n,t),this.scheduler=n,this.work=t,this.pending=!1}schedule(n,t=0){var r;if(this.closed)return this;this.state=n;const i=this.id,o=this.scheduler;return null!=i&&(this.id=this.recycleAsyncId(o,i,t)),this.pending=!0,this.delay=t,this.id=null!==(r=this.id)&&void 0!==r?r:this.requestAsyncId(o,this.id,t),this}requestAsyncId(n,t,r=0){return Vp.setInterval(n.flush.bind(n,this),r)}recycleAsyncId(n,t,r=0){if(null!=r&&this.delay===r&&!1===this.pending)return t;null!=t&&Vp.clearInterval(t)}execute(n,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const r=this._execute(n,t);if(r)return r;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(n,t){let i,r=!1;try{this.work(n)}catch(o){r=!0,i=o||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),i}unsubscribe(){if(!this.closed){const{id:n,scheduler:t}=this,{actions:r}=t;this.work=this.state=this.scheduler=null,this.pending=!1,Bo(r,this),null!=n&&(this.id=this.recycleAsyncId(t,n,null)),this.delay=null,super.unsubscribe()}}}),FG=lP;function dP(e=0,n,t=FG){let r=-1;return null!=n&&(tI(n)?t=n:r=n),new _t(i=>{let o=function LG(e){return e instanceof Date&&!isNaN(e)}(e)?+e-t.now():e;o<0&&(o=0);let s=0;return t.schedule(function(){i.closed||(i.next(s++),0<=r?this.schedule(void 0,r):i.complete())},o)})}function F_(e,n){const t=Je(e)?e:()=>e,r=i=>i.error(t());return new _t(n?i=>n.schedule(r,0,i):r)}function L_(e){return new Xi({fromObject:e})}function fP(e){const n=Object.entries(e).reduce((t,[r,i])=>(t[r]=String(i),t),{});return new nr(n)}const hP="Watchdog fake error";function Qi(e,n){return`${e.endsWith("/")?e.slice(0,-1):e}${n.startsWith("/")?n:`/${n}`}`}let V_=(()=>{class e{constructor(t,r){this.http=t,this.context=r}getExistingCards(){const{merchantId:t,userAuthToken:r}=this.context.data.payment();if(!r)return tr([]);const i=L_({merchantId:t}),o=fP({[ku_customHeaders_skipToastr]:!0}),s=Qi(this.host(),"/api/UserPaymentMethods");return this.http.get(s,{params:i,headers:o}).pipe(St(u=>u.map(c=>({...c,name:c.name.toLocaleLowerCase(),type:c.type.toLocaleLowerCase()}))),St(u=>u.filter(c=>"card"===c.type)),Nu(()=>tr([])))}removeCard(t){const{merchantId:r}=this.context.data.payment(),i=L_({merchantId:r}),o=Qi(this.host(),`/api/UserPaymentMethods/${t}`);return this.http.delete(o,{params:i})}host(){return this.context.data.settings().urls.billingProfiles}static#e=this.\u0275fac=function(r){return new(r||e)(l(Fp),l(st))};static#t=this.\u0275prov=q({token:e,factory:e.\u0275fac})}return e})();const pP=["toast-component",""];function BG(e,n){if(1&e){const t=sn();G(0,"button",5),be("click",function(){return Ne(t),Oe(Z().remove())}),G(1,"span",6),fe(2,"\xd7"),U()()}}function HG(e,n){if(1&e&&(mu(0),fe(1),gu()),2&e){const t=Z(2);N(),lt("[",t.duplicatesCount+1,"]")}}function GG(e,n){if(1&e&&(G(0,"div"),fe(1),De(2,HG,2,1,"ng-container",4),U()),2&e){const t=Z();zi(t.options.titleClass),on("aria-label",t.title),N(),lt(" ",t.title," "),N(),ee("ngIf",t.duplicatesCount)}}function UG(e,n){if(1&e&&He(0,"div",7),2&e){const t=Z();zi(t.options.messageClass),ee("innerHTML",t.message,_o)}}function $G(e,n){if(1&e&&(G(0,"div",8),fe(1),U()),2&e){const t=Z();zi(t.options.messageClass),on("aria-label",t.message),N(),lt(" ",t.message," ")}}function zG(e,n){if(1&e&&(G(0,"div"),He(1,"div",9),U()),2&e){const t=Z();N(),pu("width",t.width()+"%")}}class QG{_attachedHost;component;viewContainerRef;injector;constructor(n,t){this.component=n,this.injector=t}attach(n,t){return this._attachedHost=n,n.attach(this,t)}detach(){const n=this._attachedHost;if(n)return this._attachedHost=void 0,n.detach()}get isAttached(){return null!=this._attachedHost}setAttachedHost(n){this._attachedHost=n}}class JG{_attachedPortal;_disposeFn;attach(n,t){return this._attachedPortal=n,this.attachComponentPortal(n,t)}detach(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)}setDisposeFn(n){this._disposeFn=n}}class eU{_overlayRef;componentInstance;duplicatesCount=0;_afterClosed=new bt;_activate=new bt;_manualClose=new bt;_resetTimeout=new bt;_countDuplicate=new bt;constructor(n){this._overlayRef=n}manualClose(){this._manualClose.next(),this._manualClose.complete()}manualClosed(){return this._manualClose.asObservable()}timeoutReset(){return this._resetTimeout.asObservable()}countDuplicate(){return this._countDuplicate.asObservable()}close(){this._overlayRef.detach(),this._afterClosed.next(),this._manualClose.next(),this._afterClosed.complete(),this._manualClose.complete(),this._activate.complete(),this._resetTimeout.complete(),this._countDuplicate.complete()}afterClosed(){return this._afterClosed.asObservable()}isInactive(){return this._activate.isStopped}activate(){this._activate.next(),this._activate.complete()}afterActivate(){return this._activate.asObservable()}onDuplicate(n,t){n&&this._resetTimeout.next(),t&&this._countDuplicate.next(++this.duplicatesCount)}}class jp{toastId;config;message;title;toastType;toastRef;_onTap=new bt;_onAction=new bt;constructor(n,t,r,i,o,s){this.toastId=n,this.config=t,this.message=r,this.title=i,this.toastType=o,this.toastRef=s,this.toastRef.afterClosed().subscribe(()=>{this._onAction.complete(),this._onTap.complete()})}triggerTap(){this._onTap.next(),this.config.tapToDismiss&&this._onTap.complete()}onTap(){return this._onTap.asObservable()}triggerAction(n){this._onAction.next(n)}onAction(){return this._onAction.asObservable()}}const gP=new $("ToastConfig");class tU extends JG{_hostDomElement;_componentFactoryResolver;_appRef;constructor(n,t,r){super(),this._hostDomElement=n,this._componentFactoryResolver=t,this._appRef=r}attachComponentPortal(n,t){const r=this._componentFactoryResolver.resolveComponentFactory(n.component);let i;return i=r.create(n.injector),this._appRef.attachView(i.hostView),this.setDisposeFn(()=>{this._appRef.detachView(i.hostView),i.destroy()}),t?this._hostDomElement.insertBefore(this._getComponentRootNode(i),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(i)),i}_getComponentRootNode(n){return n.hostView.rootNodes[0]}}let nU=(()=>{class e{_document=p(an);_containerElement;ngOnDestroy(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const t=this._document.createElement("div");t.classList.add("overlay-container"),t.setAttribute("aria-live","polite"),this._document.body.appendChild(t),this._containerElement=t}static \u0275fac=function(r){return new(r||e)};static \u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class rU{_portalHost;constructor(n){this._portalHost=n}attach(n,t=!0){return this._portalHost.attach(n,t)}detach(){return this._portalHost.detach()}}let iU=(()=>{class e{_overlayContainer=p(nU);_componentFactoryResolver=p(Ss);_appRef=p(pr);_document=p(an);_paneElements=new Map;create(t,r){return this._createOverlayRef(this.getPaneElement(t,r))}getPaneElement(t="",r){return this._paneElements.get(r)||this._paneElements.set(r,{}),this._paneElements.get(r)[t]||(this._paneElements.get(r)[t]=this._createPaneElement(t,r)),this._paneElements.get(r)[t]}_createPaneElement(t,r){const i=this._document.createElement("div");return i.id="toast-container",i.classList.add(t),i.classList.add("toast-container"),r?r.getContainerElement().appendChild(i):this._overlayContainer.getContainerElement().appendChild(i),i}_createPortalHost(t){return new tU(t,this._componentFactoryResolver,this._appRef)}_createOverlayRef(t){return new rU(this._createPortalHost(t))}static \u0275fac=function(r){return new(r||e)};static \u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Bp=(()=>{class e{overlay;_injector;sanitizer;ngZone;toastrConfig;currentlyActive=0;toasts=[];overlayContainer;previousToastMessage;index=0;constructor(t,r,i,o,s){this.overlay=r,this._injector=i,this.sanitizer=o,this.ngZone=s,this.toastrConfig={...t.default,...t.config},t.config.iconClasses&&(this.toastrConfig.iconClasses={...t.default.iconClasses,...t.config.iconClasses})}show(t,r,i={},o=""){return this._preBuildNotification(o,t,r,this.applyConfig(i))}success(t,r,i={}){return this._preBuildNotification(this.toastrConfig.iconClasses.success||"",t,r,this.applyConfig(i))}error(t,r,i={}){return this._preBuildNotification(this.toastrConfig.iconClasses.error||"",t,r,this.applyConfig(i))}info(t,r,i={}){return this._preBuildNotification(this.toastrConfig.iconClasses.info||"",t,r,this.applyConfig(i))}warning(t,r,i={}){return this._preBuildNotification(this.toastrConfig.iconClasses.warning||"",t,r,this.applyConfig(i))}clear(t){for(const r of this.toasts)if(void 0!==t){if(r.toastId===t)return void r.toastRef.manualClose()}else r.toastRef.manualClose()}remove(t){const r=this._findToast(t);if(!r||(r.activeToast.toastRef.close(),this.toasts.splice(r.index,1),this.currentlyActive=this.currentlyActive-1,!this.toastrConfig.maxOpened||!this.toasts.length))return!1;if(this.currentlyActive<this.toastrConfig.maxOpened&&this.toasts[this.currentlyActive]){const i=this.toasts[this.currentlyActive].toastRef;i.isInactive()||(this.currentlyActive=this.currentlyActive+1,i.activate())}return!0}findDuplicate(t="",r="",i,o){const{includeTitleDuplicates:s}=this.toastrConfig;for(const u of this.toasts)if((!s||s&&u.title===t)&&u.message===r)return u.toastRef.onDuplicate(i,o),u;return null}applyConfig(t={}){return{...this.toastrConfig,...t}}_findToast(t){for(let r=0;r<this.toasts.length;r++)if(this.toasts[r].toastId===t)return{index:r,activeToast:this.toasts[r]};return null}_preBuildNotification(t,r,i,o){return o.onActivateTick?this.ngZone.run(()=>this._buildNotification(t,r,i,o)):this._buildNotification(t,r,i,o)}_buildNotification(t,r,i,o){if(!o.toastComponent)throw new Error("toastComponent required");const s=this.findDuplicate(i,r,this.toastrConfig.resetTimeoutOnDuplicate&&o.timeOut>0,this.toastrConfig.countDuplicates);if((this.toastrConfig.includeTitleDuplicates&&i||r)&&this.toastrConfig.preventDuplicates&&null!==s)return s;this.previousToastMessage=r;let u=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(u=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));const c=this.overlay.create(o.positionClass,this.overlayContainer);this.index=this.index+1;let d=r;r&&o.enableHtml&&(d=this.sanitizer.sanitize(Zn.HTML,r));const f=new eU(c),m=new jp(this.index,o,d,i,t,f),y=Ke.create({providers:[{provide:jp,useValue:m}],parent:this._injector}),_=new QG(o.toastComponent,y),C=c.attach(_,o.newestOnTop);f.componentInstance=C.instance;const S={toastId:this.index,title:i||"",message:r||"",toastRef:f,onShown:f.afterActivate(),onHidden:f.afterClosed(),onTap:m.onTap(),onAction:m.onAction(),portal:C};return u||(this.currentlyActive=this.currentlyActive+1,setTimeout(()=>{S.toastRef.activate()})),this.toasts.push(S),S}static \u0275fac=function(r){return new(r||e)(l(gP),l(iU),l(Ke),l(l_),l(Re))};static \u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const oU={maxOpened:0,autoDismiss:!1,newestOnTop:!0,preventDuplicates:!1,countDuplicates:!1,resetTimeoutOnDuplicate:!1,includeTitleDuplicates:!1,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},closeButton:!1,disableTimeOut:!1,timeOut:5e3,extendedTimeOut:1e3,enableHtml:!1,progressBar:!1,toastClass:"ngx-toastr",positionClass:"toast-top-right",titleClass:"toast-title",messageClass:"toast-message",easing:"ease-in",easeTime:300,tapToDismiss:!0,onActivateTick:!1,progressAnimation:"decreasing",toastComponent:(()=>{class e{toastrService;toastPackage;ngZone;message;title;options;duplicatesCount;originalTimeout;width=Ie(-1);toastClasses="";state;get _state(){return this.state()}get displayStyle(){if("inactive"===this.state().value)return"none"}timeout;intervalId;hideTime;sub;sub1;sub2;sub3;constructor(t,r,i){this.toastrService=t,this.toastPackage=r,this.ngZone=i,this.message=r.message,this.title=r.title,this.options=r.config,this.originalTimeout=r.config.timeOut,this.toastClasses=`${r.toastType} ${r.config.toastClass}`,this.sub=r.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=r.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=r.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=r.toastRef.countDuplicate().subscribe(o=>{this.duplicatesCount=o}),this.state=Ie({value:"inactive",params:{easeTime:this.toastPackage.config.easeTime,easing:"ease-in"}})}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state.update(t=>({...t,value:"active"})),!0!==this.options.disableTimeOut&&"timeOut"!==this.options.disableTimeOut&&this.options.timeOut&&(this.outsideTimeout(()=>this.remove(),this.options.timeOut),this.hideTime=(new Date).getTime()+this.options.timeOut,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}updateProgress(){if(0===this.width()||100===this.width()||!this.options.timeOut)return;const t=(new Date).getTime();this.width.set((this.hideTime-t)/this.options.timeOut*100),"increasing"===this.options.progressAnimation&&this.width.update(i=>100-i),this.width()<=0&&this.width.set(0),this.width()>=100&&this.width.set(100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state.update(t=>({...t,value:"active"})),this.outsideTimeout(()=>this.remove(),this.originalTimeout),this.options.timeOut=this.originalTimeout,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width.set(-1),this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10)}remove(){"removed"!==this.state().value&&(clearTimeout(this.timeout),this.state.update(t=>({...t,value:"removed"})),this.outsideTimeout(()=>this.toastrService.remove(this.toastPackage.toastId),+this.toastPackage.config.easeTime))}tapToast(){"removed"!==this.state().value&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){"removed"!==this.state().value&&"extendedTimeOut"!==this.options.disableTimeOut&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width.set(0))}delayedHideToast(){!0===this.options.disableTimeOut||"extendedTimeOut"===this.options.disableTimeOut||0===this.options.extendedTimeOut||"removed"===this.state().value||(this.outsideTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width.set(-1),this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}outsideTimeout(t,r){this.ngZone?this.ngZone.runOutsideAngular(()=>this.timeout=setTimeout(()=>this.runInsideAngular(t),r)):this.timeout=setTimeout(()=>t(),r)}outsideInterval(t,r){this.ngZone?this.ngZone.runOutsideAngular(()=>this.intervalId=setInterval(()=>this.runInsideAngular(t),r)):this.intervalId=setInterval(()=>t(),r)}runInsideAngular(t){this.ngZone?this.ngZone.run(()=>t()):t()}static \u0275fac=function(r){return new(r||e)(P(Bp),P(jp),P(Re))};static \u0275cmp=ut({type:e,selectors:[["","toast-component",""]],hostVars:5,hostBindings:function(r,i){1&r&&be("click",function(){return i.tapToast()})("mouseenter",function(){return i.stickAround()})("mouseleave",function(){return i.delayedHideToast()}),2&r&&(xh("@flyInOut",i._state),zi(i.toastClasses),pu("display",i.displayStyle))},standalone:!0,features:[lv],attrs:pP,decls:5,vars:5,consts:[["type","button","class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alert",3,"class","innerHTML",4,"ngIf"],["role","alert",3,"class",4,"ngIf"],[4,"ngIf"],["type","button","aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert",3,"innerHTML"],["role","alert"],[1,"toast-progress"]],template:function(r,i){1&r&&De(0,BG,3,0,"button",0)(1,GG,3,5,"div",1)(2,UG,1,3,"div",2)(3,$G,2,4,"div",3)(4,zG,2,2,"div",4),2&r&&(ee("ngIf",i.options.closeButton),N(),ee("ngIf",i.title),N(),ee("ngIf",i.message&&i.options.enableHtml),N(),ee("ngIf",i.message&&!i.options.enableHtml),N(),ee("ngIf",i.options.progressBar))},dependencies:[pp],encapsulation:2,data:{animation:[xu("flyInOut",[Xl("inactive",Et({opacity:0})),Xl("active",Et({opacity:1})),Xl("removed",Et({opacity:0})),ni("inactive => active",ti("{{ easeTime }}ms {{ easing }}")),ni("active => removed",ti("{{ easeTime }}ms {{ easing }}"))])]},changeDetection:0})}return e})()},sU=(e={})=>Sa([{provide:gP,useValue:{default:oU,config:e}}]);let aU=(()=>{class e{static forRoot(t={}){return{ngModule:e,providers:[sU(t)]}}static \u0275fac=function(r){return new(r||e)};static \u0275mod=Ut({type:e});static \u0275inj=Ct({})}return e})();const{isArray:uU}=Array,{getPrototypeOf:cU,prototype:lU,keys:dU}=Object;const{isArray:pU}=Array;function yU(e,n){return e.reduce((t,r,i)=>(t[r]=n[i],t),{})}function yP(...e){const n=function Y8(e){return Je(g_(e))?e.pop():void 0}(e),{args:t,keys:r}=function fU(e){if(1===e.length){const n=e[0];if(uU(n))return{args:n,keys:null};if(function hU(e){return e&&"object"==typeof e&&cU(e)===lU}(n)){const t=dU(n);return{args:t.map(r=>n[r]),keys:t}}}return{args:e,keys:null}}(e),i=new _t(o=>{const{length:s}=t;if(!s)return void o.complete();const u=new Array(s);let c=s,d=s;for(let f=0;f<s;f++){let m=!1;Qr(t[f]).subscribe(Kt(o,g=>{m||(m=!0,d--),u[f]=g},()=>c--,void 0,()=>{(!c||!m)&&(d||o.next(r?yU(r,u):u),o.complete())}))}});return n?i.pipe(function gU(e){return St(n=>function mU(e,n){return pU(n)?e(...n):e(n)}(e,n))}(n)):i}function vP(e){return e&&e.replace(/\s+/g," ").trim()}let Fu=(()=>{class e{constructor(t,r,i){this.context=t,this.http=r,this.mapper=i}getAvailablePaymentSystems(){const{currency:t,userId:r,merchantId:i}=this.context.data.payment(),o=L_({currency:t,payerId:r}),s=Qi(this.host(),`/api/merchants/${i}/settings`);return this.http.get(s,{params:o}).pipe(St(u=>{const c=new Set;return{payments:u.payments.filter(f=>!c.has(f.name)&&(c.add(f.name),!0))}}),Nu(()=>tr({payments:[]})))}getPaymentInfo(t){const{merchantId:r}=this.context.data.payment(),i=Qi(this.host(),`/api/merchants/${r}/payments/${t}`);return this.http.get(i)}getGooglePaySettings(){const{merchantId:t}=this.context.data.payment(),r=Qi(this.host(),`/api/googlepay/${t}/settings`);return this.http.get(r).pipe(St(i=>({...i,allowedCardNetworks:i.allowedCardNetworks.map(o=>o.toUpperCase())})))}pay(){const t=this.context.data.payment(),r=this.context.data.settings(),i=this.context.data.userProvidedInfo(),o=this.context.data.deviceInfo(),s={...o?.browserData};t.ipAddress&&(s.ipAddress=t.ipAddress);const c={headers:fP(s)},d=Qi(this.host(),`/api/merchants/${t.merchantId}/payments`);let f=this.mapper.mapPaymentRequest(t,i,r,o),m="default";return"invoice-overridden"===r.paymentFlow.type&&this.context.callbacks.createInvoice?m="invoice-overridden":"payment-overridden"===r.paymentFlow.type&&this.context.callbacks.makePayment&&(m="payment-overridden"),"card"===f.requisites.type&&r.paymentFlow.tokenizeCard?this.getSecretKey().pipe(Ou(g=>Io(this.encrypt(f.requisites,g))),Ou(g=>"default"!==m?this.getCardTokenData(g,t.merchantId).pipe(St(y=>y.token),Nu(()=>tr(g)),Ou(y=>(f.requisites={type:"card",paymentToken:y},this.makeCallback(m,f,d,c)))):(f.requisites={type:"card",paymentToken:g},this.http.post(d,f,c)))):"default"!==m?this.makeCallback(m,f,d,c):this.http.post(d,f,c)}getCardTokenData(t,r){const i=Qi(this.host(),`api/CardData/${r}/tokenize`);return this.http.post(i,{ei:2,invoice:t,es:{uo:!0}})}makeCallback(t,r,i,o){if("invoice-overridden"===t)return this.createInvoiceCallback(r).pipe(Ou(s=>this.http.post(i,s,o)));if("payment-overridden"===t)return this.makePaymentCallback(r);throw new Error("Not implemented flow type")}getSecretKey(){const t=Qi(this.host(),"/api/security/key/2?formatId=2&size=4096");return this.http.get(t)}encrypt(t,r){var i=this;return Su(function*(){const o=JSON.stringify(t),s=function bU(e){return function wU(e){const n=new ArrayBuffer(e.length),t=new Uint8Array(n);for(let r=0,i=e.length;r<i;r++)t[r]=e.charCodeAt(r);return n}(atob(e))}(r);try{const u=yield window.crypto.subtle.importKey("spki",s,{name:"RSA-OAEP",hash:"SHA-1"},!1,["encrypt"]),c=(new TextEncoder).encode(o);return function _U(e){return btoa(String.fromCharCode(...new Uint8Array(e)))}(yield window.crypto.subtle.encrypt({name:"RSA-OAEP"},u,c))}catch(u){throw i.context.events.error.emit(u),u}})()}makePaymentCallback(t){return new _t(r=>(this.context.callbacks.makePayment(t).then(i=>{r.next(i),r.complete()}).catch(i=>r.error(i)),()=>{}))}createInvoiceCallback(t){return new _t(r=>(this.context.callbacks.createInvoice(t).then(i=>{r.next(i),r.complete()}).catch(i=>r.error(i)),()=>{}))}host(){return this.context.data.settings().urls.processing}static#e=this.\u0275fac=function(r){return new(r||e)(l(st),l(Fp),l(Hu))};static#t=this.\u0275prov=q({token:e,factory:e.\u0275fac})}return e})();const _P=new $("moto-window-document",{providedIn:"root",factory:()=>window}),bP=new $("LANGUAGE_TOKEN",{factory:()=>p(_P).navigator.language}),wP=new $("APPLE_PAY_JS_SERVICE_TOKEN");let j_=(()=>{class e{constructor(t,r){this.clientLanguage=t,this.applePayJsService=r,this.name="applepay"}get defaultCountryCode(){if(!this.clientLanguage)return"GB";if(this.clientLanguage.match(/-/)){const[t,r]=this.clientLanguage.split("-");return r}return this.clientLanguage}isAvailable(t){return t.userAuthToken?this.applePayJsService.canMakePayment():tr(!1)}pay(t,r){const{amount:i,currency:o,description:s,billingAddress:u,merchantId:c,userAuthToken:d}=t,f=u?.country?u.country:this.defaultCountryCode,m={total:{amount:i.toString(),currency:o.toUpperCase(),label:s},countryCode:f.toUpperCase(),merchantId:c,userToken:d,processingUrl:r};return this.applePayJsService.pay(m).pipe(St(({payment:g})=>JSON.stringify(g)))}static#e=this.\u0275fac=function(r){return new(r||e)(l(bP),l(wP))};static#t=this.\u0275prov=q({token:e,factory:e.\u0275fac})}return e})(),CP=(()=>{class e{constructor(t){this.context=t,this.versionData={apiVersion:2,apiVersionMinor:0}}setData(t){this.settings=t,this.paymentMethodSpec={type:"CARD",parameters:{allowedCardNetworks:t.allowedCardNetworks,allowedAuthMethods:["PAN_ONLY","CRYPTOGRAM_3DS"]}}}isAvailable(){return this.context.clients.googlePay&&this.paymentMethodSpec?Io(this.context.clients.googlePay.isReadyToPay({...this.versionData,allowedPaymentMethods:[this.paymentMethodSpec]}).then(t=>t.result)):tr(!1)}pay(t){if(!this.paymentMethodSpec||!this.settings)return F_(()=>"Something went wrong");const r={...this.versionData,allowedPaymentMethods:[{...this.paymentMethodSpec,tokenizationSpecification:{type:"PAYMENT_GATEWAY",parameters:{gateway:this.settings.gateway.name,gatewayMerchantId:this.settings.gateway.merchantId}}}],merchantInfo:{merchantId:this.settings.merchant.id,merchantName:this.settings.merchant.name},transactionInfo:{totalPriceStatus:"FINAL",totalPrice:t.price,currencyCode:t.currency,countryCode:t.countryCode,transactionId:t.paymentId}};return Io(this.context.clients.googlePay.loadPaymentData(r).then(i=>i.paymentMethodData.tokenizationData.token))}static#e=this.\u0275fac=function(r){return new(r||e)(l(st))};static#t=this.\u0275prov=q({token:e,factory:e.\u0275fac})}return e})(),B_=(()=>{class e{constructor(t,r,i,o){this.clientLanguage=t,this.googlePayJsService=r,this.context=i,this.processing=o,this.name="googlepay"}get defaultCountryCode(){if(!this.clientLanguage)return"GB";if(this.clientLanguage.match(/-/)){const[t,r]=this.clientLanguage.split("-");return r}return this.clientLanguage}isAvailable(t){return t.userAuthToken?this.processing.getGooglePaySettings().pipe(Ou(r=>(this.context.clients.googlePay=new google.payments.api.PaymentsClient({environment:r.isTest?"TEST":"PRODUCTION"}),this.googlePayJsService.setData(r),this.googlePayJsService.isAvailable())),Nu(()=>tr(!1))):tr(!1)}pay(t){const{paymentId:r,amount:i,currency:o,billingAddress:s}=t,c={countryCode:s?.country?s.country:this.defaultCountryCode,currency:o.toUpperCase(),paymentId:r,price:i.toString()};return this.googlePayJsService.pay(c)}static#e=this.\u0275fac=function(r){return new(r||e)(l(bP),l(CP),l(st),l(Fu))};static#t=this.\u0275prov=q({token:e,factory:e.\u0275fac})}return e})(),H_=(()=>{class e{constructor(t,r,i,o,s){this.context=t,this.processingService=r,this.billingProfilesService=i,this.applePayService=o,this.googlePayService=s}refreshExistingCards(t){let r;this.context.data.cardsLoading.set(!0),r=t?tr(t):this.billingProfilesService.getExistingCards().pipe(St(i=>i.concat().sort(o=>o.isDefault?-1:1))),r.subscribe(i=>{i.length?(this.context.componentsStates.cardForm.update(o=>({...o,enabled:!1})),this.context.componentsStates.cardList().enabled||this.context.componentsStates.cardList.update(o=>({...o,enabled:!0}))):(this.context.componentsStates.cardForm.update(o=>({...o,enabled:!0})),this.context.componentsStates.cardList.update(o=>({...o,enabled:!1})),"existing-card"===this.context.data.userProvidedInfo()?.requisites?.type&&this.context.data.userProvidedInfo.update(o=>({...o,requisites:void 0,paymentSystemName:void 0}))),this.context.data.loadedExistingCards.set(i),this.context.data.cardsLoading.set(!1)})}refreshPaymentSystems(){this.context.data.paymentSystemsLoading.set(!0),this.processingService.getAvailablePaymentSystems().subscribe(t=>{const r=t.payments.map(u=>u.name),i=this.context.data.payment(),s=[this.applePayService,this.googlePayService].filter(u=>r.includes(u.name)).map(u=>({name:u.name,isAvailable$:u.isAvailable(i)}));s.length>0?yP(s.map(u=>u.isAvailable$)).subscribe(u=>{const c=s.filter((f,m)=>!u[m]).map(f=>f.name),d=t.payments.filter(f=>!c.includes(f.name));this.applyPaymentSystems(d)}):this.applyPaymentSystems(t.payments)})}applyPaymentSystems(t){this.context.data.loadedPaymentSystems.set(t),t.some(r=>"card"===r.name)||(this.context.componentsStates.cardForm.update(r=>({...r,enabled:!1,isRequired:!1})),this.context.componentsStates.additionalForm.update(r=>({...r,enabled:!1,isRequired:!1})),this.context.componentsStates.cardList.update(r=>({...r,enabled:!1,isRequired:!1}))),t.some(r=>"card"!==r.name)||this.context.componentsStates.apmList.update(r=>({...r,enabled:!1,isRequired:!1})),this.context.data.paymentSystemsLoading.set(!1)}static#e=this.\u0275fac=function(r){return new(r||e)(l(st),l(Fu),l(V_),l(j_),l(B_))};static#t=this.\u0275prov=q({token:e,factory:e.\u0275fac})}return e})();var CU=M(634),EP=M.n(CU),DP=function(e){return e.mastercard="CVC Card Verification Code",e.visa="CVV (Card Verification Value)",e["american-express"]="CID (Card Identification Number)",e.unionpay="CVN (Card Verification Number)",e.jcb="CVV (Card Verification Value)",e.maestro="CVV (Card Verification Value)",e.discover="CID (Card Identification Number)",e}(DP||{});let G_=(()=>{class e{transform(t,r,i=null,o=null){const[s]=EP()(t);if(!s)return"code"===r&&o?o[i]:i;switch(r){case"logo":return this.getLogo(s);case"payment-system":return s.niceType;case"card-number-mask":return"0000 0000 0000 0000 000";case"secure-text":return DP[s.type];case"code":if(o){const c=o[s.code.name];if(c)return c}return s.code.name;case"code-mask":{const{size:u}=s.code;return Array.from({length:u}).fill("0").join("")}}}getLogo(t){if(t)return`https://cdn.motopays.com/images/${Au[t.type]||Au.default}.svg`}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275pipe=Nt({name:"cardInfo",type:e,pure:!0})}return e})(),SP=(()=>{class e{constructor(){this.selectEvent=new ct,this.removeEvent=new ct,this.optionsClickedEvent=new ct,this.isOpenPopup=!1,this.popupId=function IH(e=1){return window.crypto.getRandomValues(new Uint32Array(e)).toString()}()}hidePopup(t){t.closest("[data-card-popup]")?.getAttribute("data-card-popup")===this.popupId||(this.isOpenPopup=!1)}onOptionsClick(t){t.isPopupClick=!0,this.optionsClickedEvent.emit(this.option),this.isOpenPopup=!this.isOpenPopup}select(t){t.isPopupClick||this.option.selected()||this.selectEvent.emit(this.option)}remove(t){t.isPopupClick=!0,this.removeEvent.emit(this.option.item),this.isOpenPopup=!1}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=ut({type:e,selectors:[["moto-card"]],hostBindings:function(r,i){1&r&&be("click",function(s){return i.hidePopup(s.target)},0,M1)},inputs:{option:"option",language:"language"},outputs:{selectEvent:"select",removeEvent:"remove",optionsClickedEvent:"optionsClicked"},decls:18,vars:26,consts:[[1,"__ndb-card",3,"click"],["data-locator","card-active-circle",1,"__ndb-card-active-circle",3,"id"],["alt","card logo",1,"__ndb-card-logo",3,"src"],[1,"__ndb-card-payment-name","fz-14","fw-500"],[1,"__ndb-card-number","fz-14","fw-500"],[1,"__ndb-card-more"],[1,"material-icons","pointer","__ndb-card-more-icon","description-text","fz-18",3,"click"],[1,"__ndb-card-more-popup"],["data-locator","remove-btn",1,"__ndb-card-more-popup-item","fz-14","fw-500",3,"click","id"]],template:function(r,i){1&r&&(G(0,"div",0),be("click",function(s){return i.select(s)}),He(1,"div",1),it(2,"slice"),He(3,"moto-picture",2),it(4,"cardInfo"),G(5,"span",3),fe(6),it(7,"cardInfo"),U(),G(8,"span",4),fe(9),it(10,"slice"),U(),G(11,"div",5)(12,"i",6),be("click",function(s){return i.onOptionsClick(s)}),fe(13,"more_vert"),U(),G(14,"div",7)(15,"span",8),it(16,"slice"),be("click",function(s){return i.remove(s)}),fe(17),U()()()()),2&r&&(N(),Ur("selected",i.option.selected()),ee("id","select-card-"+hn(2,11,i.option.item.name,-6)+"-button"),N(2),ee("src",hn(4,14,i.option.item.name,"logo")),N(3),Xt(hn(7,17,i.option.item.name,"payment-system")),N(3),Xt(hn(10,20,i.option.item.name,-6)),N(2),on("data-card-popup",i.popupId),N(3),Ur("open",i.isOpenPopup),N(),ee("id","remove-card-"+hn(16,23,i.option.item.name,-6)+"-button"),N(2),Xt(i.language.existingCards.removeCard))},dependencies:[Pu,Xv,G_],styles:['[_ngcontent-%COMP%]:root{--ndb-button-bg: #2c8ee8;--ndb-button-disabled-bg: rgba(201, 204, 216, .3);--ndb-button-hover-bg: #1467b4;--ndb-button-color: #fff;--ndb-card-border-color: #c9ccd8}.__ndb-card[_ngcontent-%COMP%]{display:flex;align-items:center;border:1px solid var(--ndb-card-border-color);border-radius:8px;padding:14px;gap:10px}@media (max-width: 768px){.__ndb-card[_ngcontent-%COMP%]{padding:4px}}.__ndb-card-active-circle[_ngcontent-%COMP%]{position:relative;height:15px;width:15px;min-height:15px;min-width:15px;border:1px solid #c9ccd8;border-radius:50%;cursor:pointer}.__ndb-card-active-circle.selected[_ngcontent-%COMP%]:after{content:"";position:absolute;top:0;left:0;height:100%;width:100%;border:4px solid #e53;box-sizing:border-box;border-radius:50%}.__ndb-card-more[_ngcontent-%COMP%]{position:relative;display:flex;margin-left:auto}.__ndb-card-more-icon[_ngcontent-%COMP%]{margin:auto}.__ndb-card-more-popup[_ngcontent-%COMP%]{display:none;position:absolute;z-index:1;top:calc(100% + 10px);left:50%;transform:translate(-60%);background-color:#fff;border-radius:8px;box-shadow:0 4px 12px #29304d1f;white-space:nowrap;overflow:hidden;animation:_ngcontent-%COMP%_show-popup .3s cubic-bezier(.25,.1,.25,1)}@media (max-width: 768px){.__ndb-card-more-popup[_ngcontent-%COMP%]{top:calc(100% + 5px);transform:translate(-70%);animation:_ngcontent-%COMP%_mobile-show-popup .3s cubic-bezier(.25,.1,.25,1)}}.__ndb-card-more-popup.open[_ngcontent-%COMP%]{display:flex;flex-direction:column}.__ndb-card-more-popup-item[_ngcontent-%COMP%]{padding:16px 12px;cursor:pointer;transition:background-color .3s cubic-bezier(.25,.1,.25,1)}@media (max-width: 768px){.__ndb-card-more-popup-item[_ngcontent-%COMP%]{font-size:12px}}.__ndb-card-more-popup-item[_ngcontent-%COMP%]:hover{background-color:#c9ccd84d}@keyframes _ngcontent-%COMP%_show-popup{0%{opacity:0;transform:translate(-60%,50%)}to{opacity:1;transform:translate(-60%)}}@keyframes _ngcontent-%COMP%_mobile-show-popup{0%{opacity:0;transform:translate(-70%,50%)}to{opacity:1;transform:translate(-70%)}}'],changeDetection:0})}return e})();function EU(e,n){if(1&e){const t=sn();G(0,"moto-card",8),be("select",function(i){return Ne(t),Oe(Z().selectCard(i))})("remove",function(i){return Ne(t),Oe(Z().removeCard(i))})("optionsClicked",function(i){return Ne(t),Oe(Z().onOptionsClick(i))}),U()}if(2&e){const t=n.$implicit;Z();const r=At(0);ee("option",t)("language",r)}}function DU(e,n){if(1&e){const t=sn();G(0,"button",9),be("click",function(){return Ne(t),Oe(Z().showCardForm())})("focusin",function(){return Ne(t),Oe(Z().onAddCardFocus())}),G(1,"i",10),fe(2,"add"),U(),G(3,"span",11),fe(4),U()()}if(2&e){Z();const t=At(0);N(4),Xt(t.existingCards.addNewCard)}}let U_=(()=>{class e{constructor(t,r,i,o){this.billingProfiles=t,this.context=r,this.toastr=i,this.refreshService=o,this.isCardListShown=Ie(!0),this.cardFormState=this.context.componentsStates.cardForm,this.componentState=this.context.componentsStates.cardList,this.isCardFormVisible=this.context.visibility.cardForm,this.settings=this.context.data.settings,this.loadedExistingCards=this.context.data.loadedExistingCards,this.cardOptions=Ve(()=>this.loadedExistingCards().map(u=>new jH(u))),Ov(()=>{const s=this.cardOptions();s?.length&&Zr(()=>{this.selectCardImpl(s[0],s)})})}showCardForm(){this.context.events.analytics.emit(new gt("add-card-button-click")),this.isCardListShown.set(!1),this.cardFormState.update(t=>({...t,enabled:!0})),this.context.data.userProvidedInfo.update(t=>({...t,requisites:void 0,paymentSystemName:void 0})),this.resetSelected()}getSelectedCard(){return this.cardOptions().find(t=>t.selected())}removeCard(t){this.context.events.analytics.emit(new gt("remove-card-button-click",{last4Digits:t.name.slice(-4)})),this.billingProfiles.removeCard(t.id).subscribe(r=>{this.refreshService.refreshExistingCards(this.loadedExistingCards().filter(o=>o.id!==t.id));const i=this.settings().language.notifications.cardDeleted;this.toastr.success(i.text,i.title)})}toggleCardList(){this.isCardListShown.update(t=>!t),this.context.events.analytics.emit(new gt("cards-toggle-button-click",{toggle:this.isCardListShown()}))}onOptionsClick(t){this.context.events.analytics.emit(new gt("card-options-button-click",{last4Digits:t.item.name.slice(-4)}))}selectCard(t){this.context.events.analytics.emit(new gt("select-card-button-click",{last4Digits:t.item.name.slice(-4)})),this.selectCardImpl(t,this.cardOptions())}onAddCardFocus(){this.context.events.analytics.emit(new gt("add-card-button-focus"),!0)}selectCardImpl(t,r){r.find(o=>o.selected())?.setSelected(!1),t.setSelected(!0),this.context.data.userProvidedInfo.update(o=>({...o,paymentSystemName:"card",requisites:{type:"existing-card",value:t.item}})),this.cardFormState().enabled&&this.cardFormState.update(o=>({...o,enabled:!1}))}resetSelected(){this.getSelectedCard()?.setSelected(!1)}static#e=this.\u0275fac=function(r){return new(r||e)(P(V_),P(st),P(Bp),P(H_))};static#t=this.\u0275cmp=ut({type:e,selectors:[["moto-card-list"]],decls:12,vars:6,consts:[[1,"__ndb-card-list"],["id","toggle-card-list-button",1,"__ndb-card-list-toggle",3,"click"],[1,"fw-700"],[1,"material-icons","font-description","__ndb-card-list-toggle-icon"],[1,"block"],[1,"__ndb-card-list-options"],[1,"__ndb-card-list-options-item",3,"option","language"],["id","add-card-button",1,"full-width"],[1,"__ndb-card-list-options-item",3,"select","remove","optionsClicked","option","language"],["id","add-card-button",1,"full-width",3,"click","focusin"],[1,"material-icons","fz-18"],[1,"text"]],template:function(r,i){if(1&r){const o=sn();hr(0),G(1,"div",0)(2,"div",1),be("click",function(){return Ne(o),Oe(i.toggleCardList())}),G(3,"span",2),fe(4),U(),G(5,"i",3),fe(6,"keyboard_arrow_up"),U()(),G(7,"div",4)(8,"div",5),Wr(9,EU,1,2,"moto-card",6,Wi),U()(),De(11,DU,5,1,"button",7),U()}if(2&r){const o=Hn(i.settings().language);N(4),Xt(o.existingCards.manageCardsHeader),N(),Ur("active",i.isCardListShown()),N(2),ee("@ANToggleList",i.isCardListShown()?"show":"hide"),N(2),qr(i.cardOptions()),N(2),Le(i.isCardFormVisible()?-1:11)}},dependencies:[SP],styles:["[_ngcontent-%COMP%]:root{--ndb-button-bg: #2c8ee8;--ndb-button-disabled-bg: rgba(201, 204, 216, .3);--ndb-button-hover-bg: #1467b4;--ndb-button-color: #fff;--ndb-card-border-color: #c9ccd8}.full-width[_ngcontent-%COMP%]{width:100%}@media (min-width: 769px){.ndb-mobile[_ngcontent-%COMP%]{display:none}}@media (max-width: 768px){.ndb-desktop[_ngcontent-%COMP%]{display:none}}.margin-auto[_ngcontent-%COMP%]{margin:auto}.flex[_ngcontent-%COMP%]{display:flex}.flex-column[_ngcontent-%COMP%]{display:flex;flex-direction:column}.none[_ngcontent-%COMP%]{display:none}.block[_ngcontent-%COMP%]{display:block}.events-none[_ngcontent-%COMP%]{pointer-events:none}.cursor-default[_ngcontent-%COMP%]{cursor:default}.pointer[_ngcontent-%COMP%]{cursor:pointer}.bold[_ngcontent-%COMP%]{font-weight:700!important}.font-middle[_ngcontent-%COMP%]{vertical-align:middle}.rotate[_ngcontent-%COMP%], .__ndb-card-list-toggle-icon.active[_ngcontent-%COMP%]{transform:rotate(-180deg)}.__ndb-card-list[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:20px}.__ndb-card-list-options[_ngcontent-%COMP%]{display:flex;flex-direction:column}.__ndb-card-list-options-item[_ngcontent-%COMP%]{width:100%}.__ndb-card-list-options-item[_ngcontent-%COMP%]:not(:first-child){margin-top:10px}.__ndb-card-list-toggle[_ngcontent-%COMP%]{display:flex;align-items:center;gap:5px;cursor:pointer;-webkit-user-select:none;user-select:none}.__ndb-card-list-toggle-icon[_ngcontent-%COMP%]{transform:rotate(0);transition:transform .3s cubic-bezier(.25,.1,.25,1)}"],data:{animation:[zH,WH,qH({animationName:"ANToggleList",fromState:"hide",toState:"show",fromStyles:{height:"0px",overflow:"hidden"},toStyles:{height:"*"}})]},changeDetection:0})}return e})();function TP(e,n=lP){return mn((t,r)=>{let i=null,o=null,s=null;const u=()=>{if(i){i.unsubscribe(),i=null;const d=o;o=null,r.next(d)}};function c(){const d=s+e,f=n.now();if(f<d)return i=this.schedule(void 0,d-f),void r.add(i);u()}t.subscribe(Kt(r,d=>{o=d,s=n.now(),i||(i=n.schedule(c,e),r.add(i))},()=>{u(),r.complete()},void 0,()=>{o=i=null}))})}let MP=(()=>{class e{constructor(){this.detector$=new bt}detectChanges(){this.detector$.next()}listenChangeDetection(){return this.detector$.asObservable()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=q({token:e,factory:e.\u0275fac})}return e})(),Hp=(()=>{class e{constructor(t){this.injector=t,this.unsubscriber$=new bt,this.childrenDetector$=new bt}ngOnDestroy(){this.unsubscribe()}listenChildrenDetection(t){const r="local"===t,i="global"===t,o="full"===t;this.childrenDetector$.asObservable().pipe(TP(10),this.untilDestroy()).subscribe(()=>{(r||o)&&this.localDetect(),(i||o)&&this.globalDetect()})}localDetect(){this.injector.get(Cu).detectChanges()}globalDetect(){this.injector.get(MP).detectChanges()}detect(){this.localDetect(),this.globalDetect()}untilDestroy(){return function SU(e){return mn((n,t)=>{Qr(e).subscribe(Kt(t,()=>t.complete(),ao)),!t.closed&&n.subscribe(t)})}(this.unsubscriber$.asObservable())}unsubscribe(){this.unsubscriber$.next()}static#e=this.\u0275fac=function(r){return new(r||e)(P(Ke))};static#t=this.\u0275cmp=ut({type:e,selectors:[["ng-component"]],decls:0,vars:0,template:function(r,i){},encapsulation:2})}return e})(),IP=(()=>{class e{constructor(t,r){this._renderer=t,this._elementRef=r,this.onChange=i=>{},this.onTouched=()=>{}}setProperty(t,r){this._renderer.setProperty(this._elementRef.nativeElement,t,r)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}static#e=this.\u0275fac=function(r){return new(r||e)(P(Ci),P(Ln))};static#t=this.\u0275dir=ce({type:e})}return e})(),Fs=(()=>{class e extends IP{static#e=this.\u0275fac=(()=>{let t;return function(i){return(t||(t=rn(e)))(i||e)}})();static#t=this.\u0275dir=ce({type:e,features:[Fe]})}return e})();const _r=new $(""),TU={provide:_r,useExisting:Pe(()=>Gp),multi:!0};let Gp=(()=>{class e extends Fs{writeValue(t){this.setProperty("checked",t)}static#e=this.\u0275fac=(()=>{let t;return function(i){return(t||(t=rn(e)))(i||e)}})();static#t=this.\u0275dir=ce({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(r,i){1&r&&be("change",function(s){return i.onChange(s.target.checked)})("blur",function(){return i.onTouched()})},features:[rt([TU]),Fe]})}return e})();const MU={provide:_r,useExisting:Pe(()=>Up),multi:!0},PU=new $("");let Up=(()=>{class e extends IP{constructor(t,r,i){super(t,r),this._compositionMode=i,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function IU(){const e=Gl()?Gl().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(t){this.setProperty("value",t??"")}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}static#e=this.\u0275fac=function(r){return new(r||e)(P(Ci),P(Ln),P(PU,8))};static#t=this.\u0275dir=ce({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(r,i){1&r&&be("input",function(s){return i._handleInput(s.target.value)})("blur",function(){return i.onTouched()})("compositionstart",function(){return i._compositionStart()})("compositionend",function(s){return i._compositionEnd(s.target.value)})},features:[rt([MU]),Fe]})}return e})();function xo(e){return null==e||("string"==typeof e||Array.isArray(e))&&0===e.length}function PP(e){return null!=e&&"number"==typeof e.length}const un=new $(""),No=new $(""),AU=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class Ti{static min(n){return function AP(e){return n=>{if(xo(n.value)||xo(e))return null;const t=parseFloat(n.value);return!isNaN(t)&&t<e?{min:{min:e,actual:n.value}}:null}}(n)}static max(n){return function kP(e){return n=>{if(xo(n.value)||xo(e))return null;const t=parseFloat(n.value);return!isNaN(t)&&t>e?{max:{max:e,actual:n.value}}:null}}(n)}static required(n){return function xP(e){return xo(e.value)?{required:!0}:null}(n)}static requiredTrue(n){return function NP(e){return!0===e.value?null:{required:!0}}(n)}static email(n){return function OP(e){return xo(e.value)||AU.test(e.value)?null:{email:!0}}(n)}static minLength(n){return RP(n)}static maxLength(n){return FP(n)}static pattern(n){return function LP(e){if(!e)return $p;let n,t;return"string"==typeof e?(t="","^"!==e.charAt(0)&&(t+="^"),t+=e,"$"!==e.charAt(e.length-1)&&(t+="$"),n=new RegExp(t)):(t=e.toString(),n=e),r=>{if(xo(r.value))return null;const i=r.value;return n.test(i)?null:{pattern:{requiredPattern:t,actualValue:i}}}}(n)}static nullValidator(n){return null}static compose(n){return UP(n)}static composeAsync(n){return $P(n)}}function RP(e){return n=>xo(n.value)||!PP(n.value)?null:n.value.length<e?{minlength:{requiredLength:e,actualLength:n.value.length}}:null}function FP(e){return n=>PP(n.value)&&n.value.length>e?{maxlength:{requiredLength:e,actualLength:n.value.length}}:null}function $p(e){return null}function VP(e){return null!=e}function jP(e){return $h(e)?Io(e):e}function BP(e){let n={};return e.forEach(t=>{n=null!=t?{...n,...t}:n}),0===Object.keys(n).length?null:n}function HP(e,n){return n.map(t=>t(e))}function GP(e){return e.map(n=>function kU(e){return!e.validate}(n)?n:t=>n.validate(t))}function UP(e){if(!e)return null;const n=e.filter(VP);return 0==n.length?null:function(t){return BP(HP(t,n))}}function $_(e){return null!=e?UP(GP(e)):null}function $P(e){if(!e)return null;const n=e.filter(VP);return 0==n.length?null:function(t){return yP(HP(t,n).map(jP)).pipe(St(BP))}}function z_(e){return null!=e?$P(GP(e)):null}function zP(e,n){return null===e?[n]:Array.isArray(e)?[...e,n]:[e,n]}function WP(e){return e._rawValidators}function qP(e){return e._rawAsyncValidators}function W_(e){return e?Array.isArray(e)?e:[e]:[]}function zp(e,n){return Array.isArray(e)?e.includes(n):e===n}function ZP(e,n){const t=W_(n);return W_(e).forEach(i=>{zp(t,i)||t.push(i)}),t}function YP(e,n){return W_(n).filter(t=>!zp(e,t))}class KP{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(n){this._rawValidators=n||[],this._composedValidatorFn=$_(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=z_(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n=void 0){this.control&&this.control.reset(n)}hasError(n,t){return!!this.control&&this.control.hasError(n,t)}getError(n,t){return this.control?this.control.getError(n,t):null}}class In extends KP{get formDirective(){return null}get path(){return null}}class Ji extends KP{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class XP{constructor(n){this._cd=n}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}}let Lu=(()=>{class e extends XP{constructor(t){super(t)}static#e=this.\u0275fac=function(r){return new(r||e)(P(Ji,2))};static#t=this.\u0275dir=ce({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,i){2&r&&Ur("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)},features:[Fe]})}return e})(),Wp=(()=>{class e extends XP{constructor(t){super(t)}static#e=this.\u0275fac=function(r){return new(r||e)(P(In,10))};static#t=this.\u0275dir=ce({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(r,i){2&r&&Ur("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)("ng-submitted",i.isSubmitted)},features:[Fe]})}return e})();const rd="VALID",Zp="INVALID",Vu="PENDING",id="DISABLED";class ju{}class JP extends ju{constructor(n,t){super(),this.value=n,this.source=t}}class Y_ extends ju{constructor(n,t){super(),this.pristine=n,this.source=t}}class K_ extends ju{constructor(n,t){super(),this.touched=n,this.source=t}}class Yp extends ju{constructor(n,t){super(),this.status=n,this.source=t}}class FU extends ju{constructor(n){super(),this.source=n}}class LU extends ju{constructor(n){super(),this.source=n}}function X_(e){return(Kp(e)?e.validators:e)||null}function Q_(e,n){return(Kp(n)?n.asyncValidators:e)||null}function Kp(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}function e3(e,n,t){const r=e.controls;if(!(n?Object.keys(r):r).length)throw new k(1e3,"");if(!r[t])throw new k(1001,"")}function t3(e,n,t){e._forEachChild((r,i)=>{if(void 0===t[i])throw new k(1002,"")})}class Xp{constructor(n,t){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this._status=Ve(()=>this.statusReactive()),this.statusReactive=Ie(void 0),this._pristine=Ve(()=>this.pristineReactive()),this.pristineReactive=Ie(!0),this._touched=Ve(()=>this.touchedReactive()),this.touchedReactive=Ie(!1),this._events=new bt,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(n),this._assignAsyncValidators(t)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get status(){return Zr(this.statusReactive)}set status(n){Zr(()=>this.statusReactive.set(n))}get valid(){return this.status===rd}get invalid(){return this.status===Zp}get pending(){return this.status==Vu}get disabled(){return this.status===id}get enabled(){return this.status!==id}get pristine(){return Zr(this.pristineReactive)}set pristine(n){Zr(()=>this.pristineReactive.set(n))}get dirty(){return!this.pristine}get touched(){return Zr(this.touchedReactive)}set touched(n){Zr(()=>this.touchedReactive.set(n))}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(ZP(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(ZP(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(YP(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(YP(n,this._rawAsyncValidators))}hasValidator(n){return zp(this._rawValidators,n)}hasAsyncValidator(n){return zp(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){const t=!1===this.touched;this.touched=!0;const r=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsTouched({...n,sourceControl:r}),t&&!1!==n.emitEvent&&this._events.next(new K_(!0,r))}markAllAsTouched(n={}){this.markAsTouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:this}),this._forEachChild(t=>t.markAllAsTouched(n))}markAsUntouched(n={}){const t=!0===this.touched;this.touched=!1,this._pendingTouched=!1;const r=n.sourceControl??this;this._forEachChild(i=>{i.markAsUntouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:r})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,r),t&&!1!==n.emitEvent&&this._events.next(new K_(!1,r))}markAsDirty(n={}){const t=!0===this.pristine;this.pristine=!1;const r=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsDirty({...n,sourceControl:r}),t&&!1!==n.emitEvent&&this._events.next(new Y_(!1,r))}markAsPristine(n={}){const t=!1===this.pristine;this.pristine=!0,this._pendingDirty=!1;const r=n.sourceControl??this;this._forEachChild(i=>{i.markAsPristine({onlySelf:!0,emitEvent:n.emitEvent})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n,r),t&&!1!==n.emitEvent&&this._events.next(new Y_(!0,r))}markAsPending(n={}){this.status=Vu;const t=n.sourceControl??this;!1!==n.emitEvent&&(this._events.next(new Yp(this.status,t)),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.markAsPending({...n,sourceControl:t})}disable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=id,this.errors=null,this._forEachChild(i=>{i.disable({...n,onlySelf:!0})}),this._updateValue();const r=n.sourceControl??this;!1!==n.emitEvent&&(this._events.next(new JP(this.value,r)),this._events.next(new Yp(this.status,r)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...n,skipPristineCheck:t},this),this._onDisabledChange.forEach(i=>i(!0))}enable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=rd,this._forEachChild(r=>{r.enable({...n,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors({...n,skipPristineCheck:t},this),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(n,t){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine({},t),this._parent._updateTouched({},t))}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){const r=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===rd||this.status===Vu)&&this._runAsyncValidator(r,n.emitEvent)}const t=n.sourceControl??this;!1!==n.emitEvent&&(this._events.next(new JP(this.value,t)),this._events.next(new Yp(this.status,t)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity({...n,sourceControl:t})}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?id:rd}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n,t){if(this.asyncValidator){this.status=Vu,this._hasOwnPendingAsyncValidator={emitEvent:!1!==t};const r=jP(this.asyncValidator(this));this._asyncValidationSubscription=r.subscribe(i=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(i,{emitEvent:t,shouldHaveEmitted:n})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();const n=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,n}return!1}setErrors(n,t={}){this.errors=n,this._updateControlsErrors(!1!==t.emitEvent,this,t.shouldHaveEmitted)}get(n){let t=n;return null==t||(Array.isArray(t)||(t=t.split(".")),0===t.length)?null:t.reduce((r,i)=>r&&r._find(i),this)}getError(n,t){const r=t?this.get(t):this;return r&&r.errors?r.errors[n]:null}hasError(n,t){return!!this.getError(n,t)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n,t,r){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),(n||r)&&this._events.next(new Yp(this.status,t)),this._parent&&this._parent._updateControlsErrors(n,t,r)}_initObservables(){this.valueChanges=new ct,this.statusChanges=new ct}_calculateStatus(){return this._allControlsDisabled()?id:this.errors?Zp:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Vu)?Vu:this._anyControlsHaveStatus(Zp)?Zp:rd}_anyControlsHaveStatus(n){return this._anyControls(t=>t.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n,t){const r=!this._anyControlsDirty(),i=this.pristine!==r;this.pristine=r,this._parent&&!n.onlySelf&&this._parent._updatePristine(n,t),i&&this._events.next(new Y_(this.pristine,t))}_updateTouched(n={},t){this.touched=this._anyControlsTouched(),this._events.next(new K_(this.touched,t)),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,t)}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){Kp(n)&&null!=n.updateOn&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){return!n&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=function VU(e){return Array.isArray(e)?$_(e):e||null}(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=function jU(e){return Array.isArray(e)?z_(e):e||null}(this._rawAsyncValidators)}}class od extends Xp{constructor(n,t,r){super(X_(t),Q_(r,t)),this.controls=n,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(n,t){return this.controls[n]?this.controls[n]:(this.controls[n]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(n,t,r={}){this.registerControl(n,t),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}removeControl(n,t={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}setControl(n,t,r={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],t&&this.registerControl(n,t),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,t={}){t3(this,0,n),Object.keys(n).forEach(r=>{e3(this,!0,r),this.controls[r].setValue(n[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(n,t={}){null!=n&&(Object.keys(n).forEach(r=>{const i=this.controls[r];i&&i.patchValue(n[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(n={},t={}){this._forEachChild((r,i)=>{r.reset(n?n[i]:null,{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t,this),this._updateTouched(t,this),this.updateValueAndValidity(t)}getRawValue(){return this._reduceChildren({},(n,t,r)=>(n[r]=t.getRawValue(),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(t,r)=>!!r._syncPendingControls()||t);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(t=>{const r=this.controls[t];r&&n(r,t)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(const[t,r]of Object.entries(this.controls))if(this.contains(t)&&n(r))return!0;return!1}_reduceValue(){return this._reduceChildren({},(t,r,i)=>((r.enabled||this.disabled)&&(t[i]=r.value),t))}_reduceChildren(n,t){let r=n;return this._forEachChild((i,o)=>{r=t(r,i,o)}),r}_allControlsDisabled(){for(const n of Object.keys(this.controls))if(this.controls[n].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(n){return this.controls.hasOwnProperty(n)?this.controls[n]:null}}class n3 extends od{}const Ls=new $("CallSetDisabledState",{providedIn:"root",factory:()=>sd}),sd="always";function Qp(e,n){return[...n.path,e]}function ad(e,n,t=sd){J_(e,n),n.valueAccessor.writeValue(e.value),(e.disabled||"always"===t)&&n.valueAccessor.setDisabledState?.(e.disabled),function HU(e,n){n.valueAccessor.registerOnChange(t=>{e._pendingValue=t,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&r3(e,n)})}(e,n),function UU(e,n){const t=(r,i)=>{n.valueAccessor.writeValue(r),i&&n.viewToModelUpdate(r)};e.registerOnChange(t),n._registerOnDestroy(()=>{e._unregisterOnChange(t)})}(e,n),function GU(e,n){n.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&r3(e,n),"submit"!==e.updateOn&&e.markAsTouched()})}(e,n),function BU(e,n){if(n.valueAccessor.setDisabledState){const t=r=>{n.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(t),n._registerOnDestroy(()=>{e._unregisterOnDisabledChange(t)})}}(e,n)}function Jp(e,n,t=!0){const r=()=>{};n.valueAccessor&&(n.valueAccessor.registerOnChange(r),n.valueAccessor.registerOnTouched(r)),tm(e,n),e&&(n._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(()=>{}))}function em(e,n){e.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(n)})}function J_(e,n){const t=WP(e);null!==n.validator?e.setValidators(zP(t,n.validator)):"function"==typeof t&&e.setValidators([t]);const r=qP(e);null!==n.asyncValidator?e.setAsyncValidators(zP(r,n.asyncValidator)):"function"==typeof r&&e.setAsyncValidators([r]);const i=()=>e.updateValueAndValidity();em(n._rawValidators,i),em(n._rawAsyncValidators,i)}function tm(e,n){let t=!1;if(null!==e){if(null!==n.validator){const i=WP(e);if(Array.isArray(i)&&i.length>0){const o=i.filter(s=>s!==n.validator);o.length!==i.length&&(t=!0,e.setValidators(o))}}if(null!==n.asyncValidator){const i=qP(e);if(Array.isArray(i)&&i.length>0){const o=i.filter(s=>s!==n.asyncValidator);o.length!==i.length&&(t=!0,e.setAsyncValidators(o))}}}const r=()=>{};return em(n._rawValidators,r),em(n._rawAsyncValidators,r),t}function r3(e,n){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function tb(e,n){if(!e.hasOwnProperty("model"))return!1;const t=e.model;return!!t.isFirstChange()||!Object.is(n,t.currentValue)}function nb(e,n){if(!n)return null;let t,r,i;return Array.isArray(n),n.forEach(o=>{o.constructor===Up?t=o:function WU(e){return Object.getPrototypeOf(e.constructor)===Fs}(o)?r=o:i=o}),i||r||t||null}function s3(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}function a3(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}Promise.resolve();const cd=class extends Xp{constructor(n=null,t,r){super(X_(t),Q_(r,t)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(n),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Kp(t)&&(t.nonNullable||t.initialValueIsDefault)&&(this.defaultValue=a3(n)?n.value:n)}setValue(n,t={}){this.value=this._pendingValue=n,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach(r=>r(this.value,!1!==t.emitViewToModelChange)),this.updateValueAndValidity(t)}patchValue(n,t={}){this.setValue(n,t)}reset(n=this.defaultValue,t={}){this._applyFormState(n),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){s3(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){s3(this._onDisabledChange,n)}_forEachChild(n){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(n){a3(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}};let u3=(()=>{class e extends In{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return Qp(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}static#e=this.\u0275fac=(()=>{let t;return function(i){return(t||(t=rn(e)))(i||e)}})();static#t=this.\u0275dir=ce({type:e,features:[Fe]})}return e})();const XU={provide:Ji,useExisting:Pe(()=>nm)},l3=Promise.resolve();let nm=(()=>{class e extends Ji{constructor(t,r,i,o,s,u){super(),this._changeDetectorRef=s,this.callSetDisabledState=u,this.control=new cd,this._registered=!1,this.name="",this.update=new ct,this._parent=t,this._setValidators(r),this._setAsyncValidators(i),this.valueAccessor=nb(0,o)}ngOnChanges(t){if(this._checkForErrors(),!this._registered||"name"in t){if(this._registered&&(this._checkName(),this.formDirective)){const r=t.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in t&&this._updateDisabled(t),tb(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){ad(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(t){l3.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(t){const r=t.isDisabled.currentValue,i=0!==r&&function Nv(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}(r);l3.then(()=>{i&&!this.control.disabled?this.control.disable():!i&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(t){return this._parent?Qp(t,this._parent):[t]}static#e=this.\u0275fac=function(r){return new(r||e)(P(In,9),P(un,10),P(No,10),P(_r,10),P(Cu,8),P(Ls,8))};static#t=this.\u0275dir=ce({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[rt([XU]),Fe,jr]})}return e})(),rm=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275dir=ce({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return e})();const ib=new $(""),r$={provide:In,useExisting:Pe(()=>Bu)};let Bu=(()=>{class e extends In{get submitted(){return Zr(this._submittedReactive)}set submitted(t){this._submittedReactive.set(t)}constructor(t,r,i){super(),this.callSetDisabledState=i,this._submitted=Ve(()=>this._submittedReactive()),this._submittedReactive=Ie(!1),this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new ct,this._setValidators(t),this._setAsyncValidators(r)}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(tm(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){const r=this.form.get(t.path);return ad(r,t,this.callSetDisabledState),r.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),r}getControl(t){return this.form.get(t.path)}removeControl(t){Jp(t.control||null,t,!1),function qU(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}getFormArray(t){return this.form.get(t.path)}updateModel(t,r){this.form.get(t.path).setValue(r)}onSubmit(t){return this._submittedReactive.set(!0),function o3(e,n){e._syncPendingControls(),n.forEach(t=>{const r=t.control;"submit"===r.updateOn&&r._pendingChange&&(t.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}(this.form,this.directives),this.ngSubmit.emit(t),this.form._events.next(new FU(this.control)),"dialog"===t?.target?.method}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this._submittedReactive.set(!1),this.form._events.next(new LU(this.form))}_updateDomValue(){this.directives.forEach(t=>{const r=t.control,i=this.form.get(t.path);r!==i&&(Jp(r||null,t),(e=>e instanceof cd)(i)&&(ad(i,t,this.callSetDisabledState),t.control=i))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){const r=this.form.get(t.path);(function i3(e,n){J_(e,n)})(r,t),r.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){const r=this.form.get(t.path);r&&function $U(e,n){return tm(e,n)}(r,t)&&r.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){J_(this.form,this),this._oldForm&&tm(this._oldForm,this)}_checkFormPresent(){}static#e=this.\u0275fac=function(r){return new(r||e)(P(un,10),P(No,10),P(Ls,8))};static#t=this.\u0275dir=ce({type:e,selectors:[["","formGroup",""]],hostBindings:function(r,i){1&r&&be("submit",function(s){return i.onSubmit(s)})("reset",function(){return i.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[rt([r$]),Fe,jr]})}return e})();const i$={provide:In,useExisting:Pe(()=>im)};let im=(()=>{class e extends u3{constructor(t,r,i){super(),this.name=null,this._parent=t,this._setValidators(r),this._setAsyncValidators(i)}_checkParentType(){m3(this._parent)}static#e=this.\u0275fac=function(r){return new(r||e)(P(In,13),P(un,10),P(No,10))};static#t=this.\u0275dir=ce({type:e,selectors:[["","formGroupName",""]],inputs:{name:[0,"formGroupName","name"]},features:[rt([i$]),Fe]})}return e})();const o$={provide:In,useExisting:Pe(()=>om)};let om=(()=>{class e extends In{constructor(t,r,i){super(),this.name=null,this._parent=t,this._setValidators(r),this._setAsyncValidators(i)}ngOnInit(){this._checkParentType(),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return Qp(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){m3(this._parent)}static#e=this.\u0275fac=function(r){return new(r||e)(P(In,13),P(un,10),P(No,10))};static#t=this.\u0275dir=ce({type:e,selectors:[["","formArrayName",""]],inputs:{name:[0,"formArrayName","name"]},features:[rt([o$]),Fe]})}return e})();function m3(e){return!(e instanceof im||e instanceof Bu||e instanceof om)}const s$={provide:Ji,useExisting:Pe(()=>ld)};let ld=(()=>{class e extends Ji{set isDisabled(t){}static#e=this._ngModelWarningSentOnce=!1;constructor(t,r,i,o,s){super(),this._ngModelWarningConfig=s,this._added=!1,this.name=null,this.update=new ct,this._ngModelWarningSent=!1,this._parent=t,this._setValidators(r),this._setAsyncValidators(i),this.valueAccessor=nb(0,o)}ngOnChanges(t){this._added||this._setUpControl(),tb(t,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}get path(){return Qp(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}static#t=this.\u0275fac=function(r){return new(r||e)(P(In,13),P(un,10),P(No,10),P(_r,10),P(ib,8))};static#n=this.\u0275dir=ce({type:e,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[rt([s$]),Fe,jr]})}return e})();function v3(e){return"number"==typeof e?e:parseInt(e,10)}let Vs=(()=>{class e{constructor(){this._validator=$p}ngOnChanges(t){if(this.inputName in t){const r=this.normalizeInput(t[this.inputName].currentValue);this._enabled=this.enabled(r),this._validator=this._enabled?this.createValidator(r):$p,this._onChange&&this._onChange()}}validate(t){return this._validator(t)}registerOnValidatorChange(t){this._onChange=t}enabled(t){return null!=t}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275dir=ce({type:e,features:[jr]})}return e})();const v$={provide:un,useExisting:Pe(()=>sm),multi:!0};let sm=(()=>{class e extends Vs{constructor(){super(...arguments),this.inputName="minlength",this.normalizeInput=t=>v3(t),this.createValidator=t=>RP(t)}static#e=this.\u0275fac=(()=>{let t;return function(i){return(t||(t=rn(e)))(i||e)}})();static#t=this.\u0275dir=ce({type:e,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(r,i){2&r&&on("minlength",i._enabled?i.minlength:null)},inputs:{minlength:"minlength"},features:[rt([v$]),Fe]})}return e})();const _$={provide:un,useExisting:Pe(()=>dd),multi:!0};let dd=(()=>{class e extends Vs{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=t=>v3(t),this.createValidator=t=>FP(t)}static#e=this.\u0275fac=(()=>{let t;return function(i){return(t||(t=rn(e)))(i||e)}})();static#t=this.\u0275dir=ce({type:e,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(r,i){2&r&&on("maxlength",i._enabled?i.maxlength:null)},inputs:{maxlength:"maxlength"},features:[rt([_$]),Fe]})}return e})(),S3=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Ut({type:e});static#n=this.\u0275inj=Ct({})}return e})();class T3 extends Xp{constructor(n,t,r){super(X_(t),Q_(r,t)),this.controls=n,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(n){return this.controls[this._adjustIndex(n)]}push(n,t={}){this.controls.push(n),this._registerControl(n),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}insert(n,t,r={}){this.controls.splice(n,0,t),this._registerControl(t),this.updateValueAndValidity({emitEvent:r.emitEvent})}removeAt(n,t={}){let r=this._adjustIndex(n);r<0&&(r=0),this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),this.updateValueAndValidity({emitEvent:t.emitEvent})}setControl(n,t,r={}){let i=this._adjustIndex(n);i<0&&(i=0),this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),this.controls.splice(i,1),t&&(this.controls.splice(i,0,t),this._registerControl(t)),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(n,t={}){t3(this,0,n),n.forEach((r,i)=>{e3(this,!1,i),this.at(i).setValue(r,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(n,t={}){null!=n&&(n.forEach((r,i)=>{this.at(i)&&this.at(i).patchValue(r,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(n=[],t={}){this._forEachChild((r,i)=>{r.reset(n[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t,this),this._updateTouched(t,this),this.updateValueAndValidity(t)}getRawValue(){return this.controls.map(n=>n.getRawValue())}clear(n={}){this.controls.length<1||(this._forEachChild(t=>t._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:n.emitEvent}))}_adjustIndex(n){return n<0?n+this.length:n}_syncPendingControls(){let n=this.controls.reduce((t,r)=>!!r._syncPendingControls()||t,!1);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){this.controls.forEach((t,r)=>{n(t,r)})}_updateValue(){this.value=this.controls.filter(n=>n.enabled||this.disabled).map(n=>n.value)}_anyControls(n){return this.controls.some(t=>t.enabled&&n(t))}_setUpControls(){this._forEachChild(n=>this._registerControl(n))}_allControlsDisabled(){for(const n of this.controls)if(n.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(n){n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)}_find(n){return this.at(n)??null}}function M3(e){return!!e&&(void 0!==e.asyncValidators||void 0!==e.validators||void 0!==e.updateOn)}let ub=(()=>{class e{constructor(){this.useNonNullable=!1}get nonNullable(){const t=new e;return t.useNonNullable=!0,t}group(t,r=null){const i=this._reduceControls(t);let o={};return M3(r)?o=r:null!==r&&(o.validators=r.validator,o.asyncValidators=r.asyncValidator),new od(i,o)}record(t,r=null){const i=this._reduceControls(t);return new n3(i,r)}control(t,r,i){let o={};return this.useNonNullable?(M3(r)?o=r:(o.validators=r,o.asyncValidators=i),new cd(t,{...o,nonNullable:!0})):new cd(t,r,i)}array(t,r,i){const o=t.map(s=>this._createControl(s));return new T3(o,r,i)}_reduceControls(t){const r={};return Object.keys(t).forEach(i=>{r[i]=this._createControl(t[i])}),r}_createControl(t){return t instanceof cd||t instanceof Xp?t:Array.isArray(t)?this.control(t[0],t.length>1?t[1]:null,t.length>2?t[2]:null):this.control(t)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),I3=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:Ls,useValue:t.callSetDisabledState??sd}]}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Ut({type:e});static#n=this.\u0275inj=Ct({imports:[S3]})}return e})(),P3=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:ib,useValue:t.warnOnNgModelWithFormControl??"always"},{provide:Ls,useValue:t.callSetDisabledState??sd}]}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Ut({type:e});static#n=this.\u0275inj=Ct({imports:[S3]})}return e})();class am{static luhnAlgorithm({value:n}){return n&&function w$(e){return/^\d+$/.test(e)&&!(e.split("").reverse().map(function(n,t){return n=parseInt(n,10),t%2==0?n:(n*=2)>9?n-9:n}).reduce(function(n,t){return n+t})%10)}(n)?void 0:{luhnAlgorithm:!0}}static cardExpiration({value:n}){const t={expiration:!0};if(n){if(n.length<4)return t;const i=+(new Date).getFullYear().toString().slice(-2),[o,s,u,c]=n.split(""),d=`${o}${s}`;return+d<1||+d>12||+`${u}${c}`<i?t:void 0}return t}static cardNumberLength({value:n}){const t=n?.length||0;return t>=Jn.card.number.length.min&&t<=Jn.card.number.length.max?void 0:{cardLength:!0}}static cardCodeLength(n="cardNumber"){return({value:t,parent:r})=>{const i=r?.get(n),[o]=EP()(i?.value),s=!!o?.code.size&&!!t,u=Jn.card.code.lengths[o?.type];return s&&(o?.code.size===t?.length||u?.includes(t?.length))?null:{cardCodeLength:!0}}}}function A3(...e){return function E$(){return JM(1)}()(Io(e,Ep(e)))}function k3(...e){const n=Ep(e);return mn((t,r)=>{(n?A3(e,t,n):A3(e,t)).subscribe(r)})}function cb(e,n,t,r,i,o,s){e.valueChanges.pipe(k3(null),TP(50),function D$(){return mn((e,n)=>{let t,r=!1;e.subscribe(Kt(n,i=>{const o=t;t=i,r&&n.next([o,i]),r=!0}))})}(),BI(([u,c])=>JSON.stringify(u)!==JSON.stringify(c)),t.untilDestroy()).subscribe(([u,c])=>{const d={...n()};let f=!1;!r()&&d.canShowError&&(f=!0,d.canShowError=!1);const m=i(c);d.filled!==m&&(f=!0,d.filled=m),f&&n.update(g=>({...d})),o&&o(c,s)}),e.statusChanges.pipe(k3(e.status),t.untilDestroy()).subscribe(u=>{n.update(c=>({...c,isValid:"VALID"===u}))})}const um=new $("ngx-mask config"),x3=new $("new ngx-mask config"),N3=new $("initial ngx-mask config"),P$={suffix:"",prefix:"",thousandSeparator:" ",decimalMarker:[".",","],clearIfNotMatch:!1,showTemplate:!1,showMaskTyped:!1,placeHolderCharacter:"_",dropSpecialCharacters:!0,hiddenInput:void 0,shownMaskExpression:"",separatorLimit:"",allowNegativeNumbers:!1,validation:!0,specialCharacters:["-","/","(",")",".",":"," ","+",",","@","[","]",'"',"'"],leadZeroDateTime:!1,apm:!1,leadZero:!1,keepCharacterPositions:!1,triggerOnMaskChange:!1,inputTransformFn:e=>e,outputTransformFn:e=>e,maskFilled:new ct,patterns:{0:{pattern:new RegExp("\\d")},9:{pattern:new RegExp("\\d"),optional:!0},X:{pattern:new RegExp("\\d"),symbol:"*"},A:{pattern:new RegExp("[a-zA-Z0-9]")},S:{pattern:new RegExp("[a-zA-Z]")},U:{pattern:new RegExp("[A-Z]")},L:{pattern:new RegExp("[a-z]")},d:{pattern:new RegExp("\\d")},m:{pattern:new RegExp("\\d")},M:{pattern:new RegExp("\\d")},H:{pattern:new RegExp("\\d")},h:{pattern:new RegExp("\\d")},s:{pattern:new RegExp("\\d")}}},A$=["Hh:m0:s0","Hh:m0","m0:s0"],k$=["percent","Hh","s0","m0","separator","d0/M0/0000","d0/M0","d0","M0"];let x$=(()=>{class e{constructor(){this._config=p(um),this.dropSpecialCharacters=this._config.dropSpecialCharacters,this.hiddenInput=this._config.hiddenInput,this.clearIfNotMatch=this._config.clearIfNotMatch,this.specialCharacters=this._config.specialCharacters,this.patterns=this._config.patterns,this.prefix=this._config.prefix,this.suffix=this._config.suffix,this.thousandSeparator=this._config.thousandSeparator,this.decimalMarker=this._config.decimalMarker,this.showMaskTyped=this._config.showMaskTyped,this.placeHolderCharacter=this._config.placeHolderCharacter,this.validation=this._config.validation,this.separatorLimit=this._config.separatorLimit,this.allowNegativeNumbers=this._config.allowNegativeNumbers,this.leadZeroDateTime=this._config.leadZeroDateTime,this.leadZero=this._config.leadZero,this.apm=this._config.apm,this.inputTransformFn=this._config.inputTransformFn,this.outputTransformFn=this._config.outputTransformFn,this.keepCharacterPositions=this._config.keepCharacterPositions,this._shift=new Set,this.maskExpression="",this.actualValue="",this.showKeepCharacterExp="",this.shownMaskExpression="",this.deletedSpecialCharacter=!1,this._formatWithSeparators=(t,r,i,o)=>{let s=[],u="";if(Array.isArray(i)){const g=new RegExp(i.map(y=>"[\\^$.|?*+()".indexOf(y)>=0?`\\${y}`:y).join("|"));s=t.split(g),u=t.match(g)?.[0]??""}else s=t.split(i),u=i;const c=s.length>1?`${u}${s[1]}`:"";let d=s[0]??"";const f=this.separatorLimit.replace(/\s/g,"");f&&+f&&(d="-"===d[0]?`-${d.slice(1,d.length).slice(0,f.length)}`:d.slice(0,f.length));const m=/(\d+)(\d{3})/;for(;r&&m.test(d);)d=d.replace(m,"$1"+r+"$2");return void 0===o?d+c:0===o?d:d+c.substring(0,o+1)},this.percentage=t=>{const r=t.replace(",","."),i=Number(r);return!isNaN(i)&&i>=0&&i<=100},this.getPrecision=t=>{const r=t.split(".");return r.length>1?Number(r[r.length-1]):1/0},this.checkAndRemoveSuffix=t=>{for(let r=this.suffix?.length-1;r>=0;r--){const i=this.suffix.substring(r,this.suffix?.length);if(t.includes(i)&&r!==this.suffix?.length-1&&(r-1<0||!t.includes(this.suffix.substring(r-1,this.suffix?.length))))return t.replace(i,"")}return t},this.checkInputPrecision=(t,r,i)=>{if(r<1/0){if(Array.isArray(i)){const c=i.find(d=>d!==this.thousandSeparator);i=c||i[0]}const o=new RegExp(this._charToRegExpExpression(i)+`\\d{${r}}.*$`),s=t.match(o),u=(s&&s[0]?.length)??0;u-1>r&&(t=t.substring(0,t.length-(u-1-r))),0===r&&this._compareOrIncludes(t[t.length-1],i,this.thousandSeparator)&&(t=t.substring(0,t.length-1))}return t}}applyMaskWithPattern(t,r){const[i,o]=r;return this.customPattern=o,this.applyMask(t,i)}applyMask(t,r,i=0,o=!1,s=!1,u=()=>{}){if(!r||"string"!=typeof t)return"";let c=0,d="",f=!1,m=!1,g=1,y=!1;t.slice(0,this.prefix.length)===this.prefix&&!this.showMaskTyped&&(t=t.slice(this.prefix.length,t.length)),this.suffix&&t?.length>0&&(t=this.checkAndRemoveSuffix(t)),"("===t&&this.prefix&&(t="");const _=t.toString().split("");if(this.allowNegativeNumbers&&"-"===t.slice(c,c+1)&&(d+=t.slice(c,c+1)),"IP"===r){const L=t.split(".");this.ipError=this._validIP(L),r="099.099.099.099"}const C=[];for(let L=0;L<t.length;L++)t[L]?.match("\\d")&&C.push(t[L]??"");if("CPF_CNPJ"===r&&(this.cpfCnpjError=11!==C.length&&14!==C.length,r=C.length>11?"00.000.000/0000-00":"000.000.000-00"),r.startsWith("percent")){if(t.match("[a-z]|[A-Z]")||t.match(/[-!$%^&*()_+|~=`{}\[\]:";'<>?,\/.]/)&&!s){t=this._stripToDecimal(t);const X=this.getPrecision(r);t=this.checkInputPrecision(t,X,this.decimalMarker)}const L="string"==typeof this.decimalMarker?this.decimalMarker:".";if(t.indexOf(L)>0&&!this.percentage(t.substring(0,t.indexOf(L)))){let X=t.substring(0,t.indexOf(L)-1);this.allowNegativeNumbers&&"-"===t.slice(c,c+1)&&!s&&(X=t.substring(0,t.indexOf(L))),t=`${X}${t.substring(t.indexOf(L),t.length)}`}let j="";j=this.allowNegativeNumbers&&"-"===t.slice(c,c+1)?t.slice(c+1,c+t.length):t,d=this.percentage(j)?this._splitPercentZero(t):this._splitPercentZero(t.substring(0,t.length-1))}else if(r.startsWith("separator")){(t.match("[w\u0430-\u044f\u0410-\u042f]")||t.match("[\u0401\u0451\u0410-\u044f]")||t.match("[a-z]|[A-Z]")||t.match(/[-@#!$%\\^&*()_\xa3\xac'+|~=`{}\]:";<>.?/]/)||t.match("[^A-Za-z0-9,]"))&&(t=this._stripToDecimal(t)),t="-"===t[0]&&this.allowNegativeNumbers?t.length>2&&"0"===t[1]&&t[2]!==this.thousandSeparator&&!this._compareOrIncludes(t[2],this.decimalMarker,this.thousandSeparator)&&!s?t.slice(0,t.length-1):t:t.length>1&&"0"===t[0]&&t[1]!==this.thousandSeparator&&!this._compareOrIncludes(t[1],this.decimalMarker,this.thousandSeparator)&&!s?t.slice(0,t.length-1):t,s&&(t=this._compareOrIncludes(t[t.length-1],this.decimalMarker,this.thousandSeparator)?t.slice(0,t.length-1):t);const L=this._charToRegExpExpression(this.thousandSeparator);let j='@#!$%^&*()_+|~=`{}\\[\\]:\\s,\\.";<>?\\/'.replace(L,"");if(Array.isArray(this.decimalMarker))for(const kt of this.decimalMarker)j=j.replace(this._charToRegExpExpression(kt),"");else j=j.replace(this._charToRegExpExpression(this.decimalMarker),"");const X=new RegExp("["+j+"]");(t.match(X)||1===t.length&&this._compareOrIncludes(t,this.decimalMarker,this.thousandSeparator))&&(t=t.substring(0,t.length-1));const re=this.getPrecision(r),Q=(t=this.checkInputPrecision(t,re,this.decimalMarker)).replace(new RegExp(L,"g"),"");d=this._formatWithSeparators(Q,this.thousandSeparator,this.decimalMarker,re);const vt=d.indexOf(",")-t.indexOf(","),Dt=d.length-t.length;if(Dt>0&&d[i]!==this.thousandSeparator){m=!0;let kt=0;do{this._shift.add(i+kt),kt++}while(kt<Dt)}else d[i-1]===this.decimalMarker||-4===Dt||-3===Dt||","===d[i]?(this._shift.clear(),this._shift.add(i-1)):0!==vt&&i>0&&!(d.indexOf(",")>=i&&i>3)||!(d.indexOf(".")>=i&&i>3)&&Dt<=0?(this._shift.clear(),m=!0,g=Dt,this._shift.add(i+=Dt)):this._shift.clear()}else for(let L=0,j=_[0];L<_.length&&c!==r.length;L++,j=_[L]??""){const X="*"in this.patterns;if(this._checkSymbolMask(j,r[c]??"")&&"?"===r[c+1])d+=j,c+=2;else if("*"===r[c+1]&&f&&this._checkSymbolMask(j,r[c+2]??""))d+=j,c+=3,f=!1;else if(this._checkSymbolMask(j,r[c]??"")&&"*"===r[c+1]&&!X)d+=j,f=!0;else if("?"===r[c+1]&&this._checkSymbolMask(j,r[c+2]??""))d+=j,c+=3;else if(this._checkSymbolMask(j,r[c]??"")){if("H"===r[c]&&(this.apm?Number(j)>9:Number(j)>2)){i+=1,c+=1,this._shiftStep(r,c,_.length),L--,this.leadZeroDateTime&&(d+="0");continue}if("h"===r[c]&&(this.apm?1===d.length&&Number(d)>1||"1"===d&&Number(j)>2||1===t.slice(c-1,c).length&&Number(t.slice(c-1,c))>2||"1"===t.slice(c-1,c)&&Number(j)>2:"2"===d&&Number(j)>3||("2"===d.slice(c-2,c)||"2"===d.slice(c-3,c)||"2"===d.slice(c-4,c)||"2"===d.slice(c-1,c))&&Number(j)>3&&c>10)){i+=1,c+=1,L--;continue}if(("m"===r[c]||"s"===r[c])&&Number(j)>5){i+=1,c+=1,this._shiftStep(r,c,_.length),L--,this.leadZeroDateTime&&(d+="0");continue}const re=31,Q=t[c],vt=t[c+1],Dt=t[c+2],kt=t[c-1],Pn=t[c-2],Ro=t[c-3],wr=t.slice(c-3,c-1),Gs=t.slice(c-1,c+1),Y=t.slice(c,c+2),te=t.slice(c-2,c);if("d"===r[c]){const ue="M0"===r.slice(0,2),we="M0"===r.slice(0,2)&&this.specialCharacters.includes(Pn);if(Number(j)>3&&this.leadZeroDateTime||!ue&&(Number(Y)>re||Number(Gs)>re||this.specialCharacters.includes(vt))||(we?Number(Gs)>re||!this.specialCharacters.includes(Q)&&this.specialCharacters.includes(Dt)||this.specialCharacters.includes(Q):Number(Y)>re||this.specialCharacters.includes(vt))){i+=1,c+=1,this._shiftStep(r,c,_.length),L--,this.leadZeroDateTime&&(d+="0");continue}}if("M"===r[c]){const we=0===c&&(Number(j)>2||Number(Y)>12||this.specialCharacters.includes(vt)),Vt=r.slice(c+2,c+3),Cr=wr.includes(Vt)&&(this.specialCharacters.includes(Pn)&&Number(Gs)>12&&!this.specialCharacters.includes(Q)||this.specialCharacters.includes(Q)||this.specialCharacters.includes(Ro)&&Number(te)>12&&!this.specialCharacters.includes(kt)||this.specialCharacters.includes(kt)),An=Number(wr)<=re&&!this.specialCharacters.includes(wr)&&this.specialCharacters.includes(kt)&&(Number(Y)>12||this.specialCharacters.includes(vt)),Ii=Number(Y)>12&&5===c||this.specialCharacters.includes(vt)&&5===c,dt=Number(wr)>re&&!this.specialCharacters.includes(wr)&&!this.specialCharacters.includes(te)&&Number(te)>12,Dm=Number(wr)<=re&&!this.specialCharacters.includes(wr)&&!this.specialCharacters.includes(kt)&&Number(Gs)>12;if(Number(j)>1&&this.leadZeroDateTime||we||Cr||Dm||dt||An||Ii&&!this.leadZeroDateTime){i+=1,c+=1,this._shiftStep(r,c,_.length),L--,this.leadZeroDateTime&&(d+="0");continue}}d+=j,c++}else" "===j&&" "===r[c]||"/"===j&&"/"===r[c]?(d+=j,c++):-1!==this.specialCharacters.indexOf(r[c]??"")?(d+=r[c],c++,this._shiftStep(r,c,_.length),L--):"9"===r[c]&&this.showMaskTyped?this._shiftStep(r,c,_.length):this.patterns[r[c]??""]&&this.patterns[r[c]??""]?.optional?(_[c]&&"099.099.099.099"!==r&&"000.000.000-00"!==r&&"00.000.000/0000-00"!==r&&!r.match(/^9+\.0+$/)&&!this.patterns[r[c]??""]?.optional&&(d+=_[c]),r.includes("9*")&&r.includes("0*")&&c++,c++,L--):"*"===this.maskExpression[c+1]&&this._findSpecialChar(this.maskExpression[c+2]??"")&&this._findSpecialChar(j)===this.maskExpression[c+2]&&f||"?"===this.maskExpression[c+1]&&this._findSpecialChar(this.maskExpression[c+2]??"")&&this._findSpecialChar(j)===this.maskExpression[c+2]&&f?(c+=3,d+=j):this.showMaskTyped&&this.specialCharacters.indexOf(j)<0&&j!==this.placeHolderCharacter&&1===this.placeHolderCharacter.length&&(y=!0)}d.length+1===r.length&&-1!==this.specialCharacters.indexOf(r[r.length-1]??"")&&(d+=r[r.length-1]);let S=i+1;for(;this._shift.has(S);)g++,S++;let I=o&&!r.startsWith("separator")?c:this._shift.has(i)?g:0;y&&I--,u(I,m),g<0&&this._shift.clear();let T=!1;s&&(T=_.every(L=>this.specialCharacters.includes(L)));let R=`${this.prefix}${T?"":d}${this.suffix}`;if(0===d.length&&(R=this.dropSpecialCharacters?`${d}`:`${this.prefix}${d}`),d.includes("-")&&this.prefix&&this.allowNegativeNumbers){if(s&&"-"===d)return"";R=`-${this.prefix}${d.split("-").join("")}${this.suffix}`}return R}_findDropSpecialChar(t){return Array.isArray(this.dropSpecialCharacters)?this.dropSpecialCharacters.find(r=>r===t):this._findSpecialChar(t)}_findSpecialChar(t){return this.specialCharacters.find(r=>r===t)}_checkSymbolMask(t,r){return this.patterns=this.customPattern?this.customPattern:this.patterns,(this.patterns[r]?.pattern&&this.patterns[r]?.pattern.test(t))??!1}_stripToDecimal(t){return t.split("").filter((r,i)=>{const o="string"==typeof this.decimalMarker?r===this.decimalMarker:this.decimalMarker.includes(r);return r.match("^-?\\d")||r===this.thousandSeparator||o||"-"===r&&0===i&&this.allowNegativeNumbers}).join("")}_charToRegExpExpression(t){return t&&(" "===t?"\\s":"[\\^$.|?*+()".indexOf(t)>=0?`\\${t}`:t)}_shiftStep(t,r,i){const o=/[*?]/g.test(t.slice(0,r))?i:r;this._shift.add(o+this.prefix.length||0)}_compareOrIncludes(t,r,i){return Array.isArray(r)?r.filter(o=>o!==i).includes(t):t===r}_validIP(t){return!(4===t.length&&!t.some((r,i)=>t.length!==i+1?""===r||Number(r)>255:""===r||Number(r.substring(0,3))>255))}_splitPercentZero(t){const r=t.indexOf("string"==typeof this.decimalMarker?this.decimalMarker:".");if(-1===r){const i=parseInt(t,10);return isNaN(i)?"":i.toString()}{const i=parseInt(t.substring(0,r),10),o=t.substring(r+1),s=isNaN(i)?"":i.toString();return""===s?"":s+("string"==typeof this.decimalMarker?this.decimalMarker:".")+o}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=q({token:e,factory:e.\u0275fac}),e})(),lb=(()=>{class e extends x${constructor(){super(...arguments),this.isNumberValue=!1,this.maskIsShown="",this.selStart=null,this.selEnd=null,this.writingValue=!1,this.maskChanged=!1,this._maskExpressionArray=[],this.triggerOnMaskChange=!1,this._emitValue=!1,this._previousValue="",this._currentValue="",this.onChange=t=>{},this.document=p(an),this._config=p(um),this._elementRef=p(Ln,{optional:!0}),this._renderer=p(Ci,{optional:!0})}applyMask(t,r,i=0,o=!1,s=!1,u=()=>{}){if(!r)return t!==this.actualValue?this.actualValue:t;if(this.maskIsShown=this.showMaskTyped?this.showMaskInInput():"","IP"===this.maskExpression&&this.showMaskTyped&&(this.maskIsShown=this.showMaskInInput(t||"#")),"CPF_CNPJ"===this.maskExpression&&this.showMaskTyped&&(this.maskIsShown=this.showMaskInInput(t||"#")),!t&&this.showMaskTyped)return this.formControlResult(this.prefix),this.prefix+this.maskIsShown;const c=t&&"number"==typeof this.selStart?t[this.selStart]??"":"";let d="";if(void 0!==this.hiddenInput&&!this.writingValue){let y=t&&1===t.length?t.split(""):this.actualValue.split("");"object"==typeof this.selStart&&"object"==typeof this.selEnd?(this.selStart=Number(this.selStart),this.selEnd=Number(this.selEnd)):""!==t&&y.length?"number"==typeof this.selStart&&"number"==typeof this.selEnd&&(t.length>y.length?y.splice(this.selStart,0,c):t.length<y.length&&(y.length-t.length==1?y.splice(s?this.selStart-1:t.length-1,1):y.splice(this.selStart,this.selEnd-this.selStart))):y=[],this.showMaskTyped&&(this.hiddenInput||(t=this.removeMask(t))),d=this.actualValue.length&&y.length<=t.length?this.shiftTypedSymbols(y.join("")):t}if(o&&(this.hiddenInput||!this.hiddenInput)&&(d=t),this.deletedSpecialCharacter&&i&&(this.specialCharacters.includes(this.actualValue.slice(i,i+1))?i+=1:"M0"!==r.slice(i-1,i+1)&&(i-=2),this.deletedSpecialCharacter=!1),this.showMaskTyped&&1===this.placeHolderCharacter.length&&!this.leadZeroDateTime&&(t=this.removeMask(t)),d=this.maskChanged?t:d&&d.length?d:t,this.showMaskTyped&&this.keepCharacterPositions&&this.actualValue&&!o){const y=this.dropSpecialCharacters?this.removeMask(this.actualValue):this.actualValue;return this.formControlResult(y),this.actualValue?this.actualValue:this.prefix+this.maskIsShown+this.suffix}const f=super.applyMask(d,r,i,o,s,u);if(this.actualValue=this.getActualValue(f),"."===this.thousandSeparator&&"."===this.decimalMarker&&(this.decimalMarker=","),this.maskExpression.startsWith("separator")&&!0===this.dropSpecialCharacters&&(this.specialCharacters=this.specialCharacters.filter(y=>!this._compareOrIncludes(y,this.decimalMarker,this.thousandSeparator))),(f||""===f)&&(this._previousValue=this._currentValue,this._currentValue=f,this._emitValue=this._previousValue!==this._currentValue||this.maskChanged||this._previousValue===this._currentValue&&o),this._emitValue&&this.formControlResult(f),!this.showMaskTyped||this.showMaskTyped&&this.hiddenInput)return this.hiddenInput?s?this.hideInput(f,this.maskExpression):this.hideInput(f,this.maskExpression)+this.maskIsShown.slice(f.length):f;const m=f.length,g=this.prefix+this.maskIsShown;if(this.maskExpression.includes("H")){const y=this._numberSkipedSymbols(f);return f+g.slice(m+y)}return"IP"===this.maskExpression||"CPF_CNPJ"===this.maskExpression?f+g:f+g.slice(m)}_numberSkipedSymbols(t){const r=/(^|\D)(\d\D)/g;let i=r.exec(t),o=0;for(;null!=i;)o+=1,i=r.exec(t);return o}applyValueChanges(t,r,i,o=()=>{}){const s=this._elementRef?.nativeElement;s&&(s.value=this.applyMask(s.value,this.maskExpression,t,r,i,o),s!==this._getActiveElement()&&this.clearIfNotMatchFn())}hideInput(t,r){return t.split("").map((i,o)=>this.patterns&&this.patterns[r[o]??""]&&this.patterns[r[o]??""]?.symbol?this.patterns[r[o]??""]?.symbol:i).join("")}getActualValue(t){const r=t.split("").filter((i,o)=>{const s=this.maskExpression[o]??"";return this._checkSymbolMask(i,s)||this.specialCharacters.includes(s)&&i===s});return r.join("")===t?r.join(""):t}shiftTypedSymbols(t){let r="";return(t&&t.split("").map((o,s)=>{if(this.specialCharacters.includes(t[s+1]??"")&&t[s+1]!==this.maskExpression[s+1])return r=o,t[s+1];if(r.length){const u=r;return r="",u}return o})||[]).join("")}numberToString(t){return!t&&0!==t||this.maskExpression.startsWith("separator")&&(this.leadZero||!this.dropSpecialCharacters)||this.maskExpression.startsWith("separator")&&this.separatorLimit.length>14&&String(t).length>14?String(t):Number(t).toLocaleString("fullwide",{useGrouping:!1,maximumFractionDigits:20}).replace("/-/","-")}showMaskInInput(t){if(this.showMaskTyped&&this.shownMaskExpression){if(this.maskExpression.length!==this.shownMaskExpression.length)throw new Error("Mask expression must match mask placeholder length");return this.shownMaskExpression}if(this.showMaskTyped){if(t){if("IP"===this.maskExpression)return this._checkForIp(t);if("CPF_CNPJ"===this.maskExpression)return this._checkForCpfCnpj(t)}return this.placeHolderCharacter.length===this.maskExpression.length?this.placeHolderCharacter:this.maskExpression.replace(/\w/g,this.placeHolderCharacter)}return""}clearIfNotMatchFn(){const t=this._elementRef?.nativeElement;t&&this.clearIfNotMatch&&this.prefix.length+this.maskExpression.length+this.suffix.length!==t.value.replace(this.placeHolderCharacter,"").length&&(this.formElementProperty=["value",""],this.applyMask("",this.maskExpression))}set formElementProperty([t,r]){!this._renderer||!this._elementRef||Promise.resolve().then(()=>this._renderer?.setProperty(this._elementRef?.nativeElement,t,r))}checkDropSpecialCharAmount(t){return t.split("").filter(i=>this._findDropSpecialChar(i)).length}removeMask(t){return this._removeMask(this._removeSuffix(this._removePrefix(t)),this.specialCharacters.concat("_").concat(this.placeHolderCharacter))}_checkForIp(t){if("#"===t)return`${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}`;const r=[];for(let i=0;i<t.length;i++){const o=t[i]??"";o&&o.match("\\d")&&r.push(o)}return r.length<=3?`${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}`:r.length>3&&r.length<=6?`${this.placeHolderCharacter}.${this.placeHolderCharacter}`:r.length>6&&r.length<=9?this.placeHolderCharacter:""}_checkForCpfCnpj(t){const r=`${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}-${this.placeHolderCharacter}${this.placeHolderCharacter}`,i=`${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}/${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}-${this.placeHolderCharacter}${this.placeHolderCharacter}`;if("#"===t)return r;const o=[];for(let s=0;s<t.length;s++){const u=t[s]??"";u&&u.match("\\d")&&o.push(u)}return o.length<=3?r.slice(o.length,r.length):o.length>3&&o.length<=6?r.slice(o.length+1,r.length):o.length>6&&o.length<=9?r.slice(o.length+2,r.length):o.length>9&&o.length<11?r.slice(o.length+3,r.length):11===o.length?"":12===o.length?i.slice(17===t.length?16:15,i.length):o.length>12&&o.length<=14?i.slice(o.length+4,i.length):""}_getActiveElement(t=this.document){const r=t?.activeElement?.shadowRoot;return r?.activeElement?this._getActiveElement(r):t.activeElement}formControlResult(t){if(this.writingValue||!this.triggerOnMaskChange&&this.maskChanged)return this.maskChanged&&this.onChange(this.outputTransformFn(this._toNumber(this._checkSymbols(this._removeSuffix(this._removePrefix(t)))))),void(this.maskChanged=!1);Array.isArray(this.dropSpecialCharacters)?this.onChange(this.outputTransformFn(this._toNumber(this._checkSymbols(this._removeMask(this._removeSuffix(this._removePrefix(t)),this.dropSpecialCharacters))))):this.onChange(this.outputTransformFn(this._toNumber(this.dropSpecialCharacters||!this.dropSpecialCharacters&&this.prefix===t?this._checkSymbols(this._removeSuffix(this._removePrefix(t))):t)))}_toNumber(t){if(!this.isNumberValue||""===t||this.maskExpression.startsWith("separator")&&(this.leadZero||!this.dropSpecialCharacters))return t;if(String(t).length>16&&this.separatorLimit.length>14)return String(t);const r=Number(t);if(this.maskExpression.startsWith("separator")&&Number.isNaN(r)){const i=String(t).replace(",",".");return Number(i)}return Number.isNaN(r)?t:r}_removeMask(t,r){return this.maskExpression.startsWith("percent")&&t.includes(".")?t:t&&t.replace(this._regExpForRemove(r),"")}_removePrefix(t){return this.prefix?t&&t.replace(this.prefix,""):t}_removeSuffix(t){return this.suffix?t&&t.replace(this.suffix,""):t}_retrieveSeparatorValue(t){const r=Array.isArray(this.dropSpecialCharacters)?this.specialCharacters.filter(i=>this.dropSpecialCharacters.includes(i)):this.specialCharacters;return this._removeMask(t,r)}_regExpForRemove(t){return new RegExp(t.map(r=>`\\${r}`).join("|"),"gi")}_replaceDecimalMarkerToDot(t){const r=Array.isArray(this.decimalMarker)?this.decimalMarker:[this.decimalMarker];return t.replace(this._regExpForRemove(r),".")}_checkSymbols(t){if(""===t)return t;this.maskExpression.startsWith("percent")&&","===this.decimalMarker&&(t=t.replace(",","."));const r=this._retrieveSeparatorPrecision(this.maskExpression),i=this._replaceDecimalMarkerToDot(this._retrieveSeparatorValue(t));return this.isNumberValue&&r?t===this.decimalMarker?null:this.separatorLimit.length>14?String(i):this._checkPrecision(this.maskExpression,i):i}_retrieveSeparatorPrecision(t){const r=t.match(new RegExp("^separator\\.([^d]*)"));return r?Number(r[1]):null}_checkPrecision(t,r){const i=t.slice(10,11);return t.indexOf("2")>0||this.leadZero&&Number(i)>1?(","===this.decimalMarker&&this.leadZero&&(r=r.replace(",",".")),this.leadZero?Number(r).toFixed(Number(i)):Number(r).toFixed(2)):this.numberToString(r)}_repeatPatternSymbols(t){return t.match(/{[0-9]+}/)&&t.split("").reduce((r,i,o)=>{if(this._start="{"===i?o:this._start,"}"!==i)return this._findSpecialChar(i)?r+i:r;this._end=o;const s=Number(t.slice(this._start+1,this._end)),u=new Array(s+1).join(t[this._start-1]);if(t.slice(0,this._start).length>1&&t.includes("S")){const c=t.slice(0,this._start-1);return c.includes("{")?r+u:c+r+u}return r+u},"")||t}currentLocaleDecimalMarker(){return 1.1.toLocaleString().substring(1,2)}}return e.\u0275fac=(()=>{let n;return function(r){return(n||(n=rn(e)))(r||e)}})(),e.\u0275prov=q({token:e,factory:e.\u0275fac}),e})(),N$=(()=>{class e{constructor(){this.maskExpression="",this.specialCharacters=[],this.patterns={},this.prefix="",this.suffix="",this.thousandSeparator=" ",this.decimalMarker=".",this.dropSpecialCharacters=null,this.hiddenInput=null,this.showMaskTyped=null,this.placeHolderCharacter=null,this.shownMaskExpression=null,this.showTemplate=null,this.clearIfNotMatch=null,this.validation=null,this.separatorLimit=null,this.allowNegativeNumbers=null,this.leadZeroDateTime=null,this.leadZero=null,this.triggerOnMaskChange=null,this.apm=null,this.inputTransformFn=null,this.outputTransformFn=null,this.keepCharacterPositions=null,this.maskFilled=new ct,this._maskValue="",this._position=null,this._maskExpressionArray=[],this._justPasted=!1,this._isComposing=!1,this.document=p(an),this._maskService=p(lb,{self:!0}),this._config=p(um),this.onChange=t=>{},this.onTouch=()=>{}}ngOnChanges(t){const{maskExpression:r,specialCharacters:i,patterns:o,prefix:s,suffix:u,thousandSeparator:c,decimalMarker:d,dropSpecialCharacters:f,hiddenInput:m,showMaskTyped:g,placeHolderCharacter:y,shownMaskExpression:_,showTemplate:C,clearIfNotMatch:S,validation:I,separatorLimit:T,allowNegativeNumbers:R,leadZeroDateTime:L,leadZero:j,triggerOnMaskChange:X,apm:re,inputTransformFn:Q,outputTransformFn:vt,keepCharacterPositions:Dt}=t;if(r&&(r.currentValue!==r.previousValue&&!r.firstChange&&(this._maskService.maskChanged=!0),R&&(this._maskService.allowNegativeNumbers=R.currentValue,this._maskService.allowNegativeNumbers&&(this._maskService.specialCharacters=this._maskService.specialCharacters.filter(kt=>"-"!==kt))),r.currentValue&&r.currentValue.split("||").length>1?(this._maskExpressionArray=r.currentValue.split("||").sort((kt,Pn)=>kt.length-Pn.length),this._setMask()):(this._maskExpressionArray=[],this._maskValue=r.currentValue||"",this._maskService.maskExpression=this._maskValue)),i){if(!i.currentValue||!Array.isArray(i.currentValue))return;this._maskService.specialCharacters=i.currentValue||[]}o&&o.currentValue&&(this._maskService.patterns=o.currentValue),re&&re.currentValue&&(this._maskService.apm=re.currentValue),s&&(this._maskService.prefix=s.currentValue),u&&(this._maskService.suffix=u.currentValue),c&&(this._maskService.thousandSeparator=c.currentValue),d&&(this._maskService.decimalMarker=d.currentValue),f&&(this._maskService.dropSpecialCharacters=f.currentValue),m&&(this._maskService.hiddenInput=m.currentValue),g&&(this._maskService.showMaskTyped=g.currentValue),y&&(this._maskService.placeHolderCharacter=y.currentValue),_&&(this._maskService.shownMaskExpression=_.currentValue),C&&(this._maskService.showTemplate=C.currentValue),S&&(this._maskService.clearIfNotMatch=S.currentValue),I&&(this._maskService.validation=I.currentValue),T&&(this._maskService.separatorLimit=T.currentValue),L&&(this._maskService.leadZeroDateTime=L.currentValue),j&&(this._maskService.leadZero=j.currentValue),X&&(this._maskService.triggerOnMaskChange=X.currentValue),Q&&(this._maskService.inputTransformFn=Q.currentValue),vt&&(this._maskService.outputTransformFn=vt.currentValue),Dt&&(this._maskService.keepCharacterPositions=Dt.currentValue),this._applyMask()}validate({value:t}){if(!this._maskService.validation||!this._maskValue)return null;if(this._maskService.ipError)return this._createValidationError(t);if(this._maskService.cpfCnpjError)return this._createValidationError(t);if(this._maskValue.startsWith("separator")||k$.includes(this._maskValue)||this._maskService.clearIfNotMatch)return null;if(A$.includes(this._maskValue))return this._validateTime(t);if(t&&t.toString().length>=1){let r=0;if(this._maskValue.startsWith("percent"))return null;for(const i in this._maskService.patterns)if(this._maskService.patterns[i]?.optional&&(this._maskValue.indexOf(i)!==this._maskValue.lastIndexOf(i)?r+=this._maskValue.split("").filter(s=>s===i).join("").length:-1!==this._maskValue.indexOf(i)&&r++,-1!==this._maskValue.indexOf(i)&&t.toString().length>=this._maskValue.indexOf(i)||r===this._maskValue.length))return null;if(1===this._maskValue.indexOf("{")&&t.toString().length===this._maskValue.length+Number((this._maskValue.split("{")[1]??"").split("}")[0])-4)return null;if(this._maskValue.indexOf("*")>1&&t.toString().length<this._maskValue.indexOf("*")||this._maskValue.indexOf("?")>1&&t.toString().length<this._maskValue.indexOf("?")||1===this._maskValue.indexOf("{"))return this._createValidationError(t);if(-1===this._maskValue.indexOf("*")||-1===this._maskValue.indexOf("?")){t="number"==typeof t?String(t):t;const i=this._maskValue.split("*"),o=this._maskService.dropSpecialCharacters?this._maskValue.length-this._maskService.checkDropSpecialCharAmount(this._maskValue)-r:this.prefix?this._maskValue.length+this.prefix.length-r:this._maskValue.length-r;if(1===i.length&&t.toString().length<o)return this._createValidationError(t);if(i.length>1){const s=i[i.length-1];if(s&&this._maskService.specialCharacters.includes(s[0])&&String(t).includes(s[0]??"")&&!this.dropSpecialCharacters){const u=t.split(s[0]);return u[u.length-1].length===s.length-1?null:this._createValidationError(t)}return(s&&!this._maskService.specialCharacters.includes(s[0])||!s||this._maskService.dropSpecialCharacters)&&t.length>=o-1?null:this._createValidationError(t)}}if(1===this._maskValue.indexOf("*")||1===this._maskValue.indexOf("?"))return null}return t&&this.maskFilled.emit(),null}onPaste(){this._justPasted=!0}onModelChange(t){(""===t||null==t)&&this._maskService.actualValue&&(this._maskService.actualValue=this._maskService.getActualValue(""))}onInput(t){if(this._isComposing)return;const r=t.target,i=this._maskService.inputTransformFn(r.value);if("number"!==r.type)if("string"==typeof i||"number"==typeof i){if(r.value=i.toString(),this._inputValue=r.value,this._setMask(),!this._maskValue)return void this.onChange(r.value);let o=1===r.selectionStart?r.selectionStart+this._maskService.prefix.length:r.selectionStart;if(this.showMaskTyped&&this.keepCharacterPositions&&1===this._maskService.placeHolderCharacter.length){const d=r.value.slice(o-1,o),f=this.prefix.length,m=this._maskService._checkSymbolMask(d,this._maskService.maskExpression[o-1-f]??""),g=this._maskService._checkSymbolMask(d,this._maskService.maskExpression[o+1-f]??""),y=this._maskService.selStart===this._maskService.selEnd,_=Number(this._maskService.selStart)-f,C=Number(this._maskService.selEnd)-f;if("Backspace"===this._code)if(y){if(!this._maskService.specialCharacters.includes(this._maskService.maskExpression.slice(o-this.prefix.length,o+1-this.prefix.length))&&y)if(1===_&&this.prefix)this._maskService.actualValue=this.prefix+this._maskService.placeHolderCharacter+r.value.split(this.prefix).join("").split(this.suffix).join("")+this.suffix,o-=1;else{const S=r.value.substring(0,o),I=r.value.substring(o);this._maskService.actualValue=S+this._maskService.placeHolderCharacter+I}}else this._maskService.actualValue=this._maskService.selStart===f?this.prefix+this._maskService.maskIsShown.slice(0,C)+this._inputValue.split(this.prefix).join(""):this._maskService.selStart===this._maskService.maskIsShown.length+f?this._inputValue+this._maskService.maskIsShown.slice(_,C):this.prefix+this._inputValue.split(this.prefix).join("").slice(0,_)+this._maskService.maskIsShown.slice(_,C)+this._maskService.actualValue.slice(C+f,this._maskService.maskIsShown.length+f)+this.suffix;"Backspace"!==this._code&&(m||g||!y?this._maskService.specialCharacters.includes(r.value.slice(o,o+1))&&g&&!this._maskService.specialCharacters.includes(r.value.slice(o+1,o+2))?(this._maskService.actualValue=r.value.slice(0,o-1)+r.value.slice(o,o+1)+d+r.value.slice(o+2),o+=1):m&&(this._maskService.actualValue=r.value.slice(0,o-1)+d+r.value.slice(o+1).split(this.suffix).join("")+this.suffix):o=Number(r.selectionStart)-1)}let s=0,u=!1;if("Delete"===this._code&&(this._maskService.deletedSpecialCharacter=!0),this._inputValue.length>=this._maskService.maskExpression.length-1&&"Backspace"!==this._code&&"d0/M0/0000"===this._maskService.maskExpression&&o<10){const d=this._inputValue.slice(o-1,o);r.value=this._inputValue.slice(0,o-1)+d+this._inputValue.slice(o+1)}if("Hh:m0:s0"===this._maskService.maskExpression&&this.apm&&(this._justPasted&&"00"===r.value.slice(0,2)&&(r.value=r.value.slice(1,2)+r.value.slice(2,r.value.length)),r.value="00"===r.value?"0":r.value),this._maskService.applyValueChanges(o,this._justPasted,"Backspace"===this._code||"Delete"===this._code,(d,f)=>{this._justPasted=!1,s=d,u=f}),this._getActiveElement()!==r)return;this._maskExpressionArray.length&&(o="Backspace"===this._code?this.specialCharacters.includes(this._inputValue.slice(o-1,o))?o-1:o:1===r.selectionStart?r.selectionStart+this._maskService.prefix.length:r.selectionStart),this._position=1===this._position&&1===this._inputValue.length?null:this._position;let c=this._position?this._inputValue.length+o+s:o+("Backspace"!==this._code||u?s:0);c>this._getActualInputLength()&&(c=this._getActualInputLength()),c<0&&(c=0),r.setSelectionRange(c,c),this._position=null}else console.warn("Ngx-mask writeValue work with string | number, your current value:",typeof i);else this._maskService.applyValueChanges(r.value.length,this._justPasted,"Backspace"===this._code||"Delete"===this._code)}onCompositionStart(){this._isComposing=!0}onCompositionEnd(t){this._isComposing=!1,this._justPasted=!0,this.onInput(t)}onBlur(t){if(this._maskValue){const r=t.target;if(this.leadZero&&r.value.length>0&&"string"==typeof this.decimalMarker){const i=this._maskService.maskExpression,o=Number(this._maskService.maskExpression.slice(i.length-1,i.length));if(o>1){r.value=this.suffix?r.value.split(this.suffix).join(""):r.value;const s=r.value.split(this.decimalMarker)[1];r.value=r.value.includes(this.decimalMarker)?r.value+"0".repeat(o-s.length)+this.suffix:r.value+this.decimalMarker+"0".repeat(o)+this.suffix,this._maskService.actualValue=r.value}}this._maskService.clearIfNotMatchFn()}this.onTouch()}onClick(t){if(!this._maskValue)return;const r=t.target;null!==r&&null!==r.selectionStart&&r.selectionStart===r.selectionEnd&&r.selectionStart>this._maskService.prefix.length&&38!==t.keyCode&&this._maskService.showMaskTyped&&!this.keepCharacterPositions&&(this._maskService.maskIsShown=this._maskService.showMaskInInput(),r.setSelectionRange&&this._maskService.prefix+this._maskService.maskIsShown===r.value?(r.focus(),r.setSelectionRange(0,0)):r.selectionStart>this._maskService.actualValue.length&&r.setSelectionRange(this._maskService.actualValue.length,this._maskService.actualValue.length));const s=r&&(r.value===this._maskService.prefix?this._maskService.prefix+this._maskService.maskIsShown:r.value);r&&r.value!==s&&(r.value=s),r&&"number"!==r.type&&(r.selectionStart||r.selectionEnd)<=this._maskService.prefix.length?r.selectionStart=this._maskService.prefix.length:r&&r.selectionEnd>this._getActualInputLength()&&(r.selectionEnd=this._getActualInputLength())}onKeyDown(t){if(!this._maskValue)return;if(this._isComposing)return void("Enter"===t.key&&this.onCompositionEnd(t));this._code=t.code?t.code:t.key;const r=t.target;if(this._inputValue=r.value,this._setMask(),"number"!==r.type){if("ArrowUp"===t.key&&t.preventDefault(),"ArrowLeft"===t.key||"Backspace"===t.key||"Delete"===t.key){if("Backspace"===t.key&&0===r.value.length&&(r.selectionStart=r.selectionEnd),"Backspace"===t.key&&0!==r.selectionStart)if(this.specialCharacters=this.specialCharacters?.length?this.specialCharacters:this._config.specialCharacters,this.prefix.length>1&&r.selectionStart<=this.prefix.length)r.setSelectionRange(this.prefix.length,r.selectionEnd);else if(this._inputValue.length!==r.selectionStart&&1!==r.selectionStart)for(;this.specialCharacters.includes((this._inputValue[r.selectionStart-1]??"").toString())&&(this.prefix.length>=1&&r.selectionStart>this.prefix.length||0===this.prefix.length);)r.setSelectionRange(r.selectionStart-1,r.selectionEnd);this.checkSelectionOnDeletion(r),this._maskService.prefix.length&&r.selectionStart<=this._maskService.prefix.length&&r.selectionEnd<=this._maskService.prefix.length&&t.preventDefault(),"Backspace"===t.key&&!r.readOnly&&0===r.selectionStart&&r.selectionEnd===r.value.length&&0!==r.value.length&&(this._position=this._maskService.prefix?this._maskService.prefix.length:0,this._maskService.applyMask(this._maskService.prefix,this._maskService.maskExpression,this._position))}this.suffix&&this.suffix.length>1&&this._inputValue.length-this.suffix.length<r.selectionStart?r.setSelectionRange(this._inputValue.length-this.suffix.length,this._inputValue.length):("KeyA"===t.code&&t.ctrlKey||"KeyA"===t.code&&t.metaKey)&&(r.setSelectionRange(0,this._getActualInputLength()),t.preventDefault()),this._maskService.selStart=r.selectionStart,this._maskService.selEnd=r.selectionEnd}}writeValue(t){var r=this;return Su(function*(){if("object"==typeof t&&null!==t&&"value"in t&&("disable"in t&&r.setDisabledState(!!t.disable),t=t.value),null!==t&&(t=r.inputTransformFn?r.inputTransformFn(t):t),"string"==typeof t||"number"==typeof t||null===t){let i=t;if("number"==typeof i||r._maskValue.startsWith("separator")){i=String(i);const o=r._maskService.currentLocaleDecimalMarker();Array.isArray(r._maskService.decimalMarker)||(i=r._maskService.decimalMarker!==o?i.replace(o,r._maskService.decimalMarker):i),r._maskService.leadZero&&i&&r.maskExpression&&!1!==r.dropSpecialCharacters&&(i=r._maskService._checkPrecision(r._maskService.maskExpression,i)),","===r._maskService.decimalMarker&&(i=i.toString().replace(".",",")),r.maskExpression?.startsWith("separator")&&r.leadZero&&requestAnimationFrame(()=>{r._maskService.applyMask(i?.toString()??"",r._maskService.maskExpression)}),r._maskService.isNumberValue=!0}"string"!=typeof i&&(i=""),r._inputValue=i,r._setMask(),i&&r._maskService.maskExpression||r._maskService.maskExpression&&(r._maskService.prefix||r._maskService.showMaskTyped)?("function"!=typeof r.inputTransformFn&&(r._maskService.writingValue=!0),r._maskService.formElementProperty=["value",r._maskService.applyMask(i,r._maskService.maskExpression)],"function"!=typeof r.inputTransformFn&&(r._maskService.writingValue=!1)):r._maskService.formElementProperty=["value",i],r._inputValue=i}else console.warn("Ngx-mask writeValue work with string | number, your current value:",typeof t)})()}registerOnChange(t){this._maskService.onChange=this.onChange=t}registerOnTouched(t){this.onTouch=t}_getActiveElement(t=this.document){const r=t?.activeElement?.shadowRoot;return r?.activeElement?this._getActiveElement(r):t.activeElement}checkSelectionOnDeletion(t){t.selectionStart=Math.min(Math.max(this.prefix.length,t.selectionStart),this._inputValue.length-this.suffix.length),t.selectionEnd=Math.min(Math.max(this.prefix.length,t.selectionEnd),this._inputValue.length-this.suffix.length)}setDisabledState(t){this._maskService.formElementProperty=["disabled",t]}_applyMask(){this._maskService.maskExpression=this._maskService._repeatPatternSymbols(this._maskValue||""),this._maskService.formElementProperty=["value",this._maskService.applyMask(this._inputValue,this._maskService.maskExpression)]}_validateTime(t){const r=this._maskValue.split("").filter(i=>":"!==i).length;return t&&(0==+(t[t.length-1]??-1)&&t.length<r||t.length<=r-2)?this._createValidationError(t):null}_getActualInputLength(){return this._maskService.actualValue.length||this._maskService.actualValue.length+this._maskService.prefix.length}_createValidationError(t){return{mask:{requiredMask:this._maskValue,actualValue:t}}}_setMask(){this._maskExpressionArray.some(t=>{if(t.split("").some(i=>this._maskService.specialCharacters.includes(i))&&this._inputValue&&!t.includes("S")||t.includes("{")){const i=this._maskService.removeMask(this._inputValue)?.length<=this._maskService.removeMask(t)?.length;if(i)return this._maskValue=this.maskExpression=this._maskService.maskExpression=t.includes("{")?this._maskService._repeatPatternSymbols(t):t,i;{const o=this._maskExpressionArray[this._maskExpressionArray.length-1]??"";this._maskValue=this.maskExpression=this._maskService.maskExpression=o.includes("{")?this._maskService._repeatPatternSymbols(o):o}}else{const i=this._inputValue?.split("").every((o,s)=>{const u=t.charAt(s);return this._maskService._checkSymbolMask(o,u)});if(i)return this._maskValue=this.maskExpression=this._maskService.maskExpression=t,i}})}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=ce({type:e,selectors:[["input","mask",""],["textarea","mask",""]],hostBindings:function(t,r){1&t&&be("paste",function(){return r.onPaste()})("ngModelChange",function(o){return r.onModelChange(o)})("input",function(o){return r.onInput(o)})("compositionstart",function(o){return r.onCompositionStart(o)})("compositionend",function(o){return r.onCompositionEnd(o)})("blur",function(o){return r.onBlur(o)})("click",function(o){return r.onClick(o)})("keydown",function(o){return r.onKeyDown(o)})},inputs:{maskExpression:[0,"mask","maskExpression"],specialCharacters:"specialCharacters",patterns:"patterns",prefix:"prefix",suffix:"suffix",thousandSeparator:"thousandSeparator",decimalMarker:"decimalMarker",dropSpecialCharacters:"dropSpecialCharacters",hiddenInput:"hiddenInput",showMaskTyped:"showMaskTyped",placeHolderCharacter:"placeHolderCharacter",shownMaskExpression:"shownMaskExpression",showTemplate:"showTemplate",clearIfNotMatch:"clearIfNotMatch",validation:"validation",separatorLimit:"separatorLimit",allowNegativeNumbers:"allowNegativeNumbers",leadZeroDateTime:"leadZeroDateTime",leadZero:"leadZero",triggerOnMaskChange:"triggerOnMaskChange",apm:"apm",inputTransformFn:"inputTransformFn",outputTransformFn:"outputTransformFn",keepCharacterPositions:"keepCharacterPositions"},outputs:{maskFilled:"maskFilled"},features:[rt([{provide:_r,useExisting:Pe(()=>e),multi:!0},{provide:un,useExisting:Pe(()=>e),multi:!0},lb]),jr]}),e})();function O$(e,n){return n instanceof Function?{...e,...n()}:{...e,...n}}let O3=(()=>{class e{static forRoot(t){return{ngModule:e,providers:[{provide:x3,useValue:t},{provide:N3,useValue:P$},{provide:um,useFactory:O$,deps:[N3,x3]},lb]}}static forChild(){return{ngModule:e}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Ut({type:e}),e.\u0275inj=Ct({}),e})();const R$=[[["prefix"]],[["suffix"]]],F$=["prefix","suffix"];let R3=(()=>{class e{constructor(t,r){this.cdr=t,this.injector=r,this.value=null,this.disabled=!1,this.onChange=i=>{},this.onTouched=()=>{},this.trimAfterPaste=!1,this.autocomplete="false",this.password=!1,this.transparent=!1,this.placeholder="Enter a value...",this.type="text",this.validate=!0,this.dropSpecialCharacters=!0,this._paste=new ct}ngOnInit(){this.initFormControl()}initFormControl(){this.formControl=this.injector.get(Ji)}get isInvalidControl(){return"invalid"===this.status||function S$(e){const{invalid:n,pristine:t,touched:r}=e;return!(!n||!r||t)}(this.formControl)&&this.validate}setValue(t){this.value=vP(t),this.onChange(t),this.cdr.detectChanges()}paste(t){t.stopPropagation(),setTimeout(()=>{this._paste.emit(t.target.value),this.cdr.detectChanges()})}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}writeValue(t){this.value=vP(t),this.cdr.detectChanges()}setDisabledState(t){this.disabled=t,this.cdr.detectChanges()}static#e=this.\u0275fac=function(r){return new(r||e)(P(Cu),P(Ke))};static#t=this.\u0275cmp=ut({type:e,selectors:[["moto-form-input"]],inputs:{formControlName:"formControlName",minlength:"minlength",maxlength:"maxlength",trimAfterPaste:"trimAfterPaste",autocomplete:"autocomplete",password:"password",transparent:"transparent",placeholder:"placeholder",type:"type",mask:"mask",validate:"validate",dropSpecialCharacters:"dropSpecialCharacters",status:"status"},outputs:{_paste:"paste"},features:[rt([{provide:_r,useExisting:Pe(()=>e),multi:!0}])],ngContentSelectors:F$,decls:8,vars:13,consts:[["inputRef",""],[1,"__ndb-form-control"],[1,"__ndb-form-control-affix"],[1,"__ndb-input-container"],[1,"__ndb-form-control-input",3,"ngModelChange","blur","paste","type","placeholder","minlength","maxlength","mask","dropSpecialCharacters","ngModel"]],template:function(r,i){if(1&r){const o=sn();(function Z4(e){const n=x()[mt][tn];if(!n.projection){const r=n.projection=pf(e?e.length:1,null),i=r.slice();let o=n.child;for(;null!==o;){if(128!==o.type){const s=e?a6(o,e):0;null!==s&&(i[s]?i[s].projectionNext=o:r[s]=o,i[s]=o)}o=o.next}}})(R$),G(0,"div",1)(1,"div",2),tv(2),U(),G(3,"div",3)(4,"input",4,0),be("ngModelChange",function(u){return Ne(o),Oe(i.setValue(u))})("blur",function(){return Ne(o),Oe(i.onTouched())})("paste",function(u){return Ne(o),Oe(i.paste(u))}),U()(),G(6,"div",2),tv(7,1),U()()}2&r&&(Ur("transparent",i.transparent)("invalid",i.isInvalidControl),N(4),ee("type",i.type)("placeholder",i.placeholder)("minlength",i.minlength)("maxlength",i.maxlength)("mask",i.mask)("dropSpecialCharacters",i.dropSpecialCharacters)("ngModel",i.value),on("data-locator",i.formControlName||i.placeholder)("autocomplete",i.autocomplete))},dependencies:[N$,Up,Lu,sm,dd,nm],styles:["[_ngcontent-%COMP%]:root{--ndb-button-bg: #2c8ee8;--ndb-button-disabled-bg: rgba(201, 204, 216, .3);--ndb-button-hover-bg: #1467b4;--ndb-button-color: #fff;--ndb-card-border-color: #c9ccd8}.__ndb-form-control[_ngcontent-%COMP%]{border:1px solid #c9ccd8;border-radius:4px;display:flex;align-items:center;box-shadow:0 2px #29304d14;padding:17px 10px}.__ndb-form-control-affix[_ngcontent-%COMP%]{display:flex;align-items:center;gap:3px}.__ndb-form-control.invalid[_ngcontent-%COMP%]{border:1px solid #f44336;color:#f44336}.__ndb-form-control.invalid[_ngcontent-%COMP%] .__ndb-form-control-input[_ngcontent-%COMP%]::placeholder{color:#eb001b}.__ndb-form-control.transparent[_ngcontent-%COMP%]{border:none;box-shadow:none}.__ndb-form-control[_ngcontent-%COMP%] .__ndb-input-container[_ngcontent-%COMP%]{display:flex;flex-grow:1}.__ndb-form-control-input[_ngcontent-%COMP%]{display:block;width:100%;max-width:100%;border:none;outline:none;flex-grow:1}.__ndb-form-control-input[_ngcontent-%COMP%]::placeholder{color:#707797}"],changeDetection:0})}return e})();function L$(e,n){if(1&e&&(G(0,"span",4),fe(1),U()),2&e){const t=Z();ee("@ANTransform",void 0),N(),Xt(t.paymentsErrorMsg())}}function V$(e,n){if(1&e&&(G(0,"span",15),fe(1),U()),2&e){Z();const t=At(2);ee("@ANTransform",void 0),N(),Xt(t.errors.invalidCardHolder)}}let F3=(()=>{class e extends Hp{constructor(t,r,i){super(t),this.injector=t,this.fb=r,this.context=i,this.constants=Jn}ngOnInit(){this.settings=this.context.data.settings,this.componentState=this.context.componentsStates.cardForm,this.initForm(),this.initComputedFields(),cb(this.form,this.componentState,this,()=>!!this.settings().requiredFieldsBehavior?.markAsInvalidUntilCorrect,this.areRequiredFieldsFilled,this.onUpdate,this.context)}pasteCardNumber(t){const r=function vU(e){return e.replace(/\s/g,"")}(t);this.form.get("cardCredentials").get("cardNumber").setValue(r,{onlySelf:!0}),function I$(e,n,t=null,r=!0){n.forEach(i=>{const o=e.get(i);o||function C$(e){throw new Error(e)}(`Invalid form control name: "${i}"`),o.reset(t),r&&o.updateValueAndValidity()})}(this.form.get("cardCredentials"),["expiration","cvv"]),this.detect()}resetForm(){this.form.reset(),this.localDetect()}onFocus(t){switch(t){case"number":this.context.events.analytics.emit(new gt("card-number-field-focus"),!0);break;case"cvv":this.context.events.analytics.emit(new gt("cvv-field-focus"),!0);break;case"holder":this.context.events.analytics.emit(new gt("card-holder-field-focus"),!0);break;case"expiration":this.context.events.analytics.emit(new gt("expiration-date-field-focus"),!0)}}initForm(){this.form=this.fb.group({cardCredentials:this.fb.group({cardNumber:[null,[Ti.required,am.luhnAlgorithm,am.cardNumberLength]],expiration:[null,[Ti.required,Ti.minLength(4),Ti.maxLength(4),am.cardExpiration]],cvv:[null,[Ti.required,am.cardCodeLength()]]}),cardHolder:[null,[Ti.required,Ti.maxLength(Jn.card.holder.length.max)]]})}initComputedFields(){this.isCredentialsErrorShown=Ve(()=>{const t=this.form.get("cardCredentials");return this.componentState().canShowError&&t.invalid}),this.isCardHolderErrorShown=Ve(()=>{const t=this.form.get("cardHolder");return this.componentState().canShowError&&t.invalid}),this.paymentDetailsHeader=Ve(()=>{const t=this.settings();return`${t.language.requisites.paymentDetailsHeader}${this.componentState().isRequired&&t.requiredFieldsBehavior?.showStars?" *":""}`}),this.nameOnCardHeader=Ve(()=>{const t=this.settings();return`${t.language.requisites.cardHolderHeader}${this.componentState().isRequired&&t.requiredFieldsBehavior?.showStars?" *":""}`}),this.paymentsErrorMsg=Ve(()=>{const t=this.form.get("cardCredentials"),[r]=function M$(e){return function T$(e){return Object.entries(e.controls).filter(([,n])=>n.invalid)}(e).map(([n])=>n)}(t),i=this.settings().language.errors;switch(this.componentState(),r){case"cardNumber":return i.invalidCardNumber;case"expiration":return i.invalidCardExpiration;case"cvv":return i.invalidCvv}})}areRequiredFieldsFilled(t){const{cardCredentials:r,cardHolder:i}=t;return r?.cvv&&r?.cardNumber&&r?.expiration&&i}onUpdate(t,r){const{cardCredentials:i,cardHolder:o}=t;r.data.userProvidedInfo.update(s=>({...s,paymentSystemName:"card",requisites:{type:"card",value:{cvv:i.cvv,expiration:i.expiration,number:i.cardNumber,holder:o}}}))}static#e=this.\u0275fac=function(r){return new(r||e)(P(Ke),P(ub),P(st))};static#t=this.\u0275cmp=ut({type:e,selectors:[["moto-card-form"]],features:[Fe],decls:32,vars:49,consts:[[1,"__ndb-form",3,"formGroup"],[1,"__ndb-form-stage"],[1,"__ndb-form-stage-header"],[1,"__ndb-form-stage-header-title","fz-14","fw-500"],["data-locator","card-credentials-error",1,"__ndb-form-stage-header-error","fz-14","fw-500","font-error"],["formGroupName","cardCredentials",1,"__ndb-form-stage-controls","__ndb-form-stage-controls_credentials"],["id","card-number-field","formControlName","cardNumber","type","tel","autocomplete","cc-number",1,"__ndb-form-stage-controls_card-number",3,"paste","focusin","placeholder","mask","transparent","validate","status"],["ngProjectAs","suffix",5,["suffix"],1,"__ndb-form-stage-controls_card-number-logo",3,"src"],[1,"__ndb-form-stage-controls-separator","__ndb-form-stage-controls-separator_x"],[1,"__ndb-form-stage-controls-group"],["id","card-expiration-field","formControlName","expiration","mask","00 / 00","type","tel","autocomplete","cc-exp",1,"__ndb-form-stage-controls_expiration",3,"focusin","placeholder","transparent","validate","status"],[1,"__ndb-form-stage-controls-separator","__ndb-form-stage-controls-separator_y"],["id","card-cvv-field","formControlName","cvv","type","tel",1,"__ndb-form-stage-controls_cvv",3,"focusin","mask","dropSpecialCharacters","placeholder","transparent","validate","status"],["tabindex","-1","ngProjectAs","suffix",5,["suffix"]],[1,"material-icons","font-description","block","fz-18","cursor-default"],["data-locator","card-holder-error",1,"__ndb-form-stage-header-error","fz-14","fw-500","font-error"],[1,"__ndb-form-stage-controls"],["id","card-holder-field","formControlName","cardHolder","autocomplete","cc-name",3,"focusin","placeholder","maxlength","validate","status"]],template:function(r,i){if(1&r){const o=sn();hr(0)(1)(2),G(3,"form",0)(4,"div",1)(5,"div",2)(6,"h6",3),fe(7),U(),De(8,L$,2,2,"span",4),U(),G(9,"div",5)(10,"moto-form-input",6),it(11,"cardInfo"),be("paste",function(u){return Ne(o),Oe(i.pasteCardNumber(u))})("focusin",function(){return Ne(o),Oe(i.onFocus("number"))}),He(12,"moto-picture",7),it(13,"cardInfo"),U(),He(14,"div",8),G(15,"div",9)(16,"moto-form-input",10),be("focusin",function(){return Ne(o),Oe(i.onFocus("expiration"))}),U(),He(17,"div",11),G(18,"moto-form-input",12),it(19,"cardInfo"),it(20,"cardInfo"),be("focusin",function(){return Ne(o),Oe(i.onFocus("cvv"))}),G(21,"div",13),it(22,"cardInfo"),G(23,"i",14),fe(24,"error"),U()()()()()(),G(25,"div",1)(26,"div",2)(27,"h6",3),fe(28),U(),De(29,V$,2,2,"span",15),U(),G(30,"div",16)(31,"moto-form-input",17),be("focusin",function(){return Ne(o),Oe(i.onFocus("holder"))}),U()()()()}if(2&r){const o=i.isCardHolderErrorShown(),s=i.isCredentialsErrorShown();N(2);const u=Hn(i.settings().language);N(),ee("formGroup",i.form),N(4),lt(" ",i.paymentDetailsHeader()," "),N(),Le(s?8:-1),N(),Ur("invalid",s),N(),ee("placeholder",u.requisites.cardNumberPlaceholder)("mask",_u(11,29,i.form.value.cardCredentials.cardNumber,"card-number-mask","0000 0000 0000 0000"))("transparent",!0)("validate",!1)("status",s?"invalid":"valid"),N(2),ee("src",hn(13,33,i.form.value.cardCredentials.cardNumber,"logo")),N(4),ee("placeholder",u.requisites.cardExpirationPlaceholder)("transparent",!0)("validate",!1)("status",s?"invalid":"valid"),N(2),ee("mask",_u(19,36,i.form.value.cardCredentials.cardNumber,"code-mask","000"))("dropSpecialCharacters",!1)("placeholder",function OS(e,n,t,r,i,o){const s=e+J,u=x(),c=ds(u,s);return Ol(u,s)?xS(u,wn(),n,c.transform,t,r,i,o,c):c.transform(t,r,i,o)}(20,40,i.form.value.cardCredentials.cardNumber,"code","CVV",u.requisites.cvvPlaceholder))("transparent",!0)("validate",!1)("status",s?"invalid":"valid"),N(3),on("data-tooltip",_u(22,45,i.form.value.cardCredentials.cardNumber,"secure-text",u.requisites.cvvHint)),N(7),lt(" ",i.nameOnCardHeader()," "),N(),Le(o?29:-1),N(2),ee("placeholder",u.requisites.cardHolderPlaceholder)("maxlength",i.constants.card.holder.length.max)("validate",!1)("status",o?"invalid":"valid")}},dependencies:[rm,Lu,Wp,dd,Bu,ld,im,Pu,R3,G_],data:{animation:[A_()]},changeDetection:0})}return e})();function j$(e,n){if(1&e&&(G(0,"span",4),fe(1),U()),2&e){Z();const t=At(0);ee("@ANTransform",void 0),N(),lt(" ",t.errors.invalidPhoneNumber,"")}}let L3=(()=>{class e extends Hp{constructor(t,r,i){super(t),this.injector=t,this.fb=r,this.context=i,this.phoneConstants=Jn.phoneNumber}ngOnInit(){this.componentState=this.context.componentsStates.additionalForm,this.cardFormState=this.context.componentsStates.cardForm,this.settings=this.context.data.settings,this.initComputed(),this.initForm(),cb(this.form,this.componentState,this,()=>!!this.settings().requiredFieldsBehavior?.markAsInvalidUntilCorrect,t=>!!t.phoneNumber)}onFocus(){this.context.events.analytics.emit(new gt("number-field-focus"),!0)}initForm(){this.form=this.fb.group({phoneNumber:["",[Ti.minLength(Jn.phoneNumber.length.min),Ti.maxLength(Jn.phoneNumber.length.max)]]})}initComputed(){this.header=Ve(()=>{const t=this.settings();return`${t.language.phone.header}${this.componentState().isRequired&&t.requiredFieldsBehavior?.showStars?" *":""}`}),this.isErrorShown=Ve(()=>{const t=this.componentState();return t.canShowError&&!t.isValid})}static#e=this.\u0275fac=function(r){return new(r||e)(P(Ke),P(ub),P(st))};static#t=this.\u0275cmp=ut({type:e,selectors:[["moto-additional-form"]],features:[Fe],decls:10,vars:9,consts:[[1,"__ndb-form",3,"formGroup"],[1,"__ndb-form-stage"],[1,"__ndb-form-stage-header"],[1,"__ndb-form-stage-header-title","fz-14","fw-500"],["data-locator","phone-error",1,"__ndb-form-stage-header-error","fz-14","fw-500","font-error"],[1,"__ndb-form-stage-controls"],["id","phone-number-field","formControlName","phoneNumber","autocomplete","tel","type","tel",3,"focusin","placeholder","minlength","maxlength","validate","status"]],template:function(r,i){if(1&r){const o=sn();hr(0)(1),G(2,"form",0)(3,"div",1)(4,"div",2)(5,"h6",3),fe(6),U(),De(7,j$,2,2,"span",4),U(),G(8,"div",5)(9,"moto-form-input",6),be("focusin",function(){return Ne(o),Oe(i.onFocus())}),U()()()()}if(2&r){const o=Hn(i.settings().language),s=i.isErrorShown();N(2),ee("formGroup",i.form),N(4),Xt(i.header()),N(),Le(s?7:-1),N(2),ee("placeholder",o.phone.placeholder)("minlength",i.phoneConstants.length.min)("maxlength",i.phoneConstants.length.max)("validate",!1)("status",s?"invalid":"valid")}},dependencies:[rm,Lu,Wp,sm,dd,Bu,ld,R3],data:{animation:[A_()]},changeDetection:0})}return e})(),cm=(()=>{class e{constructor(t){this.sanitizer=t}transform(t,r){if(!t)return t;const i=this.parseLinks(t,r);return this.sanitizer.bypassSecurityTrustHtml(i)}parseLinks(t,r){return t.replace(/\{\s*href:\s*['"]([^'"]+)['"],\s*text:\s*['"]([^'"]+)['"]\s*\}/g,`<a href="$1" ${r?`class="${r}"`:""} target="_blank">$2</a>`)}static#e=this.\u0275fac=function(r){return new(r||e)(P(l_,16))};static#t=this.\u0275pipe=Nt({name:"linkify",type:e,pure:!0})}return e})();function B$(e,n){if(1&e){const t=sn();G(0,"label",5)(1,"input",6),be("ngModelChange",function(i){Ne(t);const o=Z(),s=o.$implicit,u=o.$index;return Oe(Z(2).onChange(s,u,i))})("focusin",function(){Ne(t);const i=Z(),o=i.$implicit,s=i.$index;return Oe(Z(2).onFocus(o,s))}),U(),He(2,"span",7)(3,"span",8),it(4,"linkify"),U()}if(2&e){const t=Z(),r=t.$implicit,i=t.$index,o=Z(2),s=At(2);N(),ee("name","charge-term-"+i)("id","charge-term-"+i)("formControlName",i),N(),Ur("invalid",s&&!o.form.get("checkboxes").get(i.toString()).value),N(),ee("innerHTML",hn(4,6,r,"__ndb-settings-checkboxes-checkbox-link fz-12 fw-500 font-description"),_o)}}function H$(e,n){1&e&&De(0,B$,5,9,"label",5),2&e&&Le(n.$implicit?0:-1)}function G$(e,n){if(1&e&&(G(0,"form",1),mu(1,4),Wr(2,H$,1,1,null,null,Wi),gu(),U()),2&e){const t=Z(),r=At(1);ee("formGroup",t.form),N(2),qr(r.checkboxes)}}function U$(e,n){if(1&e&&(G(0,"p",2),it(1,"linkify"),fe(2),U()),2&e){Z();const t=At(1);ee("innerHTML",hn(1,2,t.text,"fz-12 fw-500 font-description"),_o),N(2),lt(" ",t.text," ")}}function $$(e,n){if(1&e&&(G(0,"span",3),fe(1),U()),2&e){Z();const t=At(0);ee("@ANTransform",void 0),N(),lt(" ",t.language.errors.notCheckedCheckboxes," ")}}let V3=(()=>{class e extends Hp{constructor(t,r,i){super(r),this.context=t,this.injector=r,this.fb=i}ngOnInit(){this.settings=this.context.data.settings,this.componentState=this.context.componentsStates.chargeTerms,this.isErrorShown=Ve(()=>this.componentState().canShowError&&!this.componentState().isValid),this.initForm()?cb(this.form,this.componentState,this,()=>!!this.settings().requiredFieldsBehavior?.markAsInvalidUntilCorrect,()=>!0):this.componentState.update(t=>({...t,isValid:!0}))}onChange(t,r,i){this.context.events.analytics.emit(new gt(i?`charge-term-checkbox-${r}-check`:`charge-term-checkbox-${r}-uncheck`,{text:t}))}onFocus(t,r){this.context.events.analytics.emit(new gt(`charge-term-checkbox-${r}-focus`,{text:t}),!0)}initForm(){const t=this.settings().chargeTerms;if(!t.checkboxes?.length)return!1;const r=t.checkboxes.map(()=>this.fb.control(!1,Ti.requiredTrue));return this.form=this.fb.group({checkboxes:this.fb.array(r)}),!0}static#e=this.\u0275fac=function(r){return new(r||e)(P(st),P(Ke),P(ub))};static#t=this.\u0275cmp=ut({type:e,selectors:[["moto-charge-terms"]],features:[Fe],decls:7,vars:6,consts:[[1,"__ndb-settings"],[1,"__ndb-settings-checkboxes",3,"formGroup"],[1,"__ndb-settings-text","fz-11","fw-500",3,"innerHTML"],["data-locator","charge-terms-error",1,"fz-14","fw-500","font-error"],["formArrayName","checkboxes"],[1,"__ndb-settings-checkboxes-checkbox","fz-11","fw-500","font-description"],["type","checkbox",1,"__ndb-settings-checkboxes-checkbox-input",3,"ngModelChange","focusin","name","id","formControlName"],[1,"__ndb-settings-checkboxes-checkbox-checkmark"],[1,"__ndb-settings-checkboxes-checkbox-text",3,"innerHTML"]],template:function(r,i){if(1&r&&(hr(0)(1)(2),G(3,"div",0),De(4,G$,4,1,"form",1)(5,U$,3,5,"p",2)(6,$$,2,2,"span",3),U()),2&r){const o=Hn(i.settings());N();const s=Hn(o.chargeTerms);N();const u=Hn(i.isErrorShown());N(2),Le(null!=s.checkboxes&&s.checkboxes.length?4:-1),N(),Le(s.text?5:-1),N(),Le(u?6:-1)}},dependencies:[rm,Gp,Lu,Wp,Bu,ld,om,cm],data:{animation:[A_()]},changeDetection:0})}return e})();function j3(e){const n=function W$(e){return`\n <!DOCTYPE html>\n <html>\n <head>\n <meta charset="UTF-8">\n <meta name="viewport" content="width=device-width, initial-scale=1.0">\n <meta name="description" content="Waiting payment approval">\n\n <title>Moto pay</title>\n </head>\n <body>\n <div class="waiting">\n <div class="section">\n <h2 class="waiting__title">${e.paymentProcessing}</h2>\n <div class="section__content __ndb-spinner-container">\n <div class="spinner">\n <div class="lds-ring">\n <div></div>\n <div></div>\n <div></div>\n <div></div>\n </div>\n <div class="spinner__extra"></div>\n </div>\n </div>\n </div>\n </div>\n </body>\n </html>`}(e);let s=n.replace("</head>",'<style>\n\n .waiting__title {\n position: relative;\n z-index: 101;\n font-family: "Poppins", Helvetica, Arial, sans-serif;\n color: #29304d;\n font-size: 16px;\n margin: 0;\n text-align: center;\n transform: translateY(108px);\n }\n .__ndb__moto-modal-backdrop {\n background-color: #e5e5e5 !important;\n }\n .__ndb__moto-modal .header {\n margin: 0;\n }\n .section__content {\n margin: 0 auto;\n width: 870px;\n }\n @media screen and (max-width: 1000px) {\n .section__content {\n width: 720px;\n }\n }\n @media screen and (max-width: 768px) {\n .section__content {\n width: 375px;\n }\n }\n @media screen and (max-width: 375px) {\n .section__content {\n width: 320px;\n }\n }\n .spinner {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n height: 330px;\n }\n .spinner_small {\n height: 70px;\n }\n .spinner_extra {\n height: 550px;\n }\n .lds-ring {\n display: inline-block;\n position: relative;\n width: 80px;\n height: 80px;\n }\n .lds-ring div {\n box-sizing: border-box;\n display: block;\n position: absolute;\n width: 64px;\n height: 64px;\n margin: 8px;\n border: 8px solid #6936d3;\n border-radius: 50%;\n animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;\n border-color: #6936d3 transparent transparent transparent;\n }\n .lds-ring div:nth-child(1) {\n animation-delay: -0.45s;\n }\n .lds-ring div:nth-child(2) {\n animation-delay: -0.3s;\n }\n .lds-ring div:nth-child(3) {\n animation-delay: -0.15s;\n }\n @keyframes lds-ring {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n }\n</style>\n</head>');return s=s.replace("</body>","<script>\n\n const messageKey = '__moto_pay_message';\n\n function inputTemplate(name, value) {\n return `<input type=\"hidden\" name=\"${name}\" value=\"${value}\" />`;\n }\n \n function formTemplate(redirectUrl, inputsTpl) {\n return `<form action=\"${redirectUrl}\" method=\"post\">${inputsTpl}</form>`;\n }\n \n function makeFormTemplate(threeDsData) {\n const inputsTemplate = Object.entries(threeDsData).reduce((accum, [key, value]) => {\n const inputTpl = inputTemplate(key, value);\n return (accum += `${inputTpl}\n`);\n }, '');\n const template = formTemplate(threeDsData.acsurl, inputsTemplate);\n return template;\n }\n \n function simpleRedirect(url) {\n window.location.replace(url);\n }\n \n function postRedirect(threeDsData) {\n const template = makeFormTemplate(threeDsData);\n \n setTimeout(() => {\n document.body.innerHTML = template;\n const form = document.body.querySelector('form');\n form.submit();\n });\n }\n \n function onMessageReceived(event) {\n if (event.data && event.data.key == messageKey) {\n if (event.data.type == 'simpleRedirect') {\n simpleRedirect(event.data?.redirectData?.location);\n }\n \n if (event.data.type == 'postRedirect') {\n postRedirect(event.data.threeDsData);\n }\n }\n }\n\n window.addEventListener('message', onMessageReceived, false);\n \n<\/script>\n</body>"),s}mx();class lm{constructor(){this.postMessageKey="__moto_pay_message"}tryOpenBlankWindow(n){return this.window||(this.window=window.open("","_blank")??void 0,n&&this.window?.document?.write(n)),this.window}threeDsRedirect(n){this.window?.postMessage({key:this.postMessageKey,type:"postRedirect",threeDsData:n})}redirect(n){this.window?.postMessage({key:this.postMessageKey,type:"simpleRedirect",redirectData:n})}closeWindow(){this.window?.close(),this.window=void 0}}let B3=(()=>{class e{constructor(t){this.window=t}transform(t,r){return Number(t).toLocaleString(this.window.navigator.language,{style:"currency",currency:r})}static#e=this.\u0275fac=function(r){return new(r||e)(P(_P,16))};static#t=this.\u0275pipe=Nt({name:"currencySymbol",type:e,pure:!0})}return e})(),Z$=(()=>{class e{transform(t,r,i){return r&&i&&"net"==i?t+r:t}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275pipe=Nt({name:"price",type:e,pure:!0})}return e})();function Y$(e,n){if(1&e&&(G(0,"span",4),fe(1),U()),2&e){Z();const t=At(3);N(),Xt(t.taxDescription)}}function K$(e,n){if(1&e&&(He(0,"div",9),G(1,"div",10),He(2,"moto-picture",11),it(3,"cardInfo"),G(4,"span",12),fe(5),it(6,"slice"),U()()),2&e){const t=n;N(2),ee("src",hn(3,2,t.name,"logo")),N(3),lt(" \u2022\u2022",hn(6,5,t.name,-4)," ")}}let H3=(()=>{class e{constructor(t,r,i){this.context=t,this.processing=r,this.windowService=i}ngOnInit(){this.settings=this.context.data.settings,this.payment=this.context.data.payment,this.userProvidedInfo=this.context.data.userProvidedInfo,this.paymentAvailability=this.context.computed.paymentAvailability,this.existingCard=Ve(()=>{const t=this.userProvidedInfo();if("existing-card"===t?.requisites?.type&&t.requisites?.value)return t.requisites.value})}pay(){if(this.context.events.analytics.emit(new gt("pay-button-click")),!this.context.computed.paymentAvailability().canPay.byCard)return void this.context.updateCanShowError(!0);this.windowService.tryOpenBlankWindow(j3(this.settings().language));const t=this.processing.pay();this.context.data.state.set({type:"payLoading",payload:{observable:t}})}onFocus(){this.context.events.analytics.emit(new gt("pay-button-focus"),!0)}static#e=this.\u0275fac=function(r){return new(r||e)(P(st),P(Fu),P(lm))};static#t=this.\u0275cmp=ut({type:e,selectors:[["moto-pay-button"]],decls:23,vars:23,consts:[[1,"__ndb-pay"],[1,"__ndb-pay-info"],[1,"__ndb-pay-title","fz-18","fw-600"],["data-locator","total-cost",1,"fz-24","fw-700"],["id","tax-description",1,"fz-11","fw-500","font-description"],["id","pay-button","data-locator","btn-submit",1,"__ndb-pay-btn","button-submit","full-width",3,"click","focusin","ngClass","disabled"],[1,"__ndb-pay-btn-content"],[1,"__ndb-pay-btn-cost-side"],["data-locator","btn-submit-cost"],[1,"__ndb-pay-btn-separator"],[1,"__ndb-pay-btn-card-side"],[1,"__ndb-pay-btn-card-side-logo",3,"src"],["data-locator","btn-submit-card-number",1,"__ndb-pay-btn-card-side-number"]],template:function(r,i){if(1&r){const o=sn();hr(0)(1)(2)(3),G(4,"div",0)(5,"div",1)(6,"span",2),fe(7),U(),G(8,"span",3),fe(9),it(10,"price"),it(11,"currencySymbol"),U()(),De(12,Y$,2,1,"span",4),G(13,"button",5),be("click",function(){return Ne(o),Oe(i.pay())})("focusin",function(){return Ne(o),Oe(i.onFocus())}),G(14,"div",6)(15,"div",7)(16,"span"),fe(17),G(18,"span",8),fe(19),it(20,"price"),it(21,"currencySymbol"),U()()(),De(22,K$,7,8),U()()()}if(2&r){let o;const s=i.payment(),u=i.paymentAvailability(),c=i.settings();N(3);const d=Hn(c.language);N(4),Xt(d.totalHeader),N(2),Xt(hn(11,13,_u(10,9,s.amount,s.tax,s.amountType),s.currency)),N(3),Le(c.isTaxVisible&&d.taxDescription?12:-1),N(),ee("ngClass",u.buttonDisableClass)("disabled",u.isPayButtonDisabled),N(4),lt(" ",d.pay," "),N(2),lt(" ",hn(21,20,_u(20,16,s.amount,s.tax,s.amountType),s.currency)," "),N(3),Le((o=i.existingCard())?22:-1,o)}},dependencies:[zv,Pu,B3,Xv,G_,Z$],styles:["[_ngcontent-%COMP%]:root{--ndb-button-bg: #2c8ee8;--ndb-button-disabled-bg: rgba(201, 204, 216, .3);--ndb-button-hover-bg: #1467b4;--ndb-button-color: #fff;--ndb-card-border-color: #c9ccd8}.full-width[_ngcontent-%COMP%]{width:100%}@media (min-width: 769px){.ndb-mobile[_ngcontent-%COMP%]{display:none}}@media (max-width: 768px){.ndb-desktop[_ngcontent-%COMP%]{display:none}}.margin-auto[_ngcontent-%COMP%]{margin:auto}.flex[_ngcontent-%COMP%]{display:flex}.flex-column[_ngcontent-%COMP%]{display:flex;flex-direction:column}.none[_ngcontent-%COMP%]{display:none}.block[_ngcontent-%COMP%]{display:block}.events-none[_ngcontent-%COMP%]{pointer-events:none}.cursor-default[_ngcontent-%COMP%]{cursor:default}.pointer[_ngcontent-%COMP%]{cursor:pointer}.bold[_ngcontent-%COMP%]{font-weight:700!important}.font-middle[_ngcontent-%COMP%]{vertical-align:middle}.rotate[_ngcontent-%COMP%]{transform:rotate(-180deg)}.__ndb-pay[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center}.__ndb-pay-info[_ngcontent-%COMP%]{display:flex;width:100%;align-items:center;justify-content:space-between;gap:20px;margin-bottom:7px}.__ndb-pay-btn[_ngcontent-%COMP%]{margin-top:7px}.__ndb-pay-btn-content[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;gap:16px;width:100%}.__ndb-pay-btn-separator[_ngcontent-%COMP%]{width:2px;height:18px;opacity:.3;background-color:var(--ndb-button-color)}.__ndb-pay-btn-card-side[_ngcontent-%COMP%]{display:flex;align-items:center;gap:10px}.__ndb-pay-btn-card-side-logo[_ngcontent-%COMP%]{height:24px;width:36px}"],changeDetection:0})}return e})(),dm=(()=>{class e{constructor(){this.signals={}}getOrSetItemSignal(t,r){const i=window.sessionStorage.getItem(t);return i?this.signals[t]?JSON.stringify(this.signals[t]())!==i&&this.signals[t].set(JSON.parse(i)):this.signals[t]=Ie(JSON.parse(i)):this.setItem(t,r),this.signals[t]}setItem(t,r){window.sessionStorage.setItem(t,JSON.stringify(r)),this.signals[t]?this.signals[t].set(r):this.signals[t]=Ie(r)}removeItem(t){window.sessionStorage.removeItem(t),this.signals[t]?.set(void 0)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=q({token:e,factory:e.\u0275fac})}return e})(),X$=(()=>{class e{constructor(t,r){this.renderer=t,this.elRef=r,this.buttonClick=new ct,this.buttonStyle="white-outline",this.locale="en-US",this.type="continue"}ngAfterViewInit(){this.createButton()}ngOnDestroy(){this.buttonClickListener&&(this.buttonClickListener(),this.buttonClickListener=void 0)}createButton(){const t=this.renderer.createElement("apple-pay-button");this.renderer.setAttribute(t,"type",this.type),this.renderer.setAttribute(t,"buttonstyle",this.buttonStyle),this.renderer.setAttribute(t,"locale",this.locale),this.buttonClickListener=this.renderer.listen(t,"click",r=>this.buttonClick.emit(r)),this.renderer.appendChild(this.elRef.nativeElement,t),this.renderer.setStyle(t,"display","inline-block")}static#e=this.\u0275fac=function(r){return new(r||e)(P(Ci),P(Ln))};static#t=this.\u0275dir=ce({type:e,selectors:[["","motoApplePayButton",""]],inputs:{buttonStyle:"buttonStyle",locale:"locale",type:"type"},outputs:{buttonClick:"buttonClick"}})}return e})(),Q$=(()=>{class e{constructor(t,r,i){this.renderer=t,this.elRef=r,this.context=i,this.buttonClick=new ct}ngAfterViewInit(){this.createButton()}ngOnDestroy(){this.buttonClickListener&&(this.buttonClickListener(),this.buttonClickListener=void 0)}createButton(){if(!this.context.clients.googlePay)return;const t=this.context.clients.googlePay.createButton({buttonSizeMode:"fill",buttonRadius:4,onClick:r=>this.buttonClick.emit(r)});this.renderer.appendChild(this.elRef.nativeElement,t),this.renderer.setStyle(t,"display","inline-block")}static#e=this.\u0275fac=function(r){return new(r||e)(P(Ci),P(Ln),P(st))};static#t=this.\u0275dir=ce({type:e,selectors:[["","motoGooglePayButton",""]],outputs:{buttonClick:"buttonClick"}})}return e})(),J$=(()=>{class e{set _let(t){this.context.let=t}constructor(t,r){this.viewContainer=t,this.tpl=r,this.context={let:null}}ngOnInit(){this.viewContainer.createEmbeddedView(this.tpl,this.context)}static#e=this.\u0275fac=function(r){return new(r||e)(P(Gr),P(wi))};static#t=this.\u0275dir=ce({type:e,selectors:[["","let",""]],inputs:{_let:[0,"let","_let"]}})}return e})();const ez=(e,n)=>n.name,tz=(e,n)=>({applepay:e,googlepay:n}),nz=e=>({$implicit:e});function rz(e,n){if(1&e){const t=sn();G(0,"div",5)(1,"span",7),be("click",function(){return Ne(t),Oe(Z(2).apmsCollapseClick())}),fe(2),U()()}if(2&e){Z(2);const t=At(2);N(),ee("ngClass",t.apmsCollapse?"__ndb-apm-list__delimiter-text__apms-collapse":""),N(),Xt(t.apmsCollapse?t.language.apms.orUseAlternative:t.language.apms.or)}}function iz(e,n){if(1&e&&yu(0,8),2&e){const t=n.$implicit,r=Z(2).let;Z();const i=Lh(5);ee("ngTemplateOutlet",t.logo?i:r[t.name])("ngTemplateOutletContext",function MS(e,n,t,r){return PS(x(),wn(),e,n,t,r)}(2,nz,t))}}function oz(e,n){if(1&e&&(G(0,"div",6),Wr(1,iz,1,4,"ng-container",8,ez),U()),2&e){Z(2);const t=At(0);N(),qr(t)}}function sz(e,n){if(1&e&&(G(0,"div",4),De(1,rz,3,2,"div",5)(2,oz,3,0,"div",6),U()),2&e){let t;const r=Z(),i=At(2);N(),Le(r.cardPaymentAvailable()?1:-1),N(),Le(i.apmsCollapse&&r.apmsCollapsed&&(null===(t=r.apmsCollapsed())||void 0===t||t)?-1:2)}}function az(e,n){if(1&e){const t=sn();G(0,"button",9),be("focusin",function(){const i=Ne(t).$implicit;return Oe(Z().onFocus(i))})("click",function(){const i=Ne(t).$implicit;return Oe(Z().pay(i))}),He(1,"img",10),U()}if(2&e){const t=n.$implicit;Z();const r=At(1);ee("id","apm-"+(null==t?null:t.name)+"-button")("ngClass",r.elementDisableClass),N(),ee("src",t.logo,el)("alt",t.name)}}function uz(e,n){if(1&e){const t=sn();G(0,"div",11),be("buttonClick",function(){const i=Ne(t).$implicit;return Oe(Z().pay(i))})("focusin",function(){const i=Ne(t).$implicit;return Oe(Z().onFocus(i))}),U()}2&e&&(Z(),ee("ngClass",At(1).elementDisableClass))}function cz(e,n){if(1&e){const t=sn();G(0,"div",12),be("buttonClick",function(){const i=Ne(t).$implicit;return Oe(Z().pay(i))})("focusin",function(){const i=Ne(t).$implicit;return Oe(Z().onFocus(i))}),U()}2&e&&(Z(),ee("ngClass",At(1).elementDisableClass))}let G3=(()=>{class e{constructor(t,r,i,o,s,u,c){this.context=t,this.processingService=r,this.mapper=i,this.applePayService=o,this.googlePayService=s,this.sessionStorage=u,this.windowService=c,this.apms=Ie([])}ngOnInit(){this.settings=this.context.data.settings,this.paymentInfo=this.context.data.payment,this.settings().apmsCollapse&&(this.apmsCollapsed=this.sessionStorage.getOrSetItemSignal(Jn.keys.apmsCollapse,!0)),this.paymentAvailability=this.context.computed.paymentAvailability,this.apms=Ve(()=>{let t=this.context.data.loadedPaymentSystems().filter(i=>"card"!==i.name);return this.mapper.mapApms(t)}),this.cardPaymentAvailable=Ve(()=>this.context.componentsStates.cardForm().enabled||this.context.componentsStates.cardList().enabled)}pay(t){if(this.context.events.analytics.emit(new gt(`${t.name}-button-click`)),this.paymentAvailability().canPay.byApm)if("applepay"===t.name){const r=Qi(this.settings().urls.processing,`api/applepay/${this.paymentInfo().merchantId}/merchantValidation`);this.applePayService.pay(this.paymentInfo(),r).subscribe({next:i=>{t.token=i,this.makePaymentAndRedirect(t)},error:()=>this.apmTokenError()})}else"googlepay"===t.name?this.googlePayService.pay(this.paymentInfo()).subscribe({next:r=>{t.token=r,this.makePaymentAndRedirect(t)},error:()=>this.apmTokenError()}):(this.windowService.tryOpenBlankWindow(j3(this.settings().language)),this.makePaymentAndRedirect(t));else this.context.updateCanShowErrorForApm(!0)}onFocus(t){this.context.events.analytics.emit(new gt(`${t.name}-button-focus`),!0)}apmsCollapseClick(){if(this.settings().apmsCollapse){const t=this.apmsCollapsed();this.sessionStorage.setItem(Jn.keys.apmsCollapse,!t),this.context.events.analytics.emit(new gt("apms-show-button-click",{show:t}))}}makePaymentAndRedirect(t){this.context.data.userProvidedInfo.update(i=>({...i,paymentSystemName:t.name,requisites:{type:"apm",value:t}}));const r=this.processingService.pay();this.context.data.state.set({type:"payLoading",payload:{observable:r}})}apmTokenError(){this.windowService.closeWindow(),this.context.data.state.set({type:"result",payload:{}})}static#e=this.\u0275fac=function(r){return new(r||e)(P(st),P(Fu),P(Hu),P(j_),P(B_),P(dm),P(lm))};static#t=this.\u0275cmp=ut({type:e,selectors:[["moto-apm-list"]],decls:10,vars:7,consts:[["apmDefaultRef",""],["applePayRef",""],["googlePayRef",""],["class","__ndb-apm-list",4,"let"],[1,"__ndb-apm-list"],[1,"__ndb-apm-list__delimiter"],[1,"__ndb-apm-list-apms"],["id","apms-collapse-button",1,"__ndb-apm-list__delimiter-text","fz-12",3,"click","ngClass"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"__ndb-apm-list-apms__item",3,"focusin","click","id","ngClass"],[1,"__ndb-apm-list-apms__item-img",3,"src","alt"],["id","apm-applepay-button","motoApplePayButton","",1,"__ndb-apm-list-apms__item","moto-apple-pay-button",3,"buttonClick","focusin","ngClass"],["id","apm-googlepay-button","motoGooglePayButton","",1,"__ndb-apm-list-apms__item","moto-google-pay-button",3,"buttonClick","focusin","ngClass"]],template:function(r,i){if(1&r&&(hr(0)(1)(2),De(3,sz,3,2,"div",3)(4,az,2,4,"ng-template",null,0,Bh)(6,uz,1,1,"ng-template",null,1,Bh)(8,cz,1,1,"ng-template",null,2,Bh)),2&r){const o=Lh(7),s=Lh(9);Hn(i.apms()),N(),Hn(i.paymentAvailability()),N(),Hn(i.settings()),N(),ee("let",function IS(e,n,t,r,i){return AS(x(),wn(),e,n,t,r,i)}(4,tz,o,s))}},dependencies:[zv,hM,X$,Q$,J$],styles:['[_ngcontent-%COMP%]:root{--ndb-button-bg: #2c8ee8;--ndb-button-disabled-bg: rgba(201, 204, 216, .3);--ndb-button-hover-bg: #1467b4;--ndb-button-color: #fff;--ndb-card-border-color: #c9ccd8}.__ndb-apm-list__delimiter[_ngcontent-%COMP%]{margin-bottom:28px;display:flex;flex-direction:row;justify-content:center;align-items:center}.__ndb-apm-list__delimiter[_ngcontent-%COMP%]:before, .__ndb-apm-list__delimiter[_ngcontent-%COMP%]:after{content:"";height:1px;flex:1;background-color:#c9ccd8}.__ndb-apm-list__delimiter[_ngcontent-%COMP%]:before{margin-right:10px}.__ndb-apm-list__delimiter[_ngcontent-%COMP%]:after{margin-left:10px}.__ndb-apm-list__delimiter-text[_ngcontent-%COMP%]{font-weight:500;color:#636b8a}.__ndb-apm-list__delimiter-text__apms-collapse[_ngcontent-%COMP%]{-webkit-text-decoration:underline #636b8a dotted;text-decoration:underline #636b8a dotted;cursor:pointer;-webkit-user-select:none;user-select:none}.__ndb-apm-list-apms[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:10px}.__ndb-apm-list-apms__item[_ngcontent-%COMP%]{position:relative;width:100%;height:60px;display:flex;flex-direction:row;justify-content:center;align-items:center;background-color:#e8eaf3;transition:box-shadow .25s ease-out;will-change:box-shadow;border-radius:4px}.__ndb-apm-list-apms__item[_ngcontent-%COMP%]:hover:not(.disabled-element):not(.hidden-enabled-element){box-shadow:0 2px 3px #2f45704d}.__ndb-apm-list-apms__item[_ngcontent-%COMP%]:not(.disabled-element):not(.hidden-enabled-element){cursor:pointer}.__ndb-apm-list-apms__item-img[_ngcontent-%COMP%]{position:absolute;width:60%;height:100%;left:20%;top:0;object-fit:contain}.moto-apple-pay-button[_ngcontent-%COMP%]{--apple-pay-button-height: 60px;--apple-pay-button-width: 100%;width:100%;height:60px;padding:0}.moto-google-pay-button[_ngcontent-%COMP%]{width:100%;height:60px;padding:0}'],changeDetection:0})}return e})();function lz(e,n){if(1&e){const t=sn();G(0,"label",3)(1,"input",4),ov("ngModelChange",function(i){Ne(t);const o=Z().$implicit;return function CS(e,n){const t=oD(e);return t&&e.set(n),t}(o.value,i)||(o.value=i),Oe(i)}),be("ngModelChange",function(){Ne(t);const i=Z(),o=i.$implicit,s=i.$index;return Oe(Z(2).onChange(o,s))})("focusin",function(){Ne(t);const i=Z(),o=i.$implicit,s=i.$index;return Oe(Z(2).onFocus(o,s))}),U(),He(2,"span",5)(3,"span",6),it(4,"linkify"),U()}if(2&e){const t=Z().$implicit;N(),ee("name","user-preference-"+t.name)("id","user-preference-"+t.name),iv("ngModel",t.value),N(2),ee("innerHTML",hn(4,4,t.text,"__ndb-settings-checkboxes-checkbox-link fz-12 fw-500 font-description"),_o)}}function dz(e,n){1&e&&De(0,lz,5,7,"label",3),2&e&&Le(n.$implicit.text?0:-1)}function fz(e,n){if(1&e&&(G(0,"div",1),Wr(1,dz,1,1,null,null,Wi),U()),2&e){const t=Z();N(),qr(t.userPreferenceCheckboxes)}}function hz(e,n){1&e&&(He(0,"p",2),it(1,"linkify")),2&e&&(Z(),ee("innerHTML",hn(1,1,At(0).userPreferences.text,"fz-12 fw-500 font-description"),_o))}let U3=(()=>{class e extends Hp{constructor(t,r){super(t),this.injector=t,this.context=r,this.userPreferenceCheckboxes=[]}ngOnInit(){this.settings=this.context.data.settings,this.update(this.settings().userPreferences)}reset(){this.update(this.settings().userPreferences)}onChange(t,r){this.context.data.userProvidedInfo.update(o=>({...o,userPreferences:this.userPreferenceCheckboxes}));this.context.events.analytics.emit(new gt(t.value?`user-preference-checkbox-${r}-check`:`user-preference-checkbox-${r}-uncheck`,{name:t.name,text:t.text}))}onFocus(t,r){this.context.events.analytics.emit(new gt(`user-preference-checkbox-${r}-focus`,{name:t.name,text:t.text}),!0)}update(t){t?.checkboxes?.length?(this.userPreferenceCheckboxes=t.checkboxes.map(r=>({name:r.name,text:r.text,value:!!r.defaultValue})),this.context.data.userProvidedInfo.update(r=>({...r,userPreferences:this.userPreferenceCheckboxes})),this.localDetect()):this.userPreferenceCheckboxes=[]}static#e=this.\u0275fac=function(r){return new(r||e)(P(Ke),P(st))};static#t=this.\u0275cmp=ut({type:e,selectors:[["moto-user-preferences"]],features:[Fe],decls:4,vars:3,consts:[[1,"__ndb-settings"],[1,"__ndb-settings-checkboxes"],[1,"__ndb-settings-text","fz-11","fw-500",3,"innerHTML"],[1,"__ndb-settings-checkboxes-checkbox","fz-11","fw-500","font-description"],["type","checkbox",1,"__ndb-settings-checkboxes-checkbox-input",3,"ngModelChange","focusin","name","id","ngModel"],[1,"__ndb-settings-checkboxes-checkbox-checkmark"],[1,"__ndb-settings-checkboxes-checkbox-text",3,"innerHTML"]],template:function(r,i){if(1&r&&(hr(0),G(1,"div",0),De(2,fz,3,0,"div",1)(3,hz,2,4,"p",2),U()),2&r){const o=Hn(i.settings());N(2),Le(i.userPreferenceCheckboxes.length?2:-1),N(),Le(null!=o&&null!=o.userPreferences&&o.userPreferences.text?3:-1)}},dependencies:[Gp,Lu,nm,cm],styles:[".__ndb-settings-checkboxes-checkbox-checkmark[_ngcontent-%COMP%]{border-radius:2px}"],changeDetection:0})}return e})();function pz(e,n){1&e&&(G(0,"span",4),fe(1,"\xb7"),U())}function mz(e,n){if(1&e&&(G(0,"a",3),fe(1),U(),De(2,pz,2,0,"span",4)),2&e){const t=n.$implicit,r=n.$index,i=n.$count;ee("href",t.href,el),N(),lt(" ",t.text," "),N(),Le(r!==i-1?2:-1)}}function gz(e,n){if(1&e&&(G(0,"div",1),Wr(1,mz,3,3,null,null,Wi),U()),2&e){Z(2);const t=At(0);N(),qr(t.links)}}function yz(e,n){1&e&&(He(0,"p",2),it(1,"linkify")),2&e&&(Z(2),ee("innerHTML",hn(1,1,At(0).text,"__ndb-merchant-info-checkbox-link fz-12 fw-500 font-description"),_o))}function vz(e,n){if(1&e&&(G(0,"div",0),De(1,gz,3,0,"div",1)(2,yz,2,4,"p",2),U()),2&e){Z();const t=At(0);N(),Le(null!=t.links&&t.links.length?1:-1),N(),Le(t.text?2:-1)}}let $3=(()=>{class e{constructor(t){this.context=t}ngOnInit(){this.settings=this.context.data.settings}static#e=this.\u0275fac=function(r){return new(r||e)(P(st))};static#t=this.\u0275cmp=ut({type:e,selectors:[["moto-merchant-info"]],decls:2,vars:2,consts:[[1,".__ndb-merchant-info"],[1,"__ndb-merchant-info-links"],[1,"__ndb-merchant-info-description","fz-11","fw-500","font-description",3,"innerHTML"],["target","_blank",1,"__ndb-merchant-info-links-link","fz-12","fw-500","font-description",3,"href"],[1,"__ndb-merchant-info-links-separator","fz-12","fw-500","font-description"]],template:function(r,i){if(1&r&&(hr(0),De(1,vz,3,2,"div",0)),2&r){const o=Hn(i.settings().merchantInfo);N(),Le(null!=o.links&&o.links.length||o.text?1:-1)}},dependencies:[cm],styles:["[_ngcontent-%COMP%]:root{--ndb-button-bg: #2c8ee8;--ndb-button-disabled-bg: rgba(201, 204, 216, .3);--ndb-button-hover-bg: #1467b4;--ndb-button-color: #fff;--ndb-card-border-color: #c9ccd8}.__ndb-merchant-info[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:28px;padding:0 28px 28px}@media (max-width: 768px){.__ndb-merchant-info[_ngcontent-%COMP%]{padding-bottom:14px}}.__ndb-merchant-info-links[_ngcontent-%COMP%]{display:flex;justify-content:center;flex-wrap:wrap}.__ndb-merchant-info-links-link[_ngcontent-%COMP%]{white-space:nowrap;text-decoration-line:underline}.__ndb-merchant-info-links-separator[_ngcontent-%COMP%]{margin:0 10px;white-space:nowrap}.__ndb-merchant-info-description[_ngcontent-%COMP%]{text-align:left;line-height:1.1;color:#000}"],changeDetection:0})}return e})(),z3=(()=>{class e{transform(t){return`https://cdn.motopays.com/images/${t}`}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275pipe=Nt({name:"image",type:e,pure:!0})}return e})();function _z(e,n){1&e&&(He(0,"moto-picture",3),it(1,"image")),2&e&&ee("src",Nl(1,1,"visa-secure.svg"))}function bz(e,n){1&e&&(He(0,"moto-picture",3),it(1,"image")),2&e&&ee("src",Nl(1,1,"master-card-secure.svg"))}function wz(e,n){if(1&e&&(G(0,"div",0)(1,"p",1),fe(2),U(),G(3,"div",2),De(4,_z,2,3,"moto-picture",3)(5,bz,2,3,"moto-picture",3),U()()),2&e){const t=Z();N(2),lt(" ",t.settings().language.transactionProtectedBy," "),N(2),Le(t.isVisaAvailable()?4:-1),N(),Le(t.isMastercardAvailable()?5:-1)}}let W3=(()=>{class e{constructor(t){this.context=t}ngOnInit(){this.settings=this.context.data.settings,this.isMastercardAvailable=Ve(()=>!!this.settings().availableCardBrands?.some(t=>"mastercard"===t)),this.isVisaAvailable=Ve(()=>!!this.settings().availableCardBrands?.some(t=>"visa"===t))}static#e=this.\u0275fac=function(r){return new(r||e)(P(st))};static#t=this.\u0275cmp=ut({type:e,selectors:[["moto-protected-by"]],decls:1,vars:1,consts:[[1,"__ndb-secure"],[1,"__ndb-secure-phrase","fz-12","fw-500","font-description"],[1,"__ndb-secure-logos"],[1,"__ndb-secure-logos-logo",3,"src"]],template:function(r,i){1&r&&De(0,wz,6,3,"div",0),2&r&&Le(i.isMastercardAvailable()||i.isVisaAvailable()?0:-1)},dependencies:[Pu,z3],styles:["[_ngcontent-%COMP%]:root{--ndb-button-bg: #2c8ee8;--ndb-button-disabled-bg: rgba(201, 204, 216, .3);--ndb-button-hover-bg: #1467b4;--ndb-button-color: #fff;--ndb-card-border-color: #c9ccd8}.__ndb-secure[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;gap:10px}.__ndb-secure-phrase[_ngcontent-%COMP%]{color:#000}.__ndb-secure-logos[_ngcontent-%COMP%]{display:flex;justify-content:center;gap:2px}.__ndb-secure-logos-logo[_ngcontent-%COMP%]{height:40px;width:max-content}"],changeDetection:0})}return e})(),q3=(()=>{class e{constructor(t){this.context=t}ngOnInit(){this.settings=this.context.data.settings}static#e=this.\u0275fac=function(r){return new(r||e)(P(st))};static#t=this.\u0275cmp=ut({type:e,selectors:[["moto-no-payments"]],decls:2,vars:1,consts:[[1,"__ndb-no-methods"]],template:function(r,i){1&r&&(G(0,"h2",0),fe(1),U()),2&r&&(N(),lt(" ",i.settings().language.noAvailablePaymentMethods,"\n"))},styles:[".__ndb-no-methods[_ngcontent-%COMP%]{text-align:center}"],changeDetection:0})}return e})(),Hu=(()=>{class e{mapApms(t){return t.map(r=>({...r}))}mapPaymentRequest(t,r,i,o){let s=t.details;r.userPreferences?.length&&(s=r.userPreferences.reduce((d,f)=>(d[f.name]=f.value,d),s||{}));const u={amount:t.amount,amountType:this.mapAmountType(t.amountType),tax:t.tax,currency:t.currency,description:t.description?.substring(0,127),details:s?JSON.stringify(s):void 0,type:this.mapOrderType(t.orderType)},c={id:t.userId,email:t.email,phoneNumber:r.phoneNumber??t.phoneNumber,ipAddress:t.ipAddress,deviceInfo:o,billingAddress:t.billingAddress};return{id:t.paymentId,initiator:this.mapInitiatorType(t.initiator)??"Customer",returnUrl:t.returnUrl,webhookUrl:t.webhookUrl,order:u,payer:c,requisites:this.mapRequisites(r.requisites),signature:t.signature,rejectionPreferences:{showResolvingTips:i.isProblemTipsListVisible??!1}}}mapComponents(t,r){return t.map(i=>{switch(i){case"available-card-brands":return{component:VI,visible:r.availableCardBrands};case"no-methods":return{component:q3,visible:r.noMethods};case"card-list":return{component:U_,visible:r.cardList};case"requisites":return{component:F3,visible:r.cardForm};case"phone-number":return{component:L3,visible:r.additionalForm};case"charge-terms":return{component:V3,visible:r.chargeTerms};case"pay-button":return{component:H3,visible:r.payButton};case"apm-list":return{component:G3,visible:r.apmList};case"user-preferences":return{component:U3,visible:r.userPreferences};case"merchant-info":return{component:$3,visible:r.merchantInfo};case"protected-by":return{component:W3,visible:r.protectedBy}}})}mapInterfaceSettingsToDomain(t){let r=t.languageSettings.code;t.languageSettings.languages[r]||(r="en-US");const i=t.languageSettings.languages[r],o=t.chargeTerms?{text:t.chargeTerms.text?t.chargeTerms.text[r]:void 0,checkboxes:t.chargeTerms.checkboxes?.length?t.chargeTerms.checkboxes.map(c=>c[r]).filter(c=>!!c):void 0}:void 0,s=t.userPreferences?{text:t.userPreferences.text?t.userPreferences.text[r]:void 0,checkboxes:t.userPreferences.checkboxes?.length?t.userPreferences.checkboxes.map(c=>({name:c.name,defaultValue:c.defaultValue,text:c.text[r]})).filter(c=>!!c.text):void 0}:void 0,u=t.merchantInfo?{links:t.merchantInfo.links?.length?t.merchantInfo.links.map(c=>({href:c.href,text:c.text[r]})).filter(c=>!!c.text):void 0,text:t.merchantInfo.text?t.merchantInfo.text[r]:void 0}:void 0;return{availableCardBrands:t.availableCardBrands,closePaymentRedirect:t.closePaymentRedirect,isTaxVisible:t.isTaxVisible,components:t.components,events:t.events,isCloseButtonVisible:t.isCloseButtonVisible,isHeaderVisible:t.isHeaderVisible,isProblemTipsListVisible:t.isProblemTipsListVisible,isSignatureRequired:t.isSignatureRequired,language:i??FI,requiredFieldsBehavior:{buttonStateUntilFilled:t.requiredFieldsBehavior.buttonStateUntilFilled,markAsInvalidUntilCorrect:t.requiredFieldsBehavior.markAsInvalidUntilCorrect,showStars:t.requiredFieldsBehavior.showStars},resultComponentsStructure:t.resultComponentsStructure,urls:t.urls,chargeTerms:o,userPreferences:s,merchantInfo:u,apmsCollapse:!!t.apmsCollapse,paymentFlow:{tokenizeCard:t.paymentFlow?.tokenizeCard??!0,type:t.paymentFlow?.type??"default"}}}mapRequisites(t){switch(t.type){case"apm":const r=t.value;return{type:r.name,paymentToken:r.token};case"existing-card":return{anchor:t.value.rebill,type:"rebill"};case"card":const o=t.value;return{cardHolder:o.holder,cardNumber:o.number,expiration:o.expiration,cvv:o.cvv,type:"card"};default:throw new Error("Unknown requisites type")}}mapInitiatorType(t){if(t){if("customer"===t)return"Customer";if("merchant"===t)return"Merchant";throw new Error("Unknown payment initiator type")}}mapAmountType(t){if(t){if("gross"===t)return"Gross";if("gross-without-gst"===t)return"GrossWithoutGst";if("net"===t)return"Net";throw new Error("Unknown amount type")}}mapOrderType(t){if(t){if("free-trial"===t)return"FreeTrial";if("regular"===t)return"Regular";if("gems"===t)return"Gems";throw new Error("Unknown order type")}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=q({token:e,factory:e.\u0275fac})}return e})(),Z3=(()=>{class e{constructor(t){this.mapper=t}preparePaymentOrError(t){let r=RI(t);return this.validatePayment(r)||(r.userAuthToken&&!/^[^\s]+\s+/i.test(r.userAuthToken)&&(r.userAuthToken=`Bearer ${r.userAuthToken}`),r.currency&&(r.currency=r.currency.toUpperCase()),r.amount=+r.amount,r.tax&&(r.tax=+r.tax),r)}prepareSettingsOrError(t){let r=RI(t);const i=this.validateSettings(r);if(i)return i;const o=xH(OH,r);return this.mapper.mapInterfaceSettingsToDomain(o)}validateModelsCompatibility(t,r){return!t.signature&&r.isSignatureRequired?"not-exist-signature":t.userAuthToken||"default"===r.paymentFlow.type?void 0:"not-exist-auth-for-payment-flow"}validatePayment(t){return t?t.userId?t.paymentId?t.merchantId?null==t.amount||null==t.amount?"not-exist-amount":t.email?t.currency?void 0:"not-exist-currency":"not-exist-email":"not-exist-merchant-id":"not-exist-payment-id":"not-exist-customer-id":"not-exist-payment"}validateSettings(t){return t?t.urls&&t.urls.billingProfiles&&t.urls.processing?void 0:"invalid-urls":"not-exist-settings"}static#e=this.\u0275fac=function(r){return new(r||e)(l(Hu))};static#t=this.\u0275prov=q({token:e,factory:e.\u0275fac})}return e})();function Cz(e,n){if(1&e){const t=sn();G(0,"div",2)(1,"i",3),be("click",function(){return Ne(t),Oe(Z().close())}),fe(2,"close"),U()()}if(2&e){let t;Z();const r=At(0);on("data-tooltip",null!==(t=null==r||null==r.language?null:r.language.close)&&void 0!==t?t:"Close")}}let Y3=(()=>{class e{constructor(t){this.context=t}ngOnInit(){this.settings=this.context.data.settings}close(){this.context.events.close.emit()}static#e=this.\u0275fac=function(r){return new(r||e)(P(st))};static#t=this.\u0275cmp=ut({type:e,selectors:[["moto-header"]],decls:5,vars:3,consts:[[1,"__ndb-header"],[1,"__ndb-header-title","fz-24","fw-700"],[1,"__ndb-header-close"],[1,"material-icons","pointer",3,"click"]],template:function(r,i){if(1&r&&(hr(0),G(1,"header",0)(2,"h6",1),fe(3),U(),De(4,Cz,3,1,"div",2),U()),2&r){let o,s;const u=Hn(i.settings());N(3),lt(" ",null!==(o=null==u||null==u.language?null:u.language.header)&&void 0!==o?o:"Checkout"," "),N(),Le(null===(s=null==u?null:u.isCloseButtonVisible)||void 0===s||s?4:-1)}},styles:["[_ngcontent-%COMP%]:root{--ndb-button-bg: #2c8ee8;--ndb-button-disabled-bg: rgba(201, 204, 216, .3);--ndb-button-hover-bg: #1467b4;--ndb-button-color: #fff;--ndb-card-border-color: #c9ccd8}.__ndb-header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;padding:28px;border-bottom:1px solid #c9ccd8}@media (max-width: 768px){.__ndb-header[_ngcontent-%COMP%]{padding:20px}}.__ndb-header-close[_ngcontent-%COMP%]{display:flex;align-items:center}"],changeDetection:0})}return e})(),K3=(()=>{class e{constructor(){this.shadow=!0}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=ut({type:e,selectors:[["moto-loader"]],hostVars:1,hostBindings:function(r,i){2&r&&xh("@ANFade",i.fadeAnimation)},inputs:{shadow:"shadow"},decls:3,vars:5,consts:[[1,"__ndb-loader"],["alt","spinner",1,"__ndb-loader-picture",3,"src"]],template:function(r,i){1&r&&(G(0,"div",0),He(1,"moto-picture",1),it(2,"image"),U()),2&r&&(Ur("shadow",i.shadow),N(),ee("src",Nl(2,3,"spinner-small.gif")))},dependencies:[Pu,z3],styles:[".__ndb-loader[_ngcontent-%COMP%]{border-radius:4px}.__ndb-loader[_ngcontent-%COMP%]:not(.shadow){height:40px;width:40px}.__ndb-loader.shadow[_ngcontent-%COMP%]{position:absolute;top:0;left:0;height:100%;width:100%;background-color:#fff9;display:flex}.__ndb-loader.shadow[_ngcontent-%COMP%] .__ndb-loader-picture[_ngcontent-%COMP%]{margin:auto;height:40px;width:40px}"],data:{animation:[ZH({animationName:"ANFade",fromStyles:{opacity:"0"},toStyles:{opacity:"1"}})]},changeDetection:0})}return e})();function Ez(e,n){1&e&&yu(0)}function Dz(e,n){1&e&&De(0,Ez,1,0,"ng-container",0),2&e&&ee("ngComponentOutlet",Z().$implicit.component)}function Sz(e,n){1&e&&De(0,Dz,1,1,"ng-container"),2&e&&Le(n.$implicit.visible()?0:-1)}function Tz(e,n){1&e&&He(0,"moto-loader")}let Mz=(()=>{class e{constructor(t,r,i){this.context=t,this.mapper=r,this.refreshService=i,this.components=[]}ngOnInit(){this.isLoaderShown=this.context.computed.isLoading,this.refreshService.refreshPaymentSystems(),this.refreshService.refreshExistingCards(),this.components=this.mapper.mapComponents(this.context.data.settings().components,this.context.visibility)}static#e=this.\u0275fac=function(r){return new(r||e)(P(st),P(Hu),P(H_))};static#t=this.\u0275cmp=ut({type:e,selectors:[["moto-pay-form"]],decls:3,vars:1,consts:[[4,"ngComponentOutlet"]],template:function(r,i){1&r&&(Wr(0,Sz,1,1,null,null,_4),De(2,Tz,1,0,"moto-loader")),2&r&&(qr(i.components),N(2),Le(i.isLoaderShown()?2:-1))},dependencies:[K3,Wv],styles:["[_nghost-%COMP%]{display:flex;gap:28px;flex-direction:column}"],changeDetection:0})}return e})();const X3={message:"You cannot make a payment!",errors:{"not-exist-payment":'Input parameter "payment" is required in the payment model',"not-exist-customer-id":'The field "userId" is required in the payment model',"not-exist-payment-id":"The field paymentId is required in the payment model","not-exist-settings":'Input parameter "settings" is required in the payment model',"not-exist-signature":'The field "signature" is configured as required in the payment model',"not-exist-amount":'The field "amount" is required in the payment model',"not-exist-currency":'The field "currency" is required in the payment model',"not-exist-email":'The field "email" is required in the payment model',"not-exist-merchant-id":'The field "merchant id" is required in the payment model',"invalid-urls":'The field "urls" is required and processing/billingProfiles must to be set',"not-exist-auth-for-payment-flow":'The field "userAuthToken" is required for selected payment flow'}};let Iz=(()=>{class e{constructor(t){this.context=t}ngOnInit(){const t=this.context.data.state().payload;this.error=X3.errors[t.error],this.message=X3.message}static#e=this.\u0275fac=function(r){return new(r||e)(P(st))};static#t=this.\u0275cmp=ut({type:e,selectors:[["moto-invalid-pay-form"]],decls:7,vars:2,consts:[[1,"__ndb-error-content"],[1,"material-icons-round","__ndb-error-content-icon"],[1,"__ndb-error-content-header","fz-24","fw-700"],[1,"__ndb-error-content-description","fz-14","fw-500","font-center"]],template:function(r,i){1&r&&(G(0,"div",0)(1,"i",1),fe(2,"cancel"),U(),G(3,"h6",2),fe(4),U(),G(5,"p",3),fe(6),U()()),2&r&&(N(4),Xt(i.error),N(2),lt(" ",i.message," "))},styles:[".__ndb-error-content[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;gap:10px;padding:28px}@media (max-width: 768px){.__ndb-error-content[_ngcontent-%COMP%]{padding:14px 20px}}.__ndb-error-content-icon[_ngcontent-%COMP%]{font-size:95px;color:#000;margin-bottom:10px}.__ndb-error-content-header[_ngcontent-%COMP%], .__ndb-error-content-description[_ngcontent-%COMP%]{width:100%;text-align:center}"],changeDetection:0})}return e})(),Pz=(()=>{class e{constructor(t,r,i,o){this.context=t,this.processing=r,this.sessionStorage=i,this.windowService=o}ngOnInit(){this.settings=this.context.data.settings,this.context.data.state().payload.observable.subscribe({next:r=>this.afterPay(r),error:r=>this.showResult(void 0,r)})}afterPay(t){"needAction"===t.payment?.state?(this.handleConfirmation(t.action),this.waitingPaymentCompleted(t)):(this.showResult(t),this.windowService.closeWindow())}handleConfirmation(t){switch(t.name){case"3ds":this.windowService.threeDsRedirect(t.data);break;case"redirect":this.windowService.redirect(t.data);break;default:throw new Error("Unexpected action name")}}waitingPaymentCompleted(t){(function jG(e,n,t){return e.pipe(St(r=>{if(n(r))return r;throw new Error(hP)}),function VG(e=1/0){let n;n=e&&"object"==typeof e?e:{count:e};const{count:t=1/0,delay:r,resetOnSuccess:i=!1}=n;return t<=0?Ho:mn((o,s)=>{let c,u=0;const d=()=>{let f=!1;c=o.subscribe(Kt(s,m=>{i&&(u=0),s.next(m)},void 0,m=>{if(u++<t){const g=()=>{c?(c.unsubscribe(),c=null,d()):f=!0};if(null!=r){const y="number"==typeof r?dP(r):Qr(r(m,u)),_=Kt(s,()=>{_.unsubscribe(),g()},()=>{s.complete()});y.subscribe(_)}else g()}else s.error(m)})),f&&(c.unsubscribe(),c=null,d())};d()})}({delay:r=>r.message==hP?dP(t):F_(()=>r)}))})(this.processing.getPaymentInfo(t.payment.paymentId),i=>"needAction"!=i.payment.state,1500).subscribe({next:i=>this.showResult(i),error:i=>{this.showResult(void 0,i),this.context.events.error.emit(i)}})}showResult(t,r){const i=this.settings();i.closePaymentRedirect&&this.windowService.closeWindow(),i.apmsCollapse&&t&&"rejected"===t.payment.state&&"card"===t.payment.info.paymentType&&this.sessionStorage.setItem(Jn.keys.apmsCollapse,!1),this.context.data.state.set({type:"result",payload:{result:t,error:r}}),t&&this.context.events.paid.emit(t)}static#e=this.\u0275fac=function(r){return new(r||e)(P(st),P(Fu),P(dm),P(lm))};static#t=this.\u0275cmp=ut({type:e,selectors:[["moto-processing"]],decls:12,vars:1,consts:[[1,"waiting"],[1,"section"],[1,"waiting__title"],[1,"section__content","__ndb-spinner-container"],[1,"spinner"],[1,"lds-ring"],[1,"spinner__extra"]],template:function(r,i){1&r&&(G(0,"div",0)(1,"div",1)(2,"h2",2),fe(3),U(),G(4,"div",3)(5,"div",4)(6,"div",5),He(7,"div")(8,"div")(9,"div")(10,"div"),U(),He(11,"div",6),U()()()()),2&r&&(N(3),Xt(i.settings().language.paymentProcessing))},styles:[".waiting__title[_ngcontent-%COMP%]{position:relative;z-index:101;font-family:Poppins,Helvetica,Arial,sans-serif;color:#29304d;font-size:16px;margin:0;text-align:center;transform:translateY(108px)}.__ndb__moto-modal-backdrop[_ngcontent-%COMP%]{background-color:#e5e5e5!important}.__ndb__moto-modal[_ngcontent-%COMP%] .header[_ngcontent-%COMP%]{margin:0}.section__content[_ngcontent-%COMP%]{margin:0 auto}.spinner[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:center;align-items:center;height:330px}.spinner_small[_ngcontent-%COMP%]{height:70px}.spinner_extra[_ngcontent-%COMP%]{height:550px}.lds-ring[_ngcontent-%COMP%]{display:inline-block;position:relative;width:80px;height:80px}.lds-ring[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{box-sizing:border-box;display:block;position:absolute;width:64px;height:64px;margin:8px;border:8px solid #6936d3;border-radius:50%;animation:_ngcontent-%COMP%_lds-ring 1.2s cubic-bezier(.5,0,.5,1) infinite;border-color:#6936d3 transparent transparent transparent}.lds-ring[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:nth-child(1){animation-delay:-.45s}.lds-ring[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:nth-child(2){animation-delay:-.3s}.lds-ring[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:nth-child(3){animation-delay:-.15s}@keyframes _ngcontent-%COMP%_lds-ring{0%{transform:rotate(0)}to{transform:rotate(360deg)}}"],changeDetection:0})}return e})();function Az(e,n){1&e&&yu(0)}function kz(e,n){1&e&&De(0,Az,1,0,"ng-container",5),2&e&&ee("ngComponentOutlet",Z().$implicit.component)}function xz(e,n){1&e&&De(0,kz,1,1,"ng-container"),2&e&&Le(n.$implicit.visible()?0:-1)}function Nz(e,n){if(1&e&&(G(0,"p",3),fe(1),U()),2&e){const t=Z();N(),lt(" ",t.resultModel.description," ")}}function Oz(e,n){if(1&e&&(G(0,"li",6)(1,"p",7),fe(2),U()()),2&e){const t=n.$implicit;N(2),lt(" ",t," ")}}function Rz(e,n){if(1&e&&(G(0,"ul",4),Wr(1,Oz,3,1,"li",6,Wi),U()),2&e){const t=Z();N(),qr(null==t.paymentResult.payment.rejectionDetails?null:t.paymentResult.payment.rejectionDetails.problemSolvingTips)}}function Fz(e,n){1&e&&yu(0)}function Lz(e,n){1&e&&De(0,Fz,1,0,"ng-container",5),2&e&&ee("ngComponentOutlet",Z().$implicit.component)}function Vz(e,n){1&e&&De(0,Lz,1,1,"ng-container"),2&e&&Le(n.$implicit.visible()?0:-1)}let jz=(()=>{class e{constructor(t,r){this.context=t,this.mapper=r,this.aboveComponents=[],this.belowComponents=[]}ngOnInit(){const t=this.context.data.state().payload;this.paymentResult=t.result,this.error=t.error,this.settings=this.context.data.settings,this.resultModel=this.getResultModel(),this.initAdditionalComponents()}getResultModel(){const t=this.settings().language;if(!this.paymentResult||this.error)return{icon:"cancel",title:t.paymentResult.failure.main,description:t.paymentResult.failure.paymentFailed};switch(this.paymentResult.payment.state){case"completed":return{icon:"check_circle",description:void 0,title:t.paymentResult.success};case"rejected":return{icon:"cancel",title:t.paymentResult.failure.main,description:t.paymentResult.failure.paymentFailed};default:throw new Error("unknown result")}}initAdditionalComponents(){const t=this.settings().resultComponentsStructure;t.aboveResult.length&&(this.aboveComponents=this.mapper.mapComponents(t.aboveResult,this.context.visibility)),t.belowResult.length&&(this.belowComponents=this.mapper.mapComponents(t.belowResult,this.context.visibility))}static#e=this.\u0275fac=function(r){return new(r||e)(P(st),P(Hu))};static#t=this.\u0275cmp=ut({type:e,selectors:[["moto-result"]],decls:11,vars:4,consts:[[1,"__ndb-result"],[1,"material-icons-round","__ndb-result-icon"],[1,"__ndb-result-header","fz-24","fw-700"],[1,"__ndb-result-description","fz-14","fw-500","font-center"],[1,"__ndb-result-tips"],[4,"ngComponentOutlet"],[1,"__ndb-result-tips-tip"],[1,"__ndb-result-tips-tip-text","fz-11","fw-500","font-center"]],template:function(r,i){1&r&&(Wr(0,xz,1,1,null,null,Wi),G(2,"div",0)(3,"i",1),fe(4),U(),G(5,"h6",2),fe(6),U(),De(7,Nz,2,1,"p",3)(8,Rz,3,0,"ul",4),U(),Wr(9,Vz,1,1,null,null,Wi)),2&r&&(qr(i.aboveComponents),N(4),Xt(i.resultModel.icon),N(2),Xt(i.resultModel.title),N(),Le(i.resultModel.description?7:-1),N(),Le(i.paymentResult&&i.settings().isProblemTipsListVisible&&null!=i.paymentResult.payment.rejectionDetails&&null!=i.paymentResult.payment.rejectionDetails.problemSolvingTips&&i.paymentResult.payment.rejectionDetails.problemSolvingTips.length?8:-1),N(),qr(i.belowComponents))},dependencies:[Wv],styles:["[_nghost-%COMP%]{display:flex;gap:28px;flex-direction:column}.__ndb-result[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;gap:10px}@media (max-width: 768px){.__ndb-result[_ngcontent-%COMP%]{padding:14px 20px}}.__ndb-result-icon[_ngcontent-%COMP%]{font-size:95px;color:#000;margin-bottom:10px}.__ndb-result-header[_ngcontent-%COMP%], .__ndb-result-description[_ngcontent-%COMP%]{width:100%;text-align:center}.__ndb-result-tips[_ngcontent-%COMP%]{gap:5px;padding-inline-start:0px}.__ndb-result-tips-tip[_ngcontent-%COMP%]{list-style-type:disc}.__ndb-result-tips-tip-text[_ngcontent-%COMP%]{width:100%;text-align:left}"],changeDetection:0})}return e})();function Bz(e,n){1&e&&He(0,"moto-header")}function Hz(e,n){1&e&&He(0,"moto-pay-form")}function Gz(e,n){1&e&&He(0,"moto-invalid-pay-form")}function Uz(e,n){1&e&&He(0,"moto-processing")}function $z(e,n){1&e&&He(0,"moto-result")}function zz(e,n){}let Wz=(()=>{class e{constructor(t,r,i){this.context=t,this.dataHandler=r,this.sessionStorage=i,this.state=this.context.data.state,this.closeEvent=t.events.close.emitter,this.paidEvent=t.events.paid.emitter,this.analyticsEvent=t.events.analytics.emitter,this.error=t.events.error.emitter,Ov(()=>{this.context.computed.isLoading()?this.context.events.analytics.emit(new gt("init-start")):this.context.events.analytics.emit(new gt("loading-finish"))})}ngOnInit(){this.closeEvent=this.context.events.close.emitter,this.analyticsEvent=this.context.events.analytics.emitter,this.paidEvent=this.context.events.paid.emitter,this.error=this.context.events.error.emitter,AH().subscribe(t=>{this.context.data.deviceInfo.set(t)}),this.settingsSignal=Ve(()=>this.context.data.settings())}ngOnChanges(t){if(t.payment){const r=this.dataHandler.preparePaymentOrError(t.payment.currentValue);if("string"==typeof r)return void this.state.set({type:"invalid",payload:{error:r}});this.context.data.payment.set(r)}if(t.settings){const r=this.dataHandler.prepareSettingsOrError(t.settings.currentValue);if("string"==typeof r)return void this.state.set({type:"invalid",payload:{error:r}});this.context.data.settings.set(r)}this.validate(!!t.settings||!!t.payment)}ngOnDestroy(){this.context.data.settings()?.apmsCollapse&&this.sessionStorage.removeItem(Jn.keys.apmsCollapse)}validate(t){const r=this.context.data.settings(),i=this.context.data.payment(),o=this.dataHandler.validateModelsCompatibility(i,r);o?this.state.set({type:"invalid",payload:{error:o}}):(this.applySettings(),this.context.callbacks.createInvoice=this.createInvoice?s=>this.createInvoice(s):void 0,this.context.callbacks.makePayment=this.makePayment?s=>this.makePayment(s):void 0,this.context.data.settings()?.requiredFieldsBehavior?.markAsInvalidUntilCorrect?this.context.updateCanShowError(!0):this.context.updateCanShowError(!1),t&&this.context.data.userProvidedInfo.set({}),this.state.set({type:"correct",payload:{}}))}applySettings(){const t=this.context.data.settings(),r=t.components,i=this.context.componentsStates;(!t.availableCardBrands.length||!r.some(o=>"available-card-brands"===o))&&i.availableCardBrands.update(o=>({...o,enabled:!1,isRequired:!1})),(!t.chargeTerms?.checkboxes?.length&&!t.chargeTerms?.text||!r.some(o=>"charge-terms"===o))&&i.chargeTerms.update(o=>({...o,enabled:!1,isRequired:!1})),(!t.userPreferences?.checkboxes?.length&&!t.userPreferences?.text||!r.some(o=>"user-preferences"===o))&&i.userPreferences.update(o=>({...o,enabled:!1,isRequired:!1})),r.some(o=>"phone-number"===o)||i.additionalForm.update(o=>({...o,enabled:!1,isRequired:!1})),(!t.merchantInfo?.text&&!t.merchantInfo?.links?.length||!r.some(o=>"merchant-info"===o))&&i.merchantInfo.update(o=>({...o,enabled:!1,isRequired:!1})),r.some(o=>"apm-list"===o)||i.apmList.update(o=>({...o,enabled:!1,isRequired:!1})),r.some(o=>"requisites"===o)||i.cardForm.update(o=>({...o,enabled:!1,isRequired:!1})),r.some(o=>"card-list"===o)||i.cardList.update(o=>({...o,enabled:!1,isRequired:!1})),r.some(o=>"pay-button"===o)||i.payButton.update(o=>({...o,enabled:!1,isRequired:!1})),(!t.availableCardBrands.length||!r.some(o=>"protected-by"===o))&&i.protectedBy.update(o=>({...o,enabled:!1,isRequired:!1})),this.context.events.analytics.emitEnabled=t.events.analytics.required,this.context.events.analytics.optionalEmitEnabled=t.events.analytics.optional,this.context.events.error.emitEnabled=t.events.error,t.apmsCollapse&&this.sessionStorage.getOrSetItemSignal(Jn.keys.apmsCollapse,!0)}static#e=this.\u0275fac=function(r){return new(r||e)(P(st),P(Z3),P(dm))};static#t=this.\u0275cmp=ut({type:e,selectors:[["moto-payment-form"]],inputs:{payment:"payment",settings:"settings",createInvoice:"createInvoice",makePayment:"makePayment"},outputs:{closeEvent:"close",paidEvent:"paid",analyticsEvent:"analyticsTracked",error:"error"},features:[jr],decls:9,vars:2,consts:[[1,"__ndb-wrapper"],[1,"__ndb-wrapper-content"],[1,"__ndb-wrapper-content-main"]],template:function(r,i){if(1&r&&(G(0,"div",0)(1,"div",1),De(2,Bz,1,0,"moto-header"),G(3,"div",2),De(4,Hz,1,0,"moto-pay-form")(5,Gz,1,0,"moto-invalid-pay-form")(6,Uz,1,0,"moto-processing")(7,$z,1,0,"moto-result")(8,zz,0,0),U()()()),2&r){let o,s;N(2),Le(null===(o=null==(o=i.settingsSignal())?null:o.isHeaderVisible)||void 0===o||o?2:-1),N(2),Le("correct"===(s=i.state().type)?4:"invalid"===s?5:"payLoading"===s?6:"result"===s?7:"empty"===s?8:-1)}},dependencies:[Y3,Mz,Iz,Pz,jz],styles:["[_ngcontent-%COMP%]:root{--ndb-button-bg: #2c8ee8;--ndb-button-disabled-bg: rgba(201, 204, 216, .3);--ndb-button-hover-bg: #1467b4;--ndb-button-color: #fff;--ndb-card-border-color: #c9ccd8}.__ndb-wrapper[_ngcontent-%COMP%]{max-width:560px;width:100%;margin:0 auto;transition:max-width .3s cubic-bezier(.25,.1,.25,1)}@media (max-width: 768px){.__ndb-wrapper[_ngcontent-%COMP%]{max-width:318px}}.__ndb-wrapper-content[_ngcontent-%COMP%]{margin:0 auto;position:relative;border:1px solid #c9ccd8;box-shadow:inset 0 -1px #29304d1a;border-radius:4px}.__ndb-wrapper-content-main[_ngcontent-%COMP%]{padding:28px;gap:40px;flex-direction:column;display:flex}"],changeDetection:0})}return e})(),Q3=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Ut({type:e});static#n=this.\u0275inj=Ct({})}return e})();function J3(e){return new k(3e3,!1)}function Oo(e){switch(e.length){case 0:return new Ql;case 1:return e[0];default:return new jI(e)}}function eA(e,n,t=new Map,r=new Map){const i=[],o=[];let s=-1,u=null;if(n.forEach(c=>{const d=c.get("offset"),f=d==s,m=f&&u||new Map;c.forEach((g,y)=>{let _=y,C=g;if("offset"!==y)switch(_=e.normalizePropertyName(_,i),C){case"!":C=t.get(y);break;case Ki:C=r.get(y);break;default:C=e.normalizeStyleValue(y,_,C,i)}m.set(_,C)}),f||o.push(m),u=m,s=d}),i.length)throw function mW(){return new k(3502,!1)}();return o}function db(e,n,t,r){switch(n){case"start":e.onStart(()=>r(t&&fb(t,"start",e)));break;case"done":e.onDone(()=>r(t&&fb(t,"done",e)));break;case"destroy":e.onDestroy(()=>r(t&&fb(t,"destroy",e)))}}function fb(e,n,t){const o=hb(e.element,e.triggerName,e.fromState,e.toState,n||e.phaseName,t.totalTime??e.totalTime,!!t.disabled),s=e._data;return null!=s&&(o._data=s),o}function hb(e,n,t,r,i="",o=0,s){return{element:e,triggerName:n,fromState:t,toState:r,phaseName:i,totalTime:o,disabled:!!s}}function rr(e,n,t){let r=e.get(n);return r||e.set(n,r=t),r}function tA(e){const n=e.indexOf(":");return[e.substring(1,n),e.slice(n+1)]}const MW=typeof document>"u"?null:document.documentElement;function pb(e){const n=e.parentNode||e.host||null;return n===MW?null:n}let js=null,nA=!1;function rA(e,n){for(;n;){if(n===e)return!0;n=pb(n)}return!1}function iA(e,n,t){if(t)return Array.from(e.querySelectorAll(n));const r=e.querySelector(n);return r?[r]:[]}let mb=(()=>{class e{validateStyleProperty(t){return function PW(e){js||(js=function AW(){return typeof document<"u"?document.body:null}()||{},nA=!!js.style&&"WebkitAppearance"in js.style);let n=!0;return js.style&&!function IW(e){return"ebkit"==e.substring(1,6)}(e)&&(n=e in js.style,!n&&nA&&(n="Webkit"+e.charAt(0).toUpperCase()+e.slice(1)in js.style)),n}(t)}containsElement(t,r){return rA(t,r)}getParentElement(t){return pb(t)}query(t,r,i){return iA(t,r,i)}computeStyle(t,r,i){return i||""}animate(t,r,i,o,s,u=[],c){return new Ql(i,o)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=q({token:e,factory:e.\u0275fac})}return e})();class gb{static#e=this.NOOP=new mb}class yb{}const xW=1e3,vb="ng-enter",fm="ng-leave",hm="ng-trigger",pm=".ng-trigger",sA="ng-animating",_b=".ng-animating";function eo(e){if("number"==typeof e)return e;const n=e.match(/^(-?[\.\d]+)(m?s)/);return!n||n.length<2?0:bb(parseFloat(n[1]),n[2])}function bb(e,n){return"s"===n?e*xW:e}function mm(e,n,t){return e.hasOwnProperty("duration")?e:function OW(e,n,t){let i,o=0,s="";if("string"==typeof e){const u=e.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===u)return n.push(J3()),{duration:0,delay:0,easing:""};i=bb(parseFloat(u[1]),u[2]);const c=u[3];null!=c&&(o=bb(parseFloat(c),u[4]));const d=u[5];d&&(s=d)}else i=e;if(!t){let u=!1,c=n.length;i<0&&(n.push(function qz(){return new k(3100,!1)}()),u=!0),o<0&&(n.push(function Zz(){return new k(3101,!1)}()),u=!0),u&&n.splice(c,0,J3())}return{duration:i,delay:o,easing:s}}(e,n,t)}function Mi(e,n,t){n.forEach((r,i)=>{const o=Cb(i);t&&!t.has(i)&&t.set(i,e.style[o]),e.style[o]=r})}function Bs(e,n){n.forEach((t,r)=>{const i=Cb(r);e.style[i]=""})}function fd(e){return Array.isArray(e)?1==e.length?e[0]:function BH(e,n=null){return{type:he.Sequence,steps:e,options:n}}(e):e}const wb=new RegExp("{{\\s*(.+?)\\s*}}","g");function uA(e){let n=[];if("string"==typeof e){let t;for(;t=wb.exec(e);)n.push(t[1]);wb.lastIndex=0}return n}function hd(e,n,t){const r=`${e}`,i=r.replace(wb,(o,s)=>{let u=n[s];return null==u&&(t.push(function Kz(){return new k(3003,!1)}()),u=""),u.toString()});return i==r?e:i}const LW=/-+([a-z0-9])/g;function Cb(e){return e.replace(LW,(...n)=>n[1].toUpperCase())}function ir(e,n,t){switch(n.type){case he.Trigger:return e.visitTrigger(n,t);case he.State:return e.visitState(n,t);case he.Transition:return e.visitTransition(n,t);case he.Sequence:return e.visitSequence(n,t);case he.Group:return e.visitGroup(n,t);case he.Animate:return e.visitAnimate(n,t);case he.Keyframes:return e.visitKeyframes(n,t);case he.Style:return e.visitStyle(n,t);case he.Reference:return e.visitReference(n,t);case he.AnimateChild:return e.visitAnimateChild(n,t);case he.AnimateRef:return e.visitAnimateRef(n,t);case he.Query:return e.visitQuery(n,t);case he.Stagger:return e.visitStagger(n,t);default:throw function Xz(){return new k(3004,!1)}()}}function Eb(e,n){return window.getComputedStyle(e)[n]}const BW=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class cA extends yb{normalizePropertyName(n,t){return Cb(n)}normalizeStyleValue(n,t,r,i){let o="";const s=r.toString().trim();if(BW.has(t)&&0!==r&&"0"!==r)if("number"==typeof r)o="px";else{const u=r.match(/^[+-]?[\d\.]+([a-z]*)$/);u&&0==u[1].length&&i.push(function Qz(){return new k(3005,!1)}())}return s+o}}const gm="*";const ym=new Set(["true","1"]),vm=new Set(["false","0"]);function lA(e,n){const t=ym.has(e)||vm.has(e),r=ym.has(n)||vm.has(n);return(i,o)=>{let s=e==gm||e==i,u=n==gm||n==o;return!s&&t&&"boolean"==typeof i&&(s=i?ym.has(e):vm.has(e)),!u&&r&&"boolean"==typeof o&&(u=o?ym.has(n):vm.has(n)),s&&u}}const $W=new RegExp("s*:selfs*,?","g");function Db(e,n,t,r){return new zW(e).build(n,t,r)}class zW{constructor(n){this._driver=n}build(n,t,r){const i=new ZW(t);return this._resetContextStyleTimingState(i),ir(this,fd(n),i)}_resetContextStyleTimingState(n){n.currentQuerySelector="",n.collectedStyles=new Map,n.collectedStyles.set("",new Map),n.currentTime=0}visitTrigger(n,t){let r=t.queryCount=0,i=t.depCount=0;const o=[],s=[];return"@"==n.name.charAt(0)&&t.errors.push(function Jz(){return new k(3006,!1)}()),n.definitions.forEach(u=>{if(this._resetContextStyleTimingState(t),u.type==he.State){const c=u,d=c.name;d.toString().split(/\s*,\s*/).forEach(f=>{c.name=f,o.push(this.visitState(c,t))}),c.name=d}else if(u.type==he.Transition){const c=this.visitTransition(u,t);r+=c.queryCount,i+=c.depCount,s.push(c)}else t.errors.push(function eW(){return new k(3007,!1)}())}),{type:he.Trigger,name:n.name,states:o,transitions:s,queryCount:r,depCount:i,options:null}}visitState(n,t){const r=this.visitStyle(n.styles,t),i=n.options&&n.options.params||null;if(r.containsDynamicStyles){const o=new Set,s=i||{};r.styles.forEach(u=>{u instanceof Map&&u.forEach(c=>{uA(c).forEach(d=>{s.hasOwnProperty(d)||o.add(d)})})}),o.size&&t.errors.push(function tW(){return new k(3008,!1)}(0,o.values()))}return{type:he.State,name:n.name,style:r,options:i?{params:i}:null}}visitTransition(n,t){t.queryCount=0,t.depCount=0;const r=ir(this,fd(n.animation),t),i=function HW(e,n){const t=[];return"string"==typeof e?e.split(/\s*,\s*/).forEach(r=>function GW(e,n,t){if(":"==e[0]){const c=function UW(e,n){switch(e){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,r)=>parseFloat(r)>parseFloat(t);case":decrement":return(t,r)=>parseFloat(r)<parseFloat(t);default:return n.push(function dW(){return new k(3016,!1)}()),"* => *"}}(e,t);if("function"==typeof c)return void n.push(c);e=c}const r=e.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==r||r.length<4)return t.push(function lW(){return new k(3015,!1)}()),n;const i=r[1],o=r[2],s=r[3];n.push(lA(i,s)),"<"==o[0]&&(i!=gm||s!=gm)&&n.push(lA(s,i))}(r,t,n)):t.push(e),t}(n.expr,t.errors);return{type:he.Transition,matchers:i,animation:r,queryCount:t.queryCount,depCount:t.depCount,options:Hs(n.options)}}visitSequence(n,t){return{type:he.Sequence,steps:n.steps.map(r=>ir(this,r,t)),options:Hs(n.options)}}visitGroup(n,t){const r=t.currentTime;let i=0;const o=n.steps.map(s=>{t.currentTime=r;const u=ir(this,s,t);return i=Math.max(i,t.currentTime),u});return t.currentTime=i,{type:he.Group,steps:o,options:Hs(n.options)}}visitAnimate(n,t){const r=function KW(e,n){if(e.hasOwnProperty("duration"))return e;if("number"==typeof e)return Sb(mm(e,n).duration,0,"");const t=e;if(t.split(/\s+/).some(o=>"{"==o.charAt(0)&&"{"==o.charAt(1))){const o=Sb(0,0,"");return o.dynamic=!0,o.strValue=t,o}const i=mm(t,n);return Sb(i.duration,i.delay,i.easing)}(n.timings,t.errors);t.currentAnimateTimings=r;let i,o=n.styles?n.styles:Et({});if(o.type==he.Keyframes)i=this.visitKeyframes(o,t);else{let s=n.styles,u=!1;if(!s){u=!0;const d={};r.easing&&(d.easing=r.easing),s=Et(d)}t.currentTime+=r.duration+r.delay;const c=this.visitStyle(s,t);c.isEmptyStep=u,i=c}return t.currentAnimateTimings=null,{type:he.Animate,timings:r,style:i,options:null}}visitStyle(n,t){const r=this._makeStyleAst(n,t);return this._validateStyleAst(r,t),r}_makeStyleAst(n,t){const r=[],i=Array.isArray(n.styles)?n.styles:[n.styles];for(let u of i)"string"==typeof u?u===Ki?r.push(u):t.errors.push(new k(3002,!1)):r.push(new Map(Object.entries(u)));let o=!1,s=null;return r.forEach(u=>{if(u instanceof Map&&(u.has("easing")&&(s=u.get("easing"),u.delete("easing")),!o))for(let c of u.values())if(c.toString().indexOf("{{")>=0){o=!0;break}}),{type:he.Style,styles:r,easing:s,offset:n.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(n,t){const r=t.currentAnimateTimings;let i=t.currentTime,o=t.currentTime;r&&o>0&&(o-=r.duration+r.delay),n.styles.forEach(s=>{"string"!=typeof s&&s.forEach((u,c)=>{const d=t.collectedStyles.get(t.currentQuerySelector),f=d.get(c);let m=!0;f&&(o!=i&&o>=f.startTime&&i<=f.endTime&&(t.errors.push(function rW(){return new k(3010,!1)}()),m=!1),o=f.startTime),m&&d.set(c,{startTime:o,endTime:i}),t.options&&function FW(e,n,t){const r=n.params||{},i=uA(e);i.length&&i.forEach(o=>{r.hasOwnProperty(o)||t.push(function Yz(){return new k(3001,!1)}())})}(u,t.options,t.errors)})})}visitKeyframes(n,t){const r={type:he.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(function iW(){return new k(3011,!1)}()),r;let o=0;const s=[];let u=!1,c=!1,d=0;const f=n.steps.map(I=>{const T=this._makeStyleAst(I,t);let R=null!=T.offset?T.offset:function YW(e){if("string"==typeof e)return null;let n=null;if(Array.isArray(e))e.forEach(t=>{if(t instanceof Map&&t.has("offset")){const r=t;n=parseFloat(r.get("offset")),r.delete("offset")}});else if(e instanceof Map&&e.has("offset")){const t=e;n=parseFloat(t.get("offset")),t.delete("offset")}return n}(T.styles),L=0;return null!=R&&(o++,L=T.offset=R),c=c||L<0||L>1,u=u||L<d,d=L,s.push(L),T});c&&t.errors.push(function oW(){return new k(3012,!1)}()),u&&t.errors.push(function sW(){return new k(3200,!1)}());const m=n.steps.length;let g=0;o>0&&o<m?t.errors.push(function aW(){return new k(3202,!1)}()):0==o&&(g=1/(m-1));const y=m-1,_=t.currentTime,C=t.currentAnimateTimings,S=C.duration;return f.forEach((I,T)=>{const R=g>0?T==y?1:g*T:s[T],L=R*S;t.currentTime=_+C.delay+L,C.duration=L,this._validateStyleAst(I,t),I.offset=R,r.styles.push(I)}),r}visitReference(n,t){return{type:he.Reference,animation:ir(this,fd(n.animation),t),options:Hs(n.options)}}visitAnimateChild(n,t){return t.depCount++,{type:he.AnimateChild,options:Hs(n.options)}}visitAnimateRef(n,t){return{type:he.AnimateRef,animation:this.visitReference(n.animation,t),options:Hs(n.options)}}visitQuery(n,t){const r=t.currentQuerySelector,i=n.options||{};t.queryCount++,t.currentQuery=n;const[o,s]=function WW(e){const n=!!e.split(/\s*,\s*/).find(t=>":self"==t);return n&&(e=e.replace($W,"")),e=e.replace(/@\*/g,pm).replace(/@\w+/g,t=>pm+"-"+t.slice(1)).replace(/:animating/g,_b),[e,n]}(n.selector);t.currentQuerySelector=r.length?r+" "+o:o,rr(t.collectedStyles,t.currentQuerySelector,new Map);const u=ir(this,fd(n.animation),t);return t.currentQuery=null,t.currentQuerySelector=r,{type:he.Query,selector:o,limit:i.limit||0,optional:!!i.optional,includeSelf:s,animation:u,originalSelector:n.selector,options:Hs(n.options)}}visitStagger(n,t){t.currentQuery||t.errors.push(function uW(){return new k(3013,!1)}());const r="full"===n.timings?{duration:0,delay:0,easing:"full"}:mm(n.timings,t.errors,!0);return{type:he.Stagger,animation:ir(this,fd(n.animation),t),timings:r,options:null}}}class ZW{constructor(n){this.errors=n,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function Hs(e){return e?(e={...e}).params&&(e.params=function qW(e){return e?{...e}:null}(e.params)):e={},e}function Sb(e,n,t){return{duration:e,delay:n,easing:t}}function Tb(e,n,t,r,i,o,s=null,u=!1){return{type:1,element:e,keyframes:n,preStyleProps:t,postStyleProps:r,duration:i,delay:o,totalTime:i+o,easing:s,subTimeline:u}}class _m{constructor(){this._map=new Map}get(n){return this._map.get(n)||[]}append(n,t){let r=this._map.get(n);r||this._map.set(n,r=[]),r.push(...t)}has(n){return this._map.has(n)}clear(){this._map.clear()}}const JW=new RegExp(":enter","g"),tq=new RegExp(":leave","g");function Mb(e,n,t,r,i,o=new Map,s=new Map,u,c,d=[]){return(new nq).buildKeyframes(e,n,t,r,i,o,s,u,c,d)}class nq{buildKeyframes(n,t,r,i,o,s,u,c,d,f=[]){d=d||new _m;const m=new Ib(n,t,d,i,o,f,[]);m.options=c;const g=c.delay?eo(c.delay):0;m.currentTimeline.delayNextStep(g),m.currentTimeline.setStyles([s],null,m.errors,c),ir(this,r,m);const y=m.timelines.filter(_=>_.containsAnimation());if(y.length&&u.size){let _;for(let C=y.length-1;C>=0;C--){const S=y[C];if(S.element===t){_=S;break}}_&&!_.allowOnlyTimelineStyles()&&_.setStyles([u],null,m.errors,c)}return y.length?y.map(_=>_.buildKeyframes()):[Tb(t,[],[],[],0,g,"",!1)]}visitTrigger(n,t){}visitState(n,t){}visitTransition(n,t){}visitAnimateChild(n,t){const r=t.subInstructions.get(t.element);if(r){const i=t.createSubContext(n.options),o=t.currentTimeline.currentTime,s=this._visitSubInstructions(r,i,i.options);o!=s&&t.transformIntoNewTimeline(s)}t.previousNode=n}visitAnimateRef(n,t){const r=t.createSubContext(n.options);r.transformIntoNewTimeline(),this._applyAnimationRefDelays([n.options,n.animation.options],t,r),this.visitReference(n.animation,r),t.transformIntoNewTimeline(r.currentTimeline.currentTime),t.previousNode=n}_applyAnimationRefDelays(n,t,r){for(const i of n){const o=i?.delay;if(o){const s="number"==typeof o?o:eo(hd(o,i?.params??{},t.errors));r.delayNextStep(s)}}}_visitSubInstructions(n,t,r){let o=t.currentTimeline.currentTime;const s=null!=r.duration?eo(r.duration):null,u=null!=r.delay?eo(r.delay):null;return 0!==s&&n.forEach(c=>{const d=t.appendInstructionToTimeline(c,s,u);o=Math.max(o,d.duration+d.delay)}),o}visitReference(n,t){t.updateOptions(n.options,!0),ir(this,n.animation,t),t.previousNode=n}visitSequence(n,t){const r=t.subContextCount;let i=t;const o=n.options;if(o&&(o.params||o.delay)&&(i=t.createSubContext(o),i.transformIntoNewTimeline(),null!=o.delay)){i.previousNode.type==he.Style&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=bm);const s=eo(o.delay);i.delayNextStep(s)}n.steps.length&&(n.steps.forEach(s=>ir(this,s,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>r&&i.transformIntoNewTimeline()),t.previousNode=n}visitGroup(n,t){const r=[];let i=t.currentTimeline.currentTime;const o=n.options&&n.options.delay?eo(n.options.delay):0;n.steps.forEach(s=>{const u=t.createSubContext(n.options);o&&u.delayNextStep(o),ir(this,s,u),i=Math.max(i,u.currentTimeline.currentTime),r.push(u.currentTimeline)}),r.forEach(s=>t.currentTimeline.mergeTimelineCollectedStyles(s)),t.transformIntoNewTimeline(i),t.previousNode=n}_visitTiming(n,t){if(n.dynamic){const r=n.strValue;return mm(t.params?hd(r,t.params,t.errors):r,t.errors)}return{duration:n.duration,delay:n.delay,easing:n.easing}}visitAnimate(n,t){const r=t.currentAnimateTimings=this._visitTiming(n.timings,t),i=t.currentTimeline;r.delay&&(t.incrementTime(r.delay),i.snapshotCurrentStyles());const o=n.style;o.type==he.Keyframes?this.visitKeyframes(o,t):(t.incrementTime(r.duration),this.visitStyle(o,t),i.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=n}visitStyle(n,t){const r=t.currentTimeline,i=t.currentAnimateTimings;!i&&r.hasCurrentStyleProperties()&&r.forwardFrame();const o=i&&i.easing||n.easing;n.isEmptyStep?r.applyEmptyStep(o):r.setStyles(n.styles,o,t.errors,t.options),t.previousNode=n}visitKeyframes(n,t){const r=t.currentAnimateTimings,i=t.currentTimeline.duration,o=r.duration,u=t.createSubContext().currentTimeline;u.easing=r.easing,n.styles.forEach(c=>{u.forwardTime((c.offset||0)*o),u.setStyles(c.styles,c.easing,t.errors,t.options),u.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(u),t.transformIntoNewTimeline(i+o),t.previousNode=n}visitQuery(n,t){const r=t.currentTimeline.currentTime,i=n.options||{},o=i.delay?eo(i.delay):0;o&&(t.previousNode.type===he.Style||0==r&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=bm);let s=r;const u=t.invokeQuery(n.selector,n.originalSelector,n.limit,n.includeSelf,!!i.optional,t.errors);t.currentQueryTotal=u.length;let c=null;u.forEach((d,f)=>{t.currentQueryIndex=f;const m=t.createSubContext(n.options,d);o&&m.delayNextStep(o),d===t.element&&(c=m.currentTimeline),ir(this,n.animation,m),m.currentTimeline.applyStylesToKeyframe(),s=Math.max(s,m.currentTimeline.currentTime)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(s),c&&(t.currentTimeline.mergeTimelineCollectedStyles(c),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=n}visitStagger(n,t){const r=t.parentContext,i=t.currentTimeline,o=n.timings,s=Math.abs(o.duration),u=s*(t.currentQueryTotal-1);let c=s*t.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":c=u-c;break;case"full":c=r.currentStaggerTime}const f=t.currentTimeline;c&&f.delayNextStep(c);const m=f.currentTime;ir(this,n.animation,t),t.previousNode=n,r.currentStaggerTime=i.currentTime-m+(i.startTime-r.currentTimeline.startTime)}}const bm={};class Ib{constructor(n,t,r,i,o,s,u,c){this._driver=n,this.element=t,this.subInstructions=r,this._enterClassName=i,this._leaveClassName=o,this.errors=s,this.timelines=u,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=bm,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=c||new wm(this._driver,t,0),u.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(n,t){if(!n)return;const r=n;let i=this.options;null!=r.duration&&(i.duration=eo(r.duration)),null!=r.delay&&(i.delay=eo(r.delay));const o=r.params;if(o){let s=i.params;s||(s=this.options.params={}),Object.keys(o).forEach(u=>{(!t||!s.hasOwnProperty(u))&&(s[u]=hd(o[u],s,this.errors))})}}_copyOptions(){const n={};if(this.options){const t=this.options.params;if(t){const r=n.params={};Object.keys(t).forEach(i=>{r[i]=t[i]})}}return n}createSubContext(n=null,t,r){const i=t||this.element,o=new Ib(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,r||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(n),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(n){return this.previousNode=bm,this.currentTimeline=this.currentTimeline.fork(this.element,n),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(n,t,r){const i={duration:t??n.duration,delay:this.currentTimeline.currentTime+(r??0)+n.delay,easing:""},o=new rq(this._driver,n.element,n.keyframes,n.preStyleProps,n.postStyleProps,i,n.stretchStartingKeyframe);return this.timelines.push(o),i}incrementTime(n){this.currentTimeline.forwardTime(this.currentTimeline.duration+n)}delayNextStep(n){n>0&&this.currentTimeline.delayNextStep(n)}invokeQuery(n,t,r,i,o,s){let u=[];if(i&&u.push(this.element),n.length>0){n=(n=n.replace(JW,"."+this._enterClassName)).replace(tq,"."+this._leaveClassName);let d=this._driver.query(this.element,n,1!=r);0!==r&&(d=r<0?d.slice(d.length+r,d.length):d.slice(0,r)),u.push(...d)}return!o&&0==u.length&&s.push(function cW(){return new k(3014,!1)}()),u}}class wm{constructor(n,t,r,i){this._driver=n,this.element=t,this.startTime=r,this._elementTimelineStylesLookup=i,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(n){const t=1===this._keyframes.size&&this._pendingStyles.size;this.duration||t?(this.forwardTime(this.currentTime+n),t&&this.snapshotCurrentStyles()):this.startTime+=n}fork(n,t){return this.applyStylesToKeyframe(),new wm(this._driver,n,t||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(n){this.applyStylesToKeyframe(),this.duration=n,this._loadKeyframe()}_updateStyle(n,t){this._localTimelineStyles.set(n,t),this._globalTimelineStyles.set(n,t),this._styleSummary.set(n,{time:this.currentTime,value:t})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(n){n&&this._previousKeyframe.set("easing",n);for(let[t,r]of this._globalTimelineStyles)this._backFill.set(t,r||Ki),this._currentKeyframe.set(t,Ki);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(n,t,r,i){t&&this._previousKeyframe.set("easing",t);const o=i&&i.params||{},s=function iq(e,n){const t=new Map;let r;return e.forEach(i=>{if("*"===i){r??=n.keys();for(let o of r)t.set(o,Ki)}else for(let[o,s]of i)t.set(o,s)}),t}(n,this._globalTimelineStyles);for(let[u,c]of s){const d=hd(c,o,r);this._pendingStyles.set(u,d),this._localTimelineStyles.has(u)||this._backFill.set(u,this._globalTimelineStyles.get(u)??Ki),this._updateStyle(u,d)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((n,t)=>{this._currentKeyframe.set(t,n)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((n,t)=>{this._currentKeyframe.has(t)||this._currentKeyframe.set(t,n)}))}snapshotCurrentStyles(){for(let[n,t]of this._localTimelineStyles)this._pendingStyles.set(n,t),this._updateStyle(n,t)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const n=[];for(let t in this._currentKeyframe)n.push(t);return n}mergeTimelineCollectedStyles(n){n._styleSummary.forEach((t,r)=>{const i=this._styleSummary.get(r);(!i||t.time>i.time)&&this._updateStyle(r,t.value)})}buildKeyframes(){this.applyStylesToKeyframe();const n=new Set,t=new Set,r=1===this._keyframes.size&&0===this.duration;let i=[];this._keyframes.forEach((u,c)=>{const d=new Map([...this._backFill,...u]);d.forEach((f,m)=>{"!"===f?n.add(m):f===Ki&&t.add(m)}),r||d.set("offset",c/this.duration),i.push(d)});const o=[...n.values()],s=[...t.values()];if(r){const u=i[0],c=new Map(u);u.set("offset",0),c.set("offset",1),i=[u,c]}return Tb(this.element,i,o,s,this.duration,this.startTime,this.easing,!1)}}class rq extends wm{constructor(n,t,r,i,o,s,u=!1){super(n,t,s.delay),this.keyframes=r,this.preStyleProps=i,this.postStyleProps=o,this._stretchStartingKeyframe=u,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let n=this.keyframes,{delay:t,duration:r,easing:i}=this.timings;if(this._stretchStartingKeyframe&&t){const o=[],s=r+t,u=t/s,c=new Map(n[0]);c.set("offset",0),o.push(c);const d=new Map(n[0]);d.set("offset",hA(u)),o.push(d);const f=n.length-1;for(let m=1;m<=f;m++){let g=new Map(n[m]);const y=g.get("offset");g.set("offset",hA((t+y*r)/s)),o.push(g)}r=s,t=0,i="",n=o}return Tb(this.element,n,this.preStyleProps,this.postStyleProps,r,t,i,!0)}}function hA(e,n=3){const t=Math.pow(10,n-1);return Math.round(e*t)/t}function pA(e,n,t,r,i,o,s,u,c,d,f,m,g){return{type:0,element:e,triggerName:n,isRemovalTransition:i,fromState:t,fromStyles:o,toState:r,toStyles:s,timelines:u,queriedElements:c,preStyleProps:d,postStyleProps:f,totalTime:m,errors:g}}const Pb={};class mA{constructor(n,t,r){this._triggerName=n,this.ast=t,this._stateStyles=r}match(n,t,r,i){return function oq(e,n,t,r,i){return e.some(o=>o(n,t,r,i))}(this.ast.matchers,n,t,r,i)}buildStyles(n,t,r){let i=this._stateStyles.get("*");return void 0!==n&&(i=this._stateStyles.get(n?.toString())||i),i?i.buildStyles(t,r):new Map}build(n,t,r,i,o,s,u,c,d,f){const m=[],g=this.ast.options&&this.ast.options.params||Pb,_=this.buildStyles(r,u&&u.params||Pb,m),C=c&&c.params||Pb,S=this.buildStyles(i,C,m),I=new Set,T=new Map,R=new Map,L="void"===i,j={params:gA(C,g),delay:this.ast.options?.delay},X=f?[]:Mb(n,t,this.ast.animation,o,s,_,S,j,d,m);let re=0;return X.forEach(Q=>{re=Math.max(Q.duration+Q.delay,re)}),m.length?pA(t,this._triggerName,r,i,L,_,S,[],[],T,R,re,m):(X.forEach(Q=>{const vt=Q.element,Dt=rr(T,vt,new Set);Q.preStyleProps.forEach(Pn=>Dt.add(Pn));const kt=rr(R,vt,new Set);Q.postStyleProps.forEach(Pn=>kt.add(Pn)),vt!==t&&I.add(vt)}),pA(t,this._triggerName,r,i,L,_,S,X,[...I.values()],T,R,re))}}function gA(e,n){const t={...n};return Object.entries(e).forEach(([r,i])=>{null!=i&&(t[r]=i)}),t}class sq{constructor(n,t,r){this.styles=n,this.defaultParams=t,this.normalizer=r}buildStyles(n,t){const r=new Map,i=gA(n,this.defaultParams);return this.styles.styles.forEach(o=>{"string"!=typeof o&&o.forEach((s,u)=>{s&&(s=hd(s,i,t));const c=this.normalizer.normalizePropertyName(u,t);s=this.normalizer.normalizeStyleValue(u,c,s,t),r.set(u,s)})}),r}}class uq{constructor(n,t,r){this.name=n,this.ast=t,this._normalizer=r,this.transitionFactories=[],this.states=new Map,t.states.forEach(i=>{this.states.set(i.name,new sq(i.style,i.options&&i.options.params||{},r))}),yA(this.states,"true","1"),yA(this.states,"false","0"),t.transitions.forEach(i=>{this.transitionFactories.push(new mA(n,i,this.states))}),this.fallbackTransition=function cq(e,n){return new mA(e,{type:he.Transition,animation:{type:he.Sequence,steps:[],options:null},matchers:[(s,u)=>!0],options:null,queryCount:0,depCount:0},n)}(n,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(n,t,r,i){return this.transitionFactories.find(s=>s.match(n,t,r,i))||null}matchStyles(n,t,r){return this.fallbackTransition.buildStyles(n,t,r)}}function yA(e,n,t){e.has(n)?e.has(t)||e.set(t,e.get(n)):e.has(t)&&e.set(n,e.get(t))}const lq=new _m;class dq{constructor(n,t,r){this.bodyNode=n,this._driver=t,this._normalizer=r,this._animations=new Map,this._playersById=new Map,this.players=[]}register(n,t){const r=[],o=Db(this._driver,t,r,[]);if(r.length)throw function gW(){return new k(3503,!1)}();this._animations.set(n,o)}_buildPlayer(n,t,r){const i=n.element,o=eA(this._normalizer,n.keyframes,t,r);return this._driver.animate(i,o,n.duration,n.delay,n.easing,[],!0)}create(n,t,r={}){const i=[],o=this._animations.get(n);let s;const u=new Map;if(o?(s=Mb(this._driver,t,o,vb,fm,new Map,new Map,r,lq,i),s.forEach(f=>{const m=rr(u,f.element,new Map);f.postStyleProps.forEach(g=>m.set(g,null))})):(i.push(function yW(){return new k(3300,!1)}()),s=[]),i.length)throw function vW(){return new k(3504,!1)}();u.forEach((f,m)=>{f.forEach((g,y)=>{f.set(y,this._driver.computeStyle(m,y,Ki))})});const d=Oo(s.map(f=>{const m=u.get(f.element);return this._buildPlayer(f,new Map,m)}));return this._playersById.set(n,d),d.onDestroy(()=>this.destroy(n)),this.players.push(d),d}destroy(n){const t=this._getPlayer(n);t.destroy(),this._playersById.delete(n);const r=this.players.indexOf(t);r>=0&&this.players.splice(r,1)}_getPlayer(n){const t=this._playersById.get(n);if(!t)throw function _W(){return new k(3301,!1)}();return t}listen(n,t,r,i){const o=hb(t,"","","");return db(this._getPlayer(n),r,o,i),()=>{}}command(n,t,r,i){if("register"==r)return void this.register(n,i[0]);if("create"==r)return void this.create(n,t,i[0]||{});const o=this._getPlayer(n);switch(r){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(n)}}}const vA="ng-animate-queued",Ab="ng-animate-disabled",gq=[],_A={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},yq={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},ri="__ng_removed";class kb{get params(){return this.options.params}constructor(n,t=""){this.namespaceId=t;const r=n&&n.hasOwnProperty("value");if(this.value=function wq(e){return e??null}(r?n.value:n),r){const{value:o,...s}=n;this.options=s}else this.options={};this.options.params||(this.options.params={})}absorbOptions(n){const t=n.params;if(t){const r=this.options.params;Object.keys(t).forEach(i=>{null==r[i]&&(r[i]=t[i])})}}}const pd="void",xb=new kb(pd);class vq{constructor(n,t,r){this.id=n,this.hostElement=t,this._engine=r,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+n,br(t,this._hostClassName)}listen(n,t,r,i){if(!this._triggers.has(t))throw function bW(){return new k(3302,!1)}();if(null==r||0==r.length)throw function wW(){return new k(3303,!1)}();if(!function Cq(e){return"start"==e||"done"==e}(r))throw function CW(){return new k(3400,!1)}();const o=rr(this._elementListeners,n,[]),s={name:t,phase:r,callback:i};o.push(s);const u=rr(this._engine.statesByElement,n,new Map);return u.has(t)||(br(n,hm),br(n,hm+"-"+t),u.set(t,xb)),()=>{this._engine.afterFlush(()=>{const c=o.indexOf(s);c>=0&&o.splice(c,1),this._triggers.has(t)||u.delete(t)})}}register(n,t){return!this._triggers.has(n)&&(this._triggers.set(n,t),!0)}_getTrigger(n){const t=this._triggers.get(n);if(!t)throw function EW(){return new k(3401,!1)}();return t}trigger(n,t,r,i=!0){const o=this._getTrigger(t),s=new Nb(this.id,t,n);let u=this._engine.statesByElement.get(n);u||(br(n,hm),br(n,hm+"-"+t),this._engine.statesByElement.set(n,u=new Map));let c=u.get(t);const d=new kb(r,this.id);if(!(r&&r.hasOwnProperty("value"))&&c&&d.absorbOptions(c.options),u.set(t,d),c||(c=xb),d.value!==pd&&c.value===d.value){if(!function Sq(e,n){const t=Object.keys(e),r=Object.keys(n);if(t.length!=r.length)return!1;for(let i=0;i<t.length;i++){const o=t[i];if(!n.hasOwnProperty(o)||e[o]!==n[o])return!1}return!0}(c.params,d.params)){const C=[],S=o.matchStyles(c.value,c.params,C),I=o.matchStyles(d.value,d.params,C);C.length?this._engine.reportError(C):this._engine.afterFlush(()=>{Bs(n,S),Mi(n,I)})}return}const g=rr(this._engine.playersByElement,n,[]);g.forEach(C=>{C.namespaceId==this.id&&C.triggerName==t&&C.queued&&C.destroy()});let y=o.matchTransition(c.value,d.value,n,d.params),_=!1;if(!y){if(!i)return;y=o.fallbackTransition,_=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:t,transition:y,fromState:c,toState:d,player:s,isFallbackTransition:_}),_||(br(n,vA),s.onStart(()=>{Gu(n,vA)})),s.onDone(()=>{let C=this.players.indexOf(s);C>=0&&this.players.splice(C,1);const S=this._engine.playersByElement.get(n);if(S){let I=S.indexOf(s);I>=0&&S.splice(I,1)}}),this.players.push(s),g.push(s),s}deregister(n){this._triggers.delete(n),this._engine.statesByElement.forEach(t=>t.delete(n)),this._elementListeners.forEach((t,r)=>{this._elementListeners.set(r,t.filter(i=>i.name!=n))})}clearElementCache(n){this._engine.statesByElement.delete(n),this._elementListeners.delete(n);const t=this._engine.playersByElement.get(n);t&&(t.forEach(r=>r.destroy()),this._engine.playersByElement.delete(n))}_signalRemovalForInnerTriggers(n,t){const r=this._engine.driver.query(n,pm,!0);r.forEach(i=>{if(i[ri])return;const o=this._engine.fetchNamespacesByElement(i);o.size?o.forEach(s=>s.triggerLeaveAnimation(i,t,!1,!0)):this.clearElementCache(i)}),this._engine.afterFlushAnimationsDone(()=>r.forEach(i=>this.clearElementCache(i)))}triggerLeaveAnimation(n,t,r,i){const o=this._engine.statesByElement.get(n),s=new Map;if(o){const u=[];if(o.forEach((c,d)=>{if(s.set(d,c.value),this._triggers.has(d)){const f=this.trigger(n,d,pd,i);f&&u.push(f)}}),u.length)return this._engine.markElementAsRemoved(this.id,n,!0,t,s),r&&Oo(u).onDone(()=>this._engine.processLeaveNode(n)),!0}return!1}prepareLeaveAnimationListeners(n){const t=this._elementListeners.get(n),r=this._engine.statesByElement.get(n);if(t&&r){const i=new Set;t.forEach(o=>{const s=o.name;if(i.has(s))return;i.add(s);const c=this._triggers.get(s).fallbackTransition,d=r.get(s)||xb,f=new kb(pd),m=new Nb(this.id,s,n);this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:s,transition:c,fromState:d,toState:f,player:m,isFallbackTransition:!0})})}}removeNode(n,t){const r=this._engine;if(n.childElementCount&&this._signalRemovalForInnerTriggers(n,t),this.triggerLeaveAnimation(n,t,!0))return;let i=!1;if(r.totalAnimations){const o=r.players.length?r.playersByQueriedElement.get(n):[];if(o&&o.length)i=!0;else{let s=n;for(;s=s.parentNode;)if(r.statesByElement.get(s)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(n),i)r.markElementAsRemoved(this.id,n,!1,t);else{const o=n[ri];(!o||o===_A)&&(r.afterFlush(()=>this.clearElementCache(n)),r.destroyInnerAnimations(n),r._onRemovalComplete(n,t))}}insertNode(n,t){br(n,this._hostClassName)}drainQueuedTransitions(n){const t=[];return this._queue.forEach(r=>{const i=r.player;if(i.destroyed)return;const o=r.element,s=this._elementListeners.get(o);s&&s.forEach(u=>{if(u.name==r.triggerName){const c=hb(o,r.triggerName,r.fromState.value,r.toState.value);c._data=n,db(r.player,u.phase,c,u.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):t.push(r)}),this._queue=[],t.sort((r,i)=>{const o=r.transition.ast.depCount,s=i.transition.ast.depCount;return 0==o||0==s?o-s:this._engine.driver.containsElement(r.element,i.element)?1:-1})}destroy(n){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,n)}}class _q{_onRemovalComplete(n,t){this.onRemovalComplete(n,t)}constructor(n,t,r){this.bodyNode=n,this.driver=t,this._normalizer=r,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(i,o)=>{}}get queuedPlayers(){const n=[];return this._namespaceList.forEach(t=>{t.players.forEach(r=>{r.queued&&n.push(r)})}),n}createNamespace(n,t){const r=new vq(n,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(r,t):(this.newHostElements.set(t,r),this.collectEnterElement(t)),this._namespaceLookup[n]=r}_balanceNamespaceList(n,t){const r=this._namespaceList,i=this.namespacesByHostElement;if(r.length-1>=0){let s=!1,u=this.driver.getParentElement(t);for(;u;){const c=i.get(u);if(c){const d=r.indexOf(c);r.splice(d+1,0,n),s=!0;break}u=this.driver.getParentElement(u)}s||r.unshift(n)}else r.push(n);return i.set(t,n),n}register(n,t){let r=this._namespaceLookup[n];return r||(r=this.createNamespace(n,t)),r}registerTrigger(n,t,r){let i=this._namespaceLookup[n];i&&i.register(t,r)&&this.totalAnimations++}destroy(n,t){n&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const r=this._fetchNamespace(n);this.namespacesByHostElement.delete(r.hostElement);const i=this._namespaceList.indexOf(r);i>=0&&this._namespaceList.splice(i,1),r.destroy(t),delete this._namespaceLookup[n]}))}_fetchNamespace(n){return this._namespaceLookup[n]}fetchNamespacesByElement(n){const t=new Set,r=this.statesByElement.get(n);if(r)for(let i of r.values())if(i.namespaceId){const o=this._fetchNamespace(i.namespaceId);o&&t.add(o)}return t}trigger(n,t,r,i){if(Cm(t)){const o=this._fetchNamespace(n);if(o)return o.trigger(t,r,i),!0}return!1}insertNode(n,t,r,i){if(!Cm(t))return;const o=t[ri];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;const s=this.collectedLeaveElements.indexOf(t);s>=0&&this.collectedLeaveElements.splice(s,1)}if(n){const s=this._fetchNamespace(n);s&&s.insertNode(t,r)}i&&this.collectEnterElement(t)}collectEnterElement(n){this.collectedEnterElements.push(n)}markElementAsDisabled(n,t){t?this.disabledNodes.has(n)||(this.disabledNodes.add(n),br(n,Ab)):this.disabledNodes.has(n)&&(this.disabledNodes.delete(n),Gu(n,Ab))}removeNode(n,t,r){if(Cm(t)){const i=n?this._fetchNamespace(n):null;i?i.removeNode(t,r):this.markElementAsRemoved(n,t,!1,r);const o=this.namespacesByHostElement.get(t);o&&o.id!==n&&o.removeNode(t,r)}else this._onRemovalComplete(t,r)}markElementAsRemoved(n,t,r,i,o){this.collectedLeaveElements.push(t),t[ri]={namespaceId:n,setForRemoval:i,hasAnimation:r,removedBeforeQueried:!1,previousTriggersValues:o}}listen(n,t,r,i,o){return Cm(t)?this._fetchNamespace(n).listen(t,r,i,o):()=>{}}_buildInstruction(n,t,r,i,o){return n.transition.build(this.driver,n.element,n.fromState.value,n.toState.value,r,i,n.fromState.options,n.toState.options,t,o)}destroyInnerAnimations(n){let t=this.driver.query(n,pm,!0);t.forEach(r=>this.destroyActiveAnimationsForElement(r)),0!=this.playersByQueriedElement.size&&(t=this.driver.query(n,_b,!0),t.forEach(r=>this.finishActiveQueriedAnimationOnElement(r)))}destroyActiveAnimationsForElement(n){const t=this.playersByElement.get(n);t&&t.forEach(r=>{r.queued?r.markedForDestroy=!0:r.destroy()})}finishActiveQueriedAnimationOnElement(n){const t=this.playersByQueriedElement.get(n);t&&t.forEach(r=>r.finish())}whenRenderingDone(){return new Promise(n=>{if(this.players.length)return Oo(this.players).onDone(()=>n());n()})}processLeaveNode(n){const t=n[ri];if(t&&t.setForRemoval){if(n[ri]=_A,t.namespaceId){this.destroyInnerAnimations(n);const r=this._fetchNamespace(t.namespaceId);r&&r.clearElementCache(n)}this._onRemovalComplete(n,t.setForRemoval)}n.classList?.contains(Ab)&&this.markElementAsDisabled(n,!1),this.driver.query(n,".ng-animate-disabled",!0).forEach(r=>{this.markElementAsDisabled(r,!1)})}flush(n=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((r,i)=>this._balanceNamespaceList(r,i)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let r=0;r<this.collectedEnterElements.length;r++)br(this.collectedEnterElements[r],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const r=[];try{t=this._flushAnimations(r,n)}finally{for(let i=0;i<r.length;i++)r[i]()}}else for(let r=0;r<this.collectedLeaveElements.length;r++)this.processLeaveNode(this.collectedLeaveElements[r]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(r=>r()),this._flushFns=[],this._whenQuietFns.length){const r=this._whenQuietFns;this._whenQuietFns=[],t.length?Oo(t).onDone(()=>{r.forEach(i=>i())}):r.forEach(i=>i())}}reportError(n){throw function DW(){return new k(3402,!1)}()}_flushAnimations(n,t){const r=new _m,i=[],o=new Map,s=[],u=new Map,c=new Map,d=new Map,f=new Set;this.disabledNodes.forEach(Y=>{f.add(Y);const te=this.driver.query(Y,".ng-animate-queued",!0);for(let ue=0;ue<te.length;ue++)f.add(te[ue])});const m=this.bodyNode,g=Array.from(this.statesByElement.keys()),y=CA(g,this.collectedEnterElements),_=new Map;let C=0;y.forEach((Y,te)=>{const ue=vb+C++;_.set(te,ue),Y.forEach(we=>br(we,ue))});const S=[],I=new Set,T=new Set;for(let Y=0;Y<this.collectedLeaveElements.length;Y++){const te=this.collectedLeaveElements[Y],ue=te[ri];ue&&ue.setForRemoval&&(S.push(te),I.add(te),ue.hasAnimation?this.driver.query(te,".ng-star-inserted",!0).forEach(we=>I.add(we)):T.add(te))}const R=new Map,L=CA(g,Array.from(I));L.forEach((Y,te)=>{const ue=fm+C++;R.set(te,ue),Y.forEach(we=>br(we,ue))}),n.push(()=>{y.forEach((Y,te)=>{const ue=_.get(te);Y.forEach(we=>Gu(we,ue))}),L.forEach((Y,te)=>{const ue=R.get(te);Y.forEach(we=>Gu(we,ue))}),S.forEach(Y=>{this.processLeaveNode(Y)})});const j=[],X=[];for(let Y=this._namespaceList.length-1;Y>=0;Y--)this._namespaceList[Y].drainQueuedTransitions(t).forEach(ue=>{const we=ue.player,Vt=ue.element;if(j.push(we),this.collectedEnterElements.length){const pn=Vt[ri];if(pn&&pn.setForMove){if(pn.previousTriggersValues&&pn.previousTriggersValues.has(ue.triggerName)){const Us=pn.previousTriggersValues.get(ue.triggerName),Er=this.statesByElement.get(ue.element);if(Er&&Er.has(ue.triggerName)){const Sm=Er.get(ue.triggerName);Sm.value=Us,Er.set(ue.triggerName,Sm)}}return void we.destroy()}}const Cr=!m||!this.driver.containsElement(m,Vt),An=R.get(Vt),Ii=_.get(Vt),dt=this._buildInstruction(ue,r,Ii,An,Cr);if(dt.errors&&dt.errors.length)return void X.push(dt);if(Cr)return we.onStart(()=>Bs(Vt,dt.fromStyles)),we.onDestroy(()=>Mi(Vt,dt.toStyles)),void i.push(we);if(ue.isFallbackTransition)return we.onStart(()=>Bs(Vt,dt.fromStyles)),we.onDestroy(()=>Mi(Vt,dt.toStyles)),void i.push(we);const Dm=[];dt.timelines.forEach(pn=>{pn.stretchStartingKeyframe=!0,this.disabledNodes.has(pn.element)||Dm.push(pn)}),dt.timelines=Dm,r.append(Vt,dt.timelines),s.push({instruction:dt,player:we,element:Vt}),dt.queriedElements.forEach(pn=>rr(u,pn,[]).push(we)),dt.preStyleProps.forEach((pn,Us)=>{if(pn.size){let Er=c.get(Us);Er||c.set(Us,Er=new Set),pn.forEach((Sm,Fb)=>Er.add(Fb))}}),dt.postStyleProps.forEach((pn,Us)=>{let Er=d.get(Us);Er||d.set(Us,Er=new Set),pn.forEach((Sm,Fb)=>Er.add(Fb))})});if(X.length){const Y=[];X.forEach(te=>{Y.push(function SW(){return new k(3505,!1)}())}),j.forEach(te=>te.destroy()),this.reportError(Y)}const re=new Map,Q=new Map;s.forEach(Y=>{const te=Y.element;r.has(te)&&(Q.set(te,te),this._beforeAnimationBuild(Y.player.namespaceId,Y.instruction,re))}),i.forEach(Y=>{const te=Y.element;this._getPreviousPlayers(te,!1,Y.namespaceId,Y.triggerName,null).forEach(we=>{rr(re,te,[]).push(we),we.destroy()})});const vt=S.filter(Y=>DA(Y,c,d)),Dt=new Map;wA(Dt,this.driver,T,d,Ki).forEach(Y=>{DA(Y,c,d)&&vt.push(Y)});const Pn=new Map;y.forEach((Y,te)=>{wA(Pn,this.driver,new Set(Y),c,"!")}),vt.forEach(Y=>{const te=Dt.get(Y),ue=Pn.get(Y);Dt.set(Y,new Map([...te?.entries()??[],...ue?.entries()??[]]))});const Ro=[],wr=[],Gs={};s.forEach(Y=>{const{element:te,player:ue,instruction:we}=Y;if(r.has(te)){if(f.has(te))return ue.onDestroy(()=>Mi(te,we.toStyles)),ue.disabled=!0,ue.overrideTotalTime(we.totalTime),void i.push(ue);let Vt=Gs;if(Q.size>1){let An=te;const Ii=[];for(;An=An.parentNode;){const dt=Q.get(An);if(dt){Vt=dt;break}Ii.push(An)}Ii.forEach(dt=>Q.set(dt,Vt))}const Cr=this._buildAnimation(ue.namespaceId,we,re,o,Pn,Dt);if(ue.setRealPlayer(Cr),Vt===Gs)Ro.push(ue);else{const An=this.playersByElement.get(Vt);An&&An.length&&(ue.parentPlayer=Oo(An)),i.push(ue)}}else Bs(te,we.fromStyles),ue.onDestroy(()=>Mi(te,we.toStyles)),wr.push(ue),f.has(te)&&i.push(ue)}),wr.forEach(Y=>{const te=o.get(Y.element);if(te&&te.length){const ue=Oo(te);Y.setRealPlayer(ue)}}),i.forEach(Y=>{Y.parentPlayer?Y.syncPlayerEvents(Y.parentPlayer):Y.destroy()});for(let Y=0;Y<S.length;Y++){const te=S[Y],ue=te[ri];if(Gu(te,fm),ue&&ue.hasAnimation)continue;let we=[];if(u.size){let Cr=u.get(te);Cr&&Cr.length&&we.push(...Cr);let An=this.driver.query(te,_b,!0);for(let Ii=0;Ii<An.length;Ii++){let dt=u.get(An[Ii]);dt&&dt.length&&we.push(...dt)}}const Vt=we.filter(Cr=>!Cr.destroyed);Vt.length?Eq(this,te,Vt):this.processLeaveNode(te)}return S.length=0,Ro.forEach(Y=>{this.players.push(Y),Y.onDone(()=>{Y.destroy();const te=this.players.indexOf(Y);this.players.splice(te,1)}),Y.play()}),Ro}afterFlush(n){this._flushFns.push(n)}afterFlushAnimationsDone(n){this._whenQuietFns.push(n)}_getPreviousPlayers(n,t,r,i,o){let s=[];if(t){const u=this.playersByQueriedElement.get(n);u&&(s=u)}else{const u=this.playersByElement.get(n);if(u){const c=!o||o==pd;u.forEach(d=>{d.queued||!c&&d.triggerName!=i||s.push(d)})}}return(r||i)&&(s=s.filter(u=>!(r&&r!=u.namespaceId||i&&i!=u.triggerName))),s}_beforeAnimationBuild(n,t,r){const o=t.element,s=t.isRemovalTransition?void 0:n,u=t.isRemovalTransition?void 0:t.triggerName;for(const c of t.timelines){const d=c.element,f=d!==o,m=rr(r,d,[]);this._getPreviousPlayers(d,f,s,u,t.toState).forEach(y=>{const _=y.getRealPlayer();_.beforeDestroy&&_.beforeDestroy(),y.destroy(),m.push(y)})}Bs(o,t.fromStyles)}_buildAnimation(n,t,r,i,o,s){const u=t.triggerName,c=t.element,d=[],f=new Set,m=new Set,g=t.timelines.map(_=>{const C=_.element;f.add(C);const S=C[ri];if(S&&S.removedBeforeQueried)return new Ql(_.duration,_.delay);const I=C!==c,T=function Dq(e){const n=[];return EA(e,n),n}((r.get(C)||gq).map(re=>re.getRealPlayer())).filter(re=>!!re.element&&re.element===C),R=o.get(C),L=s.get(C),j=eA(this._normalizer,_.keyframes,R,L),X=this._buildPlayer(_,j,T);if(_.subTimeline&&i&&m.add(C),I){const re=new Nb(n,u,C);re.setRealPlayer(X),d.push(re)}return X});d.forEach(_=>{rr(this.playersByQueriedElement,_.element,[]).push(_),_.onDone(()=>function bq(e,n,t){let r=e.get(n);if(r){if(r.length){const i=r.indexOf(t);r.splice(i,1)}0==r.length&&e.delete(n)}return r}(this.playersByQueriedElement,_.element,_))}),f.forEach(_=>br(_,sA));const y=Oo(g);return y.onDestroy(()=>{f.forEach(_=>Gu(_,sA)),Mi(c,t.toStyles)}),m.forEach(_=>{rr(i,_,[]).push(y)}),y}_buildPlayer(n,t,r){return t.length>0?this.driver.animate(n.element,t,n.duration,n.delay,n.easing,r):new Ql(n.duration,n.delay)}}class Nb{constructor(n,t,r){this.namespaceId=n,this.triggerName=t,this.element=r,this._player=new Ql,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(n){this._containsRealPlayer||(this._player=n,this._queuedCallbacks.forEach((t,r)=>{t.forEach(i=>db(n,r,void 0,i))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(n.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(n){this.totalTime=n}syncPlayerEvents(n){const t=this._player;t.triggerCallback&&n.onStart(()=>t.triggerCallback("start")),n.onDone(()=>this.finish()),n.onDestroy(()=>this.destroy())}_queueEvent(n,t){rr(this._queuedCallbacks,n,[]).push(t)}onDone(n){this.queued&&this._queueEvent("done",n),this._player.onDone(n)}onStart(n){this.queued&&this._queueEvent("start",n),this._player.onStart(n)}onDestroy(n){this.queued&&this._queueEvent("destroy",n),this._player.onDestroy(n)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(n){this.queued||this._player.setPosition(n)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(n){const t=this._player;t.triggerCallback&&t.triggerCallback(n)}}function Cm(e){return e&&1===e.nodeType}function bA(e,n){const t=e.style.display;return e.style.display=n??"none",t}function wA(e,n,t,r,i){const o=[];t.forEach(c=>o.push(bA(c)));const s=[];r.forEach((c,d)=>{const f=new Map;c.forEach(m=>{const g=n.computeStyle(d,m,i);f.set(m,g),(!g||0==g.length)&&(d[ri]=yq,s.push(d))}),e.set(d,f)});let u=0;return t.forEach(c=>bA(c,o[u++])),s}function CA(e,n){const t=new Map;if(e.forEach(u=>t.set(u,[])),0==n.length)return t;const i=new Set(n),o=new Map;function s(u){if(!u)return 1;let c=o.get(u);if(c)return c;const d=u.parentNode;return c=t.has(d)?d:i.has(d)?1:s(d),o.set(u,c),c}return n.forEach(u=>{const c=s(u);1!==c&&t.get(c).push(u)}),t}function br(e,n){e.classList?.add(n)}function Gu(e,n){e.classList?.remove(n)}function Eq(e,n,t){Oo(t).onDone(()=>e.processLeaveNode(n))}function EA(e,n){for(let t=0;t<e.length;t++){const r=e[t];r instanceof jI?EA(r.players,n):n.push(r)}}function DA(e,n,t){const r=t.get(e);if(!r)return!1;let i=n.get(e);return i?r.forEach(o=>i.add(o)):n.set(e,r),t.delete(e),!0}class md{constructor(n,t,r){this._driver=t,this._normalizer=r,this._triggerCache={},this.onRemovalComplete=(i,o)=>{},this._transitionEngine=new _q(n.body,t,r),this._timelineEngine=new dq(n.body,t,r),this._transitionEngine.onRemovalComplete=(i,o)=>this.onRemovalComplete(i,o)}registerTrigger(n,t,r,i,o){const s=n+"-"+i;let u=this._triggerCache[s];if(!u){const c=[],f=Db(this._driver,o,c,[]);if(c.length)throw function pW(){return new k(3404,!1)}();u=function aq(e,n,t){return new uq(e,n,t)}(i,f,this._normalizer),this._triggerCache[s]=u}this._transitionEngine.registerTrigger(t,i,u)}register(n,t){this._transitionEngine.register(n,t)}destroy(n,t){this._transitionEngine.destroy(n,t)}onInsert(n,t,r,i){this._transitionEngine.insertNode(n,t,r,i)}onRemove(n,t,r){this._transitionEngine.removeNode(n,t,r)}disableAnimations(n,t){this._transitionEngine.markElementAsDisabled(n,t)}process(n,t,r,i){if("@"==r.charAt(0)){const[o,s]=tA(r);this._timelineEngine.command(o,t,s,i)}else this._transitionEngine.trigger(n,t,r,i)}listen(n,t,r,i,o){if("@"==r.charAt(0)){const[s,u]=tA(r);return this._timelineEngine.listen(s,t,u,o)}return this._transitionEngine.listen(n,t,r,i,o)}flush(n=-1){this._transitionEngine.flush(n)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(n){this._transitionEngine.afterFlushAnimationsDone(n)}}class gd{static#e=this.initialStylesByElement=new WeakMap;constructor(n,t,r){this._element=n,this._startStyles=t,this._endStyles=r,this._state=0;let i=gd.initialStylesByElement.get(n);i||gd.initialStylesByElement.set(n,i=new Map),this._initialStyles=i}start(){this._state<1&&(this._startStyles&&Mi(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Mi(this._element,this._initialStyles),this._endStyles&&(Mi(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(gd.initialStylesByElement.delete(this._element),this._startStyles&&(Bs(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Bs(this._element,this._endStyles),this._endStyles=null),Mi(this._element,this._initialStyles),this._state=3)}}function Ob(e){let n=null;return e.forEach((t,r)=>{(function Mq(e){return"display"===e||"position"===e})(r)&&(n=n||new Map,n.set(r,t))}),n}class SA{constructor(n,t,r,i){this.element=n,this.keyframes=t,this.options=r,this._specialStyles=i,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=r.duration,this._delay=r.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const n=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,n,this.options),this._finalKeyframe=n.length?n[n.length-1]:new Map;const t=()=>this._onFinish();this.domPlayer.addEventListener("finish",t),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",t)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(n){const t=[];return n.forEach(r=>{t.push(Object.fromEntries(r))}),t}_triggerWebAnimation(n,t,r){return n.animate(this._convertKeyframesToObject(t),r)}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(n=>n()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}setPosition(n){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=n*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const n=new Map;this.hasStarted()&&this._finalKeyframe.forEach((r,i)=>{"offset"!==i&&n.set(i,this._finished?r:Eb(this.element,i))}),this.currentSnapshot=n}triggerCallback(n){const t="start"===n?this._onStartFns:this._onDoneFns;t.forEach(r=>r()),t.length=0}}class TA{validateStyleProperty(n){return!0}validateAnimatableStyleProperty(n){return!0}containsElement(n,t){return rA(n,t)}getParentElement(n){return pb(n)}query(n,t,r){return iA(n,t,r)}computeStyle(n,t,r){return Eb(n,t)}animate(n,t,r,i,o,s=[]){const c={duration:r,delay:i,fill:0==i?"both":"forwards"};o&&(c.easing=o);const d=new Map,f=s.filter(y=>y instanceof SA);(function VW(e,n){return 0===e||0===n})(r,i)&&f.forEach(y=>{y.currentSnapshot.forEach((_,C)=>d.set(C,_))});let m=function RW(e){return e.length?e[0]instanceof Map?e:e.map(n=>new Map(Object.entries(n))):[]}(t).map(y=>new Map(y));m=function jW(e,n,t){if(t.size&&n.length){let r=n[0],i=[];if(t.forEach((o,s)=>{r.has(s)||i.push(s),r.set(s,o)}),i.length)for(let o=1;o<n.length;o++){let s=n[o];i.forEach(u=>s.set(u,Eb(e,u)))}}return n}(n,m,d);const g=function Tq(e,n){let t=null,r=null;return Array.isArray(n)&&n.length?(t=Ob(n[0]),n.length>1&&(r=Ob(n[n.length-1]))):n instanceof Map&&(t=Ob(n)),t||r?new gd(e,t,r):null}(n,m);return new SA(n,m,c,g)}}const MA="@.disabled";class IA{constructor(n,t,r,i){this.namespaceId=n,this.delegate=t,this.engine=r,this._onDestroy=i,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(n){this.delegate.destroyNode?.(n)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(n,t){return this.delegate.createElement(n,t)}createComment(n){return this.delegate.createComment(n)}createText(n){return this.delegate.createText(n)}appendChild(n,t){this.delegate.appendChild(n,t),this.engine.onInsert(this.namespaceId,t,n,!1)}insertBefore(n,t,r,i=!0){this.delegate.insertBefore(n,t,r),this.engine.onInsert(this.namespaceId,t,n,i)}removeChild(n,t,r){this.parentNode(t)&&this.engine.onRemove(this.namespaceId,t,this.delegate)}selectRootElement(n,t){return this.delegate.selectRootElement(n,t)}parentNode(n){return this.delegate.parentNode(n)}nextSibling(n){return this.delegate.nextSibling(n)}setAttribute(n,t,r,i){this.delegate.setAttribute(n,t,r,i)}removeAttribute(n,t,r){this.delegate.removeAttribute(n,t,r)}addClass(n,t){this.delegate.addClass(n,t)}removeClass(n,t){this.delegate.removeClass(n,t)}setStyle(n,t,r,i){this.delegate.setStyle(n,t,r,i)}removeStyle(n,t,r){this.delegate.removeStyle(n,t,r)}setProperty(n,t,r){"@"==t.charAt(0)&&t==MA?this.disableAnimations(n,!!r):this.delegate.setProperty(n,t,r)}setValue(n,t){this.delegate.setValue(n,t)}listen(n,t,r){return this.delegate.listen(n,t,r)}disableAnimations(n,t){this.engine.disableAnimations(n,t)}}class Iq extends IA{constructor(n,t,r,i,o){super(t,r,i,o),this.factory=n,this.namespaceId=t}setProperty(n,t,r){"@"==t.charAt(0)?"."==t.charAt(1)&&t==MA?this.disableAnimations(n,r=void 0===r||!!r):this.engine.process(this.namespaceId,n,t.slice(1),r):this.delegate.setProperty(n,t,r)}listen(n,t,r){if("@"==t.charAt(0)){const i=function Pq(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}(n);let o=t.slice(1),s="";return"@"!=o.charAt(0)&&([o,s]=function Aq(e){const n=e.indexOf(".");return[e.substring(0,n),e.slice(n+1)]}(o)),this.engine.listen(this.namespaceId,i,o,s,u=>{this.factory.scheduleListenerCallback(u._data||-1,r,u)})}return this.delegate.listen(n,t,r)}}class kq{constructor(n,t,r){this.delegate=n,this.engine=t,this._zone=r,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,t.onRemovalComplete=(i,o)=>{o?.removeChild(null,i)}}createRenderer(n,t){const i=this.delegate.createRenderer(n,t);if(!n||!t?.data?.animation){const d=this._rendererCache;let f=d.get(i);return f||(f=new IA("",i,this.engine,()=>d.delete(i)),d.set(i,f)),f}const o=t.id,s=t.id+"-"+this._currentId;this._currentId++,this.engine.register(s,n);const u=d=>{Array.isArray(d)?d.forEach(u):this.engine.registerTrigger(o,s,n,d.name,d)};return t.data.animation.forEach(u),new Iq(this,s,i,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(n,t,r){if(n>=0&&n<this._microtaskId)return void this._zone.run(()=>t(r));const i=this._animationCallbacksBuffer;0==i.length&&queueMicrotask(()=>{this._zone.run(()=>{i.forEach(o=>{const[s,u]=o;s(u)}),this._animationCallbacksBuffer=[]})}),i.push([t,r])}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}const PA=[{provide:yb,useFactory:function Nq(){return new cA}},{provide:md,useClass:(()=>{class e extends md{constructor(t,r,i){super(t,r,i)}ngOnDestroy(){this.flush()}static#e=this.\u0275fac=function(r){return new(r||e)(l(an),l(gb),l(yb))};static#t=this.\u0275prov=q({token:e,factory:e.\u0275fac})}return e})()},{provide:yh,useFactory:function Oq(e,n,t){return new kq(e,n,t)},deps:[a_,md,Re]}],Rb=[{provide:gb,useFactory:()=>new TA},{provide:XC,useValue:"BrowserAnimations"},...PA],AA=[{provide:gb,useClass:mb},{provide:XC,useValue:"NoopAnimations"},...PA];let kA=(()=>{class e{static withConfig(t){return{ngModule:e,providers:t.disableAnimations?AA:Rb}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Ut({type:e});static#n=this.\u0275inj=Ct({providers:Rb,imports:[_p]})}return e})();const xA={merchantCapabilities:["supports3DS"],supportedNetworks:["visa","masterCard","amex","discover"]},Rq=Gn(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"}),NA=new $("APPLE_PAY_SESSION_TOKEN",{factory:()=>p(an).defaultView.ApplePaySession});let OA=(()=>{class e{constructor(t){this.applePaySession=t}canMakePayments(){return ApplePaySession.canMakePayments()}createPaySession(t,r,i){return new _t(o=>{const s=u=>{o.error(u),console.error(u)};try{const u=new this.applePaySession(t,r),c=(d,f)=>{u.abort(),s({event:d,error:f})};u.onvalidatemerchant=function(){var d=Su(function*(f){try{const m=yield function Fq(e,n){const t="object"==typeof n;return new Promise((r,i)=>{let s,o=!1;e.subscribe({next:u=>{s=u,o=!0},error:i,complete:()=>{o?r(s):t?r(n.defaultValue):i(new Rq)}})})}(i(f));u.completeMerchantValidation(m)}catch(m){c(f,m)}});return function(f){return d.apply(this,arguments)}}(),u.onpaymentmethodselected=d=>{const f={newTotal:{...r.total}};u.completePaymentMethodSelection(f)},u.onshippingmethodselected=d=>{u.completeShippingMethodSelection({})},u.onshippingcontactselected=d=>{u.completeShippingContactSelection({})},u.onpaymentauthorized=d=>{u.completePayment({status:ApplePaySession.STATUS_SUCCESS}),o.next(d),o.complete()},u.oncancel=d=>{s(d)},u.begin()}catch(u){s(u)}})}static#e=this.\u0275fac=function(r){return new(r||e)(l(NA))};static#t=this.\u0275prov=q({token:e,factory:e.\u0275fac})}return e})(),RA=(()=>{class e{constructor(t,r){this.nativeService=t,this.http=r}canMakePayment(){return tr(this.nativeService.canMakePayments())}pay(t){const{version:r=10}=t;return this.nativeService.createPaySession(r,this.mapData(t),o=>this.validate(o,t))}validate(t,r){const{validationURL:i}=t,{merchantId:o,processingUrl:s,userToken:u}=r;return this.http.post(s,{validationUrl:i},{params:{merchantId:o},headers:u?{Authorization:u}:void 0})}mapData(t){const{total:r,countryCode:i,supportedNetworks:o=xA.supportedNetworks,merchantCapabilities:s=xA.merchantCapabilities}=t;return{countryCode:i,currencyCode:r.currency,supportedNetworks:o,merchantCapabilities:s,total:{amount:r.amount,label:r.label}}}static#e=this.\u0275fac=function(r){return new(r||e)(l(OA),l(Fp))};static#t=this.\u0275prov=q({token:e,factory:e.\u0275fac})}return e})();const Lq=new $("APPLE_PAY_SESSION_SUPPORT_TOKEN",{factory:()=>!!p(NA)}),FA="https://applepay.cdn-apple.com/jsapi/v1.3.2/apple-pay-sdk.js";let Vq=(()=>{class e{constructor(t,r){this.doc=t,this.platformId=r}load(){return function vj(e){return e===mM}(this.platformId)?(this.loadPromise||(this.loadPromise=new Promise((t,r)=>{const i=this.doc.querySelector(`script[src="${FA}"]`);if(i)return i.addEventListener("load",()=>t(),{once:!0}),void i.addEventListener("error",()=>r(new Error("Apple Pay SDK failed to load")),{once:!0});const o=this.doc.createElement("script");o.src=FA,o.async=!0,o.onload=()=>t(),o.onerror=()=>r(new Error("Apple Pay SDK failed to load")),this.doc.head.appendChild(o)})),this.loadPromise):Promise.resolve()}static#e=this.\u0275fac=function(r){return new(r||e)(l(an),l(Gi))};static#t=this.\u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const jq={canMakePayment:()=>tr(!1),pay(e){throw new Error("not implemented")}};function Bq(e){return()=>{try{return e.load().catch(n=>{console.warn("Apple Pay preload failed (network or CDN issue):",n)})}catch(n){return void console.warn("Apple Pay preload threw synchronously:",n)}}}let LA=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Ut({type:e});static#n=this.\u0275inj=Ct({providers:[OA,RA,{provide:nT,deps:[Vq],useFactory:Bq,multi:!0},{provide:wP,deps:[Lq,RA],useFactory:(t,r)=>t?r:jq}]})}return e})();M(463);let VA=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Ut({type:e});static#n=this.\u0275inj=Ct({providers:[CP]})}return e})(),jA=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Ut({type:e});static#n=this.\u0275inj=Ct({providers:[MP],imports:[O3.forRoot(),Q3,P3,I3,Qv,_p,kA,LA,VA,O3,Q3,P3,I3,Qv,_p,kA,LA,VA]})}return e})(),Hq=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Ut({type:e});static#n=this.\u0275inj=Ct({providers:[st,Hu,H_,j_,B_,dm,lm],imports:[jA]})}return e})(),Gq=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Ut({type:e});static#n=this.\u0275inj=Ct({providers:[V_,Fu]})}return e})(),Uq=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Ut({type:e});static#n=this.\u0275inj=Ct({providers:[Z3]})}return e})();function $q(e,n){let t=e;const r=p(st),i=p(Bp),o=r.data.settings().language,s=!!e.headers.get(ku_customHeaders_skipToastr);return s&&(t=e.clone({headers:e.headers.delete(ku_customHeaders_skipToastr)})),n(t).pipe(Nu(u=>(s||i.error(o.notifications.error.default.text,o.notifications.error.default.title),r.events.error.emit(u),F_(()=>u))))}function zq(e,n){let t=e;const r=p(st);if(!e.headers.get("Authorization")){const o=r.data.payment()?.userAuthToken;o&&(t=e.clone({headers:e.headers.append("Authorization",o)}))}return n(t)}let Wq=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Ut({type:e});static#n=this.\u0275inj=Ct({providers:[EG(DG([$q,zq]))],imports:[aU.forRoot(),Hq,jA,Gq,Uq]})}return e})(),qq=(()=>{class e{constructor(t){this.injector=t}ngDoBootstrap(t){const{injector:r}=this,i=function yB(e,n){const t=function lB(e,n){return n.get(Ss).resolveComponentFactory(e).inputs}(e,n.injector),r=n.strategyFactory||new pB(e,n.injector),i=function cB(e){const n={};return e.forEach(({propName:t,templateName:r,transform:i})=>{n[function iB(e){return e.replace(/[A-Z]/g,n=>`-${n.toLowerCase()}`)}(r)]=[t,i]}),n}(t);class o extends gB{static#e=this.observedAttributes=Object.keys(i);get ngElementStrategy(){if(!this._ngElementStrategy){const u=this._ngElementStrategy=r.create(this.injector||n.injector);t.forEach(({propName:c,transform:d})=>{if(!this.hasOwnProperty(c))return;const f=this[c];delete this[c],u.setInputValue(c,f,d)})}return this._ngElementStrategy}constructor(u){super(),this.injector=u}attributeChangedCallback(u,c,d,f){const[m,g]=i[u];this.ngElementStrategy.setInputValue(m,d,g)}connectedCallback(){let u=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),u=!0),this.ngElementStrategy.connect(this),u||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(u=>{const c=new CustomEvent(u.name,{detail:u.value});this.dispatchEvent(c)})}}return t.forEach(({propName:s,transform:u})=>{Object.defineProperty(o.prototype,s,{get(){return this.ngElementStrategy.getInputValue(s)},set(c){this.ngElementStrategy.setInputValue(s,c,u)},configurable:!0,enumerable:!0})}),o}(Wz,{injector:r});customElements.define("moto-payment-form",i)}static#e=this.\u0275fac=function(r){return new(r||e)(l(Ke))};static#t=this.\u0275mod=Ut({type:e});static#n=this.\u0275inj=Ct({imports:[_p,Wq]})}return e})();p8().bootstrapModule(qq).catch(e=>console.log(e))},634:function(F,A,M){"use strict";var D=this&&this.__assign||function(){return D=Object.assign||function(Ce){for(var _e,Ye=1,ft=arguments.length;Ye<ft;Ye++)for(var Tr in _e=arguments[Ye])Object.prototype.hasOwnProperty.call(_e,Tr)&&(Ce[Tr]=_e[Tr]);return Ce},D.apply(this,arguments)},Me=M(990),Se=M(402),Te=M(987),z=M(250),ie=M(507),H={},me={VISA:"visa",MASTERCARD:"mastercard",AMERICAN_EXPRESS:"american-express",DINERS_CLUB:"diners-club",DISCOVER:"discover",JCB:"jcb",UNIONPAY:"unionpay",MAESTRO:"maestro",ELO:"elo",MIR:"mir",HIPER:"hiper",HIPERCARD:"hipercard"},Dr=[me.VISA,me.MASTERCARD,me.AMERICAN_EXPRESS,me.DINERS_CLUB,me.DISCOVER,me.JCB,me.UNIONPAY,me.MAESTRO,me.ELO,me.MIR,me.HIPER,me.HIPERCARD],jt=(0,ie.clone)(Dr);function Sr(Ce){return H[Ce]||Me[Ce]}function to(Ce,_e){void 0===_e&&(_e=!1);var Ye=jt.indexOf(Ce);if(!_e&&-1===Ye)throw new Error('"'+Ce+'" is not a supported card type.');return Ye}function kn(Ce){var _e=[];if(!(0,Te.isValidInputType)(Ce))return _e;if(0===Ce.length)return function Fo(){return jt.map(function(Ce){return(0,ie.clone)(Sr(Ce))})}();jt.forEach(function(ft){var Tr=Sr(ft);(0,Se.addMatchingCardsToResults)(Ce,Tr,_e)});var Ye=(0,z.findBestMatch)(_e);return Ye?[Ye]:_e}kn.getTypeInfo=function(Ce){return(0,ie.clone)(Sr(Ce))},kn.removeCard=function(Ce){var _e=to(Ce);jt.splice(_e,1)},kn.addCard=function(Ce){var _e=to(Ce.type,!0);H[Ce.type]=Ce,-1===_e&&jt.push(Ce.type)},kn.updateCard=function(Ce,_e){var Ye=H[Ce]||Me[Ce];if(!Ye)throw new Error('"'.concat(Ce,"\" is not a recognized type. Use `addCard` instead.'"));if(_e.type&&Ye.type!==_e.type)throw new Error("Cannot overwrite type parameter.");var ft=(0,ie.clone)(Ye);ft=D(D({},ft),_e),H[ft.type]=ft},kn.changeOrder=function(Ce,_e){var Ye=to(Ce);jt.splice(Ye,1),jt.splice(_e,0,Ce)},kn.resetModifications=function(){jt=(0,ie.clone)(Dr),H={}},kn.types=me,F.exports=kn},402:(F,A,M)=>{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.addMatchingCardsToResults=void 0;var D=M(507),Me=M(595);A.addMatchingCardsToResults=function Se(Te,z,ie){var H,me;for(H=0;H<z.patterns.length;H++){var Dr=z.patterns[H];if((0,Me.matches)(Te,Dr)){var jt=(0,D.clone)(z);me=Array.isArray(Dr)?String(Dr[0]).length:String(Dr).length,Te.length>=me&&(jt.matchStrength=me),ie.push(jt);break}}}},990:F=>{"use strict";F.exports={visa:{niceType:"Visa",type:"visa",patterns:[4],gaps:[4,8,12],lengths:[16,18,19],code:{name:"CVV",size:3}},mastercard:{niceType:"Mastercard",type:"mastercard",patterns:[[51,55],[2221,2229],[223,229],[23,26],[270,271],2720],gaps:[4,8,12],lengths:[16],code:{name:"CVC",size:3}},"american-express":{niceType:"American Express",type:"american-express",patterns:[34,37],gaps:[4,10],lengths:[15],code:{name:"CID",size:4}},"diners-club":{niceType:"Diners Club",type:"diners-club",patterns:[[300,305],36,38,39],gaps:[4,10],lengths:[14,16,19],code:{name:"CVV",size:3}},discover:{niceType:"Discover",type:"discover",patterns:[6011,[644,649],65],gaps:[4,8,12],lengths:[16,19],code:{name:"CID",size:3}},jcb:{niceType:"JCB",type:"jcb",patterns:[2131,1800,[3528,3589]],gaps:[4,8,12],lengths:[16,17,18,19],code:{name:"CVV",size:3}},unionpay:{niceType:"UnionPay",type:"unionpay",patterns:[620,[62100,62182],[62184,62187],[62185,62197],[62200,62205],[622010,622999],622018,[62207,62209],[623,626],6270,6272,6276,[627700,627779],[627781,627799],[6282,6289],6291,6292,810,[8110,8131],[8132,8151],[8152,8163],[8164,8171]],gaps:[4,8,12],lengths:[14,15,16,17,18,19],code:{name:"CVN",size:3}},maestro:{niceType:"Maestro",type:"maestro",patterns:[493698,[5e5,504174],[504176,506698],[506779,508999],[56,59],63,67,6],gaps:[4,8,12],lengths:[12,13,14,15,16,17,18,19],code:{name:"CVC",size:3}},elo:{niceType:"Elo",type:"elo",patterns:[401178,401179,438935,457631,457632,431274,451416,457393,504175,[506699,506778],[509e3,509999],627780,636297,636368,[650031,650033],[650035,650051],[650405,650439],[650485,650538],[650541,650598],[650700,650718],[650720,650727],[650901,650978],[651652,651679],[655e3,655019],[655021,655058]],gaps:[4,8,12],lengths:[16],code:{name:"CVE",size:3}},mir:{niceType:"Mir",type:"mir",patterns:[[2200,2204]],gaps:[4,8,12],lengths:[16,17,18,19],code:{name:"CVP2",size:3}},hiper:{niceType:"Hiper",type:"hiper",patterns:[637095,63737423,63743358,637568,637599,637609,637612],gaps:[4,8,12],lengths:[16],code:{name:"CVC",size:3}},hipercard:{niceType:"Hipercard",type:"hipercard",patterns:[606282],gaps:[4,8,12],lengths:[16],code:{name:"CVC",size:3}}}},507:(F,A)=>{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.clone=void 0,A.clone=function M(D){return D?JSON.parse(JSON.stringify(D)):null}},250:(F,A)=>{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.findBestMatch=void 0,A.findBestMatch=function D(Me){return function M(Me){var Se=Me.filter(function(Te){return Te.matchStrength}).length;return Se>0&&Se===Me.length}(Me)?Me.reduce(function(Se,Te){return!Se||Number(Se.matchStrength)<Number(Te.matchStrength)?Te:Se}):null}},987:(F,A)=>{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.isValidInputType=void 0,A.isValidInputType=function M(D){return"string"==typeof D||D instanceof String}},595:(F,A)=>{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.matches=void 0,A.matches=function Me(Se,Te){return Array.isArray(Te)?function M(Se,Te,z){var ie=String(Te).length,H=Se.substr(0,ie),me=parseInt(H,10);return Te=parseInt(String(Te).substr(0,H.length),10),z=parseInt(String(z).substr(0,H.length),10),me>=Te&&me<=z}(Se,Te[0],Te[1]):function D(Se,Te){return(Te=String(Te)).substring(0,Se.length)===Se.substring(0,Te.length)}(Se,Te)}},463:function(){(function(){window.denylistedDomainsHashedValueListForGpayButtonWithCardInfo=[-718583466,-651407173,1501053020,1270931793,1878965203,1359979311,-1556396599,-929820290,-1993966558,969369487,813004726,545283320,1144403640]}).call(this),function(){window.whitelistedDomainsHashedValueListForGpayButtonWithCardInfo=[1432838318]}.call(this),function(){window.denylistedMerchentIdsHashedValueListForGpayButtonWithCardInfo=[1260893,211376492,-383338062,621213554,-1574521140,318272649,-1021013306]}.call(this),function(){window.denylistedMerchantIdsHashedValueListForGpayButtonVariant=[]}.call(this),function(){window.allowlistedMerchantDomainsForBnplDynamicButton=[1605359444,1058617217,-1952496552,1475577307,-266458566,-1100178842,82073654,1871160076,1512037837,-324377671,-1836633316,1257306572,-490810357,914948972,1312509109,1456172824,1359979311,2119319518,1000705814,-557041780,217951089,-733157279,545927057,-1637503934,587727802,439938499,-82521450,1010792251,-1600155240,501105821,1687733144,-594871460,-292702292,1047750569,1757603081,1277798904,140429097,830662232,-1591032177,409676547,388255805,14664163,-888714055,2024616735,-1854751591,969369487,-1671782663,-364941361,1459357773,1285145032,949802706,-965096850,-800621897,-705555514,-1274801837,-371468606,401692316,596576164]}.call(this),function(){window.allowlistedMerchantDomainsForRlmiaDynamicButton=[1030427005,-1467922549,-539967585]}.call(this),function(){window.allowlistedMerchantDomainsForPopupModeLoadingScreen=[-1952239152,-1239320691,1567214642,697229904,486133992,-31862958,-1800077669]}.call(this),function(){window.dynamicGpayButtonVariant="GPAY_BUTTON_VARIANT_TYPE_NONE"}.call(this),function(){this.google=this.google||{},this.google.payments=this.google.payments||{},this.google.payments.api=this.google.payments.api||{},this.google.payments.api.ButtonTypePolicyInPayjs=0}.call(this),function(){this.google=this.google||{},this.google.payments=this.google.payments||{},this.google.payments.api=this.google.payments.api||{},this.google.payments.api.IsAnonymousUser=!1}.call(this),function(){for(var D,F=this||self,A=["google","payments","api","ReadyToPayAdditionalBrowsers"],M=window||F;A.length&&(D=A.shift());)A.length?M=M[D]&&M[D]!==Object.prototype[D]?M[D]:M[D]={}:M[D]=!0}.call(this),function(){for(var D,F=this||self,A=["google","payments","api","PaymentHandlerLaunchPayjs"],M=window||F;A.length&&(D=A.shift());)A.length?M=M[D]&&M[D]!==Object.prototype[D]?M[D]:M[D]={}:M[D]=!0}.call(this),function(){for(var D,F=this||self,A=["google","payments","api","PaymentHandlerDynamicUpdatesLaunchPayjs"],M=window||F;A.length&&(D=A.shift());)A.length?M=M[D]&&M[D]!==Object.prototype[D]?M[D]:M[D]={}:M[D]=!0}.call(this),function(){for(var D,F=this||self,A=["google","payments","api","EnablePopupForChromeAndroid"],M=window||F;A.length&&(D=A.shift());)A.length?M=M[D]&&M[D]!==Object.prototype[D]?M[D]:M[D]={}:M[D]=!0}.call(this),function(){for(var D,F=this||self,A=["google","payments","api","EnableDynamicGpayButton"],M=window||F;A.length&&(D=A.shift());)A.length?M=M[D]&&M[D]!==Object.prototype[D]?M[D]:M[D]={}:M[D]=!0}.call(this),function(){for(var D,F=this||self,A=["google","payments","api","EnableDynamicUpdateForClank"],M=window||F;A.length&&(D=A.shift());)A.length?M=M[D]&&M[D]!==Object.prototype[D]?M[D]:M[D]={}:M[D]=!0}.call(this),function(){for(var D,F=this||self,A=["google","payments","api","EnableGpayButtonAriaLabelLocalization"],M=window||F;A.length&&(D=A.shift());)A.length?M=M[D]&&M[D]!==Object.prototype[D]?M[D]:M[D]={}:M[D]=!0}.call(this),function(){for(var D,F=this||self,A=["google","payments","api","EnablePaymentRequest"],M=window||F;A.length&&(D=A.shift());)A.length?M=M[D]&&M[D]!==Object.prototype[D]?M[D]:M[D]={}:M[D]=!0}.call(this),function(){for(var D,F=this||self,A=["google","payments","api","EnableLoadPaymentDataTimeout"],M=window||F;A.length&&(D=A.shift());)A.length?M=M[D]&&M[D]!==Object.prototype[D]?M[D]:M[D]={}:M[D]=!0}.call(this),function(){for(var D,F=this||self,A=["google","payments","api","EnableOfferCallback"],M=window||F;A.length&&(D=A.shift());)A.length?M=M[D]&&M[D]!==Object.prototype[D]?M[D]:M[D]={}:M[D]=!0}.call(this),function(){for(var D,F=this||self,A=["google","payments","api","UseCanMakePaymentForFallbackOnMobile"],M=window||F;A.length&&(D=A.shift());)A.length?M=M[D]&&M[D]!==Object.prototype[D]?M[D]:M[D]={}:M[D]=!0}.call(this),function(){for(var D,F=this||self,A=["google","payments","api","EnableImprovedIsrtpLogging"],M=window||F;A.length&&(D=A.shift());)A.length?M=M[D]&&M[D]!==Object.prototype[D]?M[D]:M[D]={}:M[D]=!0}.call(this),function(){for(var D,F=this||self,A=["google","payments","api","EnableClosePopupOnHostingPageUnload"],M=window||F;A.length&&(D=A.shift());)A.length?M=M[D]&&M[D]!==Object.prototype[D]?M[D]:M[D]={}:M[D]=!0}.call(this),function(){for(var D,F=this||self,A=["google","payments","api","EnablePaymentHandlerSandboxBuyflow"],M=window||F;A.length&&(D=A.shift());)A.length?M=M[D]&&M[D]!==Object.prototype[D]?M[D]:M[D]={}:M[D]=!0}.call(this),function(){for(var D,F=this||self,A=["google","payments","api","EnableGpayButtonDynamicRadius"],M=window||F;A.length&&(D=A.shift());)A.length?M=M[D]&&M[D]!==Object.prototype[D]?M[D]:M[D]={}:M[D]=!0}.call(this),function(){for(var D,F=this||self,A=["google","payments","api","EnableWebNgbfForCallbackIntents"],M=window||F;A.length&&(D=A.shift());)A.length?M=M[D]&&M[D]!==Object.prototype[D]?M[D]:M[D]={}:M[D]=!0}.call(this),function(){for(var D,F=this||self,A=["google","payments","api","EnableDynamicGpayButtonForPayButton"],M=window||F;A.length&&(D=A.shift());)A.length?M=M[D]&&M[D]!==Object.prototype[D]?M[D]:M[D]={}:M[D]=!0}.call(this),function(){for(var D,F=this||self,A=["google","payments","api","EnableDynamicGpayButtonForPlainButton"],M=window||F;A.length&&(D=A.shift());)A.length?M=M[D]&&M[D]!==Object.prototype[D]?M[D]:M[D]={}:M[D]=!0}.call(this),function(){for(var D,F=this||self,A=["google","payments","api","EnableRlmiaButtonAnimation"],M=window||F;A.length&&(D=A.shift());)A.length?M=M[D]&&M[D]!==Object.prototype[D]?M[D]:M[D]={}:M[D]=!0}.call(this),function(){for(var D,F=this||self,A=["google","payments","api","EnableCreateButtonApiOnClickLogging"],M=window||F;A.length&&(D=A.shift());)A.length?M=M[D]&&M[D]!==Object.prototype[D]?M[D]:M[D]={}:M[D]=!0}.call(this),function(){for(var D,F=this||self,A=["google","payments","api","EnableLoadingScreenForPopupMode"],M=window||F;A.length&&(D=A.shift());)A.length?M=M[D]&&M[D]!==Object.prototype[D]?M[D]:M[D]={}:M[D]=!0}.call(this),function(){for(var D,F=this||self,A=["google","payments","api","EnableButtonBorderInset"],M=window||F;A.length&&(D=A.shift());)A.length?M=M[D]&&M[D]!==Object.prototype[D]?M[D]:M[D]={}:M[D]=!0}.call(this),function(){for(var D,F=this||self,A=["google","payments","api","EnableRlmiaSmallerText"],M=window||F;A.length&&(D=A.shift());)A.length?M=M[D]&&M[D]!==Object.prototype[D]?M[D]:M[D]={}:M[D]=!0}.call(this),function(){var F,A,M=function(a){var l=0;return function(){return l<a.length?{done:!1,value:a[l++]}:{done:!0}}},D="function"==typeof Object.defineProperties?Object.defineProperty:function(a,l,h){return a==Array.prototype||a==Object.prototype||(a[l]=h.value),a},Se=function(a){a=["object"==typeof globalThis&&globalThis,a,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var l=0;l<a.length;++l){var h=a[l];if(h&&h.Math==Math)return h}throw Error("Cannot find global object")}(this),Te="function"==typeof Symbol&&"symbol"==typeof Symbol("x"),z={},ie={},H=function(a,l,h){if(!h||null!=a)return null==(h=ie[l])?a[l]:void 0!==(h=a[h])?h:a[l]},me=function(a,l,h){if(l)e:{var p=a.split("."),v=p[0];v=!(a=1===p.length)&&v in z?z:Se;for(var b=0;b<p.length-1;b++){var w=p[b];if(!(w in v))break e;v=v[w]}p=p[p.length-1],null!=(l=l(h=Te&&"es6"===h?v[p]:null))&&(a?D(z,p,{configurable:!0,writable:!0,value:l}):l!==h&&(void 0===ie[p]&&(a=1e9*Math.random()>>>0,ie[p]=Te?Se.Symbol(p):"$jscp$"+a+"$"+p),D(v,ie[p],{configurable:!0,writable:!0,value:l})))}};me("Symbol",function(a){if(a)return a;var l=function(b,w){this.kc=b,D(this,"description",{configurable:!0,writable:!0,value:w})};l.prototype.toString=function(){return this.kc};var h="jscomp_symbol_"+(1e9*Math.random()>>>0)+"_",p=0,v=function(b){if(this instanceof v)throw new TypeError("Symbol is not a constructor");return new l(h+(b||"")+"_"+p++,b)};return v},"es6"),me("Symbol.iterator",function(a){if(a)return a;a=(0,z.Symbol)("Symbol.iterator");for(var l="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),h=0;h<l.length;h++){var p=Se[l[h]];"function"==typeof p&&"function"!=typeof p.prototype[a]&&D(p.prototype,a,{configurable:!0,writable:!0,value:function(){return Dr(M(this))}})}return a},"es6");var Sr,Dr=function(a){return(a={next:a})[H(z.Symbol,"iterator")]=function(){return this},a},jt="function"==typeof Object.create?Object.create:function(a){var l=function(){};return l.prototype=a,new l};if(Te&&"function"==typeof Object.setPrototypeOf)Sr=Object.setPrototypeOf;else{var Fo;e:{var kn={};try{kn.__proto__={a:!0},Fo=kn.a;break e}catch{}Fo=!1}Sr=Fo?function(a,l){if(a.__proto__=l,a.__proto__!==l)throw new TypeError(a+" is not extensible");return a}:null}var Ce=Sr,_e=function(a){var l=typeof z.Symbol<"u"&&H(z.Symbol,"iterator")&&a[H(z.Symbol,"iterator")];if(l)return l.call(a);if("number"==typeof a.length)return{next:M(a)};throw Error(String(a)+" is not an iterable or ArrayLike")},Ye=function(a){if(!(a instanceof Array)){a=_e(a);for(var l,h=[];!(l=a.next()).done;)h.push(l.value);a=h}return a},ft=function(a,l){return Object.prototype.hasOwnProperty.call(a,l)},Tr=Te&&"function"==typeof H(Object,"assign")?H(Object,"assign"):function(a,l){for(var h=1;h<arguments.length;h++){var p=arguments[h];if(p)for(var v in p)ft(p,v)&&(a[v]=p[v])}return a};me("Object.assign",function(a){return a||Tr},"es6");var no=function(){this.Ja=!1,this.la=null,this.Xa=void 0,this.X=1,this.Rb=this.ob=0,this.wa=null},$s=function(a){if(a.Ja)throw new TypeError("Generator is already running");a.Ja=!0};no.prototype.Ka=function(a){this.Xa=a},no.prototype.Ta=function(a){this.wa={vc:a,zc:!0},this.X=this.ob||this.Rb},no.prototype.return=function(a){this.wa={return:a},this.X=this.Rb};var ro=function(a,l,h){return a.X=h,{value:l}},Pi=function(a){this.h=new no,this.Gc=a};Pi.prototype.Ka=function(a){return $s(this.h),this.h.la?Ws(this,this.h.la.next,a,this.h.Ka):(this.h.Ka(a),io(this))},Pi.prototype.Ta=function(a){return $s(this.h),this.h.la?Ws(this,this.h.la.throw,a,this.h.Ka):(this.h.Ta(a),io(this))};var Ws=function(a,l,h,p){try{var v=l.call(a.h.la,h);if(!(v instanceof Object))throw new TypeError("Iterator result "+v+" is not an object");if(!v.done)return a.h.Ja=!1,v;var b=v.value}catch(w){return a.h.la=null,a.h.Ta(w),io(a)}return a.h.la=null,p.call(a.h,b),io(a)},io=function(a){for(;a.h.X;)try{var l=a.Gc(a.h);if(l)return a.h.Ja=!1,{value:l.value,done:!1}}catch(h){a.h.Xa=void 0,a.h.Ta(h)}if(a.h.Ja=!1,a.h.wa){if(l=a.h.wa,a.h.wa=null,l.zc)throw l.vc;return{value:l.return,done:!0}}return{value:void 0,done:!0}},Tm=function(a){this.next=function(l){return a.Ka(l)},this.throw=function(l){return a.Ta(l)},this.return=function(l){return function(a,l){$s(a.h);var h=a.h.la;return h?Ws(a,"return"in h?h.return:function(p){return{value:p,done:!0}},l,a.h.return):(a.h.return(l),io(a))}(a,l)},this[H(z.Symbol,"iterator")]=function(){return this}},Lo=function(a){return function(a){function l(p){return a.next(p)}function h(p){return a.throw(p)}return new z.Promise(function(p,v){!function b(w){w.done?p(w.value):z.Promise.resolve(w.value).then(l,h).then(b,v)}(a.next())})}(new Tm(new Pi(a)))},Vo=function(){for(var a=Number(this),l=[],h=a;h<arguments.length;h++)l[h-a]=arguments[h];return l};me("globalThis",function(a){return a||Se},"es_2020"),me("Promise",function(a){function l(){this.Z=null}function h(w){return w instanceof v?w:new v(function(E){E(w)})}if(a)return a;l.prototype.Kb=function(w){if(null==this.Z){this.Z=[];var E=this;this.Lb(function(){E.wc()})}this.Z.push(w)};var p=Se.setTimeout;l.prototype.Lb=function(w){p(w,0)},l.prototype.wc=function(){for(;this.Z&&this.Z.length;){var w=this.Z;this.Z=[];for(var E=0;E<w.length;++E){var V=w[E];w[E]=null;try{V()}catch(O){this.rc(O)}}}this.Z=null},l.prototype.rc=function(w){this.Lb(function(){throw w})};var v=function(w){this.Ba=0,this.ea=void 0,this.Aa=[],this.Tb=!1;var E=this.rb();try{w(E.resolve,E.reject)}catch(V){E.reject(V)}};v.prototype.rb=function(){function w(O){return function(K){V||(V=!0,O.call(E,K))}}var E=this,V=!1;return{resolve:w(this.Lc),reject:w(this.Bb)}},v.prototype.Lc=function(w){if(w===this)this.Bb(new TypeError("A Promise cannot resolve to itself"));else if(w instanceof v)this.Oc(w);else{e:switch(typeof w){case"object":var E=null!=w;break e;case"function":E=!0;break e;default:E=!1}E?this.Kc(w):this.Sb(w)}},v.prototype.Kc=function(w){var E=void 0;try{E=w.then}catch(V){return void this.Bb(V)}"function"==typeof E?this.Pc(E,w):this.Sb(w)},v.prototype.Bb=function(w){this.ic(2,w)},v.prototype.Sb=function(w){this.ic(1,w)},v.prototype.ic=function(w,E){if(0!=this.Ba)throw Error("Cannot settle("+w+", "+E+"): Promise already settled in state"+this.Ba);this.Ba=w,this.ea=E,2===this.Ba&&this.Mc(),this.xc()},v.prototype.Mc=function(){var w=this;p(function(){if(w.Cc()){var E=Se.console;typeof E<"u"&&E.error(w.ea)}},1)},v.prototype.Cc=function(){if(this.Tb)return!1;var w=Se.CustomEvent,E=Se.Event,V=Se.dispatchEvent;return typeof V>"u"||("function"==typeof w?w=new w("unhandledrejection",{cancelable:!0}):"function"==typeof E?w=new E("unhandledrejection",{cancelable:!0}):(w=Se.document.createEvent("CustomEvent")).initCustomEvent("unhandledrejection",!1,!0,w),w.promise=this,w.reason=this.ea,V(w))},v.prototype.xc=function(){if(null!=this.Aa){for(var w=0;w<this.Aa.length;++w)b.Kb(this.Aa[w]);this.Aa=null}};var b=new l;return v.prototype.Oc=function(w){var E=this.rb();w.bb(E.resolve,E.reject)},v.prototype.Pc=function(w,E){var V=this.rb();try{w.call(E,V.resolve,V.reject)}catch(O){V.reject(O)}},v.prototype.then=function(w,E){function V(ht,Gt){return"function"==typeof ht?function(ss){try{O(ht(ss))}catch(vn){K(vn)}}:Gt}var O,K,We=new v(function(ht,Gt){O=ht,K=Gt});return this.bb(V(w,O),V(E,K)),We},v.prototype.catch=function(w){return this.then(void 0,w)},v.prototype.bb=function(w,E){function V(){switch(O.Ba){case 1:w(O.ea);break;case 2:E(O.ea);break;default:throw Error("Unexpected state: "+O.Ba)}}var O=this;null==this.Aa?b.Kb(V):this.Aa.push(V),this.Tb=!0},v.resolve=h,v.reject=function(w){return new v(function(E,V){V(w)})},v.race=function(w){return new v(function(E,V){for(var O=_e(w),K=O.next();!K.done;K=O.next())h(K.value).bb(E,V)})},v.all=function(w){var E=_e(w),V=E.next();return V.done?h([]):new v(function(O,K){function We(ss){return function(vn){ht[ss]=vn,0==--Gt&&O(ht)}}var ht=[],Gt=0;do{ht.push(void 0),Gt++,h(V.value).bb(We(ht.length-1),K),V=E.next()}while(!V.done)})},v},"es6"),me("Symbol.dispose",function(a){return a||(0,z.Symbol)("Symbol.dispose")},"es_next"),me("WeakMap",function(a){function l(){}function h(w){var E=typeof w;return"object"===E&&null!==w||"function"===E}if(function(){if(!a||!Object.seal)return!1;try{var w=Object.seal({}),E=Object.seal({}),V=new a([[w,2],[E,3]]);return 2==V.get(w)&&3==V.get(E)&&(V.delete(w),V.set(E,4),!V.has(w)&&4==V.get(E))}catch{return!1}}())return a;var p="$jscomp_hidden_"+Math.random(),v=0,b=function(w){if(this.Ha=(v+=Math.random()+1).toString(),w){w=_e(w);for(var E;!(E=w.next()).done;)this.set((E=E.value)[0],E[1])}};return b.prototype.set=function(w,E){if(!h(w))throw Error("Invalid WeakMap key");if(!ft(w,p)){var V=new l;D(w,p,{value:V})}if(!ft(w,p))throw Error("WeakMap key fail: "+w);return w[p][this.Ha]=E,this},b.prototype.get=function(w){return h(w)&&ft(w,p)?w[p][this.Ha]:void 0},b.prototype.has=function(w){return h(w)&&ft(w,p)&&ft(w[p],this.Ha)},b.prototype.delete=function(w){return!!(h(w)&&ft(w,p)&&ft(w[p],this.Ha))&&delete w[p][this.Ha]},b},"es6"),me("Map",function(a){if(function(){if(!a||"function"!=typeof a||!H(a.prototype,"entries")||"function"!=typeof Object.seal)return!1;try{var E=Object.seal({x:4}),V=new a(_e([[E,"s"]]));if("s"!=V.get(E)||1!=V.size||V.get({x:4})||V.set({x:4},"t")!=V||2!=V.size)return!1;var O=H(V,"entries").call(V),K=O.next();return!K.done&&K.value[0]==E&&"s"==K.value[1]&&!((K=O.next()).done||4!=K.value[0].x||"t"!=K.value[1]||!O.next().done)}catch{return!1}}())return a;var l=new z.WeakMap,h=function(E){if(this[0]={},this[1]=b(),this.size=0,E){E=_e(E);for(var V;!(V=E.next()).done;)this.set((V=V.value)[0],V[1])}};h.prototype.set=function(E,V){var O=p(this,E=0===E?0:E);return O.list||(O.list=this[0][O.id]=[]),O.C?O.C.value=V:(O.C={next:this[1],Y:this[1].Y,head:this[1],key:E,value:V},O.list.push(O.C),this[1].Y.next=O.C,this[1].Y=O.C,this.size++),this},h.prototype.delete=function(E){return!(!(E=p(this,E)).C||!E.list||(E.list.splice(E.index,1),E.list.length||delete this[0][E.id],E.C.Y.next=E.C.next,E.C.next.Y=E.C.Y,E.C.head=null,this.size--,0))},h.prototype.clear=function(){this[0]={},this[1]=this[1].Y=b(),this.size=0},h.prototype.has=function(E){return!!p(this,E).C},h.prototype.get=function(E){return(E=p(this,E).C)&&E.value},h.prototype.entries=function(){return v(this,function(E){return[E.key,E.value]})},h.prototype.keys=function(){return v(this,function(E){return E.key})},h.prototype.values=function(){return v(this,function(E){return E.value})},h.prototype.forEach=function(E,V){for(var K,O=H(this,"entries").call(this);!(K=O.next()).done;)E.call(V,(K=K.value)[1],K[0],this)},h.prototype[H(z.Symbol,"iterator")]=H(h.prototype,"entries");var p=function(E,V){var O=V&&typeof V;"object"==O||"function"==O?l.has(V)?O=l.get(V):(O=""+ ++w,l.set(V,O)):O="p_"+V;var K=E[0][O];if(K&&ft(E[0],O))for(E=0;E<K.length;E++){var We=K[E];if(V!=V&&We.key!=We.key||V===We.key)return{id:O,list:K,index:E,C:We}}return{id:O,list:K,index:-1,C:void 0}},v=function(E,V){var O=E[1];return Dr(function(){if(O){for(;O.head!=E[1];)O=O.Y;for(;O.next!=O.head;)return{done:!1,value:V(O=O.next)};O=null}return{done:!0,value:void 0}})},b=function(){var E={};return E.Y=E.next=E.head=E},w=0;return h},"es6");var $u=function(a,l){a instanceof String&&(a+="");var h=0,p=!1,v={next:function(){if(!p&&h<a.length){var b=h++;return{value:l(b,a[b]),done:!1}}return p=!0,{done:!0,value:void 0}}};return v[H(z.Symbol,"iterator")]=function(){return v},v};me("Array.prototype.entries",function(a){return a||function(){return $u(this,function(l,h){return[l,h]})}},"es6"),me("Array.prototype.keys",function(a){return a||function(){return $u(this,function(l){return l})}},"es6"),me("Object.entries",function(a){return a||function(l){var p,h=[];for(p in l)ft(l,p)&&h.push([p,l[p]]);return h}},"es8"),me("Array.prototype.values",function(a){return a||function(){return $u(this,function(l,h){return h})}},"es8"),me("Array.from",function(a){return a||function(l,h,p){h=h??function(E){return E};var v=[],b=typeof z.Symbol<"u"&&H(z.Symbol,"iterator")&&l[H(z.Symbol,"iterator")];if("function"==typeof b){l=b.call(l);for(var w=0;!(b=l.next()).done;)v.push(h.call(p,b.value,w++))}else for(b=l.length,w=0;w<b;w++)v.push(h.call(p,l[w],w));return v}},"es6"),me("Object.values",function(a){return a||function(l){var p,h=[];for(p in l)ft(l,p)&&h.push(l[p]);return h}},"es8"),me("Object.is",function(a){return a||function(l,h){return l===h?0!==l||1/l==1/h:l!=l&&h!=h}},"es6"),me("Array.prototype.includes",function(a){return a||function(l,h){var p=this;p instanceof String&&(p=String(p));var v=p.length;for((h=h||0)<0&&(h=Math.max(h+v,0));h<v;h++){var b=p[h];if(b===l||H(Object,"is").call(Object,b,l))return!0}return!1}},"es7"),me("String.prototype.includes",function(a){return a||function(l,h){if(null==this)throw new TypeError("The 'this' value for String.prototype.includes must not be null or undefined");if(l instanceof RegExp)throw new TypeError("First argument to String.prototype.includes must not be a regular expression");return-1!==(this+"").indexOf(l,h||0)}},"es6");var oo=this||self,zu=function(a,l){a=a.split(".");for(var p,h=window||oo;a.length&&(p=a.shift());)a.length||void 0===l?h=h[p]&&h[p]!==Object.prototype[p]?h[p]:h[p]={}:h[p]=l},qs=function(a){var l=typeof a;return"object"!=l?l:a?Array.isArray(a)?"array":l:"null"},Zs=function(a){var l=qs(a);return"array"==l||"object"==l&&"number"==typeof a.length},or=function(a){var l=typeof a;return"object"==l&&null!=a||"function"==l},Mm=function(a,l,h){return a.call.apply(a.bind,arguments)},Lb=function(a,l,h){if(!a)throw Error();if(arguments.length>2){var p=Array.prototype.slice.call(arguments,2);return function(){var v=Array.prototype.slice.call(arguments);return Array.prototype.unshift.apply(v,p),a.apply(l,v)}}return function(){return a.apply(l,arguments)}},Wu=function(a,l,h){return(Wu=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?Mm:Lb).apply(null,arguments)},so=function(a,l){function h(){}h.prototype=l.prototype,a.Da=l.prototype,a.prototype=new h,a.prototype.constructor=a,a.zd=function(p,v,b){for(var w=Array(arguments.length-2),E=2;E<arguments.length;E++)w[E-2]=arguments[E];return l.prototype[v].apply(p,w)}};function jo(a,l){if(Error.captureStackTrace)Error.captureStackTrace(this,jo);else{var h=Error().stack;h&&(this.stack=h)}a&&(this.message=String(a)),void 0!==l&&(this.cause=l)}function qu(a,l){for(var h="",p=(a=a.split("%s")).length-1,v=0;v<p;v++)h+=a[v]+(v<l.length?l[v]:"%s");jo.call(this,h+a[p])}function Zu(a,l,h,p){var v="Assertion failed";if(h){v+=": "+h;var b=p}else a&&(v+=": "+a,b=l);throw new qu(""+v,b||[])}so(jo,Error),jo.prototype.name="CustomError",so(qu,jo),qu.prototype.name="AssertionError";var xn=function(a,l,h){return a||Zu("",null,l,Array.prototype.slice.call(arguments,2)),a},Ai=function(a,l,h){return"number"!=typeof a&&Zu("Expected number but got %s: %s.",[qs(a),a],l,Array.prototype.slice.call(arguments,2)),a},Ys=function(a,l){this.jc=a===Bo&&l||"",this.oc=Ks};Ys.prototype.toString=function(){return this.jc};var Je=function(a){return a instanceof Ys&&a.constructor===Ys&&a.oc===Ks?a.jc:(function(a,l){throw new qu("Failure"+(a?": "+a:""),Array.prototype.slice.call(arguments,1))}("expected object of type Const, got '"+a+"'"),"type_error:Const")},Gn=function(a){return new Ys(Bo,a)},Ks={},Bo={},cn={lc:"PAYMENT_AUTHORIZATION",mc:"SHIPPING_ADDRESS",nc:"SHIPPING_OPTION",vd:"UNKNOWN_INTENT"},yd={Wc:"CANARY",fd:"LOCAL",od:"PREPROD",pd:"PRODUCTION",qd:"SANDBOX",td:"TEST",ud:"TIN"},vd={Yc:"CRYPTOGRAM_3DS",ld:"PAN_ONLY"},_d={bd:"ESTIMATED",dd:"FINAL",hd:"NOT_CURRENTLY_KNOWN"},ki={SHORT:"short",gd:"long",nd:"plain",Vc:"buy",ad:"donate",Uc:"book",Xc:"checkout",kd:"order",md:"pay",sd:"subscribe"},Xs={Zc:"default",Tc:"black",xd:"white"},bd={rd:"static",cd:"fill"},ao={buy:{en:152,ar:189,bg:163,ca:182,cs:192,da:154,de:183,el:178,es:183,et:147,fi:148,fr:183,hr:157,id:186,it:182,ja:148,ko:137,ms:186,nl:167,no:158,pl:182,pt:193,ru:206,sk:157,sl:211,sr:146,sv:154,th:146,tr:161,uk:207,zh:156},book:{ar:205,bg:233,ca:187,cs:213,da:162,de:176,el:180,en:161,es:188,et:186,fi:152,fr:197,hr:198,id:195,it:178,ja:150,ko:150,ms:211,nl:178,no:195,pl:221,pt:208,ru:265,sk:206,sl:266,sr:196,sv:161,th:150,tr:238,uk:248,zh:158},checkout:{ar:245,bg:200,ca:268,cs:175,da:162,de:188,el:286,en:201,es:188,et:171,fi:158,fr:170,hr:166,id:226,it:256,ja:150,ko:150,ms:291,nl:178,no:230,pl:187,pt:271,ru:283,sk:176,sl:313,sr:153,sv:172,th:168,tr:195,uk:216,zh:158},donate:{ar:205,bg:205,ca:162,cs:212,da:171,de:186,el:163,en:180,es:165,et:150,fi:171,fr:225,hr:182,id:237,it:157,ja:167,ko:150,ms:201,nl:187,no:171,pl:252,pt:175,ru:342,sk:178,sl:242,sr:171,sv:181,th:158,tr:181,uk:256,zh:158},order:{ar:198,bg:195,ca:247,cs:198,da:166,de:190,el:208,en:170,es:157,et:150,fi:150,fr:226,hr:201,id:195,it:171,ja:150,ko:150,ms:195,nl:192,no:171,pl:190,pt:177,ru:207,sk:190,sl:240,sr:165,sv:176,th:151,tr:188,uk:216,zh:158},pay:{ar:202,bg:200,ca:160,cs:183,da:162,de:188,el:185,en:150,es:162,et:150,fi:158,fr:170,hr:172,id:192,it:155,ja:150,ko:150,ms:192,nl:178,no:162,pl:187,pt:182,ru:213,sk:176,sl:225,sr:153,sv:172,th:168,tr:150,uk:216,zh:158},subscribe:{ar:221,bg:217,ca:226,cs:201,da:192,de:208,el:180,en:202,es:206,et:150,fi:150,fr:206,hr:178,id:260,it:190,ja:150,ko:150,ms:216,nl:208,no:192,pl:221,pt:196,ru:243,sk:193,sl:333,sr:217,sv:228,th:213,tr:173,uk:305,zh:158}},xi={buy:{ar:"\u0627\u0644\u0634\u0631\u0627\u0621 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 GPay",bg:"\u041a\u0443\u043f\u0443\u0432\u0430\u043d\u0435 \u0447\u0440\u0435\u0437 GPay",ca:"Compra amb GPay",cs:"Koupit s GPay",da:"K\xf8b med GPay",de:"Mit GPay kaufen",el:"\u0391\u03b3\u03bf\u03c1\u03ac \u03bc\u03b5 GPay",en:"Buy with GPay",es:"Comprar con GPay",et:"Osta GPayga",fi:"Osta GPaylla",fr:"Acheter avec GPay",hr:"Kupnja uz GPay",id:"Beli dengan GPay",it:"Acquista con GPay",ja:"GPay \u3067\u8cfc\u5165\u3059\u308b",ko:"GPay\ub85c \uad6c\ub9e4",ms:"Beli dengan GPay",nl:"Kopen met GPay",no:"Kj\xf8p med GPay",pl:"Kup to z GPay",pt:"Comprar com o GPay",ru:"\u041a\u0443\u043f\u0438\u0442\u044c \u0447\u0435\u0440\u0435\u0437 GPay",sk:"K\xfapi\u0165 cez GPay",sl:"Nakup s storitvijo GPay",sr:"\u041a\u0443\u043f\u0438 \u0443\u0437 GPay",sv:"K\xf6pa med GPay",th:"\u0e0b\u0e37\u0e49\u0e2d\u0e14\u0e49\u0e27\u0e22 GPay",tr:"GPayile sat\u0131n al",uk:"\u041a\u0443\u043f\u0438\u0442\u0438 \u0447\u0435\u0440\u0435\u0437 GPay",zh:"\u901a\u8fc7 GPay \u8d2d\u4e70"},book:{ar:"\u0627\u0644\u062d\u062c\u0632 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 GPay",bg:"\u0420\u0435\u0437\u0435\u0440\u0432\u0438\u0440\u0430\u043d\u0435 \u0447\u0440\u0435\u0437 GPay",ca:"Reserva amb GPay",cs:"Rezervovat s GPay",da:"Book med GPay",de:"Mit GPay buchen",el:"\u039a\u03c1\u03ac\u03c4\u03b7\u03c3\u03b7 \u03bc\u03b5 GPay",en:"Book with GPay",es:"Reservar con GPay",et:"Broneeri GPayga",fi:"Varaa GPaylla",fr:"R\xe9server avec GPay",hr:"Rezervacija uz GPay",id:"Reservasi dengan GPay",it:"Prenota con GPay",ja:"GPay \u3067\u4e88\u7d04\u3059\u308b",ko:"GPay\ub85c \uc608\uc57d",ms:"Tempah dengan GPay",nl:"Boeken met GPay",no:"Bestill med GPay",pl:"Zarezerwuj z GPay",pt:"Reservar com o GPay",ru:"\u0417\u0430\u0431\u0440\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0447\u0435\u0440\u0435\u0437 GPay",sk:"Rezervova\u0165 cez GPay",sl:"Rezervacija s storitvijo GPay",sr:"\u0420\u0435\u0437\u0435\u0440\u0432\u0438\u0448\u0438 \u0443\u0437 GPay",sv:"Boka med GPay",th:"\u0e08\u0e2d\u0e07\u0e14\u0e49\u0e27\u0e22 GPay",tr:"GPayile rezervasyon yap",uk:"\u0417\u0430\u0431\u0440\u043e\u043d\u044e\u0432\u0430\u0442\u0438 \u0447\u0435\u0440\u0435\u0437 GPay",zh:"\u901a\u8fc7 GPay \u9884\u8ba2"},checkout:{ar:"\u0625\u062a\u0645\u0627\u0645 \u0627\u0644\u062f\u0641\u0639 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 GPay",bg:"\u041f\u043b\u0430\u0449\u0430\u043d\u0435 \u0447\u0440\u0435\u0437 GPay",ca:"Tramita la compra amb GPay",cs:"Zaplatit s GPay",da:"Betal med GPay",de:"Mit GPay bezahlen",el:"\u039f\u03bb\u03bf\u03ba\u03bb\u03ae\u03c1\u03c9\u03c3\u03b7 \u03b1\u03b3\u03bf\u03c1\u03ac\u03c2 \u03bc\u03b5 GPay",en:"Checkout with GPay",es:"Confirmar compra con GPay",et:"Tasu GPayga",fi:"Osta GPaylla",fr:"R\xe9gler avec GPay",hr:"Naplata uz GPay",id:"Checkout dengan GPay",it:"Vai al pagamento con GPay",ja:"GPay \u3067\u6c7a\u6e08\u3059\u308b",ko:"GPay\ub85c \uacb0\uc81c",ms:"Semak keluar dengan GPay",nl:"Betalen met GPay",no:"Betal med GPay",pl:"Zap\u0142a\u0107 przez GPay",pt:"Pagar com o GPay",ru:"\u041e\u043f\u043b\u0430\u0442\u0438\u0442\u044c \u0447\u0435\u0440\u0435\u0437 GPay",sk:"Zaplati\u0165 cez GPay",sl:"Zaklju\u010dek nakupa s storitvijo GPay",sr:"\u041f\u043b\u0430\u0442\u0438 \u0443\u0437 GPay",sv:"Handla med GPay",th:"\u0e0a\u0e33\u0e23\u0e30\u0e40\u0e07\u0e34\u0e19\u0e14\u0e49\u0e27\u0e22 GPay",tr:"GPayile \xf6deme yap",uk:"\u041e\u043f\u043b\u0430\u0442\u0438\u0442\u0438 \u0447\u0435\u0440\u0435\u0437 GPay",zh:"\u901a\u8fc7 GPay \u7ed3\u8d26"},donate:{ar:"\u0627\u0644\u062a\u0628\u0631\u0651\u0639 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 GPay",bg:"\u0414\u0430\u0440\u044f\u0432\u0430\u043d\u0435 \u0447\u0440\u0435\u0437 GPay",ca:"Fes una donaci\xf3 amb GPay",cs:"Darovat s GPay",da:"Doner med GPay",de:"Mit GPay spenden",el:"\u0394\u03c9\u03c1\u03b5\u03ac \u03bc\u03b5 GPay",en:"Donate with GPay",es:"Donar con GPay",et:"Anneta GPayga",fi:"Lahjoita GPaylla",fr:"Donner avec GPay",hr:"Donacija uz GPay",id:"Beri donasi dengan GPay",it:"Fai una donazione con GPay",ja:"GPay \u3067\u5bc4\u4ed8\u3059\u308b",ko:"GPay\ub85c \uae30\ubd80",ms:"Derma dengan GPay",nl:"Doneren met GPay",no:"Don\xe9r med GPay",pl:"Przeka\u017c darowizn\u0119 przez GPay",pt:"Doar com o GPay",ru:"\u041f\u043e\u0436\u0435\u0440\u0442\u0432\u043e\u0432\u0430\u0442\u044c \u0447\u0435\u0440\u0435\u0437 GPay",sk:"Darova\u0165 cez GPay",sl:"Donacija s storitvijo GPay",sr:"\u0414\u043e\u043d\u0438\u0440\u0430\u0458 \u0443\u0437 GPay",sv:"Donera med GPay",th:"\u0e1a\u0e23\u0e34\u0e08\u0e32\u0e04\u0e14\u0e49\u0e27\u0e22 GPay",tr:"GPayile ba\u011f\u0131\u015f yap",uk:"\u041f\u043e\u0436\u0435\u0440\u0442\u0432\u0443\u0432\u0430\u0442\u0438 \u0447\u0435\u0440\u0435\u0437 GPay",zh:"\u901a\u8fc7 GPay \u6350\u6b3e"},order:{ar:"\u0627\u0644\u0637\u0644\u0628 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 GPay",bg:"\u041f\u043e\u0440\u044a\u0447\u0432\u0430\u043d\u0435 \u0447\u0440\u0435\u0437 GPay",ca:"Fes una comanda amb GPay",cs:"Objednat s GPay",da:"Bestil med GPay",de:"Mit GPay bestellen",el:"\u03a0\u03b1\u03c1\u03b1\u03b3\u03b3\u03b5\u03bb\u03af\u03b1 \u03bc\u03b5 GPay",en:"Order with GPay",es:"Realizar pedido con GPay",et:"Telli GPayga",fi:"Tee tilaus GPaylla",fr:"Commander avec GPay",hr:"Narud\u017eba uz GPay",id:"Pesan dengan GPay",it:"Ordina con GPay",ja:"GPay \u3067\u6ce8\u6587\u3059\u308b",ko:"GPay\ub85c \uc8fc\ubb38",ms:"Pesan dengan GPay",nl:"Bestellen met GPay",no:"Bestill med GPay",pl:"Zam\xf3w z GPay",pt:"Pedir com o GPay",ru:"\u0417\u0430\u043a\u0430\u0437\u0430\u0442\u044c \u0447\u0435\u0440\u0435\u0437 GPay",sk:"Objedna\u0165 cez GPay",sl:"Naro\u010dilo s storitvijo GPay",sr:"\u041f\u043e\u0440\u0443\u0447\u0438 \u0443\u0437 GPay ",sv:"Best\xe4lla med GPay",th:"\u0e2a\u0e31\u0e48\u0e07\u0e0b\u0e37\u0e49\u0e2d\u0e14\u0e49\u0e27\u0e22 GPay",tr:"GPayile sipari\u015f ver",uk:"\u0417\u0430\u043c\u043e\u0432\u0438\u0442\u0438 \u0447\u0435\u0440\u0435\u0437 GPay",zh:"\u901a\u8fc7 GPay \u8ba2\u8d2d"},pay:{ar:"\u0627\u0644\u062f\u0641\u0639 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 GPay",bg:"\u041f\u043b\u0430\u0449\u0430\u043d\u0435 \u0447\u0440\u0435\u0437 GPay",ca:"Paga amb GPay",cs:"Zaplatit s GPay",da:"Betal med GPay",de:"Mit GPay bezahlen",el:"\u03a0\u03bb\u03b7\u03c1\u03c9\u03bc\u03ae \u03bc\u03b5 GPay",en:"Pay with GPay",es:"Pagar con GPay",et:"Maksa GPayga",fi:"Maksa GPaylla",fr:"Payer avec GPay",hr:"Pla\u0107anje uz GPay",id:"Bayar dengan GPay",it:"Paga con GPay",ja:"GPay \u3067\u652f\u6255\u3046",ko:"GPay\ub85c \uacb0\uc81c",ms:"Bayar dengan GPay",nl:"Betalen met GPay",no:"Betal med GPay",pl:"Zap\u0142a\u0107 przez GPay",pt:"Pagar com o GPay",ru:"\u0420\u0430\u0441\u043f\u043b\u0430\u0442\u0438\u0442\u044c\u0441\u044f \u0447\u0435\u0440\u0435\u0437 GPay",sk:"Zaplati\u0165 cez GPay",sl:"Pla\u010dilo s storitvijo GPay",sr:"\u041f\u043b\u0430\u0442\u0438 \u0443\u0437 GPay",sv:"Betala med GPay",th:"\u0e0a\u0e33\u0e23\u0e30\u0e40\u0e07\u0e34\u0e19\u0e14\u0e49\u0e27\u0e22 GPay",tr:"GPayile \xf6de",uk:"\u0421\u043f\u043b\u0430\u0442\u0438\u0442\u0438 \u0447\u0435\u0440\u0435\u0437 GPay",zh:"\u901a\u8fc7 GPay \u4ed8\u6b3e"},subscribe:{ar:"\u0627\u0644\u0627\u0634\u062a\u0631\u0627\u0643 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 GPay",bg:"\u0410\u0431\u043e\u043d\u0438\u0440\u0430\u043d\u0435 \u0447\u0440\u0435\u0437 GPay",ca:"Subscriu-te amb GPay",cs:"P\u0159edplatit s GPay",da:"Abonner med GPay",de:"Mit GPay abonnieren",el:"\u0395\u03b3\u03b3\u03c1\u03b1\u03c6\u03ae \u03bc\u03b5 GPay",en:"Subscribe with GPay",es:"Suscribirse con GPay",et:"Telli GPayga",fi:"Tilaa GPaylla",fr:"S'abonner avecGPay",hr:"Pretplata uz GPay",id:"Berlangganan dengan GPay",it:"Abbonati con GPay",ja:"GPay \u3067\u5b9a\u671f\u8cfc\u5165\u3059\u308b",ko:"GPay\ub85c \uad6c\ub3c5",ms:"Langgan dengan GPay",nl:"Abonneren met GPay",no:"Abonner med GPay",pl:"Zasubskrybuj z GPay",pt:"Assinar com o GPay",ru:"\u041f\u043e\u0434\u043f\u0438\u0441\u0430\u0442\u044c\u0441\u044f \u0447\u0435\u0440\u0435\u0437 GPay",sk:"Odobera\u0165 cez GPay",sl:"Sklenitev naro\u010dnine s storitvijo GPay",sr:"\u041f\u0440\u0435\u0442\u043f\u043b\u0430\u0442\u0430 \u0443\u0437 GPay",sv:"Prenumerera med GPay",th:"\u0e2a\u0e21\u0e31\u0e04\u0e23\u0e43\u0e0a\u0e49\u0e1a\u0e23\u0e34\u0e01\u0e32\u0e23\u0e14\u0e49\u0e27\u0e22 GPay",tr:"GPayile abone ol",uk:"\u041e\u0444\u043e\u0440\u043c\u0438\u0442\u0438 \u043f\u0456\u0434\u043f\u0438\u0441\u043a\u0443 \u0447\u0435\u0440\u0435\u0437 GPay",zh:"\u901a\u8fc7 GPay \u8ba2\u9605"}},Qs={GPAY_BUTTON_VARIANT_TYPE_BNPL_CARD:{ar:"\u0627\u0644\u062f\u0641\u0639 \u0627\u0644\u0622\u0646 \u0623\u0648 \u0644\u0627\u062d\u0642\u064b\u0627 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 Google Pay",bg:"\u041f\u043b\u0430\u0442\u0435\u0442\u0435 \u0441\u0435\u0433\u0430 \u0438\u043b\u0438 \u043f\u043e-\u043a\u044a\u0441\u043d\u043e \u0441 Google Pay",ca:"Paga ara o m\xe9s tard amb Google Pay",cs:"Pla\u0165te ihned nebo pozd\u011bji s Google Pay",da:"Betal nu eller senere med Google Pay",de:"Jetzt oder sp\xe4ter mit Google Pay bezahlen",el:"\u03a0\u03bb\u03b7\u03c1\u03c9\u03bc\u03ae \u03c4\u03ce\u03c1\u03b1 \u03ae \u03b1\u03c1\u03b3\u03cc\u03c4\u03b5\u03c1\u03b1 \u03bc\u03b5 \u03c4\u03bf Google Pay",en:"Pay Now or Later with Google Pay",es:"Paga ahora o m\xe1s tarde con Google Pay",et:"Makske kohe v\xf5i hiljem koos Google Payga",fi:"Maksa nyt tai my\xf6hemmin Google Paylla",fr:"Payer maintenant ou plus tard avec Google Pay",hr:"Platite odmah ili kasnije uz Google Pay",id:"Bayar Sekarang atau Nanti dengan Google Pay",it:"Paga ora o dopo con Google Pay",ja:"Google Pay \u3067\u4eca\u3059\u3050\u652f\u6255\u3046\u304b\u3001\u5f8c\u3067\u652f\u6255\u3046",ko:"Google Pay\uc5d0\uc11c \uc9c0\uae08 \ub610\ub294 \ub098\uc911\uc5d0 \uacb0\uc81c",ms:"Bayar Sekarang atau Kemudian dengan Google Pay",nl:"Betaal nu of later met Google Pay",no:"Betal n\xe5 eller senere med Google Pay",pl:"Zap\u0142a\u0107 teraz lub p\xf3\u017aniej za pomoc\u0105 Google Pay",pt:"Pagar agora ou depois com o Google Pay",ru:"\u041f\u043b\u0430\u0442\u0438\u0442\u0435 \u0447\u0435\u0440\u0435\u0437 Google Pay \u0441\u0440\u0430\u0437\u0443 \u0438\u043b\u0438 \u0432 \u0440\u0430\u0441\u0441\u0440\u043e\u0447\u043a\u0443",sk:"Zaplati\u0165 teraz alebo nesk\xf4r cez Google Pay",sl:"Pla\u010dajte zdaj ali pozneje z Googlom Pay",sr:"\u041f\u043b\u0430\u0442\u0438\u0442\u0435 \u043e\u0434\u043c\u0430\u0445 \u0438\u043b\u0438 \u043a\u0430\u0441\u043d\u0438\u0458\u0435 \u043f\u043e\u043c\u043e\u045b\u0443 Google Pay-\u0430",sv:"Betala nu eller senare med Google Pay",th:"\u0e08\u0e48\u0e32\u0e22\u0e15\u0e2d\u0e19\u0e19\u0e35\u0e49\u0e2b\u0e23\u0e37\u0e2d\u0e08\u0e48\u0e32\u0e22\u0e17\u0e35\u0e2b\u0e25\u0e31\u0e07\u0e44\u0e14\u0e49\u0e14\u0e49\u0e27\u0e22 Google Pay",tr:"Google Pay ile \u015eimdi veya Sonra \xd6de",uk:"\u041e\u043f\u043b\u0430\u0442\u0456\u0442\u044c \u0437\u0430\u0440\u0430\u0437 \u0430\u0431\u043e \u043f\u0456\u0437\u043d\u0456\u0448\u0435 \u0447\u0435\u0440\u0435\u0437 Google Pay",zh:"\u901a\u8fc7 Google Pay \u53ef\u7acb\u5373\u4ed8\u6b3e\u6216\u65e5\u540e\u4ed8\u6b3e"},GPAY_BUTTON_VARIANT_TYPE_BNPL_ONLY:{ar:'\u0645\u064a\u0632\u0629 "\u0627\u0644\u062f\u0641\u0639 \u0644\u0627\u062d\u0642\u064b\u0627" \u0645\u062a\u0627\u062d\u0629 \u0645\u0639 Google Pay',bg:"\u0424\u0443\u043d\u043a\u0446\u0438\u044f\u0442\u0430 \u201e\u041f\u043b\u0430\u0449\u0430\u043d\u0435 \u043f\u043e-\u043a\u044a\u0441\u043d\u043e\u201c \u0435 \u043d\u0430\u043b\u0438\u0446\u0435 \u0441 Google Pay",ca:"Paga m\xe9s tard disponible amb Google Pay",cs:"Zaplatit pozd\u011bji dostupn\xe9 s Google Pay",da:"Betal senere er tilg\xe6ngeligt med Google Pay",de:"\u201eSp\xe4ter bezahlen\u201c mit Google Pay verf\xfcgbar",el:"\u039c\u03b5 \u03c4\u03bf Google Pay, \u03b4\u03b9\u03b1\u03c4\u03af\u03b8\u03b5\u03c4\u03b1\u03b9 \u03b7 \u03b5\u03c0\u03b9\u03bb\u03bf\u03b3\u03ae \u03a0\u03bb\u03b7\u03c1\u03c9\u03bc\u03ae \u03b1\u03c1\u03b3\u03cc\u03c4\u03b5\u03c1\u03b1",en:"Pay Later available with Google Pay",es:"Pago m\xe1s tarde disponible con Google Pay",et:"Funktsioon Maksa hiljem saadaval koos Google Payga",fi:"Maksa my\xf6hemmin Google Paylla",fr:"Payer plus tard avec Google Pay",hr:"Pla\u0107anje kasnije dostupno je uz Google Pay",id:"Bayar Nanti tersedia dengan Google Pay",it:"Paga dopo disponibile con Google Pay",ja:"Google Pay \u3067\u5f8c\u6255\u3044\u304c\u5229\u7528\u53ef\u80fd",ko:"Google Pay\uc5d0\uc11c \ub098\uc911\uc5d0 \uacb0\uc81c \uac00\ub2a5",ms:"Bayar Kemudian tersedia dengan Google Pay",nl:"Betaal later is beschikbaar met Google Pay",no:"\xabBetal senere\xbb er tilgjengelig med Google Pay",pl:"Funkcja Zap\u0142a\u0107 p\xf3\u017aniej jest dost\u0119pna w Google Pay",pt:"Pagar depois dispon\xedvel com o Google Pay",ru:"\u0427\u0435\u0440\u0435\u0437 Google Pay \u043c\u043e\u0436\u043d\u043e \u043f\u043b\u0430\u0442\u0438\u0442\u044c \u0432 \u0440\u0430\u0441\u0441\u0440\u043e\u0447\u043a\u0443",sk:"Mo\u017enos\u0165 Zaplati\u0165 nesk\xf4r je k dispoz\xedcii v slu\u017ebe Google Pay",sl:"Poznej\u0161e pla\u010dilo je na voljo z Googlom Pay",sr:"\u041e\u043f\u0446\u0438\u0458\u0430 \u041f\u043b\u0430\u0442\u0438 \u043a\u0430\u0441\u043d\u0438\u0458\u0435 \u0458\u0435 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u0430 \u0443\u0437 Google Pay",sv:"Betala senare \xe4r tillg\xe4ngligt med Google Pay",th:"\u0e08\u0e48\u0e32\u0e22\u0e17\u0e35\u0e2b\u0e25\u0e31\u0e07\u0e44\u0e14\u0e49\u0e14\u0e49\u0e27\u0e22 Google Pay",tr:"Google Pay ile Sonra \xd6de se\xe7ene\u011fi kullan\u0131labilir.",uk:"\u041e\u043f\u043b\u0430\u0442\u0456\u0442\u044c \u043f\u0456\u0437\u043d\u0456\u0448\u0435 \u0447\u0435\u0440\u0435\u0437 Google Pay",zh:"Google Pay \u652f\u6301\u65e5\u540e\u4ed8\u6b3e"},GPAY_BUTTON_VARIANT_TYPE_OLYMPICS:{buy:{ar:"\u0627\u0644\u0634\u0631\u0627\u0621 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 Google Pay (\u0645\u0646\u0627\u0641\u0633\u0648\u0646 \u062f\u0648\u0644\u064a\u0648\u0646 \u064a\u0633\u0628\u062d\u0648\u0646 \u0644\u062a\u062d\u0642\u064a\u0642 \u0627\u0644\u0641\u0648\u0632)",bg:"\u041a\u0443\u043f\u0435\u0442\u0435 \u0441 Google Pay. \u041c\u0435\u0436\u0434\u0443\u043d\u0430\u0440\u043e\u0434\u043d\u0438 \u043a\u043e\u043d\u043a\u0443\u0440\u0435\u043d\u0442\u0438, \u043f\u043b\u0443\u0432\u0430\u0449\u0438 \u043a\u044a\u043c \u043f\u043e\u0431\u0435\u0434\u0430\u0442\u0430",ca:"Compra amb Google Pay. Competidors internacionals nedant cap a la vict\xf2ria.",cs:"Nakupujte pomoc\xed Google Pay. Mezin\xe1rodn\xed z\xe1vodn\xedci plavou k v\xedt\u011bzstv\xed",da:"K\xf8b med Google Pay. Internationale konkurrenter sv\xf8mmer mod sejren",de:"Mit Google Pay kaufen. Internationale Schwimmer auf dem Weg zu Gold",el:"\u0391\u03b3\u03bf\u03c1\u03ac \u03bc\u03b5 Google Pay. \u0391\u03bd\u03c4\u03af\u03c0\u03b1\u03bb\u03bf\u03b9 \u03b1\u03c0\u03cc \u03cc\u03bb\u03bf \u03c4\u03bf\u03bd \u03ba\u03cc\u03c3\u03bc\u03bf \u03ba\u03bf\u03bb\u03c5\u03bc\u03c0\u03bf\u03cd\u03bd \u03c0\u03c1\u03bf\u03c2 \u03c4\u03b7 \u03bd\u03af\u03ba\u03b7",en:"Buy with Google Pay. International competitors swimming toward victory",es:"Comprar con Google Pay. Competidores internacionales nadando hacia la victoria",et:"Ostke Google Payga. Rahvusvahelisel v\xf5istlusel v\xf5idu poole ujujad",fi:"Osta Google Paylla. Kansainv\xe4liset kilpailijat uimassa kohti voittoa",fr:"Acheter avec Google Pay. Nageurs qui s'\xe9lancent vers la victoire dans une comp\xe9tition internationale.",hr:"Kupite uz Google Pay. Me\u0111unarodni natjecatelji plivaju prema pobjedi",id:"Beli dengan Google Pay. Peserta dari berbagai negara berupaya meraih kemenangan",it:"Acquista con Google Pay. Atleti internazionali che nuotano verso la vittoria",ja:"Google Pay \u3067\u8cfc\u5165\u3002\u52dd\u5229\u3092\u76ee\u6307\u3057\u3066\u6cf3\u3050\u5404\u56fd\u306e\u9078\u624b\u305f\u3061",ko:"Google Pay\ub85c \uad6c\ub9e4. \uc2b9\ub9ac\ub97c \ud5a5\ud574 \ud5e4\uc5c4\uce58\ub294 \uc804 \uc138\uacc4 \uc120\uc218\ub4e4",ms:"Beli melalui Google Pay. Pesaing antarabangsa berenang untuk meraih kejayaan",nl:"Kopen met Google Pay. Internationale concurrenten zwemmen naar de overwinning.",no:"Kj\xf8p med Google Pay. Konkurrenter fra ulike land sv\xf8mmer mot seier",pl:"Zap\u0142a\u0107 przez Google Pay Mi\u0119dzynarodowi zawodnicy p\u0142yn\u0105cy po zwyci\u0119stwo",pt:"Comprar com o Google Pay. Os competidores internacionais est\xe3o nadando em dire\xe7\xe3o \xe0 vit\xf3ria",ru:"\u041e\u043f\u043b\u0430\u0442\u0438\u0442\u044c \u0447\u0435\u0440\u0435\u0437 Google Pay. \u0423\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u0438 \u043c\u0435\u0436\u0434\u0443\u043d\u0430\u0440\u043e\u0434\u043d\u043e\u0433\u043e \u0441\u043e\u0440\u0435\u0432\u043d\u043e\u0432\u0430\u043d\u0438\u044f \u043f\u043b\u044b\u0432\u0443\u0442 \u043a \u0444\u0438\u043d\u0438\u0448\u0443",sk:"K\xfapi\u0165 cez Google Pay. Medzin\xe1rodn\xed pretek\xe1ri pl\xe1vaj\xfaci za v\xed\u0165azstvom",sl:"Nakup z Googlom Pay. Mednarodni tekmovalci, ki plavajo proti zmagi",sr:"\u041a\u0443\u043f\u0438\u0442\u0435 \u043f\u043e\u043c\u043e\u045b\u0443 Google Pay-\u0430. \u041c\u0435\u0452\u0443\u043d\u0430\u0440\u043e\u0434\u043d\u0438 \u0442\u0430\u043a\u043c\u0438\u0447\u0430\u0440\u0438 \u043f\u043b\u0438\u0432\u0430\u0458\u0443 \u043a\u0430 \u043f\u043e\u0431\u0435\u0434\u0438",sv:"K\xf6p med Google Pay. Internationella konkurrenter som simmar mot seger",th:"\u0e0b\u0e37\u0e49\u0e2d\u0e14\u0e49\u0e27\u0e22 Google Pay \u0e40\u0e2b\u0e25\u0e48\u0e32\u0e19\u0e31\u0e01\u0e01\u0e35\u0e2c\u0e32\u0e27\u0e48\u0e32\u0e22\u0e19\u0e49\u0e33\u0e08\u0e32\u0e01\u0e19\u0e32\u0e19\u0e32\u0e1b\u0e23\u0e30\u0e40\u0e17\u0e28\u0e15\u0e48\u0e32\u0e07\u0e21\u0e38\u0e48\u0e07\u0e40\u0e02\u0e49\u0e32\u0e2a\u0e39\u0e48\u0e40\u0e2a\u0e49\u0e19\u0e0a\u0e31\u0e22",tr:"Google pay ile sat\u0131n al. Zafere do\u011fru y\xfczen uluslararas\u0131 yar\u0131\u015fmac\u0131lar.",uk:"\u041e\u043f\u043b\u0430\u0442\u0438\u0442\u0438 \u0447\u0435\u0440\u0435\u0437 Google Pay. \u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043d\u0438\u043a\u0438 \u0440\u0456\u0437\u043d\u0438\u0445 \u043a\u0440\u0430\u0457\u043d \u0437\u043c\u0430\u0433\u0430\u044e\u0442\u044c\u0441\u044f \u0437\u0430 \u043f\u0435\u0440\u0435\u043c\u043e\u0433\u0443 \u0432 \u043f\u043b\u0430\u0432\u0430\u043d\u043d\u0456.",zh:"\u4f7f\u7528 Google Pay \u4ed8\u6b3e\u3002\u591a\u540d\u56fd\u9645\u9009\u624b\u5728\u6e38\u5411\u80dc\u5229"},pay:{ar:"\u0627\u0644\u062f\u0641\u0639 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 Google Pay (\u0645\u0646\u0627\u0641\u0633\u0648\u0646 \u062f\u0648\u0644\u064a\u0648\u0646 \u064a\u0633\u0628\u062d\u0648\u0646 \u0644\u062a\u062d\u0642\u064a\u0642 \u0627\u0644\u0641\u0648\u0632)",bg:"\u041f\u043b\u0430\u0442\u0435\u0442\u0435 \u0441 Google Pay. \u041c\u0435\u0436\u0434\u0443\u043d\u0430\u0440\u043e\u0434\u043d\u0438 \u043a\u043e\u043d\u043a\u0443\u0440\u0435\u043d\u0442\u0438, \u043f\u043b\u0443\u0432\u0430\u0449\u0438 \u043a\u044a\u043c \u043f\u043e\u0431\u0435\u0434\u0430\u0442\u0430",ca:"Paga amb Google Pay. Competidors internacionals nedant cap a la vict\xf2ria.",cs:"Pla\u0165te pomoc\xed Google Pay. Mezin\xe1rodn\xed z\xe1vodn\xedci plavou k v\xedt\u011bzstv\xed",da:"Betal med Google Pay. Internationale konkurrenter sv\xf8mmer mod sejren",de:"\xdcber mein Google-Konto bezahlen. Internationale Schwimmer auf dem Weg zu Gold",el:"\u03a0\u03bb\u03b7\u03c1\u03ce\u03c3\u03c4\u03b5 \u03bc\u03ad\u03c3\u03c9 Google Pay. \u0391\u03bd\u03c4\u03af\u03c0\u03b1\u03bb\u03bf\u03b9 \u03b1\u03c0\u03cc \u03cc\u03bb\u03bf \u03c4\u03bf\u03bd \u03ba\u03cc\u03c3\u03bc\u03bf \u03ba\u03bf\u03bb\u03c5\u03bc\u03c0\u03bf\u03cd\u03bd \u03c0\u03c1\u03bf\u03c2 \u03c4\u03b7 \u03bd\u03af\u03ba\u03b7",en:"Pay with Google Pay. International competitors swimming toward victory",es:"Pagar con Google Pay. Competidores internacionales nadando hacia la victoria",et:"Makske Google Payga. Rahvusvahelisel v\xf5istlusel v\xf5idu poole ujujad",fi:"Maksa Google Paylla. Kansainv\xe4liset kilpailijat uimassa kohti voittoa",fr:"Payer avec Google Pay. Nageurs qui s'\xe9lancent vers la victoire dans une comp\xe9tition internationale.",hr:"Platite uz Google Pay. Me\u0111unarodni natjecatelji plivaju prema pobjedi",id:"Bayar dengan Google Pay. Peserta dari berbagai negara berupaya meraih kemenangan",it:"Paga con Google Pay. Atleti internazionali che nuotano verso la vittoria",ja:"Google Pay \u3067\u304a\u652f\u6255\u3044\u3002\u52dd\u5229\u3092\u76ee\u6307\u3057\u3066\u6cf3\u3050\u5404\u56fd\u306e\u9078\u624b\u305f\u3061",ko:"Google Pay\ub85c \uacb0\uc81c. \uc2b9\ub9ac\ub97c \ud5a5\ud574 \ud5e4\uc5c4\uce58\ub294 \uc804 \uc138\uacc4 \uc120\uc218\ub4e4",ms:"Bayar dengan Google Pay. Pesaing antarabangsa berenang untuk meraih kejayaan",nl:"Betalen met Google Pay. Internationale concurrenten zwemmen naar de overwinning.",no:"Betal med Google Pay. Konkurrenter fra ulike land sv\xf8mmer mot seier",pl:"Zap\u0142a\u0107 przez Google Pay Mi\u0119dzynarodowi zawodnicy p\u0142yn\u0105cy po zwyci\u0119stwo",pt:"Pagar com o Google Pay. Os competidores internacionais est\xe3o nadando em dire\xe7\xe3o \xe0 vit\xf3ria",ru:"\u041e\u043f\u043b\u0430\u0442\u0438\u0442\u044c \u0447\u0435\u0440\u0435\u0437 Google Pay. \u0423\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u0438 \u043c\u0435\u0436\u0434\u0443\u043d\u0430\u0440\u043e\u0434\u043d\u043e\u0433\u043e \u0441\u043e\u0440\u0435\u0432\u043d\u043e\u0432\u0430\u043d\u0438\u044f \u043f\u043b\u044b\u0432\u0443\u0442 \u043a \u0444\u0438\u043d\u0438\u0448\u0443",sk:"Zaplati\u0165 cez Google Pay. Medzin\xe1rodn\xed pretek\xe1ri pl\xe1vaj\xfaci za v\xed\u0165azstvom",sl:"Pla\u010dajte z Googlom Pay. Mednarodni tekmovalci, ki plavajo proti zmagi",sr:"\u041f\u043b\u0430\u0442\u0438\u0442\u0435 \u043f\u043e\u043c\u043e\u045b\u0443 Google Pay-\u0430. \u041c\u0435\u0452\u0443\u043d\u0430\u0440\u043e\u0434\u043d\u0438 \u0442\u0430\u043a\u043c\u0438\u0447\u0430\u0440\u0438 \u043f\u043b\u0438\u0432\u0430\u0458\u0443 \u043a\u0430 \u043f\u043e\u0431\u0435\u0434\u0438",sv:"Betala med Google Pay. Internationella konkurrenter som simmar mot seger",th:"\u0e0a\u0e33\u0e23\u0e30\u0e40\u0e07\u0e34\u0e19\u0e14\u0e49\u0e27\u0e22 Google Pay \u0e40\u0e2b\u0e25\u0e48\u0e32\u0e19\u0e31\u0e01\u0e01\u0e35\u0e2c\u0e32\u0e27\u0e48\u0e32\u0e22\u0e19\u0e49\u0e33\u0e08\u0e32\u0e01\u0e19\u0e32\u0e19\u0e32\u0e1b\u0e23\u0e30\u0e40\u0e17\u0e28\u0e15\u0e48\u0e32\u0e07\u0e21\u0e38\u0e48\u0e07\u0e40\u0e02\u0e49\u0e32\u0e2a\u0e39\u0e48\u0e40\u0e2a\u0e49\u0e19\u0e0a\u0e31\u0e22",tr:"Google Pay ile \xf6de. Zafere do\u011fru y\xfczen uluslararas\u0131 yar\u0131\u015fmac\u0131lar.",uk:"\u041e\u043f\u043b\u0430\u0442\u0438\u0442\u0438 \u0447\u0435\u0440\u0435\u0437 Google Pay. \u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043d\u0438\u043a\u0438 \u0440\u0456\u0437\u043d\u0438\u0445 \u043a\u0440\u0430\u0457\u043d \u0437\u043c\u0430\u0433\u0430\u044e\u0442\u044c\u0441\u044f \u0437\u0430 \u043f\u0435\u0440\u0435\u043c\u043e\u0433\u0443 \u0432 \u043f\u043b\u0430\u0432\u0430\u043d\u043d\u0456.",zh:"\u901a\u8fc7 Google Pay \u4ed8\u6b3e\u3002\u591a\u540d\u56fd\u9645\u9009\u624b\u5728\u6e38\u5411\u80dc\u5229"},plain:{ar:"\u202bGoogle Pay (\u0645\u0646\u0627\u0641\u0633\u0648\u0646 \u062f\u0648\u0644\u064a\u0648\u0646 \u064a\u0633\u0628\u062d\u0648\u0646 \u0644\u062a\u062d\u0642\u064a\u0642 \u0627\u0644\u0641\u0648\u0632)",bg:"Google Pay. \u041c\u0435\u0436\u0434\u0443\u043d\u0430\u0440\u043e\u0434\u043d\u0438 \u043a\u043e\u043d\u043a\u0443\u0440\u0435\u043d\u0442\u0438, \u043f\u043b\u0443\u0432\u0430\u0449\u0438 \u043a\u044a\u043c \u043f\u043e\u0431\u0435\u0434\u0430\u0442\u0430",ca:"Google Pay. Competidors internacionals nedant cap a la vict\xf2ria.",cs:"Google Pay. Mezin\xe1rodn\xed z\xe1vodn\xedci plavou k v\xedt\u011bzstv\xed",da:"Google Pay. Internationale konkurrenter sv\xf8mmer mod sejren",de:"Google Pay. Internationale Schwimmer auf dem Weg zu Gold",el:"Google Pay. \u0391\u03bd\u03c4\u03af\u03c0\u03b1\u03bb\u03bf\u03b9 \u03b1\u03c0\u03cc \u03cc\u03bb\u03bf \u03c4\u03bf\u03bd \u03ba\u03cc\u03c3\u03bc\u03bf \u03ba\u03bf\u03bb\u03c5\u03bc\u03c0\u03bf\u03cd\u03bd \u03c0\u03c1\u03bf\u03c2 \u03c4\u03b7 \u03bd\u03af\u03ba\u03b7",en:"Google Pay. International competitors swimming toward victory",es:"Google Pay. Competidores internacionales nadando hacia la victoria",et:"Google Pay. Rahvusvahelisel v\xf5istlusel v\xf5idu poole ujujad",fi:"Google Pay. Kansainv\xe4liset kilpailijat uimassa kohti voittoa",fr:"Google Pay. Nageurs qui s'\xe9lancent vers la victoire dans une comp\xe9tition internationale.",hr:"Google Pay. Me\u0111unarodni natjecatelji plivaju prema pobjedi",id:"Google Pay. Peserta dari berbagai negara berupaya meraih kemenangan",it:"Google Pay. Atleti internazionali che nuotano verso la vittoria",ja:"Google Pay\u3002\u52dd\u5229\u3092\u76ee\u6307\u3057\u3066\u6cf3\u3050\u5404\u56fd\u306e\u9078\u624b\u305f\u3061",ko:"Google Pay. \uc2b9\ub9ac\ub97c \ud5a5\ud574 \ud5e4\uc5c4\uce58\ub294 \uc804 \uc138\uacc4 \uc120\uc218\ub4e4",ms:"Google Pay. Pesaing antarabangsa berenang untuk meraih kejayaan",nl:"Google Pay. Internationale concurrenten zwemmen naar de overwinning.",no:"Google Pay. Konkurrenter fra ulike land sv\xf8mmer mot seier",pl:"Google Pay Mi\u0119dzynarodowi zawodnicy p\u0142yn\u0105cy po zwyci\u0119stwo",pt:"Google Pay. Os competidores internacionais est\xe3o nadando em dire\xe7\xe3o \xe0 vit\xf3ria",ru:"Google Pay. \u0423\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u0438 \u043c\u0435\u0436\u0434\u0443\u043d\u0430\u0440\u043e\u0434\u043d\u043e\u0433\u043e \u0441\u043e\u0440\u0435\u0432\u043d\u043e\u0432\u0430\u043d\u0438\u044f \u043f\u043b\u044b\u0432\u0443\u0442 \u043a \u0444\u0438\u043d\u0438\u0448\u0443",sk:"Google Pay. Medzin\xe1rodn\xed pretek\xe1ri pl\xe1vaj\xfaci za v\xed\u0165azstvom",sl:"Google Pay. Mednarodni tekmovalci, ki plavajo proti zmagi",sr:"Google Pay. \u041c\u0435\u0452\u0443\u043d\u0430\u0440\u043e\u0434\u043d\u0438 \u0442\u0430\u043a\u043c\u0438\u0447\u0430\u0440\u0438 \u043f\u043b\u0438\u0432\u0430\u0458\u0443 \u043a\u0430 \u043f\u043e\u0431\u0435\u0434\u0438",sv:"Google Pay. Internationella konkurrenter som simmar mot seger",th:"Google Pay \u0e40\u0e2b\u0e25\u0e48\u0e32\u0e19\u0e31\u0e01\u0e01\u0e35\u0e2c\u0e32\u0e27\u0e48\u0e32\u0e22\u0e19\u0e49\u0e33\u0e08\u0e32\u0e01\u0e19\u0e32\u0e19\u0e32\u0e1b\u0e23\u0e30\u0e40\u0e17\u0e28\u0e15\u0e48\u0e32\u0e07\u0e21\u0e38\u0e48\u0e07\u0e40\u0e02\u0e49\u0e32\u0e2a\u0e39\u0e48\u0e40\u0e2a\u0e49\u0e19\u0e0a\u0e31\u0e22",tr:"Google Pay. Zafere do\u011fru y\xfczen uluslararas\u0131 yar\u0131\u015fmac\u0131lar.",uk:"Google Pay. \u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043d\u0438\u043a\u0438 \u0440\u0456\u0437\u043d\u0438\u0445 \u043a\u0440\u0430\u0457\u043d \u0437\u043c\u0430\u0433\u0430\u044e\u0442\u044c\u0441\u044f \u0437\u0430 \u043f\u0435\u0440\u0435\u043c\u043e\u0433\u0443 \u0432 \u043f\u043b\u0430\u0432\u0430\u043d\u043d\u0456.",zh:"Google Pay\u3002 \u591a\u540d\u56fd\u9645\u9009\u624b\u5728\u6e38\u5411\u80dc\u5229"}},GPAY_BUTTON_VARIANT_TYPE_RLMIA:{af:"Koop met Google Pay. Met Rolling Loud-10e-herdenkingkleure (pienk en grys) met palmbome om Miami voor te stel",am:"\u1260Google Pay \u12ed\u130d\u12d9\u1362 \u12e8\u122e\u120a\u1295\u130d \u120b\u12cd\u12f5 10\u129b \u12d3\u1218\u1275 \u12a2\u12ee\u1264\u120d\u12e9 \u1240\u1208\u121b\u1275\u1295 (\u1210\u121d\u122b\u12ca \u12a5\u1293 \u130d\u122b\u132b) \u121b\u12eb\u121a\u1295 \u12a8\u121a\u12c8\u12ad\u1209 \u12e8\u12d8\u1295\u1263\u1263 \u12db\u134e\u127d \u130b\u122d \u1208\u12ed\u1276 \u1260\u121b\u1245\u1228\u1265 \u120b\u12ed",ar:'\u0632\u0631 "\u0627\u0644\u0634\u0631\u0627\u0621 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 Google Pay" \u0628\u0623\u0644\u0648\u0627\u0646 \u062a\u062d\u062a\u0641\u0644 \u0628\u0627\u0644\u0630\u0643\u0631\u0649 \u0627\u0644\u0640 10 \u0644\u0645\u0647\u0631\u062c\u0627\u0646 Rolling Loud (\u0627\u0644\u0648\u0631\u062f\u064a \u0648\u0627\u0644\u0631\u0645\u0627\u062f\u064a) \u0645\u0639 \u0623\u0634\u062c\u0627\u0631 \u0646\u062e\u064a\u0644 \u062a\u0645\u062b\u0644 \u0645\u062f\u064a\u0646\u0629 \u0645\u064a\u0627\u0645\u064a',az:"Google Pay il\u0259 al\u0131n. Mayamini t\u0259msil etm\u0259k \xfc\xe7\xfcn xurma a\u011faclar\u0131 il\u0259 Rolling Loud 10-cu ild\xf6n\xfcm\xfc r\u0259ngl\u0259ri (\xe7\u0259hray\u0131 v\u0259 boz) t\u0259qdim edilir",be:"\u0410\u043f\u043b\u0430\u0446\u0456\u0446\u044c \u043f\u0440\u0430\u0437 Google Pay. \u0412\u044b\u043a\u0430\u0440\u044b\u0441\u0442\u0430\u043d\u044b \u043a\u043e\u043b\u0435\u0440\u044b, \u0432\u044b\u0431\u0440\u0430\u043d\u044b\u044f \u0434\u043b\u044f 10-\u0439 \u0433\u0430\u0434\u0430\u0432\u0456\u043d\u044b \u0444\u0435\u0441\u0442\u044b\u0432\u0430\u043b\u044e Rolling Loud (\u0440\u0443\u0436\u043e\u0432\u044b \u0456 \u0448\u044d\u0440\u044b), \u0430 \u0442\u0430\u043a\u0441\u0430\u043c\u0430 \u0432\u0456\u0434\u0430\u0440\u044b\u0441\u044b \u043f\u0430\u043b\u044c\u043c\u0430\u045e, \u044f\u043a\u0456\u044f \u0441\u0456\u043c\u0432\u0430\u043b\u0456\u0437\u0443\u044e\u0446\u044c \u041c\u0430\u044f\u043c\u0456.",bg:"\u041a\u0443\u043f\u0435\u0442\u0435 \u0441 Google Pay. \u0412\u043a\u043b\u044e\u0447\u0432\u0430 \u0446\u0432\u0435\u0442\u043e\u0432\u0435\u0442\u0435 (\u0440\u043e\u0437\u043e\u0432\u043e \u0438 \u0441\u0438\u0432\u043e) \u043e\u0442 10-\u0430\u0442\u0430 \u0433\u043e\u0434\u0438\u0448\u043d\u0438\u043d\u0430 \u043d\u0430 Rolling Loud \u0441 \u043f\u0430\u043b\u043c\u0438, \u043a\u043e\u0438\u0442\u043e \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0432\u0430\u0442 \u041c\u0430\u044f\u043c\u0438",bn:"Google Pay \u09ac\u09cd\u09af\u09ac\u09b9\u09be\u09b0 \u0995\u09b0\u09c7 \u0995\u09bf\u09a8\u09c1\u09a8\u0964 Rolling Loud-\u098f\u09b0 \u09e7\u09e6\u09ae \u09ac\u09b0\u09cd\u09b7\u09aa\u09c2\u09b0\u09cd\u09a4\u09bf\u09b0 \u09a5\u09bf\u09ae \u09b0\u0999 (\u0997\u09cb\u09b2\u09be\u09aa\u09bf \u0993 \u09a7\u09c2\u09b8\u09b0) \u098f\u09ac\u0982 \u09ae\u09bf\u09df\u09be\u09ae\u09bf\u09b0 \u09aa\u09cd\u09b0\u09a4\u09c0\u0995 \u09b9\u09bf\u09b8\u09c7\u09ac\u09c7 \u09aa\u09be\u09ae \u0997\u09be\u099b \u09a6\u09c7\u0996\u09be\u09a8\u09cb \u09b9\u09df\u09c7\u099b\u09c7",bs:"Kupite putem Google Paya. Uklju\u010duje boje 10. godi\u0161njice Rolling Louda (ru\u017ei\u010dastu i sivu) s palmama koje simboliziraju Miami",ca:"Compra amb Google Pay. Amb els colors del des\xe8 aniversari de Rolling Loud (rosa i gris) i palmeres que representen Miami.",cs:"Nakupte pomoc\xed Google Pay. S barvami 10. jubilejn\xedho ro\u010dn\xedku hudebn\xedho festivalu Rolling Loud (r\u016f\u017eovou a \u0161edou) a palmami reprezentuj\xedc\xedmi Miami",cy:"Prynu gyda Google Pay. Yn cynnwys lliwiau 10fed pen-blwydd Rolling Loud (pinc a llwyd) gyda choed palmwydd i gynrychioli Miami",da:"K\xf8b med Google Pay. Med farverne fra Rolling Louds 10-\xe5rs jubil\xe6um (pink og gr\xe5) og palmer, der repr\xe6senterer Miami",de:"Mit Google Pay kaufen. Anl\xe4sslich der 10. Ausgabe des Rolling Loud Festivals in den Jubil\xe4umsfarben Rosa und Grau gehalten. Die Palmen sollen den Veranstaltungsort Miami symbolisieren.",el:"\u0391\u03b3\u03bf\u03c1\u03ac \u03bc\u03b5 Google Pay. \u039c\u03b5 \u03c4\u03b1 \u03c7\u03c1\u03ce\u03bc\u03b1\u03c4\u03b1 \u03c4\u03b7\u03c2 10\u03b7\u03c2 \u03b5\u03c0\u03b5\u03c4\u03b5\u03af\u03bf\u03c5 \u03c4\u03bf\u03c5 Rolling Loud (\u03c1\u03bf\u03b6 \u03ba\u03b1\u03b9 \u03b3\u03ba\u03c1\u03b9) \u03ba\u03b1\u03b9 \u03c6\u03bf\u03af\u03bd\u03b9\u03ba\u03b5\u03c2 \u03c0\u03bf\u03c5 \u03b1\u03bd\u03c4\u03b9\u03c0\u03c1\u03bf\u03c3\u03c9\u03c0\u03b5\u03cd\u03bf\u03c5\u03bd \u03c4\u03bf \u039c\u03b1\u03ca\u03ac\u03bc\u03b9",en:"Buy with Google Pay. Featuring Rolling Loud 10th anniversary colours (pink and grey) with palm trees to represent Miami",es:"Comprar con Google Pay. Con los colores del d\xe9cimo aniversario de Rolling Loud (rosa y gris) y palmeras que representan Miami",La:"Comprar con Google Pay. Con los colores del 10\xba aniversario de Rolling Loud (rosa y gris) y palmeras que representan a Miami",et:"Ostke Google Payga. Kasutatud on festivali Rolling Loud 10. aastap\xe4eva v\xe4rve (roosa ja hall) ning Miamit s\xfcmboliseerivaid palmipuid",eu:"Erosi Google Pay-rekin. Rolling Loud-en 10. urteurrenaren koloreak ditu (arrosa eta grisa), Miami irudikatzen duten palmondo eta guzti.",fa:"\u062e\u0631\u06cc\u062f\u0646 \u0628\u0627 Google Pay. \u0628\u0627 \u0646\u0645\u0627\u06cc\u0634 \u0648\u06cc\u0698\u0647 \u0631\u0646\u06af\u200c\u0647\u0627\u06cc \u062f\u0647\u0645\u06cc\u0646 \u0633\u0627\u0644\u06af\u0631\u062f Rolling Loud (\u0635\u0648\u0631\u062a\u06cc \u0648 \u062e\u0627\u06a9\u0633\u062a\u0631\u06cc) \u0628\u0647\u200c\u0647\u0645\u0631\u0627\u0647 \u062f\u0631\u062e\u062a\u0627\u0646 \u0646\u062e\u0644 \u0628\u0631\u0627\u06cc \u0627\u06cc\u062c\u0627\u062f \u062d\u0627\u0644\u200c\u0648\u0647\u0648\u0627\u06cc \u0645\u06cc\u0627\u0645\u06cc",fi:"Osta Google Paylla. Kuvituksena Rolling Loudin 10-vuotisjuhlav\xe4rit (pinkki ja harmaa) ja Miamia symboloivat palmut.",fi__1:"Bumili gamit ang Google Pay. Tampok ang mga kulay ng ika-10 anibersaryo (pink at gray) ng Rolling Loud na may mga palm tree na kumakatawan sa Miami",fr:"Acheter avec Google Pay. Aux couleurs du 10e anniversaire de Rolling Loud (rose et gris) et avec des palmiers pour repr\xe9senter Miami",Ca:"Acheter avec Google Pay. Avec les couleurs du 10\u1d49 anniversaire de Rolling Loud (rose et gris) et des palmiers pour repr\xe9senter Miami",ga:"Ceannaigh le Google Pay. Ina bhfuil dathanna chom\xf3radh 10 mbliana Rolling Loud le feice\xe1il (b\xe1ndearg agus liath) agus crainn phailme chun Miami a l\xe9iri\xfa",gl:"Comprar con Google Pay. Coas as cores (rosa e gris) do X aniversario do festival Rolling Loud con palmeiras que representan Miami",gu:"Google Pay \u0ab5\u0aa1\u0ac7 \u0a96\u0ab0\u0ac0\u0aa6\u0ac0 \u0a95\u0ab0\u0acb. \u0aae\u0abe\u0aaf\u0abe\u0aae\u0ac0\u0aa8\u0ac7 \u0ab0\u0a9c\u0ac2 \u0a95\u0ab0\u0aa4\u0abe \u0aa4\u0abe\u0aa1\u0aa8\u0abe \u0ab5\u0ac3\u0a95\u0acd\u0ab7\u0acb \u0ab8\u0abe\u0aa5\u0ac7 Rolling Loud\u0aa8\u0ac0 10\u0aae\u0ac0 \u0ab5\u0ab0\u0acd\u0ab7\u0a97\u0abe\u0a82\u0aa0\u0aa8\u0abe \u0ab0\u0a82\u0a97\u0acb (\u0a97\u0ac1\u0ab2\u0abe\u0aac\u0ac0 \u0a85\u0aa8\u0ac7 \u0ab0\u0abe\u0a96\u0acb\u0aa1\u0ac0) \u0aa6\u0ab0\u0acd\u0ab6\u0abe\u0ab5\u0aa4\u0ac1\u0a82",hi:"Google Pay \u0915\u0940 \u092e\u0926\u0926 \u0938\u0947 \u0916\u0930\u0940\u0926\u0947\u0902. \u0907\u092e\u0947\u091c \u092e\u0947\u0902 \u0930\u094b\u0932\u093f\u0902\u0917 \u0932\u093e\u0909\u0921 \u092b\u093c\u0947\u0938\u094d\u091f\u093f\u0935\u0932 \u0915\u0940 10\u0935\u0940\u0902 \u0938\u093e\u0932\u0917\u093f\u0930\u0939 \u0915\u0940 \u0925\u0940\u092e, \u091c\u094b \u0917\u0941\u0932\u093e\u092c\u0940 \u0914\u0930 \u0938\u094d\u0932\u0947\u091f\u0940 \u0930\u0902\u0917\u094b\u0902 \u0915\u0947 \u0938\u093e\u0925-\u0938\u093e\u0925 \u092e\u093f\u092f\u093e\u092e\u0940 \u0915\u0940 \u092a\u0939\u091a\u093e\u0928 \u0915\u0947 \u0924\u094c\u0930 \u092a\u0930 \u0924\u093e\u0921\u093c \u0915\u0947 \u092a\u0947\u0921\u093c\u094b\u0902 \u0915\u094b \u0926\u093f\u0916\u093e\u0924\u0940 \u0939\u0948",hr:"Kupite uz Google Pay. Uklju\u010duje boje 10. godi\u0161njice festivala Rolling Loud (ru\u017ei\u010dastu i sivu) s palmama koje simboliziraju Miami",hu:"V\xe1s\xe1rl\xe1s a Google Pay haszn\xe1lat\xe1val. A Rolling Loud fesztiv\xe1l 10. \xe9vfordul\xf3j\xe1nak sz\xedneivel (r\xf3zsasz\xedn \xe9s sz\xfcrke) \xe9s p\xe1lmaf\xe1kkal, amelyek Miamit szimboliz\xe1lj\xe1k",hy:"\u0533\u0576\u0565\u056c Google Pay-\u0578\u057e\u0589 Rolling Loud \u0583\u0561\u057c\u0561\u057f\u0578\u0576\u056b 10-\u0561\u0574\u0575\u0561\u056f\u056b \u0563\u0578\u0582\u0575\u0576\u0565\u0580\u0568 (\u057e\u0561\u0580\u0564\u0561\u0563\u0578\u0582\u0575\u0576 \u0587 \u0574\u0578\u056d\u0580\u0561\u0563\u0578\u0582\u0575\u0576) \u0587 \u0561\u0580\u0574\u0561\u057e\u0565\u0576\u056b\u0576\u0565\u0580\u0568 \u056d\u0578\u0580\u0570\u0580\u0564\u0561\u0576\u0577\u0578\u0582\u0574 \u0565\u0576 \u0544\u0561\u0575\u0561\u0574\u056b\u0576",id:"Beli dengan Google Pay. Menampilkan warna ulang tahun ke-10 Rolling Loud (merah muda dan abu-abu) dengan pohon palem untuk mewakili Miami",is:"Kaupa me\xf0 Google Pay. Me\xf0 afm\xe6lislitum Rolling Loud \xed tilefni af 10 \xe1ra afm\xe6li h\xe1t\xed\xf0arinnar (bleikur og gr\xe1r) me\xf0 p\xe1lmatrj\xe1m sem t\xe1kna Miami",it:"Acquista con Google Pay. Con i colori di Rolling Loud per il 10\xb0 anniversario (rosa e grigio) e palme per rappresentare Miami",iw:"\u05ea\u05e9\u05dc\u05d5\u05dd \u05d3\u05e8\u05da Google Pay. \u05e2\u05dd \u05d4\u05e6\u05d1\u05e2\u05d9\u05dd \u05e9\u05dc \u05d9\u05d5\u05dd \u05d4\u05e9\u05e0\u05d4 \u05d4\u05e2\u05e9\u05d9\u05e8\u05d9 \u05e9\u05dc \u05e4\u05e1\u05d8\u05d9\u05d1\u05dc Rolling Loud (\u05d5\u05e8\u05d5\u05d3 \u05d5\u05d0\u05e4\u05d5\u05e8) \u05d5\u05e2\u05e6\u05d9 \u05d3\u05e7\u05dc \u05e9\u05de\u05d9\u05d9\u05e6\u05d2\u05d9\u05dd \u05d0\u05ea \u05de\u05d9\u05d0\u05de\u05d9",ja:"Google Pay \u3067\u8cfc\u5165\u3002Rolling Loud \u306e 10 \u5468\u5e74\u8a18\u5ff5\u30ab\u30e9\u30fc\uff08\u30d4\u30f3\u30af\u3068\u30b0\u30ec\u30fc\uff09\u306b\u3001\u30de\u30a4\u30a2\u30df\u3092\u8c61\u5fb4\u3059\u308b\u30e4\u30b7\u306e\u6728\u304c\u63cf\u304b\u308c\u3066\u3044\u308b",ka:"Google Pay-\u10e1 \u10db\u10d4\u10e8\u10d5\u10d4\u10dd\u10d1\u10d8\u10d7 \u10e8\u10d4\u10eb\u10d4\u10dc\u10d0. \u10e8\u10d4\u10e5\u10db\u10dc\u10d8\u10da\u10d8\u10d0 Rolling Loud-\u10d8\u10e1 \u10db\u10d4-10 \u10ec\u10da\u10d8\u10e1\u10d7\u10d0\u10d5\u10d8\u10e1 \u10e4\u10d4\u10e0\u10d4\u10d1\u10e8\u10d8 (\u10d5\u10d0\u10e0\u10d3\u10d8\u10e1\u10e4\u10d4\u10e0\u10d8 \u10d3\u10d0 \u10dc\u10d0\u10ea\u10e0\u10d8\u10e1\u10e4\u10d4\u10e0\u10d8) \u10e4\u10d8\u10dc\u10d8\u10d9\u10d8\u10e1 \u10de\u10d0\u10da\u10db\u10d4\u10d1\u10d8\u10d7 \u10db\u10d0\u10d8\u10d0\u10db\u10d8\u10e1 \u10ec\u10d0\u10e0\u10db\u10dd\u10e1\u10d0\u10d3\u10d2\u10d4\u10dc\u10d0\u10d3",kk:"Google Pay-\u043c\u0435\u043d \u0441\u0430\u0442\u044b\u043f \u0430\u043b\u0443 Rolling Loud \u0444\u0435\u0441\u0442\u0438\u0432\u0430\u043b\u0456\u043d\u0456\u04a3 10 \u0436\u044b\u043b\u0434\u044b\u0493\u044b\u043d\u0430 \u0430\u0440\u043d\u0430\u043b\u044b\u043f, \u049b\u044b\u0437\u0493\u044b\u043b\u0442 \u0436\u04d9\u043d\u0435 \u0441\u04b1\u0440 \u0442\u04af\u0441\u0442\u0435\u0440, \u0441\u043e\u043d\u0434\u0430\u0439-\u0430\u049b \u041c\u0430\u0439\u0430\u043c\u0438\u0434\u0456\u04a3 \u0431\u0435\u043b\u0433\u0456\u0441\u0456 \u0441\u0430\u043d\u0430\u043b\u0430\u0442\u044b\u043d \u043f\u0430\u043b\u044c\u043c\u0430 \u0430\u0493\u0430\u0448\u0442\u0430\u0440\u044b \u0431\u0435\u0439\u043d\u0435\u043b\u0435\u043d\u0433\u0435\u043d.",km:"\u1791\u17b7\u1789\u178f\u17b6\u1798 Google Pay\u17d4 \u1780\u17b6\u179a\u178f\u17b6\u17c6\u1784\u179a\u17c6\u179b\u17c1\u1785\u1796\u178e\u17cc\u1782\u1798\u17d2\u179a\u1794\u17cb\u1781\u17bd\u1794 10 \u1786\u17d2\u1793\u17b6\u17c6\u1793\u17c3 Rolling Loud (\u1795\u17d2\u1780\u17b6\u1788\u17bc\u1780 \u1793\u17b7\u1784\u1794\u17d2\u179a\u1795\u17c1\u17c7) \u178a\u17c2\u179b\u1798\u17b6\u1793\u178a\u17be\u1798\u178a\u17bc\u1784\u178f\u17c6\u178e\u17b6\u1784\u17b1\u17d2\u1799 Miami",kn:"Google Pay \u0cac\u0cb3\u0cb8\u0cbf\u0c95\u0cca\u0c82\u0ca1\u0cc1 \u0c96\u0cb0\u0cc0\u0ca6\u0cbf\u0cb8\u0cbf. Rolling Loud \u0ca8 10 \u0ca8\u0cc7 \u0cb5\u0cbe\u0cb0\u0ccd\u0cb7\u0cbf\u0c95\u0ccb\u0ca4\u0ccd\u0cb8\u0cb5\u0ca6 \u0cac\u0ca3\u0ccd\u0ca3\u0c97\u0cb3 (\u0c97\u0cc1\u0cb2\u0cbe\u0cac\u0cbf \u0cae\u0ca4\u0ccd\u0ca4\u0cc1 \u0cac\u0cc2\u0ca6\u0cc1) \u0c9c\u0cca\u0ca4\u0cc6\u0c97\u0cc6 \u0cae\u0cbf\u0caf\u0cbe\u0cae\u0cbf\u0caf\u0ca8\u0ccd\u0ca8\u0cc1 \u0caa\u0ccd\u0cb0\u0ca4\u0cbf\u0ca8\u0cbf\u0ca7\u0cbf\u0cb8\u0cb2\u0cc1 \u0ca4\u0cbe\u0cb3\u0cc6 \u0cae\u0cb0\u0c97\u0cb3\u0ca8\u0ccd\u0ca8\u0cc1 \u0ca4\u0ccb\u0cb0\u0cbf\u0cb8\u0cb2\u0cbe\u0c97\u0cbf\u0ca6\u0cc6",ko:"Google Pay\ub85c \uad6c\ub9e4. Rolling Loud 10\uc8fc\ub144\uc744 \uae30\ub150\ud558\ub294 \uc0c9\uc0c1(\ud551\ud06c\uc0c9\uacfc \ud68c\uc0c9)\uc774 \uc0ac\uc6a9\ub418\uc5c8\uc73c\uba70 \ub9c8\uc774\uc560\ubbf8\ub97c \uc0c1\uc7a5\ud558\ub294 \uc57c\uc790\uc218 \uc774\ubbf8\uc9c0\uac00 \ud45c\uc2dc\ub418\uc5b4 \uc788\uc2b5\ub2c8\ub2e4.",ky:"Google Pay \u0430\u0440\u043a\u044b\u043b\u0443\u0443 \u0441\u0430\u0442\u044b\u043f \u0430\u043b\u0443\u0443. Rolling Loud \u0444\u0435\u0441\u0442\u0438\u0432\u0430\u043b\u044b\u043d\u044b\u043d 10 \u0436\u044b\u043b\u0434\u044b\u0433\u044b\u043d\u0430 \u043a\u0430\u0440\u0430\u0442\u0430 \u043a\u044b\u0437\u0433\u044b\u043b\u0442\u044b\u043c \u0436\u0430\u043d\u0430 \u0431\u043e\u0437 \u0442\u04af\u0441\u0442\u04e9\u0440 \u043a\u043e\u043b\u0434\u043e\u043d\u0443\u043b\u0443\u043f, \u041c\u0430\u0439\u0430\u043c\u0438\u043d\u0438\u043d c\u0438\u043c\u0432\u043e\u043b\u0443 \u0431\u043e\u043b\u0433\u043e\u043d \u043f\u0430\u043b\u044c\u043c\u0430 \u0434\u0430\u0440\u0430\u043a\u0442\u0430\u0440\u044b \u0447\u0430\u0433\u044b\u043b\u0434\u044b\u0440\u044b\u043b\u0434\u044b",lo:"\u0e8a\u0eb7\u0ec9\u0ec2\u0e94\u0e8d\u0ec3\u0e8a\u0ec9 Google Pay. \u0e99\u0eb3\u0eaa\u0eb0\u0ec0\u0edc\u0eb5\u0eaa\u0eb5\u0e84\u0ebb\u0e9a\u0eae\u0ead\u0e9a 10 \u0e9b\u0eb5 Rolling Loud (\u0eaa\u0eb5\u0e9a\u0ebb\u0ea7 \u0ec1\u0ea5\u0eb0 \u0eaa\u0eb5\u0ec0\u0e97\u0ebb\u0eb2) \u0e9e\u0ec9\u0ead\u0ea1\u0e95\u0ebb\u0ec9\u0e99\u0e9b\u0eb2\u0ea1\u0ec0\u0e9e\u0eb7\u0ec8\u0ead\u0ec0\u0e9b\u0eb1\u0e99\u0e95\u0ebb\u0ea7\u0ec1\u0e97\u0e99\u0ec3\u0eab\u0ec9 Miami",lt:"Pirkti naudojant \u201eGoogle Pay\u201c. Jubiliejinio de\u0161imtojo festivalio \u201eRolling Loud\u201c spalvos (ro\u017ein\u0117 ir pilka) su palm\u0117mis, simbolizuojan\u010diomis Majam\u012f.",lv:"Ieg\u0101d\u0101jieties, izmantojot Google Pay. Festiv\u0101la \u201cRolling Loud\u201d 10. gadadienas kr\u0101sas (roz\u0101 un pel\u0113ka) un palmas, kas simboliz\u0113 Maiami",mk:"\u041a\u0443\u043f\u0435\u0442\u0435 \u0441\u043e Google Pay. \u0412\u043e \u0431\u043e\u0438\u0442\u0435 \u043d\u0430 10-\u0433\u043e\u0434\u0438\u0448\u043d\u0438\u043d\u0430\u0442\u0430 \u043d\u0430 \u0444\u0435\u0441\u0442\u0438\u0432\u0430\u043b\u043e\u0442 Rolling Loud (\u0440\u043e\u0437\u043e\u0432\u0430 \u0438 \u0441\u0438\u0432\u0430) \u0441\u043e \u043f\u0430\u043b\u043c\u0438 \u0448\u0442\u043e \u0433\u043e \u043f\u0440\u0435\u0442\u0441\u0442\u0430\u0432\u0443\u0432\u0430\u0430\u0442 \u041c\u0430\u0458\u0430\u043c\u0438",ml:"Google Pay-\u0d2f\u0d3f\u0d32\u0d42\u0d1f\u0d46 \u0d35\u0d3e\u0d19\u0d4d\u0d19\u0d42. \u0d2e\u0d3f\u0d2f\u0d3e\u0d2e\u0d3f\u0d2f\u0d46 \u0d2a\u0d4d\u0d30\u0d24\u0d3f\u0d28\u0d3f\u0d27\u0d40\u0d15\u0d30\u0d3f\u0d15\u0d4d\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d24\u0d3f\u0d28\u0d4d \u0d08\u0d28\u0d4d\u0d24\u0d2a\u0d4d\u0d2a\u0d28 \u0d2e\u0d30\u0d19\u0d4d\u0d19\u0d7e\u0d15\u0d4d\u0d15\u0d4a\u0d2a\u0d4d\u0d2a\u0d02 Rolling Loud 10-\u0d3e\u0d02 \u0d35\u0d3e\u0d7c\u0d37\u0d3f\u0d15 \u0d28\u0d3f\u0d31\u0d19\u0d4d\u0d19\u0d7e (\u0d2a\u0d3f\u0d19\u0d4d\u0d15\u0d4d, \u0d1a\u0d3e\u0d30\u0d28\u0d3f\u0d31\u0d02) \u0d2b\u0d40\u0d1a\u0d4d\u0d1a\u0d7c \u0d1a\u0d46\u0d2f\u0d4d\u0d2f\u0d41\u0d28\u0d4d\u0d28\u0d41",mn:"Google Pay-\u0440 \u0445\u0443\u0434\u0430\u043b\u0434\u0430\u043d \u0430\u0432\u0430\u0445. \u041c\u0430\u0439\u0430\u043c\u0438\u0433 \u0442\u04e9\u043b\u04e9\u04e9\u043b\u0434\u04e9\u0433 \u0434\u0430\u043b\u0434\u0443\u0443 \u043c\u043e\u0434\u043e\u043e\u0440 Rolling Loud-\u043d 10 \u0436\u0438\u043b\u0438\u0439\u043d \u043e\u0439\u043d \u04e9\u043d\u0433\u04e9 \u0442\u04e9\u0440\u0445\u0438\u0439\u0433 (\u044f\u0433\u0430\u0430\u043d, \u0441\u0430\u0430\u0440\u0430\u043b) \u043e\u043d\u0446\u043e\u043b\u0436 \u0431\u0430\u0439\u043d\u0430",mr:"Google Pay \u0935\u093e\u092a\u0930\u0942\u0928 \u0916\u0930\u0947\u0926\u0940 \u0915\u0930\u093e. \u092e\u093e\u092f\u093e\u092e\u0940\u091a\u0947 \u092a\u094d\u0930\u0924\u093f\u0928\u093f\u0927\u093f\u0924\u094d\u0935 \u0915\u0930\u0923\u094d\u092f\u093e\u0938\u093e\u0920\u0940 \u0924\u093e\u0921\u093e\u091a\u094d\u092f\u093e \u091d\u093e\u0921\u093e\u0902\u0938\u0939 \u0930\u094b\u0932\u093f\u0902\u0917 \u0932\u093e\u090a\u0921 \u091a\u094d\u092f\u093e \u0967\u0966 \u0935\u094d\u092f\u093e \u0935\u0930\u094d\u0927\u093e\u092a\u0928 \u0926\u093f\u0928\u093e\u091a\u0947 \u0930\u0902\u0917 (\u0917\u0941\u0932\u093e\u092c\u0940 \u0906\u0923\u093f \u0930\u093e\u0916\u093e\u0921\u0940) \u0926\u093e\u0916\u0935\u0932\u0947 \u0906\u0939\u0947\u0924",ms:"Beli melalui Google Pay. Menampilkan warna ulang tahun ke-10 Rolling Loud (merah jambu dan kelabu) dengan pokok palma untuk mewakili Miami",my:"Google Pay \u1016\u103c\u1004\u1037\u103a \u101d\u101a\u103a\u101b\u1014\u103a\u104b \u1019\u102d\u102f\u1004\u103a\u101a\u102c\u1019\u102e\u1000\u102d\u102f \u1000\u102d\u102f\u101a\u103a\u1005\u102c\u1038\u1015\u103c\u102f\u101b\u1014\u103a\u1021\u1010\u103d\u1000\u103a \u1021\u102f\u1014\u103a\u1038\u1015\u1004\u103a\u1019\u103b\u102c\u1038\u1016\u103c\u1004\u1037\u103a Rolling Loud \u104f \u1041\u1040 \u1014\u103e\u1005\u103a\u1015\u103c\u100a\u1037\u103a\u1014\u103e\u1005\u103a\u1015\u1010\u103a\u101c\u100a\u103a \u1021\u101b\u1031\u102c\u1004\u103a\u1019\u103b\u102c\u1038 (\u1015\u1014\u103a\u1038\u101b\u1031\u102c\u1004\u103a\u1014\u103e\u1004\u1037\u103a \u1019\u102e\u1038\u1001\u102d\u102f\u1038\u101b\u1031\u102c\u1004\u103a) \u1000\u102d\u102f \u1021\u101e\u102c\u1038\u1015\u1031\u1038\u1016\u1031\u102c\u103a\u1015\u103c\u1011\u102c\u1038\u101e\u100a\u103a",ne:"Google Pay \u092a\u094d\u0930\u092f\u094b\u0917 \u0917\u0930\u0940 \u0916\u0930\u093f\u0926 \u0917\u0930\u094d\u0928\u0941\u0939\u094b\u0938\u094d\u0964 \u0930\u094b\u0932\u093f\u0919 \u0932\u093e\u0909\u0921 \u0938\u0919\u094d\u0917\u0940\u0924 \u092e\u0939\u094b\u0924\u094d\u0938\u0935\u0915\u094b \u0967\u0966 \u0914\u0901 \u0935\u093e\u0930\u094d\u0937\u093f\u0915\u094b\u0924\u094d\u0938\u0935\u0915\u094b \u0925\u093f\u092e (\u0917\u0941\u0932\u093e\u092c\u0940 \u0924\u0925\u093e \u0916\u0948\u0930\u094b \u0930\u0919\u0915\u094b) \u0915\u093e \u0938\u093e\u0925\u0948 \u092e\u093e\u092f\u093e\u092e\u0940\u0915\u094b \u092a\u094d\u0930\u0924\u093f\u0928\u093f\u0927\u093f\u0924\u094d\u0935 \u0917\u0930\u094d\u0928\u0947 \u0924\u093e\u0921\u0915\u093e \u0930\u0942\u0916\u0939\u0930\u0942 \u0926\u0947\u0916\u093e\u0907\u090f\u0915\u094b \u091b",nl:"Kopen met Google Pay. De Rolling Loud-kleuren voor het 10-jarig bestaan (roze en grijs) en palmbomen om Miami te vertegenwoordigen",Bo:"Kj\xf8p med Google Pay. Med fargene for Rolling Louds 10-\xe5rsjubileum (rosa og gr\xe5) og palmer som representerer Miami.",pa:"Google Pay \u0a28\u0a3e\u0a32 \u0a16\u0a30\u0a40\u0a26\u0a4b\u0964 '\u0a30\u0a4b\u0a32\u0a3f\u0a70\u0a17 \u0a32\u0a3e\u0a09\u0a21' \u0a38\u0a70\u0a17\u0a40\u0a24 \u0a09\u0a24\u0a38\u0a35 \u0a26\u0a40 10\u0a35\u0a40\u0a02 \u0a35\u0a30\u0a4d\u0a39\u0a47\u0a17\u0a70\u0a22 \u0a26\u0a47 \u0a30\u0a70\u0a17\u0a3e\u0a02 (\u0a17\u0a41\u0a32\u0a3e\u0a2c\u0a40 \u0a05\u0a24\u0a47 \u0a38\u0a32\u0a47\u0a1f\u0a40) \u0a35\u0a3e\u0a32\u0a3e \u0a25\u0a40\u0a2e \u0a2e\u0a3f\u0a06\u0a2e\u0a40 \u0a26\u0a40 \u0a2a\u0a1b\u0a3e\u0a23 \u0a26\u0a47 \u0a24\u0a4c\u0a30 '\u0a24\u0a47 \u0a24\u0a3e\u0a5c \u0a26\u0a47 \u0a30\u0a41\u0a71\u0a16\u0a3e\u0a02 \u0a28\u0a42\u0a70 \u0a26\u0a30\u0a38\u0a3e\u0a09\u0a02\u0a26\u0a3e \u0a39\u0a48",pl:"Zap\u0142a\u0107 przez Google Pay Kolory 10 rocznicy festiwalu Rolling Loud (r\xf3\u017cowy i szary) oraz palmy symbolizuj\u0105ce Miami",Br:"Comprar com o Google Pay. As cores do 10\xba anivers\xe1rio do Rolling Loud (rosa e cinza) com palmeiras para representar Miami",Po:"Comprar com Google Pay. Com as cores do 10.\xba anivers\xe1rio do Rolling Loud (rosa e cinzento) com palmeiras a representar Miami",ro:"Cump\u0103r\u0103 cu Google Pay. Are culorile celei de-a zecea aniversare a festivalului Rolling Loud (roz \u0219i gri) \u0219i palmieri pentru a reprezenta Miami.",ru:"\u041e\u043f\u043b\u0430\u0442\u0438\u0442\u044c \u0447\u0435\u0440\u0435\u0437 Google Pay. \u0418\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u0432 \u0446\u0432\u0435\u0442\u0430\u0445, \u043d\u0430\u043f\u043e\u043c\u0438\u043d\u0430\u044e\u0449\u0438\u0445 \u043e 10-\u043b\u0435\u0442\u043d\u0435\u0439 \u0433\u043e\u0434\u043e\u0432\u0449\u0438\u043d\u0435 Rolling Loud (\u0441\u0435\u0440\u043e\u043c \u0438 \u0440\u043e\u0437\u043e\u0432\u043e\u043c), \u0438 \u0441 \u043f\u0430\u043b\u044c\u043c\u0430\u043c\u0438, \u0445\u0430\u0440\u0430\u043a\u0442\u0435\u0440\u043d\u044b\u043c\u0438 \u0434\u043b\u044f \u041c\u0430\u0439\u0430\u043c\u0438.",si:"Google Pay \u0dc3\u0db8\u0d9c\u0dd2\u0db1\u0dca \u0db8\u0dd2\u0dbd \u0daf\u0dd3 \u0d9c\u0db1\u0dca\u0db1. Miami \u0db1\u0dd2\u0dba\u0ddd\u0da2\u0db1\u0dba \u0d9a\u0dd2\u0dbb\u0dd3\u0db8 \u0dc3\u0db3\u0dc4\u0dcf \u0dad\u0dbd\u0dca \u0d9c\u0dc3\u0dca \u0dc3\u0db8\u0d9c Rolling Loud 10 \u0dc0\u0dd0\u0db1\u0dd2 \u0dc3\u0d82\u0dc0\u0dad\u0dca\u0dc3\u0dbb \u0dc0\u0dbb\u0dca\u0dab (\u0dbb\u0ddd\u0dc3 \u0dc3\u0dc4 \u0d85\u0dc5\u0dd4) \u0dc0\u0dd2\u0dc1\u0dda\u0dc2\u0dcf\u0d82\u0d9c\u0dba",sk:"K\xfapi\u0165 cez Google Pay. Obsahuje farby jubilejn\xe9ho 10. ro\u010dn\xedka festivalu Rolling Loud (ru\u017eov\xfa a siv\xfa) a palmy, ktor\xe9 s\xfa symbolom Miami.",sl:"Nakup z Googlom Pay. Z barvami 10. obletnice festivala Rolling Loud (ro\u017enato in sivo) in palmami, ki predstavljajo Miami",sq:"Bli me Google Pay. P\xebrfshin ngjyrat e p\xebrvjetorit t\xeb 10-t\xeb t\xeb Rolling Loud (roz\xeb dhe gri) me pem\xeb palme p\xebr t\xeb p\xebrfaq\xebsuar Majamin",sr:"\u041a\u0443\u043f\u0438 \u043f\u043e\u043c\u043e\u045b\u0443 Google Pay-\u0430. \u0423\u0437 \u0431\u043e\u0458\u0435 \u043a\u043e\u0458\u0435 \u043e\u0431\u0435\u043b\u0435\u0436\u0430\u0432\u0430\u0458\u0443 10. \u0433\u043e\u0434\u0438\u0448\u045a\u0438\u0446\u0443 \u0444\u0435\u0441\u0442\u0438\u0432\u0430\u043b\u0430 Rolling Loud (\u0440\u0443\u0436\u0438\u0447\u0430\u0441\u0442\u0430 \u0438 \u0441\u0438\u0432\u0430) \u0438 \u043f\u0430\u043b\u043c\u0435 \u043a\u043e\u0458\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0459\u0430\u0458\u0443 \u041c\u0430\u0458\u0430\u043c\u0438",sv:"K\xf6p med Google Pay. I f\xe4rgerna fr\xe5n Rolling Louds tio\xe5rsjubileum (rosa och gr\xe5tt) med palmer som representerar Miami",sw:"Nunua kupitia Google Pay. Inaangazia rangi (waridi na kijivu) za kumbukumbu ya miaka 10 ya tamasha la Rolling Loud pamoja na minazi ili kuwakilisha Miami",ta:"Google Pay \u0bae\u0bc2\u0bb2\u0bae\u0bcd \u0bb5\u0bbe\u0b99\u0bcd\u0b95\u0bc1\u0b95. \u0bae\u0bbf\u0baf\u0bbe\u0bae\u0bbf\u0baf\u0bc8\u0b95\u0bcd \u0b95\u0bc1\u0bb1\u0bbf\u0b95\u0bcd\u0b95\u0bc1\u0bae\u0bcd \u0bb5\u0b95\u0bc8\u0baf\u0bbf\u0bb2\u0bcd \u0baa\u0ba9\u0bc8 \u0bae\u0bb0\u0b99\u0bcd\u0b95\u0bb3\u0bc1\u0b9f\u0ba9\u0bcd, \u0bb0\u0bcb\u0bb2\u0bbf\u0b99\u0bcd \u0bb2\u0bcc\u0b9f\u0bc1 10\u0bb5\u0ba4\u0bc1 \u0b86\u0ba3\u0bcd\u0b9f\u0bc1\u0bb5\u0bbf\u0bb4\u0bbe\u0bb5\u0bbf\u0ba9\u0bcd \u0bb5\u0ba3\u0bcd\u0ba3\u0b99\u0bcd\u0b95\u0bb3\u0bcd (\u0baa\u0bbf\u0b99\u0bcd\u0b95\u0bcd \u0bae\u0bb1\u0bcd\u0bb1\u0bc1\u0bae\u0bcd \u0b9a\u0bbe\u0bae\u0bcd\u0baa\u0bb2\u0bcd) \u0b87\u0b9f\u0bae\u0bcd\u0baa\u0bc6\u0bb1\u0bcd\u0bb1\u0bc1\u0bb3\u0bcd\u0bb3\u0ba9.",te:"Google Pay\u0c24\u0c4b \u0c15\u0c4a\u0c28\u0c02\u0c21\u0c3f. Rolling Loud 10\u0c35 \u0c35\u0c3e\u0c30\u0c4d\u0c37\u0c3f\u0c15\u0c4b\u0c24\u0c4d\u0c38\u0c35 \u0c25\u0c40\u0c2e\u0c4d\u200c\u0c28\u0c41 \u0c2b\u0c40\u0c1a\u0c30\u0c4d \u0c1a\u0c47\u0c38\u0c4d\u0c24\u0c4b\u0c02\u0c26\u0c3f, \u0c07\u0c02\u0c26\u0c41\u0c32\u0c4b \u0c2e\u0c3f\u0c2f\u0c3e\u0c2e\u0c40\u0c15\u0c3f \u0c1a\u0c3f\u0c39\u0c4d\u0c28\u0c02\u0c17\u0c3e \u0c17\u0c41\u0c32\u0c3e\u0c2c\u0c40 \u0c30\u0c02\u0c17\u0c41, \u0c32\u0c47\u0c24 \u0c2c\u0c42\u0c21\u0c3f\u0c26\u0c30\u0c02\u0c17\u0c41, \u0c24\u0c3e\u0c1f\u0c3f \u0c1a\u0c46\u0c1f\u0c4d\u0c32\u0c41 \u0c09\u0c28\u0c4d\u0c28\u0c3e\u0c2f\u0c3f",th:"\u0e0b\u0e37\u0e49\u0e2d\u0e14\u0e49\u0e27\u0e22 Google Pay \u0e21\u0e32\u0e1e\u0e23\u0e49\u0e2d\u0e21\u0e2a\u0e35\u0e09\u0e25\u0e2d\u0e07\u0e04\u0e23\u0e1a\u0e23\u0e2d\u0e1a 10 \u0e1b\u0e35\u0e02\u0e2d\u0e07 Rolling Loud (\u0e2a\u0e35\u0e0a\u0e21\u0e1e\u0e39\u0e41\u0e25\u0e30\u0e40\u0e17\u0e32) \u0e1e\u0e23\u0e49\u0e2d\u0e21\u0e15\u0e49\u0e19\u0e1b\u0e32\u0e25\u0e4c\u0e21\u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e2a\u0e37\u0e48\u0e2d\u0e16\u0e36\u0e07\u0e44\u0e21\u0e2d\u0e32\u0e21\u0e35",tr:"Google Pay ile sat\u0131n al. Rolling Loud M\xfczik Festivali'nin 10. y\u0131l d\xf6n\xfcm\xfc renkleri (pembe ve gri) ve Miami'yi temsil eden palmiye a\u011fa\xe7lar\u0131",uk:"\u041e\u043f\u043b\u0430\u0442\u0438\u0442\u0438 \u0447\u0435\u0440\u0435\u0437 Google Pay. \u0417 \u043d\u0430\u0433\u043e\u0434\u0438 10-\u0457 \u0440\u0456\u0447\u043d\u0438\u0446\u0456 \u0444\u0435\u0441\u0442\u0438\u0432\u0430\u043b\u044e Rolling Loud Miami \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u0430\u043d\u043e \u0440\u043e\u0436\u0435\u0432\u0438\u0439 \u0456 \u0441\u0456\u0440\u0438\u0439 \u043a\u043e\u043b\u044c\u043e\u0440\u0438, \u0430 \u0442\u0430\u043a\u043e\u0436 \u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u043e \u043f\u0430\u043b\u044c\u043c\u0438, \u044f\u043a\u0456 \u0441\u0438\u043c\u0432\u043e\u043b\u0456\u0437\u0443\u044e\u0442\u044c \u041c\u0430\u044f\u043c\u0456.",ur:"\u202bGoogle Pay \u06a9\u06d2 \u0633\u0627\u062a\u06be \u062e\u0631\u06cc\u062f\u06cc\u06ba\u06d4 \u0645\u06cc\u0627\u0645\u06cc \u06a9\u06cc \u0646\u0645\u0627\u0626\u0646\u062f\u06af\u06cc \u06a9\u0631\u0646\u06d2 \u06a9\u06d2 \u0644\u06cc\u06d2 \u06a9\u06be\u062c\u0648\u0631 \u06a9\u06d2 \u062f\u0631\u062e\u062a\u0648\u06ba \u06a9\u06d2 \u0633\u0627\u062a\u06be \u0631\u0648\u0644\u0646\u06af \u0644\u0627\u0624\u0688 \u06a9\u06cc 10\u0648\u06cc\u06ba \u0633\u0627\u0644\u06af\u0631\u06c1 \u06a9\u06d2 \u0631\u0646\u06af\u0648\u06ba (\u06af\u0644\u0627\u0628\u06cc \u0627\u0648\u0631 \u0633\u0631\u0645\u0626\u06cc) \u06a9\u0648 \u0646\u0645\u0627\u06cc\u0627\u06ba \u06a9\u06cc\u0627 \u062c\u0627 \u0631\u06c1\u0627 \u06c1\u06d2",vi:"Mua b\u1eb1ng Google Pay C\xf3 m\xe0u s\u1eafc k\u1ef7 ni\u1ec7m 10 n\u0103m l\u1ec5 h\u1ed9i Rolling Loud (m\xe0u h\u1ed3ng v\xe0 x\xe1m) v\u1edbi h\xe0ng c\xe2y c\u1ecd, \u0111\u1ea1i di\u1ec7n cho Miami",Si:"\u4f7f\u7528 Google Pay \u4ed8\u6b3e\u3002\u91c7\u7528 Rolling Loud \u5341\u5468\u5e74\u7eaa\u5ff5\u8272\uff08\u7c89\u8272\u548c\u7070\u8272\uff09\uff0c\u5e76\u4ee5\u68d5\u6988\u6811\u4ee3\u8868\u8fc8\u963f\u5bc6",Ho:"\u7528 Google Pay \u4ed8\u6b3e\u3002\u4ee5 Rolling Loud 10 \u9031\u5e74\u7d00\u5ff5\u984f\u8272 (\u7c89\u7d05\u8272\u548c\u7070\u8272) \u70ba\u4e3b\u8272\uff0c\u4e26\u4ee5\u68d5\u6ada\u6a39\u4ee3\u8868\u9081\u963f\u5bc6",Tr:"\u4f7f\u7528 Google Pay \u7d50\u5e33\u3002\u63a1\u7528 Rolling Loud 10 \u9031\u5e74\u7d00\u5ff5\u8272 (\u7c89\u7d05\u8272\u548c\u7070\u8272)\uff0c\u4e26\u642d\u914d\u4ee3\u8868\u9081\u963f\u5bc6\u7684\u68d5\u6ada\u6a39",zu:"Thenga ngeGoogle Pay Ifaka imibala yesikhumbuzo seminyaka eyi-10 seRolling Loud (okuphinki nokumpunga) ngezihlahla zamasundu ezimelela iMiami"}},Am=Gn('<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" direction="ltr" height="36px" width="130px"><style>@import url(//fonts.googleapis.com/css?family=Google+Sans_old:500)</style><line x1="2" y1="10.5" x2="2" y2="29.5" style="stroke: #d9d9d9; stroke-width:2"></line><image x="11" y="6" width="37.5" height="29" preserveAspectRatio="none" xlink:href="https://www.gstatic.com/images/icons/material/system/1x/payment_grey600_36dp.png"></image><text x="52" y="25.5" class="small" style="font: 15px \'Google Sans\', sans-serif; fill: #5F6368">\u2022\u2022\u2022\u2022\u2022\u2022</text></svg>'),Yu=Gn('<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" direction="ltr" height="36px" width="130px"><style>@import url(//fonts.googleapis.com/css?family=Google+Sans_old:500)</style><line x1="2" y1="10.5" x2="2" y2="29.5" style="stroke: #5F6368; stroke-width:2"></line><image x="11" y="6" width="37.5" height="29" preserveAspectRatio="none" xlink:href="https://www.gstatic.com/images/icons/material/system/1x/payment_white_36dp.png"></image><text x="52" y="25.5" class="small" style="font: 15px \'Google Sans\', sans-serif; fill: #FFFFFF">\u2022\u2022\u2022\u2022\u2022\u2022</text></svg>'),Ni=Gn('<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" direction="ltr" viewBox="0 0 130 36"><style>@import url(//fonts.googleapis.com/css?family=Google+Sans_old:500)</style><line x1="8" y1="7" x2="8" y2="26" style="stroke: #d9d9d9; stroke-width:2"></line><image x="16" y="2.5" width="37.5" height="29" preserveAspectRatio="none" xlink:href="https://www.gstatic.com/images/icons/material/system/1x/payment_grey600_36dp.png"></image><text x="57" y="22" class="small" style="font: 15px \'Google Sans\', sans-serif; fill: #5f6368">\u2022\u2022\u2022\u2022\u2022\u2022</text></svg>'),Js=Gn('<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" direction="ltr" viewBox="0 0 130 36"><style>@import url(//fonts.googleapis.com/css?family=Google+Sans_old:500)</style><line x1="8" y1="7" x2="8" y2="26" style="stroke: #5f6368; stroke-width:2"></line><image x="16" y="2.5" width="37.5" height="29" preserveAspectRatio="none" xlink:href="https://www.gstatic.com/images/icons/material/system/1x/payment_white_36dp.png"></image><text x="57" y="22" class="small" style="font: 15px \'Google Sans\', sans-serif; fill: #fff">\u2022\u2022\u2022\u2022\u2022\u2022</text></svg>'),wd=["ELECTRON","MAESTRO","ELO_DEBIT"];function Nn(a,l){l=void 0===l?document:l;var h=document.createElement("style");if(h.type="text/css",h.textContent=a,l instanceof HTMLDocument)document.head.appendChild(h);else{if(!(l instanceof ShadowRoot))throw Error("Parameter 'buttonRootNode' should be either document or a shadowroot.");l.appendChild(h)}return h}var Cd=function(){this.Sc=Un.contentWindow};Cd.prototype.postMessage=function(a,l){this.Sc.postMessage(a,l)};var Ku=Array.prototype.indexOf?function(a,l){return xn(null!=a.length),Array.prototype.indexOf.call(a,l,void 0)}:function(a,l){if("string"==typeof a)return"string"!=typeof l||1!=l.length?-1:a.indexOf(l,0);for(var h=0;h<a.length;h++)if(h in a&&a[h]===l)return h;return-1},km=Array.prototype.forEach?function(a,l){xn(null!=a.length),Array.prototype.forEach.call(a,l,void 0)}:function(a,l){for(var h=a.length,p="string"==typeof a?a.split(""):a,v=0;v<h;v++)v in p&&l.call(void 0,p[v],v,a)};function ea(a){var l=a.length;if(l>0){for(var h=Array(l),p=0;p<l;p++)h[p]=a[p];return h}return[]}var na="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");var ia,Om=z.globalThis.trustedTypes;function Xu(){return void 0===ia&&(ia=function _t(){var a=null;if(!Om)return a;try{var l=function(h){return h};a=Om.createPolicy("goog#html",{createHTML:l,createScript:l,createScriptURL:l})}catch(h){throw h}return a}()),ia}var Qu=function(a){this.ac=a};function Ed(a){var l=Xu();return new Qu(l?l.createScriptURL(a):a)}function Ju(a){if(a instanceof Qu)return a.ac;throw Error("Unexpected type when unwrapping TrustedResourceUrl")}Qu.prototype.toString=function(){return this.ac+""};var bt=function(a){this.bc=a};bt.prototype.toString=function(){return this.bc},new bt("about:blank"),new bt("about:invalid#zClosurez");var Dd=/^\s*(?!javascript:)(?:[\w+.-]+:|[^:/?#]*(?:[/?#]|$))/i,ec=[],Sd=function(){};!function mn(a){-1===ec.indexOf(a)&&ec.push(a),Sd=function(l){ec.forEach(function(h){h(l)})}}(function(a){console.warn("A URL with content '"+a+"' was sanitized away.")});var Kt=function(a){this.Zb=a};function Td(a,l){a.src=Ju(l).toString()}function St(a,l,h,p){if(l instanceof bt){if(!(l instanceof bt))throw Error("Unexpected type when unwrapping SafeUrl, got '"+l+"' of type '"+typeof l+"'");l=l.bc}else{var v=!Dd.test(l);v&&Sd(l),l=v?void 0:l}return void 0!==l?a.open(l,h,p):null}function Md(a){if("string"!=typeof a||""===a.trim())throw Error("Calls to uncheckedconversion functions must go through security review. A justification must be provided to capture what security assumptions are being made. See go/unchecked-conversions")}function Mr(){var a=oo.navigator;return a&&(a=a.userAgent)?a:""}Kt.prototype.toString=function(){return this.Zb+""};var Pd=!(-1==Mr().indexOf("Gecko")||-1!=Mr().toLowerCase().indexOf("webkit")&&-1==Mr().indexOf("Edge")||-1!=Mr().indexOf("Trident")||-1!=Mr().indexOf("MSIE")||-1!=Mr().indexOf("Edge")),Uo=-1!=Mr().toLowerCase().indexOf("webkit")&&-1==Mr().indexOf("Edge"),Lm={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",frameborder:"frameBorder",height:"height",maxlength:"maxLength",nonce:"nonce",role:"role",rowspan:"rowSpan",type:"type",usemap:"useMap",valign:"vAlign",width:"width"},Vb=function(a,l,h){function p(E){E&&l.appendChild("string"==typeof E?a.createTextNode(E):E)}for(var v=2;v<h.length;v++){var b=h[v];if(!Zs(b)||or(b)&&b.nodeType>0)p(b);else{e:{if(b&&"number"==typeof b.length){if(or(b)){var w="function"==typeof b.item||"string"==typeof b.item;break e}if("function"==typeof b){w="function"==typeof b.item;break e}}w=!1}km(w?ea(b):b,p)}}},Ad=function(a,l){return l=String(l),"application/xhtml+xml"===a.contentType&&(l=l.toLowerCase()),a.createElement(l)},tc=function(a){var l=Array.prototype.map.call(arguments,Je).join("");Md("Constant HTML string, that gets turned into a Node later, so it will be automatically balanced.");var h=Xu(),p=new Kt(h?h.createHTML(l):l);if(h=document,1===(l=Ad(h,"DIV")).nodeType){var v=l.tagName;if(/^(script|style)$/i.test(v))throw l="script"===v.toLowerCase()?"Use setScriptTextContent with a SafeScript.":"Use setStyleTextContent with a SafeStyleSheet.",Error(l)}if(!(p instanceof Kt))throw Error("Unexpected type when unwrapping SafeHtml");if(l.innerHTML=p=p.Zb,1==l.childNodes.length)l=l.removeChild(xn(l.firstChild));else{for(h=h.createDocumentFragment();l.firstChild;)h.appendChild(l.firstChild);l=h}return l};function nc(a,l){var h=Je(a);if(!jm.test(h))throw Error("Invalid TrustedResourceUrl format: "+h);return a=h.replace(Vm,function(p,v){if(!Object.prototype.hasOwnProperty.call(l,v))throw Error('Found marker, "'+v+'", in format string, "'+h+'", but no valid label mapping found in args: '+JSON.stringify(l));return(p=l[v])instanceof Ys?Je(p):encodeURIComponent(String(p))}),Md("Deprecated, but safe closure/html builder"),Ed(a)}var Vm=/%{(\w+)}/g,jm=RegExp("^((https:)?//[0-9a-z.:[\\]-]+/|/[^/\\\\]|[^:/\\\\%]+/|[^:/\\\\%]*[?#]|about:blank#)","i"),jb={wd:0,ed:1,lc:2,mc:3,nc:4,jd:5},Un=null,rc=null,$e=null,Bm=null,Hm=Date.now(),Ir=null,kd=!1,ic=[],oa=function(a,l,h,p){window.addEventListener("message",function v(b){xd(h,b)&&(p(b),sc(v))}),a=H(Object,"assign").call(Object,{eventType:l},a),je(a)},xd=function(a,l){for(var h=0;h<a.length;h++)if(l.data[a[h]])return!0;return!1},sc=function(a){window.removeEventListener("message",a)},je=function(a){kd&&rc?Gm(a):ic.push(a)},Gm=function(a){if(rc){if(a=H(Object,"assign").call(Object,{buyFlowActivityMode:Ir,googleTransactionId:Bm,originTimeMs:Hm},a),"CANARY"==$e)var l="https://ibfe-canary.corp.google.com";else l="https://pay","SANDBOX"==$e?l+=".sandbox":"PREPROD"==$e&&(l+="-preprod.sandbox"),l+=".google.com";rc.postMessage(a,l)}else google.payments.api.LogInternally&&console.log("postMessageService is null when expected to exist.")},Um=function(a,l){kd||(l>30?(google.payments.api.LogInternally&&console.log("PayJS-PayFrame handshake unsuccessful."),je({eventType:20,clientLatencyStartMs:Date.now()}),a&&sc(a),Nd()):(a||(a=function h(p){xd(["pingResponse"],p)&&(je({eventType:19,clientLatencyStartMs:Date.now()}),a&&sc(a),Nd())},window.addEventListener("message",a)),Gm({eventType:14}),setTimeout(function(){return Um(a,l+1)},10)))},Nd=function(){kd=!0,ic.forEach(function(a){je(a)}),ic.length=0};!function(){if(!Un){var a=window.gpayInitParams||{};"PRODUCTION"!==($e=a.environment||"PRODUCTION")&&"TEST"!==$e||function(){var a=function(a,l,h){var p=arguments,v=document,b=p[1],w=Ad(v,String(p[0]));return b&&("string"==typeof b?w.className=b:Array.isArray(b)?w.className=b.join(" "):function(a,l){!function ta(a,l){for(var h in a)l.call(void 0,a[h],h,a)}(l,function(h,p){"style"==p?a.style.cssText=h:"class"==p?a.className=h:"for"==p?a.htmlFor=h:Lm.hasOwnProperty(p)?a.setAttribute(Lm[p],h):0==p.lastIndexOf("aria-",0)||0==p.lastIndexOf("data-",0)?a.setAttribute(p,h):a[p]=h})}(w,b)),p.length>2&&Vb(v,w,p),w}("META");a.httpEquiv="origin-trial",a.id="origin-trial",a.content="Ayudt5SzRWp86yExqv4T3+PiWzcX+WBtprm+ux6vfIGn5Dg3JSrZL2Y5UkppRzYnVyYzu8hvj+Q4pdGSWsLVYgMAAABgeyJvcmlnaW4iOiJodHRwczovL3BheS5nb29nbGUuY29tOjQ0MyIsImZlYXR1cmUiOiJUcGNkIiwiZXhwaXJ5IjoxNzM1MzQzOTk5LCJpc1RoaXJkUGFydHkiOnRydWV9",document.head.append(a)}(),Td(Un=document.createElement("iframe"),nc(Gn(("CANARY"==$e?"https://ibfe-canary.corp":"https://pay")+("PREPROD"==$e?"-preprod.sandbox":"SANDBOX"==$e?".sandbox":"")+".google.com/gp/p/ui/payframe?origin=%{windowOrigin}&mid=%{merchantId}"),{windowOrigin:window.location.origin,merchantId:a.merchantInfo&&a.merchantInfo.merchantId||""})),je({eventType:15,clientLatencyStartMs:Date.now()}),oa({},11,["canMakePaymentForPaymentHandlerResponse"],function(){}),Un.height="0",Un.width="0",Un.style.display="none",Un.style.visibility="hidden",Un.setAttribute("allowpaymentrequest",!0),Un.onload=function(){rc=new Cd,je({eventType:17,clientLatencyStartMs:Date.now()}),je({eventType:16,clientLatencyStartMs:Date.now()}),je({eventType:18,clientLatencyStartMs:Date.now()}),Um(null,0)},document.body?document.body.appendChild(Un):document.addEventListener("DOMContentLoaded",function(){document.body.appendChild(Un)})}}();var Hb="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split("");function Od(a,l){if("object"!=typeof l||null===l)return a;for(var h in l)l.hasOwnProperty(h)&&void 0!==l[h]&&(null==l[h]?a[h]=null:null==a[h]||"object"!=typeof a[h]||"object"!=typeof l[h]||Array.isArray(l[h])||Array.isArray(a[h])?a[h]=l[h]:Od(a[h],l[h]));return a}function ii(a){var h,l=0;if(0==a.length)return l;for(h=0;h<a.length;h++)l=(l<<5)-l+a.charCodeAt(h),l&=l;return l}function $n(a){console.error("DEVELOPER_ERROR in "+a.M+": "+a.errorMessage)}var Gb=function(a,l,h){if(a.forEach&&"function"==typeof a.forEach)a.forEach(l,h);else if(Zs(a)||"string"==typeof a)Array.prototype.forEach.call(a,l,h);else for(var p=function(a){if(a.sb&&"function"==typeof a.sb)return a.sb();if(!a.oa||"function"!=typeof a.oa){if(typeof z.Map<"u"&&a instanceof z.Map)return H(Array,"from").call(Array,H(a,"keys").call(a));if(!(typeof Set<"u"&&a instanceof Set)){if(Zs(a)||"string"==typeof a){var l=[];a=a.length;for(var h=0;h<a;h++)l.push(h);return l}for(var p in l=[],h=0,a)l[h++]=p;return l}}}(a),v=function(a){if(a.oa&&"function"==typeof a.oa)return a.oa();if(typeof z.Map<"u"&&a instanceof z.Map||typeof Set<"u"&&a instanceof Set)return H(Array,"from").call(Array,H(a,"values").call(a));if("string"==typeof a)return a.split("");if(Zs(a)){for(var l=[],h=a.length,p=0;p<h;p++)l.push(a[p]);return l}for(p in l=[],h=0,a)l[h++]=a[p];return l}(a),b=v.length,w=0;w<b;w++)l.call(h,v[w],p&&p[w],a)},Rd=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$"),ac=function(a){var l=a.match(Rd);a=l[1];var h=l[3];l=l[4];var p="";return a&&(p+=a+":"),h&&(p=p+"//"+h,l&&(p+=":"+l)),p},sr=function(a){if(this.U=this.va=this.ha="",this.o=null,this.R=this.S="",this.J=this.Ac=!1,a instanceof sr){this.J=a.J,sa(this,a.ha);var l=a.va;Bt(this),this.va=l,l=a.U,Bt(this),this.U=l,aa(this,a.o),l=a.S,Bt(this),this.S=l,uc(this,a.K.clone()),a=a.R,Bt(this),this.R=a}else a&&(l=String(a).match(Rd))?(this.J=!1,sa(this,l[1]||"",!0),a=l[2]||"",Bt(this),this.va=$o(a),a=l[3]||"",Bt(this),this.U=$o(a,!0),aa(this,l[4]),a=l[5]||"",Bt(this),this.S=$o(a,!0),uc(this,l[6]||"",!0),a=l[7]||"",Bt(this),this.R=$o(a)):(this.J=!1,this.K=new gn(null,this.J))};sr.prototype.toString=function(){var a=[],l=this.ha;l&&a.push(zo(l,Fd,!0),":");var h=this.U;return(h||"file"==l)&&(a.push("//"),(l=this.va)&&a.push(zo(l,Fd,!0),"@"),a.push(encodeURIComponent(String(h)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),null!=(h=this.o)&&a.push(":",String(h))),(h=this.S)&&(this.U&&"/"!=h.charAt(0)&&a.push("/"),a.push(zo(h,"/"==h.charAt(0)?Km:$b,!0))),(h=this.K.toString())&&a.push("?",h),(h=this.R)&&a.push("#",zo(h,Ld)),a.join("")},sr.prototype.resolve=function(a){var l=this.clone(),h=!!a.ha;if(h?sa(l,a.ha):h=!!a.va,h){var p=a.va;Bt(l),l.va=p}else h=!!a.U;if(h?(p=a.U,Bt(l),l.U=p):h=null!=a.o,p=a.S,h)aa(l,a.o);else if(h=!!a.S){if("/"!=p.charAt(0))if(this.U&&!this.S)p="/"+p;else{var v=l.S.lastIndexOf("/");-1!=v&&(p=l.S.slice(0,v+1)+p)}if(".."==(v=p)||"."==v)p="";else if(-1!=v.indexOf("./")||-1!=v.indexOf("/.")){p=0==v.lastIndexOf("/",0),v=v.split("/");for(var b=[],w=0;w<v.length;){var E=v[w++];"."==E?p&&w==v.length&&b.push(""):".."==E?((b.length>1||1==b.length&&""!=b[0])&&b.pop(),p&&w==v.length&&b.push("")):(b.push(E),p=!0)}p=b.join("/")}else p=v}return h?(Bt(l),l.S=p):h=""!==a.K.toString(),h?uc(l,a.K.clone()):h=!!a.R,h&&(a=a.R,Bt(l),l.R=a),l},sr.prototype.clone=function(){return new sr(this)};var sa=function(a,l,h){Bt(a),a.ha=h?$o(l,!0):l,a.ha&&(a.ha=a.ha.replace(/:$/,""))},aa=function(a,l){if(Bt(a),l){if(l=Number(l),isNaN(l)||l<0)throw Error("Bad port number "+l);a.o=l}else a.o=null},uc=function(a,l,h){Bt(a),l instanceof gn?(a.K=l,a.K.Eb(a.J)):(h||(l=zo(l,oi)),a.K=new gn(l,a.J))};sr.prototype.getQuery=function(){return this.K.toString()};var Oi=function(a,l,h){Bt(a),a.K.set(l,h)};sr.prototype.removeParameter=function(a){return Bt(this),this.K.remove(a),this};var Bt=function(a){if(a.Ac)throw Error("Tried to modify a read-only Uri")};sr.prototype.Eb=function(a){this.J=a,this.K&&this.K.Eb(a)};var $o=function(a,l){return a?l?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},zo=function(a,l,h){return"string"==typeof a?(a=encodeURI(a).replace(l,Ub),h&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},Ub=function(a){return"%"+((a=a.charCodeAt(0))>>4&15).toString(16)+(15&a).toString(16)},Fd=/[#\/\?@]/g,$b=/[#\?:]/g,Km=/[#\?]/g,oi=/[#\?@]/g,Ld=/#/g,gn=function(a,l){this.F=this.j=null,this.H=a||null,this.J=!!l},Pr=function(a){a.j||(a.j=new z.Map,a.F=0,a.H&&function(a,l){if(a){a=a.split("&");for(var h=0;h<a.length;h++){var p=a[h].indexOf("="),v=null;if(p>=0){var b=a[h].substring(0,p);v=a[h].substring(p+1)}else b=a[h];l(b,v?decodeURIComponent(v.replace(/\+/g," ")):"")}}}(a.H,function(l,h){a.add(decodeURIComponent(l.replace(/\+/g," ")),h)}))};gn.prototype.add=function(a,l){Pr(this),this.H=null,a=Ri(this,a);var h=this.j.get(a);return h||this.j.set(a,h=[]),h.push(l),this.F=Ai(this.F)+1,this},gn.prototype.remove=function(a){return Pr(this),a=Ri(this,a),!!this.j.has(a)&&(this.H=null,this.F=Ai(this.F)-this.j.get(a).length,this.j.delete(a))},gn.prototype.clear=function(){this.j=this.H=null,this.F=0};var cc=function(a,l){return Pr(a),l=Ri(a,l),a.j.has(l)};(F=gn.prototype).forEach=function(a,l){Pr(this),this.j.forEach(function(h,p){h.forEach(function(v){a.call(l,v,p,this)},this)},this)},F.sb=function(){Pr(this);for(var a=H(Array,"from").call(Array,H(this.j,"values").call(this.j)),l=H(Array,"from").call(Array,H(this.j,"keys").call(this.j)),h=[],p=0;p<l.length;p++)for(var v=a[p],b=0;b<v.length;b++)h.push(l[p]);return h},F.oa=function(a){Pr(this);var l=[];if("string"==typeof a)cc(this,a)&&(l=l.concat(this.j.get(Ri(this,a))));else{a=H(Array,"from").call(Array,H(this.j,"values").call(this.j));for(var h=0;h<a.length;h++)l=l.concat(a[h])}return l},F.set=function(a,l){return Pr(this),this.H=null,a=Ri(this,a),cc(this,a)&&(this.F=Ai(this.F)-this.j.get(a).length),this.j.set(a,[l]),this.F=Ai(this.F)+1,this},F.get=function(a,l){return a&&(a=this.oa(a)).length>0?String(a[0]):l},F.toString=function(){if(this.H)return this.H;if(!this.j)return"";for(var a=[],l=H(Array,"from").call(Array,H(this.j,"keys").call(this.j)),h=0;h<l.length;h++){var p=l[h],v=encodeURIComponent(String(p));p=this.oa(p);for(var b=0;b<p.length;b++){var w=v;""!==p[b]&&(w+="="+encodeURIComponent(String(p[b]))),a.push(w)}}return this.H=a.join("&")},F.clone=function(){var a=new gn;return a.H=this.H,this.j&&(a.j=new z.Map(this.j),a.F=this.F),a};var Ri=function(a,l){return l=String(l),a.J&&(l=l.toLowerCase()),l};gn.prototype.Eb=function(a){a&&!this.J&&(Pr(this),this.H=null,this.j.forEach(function(l,h){var p=h.toLowerCase();h!=p&&(this.remove(h),this.remove(p),l.length>0&&(this.H=null,this.j.set(Ri(this,p),ea(l)),this.F=Ai(this.F)+l.length))},this)),this.J=a},gn.prototype.extend=function(a){for(var l=0;l<arguments.length;l++)Gb(arguments[l],function(h,p){this.add(p,h)},this)};var Wo=[],ua=[],lc=null,dc=[],Ar=window.location.hostname,fc=window.location.ancestorOrigins,ca=window.whitelistedDomainsHashedValueListForGpayButtonWithCardInfo||[],Xm=window.denylistedDomainsHashedValueListForGpayButtonWithCardInfo||[],qo=window.denylistedMerchentIdsHashedValueListForGpayButtonWithCardInfo||[],Vd=window.denylistedMerchantIdsHashedValueListForGpayButtonVariant||[],jd=window.allowlistedMerchantDomainsForBnplDynamicButton||[],hc=window.allowlistedMerchantDomainsForRlmiaDynamicButton||[],Qm=window.allowlistedMerchantDomainsForPopupModeLoadingScreen||[],Bd=window.dynamicGpayButtonVariant||"",la=window.testOnlyLocalIbfeUrl||"";function Zo(){switch(Bd){case"GPAY_BUTTON_VARIANT_TYPE_NONE":return 1;case"GPAY_BUTTON_VARIANT_TYPE_DEBIT":return 2;case"GPAY_BUTTON_VARIANT_TYPE_SECURE":return 3;case"GPAY_BUTTON_VARIANT_TYPE_SPEED":return 4;case"GPAY_BUTTON_VARIANT_TYPE_SNOWFALL":return 5;case"GPAY_BUTTON_VARIANT_TYPE_BNPL_ONLY":return 6;case"GPAY_BUTTON_VARIANT_TYPE_BNPL_CARD":return 7;case"GPAY_BUTTON_VARIANT_TYPE_OLYMPICS":return 8;case"GPAY_BUTTON_VARIANT_TYPE_RLMIA":return 9;default:return 0}}function pc(a){["mouseover","mouseout"].map(function(l){a.addEventListener(l,function(h){a.classList.toggle("hover","mouseover"==h.type);var p=document.querySelector(".gpay-card-info-animation-container");null!==p&&p.classList.toggle("hover","mouseover"==h.type)})}),["mousedown","mouseup","mouseout"].map(function(l){a.addEventListener(l,function(h){a.classList.toggle("active","mousedown"==h.type)})}),["focus","blur"].map(function(l){a.addEventListener(l,function(h){a.classList.toggle("focus","focus"==h.type)})})}function Hd(a,l){a.setAttribute("type","button");var h="Google Pay";if(google.payments.api.EnableGpayButtonAriaLabelLocalization){var p=Fi(l.buttonLocale,!0);switch(l.buttonType){case"buy":case"long":var v;h=null!=(v=xi.buy[p])?v:h;break;case"book":var b;h=null!=(b=xi.book[p])?b:h;break;case"checkout":var w;h=null!=(w=xi.checkout[p])?w:h;break;case"donate":var E;h=null!=(E=xi.donate[p])?E:h;break;case"order":var V;h=null!=(V=xi.order[p])?V:h;break;case"pay":var O;h=null!=(O=xi.pay[p])?O:h;break;case"subscribe":var K;h=null!=(K=xi.subscribe[p])?K:h;break;default:h="Google Pay"}}a.setAttribute("aria-label",h)}function Gd(a,l){google.payments.api.EnableGpayButtonDynamicRadius&&null!=l.buttonRadius&&null!=l.buttonRadius&&(lc&&lc.remove(),lc=Nn(".gpay-card-info-container.gpay-card-info-custom-radius, .gpay-button.gpay-card-info-custom-radius\n {\n border-radius: "+l.buttonRadius+"px;\n overflow: hidden;\n }\n",l.buttonRootNode),a.forEach(function(h){return h.classList.add("gpay-card-info-custom-radius")}))}function Ud(a){var l="white";Yo(a)||(l="black");var h=a.buttonType||"buy";return"buy"===a.buttonType?h="buy long":"plain"===a.buttonType&&(h="plain short"),l+" "+h+" "+Fi(a.buttonLocale)}function Yo(a){return"white"==a.buttonColor}function Fi(a,l){var h=null!=navigator.language?navigator.language.substring(0,5):"en",p=(a||h||"en").substring(0,5);return p in ao.buy?p:(p!==h&&void 0!==l&&l&&$n({M:"createButton",errorMessage:'Button locale "'+a+'" is not supported, falling back to browser locale.'}),h in ao.buy?h:"en")}function zd(a){2===a&&H(Qm,"includes").call(Qm,ii(Ar))&&St(window,"about:blank","gp-js-popup","width=600,height=600,menubar=no,toolbar=no,scrollbars=no")}var da=function(){},Wd=function(a,l){return new z.Promise(function(h,p){setTimeout(function(){p({reason:"OTHER_ERROR",intent:a,message:"REQUEST_TIMEOUT"})},l)})},ng=function(a,l){return{error:{reason:a.reason||"OTHER_ERROR",intent:a.intent||l,message:a.message}}},qd=function(a,l,h){$n({M:"loadPaymentData",errorMessage:"An error occurred in call back, please try to avoid this by setting structured error in callback response"}),a&&je({eventType:l,merchantCallbackInfo:{callbackTrigger:h||0}})};da.prototype.Wb=function(a,l,h){return null===l.error&&(console.warn("Please remove null fields in callback returns."),delete l.error),{modifiers:[{supportedMethods:[h&&"SANDBOX"===h&&google.payments.api.EnablePaymentHandlerSandboxBuyflow?"https://pay.sandbox.google.com/gp/p/payment_method_manifest.json":"https://google.com/pay"],data:l}]}},da.prototype.hb=function(a,l){return{type:a,data:l}};var Zd=function(a,l,h,p,v){return z.Promise.resolve(z.Promise.race([Wd("PAYMENT_AUTHORIZATION",h),l.onPaymentAuthorized(a)])).then(function(b){return p("paymentAuthorizationResponse",b,v)},function(b){return qd("REQUEST_TIMEOUT"===b.message,27,2),p("paymentAuthorizationResponse",ng(b,"PAYMENT_AUTHORIZATION"),v)})},gc=function(a,l,h,p,v){return z.Promise.resolve(z.Promise.race([Wd(a.callbackTrigger in cn?cn[a.callbackTrigger]:"UNKNOWN_INTENT",h),l.onPaymentDataChanged(a)])).then(function(b){return p("paymentDataCallbackResponse",b,v)},function(b){return qd("REQUEST_TIMEOUT"===b.message,26,jb[a.callbackTrigger]),p("paymentDataCallbackResponse",ng(b,a.callbackTrigger||"UNKNOWN_INTENT"),v)})},yc=function(){var a=window.document,l=this;this.Qb=a,this.V=a.createElement("gpay-graypane"),Ko(this.V,{"z-index":2147483647,display:"none",position:"fixed",top:0,right:0,bottom:0,left:0,"background-color":"rgba(32, 33, 36, .6)"}),this.kb=null,this.V.addEventListener("click",function(){l.O()})};function Ko(a,l){for(var h in l)a.style.setProperty(h,l[h].toString(),"important")}function si(a,l){var h=a.ownerDocument.defaultView,p=a.style.transition||"";return new z.Promise(function(v){h.setTimeout(function(){h.setTimeout(v,300),Ko(a,H(Object,"assign").call(Object,{transition:"transform 300ms ease-out, opacity 300ms ease-out"},l))})}).then(function(){Ko(a,H(Object,"assign").call(Object,{transition:p},l))})}yc.prototype.show=function(a){return this.kb=a||null,this.Qb.body.appendChild(this.V),Ko(this.V,{display:"block",opacity:0}),si(this.V,{opacity:1})},yc.prototype.O=function(){if(this.kb)try{this.kb.focus()}catch{}};var ig=function(a){this.m=a,this.yb=this.zb=this.A=this.ma=null,this.sa=3e4};(F=ig.prototype).Ab=function(a){this.A=a},F.Ma=function(a){this.ma=a},F.isReadyToPay=function(a){var l=Yd(a);return new z.Promise(function(h){var p=!1;if(null!=l.hasEnrolledInstrument){var v=l.hasEnrolledInstrument();p=!0}else v=l.canMakePayment();v.then(function(b){window.sessionStorage.setItem("google.payments.api.storage.isreadytopay.result",b.toString());var w={result:b};a.apiVersion>=2&&a.existingPaymentMethodRequired&&(w.paymentMethodPresent=b),google.payments.api.EnableImprovedIsrtpLogging&&!w.result&&(w.notReadyToPayFactors=[p?8:9]),h(w)}).catch(function(){if(window.sessionStorage.getItem("google.payments.api.storage.isreadytopay.result")){var b={result:"true"==window.sessionStorage.getItem("google.payments.api.storage.isreadytopay.result")};google.payments.api.EnableImprovedIsrtpLogging&&!b.result&&(b.notReadyToPayFactors=[p?10:11,12]),h(b)}else b={result:!1},google.payments.api.EnableImprovedIsrtpLogging&&(b.notReadyToPayFactors=[p?10:11]),h(b)})})},F.prefetchPaymentData=function(a){Yd(a,this.m,a.transactionInfo.currencyCode,a.transactionInfo.totalPrice)},F.loadPaymentData=function(a){Kd(this,a)},F.O=function(){};var Yd=function(a,l,h,p){var v={};return a&&(v=JSON.parse(JSON.stringify(a))),v.apiVersion||(v.apiVersion=1),v.swg&&(v.allowedPaymentMethods=["CARD"]),l&&"TEST"==l&&(v.environment=l),new PaymentRequest([{supportedMethods:[l&&"SANDBOX"===l&&google.payments.api.EnablePaymentHandlerSandboxBuyflow?"https://pay.sandbox.google.com/gp/p/payment_method_manifest.json":"https://google.com/pay"],data:v}],{total:{label:"Estimated Total Price",amount:{currency:h||"USD",value:p||"0"}}})},Kd=function(a,l){(l=Yd(l,a.m,l.transactionInfo&&l.transactionInfo.currencyCode||void 0,l.transactionInfo&&l.transactionInfo.totalPrice||void 0)).onpaymentmethodchange=function(h){var p=new da;p=h.methodDetails.callbackTrigger?gc(h.methodDetails,a.A,a.sa,p.Wb,a.m):Zd(h.methodDetails,a.A,a.sa,p.Wb,a.m),h.updateWith(p)},a.ma(l.show().then(function(h){return google.payments.api.LogInternally&&console.log("payment response",h),h.complete("success"),h.details.statusCode?(google.payments.api.LogInternally&&console.log("status code",h.details.statusCode),{error:h.details}):h.details}).catch(function(h){throw google.payments.api.LogInternally&&console.log("payment response with err",h),h.statusCode="CANCELED",h}))},vc=["SHIPPING_ADDRESS","SHIPPING_OPTION"];function Xd(a){if(a.apiVersion>=2){var l=sg(a);if(l&&1==l.length&&"CRYPTOGRAM_3DS"==l[0])return!0}return 1==a.allowedPaymentMethods.length&&"TOKENIZED_CARD"==a.allowedPaymentMethods[0]}function _c(a,l){return!!(a.apiVersion>=2&&(a=sg(a))&&H(a,"includes").call(a,l))}function Xo(a){return!!(a.apiVersion>=2&&a.allowedPaymentMethods&&bc(a,"EWALLET"))}function Qo(){var a=window.location.hostname,l=a.length-11;return l>=0&&a.indexOf(".google.com",l)==l||void 0===window.isSecureContext||window.isSecureContext?null:"Google Pay APIs should be called in secure context!"}function Yb(a){return"CARD"===a||"TOKENIZED_CARD"===a}function Kb(a){return(A=H(Object,"values").call(Object,vd),H(A,"includes")).call(A,a)}function Qd(a){return a?a.encryptedParameters?null:a.apiVersion<2||!a.allowedPaymentMethods||!bc(a,"UPI")?a.swg?(a=a.swg)?a.skuId&&a.publicationId?null:"Both skuId and publicationId must be provided":"Swg parameters must be provided":a.transactionInfo?a.transactionInfo.currencyCode?a.transactionInfo.totalPriceStatus&&(A=H(Object,"values").call(Object,_d),H(A,"includes")).call(A,a.transactionInfo.totalPriceStatus)?"NOT_CURRENTLY_KNOWN"===a.transactionInfo.totalPriceStatus||a.transactionInfo.totalPrice?null:"totalPrice in transactionInfo must be set when totalPriceStatus is ESTIMATED or FINAL!":"totalPriceStatus in transactionInfo must be set to one of NOT_CURRENTLY_KNOWN, ESTIMATED or FINAL!":"currencyCode in transactionInfo must be set!":"transactionInfo must be set!":"UPI not supported":"paymentDataRequest must be set!"}function og(a,l){if(a.callbackIntents&&!l)return"paymentDataCallbacks must be set";if(H(a.callbackIntents,"includes").call(a.callbackIntents,"PAYMENT_AUTHORIZATION")!==!!l.onPaymentAuthorized)return"Both PAYMENT_AUTHORIZATION intent and onPaymentAuthorized must be set";var h=vc.slice();return google.payments.api.EnableOfferCallback&&h.push("OFFER"),h.push("PAYMENT_METHOD"),!!h.filter(function(p){return H(a.callbackIntents,"includes").call(a.callbackIntents,p)}).length!=!!l.onPaymentDataChanged?"onPaymentDataChanged callback must be set if any of "+h+" callback intent is set.":null}function sg(a){return a.allowedPaymentMethods&&(a=bc(a,"CARD"))&&a.parameters?a.parameters.allowedAuthMethods:null}function bc(a,l){for(var h=0;h<a.allowedPaymentMethods.length;h++){var p=a.allowedPaymentMethods[h];if(p.type==l)return p}return null}var k={},uo=function(a,l){Array.isArray(l)||(l=[l]),xn(l.length>0,"At least one Css3Property should be specified."),l=l.map(function(h){if("string"==typeof h)return h;!function(a,l,h){or(a)||Zu("Expected object but got %s: %s.",[qs(a),a],l,Array.prototype.slice.call(arguments,2))}(h,"Expected css3 property to be an object.");var p=h.Hc+" "+h.duration+"s "+h.timing+" "+h.delay+"s";return xn(h.Hc&&"number"==typeof h.duration&&h.timing&&"number"==typeof h.delay,"Unexpected css3 property value: %s",p),p}),function(a,l){var h=k.transition;if(!h){var p="transition".replace(/\-([a-z])/g,function(a,l){return l.toUpperCase()});h=p,void 0===a.style[p]&&(p=(Uo?"Webkit":Pd?"Moz":null)+function(a){return a.replace(RegExp("(^|[\\s]+)([a-z])","g"),function(l,h,p){return h+p.toUpperCase()})}(p),void 0!==a.style[p]&&(h=p)),k.transition=h}h&&(a.style[h]=l)}(a,l.join(","))},kr=function(){this.cb=this.cb,this.jb=this.jb};kr.prototype.cb=!1,kr.prototype.dispose=function(){this.cb||(this.cb=!0,this.Fa())},kr.prototype[H(z.Symbol,"dispose")]=function(){this.dispose()},kr.prototype.Fa=function(){if(this.jb)for(;this.jb.length;)this.jb.shift()()};var ai=function(a,l){this.type=a,this.currentTarget=this.target=l,this.defaultPrevented=this.Pa=!1};ai.prototype.stopPropagation=function(){this.Pa=!0},ai.prototype.preventDefault=function(){this.defaultPrevented=!0};var Xb=function(){if(!oo.addEventListener||!Object.defineProperty)return!1;var a=!1,l=Object.defineProperty({},"passive",{get:function(){a=!0}});try{var h=function(){};oo.addEventListener("test",h,l),oo.removeEventListener("test",h,l)}catch{}return a}(),co=function(a,l){if(ai.call(this,a?a.type:""),this.relatedTarget=this.currentTarget=this.target=null,this.button=this.screenY=this.screenX=this.clientY=this.clientX=this.offsetY=this.offsetX=0,this.key="",this.charCode=this.keyCode=0,this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1,this.state=null,this.pointerId=0,this.pointerType="",this.timeStamp=0,this.Ga=null,a){var h=this.type=a.type,p=a.changedTouches&&a.changedTouches.length?a.changedTouches[0]:null;this.target=a.target||a.srcElement,this.currentTarget=l,(l=a.relatedTarget)||("mouseover"==h?l=a.fromElement:"mouseout"==h&&(l=a.toElement)),this.relatedTarget=l,p?(this.clientX=void 0!==p.clientX?p.clientX:p.pageX,this.clientY=void 0!==p.clientY?p.clientY:p.pageY,this.screenX=p.screenX||0,this.screenY=p.screenY||0):(this.offsetX=Uo||void 0!==a.offsetX?a.offsetX:a.layerX,this.offsetY=Uo||void 0!==a.offsetY?a.offsetY:a.layerY,this.clientX=void 0!==a.clientX?a.clientX:a.pageX,this.clientY=void 0!==a.clientY?a.clientY:a.pageY,this.screenX=a.screenX||0,this.screenY=a.screenY||0),this.button=a.button,this.keyCode=a.keyCode||0,this.key=a.key||"",this.charCode=a.charCode||("keypress"==h?a.keyCode:0),this.ctrlKey=a.ctrlKey,this.altKey=a.altKey,this.shiftKey=a.shiftKey,this.metaKey=a.metaKey,this.pointerId=a.pointerId||0,this.pointerType=a.pointerType,this.state=a.state,this.timeStamp=a.timeStamp,this.Ga=a,a.defaultPrevented&&co.Da.preventDefault.call(this)}};so(co,ai),co.prototype.stopPropagation=function(){co.Da.stopPropagation.call(this),this.Ga.stopPropagation?this.Ga.stopPropagation():this.Ga.cancelBubble=!0},co.prototype.preventDefault=function(){co.Da.preventDefault.call(this);var a=this.Ga;a.preventDefault?a.preventDefault():a.returnValue=!1};var lo="closure_listenable_"+(1e6*Math.random()|0),xr=0,fo=function(a,l,h,p,v){this.listener=a,this.proxy=null,this.src=l,this.type=h,this.capture=!!p,this.fb=v,this.key=++xr,this.Qa=this.ab=!1},Nr=function(a){a.Qa=!0,a.listener=null,a.proxy=null,a.src=null,a.fb=null};function On(a){this.src=a,this.D={},this.Va=0}On.prototype.add=function(a,l,h,p,v){var b=a.toString();(a=this.D[b])||(a=this.D[b]=[],this.Va++);var w=Jo(a,l,p,v);return w>-1?(l=a[w],h||(l.ab=!1)):((l=new fo(l,this.src,b,!!p,v)).ab=h,a.push(l)),l},On.prototype.remove=function(a,l,h,p){if(!((a=a.toString())in this.D))return!1;var v=this.D[a];return(l=Jo(v,l,h,p))>-1&&(Nr(v[l]),xn(null!=v.length),Array.prototype.splice.call(v,l,1),0==v.length&&(delete this.D[a],this.Va--),!0)};var fa=function(a,l){var h=l.type;if(h in a.D){var b,p=a.D[h],v=Ku(p,l);(b=v>=0)&&(xn(null!=p.length),Array.prototype.splice.call(p,v,1)),b&&(Nr(l),0==a.D[h].length&&(delete a.D[h],a.Va--))}};On.prototype.tb=function(a,l,h,p){var v=-1;return(a=this.D[a.toString()])&&(v=Jo(a,l,h,p)),v>-1?a[v]:null},On.prototype.hasListener=function(a,l){var h=void 0!==a,p=h?a.toString():"",v=void 0!==l;return function xm(a,l){for(var h in a)if(l.call(void 0,a[h],h,a))return!0;return!1}(this.D,function(b){for(var w=0;w<b.length;++w)if(!(h&&b[w].type!=p||v&&b[w].capture!=l))return!0;return!1})};var Jo=function(a,l,h,p){for(var v=0;v<a.length;++v){var b=a[v];if(!b.Qa&&b.listener==l&&b.capture==!!h&&b.fb==p)return v}return-1},ui="closure_lm_"+(1e6*Math.random()|0),ef={},ag=function(a,l,h,p,v){if(p&&p.once)tf(a,l,h,p,v);else if(Array.isArray(l))for(var b=0;b<l.length;b++)ag(a,l[b],h,p,v);else h=ho(h),a&&a[lo]?(p=or(p)?!!p.capture:!!p,nf(a),a.N.add(String(l),h,!1,p,v)):ug(a,l,h,!1,p,v)},ug=function(a,l,h,p,v,b){if(!l)throw Error("Invalid event type");var w=or(v)?!!v.capture:!!v,E=Pe(a);if(E||(a[ui]=E=new On(a)),!(h=E.add(l,h,p,w,b)).proxy)if(p=Be(),h.proxy=p,p.src=a,p.listener=h,a.addEventListener)Xb||(v=w),void 0===v&&(v=!1),a.addEventListener(l.toString(),p,v);else if(a.attachEvent)a.attachEvent(cg(l.toString()),p);else{if(!a.addListener||!a.removeListener)throw Error("addEventListener and attachEvent are unavailable.");xn("change"===l,"MediaQueryList only has a change event"),a.addListener(p)}},Be=function(){var a=lg,l=function(h){return a.call(l.src,l.listener,h)};return l},tf=function(a,l,h,p,v){if(Array.isArray(l))for(var b=0;b<l.length;b++)tf(a,l[b],h,p,v);else h=ho(h),a&&a[lo]?a.N.add(String(l),h,!0,or(p)?!!p.capture:!!p,v):ug(a,l,h,!0,p,v)},wt=function(a,l,h,p,v){if(Array.isArray(l))for(var b=0;b<l.length;b++)wt(a,l[b],h,p,v);else p=or(p)?!!p.capture:!!p,h=ho(h),a&&a[lo]?a.N.remove(String(l),h,p,v):a&&(a=Pe(a))&&(l=a.tb(l,h,p,v))&&ha(l)},ha=function(a){if("number"!=typeof a&&a&&!a.Qa){var l=a.src;if(l&&l[lo])fa(l.N,a);else{var h=a.type,p=a.proxy;l.removeEventListener?l.removeEventListener(h,p,a.capture):l.detachEvent?l.detachEvent(cg(h),p):l.addListener&&l.removeListener&&l.removeListener(p),(h=Pe(l))?(fa(h,a),0==h.Va&&(h.src=null,l[ui]=null)):Nr(a)}}},cg=function(a){return a in ef?ef[a]:ef[a]="on"+a},lg=function(a,l){if(a.Qa)a=!0;else{l=new co(l,this);var h=a.listener,p=a.fb||a.src;a.ab&&ha(a),a=h.call(p,l)}return a},Pe=function(a){return(a=a[ui])instanceof On?a:null},ae="__closure_events_fn_"+(1e9*Math.random()>>>0),ho=function(a){return xn(a,"Listener can not be null."),"function"==typeof a?a:(xn(a.handleEvent,"An object listener must have handleEvent method."),a[ae]||(a[ae]=function(l){return a.handleEvent(l)}),a[ae])},at=function(){kr.call(this),this.N=new On(this),this.pc=this,this.xb=null};so(at,kr),at.prototype[lo]=!0,at.prototype.addEventListener=function(a,l,h,p){ag(this,a,l,h,p)},at.prototype.removeEventListener=function(a,l,h,p){wt(this,a,l,h,p)},at.prototype.dispatchEvent=function(a){nf(this);var b,l=this.xb;if(l)for(var h=[],p=1;l;l=l.xb)h.push(l),xn(++p<1e3,"infinite loop");if(l=this.pc,p=a.type||a,"string"==typeof a)a=new ai(a,l);else if(a instanceof ai)a.target=a.target||l;else{var v=a;!function Nm(a,l){for(var h,p,v=1;v<arguments.length;v++){for(h in p=arguments[v])a[h]=p[h];for(var b=0;b<na.length;b++)h=na[b],Object.prototype.hasOwnProperty.call(p,h)&&(a[h]=p[h])}}(a=new ai(p,l),v)}if(v=!0,h)for(b=h.length-1;!a.Pa&&b>=0;b--){var w=a.currentTarget=h[b];v=wc(w,p,!0,a)&&v}if(a.Pa||(w=a.currentTarget=l,v=wc(w,p,!0,a)&&v,a.Pa||(v=wc(w,p,!1,a)&&v)),h)for(b=0;!a.Pa&&b<h.length;b++)w=a.currentTarget=h[b],v=wc(w,p,!1,a)&&v;return v},at.prototype.Fa=function(){if(at.Da.Fa.call(this),this.N){var h,a=this.N;for(h in a.D){for(var p=a.D[h],v=0;v<p.length;v++)Nr(p[v]);delete a.D[h],a.Va--}}this.xb=null};var wc=function(a,l,h,p){if(!(l=a.N.D[String(l)]))return!0;l=l.concat();for(var v=!0,b=0;b<l.length;++b){var w=l[b];if(w&&!w.Qa&&w.capture==h){var E=w.listener,V=w.fb||w.src;w.ab&&fa(a.N,w),v=!1!==E.call(V,p)&&v}}return v&&!p.defaultPrevented};at.prototype.tb=function(a,l,h,p){return this.N.tb(String(a),l,h,p)},at.prototype.hasListener=function(a,l){return this.N.hasListener(void 0!==a?String(a):void 0,l)};var nf=function(a){xn(a.N,"Event target is not initialized. Did you call the superclass (goog.events.EventTarget) constructor?")},Cc=function(a,l){at.call(this),this.gb=a||1,this.Ua=l||oo,this.Nb=Wu(this.Rc,this),this.Ub=Date.now()};so(Cc,at),(F=Cc.prototype).enabled=!1,F.P=null,F.setInterval=function(a){this.gb=a,this.P&&this.enabled?(this.stop(),this.start()):this.P&&this.stop()},F.Rc=function(){if(this.enabled){var a=Date.now()-this.Ub;a>0&&a<.8*this.gb?this.P=this.Ua.setTimeout(this.Nb,this.gb-a):(this.P&&(this.Ua.clearTimeout(this.P),this.P=null),this.dispatchEvent("tick"),this.enabled&&(this.stop(),this.start()))}},F.start=function(){this.enabled=!0,this.P||(this.P=this.Ua.setTimeout(this.Nb,this.gb),this.Ub=Date.now())},F.stop=function(){this.enabled=!1,this.P&&(this.Ua.clearTimeout(this.P),this.P=null)},F.Fa=function(){Cc.Da.Fa.call(this),this.stop(),delete this.Ua};var ar=function(a,l,h,p,v,b){this.code=a,this.data="ok"==a?l:null,this.mode=h,this.origin=p,this.wb=v,this.Nc=b,this.ok="ok"==a,this.error="failed"==a?Error(String(l)||""):null};function Qb(a){var l=a.indexOf("#");return-1==l?a:a.substring(0,l)}function rf(a,l,h){if(l.ok)h(l);else{var p;if(!(p=l.error)){if(p=null,"function"==typeof a.DOMException){a=a.DOMException;try{p=new a("AbortError","AbortError")}catch{}}p||((p=Error("AbortError")).name="AbortError",p.code=20)}(a=p).yd=l,h(z.Promise.reject(a))}}var ci=function(a,l,h){this.g=a,this.Gb=l,this.G=h,this.Jc=!0,this.Hb=null,this.Ib=!1,this.aa=this.ib=this.ba=this.o=null,this.Mb=this.yc.bind(this)};ci.prototype.connect=function(a){if(this.ba)throw Error("already connected");this.ba=a,this.g.addEventListener("message",this.Mb)},ci.prototype.disconnect=function(){if(this.ba&&(this.ba=null,this.o&&(pa(this.o),this.o=null),this.g.removeEventListener("message",this.Mb),this.aa)){for(var a in this.aa){var l=this.aa[a];l.port1&&pa(l.port1),l.port2&&pa(l.port2)}this.aa=null}},ci.prototype.isConnected=function(){return null!=this.G};var sf=function(a){return a.ba&&!a.Hb&&(a.Hb="function"==typeof a.Gb?a.Gb():a.Gb),a.Hb},Qt=function(a){if(null==a.G)throw Error("not connected");return a.G},se=function(a,l){var h=null;a.Ib&&"function"==typeof a.g.MessageChannel&&(h=new a.g.MessageChannel),h?(es(a,"start",l,[h.port2]),hg(a,h.port1)):es(a,"start",l)},es=function(a,l,h,p){if(h={sentinel:"__ACTIVITIES__",cmd:l,payload:h||null},a.o)a.o.postMessage(h,p||void 0);else{var v=sf(a);if(!v)throw Error("not connected");a="connect"==l?null!=a.G?a.G:"*":Qt(a),v.postMessage(h,a,p||void 0)}};ci.prototype.customMessage=function(a){es(this,"msg",a)};var fg=function(a,l){a.aa||(a.aa={});var p,h=a.aa[l];return h||(h=new z.Promise(function(v){p=v}),a.aa[l]=h={port1:null,port2:null,fc:p,promise:h}),h},hg=function(a,l){a.o&&pa(a.o),a.o=l,a.o.onmessage=function(h){var p=h.data,v=p&&p.cmd;p=p&&p.payload||null,v&&a.za(v,p,h)}};function pa(a){try{a.close()}catch{}}ci.prototype.yc=function(a){if(!this.Jc||sf(this)==a.source){var l=a.data;if(l&&"__ACTIVITIES__"==l.sentinel){var h=l.cmd;if(!this.o||"connect"==h||"start"==h){var p=a.origin;l=l.payload||null,null==this.G&&"start"==h&&(this.G=p),null==this.G&&a.source&&sf(this)==a.source&&(this.G=p),p==this.G&&this.za(h,l,a)}}}},ci.prototype.za=function(a,l,h){"connect"==a?(this.o&&(pa(this.o),this.o=null),this.Ib=l&&l.acceptsChannel||!1,this.ba(a,l)):"start"==a?((h=h.ports&&h.ports[0])&&hg(this,h),this.ba(a,l)):"msg"==a?null!=this.ib&&null!=l&&this.ib(l):"cnget"==a?((a=fg(this,l=l.name||"")).port1||(h=new this.g.MessageChannel,a.port1=h.port1,a.port2=h.port2,a.fc(a.port1)),a.port2&&(es(this,"cnset",{name:l},[a.port2]),a.port2=null)):"cnset"==a?(a=h.ports[0],(l=fg(this,l.name)).port1=a,l.fc(a)):this.ba(a,l)};var pg=function(a,l,h){var p=this;this.Ia=a,this.nb=l,this.Za=h||null,this.g=this.Ia.ownerDocument.defaultView,this.G=ac(Ju(l).toString()),this.Ea=null,this.qb=new z.Promise(function(v){p.Ea=v}),this.lb=null,new z.Promise(function(v){p.lb=v}),this.L=null,this.mb=new z.Promise(function(v){p.L=v}),this.ec=this.Xb=null,this.u=new ci(this.g,function(){return p.Ia.contentWindow},this.G)};(F=pg.prototype).connect=function(){var a=this.Ia;if("isConnected"in a)a=a.isConnected;else{var l=a.ownerDocument&&a.ownerDocument.documentElement;a=l&&l.contains(a)||!1}if(!a)throw Error("iframe must be in DOM");return this.u.connect(this.za.bind(this)),Td(this.Ia,this.nb),this.qb},F.disconnect=function(){this.u.disconnect()},F.Ya=function(){return this.mb},F.eb=function(){return this.Ia.contentWindow||null},F.message=function(a){this.u.customMessage(a)},F.onMessage=function(a){this.u.ib=a},F.za=function(a,l){"connect"==a?(se(this.u,this.Za),this.Ea()):"result"==a?this.L&&(l=new ar(a=l.code,"failed"==a?Error(l.data||""):l.data,"iframe",Qt(this.u),!0,!0),rf(this.g,l,this.L),this.L=null,es(this.u,"close"),this.disconnect()):"ready"==a?this.lb&&(this.lb(),this.lb=null):"resize"==a&&(this.ec=l.height,this.Xb&&this.Xb(this.ec))};var q=function(a,l,h,p,v,b){var w=this;if(!p||"_blank"!=p&&"_top"!=p&&"_"==p[0])throw Error('The only allowed targets are "_blank", "_top" and name targets');this.g=a,this.Ic=l,this.nb=h,this.Ec=p,this.Za=v||null,this.ra=b||{},this.Ea=null,this.qb=new z.Promise(function(E){w.Ea=E}),this.L=null,this.mb=new z.Promise(function(E){w.L=E}),this.u=this.W=this.ia=null};(F=q.prototype).open=function(){return nw(this)},F.disconnect=function(){if(this.W&&(this.W.stop(),this.W=null),this.u&&(this.u.disconnect(),this.u=null),this.ia){try{this.ia.close()}catch{}this.ia=null}this.L=null},F.eb=function(){return this.ia},F.Ya=function(){return this.mb},F.message=function(a){this.u.customMessage(a)},F.onMessage=function(a){this.u.ib=a};var nw=function(a){var l=Ct(a),h=a.nb;if(!a.ra.Cd){var p=function ew(a){var l={requestId:a.requestId,returnUrl:a.hc,args:a.qc};return void 0!==a.origin&&(l.origin=a.origin),void 0!==a.wb&&(l.originVerified=a.wb),JSON.stringify(l)}({requestId:a.Ic,hc:a.ra.hc||Qb(a.g.location.href),qc:a.Za});h=h+(-1==h.indexOf("#")?"#":"&")+encodeURIComponent("__WA__")+"="+encodeURIComponent(p)}"_top"!=(p=a.Ec)&&function dg(a){return/Trident|MSIE|IEMobile/i.test((a=a.navigator)&&a.userAgent)}(a.g)&&(p="_top");try{var v=St(a.g,h,p,l)}catch{}if(!v&&"_top"!=p&&!a.ra.Ad){p="_top";try{v=St(a.g,h,p)}catch{}}return v?(a.ia=v,"_top"!=p&&ma(a)):Ec(a,Error("failed to open window")),a.mb.catch(function(){})},Ct=function(a){var l=a.g.screen,h=l.availWidth||l.width,p=l.availHeight||l.height,v=a.g==a.g.top,b=a.g.navigator;b=/Edge/i.test(b&&b.userAgent),h=Math.max(h-(v&&a.g.outerWidth>a.g.innerWidth?Math.min(100,a.g.outerWidth-a.g.innerWidth):b?100:0),.5*h);var w=Math.max(p-(v&&a.g.outerHeight>a.g.innerHeight?Math.min(100,a.g.outerHeight-a.g.innerHeight):b?100:0),.5*p);for(var E in p=Math.floor(Math.min(600,.9*h)),v=Math.floor(Math.min(600,.9*w)),a.ra.width&&(p=Math.min(a.ra.width,h)),a.ra.height&&(v=Math.min(a.ra.height,w)),a=Math.floor((l.width-p)/2),l=Math.floor((l.height-v)/2),h={height:v,width:p,resizable:"yes",scrollbars:"yes"},b||(h.left=a,h.top=l),b="",h)b&&(b+=","),b+=E+"="+h[E];return b},ma=function(a){a.W=new Cc(500),a.W.addEventListener("tick",function(){mg(a,!0)}),a.W.start(),a.u=new ci(a.g,a.ia,null),a.u.connect(a.za.bind(a))},mg=function(a,l){(!a.ia||a.ia.closed)&&(a.W&&(a.W.stop(),a.W=null),a.g.setTimeout(function(){try{a.ea("canceled",null)}catch(h){Ec(a,h)}},l?3e3:0))},Ec=function(a,l){a.L&&a.L(z.Promise.reject(l)),a.disconnect()};q.prototype.ea=function(a,l){if(this.L){var h=this.u.isConnected();a=new ar(a,l,"popup",h?Qt(this.u):ac(this.nb),h,h),rf(this.g,a,this.L),this.L=null}this.u&&es(this.u,"close"),this.disconnect()},q.prototype.za=function(a,l){var h=this;"connect"==a?(se(this.u,this.Za),this.Ea()):"result"==a?this.ea(a=l.code,"failed"==a?Error(l.data||""):l.data):"check"==a&&this.g.setTimeout(function(){return mg(h)},200)};var af=function(a,l,h,p,v){this.g=a,this.tc=l,this.uc=h,this.G=p,this.Qc=v};af.prototype.Ya=function(){var a=this,l=new ar(this.tc,this.uc,"redirect",this.G,this.Qc,!1);return new z.Promise(function(h){rf(a.g,l,h)})};var po=function(){var a=window,l=this;this.version="1.23",this.g=a,this.R=a.location.hash,this.Cb={},this.Db={},this.cc=null,new z.Promise(function(h){l.cc=h})};po.prototype.open=function(a,l,h,p,v){return{Dd:Sc(this,a,l,h,p,v).eb()}},po.prototype.Ma=function(a,l){var h=this.Cb[a];if(h||(this.Cb[a]=h=[]),h.push(l),!(h=this.Db[a])&&this.R){try{var p=this.g,v=function Jb(a){return a?(/^[?#]/.test(a)?a.slice(1):a).split("&").reduce(function(l,h){var p=h.split("=");return h=decodeURIComponent(p[0]||""),p=decodeURIComponent(p[1]||""),h&&(l[h]=p),l},{}):{}}(this.R).__WA_RES__;if(v){var b=JSON.parse(v);if(b&&b.requestId==a){var w=p.location.hash;if(w){var E=encodeURIComponent("__WA_RES__")+"=";v=-1;do{if(-1!=(v=w.indexOf(E,v))){var V=v>0?w.substring(v-1,v):"";if(""==V||"?"==V||"#"==V||"&"==V){var O=w.indexOf("&",v+1);-1==O&&(O=w.length),w=w.substring(0,v)+w.substring(O+1)}else v++}}while(-1!=v&&v<w.length)}var K=w;if((K=K||"")!=p.location.hash&&p.history&&p.history.replaceState)try{p.history.replaceState(p.history.state,"",K)}catch{}var We=b.code,ht=b.data,Gt=b.origin,ss=p.document.referrer&&ac(p.document.referrer);h=new af(p,We,ht,Gt,Gt==ss)}else h=null}else h=null}catch(vn){(function tw(a){setTimeout(function(){throw a})})(vn),this.cc(vn)}h&&(this.Db[a]=h)}(a=h)&&uf(a,l)};var Sc=function(a,l,h,p,v,b){var w=new q(a.g,l,h,p,v,b);return w.open().then(function(){$(a,l,w)}),w},uf=function(a,l){z.Promise.resolve().then(function(){l(a)})},$=function(a,l,h){var p=a.Cb[l];p&&p.forEach(function(v){uf(h,v)}),a.Db[l]=h},ya=window.testOnlyLocalIbfeUrl||"",va=window.testOnlyLocalWeb5Url||"",Tc=window.integratorExperimentIds||[],Rn=function(a,l,h,p){this.m=a,this.Wa=l||!1,this.Jb=h||new po,this.ub=new yc,this.Oa=this.ma=null,this.Fb=!1,this.Pb=this.o=null,this.dc=p||null,this.yb=this.zb=this.A=this.Ra=null,this.sa=3e4,this.Wa&&Nn("\n.google-payments-dialog {\n animation: none 0s ease 0s 1 normal none running;\n background: none 0 0 / auto repeat scroll padding-box border-box #fff;\n border: 0 none #333;\n border-collapse: separate;\n bottom: 0;\n box-shadow: #808080 0 3px 0 0, #808080 0 0 22px;\n box-sizing: border-box;\n letter-spacing: normal;\n max-height: 100%;\n overflow: visible;\n position: fixed;\n width: 100%;\n appearance: none;\n left: 0;\n}\n@media (min-width: 600px) {\n .google-payments-dialog {\n width: 480px;\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n max-height: 600px;\n }\n}\n.google-payments-dialogContainer {\n position: fixed;\n z-index: 2147483647;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n overflow: hidden;\n background-color: rgba(0,0,0,0.4);\n}\n")};Rn.prototype.Ma=function(a){this.ma||(this.ma=a,this.Jb.Ma("GPAY",this.Dc.bind(this)))},Rn.prototype.O=function(){this.ub.O()},Rn.prototype.Dc=function(a){var l=this;(function(a){a.kb=null,a.V.parentElement&&si(a.V,{opacity:0}).then(function(){Ko(a.V,{display:"none"}),a.Qb.body.removeChild(a.V)})})(this.ub),this.ma(a.Ya().then(function(h){if("TIN"!=l.m&&h.origin!=cf(l))throw Error("channel mismatch");var p=h.data;if(p.redirectEncryptedCallbackData)return Ir=3,gg(l,p.redirectEncryptedCallbackData).then(function(v){var b=H(Object,"assign").call(Object,{},p);return delete b.redirectEncryptedCallbackData,H(Object,"assign").call(Object,b,v)});if(!h.wb||!h.Nc)throw Error("channel mismatch");return p},function(h){var p=h.message;h=h.message;try{h=JSON.parse(p.substring(7))}catch{}return h.statusCode&&-1==["DEVELOPER_ERROR","MERCHANT_ACCOUNT_ERROR"].indexOf(h.statusCode)&&(h={statusCode:"CANCELED"}),"AbortError"==h&&(h={statusCode:"CANCELED"}),z.Promise.reject(h)}))};var gg=function(a,l){return new z.Promise(function(h,p){var v=iw(a),b=new XMLHttpRequest;b.open("POST",v,!0),"withCredentials"in b&&(b.withCredentials=!0),b.onreadystatechange=function(){if(!(b.readyState<2))if(b.status<100||b.status>599)b.onreadystatechange=null,p(Error("Unknown HTTP status "+b.status));else if(4==b.readyState)try{h(JSON.parse(b.responseText))}catch(w){p(w)}},b.onerror=function(){p(Error("Network failure"))},b.onabort=function(){p(Error("Request aborted"))},b.send(l)})};Rn.prototype.isReadyToPay=function(a){var l=this;return new z.Promise(function(h,p){if(Xd(a)){var v={result:!1};google.payments.api.EnableImprovedIsrtpLogging&&(v.notReadyToPayFactors=[1]),h(v)}else{if(google.payments.api.EnableImprovedIsrtpLogging&&(v=function(a){var l=window.navigator.userAgent,h=l.indexOf("OPA/")>0&&l.indexOf("AppleWebKit")>0,p=l.indexOf("Instagram")>0,v=l.indexOf("Instagram")>0&&l.indexOf("IABMV/1")>0,b=l.indexOf("FB_IAB")>0||l.indexOf("FBIOS")>0,w=(l.indexOf("FB_IAB")>0||l.indexOf("FBIOS")>0)&&l.indexOf("IABMV/1")>0,E=l.indexOf("AndroidMapsWebView")>0;if(!a.Wa){if(h)return{result:!1,notReadyToPayFactors:[2]};if(p&&!v)return{result:!1,notReadyToPayFactors:[3]};if(b&&!w)return{result:!1,notReadyToPayFactors:[4]};if(E)return{result:!1,notReadyToPayFactors:[5]}}return a=l.indexOf("UCMini")>0,google.payments.api.ReadyToPayAdditionalBrowsers&&a?{result:!1,notReadyToPayFactors:[6]}:(a=google.payments.api.ReadyToPayAdditionalBrowsers&&(l.indexOf("OPT")>0||l.indexOf("UCBrowser")>0),l.indexOf("Chrome")>0||l.indexOf("Firefox")>0||l.indexOf("Safari")>0||a||h||v||w?{result:!0,notReadyToPayFactors:[]}:{result:!1,notReadyToPayFactors:[7]})}(l),!v.result))return void h(v);var b=(v=window.navigator.userAgent).indexOf("OPA/")>0&&v.indexOf("AppleWebKit")>0,w=v.indexOf("Instagram")>0,E=v.indexOf("Instagram")>0&&v.indexOf("IABMV/1")>0,V=v.indexOf("FB_IAB")>0||v.indexOf("FBIOS")>0,O=(v.indexOf("FB_IAB")>0||v.indexOf("FBIOS")>0)&&v.indexOf("IABMV/1")>0,K=v.indexOf("AndroidMapsWebView")>0;if((b||w&&!E||V&&!O||K)&&!l.Wa)h({result:!1});else{if(w=!1,google.payments.api.ReadyToPayAdditionalBrowsers){if(v.indexOf("UCMini")>0)return void h({result:!1});w=v.indexOf("OPT")>0||v.indexOf("UCBrowser")>0}var We=v.indexOf("Chrome")>0||v.indexOf("Firefox")>0||v.indexOf("Safari")>0||w||b||E||O;We&&a.apiVersion>=2&&a.existingPaymentMethodRequired?(a.environment=l.m,oa(a,6,["isReadyToPayResponse","isReadyToPayError"],function(ht){var Gt={result:We};a.existingPaymentMethodRequired&&(ht.data.isReadyToPayError?p({statusCode:"DEVELOPER_ERROR",statusMessage:"Ready to pay error. Cause : "+ht.data.isReadyToPayError}):Gt.paymentMethodPresent="READY_TO_PAY"==ht.data.isReadyToPayResponse),h(Gt)})):h({result:We})}}})},Rn.prototype.prefetchPaymentData=function(a){if(this.Wa){this.xa(a);var l=_a(this),h=mo(this,l.container,l.iframe,a,yg(a));this.Oa={container:l.container,iframe:l.iframe,request:a,dataPromise:h}}},Rn.prototype.loadPaymentData=function(a){var l=this;if(a.swg||a.apiVersion||(a.apiVersion=1),a.forceRedirect&&this.A)throw Error("Callback is not supported in redirect mode");a.environment=this.m,this.xa(a);var h=yg(a);if(!this.Wa)return Ir=a.forceRedirect?3:2,function(a,l,h,p,v){var b=Sc(a,"GPAY",l,h,p,v);return b.qb.then(function(){return b})}(this.Jb,Ic(this,h),a.forceRedirect?"_top":"gp-js-popup",a,rw(a)).then(function(b){var w=new da;l.ub.show(b&&b.eb()),google.payments.api.EnableClosePopupOnHostingPageUnload&&window.addEventListener("beforeunload",function(){var E;null==(E=b.eb())||E.close()}),b.onMessage(function(E){"partialPaymentDataCallback"==E.type?l.zb=gc(E.data,l.A,l.sa,w.hb,l.m).then(function(V){return b.message(V)}):"fullPaymentDataCallback"==E.type&&(l.yb=Zd(E.data,l.A,l.sa,w.hb,l.m).then(function(V){b.message(V)}))})});if(Ir=1,this.Oa){var p=this.Oa;a=this.Oa.dataPromise,this.Oa=null}else p=_a(this),a=mo(this,p.container,p.iframe,a,h);lf(this,p.container,p.iframe),history.pushState({},"",window.location.href);var v=function(b){b.preventDefault(),(b=p).container.parentNode&&(l.Pb(z.Promise.reject({errorCode:"CANCELED"})),ns(b.container,b.iframe),l.o&&l.o.disconnect()),window.removeEventListener("popstate",v)};window.addEventListener("popstate",v),h=new z.Promise(function(b){l.Pb=b}),this.ma(z.Promise.race([a,h]))};var rw=function(a){var l={width:600,height:550};return a.forceRedirect||a.swg||(l.disableRedirectFallback=!0),l};Rn.prototype.Ab=function(a){this.A=a};var cf=function(a){return"LOCAL"==a.m?"":"TEST"==a.m&&""!=ya?ya:"https://"+("PREPROD"==a.m?"pay-preprod.sandbox":"SANDBOX"==a.m?"pay.sandbox":"CANARY"==a.m?"ibfe-canary.corp":"pay")+".google.com"},iw=function(a){var l=cf(a)+"/gp/p/apis/buyflow/process";return a.dc&&(l+="?rk="+encodeURIComponent(a.dc)),l},yg=function(a){var l,h;if(null!=(l=a.i)&&l.disableNgbf)return!1;if(null!=(h=a.callbackIntents)&&h.length&&(l=H(a.callbackIntents,"includes").call(a.callbackIntents,"OFFER"),!google.payments.api.EnableWebNgbfForCallbackIntents||l&&!google.payments.api.EnableWebNgbfForOfferCallbackIntent)||a.Bd)return!1;if(a.allowedPaymentMethods)for(l=(a=_e(a.allowedPaymentMethods)).next();!l.done;l=a.next())if((l=l.value).parameters&&l.parameters.cvcRequired&&!google.payments.api.EnableWebNgbfForCvcRequired)return!1;return!0},Ic=function(a,l){var h="TIN"==a.m?"/ui/pay":cf(a)+"/gp/p/ui/pay",p=!1;return l&&(p=!0,h+="?ng=true","TEST"==a.m&&""!=va&&(h+="&_web5host="+va)),Tc.length>0&&(h+=(p?"&":"?")+"expids="+Tc.join(",")),h},ns=function(a,l){yn(l,"all 250ms ease 0s"),l.height="0px",setTimeout(function(){a.parentNode&&a.parentNode.removeChild(a)},250)},_a=function(a){var l=document.createElement("div");l.classList.add("google-payments-dialogContainer");var h=document.createElement("div");h.classList.add("iframeContainer");var p=document.createElement("iframe");return p.classList.add("google-payments-dialog"),p.setAttribute("frameborder","0"),p.setAttribute("scrolling","no"),h.appendChild(p),l.appendChild(h),document.body.appendChild(l),h=(l={container:l,iframe:p}).iframe,(p=l.container).addEventListener("click",Wu(a.sc,a,l)),p.style.display="none",h.style.display="none",h.height="0px",yn(h,"all 250ms ease 0s"),a.Fb=!1,l};Rn.prototype.sc=function(a){a.container.parentNode&&history.back()};var lf=function(a,l,h){l.style.display="block",h.style.display="block",setTimeout(function(){h.height="280px",setTimeout(function(){a.Fb=!0,a.Ra&&(yn(h,a.Ra.transition),h.height=a.Ra.height,a.Ra=null)},250)},1)},yn=function(a,l){uo(a,l),a.style.setProperty("-webkit-transition",l)},mo=function(a,l,h,p,v){p.swg||p.apiVersion||(p.apiVersion=1);var w,b="";return p.i&&p.i.coordinationToken&&(b=p.i.coordinationToken),p.environment=a.m,v=function(a,l,h,p){var v=window.location.origin;h=void 0===h?"":h,p=void 0===p?"":p;var b=Gn("https://pay.google.com/%{path}");return"CANARY"==a?b=Gn("https://ibfe-canary.corp.google.com/%{path}"):("SANDBOX"==a||"PREPROD"==a)&&(b=Gn("https://pay"+("PREPROD"==a?"-preprod":"")+".sandbox.google.com/%{path}")),l={origin:v,coordination_token:h,ng:l,hl:p},p=(h=Ju(a=nc(b,{path:Gn("gp/p/ui/pay")})).toString()).split(/[?#]/),v=/[?]/.test(h)?"?"+p[1]:"",function Rm(a,l,h,p){function v(w,E){null!=w&&(Array.isArray(w)?w.forEach(function(V){return v(V,E)}):(l+=b+encodeURIComponent(E)+"="+encodeURIComponent(w),b="&"))}var b=l.length?"&":"?";return p.constructor===Object&&(p=H(Object,"entries").call(Object,p)),Array.isArray(p)?p.forEach(function(w){return v(w[1],w[0])}):p.forEach(v),Ed(a+l+h)}(p[0],v,/[#]/.test(h)?"#"+(v?p[2]:p[1]):"",l)}(a.m,v,b,p.i.firstPartyLocale),function(a,l,h){var p=new pg(a,l,h);return p.connect().then(function(){return p})}(h,v,p).then(function(E){a.o=E;var V=new da;return E.onMessage(function(O){"partialPaymentDataCallback"==O.type?a.zb=gc(O.data,a.A,a.sa,V.hb).then(function(K){return E.message(K)}):"fullPaymentDataCallback"==O.type?a.yb=Zd(O.data,a.A,a.sa,V.hb).then(function(K){return E.message(K)}):"resize"==O.type&&(a.Fb?(w||(w=Date.now()),Date.now()<w+250?yn(h,O.transition+", height 250ms"):yn(h,O.transition),h.height=O.height):a.Ra={height:O.height,transition:O.transition})}),E.Ya()}).then(function(E){return ns(l,h),history.back(),E.data},function(E){return ns(l,h),history.back(),z.Promise.reject(E)})};Rn.prototype.xa=function(a){var l={startTimeMs:Date.now()};a.i=a.i?H(Object,"assign").call(Object,l,a.i):l};var Ee,Pc="actions.google.com amp-actions.sandbox.google.com amp-actions-staging.sandbox.google.com amp-actions-autopush.sandbox.google.com payments.developers.google.com payments.google.com".split(" "),W=function(a,l,h,p){this.qa=l,function qb(a){if(a.environment&&!(A=H(Object,"values").call(Object,yd),H(A,"includes")).call(A,a.environment))throw Error("Parameter environment in PaymentsClientOptions can optionally be set to PRODUCTION, otherwise it defaults to TEST.")}(a),this.vb=null,this.m=a.environment||"TEST",Ee||(Ee=-1!=Pc.indexOf(window.location.hostname)&&a.i&&a.i.googleTransactionId?a.i.googleTransactionId:function zm(a){for(var p,l=Array(36),h=0,v=0;v<36;v++)8==v||13==v||18==v||23==v?l[v]="-":14==v?l[v]="4":(h<=2&&(h=33554432+16777216*Math.random()|0),p=15&h,h>>=4,l[v]=Hb[19==v?3&p|8:p]);return l.join("")+"."+a}(this.m)),this.v=a,this.Ob=a.merchantInfo&&a.merchantInfo.merchantId?a.merchantInfo.merchantId:"",a.paymentDataCallback&&(a.paymentDataCallbacks={onPaymentDataChanged:a.paymentDataCallback}),this.A=null,this.l=new os(a,h),this.T=new Rn(this.m,h,p,a.i&&a.i.redirectKey),this.I=5,this.B=null,this.na=5===(l=this.l.mode)||4===l?new ig(this.m):this.T,a.paymentDataCallbacks&&(this.A=a.paymentDataCallbacks,this.na.Ab(a.paymentDataCallbacks),this.T.Ab(a.paymentDataCallbacks)),this.T.Ma(this.Yb.bind(this)),this.na.Ma(this.Yb.bind(this)),Ir=l,Bm=Ee,je({eventType:9,clientLatencyStartMs:Date.now(),buyFlowActivityReason:this.l.s,softwareInfo:xt(this),merchantInfo:Ht(this),merchantPageAddress:google.payments.api.EnableImprovedMerchantLogging?""+window.location.origin+window.location.pathname:null}),window.addEventListener("message",function(v){-1!=Pc.indexOf(window.location.hostname)&&"logPaymentData"===v.data.name&&je(v.data.data)})},xt=function(a){return a.v.merchantInfo&&a.v.merchantInfo.softwareInfo?a.v.merchantInfo.softwareInfo:null},Ht=function(a){var l,h,p,v;return null!=(l=a.v.merchantInfo)&&l.merchantId||null!=(h=a.v.merchantInfo)&&h.merchantName?(l={},null!=(p=a.v.merchantInfo)&&p.merchantId&&(l.merchantId=a.v.merchantInfo.merchantId),null!=(v=a.v.merchantInfo)&&v.merchantName&&(l.merchantName=a.v.merchantInfo.merchantName),l):null};W.prototype.isReadyToPay=function(a){var l=this;if(a){var h={};this.v.environment&&(h.environment=this.v.environment),this.v.merchantInfo&&(h.merchantInfo=this.v.merchantInfo),this.v.i&&(h.i=this.v.i),a=H(Object,"assign").call(Object,{},h,a),this.Ob=a.merchantInfo&&a.merchantInfo.merchantId?a.merchantInfo.merchantId:""}var p=Date.now(),v=[].concat(Ye(this.l.s));je({eventType:12,clientLatencyStartMs:p,buyFlowActivityReason:v,softwareInfo:xt(this),isReadyToPayRequest:a});var b=Qo()||function Zb(a){if(!a)return"isReadyToPayRequest must be set!";if(!(a.apiVersion<2)&&a.allowedPaymentMethods&&bc(a,"UPI"))return"UPI not supported";if(a.apiVersion>=2){if(!("apiVersionMinor"in a))return"apiVersionMinor must be set!";if(!a.allowedPaymentMethods||!Array.isArray(a.allowedPaymentMethods)||0==a.allowedPaymentMethods.length)return"for v2 allowedPaymentMethods must be set to an array containing a list of accepted payment methods";for(var l=0;l<a.allowedPaymentMethods.length;l++){var h=a.allowedPaymentMethods[l];if("CARD"==h.type){if(!h.parameters)return"Field parameters must be setup in each allowedPaymentMethod";var p=h.parameters.allowedCardNetworks;if(!p||!Array.isArray(p)||0==p.length)return"allowedCardNetworks must be setup in parameters for type CARD";if(!(h=h.parameters.allowedAuthMethods)||!Array.isArray(h)||0==h.length||!h.every(Kb))return"allowedAuthMethods must be setup in parameters for type 'CARD' and must contain 'CRYPTOGRAM_3DS' and/or 'PAN_ONLY'"}}}else if(!a.allowedPaymentMethods||!Array.isArray(a.allowedPaymentMethods)||0==a.allowedPaymentMethods.length||!a.allowedPaymentMethods.every(Yb))return"allowedPaymentMethods must be set to an array containing 'CARD' and/or 'TOKENIZED_CARD'!";return null}(a);if(b)return new z.Promise(function(O,K){$n({M:"isReadyToPay",errorMessage:b}),je({eventType:0,buyFlowActivityReason:v,error:2,errorMessage:b,softwareInfo:xt(l),merchantInfo:Ht(l)}),K({statusCode:"DEVELOPER_ERROR",statusMessage:b})});var w=[].concat(Ye(this.l.s)),E=ve(this,a,w);if(a.activityModeRequired){var V=null;return is.then(function(O){return V=O,E},function(){return V=!1,E}).then(function(O){return V||(w.push(40),5===l.l.mode&&(l.l.mode=2)),O.activityMode=l.l.mode,df(l,p,O,w,a),google.payments.api.EnableImprovedIsrtpLogging?vg(O):O}).catch(function(O){throw ba(l,O,w,a),O})}return E.then(function(O){return df(l,p,O,w,a),google.payments.api.EnableImprovedIsrtpLogging?vg(O):O}).catch(function(O){throw ba(l,O,w,a),O})};var vg=function(a){return a.hasOwnProperty("notReadyToPayFactors")&&delete(a=H(Object,"assign").call(Object,{},a)).notReadyToPayFactors,a},df=function(a,l,h,p,v){je({eventType:0,clientLatencyStartMs:l,isReadyToPayApiResponse:h,buyFlowActivityReason:p,softwareInfo:xt(a),merchantInfo:Ht(a),isReadyToPayRequest:v})},ba=function(a,l,h,p){l=l.statusCode?"INTERNAL_ERROR"==(l=l.statusCode)?1:"DEVELOPER_ERROR"==l?2:"MERCHANT_ACCOUNT_ERROR"==l?4:"UNSUPPORTED_API_VERSION"==l?5:"BUYER_CANCEL"==l?6:0:1,je({eventType:0,buyFlowActivityReason:h,error:l,softwareInfo:xt(a),merchantInfo:Ht(a),isReadyToPayRequest:p})},ve=function(a,l,h){var p=4===a.l.mode&&!li(l);if(Xo(l)&&!p&&(!(l=Jt(l)).allowedPaymentMethods||0===l.allowedPaymentMethods.length))return google.payments.api.EnableImprovedIsrtpLogging?rs(l,[13]):rs(l,[]);if(p){if(l.apiVersion>=2)return Ac(a,l,h);var v=a.T.isReadyToPay(l);return p=a.na.isReadyToPay(l),Xd(l)&&!a.l.ua?(h.push(6),p):(h.push(7),p.then(function(){return v}))}return a.T.isReadyToPay(l)},Ac=function(a,l,h){var p=rs(l,[]);google.payments.api.EnableImprovedIsrtpLogging&&(p=rs(l,[14]));var v=p;if(_c(l,"CRYPTOGRAM_3DS")||Xo(l)){v=JSON.parse(JSON.stringify(l));for(var b=0;b<v.allowedPaymentMethods.length;b++)"CARD"==v.allowedPaymentMethods[b].type&&(v.allowedPaymentMethods[b].parameters.allowedAuthMethods=["CRYPTOGRAM_3DS"]);h.push(8),v=a.na.isReadyToPay(v)}var w=p;return _c(l,"PAN_ONLY")&&(h.push(9),h=Xo(l)?Jt(l):l,w=a.T.isReadyToPay(h)),v.then(function(E){return 1==(E&&E.result)||google.payments.api.EnableImprovedIsrtpLogging&&E&&0==E.result&&!_c(l,"PAN_ONLY")?E:w})},rs=function(a,l){var h={result:!1};return a.existingPaymentMethodRequired&&(h.paymentMethodPresent=!1),google.payments.api.EnableImprovedIsrtpLogging&&l&&l.length>0&&(h.notReadyToPayFactors=l),z.Promise.resolve(h)},Jt=function(a){var l=H(Object,"assign").call(Object,{},a);return l.allowedPaymentMethods=a.allowedPaymentMethods.filter(function(h){return"EWALLET"!=h.type}),l},kc=function(a){var l=H(Object,"assign").call(Object,{},a);return l.allowedPaymentMethods=a.allowedPaymentMethods.filter(function(h){return"EWALLET"!=h.type}),l};(F=W.prototype).prefetchPaymentData=function(a){var l=Qo()||Qd(a);l?$n({M:"prefetchPaymentData",errorMessage:l}):(this.xa(a),this.l.Sa&&!li(a)?this.na.prefetchPaymentData(a):this.T.prefetchPaymentData(a))},F.notifyAvailableOffers=function(){},F.loadPaymentData=function(a){var l=this,h=[].concat(Ye(this.l.s)),p=Date.now(),v=function(){var O={eventType:5,buyFlowActivityReason:h.length?h:[99],softwareInfo:xt(l),merchantInfo:Ht(l),buttonInfo:l.B};google.payments.api.EnableCreateButtonApiOnClickLogging&&(O.clientLatencyStartMs=p),je(O)},b=Qo()||Qd(a);if(this.I=a&&a.swg?6:5,Ir=this.l.mode,b)this.qa(new z.Promise(function(O,K){je({eventType:1,error:2,buyFlowMode:l.I,softwareInfo:xt(l),merchantInfo:Ht(l),buttonInfo:l.B}),$n({M:"loadPaymentData",errorMessage:b}),K({statusCode:"DEVELOPER_ERROR",statusMessage:b})})),v();else{if(this.A||a.callbackIntents){var w=og(a,this.A);if(w)return this.qa(new z.Promise(function(O,K){je({eventType:1,error:2,buyFlowMode:l.I,softwareInfo:xt(l),merchantInfo:Ht(l),buttonInfo:l.B}),$n({M:"loadPaymentData",errorMessage:w}),K({statusCode:"DEVELOPER_ERROR",statusMessage:w})})),void v()}this.vb=Date.now();var E=Ca(this.l,a,h),V=5===E||4===E?this.na:this.T;if(E!==this.l.mode&&(Ir=E),this.xa(a),v(),Xo(a)&&(4!=this.l.mode||li(a))&&(!(a=kc(a)).allowedPaymentMethods||0===a.allowedPaymentMethods.length))return this.qa(new z.Promise(function(O,K){je({eventType:1,error:2,buyFlowMode:l.I,softwareInfo:xt(l),merchantInfo:Ht(l),buttonInfo:l.B}),$n({M:"loadPaymentData",errorMessage:"EWALLET is not supported in this environment."}),K({statusCode:"DEVELOPER_ERROR",statusMessage:"EWALLET is not supported in this environment."})})),void v();V.loadPaymentData(a)}},F.Vb=function(a){var h,p,v,b,w,E,V,l=this;return Lo(function(O){return 1==O.X?(h=[].concat(Ye(l.l.s)),p=Date.now(),v=function(){var K={eventType:5,buyFlowActivityReason:h.length?h:[99],softwareInfo:xt(l),merchantInfo:Ht(l),buttonInfo:l.B};google.payments.api.EnableCreateButtonApiOnClickLogging&&(K.clientLatencyStartMs=p),je(K)},b=Qo()||Qd(a),l.I=a&&a.swg?6:5,Ir=l.l.mode,b?(l.qa(new z.Promise(function(K,We){je({eventType:1,error:2,buyFlowMode:l.I,softwareInfo:xt(l),merchantInfo:Ht(l),buttonInfo:l.B}),$n({M:"loadPaymentData",errorMessage:b}),We({statusCode:"DEVELOPER_ERROR",statusMessage:b})})),v(),O.return()):(l.A||a.callbackIntents)&&(w=og(a,l.A))?(l.qa(new z.Promise(function(K,We){je({eventType:1,error:2,buyFlowMode:l.I,softwareInfo:xt(l),merchantInfo:Ht(l),buttonInfo:l.B}),$n({M:"loadPaymentData",errorMessage:w}),We({statusCode:"DEVELOPER_ERROR",statusMessage:w})})),v(),O.return()):(l.vb=Date.now(),ro(O,_g(l.l,a,h),2))):(V=5===(E=O.Xa)||4===E?l.na:l.T,E!==l.l.mode&&(Ir=E),l.xa(a),v(),!Xo(a)||4==l.l.mode&&!li(a)||(a=kc(a)).allowedPaymentMethods&&0!==a.allowedPaymentMethods.length?(V.loadPaymentData(a),void(O.X=0)):(l.qa(new z.Promise(function(K,We){je({eventType:1,error:2,buyFlowMode:l.I,softwareInfo:xt(l),merchantInfo:Ht(l),buttonInfo:l.B}),$n({M:"loadPaymentData",errorMessage:"EWALLET is not supported in this environment."}),We({statusCode:"DEVELOPER_ERROR",statusMessage:"EWALLET is not supported in this environment."})})),v(),O.return()))})},F.createButton=function(a){this.B=function(a){var l=0,h=0;switch(a.buttonType){case"short":l=1;break;case"long":l=2;break;case"plain":l=3;break;case"buy":l=4;break;case"donate":l=5;break;case"book":l=6;break;case"checkout":l=7;break;case"order":l=8;break;case"pay":l=9;break;case"subscribe":l=10}switch(a.buttonSizeMode){case"static":h=1;break;case"fill":h=2}var p=void 0===a.buttonRootNode?0:3;a.buttonRootNode instanceof ShadowRoot?p=1:a.buttonRootNode instanceof HTMLDocument&&(p=2);var v=null;return null!=a.buttonRadius&&null!=a.buttonRadius&&(v=Number(a.buttonRadius)),{buttonType:l,buttonSizeMode:h,buttonRootNode:p,buttonRadius:v}}(a=void 0===a?{}:a);var l=function Jm(a,l,h,p,v){if(a=void 0===a?{}:a,l=void 0===l?"":l,h=void 0===h?"":h,v=void 0===v?0:v,(A=H(Object,"values").call(Object,ki),H(A,"includes")).call(A,a.buttonType)||(a.buttonType="long"),(A=H(Object,"values").call(Object,bd),H(A,"includes")).call(A,a.buttonSizeMode)||(a.buttonSizeMode="static"),(A=H(Object,"values").call(Object,Xs),H(A,"includes")).call(A,a.buttonColor)||(a.buttonColor="black"),void 0!==a.allowedPaymentMethods&&!Array.isArray(a.allowedPaymentMethods)&&"object"==typeof a.allowedPaymentMethods&&null!==a.allowedPaymentMethods&&a.allowedPaymentMethods.hasOwnProperty("type")&&a.allowedPaymentMethods.hasOwnProperty("parameters")&&(a.allowedPaymentMethods=[a.allowedPaymentMethods]),function Wb(a,l){l=l&&H(qo,"includes").call(qo,ii(l));var h=H(ca,"includes").call(ca,ii(Ar)),p=H(Xm,"includes").call(Xm,ii(Ar));return(google.payments.api.EnableDynamicGpayButtonForTesting||google.payments.api.EnableDynamicGpayButton||h)&&!l&&!p&&("long"===a.buttonType||"buy"===a.buttonType||google.payments.api.EnableDynamicGpayButtonForPayButton&&"pay"===a.buttonType||google.payments.api.EnableDynamicGpayButtonForPlainButton&&"plain"===a.buttonType)}(a,l)&&(p?.({eventType:13,isAnonymousUser:google.payments.api.IsAnonymousUser}),function zb(a,l,h,p){if(void 0!==p)if(H(Vd,"includes").call(Vd,ii(a)))p.buttonVariant=1;else{var v=6===(a=Zo())||7===a,b=H(jd,"includes").call(jd,ii(Ar))&&"en"===h,w=H(hc,"includes").call(hc,ii(Ar))||function $d(){if(!fc)return!1;var a=H(Array,"from").call(Array,Array.prototype.slice.call(fc));if(!a||0===a.length)return!1;for(var l=(a=_e(a)).next();!l.done;l=a.next()){l=l.value;try{var h=ii(new URL(l).hostname);if(H(hc,"includes").call(hc,h))return!0}catch{}}return!1}();if(google.payments.api.EnableRlmiaButtonAnimation&&w)p.buttonVariant=9;else if(google.payments.api.EnableRlmiaSmallerText&&w)p.buttonVariant=10;else{if(w=google.payments.api.EnableOlympicsButtonAnimation,(!v||!b)&&(google.payments.api.LogOlympicsButtonAnimation&&(p.olympicsAnimationConditionsMet=!0),w))return void(p.buttonVariant=8);if(2===a){if("pt"===h&&void 0!==l)for(h=(l=_e(l)).next();!h.done;h=l.next())if("CARD"===(a=h.value).type)for(h=void 0,a=null==(h=a.parameters)?void 0:h.allowedCardNetworks,a=(h=_e(a)).next();!a.done;a=h.next())if(H(wd,"includes").call(wd,a.value))return void(p.buttonVariant=2);p.buttonVariant=1}else p.buttonVariant=v&&!b?1:a}}}(l,a.allowedPaymentMethods||[],Fi(a.buttonLocale)||"",a),!google.payments.api.ForceDisableDynamicGpayButton&&1!=google.payments.api.ButtonTypePolicyInPayjs))return function eg(a,l,h,p){p=void 0===p?0:p,H(dc,"includes").call(dc,a.buttonRootNode||document)||(Nn("\n .gpay-card-info-container {\n padding: 0;\n position: relative;\n min-width: 240px;\n height: 40px;\n min-height: 40px;\n border-radius: 4px;\n box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 1px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;\n cursor: pointer;\n border: 0px;\n }\n\n .gpay-card-info-container.black,\n .gpay-card-info-animation-container.black {\n background-color: #000;\n box-shadow: none;\n }\n\n .gpay-card-info-container.white,\n .gpay-card-info-animation-container.white {\n background-color: #fff;\n }\n\n .gpay-card-info-container.black.border-inset,\n .gpay-card-info-animation-container.black.border-inset {\n outline: 1px solid #757575;\n outline-offset: -1px;\n }\n\n .gpay-card-info-container.white.border-inset,\n .gpay-card-info-animation-container.white.border-inset {\n outline: 1px solid #3C4043;\n outline-offset: -1px;\n }\n\n .gpay-card-info-container.black.active {\n background-color: #5f6368;\n }\n\n .gpay-card-info-container.black.hover,\n .gpay-card-info-animation-container.black.hover {\n background-color: #3c4043;\n }\n\n .gpay-card-info-container.white.active {\n background-color: #fff;\n }\n\n .gpay-card-info-container.white.focus {\n box-shadow: #e8e8e8 0 1px 1px 0, #e8e8e8 0 1px 3px;\n }\n\n .gpay-card-info-container.white.hover,\n .gpay-card-info-animation-container.white.hover {\n background-color: #f8f8f8;\n }\n\n .gpay-card-info-iframe {\n border: 0;\n display: block;\n height: 100%;\n margin: auto;\n max-width: 100%;\n width: 240px;\n }\n\n .gpay-card-info-container-fill .gpay-card-info-iframe{\n position: absolute;\n top: 0;\n height: 100%;\n width: 100%;\n }\n\n .gpay-card-info-container-fill,\n .gpay-card-info-container-fill > .gpay-card-info-container{\n width: 100%;\n height: inherit;\n }\n\n\n .gpay-card-info-container-fill .gpay-card-info-placeholder-container {\n align-items: center;\n justify-content: center;\n width: 100%;\n padding-top: 3px;\n box-sizing: border-box;\n overflow: hidden;\n }\n\n .gpay-card-info-container-fill .gpay-card-info-placeholder-svg-container{\n position: relative;\n width: 60%;\n height: inherit;\n max-height: 80%;\n margin-right: -20%;\n }\n\n .gpay-card-info-container-fill .gpay-card-info-placeholder-svg-container > svg {\n position: absolute;\n left: 0;\n height: 100%;\n max-width: 100%;\n }\n",a.buttonRootNode),Nn('\n .gpay-card-info-animation-container {\n display: flex;\n width:100%;\n position: absolute;\n z-index: 100;\n height: 40px;\n border-radius: 4px;\n }\n\n .gpay-card-info-placeholder-container {\n display: flex;\n width: 100%;\n height: 100%;\n margin: auto;\n justify-content: center;\n }\n\n .gpay-card-info-animated-progress-bar-container {\n display: flex;\n box-sizing: border-box;\n position: absolute;\n width: 100%;\n }\n\n .gpay-card-info-animated-progress-bar-container.border-inset {\n z-index: -1;\n }\n\n .gpay-card-info-animated-progress-bar {\n border-radius: 4px 4px 0px 0px;\n animation-duration: 0.5s;\n animation-fill-mode: forwards;\n animation-iteration-count: 1;\n animation-name: gpayProgressFill;\n animation-timing-function: cubic-bezier(0.97, 0.33, 1, 1);\n background: #caccce;\n width: 100%;\n height: 3px;\n max-height: 3px;\n }\n\n .gpay-card-info-animated-progress-bar-indicator {\n border-radius: 4px 4px 0px 0px;\n max-width: 20px;\n min-width: 20px;\n height: 3px;\n max-height: 3px;\n background: linear-gradient(to right, #caccce 30%, #acaeaf 60%);\n animation-delay: 0.5s;\n animation-duration: 1.7s;\n animation-fill-mode: forwards;\n animation-iteration-count: infinite;\n animation-name: gpayPlaceHolderShimmer;\n }\n\n .gpay-card-info-animated-progress-bar.no-radius {\n border-radius: 0;\n }\n\n .gpay-card-info-animated-progress-bar-indicator.no-radius {\n border-radius: 0;\n }\n\n .gpay-card-info-iframe-fade-in {\n animation-fill-mode: forwards;\n animation-duration: 0.6s;\n animation-name: gpayIframeFadeIn;\n }\n\n .gpay-card-info-animation-container-fade-out {\n animation-fill-mode: forwards;\n animation-duration: 0.6s;\n animation-name: gpayPlaceHolderFadeOut;\n }\n\n .gpay-card-info-animation-gpay-logo {\n margin: 13px 7px 0px 39px;\n background-origin: content-box;\n background-position: center center;\n background-repeat: no-repeat;\n background-size: contain;\n height: 17px;\n max-height: 17px;\n max-width: 41px;\n min-width: 41px;\n }\n\n .gpay-card-info-animation-gpay-logo.black {\n background-image: url("https://www.gstatic.com/instantbuy/svg/dark_gpay.svg");\n }\n\n .gpay-card-info-animation-gpay-logo.white {\n background-image: url("https://www.gstatic.com/instantbuy/svg/light_gpay.svg");\n }\n\n @keyframes gpayPlaceHolderShimmer{\n 0% {\n margin-left: 0px;\n }\n 100% {\n margin-left: calc(100% - 20px);\n }\n }\n\n @keyframes gpayIframeFadeIn {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n }\n\n @keyframes gpayPlaceHolderFadeOut {\n from {\n opacity: 1;\n }\n\n to {\n opacity: 0;\n }\n }\n\n @keyframes gpayProgressFill {\n from {\n width: 0;\n }\n to {\n width: 100%;\n }\n }\n\n .gpay-card-info-container-fill .gpay-card-info-animation-container{\n top: 0;\n width: 100%;\n height: 100%;\n }\n\n .gpay-card-info-container-fill .gpay-card-info-animation-gpay-logo{\n background-position: right;\n margin: 0 0 0 0;\n max-width: none;\n width: 25%;\n height:inherit;\n max-height: 50%;\n }\n\n',a.buttonRootNode),google.payments.api.EnableGpayButtonDynamicRadius&&Nn("\n .gpay-card-info-container.black,\n .gpay-button.black {\n outline: 1px solid #757575;\n box-shadow: none;\n }\n .gpay-card-info-container.black.focus,\n .gpay-button.black.focus {\n outline: 1px auto Highlight;\n outline: 1px auto -webkit-focus-ring-color;\n box-shadow: none;\n }\n .gpay-card-info-container.white,\n .gpay-button.white {\n outline: 1px solid #3C4043;\n box-shadow: none;\n }\n .gpay-card-info-container.white.focus,\n .gpay-button.white.focus {\n outline: 1px auto Highlight;\n outline: 1px auto -webkit-focus-ring-color;\n box-shadow: none;\n }\n",a.buttonRootNode||document),5===Zo()&&Nn("\n .gpay-card-info-container,\n .gpay-button {\n overflow: hidden;\n }\n",a.buttonRootNode||document),dc.push(a.buttonRootNode||document));var v=Ud(a),b=document.createElement("button");Hd(b,a),0!==a.buttonVariant&&function tg(a,l){var h=Fi(l.buttonLocale,!0);7===l.buttonVariant?a.setAttribute("aria-label",Qs.GPAY_BUTTON_VARIANT_TYPE_BNPL_CARD[h]):6===l.buttonVariant?a.setAttribute("aria-label",Qs.GPAY_BUTTON_VARIANT_TYPE_BNPL_ONLY[h]):8===l.buttonVariant?("buy"!==(l=l.buttonType)&&"pay"!==l&&"plain"!==l&&(l="buy"),h in(l=Qs.GPAY_BUTTON_VARIANT_TYPE_OLYMPICS[l])||(h="en"),a.setAttribute("aria-label",l[h])):9===l.buttonVariant&&(h in(l=Qs.GPAY_BUTTON_VARIANT_TYPE_RLMIA)||(h="en"),a.setAttribute("aria-label",l[h]))}(b,a),v=(-1658203989===ii(Ar)?"gpay-button":"")+" gpay-card-info-container "+v,b.setAttribute("id","gpay-button-online-api-id"),b.setAttribute("class",v),Gd([b],a),google.payments.api.EnableButtonBorderInset&&b.classList.add("border-inset");var w=document.createElement("div");w.setAttribute("class",Yo(a)?"gpay-card-info-animation-container white":"gpay-card-info-animation-container black"),google.payments.api.EnableButtonBorderInset&&w.classList.add("border-inset"),(v=document.createElement("div")).setAttribute("class","gpay-card-info-placeholder-container");var E=document.createElement("div");E.setAttribute("class",Yo(a)?"gpay-card-info-animation-gpay-logo white":"gpay-card-info-animation-gpay-logo black");var V=tc(Yo(a)?Am:Yu),O=document.createElement("div");O.setAttribute("class","gpay-card-info-animated-progress-bar-container"),google.payments.api.EnableButtonBorderInset&&O.classList.add("border-inset");var K=document.createElement("div");K.setAttribute("class","gpay-card-info-animated-progress-bar"),google.payments.api.EnableGpayButtonDynamicRadius&&K.classList.add("no-radius");var We=document.createElement("div");We.setAttribute("class","gpay-card-info-animated-progress-bar-indicator"),google.payments.api.EnableGpayButtonDynamicRadius&&We.classList.add("no-radius"),K.appendChild(We),v.appendChild(E),"fill"!==a.buttonSizeMode||(E=tc(Yo(a)?Ni:Js),(V=document.createElement("div")).appendChild(E),V.setAttribute("class","gpay-card-info-placeholder-svg-container")),v.appendChild(V),O.appendChild(K),w.appendChild(v),w.appendChild(O),pc(w),b.appendChild(w);var ht=document.createElement("iframe");ht.setAttribute("class","gpay-card-info-iframe"),ht.setAttribute("scrolling","no");e:if("TEST"==l&&null!=la&&""!=la)l=la+"/gp/p/generate_gpay_btn_img";else{if("SANDBOX"===l){l="https://pay.sandbox.google.com/gp/p/generate_gpay_btn_img";break e}l="https://pay.google.com/gp/p/generate_gpay_btn_img"}return l=new sr(l),Oi(l,"buttonColor",a.buttonColor),Oi(l,"browserLocale",Fi(a.buttonLocale)),Oi(l,"hl",Fi(a.buttonLocale)),Oi(l,"buttonSizeMode",a.buttonSizeMode),Array.isArray(a.allowedPaymentMethods)&&a.allowedPaymentMethods.length>0&&Oi(l,"allowedPaymentMethods",JSON.stringify(a.allowedPaymentMethods)),Oi(l,"gpayButtonVariantType",a.buttonVariant),Oi(l,"gpayButtonType",a.buttonType),ht.src=l.toString(),ht.onload=function(){ht.classList.add("gpay-card-info-iframe-fade-in"),w.classList.add("gpay-card-info-animation-container-fade-out"),google.payments.api.EnableFastPayFeatureDemo&&b.click()},a.onClick&&(google.payments.api.EnableCreateButtonApiOnClickLogging?b.addEventListener("click",function(){var Gt=Vo.apply(0,arguments);h?.({eventType:21,clientLatencyStartMs:Date.now()}),google.payments.api.EnableLoadingScreenForPopupMode&&zd(p),a.onClick.apply(a,Ye(Gt))}):b.addEventListener("click",a.onClick)),pc(b),b.appendChild(ht),l=document.createElement("div"),"fill"===a.buttonSizeMode&&l.setAttribute("class","gpay-card-info-container-fill"),l.appendChild(b),l}(a,h,p,v);!function mc(a){var l=Fi(a.buttonLocale,!0),h=a.buttonRootNode||document;H(Wo,"includes").call(Wo,h)||(Nn("\n.gpay-button {\n background-origin: content-box;\n background-position: center center;\n background-repeat: no-repeat;\n background-size: contain;\n border: 0px;\n border-radius: 4px;\n box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 1px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;\n cursor: pointer;\n height: 40px;\n min-height: 40px;\n padding: 12px 24px 10px;\n width: 240px;\n}\n\n.gpay-button.black {\n background-color: #000;\n box-shadow: none;\n}\n\n.gpay-button.white {\n background-color: #fff;\n}\n\n.gpay-button.black.border-inset,\n.gpay-button.black.border-inset {\n outline: 1px solid #757575;\n outline-offset: -1px;\n}\n\n.gpay-button.white.border-inset,\n.gpay-button.white.border-inset {\n outline: 1px solid #3C4043;\n outline-offset: -1px;\n}\n\n.gpay-button.short, .gpay-button.plain {\n min-width: 90px;\n width: 160px;\n}\n\n.gpay-button.black.short, .gpay-button.black.plain {\n background-image: url(https://www.gstatic.com/instantbuy/svg/dark_gpay.svg);\n}\n\n.gpay-button.white.short, .gpay-button.white.plain {\n background-image: url(https://www.gstatic.com/instantbuy/svg/light_gpay.svg);\n}\n\n.gpay-button.black.active {\n background-color: #5f6368;\n}\n\n.gpay-button.black.hover {\n background-color: #3c4043;\n}\n\n.gpay-button.white.active {\n background-color: #fff;\n}\n\n.gpay-button.white.focus {\n box-shadow: #e8e8e8 0 1px 1px 0, #e8e8e8 0 1px 3px;\n}\n\n.gpay-button.white.hover {\n background-color: #f8f8f8;\n}\n\n.gpay-button-fill, .gpay-button-fill > .gpay-button.white, .gpay-button-fill > .gpay-button.black {\n width: 100%;\n height: inherit;\n}\n\n.gpay-button-fill > .gpay-button.white,\n .gpay-button-fill > .gpay-button.black {\n padding: 12px 15% 10px;\n}\n\n.gpay-button.donate, .gpay-button.book,\n.gpay-button.checkout,\n.gpay-button.subscribe, .gpay-button.pay,\n.gpay-button.order {\n padding: 9px 24px;\n}\n\n.gpay-button-fill > .gpay-button.donate,\n.gpay-button-fill > .gpay-button.book,\n.gpay-button-fill > .gpay-button.checkout,\n.gpay-button-fill > .gpay-button.order,\n.gpay-button-fill > .gpay-button.pay,\n.gpay-button-fill > .gpay-button.subscribe {\n padding: 9px 15%;\n}\n\n",h),google.payments.api.EnableGpayButtonDynamicRadius&&Nn("\n .gpay-card-info-container.black,\n .gpay-button.black {\n outline: 1px solid #757575;\n box-shadow: none;\n }\n .gpay-card-info-container.black.focus,\n .gpay-button.black.focus {\n outline: 1px auto Highlight;\n outline: 1px auto -webkit-focus-ring-color;\n box-shadow: none;\n }\n .gpay-card-info-container.white,\n .gpay-button.white {\n outline: 1px solid #3C4043;\n box-shadow: none;\n }\n .gpay-card-info-container.white.focus,\n .gpay-button.white.focus {\n outline: 1px auto Highlight;\n outline: 1px auto -webkit-focus-ring-color;\n box-shadow: none;\n }\n",h),5===Zo()&&Nn("\n .gpay-card-info-container,\n .gpay-button {\n overflow: hidden;\n }\n",h),Wo.push(h),ua.push([]));var p=Wo.indexOf(h),v=Yo(a)?"white":"black",b=l+"_"+a.buttonType+"_"+v,w=a.buttonType;if(w&&"short"!=w&&"plain"!=w&&!H(ua[p],"includes").call(ua[p],b)){w="white"===v?"light":"dark";var E="long"===(a=a.buttonType)?ao.buy[l]:ao[a||"buy"][l];Nn("long"==a||"buy"==a?"\n .gpay-button."+v+".long."+l+", .gpay-button."+v+".buy."+l+" {\n background-image: url(https://www.gstatic.com/instantbuy/svg/"+w+"/"+l+".svg);\n min-width: "+E+"px;\n }":"\n .gpay-button."+v+"."+a+"."+l+" {\n background-image: url(https://www.gstatic.com/instantbuy/svg/"+w+"/"+a+"/"+l+".svg);\n min-width: "+E+"px;\n }\n ",h),ua[p].push(b)}}(a);var b=document.createElement("button");if(Hd(b,a),"default"==a.buttonColor&&(a.buttonColor="black"),l=Ud(a),b.setAttribute("class","gpay-button "+l),b.setAttribute("id","gpay-button-online-api-id"),pc(b),Gd([b],a),google.payments.api.EnableButtonBorderInset&&b.classList.add("border-inset"),!a.onClick)throw Error("Parameter 'onClick' must be set.");return google.payments.api.EnableCreateButtonApiOnClickLogging?b.addEventListener("click",function(){var w=Vo.apply(0,arguments);p?.({eventType:21,clientLatencyStartMs:Date.now()}),google.payments.api.EnableLoadingScreenForPopupMode&&zd(v),a.onClick.apply(a,Ye(w))}):b.addEventListener("click",a.onClick),l=document.createElement("div"),"fill"===a.buttonSizeMode&&l.setAttribute("class","gpay-button-fill"),l.appendChild(b),google.payments.api.EnableFastPayFeatureDemo&&setTimeout(function(){return b.click()},100),l}(a,this.Ob,this.m,function(h){return je(h)},this.l.mode);return null!=a.buttonVariant&&(this.B.buttonVariant=Number(a.buttonVariant)),null!=a.olympicsAnimationConditionsMet&&(this.B.olympicsAnimationConditionsMet=a.olympicsAnimationConditionsMet),je({eventType:2,clientLatencyStartMs:Date.now(),buyFlowActivityReason:this.l.s,softwareInfo:xt(this),merchantInfo:Ht(this),buttonInfo:this.B}),l},F.O=function(){google.payments.api.EnableFocusPaymentSheetApi&&(je({eventType:34,buyFlowMode:this.I,buyFlowActivityReason:this.l.s,softwareInfo:xt(this),merchantInfo:Ht(this)}),this.T.O())},F.Yb=function(a){var l=this;(a=a.then(function(h){if(google.payments.api.LogInternally&&console.log("payment data",h),h.error){var p=Error();throw p.statusCode=h.error.statusCode,p.statusMessage=h.error.statusMessage,$n({M:"loadPaymentData",errorMessage:p.statusMessage}),p}return h})).then(function(h){google.payments.api.LogInternally&&console.log("payment data resolve to ",h),je({eventType:1,clientLatencyStartMs:l.vb,buyFlowMode:l.I,buyFlowActivityReason:l.l.s,softwareInfo:xt(l),merchantInfo:Ht(l),buttonInfo:l.B})}).catch(function(h){google.payments.api.LogInternally&&console.log("payment data has error",h),je(h.errorCode?{eventType:1,error:h.errorCode,buyFlowMode:l.I,buyFlowActivityReason:l.l.s,softwareInfo:xt(l),merchantInfo:Ht(l),buttonInfo:l.B}:{eventType:1,error:6,buyFlowMode:l.I,buyFlowActivityReason:l.l.s,softwareInfo:xt(l),merchantInfo:Ht(l),buttonInfo:l.B})}),this.qa(a)},F.xa=function(a){var l={googleTransactionId:Ee,usingPayJs:!0};a.i=a.i?H(Object,"assign").call(Object,l,a.i):l,a.i.firstPartyMerchantIdentifier&&delete a.i.firstPartyMerchantIdentifier,this.v.i&&this.v.i.firstPartyMerchantIdentifier&&(a.i.firstPartyMerchantIdentifier=this.v.i.firstPartyMerchantIdentifier)},W.prototype.focusPaymentSheet=W.prototype.O,W.prototype.createButton=W.prototype.createButton,W.prototype.loadPaymentDataAsync=W.prototype.Vb,W.prototype.loadPaymentData=W.prototype.loadPaymentData,W.prototype.notifyAvailableOffers=W.prototype.notifyAvailableOffers,W.prototype.prefetchPaymentData=W.prototype.prefetchPaymentData,W.prototype.isReadyToPay=W.prototype.isReadyToPay;var is=null,wa=null,os=function(a,l){l=void 0!==l&&l,this.pb=a,this.s=[],null!=window.navigator.userAgent.match(/Android|iPhone|iPad|iPod|BlackBerry|IEMobile/i)?(this.s.push(37),a=!1):(a=window.navigator.userAgent.match(/Chrome\/([0-9]+)\./i),"PaymentRequest"in window&&null!=a&&Number(a[1])>=70&&"Google Inc."==window.navigator.vendor?(this.s.push(98),this.pb.paymentDataCallbacks&&this.s.push(97),a=!0):(this.s.push(36),a=!1)),this.ua=a,this.Sa=bg(this),this.mode=2,l?(this.s=[38],this.mode=1):this.Sa&&this.ua?this.mode=5:this.Sa&&(this.mode=4),this.pb.paymentDataCallbacks&&this.s.push(1)},li=function(a){return!0===(a.i&&a.i.disableNative)},Ca=function(a,l,h){return 2===a.mode||1===a.mode?a.mode:li(l)?(h.push(3),2):!wa&&(a.ua||google.payments.api.UseCanMakePaymentForFallbackOnMobile&&a.Sa)?(h.push(40),2):a.ua&&l.swg?(h.push(5),2):a.mode},_g=function(a,l,h){return Lo(function(p){return 1==p.X?2===a.mode||1===a.mode?p.return(a.mode):li(l)?(h.push(3),p.return(2)):ro(p,Lo(function(a){return 1==a.X?null!=wa?a.return(wa):is?(a.ob=2,ro(a,is,4)):a.return(!1):2!=a.X?a.return(a.Xa):(a.ob=0,a.wa=null,a.return(!1))}),2):!p.Xa&&(a.ua||google.payments.api.UseCanMakePaymentForFallbackOnMobile&&a.Sa)?(h.push(40),p.return(2)):a.ua&&l.swg?(h.push(5),p.return(2)):p.return(a.mode)})},bg=function(a){if(!window.PaymentRequest)return a.s.push(41),!1;var l=-1!==window.navigator.userAgent.indexOf("OPT/"),h=-1!==window.navigator.userAgent.indexOf("SamsungBrowser/");return-1!==window.navigator.userAgent.indexOf("OPR/")||l||h?(a.s.push(35),!1):!(!a.ua&&(google.payments.api.EnablePaymentRequest?(l=window.navigator.userAgent.match(/Android/i),h=window.navigator.userAgent.match(/Chrome\/([0-9]+)\./i),null!=l&&"PaymentRequest"in window&&"Google Inc."==window.navigator.vendor&&null!=h&&Number(h[1])>=59?a.pb.paymentDataCallbacks&&(Number(h[1])<92||(a.s.push(96),!google.payments.api.EnableDynamicUpdateForClank&&(a.s.push(42),1))):(a.s.push(34),1)):(a.s.push(3),1)))};zu("google.payments.api.PaymentsAsyncClient",W),W.prototype.isReadyToPay=W.prototype.isReadyToPay,W.prototype.prefetchPaymentData=W.prototype.prefetchPaymentData,W.prototype.loadPaymentData=W.prototype.loadPaymentData,W.prototype.createButton=W.prototype.createButton,W.prototype.notifyAvailableOffers=W.prototype.notifyAvailableOffers,W.prototype.focusPaymentSheet=W.prototype.O;var Or=function(){var a=Error.call(this,"This method can only be called one at a time");this.message=a.message,"stack"in a&&(this.stack=a.stack)},Li=Error;if((Or.prototype=jt(Li.prototype)).constructor=Or,Ce)Ce(Or,Li);else for(var ur in Li)if("prototype"!=ur)if(Object.defineProperties){var ff=Object.getOwnPropertyDescriptor(Li,ur);ff&&Object.defineProperty(Or,ur,ff)}else Or[ur]=Li[ur];Or.Da=Li.prototype;var Ae=function(a,l){a=void 0===a?{}:a,this.Bc=function Wm(a){for(var l=1;l<arguments.length;l++)a=Od(a,arguments[l]);return a}({},window.gpayMerchantIdFromUrl?{merchantInfo:{merchantId:window.gpayMerchantIdFromUrl}}:{},window.gpayInitParams,a),this.ya=new W(this.Bc,this.Fc.bind(this),l),this.Na=null};(F=Ae.prototype).Fc=function(a){this.Na(a)},F.isReadyToPay=function(a){return this.ya.isReadyToPay(a)},F.prefetchPaymentData=function(a){this.ya.prefetchPaymentData(a)},F.notifyAvailableOffers=function(){},F.loadPaymentData=function(a){var l=this;return new z.Promise(function(h,p){if(l.Na)throw new Or;l.Na=h,google.payments.api.EnableCanMakePaymentConsistency?l.ya.Vb(a).catch(p):l.ya.loadPaymentData(a)}).then(function(h){return l.Na=null,h},function(h){throw h instanceof Or||(l.Na=null),h})},F.createButton=function(a){return this.ya.createButton(a=void 0===a?{}:a)},F.O=function(){this.ya.O()},Ae.prototype.createButton=Ae.prototype.createButton,Ae.prototype.loadPaymentData=Ae.prototype.loadPaymentData,Ae.prototype.notifyAvailableOffers=Ae.prototype.notifyAvailableOffers,Ae.prototype.prefetchPaymentData=Ae.prototype.prefetchPaymentData,Ae.prototype.isReadyToPay=Ae.prototype.isReadyToPay,zu("google.payments.api.PaymentsClient",Ae),Ae.prototype.isReadyToPay=Ae.prototype.isReadyToPay,Ae.prototype.prefetchPaymentData=Ae.prototype.prefetchPaymentData,Ae.prototype.loadPaymentData=Ae.prototype.loadPaymentData,Ae.prototype.createButton=Ae.prototype.createButton,Ae.prototype.notifyAvailableOffers=Ae.prototype.notifyAvailableOffers,Ae.prototype.focusPaymentSheet=Ae.prototype.O;try{is=new PaymentRequest([{supportedMethods:["https://google.com/pay"],data:{apiVersion:2,apiVersionMinor:0,allowedPaymentMethods:[{type:"CARD",parameters:{allowedAuthMethods:["PAN_ONLY","CRYPTOGRAM_3DS"],allowedCardNetworks:["VISA","MASTERCARD"]}}]}}],{total:{label:"Estimated Total Price",amount:{currency:"USD",value:"10"}}}).canMakePayment()}catch{is=z.Promise.resolve(!1)}is.then(function(a){return wa=a}).catch(function(){return wa=!1})}.call(this)}},F=>{F(F.s=88)}]);
3
+ (self.webpackChunk_motopays_pay_form=self.webpackChunk_motopays_pay_form||[]).push([[792],{88:(F,A,M)=>{"use strict";function D(e,n){return Object.is(e,n)}let Me=null,Se=!1,Te=1;const z=Symbol("SIGNAL");function ie(e){const n=Me;return Me=e,n}const jt={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Sr(e){if(Se)throw new Error("");if(null===Me)return;Me.consumerOnSignalRead(e);const n=Me.nextProducerIndex++;zs(Me),n<Me.producerNode.length&&Me.producerNode[n]!==e&&Pi(Me)&&ro(Me.producerNode[n],Me.producerIndexOfThis[n]),Me.producerNode[n]!==e&&(Me.producerNode[n]=e,Me.producerIndexOfThis[n]=Pi(Me)?$s(e,Me,n):0),Me.producerLastReadVersion[n]=e.version}function to(e){if((!Pi(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==Te)){if(!e.producerMustRecompute(e)&&!Tr(e))return e.dirty=!1,void(e.lastCleanEpoch=Te);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=Te}}function kn(e){if(void 0===e.liveConsumerNode)return;const n=Se;Se=!0;try{for(const t of e.liveConsumerNode)t.dirty||_e(t)}finally{Se=n}}function Ce(){return!1!==Me?.consumerAllowSignalWrites}function _e(e){e.dirty=!0,kn(e),e.consumerMarkedDirty?.(e)}function Ye(e){return e&&(e.nextProducerIndex=0),ie(e)}function ft(e,n){if(ie(n),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(Pi(e))for(let t=e.nextProducerIndex;t<e.producerNode.length;t++)ro(e.producerNode[t],e.producerIndexOfThis[t]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Tr(e){zs(e);for(let n=0;n<e.producerNode.length;n++){const t=e.producerNode[n],r=e.producerLastReadVersion[n];if(r!==t.version||(to(t),r!==t.version))return!0}return!1}function no(e){if(zs(e),Pi(e))for(let n=0;n<e.producerNode.length;n++)ro(e.producerNode[n],e.producerIndexOfThis[n]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function $s(e,n,t){if(Ws(e),0===e.liveConsumerNode.length&&io(e))for(let r=0;r<e.producerNode.length;r++)e.producerIndexOfThis[r]=$s(e.producerNode[r],e,r);return e.liveConsumerIndexOfThis.push(t),e.liveConsumerNode.push(n)-1}function ro(e,n){if(Ws(e),1===e.liveConsumerNode.length&&io(e))for(let r=0;r<e.producerNode.length;r++)ro(e.producerNode[r],e.producerIndexOfThis[r]);const t=e.liveConsumerNode.length-1;if(e.liveConsumerNode[n]=e.liveConsumerNode[t],e.liveConsumerIndexOfThis[n]=e.liveConsumerIndexOfThis[t],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,n<e.liveConsumerNode.length){const r=e.liveConsumerIndexOfThis[n],i=e.liveConsumerNode[n];zs(i),i.producerIndexOfThis[r]=n}}function Pi(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function zs(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function Ws(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function io(e){return void 0!==e.producerNode}const Uu=Symbol("UNSET"),Lo=Symbol("COMPUTING"),Vo=Symbol("ERRORED"),$u={...jt,value:Uu,dirty:!0,error:null,equal:D,producerMustRecompute:e=>e.value===Uu||e.value===Lo,producerRecomputeValue(e){if(e.value===Lo)throw new Error("Detected cycle in computations.");const n=e.value;e.value=Lo;const t=Ye(e);let r;try{r=e.computation()}catch(i){r=Vo,e.error=i}finally{ft(e,t)}n!==Uu&&n!==Vo&&r!==Vo&&e.equal(n,r)?e.value=n:(e.value=r,e.version++)}};let zu=function oo(){throw new Error};function qs(){zu()}let or=null;function so(e,n){Ce()||qs(),e.equal(e.value,n)||(e.value=n,function xn(e){e.version++,function Fo(){Te++}(),kn(e),or?.()}(e))}const Zu={...jt,equal:D,value:void 0};const Ai=()=>{},Pm={...jt,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{null!==e.schedule&&e.schedule(e.ref)},hasRun:!1,cleanupFn:Ai};function Je(e){return"function"==typeof e}function Gn(e){const t=e(r=>{Error.call(r),r.stack=(new Error).stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}const Ks=Gn(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((r,i)=>`${i+1}) ${r.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t});function Bo(e,n){if(e){const t=e.indexOf(n);0<=t&&e.splice(t,1)}}class cn{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;const{_parentage:t}=this;if(t)if(this._parentage=null,Array.isArray(t))for(const o of t)o.remove(this);else t.remove(this);const{initialTeardown:r}=this;if(Je(r))try{r()}catch(o){n=o instanceof Ks?o.errors:[o]}const{_finalizers:i}=this;if(i){this._finalizers=null;for(const o of i)try{_d(o)}catch(s){n=n??[],s instanceof Ks?n=[...n,...s.errors]:n.push(s)}}if(n)throw new Ks(n)}}add(n){var t;if(n&&n!==this)if(this.closed)_d(n);else{if(n instanceof cn){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=null!==(t=this._finalizers)&&void 0!==t?t:[]).push(n)}}_hasParent(n){const{_parentage:t}=this;return t===n||Array.isArray(t)&&t.includes(n)}_addParent(n){const{_parentage:t}=this;this._parentage=Array.isArray(t)?(t.push(n),t):t?[t,n]:n}_removeParent(n){const{_parentage:t}=this;t===n?this._parentage=null:Array.isArray(t)&&Bo(t,n)}remove(n){const{_finalizers:t}=this;t&&Bo(t,n),n instanceof cn&&n._removeParent(this)}}cn.EMPTY=(()=>{const e=new cn;return e.closed=!0,e})();const yd=cn.EMPTY;function vd(e){return e instanceof cn||e&&"closed"in e&&Je(e.remove)&&Je(e.add)&&Je(e.unsubscribe)}function _d(e){Je(e)?e():e.unsubscribe()}const ki={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Xs={setTimeout(e,n,...t){const{delegate:r}=Xs;return r?.setTimeout?r.setTimeout(e,n,...t):setTimeout(e,n,...t)},clearTimeout(e){const{delegate:n}=Xs;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function bd(e){Xs.setTimeout(()=>{const{onUnhandledError:n}=ki;if(!n)throw e;n(e)})}function ao(){}const xi=Yu("C",void 0,void 0);function Yu(e,n,t){return{kind:e,value:n,error:t}}let Ni=null;function Js(e){if(ki.useDeprecatedSynchronousErrorHandling){const n=!Ni;if(n&&(Ni={errorThrown:!1,error:null}),e(),n){const{errorThrown:t,error:r}=Ni;if(Ni=null,t)throw r}}else e()}class Nn extends cn{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,vd(n)&&n.add(this)):this.destination=Nm}static create(n,t,r){return new ea(n,t,r)}next(n){this.isStopped?na(function Am(e){return Yu("N",e,void 0)}(n),this):this._next(n)}error(n){this.isStopped?na(function Qs(e){return Yu("E",void 0,e)}(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?na(xi,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const Cd=Function.prototype.bind;function Ku(e,n){return Cd.call(e,n)}class km{constructor(n){this.partialObserver=n}next(n){const{partialObserver:t}=this;if(t.next)try{t.next(n)}catch(r){ta(r)}}error(n){const{partialObserver:t}=this;if(t.error)try{t.error(n)}catch(r){ta(r)}else ta(n)}complete(){const{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(t){ta(t)}}}class ea extends Nn{constructor(n,t,r){let i;if(super(),Je(n)||!n)i={next:n??void 0,error:t??void 0,complete:r??void 0};else{let o;this&&ki.useDeprecatedNextContext?(o=Object.create(n),o.unsubscribe=()=>this.unsubscribe(),i={next:n.next&&Ku(n.next,o),error:n.error&&Ku(n.error,o),complete:n.complete&&Ku(n.complete,o)}):i=n}this.destination=new km(i)}}function ta(e){ki.useDeprecatedSynchronousErrorHandling?function wd(e){ki.useDeprecatedSynchronousErrorHandling&&Ni&&(Ni.errorThrown=!0,Ni.error=e)}(e):bd(e)}function na(e,n){const{onStoppedNotification:t}=ki;t&&Xs.setTimeout(()=>t(e,n))}const Nm={closed:!0,next:ao,error:function xm(e){throw e},complete:ao},ra="function"==typeof Symbol&&Symbol.observable||"@@observable";function Ho(e){return e}let _t=(()=>{class e{constructor(t){t&&(this._subscribe=t)}lift(t){const r=new e;return r.source=this,r.operator=t,r}subscribe(t,r,i){const o=function Ed(e){return e&&e instanceof Nn||function Qu(e){return e&&Je(e.next)&&Je(e.error)&&Je(e.complete)}(e)&&vd(e)}(t)?t:new ea(t,r,i);return Js(()=>{const{operator:s,source:u}=this;o.add(s?s.call(o,u):u?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(t){try{return this._subscribe(t)}catch(r){t.error(r)}}forEach(t,r){return new(r=Xu(r))((i,o)=>{const s=new ea({next:u=>{try{t(u)}catch(c){o(c),s.unsubscribe()}},error:o,complete:i});this.subscribe(s)})}_subscribe(t){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(t)}[ra](){return this}pipe(...t){return function ia(e){return 0===e.length?Ho:1===e.length?e[0]:function(t){return e.reduce((r,i)=>i(r),t)}}(t)(this)}toPromise(t){return new(t=Xu(t))((r,i)=>{let o;this.subscribe(s=>o=s,s=>i(s),()=>r(o))})}}return e.create=n=>new e(n),e})();function Xu(e){var n;return null!==(n=e??ki.Promise)&&void 0!==n?n:Promise}const Ju=Gn(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let bt=(()=>{class e extends _t{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){const r=new Dd(this,this);return r.operator=t,r}_throwIfClosed(){if(this.closed)throw new Ju}next(t){Js(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(t)}})}error(t){Js(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;const{observers:r}=this;for(;r.length;)r.shift().error(t)}})}complete(){Js(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:t}=this;for(;t.length;)t.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var t;return(null===(t=this.observers)||void 0===t?void 0:t.length)>0}_trySubscribe(t){return this._throwIfClosed(),super._trySubscribe(t)}_subscribe(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)}_innerSubscribe(t){const{hasError:r,isStopped:i,observers:o}=this;return r||i?yd:(this.currentObservers=null,o.push(t),new cn(()=>{this.currentObservers=null,Bo(o,t)}))}_checkFinalizedStatuses(t){const{hasError:r,thrownError:i,isStopped:o}=this;r?t.error(i):o&&t.complete()}asObservable(){const t=new _t;return t.source=this,t}}return e.create=(n,t)=>new Dd(n,t),e})();class Dd extends bt{constructor(n,t){super(),this.destination=n,this.source=t}next(n){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===r||r.call(t,n)}error(n){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===r||r.call(t,n)}complete(){var n,t;null===(t=null===(n=this.destination)||void 0===n?void 0:n.complete)||void 0===t||t.call(n)}_subscribe(n){var t,r;return null!==(r=null===(t=this.source)||void 0===t?void 0:t.subscribe(n))&&void 0!==r?r:yd}}class ec extends bt{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){const t=super._subscribe(n);return!t.closed&&n.next(this._value),t}getValue(){const{hasError:n,thrownError:t,_value:r}=this;if(n)throw t;return this._throwIfClosed(),r}next(n){super.next(this._value=n)}}function mn(e){return n=>{if(function Sd(e){return Je(e?.lift)}(n))return n.lift(function(t){try{return e(t,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function Kt(e,n,t,r,i){return new Td(e,n,t,r,i)}class Td extends Nn{constructor(n,t,r,i,o,s){super(n),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=t?function(u){try{t(u)}catch(c){n.error(c)}}:super._next,this._error=i?function(u){try{i(u)}catch(c){n.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(u){n.error(u)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:t}=this;super.unsubscribe(),!t&&(null===(n=this.onFinalize)||void 0===n||n.call(this))}}}function St(e,n){return mn((t,r)=>{let i=0;t.subscribe(Kt(r,o=>{r.next(e.call(n,o,i++))}))})}typeof navigator<"u"&&navigator,typeof navigator<"u"&&!/Opera/.test(navigator.userAgent)&&navigator,typeof navigator<"u"&&(/MSIE/.test(navigator.userAgent)||navigator),typeof navigator<"u"&&!/Opera|WebKit/.test(navigator.userAgent)&&navigator,typeof navigator<"u"&&navigator;const Jd="https://g.co/ng/security#xss";class k extends Error{constructor(n,t){super(function uo(e,n){return`NG0${Math.abs(e)}${n?": "+n:""}`}(n,t)),this.code=n}}function xr(e){return{toString:e}.toString()}const fo="__annotations__",Nr="__parameters__",On="__prop__metadata__";function fa(e,n,t,r,i){return xr(()=>{const o=Jo(n);function s(...u){if(this instanceof s)return o.call(this,...u),this;const c=new s(...u);return function(f){return i&&i(f,...u),(f.hasOwnProperty(fo)?f[fo]:Object.defineProperty(f,fo,{value:[]})[fo]).push(c),r&&r(f),f}}return t&&(s.prototype=Object.create(t.prototype)),s.prototype.ngMetadataName=e,s.annotationCls=s,s})}function Jo(e){return function(...t){if(e){const r=e(...t);for(const i in r)this[i]=r[i]}}}function ui(e,n,t){return xr(()=>{const r=Jo(n);function i(...o){if(this instanceof i)return r.apply(this,o),this;const s=new i(...o);return u.annotation=s,u;function u(c,d,f){const m=c.hasOwnProperty(Nr)?c[Nr]:Object.defineProperty(c,Nr,{value:[]})[Nr];for(;m.length<=f;)m.push(null);return(m[f]=m[f]||[]).push(s),c}}return t&&(i.prototype=Object.create(t.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}const Ze=globalThis;function Be(e){for(let n in e)if(e[n]===Be)return n;throw Error("Could not find renamed property on target object.")}function tf(e,n){for(const t in n)n.hasOwnProperty(t)&&!e.hasOwnProperty(t)&&(e[t]=n[t])}function wt(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(wt).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const n=e.toString();if(null==n)return""+n;const t=n.indexOf("\n");return-1===t?n:n.substring(0,t)}function ha(e,n){return null==e||""===e?null===n?"":n:null==n||""===n?e:e+" "+n}const lg=Be({__forward_ref__:Be});function Pe(e){return e.__forward_ref__=Pe,e.toString=function(){return wt(this())},e}function ae(e){return ho(e)?e():e}function ho(e){return"function"==typeof e&&e.hasOwnProperty(lg)&&e.__forward_ref__===Pe}function q(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Ct(e){return{providers:e.providers||[],imports:e.imports||[]}}function ma(e){return Ec(e,ga)||Ec(e,Sc)}function Ec(e,n){return e.hasOwnProperty(n)?e[n]:null}function po(e){return e&&(e.hasOwnProperty(Dc)||e.hasOwnProperty(uf))?e[Dc]:null}const ga=Be({\u0275prov:Be}),Dc=Be({\u0275inj:Be}),Sc=Be({ngInjectableDef:Be}),uf=Be({ngInjectorDef:Be});class ${constructor(n,t){this._desc=n,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.\u0275prov=q({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Ic(e){return e&&!!e.\u0275providers}const ts=Be({\u0275cmp:Be}),ns=Be({\u0275dir:Be}),_a=Be({\u0275pipe:Be}),lf=Be({\u0275mod:Be}),yn=Be({\u0275fac:Be}),mo=Be({__NG_ELEMENT_ID__:Be}),Pc=Be({__NG_ENV_ID__:Be});function W(e){return"string"==typeof e?e:null==e?"":String(e)}function ba(e,n){throw new k(-201,!1)}var ve=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(ve||{});let Ac;function rs(){return Ac}function Jt(e){const n=Ac;return Ac=e,n}function kc(e,n,t){const r=ma(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:t&ve.Optional?null:void 0!==n?n:void ba()}const os={},li="__NG_DI_FLAG__",Ca="ngTempTokenPath",bg=/\n/gm,Li="__source";let ur;function Ae(e){const n=ur;return ur=e,n}function a(e,n=ve.Default){if(void 0===ur)throw new k(-203,!1);return null===ur?kc(e,void 0,n):ur.get(e,n&ve.Optional?null:void 0,n)}function l(e,n=ve.Default){return(rs()||a)(ae(e),n)}function p(e,n=ve.Default){return l(e,v(n))}function v(e){return typeof e>"u"||"number"==typeof e?e:(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function b(e){const n=[];for(let t=0;t<e.length;t++){const r=ae(e[t]);if(Array.isArray(r)){if(0===r.length)throw new k(900,!1);let i,o=ve.Default;for(let s=0;s<r.length;s++){const u=r[s],c=E(u);"number"==typeof c?-1===c?i=u.token:o|=c:i=u}n.push(l(i,o))}else n.push(l(r))}return n}function w(e,n){return e[li]=n,e.prototype[li]=n,e}function E(e){return e[li]}const K=w(ui("Inject",e=>({token:e})),-1),We=w(ui("Optional"),8),ht=w(ui("Self"),2),Gt=w(ui("SkipSelf"),4),ss=w(ui("Host"),1);function vn(e,n){return e.hasOwnProperty(yn)?e[yn]:null}function Ea(e,n){e.forEach(t=>Array.isArray(t)?Ea(t,n):n(t))}function aw(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function hf(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function pf(e,n){const t=[];for(let r=0;r<e;r++)t.push(n);return t}function zn(e,n,t){let r=Da(e,n);return r>=0?e[1|r]=t:(r=~r,function uw(e,n,t,r){let i=e.length;if(i==n)e.push(t,r);else if(1===i)e.push(r,e[0]),e[0]=t;else{for(i--,e.push(e[i-1],e[i]);i>n;)e[i]=e[i-2],i--;e[n]=t,e[n+1]=r}}(e,r,n,t)),r}function Cg(e,n){const t=Da(e,n);if(t>=0)return e[1|t]}function Da(e,n){return function cw(e,n,t){let r=0,i=e.length>>t;for(;i!==r;){const o=r+(i-r>>1),s=e[o<<t];if(n===s)return o<<t;s>n?i=o:r=o+1}return~(i<<t)}(e,n,1)}const di={},ke=[],fi=new $(""),lw=new $("",-1),Eg=new $("");class mf{get(n,t=os){if(t===os){const r=new Error(`NullInjectorError: No provider for ${wt(n)}!`);throw r.name="NullInjectorError",r}return t}}var gf=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(gf||{}),Rr=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Rr||{}),go=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(go||{});function HA(e,n,t){let r=e.length;for(;;){const i=e.indexOf(n,t);if(-1===i)return i;if(0===i||e.charCodeAt(i-1)<=32){const o=n.length;if(i+o===r||e.charCodeAt(i+o)<=32)return i}t=i+1}}function Dg(e,n,t){let r=0;for(;r<t.length;){const i=t[r];if("number"==typeof i){if(0!==i)break;r++;const o=t[r++],s=t[r++],u=t[r++];e.setAttribute(n,s,u,o)}else{const o=i,s=t[++r];fw(o)?e.setProperty(n,o,s):e.setAttribute(n,o,s),r++}}return r}function dw(e){return 3===e||4===e||6===e}function fw(e){return 64===e.charCodeAt(0)}function xc(e,n){if(null!==n&&0!==n.length)if(null===e||0===e.length)e=n.slice();else{let t=-1;for(let r=0;r<n.length;r++){const i=n[r];"number"==typeof i?t=i:0===t||hw(e,t,i,null,-1===t||2===t?n[++r]:null)}}return e}function hw(e,n,t,r,i){let o=0,s=e.length;if(-1===n)s=-1;else for(;o<e.length;){const u=e[o++];if("number"==typeof u){if(u===n){s=-1;break}if(u>n){s=o-1;break}}}for(;o<e.length;){const u=e[o];if("number"==typeof u)break;if(u===t){if(null===r)return void(null!==i&&(e[o+1]=i));if(r===e[o+1])return void(e[o+2]=i)}o++,null!==r&&o++,null!==i&&o++}-1!==s&&(e.splice(s,0,n),o=s+1),e.splice(o++,0,t),null!==r&&e.splice(o++,0,r),null!==i&&e.splice(o++,0,i)}const pw="ng-template";function GA(e,n,t,r){let i=0;if(r){for(;i<n.length&&"string"==typeof n[i];i+=2)if("class"===n[i]&&-1!==HA(n[i+1].toLowerCase(),t,0))return!0}else if(Sg(e))return!1;if(i=n.indexOf(1,i),i>-1){let o;for(;++i<n.length&&"string"==typeof(o=n[i]);)if(o.toLowerCase()===t)return!0}return!1}function Sg(e){return 4===e.type&&e.value!==pw}function UA(e,n,t){return n===(4!==e.type||t?e.value:pw)}function $A(e,n,t){let r=4;const i=e.attrs,o=null!==i?function qA(e){for(let n=0;n<e.length;n++)if(dw(e[n]))return n;return e.length}(i):0;let s=!1;for(let u=0;u<n.length;u++){const c=n[u];if("number"!=typeof c){if(!s)if(4&r){if(r=2|1&r,""!==c&&!UA(e,c,t)||""===c&&1===n.length){if(Fr(r))return!1;s=!0}}else if(8&r){if(null===i||!GA(e,i,c,t)){if(Fr(r))return!1;s=!0}}else{const d=n[++u],f=zA(c,i,Sg(e),t);if(-1===f){if(Fr(r))return!1;s=!0;continue}if(""!==d){let m;if(m=f>o?"":i[f+1].toLowerCase(),2&r&&d!==m){if(Fr(r))return!1;s=!0}}}}else{if(!s&&!Fr(r)&&!Fr(c))return!1;if(s&&Fr(c))continue;s=!1,r=c|1&r}}return Fr(r)||s}function Fr(e){return!(1&e)}function zA(e,n,t,r){if(null===n)return-1;let i=0;if(r||!t){let o=!1;for(;i<n.length;){const s=n[i];if(s===e)return i;if(3===s||6===s)o=!0;else{if(1===s||2===s){let u=n[++i];for(;"string"==typeof u;)u=n[++i];continue}if(4===s)break;if(0===s){i+=4;continue}}i+=o?1:2}return-1}return function ZA(e,n){let t=e.indexOf(4);if(t>-1)for(t++;t<e.length;){const r=e[t];if("number"==typeof r)return-1;if(r===n)return t;t++}return-1}(n,e)}function mw(e,n,t=!1){for(let r=0;r<n.length;r++)if($A(e,n[r],t))return!0;return!1}function YA(e,n){e:for(let t=0;t<n.length;t++){const r=n[t];if(e.length===r.length){for(let i=0;i<e.length;i++)if(e[i]!==r[i])continue e;return!0}}return!1}function gw(e,n){return e?":not("+n.trim()+")":n}function KA(e){let n=e[0],t=1,r=2,i="",o=!1;for(;t<e.length;){let s=e[t];if("string"==typeof s)if(2&r){const u=e[++t];i+="["+s+(u.length>0?'="'+u+'"':"")+"]"}else 8&r?i+="."+s:4&r&&(i+=" "+s);else""!==i&&!Fr(s)&&(n+=gw(o,i),i=""),r=s,o=o||!Fr(r);t++}return""!==i&&(n+=gw(o,i)),n}function ut(e){return xr(()=>{const n=vw(e),t={...n,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===gf.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Rr.Emulated,styles:e.styles||ke,_:null,schemas:e.schemas||null,tView:null,id:""};_w(t);const r=e.dependencies;return t.directiveDefs=yf(r,!1),t.pipeDefs=yf(r,!0),t.id=function nk(e){let n=0;const t=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const i of t)n=Math.imul(31,n)+i.charCodeAt(0)|0;return n+=2147483648,"c"+n}(t),t})}function JA(e){return ye(e)||$t(e)}function ek(e){return null!==e}function Ut(e){return xr(()=>({type:e.type,bootstrap:e.bootstrap||ke,declarations:e.declarations||ke,imports:e.imports||ke,exports:e.exports||ke,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function yw(e,n){if(null==e)return di;const t={};for(const r in e)if(e.hasOwnProperty(r)){const i=e[r];let o,s,u=go.None;Array.isArray(i)?(u=i[0],o=i[1],s=i[2]??o):(o=i,s=i),n?(t[o]=u!==go.None?[r,u]:r,n[o]=s):t[o]=r}return t}function ce(e){return xr(()=>{const n=vw(e);return _w(n),n})}function Nt(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function ye(e){return e[ts]||null}function $t(e){return e[ns]||null}function en(e){return e[_a]||null}function vw(e){const n={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:n,inputTransforms:null,inputConfig:e.inputs||di,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||ke,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:yw(e.inputs,n),outputs:yw(e.outputs),debugInfo:null}}function _w(e){e.features?.forEach(n=>n(e))}function yf(e,n){if(!e)return null;const t=n?en:JA;return()=>("function"==typeof e?e():e).map(r=>t(r)).filter(ek)}function Sa(e){return{\u0275providers:e}}function rk(...e){return{\u0275providers:Tg(0,e),\u0275fromNgModule:!0}}function Tg(e,...n){const t=[],r=new Set;let i;const o=s=>{t.push(s)};return Ea(n,s=>{const u=s;vf(u,o,[],r)&&(i||=[],i.push(u))}),void 0!==i&&bw(i,o),t}function bw(e,n){for(let t=0;t<e.length;t++){const{ngModule:r,providers:i}=e[t];Mg(i,o=>{n(o,r)})}}function vf(e,n,t,r){if(!(e=ae(e)))return!1;let i=null,o=po(e);const s=!o&&ye(e);if(o||s){if(s&&!s.standalone)return!1;i=e}else{const c=e.ngModule;if(o=po(c),!o)return!1;i=c}const u=r.has(i);if(s){if(u)return!1;if(r.add(i),s.dependencies){const c="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const d of c)vf(d,n,t,r)}}else{if(!o)return!1;{if(null!=o.imports&&!u){let d;r.add(i);try{Ea(o.imports,f=>{vf(f,n,t,r)&&(d||=[],d.push(f))})}finally{}void 0!==d&&bw(d,n)}if(!u){const d=vn(i)||(()=>new i);n({provide:i,useFactory:d,deps:ke},i),n({provide:Eg,useValue:i,multi:!0},i),n({provide:fi,useValue:()=>l(i),multi:!0},i)}const c=o.providers;if(null!=c&&!u){const d=e;Mg(c,f=>{n(f,d)})}}}return i!==e&&void 0!==e.providers}function Mg(e,n){for(let t of e)Ic(t)&&(t=t.\u0275providers),Array.isArray(t)?Mg(t,n):n(t)}const ik=Be({provide:String,useValue:Be});function Ig(e){return null!==e&&"object"==typeof e&&ik in e}function us(e){return"function"==typeof e}const Pg=new $(""),_f={},sk={};let Ag;function bf(){return void 0===Ag&&(Ag=new mf),Ag}class cr{}class Ta extends cr{get destroyed(){return this._destroyed}constructor(n,t,r,i){super(),this.parent=t,this.source=r,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,xg(n,s=>this.processProvider(s)),this.records.set(lw,Ma(void 0,this)),i.has("environment")&&this.records.set(cr,Ma(void 0,this));const o=this.records.get(Pg);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Eg,ke,ve.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const n=ie(null);try{for(const r of this._ngOnDestroyHooks)r.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const r of t)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),ie(n)}}onDestroy(n){return this.assertNotDestroyed(),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){this.assertNotDestroyed();const t=Ae(this),r=Jt(void 0);try{return n()}finally{Ae(t),Jt(r)}}get(n,t=os,r=ve.Default){if(this.assertNotDestroyed(),n.hasOwnProperty(Pc))return n[Pc](this);r=v(r);const o=Ae(this),s=Jt(void 0);try{if(!(r&ve.SkipSelf)){let c=this.records.get(n);if(void 0===c){const d=function dk(e){return"function"==typeof e||"object"==typeof e&&e instanceof $}(n)&&ma(n);c=d&&this.injectableDefInScope(d)?Ma(kg(n),_f):null,this.records.set(n,c)}if(null!=c)return this.hydrate(n,c)}return(r&ve.Self?bf():this.parent).get(n,t=r&ve.Optional&&t===os?null:t)}catch(u){if("NullInjectorError"===u.name){if((u[Ca]=u[Ca]||[]).unshift(wt(n)),o)throw u;return function V(e,n,t,r){const i=e[Ca];throw n[Li]&&i.unshift(n[Li]),e.message=function O(e,n,t,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let i=wt(n);if(Array.isArray(n))i=n.map(wt).join(" -> ");else if("object"==typeof n){let o=[];for(let s in n)if(n.hasOwnProperty(s)){let u=n[s];o.push(s+":"+("string"==typeof u?JSON.stringify(u):wt(u)))}i=`{${o.join(", ")}}`}return`${t}${r?"("+r+")":""}[${i}]: ${e.replace(bg,"\n ")}`}("\n"+e.message,i,t,r),e.ngTokenPath=i,e[Ca]=null,e}(u,n,"R3InjectorError",this.source)}throw u}finally{Jt(s),Ae(o)}}resolveInjectorInitializers(){const n=ie(null),t=Ae(this),r=Jt(void 0);try{const o=this.get(fi,ke,ve.Self);for(const s of o)s()}finally{Ae(t),Jt(r),ie(n)}}toString(){const n=[],t=this.records;for(const r of t.keys())n.push(wt(r));return`R3Injector[${n.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new k(205,!1)}processProvider(n){let t=us(n=ae(n))?n:ae(n&&n.provide);const r=function uk(e){return Ig(e)?Ma(void 0,e.useValue):Ma(Ew(e),_f)}(n);if(!us(n)&&!0===n.multi){let i=this.records.get(t);i||(i=Ma(void 0,_f,!0),i.factory=()=>b(i.multi),this.records.set(t,i)),t=n,i.multi.push(n)}this.records.set(t,r)}hydrate(n,t){const r=ie(null);try{return t.value===_f&&(t.value=sk,t.value=t.factory()),"object"==typeof t.value&&t.value&&function lk(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}finally{ie(r)}}injectableDefInScope(n){if(!n.providedIn)return!1;const t=ae(n.providedIn);return"string"==typeof t?"any"===t||this.scopes.has(t):this.injectorDefTypes.has(t)}removeOnDestroy(n){const t=this._onDestroyHooks.indexOf(n);-1!==t&&this._onDestroyHooks.splice(t,1)}}function kg(e){const n=ma(e),t=null!==n?n.factory:vn(e);if(null!==t)return t;if(e instanceof $)throw new k(204,!1);if(e instanceof Function)return function ak(e){if(e.length>0)throw new k(204,!1);const t=function af(e){return e&&(e[ga]||e[Sc])||null}(e);return null!==t?()=>t.factory(e):()=>new e}(e);throw new k(204,!1)}function Ew(e,n,t){let r;if(us(e)){const i=ae(e);return vn(i)||kg(i)}if(Ig(e))r=()=>ae(e.useValue);else if(function Cw(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...b(e.deps||[]));else if(function ww(e){return!(!e||!e.useExisting)}(e))r=()=>l(ae(e.useExisting));else{const i=ae(e&&(e.useClass||e.provide));if(!function ck(e){return!!e.deps}(e))return vn(i)||kg(i);r=()=>new i(...b(e.deps))}return r}function Ma(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function xg(e,n){for(const t of e)Array.isArray(t)?xg(t,n):t&&Ic(t)?xg(t.\u0275providers,n):n(t)}function Dw(){return void 0!==rs()||null!=function ff(){return ur}()}function zt(e){const n=Ze.ng;if(n&&n.\u0275compilerFacade)return n.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}const Sw={\u0275\u0275defineInjectable:q,\u0275\u0275defineInjector:Ct,\u0275\u0275inject:l,\u0275\u0275invalidFactoryDep:function h(e){throw new k(202,!1)},resolveForwardRef:ae},mk=Function;function Nc(e){return"function"==typeof e}const gk=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*(arguments|(?:[^()]+\(\[\],)?[^()]+\(arguments\).*)\)/,yk=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,vk=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,_k=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{[^}]*super\(\.\.\.arguments\)/;class wk{constructor(n){this._reflect=n||Ze.Reflect}factory(n){return(...t)=>new n(...t)}_zipTypesAndAnnotations(n,t){let r;r=pf(typeof n>"u"?t.length:n.length);for(let i=0;i<r.length;i++)r[i]=typeof n>"u"?[]:n[i]&&n[i]!=Object?[n[i]]:[],t&&null!=t[i]&&(r[i]=r[i].concat(t[i]));return r}_ownParameters(n,t){if(function bk(e){return gk.test(e)||_k.test(e)||yk.test(e)&&!vk.test(e)}(n.toString()))return null;if(n.parameters&&n.parameters!==t.parameters)return n.parameters;const i=n.ctorParameters;if(i&&i!==t.ctorParameters){const u="function"==typeof i?i():i,c=u.map(f=>f&&f.type),d=u.map(f=>f&&Og(f.decorators));return this._zipTypesAndAnnotations(c,d)}const o=n.hasOwnProperty(Nr)&&n[Nr],s=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",n);return s||o?this._zipTypesAndAnnotations(s,o):pf(n.length)}parameters(n){if(!Nc(n))return[];const t=wf(n);let r=this._ownParameters(n,t);return!r&&t!==Object&&(r=this.parameters(t)),r||[]}_ownAnnotations(n,t){if(n.annotations&&n.annotations!==t.annotations){let r=n.annotations;return"function"==typeof r&&r.annotations&&(r=r.annotations),r}return n.decorators&&n.decorators!==t.decorators?Og(n.decorators):n.hasOwnProperty(fo)?n[fo]:null}annotations(n){if(!Nc(n))return[];const t=wf(n),r=this._ownAnnotations(n,t)||[];return(t!==Object?this.annotations(t):[]).concat(r)}_ownPropMetadata(n,t){if(n.propMetadata&&n.propMetadata!==t.propMetadata){let r=n.propMetadata;return"function"==typeof r&&r.propMetadata&&(r=r.propMetadata),r}if(n.propDecorators&&n.propDecorators!==t.propDecorators){const r=n.propDecorators,i={};return Object.keys(r).forEach(o=>{i[o]=Og(r[o])}),i}return n.hasOwnProperty(On)?n[On]:null}propMetadata(n){if(!Nc(n))return{};const t=wf(n),r={};if(t!==Object){const o=this.propMetadata(t);Object.keys(o).forEach(s=>{r[s]=o[s]})}const i=this._ownPropMetadata(n,t);return i&&Object.keys(i).forEach(o=>{const s=[];r.hasOwnProperty(o)&&s.push(...r[o]),s.push(...i[o]),r[o]=s}),r}ownPropMetadata(n){return Nc(n)&&this._ownPropMetadata(n,wf(n))||{}}hasLifecycleHook(n,t){return n instanceof mk&&t in n.prototype}}function Og(e){return e?e.map(n=>new(0,n.type.annotationCls)(...n.args?n.args:[])):[]}function wf(e){const n=e.prototype?Object.getPrototypeOf(e.prototype):null;return(n?n.constructor:null)||Object}const pt=0,B=1,oe=2,Ot=3,Lr=4,tn=5,_n=6,Pa=7,et=8,Rt=9,hi=10,le=11,Oc=12,Tw=13,Aa=14,mt=15,cs=16,ka=17,Vi=18,xa=19,Mw=20,yo=21,Cf=22,lr=23,J=25,Rg=1,pi=7,Na=9,Tt=10;var Df=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(Df||{});function Wt(e){return Array.isArray(e)&&"object"==typeof e[Rg]}function dn(e){return Array.isArray(e)&&!0===e[Rg]}function Fg(e){return!!(4&e.flags)}function ls(e){return e.componentOffset>-1}function Sf(e){return!(1&~e.flags)}function Vr(e){return!!e.template}function Fc(e){return!!(512&e[oe])}class xw{constructor(n,t,r){this.previousValue=n,this.currentValue=t,this.firstChange=r}isFirstChange(){return this.firstChange}}function Nw(e,n,t,r){null!==n?n.applyValueToInputSignal(n,r):e[t]=r}function jr(){return Ow}function Ow(e){return e.type.prototype.ngOnChanges&&(e.setInput=Sk),Dk}function Dk(){const e=Fw(this),n=e?.current;if(n){const t=e.previous;if(t===di)e.previous=n;else for(let r in n)t[r]=n[r];e.current=null,this.ngOnChanges(n)}}function Sk(e,n,t,r,i){const o=this.declaredInputs[r],s=Fw(e)||function Tk(e,n){return e[Rw]=n}(e,{previous:di,current:null}),u=s.current||(s.current={}),c=s.previous,d=c[o];u[o]=new xw(d&&d.currentValue,t,c===di),Nw(e,n,i,t)}jr.ngInherit=!0;const Rw="__ngSimpleChanges__";function Fw(e){return e[Rw]||null}const mi=function(e,n,t){};function xe(e){for(;Array.isArray(e);)e=e[pt];return e}function Lc(e,n){return xe(n[e])}function bn(e,n){return xe(n[e.index])}function Vc(e,n){return e.data[n]}function ds(e,n){return e[n]}function Wn(e,n){const t=n[e];return Wt(t)?t:t[pt]}function Hg(e){return!(128&~e[oe])}function dr(e,n){return null==n?null:e[n]}function jw(e){e[ka]=0}function Bw(e){1024&e[oe]||(e[oe]|=1024,Hg(e)&&Mf(e))}function Tf(e){return!!(9216&e[oe]||e[lr]?.dirty)}function Gg(e){e[hi].changeDetectionScheduler?.notify(8),64&e[oe]&&(e[oe]|=1024),Tf(e)&&Mf(e)}function Mf(e){e[hi].changeDetectionScheduler?.notify(0);let n=ji(e);for(;null!==n&&!(8192&n[oe])&&(n[oe]|=8192,Hg(n));)n=ji(n)}function If(e,n){if(!(256&~e[oe]))throw new k(911,!1);null===e[yo]&&(e[yo]=[]),e[yo].push(n)}function ji(e){const n=e[Ot];return dn(n)?n[Ot]:n}const de={lFrame:Jw(null),bindingsEnabled:!0,skipHydrationRootTNode:null};let Gw=!1;function Uw(){return de.bindingsEnabled}function fs(){return null!==de.skipHydrationRootTNode}function x(){return de.lFrame.lView}function ge(){return de.lFrame.tView}function Ne(e){return de.lFrame.contextLView=e,e[et]}function Oe(e){return de.lFrame.contextLView=null,e}function qe(){let e=$w();for(;null!==e&&64===e.type;)e=e.parent;return e}function $w(){return de.lFrame.currentTNode}function Br(e,n){const t=de.lFrame;t.currentTNode=e,t.isParent=n}function zg(){return de.lFrame.isParent}function Wg(){de.lFrame.isParent=!1}function zw(){return de.lFrame.contextLView}function qw(){return Gw}function Zw(e){Gw=e}function wn(){const e=de.lFrame;let n=e.bindingRootIndex;return-1===n&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function Hr(){return de.lFrame.bindingIndex++}function Hi(e){const n=de.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function Bk(e,n){const t=de.lFrame;t.bindingIndex=t.bindingRootIndex=e,qg(n)}function qg(e){de.lFrame.currentDirectiveIndex=e}function Zg(e){const n=de.lFrame.currentDirectiveIndex;return-1===n?null:e[n]}function Af(e){de.lFrame.currentQueryIndex=e}function Gk(e){const n=e[B];return 2===n.type?n.declTNode:1===n.type?e[tn]:null}function Xw(e,n,t){if(t&ve.SkipSelf){let i=n,o=e;for(;!(i=i.parent,null!==i||t&ve.Host||(i=Gk(o),null===i||(o=o[Aa],10&i.type))););if(null===i)return!1;n=i,e=o}const r=de.lFrame=Qw();return r.currentTNode=n,r.lView=e,!0}function Kg(e){const n=Qw(),t=e[B];de.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function Qw(){const e=de.lFrame,n=null===e?null:e.child;return null===n?Jw(e):n}function Jw(e){const n={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=n),n}function eC(){const e=de.lFrame;return de.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const tC=eC;function Xg(){const e=eC();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function nn(){return de.lFrame.selectedIndex}function hs(e){de.lFrame.selectedIndex=e}function tt(){const e=de.lFrame;return Vc(e.tView,e.selectedIndex)}let rC=!0;function Bc(){return rC}function gi(e){rC=e}function kf(e,n){for(let t=n.directiveStart,r=n.directiveEnd;t<r;t++){const o=e.data[t].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:u,ngAfterViewInit:c,ngAfterViewChecked:d,ngOnDestroy:f}=o;s&&(e.contentHooks??=[]).push(-t,s),u&&((e.contentHooks??=[]).push(t,u),(e.contentCheckHooks??=[]).push(t,u)),c&&(e.viewHooks??=[]).push(-t,c),d&&((e.viewHooks??=[]).push(t,d),(e.viewCheckHooks??=[]).push(t,d)),null!=f&&(e.destroyHooks??=[]).push(t,f)}}function xf(e,n,t){iC(e,n,3,t)}function Nf(e,n,t,r){(3&e[oe])===t&&iC(e,n,t,r)}function Qg(e,n){let t=e[oe];(3&t)===n&&(t&=16383,t+=1,e[oe]=t)}function iC(e,n,t,r){const o=r??-1,s=n.length-1;let u=0;for(let c=void 0!==r?65535&e[ka]:0;c<s;c++)if("number"==typeof n[c+1]){if(u=n[c],null!=r&&u>=r)break}else n[c]<0&&(e[ka]+=65536),(u<o||-1==o)&&(Yk(e,t,n,c),e[ka]=(4294901760&e[ka])+c+2),c++}function oC(e,n){mi(4,e,n);const t=ie(null);try{n.call(e)}finally{ie(t),mi(5,e,n)}}function Yk(e,n,t,r){const i=t[r]<0,o=t[r+1],u=e[i?-t[r]:t[r]];i?e[oe]>>14<e[ka]>>16&&(3&e[oe])===n&&(e[oe]+=16384,oC(u,o)):oC(u,o)}const Oa=-1;class Hc{constructor(n,t,r){this.factory=n,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=r}}const e0={};class ps{constructor(n,t){this.injector=n,this.parentInjector=t}get(n,t,r){r=v(r);const i=this.injector.get(n,e0,r);return i!==e0||t===e0?i:this.parentInjector.get(n,t,r)}}function t0(e){return e!==Oa}function Gc(e){return 32767&e}function Uc(e,n){let t=function Jk(e){return e>>16}(e),r=n;for(;t>0;)r=r[Aa],t--;return r}let n0=!0;function Of(e){const n=n0;return n0=e,n}const aC=255,uC=5;let tx=0;const yi={};function Rf(e,n){const t=cC(e,n);if(-1!==t)return t;const r=n[B];r.firstCreatePass&&(e.injectorIndex=n.length,r0(r.data,e),r0(n,null),r0(r.blueprint,null));const i=Ff(e,n),o=e.injectorIndex;if(t0(i)){const s=Gc(i),u=Uc(i,n),c=u[B].data;for(let d=0;d<8;d++)n[o+d]=u[s+d]|c[s+d]}return n[o+8]=i,o}function r0(e,n){e.push(0,0,0,0,0,0,0,0,n)}function cC(e,n){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===n[e.injectorIndex+8]?-1:e.injectorIndex}function Ff(e,n){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let t=0,r=null,i=n;for(;null!==i;){if(r=gC(i),null===r)return Oa;if(t++,i=i[Aa],-1!==r.injectorIndex)return r.injectorIndex|t<<16}return Oa}function o0(e,n,t){!function nx(e,n,t){let r;"string"==typeof t?r=t.charCodeAt(0)||0:t.hasOwnProperty(mo)&&(r=t[mo]),null==r&&(r=t[mo]=tx++);const i=r&aC;n.data[e+(i>>uC)]|=1<<i}(e,n,t)}function lC(e,n,t){if(t&ve.Optional||void 0!==e)return e;ba()}function dC(e,n,t,r){if(t&ve.Optional&&void 0===r&&(r=null),!(t&(ve.Self|ve.Host))){const i=e[Rt],o=Jt(void 0);try{return i?i.get(n,r,t&ve.Optional):kc(n,r,t&ve.Optional)}finally{Jt(o)}}return lC(r,0,t)}function fC(e,n,t,r=ve.Default,i){if(null!==e){if(2048&n[oe]&&!(r&ve.Self)){const s=function ax(e,n,t,r,i){let o=e,s=n;for(;null!==o&&null!==s&&2048&s[oe]&&!(512&s[oe]);){const u=hC(o,s,t,r|ve.Self,yi);if(u!==yi)return u;let c=o.parent;if(!c){const d=s[Mw];if(d){const f=d.get(t,yi,r);if(f!==yi)return f}c=gC(s),s=s[Aa]}o=c}return i}(e,n,t,r,yi);if(s!==yi)return s}const o=hC(e,n,t,r,yi);if(o!==yi)return o}return dC(n,t,r,i)}function hC(e,n,t,r,i){const o=function ox(e){if("string"==typeof e)return e.charCodeAt(0)||0;const n=e.hasOwnProperty(mo)?e[mo]:void 0;return"number"==typeof n?n>=0?n&aC:sx:n}(t);if("function"==typeof o){if(!Xw(n,e,r))return r&ve.Host?lC(i,0,r):dC(n,t,r,i);try{let s;if(s=o(r),null!=s||r&ve.Optional)return s;ba()}finally{tC()}}else if("number"==typeof o){let s=null,u=cC(e,n),c=Oa,d=r&ve.Host?n[mt][tn]:null;for((-1===u||r&ve.SkipSelf)&&(c=-1===u?Ff(e,n):n[u+8],c!==Oa&&mC(r,!1)?(s=n[B],u=Gc(c),n=Uc(c,n)):u=-1);-1!==u;){const f=n[B];if(pC(o,u,f.data)){const m=ix(u,n,t,s,r,d);if(m!==yi)return m}c=n[u+8],c!==Oa&&mC(r,n[B].data[u+8]===d)&&pC(o,u,n)?(s=f,u=Gc(c),n=Uc(c,n)):u=-1}}return i}function ix(e,n,t,r,i,o){const s=n[B],u=s.data[e+8],f=function Lf(e,n,t,r,i){const o=e.providerIndexes,s=n.data,u=1048575&o,c=e.directiveStart,f=o>>20,g=i?u+f:e.directiveEnd;for(let y=r?u:u+f;y<g;y++){const _=s[y];if(y<c&&t===_||y>=c&&_.type===t)return y}if(i){const y=s[c];if(y&&Vr(y)&&y.type===t)return c}return null}(u,s,t,null==r?ls(u)&&n0:r!=s&&!!(3&u.type),i&ve.Host&&o===u);return null!==f?ms(n,s,f,u):yi}function ms(e,n,t,r){let i=e[t];const o=n.data;if(function Kk(e){return e instanceof Hc}(i)){const s=i;s.resolving&&function Ht(e,n){throw n&&n.join(" > "),new k(-200,e)}(function Ee(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():W(e)}(o[t]));const u=Of(s.canSeeViewProviders);s.resolving=!0;const d=s.injectImpl?Jt(s.injectImpl):null;Xw(e,r,ve.Default);try{i=e[t]=s.factory(void 0,o,e,r),n.firstCreatePass&&t>=r.directiveStart&&function Zk(e,n,t){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=n.type.prototype;if(r){const s=Ow(n);(t.preOrderHooks??=[]).push(e,s),(t.preOrderCheckHooks??=[]).push(e,s)}i&&(t.preOrderHooks??=[]).push(0-e,i),o&&((t.preOrderHooks??=[]).push(e,o),(t.preOrderCheckHooks??=[]).push(e,o))}(t,o[t],n)}finally{null!==d&&Jt(d),Of(u),s.resolving=!1,tC()}}return i}function pC(e,n,t){return!!(t[n+(e>>uC)]&1<<e)}function mC(e,n){return!(e&ve.Self||e&ve.Host&&n)}class qt{constructor(n,t){this._tNode=n,this._lView=t}get(n,t,r){return fC(this._tNode,this._lView,n,v(r),t)}}function sx(){return new qt(qe(),x())}function rn(e){return xr(()=>{const n=e.prototype.constructor,t=n[yn]||s0(n),r=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){const o=i[yn]||s0(i);if(o&&o!==t)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function s0(e){return ho(e)?()=>{const n=s0(ae(e));return n&&n()}:vn(e)}function gC(e){const n=e[B],t=n.type;return 2===t?n.declTNode:1===t?e[tn]:null}const ux=ui("Attribute",e=>({attributeName:e,__NG_ELEMENT_ID__:()=>function Vf(e){return function rx(e,n){if("class"===n)return e.classes;if("style"===n)return e.styles;const t=e.attrs;if(t){const r=t.length;let i=0;for(;i<r;){const o=t[i];if(dw(o))break;if(0===o)i+=2;else if("number"==typeof o)for(i++;i<r&&"string"==typeof t[i];)i++;else{if(o===n)return t[i+1];i+=2}}}return null}(qe(),e)}(e)}));let yC=null;function jf(e){return vC(function a0(){return yC=yC||new wk}().parameters(e))}function vC(e){return e.map(n=>function cx(e){const n={token:null,attribute:null,host:!1,optional:!1,self:!1,skipSelf:!1};if(Array.isArray(e)&&e.length>0)for(let t=0;t<e.length;t++){const r=e[t];if(void 0===r)continue;const i=Object.getPrototypeOf(r);if(r instanceof We||"Optional"===i.ngMetadataName)n.optional=!0;else if(r instanceof Gt||"SkipSelf"===i.ngMetadataName)n.skipSelf=!0;else if(r instanceof ht||"Self"===i.ngMetadataName)n.self=!0;else if(r instanceof ss||"Host"===i.ngMetadataName)n.host=!0;else if(r instanceof K)n.token=r.token;else if(r instanceof ux){if(void 0===r.attributeName)throw new k(204,!1);n.attribute=r.attributeName}else n.token=r}else n.token=void 0===e||Array.isArray(e)&&0===e.length?null:e;return n}(n))}const dx=Be({provide:String,useValue:Be});function _C(e){return void 0!==e.useClass}function bC(e){return void 0!==e.useFactory}const mx=fa("Injectable",void 0,void 0,void 0,(e,n)=>function lx(e,n){let t=null,r=null;e.hasOwnProperty(ga)||Object.defineProperty(e,ga,{get:()=>(null===t&&(t=zt().compileInjectable(Sw,`ng:///${e.name}/\u0275prov.js`,function px(e,n){const t=n||{providedIn:null},r={name:e.name,type:e,typeArgumentCount:0,providedIn:t.providedIn};return(_C(t)||bC(t))&&void 0!==t.deps&&(r.deps=vC(t.deps)),_C(t)?r.useClass=t.useClass:function fx(e){return dx in e}(t)?r.useValue=t.useValue:bC(t)?r.useFactory=t.useFactory:function hx(e){return void 0!==e.useExisting}(t)&&(r.useExisting=t.useExisting),r}(e,n))),t)}),e.hasOwnProperty(yn)||Object.defineProperty(e,yn,{get:()=>{if(null===r){const i=zt();r=i.compileFactory(Sw,`ng:///${e.name}/\u0275fac.js`,{name:e.name,type:e,typeArgumentCount:0,deps:jf(e),target:i.FactoryTarget.Injectable})}return r},configurable:!0})}(e,n));function wC(e,n=null,t=null,r){const i=CC(e,n,t,r);return i.resolveInjectorInitializers(),i}function CC(e,n=null,t=null,r,i=new Set){const o=[t||ke,rk(e)];return r=r||("object"==typeof e?void 0:wt(e)),new Ta(o,n||bf(),r||null,i)}class Ke{static#e=this.THROW_IF_NOT_FOUND=os;static#t=this.NULL=new mf;static create(n,t){if(Array.isArray(n))return wC({name:""},t,n,"");{const r=n.name??"";return wC({name:r},n.parent,n.providers,r)}}static#n=this.\u0275prov=q({token:Ke,providedIn:"any",factory:()=>l(lw)});static#r=this.__NG_ELEMENT_ID__=-1}new $("").__NG_ELEMENT_ID__=e=>{const n=qe();if(null===n)throw new k(204,!1);if(2&n.type)return n.value;if(e&ve.Optional)return null;throw new k(204,!1)};function u0(e){return e.ngOriginalError}const DC=!0;let $c=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=vx;static#t=this.__NG_ENV_ID__=t=>t}return e})();class yx extends $c{constructor(n){super(),this._lView=n}onDestroy(n){return If(this._lView,n),()=>function Ug(e,n){if(null===e[yo])return;const t=e[yo].indexOf(n);-1!==t&&e[yo].splice(t,1)}(this._lView,n)}}function vx(){return new yx(x())}let gs=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new ec(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const t=this.taskId++;return this.pendingTasks.add(t),t}remove(t){this.pendingTasks.delete(t),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static#e=this.\u0275prov=q({token:e,providedIn:"root",factory:()=>new e})}return e})();const ct=class _x extends bt{constructor(n=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=n,Dw()&&(this.destroyRef=p($c,{optional:!0})??void 0,this.pendingTasks=p(gs,{optional:!0})??void 0)}emit(n){const t=ie(null);try{super.next(n)}finally{ie(t)}}subscribe(n,t,r){let i=n,o=t||(()=>null),s=r;if(n&&"object"==typeof n){const c=n;i=c.next?.bind(c),o=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(o=this.wrapInTimeout(o),i&&(i=this.wrapInTimeout(i)),s&&(s=this.wrapInTimeout(s)));const u=super.subscribe({next:i,error:o,complete:s});return n instanceof cn&&n.add(u),u}wrapInTimeout(n){return t=>{const r=this.pendingTasks?.add();setTimeout(()=>{n(t),void 0!==r&&this.pendingTasks?.remove(r)})}}};function Bf(...e){}function SC(e){let n,t;function r(){e=Bf;try{void 0!==t&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(t),void 0!==n&&clearTimeout(n)}catch{}}return n=setTimeout(()=>{e(),r()}),"function"==typeof requestAnimationFrame&&(t=requestAnimationFrame(()=>{e(),r()})),()=>r()}function TC(e){return queueMicrotask(()=>e()),()=>{e=Bf}}const c0="isAngularZone",Hf=c0+"_ID";let bx=0;class Re{constructor(n){this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ct(!1),this.onMicrotaskEmpty=new ct(!1),this.onStable=new ct(!1),this.onError=new ct(!1);const{enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:i=!1,scheduleInRootZone:o=DC}=n;if(typeof Zone>"u")throw new k(908,!1);Zone.assertZonePatched();const s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!i&&r,s.shouldCoalesceRunChangeDetection=i,s.callbackScheduled=!1,s.scheduleInRootZone=o,function Ex(e){const n=()=>{!function Cx(e){function n(){SC(()=>{e.callbackScheduled=!1,d0(e),e.isCheckStableRunning=!0,l0(e),e.isCheckStableRunning=!1})}e.isCheckStableRunning||e.callbackScheduled||(e.callbackScheduled=!0,e.scheduleInRootZone?Zone.root.run(()=>{n()}):e._outer.run(()=>{n()}),d0(e))}(e)},t=bx++;e._inner=e._inner.fork({name:"angular",properties:{[c0]:!0,[Hf]:t,[Hf+t]:!0},onInvokeTask:(r,i,o,s,u,c)=>{if(function Dx(e){return PC(e,"__ignore_ng_zone__")}(c))return r.invokeTask(o,s,u,c);try{return MC(e),r.invokeTask(o,s,u,c)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||e.shouldCoalesceRunChangeDetection)&&n(),IC(e)}},onInvoke:(r,i,o,s,u,c,d)=>{try{return MC(e),r.invoke(o,s,u,c,d)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!function Sx(e){return PC(e,"__scheduler_tick__")}(c)&&n(),IC(e)}},onHasTask:(r,i,o,s)=>{r.hasTask(o,s),i===o&&("microTask"==s.change?(e._hasPendingMicrotasks=s.microTask,d0(e),l0(e)):"macroTask"==s.change&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,i,o,s)=>(r.handleError(o,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}(s)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get(c0)}static assertInAngularZone(){if(!Re.isInAngularZone())throw new k(909,!1)}static assertNotInAngularZone(){if(Re.isInAngularZone())throw new k(909,!1)}run(n,t,r){return this._inner.run(n,t,r)}runTask(n,t,r,i){const o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+i,n,wx,Bf,Bf);try{return o.runTask(s,t,r)}finally{o.cancelTask(s)}}runGuarded(n,t,r){return this._inner.runGuarded(n,t,r)}runOutsideAngular(n){return this._outer.run(n)}}const wx={};function l0(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function d0(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&!0===e.callbackScheduled)}function MC(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function IC(e){e._nesting--,l0(e)}class f0{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ct,this.onMicrotaskEmpty=new ct,this.onStable=new ct,this.onError=new ct}run(n,t,r){return n.apply(t,r)}runGuarded(n,t,r){return n.apply(t,r)}runOutsideAngular(n){return n()}runTask(n,t,r,i){return n.apply(t,r)}}function PC(e,n){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0]?.data?.[n]}class vi{constructor(){this._console=console}handleError(n){const t=this._findOriginalError(n);this._console.error("ERROR",n),t&&this._console.error("ORIGINAL ERROR",t)}_findOriginalError(n){let t=n&&u0(n);for(;t&&u0(t);)t=u0(t);return t||null}}const Mx=new $("",{providedIn:"root",factory:()=>{const e=p(Re),n=p(vi);return t=>e.runOutsideAngular(()=>n.handleError(t))}});function Ix(){return La(qe(),x())}function La(e,n){return new Ln(bn(e,n))}let Ln=(()=>{class e{constructor(t){this.nativeElement=t}static#e=this.__NG_ELEMENT_ID__=Ix}return e})();function Wc(e){return!(128&~e.flags)}Symbol;const m0=new Map;let kx=0;function g0(e){m0.delete(e[xa])}const Gf="__ngContext__";function fn(e,n){Wt(n)?(e[Gf]=n[xa],function Nx(e){m0.set(e[xa],e)}(n)):e[Gf]=n}function HC(e){return UC(e[Oc])}function GC(e){return UC(e[Lr])}function UC(e){for(;null!==e&&!dn(e);)e=e[Lr];return e}let v0;function vo(){if(void 0!==v0)return v0;if(typeof document<"u")return document;throw new k(210,!1)}const ja=new $("",{providedIn:"root",factory:()=>Kx}),Kx="ng",XC=new $(""),Gi=new $("",{providedIn:"platform",factory:()=>"unknown"}),QC=new $(""),JC=new $("",{providedIn:"root",factory:()=>vo().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let e1=()=>null;function S0(e,n,t=!1){return e1(e,n,t)}const u1=new $("",{providedIn:"root",factory:()=>!1});let Xf,Qf;function Ga(e){return function A0(){if(void 0===Xf&&(Xf=null,Ze.trustedTypes))try{Xf=Ze.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Xf}()?.createHTML(e)||e}function d1(e){return function k0(){if(void 0===Qf&&(Qf=null,Ze.trustedTypes))try{Qf=Ze.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Qf}()?.createHTML(e)||e}class vs{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Jd})`}}class lN extends vs{getTypeName(){return"HTML"}}class dN extends vs{getTypeName(){return"Style"}}class fN extends vs{getTypeName(){return"Script"}}class hN extends vs{getTypeName(){return"URL"}}class pN extends vs{getTypeName(){return"ResourceURL"}}function qn(e){return e instanceof vs?e.changingThisBreaksApplicationSecurity:e}function _i(e,n){const t=function mN(e){return e instanceof vs&&e.getTypeName()||null}(e);if(null!=t&&t!==n){if("ResourceURL"===t&&"URL"===n)return!0;throw new Error(`Required a safe ${n}, got a ${t} (see ${Jd})`)}return t===n}class wN{constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n="<body><remove></remove>"+n;try{const t=(new window.DOMParser).parseFromString(Ga(n),"text/html").body;return null===t?this.inertDocumentHelper.getInertBodyElement(n):(t.firstChild?.remove(),t)}catch{return null}}}class CN{constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){const t=this.inertDocument.createElement("template");return t.innerHTML=Ga(n),t}}const DN=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Jf(e){return(e=String(e)).match(DN)?e:"unsafe:"+e}function Ui(e){const n={};for(const t of e.split(","))n[t]=!0;return n}function Jc(...e){const n={};for(const t of e)for(const r in t)t.hasOwnProperty(r)&&(n[r]=!0);return n}const m1=Ui("area,br,col,hr,img,wbr"),g1=Ui("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),y1=Ui("rp,rt"),x0=Jc(m1,Jc(g1,Ui("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Jc(y1,Ui("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Jc(y1,g1)),N0=Ui("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),v1=Jc(N0,Ui("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Ui("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),SN=Ui("script,style,template");class TN{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(n){let t=n.firstChild,r=!0,i=[];for(;t;)if(t.nodeType===Node.ELEMENT_NODE?r=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,r&&t.firstChild)i.push(t),t=PN(t);else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let o=IN(t);if(o){t=o;break}t=i.pop()}return this.buf.join("")}startElement(n){const t=_1(n).toLowerCase();if(!x0.hasOwnProperty(t))return this.sanitizedSomething=!0,!SN.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const r=n.attributes;for(let i=0;i<r.length;i++){const o=r.item(i),s=o.name,u=s.toLowerCase();if(!v1.hasOwnProperty(u)){this.sanitizedSomething=!0;continue}let c=o.value;N0[u]&&(c=Jf(c)),this.buf.push(" ",s,'="',w1(c),'"')}return this.buf.push(">"),!0}endElement(n){const t=_1(n).toLowerCase();x0.hasOwnProperty(t)&&!m1.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(n){this.buf.push(w1(n))}}function IN(e){const n=e.nextSibling;if(n&&e!==n.previousSibling)throw b1(n);return n}function PN(e){const n=e.firstChild;if(n&&function MN(e,n){return(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(e,n))throw b1(n);return n}function _1(e){const n=e.nodeName;return"string"==typeof n?n:"FORM"}function b1(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}const AN=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,kN=/([^\#-~ |!])/g;function w1(e){return e.replace(/&/g,"&amp;").replace(AN,function(n){return"&#"+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+";"}).replace(kN,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let eh;function C1(e,n){let t=null;try{eh=eh||function p1(e){const n=new CN(e);return function EN(){try{return!!(new window.DOMParser).parseFromString(Ga(""),"text/html")}catch{return!1}}()?new wN(n):n}(e);let r=n?String(n):"";t=eh.getInertBodyElement(r);let i=5,o=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=o,o=t.innerHTML,t=eh.getInertBodyElement(r)}while(r!==o);return Ga((new TN).sanitizeChildren(O0(t)||t))}finally{if(t){const r=O0(t)||t;for(;r.firstChild;)r.firstChild.remove()}}}function O0(e){return"content"in e&&function xN(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Zn=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(Zn||{});function _o(e){const n=tl();return n?d1(n.sanitize(Zn.HTML,e)||""):_i(e,"HTML")?d1(qn(e)):C1(vo(),W(e))}function el(e){const n=tl();return n?n.sanitize(Zn.URL,e)||"":_i(e,"URL")?qn(e):Jf(W(e))}function tl(){const e=x();return e&&e[hi].sanitizer}const jN=/^>|^->|<!--|-->|--!>|<!-$/g,BN=/(<|>)/g,HN="\u200b$1\u200b";function I1(e){return e.ownerDocument}var bo=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(bo||{});let L0;function V0(e,n){return L0(e,n)}function $a(e,n,t,r,i){if(null!=r){let o,s=!1;dn(r)?o=r:Wt(r)&&(s=!0,r=r[pt]);const u=xe(r);0===e&&null!==t?null==i?L1(n,t,u):_s(n,t,u,i||null,!0):1===e&&null!==t?_s(n,t,u,i||null,!0):2===e?function rl(e,n,t){e.removeChild(null,n,t)}(n,u,s):3===e&&n.destroyNode(u),null!=o&&function s2(e,n,t,r,i){const o=t[pi];o!==xe(t)&&$a(n,e,r,o,i);for(let u=Tt;u<t.length;u++){const c=t[u];sh(c[B],c,e,n,r,o)}}(n,e,o,t,i)}}function B0(e,n){return e.createComment(function D1(e){return e.replace(jN,n=>n.replace(BN,HN))}(n))}function rh(e,n,t){return e.createElement(n,t)}function O1(e,n){n[hi].changeDetectionScheduler?.notify(9),sh(e,n,n[le],2,null,null)}function R1(e,n){const t=e[Na],r=n[Ot];(Wt(r)||n[mt]!==r[Ot][mt])&&(e[oe]|=Df.HasTransplantedViews),null===t?e[Na]=[n]:t.push(n)}function H0(e,n){const t=e[Na],r=t.indexOf(n);t.splice(r,1)}function nl(e,n){if(e.length<=Tt)return;const t=Tt+n,r=e[t];if(r){const i=r[cs];null!==i&&i!==e&&H0(i,r),n>0&&(e[t-1][Lr]=r[Lr]);const o=hf(e,Tt+n);!function QN(e,n){O1(e,n),n[pt]=null,n[tn]=null}(r[B],r);const s=o[Vi];null!==s&&s.detachView(o[B]),r[Ot]=null,r[Lr]=null,r[oe]&=-129}return r}function ih(e,n){if(!(256&n[oe])){const t=n[le];t.destroyNode&&sh(e,n,t,3,null,null),function e2(e){let n=e[Oc];if(!n)return G0(e[B],e);for(;n;){let t=null;if(Wt(n))t=n[Oc];else{const r=n[Tt];r&&(t=r)}if(!t){for(;n&&!n[Lr]&&n!==e;)Wt(n)&&G0(n[B],n),n=n[Ot];null===n&&(n=e),Wt(n)&&G0(n[B],n),t=n&&n[Lr]}n=t}}(n)}}function G0(e,n){if(256&n[oe])return;const t=ie(null);try{n[oe]&=-129,n[oe]|=256,n[lr]&&no(n[lr]),function r2(e,n){let t;if(null!=e&&null!=(t=e.destroyHooks))for(let r=0;r<t.length;r+=2){const i=n[t[r]];if(!(i instanceof Hc)){const o=t[r+1];if(Array.isArray(o))for(let s=0;s<o.length;s+=2){const u=i[o[s]],c=o[s+1];mi(4,u,c);try{c.call(u)}finally{mi(5,u,c)}}else{mi(4,i,o);try{o.call(i)}finally{mi(5,i,o)}}}}}(e,n),function n2(e,n){const t=e.cleanup,r=n[Pa];if(null!==t)for(let o=0;o<t.length-1;o+=2)if("string"==typeof t[o]){const s=t[o+3];s>=0?r[s]():r[-s].unsubscribe(),o+=2}else t[o].call(r[t[o+1]]);null!==r&&(n[Pa]=null);const i=n[yo];if(null!==i){n[yo]=null;for(let o=0;o<i.length;o++)(0,i[o])()}}(e,n),1===n[B].type&&n[le].destroy();const r=n[cs];if(null!==r&&dn(n[Ot])){r!==n[Ot]&&H0(r,n);const i=n[Vi];null!==i&&i.detachView(e)}g0(n)}finally{ie(t)}}function U0(e,n,t){return function F1(e,n,t){let r=n;for(;null!==r&&168&r.type;)r=(n=r).parent;if(null===r)return t[pt];{const{componentOffset:i}=r;if(i>-1){const{encapsulation:o}=e.data[r.directiveStart+i];if(o===Rr.None||o===Rr.Emulated)return null}return bn(r,t)}}(e,n.parent,t)}function _s(e,n,t,r,i){e.insertBefore(n,t,r,i)}function L1(e,n,t){e.appendChild(n,t)}function V1(e,n,t,r,i){null!==r?_s(e,n,t,r,i):L1(e,n,t)}function $0(e,n){return e.parentNode(n)}function j1(e,n,t){return H1(e,n,t)}let z0,H1=function B1(e,n,t){return 40&e.type?bn(e,t):null};function oh(e,n,t,r){const i=U0(e,r,n),o=n[le],u=j1(r.parent||n[tn],r,n);if(null!=i)if(Array.isArray(t))for(let c=0;c<t.length;c++)V1(o,i,t[c],u,!1);else V1(o,i,t,u,!1);void 0!==z0&&z0(o,r,n,t,i)}function bs(e,n){if(null!==n){const t=n.type;if(3&t)return bn(n,e);if(4&t)return W0(-1,e[n.index]);if(8&t){const r=n.child;if(null!==r)return bs(e,r);{const i=e[n.index];return dn(i)?W0(-1,i):xe(i)}}if(128&t)return bs(e,n.next);if(32&t)return V0(n,e)()||xe(e[n.index]);{const r=U1(e,n);return null!==r?Array.isArray(r)?r[0]:bs(ji(e[mt]),r):bs(e,n.next)}}return null}function U1(e,n){return null!==n?e[mt][tn].projection[n.projection]:null}function W0(e,n){const t=Tt+e+1;if(t<n.length){const r=n[t],i=r[B].firstChild;if(null!==i)return bs(r,i)}return n[pi]}function q0(e,n,t,r,i,o,s){for(;null!=t;){if(128===t.type){t=t.next;continue}const u=r[t.index],c=t.type;if(s&&0===n&&(u&&fn(xe(u),r),t.flags|=2),32&~t.flags)if(8&c)q0(e,n,t.child,r,i,o,!1),$a(n,e,i,u,o);else if(32&c){const d=V0(t,r);let f;for(;f=d();)$a(n,e,i,f,o);$a(n,e,i,u,o)}else 16&c?z1(e,n,r,t,i,o):$a(n,e,i,u,o);t=s?t.projectionNext:t.next}}function sh(e,n,t,r,i,o){q0(t,r,e.firstChild,n,i,o,!1)}function z1(e,n,t,r,i,o){const s=t[mt],c=s[tn].projection[r.projection];if(Array.isArray(c))for(let d=0;d<c.length;d++)$a(n,e,i,c[d],o);else{let d=c;const f=s[Ot];Wc(r)&&(d.flags|=128),q0(e,n,d,f,i,o,!0)}}function W1(e,n,t){""===t?e.removeAttribute(n,"class"):e.setAttribute(n,"class",t)}function q1(e,n,t){const{mergedAttrs:r,classes:i,styles:o}=t;null!==r&&Dg(e,n,r),null!==i&&W1(e,n,i),null!==o&&function u2(e,n,t){e.setAttribute(n,"style",t)}(e,n,o)}const pe={};function N(e=1){Z1(ge(),x(),nn()+e,!1)}function Z1(e,n,t,r){if(!r)if(3&~n[oe]){const o=e.preOrderHooks;null!==o&&Nf(n,o,0,t)}else{const o=e.preOrderCheckHooks;null!==o&&xf(n,o,t)}hs(t)}function P(e,n=ve.Default){const t=x();return null===t?l(e,n):fC(qe(),t,ae(e),n)}function Y1(e,n,t,r,i,o){const s=ie(null);try{let u=null;i&go.SignalBased&&(u=n[r][z]),null!==u&&void 0!==u.transformFn&&(o=u.transformFn(o)),i&go.HasDecoratorInputTransform&&(o=e.inputTransforms[r].call(n,o)),null!==e.setInput?e.setInput(n,u,o,t,r):Nw(n,u,r,o)}finally{ie(s)}}function ah(e,n,t,r,i,o,s,u,c,d,f){const m=n.blueprint.slice();return m[pt]=i,m[oe]=204|r,(null!==d||e&&2048&e[oe])&&(m[oe]|=2048),jw(m),m[Ot]=m[Aa]=e,m[et]=t,m[hi]=s||e&&e[hi],m[le]=u||e&&e[le],m[Rt]=c||e&&e[Rt]||null,m[tn]=o,m[xa]=function xx(){return kx++}(),m[_n]=f,m[Mw]=d,m[mt]=2==n.type?e[mt]:m,m}function ws(e,n,t,r,i){let o=e.data[n];if(null===o)o=function Z0(e,n,t,r,i){const o=$w(),s=zg(),c=e.data[n]=function y2(e,n,t,r,i,o){let s=n?n.injectorIndex:-1,u=0;return fs()&&(u|=128),{type:t,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:u,providerIndexes:0,value:i,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,s?o:o&&o.parent,t,n,r,i);return null===e.firstChild&&(e.firstChild=c),null!==o&&(s?null==o.child&&null!==c.parent&&(o.child=c):null===o.next&&(o.next=c,c.prev=o)),c}(e,n,t,r,i),function jk(){return de.lFrame.inI18n}()&&(o.flags|=32);else if(64&o.type){o.type=t,o.value=r,o.attrs=i;const s=function jc(){const e=de.lFrame,n=e.currentTNode;return e.isParent?n:n.parent}();o.injectorIndex=null===s?-1:s.injectorIndex}return Br(o,!0),o}function il(e,n,t,r){if(0===t)return-1;const i=n.length;for(let o=0;o<t;o++)n.push(r),e.blueprint.push(r),e.data.push(null);return i}function K1(e,n,t,r,i){const o=nn(),s=2&r;try{hs(-1),s&&n.length>J&&Z1(e,n,J,!1),mi(s?2:0,i),t(r,i)}finally{hs(o),mi(s?3:1,i)}}function Y0(e,n,t){if(Fg(n)){const r=ie(null);try{const o=n.directiveEnd;for(let s=n.directiveStart;s<o;s++){const u=e.data[s];u.contentQueries&&u.contentQueries(1,t[s],s)}}finally{ie(r)}}}function K0(e,n,t){Uw()&&(function D2(e,n,t,r){const i=t.directiveStart,o=t.directiveEnd;ls(t)&&function k2(e,n,t){const r=bn(n,e),i=X1(t);let s=16;t.signals?s=4096:t.onPush&&(s=64);const u=uh(e,ah(e,i,null,s,r,n,null,e[hi].rendererFactory.createRenderer(r,t),null,null,null));e[n.index]=u}(n,t,e.data[i+t.componentOffset]),e.firstCreatePass||Rf(t,n),fn(r,n);const s=t.initialInputs;for(let u=i;u<o;u++){const c=e.data[u],d=ms(n,e,u,t);fn(d,n),null!==s&&x2(0,u-i,d,c,0,s),Vr(c)&&(Wn(t.index,n)[et]=ms(n,e,u,t))}}(e,n,t,bn(t,n)),!(64&~t.flags)&&nE(e,n,t))}function X0(e,n,t=bn){const r=n.localNames;if(null!==r){let i=n.index+1;for(let o=0;o<r.length;o+=2){const s=r[o+1],u=-1===s?t(n,e):e[s];e[i++]=u}}}function X1(e){const n=e.tView;return null===n||n.incompleteFirstPass?e.tView=Q0(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):n}function Q0(e,n,t,r,i,o,s,u,c,d,f){const m=J+r,g=m+i,y=function d2(e,n){const t=[];for(let r=0;r<n;r++)t.push(r<e?null:pe);return t}(m,g),_="function"==typeof d?d():d;return y[B]={type:e,blueprint:y,template:t,queries:null,viewQuery:u,declTNode:n,data:y.slice().fill(null,m),bindingStartIndex:m,expandoStartIndex:g,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof o?o():o,pipeRegistry:"function"==typeof s?s():s,firstChild:null,schemas:c,consts:_,incompleteFirstPass:!1,ssrId:f}}let Q1=()=>null;function J1(e,n,t,r,i){for(let o in n){if(!n.hasOwnProperty(o))continue;const s=n[o];if(void 0===s)continue;r??={};let u,c=go.None;Array.isArray(s)?(u=s[0],c=s[1]):u=s;let d=o;if(null!==i){if(!i.hasOwnProperty(o))continue;d=i[o]}0===e?eE(r,t,d,u,c):eE(r,t,d,u)}return r}function eE(e,n,t,r,i){let o;e.hasOwnProperty(t)?(o=e[t]).push(n,r):o=e[t]=[n,r],void 0!==i&&o.push(i)}function jn(e,n,t,r,i,o,s,u){const c=bn(n,t);let f,d=n.inputs;!u&&null!=d&&(f=d[r])?(ry(e,t,f,r,i),ls(n)&&function b2(e,n){const t=Wn(n,e);16&t[oe]||(t[oe]|=64)}(t,n.index)):3&n.type&&(r=function _2(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),i=null!=s?s(i,n.value||"",r):i,o.setProperty(c,r,i))}function J0(e,n,t,r){if(Uw()){const i=null===r?null:{"":-1},o=function T2(e,n){const t=e.directiveRegistry;let r=null,i=null;if(t)for(let o=0;o<t.length;o++){const s=t[o];if(mw(n,s.selectors,!1))if(r||(r=[]),Vr(s))if(null!==s.findHostDirectiveDefs){const u=[];i=i||new Map,s.findHostDirectiveDefs(s,u,i),r.unshift(...u,s),ey(e,n,u.length)}else r.unshift(s),ey(e,n,0);else i=i||new Map,s.findHostDirectiveDefs?.(s,r,i),r.push(s)}return null===r?null:[r,i]}(e,t);let s,u;null===o?s=u=null:[s,u]=o,null!==s&&tE(e,n,t,s,i,u),i&&function M2(e,n,t){if(n){const r=e.localNames=[];for(let i=0;i<n.length;i+=2){const o=t[n[i+1]];if(null==o)throw new k(-301,!1);r.push(n[i],o)}}}(t,r,i)}t.mergedAttrs=xc(t.mergedAttrs,t.attrs)}function tE(e,n,t,r,i,o){for(let d=0;d<r.length;d++)o0(Rf(t,n),e,r[d].type);!function P2(e,n,t){e.flags|=1,e.directiveStart=n,e.directiveEnd=n+t,e.providerIndexes=n}(t,e.data.length,r.length);for(let d=0;d<r.length;d++){const f=r[d];f.providersResolver&&f.providersResolver(f)}let s=!1,u=!1,c=il(e,n,r.length,null);for(let d=0;d<r.length;d++){const f=r[d];t.mergedAttrs=xc(t.mergedAttrs,f.hostAttrs),A2(e,t,n,c,f),I2(c,f,i),null!==f.contentQueries&&(t.flags|=4),(null!==f.hostBindings||null!==f.hostAttrs||0!==f.hostVars)&&(t.flags|=64);const m=f.type.prototype;!s&&(m.ngOnChanges||m.ngOnInit||m.ngDoCheck)&&((e.preOrderHooks??=[]).push(t.index),s=!0),!u&&(m.ngOnChanges||m.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(t.index),u=!0),c++}!function v2(e,n,t){const i=n.directiveEnd,o=e.data,s=n.attrs,u=[];let c=null,d=null;for(let f=n.directiveStart;f<i;f++){const m=o[f],g=t?t.get(m):null,_=g?g.outputs:null;c=J1(0,m.inputs,f,c,g?g.inputs:null),d=J1(1,m.outputs,f,d,_);const C=null===c||null===s||Sg(n)?null:N2(c,f,s);u.push(C)}null!==c&&(c.hasOwnProperty("class")&&(n.flags|=8),c.hasOwnProperty("style")&&(n.flags|=16)),n.initialInputs=u,n.inputs=c,n.outputs=d}(e,t,o)}function nE(e,n,t){const r=t.directiveStart,i=t.directiveEnd,o=t.index,s=function Hk(){return de.lFrame.currentDirectiveIndex}();try{hs(o);for(let u=r;u<i;u++){const c=e.data[u],d=n[u];qg(u),(null!==c.hostBindings||0!==c.hostVars||null!==c.hostAttrs)&&S2(c,d)}}finally{hs(-1),qg(s)}}function S2(e,n){null!==e.hostBindings&&e.hostBindings(1,n)}function ey(e,n,t){n.componentOffset=t,(e.components??=[]).push(n.index)}function I2(e,n,t){if(t){if(n.exportAs)for(let r=0;r<n.exportAs.length;r++)t[n.exportAs[r]]=e;Vr(n)&&(t[""]=e)}}function A2(e,n,t,r,i){e.data[r]=i;const o=i.factory||(i.factory=vn(i.type)),s=new Hc(o,Vr(i),P);e.blueprint[r]=s,t[r]=s,function C2(e,n,t,r,i){const o=i.hostBindings;if(o){let s=e.hostBindingOpCodes;null===s&&(s=e.hostBindingOpCodes=[]);const u=~n.index;(function E2(e){let n=e.length;for(;n>0;){const t=e[--n];if("number"==typeof t&&t<0)return t}return 0})(s)!=u&&s.push(u),s.push(t,r,o)}}(e,n,r,il(e,t,i.hostVars,pe),i)}function bi(e,n,t,r,i,o){const s=bn(e,n);!function ty(e,n,t,r,i,o,s){if(null==o)e.removeAttribute(n,i,t);else{const u=null==s?W(o):s(o,r||"",i);e.setAttribute(n,i,u,t)}}(n[le],s,o,e.value,t,r,i)}function x2(e,n,t,r,i,o){const s=o[n];if(null!==s)for(let u=0;u<s.length;)Y1(r,t,s[u++],s[u++],s[u++],s[u++])}function N2(e,n,t){let r=null,i=0;for(;i<t.length;){const o=t[i];if(0!==o)if(5!==o){if("number"==typeof o)break;if(e.hasOwnProperty(o)){null===r&&(r=[]);const s=e[o];for(let u=0;u<s.length;u+=3)if(s[u]===n){r.push(o,s[u+1],s[u+2],t[i+1]);break}}i+=2}else i+=2;else i+=4}return r}function rE(e,n,t,r){return[e,!0,0,n,null,r,null,t,null,null]}function iE(e,n){const t=e.contentQueries;if(null!==t){const r=ie(null);try{for(let i=0;i<t.length;i+=2){const s=t[i+1];if(-1!==s){const u=e.data[s];Af(t[i]),u.contentQueries(2,n[s],s)}}}finally{ie(r)}}}function uh(e,n){return e[Oc]?e[Tw][Lr]=n:e[Oc]=n,e[Tw]=n,n}function ny(e,n,t){Af(0);const r=ie(null);try{n(e,t)}finally{ie(r)}}function aE(e,n,t){return(null===e||Vr(e))&&(t=function Bg(e){for(;Array.isArray(e);){if("object"==typeof e[Rg])return e;e=e[pt]}return null}(t[n.index])),t[le]}function ch(e,n){const t=e[Rt],r=t?t.get(vi,null):null;r&&r.handleError(n)}function ry(e,n,t,r,i){for(let o=0;o<t.length;){const s=t[o++],u=t[o++],c=t[o++];Y1(e.data[s],n[s],r,u,c,i)}}function O2(e,n){const t=Wn(n,e),r=t[B];!function R2(e,n){for(let t=n.length;t<e.blueprint.length;t++)n.push(e.blueprint[t])}(r,t);const i=t[pt];null!==i&&null===t[_n]&&(t[_n]=S0(i,t[Rt])),iy(r,t,t[et])}function iy(e,n,t){Kg(n);try{const r=e.viewQuery;null!==r&&ny(1,r,t);const i=e.template;null!==i&&K1(e,n,i,1,t),e.firstCreatePass&&(e.firstCreatePass=!1),n[Vi]?.finishViewCreation(e),e.staticContentQueries&&iE(e,n),e.staticViewQueries&&ny(2,e.viewQuery,t);const o=e.components;null!==o&&function F2(e,n){for(let t=0;t<n.length;t++)O2(e,n[t])}(n,o)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{n[oe]&=-5,Xg()}}function za(e,n,t,r){const i=ie(null);try{const o=n.tView,c=ah(e,o,t,4096&e[oe]?4096:16,null,n,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null);c[cs]=e[n.index];const f=e[Vi];return null!==f&&(c[Vi]=f.createEmbeddedView(o)),iy(o,c,t),c}finally{ie(i)}}function uE(e,n){const t=Tt+n;if(t<e.length)return e[t]}function Cs(e,n){return!n||null===n.firstChild||Wc(e)}function Wa(e,n,t,r=!0){const i=n[B];if(function t2(e,n,t,r){const i=Tt+r,o=t.length;r>0&&(t[i-1][Lr]=n),r<o-Tt?(n[Lr]=t[i],aw(t,Tt+r,n)):(t.push(n),n[Lr]=null),n[Ot]=t;const s=n[cs];null!==s&&t!==s&&R1(s,n);const u=n[Vi];null!==u&&u.insertView(e),Gg(n),n[oe]|=128}(i,n,e,t),r){const s=W0(t,e),u=n[le],c=$0(u,e[pi]);null!==c&&function JN(e,n,t,r,i,o){r[pt]=i,r[tn]=n,sh(e,r,t,1,i,o)}(i,e[tn],u,n,c,s)}const o=n[_n];null!==o&&null!==o.firstChild&&(o.firstChild=null)}function oy(e,n){const t=nl(e,n);return void 0!==t&&ih(t[B],t),t}function ol(e,n,t,r,i=!1){for(;null!==t;){if(128===t.type){t=i?t.projectionNext:t.next;continue}const o=n[t.index];null!==o&&r.push(xe(o)),dn(o)&&cE(o,r);const s=t.type;if(8&s)ol(e,n,t.child,r);else if(32&s){const u=V0(t,n);let c;for(;c=u();)r.push(c)}else if(16&s){const u=U1(n,t);if(Array.isArray(u))r.push(...u);else{const c=ji(n[mt]);ol(c[B],c,u,r,!0)}}t=i?t.projectionNext:t.next}return r}function cE(e,n){for(let t=Tt;t<e.length;t++){const r=e[t],i=r[B].firstChild;null!==i&&ol(r[B],r,i,n)}e[pi]!==e[pt]&&n.push(e[pi])}let lE=[];const B2={...jt,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{Mf(e.lView)},consumerOnSignalRead(){this.lView[lr]=this}},G2={...jt,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{let n=ji(e.lView);for(;n&&!dE(n[B]);)n=ji(n);n&&Bw(n)},consumerOnSignalRead(){this.lView[lr]=this}};function dE(e){return 2!==e.type}const U2=100;function lh(e,n=!0,t=0){const r=e[hi],i=r.rendererFactory;i.begin?.();try{!function $2(e,n){const t=qw();try{Zw(!0),sy(e,n);let r=0;for(;Tf(e);){if(r===U2)throw new k(103,!1);r++,sy(e,1)}}finally{Zw(t)}}(e,t)}catch(s){throw n&&ch(e,s),s}finally{i.end?.(),r.inlineEffectRunner?.flush()}}function z2(e,n,t,r){const i=n[oe];if(!(256&~i))return;n[hi].inlineEffectRunner?.flush(),Kg(n);let u=!0,c=null,d=null;dE(e)?(d=function L2(e){return e[lr]??function V2(e){const n=lE.pop()??Object.create(B2);return n.lView=e,n}(e)}(n),c=Ye(d)):null===function H(){return Me}()?(u=!1,d=function H2(e){const n=e[lr]??Object.create(G2);return n.lView=e,n}(n),c=Ye(d)):n[lr]&&(no(n[lr]),n[lr]=null);try{jw(n),function Yw(e){return de.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==t&&K1(e,n,t,2,r);const f=!(3&~i);if(f){const y=e.preOrderCheckHooks;null!==y&&xf(n,y,null)}else{const y=e.preOrderHooks;null!==y&&Nf(n,y,0,null),Qg(n,0)}if(function W2(e){for(let n=HC(e);null!==n;n=GC(n)){if(!(n[oe]&Df.HasTransplantedViews))continue;const t=n[Na];for(let r=0;r<t.length;r++)Bw(t[r])}}(n),hE(n,0),null!==e.contentQueries&&iE(e,n),f){const y=e.contentCheckHooks;null!==y&&xf(n,y)}else{const y=e.contentHooks;null!==y&&Nf(n,y,1),Qg(n,1)}!function l2(e,n){const t=e.hostBindingOpCodes;if(null!==t)try{for(let r=0;r<t.length;r++){const i=t[r];if(i<0)hs(~i);else{const o=i,s=t[++r],u=t[++r];Bk(s,o),u(2,n[o])}}}finally{hs(-1)}}(e,n);const m=e.components;null!==m&&mE(n,m,0);const g=e.viewQuery;if(null!==g&&ny(2,g,r),f){const y=e.viewCheckHooks;null!==y&&xf(n,y)}else{const y=e.viewHooks;null!==y&&Nf(n,y,2),Qg(n,2)}if(!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),n[Cf]){for(const y of n[Cf])y();n[Cf]=null}n[oe]&=-73}catch(f){throw Mf(n),f}finally{null!==d&&(ft(d,c),u&&function j2(e){e.lView[lr]!==e&&(e.lView=null,lE.push(e))}(d)),Xg()}}function hE(e,n){for(let t=HC(e);null!==t;t=GC(t))for(let r=Tt;r<t.length;r++)pE(t[r],n)}function q2(e,n,t){pE(Wn(n,e),t)}function pE(e,n){Hg(e)&&sy(e,n)}function sy(e,n){const r=e[B],i=e[oe],o=e[lr];let s=!!(0===n&&16&i);if(s||=!!(64&i&&0===n),s||=!!(1024&i),s||=!(!o?.dirty||!Tr(o)),s||=!1,o&&(o.dirty=!1),e[oe]&=-9217,s)z2(r,e,r.template,e[et]);else if(8192&i){hE(e,1);const u=r.components;null!==u&&mE(e,u,1)}}function mE(e,n,t){for(let r=0;r<n.length;r++)q2(e,n[r],t)}function sl(e,n){const t=qw()?64:1088;for(e[hi].changeDetectionScheduler?.notify(n);e;){e[oe]|=t;const r=ji(e);if(Fc(e)&&!r)return e;e=r}return null}class al{get rootNodes(){const n=this._lView,t=n[B];return ol(t,n,t.firstChild,[])}constructor(n,t,r=!0){this._lView=n,this._cdRefInjectingView=t,this.notifyErrorHandler=r,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[et]}set context(n){this._lView[et]=n}get destroyed(){return!(256&~this._lView[oe])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const n=this._lView[Ot];if(dn(n)){const t=n[8],r=t?t.indexOf(this):-1;r>-1&&(nl(n,r),hf(t,r))}this._attachedToViewContainer=!1}ih(this._lView[B],this._lView)}onDestroy(n){If(this._lView,n)}markForCheck(){sl(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[oe]&=-129}reattach(){Gg(this._lView),this._lView[oe]|=128}detectChanges(){this._lView[oe]|=1024,lh(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new k(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const n=Fc(this._lView),t=this._lView[cs];null!==t&&!n&&H0(t,this._lView),O1(this._lView[B],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new k(902,!1);this._appRef=n;const t=Fc(this._lView),r=this._lView[cs];null!==r&&!t&&R1(r,this._lView),Gg(this._lView)}}let wi=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=K2}return e})();const Z2=wi,Y2=class extends Z2{constructor(n,t,r){super(),this._declarationLView=n,this._declarationTContainer=t,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,t){return this.createEmbeddedViewImpl(n,t)}createEmbeddedViewImpl(n,t,r){const i=za(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:t,dehydratedView:r});return new al(i)}};function K2(){return dh(qe(),x())}function dh(e,n){return 4&e.type?new Y2(n,e,La(e,n)):null}let FE=()=>null;function Ds(e,n){return FE(e,n)}class Za{}const ml=new $("",{providedIn:"root",factory:()=>!1}),LE=new $(""),yy=new $("");class GO{}class VE{}class $O{resolveComponentFactory(n){throw function UO(e){const n=Error(`No component factory found for ${wt(e)}.`);return n.ngComponent=e,n}(n)}}class Ss{static#e=this.NULL=new $O}class yh{}let Ci=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function zO(){const e=x(),t=Wn(qe().index,e);return(Wt(t)?t:e)[le]}()}return e})(),WO=(()=>{class e{static#e=this.\u0275prov=q({token:e,providedIn:"root",factory:()=>null})}return e})();function _h(e,n,t){let r=t?e.styles:null,i=t?e.classes:null,o=0;if(null!==n)for(let s=0;s<n.length;s++){const u=n[s];"number"==typeof u?o=u:1==o?i=ha(i,u):2==o&&(r=ha(r,u+": "+n[++s]+";"))}t?e.styles=r:e.stylesWithoutHost=r,t?e.classes=i:e.classesWithoutHost=i}class GE extends Ss{constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){const t=ye(n);return new vl(t,this.ngModule)}}function UE(e,n){const t=[];for(const r in e){if(!e.hasOwnProperty(r))continue;const i=e[r];if(void 0===i)continue;const o=Array.isArray(i),s=o?i[0]:i;t.push(n?{propName:s,templateName:r,isSignal:!!((o?i[1]:go.None)&go.SignalBased)}:{propName:s,templateName:r})}return t}class vl extends VE{get inputs(){const n=this.componentDef,t=n.inputTransforms,r=UE(n.inputs,!0);if(null!==t)for(const i of r)t.hasOwnProperty(i.propName)&&(i.transform=t[i.propName]);return r}get outputs(){return UE(this.componentDef.outputs,!1)}constructor(n,t){super(),this.componentDef=n,this.ngModule=t,this.componentType=n.type,this.selector=function XA(e){return e.map(KA).join(",")}(n.selectors),this.ngContentSelectors=n.ngContentSelectors?n.ngContentSelectors:[],this.isBoundToModule=!!t}create(n,t,r,i){const o=ie(null);try{let s=(i=i||this.ngModule)instanceof cr?i:i?.injector;s&&null!==this.componentDef.getStandaloneInjector&&(s=this.componentDef.getStandaloneInjector(s)||s);const u=s?new ps(n,s):n,c=u.get(yh,null);if(null===c)throw new k(407,!1);const m={rendererFactory:c,sanitizer:u.get(WO,null),inlineEffectRunner:null,changeDetectionScheduler:u.get(Za,null)},g=c.createRenderer(null,this.componentDef),y=this.componentDef.selectors[0][0]||"div",_=r?function f2(e,n,t,r){const o=r.get(u1,!1)||t===Rr.ShadowDom,s=e.selectRootElement(n,o);return function h2(e){Q1(e)}(s),s}(g,r,this.componentDef.encapsulation,u):rh(g,y,function YO(e){const n=e.toLowerCase();return"svg"===n?"svg":"math"===n?"math":null}(y));let C=512;this.componentDef.signals?C|=4096:this.componentDef.onPush||(C|=16);let S=null;null!==_&&(S=S0(_,u,!0));const I=Q0(0,null,null,1,0,null,null,null,null,null,null),T=ah(null,I,null,C,null,null,m,g,u,null,S);Kg(T);let R,L,j=null;try{const X=this.componentDef;let re,Q=null;X.findHostDirectiveDefs?(re=[],Q=new Map,X.findHostDirectiveDefs(X,re,Q),re.push(X)):re=[X];const vt=function XO(e,n){const t=e[B],r=J;return e[r]=n,ws(t,r,2,"#host",null)}(T,_);j=function QO(e,n,t,r,i,o,s){const u=i[B];!function JO(e,n,t,r){for(const i of e)n.mergedAttrs=xc(n.mergedAttrs,i.hostAttrs);null!==n.mergedAttrs&&(_h(n,n.mergedAttrs,!0),null!==t&&q1(r,t,n))}(r,e,n,s);let c=null;null!==n&&(c=S0(n,i[Rt]));const d=o.rendererFactory.createRenderer(n,t);let f=16;t.signals?f=4096:t.onPush&&(f=64);const m=ah(i,X1(t),null,f,i[e.index],e,o,d,null,null,c);return u.firstCreatePass&&ey(u,e,r.length-1),uh(i,m),i[e.index]=m}(vt,_,X,re,T,m,g),L=Vc(I,J),_&&function tR(e,n,t,r){if(r)Dg(e,t,["ng-version","18.2.3"]);else{const{attrs:i,classes:o}=function QA(e){const n=[],t=[];let r=1,i=2;for(;r<e.length;){let o=e[r];if("string"==typeof o)2===i?""!==o&&n.push(o,e[++r]):8===i&&t.push(o);else{if(!Fr(i))break;i=o}r++}return{attrs:n,classes:t}}(n.selectors[0]);i&&Dg(e,t,i),o&&o.length>0&&W1(e,t,o.join(" "))}}(g,X,_,r),void 0!==t&&function nR(e,n,t){const r=e.projection=[];for(let i=0;i<n.length;i++){const o=t[i];r.push(null!=o?Array.from(o):null)}}(L,this.ngContentSelectors,t),R=function eR(e,n,t,r,i,o){const s=qe(),u=i[B],c=bn(s,i);tE(u,i,s,t,null,r);for(let f=0;f<t.length;f++)fn(ms(i,u,s.directiveStart+f,s),i);nE(u,i,s),c&&fn(c,i);const d=ms(i,u,s.directiveStart+s.componentOffset,s);if(e[et]=i[et]=d,null!==o)for(const f of o)f(d,n);return Y0(u,s,i),d}(j,X,re,Q,T,[rR]),iy(I,T,null)}catch(X){throw null!==j&&g0(j),g0(T),X}finally{Xg()}return new KO(this.componentType,R,La(L,T),T,L)}finally{ie(o)}}}class KO extends GO{constructor(n,t,r,i,o){super(),this.location=r,this._rootLView=i,this._tNode=o,this.previousInputValues=null,this.instance=t,this.hostView=this.changeDetectorRef=new al(i,void 0,!1),this.componentType=n}setInput(n,t){const r=this._tNode.inputs;let i;if(null!==r&&(i=r[n])){if(this.previousInputValues??=new Map,this.previousInputValues.has(n)&&Object.is(this.previousInputValues.get(n),t))return;const o=this._rootLView;ry(o[B],o,i,n,t),this.previousInputValues.set(n,t),sl(Wn(this._tNode.index,o),1)}}get injector(){return new qt(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}}function rR(){const e=qe();kf(x()[B],e)}let Gr=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=iR}return e})();function iR(){return function WE(e,n){let t;const r=n[e.index];return dn(r)?t=r:(t=rE(r,n,null,e),n[e.index]=t,uh(n,t)),qE(t,n,e,r),new $E(t,e,n)}(qe(),x())}const oR=Gr,$E=class extends oR{constructor(n,t,r){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=r}get element(){return La(this._hostTNode,this._hostLView)}get injector(){return new qt(this._hostTNode,this._hostLView)}get parentInjector(){const n=Ff(this._hostTNode,this._hostLView);if(t0(n)){const t=Uc(n,this._hostLView),r=Gc(n);return new qt(t[B].data[r+8],t)}return new qt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const t=zE(this._lContainer);return null!==t&&t[n]||null}get length(){return this._lContainer.length-Tt}createEmbeddedView(n,t,r){let i,o;"number"==typeof r?i=r:null!=r&&(i=r.index,o=r.injector);const s=Ds(this._lContainer,n.ssrId),u=n.createEmbeddedViewImpl(t||{},o,s);return this.insertImpl(u,i,Cs(this._hostTNode,s)),u}createComponent(n,t,r,i,o){const s=n&&!Nc(n);let u;if(s)u=t;else{const _=t||{};u=_.index,r=_.injector,i=_.projectableNodes,o=_.environmentInjector||_.ngModuleRef}const c=s?n:new vl(ye(n)),d=r||this.parentInjector;if(!o&&null==c.ngModule){const C=(s?d:this.parentInjector).get(cr,null);C&&(o=C)}const f=ye(c.componentType??{}),m=Ds(this._lContainer,f?.id??null),y=c.create(d,i,m?.firstChild??null,o);return this.insertImpl(y.hostView,u,Cs(this._hostTNode,m)),y}insert(n,t){return this.insertImpl(n,t,!0)}insertImpl(n,t,r){const i=n._lView;if(function Ak(e){return dn(e[Ot])}(i)){const u=this.indexOf(n);if(-1!==u)this.detach(u);else{const c=i[Ot],d=new $E(c,c[tn],c[Ot]);d.detach(d.indexOf(n))}}const o=this._adjustIndex(t),s=this._lContainer;return Wa(s,i,o,r),n.attachToViewContainerRef(),aw(by(s),o,n),n}move(n,t){return this.insert(n,t)}indexOf(n){const t=zE(this._lContainer);return null!==t?t.indexOf(n):-1}remove(n){const t=this._adjustIndex(n,-1),r=nl(this._lContainer,t);r&&(hf(by(this._lContainer),t),ih(r[B],r))}detach(n){const t=this._adjustIndex(n,-1),r=nl(this._lContainer,t);return r&&null!=hf(by(this._lContainer),t)?new al(r):null}_adjustIndex(n,t=0){return n??this.length+t}};function zE(e){return e[8]}function by(e){return e[8]||(e[8]=[])}let qE=function YE(e,n,t,r){if(e[pi])return;let i;i=8&t.type?xe(r):function sR(e,n){const t=e[le],r=t.createComment(""),i=bn(n,e);return _s(t,$0(t,i),r,function i2(e,n){return e.nextSibling(n)}(t,i),!1),r}(n,t),e[pi]=i},wy=()=>!1;const rD=new Set;function Cn(e){rD.has(e)||(rD.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function Ie(e,n){Cn("NgSignals");const t=function Mm(e){const n=Object.create(Zu);n.value=e;const t=()=>(Sr(n),n.value);return t[z]=n,t}(e),r=t[z];return n?.equal&&(r.equal=n.equal),t.set=i=>so(r,i),t.update=i=>function jo(e,n){Ce()||qs(),so(e,n(e.value))}(r,i),t.asReadonly=oD.bind(t),t}function oD(){const e=this[z];if(void 0===e.readonlyFn){const n=()=>this();n[z]=e,e.readonlyFn=n}return e.readonlyFn}function sD(e){return function iD(e){return"function"==typeof e&&void 0!==e[z]}(e)&&"function"==typeof e.set}function Fe(e){let n=function yD(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),t=!0;const r=[e];for(;n;){let i;if(Vr(e))i=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new k(903,!1);i=n.\u0275dir}if(i){if(t){r.push(i);const s=e;s.inputs=wh(e.inputs),s.inputTransforms=wh(e.inputTransforms),s.declaredInputs=wh(e.declaredInputs),s.outputs=wh(e.outputs);const u=i.hostBindings;u&&PR(e,u);const c=i.viewQuery,d=i.contentQueries;if(c&&MR(e,c),d&&IR(e,d),SR(e,i),tf(e.outputs,i.outputs),Vr(i)&&i.data.animation){const f=e.data;f.animation=(f.animation||[]).concat(i.data.animation)}}const o=i.features;if(o)for(let s=0;s<o.length;s++){const u=o[s];u&&u.ngInherit&&u(e),u===Fe&&(t=!1)}}n=Object.getPrototypeOf(n)}!function TR(e){let n=0,t=null;for(let r=e.length-1;r>=0;r--){const i=e[r];i.hostVars=n+=i.hostVars,i.hostAttrs=xc(i.hostAttrs,t=xc(t,i.hostAttrs))}}(r)}function SR(e,n){for(const t in n.inputs){if(!n.inputs.hasOwnProperty(t)||e.inputs.hasOwnProperty(t))continue;const r=n.inputs[t];if(void 0!==r&&(e.inputs[t]=r,e.declaredInputs[t]=n.declaredInputs[t],null!==n.inputTransforms)){const i=Array.isArray(r)?r[0]:r;if(!n.inputTransforms.hasOwnProperty(i))continue;e.inputTransforms??={},e.inputTransforms[i]=n.inputTransforms[i]}}}function wh(e){return e===di?{}:e===ke?[]:e}function MR(e,n){const t=e.viewQuery;e.viewQuery=t?(r,i)=>{n(r,i),t(r,i)}:n}function IR(e,n){const t=e.contentQueries;e.contentQueries=t?(r,i,o)=>{n(r,i,o),t(r,i,o)}:n}function PR(e,n){const t=e.hostBindings;e.hostBindings=t?(r,i)=>{n(r,i),t(r,i)}:n}class Ms{}class FR{}class Ay extends Ms{constructor(n,t,r,i=!0){super(),this.ngModuleType=n,this._parent=t,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new GE(this);const o=function ln(e,n){const t=e[lf]||null;if(!t&&!0===n)throw new Error(`Type ${wt(e)} does not have '\u0275mod' property.`);return t}(n);this._bootstrapComponents=function Yn(e){return e instanceof Function?e():e}(o.bootstrap),this._r3Injector=CC(n,t,[{provide:Ms,useValue:this},{provide:Ss,useValue:this.componentFactoryResolver},...r],wt(n),new Set(["environment"])),i&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){const n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}}class ky extends FR{constructor(n){super(),this.moduleType=n}create(n){return new Ay(this.moduleType,n,[])}}class wD extends Ms{constructor(n){super(),this.componentFactoryResolver=new GE(this),this.instance=null;const t=new Ta([...n.providers,{provide:Ms,useValue:this},{provide:Ss,useValue:this.componentFactoryResolver}],n.parent||bf(),n.debugName,new Set(["environment"]));this.injector=t,n.runEnvironmentInitializers&&t.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}}function Ei(e,n,t){return e[n]=t}function Mt(e,n,t){return!Object.is(e[n],t)&&(e[n]=t,!0)}function Is(e,n,t,r){const i=Mt(e,n,t);return Mt(e,n+1,r)||i}function wl(e,n,t,r,i,o,s,u,c,d){const f=t+J,m=n.firstCreatePass?function UR(e,n,t,r,i,o,s,u,c){const d=n.consts,f=ws(n,e,4,s||null,u||null);J0(n,t,f,dr(d,c)),kf(n,f);const m=f.tView=Q0(2,f,r,i,o,n.directiveRegistry,n.pipeRegistry,null,n.schemas,d,null);return null!==n.queries&&(n.queries.template(n,f),m.queries=n.queries.embeddedTView(f)),f}(f,n,e,r,i,o,s,u,c):n.data[f];Br(m,!1);const g=ED(n,e,m,t);Bc()&&oh(n,e,g,m),fn(g,e);const y=rE(g,e,g,m);return e[f]=y,uh(e,y),function ZE(e,n,t){return wy(e,n,t)}(y,m,e),Sf(m)&&K0(n,e,m),null!=c&&X0(e,m,d),m}function De(e,n,t,r,i,o,s,u){const c=x(),d=ge();return wl(c,d,e,n,t,r,i,dr(d.consts,o),s,u),De}let ED=function DD(e,n,t,r){return gi(!0),n[le].createComment("")};var Qa=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(Qa||{});let AD=(()=>{class e{constructor(){this.impl=null}execute(){this.impl?.execute()}static#e=this.\u0275prov=q({token:e,providedIn:"root",factory:()=>new e})}return e})();class Dl{constructor(){this.ngZone=p(Re),this.scheduler=p(Za),this.errorHandler=p(vi,{optional:!0}),this.sequences=new Set,this.deferredRegistrations=new Set,this.executing=!1}static#e=this.PHASES=[Qa.EarlyRead,Qa.Write,Qa.MixedReadWrite,Qa.Read];execute(){this.executing=!0;for(const n of Dl.PHASES)for(const t of this.sequences)if(!t.erroredOrDestroyed&&t.hooks[n])try{t.pipelinedValue=this.ngZone.runOutsideAngular(()=>t.hooks[n](t.pipelinedValue))}catch(r){t.erroredOrDestroyed=!0,this.errorHandler?.handleError(r)}this.executing=!1;for(const n of this.sequences)n.afterRun(),n.once&&this.sequences.delete(n);for(const n of this.deferredRegistrations)this.sequences.add(n);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(n){this.executing?this.deferredRegistrations.add(n):(this.sequences.add(n),this.scheduler.notify(6))}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}static#t=this.\u0275prov=q({token:Dl,providedIn:"root",factory:()=>new Dl})}function on(e,n,t,r){const i=x();return Mt(i,Hr(),n)&&(ge(),bi(tt(),i,e,n,t,r)),on}function Ph(e,n){return e<<17|n<<2}function Eo(e){return e>>17&32767}function $y(e){return 2|e}function As(e){return(131068&e)>>2}function zy(e,n){return-131069&e|n<<2}function Wy(e){return 1|e}function i4(e,n,t,r){const i=e[t+1],o=null===n;let s=r?Eo(i):As(i),u=!1;for(;0!==s&&(!1===u||o);){const d=e[s+1];kF(e[s],n)&&(u=!0,e[s+1]=r?Wy(d):$y(d)),s=r?Eo(d):As(d)}u&&(e[t+1]=r?$y(i):Wy(i))}function kF(e,n){return null===e||null==n||(Array.isArray(e)?e[1]:e)===n||!(!Array.isArray(e)||"string"!=typeof n)&&Da(e,n)>=0}const Zt={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function o4(e){return e.substring(Zt.key,Zt.keyEnd)}function s4(e,n){const t=Zt.textEnd;return t===n?-1:(n=Zt.keyEnd=function RF(e,n,t){for(;n<t&&e.charCodeAt(n)>32;)n++;return n}(e,Zt.key=n,t),hu(e,n,t))}function hu(e,n,t){for(;n<t&&e.charCodeAt(n)<=32;)n++;return n}function ee(e,n,t){const r=x();return Mt(r,Hr(),n)&&jn(ge(),tt(),r,e,n,r[le],t,!1),ee}function qy(e,n,t,r,i){const s=i?"class":"style";ry(e,t,n.inputs[s],s,r)}function pu(e,n,t){return $r(e,n,t,!1),pu}function Ur(e,n){return $r(e,n,null,!0),Ur}function zi(e){!function zr(e,n,t,r){const i=ge(),o=Hi(2);i.firstUpdatePass&&f4(i,null,o,r);const s=x();if(t!==pe&&Mt(s,o,t)){const u=i.data[nn()];if(g4(u,r)&&!d4(i,o)){let c=r?u.classesWithoutHost:u.stylesWithoutHost;null!==c&&(t=ha(c,t||"")),qy(i,u,s,t,r)}else!function zF(e,n,t,r,i,o,s,u){i===pe&&(i=ke);let c=0,d=0,f=0<i.length?i[0]:null,m=0<o.length?o[0]:null;for(;null!==f||null!==m;){const g=c<i.length?i[c+1]:void 0,y=d<o.length?o[d+1]:void 0;let C,_=null;f===m?(c+=2,d+=2,g!==y&&(_=m,C=y)):null===m||null!==f&&f<m?(c+=2,_=f):(d+=2,_=m,C=y),null!==_&&p4(e,n,t,r,_,C,s,u),f=c<i.length?i[c]:null,m=d<o.length?o[d]:null}}(i,u,s,s[le],s[o+1],s[o+1]=function UF(e,n,t){if(null==t||""===t)return ke;const r=[],i=qn(t);if(Array.isArray(i))for(let o=0;o<i.length;o++)e(r,i[o],!0);else if("object"==typeof i)for(const o in i)i.hasOwnProperty(o)&&e(r,o,i[o]);else"string"==typeof i&&n(r,i);return r}(e,n,t),r,o)}}($F,Si,e,!0)}function Si(e,n){for(let t=function NF(e){return function u4(e){Zt.key=0,Zt.keyEnd=0,Zt.value=0,Zt.valueEnd=0,Zt.textEnd=e.length}(e),s4(e,hu(e,0,Zt.textEnd))}(n);t>=0;t=s4(n,t))zn(e,o4(n),!0)}function $r(e,n,t,r){const i=x(),o=ge(),s=Hi(2);o.firstUpdatePass&&f4(o,e,s,r),n!==pe&&Mt(i,s,n)&&p4(o,o.data[nn()],i,i[le],e,i[s+1]=function WF(e,n){return null==e||""===e||("string"==typeof n?e+=n:"object"==typeof e&&(e=wt(qn(e)))),e}(n,t),r,s)}function d4(e,n){return n>=e.expandoStartIndex}function f4(e,n,t,r){const i=e.data;if(null===i[t+1]){const o=i[nn()],s=d4(e,t);g4(o,r)&&null===n&&!s&&(n=!1),n=function jF(e,n,t,r){const i=Zg(e);let o=r?n.residualClasses:n.residualStyles;if(null===i)0===(r?n.classBindings:n.styleBindings)&&(t=Tl(t=Zy(null,e,n,t,r),n.attrs,r),o=null);else{const s=n.directiveStylingLast;if(-1===s||e[s]!==i)if(t=Zy(i,e,n,t,r),null===o){let c=function BF(e,n,t){const r=t?n.classBindings:n.styleBindings;if(0!==As(r))return e[Eo(r)]}(e,n,r);void 0!==c&&Array.isArray(c)&&(c=Zy(null,e,n,c[1],r),c=Tl(c,n.attrs,r),function HF(e,n,t,r){e[Eo(t?n.classBindings:n.styleBindings)]=r}(e,n,r,c))}else o=function GF(e,n,t){let r;const i=n.directiveEnd;for(let o=1+n.directiveStylingLast;o<i;o++)r=Tl(r,e[o].hostAttrs,t);return Tl(r,n.attrs,t)}(e,n,r)}return void 0!==o&&(r?n.residualClasses=o:n.residualStyles=o),t}(i,o,n,r),function PF(e,n,t,r,i,o){let s=o?n.classBindings:n.styleBindings,u=Eo(s),c=As(s);e[r]=t;let f,d=!1;if(Array.isArray(t)?(f=t[1],(null===f||Da(t,f)>0)&&(d=!0)):f=t,i)if(0!==c){const g=Eo(e[u+1]);e[r+1]=Ph(g,u),0!==g&&(e[g+1]=zy(e[g+1],r)),e[u+1]=function MF(e,n){return 131071&e|n<<17}(e[u+1],r)}else e[r+1]=Ph(u,0),0!==u&&(e[u+1]=zy(e[u+1],r)),u=r;else e[r+1]=Ph(c,0),0===u?u=r:e[c+1]=zy(e[c+1],r),c=r;d&&(e[r+1]=$y(e[r+1])),i4(e,f,r,!0),i4(e,f,r,!1),function AF(e,n,t,r,i){const o=i?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof n&&Da(o,n)>=0&&(t[r+1]=Wy(t[r+1]))}(n,f,e,r,o),s=Ph(u,c),o?n.classBindings=s:n.styleBindings=s}(i,o,n,t,s,r)}}function Zy(e,n,t,r,i){let o=null;const s=t.directiveEnd;let u=t.directiveStylingLast;for(-1===u?u=t.directiveStart:u++;u<s&&(o=n[u],r=Tl(r,o.hostAttrs,i),o!==e);)u++;return null!==e&&(t.directiveStylingLast=u),r}function Tl(e,n,t){const r=t?1:2;let i=-1;if(null!==n)for(let o=0;o<n.length;o++){const s=n[o];"number"==typeof s?i=s:i===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),zn(e,s,!!t||n[++o]))}return void 0===e?null:e}function $F(e,n,t){const r=String(n);""!==r&&!r.includes(" ")&&zn(e,r,t)}function p4(e,n,t,r,i,o,s,u){if(!(3&n.type))return;const c=e.data,d=c[u+1],f=function IF(e){return!(1&~e)}(d)?m4(c,n,t,i,As(d),s):void 0;Ah(f)||(Ah(o)||function TF(e){return!(2&~e)}(d)&&(o=m4(c,null,t,i,u,s)),function a2(e,n,t,r,i){if(n)i?e.addClass(t,r):e.removeClass(t,r);else{let o=-1===r.indexOf("-")?void 0:bo.DashCase;null==i?e.removeStyle(t,r,o):("string"==typeof i&&i.endsWith("!important")&&(i=i.slice(0,-10),o|=bo.Important),e.setStyle(t,r,i,o))}}(r,s,Lc(nn(),t),i,o))}function m4(e,n,t,r,i,o){const s=null===n;let u;for(;i>0;){const c=e[i],d=Array.isArray(c),f=d?c[1]:c,m=null===f;let g=t[i+1];g===pe&&(g=m?ke:void 0);let y=m?Cg(g,r):f===r?g:void 0;if(d&&!Ah(y)&&(y=Cg(c,r)),Ah(y)&&(u=y,s))return u;const _=e[i+1];i=s?Eo(_):As(_)}if(null!==n){let c=o?n.residualClasses:n.residualStyles;null!=c&&(u=Cg(c,r))}return u}function Ah(e){return void 0!==e}function g4(e,n){return!!(e.flags&(n?8:16))}class rL{destroy(n){}updateValue(n,t){}swap(n,t){const r=Math.min(n,t),i=Math.max(n,t),o=this.detach(i);if(i-r>1){const s=this.detach(r);this.attach(r,o),this.attach(i,s)}else this.attach(r,o)}move(n,t){this.attach(t,this.detach(n))}}function Yy(e,n,t,r,i){return e===t&&Object.is(n,r)?1:Object.is(i(e,n),i(t,r))?-1:0}function Ky(e,n,t,r){return!(void 0===n||!n.has(r)||(e.attach(t,n.get(r)),n.delete(r),0))}function y4(e,n,t,r,i){if(Ky(e,n,r,t(r,i)))e.updateValue(r,i);else{const o=e.create(r,i);e.attach(r,o)}}function v4(e,n,t,r){const i=new Set;for(let o=n;o<=t;o++)i.add(r(o,e.at(o)));return i}class _4{constructor(){this.kvMap=new Map,this._vMap=void 0}has(n){return this.kvMap.has(n)}delete(n){if(!this.has(n))return!1;const t=this.kvMap.get(n);return void 0!==this._vMap&&this._vMap.has(t)?(this.kvMap.set(n,this._vMap.get(t)),this._vMap.delete(t)):this.kvMap.delete(n),!0}get(n){return this.kvMap.get(n)}set(n,t){if(this.kvMap.has(n)){let r=this.kvMap.get(n);void 0===this._vMap&&(this._vMap=new Map);const i=this._vMap;for(;i.has(r);)r=i.get(r);i.set(r,t)}else this.kvMap.set(n,t)}forEach(n){for(let[t,r]of this.kvMap)if(n(r,t),void 0!==this._vMap){const i=this._vMap;for(;i.has(r);)r=i.get(r),n(r,t)}}}function Le(e,n){Cn("NgControlFlow");const t=x(),r=Hr(),i=t[r]!==pe?t[r]:-1,o=-1!==i?kh(t,J+i):void 0;if(Mt(t,r,e)){const u=ie(null);try{if(void 0!==o&&oy(o,0),-1!==e){const c=J+e,d=kh(t,c),f=Xy(t[B],c),m=Ds(d,f.tView.ssrId);Wa(d,za(t,f,n,{dehydratedView:m}),0,Cs(f,m))}}finally{ie(u)}}else if(void 0!==o){const u=uE(o,0);void 0!==u&&(u[et]=n)}}class oL{constructor(n,t,r){this.lContainer=n,this.$implicit=t,this.$index=r}get $count(){return this.lContainer.length-Tt}}function Wi(e){return e}function b4(e,n){return n}class sL{constructor(n,t,r){this.hasEmptyBlock=n,this.trackByFn=t,this.liveCollection=r}}function Wr(e,n,t,r,i,o,s,u,c,d,f,m,g){Cn("NgControlFlow");const y=x(),_=ge(),C=void 0!==c,S=x(),I=u?s.bind(S[mt][et]):s,T=new sL(C,I);S[J+e]=T,wl(y,_,e+1,n,t,r,i,dr(_.consts,o)),C&&wl(y,_,e+2,c,d,f,m,dr(_.consts,g))}class aL extends rL{constructor(n,t,r){super(),this.lContainer=n,this.hostLView=t,this.templateTNode=r,this.operationsCounter=void 0,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-Tt}at(n){return this.getLView(n)[et].$implicit}attach(n,t){const r=t[_n];this.needsIndexUpdate||=n!==this.length,Wa(this.lContainer,t,n,Cs(this.templateTNode,r))}detach(n){return this.needsIndexUpdate||=n!==this.length-1,function uL(e,n){return nl(e,n)}(this.lContainer,n)}create(n,t){const r=Ds(this.lContainer,this.templateTNode.tView.ssrId),i=za(this.hostLView,this.templateTNode,new oL(this.lContainer,t,n),{dehydratedView:r});return this.operationsCounter?.recordCreate(),i}destroy(n){ih(n[B],n),this.operationsCounter?.recordDestroy()}updateValue(n,t){this.getLView(n)[et].$implicit=t}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let n=0;n<this.length;n++)this.getLView(n)[et].$index=n}getLView(n){return function cL(e,n){return uE(e,n)}(this.lContainer,n)}}function qr(e){const n=ie(null),t=nn();try{const r=x(),i=r[B],o=r[t],s=t+1,u=kh(r,s);if(void 0===o.liveCollection){const d=Xy(i,s);o.liveCollection=new aL(u,r,d)}else o.liveCollection.reset();const c=o.liveCollection;if(function iL(e,n,t){let r,i,o=0,s=e.length-1;if(Array.isArray(n)){let c=n.length-1;for(;o<=s&&o<=c;){const d=e.at(o),f=n[o],m=Yy(o,d,o,f,t);if(0!==m){m<0&&e.updateValue(o,f),o++;continue}const g=e.at(s),y=n[c],_=Yy(s,g,c,y,t);if(0!==_){_<0&&e.updateValue(s,y),s--,c--;continue}const C=t(o,d),S=t(s,g),I=t(o,f);if(Object.is(I,S)){const T=t(c,y);Object.is(T,C)?(e.swap(o,s),e.updateValue(s,y),c--,s--):e.move(s,o),e.updateValue(o,f),o++}else if(r??=new _4,i??=v4(e,o,s,t),Ky(e,r,o,I))e.updateValue(o,f),o++,s++;else if(i.has(I))r.set(C,e.detach(o)),s--;else{const T=e.create(o,n[o]);e.attach(o,T),o++,s++}}for(;o<=c;)y4(e,r,t,o,n[o]),o++}else if(null!=n){const c=n[Symbol.iterator]();let d=c.next();for(;!d.done&&o<=s;){const f=e.at(o),m=d.value,g=Yy(o,f,o,m,t);if(0!==g)g<0&&e.updateValue(o,m),o++,d=c.next();else{r??=new _4,i??=v4(e,o,s,t);const y=t(o,m);if(Ky(e,r,o,y))e.updateValue(o,m),o++,s++,d=c.next();else if(i.has(y)){const _=t(o,f);r.set(_,e.detach(o)),s--}else e.attach(o,e.create(o,m)),o++,s++,d=c.next()}}for(;!d.done;)y4(e,r,t,e.length,d.value),d=c.next()}for(;o<=s;)e.destroy(e.detach(s--));r?.forEach(c=>{e.destroy(c)})}(c,e,o.trackByFn),c.updateIndexes(),o.hasEmptyBlock){const d=Hr(),f=0===c.length;if(Mt(r,d,f)){const m=t+2,g=kh(r,m);if(f){const y=Xy(i,m),_=Ds(g,y.tView.ssrId);Wa(g,za(r,y,void 0,{dehydratedView:_}),0,Cs(y,_))}else oy(g,0)}}}finally{ie(n)}}function kh(e,n){return e[n]}function Xy(e,n){return Vc(e,n)}function G(e,n,t,r){const i=x(),o=ge(),s=J+e,u=i[le],c=o.firstCreatePass?function lL(e,n,t,r,i,o){const s=n.consts,c=ws(n,e,2,r,dr(s,i));return J0(n,t,c,dr(s,o)),null!==c.attrs&&_h(c,c.attrs,!1),null!==c.mergedAttrs&&_h(c,c.mergedAttrs,!0),null!==n.queries&&n.queries.elementStart(n,c),c}(s,o,i,n,t,r):o.data[s],d=w4(o,i,c,u,n,e);i[s]=d;const f=Sf(c);return Br(c,!0),q1(u,d,c),!function Ka(e){return!(32&~e.flags)}(c)&&Bc()&&oh(o,i,d,c),0===function kk(){return de.lFrame.elementDepthCount}()&&fn(d,i),function xk(){de.lFrame.elementDepthCount++}(),f&&(K0(o,i,c),Y0(o,c,i)),null!==r&&X0(i,c),G}function U(){let e=qe();zg()?Wg():(e=e.parent,Br(e,!1));const n=e;(function Ok(e){return de.skipHydrationRootTNode===e})(n)&&function Vk(){de.skipHydrationRootTNode=null}(),function Nk(){de.lFrame.elementDepthCount--}();const t=ge();return t.firstCreatePass&&(kf(t,e),Fg(e)&&t.queries.elementEnd(e)),null!=n.classesWithoutHost&&function Xk(e){return!!(8&e.flags)}(n)&&qy(t,n,x(),n.classesWithoutHost,!0),null!=n.stylesWithoutHost&&function Qk(e){return!!(16&e.flags)}(n)&&qy(t,n,x(),n.stylesWithoutHost,!1),U}function He(e,n,t,r){return G(e,n,t,r),U(),He}let w4=(e,n,t,r,i,o)=>(gi(!0),rh(r,i,function nC(){return de.lFrame.currentNamespace}()));function mu(e,n,t){const r=x(),i=ge(),o=e+J,s=i.firstCreatePass?function hL(e,n,t,r,i){const o=n.consts,s=dr(o,r),u=ws(n,e,8,"ng-container",s);return null!==s&&_h(u,s,!0),J0(n,t,u,dr(o,i)),null!==n.queries&&n.queries.elementStart(n,u),u}(o,i,r,n,t):i.data[o];Br(s,!0);const u=C4(i,r,s,e);return r[o]=u,Bc()&&oh(i,r,u,s),fn(u,r),Sf(s)&&(K0(i,r,s),Y0(i,s,r)),null!=t&&X0(r,s),mu}function gu(){let e=qe();const n=ge();return zg()?Wg():(e=e.parent,Br(e,!1)),n.firstCreatePass&&(kf(n,e),Fg(e)&&n.queries.elementEnd(e)),gu}function yu(e,n,t){return mu(e,n,t),gu(),yu}let C4=(e,n,t,r)=>(gi(!0),B0(n[le],""));function sn(){return x()}function xh(e,n,t){const r=x();if(Mt(r,Hr(),n)){const o=ge(),s=tt();jn(o,s,r,e,n,aE(Zg(o.data),s,r),t,!0)}return xh}const Nh="en-US";let T4=Nh,$4=(e,n,t)=>{};function be(e,n,t,r){const i=x(),o=ge(),s=qe();return ev(o,i,i[le],s,e,n,r),be}function ev(e,n,t,r,i,o,s){const u=Sf(r),d=e.firstCreatePass&&function sE(e){return e.cleanup??=[]}(e),f=n[et],m=function oE(e){return e[Pa]??=[]}(n);let g=!0;if(3&r.type||s){const C=bn(r,n),S=s?s(C):C,I=m.length,T=s?L=>s(xe(L[r.index])):r.index;let R=null;if(!s&&u&&(R=function s6(e,n,t,r){const i=e.cleanup;if(null!=i)for(let o=0;o<i.length-1;o+=2){const s=i[o];if(s===t&&i[o+1]===r){const u=n[Pa],c=i[o+2];return u.length>c?u[c]:null}"string"==typeof s&&(o+=2)}return null}(e,n,i,r.index)),null!==R)(R.__ngLastListenerFn__||R).__ngNextListenerFn__=o,R.__ngLastListenerFn__=o,g=!1;else{o=Z4(r,n,f,o),$4(C,i,o);const L=t.listen(S,i,o);m.push(o,L),d&&d.push(i,T,I,I+1)}}else o=Z4(r,n,f,o);const y=r.outputs;let _;if(g&&null!==y&&(_=y[i])){const C=_.length;if(C)for(let S=0;S<C;S+=2){const j=n[_[S]][_[S+1]].subscribe(o),X=m.length;m.push(o,j),d&&d.push(i,r.index,X,-(X+1))}}}function q4(e,n,t,r){const i=ie(null);try{return mi(6,n,t),!1!==t(r)}catch(o){return ch(e,o),!1}finally{mi(7,n,t),ie(i)}}function Z4(e,n,t,r){return function i(o){if(o===Function)return r;sl(e.componentOffset>-1?Wn(e.index,n):n,5);let u=q4(n,t,r,o),c=i.__ngNextListenerFn__;for(;c;)u=q4(n,t,c,o)&&u,c=c.__ngNextListenerFn__;return u}}function Z(e=1){return function Uk(e){return(de.lFrame.contextLView=function Hw(e,n){for(;e>0;)n=n[Aa],e--;return n}(e,de.lFrame.contextLView))[et]}(e)}function a6(e,n){let t=null;const r=function WA(e){const n=e.attrs;if(null!=n){const t=n.indexOf(5);if(!(1&t))return n[t+1]}return null}(e);for(let i=0;i<n.length;i++){const o=n[i];if("*"!==o){if(null===r?mw(e,o,!0):YA(r,o))return i}else t=i}return t}function tv(e,n=0,t,r,i,o){const s=x(),u=ge(),c=r?e+1:null;null!==c&&wl(s,u,c,r,i,o,null,t);const d=ws(u,J+e,16,null,t||null);null===d.projection&&(d.projection=n),Wg();const m=!s[_n]||fs();null===s[mt][tn].projection[d.projection]&&null!==c?function u6(e,n,t){const r=J+t,i=n.data[r],o=e[r],s=Ds(o,i.tView.ssrId);Wa(o,za(e,i,void 0,{dehydratedView:s}),0,Cs(i,s))}(s,u,c):m&&32&~d.flags&&function o2(e,n,t){z1(n[le],0,n,t,U0(e,t,n),j1(t.parent||n[tn],t,n))}(u,s,d)}function rv(e,n,t,r){t>=e.data.length&&(e.data[t]=null,e.blueprint[t]=null),n[t]=r}function Lh(e){return ds(zw(),J+e)}function fe(e,n=""){const t=x(),r=ge(),i=e+J,o=r.firstCreatePass?ws(r,i,1,n,null):r.data[i],s=pS(r,t,o,n,e);t[i]=s,Bc()&&oh(r,t,s,o),Br(o,!1)}let pS=(e,n,t,r,i)=>(gi(!0),function j0(e,n){return e.createText(n)}(n[le],r));function Xt(e){return lt("",e,""),Xt}function lt(e,n,t){const r=x(),i=function ou(e,n,t,r){return Mt(e,Hr(),t)?n+W(t)+r:pe}(r,e,n,t);return i!==pe&&function $i(e,n,t){const r=Lc(n,e);!function N1(e,n,t){e.setValue(n,t)}(e[le],r,t)}(r,nn(),i),lt}function iv(e,n,t){sD(n)&&(n=n());const r=x();return Mt(r,Hr(),n)&&jn(ge(),tt(),r,e,n,r[le],t,!1),iv}function ov(e,n){const t=x(),r=ge(),i=qe();return ev(r,t,t[le],i,e,n),ov}const DS={};function hr(e){const n=ge(),t=x(),r=e+J;return Br(ws(n,r,128,null,null),!1),rv(n,t,r,DS),hr}function Hn(e){return Cn("NgLet"),rv(ge(),x(),nn(),e),e}function At(e){const t=ds(zw(),J+e);if(t===DS)throw new k(314,!1);return t}function sv(e,n,t,r,i){if(e=ae(e),Array.isArray(e))for(let o=0;o<e.length;o++)sv(e[o],n,t,r,i);else{const o=ge(),s=x(),u=qe();let c=us(e)?e:ae(e.provide);const d=Ew(e),f=1048575&u.providerIndexes,m=u.directiveStart,g=u.providerIndexes>>20;if(us(e)||!e.multi){const y=new Hc(d,i,P),_=uv(c,n,i?f:f+g,m);-1===_?(o0(Rf(u,s),o,c),av(o,e,n.length),n.push(c),u.directiveStart++,u.directiveEnd++,i&&(u.providerIndexes+=1048576),t.push(y),s.push(y)):(t[_]=y,s[_]=y)}else{const y=uv(c,n,f+g,m),_=uv(c,n,f,f+g),S=_>=0&&t[_];if(i&&!S||!i&&!(y>=0&&t[y])){o0(Rf(u,s),o,c);const I=function A6(e,n,t,r,i){const o=new Hc(e,t,P);return o.multi=[],o.index=n,o.componentProviders=0,SS(o,i,r&&!t),o}(i?P6:I6,t.length,i,r,d);!i&&S&&(t[_].providerFactory=I),av(o,e,n.length,0),n.push(c),u.directiveStart++,u.directiveEnd++,i&&(u.providerIndexes+=1048576),t.push(I),s.push(I)}else av(o,e,y>-1?y:_,SS(t[i?_:y],d,!i&&r));!i&&r&&S&&t[_].componentProviders++}}}function av(e,n,t,r){const i=us(n),o=function ok(e){return!!e.useClass}(n);if(i||o){const c=(o?ae(n.useClass):n).prototype.ngOnDestroy;if(c){const d=e.destroyHooks||(e.destroyHooks=[]);if(!i&&n.multi){const f=d.indexOf(t);-1===f?d.push(t,[r,c]):d[f+1].push(r,c)}else d.push(t,c)}}}function SS(e,n,t){return t&&e.componentProviders++,e.multi.push(n)-1}function uv(e,n,t,r){for(let i=t;i<r;i++)if(n[i]===e)return i;return-1}function I6(e,n,t,r){return cv(this.multi,[])}function P6(e,n,t,r){const i=this.multi;let o;if(this.providerFactory){const s=this.providerFactory.componentProviders,u=ms(t,t[B],this.providerFactory.index,r);o=u.slice(0,s),cv(i,o);for(let c=s;c<u.length;c++)o.push(u[c])}else o=[],cv(i,o);return o}function cv(e,n){for(let t=0;t<e.length;t++)n.push((0,e[t])());return n}function rt(e,n=[]){return t=>{t.providersResolver=(r,i)=>function M6(e,n,t){const r=ge();if(r.firstCreatePass){const i=Vr(e);sv(t,r.data,r.blueprint,i,!0),sv(n,r.data,r.blueprint,i,!1)}}(r,i?i(e):e,n)}}let k6=(()=>{class e{constructor(t){this._injector=t,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(t){if(!t.standalone)return null;if(!this.cachedInjectors.has(t)){const r=Tg(0,t.type),i=r.length>0?function CD(e,n,t=null){return new wD({providers:e,parent:n,debugName:t,runEnvironmentInitializers:!0}).injector}([r],this._injector,`Standalone[${t.type.name}]`):null;this.cachedInjectors.set(t,i)}return this.cachedInjectors.get(t)}ngOnDestroy(){try{for(const t of this.cachedInjectors.values())null!==t&&t.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=q({token:e,providedIn:"environment",factory:()=>new e(l(cr))})}return e})();function lv(e){Cn("NgStandalone"),e.getStandaloneInjector=n=>n.get(k6).getOrCreateStandaloneInjector(e)}function xl(e,n){const t=e[n];return t===pe?void 0:t}function AS(e,n,t,r,i,o){const s=n+t;return Mt(e,s,i)?Ei(e,s+1,o?r.call(o,i):r(i)):xl(e,s+1)}function kS(e,n,t,r,i,o,s){const u=n+t;return Is(e,u,i,o)?Ei(e,u+2,s?r.call(s,i,o):r(i,o)):xl(e,u+2)}function xS(e,n,t,r,i,o,s,u){const c=n+t;return function Eh(e,n,t,r,i){const o=Is(e,n,t,r);return Mt(e,n+2,i)||o}(e,c,i,o,s)?Ei(e,c+3,u?r.call(u,i,o,s):r(i,o,s)):xl(e,c+3)}function NS(e,n,t,r,i,o,s,u,c){const d=n+t;return function fr(e,n,t,r,i,o){const s=Is(e,n,t,r);return Is(e,n+2,i,o)||s}(e,d,i,o,s,u)?Ei(e,d+4,c?r.call(c,i,o,s,u):r(i,o,s,u)):xl(e,d+4)}function it(e,n){const t=ge();let r;const i=e+J;t.firstCreatePass?(r=function U6(e,n){if(n)for(let t=n.length-1;t>=0;t--){const r=n[t];if(e===r.name)return r}}(n,t.pipeRegistry),t.data[i]=r,r.onDestroy&&(t.destroyHooks??=[]).push(i,r.onDestroy)):r=t.data[i];const o=r.factory||(r.factory=vn(r.type)),u=Jt(P);try{const c=Of(!1),d=o();return Of(c),rv(t,x(),i,d),d}finally{Jt(u)}}function Nl(e,n,t){const r=e+J,i=x(),o=ds(i,r);return Ol(i,r)?AS(i,wn(),n,o.transform,t,o):o.transform(t)}function hn(e,n,t,r){const i=e+J,o=x(),s=ds(o,i);return Ol(o,i)?kS(o,wn(),n,s.transform,t,r,s):s.transform(t,r)}function _u(e,n,t,r,i){const o=e+J,s=x(),u=ds(s,o);return Ol(s,o)?xS(s,wn(),n,u.transform,t,r,i,u):u.transform(t,r,i)}function Ol(e,n){return e[B].data[n].pure}function Bh(e,n){return dh(e,n)}const tT=new $(""),Uh=new $("");let vv,gv=(()=>{class e{constructor(t,r,i){this._ngZone=t,this.registry=r,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,vv||(function VV(e){vv=e}(i),i.addToWindow(r)),this._watchAngularEvents(),t.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Re.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb()}});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(t)||(clearTimeout(r.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,r,i){let o=-1;r&&r>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==o),t()},r)),this._callbacks.push({doneCb:t,timeoutId:o,updateCb:i})}whenStable(t,r,i){if(i&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(t,r,i),this._runCallbacksIfReady()}registerApplication(t){this.registry.registerApplication(t,this)}unregisterApplication(t){this.registry.unregisterApplication(t)}findProviders(t,r,i){return[]}static#e=this.\u0275fac=function(r){return new(r||e)(l(Re),l(yv),l(Uh))};static#t=this.\u0275prov=q({token:e,factory:e.\u0275fac})}return e})(),yv=(()=>{class e{constructor(){this._applications=new Map}registerApplication(t,r){this._applications.set(t,r)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,r=!0){return vv?.findTestabilityInTree(this,t,r)??null}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function $h(e){return!!e&&"function"==typeof e.then}function nT(e){return!!e&&"function"==typeof e.subscribe}const rT=new $("");let iT=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,r)=>{this.resolve=t,this.reject=r}),this.appInits=p(rT,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const t=[];for(const i of this.appInits){const o=i();if($h(o))t.push(o);else if(nT(o)){const s=new Promise((u,c)=>{o.subscribe({complete:u,error:c})});t.push(s)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(t).then(()=>{r()}).catch(i=>{this.reject(i)}),0===t.length&&r(),this.initialized=!0}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const _v=new $("");function sT(e,n){return Array.isArray(n)?n.reduce(sT,e):{...e,...n}}let pr=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=p(Mx),this.afterRenderManager=p(AD),this.zonelessEnabled=p(ml),this.dirtyFlags=0,this.deferredDirtyFlags=0,this.externalTestViews=new Set,this.beforeRender=new bt,this.afterTick=new bt,this.componentTypes=[],this.components=[],this.isStable=p(gs).hasPendingTasks.pipe(St(t=>!t)),this._injector=p(cr)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let t;return new Promise(r=>{t=this.isStable.subscribe({next:i=>{i&&r()}})}).finally(()=>{t.unsubscribe()})}get injector(){return this._injector}bootstrap(t,r){const i=t instanceof VE;if(!this._injector.get(iT).done)throw!i&&function as(e){const n=ye(e)||$t(e)||en(e);return null!==n&&n.standalone}(t),new k(405,!1);let s;s=i?t:this._injector.get(Ss).resolveComponentFactory(t),this.componentTypes.push(s.componentType);const u=function jV(e){return e.isBoundToModule}(s)?void 0:this._injector.get(Ms),d=s.create(Ke.NULL,[],r||s.selector,u),f=d.location.nativeElement,m=d.injector.get(tT,null);return m?.registerApplication(f),d.onDestroy(()=>{this.detachView(d.hostView),zh(this.components,d),m?.unregisterApplication(f)}),this._loadComponent(d),d}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new k(101,!1);const t=ie(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,ie(t),this.afterTick.next()}}synchronize(){let t=null;this._injector.destroyed||(t=this._injector.get(yh,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let r=0;for(;0!==this.dirtyFlags&&r++<10;)this.synchronizeOnce(t)}synchronizeOnce(t){if(this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0,7&this.dirtyFlags){const r=!!(1&this.dirtyFlags);this.dirtyFlags&=-8,this.dirtyFlags|=8,this.beforeRender.next(r);for(let{_lView:i,notifyErrorHandler:o}of this._views)GV(i,o,r,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),7&this.dirtyFlags)return}else t?.begin?.(),t?.end?.();8&this.dirtyFlags&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){this.allViews.some(({_lView:t})=>Tf(t))?this.dirtyFlags|=2:this.dirtyFlags&=-8}attachView(t){const r=t;this._views.push(r),r.attachToAppRef(this)}detachView(t){const r=t;zh(this._views,r),r.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t);const r=this._injector.get(_v,[]);[...this._bootstrapListeners,...r].forEach(i=>i(t))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(t=>t()),this._views.slice().forEach(t=>t.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(t){return this._destroyListeners.push(t),()=>zh(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new k(406,!1);const t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function zh(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}function GV(e,n,t,r){(t||Tf(e))&&lh(e,n,t&&!r?0:1)}let WV=(()=>{class e{constructor(){this.zone=p(Re),this.changeDetectionScheduler=p(Za),this.applicationRef=p(pr)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function bv({ngZoneFactory:e,ignoreChangesOutsideZone:n,scheduleInRootZone:t}){return e??=()=>new Re({...wv(),scheduleInRootZone:t}),[{provide:Re,useFactory:e},{provide:fi,multi:!0,useFactory:()=>{const r=p(WV,{optional:!0});return()=>r.initialize()}},{provide:fi,multi:!0,useFactory:()=>{const r=p(ZV);return()=>{r.initialize()}}},!0===n?{provide:LE,useValue:!0}:[],{provide:yy,useValue:t??DC}]}function wv(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}let ZV=(()=>{class e{constructor(){this.subscription=new cn,this.initialized=!1,this.zone=p(Re),this.pendingTasks=p(gs)}initialize(){if(this.initialized)return;this.initialized=!0;let t=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(t=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{Re.assertNotInAngularZone(),queueMicrotask(()=>{null!==t&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(t),t=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Re.assertInAngularZone(),t??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Vl=(()=>{class e{constructor(){this.appRef=p(pr),this.taskService=p(gs),this.ngZone=p(Re),this.zonelessEnabled=p(ml),this.disableScheduling=p(LE,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new cn,this.angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Hf):null,this.scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(p(yy,{optional:!0})??!1),this.cancelScheduledCallback=null,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof f0||!this.zoneIsDefined)}notify(t){if(!this.zonelessEnabled&&5===t)return;switch(t){case 0:this.appRef.dirtyFlags|=2;break;case 3:case 2:case 4:case 5:case 1:this.appRef.dirtyFlags|=4;break;case 7:this.appRef.deferredDirtyFlags|=8;break;default:this.appRef.dirtyFlags|=8}if(!this.shouldScheduleTick())return;const r=this.useMicrotaskScheduler?TC:SC;this.pendingRenderTaskId=this.taskService.add(),this.cancelScheduledCallback=this.scheduleInRootZone?Zone.root.run(()=>r(()=>this.tick())):this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(){return!(this.disableScheduling||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Hf+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;!this.zonelessEnabled&&7&this.appRef.dirtyFlags&&(this.appRef.dirtyFlags|=1);const t=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){throw this.taskService.remove(t),r}finally{this.cleanup()}this.useMicrotaskScheduler=!0,TC(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(t)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){const t=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(t)}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Do=new $("",{providedIn:"root",factory:()=>p(Do,ve.Optional|ve.SkipSelf)||function YV(){return typeof $localize<"u"&&$localize.locale||Nh}()}),Ev=new $("");function qh(e){return!!e.platformInjector}let hT=(()=>{class e{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,r){const i=r?.scheduleInRootZone,s=r?.ignoreChangesOutsideZone,u=[bv({ngZoneFactory:()=>function Tx(e="zone.js",n){return"noop"===e?new f0:"zone.js"===e?new Re(n):e}(r?.ngZone,{...wv({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}),scheduleInRootZone:i}),ignoreChangesOutsideZone:s}),{provide:Za,useExisting:Vl}],c=function VR(e,n,t){return new Ay(e,n,t,!1)}(t.moduleType,this.injector,u);return function fT(e){const n=qh(e)?e.r3Injector:e.moduleRef.injector,t=n.get(Re);return t.run(()=>{qh(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();const r=n.get(vi,null);let i;if(t.runOutsideAngular(()=>{i=t.onError.subscribe({next:o=>{r.handleError(o)}})}),qh(e)){const o=()=>n.destroy(),s=e.platformInjector.get(Ev);s.add(o),n.onDestroy(()=>{i.unsubscribe(),s.delete(o)})}else e.moduleRef.onDestroy(()=>{zh(e.allPlatformModules,e.moduleRef),i.unsubscribe()});return function HV(e,n,t){try{const r=t();return $h(r)?r.catch(i=>{throw n.runOutsideAngular(()=>e.handleError(i)),i}):r}catch(r){throw n.runOutsideAngular(()=>e.handleError(r)),r}}(r,t,()=>{const o=n.get(iT);return o.runInitializers(),o.donePromise.then(()=>{if(function CL(e){"string"==typeof e&&(T4=e.toLowerCase().replace(/_/g,"-"))}(n.get(Do,Nh)||Nh),qh(e)){const u=n.get(pr);return void 0!==e.rootComponent&&u.bootstrap(e.rootComponent),u}return function t5(e,n){const t=e.injector.get(pr);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>t.bootstrap(r));else{if(!e.instance.ngDoBootstrap)throw new k(-403,!1);e.instance.ngDoBootstrap(t)}n.push(e)}(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}({moduleRef:c,allPlatformModules:this._modules})}bootstrapModule(t,r=[]){const i=sT({},r);return function zV(e,n,t){const r=new ky(t);return Promise.resolve(r)}(0,0,t).then(o=>this.bootstrapModuleFactory(o,i))}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new k(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const t=this._injector.get(Ev,null);t&&(t.forEach(r=>r()),t.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(r){return new(r||e)(l(Ke))};static#t=this.\u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),So=null;const pT=new $("");function mT(e,n,t=[]){const r=`Platform: ${n}`,i=new $(r);return(o=[])=>{let s=Dv();if(!s||s.injector.get(pT,!1)){const u=[...t,...o,{provide:i,useValue:!0}];e?e(u):function n5(e){if(So&&!So.get(pT,!1))throw new k(400,!1);(function oT(){!function Zs(e){zu=e}(()=>{throw new k(600,!1)})})(),So=e;const n=e.get(hT);(function yT(e){e.get(XC,null)?.forEach(t=>t())})(e)}(function gT(e=[],n){return Ke.create({name:n,providers:[{provide:Pg,useValue:"platform"},{provide:Ev,useValue:new Set([()=>So=null])},...e]})}(u,r))}return function r5(){const n=Dv();if(!n)throw new k(401,!1);return n}()}}function Dv(){return So?.get(hT)??null}let Cu=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=o5}return e})();function o5(e){return function s5(e,n,t){if(ls(e)&&!t){const r=Wn(e.index,n);return new al(r,r)}return 175&e.type?new al(n[mt],n):null}(qe(),x(),!(16&~e))}const v5=mT(null,"core",[]);let _5=(()=>{class e{constructor(t){}static#e=this.\u0275fac=function(r){return new(r||e)(l(pr))};static#t=this.\u0275mod=Ut({type:e});static#n=this.\u0275inj=Ct({})}return e})();const UT=new $("");function Ve(e,n){Cn("NgSignals");const t=function Tm(e){const n=Object.create($u);n.computation=e;const t=()=>{if(to(n),Sr(n),n.value===Vo)throw n.error;return n.value};return t[z]=n,t}(e);return n?.equal&&(t[z].equal=n.equal),t}function Zr(e){const n=ie(null);try{return e()}finally{ie(n)}}const X5=new $("",{providedIn:"root",factory:()=>p(Q5)});let Q5=(()=>{class e{static#e=this.\u0275prov=q({token:e,providedIn:"root",factory:()=>new J5})}return e})();class J5{constructor(){this.queuedEffectCount=0,this.queues=new Map,this.pendingTasks=p(gs),this.taskId=null}scheduleEffect(n){if(this.enqueue(n),null===this.taskId){const t=this.taskId=this.pendingTasks.add();queueMicrotask(()=>{this.flush(),this.pendingTasks.remove(t),this.taskId=null})}}enqueue(n){const t=n.creationZone;this.queues.has(t)||this.queues.set(t,new Set);const r=this.queues.get(t);r.has(n)||(this.queuedEffectCount++,r.add(n))}flush(){for(;this.queuedEffectCount>0;)for(const[n,t]of this.queues)null===n?this.flushQueue(t):n.run(()=>this.flushQueue(t))}flushQueue(n){for(const t of n)n.delete(t),this.queuedEffectCount--,t.run()}}class e9{constructor(n,t,r,i,o,s){this.scheduler=n,this.effectFn=t,this.creationZone=r,this.injector=o,this.watcher=function Im(e,n,t){const r=Object.create(Pm);t&&(r.consumerAllowSignalWrites=!0),r.fn=e,r.schedule=n;const i=c=>{r.cleanupFn=c};return r.ref={notify:()=>_e(r),run:()=>{if(null===r.fn)return;if(function me(){return Se}())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(r.dirty=!1,r.hasRun&&!Tr(r))return;r.hasRun=!0;const c=Ye(r);try{r.cleanupFn(),r.cleanupFn=Ai,r.fn(i)}finally{ft(r,c)}},cleanup:()=>r.cleanupFn(),destroy:()=>function s(c){(function o(c){return null===c.fn&&null===c.schedule})(c)||(no(c),c.cleanupFn(),c.fn=null,c.schedule=null,c.cleanupFn=Ai)}(r),[z]:r},r.ref}(u=>this.runEffect(u),()=>this.schedule(),s),this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}runEffect(n){try{this.effectFn(n)}catch(t){this.injector.get(vi,null,{optional:!0})?.handleError(t)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}}function Ov(e,n){Cn("NgSignals"),!n?.injector&&function Ng(e){if(!Dw())throw new k(-203,!1)}();const t=n?.injector??p(Ke),r=!0!==n?.manualCleanup?t.get($c):null,i=new e9(t.get(X5),e,typeof Zone>"u"?null:Zone.current,r,t,n?.allowSignalWrites??!1),o=t.get(Cu,null,{optional:!0});return o&&8&o._lView[oe]?(o._lView[Cf]??=[]).push(i.watcher.notify):i.watcher.notify(),i}let JT=null;function Gl(){return JT}class n9{}const an=new $("");function uM(e,n){n=encodeURIComponent(n);for(const t of e.split(";")){const r=t.indexOf("="),[i,o]=-1==r?[t,""]:[t.slice(0,r),t.slice(r+1)];if(i.trim()===n)return decodeURIComponent(o)}return null}const $v=/\s+/,cM=[];let zv=(()=>{class e{constructor(t,r){this._ngEl=t,this._renderer=r,this.initialClasses=cM,this.stateMap=new Map}set klass(t){this.initialClasses=null!=t?t.trim().split($v):cM}set ngClass(t){this.rawClass="string"==typeof t?t.trim().split($v):t}ngDoCheck(){for(const r of this.initialClasses)this._updateState(r,!0);const t=this.rawClass;if(Array.isArray(t)||t instanceof Set)for(const r of t)this._updateState(r,!0);else if(null!=t)for(const r of Object.keys(t))this._updateState(r,!!t[r]);this._applyStateDiff()}_updateState(t,r){const i=this.stateMap.get(t);void 0!==i?(i.enabled!==r&&(i.changed=!0,i.enabled=r),i.touched=!0):this.stateMap.set(t,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(const t of this.stateMap){const r=t[0],i=t[1];i.changed?(this._toggleClass(r,i.enabled),i.changed=!1):i.touched||(i.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),i.touched=!1}}_toggleClass(t,r){(t=t.trim()).length>0&&t.split($v).forEach(i=>{r?this._renderer.addClass(this._ngEl.nativeElement,i):this._renderer.removeClass(this._ngEl.nativeElement,i)})}static#e=this.\u0275fac=function(r){return new(r||e)(P(Ln),P(Ci))};static#t=this.\u0275dir=ce({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0})}return e})(),Wv=(()=>{class e{constructor(t){this._viewContainerRef=t,this.ngComponentOutlet=null,this._inputsUsed=new Map}_needToReCreateNgModuleInstance(t){return void 0!==t.ngComponentOutletNgModule||void 0!==t.ngComponentOutletNgModuleFactory}_needToReCreateComponentInstance(t){return void 0!==t.ngComponentOutlet||void 0!==t.ngComponentOutletContent||void 0!==t.ngComponentOutletInjector||this._needToReCreateNgModuleInstance(t)}ngOnChanges(t){if(this._needToReCreateComponentInstance(t)&&(this._viewContainerRef.clear(),this._inputsUsed.clear(),this._componentRef=void 0,this.ngComponentOutlet)){const r=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;this._needToReCreateNgModuleInstance(t)&&(this._moduleRef?.destroy(),this._moduleRef=this.ngComponentOutletNgModule?function LR(e,n){return new Ay(e,n??null,[])}(this.ngComponentOutletNgModule,lM(r)):this.ngComponentOutletNgModuleFactory?this.ngComponentOutletNgModuleFactory.create(lM(r)):void 0),this._componentRef=this._viewContainerRef.createComponent(this.ngComponentOutlet,{injector:r,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}ngDoCheck(){if(this._componentRef){if(this.ngComponentOutletInputs)for(const t of Object.keys(this.ngComponentOutletInputs))this._inputsUsed.set(t,!0);this._applyInputStateDiff(this._componentRef)}}ngOnDestroy(){this._moduleRef?.destroy()}_applyInputStateDiff(t){for(const[r,i]of this._inputsUsed)i?(t.setInput(r,this.ngComponentOutletInputs[r]),this._inputsUsed.set(r,!1)):(t.setInput(r,void 0),this._inputsUsed.delete(r))}static#e=this.\u0275fac=function(r){return new(r||e)(P(Gr))};static#t=this.\u0275dir=ce({type:e,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},standalone:!0,features:[jr]})}return e})();function lM(e){return e.get(Ms).injector}let pp=(()=>{class e{constructor(t,r){this._viewContainer=t,this._context=new $9,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){fM("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){fM("ngIfElse",t),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(t,r){return!0}static#e=this.\u0275fac=function(r){return new(r||e)(P(Gr),P(wi))};static#t=this.\u0275dir=ce({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return e})();class $9{constructor(){this.$implicit=null,this.ngIf=null}}function fM(e,n){if(n&&!n.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${wt(n)}'.`)}let pM=(()=>{class e{constructor(t){this._viewContainerRef=t,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(t){if(this._shouldRecreateView(t)){const r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const i=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,i,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(t){return!!t.ngTemplateOutlet||!!t.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(t,r,i)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,r,i),get:(t,r,i)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,i)}})}static#e=this.\u0275fac=function(r){return new(r||e)(P(Gr))};static#t=this.\u0275dir=ce({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[jr]})}return e})();let Xv=(()=>{class e{transform(t,r,i){if(null==t)return null;if(!this.supports(t))throw function Kr(e,n){return new k(2100,!1)}();return t.slice(r,i)}supports(t){return"string"==typeof t||Array.isArray(t)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275pipe=Nt({name:"slice",type:e,pure:!1,standalone:!0})}return e})(),Qv=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Ut({type:e});static#n=this.\u0275inj=Ct({})}return e})();const gM="browser";function yM(e){return"server"===e}class vM{}class qj extends n9{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class n_ extends qj{static makeCurrent(){!function t9(e){JT??=e}(new n_)}onAndCancel(n,t,r){return n.addEventListener(t,r),()=>{n.removeEventListener(t,r)}}dispatchEvent(n,t){n.dispatchEvent(t)}remove(n){n.remove()}createElement(n,t){return(t=t||this.getDefaultDocument()).createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,t){return"window"===t?window:"document"===t?n:"body"===t?n.body:null}getBaseHref(n){const t=function Zj(){return Wl=Wl||document.querySelector("base"),Wl?Wl.getAttribute("href"):null}();return null==t?null:function Yj(e){return new URL(e,document.baseURI).pathname}(t)}resetBaseElement(){Wl=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return uM(document.cookie,n)}}let Wl=null,Xj=(()=>{class e{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=q({token:e,factory:e.\u0275fac})}return e})();const vp=new $("");let IM=(()=>{class e{constructor(t,r){this._zone=r,this._eventNameToPlugin=new Map,t.forEach(i=>{i.manager=this}),this._plugins=t.slice().reverse()}addEventListener(t,r,i){return this._findPluginFor(r).addEventListener(t,r,i)}getZone(){return this._zone}_findPluginFor(t){let r=this._eventNameToPlugin.get(t);if(r)return r;if(r=this._plugins.find(o=>o.supports(t)),!r)throw new k(5101,!1);return this._eventNameToPlugin.set(t,r),r}static#e=this.\u0275fac=function(r){return new(r||e)(l(vp),l(Re))};static#t=this.\u0275prov=q({token:e,factory:e.\u0275fac})}return e})();class r_{constructor(n){this._doc=n}}const i_="ng-app-id";let PM=(()=>{class e{constructor(t,r,i,o={}){this.doc=t,this.appId=r,this.nonce=i,this.platformId=o,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=yM(o),this.resetHostNodes()}addStyles(t){for(const r of t)1===this.changeUsageCount(r,1)&&this.onStyleAdded(r)}removeStyles(t){for(const r of t)this.changeUsageCount(r,-1)<=0&&this.onStyleRemoved(r)}ngOnDestroy(){const t=this.styleNodesInDOM;t&&(t.forEach(r=>r.remove()),t.clear());for(const r of this.getAllStyles())this.onStyleRemoved(r);this.resetHostNodes()}addHost(t){this.hostNodes.add(t);for(const r of this.getAllStyles())this.addStyleToHost(t,r)}removeHost(t){this.hostNodes.delete(t)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(t){for(const r of this.hostNodes)this.addStyleToHost(r,t)}onStyleRemoved(t){const r=this.styleRef;r.get(t)?.elements?.forEach(i=>i.remove()),r.delete(t)}collectServerRenderedStyles(){const t=this.doc.head?.querySelectorAll(`style[${i_}="${this.appId}"]`);if(t?.length){const r=new Map;return t.forEach(i=>{null!=i.textContent&&r.set(i.textContent,i)}),r}return null}changeUsageCount(t,r){const i=this.styleRef;if(i.has(t)){const o=i.get(t);return o.usage+=r,o.usage}return i.set(t,{usage:r,elements:[]}),r}getStyleElement(t,r){const i=this.styleNodesInDOM,o=i?.get(r);if(o?.parentNode===t)return i.delete(r),o.removeAttribute(i_),o;{const s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=r,this.platformIsServer&&s.setAttribute(i_,this.appId),t.appendChild(s),s}}addStyleToHost(t,r){const i=this.getStyleElement(t,r),o=this.styleRef,s=o.get(r)?.elements;s?s.push(i):o.set(r,{elements:[i],usage:1})}resetHostNodes(){const t=this.hostNodes;t.clear(),t.add(this.doc.head)}static#e=this.\u0275fac=function(r){return new(r||e)(l(an),l(ja),l(JC,8),l(Gi))};static#t=this.\u0275prov=q({token:e,factory:e.\u0275fac})}return e})();const o_={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},s_=/%COMP%/g,t8=new $("",{providedIn:"root",factory:()=>!0});function kM(e,n){return n.map(t=>t.replace(s_,e))}let a_=(()=>{class e{constructor(t,r,i,o,s,u,c,d=null){this.eventManager=t,this.sharedStylesHost=r,this.appId=i,this.removeStylesOnCompDestroy=o,this.doc=s,this.platformId=u,this.ngZone=c,this.nonce=d,this.rendererByCompId=new Map,this.platformIsServer=yM(u),this.defaultRenderer=new u_(t,s,c,this.platformIsServer)}createRenderer(t,r){if(!t||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===Rr.ShadowDom&&(r={...r,encapsulation:Rr.Emulated});const i=this.getOrCreateRenderer(t,r);return i instanceof NM?i.applyToHost(t):i instanceof c_&&i.applyStyles(),i}getOrCreateRenderer(t,r){const i=this.rendererByCompId;let o=i.get(r.id);if(!o){const s=this.doc,u=this.ngZone,c=this.eventManager,d=this.sharedStylesHost,f=this.removeStylesOnCompDestroy,m=this.platformIsServer;switch(r.encapsulation){case Rr.Emulated:o=new NM(c,d,r,this.appId,f,s,u,m);break;case Rr.ShadowDom:return new o8(c,d,t,r,s,u,this.nonce,m);default:o=new c_(c,d,r,f,s,u,m)}i.set(r.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(r){return new(r||e)(l(IM),l(PM),l(ja),l(t8),l(an),l(Gi),l(Re),l(JC))};static#t=this.\u0275prov=q({token:e,factory:e.\u0275fac})}return e})();class u_{constructor(n,t,r,i){this.eventManager=n,this.doc=t,this.ngZone=r,this.platformIsServer=i,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(n,t){return t?this.doc.createElementNS(o_[t]||t,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,t){(xM(n)?n.content:n).appendChild(t)}insertBefore(n,t,r){n&&(xM(n)?n.content:n).insertBefore(t,r)}removeChild(n,t){t.remove()}selectRootElement(n,t){let r="string"==typeof n?this.doc.querySelector(n):n;if(!r)throw new k(-5104,!1);return t||(r.textContent=""),r}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,t,r,i){if(i){t=i+":"+t;const o=o_[i];o?n.setAttributeNS(o,t,r):n.setAttribute(t,r)}else n.setAttribute(t,r)}removeAttribute(n,t,r){if(r){const i=o_[r];i?n.removeAttributeNS(i,t):n.removeAttribute(`${r}:${t}`)}else n.removeAttribute(t)}addClass(n,t){n.classList.add(t)}removeClass(n,t){n.classList.remove(t)}setStyle(n,t,r,i){i&(bo.DashCase|bo.Important)?n.style.setProperty(t,r,i&bo.Important?"important":""):n.style[t]=r}removeStyle(n,t,r){r&bo.DashCase?n.style.removeProperty(t):n.style[t]=""}setProperty(n,t,r){null!=n&&(n[t]=r)}setValue(n,t){n.nodeValue=t}listen(n,t,r){if("string"==typeof n&&!(n=Gl().getGlobalEventTarget(this.doc,n)))throw new Error(`Unsupported event target ${n} for event ${t}`);return this.eventManager.addEventListener(n,t,this.decoratePreventDefault(r))}decoratePreventDefault(n){return t=>{if("__ngUnwrap__"===t)return n;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>n(t)):n(t))&&t.preventDefault()}}}function xM(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class o8 extends u_{constructor(n,t,r,i,o,s,u,c){super(n,o,s,c),this.sharedStylesHost=t,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const d=kM(i.id,i.styles);for(const f of d){const m=document.createElement("style");u&&m.setAttribute("nonce",u),m.textContent=f,this.shadowRoot.appendChild(m)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,t){return super.appendChild(this.nodeOrShadowRoot(n),t)}insertBefore(n,t,r){return super.insertBefore(this.nodeOrShadowRoot(n),t,r)}removeChild(n,t){return super.removeChild(null,t)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class c_ extends u_{constructor(n,t,r,i,o,s,u,c){super(n,o,s,u),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=i,this.styles=c?kM(c,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class NM extends c_{constructor(n,t,r,i,o,s,u,c){const d=i+"-"+r.id;super(n,t,r,o,s,u,c,d),this.contentAttr=function n8(e){return"_ngcontent-%COMP%".replace(s_,e)}(d),this.hostAttr=function r8(e){return"_nghost-%COMP%".replace(s_,e)}(d)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,t){const r=super.createElement(n,t);return super.setAttribute(r,this.contentAttr,""),r}}let s8=(()=>{class e extends r_{constructor(t){super(t)}supports(t){return!0}addEventListener(t,r,i){return t.addEventListener(r,i,!1),()=>this.removeEventListener(t,r,i)}removeEventListener(t,r,i){return t.removeEventListener(r,i)}static#e=this.\u0275fac=function(r){return new(r||e)(l(an))};static#t=this.\u0275prov=q({token:e,factory:e.\u0275fac})}return e})(),a8=(()=>{class e extends r_{constructor(t){super(t),this.delegate=p(UT,{optional:!0})}supports(t){return!!this.delegate&&this.delegate.supports(t)}addEventListener(t,r,i){return this.delegate.addEventListener(t,r,i)}removeEventListener(t,r,i){return this.delegate.removeEventListener(t,r,i)}static#e=this.\u0275fac=function(r){return new(r||e)(l(an))};static#t=this.\u0275prov=q({token:e,factory:e.\u0275fac})}return e})();const OM=["alt","control","meta","shift"],u8={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},c8={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let l8=(()=>{class e extends r_{constructor(t){super(t)}supports(t){return null!=e.parseEventName(t)}addEventListener(t,r,i){const o=e.parseEventName(r),s=e.eventCallback(o.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Gl().onAndCancel(t,o.domEventName,s))}static parseEventName(t){const r=t.toLowerCase().split("."),i=r.shift();if(0===r.length||"keydown"!==i&&"keyup"!==i)return null;const o=e._normalizeKey(r.pop());let s="",u=r.indexOf("code");if(u>-1&&(r.splice(u,1),s="code."),OM.forEach(d=>{const f=r.indexOf(d);f>-1&&(r.splice(f,1),s+=d+".")}),s+=o,0!=r.length||0===o.length)return null;const c={};return c.domEventName=i,c.fullKey=s,c}static matchEventFullKeyCode(t,r){let i=u8[t.key]||t.key,o="";return r.indexOf("code.")>-1&&(i=t.code,o="code."),!(null==i||!i)&&(i=i.toLowerCase()," "===i?i="space":"."===i&&(i="dot"),OM.forEach(s=>{s!==i&&(0,c8[s])(t)&&(o+=s+".")}),o+=i,o===r)}static eventCallback(t,r,i){return o=>{e.matchEventFullKeyCode(o,t)&&i.runGuarded(()=>r(o))}}static _normalizeKey(t){return"esc"===t?"escape":t}static#e=this.\u0275fac=function(r){return new(r||e)(l(an))};static#t=this.\u0275prov=q({token:e,factory:e.\u0275fac})}return e})();const p8=mT(v5,"browser",[{provide:Gi,useValue:gM},{provide:XC,useValue:function d8(){n_.makeCurrent()},multi:!0},{provide:an,useFactory:function h8(){return function Yx(e){v0=e}(document),document},deps:[]}]),m8=new $(""),LM=[{provide:Uh,useClass:class Kj{addToWindow(n){Ze.getAngularTestability=(r,i=!0)=>{const o=n.findTestabilityInTree(r,i);if(null==o)throw new k(5103,!1);return o},Ze.getAllAngularTestabilities=()=>n.getAllTestabilities(),Ze.getAllAngularRootElements=()=>n.getAllRootElements(),Ze.frameworkStabilizers||(Ze.frameworkStabilizers=[]),Ze.frameworkStabilizers.push(r=>{const i=Ze.getAllAngularTestabilities();let o=i.length;const s=function(){o--,0==o&&r()};i.forEach(u=>{u.whenStable(s)})})}findTestabilityInTree(n,t,r){return null==t?null:n.getTestability(t)??(r?Gl().isShadowRoot(t)?this.findTestabilityInTree(n,t.host,!0):this.findTestabilityInTree(n,t.parentElement,!0):null)}},deps:[]},{provide:tT,useClass:gv,deps:[Re,yv,Uh]},{provide:gv,useClass:gv,deps:[Re,yv,Uh]}],VM=[{provide:Pg,useValue:"root"},{provide:vi,useFactory:function f8(){return new vi},deps:[]},{provide:vp,useClass:s8,multi:!0,deps:[an,Re,Gi]},{provide:vp,useClass:l8,multi:!0,deps:[an]},{provide:vp,useClass:a8,multi:!0},a_,PM,IM,{provide:yh,useExisting:a_},{provide:vM,useClass:Xj,deps:[]},[]];let _p=(()=>{class e{constructor(t){}static withServerTransition(t){return{ngModule:e,providers:[{provide:ja,useValue:t.appId}]}}static#e=this.\u0275fac=function(r){return new(r||e)(l(m8,12))};static#t=this.\u0275mod=Ut({type:e});static#n=this.\u0275inj=Ct({providers:[...VM,...LM],imports:[Qv,_5]})}return e})(),l_=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=q({token:e,factory:function(r){let i=null;return i=r?new(r||e):l(_8),i},providedIn:"root"})}return e})(),_8=(()=>{class e extends l_{constructor(t){super(),this._doc=t}sanitize(t,r){if(null==r)return null;switch(t){case Zn.NONE:return r;case Zn.HTML:return _i(r,"HTML")?qn(r):C1(this._doc,String(r)).toString();case Zn.STYLE:return _i(r,"Style")?qn(r):r;case Zn.SCRIPT:if(_i(r,"Script"))return qn(r);throw new k(5200,!1);case Zn.URL:return _i(r,"URL")?qn(r):Jf(String(r));case Zn.RESOURCE_URL:if(_i(r,"ResourceURL"))return qn(r);throw new k(5201,!1);default:throw new k(5202,!1)}}bypassSecurityTrustHtml(t){return function gN(e){return new lN(e)}(t)}bypassSecurityTrustStyle(t){return function yN(e){return new dN(e)}(t)}bypassSecurityTrustScript(t){return function vN(e){return new fN(e)}(t)}bypassSecurityTrustUrl(t){return function _N(e){return new hN(e)}(t)}bypassSecurityTrustResourceUrl(t){return function bN(e){return new pN(e)}(t)}static#e=this.\u0275fac=function(r){return new(r||e)(l(an))};static#t=this.\u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const d_={now:()=>(d_.delegate||Date).now(),delegate:void 0};class b8 extends bt{constructor(n=1/0,t=1/0,r=d_){super(),this._bufferSize=n,this._windowTime=t,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=t===1/0,this._bufferSize=Math.max(1,n),this._windowTime=Math.max(1,t)}next(n){const{isStopped:t,_buffer:r,_infiniteTimeWindow:i,_timestampProvider:o,_windowTime:s}=this;t||(r.push(n),!i&&r.push(o.now()+s)),this._trimBuffer(),super.next(n)}_subscribe(n){this._throwIfClosed(),this._trimBuffer();const t=this._innerSubscribe(n),{_infiniteTimeWindow:r,_buffer:i}=this,o=i.slice();for(let s=0;s<o.length&&!n.closed;s+=r?1:2)n.next(o[s]);return this._checkFinalizedStatuses(n),t}_trimBuffer(){const{_bufferSize:n,_timestampProvider:t,_buffer:r,_infiniteTimeWindow:i}=this,o=(i?1:2)*n;if(n<1/0&&o<r.length&&r.splice(0,r.length-o),!i){const s=t.now();let u=0;for(let c=1;c<r.length&&r[c]<=s;c+=2)u=c;u&&r.splice(0,u+1)}}}var wp=function(){return wp=Object.assign||function(n){for(var t,r=1,i=arguments.length;r<i;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(n[o]=t[o]);return n},wp.apply(this,arguments)};function yr(e,n,t,r){return new(t||(t=Promise))(function(o,s){function u(f){try{d(r.next(f))}catch(m){s(m)}}function c(f){try{d(r.throw(f))}catch(m){s(m)}}function d(f){f.done?o(f.value):function i(o){return o instanceof t?o:new t(function(s){s(o)})}(f.value).then(u,c)}d((r=r.apply(e,n||[])).next())})}function Xr(e,n){var r,i,o,s,t={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return s={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function u(d){return function(f){return function c(d){if(r)throw new TypeError("Generator is already executing.");for(;s&&(s=0,d[0]&&(t=0)),t;)try{if(r=1,i&&(o=2&d[0]?i.return:d[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,d[1])).done)return o;switch(i=0,o&&(d=[2&d[0],o.value]),d[0]){case 0:case 1:o=d;break;case 4:return t.label++,{value:d[1],done:!1};case 5:t.label++,i=d[1],d=[0];continue;case 7:d=t.ops.pop(),t.trys.pop();continue;default:if(!(o=(o=t.trys).length>0&&o[o.length-1])&&(6===d[0]||2===d[0])){t=0;continue}if(3===d[0]&&(!o||d[1]>o[0]&&d[1]<o[3])){t.label=d[1];break}if(6===d[0]&&t.label<o[1]){t.label=o[1],o=d;break}if(o&&t.label<o[2]){t.label=o[2],t.ops.push(d);break}o[2]&&t.ops.pop(),t.trys.pop();continue}d=n.call(e,t)}catch(f){d=[6,f],i=0}finally{r=o=0}if(5&d[0])throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}([d,f])}}}function m_(e,n,t){if(t||2===arguments.length)for(var o,r=0,i=n.length;r<i;r++)(o||!(r in n))&&(o||(o=Array.prototype.slice.call(n,0,r)),o[r]=n[r]);return e.concat(o||Array.prototype.slice.call(n))}function To(e){return this instanceof To?(this.v=e,this):new To(e)}function UM(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=function p_(e){var n="function"==typeof Symbol&&Symbol.iterator,t=n&&e[n],r=0;if(t)return t.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(o){t[o]=e[o]&&function(s){return new Promise(function(u,c){!function i(o,s,u,c){Promise.resolve(c).then(function(d){o({value:d,done:u})},s)}(u,c,(s=e[o](s)).done,s.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const $M=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function zM(e){return Je(e?.then)}function WM(e){return Je(e[ra])}function qM(e){return Symbol.asyncIterator&&Je(e?.[Symbol.asyncIterator])}function ZM(e){return new TypeError(`You provided ${null!==e&&"object"==typeof e?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const YM=function B8(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function KM(e){return Je(e?.[YM])}function XM(e){return function GM(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i,r=t.apply(e,n||[]),o=[];return i={},u("next"),u("throw"),u("return",function s(y){return function(_){return Promise.resolve(_).then(y,m)}}),i[Symbol.asyncIterator]=function(){return this},i;function u(y,_){r[y]&&(i[y]=function(C){return new Promise(function(S,I){o.push([y,C,S,I])>1||c(y,C)})},_&&(i[y]=_(i[y])))}function c(y,_){try{!function d(y){y.value instanceof To?Promise.resolve(y.value.v).then(f,m):g(o[0][2],y)}(r[y](_))}catch(C){g(o[0][3],C)}}function f(y){c("next",y)}function m(y){c("throw",y)}function g(y,_){y(_),o.shift(),o.length&&c(o[0][0],o[0][1])}}(this,arguments,function*(){const t=e.getReader();try{for(;;){const{value:r,done:i}=yield To(t.read());if(i)return yield To(void 0);yield yield To(r)}}finally{t.releaseLock()}})}function QM(e){return Je(e?.getReader)}function Qr(e){if(e instanceof _t)return e;if(null!=e){if(WM(e))return function H8(e){return new _t(n=>{const t=e[ra]();if(Je(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if($M(e))return function G8(e){return new _t(n=>{for(let t=0;t<e.length&&!n.closed;t++)n.next(e[t]);n.complete()})}(e);if(zM(e))return function U8(e){return new _t(n=>{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,bd)})}(e);if(qM(e))return JM(e);if(KM(e))return function $8(e){return new _t(n=>{for(const t of e)if(n.next(t),n.closed)return;n.complete()})}(e);if(QM(e))return function z8(e){return JM(XM(e))}(e)}throw ZM(e)}function JM(e){return new _t(n=>{(function W8(e,n){var t,r,i,o;return yr(this,void 0,void 0,function*(){try{for(t=UM(e);!(r=yield t.next()).done;)if(n.next(r.value),n.closed)return}catch(s){i={error:s}}finally{try{r&&!r.done&&(o=t.return)&&(yield o.call(t))}finally{if(i)throw i.error}}n.complete()})})(e,n).catch(t=>n.error(t))})}function Mo(e,n,t,r=0,i=!1){const o=n.schedule(function(){t(),i?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(o),!i)return o}function Cp(e,n,t=1/0){return Je(n)?Cp((r,i)=>St((o,s)=>n(r,o,i,s))(Qr(e(r,i))),t):("number"==typeof n&&(t=n),mn((r,i)=>function q8(e,n,t,r,i,o,s,u){const c=[];let d=0,f=0,m=!1;const g=()=>{m&&!c.length&&!d&&n.complete()},y=C=>d<r?_(C):c.push(C),_=C=>{o&&n.next(C),d++;let S=!1;Qr(t(C,f++)).subscribe(Kt(n,I=>{i?.(I),o?y(I):n.next(I)},()=>{S=!0},void 0,()=>{if(S)try{for(d--;c.length&&d<r;){const I=c.shift();s?Mo(n,s,()=>_(I)):_(I)}g()}catch(I){n.error(I)}}))};return e.subscribe(Kt(n,y,()=>{m=!0,g()})),()=>{u?.()}}(r,i,e,t)))}function eI(e=1/0){return Cp(Ho,e)}const tI=new _t(e=>e.complete());function nI(e){return e&&Je(e.schedule)}function g_(e){return e[e.length-1]}function Ep(e){return nI(g_(e))?e.pop():void 0}function rI(e,n=0){return mn((t,r)=>{t.subscribe(Kt(r,i=>Mo(r,e,()=>r.next(i),n),()=>Mo(r,e,()=>r.complete(),n),i=>Mo(r,e,()=>r.error(i),n)))})}function iI(e,n=0){return mn((t,r)=>{r.add(e.schedule(()=>t.subscribe(r),n))})}function oI(e,n){if(!e)throw new Error("Iterable cannot be null");return new _t(t=>{Mo(t,n,()=>{const r=e[Symbol.asyncIterator]();Mo(t,n,()=>{r.next().then(i=>{i.done?t.complete():t.next(i.value)})},0,!0)})})}function Io(e,n){return n?function nB(e,n){if(null!=e){if(WM(e))return function X8(e,n){return Qr(e).pipe(iI(n),rI(n))}(e,n);if($M(e))return function J8(e,n){return new _t(t=>{let r=0;return n.schedule(function(){r===e.length?t.complete():(t.next(e[r++]),t.closed||this.schedule())})})}(e,n);if(zM(e))return function Q8(e,n){return Qr(e).pipe(iI(n),rI(n))}(e,n);if(qM(e))return oI(e,n);if(KM(e))return function eB(e,n){return new _t(t=>{let r;return Mo(t,n,()=>{r=e[YM](),Mo(t,n,()=>{let i,o;try{({value:i,done:o}=r.next())}catch(s){return void t.error(s)}o?t.complete():t.next(i)},0,!0)}),()=>Je(r?.return)&&r.return()})}(e,n);if(QM(e))return function tB(e,n){return oI(XM(e),n)}(e,n)}throw ZM(e)}(e,n):Qr(e)}function sI(e,n){return mn((t,r)=>{let i=null,o=0,s=!1;const u=()=>s&&!i&&r.complete();t.subscribe(Kt(r,c=>{i?.unsubscribe();let d=0;const f=o++;Qr(e(c,f)).subscribe(i=Kt(r,m=>r.next(n?n(c,m,f,d++):m),()=>{i=null,u()}))},()=>{s=!0,u()}))})}const Dp={schedule(e,n){const t=setTimeout(e,n);return()=>clearTimeout(t)},scheduleBeforeRender(e){if(typeof window>"u")return Dp.schedule(e,0);if(typeof window.requestAnimationFrame>"u")return Dp.schedule(e,16);const n=window.requestAnimationFrame(e);return()=>window.cancelAnimationFrame(n)}};let y_;function fB(e,n,t){let r=t;return function oB(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}(e)&&n.some((i,o)=>!("*"===i||!function aB(e,n){if(!y_){const t=Element.prototype;y_=t.matches||t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE&&y_.call(e,n)}(e,i)||(r=o,0))),r}class pB{constructor(n,t){this.componentFactory=t.get(Ss).resolveComponentFactory(n)}create(n){return new mB(this.componentFactory,n)}}class mB{constructor(n,t){this.componentFactory=n,this.injector=t,this.eventEmitters=new b8(1),this.events=this.eventEmitters.pipe(sI(r=>function rB(...e){const n=Ep(e),t=function K8(e,n){return"number"==typeof g_(e)?e.pop():n}(e,1/0),r=e;return r.length?1===r.length?Qr(r[0]):eI(t)(Io(r,n)):tI}(...r))),this.componentRef=null,this.viewChangeDetectorRef=null,this.inputChanges=null,this.hasInputChanges=!1,this.implementsOnChanges=!1,this.scheduledChangeDetectionFn=null,this.scheduledDestroyFn=null,this.initialInputValues=new Map,this.unchangedInputs=new Set(this.componentFactory.inputs.map(({propName:r})=>r)),this.ngZone=this.injector.get(Re),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(n){this.runInZone(()=>{if(null!==this.scheduledDestroyFn)return this.scheduledDestroyFn(),void(this.scheduledDestroyFn=null);null===this.componentRef&&this.initializeComponent(n)})}disconnect(){this.runInZone(()=>{null===this.componentRef||null!==this.scheduledDestroyFn||(this.scheduledDestroyFn=Dp.schedule(()=>{null!==this.componentRef&&(this.componentRef.destroy(),this.componentRef=null,this.viewChangeDetectorRef=null)},10))})}getInputValue(n){return this.runInZone(()=>null===this.componentRef?this.initialInputValues.get(n):this.componentRef.instance[n])}setInputValue(n,t,r){this.runInZone(()=>{r&&(t=r.call(this.componentRef?.instance,t)),null!==this.componentRef?function uB(e,n){return e===n||e!=e&&n!=n}(t,this.getInputValue(n))&&(void 0!==t||!this.unchangedInputs.has(n))||(this.recordInputChange(n,t),this.unchangedInputs.delete(n),this.hasInputChanges=!0,this.componentRef.instance[n]=t,this.scheduleDetectChanges()):this.initialInputValues.set(n,t)})}initializeComponent(n){const t=Ke.create({providers:[],parent:this.injector}),r=function dB(e,n){const t=e.childNodes,r=n.map(()=>[]);let i=-1;n.some((o,s)=>"*"===o&&(i=s,!0));for(let o=0,s=t.length;o<s;++o){const u=t[o],c=fB(u,n,i);-1!==c&&r[c].push(u)}return r}(n,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(t,r,n),this.viewChangeDetectorRef=this.componentRef.injector.get(Cu),this.implementsOnChanges=function sB(e){return"function"==typeof e}(this.componentRef.instance.ngOnChanges),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.detectChanges(),this.injector.get(pr).attachView(this.componentRef.hostView)}initializeInputs(){this.componentFactory.inputs.forEach(({propName:n,transform:t})=>{this.initialInputValues.has(n)&&this.setInputValue(n,this.initialInputValues.get(n),t)}),this.initialInputValues.clear()}initializeOutputs(n){const t=this.componentFactory.outputs.map(({propName:r,templateName:i})=>n.instance[r].pipe(St(s=>({name:i,value:s}))));this.eventEmitters.next(t)}callNgOnChanges(n){if(!this.implementsOnChanges||null===this.inputChanges)return;const t=this.inputChanges;this.inputChanges=null,n.instance.ngOnChanges(t)}markViewForCheck(n){this.hasInputChanges&&(this.hasInputChanges=!1,n.markForCheck())}scheduleDetectChanges(){this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=Dp.scheduleBeforeRender(()=>{this.scheduledChangeDetectionFn=null,this.detectChanges()}))}recordInputChange(n,t){if(!this.implementsOnChanges)return;null===this.inputChanges&&(this.inputChanges={});const r=this.inputChanges[n];if(r)return void(r.currentValue=t);const i=this.unchangedInputs.has(n),o=i?void 0:this.getInputValue(n);this.inputChanges[n]=new xw(o,t,i)}detectChanges(){null!==this.componentRef&&(this.callNgOnChanges(this.componentRef),this.markViewForCheck(this.viewChangeDetectorRef),this.componentRef.changeDetectorRef.detectChanges())}runInZone(n){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(n):n()}}class gB extends HTMLElement{constructor(){super(...arguments),this.ngElementEventsSubscription=null}}class gt{constructor(n,t){this.type=n,this.payload=t}}const Jn={phoneNumber:{length:{min:4,max:30}},card:{code:{lengths:{"american-express":[3,4]}},number:{length:{min:13,max:19}},holder:{length:{min:1,max:128}}},keys:{apmsCollapse:"apms-collapse"}};function aI(e,n,t,r,i,o,s){try{var u=e[o](s),c=u.value}catch(d){return void t(d)}u.done?n(c):Promise.resolve(c).then(r,i)}function Su(e){return function(){var n=this,t=arguments;return new Promise(function(r,i){var o=e.apply(n,t);function s(c){aI(o,r,i,s,u,"next",c)}function u(c){aI(o,r,i,s,u,"throw",c)}s(void 0)})}}function Sp(e,n){return new Promise(function(t){return setTimeout(t,e,n)})}function Tp(e){return!!e&&"function"==typeof e.then}function cI(e,n){try{var t=e();Tp(t)?t.then(function(r){return n(!0,r)},function(r){return n(!1,r)}):n(!0,t)}catch(r){n(!1,r)}}function lI(e,n,t){return void 0===t&&(t=16),yr(this,void 0,void 0,function(){var r,i,o,s;return Xr(this,function(u){switch(u.label){case 0:r=Array(e.length),i=Date.now(),o=0,u.label=1;case 1:return o<e.length?(r[o]=n(e[o],o),(s=Date.now())>=i+t?(i=s,[4,new Promise(function(e){var n=new MessageChannel;n.port1.onmessage=function(){return e()},n.port2.postMessage(null)})]):[3,3]):[3,4];case 2:u.sent(),u.label=3;case 3:return++o,[3,1];case 4:return[2,r]}})})}function ql(e){return e.then(void 0,function(){}),e}function v_(e){return parseInt(e)}function Jr(e){return parseFloat(e)}function Yi(e,n){return"number"==typeof e&&isNaN(e)?n:e}function Tn(e){return e.reduce(function(n,t){return n+(t?1:0)},0)}function dI(e,n){if(void 0===n&&(n=1),Math.abs(n)>=1)return Math.round(e/n)*n;var t=1/n;return Math.round(e*t)/t}function Po(e,n){var f=0,m=0,g=0,y=0;g+=(y+=(65535&e[1])+(65535&n[1]))>>>16,y&=65535,m+=(g+=(e[1]>>>16)+(n[1]>>>16))>>>16,g&=65535,f+=(m+=(65535&e[0])+(65535&n[0]))>>>16,f+=(e[0]>>>16)+(n[0]>>>16),e[0]=(f&=65535)<<16|(m&=65535),e[1]=g<<16|y}function vr(e,n){var r=65535&e[0],i=e[1]>>>16,o=65535&e[1],u=65535&n[0],c=n[1]>>>16,d=65535&n[1],f=0,m=0,g=0,y=0;g+=(y+=o*d)>>>16,y&=65535,m+=(g+=i*d)>>>16,g&=65535,m+=(g+=o*c)>>>16,g&=65535,f+=(m+=r*d)>>>16,m&=65535,f+=(m+=i*c)>>>16,m&=65535,f+=(m+=o*u)>>>16,f+=(e[0]>>>16)*d+r*c+i*u+o*(n[0]>>>16),e[0]=(f&=65535)<<16|(m&=65535),e[1]=g<<16|y}function Tu(e,n){var t=e[0];32==(n%=64)?(e[0]=e[1],e[1]=t):n<32?(e[0]=t<<n|e[1]>>>32-n,e[1]=e[1]<<n|t>>>32-n):(e[0]=e[1]<<(n-=32)|t>>>32-n,e[1]=t<<n|e[1]>>>32-n)}function er(e,n){0!=(n%=64)&&(n<32?(e[0]=e[1]>>>32-n,e[1]=e[1]<<n):(e[0]=e[1]<<n-32,e[1]=0))}function yt(e,n){e[0]^=n[0],e[1]^=n[1]}var DB=[4283543511,3981806797],SB=[3301882366,444984403];function fI(e){var n=[0,e[0]>>>1];yt(e,n),vr(e,DB),n[1]=e[0]>>>1,yt(e,n),vr(e,SB),n[1]=e[0]>>>1,yt(e,n)}var Mp=[2277735313,289559509],Ip=[1291169091,658871167],hI=[0,5],TB=[0,1390208809],MB=[0,944331445];function mI(){var e=window,n=navigator;return Tn(["MSCSSMatrix"in e,"msSetImmediate"in e,"msIndexedDB"in e,"msMaxTouchPoints"in n,"msPointerEnabled"in n])>=4}function Zl(){var e=window,n=navigator;return Tn(["webkitPersistentStorage"in n,"webkitTemporaryStorage"in n,0===n.vendor.indexOf("Google"),"webkitResolveLocalFileSystemURL"in e,"BatteryManager"in e,"webkitMediaStream"in e,"webkitSpeechGrammar"in e])>=5}function ei(){var e=window;return Tn(["ApplePayError"in e,"CSSPrimitiveValue"in e,"Counter"in e,0===navigator.vendor.indexOf("Apple"),"RGBColor"in e,"WebKitMediaKeys"in e])>=4}function __(){var e=window,n=e.HTMLElement,t=e.Document;return Tn(["safari"in e,!("ongestureend"in e),!("TouchEvent"in e),!("orientation"in e),n&&!("autocapitalize"in n.prototype),t&&"pointerLockElement"in t.prototype])>=4}function Yl(){var e=window;return function AB(e){return/^function\s.*?\{\s*\[native code]\s*}$/.test(String(e))}(e.print)&&"[object WebPageNamespace]"===String(e.browser)}function gI(){var e,n,t=window;return Tn(["buildID"in navigator,"MozAppearance"in(null!==(n=null===(e=document.documentElement)||void 0===e?void 0:e.style)&&void 0!==n?n:{}),"onmozfullscreenchange"in t,"mozInnerScreenX"in t,"CSSMozDocumentRule"in t,"CanvasCaptureMediaStream"in t])>=4}function Kl(){var e=window,n=navigator,t=e.CSS,r=e.HTMLButtonElement;return Tn([!("getStorageUpdates"in n),r&&"popover"in r.prototype,"CSSCounterStyleRule"in e,t.supports("font-size-adjust: ex-height 0.5"),t.supports("text-transform: full-width")])>=4}function jB(){var e=document;return(e.exitFullscreen||e.msExitFullscreen||e.mozCancelFullScreen||e.webkitExitFullscreen).call(e)}function b_(){var e=Zl(),n=gI(),t=window,r=navigator,i="connection";return e?Tn([!("SharedWorker"in t),r[i]&&"ontypechange"in r[i],!("sinkId"in new Audio)])>=2:!!n&&Tn(["onorientationchange"in t,"orientation"in t,/android/i.test(r.appVersion)])>=2}function yI(e){var n=new Error(e);return n.name=e,n}function vI(e,n,t){var r,i,o;return void 0===t&&(t=50),yr(this,void 0,void 0,function(){var s,u;return Xr(this,function(c){switch(c.label){case 0:s=document,c.label=1;case 1:return s.body?[3,3]:[4,Sp(t)];case 2:return c.sent(),[3,1];case 3:u=s.createElement("iframe"),c.label=4;case 4:return c.trys.push([4,,10,11]),[4,new Promise(function(d,f){var m=!1,g=function(){m=!0,d()};u.onload=g,u.onerror=function(S){m=!0,f(S)};var _=u.style;_.setProperty("display","block","important"),_.position="absolute",_.top="0",_.left="0",_.visibility="hidden",n&&"srcdoc"in u?u.srcdoc=n:u.src="about:blank",s.body.appendChild(u);var C=function(){var S,I;m||("complete"===(null===(I=null===(S=u.contentWindow)||void 0===S?void 0:S.document)||void 0===I?void 0:I.readyState)?g():setTimeout(C,10))};C()})];case 5:c.sent(),c.label=6;case 6:return null!==(i=null===(r=u.contentWindow)||void 0===r?void 0:r.document)&&void 0!==i&&i.body?[3,8]:[4,Sp(t)];case 7:return c.sent(),[3,6];case 8:return[4,e(u,u.contentWindow)];case 9:return[2,c.sent()];case 10:return null===(o=u.parentNode)||void 0===o||o.removeChild(u),[7];case 11:return[2]}})})}function qB(e){for(var n=function CB(e){for(var n,t,r="Unexpected syntax '".concat(e,"'"),i=/^\s*([a-z-]*)(.*)$/i.exec(e),o=i[1]||void 0,s={},u=/([.:#][\w-]+|\[.+?\])/gi,c=function(g,y){s[g]=s[g]||[],s[g].push(y)};;){var d=u.exec(i[2]);if(!d)break;var f=d[0];switch(f[0]){case".":c("class",f.slice(1));break;case"#":c("id",f.slice(1));break;case"[":var m=/^\[([\w-]+)([~|^$*]?=("(.*?)"|([\w-]+)))?(\s+[is])?\]$/.exec(f);if(!m)throw new Error(r);c(m[1],null!==(t=null!==(n=m[4])&&void 0!==n?n:m[5])&&void 0!==t?t:"");break;default:throw new Error(r)}}return[o,s]}(e),r=n[1],i=document.createElement(n[0]??"div"),o=0,s=Object.keys(r);o<s.length;o++){var u=s[o],c=r[u].join(" ");"style"===u?ZB(i.style,c):i.setAttribute(u,c)}return i}function ZB(e,n){for(var t=0,r=n.split(";");t<r.length;t++){var o=/^\s*([\w-]+)\s*:\s*(.+?)(\s*!([\w-]+))?\s*$/.exec(r[t]);o&&e.setProperty(o[1],o[2],o[4]||"")}}var Mu=["monospace","sans-serif","serif"],_I=["sans-serif-thin","ARNO PRO","Agency FB","Arabic Typesetting","Arial Unicode MS","AvantGarde Bk BT","BankGothic Md BT","Batang","Bitstream Vera Sans Mono","Calibri","Century","Century Gothic","Clarendon","EUROSTILE","Franklin Gothic","Futura Bk BT","Futura Md BT","GOTHAM","Gill Sans","HELV","Haettenschweiler","Helvetica Neue","Humanst521 BT","Leelawadee","Letter Gothic","Levenim MT","Lucida Bright","Lucida Sans","Menlo","MS Mincho","MS Outlook","MS Reference Specialty","MS UI Gothic","MT Extra","MYRIAD PRO","Marlett","Meiryo UI","Microsoft Uighur","Minion Pro","Monotype Corsiva","PMingLiU","Pristina","SCRIPTINA","Segoe UI Light","Serifa","SimHei","Small Fonts","Staccato222 BT","TRAJAN PRO","Univers CE 55 Medium","Vrinda","ZWAdobeF"];function w_(e){return e.toDataURL()}var Pp,C_;function E_(){var e=screen;return[Yi(Jr(e.availTop),null),Yi(Jr(e.width)-Jr(e.availWidth)-Yi(Jr(e.availLeft),0),null),Yi(Jr(e.height)-Jr(e.availHeight)-Yi(Jr(e.availTop),0),null),Yi(Jr(e.availLeft),null)]}function D_(e){for(var n=0;n<4;++n)if(e[n])return!1;return!0}function F7(e){var n;return yr(this,void 0,void 0,function(){var t,r,i,o,s,u,c;return Xr(this,function(d){switch(d.label){case 0:for(t=document,r=t.createElement("div"),i=new Array(e.length),o={},bI(r),c=0;c<e.length;++c)"DIALOG"===(s=qB(e[c])).tagName&&s.show(),bI(u=t.createElement("div")),u.appendChild(s),r.appendChild(u),i[c]=s;d.label=1;case 1:return t.body?[3,3]:[4,Sp(50)];case 2:return d.sent(),[3,1];case 3:t.body.appendChild(r);try{for(c=0;c<e.length;++c)i[c].offsetParent||(o[e[c]]=!0)}finally{null===(n=r.parentNode)||void 0===n||n.removeChild(r)}return[2,o]}})})}function bI(e){e.style.setProperty("visibility","hidden","important"),e.style.setProperty("display","block","important")}function wI(e){return matchMedia("(inverted-colors: ".concat(e,")")).matches}function CI(e){return matchMedia("(forced-colors: ".concat(e,")")).matches}function Iu(e){return matchMedia("(prefers-contrast: ".concat(e,")")).matches}function EI(e){return matchMedia("(prefers-reduced-motion: ".concat(e,")")).matches}function DI(e){return matchMedia("(prefers-reduced-transparency: ".concat(e,")")).matches}function SI(e){return matchMedia("(dynamic-range: ".concat(e,")")).matches}var ze=Math,Mn=function(){return 0},S_={default:[],apple:[{font:"-apple-system-body"}],serif:[{fontFamily:"serif"}],sans:[{fontFamily:"sans-serif"}],mono:[{fontFamily:"monospace"}],min:[{fontSize:"1px"}],system:[{fontFamily:"system-ui"}]},rH=new Set([10752,2849,2884,2885,2886,2928,2929,2930,2931,2932,2960,2961,2962,2963,2964,2965,2966,2967,2968,2978,3024,3042,3088,3089,3106,3107,32773,32777,32777,32823,32824,32936,32937,32938,32939,32968,32969,32970,32971,3317,33170,3333,3379,3386,33901,33902,34016,34024,34076,3408,3410,3411,3412,3413,3414,3415,34467,34816,34817,34818,34819,34877,34921,34930,35660,35661,35724,35738,35739,36003,36004,36005,36347,36348,36349,37440,37441,37443,7936,7937,7938]),iH=new Set([34047,35723,36063,34852,34853,34854,34229,36392,36795,38449]),oH=["FRAGMENT_SHADER","VERTEX_SHADER"],sH=["LOW_FLOAT","MEDIUM_FLOAT","HIGH_FLOAT","LOW_INT","MEDIUM_INT","HIGH_INT"],II="WEBGL_debug_renderer_info";function PI(e){if(e.webgl)return e.webgl.context;var t,n=document.createElement("canvas");n.addEventListener("webglCreateContextError",function(){return t=void 0});for(var r=0,i=["webgl","experimental-webgl"];r<i.length;r++){var o=i[r];try{t=n.getContext(o)}catch{}if(t)break}return e.webgl={context:t},t}function lH(e,n,t){var r=e.getShaderPrecisionFormat(e[n],e[t]);return r?[r.rangeMin,r.rangeMax,r.precision]:[]}function AI(e){return Object.keys(e.__proto__).filter(dH)}function dH(e){return"string"==typeof e&&!e.match(/[^A-Z0-9_x]/)}function kI(){return gI()}function xI(e){return"function"==typeof e.getParameter}var pH={fonts:function QB(){var e=this;return vI(function(n,t){var r=t.document;return yr(e,void 0,void 0,function(){var i,o,s,u,c,d,m,g,y,_,C;return Xr(this,function(S){for((i=r.body).style.fontSize="48px",(o=r.createElement("div")).style.setProperty("visibility","hidden","important"),s={},u={},d=function(I,T){return c("'".concat(I,"',").concat(T))},m=function(){for(var I={},T=function(X){I[X]=Mu.map(function(re){return d(X,re)})},R=0,L=_I;R<L.length;R++)T(L[R]);return I},g=function(I){return Mu.some(function(T,R){return I[R].offsetWidth!==s[T]||I[R].offsetHeight!==u[T]})},y=Mu.map(c=function(I){var T=r.createElement("span"),R=T.style;return R.position="absolute",R.top="0",R.left="0",R.fontFamily=I,T.textContent="mmMwWLliI0O&1",o.appendChild(T),T}),_=m(),i.appendChild(o),C=0;C<Mu.length;C++)s[Mu[C]]=y[C].offsetWidth,u[Mu[C]]=y[C].offsetHeight;return[2,_I.filter(function(I){return g(_[I])})]})})})},domBlockers:function O7(e){var t=(void 0===e?{}:e).debug;return yr(this,void 0,void 0,function(){var r,i,s,u,c;return Xr(this,function(d){switch(d.label){case 0:return function R7(){return ei()||b_()}()?(r=function N7(){var e=atob;return{abpIndo:["#Iklan-Melayang","#Kolom-Iklan-728","#SidebarIklan-wrapper",'[title="ALIENBOLA" i]',e("I0JveC1CYW5uZXItYWRz")],abpvn:[".quangcao","#mobileCatfish",e("LmNsb3NlLWFkcw=="),'[id^="bn_bottom_fixed_"]',"#pmadv"],adBlockFinland:[".mainostila",e("LnNwb25zb3JpdA=="),".ylamainos",e("YVtocmVmKj0iL2NsaWNrdGhyZ2guYXNwPyJd"),e("YVtocmVmXj0iaHR0cHM6Ly9hcHAucmVhZHBlYWsuY29tL2FkcyJd")],adBlockPersian:["#navbar_notice_50",".kadr",'TABLE[width="140px"]',"#divAgahi",e("YVtocmVmXj0iaHR0cDovL2cxLnYuZndtcm0ubmV0L2FkLyJd")],adBlockWarningRemoval:["#adblock-honeypot",".adblocker-root",".wp_adblock_detect",e("LmhlYWRlci1ibG9ja2VkLWFk"),e("I2FkX2Jsb2NrZXI=")],adGuardAnnoyances:[".hs-sosyal","#cookieconsentdiv",'div[class^="app_gdpr"]',".as-oil",'[data-cypress="soft-push-notification-modal"]'],adGuardBase:[".BetterJsPopOverlay",e("I2FkXzMwMFgyNTA="),e("I2Jhbm5lcmZsb2F0MjI="),e("I2NhbXBhaWduLWJhbm5lcg=="),e("I0FkLUNvbnRlbnQ=")],adGuardChinese:[e("LlppX2FkX2FfSA=="),e("YVtocmVmKj0iLmh0aGJldDM0LmNvbSJd"),"#widget-quan",e("YVtocmVmKj0iLzg0OTkyMDIwLnh5eiJd"),e("YVtocmVmKj0iLjE5NTZobC5jb20vIl0=")],adGuardFrench:["#pavePub",e("LmFkLWRlc2t0b3AtcmVjdGFuZ2xl"),".mobile_adhesion",".widgetadv",e("LmFkc19iYW4=")],adGuardGerman:['aside[data-portal-id="leaderboard"]'],adGuardJapanese:["#kauli_yad_1",e("YVtocmVmXj0iaHR0cDovL2FkMi50cmFmZmljZ2F0ZS5uZXQvIl0="),e("Ll9wb3BJbl9pbmZpbml0ZV9hZA=="),e("LmFkZ29vZ2xl"),e("Ll9faXNib29zdFJldHVybkFk")],adGuardMobile:[e("YW1wLWF1dG8tYWRz"),e("LmFtcF9hZA=="),'amp-embed[type="24smi"]',"#mgid_iframe1",e("I2FkX2ludmlld19hcmVh")],adGuardRussian:[e("YVtocmVmXj0iaHR0cHM6Ly9hZC5sZXRtZWFkcy5jb20vIl0="),e("LnJlY2xhbWE="),'div[id^="smi2adblock"]',e("ZGl2W2lkXj0iQWRGb3hfYmFubmVyXyJd"),"#psyduckpockeball"],adGuardSocial:[e("YVtocmVmXj0iLy93d3cuc3R1bWJsZXVwb24uY29tL3N1Ym1pdD91cmw9Il0="),e("YVtocmVmXj0iLy90ZWxlZ3JhbS5tZS9zaGFyZS91cmw/Il0="),".etsy-tweet","#inlineShare",".popup-social"],adGuardSpanishPortuguese:["#barraPublicidade","#Publicidade","#publiEspecial","#queTooltip",".cnt-publi"],adGuardTrackingProtection:["#qoo-counter",e("YVtocmVmXj0iaHR0cDovL2NsaWNrLmhvdGxvZy5ydS8iXQ=="),e("YVtocmVmXj0iaHR0cDovL2hpdGNvdW50ZXIucnUvdG9wL3N0YXQucGhwIl0="),e("YVtocmVmXj0iaHR0cDovL3RvcC5tYWlsLnJ1L2p1bXAiXQ=="),"#top100counter"],adGuardTurkish:["#backkapat",e("I3Jla2xhbWk="),e("YVtocmVmXj0iaHR0cDovL2Fkc2Vydi5vbnRlay5jb20udHIvIl0="),e("YVtocmVmXj0iaHR0cDovL2l6bGVuemkuY29tL2NhbXBhaWduLyJd"),e("YVtocmVmXj0iaHR0cDovL3d3dy5pbnN0YWxsYWRzLm5ldC8iXQ==")],bulgarian:[e("dGQjZnJlZW5ldF90YWJsZV9hZHM="),"#ea_intext_div",".lapni-pop-over","#xenium_hot_offers"],easyList:[".yb-floorad",e("LndpZGdldF9wb19hZHNfd2lkZ2V0"),e("LnRyYWZmaWNqdW5reS1hZA=="),".textad_headline",e("LnNwb25zb3JlZC10ZXh0LWxpbmtz")],easyListChina:[e("LmFwcGd1aWRlLXdyYXBbb25jbGljayo9ImJjZWJvcy5jb20iXQ=="),e("LmZyb250cGFnZUFkdk0="),"#taotaole","#aafoot.top_box",".cfa_popup"],easyListCookie:[".ezmob-footer",".cc-CookieWarning","[data-cookie-number]",e("LmF3LWNvb2tpZS1iYW5uZXI="),".sygnal24-gdpr-modal-wrap"],easyListCzechSlovak:["#onlajny-stickers",e("I3Jla2xhbW5pLWJveA=="),e("LnJla2xhbWEtbWVnYWJvYXJk"),".sklik",e("W2lkXj0ic2tsaWtSZWtsYW1hIl0=")],easyListDutch:[e("I2FkdmVydGVudGll"),e("I3ZpcEFkbWFya3RCYW5uZXJCbG9jaw=="),".adstekst",e("YVtocmVmXj0iaHR0cHM6Ly94bHR1YmUubmwvY2xpY2svIl0="),"#semilo-lrectangle"],easyListGermany:["#SSpotIMPopSlider",e("LnNwb25zb3JsaW5rZ3J1ZW4="),e("I3dlcmJ1bmdza3k="),e("I3Jla2xhbWUtcmVjaHRzLW1pdHRl"),e("YVtocmVmXj0iaHR0cHM6Ly9iZDc0Mi5jb20vIl0=")],easyListItaly:[e("LmJveF9hZHZfYW5udW5jaQ=="),".sb-box-pubbliredazionale",e("YVtocmVmXj0iaHR0cDovL2FmZmlsaWF6aW9uaWFkcy5zbmFpLml0LyJd"),e("YVtocmVmXj0iaHR0cHM6Ly9hZHNlcnZlci5odG1sLml0LyJd"),e("YVtocmVmXj0iaHR0cHM6Ly9hZmZpbGlhemlvbmlhZHMuc25haS5pdC8iXQ==")],easyListLithuania:[e("LnJla2xhbW9zX3RhcnBhcw=="),e("LnJla2xhbW9zX251b3JvZG9z"),e("aW1nW2FsdD0iUmVrbGFtaW5pcyBza3lkZWxpcyJd"),e("aW1nW2FsdD0iRGVkaWt1b3RpLmx0IHNlcnZlcmlhaSJd"),e("aW1nW2FsdD0iSG9zdGluZ2FzIFNlcnZlcmlhaS5sdCJd")],estonian:[e("QVtocmVmKj0iaHR0cDovL3BheTRyZXN1bHRzMjQuZXUiXQ==")],fanboyAnnoyances:["#ac-lre-player",".navigate-to-top","#subscribe_popup",".newsletter_holder","#back-top"],fanboyAntiFacebook:[".util-bar-module-firefly-visible"],fanboyEnhancedTrackers:[".open.pushModal","#issuem-leaky-paywall-articles-zero-remaining-nag","#sovrn_container",'div[class$="-hide"][zoompage-fontsize][style="display: block;"]',".BlockNag__Card"],fanboySocial:["#FollowUs","#meteored_share","#social_follow",".article-sharer",".community__social-desc"],frellwitSwedish:[e("YVtocmVmKj0iY2FzaW5vcHJvLnNlIl1bdGFyZ2V0PSJfYmxhbmsiXQ=="),e("YVtocmVmKj0iZG9rdG9yLXNlLm9uZWxpbmsubWUiXQ=="),"article.category-samarbete",e("ZGl2LmhvbGlkQWRz"),"ul.adsmodern"],greekAdBlock:[e("QVtocmVmKj0iYWRtYW4ub3RlbmV0LmdyL2NsaWNrPyJd"),e("QVtocmVmKj0iaHR0cDovL2F4aWFiYW5uZXJzLmV4b2R1cy5nci8iXQ=="),e("QVtocmVmKj0iaHR0cDovL2ludGVyYWN0aXZlLmZvcnRobmV0LmdyL2NsaWNrPyJd"),"DIV.agores300","TABLE.advright"],hungarian:["#cemp_doboz",".optimonk-iframe-container",e("LmFkX19tYWlu"),e("W2NsYXNzKj0iR29vZ2xlQWRzIl0="),"#hirdetesek_box"],iDontCareAboutCookies:['.alert-info[data-block-track*="CookieNotice"]',".ModuleTemplateCookieIndicator",".o--cookies--container","#cookies-policy-sticky","#stickyCookieBar"],icelandicAbp:[e("QVtocmVmXj0iL2ZyYW1ld29yay9yZXNvdXJjZXMvZm9ybXMvYWRzLmFzcHgiXQ==")],latvian:[e("YVtocmVmPSJodHRwOi8vd3d3LnNhbGlkemluaS5sdi8iXVtzdHlsZT0iZGlzcGxheTogYmxvY2s7IHdpZHRoOiAxMjBweDsgaGVpZ2h0OiA0MHB4OyBvdmVyZmxvdzogaGlkZGVuOyBwb3NpdGlvbjogcmVsYXRpdmU7Il0="),e("YVtocmVmPSJodHRwOi8vd3d3LnNhbGlkemluaS5sdi8iXVtzdHlsZT0iZGlzcGxheTogYmxvY2s7IHdpZHRoOiA4OHB4OyBoZWlnaHQ6IDMxcHg7IG92ZXJmbG93OiBoaWRkZW47IHBvc2l0aW9uOiByZWxhdGl2ZTsiXQ==")],listKr:[e("YVtocmVmKj0iLy9hZC5wbGFuYnBsdXMuY28ua3IvIl0="),e("I2xpdmVyZUFkV3JhcHBlcg=="),e("YVtocmVmKj0iLy9hZHYuaW1hZHJlcC5jby5rci8iXQ=="),e("aW5zLmZhc3R2aWV3LWFk"),".revenue_unit_item.dable"],listeAr:[e("LmdlbWluaUxCMUFk"),".right-and-left-sponsers",e("YVtocmVmKj0iLmFmbGFtLmluZm8iXQ=="),e("YVtocmVmKj0iYm9vcmFxLm9yZyJd"),e("YVtocmVmKj0iZHViaXp6bGUuY29tL2FyLz91dG1fc291cmNlPSJd")],listeFr:[e("YVtocmVmXj0iaHR0cDovL3Byb21vLnZhZG9yLmNvbS8iXQ=="),e("I2FkY29udGFpbmVyX3JlY2hlcmNoZQ=="),e("YVtocmVmKj0id2Vib3JhbWEuZnIvZmNnaS1iaW4vIl0="),".site-pub-interstitiel",'div[id^="crt-"][data-criteo-id]'],officialPolish:["#ceneo-placeholder-ceneo-12",e("W2hyZWZePSJodHRwczovL2FmZi5zZW5kaHViLnBsLyJd"),e("YVtocmVmXj0iaHR0cDovL2Fkdm1hbmFnZXIudGVjaGZ1bi5wbC9yZWRpcmVjdC8iXQ=="),e("YVtocmVmXj0iaHR0cDovL3d3dy50cml6ZXIucGwvP3V0bV9zb3VyY2UiXQ=="),e("ZGl2I3NrYXBpZWNfYWQ=")],ro:[e("YVtocmVmXj0iLy9hZmZ0cmsuYWx0ZXgucm8vQ291bnRlci9DbGljayJd"),e("YVtocmVmXj0iaHR0cHM6Ly9ibGFja2ZyaWRheXNhbGVzLnJvL3Ryay9zaG9wLyJd"),e("YVtocmVmXj0iaHR0cHM6Ly9ldmVudC4ycGVyZm9ybWFudC5jb20vZXZlbnRzL2NsaWNrIl0="),e("YVtocmVmXj0iaHR0cHM6Ly9sLnByb2ZpdHNoYXJlLnJvLyJd"),'a[href^="/url/"]'],ruAd:[e("YVtocmVmKj0iLy9mZWJyYXJlLnJ1LyJd"),e("YVtocmVmKj0iLy91dGltZy5ydS8iXQ=="),e("YVtocmVmKj0iOi8vY2hpa2lkaWtpLnJ1Il0="),"#pgeldiz",".yandex-rtb-block"],thaiAds:["a[href*=macau-uta-popup]",e("I2Fkcy1nb29nbGUtbWlkZGxlX3JlY3RhbmdsZS1ncm91cA=="),e("LmFkczMwMHM="),".bumq",".img-kosana"],webAnnoyancesUltralist:["#mod-social-share-2","#social-tools",e("LmN0cGwtZnVsbGJhbm5lcg=="),".zergnet-recommend",".yt.btn-link.btn-md.btn"]}}(),i=Object.keys(r),[4,F7((c=[]).concat.apply(c,i.map(function(f){return r[f]})))]):[2,void 0];case 1:return s=d.sent(),t&&function L7(e,n){for(var t="DOM blockers debug:\n```",r=0,i=Object.keys(e);r<i.length;r++){var o=i[r];t+="\n".concat(o,":");for(var s=0,u=e[o];s<u.length;s++){var c=u[s];t+="\n ".concat(n[c]?"\u{1f6ab}":"\u27a1\ufe0f"," ").concat(c)}}console.log("".concat(t,"\n```"))}(r,s),(u=i.filter(function(f){var m=r[f];return Tn(m.map(function(y){return s[y]}))>.6*m.length})).sort(),[2,u]}})})},fontPreferences:function Y7(){return function K7(e,n){return void 0===n&&(n=4e3),vI(function(t,r){var i=r.document,o=i.body,s=o.style;s.width="".concat(n,"px"),s.webkitTextSizeAdjust=s.textSizeAdjust="none",Zl()?o.style.zoom="".concat(1/r.devicePixelRatio):ei()&&(o.style.zoom="reset");var u=i.createElement("div");return u.textContent=m_([],Array(n/20|0),!0).map(function(){return"word"}).join(" "),o.appendChild(u),e(i,o)},'<!doctype html><html><head><meta name="viewport" content="width=device-width, initial-scale=1">')}(function(e,n){for(var t={},r={},i=0,o=Object.keys(S_);i<o.length;i++){var u=S_[s=o[i]],c=u[0],d=void 0===c?{}:c,f=u[1],m=void 0===f?"mmMwWLliI0fiflO&1":f,g=e.createElement("span");g.textContent=m,g.style.whiteSpace="nowrap";for(var y=0,_=Object.keys(d);y<_.length;y++){var C=_[y],S=d[C];void 0!==S&&(g.style[C]=S)}t[s]=g,n.append(e.createElement("br"),g)}for(var I=0,T=Object.keys(S_);I<T.length;I++){var s;r[s=T[I]]=t[s].getBoundingClientRect().width}return r})},audio:function HB(){return function $B(){return ei()&&Kl()&&Yl()||Zl()&&function BB(){var e=navigator,n=window,t=Audio.prototype,r=n.visualViewport;return Tn(["srLatency"in t,"srChannelCount"in t,"devicePosture"in e,r&&"segments"in r,"getTextInformation"in Image.prototype])>=3}()&&function RB(){var e=window,n=e.URLPattern;return Tn(["union"in Set.prototype,"Iterator"in e,n&&"hasRegExpGroups"in n.prototype,"RGB8"in WebGLRenderingContext.prototype])>=3}()}()?-4:function GB(){var e=window,n=e.OfflineAudioContext||e.webkitOfflineAudioContext;if(!n)return-2;if(function UB(){return ei()&&!__()&&!function FB(){var e=window;return Tn(["DOMRectList"in e,"RTCPeerConnectionIceEvent"in e,"SVGGeometryElement"in e,"ontransitioncancel"in e])>=3}()}())return-1;var i=new n(1,5e3,44100),o=i.createOscillator();o.type="triangle",o.frequency.value=1e4;var s=i.createDynamicsCompressor();s.threshold.value=-50,s.knee.value=40,s.ratio.value=12,s.attack.value=0,s.release.value=.25,o.connect(s),s.connect(i.destination),o.start(0);var u=function zB(e){var o=function(){},s=new Promise(function(u,c){var d=!1,f=0,m=0;e.oncomplete=function(_){return u(_.renderedBuffer)};var g=function(){setTimeout(function(){return c(yI("timeout"))},Math.min(500,m+5e3-Date.now()))},y=function(){try{var _=e.startRendering();switch(Tp(_)&&ql(_),e.state){case"running":m=Date.now(),d&&g();break;case"suspended":document.hidden||f++,d&&f>=3?c(yI("suspended")):setTimeout(y,500)}}catch(C){c(C)}};y(),o=function(){d||(d=!0,m>0&&g())}});return[s,o]}(i),d=u[1],f=ql(u[0].then(function(m){return function WB(e){for(var n=0,t=0;t<e.length;++t)n+=Math.abs(e[t]);return n}(m.getChannelData(0).subarray(4500))},function(m){if("timeout"===m.name||"suspended"===m.name)return-3;throw m}));return function(){return d(),f}}()},screenFrame:function b7(){var e=this;if(ei()&&Kl()&&Yl())return function(){return Promise.resolve(void 0)};var n=function _7(){var e=this;return function v7(){if(void 0===C_){var e=function(){var n=E_();D_(n)?C_=setTimeout(e,2500):(Pp=n,C_=void 0)};e()}}(),function(){return yr(e,void 0,void 0,function(){var n;return Xr(this,function(t){switch(t.label){case 0:return D_(n=E_())?Pp?[2,m_([],Pp,!0)]:function VB(){var e=document;return e.fullscreenElement||e.msFullscreenElement||e.mozFullScreenElement||e.webkitFullscreenElement||null}()?[4,jB()]:[3,2]:[3,2];case 1:t.sent(),n=E_(),t.label=2;case 2:return D_(n)||(Pp=n),[2,n]}})})}}();return function(){return yr(e,void 0,void 0,function(){var t,r;return Xr(this,function(i){switch(i.label){case 0:return[4,n()];case 1:return t=i.sent(),[2,[(r=function(o){return null===o?null:dI(o,10)})(t[0]),r(t[1]),r(t[2]),r(t[3])]]}})})}},canvas:function e7(){return function t7(e){var n,r,i,t=!1,o=function n7(){var e=document.createElement("canvas");return e.width=1,e.height=1,[e,e.getContext("2d")]}(),s=o[0],u=o[1];return function r7(e,n){return!(!n||!e.toDataURL)}(s,u)?(t=function i7(e){return e.rect(0,0,10,10),e.rect(2,2,6,6),!e.isPointInPath(5,5,"evenodd")}(u),e?r=i="skipped":(n=function o7(e,n){!function s7(e,n){e.width=240,e.height=60,n.textBaseline="alphabetic",n.fillStyle="#f60",n.fillRect(100,1,62,20),n.fillStyle="#069",n.font='11pt "Times New Roman"';var t="Cwm fjordbank gly ".concat("\u{1f603}");n.fillText(t,2,15),n.fillStyle="rgba(102, 204, 0, 0.2)",n.font="18pt Arial",n.fillText(t,4,45)}(e,n);var t=w_(e);return t!==w_(e)?["unstable","unstable"]:(function a7(e,n){e.width=122,e.height=110,n.globalCompositeOperation="multiply";for(var t=0,r=[["#f2f",40,40],["#2ff",80,40],["#ff2",60,80]];t<r.length;t++){var i=r[t],s=i[1],u=i[2];n.fillStyle=i[0],n.beginPath(),n.arc(s,u,40,0,2*Math.PI,!0),n.closePath(),n.fill()}n.fillStyle="#f9c",n.arc(60,60,60,0,2*Math.PI,!0),n.arc(60,60,20,0,2*Math.PI,!0),n.fill("evenodd")}(e,n),[w_(e),t])}(s,u),r=n[0],i=n[1])):r=i="unsupported",{winding:t,geometry:r,text:i}}(function u7(){return ei()&&Kl()&&Yl()}())},osCpu:function l7(){return navigator.oscpu},languages:function d7(){var e=navigator,n=[],t=e.language||e.userLanguage||e.browserLanguage||e.systemLanguage;if(void 0!==t&&n.push([t]),Array.isArray(e.languages))Zl()&&function OB(){var e=window;return Tn([!("MediaSettingsRange"in e),"RTCEncodedAudioFrame"in e,""+e.Intl=="[object Intl]",""+e.Reflect=="[object Reflect]"])>=3}()||n.push(e.languages);else if("string"==typeof e.languages){var r=e.languages;r&&n.push(r.split(","))}return n},colorDepth:function f7(){return window.screen.colorDepth},deviceMemory:function h7(){return Yi(Jr(navigator.deviceMemory),void 0)},screenResolution:function p7(){if(!(ei()&&Kl()&&Yl()))return function m7(){var e=screen,n=function(r){return Yi(v_(r),null)},t=[n(e.width),n(e.height)];return t.sort().reverse(),t}()},hardwareConcurrency:function w7(){return Yi(v_(navigator.hardwareConcurrency),void 0)},timezone:function C7(){var e,n=null===(e=window.Intl)||void 0===e?void 0:e.DateTimeFormat;if(n){var t=(new n).resolvedOptions().timeZone;if(t)return t}var r=-function E7(){var e=(new Date).getFullYear();return Math.max(Jr(new Date(e,0,1).getTimezoneOffset()),Jr(new Date(e,6,1).getTimezoneOffset()))}();return"UTC".concat(r>=0?"+":"").concat(r)},sessionStorage:function D7(){try{return!!window.sessionStorage}catch{return!0}},localStorage:function S7(){try{return!!window.localStorage}catch{return!0}},indexedDB:function T7(){if(!mI()&&!function NB(){var e=window,n=navigator;return Tn(["msWriteProfilerMark"in e,"MSStream"in e,"msLaunchUri"in n,"msSaveBlob"in n])>=3&&!mI()}())try{return!!window.indexedDB}catch{return!0}},openDatabase:function M7(){return!!window.openDatabase},cpuClass:function I7(){return navigator.cpuClass},platform:function P7(){var e=navigator.platform;return"MacIntel"===e&&ei()&&!__()?function LB(){if("iPad"===navigator.platform)return!0;var e=screen,n=e.width/e.height;return Tn(["MediaSource"in window,!!Element.prototype.webkitRequestFullscreen,n>.65&&n<1.53])>=2}()?"iPad":"iPhone":e},plugins:function JB(){var e=navigator.plugins;if(e){for(var n=[],t=0;t<e.length;++t){var r=e[t];if(r){for(var i=[],o=0;o<r.length;++o){var s=r[o];i.push({type:s.type,suffixes:s.suffixes})}n.push({name:r.name,description:r.description,mimeTypes:i})}}return n}},touchSupport:function c7(){var t,e=navigator,n=0;void 0!==e.maxTouchPoints?n=v_(e.maxTouchPoints):void 0!==e.msMaxTouchPoints&&(n=e.msMaxTouchPoints);try{document.createEvent("TouchEvent"),t=!0}catch{t=!1}return{maxTouchPoints:n,touchEvent:t,touchStart:"ontouchstart"in window}},vendor:function A7(){return navigator.vendor||""},vendorFlavors:function k7(){for(var e=[],n=0,t=["chrome","safari","__crWeb","__gCrWeb","yandex","__yb","__ybro","__firefox__","__edgeTrackingPreventionStatistics","webkit","oprt","samsungAr","ucweb","UCShellJava","puffinDevice"];n<t.length;n++){var r=t[n],i=window[r];i&&"object"==typeof i&&e.push(r)}return e.sort()},cookiesEnabled:function x7(){var e=document;try{e.cookie="cookietest=1; SameSite=Strict;";var n=-1!==e.cookie.indexOf("cookietest=");return e.cookie="cookietest=1; SameSite=Strict; expires=Thu, 01-Jan-1970 00:00:01 GMT",n}catch{return!1}},colorGamut:function V7(){for(var e=0,n=["rec2020","p3","srgb"];e<n.length;e++){var t=n[e];if(matchMedia("(color-gamut: ".concat(t,")")).matches)return t}},invertedColors:function j7(){return!!wI("inverted")||!wI("none")&&void 0},forcedColors:function B7(){return!!CI("active")||!CI("none")&&void 0},monochrome:function G7(){if(matchMedia("(min-monochrome: 0)").matches){for(var e=0;e<=100;++e)if(matchMedia("(max-monochrome: ".concat(e,")")).matches)return e;throw new Error("Too high value")}},contrast:function U7(){return Iu("no-preference")?0:Iu("high")||Iu("more")?1:Iu("low")||Iu("less")?-1:Iu("forced")?10:void 0},reducedMotion:function $7(){return!!EI("reduce")||!EI("no-preference")&&void 0},reducedTransparency:function z7(){return!!DI("reduce")||!DI("no-preference")&&void 0},hdr:function W7(){return!!SI("high")||!SI("standard")&&void 0},math:function q7(){var Q,n=ze.acosh||Mn,t=ze.asin||Mn,r=ze.asinh||Mn,i=ze.atanh||Mn,o=ze.atan||Mn,s=ze.sin||Mn,u=ze.sinh||Mn,c=ze.cos||Mn,d=ze.cosh||Mn,f=ze.tan||Mn,m=ze.tanh||Mn,g=ze.exp||Mn,y=ze.expm1||Mn,_=ze.log1p||Mn;return{acos:(ze.acos||Mn)(.12312423423423424),acosh:n(1e308),acoshPf:(Q=1e154,ze.log(Q+ze.sqrt(Q*Q-1))),asin:t(.12312423423423424),asinh:r(1),asinhPf:ze.log(1+ze.sqrt(2)),atanh:i(.5),atanhPf:ze.log(3)/2,atan:o(.5),sin:s(-1e300),sinh:u(1),sinhPf:ze.exp(1)-1/ze.exp(1)/2,cos:c(10.000000000123),cosh:d(1),coshPf:(ze.exp(1)+1/ze.exp(1))/2,tan:f(-1e300),tanh:m(1),tanhPf:(ze.exp(2)-1)/(ze.exp(2)+1),exp:g(1),expm1:y(1),expm1Pf:ze.exp(1)-1,log1p:_(10),log1pPf:ze.log(11),powPI:ze.pow(ze.PI,-100)}},pdfViewerEnabled:function X7(){return navigator.pdfViewerEnabled},architecture:function Q7(){var e=new Float32Array(1),n=new Uint8Array(e.buffer);return e[0]=1/0,e[0]=e[0]-e[0],n[3]},applePay:function J7(){var e=window.ApplePaySession;if("function"!=typeof e?.canMakePayments)return-1;if(function YB(){for(var e=window;;){var n=e.parent;if(!n||n===e)return!1;try{if(n.location.origin!==e.location.origin)return!0}catch(t){if(t instanceof Error&&"SecurityError"===t.name)return!0;throw t}e=n}}())return-3;try{return e.canMakePayments()?1:0}catch(n){return function tH(e){if(e instanceof Error&&"InvalidAccessError"===e.name&&/\bfrom\b.*\binsecure\b/i.test(e.message))return-2;throw e}(n)}},privateClickMeasurement:function nH(){var e,n=document.createElement("a"),t=null!==(e=n.attributionSourceId)&&void 0!==e?e:n.attributionsourceid;return void 0===t?void 0:String(t)},audioBaseLatency:function hH(){var e;return b_()||ei()?window.AudioContext&&null!==(e=(new AudioContext).baseLatency)&&void 0!==e?e:-1:-2},webGlBasics:function uH(e){var n,t,r,i,o,s,c=PI(e.cache);if(!c)return-1;if(!xI(c))return-2;var d=kI()?null:c.getExtension(II);return{version:(null===(n=c.getParameter(c.VERSION))||void 0===n?void 0:n.toString())||"",vendor:(null===(t=c.getParameter(c.VENDOR))||void 0===t?void 0:t.toString())||"",vendorUnmasked:d?null===(r=c.getParameter(d.UNMASKED_VENDOR_WEBGL))||void 0===r?void 0:r.toString():"",renderer:(null===(i=c.getParameter(c.RENDERER))||void 0===i?void 0:i.toString())||"",rendererUnmasked:d?null===(o=c.getParameter(d.UNMASKED_RENDERER_WEBGL))||void 0===o?void 0:o.toString():"",shadingLanguageVersion:(null===(s=c.getParameter(c.SHADING_LANGUAGE_VERSION))||void 0===s?void 0:s.toString())||""}},webGlExtensions:function cH(e){var t=PI(e.cache);if(!t)return-1;if(!xI(t))return-2;var r=t.getSupportedExtensions(),i=t.getContextAttributes(),o=[],s=[],u=[],c=[],d=[];if(i)for(var f=0,m=Object.keys(i);f<m.length;f++){var g=m[f];s.push("".concat(g,"=").concat(i[g]))}for(var _=0,C=AI(t);_<C.length;_++){var I=t[S=C[_]];u.push("".concat(S,"=").concat(I).concat(rH.has(I)?"=".concat(t.getParameter(I)):""))}if(r)for(var T=0,R=r;T<R.length;T++){var L=R[T];if(!(L===II&&kI()||"WEBGL_polygon_mode"===L&&(Zl()||ei()))){var j=t.getExtension(L);if(!j){o.push(L);continue}for(var X=0,re=AI(j);X<re.length;X++){var S;I=j[S=re[X]],c.push("".concat(S,"=").concat(I).concat(iH.has(I)?"=".concat(t.getParameter(I)):""))}}}for(var Q=0,vt=oH;Q<vt.length;Q++)for(var Dt=vt[Q],kt=0,Pn=sH;kt<Pn.length;kt++){var Ro=Pn[kt],wr=lH(t,Dt,Ro);d.push("".concat(Dt,".").concat(Ro,"=").concat(wr.join(",")))}return c.sort(),u.sort(),{contextAttributes:s,parameters:u,shaderPrecisions:d,extensions:r,extensionParameters:c,unsupportedExtensions:o}}},gH="$ if upgrade to Pro: https://fpjs.dev/pro";function NI(e){return JSON.stringify(e,function(n,t){return t instanceof Error?function PB(e){var n;return wp({name:e.name,message:e.message,stack:null===(n=e.stack)||void 0===n?void 0:n.split("\n")},e)}(t):t},2)}function OI(e){return function IB(e,n){var f,t=function EB(e){for(var n=new Uint8Array(e.length),t=0;t<e.length;t++){var r=e.charCodeAt(t);if(r>127)return(new TextEncoder).encode(e);n[t]=r}return n}(e),r=[0,t.length],i=r[1]%16,o=r[1]-i,s=[0,n=n||0],u=[0,n],c=[0,0],d=[0,0];for(f=0;f<o;f+=16)c[0]=t[f+4]|t[f+5]<<8|t[f+6]<<16|t[f+7]<<24,c[1]=t[f]|t[f+1]<<8|t[f+2]<<16|t[f+3]<<24,d[0]=t[f+12]|t[f+13]<<8|t[f+14]<<16|t[f+15]<<24,d[1]=t[f+8]|t[f+9]<<8|t[f+10]<<16|t[f+11]<<24,vr(c,Mp),Tu(c,31),vr(c,Ip),yt(s,c),Tu(s,27),Po(s,u),vr(s,hI),Po(s,TB),vr(d,Ip),Tu(d,33),vr(d,Mp),yt(u,d),Tu(u,31),Po(u,s),vr(u,hI),Po(u,MB);c[0]=0,c[1]=0,d[0]=0,d[1]=0;var m=[0,0];switch(i){case 15:m[1]=t[f+14],er(m,48),yt(d,m);case 14:m[1]=t[f+13],er(m,40),yt(d,m);case 13:m[1]=t[f+12],er(m,32),yt(d,m);case 12:m[1]=t[f+11],er(m,24),yt(d,m);case 11:m[1]=t[f+10],er(m,16),yt(d,m);case 10:m[1]=t[f+9],er(m,8),yt(d,m);case 9:m[1]=t[f+8],yt(d,m),vr(d,Ip),Tu(d,33),vr(d,Mp),yt(u,d);case 8:m[1]=t[f+7],er(m,56),yt(c,m);case 7:m[1]=t[f+6],er(m,48),yt(c,m);case 6:m[1]=t[f+5],er(m,40),yt(c,m);case 5:m[1]=t[f+4],er(m,32),yt(c,m);case 4:m[1]=t[f+3],er(m,24),yt(c,m);case 3:m[1]=t[f+2],er(m,16),yt(c,m);case 2:m[1]=t[f+1],er(m,8),yt(c,m);case 1:m[1]=t[f],yt(c,m),vr(c,Mp),Tu(c,31),vr(c,Ip),yt(s,c)}return yt(s,r),yt(u,r),Po(s,u),Po(u,s),fI(s),fI(u),Po(s,u),Po(u,s),("00000000"+(s[0]>>>0).toString(16)).slice(-8)+("00000000"+(s[1]>>>0).toString(16)).slice(-8)+("00000000"+(u[0]>>>0).toString(16)).slice(-8)+("00000000"+(u[1]>>>0).toString(16)).slice(-8)}(function bH(e){for(var n="",t=0,r=Object.keys(e).sort();t<r.length;t++){var i=r[t],o=e[i],s="error"in o?"error":JSON.stringify(o.value);n+="".concat(n?"|":"").concat(i.replace(/([:|\\])/g,"\\$1"),":").concat(s)}return n}(e))}function CH(e){return void 0===e&&(e=50),function _B(e,n){void 0===n&&(n=1/0);var t=window.requestIdleCallback;return t?new Promise(function(r){return t.call(window,function(){return r()},{timeout:n})}):Sp(Math.min(e,n))}(e,2*e)}function EH(e,n){var t=Date.now();return{get:function(r){return yr(this,void 0,void 0,function(){var i,o,s;return Xr(this,function(u){switch(u.label){case 0:return i=Date.now(),[4,e()];case 1:return o=u.sent(),s=function wH(e){var n,t=function yH(e){var n=function vH(e){if(b_())return.4;if(ei())return!__()||Kl()&&Yl()?.3:.5;var n="value"in e.platform?e.platform.value:"";return/^Win/.test(n)?.6:/^Mac/.test(n)?.5:.7}(e),t=function _H(e){return dI(.99+.01*e,1e-4)}(n);return{score:n,comment:gH.replace(/\$/g,"".concat(t))}}(e);return{get visitorId(){return void 0===n&&(n=OI(this.components)),n},set visitorId(r){n=r},confidence:t,components:e,version:"4.5.1"}}(o),(n||r?.debug)&&console.log("Copy the text below to get the debug data:\n\n```\nversion: ".concat(s.version,"\nuserAgent: ").concat(navigator.userAgent,"\ntimeBetweenLoadAndGet: ").concat(i-t,"\nvisitorId: ").concat(s.visitorId,"\ncomponents: ").concat(NI(o),"\n```")),[2,s]}})})}}}var TH={load:function SH(e){var n;return void 0===e&&(e={}),yr(this,void 0,void 0,function(){var r,i;return Xr(this,function(o){switch(o.label){case 0:return(!(null!==(n=e.monitoring)&&void 0!==n)||n)&&function DH(){if(!(window.__fpjs_d_m||Math.random()>=.001))try{var e=new XMLHttpRequest;e.open("get","https://m1.openfpcdn.io/fingerprintjs/v".concat("4.5.1","/npm-monitoring"),!0),e.send()}catch(n){console.error(n)}}(),r=e.debug,[4,CH(e.delayFallback)];case 1:return o.sent(),i=function mH(e){return function xB(e,n,t,r){var i=Object.keys(e).filter(function(s){return function wB(e,n){return!function bB(e,n){for(var t=0,r=e.length;t<r;++t)if(e[t]===n)return!0;return!1}(e,n)}(t,s)}),o=ql(lI(i,function(s){return function kB(e,n){var t=ql(new Promise(function(r){var i=Date.now();cI(e.bind(null,n),function(){for(var o=[],s=0;s<arguments.length;s++)o[s]=arguments[s];var u=Date.now()-i;if(!o[0])return r(function(){return{error:o[1],duration:u}});var c=o[1];if(function pI(e){return"function"!=typeof e}(c))return r(function(){return{value:c,duration:u}});r(function(){return new Promise(function(d){var f=Date.now();cI(c,function(){for(var m=[],g=0;g<arguments.length;g++)m[g]=arguments[g];var y=u+Date.now()-f;if(!m[0])return d({error:m[1],duration:y});d({value:m[1],duration:y})})})})})}));return function(){return t.then(function(i){return i()})}}(e[s],n)},r));return function(){return yr(this,void 0,void 0,function(){var c,d,f,m;return Xr(this,function(g){switch(g.label){case 0:return[4,o];case 1:return[4,lI(g.sent(),function(y){return ql(y())},r)];case 2:return c=g.sent(),[4,Promise.all(c)];case 3:for(d=g.sent(),f={},m=0;m<i.length;++m)f[i[m]]=d[m];return[2,f]}})})}}(pH,e,[])}({cache:{},debug:r}),[2,EH(i,r)]}})})},hashComponents:OI,componentsToDebugString:NI},RI=function(e){return e[e.SMALL=1]="SMALL",e[e.MEDIUM=2]="MEDIUM",e[e.LARGE=3]="LARGE",e[e.EXTRA_LARGE=4]="EXTRA_LARGE",e[e.FULL_SCREEN=5]="FULL_SCREEN",e}(RI||{});const PH=TH.load();function AH(){return new _t(e=>{(function kH(){return T_.apply(this,arguments)})().then(n=>{e.next(n),e.complete()}).catch(n=>{e.error(n)})})}function T_(){return(T_=Su(function*(){const e={};e.browserData=function MH(){const e=screen.height||window.innerHeight,n=screen.width||window.innerWidth,t=RI.FULL_SCREEN;return{timezoneOffsetUtcMinutes:(new Date).getTimezoneOffset(),locale:navigator.language,userAgent:navigator.userAgent,javaEnabled:navigator.javaEnabled()||!1,javaScriptEnabled:!0,colorDepth:screen.colorDepth,width:n,height:e,challengeWindowSize:t}}();try{const n=yield(yield PH).get();e.id=n.visitorId,e.fonts=n.components.fonts.value;const t=navigator,r=t.getBattery?t.getBattery():void 0;let i;r&&(i=yield r,e.batteryLevelAndChargingStatus=i?`level: ${i.level??"unknown"}; charging: ${i.charging??"unknown"}`:void 0);const o=t.connection||t.mozConnection||t.webkitConnection;e.networkParameters=o?`type: ${o.type??"unknown"}; effectiveType: ${o.effectiveType??"unknown"}`:void 0}catch{}return e})).apply(this,arguments)}class Ap{constructor(){this.emitEnabled=!0,this.optionalEmitEnabled=!0,this.emitter=new ct}emit(n,t){this.emitEnabled&&(!t||t&&this.optionalEmitEnabled)&&this.emitter.emit(n)}}let st=(()=>{class e{constructor(){this.componentsStates={availableCardBrands:Ie({isRequired:!1,canShowError:!1,isValid:!0,filled:!0,enabled:!0}),cardList:Ie({isRequired:!1,canShowError:!1,isValid:!0,filled:!0,enabled:!0}),cardForm:Ie({isRequired:!0,canShowError:!1,isValid:!0,filled:!1,enabled:!0}),additionalForm:Ie({isRequired:!1,canShowError:!1,isValid:!0,filled:!1,enabled:!0}),chargeTerms:Ie({isRequired:!0,canShowError:!1,isValid:!0,filled:!1,enabled:!0}),payButton:Ie({isRequired:!0,canShowError:!1,isValid:!0,filled:!1,enabled:!0}),apmList:Ie({isRequired:!1,canShowError:!1,isValid:!0,filled:!0,enabled:!0}),userPreferences:Ie({isRequired:!0,canShowError:!1,isValid:!0,filled:!1,enabled:!0}),merchantInfo:Ie({isRequired:!1,canShowError:!1,isValid:!0,filled:!0,enabled:!0}),protectedBy:Ie({isRequired:!1,canShowError:!1,isValid:!0,filled:!0,enabled:!0})},this.visibility={availableCardBrands:Ve(()=>this.componentsStates.availableCardBrands().enabled&&!!this.data.settings()?.components?.some(t=>"available-card-brands"===t)),cardList:Ve(()=>this.componentsStates.cardList().enabled&&!!this.data.settings()?.components?.some(t=>"card-list"===t)),cardForm:Ve(()=>this.componentsStates.cardForm().enabled&&!!this.data.settings()?.components?.some(t=>"requisites"===t)),additionalForm:Ve(()=>this.componentsStates.cardForm().enabled&&this.componentsStates.additionalForm().enabled&&!!this.data.settings()?.components?.some(t=>"phone-number"===t)),chargeTerms:Ve(()=>this.componentsStates.chargeTerms().enabled&&!!this.data.settings()?.components?.some(t=>"charge-terms"===t)&&!this.visibility.noMethods()),payButton:Ve(()=>(this.componentsStates.cardList().enabled||this.componentsStates.cardForm().enabled)&&this.componentsStates.payButton().enabled&&!!this.data.settings()?.components?.some(t=>"pay-button"===t)),apmList:Ve(()=>this.componentsStates.apmList().enabled&&!!this.data.settings()?.components?.some(t=>"apm-list"===t)),userPreferences:Ve(()=>this.componentsStates.userPreferences().enabled&&!!this.data.settings()?.components?.some(t=>"user-preferences"===t)&&!this.visibility.noMethods()),merchantInfo:Ve(()=>this.componentsStates.merchantInfo().enabled&&!!this.data.settings()?.components?.some(t=>"merchant-info"===t)),protectedBy:Ve(()=>this.componentsStates.protectedBy().enabled&&!!this.data.settings()?.components?.some(t=>"protected-by"===t)),noMethods:Ve(()=>!this.componentsStates.cardForm().enabled&&!this.componentsStates.cardList().enabled&&!this.componentsStates.apmList().enabled)},this.data={payment:Ie(void 0),settings:Ie(void 0),userProvidedInfo:Ie({}),loadedPaymentSystems:Ie([]),loadedExistingCards:Ie([]),deviceInfo:Ie(void 0),state:Ie({type:"empty",payload:void 0}),paymentSystemsLoading:Ie(!1),cardsLoading:Ie(!1)},this.computed={isLoading:Ve(()=>this.data.paymentSystemsLoading()||this.data.cardsLoading()),paymentAvailability:Ve(()=>{const t=this.data.settings(),r={canPay:{byCard:!1,byApm:!1},isPayButtonDisabled:!1};if(!t)return r;let i=!0,o=!0;for(let s in this.componentsStates)if(this.componentsStates.hasOwnProperty(s)){const u=this.componentsStates[s]();i=i&&(u.isValid||!u.enabled),o=o&&(u.filled||!u.enabled),"chargeTerms"===s&&(!u.enabled||u.isValid)&&(r.canPay.byApm=!0)}return"disabled"!=t.requiredFieldsBehavior?.buttonStateUntilFilled||o?"hidden-enabled"!=t.requiredFieldsBehavior?.buttonStateUntilFilled||o?i?{canPay:{...r.canPay,byCard:!0}}:r:{...r,buttonDisableClass:"hidden-enabled-element",elementDisableClass:"hidden-enabled-element"}:{...r,elementDisableClass:"disabled-element",isPayButtonDisabled:!0}})},this.events={analytics:new Ap,error:new Ap,close:new Ap,paid:new Ap},this.callbacks={},this.clients={googlePay:void 0}}updateCanShowError(t){for(let r in this.componentsStates)this.componentsStates.hasOwnProperty(r)&&this.componentsStates[r].update(i=>i.canShowError===t?i:{...i,canShowError:t})}updateCanShowErrorForApm(t){this.componentsStates.chargeTerms.update(r=>({...r,canShowError:t}))}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=q({token:e,factory:e.\u0275fac})}return e})();function kp(e){return null!==e&&"object"==typeof e&&!Array.isArray(e)}function M_(e,...n){if(!n.length)return e;const t=n.shift();if(kp(e)&&kp(t))for(const r in t)if(Object.prototype.hasOwnProperty.call(t,r)){const i=t[r];e[r]=kp(i)&&kp(e[r])?M_(e[r],i):i}return M_(e,...n)}function xH(...e){return M_({},...e)}function FI(e){return"string"==typeof e||e instanceof String?JSON.parse(e):e}const LI={header:"Checkout",errors:{notCheckedCheckboxes:"Please check these boxes",invalidCardHolder:"Invalid cardholder name",invalidCardNumber:"Invalid card number",invalidCardExpiration:"Invalid card date",invalidCvv:"Invalid card code",invalidPhoneNumber:"Invalid phone number"},requisites:{paymentDetailsHeader:"Payment details",cardNumberPlaceholder:"Card number",cardExpirationPlaceholder:"MM/YY",cvvHint:"CVV (Card Verification Value)",cardHolderHeader:"Name on card",cardHolderPlaceholder:"Name on card"},phone:{header:"Phone",placeholder:"Phone number"},apms:{or:"OR",orUseAlternative:"or use alternative methods"},totalHeader:"Total",pay:"Pay",availableCardBrandsHeader:"Payment methods",transactionProtectedBy:"Your transactions are protected by",existingCards:{manageCardsHeader:"Manage cards",addNewCard:"Add new card",removeCard:"Remove card"},paymentResult:{success:"We placed your order",failure:{main:"Something went wrong",paymentFailed:"Payment failed."}},paymentProcessing:"payment processing",notifications:{cardDeleted:{title:"Successful",text:"Card has been deleted"},error:{default:{title:"Attention!",text:"Unable to process the payment"}}},noAvailablePaymentMethods:"No available payment methods...",close:"Close"},OH={urls:{},availableCardBrands:["mastercard","visa"],chargeTerms:void 0,isCloseButtonVisible:!0,isProblemTipsListVisible:!1,isTaxVisible:!1,isSignatureRequired:!1,isHeaderVisible:!0,closePaymentRedirect:!0,languageSettings:{code:"en-US",languages:{"en-US":LI,"es-ES":{header:"Verificar",errors:{notCheckedCheckboxes:"Debe marcar estas casillas",invalidCardHolder:"Nombre del titular de la tarjeta no v\xe1lido",invalidCardNumber:"N\xfamero de tarjeta no v\xe1lido",invalidCardExpiration:"Fecha de la tarjeta no v\xe1lida",invalidCvv:"C\xf3digo de la tarjeta no v\xe1lido",invalidPhoneNumber:"N\xfamero de tel\xe9fono no v\xe1lido"},requisites:{paymentDetailsHeader:"Detalles del pago",cardNumberPlaceholder:"N\xfamero de tarjeta",cardExpirationPlaceholder:"MM/AA",cvvHint:"CVV (Valor de verificaci\xf3n de la tarjeta)",cardHolderHeader:"Nombre en la tarjeta",cardHolderPlaceholder:"Nombre en la tarjeta"},phone:{header:"Tel\xe9fono",placeholder:"N\xfamero de tel\xe9fono"},apms:{or:"O",orUseAlternative:"o usar m\xe9todos alternativos"},totalHeader:"Total",pay:"Pagar",availableCardBrandsHeader:"M\xe9todos de pago",transactionProtectedBy:"Sus transacciones est\xe1n protegidas por",existingCards:{manageCardsHeader:"Gestionar tarjetas",addNewCard:"A\xf1adir nueva tarjeta",removeCard:"Eliminar tarjeta"},paymentResult:{success:"Hemos realizado su pedido",failure:{main:"Algo sali\xf3 mal",paymentFailed:"El pago no se ha procesado."}},paymentProcessing:"Procesando el pago\u2026",notifications:{cardDeleted:{title:"Exitoso",text:"Se ha eliminado la tarjeta."},error:{default:{title:"\xa1Atenci\xf3n!",text:"No se ha podido procesar el pago."}}},noAvailablePaymentMethods:"No hay m\xe9todos de pago disponibles\u2026",close:"Cerrar"},"fr-FR":{header:"Paiement",errors:{notCheckedCheckboxes:"Veuillez cocher les cases suivantes",invalidCardHolder:"Nom du titulaire de la carte invalide",invalidCardNumber:"Num\xe9ro de carte non valide",invalidCardExpiration:"Date de la carte invalide",invalidCvv:"Code de carte invalide",invalidPhoneNumber:"Num\xe9ro de t\xe9l\xe9phone invalide"},requisites:{paymentDetailsHeader:"Modalit\xe9s de paiement",cardNumberPlaceholder:"Num\xe9ro de carte",cardExpirationPlaceholder:"MM/AA",cvvHint:"CVV (Valeur de v\xe9rification de la carte)",cardHolderHeader:"Nom sur la carte",cardHolderPlaceholder:"Nom sur la carte"},phone:{header:"T\xe9l\xe9phone",placeholder:"Num\xe9ro de t\xe9l\xe9phone"},apms:{or:"OU",orUseAlternative:"ou utilisez des m\xe9thodes alternatives"},totalHeader:"Total",pay:"Payer",availableCardBrandsHeader:"Modes de paiement",transactionProtectedBy:"Vos transactions sont prot\xe9g\xe9es par",existingCards:{manageCardsHeader:"G\xe9rer les cartes",addNewCard:"Ajoutez une nouvelle carte",removeCard:"Supprimer la carte"},paymentResult:{success:"Nous avons pass\xe9 votre commande",failure:{main:"Une erreur est survenue",paymentFailed:"Le paiement a \xe9chou\xe9."}},paymentProcessing:"traitement du paiement",notifications:{cardDeleted:{title:"R\xe9ussie",text:"La carte a \xe9t\xe9 supprim\xe9e"},error:{default:{title:"Attention !",text:"Impossible de traiter le paiement"}}},noAvailablePaymentMethods:"Aucune m\xe9thode de paiement disponible...",close:"Fermer"}}},merchantInfo:void 0,userPreferences:void 0,components:["available-card-brands","no-methods","card-list","requisites","phone-number","charge-terms","pay-button","apm-list","user-preferences","merchant-info","protected-by"],resultComponentsStructure:{aboveResult:["available-card-brands"],belowResult:["merchant-info","protected-by"]},events:{analytics:{optional:!1,required:!1},error:!0},requiredFieldsBehavior:{buttonStateUntilFilled:"enabled",markAsInvalidUntilCorrect:!1,showStars:!1},apmsCollapse:!1};function RH(e,n){if(1&e&&(G(0,"div",1),He(1,"img",2),U()),2&e){const t=Z();N(),ee("src",t.src,el)("alt",t.alt)}}let Pu=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=ut({type:e,selectors:[["moto-picture"]],inputs:{src:"src",alt:"alt"},decls:1,vars:1,consts:[["class","__ndb-picture",4,"ngIf"],[1,"__ndb-picture"],[1,"__ndb-picture-tag",3,"src","alt"]],template:function(r,i){1&r&&De(0,RH,2,2,"div",0),2&r&&ee("ngIf",i.src)},dependencies:[pp],styles:[".__ndb-picture[_ngcontent-%COMP%]{height:inherit;width:inherit}.__ndb-picture-tag[_ngcontent-%COMP%]{height:100%;width:100%;object-fit:cover}"],changeDetection:0})}return e})();var Au=function(e){return e.default="default-card-icon",e.mastercard="master-card-icon",e.maestro="maestro",e.visa="visa-card-icon-new",e.discover="discover",e.jcb="jcb",e["american-express"]="american-express",e.unionpay="unionpay",e}(Au||{});const ku_customHeaders_skipToastr="X-Skip-Toastr";let FH=(()=>{class e{transform(t){const r=Au[t];let i=r?.toString();if(i&&(r==Au.visa&&(i+="-brand"),r==Au.mastercard&&(i+="-brand"),r))return`https://cdn.motopays.com/images/${i}.svg`}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275pipe=Nt({name:"brandLogo",type:e,pure:!0})}return e})();function LH(e,n){1&e&&He(0,"moto-picture",4),2&e&&ee("src",n)}function VH(e,n){if(1&e&&(De(0,LH,1,1,"moto-picture",4),it(1,"brandLogo")),2&e){let t;Le((t=Nl(1,1,n.$implicit))?0:-1,t)}}let jI=(()=>{class e{constructor(t){this.context=t}ngOnInit(){this.settings=this.context.data.settings}static#e=this.\u0275fac=function(r){return new(r||e)(P(st))};static#t=this.\u0275cmp=ut({type:e,selectors:[["moto-available-card-brands"]],decls:8,vars:1,consts:[[1,"__ndb-brands"],[1,"__ndb-brands-paymentsheader"],[1,"fz-14","fw-500"],[1,"__ndb-brands-payments"],[1,"__ndb-brands-payments-logo",3,"src"]],template:function(r,i){if(1&r&&(hr(0),G(1,"div",0)(2,"div",1)(3,"h6",2),fe(4),U()(),G(5,"div",3),Wr(6,VH,2,3,null,null,Wi),U()()),2&r){const o=i.settings();N(4),lt(" ",o.language.availableCardBrandsHeader," "),N(2),qr(o.availableCardBrands)}},dependencies:[Pu,FH],styles:["[_ngcontent-%COMP%]:root{--ndb-button-bg: #2c8ee8;--ndb-button-disabled-bg: rgba(201, 204, 216, .3);--ndb-button-hover-bg: #1467b4;--ndb-button-color: #fff;--ndb-card-border-color: #c9ccd8}.__ndb-brands[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:10px}.__ndb-brands-payments[_ngcontent-%COMP%]{gap:10px;display:flex;justify-content:center}.__ndb-brands-payments-logo[_ngcontent-%COMP%]{height:24px;width:36px}.__ndb-brands-header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:10px}.__ndb-brands-paymentsheader[_ngcontent-%COMP%]{justify-content:center;display:flex;align-items:center;gap:10px}"],changeDetection:0})}return e})();class jH{constructor(n,t=Ie(!1)){this.item=n,this.selected=t}setSelected(n){this.selected.set(n)}}var he=function(e){return e[e.State=0]="State",e[e.Transition=1]="Transition",e[e.Sequence=2]="Sequence",e[e.Group=3]="Group",e[e.Animate=4]="Animate",e[e.Keyframes=5]="Keyframes",e[e.Style=6]="Style",e[e.Trigger=7]="Trigger",e[e.Reference=8]="Reference",e[e.AnimateChild=9]="AnimateChild",e[e.AnimateRef=10]="AnimateRef",e[e.Query=11]="Query",e[e.Stagger=12]="Stagger",e}(he||{});const Ki="*";function xu(e,n){return{type:he.Trigger,name:e,definitions:n,options:{}}}function ti(e,n=null){return{type:he.Animate,styles:n,timings:e}}function Et(e){return{type:he.Style,styles:e,offset:null}}function Xl(e,n,t){return{type:he.State,name:e,styles:n,options:t}}function ni(e,n,t=null){return{type:he.Transition,expr:e,animation:n,options:t}}class Ql{constructor(n=0,t=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=n+t}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(n=>n()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(n){this._position=this.totalTime?n*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(n){const t="start"==n?this._onStartFns:this._onDoneFns;t.forEach(r=>r()),t.length=0}}class BI{constructor(n){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=n;let t=0,r=0,i=0;const o=this.players.length;0==o?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++t==o&&this._onFinish()}),s.onDestroy(()=>{++r==o&&this._onDestroy()}),s.onStart(()=>{++i==o&&this._onStart()})}),this.totalTime=this.players.reduce((s,u)=>Math.max(s,u.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this.players.forEach(n=>n.init())}onStart(n){this._onStartFns.push(n)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(n=>n()),this._onStartFns=[])}onDone(n){this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(n=>n.play())}pause(){this.players.forEach(n=>n.pause())}restart(){this.players.forEach(n=>n.restart())}finish(){this._onFinish(),this.players.forEach(n=>n.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(n=>n.destroy()),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this.players.forEach(n=>n.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(n){const t=n*this.totalTime;this.players.forEach(r=>{const i=r.totalTime?Math.min(1,t/r.totalTime):1;r.setPosition(i)})}getPosition(){const n=this.players.reduce((t,r)=>null===t||r.totalTime>t.totalTime?r:t,null);return null!=n?n.getPosition():0}beforeDestroy(){this.players.forEach(n=>{n.beforeDestroy&&n.beforeDestroy()})}triggerCallback(n){const t="start"==n?this._onStartFns:this._onDoneFns;t.forEach(r=>r()),t.length=0}}const Jl_animation_defaultAnimateMc=0;class P_{constructor(n){this.animationTime=Jl_animation_defaultAnimateMc,Object.assign(this,n)}}const zH=xu("ANHeight",[ni(":enter",[Et({overflow:"hidden",height:"0px"}),ti(Jl_animation_defaultAnimateMc,Et({height:"*",overflow:"hidden"}))]),ni(":leave",[Et({height:"*",overflow:"hidden"}),ti(Jl_animation_defaultAnimateMc,Et({height:"0px",overflow:"hidden"}))])]),WH=xu("ANScale",[ni(":enter",[Et({opacity:0,transform:"scale(0)"}),ti(Jl_animation_defaultAnimateMc,Et({opacity:1,transform:"scale(1)"}))]),ni(":leave",ti(Jl_animation_defaultAnimateMc,Et({opacity:0,transform:"scale(0)"})))]),A_=e=>{const n=new P_({animationName:"ANTransform",fromStyles:{opacity:"0",transform:"translateY(-100%)"},toStyles:{opacity:"1",transform:"translateY(0%)"}}),t=Object.assign(n,e),{animationName:r,animationTime:i,fromStyles:o,toStyles:s}=t;return xu(r,[ni(":enter",[Et(o),ti(i,Et(s))]),ni(":leave",[Et(s),ti(i,Et(o))])])},qH=e=>{const n=new P_({animationName:"ANStates",fromState:"a",toState:"b"}),t=Object.assign(n,e),{animationName:r,animationTime:i,fromStyles:o,toStyles:s,fromState:u,toState:c}=t;return xu(r,[Xl(u,Et(o)),Xl(c,Et(s)),ni(`${u}<=>${c}`,ti(i))])},ZH=e=>{const n=new P_({animationName:"ANStates"}),t=Object.assign(n,e),{animationName:r,animationTime:i,fromStyles:o,toStyles:s}=t;return xu(r,[ni(":enter",[Et(o),ti(i,Et(s))]),ni(":leave",[Et(s),ti(i,Et(o))])])};function tr(...e){return Io(e,Ep(e))}function Nu(e){return mn((n,t)=>{let o,r=null,i=!1;r=n.subscribe(Kt(t,void 0,void 0,s=>{o=Qr(e(s,Nu(e)(n))),r?(r.unsubscribe(),r=null,o.subscribe(t)):i=!0})),i&&(r.unsubscribe(),r=null,o.subscribe(t))})}function Ou(e,n){return Je(n)?Cp(e,n,1):Cp(e,1)}function HI(e,n){return mn((t,r)=>{let i=0;t.subscribe(Kt(r,o=>e.call(n,o,i++)&&r.next(o)))})}class xp{}class Np{}class nr{constructor(n){this.normalizedNames=new Map,this.lazyUpdate=null,n?"string"==typeof n?this.lazyInit=()=>{this.headers=new Map,n.split("\n").forEach(t=>{const r=t.indexOf(":");if(r>0){const i=t.slice(0,r),o=i.toLowerCase(),s=t.slice(r+1).trim();this.maybeSetNormalizedName(i,o),this.headers.has(o)?this.headers.get(o).push(s):this.headers.set(o,[s])}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEach((t,r)=>{this.setHeaderEntries(r,t)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([t,r])=>{this.setHeaderEntries(t,r)})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();const t=this.headers.get(n.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,t){return this.clone({name:n,value:t,op:"a"})}set(n,t){return this.clone({name:n,value:t,op:"s"})}delete(n,t){return this.clone({name:n,value:t,op:"d"})}maybeSetNormalizedName(n,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,n)}init(){this.lazyInit&&(this.lazyInit instanceof nr?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(t=>{this.headers.set(t,n.headers.get(t)),this.normalizedNames.set(t,n.normalizedNames.get(t))})}clone(n){const t=new nr;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof nr?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([n]),t}applyUpdate(n){const t=n.name.toLowerCase();switch(n.op){case"a":case"s":let r=n.value;if("string"==typeof r&&(r=[r]),0===r.length)return;this.maybeSetNormalizedName(n.name,t);const i=("a"===n.op?this.headers.get(t):void 0)||[];i.push(...r),this.headers.set(t,i);break;case"d":const o=n.value;if(o){let s=this.headers.get(t);if(!s)return;s=s.filter(u=>-1===o.indexOf(u)),0===s.length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,s)}else this.headers.delete(t),this.normalizedNames.delete(t)}}setHeaderEntries(n,t){const r=(Array.isArray(t)?t:[t]).map(o=>o.toString()),i=n.toLowerCase();this.headers.set(i,r),this.maybeSetNormalizedName(n,i)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>n(this.normalizedNames.get(t),this.headers.get(t)))}}class KH{encodeKey(n){return GI(n)}encodeValue(n){return GI(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}}const QH=/%(\d[a-f0-9])/gi,JH={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function GI(e){return encodeURIComponent(e).replace(QH,(n,t)=>JH[t]??n)}function Op(e){return`${e}`}class Xi{constructor(n={}){if(this.updates=null,this.cloneFrom=null,this.encoder=n.encoder||new KH,n.fromString){if(n.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function XH(e,n){const t=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(i=>{const o=i.indexOf("="),[s,u]=-1==o?[n.decodeKey(i),""]:[n.decodeKey(i.slice(0,o)),n.decodeValue(i.slice(o+1))],c=t.get(s)||[];c.push(u),t.set(s,c)}),t}(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(t=>{const r=n.fromObject[t],i=Array.isArray(r)?r.map(Op):[Op(r)];this.map.set(t,i)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();const t=this.map.get(n);return t?t[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,t){return this.clone({param:n,value:t,op:"a"})}appendAll(n){const t=[];return Object.keys(n).forEach(r=>{const i=n[r];Array.isArray(i)?i.forEach(o=>{t.push({param:r,value:o,op:"a"})}):t.push({param:r,value:i,op:"a"})}),this.clone(t)}set(n,t){return this.clone({param:n,value:t,op:"s"})}delete(n,t){return this.clone({param:n,value:t,op:"d"})}toString(){return this.init(),this.keys().map(n=>{const t=this.encoder.encodeKey(n);return this.map.get(n).map(r=>t+"="+this.encoder.encodeValue(r)).join("&")}).filter(n=>""!==n).join("&")}clone(n){const t=new Xi({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat(n),t}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":const t=("a"===n.op?this.map.get(n.param):void 0)||[];t.push(Op(n.value)),this.map.set(n.param,t);break;case"d":if(void 0===n.value){this.map.delete(n.param);break}{let r=this.map.get(n.param)||[];const i=r.indexOf(Op(n.value));-1!==i&&r.splice(i,1),r.length>0?this.map.set(n.param,r):this.map.delete(n.param)}}}),this.cloneFrom=this.updates=null)}}class eG{constructor(){this.map=new Map}set(n,t){return this.map.set(n,t),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}}function UI(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function $I(e){return typeof Blob<"u"&&e instanceof Blob}function zI(e){return typeof FormData<"u"&&e instanceof FormData}class ed{constructor(n,t,r,i){let o;if(this.url=t,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=n.toUpperCase(),function tG(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||i?(this.body=void 0!==r?r:null,o=i):o=r,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),this.transferCache=o.transferCache),this.headers??=new nr,this.context??=new eG,this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=t;else{const u=t.indexOf("?");this.urlWithParams=t+(-1===u?"?":u<t.length-1?"&":"")+s}}else this.params=new Xi,this.urlWithParams=t}serializeBody(){return null===this.body?null:"string"==typeof this.body||UI(this.body)||$I(this.body)||zI(this.body)||function nG(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}(this.body)?this.body:this.body instanceof Xi?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||zI(this.body)?null:$I(this.body)?this.body.type||null:UI(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Xi?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(n={}){const t=n.method||this.method,r=n.url||this.url,i=n.responseType||this.responseType,o=n.transferCache??this.transferCache,s=void 0!==n.body?n.body:this.body,u=n.withCredentials??this.withCredentials,c=n.reportProgress??this.reportProgress;let d=n.headers||this.headers,f=n.params||this.params;const m=n.context??this.context;return void 0!==n.setHeaders&&(d=Object.keys(n.setHeaders).reduce((g,y)=>g.set(y,n.setHeaders[y]),d)),n.setParams&&(f=Object.keys(n.setParams).reduce((g,y)=>g.set(y,n.setParams[y]),f)),new ed(t,r,s,{params:f,headers:d,context:m,reportProgress:c,responseType:i,withCredentials:u,transferCache:o})}}var Ao=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}(Ao||{});class k_{constructor(n,t=200,r="OK"){this.headers=n.headers||new nr,this.status=void 0!==n.status?n.status:t,this.statusText=n.statusText||r,this.url=n.url||null,this.ok=this.status>=200&&this.status<300}}class Rp extends k_{constructor(n={}){super(n),this.type=Ao.ResponseHeader}clone(n={}){return new Rp({headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}}class Os extends k_{constructor(n={}){super(n),this.type=Ao.Response,this.body=void 0!==n.body?n.body:null}clone(n={}){return new Os({body:void 0!==n.body?n.body:this.body,headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}}class Ru extends k_{constructor(n){super(n,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${n.url||"(unknown url)"}`:`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}}function x_(e,n){return{body:n,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,transferCache:e.transferCache}}let Fp=(()=>{class e{constructor(t){this.handler=t}request(t,r,i={}){let o;if(t instanceof ed)o=t;else{let c,d;c=i.headers instanceof nr?i.headers:new nr(i.headers),i.params&&(d=i.params instanceof Xi?i.params:new Xi({fromObject:i.params})),o=new ed(t,r,void 0!==i.body?i.body:null,{headers:c,context:i.context,params:d,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials,transferCache:i.transferCache})}const s=tr(o).pipe(Ou(c=>this.handler.handle(c)));if(t instanceof ed||"events"===i.observe)return s;const u=s.pipe(HI(c=>c instanceof Os));switch(i.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return u.pipe(St(c=>{if(null!==c.body&&!(c.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return c.body}));case"blob":return u.pipe(St(c=>{if(null!==c.body&&!(c.body instanceof Blob))throw new Error("Response is not a Blob.");return c.body}));case"text":return u.pipe(St(c=>{if(null!==c.body&&"string"!=typeof c.body)throw new Error("Response is not a string.");return c.body}));default:return u.pipe(St(c=>c.body))}case"response":return u;default:throw new Error(`Unreachable: unhandled observe type ${i.observe}}`)}}delete(t,r={}){return this.request("DELETE",t,r)}get(t,r={}){return this.request("GET",t,r)}head(t,r={}){return this.request("HEAD",t,r)}jsonp(t,r){return this.request("JSONP",t,{params:(new Xi).append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,r={}){return this.request("OPTIONS",t,r)}patch(t,r,i={}){return this.request("PATCH",t,x_(i,r))}post(t,r,i={}){return this.request("POST",t,x_(i,r))}put(t,r,i={}){return this.request("PUT",t,x_(i,r))}static#e=this.\u0275fac=function(r){return new(r||e)(l(xp))};static#t=this.\u0275prov=q({token:e,factory:e.\u0275fac})}return e})();const oG=/^\)\]\}',?\n/;function qI(e){if(e.url)return e.url;const n="X-Request-URL".toLocaleLowerCase();return e.headers.get(n)}let N_=(()=>{class e{constructor(){this.fetchImpl=p(aG,{optional:!0})?.fetch??((...t)=>globalThis.fetch(...t)),this.ngZone=p(Re)}handle(t){return new _t(r=>{const i=new AbortController;return this.doRequest(t,i.signal,r).then(O_,o=>r.error(new Ru({error:o}))),()=>i.abort()})}doRequest(t,r,i){var o=this;return Su(function*(){const s=o.createRequestInit(t);let u;try{const _=o.ngZone.runOutsideAngular(()=>o.fetchImpl(t.urlWithParams,{signal:r,...s}));(function uG(e){e.then(O_,O_)})(_),i.next({type:Ao.Sent}),u=yield _}catch(_){return void i.error(new Ru({error:_,status:_.status??0,statusText:_.statusText,url:t.urlWithParams,headers:_.headers}))}const c=new nr(u.headers),d=u.statusText,f=qI(u)??t.urlWithParams;let m=u.status,g=null;if(t.reportProgress&&i.next(new Rp({headers:c,status:m,statusText:d,url:f})),u.body){const _=u.headers.get("content-length"),C=[],S=u.body.getReader();let T,R,I=0;const L=typeof Zone<"u"&&Zone.current;yield o.ngZone.runOutsideAngular(Su(function*(){for(;;){const{done:X,value:re}=yield S.read();if(X)break;if(C.push(re),I+=re.length,t.reportProgress){R="text"===t.responseType?(R??"")+(T??=new TextDecoder).decode(re,{stream:!0}):void 0;const Q=()=>i.next({type:Ao.DownloadProgress,total:_?+_:void 0,loaded:I,partialText:R});L?L.run(Q):Q()}}}));const j=o.concatChunks(C,I);try{const X=u.headers.get("Content-Type")??"";g=o.parseBody(t,j,X)}catch(X){return void i.error(new Ru({error:X,headers:new nr(u.headers),status:u.status,statusText:u.statusText,url:qI(u)??t.urlWithParams}))}}0===m&&(m=g?200:0),m>=200&&m<300?(i.next(new Os({body:g,headers:c,status:m,statusText:d,url:f})),i.complete()):i.error(new Ru({error:g,headers:c,status:m,statusText:d,url:f}))})()}parseBody(t,r,i){switch(t.responseType){case"json":const o=(new TextDecoder).decode(r).replace(oG,"");return""===o?null:JSON.parse(o);case"text":return(new TextDecoder).decode(r);case"blob":return new Blob([r],{type:i});case"arraybuffer":return r.buffer}}createRequestInit(t){const r={},i=t.withCredentials?"include":void 0;if(t.headers.forEach((o,s)=>r[o]=s.join(",")),t.headers.has("Accept")||(r.Accept="application/json, text/plain, */*"),!t.headers.has("Content-Type")){const o=t.detectContentTypeHeader();null!==o&&(r["Content-Type"]=o)}return{body:t.serializeBody(),method:t.method,headers:r,credentials:i}}concatChunks(t,r){const i=new Uint8Array(r);let o=0;for(const s of t)i.set(s,o),o+=s.length;return i}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=q({token:e,factory:e.\u0275fac})}return e})();class aG{}function O_(){}function ZI(e,n){return n(e)}const td=new $(""),YI=new $(""),KI=new $("",{providedIn:"root",factory:()=>!0});let XI=(()=>{class e extends xp{constructor(t,r){super(),this.backend=t,this.injector=r,this.chain=null,this.pendingTasks=p(gs),this.contributeToStability=p(KI)}handle(t){if(null===this.chain){const r=Array.from(new Set([...this.injector.get(td),...this.injector.get(YI,[])]));this.chain=r.reduceRight((i,o)=>function lG(e,n,t){return(r,i)=>function fk(e,n){e instanceof Ta&&e.assertNotDestroyed();const r=Ae(e),i=Jt(void 0);try{return n()}finally{Ae(r),Jt(i)}}(t,()=>n(r,o=>e(o,i)))}(i,o,this.injector),ZI)}if(this.contributeToStability){const r=this.pendingTasks.add();return this.chain(t,i=>this.backend.handle(i)).pipe(function YH(e){return mn((n,t)=>{try{n.subscribe(t)}finally{t.add(e)}})}(()=>this.pendingTasks.remove(r)))}return this.chain(t,r=>this.backend.handle(r))}static#e=this.\u0275fac=function(r){return new(r||e)(l(Np),l(cr))};static#t=this.\u0275prov=q({token:e,factory:e.\u0275fac})}return e})();const yG=/^\)\]\}',?\n/;let JI=(()=>{class e{constructor(t){this.xhrFactory=t}handle(t){if("JSONP"===t.method)throw new k(-2800,!1);const r=this.xhrFactory;return(r.\u0275loadImpl?Io(r.\u0275loadImpl()):tr(null)).pipe(sI(()=>new _t(o=>{const s=r.build();if(s.open(t.method,t.urlWithParams),t.withCredentials&&(s.withCredentials=!0),t.headers.forEach((C,S)=>s.setRequestHeader(C,S.join(","))),t.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){const C=t.detectContentTypeHeader();null!==C&&s.setRequestHeader("Content-Type",C)}if(t.responseType){const C=t.responseType.toLowerCase();s.responseType="json"!==C?C:"text"}const u=t.serializeBody();let c=null;const d=()=>{if(null!==c)return c;const C=s.statusText||"OK",S=new nr(s.getAllResponseHeaders()),I=function vG(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(s)||t.url;return c=new Rp({headers:S,status:s.status,statusText:C,url:I}),c},f=()=>{let{headers:C,status:S,statusText:I,url:T}=d(),R=null;204!==S&&(R=typeof s.response>"u"?s.responseText:s.response),0===S&&(S=R?200:0);let L=S>=200&&S<300;if("json"===t.responseType&&"string"==typeof R){const j=R;R=R.replace(yG,"");try{R=""!==R?JSON.parse(R):null}catch(X){R=j,L&&(L=!1,R={error:X,text:R})}}L?(o.next(new Os({body:R,headers:C,status:S,statusText:I,url:T||void 0})),o.complete()):o.error(new Ru({error:R,headers:C,status:S,statusText:I,url:T||void 0}))},m=C=>{const{url:S}=d(),I=new Ru({error:C,status:s.status||0,statusText:s.statusText||"Unknown Error",url:S||void 0});o.error(I)};let g=!1;const y=C=>{g||(o.next(d()),g=!0);let S={type:Ao.DownloadProgress,loaded:C.loaded};C.lengthComputable&&(S.total=C.total),"text"===t.responseType&&s.responseText&&(S.partialText=s.responseText),o.next(S)},_=C=>{let S={type:Ao.UploadProgress,loaded:C.loaded};C.lengthComputable&&(S.total=C.total),o.next(S)};return s.addEventListener("load",f),s.addEventListener("error",m),s.addEventListener("timeout",m),s.addEventListener("abort",m),t.reportProgress&&(s.addEventListener("progress",y),null!==u&&s.upload&&s.upload.addEventListener("progress",_)),s.send(u),o.next({type:Ao.Sent}),()=>{s.removeEventListener("error",m),s.removeEventListener("abort",m),s.removeEventListener("load",f),s.removeEventListener("timeout",m),t.reportProgress&&(s.removeEventListener("progress",y),null!==u&&s.upload&&s.upload.removeEventListener("progress",_)),s.readyState!==s.DONE&&s.abort()}})))}static#e=this.\u0275fac=function(r){return new(r||e)(l(vM))};static#t=this.\u0275prov=q({token:e,factory:e.\u0275fac})}return e})();const R_=new $(""),eP=new $("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),tP=new $("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class nP{}let wG=(()=>{class e{constructor(t,r,i){this.doc=t,this.platform=r,this.cookieName=i,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=uM(t,this.cookieName),this.lastCookieString=t),this.lastToken}static#e=this.\u0275fac=function(r){return new(r||e)(l(an),l(Gi),l(eP))};static#t=this.\u0275prov=q({token:e,factory:e.\u0275fac})}return e})();function CG(e,n){const t=e.url.toLowerCase();if(!p(R_)||"GET"===e.method||"HEAD"===e.method||t.startsWith("http://")||t.startsWith("https://"))return n(e);const r=p(nP).getToken(),i=p(tP);return null!=r&&!e.headers.has(i)&&(e=e.clone({headers:e.headers.set(i,r)})),n(e)}var ko=function(e){return e[e.Interceptors=0]="Interceptors",e[e.LegacyInterceptors=1]="LegacyInterceptors",e[e.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",e[e.NoXsrfProtection=3]="NoXsrfProtection",e[e.JsonpSupport=4]="JsonpSupport",e[e.RequestsMadeViaParent=5]="RequestsMadeViaParent",e[e.Fetch=6]="Fetch",e}(ko||{});function EG(...e){const n=[Fp,JI,XI,{provide:xp,useExisting:XI},{provide:Np,useFactory:()=>p(N_,{optional:!0})??p(JI)},{provide:td,useValue:CG,multi:!0},{provide:R_,useValue:!0},{provide:nP,useClass:wG}];for(const t of e)n.push(...t.\u0275providers);return Sa(n)}function DG(e){return function Rs(e,n){return{\u0275kind:e,\u0275providers:n}}(ko.Interceptors,e.map(n=>({provide:td,useValue:n,multi:!0})))}class NG extends cn{constructor(n,t){super()}schedule(n,t=0){return this}}const Vp={setInterval(e,n,...t){const{delegate:r}=Vp;return r?.setInterval?r.setInterval(e,n,...t):setInterval(e,n,...t)},clearInterval(e){const{delegate:n}=Vp;return(n?.clearInterval||clearInterval)(e)},delegate:void 0};class nd{constructor(n,t=nd.now){this.schedulerActionCtor=n,this.now=t}schedule(n,t=0,r){return new this.schedulerActionCtor(this,n).schedule(r,t)}}nd.now=d_.now;const dP=new class RG extends nd{constructor(n,t=nd.now){super(n,t),this.actions=[],this._active=!1}flush(n){const{actions:t}=this;if(this._active)return void t.push(n);let r;this._active=!0;do{if(r=n.execute(n.state,n.delay))break}while(n=t.shift());if(this._active=!1,r){for(;n=t.shift();)n.unsubscribe();throw r}}}(class OG extends NG{constructor(n,t){super(n,t),this.scheduler=n,this.work=t,this.pending=!1}schedule(n,t=0){var r;if(this.closed)return this;this.state=n;const i=this.id,o=this.scheduler;return null!=i&&(this.id=this.recycleAsyncId(o,i,t)),this.pending=!0,this.delay=t,this.id=null!==(r=this.id)&&void 0!==r?r:this.requestAsyncId(o,this.id,t),this}requestAsyncId(n,t,r=0){return Vp.setInterval(n.flush.bind(n,this),r)}recycleAsyncId(n,t,r=0){if(null!=r&&this.delay===r&&!1===this.pending)return t;null!=t&&Vp.clearInterval(t)}execute(n,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const r=this._execute(n,t);if(r)return r;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(n,t){let i,r=!1;try{this.work(n)}catch(o){r=!0,i=o||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),i}unsubscribe(){if(!this.closed){const{id:n,scheduler:t}=this,{actions:r}=t;this.work=this.state=this.scheduler=null,this.pending=!1,Bo(r,this),null!=n&&(this.id=this.recycleAsyncId(t,n,null)),this.delay=null,super.unsubscribe()}}}),FG=dP;function fP(e=0,n,t=FG){let r=-1;return null!=n&&(nI(n)?t=n:r=n),new _t(i=>{let o=function LG(e){return e instanceof Date&&!isNaN(e)}(e)?+e-t.now():e;o<0&&(o=0);let s=0;return t.schedule(function(){i.closed||(i.next(s++),0<=r?this.schedule(void 0,r):i.complete())},o)})}function F_(e,n){const t=Je(e)?e:()=>e,r=i=>i.error(t());return new _t(n?i=>n.schedule(r,0,i):r)}function L_(e){return new Xi({fromObject:e})}function hP(e){const n=Object.entries(e).reduce((t,[r,i])=>(t[r]=String(i),t),{});return new nr(n)}const pP="Watchdog fake error";function Qi(e,n){return`${e.endsWith("/")?e.slice(0,-1):e}${n.startsWith("/")?n:`/${n}`}`}let V_=(()=>{class e{constructor(t,r){this.http=t,this.context=r}getExistingCards(){const{merchantId:t,userAuthToken:r}=this.context.data.payment();if(!r)return tr([]);const i=L_({merchantId:t}),o=hP({[ku_customHeaders_skipToastr]:!0}),s=Qi(this.host(),"/api/UserPaymentMethods");return this.http.get(s,{params:i,headers:o}).pipe(St(u=>u.map(c=>({...c,name:c.name.toLocaleLowerCase(),type:c.type.toLocaleLowerCase()}))),St(u=>u.filter(c=>"card"===c.type)),Nu(()=>tr([])))}removeCard(t){const{merchantId:r}=this.context.data.payment(),i=L_({merchantId:r}),o=Qi(this.host(),`/api/UserPaymentMethods/${t}`);return this.http.delete(o,{params:i})}host(){return this.context.data.settings().urls.billingProfiles}static#e=this.\u0275fac=function(r){return new(r||e)(l(Fp),l(st))};static#t=this.\u0275prov=q({token:e,factory:e.\u0275fac})}return e})();const mP=["toast-component",""];function BG(e,n){if(1&e){const t=sn();G(0,"button",5),be("click",function(){return Ne(t),Oe(Z().remove())}),G(1,"span",6),fe(2,"\xd7"),U()()}}function HG(e,n){if(1&e&&(mu(0),fe(1),gu()),2&e){const t=Z(2);N(),lt("[",t.duplicatesCount+1,"]")}}function GG(e,n){if(1&e&&(G(0,"div"),fe(1),De(2,HG,2,1,"ng-container",4),U()),2&e){const t=Z();zi(t.options.titleClass),on("aria-label",t.title),N(),lt(" ",t.title," "),N(),ee("ngIf",t.duplicatesCount)}}function UG(e,n){if(1&e&&He(0,"div",7),2&e){const t=Z();zi(t.options.messageClass),ee("innerHTML",t.message,_o)}}function $G(e,n){if(1&e&&(G(0,"div",8),fe(1),U()),2&e){const t=Z();zi(t.options.messageClass),on("aria-label",t.message),N(),lt(" ",t.message," ")}}function zG(e,n){if(1&e&&(G(0,"div"),He(1,"div",9),U()),2&e){const t=Z();N(),pu("width",t.width()+"%")}}class QG{_attachedHost;component;viewContainerRef;injector;constructor(n,t){this.component=n,this.injector=t}attach(n,t){return this._attachedHost=n,n.attach(this,t)}detach(){const n=this._attachedHost;if(n)return this._attachedHost=void 0,n.detach()}get isAttached(){return null!=this._attachedHost}setAttachedHost(n){this._attachedHost=n}}class JG{_attachedPortal;_disposeFn;attach(n,t){return this._attachedPortal=n,this.attachComponentPortal(n,t)}detach(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)}setDisposeFn(n){this._disposeFn=n}}class eU{_overlayRef;componentInstance;duplicatesCount=0;_afterClosed=new bt;_activate=new bt;_manualClose=new bt;_resetTimeout=new bt;_countDuplicate=new bt;constructor(n){this._overlayRef=n}manualClose(){this._manualClose.next(),this._manualClose.complete()}manualClosed(){return this._manualClose.asObservable()}timeoutReset(){return this._resetTimeout.asObservable()}countDuplicate(){return this._countDuplicate.asObservable()}close(){this._overlayRef.detach(),this._afterClosed.next(),this._manualClose.next(),this._afterClosed.complete(),this._manualClose.complete(),this._activate.complete(),this._resetTimeout.complete(),this._countDuplicate.complete()}afterClosed(){return this._afterClosed.asObservable()}isInactive(){return this._activate.isStopped}activate(){this._activate.next(),this._activate.complete()}afterActivate(){return this._activate.asObservable()}onDuplicate(n,t){n&&this._resetTimeout.next(),t&&this._countDuplicate.next(++this.duplicatesCount)}}class jp{toastId;config;message;title;toastType;toastRef;_onTap=new bt;_onAction=new bt;constructor(n,t,r,i,o,s){this.toastId=n,this.config=t,this.message=r,this.title=i,this.toastType=o,this.toastRef=s,this.toastRef.afterClosed().subscribe(()=>{this._onAction.complete(),this._onTap.complete()})}triggerTap(){this._onTap.next(),this.config.tapToDismiss&&this._onTap.complete()}onTap(){return this._onTap.asObservable()}triggerAction(n){this._onAction.next(n)}onAction(){return this._onAction.asObservable()}}const yP=new $("ToastConfig");class tU extends JG{_hostDomElement;_componentFactoryResolver;_appRef;constructor(n,t,r){super(),this._hostDomElement=n,this._componentFactoryResolver=t,this._appRef=r}attachComponentPortal(n,t){const r=this._componentFactoryResolver.resolveComponentFactory(n.component);let i;return i=r.create(n.injector),this._appRef.attachView(i.hostView),this.setDisposeFn(()=>{this._appRef.detachView(i.hostView),i.destroy()}),t?this._hostDomElement.insertBefore(this._getComponentRootNode(i),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(i)),i}_getComponentRootNode(n){return n.hostView.rootNodes[0]}}let nU=(()=>{class e{_document=p(an);_containerElement;ngOnDestroy(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const t=this._document.createElement("div");t.classList.add("overlay-container"),t.setAttribute("aria-live","polite"),this._document.body.appendChild(t),this._containerElement=t}static \u0275fac=function(r){return new(r||e)};static \u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class rU{_portalHost;constructor(n){this._portalHost=n}attach(n,t=!0){return this._portalHost.attach(n,t)}detach(){return this._portalHost.detach()}}let iU=(()=>{class e{_overlayContainer=p(nU);_componentFactoryResolver=p(Ss);_appRef=p(pr);_document=p(an);_paneElements=new Map;create(t,r){return this._createOverlayRef(this.getPaneElement(t,r))}getPaneElement(t="",r){return this._paneElements.get(r)||this._paneElements.set(r,{}),this._paneElements.get(r)[t]||(this._paneElements.get(r)[t]=this._createPaneElement(t,r)),this._paneElements.get(r)[t]}_createPaneElement(t,r){const i=this._document.createElement("div");return i.id="toast-container",i.classList.add(t),i.classList.add("toast-container"),r?r.getContainerElement().appendChild(i):this._overlayContainer.getContainerElement().appendChild(i),i}_createPortalHost(t){return new tU(t,this._componentFactoryResolver,this._appRef)}_createOverlayRef(t){return new rU(this._createPortalHost(t))}static \u0275fac=function(r){return new(r||e)};static \u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Bp=(()=>{class e{overlay;_injector;sanitizer;ngZone;toastrConfig;currentlyActive=0;toasts=[];overlayContainer;previousToastMessage;index=0;constructor(t,r,i,o,s){this.overlay=r,this._injector=i,this.sanitizer=o,this.ngZone=s,this.toastrConfig={...t.default,...t.config},t.config.iconClasses&&(this.toastrConfig.iconClasses={...t.default.iconClasses,...t.config.iconClasses})}show(t,r,i={},o=""){return this._preBuildNotification(o,t,r,this.applyConfig(i))}success(t,r,i={}){return this._preBuildNotification(this.toastrConfig.iconClasses.success||"",t,r,this.applyConfig(i))}error(t,r,i={}){return this._preBuildNotification(this.toastrConfig.iconClasses.error||"",t,r,this.applyConfig(i))}info(t,r,i={}){return this._preBuildNotification(this.toastrConfig.iconClasses.info||"",t,r,this.applyConfig(i))}warning(t,r,i={}){return this._preBuildNotification(this.toastrConfig.iconClasses.warning||"",t,r,this.applyConfig(i))}clear(t){for(const r of this.toasts)if(void 0!==t){if(r.toastId===t)return void r.toastRef.manualClose()}else r.toastRef.manualClose()}remove(t){const r=this._findToast(t);if(!r||(r.activeToast.toastRef.close(),this.toasts.splice(r.index,1),this.currentlyActive=this.currentlyActive-1,!this.toastrConfig.maxOpened||!this.toasts.length))return!1;if(this.currentlyActive<this.toastrConfig.maxOpened&&this.toasts[this.currentlyActive]){const i=this.toasts[this.currentlyActive].toastRef;i.isInactive()||(this.currentlyActive=this.currentlyActive+1,i.activate())}return!0}findDuplicate(t="",r="",i,o){const{includeTitleDuplicates:s}=this.toastrConfig;for(const u of this.toasts)if((!s||s&&u.title===t)&&u.message===r)return u.toastRef.onDuplicate(i,o),u;return null}applyConfig(t={}){return{...this.toastrConfig,...t}}_findToast(t){for(let r=0;r<this.toasts.length;r++)if(this.toasts[r].toastId===t)return{index:r,activeToast:this.toasts[r]};return null}_preBuildNotification(t,r,i,o){return o.onActivateTick?this.ngZone.run(()=>this._buildNotification(t,r,i,o)):this._buildNotification(t,r,i,o)}_buildNotification(t,r,i,o){if(!o.toastComponent)throw new Error("toastComponent required");const s=this.findDuplicate(i,r,this.toastrConfig.resetTimeoutOnDuplicate&&o.timeOut>0,this.toastrConfig.countDuplicates);if((this.toastrConfig.includeTitleDuplicates&&i||r)&&this.toastrConfig.preventDuplicates&&null!==s)return s;this.previousToastMessage=r;let u=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(u=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));const c=this.overlay.create(o.positionClass,this.overlayContainer);this.index=this.index+1;let d=r;r&&o.enableHtml&&(d=this.sanitizer.sanitize(Zn.HTML,r));const f=new eU(c),m=new jp(this.index,o,d,i,t,f),y=Ke.create({providers:[{provide:jp,useValue:m}],parent:this._injector}),_=new QG(o.toastComponent,y),C=c.attach(_,o.newestOnTop);f.componentInstance=C.instance;const S={toastId:this.index,title:i||"",message:r||"",toastRef:f,onShown:f.afterActivate(),onHidden:f.afterClosed(),onTap:m.onTap(),onAction:m.onAction(),portal:C};return u||(this.currentlyActive=this.currentlyActive+1,setTimeout(()=>{S.toastRef.activate()})),this.toasts.push(S),S}static \u0275fac=function(r){return new(r||e)(l(yP),l(iU),l(Ke),l(l_),l(Re))};static \u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const oU={maxOpened:0,autoDismiss:!1,newestOnTop:!0,preventDuplicates:!1,countDuplicates:!1,resetTimeoutOnDuplicate:!1,includeTitleDuplicates:!1,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},closeButton:!1,disableTimeOut:!1,timeOut:5e3,extendedTimeOut:1e3,enableHtml:!1,progressBar:!1,toastClass:"ngx-toastr",positionClass:"toast-top-right",titleClass:"toast-title",messageClass:"toast-message",easing:"ease-in",easeTime:300,tapToDismiss:!0,onActivateTick:!1,progressAnimation:"decreasing",toastComponent:(()=>{class e{toastrService;toastPackage;ngZone;message;title;options;duplicatesCount;originalTimeout;width=Ie(-1);toastClasses="";state;get _state(){return this.state()}get displayStyle(){if("inactive"===this.state().value)return"none"}timeout;intervalId;hideTime;sub;sub1;sub2;sub3;constructor(t,r,i){this.toastrService=t,this.toastPackage=r,this.ngZone=i,this.message=r.message,this.title=r.title,this.options=r.config,this.originalTimeout=r.config.timeOut,this.toastClasses=`${r.toastType} ${r.config.toastClass}`,this.sub=r.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=r.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=r.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=r.toastRef.countDuplicate().subscribe(o=>{this.duplicatesCount=o}),this.state=Ie({value:"inactive",params:{easeTime:this.toastPackage.config.easeTime,easing:"ease-in"}})}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state.update(t=>({...t,value:"active"})),!0!==this.options.disableTimeOut&&"timeOut"!==this.options.disableTimeOut&&this.options.timeOut&&(this.outsideTimeout(()=>this.remove(),this.options.timeOut),this.hideTime=(new Date).getTime()+this.options.timeOut,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}updateProgress(){if(0===this.width()||100===this.width()||!this.options.timeOut)return;const t=(new Date).getTime();this.width.set((this.hideTime-t)/this.options.timeOut*100),"increasing"===this.options.progressAnimation&&this.width.update(i=>100-i),this.width()<=0&&this.width.set(0),this.width()>=100&&this.width.set(100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state.update(t=>({...t,value:"active"})),this.outsideTimeout(()=>this.remove(),this.originalTimeout),this.options.timeOut=this.originalTimeout,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width.set(-1),this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10)}remove(){"removed"!==this.state().value&&(clearTimeout(this.timeout),this.state.update(t=>({...t,value:"removed"})),this.outsideTimeout(()=>this.toastrService.remove(this.toastPackage.toastId),+this.toastPackage.config.easeTime))}tapToast(){"removed"!==this.state().value&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){"removed"!==this.state().value&&"extendedTimeOut"!==this.options.disableTimeOut&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width.set(0))}delayedHideToast(){!0===this.options.disableTimeOut||"extendedTimeOut"===this.options.disableTimeOut||0===this.options.extendedTimeOut||"removed"===this.state().value||(this.outsideTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width.set(-1),this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}outsideTimeout(t,r){this.ngZone?this.ngZone.runOutsideAngular(()=>this.timeout=setTimeout(()=>this.runInsideAngular(t),r)):this.timeout=setTimeout(()=>t(),r)}outsideInterval(t,r){this.ngZone?this.ngZone.runOutsideAngular(()=>this.intervalId=setInterval(()=>this.runInsideAngular(t),r)):this.intervalId=setInterval(()=>t(),r)}runInsideAngular(t){this.ngZone?this.ngZone.run(()=>t()):t()}static \u0275fac=function(r){return new(r||e)(P(Bp),P(jp),P(Re))};static \u0275cmp=ut({type:e,selectors:[["","toast-component",""]],hostVars:5,hostBindings:function(r,i){1&r&&be("click",function(){return i.tapToast()})("mouseenter",function(){return i.stickAround()})("mouseleave",function(){return i.delayedHideToast()}),2&r&&(xh("@flyInOut",i._state),zi(i.toastClasses),pu("display",i.displayStyle))},standalone:!0,features:[lv],attrs:mP,decls:5,vars:5,consts:[["type","button","class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alert",3,"class","innerHTML",4,"ngIf"],["role","alert",3,"class",4,"ngIf"],[4,"ngIf"],["type","button","aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert",3,"innerHTML"],["role","alert"],[1,"toast-progress"]],template:function(r,i){1&r&&De(0,BG,3,0,"button",0)(1,GG,3,5,"div",1)(2,UG,1,3,"div",2)(3,$G,2,4,"div",3)(4,zG,2,2,"div",4),2&r&&(ee("ngIf",i.options.closeButton),N(),ee("ngIf",i.title),N(),ee("ngIf",i.message&&i.options.enableHtml),N(),ee("ngIf",i.message&&!i.options.enableHtml),N(),ee("ngIf",i.options.progressBar))},dependencies:[pp],encapsulation:2,data:{animation:[xu("flyInOut",[Xl("inactive",Et({opacity:0})),Xl("active",Et({opacity:1})),Xl("removed",Et({opacity:0})),ni("inactive => active",ti("{{ easeTime }}ms {{ easing }}")),ni("active => removed",ti("{{ easeTime }}ms {{ easing }}"))])]},changeDetection:0})}return e})()},sU=(e={})=>Sa([{provide:yP,useValue:{default:oU,config:e}}]);let aU=(()=>{class e{static forRoot(t={}){return{ngModule:e,providers:[sU(t)]}}static \u0275fac=function(r){return new(r||e)};static \u0275mod=Ut({type:e});static \u0275inj=Ct({})}return e})();const{isArray:uU}=Array,{getPrototypeOf:cU,prototype:lU,keys:dU}=Object;const{isArray:pU}=Array;function yU(e,n){return e.reduce((t,r,i)=>(t[r]=n[i],t),{})}function vP(...e){const n=function Y8(e){return Je(g_(e))?e.pop():void 0}(e),{args:t,keys:r}=function fU(e){if(1===e.length){const n=e[0];if(uU(n))return{args:n,keys:null};if(function hU(e){return e&&"object"==typeof e&&cU(e)===lU}(n)){const t=dU(n);return{args:t.map(r=>n[r]),keys:t}}}return{args:e,keys:null}}(e),i=new _t(o=>{const{length:s}=t;if(!s)return void o.complete();const u=new Array(s);let c=s,d=s;for(let f=0;f<s;f++){let m=!1;Qr(t[f]).subscribe(Kt(o,g=>{m||(m=!0,d--),u[f]=g},()=>c--,void 0,()=>{(!c||!m)&&(d||o.next(r?yU(r,u):u),o.complete())}))}});return n?i.pipe(function gU(e){return St(n=>function mU(e,n){return pU(n)?e(...n):e(n)}(e,n))}(n)):i}function _P(e){return e&&e.replace(/\s+/g," ").trim()}let Fu=(()=>{class e{constructor(t,r,i){this.context=t,this.http=r,this.mapper=i}getAvailablePaymentSystems(){const{currency:t,userId:r,merchantId:i}=this.context.data.payment(),o=L_({currency:t,payerId:r}),s=Qi(this.host(),`/api/merchants/${i}/settings`);return this.http.get(s,{params:o}).pipe(St(u=>{const c=new Set;return{payments:u.payments.filter(f=>!c.has(f.name)&&(c.add(f.name),!0))}}),Nu(()=>tr({payments:[]})))}getPaymentInfo(t){const{merchantId:r}=this.context.data.payment(),i=Qi(this.host(),`/api/merchants/${r}/payments/${t}`);return this.http.get(i)}getGooglePaySettings(){const{merchantId:t}=this.context.data.payment(),r=Qi(this.host(),`/api/googlepay/${t}/settings`);return this.http.get(r).pipe(St(i=>({...i,allowedCardNetworks:i.allowedCardNetworks.map(o=>o.toUpperCase())})))}pay(){const t=this.context.data.payment(),r=this.context.data.settings(),i=this.context.data.userProvidedInfo(),o=this.context.data.deviceInfo(),s={...o?.browserData};t.ipAddress&&(s.ipAddress=t.ipAddress);const c={headers:hP(s)},d=Qi(this.host(),`/api/merchants/${t.merchantId}/payments`);let f=this.mapper.mapPaymentRequest(t,i,r,o),m="default";return"invoice-overridden"===r.paymentFlow.type&&this.context.callbacks.createInvoice?m="invoice-overridden":"payment-overridden"===r.paymentFlow.type&&this.context.callbacks.makePayment&&(m="payment-overridden"),"card"===f.requisites.type&&r.paymentFlow.tokenizeCard?this.getSecretKey().pipe(Ou(g=>Io(this.encrypt(f.requisites,g))),Ou(g=>"default"!==m?this.getCardTokenData(g,t.merchantId).pipe(St(y=>y.token),Nu(()=>tr(g)),Ou(y=>(f.requisites={type:"card",paymentToken:y},this.makeCallback(m,f,d,c)))):(f.requisites={type:"card",paymentToken:g},this.http.post(d,f,c)))):"default"!==m?this.makeCallback(m,f,d,c):this.http.post(d,f,c)}getCardTokenData(t,r){const i=Qi(this.host(),`api/CardData/${r}/tokenize`);return this.http.post(i,{ei:2,invoice:t,es:{uo:!0}})}makeCallback(t,r,i,o){if("invoice-overridden"===t)return this.createInvoiceCallback(r).pipe(Ou(s=>this.http.post(i,s,o)));if("payment-overridden"===t)return this.makePaymentCallback(r);throw new Error("Not implemented flow type")}getSecretKey(){const t=Qi(this.host(),"/api/security/key/2?formatId=2&size=4096");return this.http.get(t)}encrypt(t,r){var i=this;return Su(function*(){const o=JSON.stringify(t),s=function bU(e){return function wU(e){const n=new ArrayBuffer(e.length),t=new Uint8Array(n);for(let r=0,i=e.length;r<i;r++)t[r]=e.charCodeAt(r);return n}(atob(e))}(r);try{const u=yield window.crypto.subtle.importKey("spki",s,{name:"RSA-OAEP",hash:"SHA-1"},!1,["encrypt"]),c=(new TextEncoder).encode(o);return function _U(e){return btoa(String.fromCharCode(...new Uint8Array(e)))}(yield window.crypto.subtle.encrypt({name:"RSA-OAEP"},u,c))}catch(u){throw i.context.events.error.emit(u),u}})()}makePaymentCallback(t){return new _t(r=>(this.context.callbacks.makePayment(t).then(i=>{r.next(i),r.complete()}).catch(i=>r.error(i)),()=>{}))}createInvoiceCallback(t){return new _t(r=>(this.context.callbacks.createInvoice(t).then(i=>{r.next(i),r.complete()}).catch(i=>r.error(i)),()=>{}))}host(){return this.context.data.settings().urls.processing}static#e=this.\u0275fac=function(r){return new(r||e)(l(st),l(Fp),l(Hu))};static#t=this.\u0275prov=q({token:e,factory:e.\u0275fac})}return e})();const bP=new $("moto-window-document",{providedIn:"root",factory:()=>window}),wP=new $("LANGUAGE_TOKEN",{factory:()=>p(bP).navigator.language}),CP=new $("APPLE_PAY_JS_SERVICE_TOKEN");let j_=(()=>{class e{constructor(t,r){this.clientLanguage=t,this.applePayJsService=r,this.name="applepay"}get defaultCountryCode(){if(!this.clientLanguage)return"GB";if(this.clientLanguage.match(/-/)){const[t,r]=this.clientLanguage.split("-");return r}return this.clientLanguage}isAvailable(t){return t.userAuthToken?this.applePayJsService.canMakePayment():tr(!1)}pay(t,r){const{amount:i,currency:o,description:s,billingAddress:u,merchantId:c,userAuthToken:d}=t,f=u?.country?u.country:this.defaultCountryCode,m={total:{amount:i.toString(),currency:o.toUpperCase(),label:s},countryCode:f.toUpperCase(),merchantId:c,userToken:d,processingUrl:r};return this.applePayJsService.pay(m).pipe(St(({payment:g})=>JSON.stringify(g)))}static#e=this.\u0275fac=function(r){return new(r||e)(l(wP),l(CP))};static#t=this.\u0275prov=q({token:e,factory:e.\u0275fac})}return e})(),EP=(()=>{class e{constructor(t){this.context=t,this.versionData={apiVersion:2,apiVersionMinor:0}}setData(t){this.settings=t,this.paymentMethodSpec={type:"CARD",parameters:{allowedCardNetworks:t.allowedCardNetworks,allowedAuthMethods:["PAN_ONLY","CRYPTOGRAM_3DS"]}}}isAvailable(){return this.context.clients.googlePay&&this.paymentMethodSpec?Io(this.context.clients.googlePay.isReadyToPay({...this.versionData,allowedPaymentMethods:[this.paymentMethodSpec]}).then(t=>t.result)):tr(!1)}pay(t){if(!this.paymentMethodSpec||!this.settings)return F_(()=>"Something went wrong");const r={...this.versionData,allowedPaymentMethods:[{...this.paymentMethodSpec,tokenizationSpecification:{type:"PAYMENT_GATEWAY",parameters:{gateway:this.settings.gateway.name,gatewayMerchantId:this.settings.gateway.merchantId}}}],merchantInfo:{merchantId:this.settings.merchant.id,merchantName:this.settings.merchant.name},transactionInfo:{totalPriceStatus:"FINAL",totalPrice:t.price,currencyCode:t.currency,countryCode:t.countryCode,transactionId:t.paymentId}};return Io(this.context.clients.googlePay.loadPaymentData(r).then(i=>i.paymentMethodData.tokenizationData.token))}static#e=this.\u0275fac=function(r){return new(r||e)(l(st))};static#t=this.\u0275prov=q({token:e,factory:e.\u0275fac})}return e})(),B_=(()=>{class e{constructor(t,r,i,o){this.clientLanguage=t,this.googlePayJsService=r,this.context=i,this.processing=o,this.name="googlepay"}get defaultCountryCode(){if(!this.clientLanguage)return"GB";if(this.clientLanguage.match(/-/)){const[t,r]=this.clientLanguage.split("-");return r}return this.clientLanguage}isAvailable(t){return t.userAuthToken?this.processing.getGooglePaySettings().pipe(Ou(r=>(this.context.clients.googlePay=new google.payments.api.PaymentsClient({environment:r.isTest?"TEST":"PRODUCTION"}),this.googlePayJsService.setData(r),this.googlePayJsService.isAvailable())),Nu(()=>tr(!1))):tr(!1)}pay(t){const{paymentId:r,amount:i,currency:o,billingAddress:s}=t,c={countryCode:s?.country?s.country:this.defaultCountryCode,currency:o.toUpperCase(),paymentId:r,price:i.toString()};return this.googlePayJsService.pay(c)}static#e=this.\u0275fac=function(r){return new(r||e)(l(wP),l(EP),l(st),l(Fu))};static#t=this.\u0275prov=q({token:e,factory:e.\u0275fac})}return e})(),H_=(()=>{class e{constructor(t,r,i,o,s){this.context=t,this.processingService=r,this.billingProfilesService=i,this.applePayService=o,this.googlePayService=s}refreshExistingCards(t){let r;this.context.data.cardsLoading.set(!0),r=t?tr(t):this.billingProfilesService.getExistingCards().pipe(St(i=>i.concat().sort(o=>o.isDefault?-1:1))),r.subscribe(i=>{i.length?(this.context.componentsStates.cardForm.update(o=>({...o,enabled:!1})),this.context.componentsStates.cardList().enabled||this.context.componentsStates.cardList.update(o=>({...o,enabled:!0}))):(this.context.componentsStates.cardForm.update(o=>({...o,enabled:!0})),this.context.componentsStates.cardList.update(o=>({...o,enabled:!1})),"existing-card"===this.context.data.userProvidedInfo()?.requisites?.type&&this.context.data.userProvidedInfo.update(o=>({...o,requisites:void 0,paymentSystemName:void 0}))),this.context.data.loadedExistingCards.set(i),this.context.data.cardsLoading.set(!1)})}refreshPaymentSystems(){this.context.data.paymentSystemsLoading.set(!0),this.processingService.getAvailablePaymentSystems().subscribe(t=>{const r=t.payments.map(u=>u.name),i=this.context.data.payment(),s=[this.applePayService,this.googlePayService].filter(u=>r.includes(u.name)).map(u=>({name:u.name,isAvailable$:u.isAvailable(i)}));s.length>0?vP(s.map(u=>u.isAvailable$)).subscribe(u=>{const c=s.filter((f,m)=>!u[m]).map(f=>f.name),d=t.payments.filter(f=>!c.includes(f.name));this.applyPaymentSystems(d)}):this.applyPaymentSystems(t.payments)})}applyPaymentSystems(t){this.context.data.loadedPaymentSystems.set(t),t.some(r=>"card"===r.name)||(this.context.componentsStates.cardForm.update(r=>({...r,enabled:!1,isRequired:!1})),this.context.componentsStates.additionalForm.update(r=>({...r,enabled:!1,isRequired:!1})),this.context.componentsStates.cardList.update(r=>({...r,enabled:!1,isRequired:!1}))),t.some(r=>"card"!==r.name)||this.context.componentsStates.apmList.update(r=>({...r,enabled:!1,isRequired:!1})),this.context.data.paymentSystemsLoading.set(!1)}static#e=this.\u0275fac=function(r){return new(r||e)(l(st),l(Fu),l(V_),l(j_),l(B_))};static#t=this.\u0275prov=q({token:e,factory:e.\u0275fac})}return e})();var CU=M(634),DP=M.n(CU),SP=function(e){return e.mastercard="CVC Card Verification Code",e.visa="CVV (Card Verification Value)",e["american-express"]="CID (Card Identification Number)",e.unionpay="CVN (Card Verification Number)",e.jcb="CVV (Card Verification Value)",e.maestro="CVV (Card Verification Value)",e.discover="CID (Card Identification Number)",e}(SP||{});let G_=(()=>{class e{transform(t,r,i=null,o=null){const[s]=DP()(t);if(!s)return"code"===r&&o?o[i]:i;switch(r){case"logo":return this.getLogo(s);case"payment-system":return s.niceType;case"card-number-mask":return"0000 0000 0000 0000 000";case"secure-text":return SP[s.type];case"code":if(o){const c=o[s.code.name];if(c)return c}return s.code.name;case"code-mask":{const{size:u}=s.code;return Array.from({length:u}).fill("0").join("")}}}getLogo(t){if(t)return`https://cdn.motopays.com/images/${Au[t.type]||Au.default}.svg`}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275pipe=Nt({name:"cardInfo",type:e,pure:!0})}return e})(),TP=(()=>{class e{constructor(){this.selectEvent=new ct,this.removeEvent=new ct,this.optionsClickedEvent=new ct,this.isOpenPopup=!1,this.popupId=function IH(e=1){return window.crypto.getRandomValues(new Uint32Array(e)).toString()}()}hidePopup(t){t.closest("[data-card-popup]")?.getAttribute("data-card-popup")===this.popupId||(this.isOpenPopup=!1)}onOptionsClick(t){t.isPopupClick=!0,this.optionsClickedEvent.emit(this.option),this.isOpenPopup=!this.isOpenPopup}select(t){t.isPopupClick||this.option.selected()||this.selectEvent.emit(this.option)}remove(t){t.isPopupClick=!0,this.removeEvent.emit(this.option.item),this.isOpenPopup=!1}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=ut({type:e,selectors:[["moto-card"]],hostBindings:function(r,i){1&r&&be("click",function(s){return i.hidePopup(s.target)},0,I1)},inputs:{option:"option",language:"language"},outputs:{selectEvent:"select",removeEvent:"remove",optionsClickedEvent:"optionsClicked"},decls:18,vars:26,consts:[[1,"__ndb-card",3,"click"],["data-locator","card-active-circle",1,"__ndb-card-active-circle",3,"id"],["alt","card logo",1,"__ndb-card-logo",3,"src"],[1,"__ndb-card-payment-name","fz-14","fw-500"],[1,"__ndb-card-number","fz-14","fw-500"],[1,"__ndb-card-more"],[1,"material-icons","pointer","__ndb-card-more-icon","description-text","fz-18",3,"click"],[1,"__ndb-card-more-popup"],["data-locator","remove-btn",1,"__ndb-card-more-popup-item","fz-14","fw-500",3,"click","id"]],template:function(r,i){1&r&&(G(0,"div",0),be("click",function(s){return i.select(s)}),He(1,"div",1),it(2,"slice"),He(3,"moto-picture",2),it(4,"cardInfo"),G(5,"span",3),fe(6),it(7,"cardInfo"),U(),G(8,"span",4),fe(9),it(10,"slice"),U(),G(11,"div",5)(12,"i",6),be("click",function(s){return i.onOptionsClick(s)}),fe(13,"more_vert"),U(),G(14,"div",7)(15,"span",8),it(16,"slice"),be("click",function(s){return i.remove(s)}),fe(17),U()()()()),2&r&&(N(),Ur("selected",i.option.selected()),ee("id","select-card-"+hn(2,11,i.option.item.name,-6)+"-button"),N(2),ee("src",hn(4,14,i.option.item.name,"logo")),N(3),Xt(hn(7,17,i.option.item.name,"payment-system")),N(3),Xt(hn(10,20,i.option.item.name,-6)),N(2),on("data-card-popup",i.popupId),N(3),Ur("open",i.isOpenPopup),N(),ee("id","remove-card-"+hn(16,23,i.option.item.name,-6)+"-button"),N(2),Xt(i.language.existingCards.removeCard))},dependencies:[Pu,Xv,G_],styles:['[_ngcontent-%COMP%]:root{--ndb-button-bg: #2c8ee8;--ndb-button-disabled-bg: rgba(201, 204, 216, .3);--ndb-button-hover-bg: #1467b4;--ndb-button-color: #fff;--ndb-card-border-color: #c9ccd8}.__ndb-card[_ngcontent-%COMP%]{display:flex;align-items:center;border:1px solid var(--ndb-card-border-color);border-radius:8px;padding:14px;gap:10px}@media (max-width: 768px){.__ndb-card[_ngcontent-%COMP%]{padding:4px}}.__ndb-card-active-circle[_ngcontent-%COMP%]{position:relative;height:15px;width:15px;min-height:15px;min-width:15px;border:1px solid #c9ccd8;border-radius:50%;cursor:pointer}.__ndb-card-active-circle.selected[_ngcontent-%COMP%]:after{content:"";position:absolute;top:0;left:0;height:100%;width:100%;border:4px solid #e53;box-sizing:border-box;border-radius:50%}.__ndb-card-more[_ngcontent-%COMP%]{position:relative;display:flex;margin-left:auto}.__ndb-card-more-icon[_ngcontent-%COMP%]{margin:auto}.__ndb-card-more-popup[_ngcontent-%COMP%]{display:none;position:absolute;z-index:1;top:calc(100% + 10px);left:50%;transform:translate(-60%);background-color:#fff;border-radius:8px;box-shadow:0 4px 12px #29304d1f;white-space:nowrap;overflow:hidden;animation:_ngcontent-%COMP%_show-popup .3s cubic-bezier(.25,.1,.25,1)}@media (max-width: 768px){.__ndb-card-more-popup[_ngcontent-%COMP%]{top:calc(100% + 5px);transform:translate(-70%);animation:_ngcontent-%COMP%_mobile-show-popup .3s cubic-bezier(.25,.1,.25,1)}}.__ndb-card-more-popup.open[_ngcontent-%COMP%]{display:flex;flex-direction:column}.__ndb-card-more-popup-item[_ngcontent-%COMP%]{padding:16px 12px;cursor:pointer;transition:background-color .3s cubic-bezier(.25,.1,.25,1)}@media (max-width: 768px){.__ndb-card-more-popup-item[_ngcontent-%COMP%]{font-size:12px}}.__ndb-card-more-popup-item[_ngcontent-%COMP%]:hover{background-color:#c9ccd84d}@keyframes _ngcontent-%COMP%_show-popup{0%{opacity:0;transform:translate(-60%,50%)}to{opacity:1;transform:translate(-60%)}}@keyframes _ngcontent-%COMP%_mobile-show-popup{0%{opacity:0;transform:translate(-70%,50%)}to{opacity:1;transform:translate(-70%)}}'],changeDetection:0})}return e})();function EU(e,n){if(1&e){const t=sn();G(0,"moto-card",8),be("select",function(i){return Ne(t),Oe(Z().selectCard(i))})("remove",function(i){return Ne(t),Oe(Z().removeCard(i))})("optionsClicked",function(i){return Ne(t),Oe(Z().onOptionsClick(i))}),U()}if(2&e){const t=n.$implicit;Z();const r=At(0);ee("option",t)("language",r)}}function DU(e,n){if(1&e){const t=sn();G(0,"button",9),be("click",function(){return Ne(t),Oe(Z().showCardForm())})("focusin",function(){return Ne(t),Oe(Z().onAddCardFocus())}),G(1,"i",10),fe(2,"add"),U(),G(3,"span",11),fe(4),U()()}if(2&e){Z();const t=At(0);N(4),Xt(t.existingCards.addNewCard)}}let U_=(()=>{class e{constructor(t,r,i,o){this.billingProfiles=t,this.context=r,this.toastr=i,this.refreshService=o,this.isCardListShown=Ie(!0),this.cardFormState=this.context.componentsStates.cardForm,this.componentState=this.context.componentsStates.cardList,this.isCardFormVisible=this.context.visibility.cardForm,this.settings=this.context.data.settings,this.loadedExistingCards=this.context.data.loadedExistingCards,this.cardOptions=Ve(()=>this.loadedExistingCards().map(u=>new jH(u))),Ov(()=>{const s=this.cardOptions();s?.length&&Zr(()=>{this.selectCardImpl(s[0],s)})})}showCardForm(){this.context.events.analytics.emit(new gt("add-card-button-click")),this.isCardListShown.set(!1),this.cardFormState.update(t=>({...t,enabled:!0})),this.context.data.userProvidedInfo.update(t=>({...t,requisites:void 0,paymentSystemName:void 0})),this.resetSelected()}getSelectedCard(){return this.cardOptions().find(t=>t.selected())}removeCard(t){this.context.events.analytics.emit(new gt("remove-card-button-click",{last4Digits:t.name.slice(-4)})),this.billingProfiles.removeCard(t.id).subscribe(r=>{this.refreshService.refreshExistingCards(this.loadedExistingCards().filter(o=>o.id!==t.id));const i=this.settings().language.notifications.cardDeleted;this.toastr.success(i.text,i.title)})}toggleCardList(){this.isCardListShown.update(t=>!t),this.context.events.analytics.emit(new gt("cards-toggle-button-click",{toggle:this.isCardListShown()}))}onOptionsClick(t){this.context.events.analytics.emit(new gt("card-options-button-click",{last4Digits:t.item.name.slice(-4)}))}selectCard(t){this.context.events.analytics.emit(new gt("select-card-button-click",{last4Digits:t.item.name.slice(-4)})),this.selectCardImpl(t,this.cardOptions())}onAddCardFocus(){this.context.events.analytics.emit(new gt("add-card-button-focus"),!0)}selectCardImpl(t,r){r.find(o=>o.selected())?.setSelected(!1),t.setSelected(!0),this.context.data.userProvidedInfo.update(o=>({...o,paymentSystemName:"card",requisites:{type:"existing-card",value:t.item}})),this.cardFormState().enabled&&this.cardFormState.update(o=>({...o,enabled:!1}))}resetSelected(){this.getSelectedCard()?.setSelected(!1)}static#e=this.\u0275fac=function(r){return new(r||e)(P(V_),P(st),P(Bp),P(H_))};static#t=this.\u0275cmp=ut({type:e,selectors:[["moto-card-list"]],decls:12,vars:6,consts:[[1,"__ndb-card-list"],["id","toggle-card-list-button",1,"__ndb-card-list-toggle",3,"click"],[1,"fw-700"],[1,"material-icons","font-description","__ndb-card-list-toggle-icon"],[1,"block"],[1,"__ndb-card-list-options"],[1,"__ndb-card-list-options-item",3,"option","language"],["id","add-card-button",1,"full-width"],[1,"__ndb-card-list-options-item",3,"select","remove","optionsClicked","option","language"],["id","add-card-button",1,"full-width",3,"click","focusin"],[1,"material-icons","fz-18"],[1,"text"]],template:function(r,i){if(1&r){const o=sn();hr(0),G(1,"div",0)(2,"div",1),be("click",function(){return Ne(o),Oe(i.toggleCardList())}),G(3,"span",2),fe(4),U(),G(5,"i",3),fe(6,"keyboard_arrow_up"),U()(),G(7,"div",4)(8,"div",5),Wr(9,EU,1,2,"moto-card",6,Wi),U()(),De(11,DU,5,1,"button",7),U()}if(2&r){const o=Hn(i.settings().language);N(4),Xt(o.existingCards.manageCardsHeader),N(),Ur("active",i.isCardListShown()),N(2),ee("@ANToggleList",i.isCardListShown()?"show":"hide"),N(2),qr(i.cardOptions()),N(2),Le(i.isCardFormVisible()?-1:11)}},dependencies:[TP],styles:["[_ngcontent-%COMP%]:root{--ndb-button-bg: #2c8ee8;--ndb-button-disabled-bg: rgba(201, 204, 216, .3);--ndb-button-hover-bg: #1467b4;--ndb-button-color: #fff;--ndb-card-border-color: #c9ccd8}.full-width[_ngcontent-%COMP%]{width:100%}@media (min-width: 769px){.ndb-mobile[_ngcontent-%COMP%]{display:none}}@media (max-width: 768px){.ndb-desktop[_ngcontent-%COMP%]{display:none}}.margin-auto[_ngcontent-%COMP%]{margin:auto}.flex[_ngcontent-%COMP%]{display:flex}.flex-column[_ngcontent-%COMP%]{display:flex;flex-direction:column}.none[_ngcontent-%COMP%]{display:none}.block[_ngcontent-%COMP%]{display:block}.events-none[_ngcontent-%COMP%]{pointer-events:none}.cursor-default[_ngcontent-%COMP%]{cursor:default}.pointer[_ngcontent-%COMP%]{cursor:pointer}.bold[_ngcontent-%COMP%]{font-weight:700!important}.font-middle[_ngcontent-%COMP%]{vertical-align:middle}.rotate[_ngcontent-%COMP%], .__ndb-card-list-toggle-icon.active[_ngcontent-%COMP%]{transform:rotate(-180deg)}.__ndb-card-list[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:20px}.__ndb-card-list-options[_ngcontent-%COMP%]{display:flex;flex-direction:column}.__ndb-card-list-options-item[_ngcontent-%COMP%]{width:100%}.__ndb-card-list-options-item[_ngcontent-%COMP%]:not(:first-child){margin-top:10px}.__ndb-card-list-toggle[_ngcontent-%COMP%]{display:flex;align-items:center;gap:5px;cursor:pointer;-webkit-user-select:none;user-select:none}.__ndb-card-list-toggle-icon[_ngcontent-%COMP%]{transform:rotate(0);transition:transform .3s cubic-bezier(.25,.1,.25,1)}"],data:{animation:[zH,WH,qH({animationName:"ANToggleList",fromState:"hide",toState:"show",fromStyles:{height:"0px",overflow:"hidden"},toStyles:{height:"*"}})]},changeDetection:0})}return e})();function MP(e,n=dP){return mn((t,r)=>{let i=null,o=null,s=null;const u=()=>{if(i){i.unsubscribe(),i=null;const d=o;o=null,r.next(d)}};function c(){const d=s+e,f=n.now();if(f<d)return i=this.schedule(void 0,d-f),void r.add(i);u()}t.subscribe(Kt(r,d=>{o=d,s=n.now(),i||(i=n.schedule(c,e),r.add(i))},()=>{u(),r.complete()},void 0,()=>{o=i=null}))})}let IP=(()=>{class e{constructor(){this.detector$=new bt}detectChanges(){this.detector$.next()}listenChangeDetection(){return this.detector$.asObservable()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=q({token:e,factory:e.\u0275fac})}return e})(),Hp=(()=>{class e{constructor(t){this.injector=t,this.unsubscriber$=new bt,this.childrenDetector$=new bt}ngOnDestroy(){this.unsubscribe()}listenChildrenDetection(t){const r="local"===t,i="global"===t,o="full"===t;this.childrenDetector$.asObservable().pipe(MP(10),this.untilDestroy()).subscribe(()=>{(r||o)&&this.localDetect(),(i||o)&&this.globalDetect()})}localDetect(){this.injector.get(Cu).detectChanges()}globalDetect(){this.injector.get(IP).detectChanges()}detect(){this.localDetect(),this.globalDetect()}untilDestroy(){return function SU(e){return mn((n,t)=>{Qr(e).subscribe(Kt(t,()=>t.complete(),ao)),!t.closed&&n.subscribe(t)})}(this.unsubscriber$.asObservable())}unsubscribe(){this.unsubscriber$.next()}static#e=this.\u0275fac=function(r){return new(r||e)(P(Ke))};static#t=this.\u0275cmp=ut({type:e,selectors:[["ng-component"]],decls:0,vars:0,template:function(r,i){},encapsulation:2})}return e})(),PP=(()=>{class e{constructor(t,r){this._renderer=t,this._elementRef=r,this.onChange=i=>{},this.onTouched=()=>{}}setProperty(t,r){this._renderer.setProperty(this._elementRef.nativeElement,t,r)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}static#e=this.\u0275fac=function(r){return new(r||e)(P(Ci),P(Ln))};static#t=this.\u0275dir=ce({type:e})}return e})(),Fs=(()=>{class e extends PP{static#e=this.\u0275fac=(()=>{let t;return function(i){return(t||(t=rn(e)))(i||e)}})();static#t=this.\u0275dir=ce({type:e,features:[Fe]})}return e})();const _r=new $(""),TU={provide:_r,useExisting:Pe(()=>Gp),multi:!0};let Gp=(()=>{class e extends Fs{writeValue(t){this.setProperty("checked",t)}static#e=this.\u0275fac=(()=>{let t;return function(i){return(t||(t=rn(e)))(i||e)}})();static#t=this.\u0275dir=ce({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(r,i){1&r&&be("change",function(s){return i.onChange(s.target.checked)})("blur",function(){return i.onTouched()})},features:[rt([TU]),Fe]})}return e})();const MU={provide:_r,useExisting:Pe(()=>Up),multi:!0},PU=new $("");let Up=(()=>{class e extends PP{constructor(t,r,i){super(t,r),this._compositionMode=i,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function IU(){const e=Gl()?Gl().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(t){this.setProperty("value",t??"")}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}static#e=this.\u0275fac=function(r){return new(r||e)(P(Ci),P(Ln),P(PU,8))};static#t=this.\u0275dir=ce({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(r,i){1&r&&be("input",function(s){return i._handleInput(s.target.value)})("blur",function(){return i.onTouched()})("compositionstart",function(){return i._compositionStart()})("compositionend",function(s){return i._compositionEnd(s.target.value)})},features:[rt([MU]),Fe]})}return e})();function xo(e){return null==e||("string"==typeof e||Array.isArray(e))&&0===e.length}function AP(e){return null!=e&&"number"==typeof e.length}const un=new $(""),No=new $(""),AU=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class Ti{static min(n){return function kP(e){return n=>{if(xo(n.value)||xo(e))return null;const t=parseFloat(n.value);return!isNaN(t)&&t<e?{min:{min:e,actual:n.value}}:null}}(n)}static max(n){return function xP(e){return n=>{if(xo(n.value)||xo(e))return null;const t=parseFloat(n.value);return!isNaN(t)&&t>e?{max:{max:e,actual:n.value}}:null}}(n)}static required(n){return function NP(e){return xo(e.value)?{required:!0}:null}(n)}static requiredTrue(n){return function OP(e){return!0===e.value?null:{required:!0}}(n)}static email(n){return function RP(e){return xo(e.value)||AU.test(e.value)?null:{email:!0}}(n)}static minLength(n){return FP(n)}static maxLength(n){return LP(n)}static pattern(n){return function VP(e){if(!e)return $p;let n,t;return"string"==typeof e?(t="","^"!==e.charAt(0)&&(t+="^"),t+=e,"$"!==e.charAt(e.length-1)&&(t+="$"),n=new RegExp(t)):(t=e.toString(),n=e),r=>{if(xo(r.value))return null;const i=r.value;return n.test(i)?null:{pattern:{requiredPattern:t,actualValue:i}}}}(n)}static nullValidator(n){return null}static compose(n){return $P(n)}static composeAsync(n){return zP(n)}}function FP(e){return n=>xo(n.value)||!AP(n.value)?null:n.value.length<e?{minlength:{requiredLength:e,actualLength:n.value.length}}:null}function LP(e){return n=>AP(n.value)&&n.value.length>e?{maxlength:{requiredLength:e,actualLength:n.value.length}}:null}function $p(e){return null}function jP(e){return null!=e}function BP(e){return $h(e)?Io(e):e}function HP(e){let n={};return e.forEach(t=>{n=null!=t?{...n,...t}:n}),0===Object.keys(n).length?null:n}function GP(e,n){return n.map(t=>t(e))}function UP(e){return e.map(n=>function kU(e){return!e.validate}(n)?n:t=>n.validate(t))}function $P(e){if(!e)return null;const n=e.filter(jP);return 0==n.length?null:function(t){return HP(GP(t,n))}}function $_(e){return null!=e?$P(UP(e)):null}function zP(e){if(!e)return null;const n=e.filter(jP);return 0==n.length?null:function(t){return vP(GP(t,n).map(BP)).pipe(St(HP))}}function z_(e){return null!=e?zP(UP(e)):null}function WP(e,n){return null===e?[n]:Array.isArray(e)?[...e,n]:[e,n]}function qP(e){return e._rawValidators}function ZP(e){return e._rawAsyncValidators}function W_(e){return e?Array.isArray(e)?e:[e]:[]}function zp(e,n){return Array.isArray(e)?e.includes(n):e===n}function YP(e,n){const t=W_(n);return W_(e).forEach(i=>{zp(t,i)||t.push(i)}),t}function KP(e,n){return W_(n).filter(t=>!zp(e,t))}class XP{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(n){this._rawValidators=n||[],this._composedValidatorFn=$_(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=z_(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n=void 0){this.control&&this.control.reset(n)}hasError(n,t){return!!this.control&&this.control.hasError(n,t)}getError(n,t){return this.control?this.control.getError(n,t):null}}class In extends XP{get formDirective(){return null}get path(){return null}}class Ji extends XP{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class QP{constructor(n){this._cd=n}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}}let Lu=(()=>{class e extends QP{constructor(t){super(t)}static#e=this.\u0275fac=function(r){return new(r||e)(P(Ji,2))};static#t=this.\u0275dir=ce({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,i){2&r&&Ur("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)},features:[Fe]})}return e})(),Wp=(()=>{class e extends QP{constructor(t){super(t)}static#e=this.\u0275fac=function(r){return new(r||e)(P(In,10))};static#t=this.\u0275dir=ce({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(r,i){2&r&&Ur("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)("ng-submitted",i.isSubmitted)},features:[Fe]})}return e})();const rd="VALID",Zp="INVALID",Vu="PENDING",id="DISABLED";class ju{}class e3 extends ju{constructor(n,t){super(),this.value=n,this.source=t}}class Y_ extends ju{constructor(n,t){super(),this.pristine=n,this.source=t}}class K_ extends ju{constructor(n,t){super(),this.touched=n,this.source=t}}class Yp extends ju{constructor(n,t){super(),this.status=n,this.source=t}}class FU extends ju{constructor(n){super(),this.source=n}}class LU extends ju{constructor(n){super(),this.source=n}}function X_(e){return(Kp(e)?e.validators:e)||null}function Q_(e,n){return(Kp(n)?n.asyncValidators:e)||null}function Kp(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}function t3(e,n,t){const r=e.controls;if(!(n?Object.keys(r):r).length)throw new k(1e3,"");if(!r[t])throw new k(1001,"")}function n3(e,n,t){e._forEachChild((r,i)=>{if(void 0===t[i])throw new k(1002,"")})}class Xp{constructor(n,t){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this._status=Ve(()=>this.statusReactive()),this.statusReactive=Ie(void 0),this._pristine=Ve(()=>this.pristineReactive()),this.pristineReactive=Ie(!0),this._touched=Ve(()=>this.touchedReactive()),this.touchedReactive=Ie(!1),this._events=new bt,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(n),this._assignAsyncValidators(t)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get status(){return Zr(this.statusReactive)}set status(n){Zr(()=>this.statusReactive.set(n))}get valid(){return this.status===rd}get invalid(){return this.status===Zp}get pending(){return this.status==Vu}get disabled(){return this.status===id}get enabled(){return this.status!==id}get pristine(){return Zr(this.pristineReactive)}set pristine(n){Zr(()=>this.pristineReactive.set(n))}get dirty(){return!this.pristine}get touched(){return Zr(this.touchedReactive)}set touched(n){Zr(()=>this.touchedReactive.set(n))}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(YP(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(YP(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(KP(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(KP(n,this._rawAsyncValidators))}hasValidator(n){return zp(this._rawValidators,n)}hasAsyncValidator(n){return zp(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){const t=!1===this.touched;this.touched=!0;const r=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsTouched({...n,sourceControl:r}),t&&!1!==n.emitEvent&&this._events.next(new K_(!0,r))}markAllAsTouched(n={}){this.markAsTouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:this}),this._forEachChild(t=>t.markAllAsTouched(n))}markAsUntouched(n={}){const t=!0===this.touched;this.touched=!1,this._pendingTouched=!1;const r=n.sourceControl??this;this._forEachChild(i=>{i.markAsUntouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:r})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,r),t&&!1!==n.emitEvent&&this._events.next(new K_(!1,r))}markAsDirty(n={}){const t=!0===this.pristine;this.pristine=!1;const r=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsDirty({...n,sourceControl:r}),t&&!1!==n.emitEvent&&this._events.next(new Y_(!1,r))}markAsPristine(n={}){const t=!1===this.pristine;this.pristine=!0,this._pendingDirty=!1;const r=n.sourceControl??this;this._forEachChild(i=>{i.markAsPristine({onlySelf:!0,emitEvent:n.emitEvent})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n,r),t&&!1!==n.emitEvent&&this._events.next(new Y_(!0,r))}markAsPending(n={}){this.status=Vu;const t=n.sourceControl??this;!1!==n.emitEvent&&(this._events.next(new Yp(this.status,t)),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.markAsPending({...n,sourceControl:t})}disable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=id,this.errors=null,this._forEachChild(i=>{i.disable({...n,onlySelf:!0})}),this._updateValue();const r=n.sourceControl??this;!1!==n.emitEvent&&(this._events.next(new e3(this.value,r)),this._events.next(new Yp(this.status,r)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...n,skipPristineCheck:t},this),this._onDisabledChange.forEach(i=>i(!0))}enable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=rd,this._forEachChild(r=>{r.enable({...n,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors({...n,skipPristineCheck:t},this),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(n,t){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine({},t),this._parent._updateTouched({},t))}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){const r=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===rd||this.status===Vu)&&this._runAsyncValidator(r,n.emitEvent)}const t=n.sourceControl??this;!1!==n.emitEvent&&(this._events.next(new e3(this.value,t)),this._events.next(new Yp(this.status,t)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity({...n,sourceControl:t})}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?id:rd}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n,t){if(this.asyncValidator){this.status=Vu,this._hasOwnPendingAsyncValidator={emitEvent:!1!==t};const r=BP(this.asyncValidator(this));this._asyncValidationSubscription=r.subscribe(i=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(i,{emitEvent:t,shouldHaveEmitted:n})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();const n=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,n}return!1}setErrors(n,t={}){this.errors=n,this._updateControlsErrors(!1!==t.emitEvent,this,t.shouldHaveEmitted)}get(n){let t=n;return null==t||(Array.isArray(t)||(t=t.split(".")),0===t.length)?null:t.reduce((r,i)=>r&&r._find(i),this)}getError(n,t){const r=t?this.get(t):this;return r&&r.errors?r.errors[n]:null}hasError(n,t){return!!this.getError(n,t)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n,t,r){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),(n||r)&&this._events.next(new Yp(this.status,t)),this._parent&&this._parent._updateControlsErrors(n,t,r)}_initObservables(){this.valueChanges=new ct,this.statusChanges=new ct}_calculateStatus(){return this._allControlsDisabled()?id:this.errors?Zp:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Vu)?Vu:this._anyControlsHaveStatus(Zp)?Zp:rd}_anyControlsHaveStatus(n){return this._anyControls(t=>t.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n,t){const r=!this._anyControlsDirty(),i=this.pristine!==r;this.pristine=r,this._parent&&!n.onlySelf&&this._parent._updatePristine(n,t),i&&this._events.next(new Y_(this.pristine,t))}_updateTouched(n={},t){this.touched=this._anyControlsTouched(),this._events.next(new K_(this.touched,t)),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,t)}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){Kp(n)&&null!=n.updateOn&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){return!n&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=function VU(e){return Array.isArray(e)?$_(e):e||null}(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=function jU(e){return Array.isArray(e)?z_(e):e||null}(this._rawAsyncValidators)}}class od extends Xp{constructor(n,t,r){super(X_(t),Q_(r,t)),this.controls=n,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(n,t){return this.controls[n]?this.controls[n]:(this.controls[n]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(n,t,r={}){this.registerControl(n,t),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}removeControl(n,t={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}setControl(n,t,r={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],t&&this.registerControl(n,t),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,t={}){n3(this,0,n),Object.keys(n).forEach(r=>{t3(this,!0,r),this.controls[r].setValue(n[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(n,t={}){null!=n&&(Object.keys(n).forEach(r=>{const i=this.controls[r];i&&i.patchValue(n[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(n={},t={}){this._forEachChild((r,i)=>{r.reset(n?n[i]:null,{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t,this),this._updateTouched(t,this),this.updateValueAndValidity(t)}getRawValue(){return this._reduceChildren({},(n,t,r)=>(n[r]=t.getRawValue(),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(t,r)=>!!r._syncPendingControls()||t);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(t=>{const r=this.controls[t];r&&n(r,t)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(const[t,r]of Object.entries(this.controls))if(this.contains(t)&&n(r))return!0;return!1}_reduceValue(){return this._reduceChildren({},(t,r,i)=>((r.enabled||this.disabled)&&(t[i]=r.value),t))}_reduceChildren(n,t){let r=n;return this._forEachChild((i,o)=>{r=t(r,i,o)}),r}_allControlsDisabled(){for(const n of Object.keys(this.controls))if(this.controls[n].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(n){return this.controls.hasOwnProperty(n)?this.controls[n]:null}}class r3 extends od{}const Ls=new $("CallSetDisabledState",{providedIn:"root",factory:()=>sd}),sd="always";function Qp(e,n){return[...n.path,e]}function ad(e,n,t=sd){J_(e,n),n.valueAccessor.writeValue(e.value),(e.disabled||"always"===t)&&n.valueAccessor.setDisabledState?.(e.disabled),function HU(e,n){n.valueAccessor.registerOnChange(t=>{e._pendingValue=t,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&i3(e,n)})}(e,n),function UU(e,n){const t=(r,i)=>{n.valueAccessor.writeValue(r),i&&n.viewToModelUpdate(r)};e.registerOnChange(t),n._registerOnDestroy(()=>{e._unregisterOnChange(t)})}(e,n),function GU(e,n){n.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&i3(e,n),"submit"!==e.updateOn&&e.markAsTouched()})}(e,n),function BU(e,n){if(n.valueAccessor.setDisabledState){const t=r=>{n.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(t),n._registerOnDestroy(()=>{e._unregisterOnDisabledChange(t)})}}(e,n)}function Jp(e,n,t=!0){const r=()=>{};n.valueAccessor&&(n.valueAccessor.registerOnChange(r),n.valueAccessor.registerOnTouched(r)),tm(e,n),e&&(n._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(()=>{}))}function em(e,n){e.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(n)})}function J_(e,n){const t=qP(e);null!==n.validator?e.setValidators(WP(t,n.validator)):"function"==typeof t&&e.setValidators([t]);const r=ZP(e);null!==n.asyncValidator?e.setAsyncValidators(WP(r,n.asyncValidator)):"function"==typeof r&&e.setAsyncValidators([r]);const i=()=>e.updateValueAndValidity();em(n._rawValidators,i),em(n._rawAsyncValidators,i)}function tm(e,n){let t=!1;if(null!==e){if(null!==n.validator){const i=qP(e);if(Array.isArray(i)&&i.length>0){const o=i.filter(s=>s!==n.validator);o.length!==i.length&&(t=!0,e.setValidators(o))}}if(null!==n.asyncValidator){const i=ZP(e);if(Array.isArray(i)&&i.length>0){const o=i.filter(s=>s!==n.asyncValidator);o.length!==i.length&&(t=!0,e.setAsyncValidators(o))}}}const r=()=>{};return em(n._rawValidators,r),em(n._rawAsyncValidators,r),t}function i3(e,n){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function tb(e,n){if(!e.hasOwnProperty("model"))return!1;const t=e.model;return!!t.isFirstChange()||!Object.is(n,t.currentValue)}function nb(e,n){if(!n)return null;let t,r,i;return Array.isArray(n),n.forEach(o=>{o.constructor===Up?t=o:function WU(e){return Object.getPrototypeOf(e.constructor)===Fs}(o)?r=o:i=o}),i||r||t||null}function a3(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}function u3(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}Promise.resolve();const cd=class extends Xp{constructor(n=null,t,r){super(X_(t),Q_(r,t)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(n),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Kp(t)&&(t.nonNullable||t.initialValueIsDefault)&&(this.defaultValue=u3(n)?n.value:n)}setValue(n,t={}){this.value=this._pendingValue=n,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach(r=>r(this.value,!1!==t.emitViewToModelChange)),this.updateValueAndValidity(t)}patchValue(n,t={}){this.setValue(n,t)}reset(n=this.defaultValue,t={}){this._applyFormState(n),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){a3(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){a3(this._onDisabledChange,n)}_forEachChild(n){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(n){u3(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}};let c3=(()=>{class e extends In{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return Qp(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}static#e=this.\u0275fac=(()=>{let t;return function(i){return(t||(t=rn(e)))(i||e)}})();static#t=this.\u0275dir=ce({type:e,features:[Fe]})}return e})();const XU={provide:Ji,useExisting:Pe(()=>nm)},d3=Promise.resolve();let nm=(()=>{class e extends Ji{constructor(t,r,i,o,s,u){super(),this._changeDetectorRef=s,this.callSetDisabledState=u,this.control=new cd,this._registered=!1,this.name="",this.update=new ct,this._parent=t,this._setValidators(r),this._setAsyncValidators(i),this.valueAccessor=nb(0,o)}ngOnChanges(t){if(this._checkForErrors(),!this._registered||"name"in t){if(this._registered&&(this._checkName(),this.formDirective)){const r=t.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in t&&this._updateDisabled(t),tb(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){ad(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(t){d3.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(t){const r=t.isDisabled.currentValue,i=0!==r&&function Nv(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}(r);d3.then(()=>{i&&!this.control.disabled?this.control.disable():!i&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(t){return this._parent?Qp(t,this._parent):[t]}static#e=this.\u0275fac=function(r){return new(r||e)(P(In,9),P(un,10),P(No,10),P(_r,10),P(Cu,8),P(Ls,8))};static#t=this.\u0275dir=ce({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[rt([XU]),Fe,jr]})}return e})(),rm=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275dir=ce({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return e})();const ib=new $(""),r$={provide:In,useExisting:Pe(()=>Bu)};let Bu=(()=>{class e extends In{get submitted(){return Zr(this._submittedReactive)}set submitted(t){this._submittedReactive.set(t)}constructor(t,r,i){super(),this.callSetDisabledState=i,this._submitted=Ve(()=>this._submittedReactive()),this._submittedReactive=Ie(!1),this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new ct,this._setValidators(t),this._setAsyncValidators(r)}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(tm(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){const r=this.form.get(t.path);return ad(r,t,this.callSetDisabledState),r.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),r}getControl(t){return this.form.get(t.path)}removeControl(t){Jp(t.control||null,t,!1),function qU(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}getFormArray(t){return this.form.get(t.path)}updateModel(t,r){this.form.get(t.path).setValue(r)}onSubmit(t){return this._submittedReactive.set(!0),function s3(e,n){e._syncPendingControls(),n.forEach(t=>{const r=t.control;"submit"===r.updateOn&&r._pendingChange&&(t.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}(this.form,this.directives),this.ngSubmit.emit(t),this.form._events.next(new FU(this.control)),"dialog"===t?.target?.method}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this._submittedReactive.set(!1),this.form._events.next(new LU(this.form))}_updateDomValue(){this.directives.forEach(t=>{const r=t.control,i=this.form.get(t.path);r!==i&&(Jp(r||null,t),(e=>e instanceof cd)(i)&&(ad(i,t,this.callSetDisabledState),t.control=i))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){const r=this.form.get(t.path);(function o3(e,n){J_(e,n)})(r,t),r.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){const r=this.form.get(t.path);r&&function $U(e,n){return tm(e,n)}(r,t)&&r.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){J_(this.form,this),this._oldForm&&tm(this._oldForm,this)}_checkFormPresent(){}static#e=this.\u0275fac=function(r){return new(r||e)(P(un,10),P(No,10),P(Ls,8))};static#t=this.\u0275dir=ce({type:e,selectors:[["","formGroup",""]],hostBindings:function(r,i){1&r&&be("submit",function(s){return i.onSubmit(s)})("reset",function(){return i.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[rt([r$]),Fe,jr]})}return e})();const i$={provide:In,useExisting:Pe(()=>im)};let im=(()=>{class e extends c3{constructor(t,r,i){super(),this.name=null,this._parent=t,this._setValidators(r),this._setAsyncValidators(i)}_checkParentType(){g3(this._parent)}static#e=this.\u0275fac=function(r){return new(r||e)(P(In,13),P(un,10),P(No,10))};static#t=this.\u0275dir=ce({type:e,selectors:[["","formGroupName",""]],inputs:{name:[0,"formGroupName","name"]},features:[rt([i$]),Fe]})}return e})();const o$={provide:In,useExisting:Pe(()=>om)};let om=(()=>{class e extends In{constructor(t,r,i){super(),this.name=null,this._parent=t,this._setValidators(r),this._setAsyncValidators(i)}ngOnInit(){this._checkParentType(),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return Qp(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){g3(this._parent)}static#e=this.\u0275fac=function(r){return new(r||e)(P(In,13),P(un,10),P(No,10))};static#t=this.\u0275dir=ce({type:e,selectors:[["","formArrayName",""]],inputs:{name:[0,"formArrayName","name"]},features:[rt([o$]),Fe]})}return e})();function g3(e){return!(e instanceof im||e instanceof Bu||e instanceof om)}const s$={provide:Ji,useExisting:Pe(()=>ld)};let ld=(()=>{class e extends Ji{set isDisabled(t){}static#e=this._ngModelWarningSentOnce=!1;constructor(t,r,i,o,s){super(),this._ngModelWarningConfig=s,this._added=!1,this.name=null,this.update=new ct,this._ngModelWarningSent=!1,this._parent=t,this._setValidators(r),this._setAsyncValidators(i),this.valueAccessor=nb(0,o)}ngOnChanges(t){this._added||this._setUpControl(),tb(t,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}get path(){return Qp(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}static#t=this.\u0275fac=function(r){return new(r||e)(P(In,13),P(un,10),P(No,10),P(_r,10),P(ib,8))};static#n=this.\u0275dir=ce({type:e,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[rt([s$]),Fe,jr]})}return e})();function _3(e){return"number"==typeof e?e:parseInt(e,10)}let Vs=(()=>{class e{constructor(){this._validator=$p}ngOnChanges(t){if(this.inputName in t){const r=this.normalizeInput(t[this.inputName].currentValue);this._enabled=this.enabled(r),this._validator=this._enabled?this.createValidator(r):$p,this._onChange&&this._onChange()}}validate(t){return this._validator(t)}registerOnValidatorChange(t){this._onChange=t}enabled(t){return null!=t}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275dir=ce({type:e,features:[jr]})}return e})();const v$={provide:un,useExisting:Pe(()=>sm),multi:!0};let sm=(()=>{class e extends Vs{constructor(){super(...arguments),this.inputName="minlength",this.normalizeInput=t=>_3(t),this.createValidator=t=>FP(t)}static#e=this.\u0275fac=(()=>{let t;return function(i){return(t||(t=rn(e)))(i||e)}})();static#t=this.\u0275dir=ce({type:e,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(r,i){2&r&&on("minlength",i._enabled?i.minlength:null)},inputs:{minlength:"minlength"},features:[rt([v$]),Fe]})}return e})();const _$={provide:un,useExisting:Pe(()=>dd),multi:!0};let dd=(()=>{class e extends Vs{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=t=>_3(t),this.createValidator=t=>LP(t)}static#e=this.\u0275fac=(()=>{let t;return function(i){return(t||(t=rn(e)))(i||e)}})();static#t=this.\u0275dir=ce({type:e,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(r,i){2&r&&on("maxlength",i._enabled?i.maxlength:null)},inputs:{maxlength:"maxlength"},features:[rt([_$]),Fe]})}return e})(),T3=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Ut({type:e});static#n=this.\u0275inj=Ct({})}return e})();class M3 extends Xp{constructor(n,t,r){super(X_(t),Q_(r,t)),this.controls=n,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(n){return this.controls[this._adjustIndex(n)]}push(n,t={}){this.controls.push(n),this._registerControl(n),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}insert(n,t,r={}){this.controls.splice(n,0,t),this._registerControl(t),this.updateValueAndValidity({emitEvent:r.emitEvent})}removeAt(n,t={}){let r=this._adjustIndex(n);r<0&&(r=0),this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),this.updateValueAndValidity({emitEvent:t.emitEvent})}setControl(n,t,r={}){let i=this._adjustIndex(n);i<0&&(i=0),this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),this.controls.splice(i,1),t&&(this.controls.splice(i,0,t),this._registerControl(t)),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(n,t={}){n3(this,0,n),n.forEach((r,i)=>{t3(this,!1,i),this.at(i).setValue(r,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(n,t={}){null!=n&&(n.forEach((r,i)=>{this.at(i)&&this.at(i).patchValue(r,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(n=[],t={}){this._forEachChild((r,i)=>{r.reset(n[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t,this),this._updateTouched(t,this),this.updateValueAndValidity(t)}getRawValue(){return this.controls.map(n=>n.getRawValue())}clear(n={}){this.controls.length<1||(this._forEachChild(t=>t._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:n.emitEvent}))}_adjustIndex(n){return n<0?n+this.length:n}_syncPendingControls(){let n=this.controls.reduce((t,r)=>!!r._syncPendingControls()||t,!1);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){this.controls.forEach((t,r)=>{n(t,r)})}_updateValue(){this.value=this.controls.filter(n=>n.enabled||this.disabled).map(n=>n.value)}_anyControls(n){return this.controls.some(t=>t.enabled&&n(t))}_setUpControls(){this._forEachChild(n=>this._registerControl(n))}_allControlsDisabled(){for(const n of this.controls)if(n.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(n){n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)}_find(n){return this.at(n)??null}}function I3(e){return!!e&&(void 0!==e.asyncValidators||void 0!==e.validators||void 0!==e.updateOn)}let ub=(()=>{class e{constructor(){this.useNonNullable=!1}get nonNullable(){const t=new e;return t.useNonNullable=!0,t}group(t,r=null){const i=this._reduceControls(t);let o={};return I3(r)?o=r:null!==r&&(o.validators=r.validator,o.asyncValidators=r.asyncValidator),new od(i,o)}record(t,r=null){const i=this._reduceControls(t);return new r3(i,r)}control(t,r,i){let o={};return this.useNonNullable?(I3(r)?o=r:(o.validators=r,o.asyncValidators=i),new cd(t,{...o,nonNullable:!0})):new cd(t,r,i)}array(t,r,i){const o=t.map(s=>this._createControl(s));return new M3(o,r,i)}_reduceControls(t){const r={};return Object.keys(t).forEach(i=>{r[i]=this._createControl(t[i])}),r}_createControl(t){return t instanceof cd||t instanceof Xp?t:Array.isArray(t)?this.control(t[0],t.length>1?t[1]:null,t.length>2?t[2]:null):this.control(t)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),P3=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:Ls,useValue:t.callSetDisabledState??sd}]}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Ut({type:e});static#n=this.\u0275inj=Ct({imports:[T3]})}return e})(),A3=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:ib,useValue:t.warnOnNgModelWithFormControl??"always"},{provide:Ls,useValue:t.callSetDisabledState??sd}]}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Ut({type:e});static#n=this.\u0275inj=Ct({imports:[T3]})}return e})();class am{static luhnAlgorithm({value:n}){return n&&function w$(e){return/^\d+$/.test(e)&&!(e.split("").reverse().map(function(n,t){return n=parseInt(n,10),t%2==0?n:(n*=2)>9?n-9:n}).reduce(function(n,t){return n+t})%10)}(n)?void 0:{luhnAlgorithm:!0}}static cardExpiration({value:n}){const t={expiration:!0};if(n){if(n.length<4)return t;const i=+(new Date).getFullYear().toString().slice(-2),[o,s,u,c]=n.split(""),d=`${o}${s}`;return+d<1||+d>12||+`${u}${c}`<i?t:void 0}return t}static cardNumberLength({value:n}){const t=n?.length||0;return t>=Jn.card.number.length.min&&t<=Jn.card.number.length.max?void 0:{cardLength:!0}}static cardCodeLength(n="cardNumber"){return({value:t,parent:r})=>{const i=r?.get(n),[o]=DP()(i?.value),s=!!o?.code.size&&!!t,u=Jn.card.code.lengths[o?.type];return s&&(o?.code.size===t?.length||u?.includes(t?.length))?null:{cardCodeLength:!0}}}}function k3(...e){return function E$(){return eI(1)}()(Io(e,Ep(e)))}function x3(...e){const n=Ep(e);return mn((t,r)=>{(n?k3(e,t,n):k3(e,t)).subscribe(r)})}function cb(e,n,t,r,i,o,s){e.valueChanges.pipe(x3(null),MP(50),function D$(){return mn((e,n)=>{let t,r=!1;e.subscribe(Kt(n,i=>{const o=t;t=i,r&&n.next([o,i]),r=!0}))})}(),HI(([u,c])=>JSON.stringify(u)!==JSON.stringify(c)),t.untilDestroy()).subscribe(([u,c])=>{const d={...n()};let f=!1;!r()&&d.canShowError&&(f=!0,d.canShowError=!1);const m=i(c);d.filled!==m&&(f=!0,d.filled=m),f&&n.update(g=>({...d})),o&&o(c,s)}),e.statusChanges.pipe(x3(e.status),t.untilDestroy()).subscribe(u=>{n.update(c=>({...c,isValid:"VALID"===u}))})}const um=new $("ngx-mask config"),N3=new $("new ngx-mask config"),O3=new $("initial ngx-mask config"),P$={suffix:"",prefix:"",thousandSeparator:" ",decimalMarker:[".",","],clearIfNotMatch:!1,showTemplate:!1,showMaskTyped:!1,placeHolderCharacter:"_",dropSpecialCharacters:!0,hiddenInput:void 0,shownMaskExpression:"",separatorLimit:"",allowNegativeNumbers:!1,validation:!0,specialCharacters:["-","/","(",")",".",":"," ","+",",","@","[","]",'"',"'"],leadZeroDateTime:!1,apm:!1,leadZero:!1,keepCharacterPositions:!1,triggerOnMaskChange:!1,inputTransformFn:e=>e,outputTransformFn:e=>e,maskFilled:new ct,patterns:{0:{pattern:new RegExp("\\d")},9:{pattern:new RegExp("\\d"),optional:!0},X:{pattern:new RegExp("\\d"),symbol:"*"},A:{pattern:new RegExp("[a-zA-Z0-9]")},S:{pattern:new RegExp("[a-zA-Z]")},U:{pattern:new RegExp("[A-Z]")},L:{pattern:new RegExp("[a-z]")},d:{pattern:new RegExp("\\d")},m:{pattern:new RegExp("\\d")},M:{pattern:new RegExp("\\d")},H:{pattern:new RegExp("\\d")},h:{pattern:new RegExp("\\d")},s:{pattern:new RegExp("\\d")}}},A$=["Hh:m0:s0","Hh:m0","m0:s0"],k$=["percent","Hh","s0","m0","separator","d0/M0/0000","d0/M0","d0","M0"];let x$=(()=>{class e{constructor(){this._config=p(um),this.dropSpecialCharacters=this._config.dropSpecialCharacters,this.hiddenInput=this._config.hiddenInput,this.clearIfNotMatch=this._config.clearIfNotMatch,this.specialCharacters=this._config.specialCharacters,this.patterns=this._config.patterns,this.prefix=this._config.prefix,this.suffix=this._config.suffix,this.thousandSeparator=this._config.thousandSeparator,this.decimalMarker=this._config.decimalMarker,this.showMaskTyped=this._config.showMaskTyped,this.placeHolderCharacter=this._config.placeHolderCharacter,this.validation=this._config.validation,this.separatorLimit=this._config.separatorLimit,this.allowNegativeNumbers=this._config.allowNegativeNumbers,this.leadZeroDateTime=this._config.leadZeroDateTime,this.leadZero=this._config.leadZero,this.apm=this._config.apm,this.inputTransformFn=this._config.inputTransformFn,this.outputTransformFn=this._config.outputTransformFn,this.keepCharacterPositions=this._config.keepCharacterPositions,this._shift=new Set,this.maskExpression="",this.actualValue="",this.showKeepCharacterExp="",this.shownMaskExpression="",this.deletedSpecialCharacter=!1,this._formatWithSeparators=(t,r,i,o)=>{let s=[],u="";if(Array.isArray(i)){const g=new RegExp(i.map(y=>"[\\^$.|?*+()".indexOf(y)>=0?`\\${y}`:y).join("|"));s=t.split(g),u=t.match(g)?.[0]??""}else s=t.split(i),u=i;const c=s.length>1?`${u}${s[1]}`:"";let d=s[0]??"";const f=this.separatorLimit.replace(/\s/g,"");f&&+f&&(d="-"===d[0]?`-${d.slice(1,d.length).slice(0,f.length)}`:d.slice(0,f.length));const m=/(\d+)(\d{3})/;for(;r&&m.test(d);)d=d.replace(m,"$1"+r+"$2");return void 0===o?d+c:0===o?d:d+c.substring(0,o+1)},this.percentage=t=>{const r=t.replace(",","."),i=Number(r);return!isNaN(i)&&i>=0&&i<=100},this.getPrecision=t=>{const r=t.split(".");return r.length>1?Number(r[r.length-1]):1/0},this.checkAndRemoveSuffix=t=>{for(let r=this.suffix?.length-1;r>=0;r--){const i=this.suffix.substring(r,this.suffix?.length);if(t.includes(i)&&r!==this.suffix?.length-1&&(r-1<0||!t.includes(this.suffix.substring(r-1,this.suffix?.length))))return t.replace(i,"")}return t},this.checkInputPrecision=(t,r,i)=>{if(r<1/0){if(Array.isArray(i)){const c=i.find(d=>d!==this.thousandSeparator);i=c||i[0]}const o=new RegExp(this._charToRegExpExpression(i)+`\\d{${r}}.*$`),s=t.match(o),u=(s&&s[0]?.length)??0;u-1>r&&(t=t.substring(0,t.length-(u-1-r))),0===r&&this._compareOrIncludes(t[t.length-1],i,this.thousandSeparator)&&(t=t.substring(0,t.length-1))}return t}}applyMaskWithPattern(t,r){const[i,o]=r;return this.customPattern=o,this.applyMask(t,i)}applyMask(t,r,i=0,o=!1,s=!1,u=()=>{}){if(!r||"string"!=typeof t)return"";let c=0,d="",f=!1,m=!1,g=1,y=!1;t.slice(0,this.prefix.length)===this.prefix&&!this.showMaskTyped&&(t=t.slice(this.prefix.length,t.length)),this.suffix&&t?.length>0&&(t=this.checkAndRemoveSuffix(t)),"("===t&&this.prefix&&(t="");const _=t.toString().split("");if(this.allowNegativeNumbers&&"-"===t.slice(c,c+1)&&(d+=t.slice(c,c+1)),"IP"===r){const L=t.split(".");this.ipError=this._validIP(L),r="099.099.099.099"}const C=[];for(let L=0;L<t.length;L++)t[L]?.match("\\d")&&C.push(t[L]??"");if("CPF_CNPJ"===r&&(this.cpfCnpjError=11!==C.length&&14!==C.length,r=C.length>11?"00.000.000/0000-00":"000.000.000-00"),r.startsWith("percent")){if(t.match("[a-z]|[A-Z]")||t.match(/[-!$%^&*()_+|~=`{}\[\]:";'<>?,\/.]/)&&!s){t=this._stripToDecimal(t);const X=this.getPrecision(r);t=this.checkInputPrecision(t,X,this.decimalMarker)}const L="string"==typeof this.decimalMarker?this.decimalMarker:".";if(t.indexOf(L)>0&&!this.percentage(t.substring(0,t.indexOf(L)))){let X=t.substring(0,t.indexOf(L)-1);this.allowNegativeNumbers&&"-"===t.slice(c,c+1)&&!s&&(X=t.substring(0,t.indexOf(L))),t=`${X}${t.substring(t.indexOf(L),t.length)}`}let j="";j=this.allowNegativeNumbers&&"-"===t.slice(c,c+1)?t.slice(c+1,c+t.length):t,d=this.percentage(j)?this._splitPercentZero(t):this._splitPercentZero(t.substring(0,t.length-1))}else if(r.startsWith("separator")){(t.match("[w\u0430-\u044f\u0410-\u042f]")||t.match("[\u0401\u0451\u0410-\u044f]")||t.match("[a-z]|[A-Z]")||t.match(/[-@#!$%\\^&*()_\xa3\xac'+|~=`{}\]:";<>.?/]/)||t.match("[^A-Za-z0-9,]"))&&(t=this._stripToDecimal(t)),t="-"===t[0]&&this.allowNegativeNumbers?t.length>2&&"0"===t[1]&&t[2]!==this.thousandSeparator&&!this._compareOrIncludes(t[2],this.decimalMarker,this.thousandSeparator)&&!s?t.slice(0,t.length-1):t:t.length>1&&"0"===t[0]&&t[1]!==this.thousandSeparator&&!this._compareOrIncludes(t[1],this.decimalMarker,this.thousandSeparator)&&!s?t.slice(0,t.length-1):t,s&&(t=this._compareOrIncludes(t[t.length-1],this.decimalMarker,this.thousandSeparator)?t.slice(0,t.length-1):t);const L=this._charToRegExpExpression(this.thousandSeparator);let j='@#!$%^&*()_+|~=`{}\\[\\]:\\s,\\.";<>?\\/'.replace(L,"");if(Array.isArray(this.decimalMarker))for(const kt of this.decimalMarker)j=j.replace(this._charToRegExpExpression(kt),"");else j=j.replace(this._charToRegExpExpression(this.decimalMarker),"");const X=new RegExp("["+j+"]");(t.match(X)||1===t.length&&this._compareOrIncludes(t,this.decimalMarker,this.thousandSeparator))&&(t=t.substring(0,t.length-1));const re=this.getPrecision(r),Q=(t=this.checkInputPrecision(t,re,this.decimalMarker)).replace(new RegExp(L,"g"),"");d=this._formatWithSeparators(Q,this.thousandSeparator,this.decimalMarker,re);const vt=d.indexOf(",")-t.indexOf(","),Dt=d.length-t.length;if(Dt>0&&d[i]!==this.thousandSeparator){m=!0;let kt=0;do{this._shift.add(i+kt),kt++}while(kt<Dt)}else d[i-1]===this.decimalMarker||-4===Dt||-3===Dt||","===d[i]?(this._shift.clear(),this._shift.add(i-1)):0!==vt&&i>0&&!(d.indexOf(",")>=i&&i>3)||!(d.indexOf(".")>=i&&i>3)&&Dt<=0?(this._shift.clear(),m=!0,g=Dt,this._shift.add(i+=Dt)):this._shift.clear()}else for(let L=0,j=_[0];L<_.length&&c!==r.length;L++,j=_[L]??""){const X="*"in this.patterns;if(this._checkSymbolMask(j,r[c]??"")&&"?"===r[c+1])d+=j,c+=2;else if("*"===r[c+1]&&f&&this._checkSymbolMask(j,r[c+2]??""))d+=j,c+=3,f=!1;else if(this._checkSymbolMask(j,r[c]??"")&&"*"===r[c+1]&&!X)d+=j,f=!0;else if("?"===r[c+1]&&this._checkSymbolMask(j,r[c+2]??""))d+=j,c+=3;else if(this._checkSymbolMask(j,r[c]??"")){if("H"===r[c]&&(this.apm?Number(j)>9:Number(j)>2)){i+=1,c+=1,this._shiftStep(r,c,_.length),L--,this.leadZeroDateTime&&(d+="0");continue}if("h"===r[c]&&(this.apm?1===d.length&&Number(d)>1||"1"===d&&Number(j)>2||1===t.slice(c-1,c).length&&Number(t.slice(c-1,c))>2||"1"===t.slice(c-1,c)&&Number(j)>2:"2"===d&&Number(j)>3||("2"===d.slice(c-2,c)||"2"===d.slice(c-3,c)||"2"===d.slice(c-4,c)||"2"===d.slice(c-1,c))&&Number(j)>3&&c>10)){i+=1,c+=1,L--;continue}if(("m"===r[c]||"s"===r[c])&&Number(j)>5){i+=1,c+=1,this._shiftStep(r,c,_.length),L--,this.leadZeroDateTime&&(d+="0");continue}const re=31,Q=t[c],vt=t[c+1],Dt=t[c+2],kt=t[c-1],Pn=t[c-2],Ro=t[c-3],wr=t.slice(c-3,c-1),Gs=t.slice(c-1,c+1),Y=t.slice(c,c+2),te=t.slice(c-2,c);if("d"===r[c]){const ue="M0"===r.slice(0,2),we="M0"===r.slice(0,2)&&this.specialCharacters.includes(Pn);if(Number(j)>3&&this.leadZeroDateTime||!ue&&(Number(Y)>re||Number(Gs)>re||this.specialCharacters.includes(vt))||(we?Number(Gs)>re||!this.specialCharacters.includes(Q)&&this.specialCharacters.includes(Dt)||this.specialCharacters.includes(Q):Number(Y)>re||this.specialCharacters.includes(vt))){i+=1,c+=1,this._shiftStep(r,c,_.length),L--,this.leadZeroDateTime&&(d+="0");continue}}if("M"===r[c]){const we=0===c&&(Number(j)>2||Number(Y)>12||this.specialCharacters.includes(vt)),Vt=r.slice(c+2,c+3),Cr=wr.includes(Vt)&&(this.specialCharacters.includes(Pn)&&Number(Gs)>12&&!this.specialCharacters.includes(Q)||this.specialCharacters.includes(Q)||this.specialCharacters.includes(Ro)&&Number(te)>12&&!this.specialCharacters.includes(kt)||this.specialCharacters.includes(kt)),An=Number(wr)<=re&&!this.specialCharacters.includes(wr)&&this.specialCharacters.includes(kt)&&(Number(Y)>12||this.specialCharacters.includes(vt)),Ii=Number(Y)>12&&5===c||this.specialCharacters.includes(vt)&&5===c,dt=Number(wr)>re&&!this.specialCharacters.includes(wr)&&!this.specialCharacters.includes(te)&&Number(te)>12,Dm=Number(wr)<=re&&!this.specialCharacters.includes(wr)&&!this.specialCharacters.includes(kt)&&Number(Gs)>12;if(Number(j)>1&&this.leadZeroDateTime||we||Cr||Dm||dt||An||Ii&&!this.leadZeroDateTime){i+=1,c+=1,this._shiftStep(r,c,_.length),L--,this.leadZeroDateTime&&(d+="0");continue}}d+=j,c++}else" "===j&&" "===r[c]||"/"===j&&"/"===r[c]?(d+=j,c++):-1!==this.specialCharacters.indexOf(r[c]??"")?(d+=r[c],c++,this._shiftStep(r,c,_.length),L--):"9"===r[c]&&this.showMaskTyped?this._shiftStep(r,c,_.length):this.patterns[r[c]??""]&&this.patterns[r[c]??""]?.optional?(_[c]&&"099.099.099.099"!==r&&"000.000.000-00"!==r&&"00.000.000/0000-00"!==r&&!r.match(/^9+\.0+$/)&&!this.patterns[r[c]??""]?.optional&&(d+=_[c]),r.includes("9*")&&r.includes("0*")&&c++,c++,L--):"*"===this.maskExpression[c+1]&&this._findSpecialChar(this.maskExpression[c+2]??"")&&this._findSpecialChar(j)===this.maskExpression[c+2]&&f||"?"===this.maskExpression[c+1]&&this._findSpecialChar(this.maskExpression[c+2]??"")&&this._findSpecialChar(j)===this.maskExpression[c+2]&&f?(c+=3,d+=j):this.showMaskTyped&&this.specialCharacters.indexOf(j)<0&&j!==this.placeHolderCharacter&&1===this.placeHolderCharacter.length&&(y=!0)}d.length+1===r.length&&-1!==this.specialCharacters.indexOf(r[r.length-1]??"")&&(d+=r[r.length-1]);let S=i+1;for(;this._shift.has(S);)g++,S++;let I=o&&!r.startsWith("separator")?c:this._shift.has(i)?g:0;y&&I--,u(I,m),g<0&&this._shift.clear();let T=!1;s&&(T=_.every(L=>this.specialCharacters.includes(L)));let R=`${this.prefix}${T?"":d}${this.suffix}`;if(0===d.length&&(R=this.dropSpecialCharacters?`${d}`:`${this.prefix}${d}`),d.includes("-")&&this.prefix&&this.allowNegativeNumbers){if(s&&"-"===d)return"";R=`-${this.prefix}${d.split("-").join("")}${this.suffix}`}return R}_findDropSpecialChar(t){return Array.isArray(this.dropSpecialCharacters)?this.dropSpecialCharacters.find(r=>r===t):this._findSpecialChar(t)}_findSpecialChar(t){return this.specialCharacters.find(r=>r===t)}_checkSymbolMask(t,r){return this.patterns=this.customPattern?this.customPattern:this.patterns,(this.patterns[r]?.pattern&&this.patterns[r]?.pattern.test(t))??!1}_stripToDecimal(t){return t.split("").filter((r,i)=>{const o="string"==typeof this.decimalMarker?r===this.decimalMarker:this.decimalMarker.includes(r);return r.match("^-?\\d")||r===this.thousandSeparator||o||"-"===r&&0===i&&this.allowNegativeNumbers}).join("")}_charToRegExpExpression(t){return t&&(" "===t?"\\s":"[\\^$.|?*+()".indexOf(t)>=0?`\\${t}`:t)}_shiftStep(t,r,i){const o=/[*?]/g.test(t.slice(0,r))?i:r;this._shift.add(o+this.prefix.length||0)}_compareOrIncludes(t,r,i){return Array.isArray(r)?r.filter(o=>o!==i).includes(t):t===r}_validIP(t){return!(4===t.length&&!t.some((r,i)=>t.length!==i+1?""===r||Number(r)>255:""===r||Number(r.substring(0,3))>255))}_splitPercentZero(t){const r=t.indexOf("string"==typeof this.decimalMarker?this.decimalMarker:".");if(-1===r){const i=parseInt(t,10);return isNaN(i)?"":i.toString()}{const i=parseInt(t.substring(0,r),10),o=t.substring(r+1),s=isNaN(i)?"":i.toString();return""===s?"":s+("string"==typeof this.decimalMarker?this.decimalMarker:".")+o}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=q({token:e,factory:e.\u0275fac}),e})(),lb=(()=>{class e extends x${constructor(){super(...arguments),this.isNumberValue=!1,this.maskIsShown="",this.selStart=null,this.selEnd=null,this.writingValue=!1,this.maskChanged=!1,this._maskExpressionArray=[],this.triggerOnMaskChange=!1,this._emitValue=!1,this._previousValue="",this._currentValue="",this.onChange=t=>{},this.document=p(an),this._config=p(um),this._elementRef=p(Ln,{optional:!0}),this._renderer=p(Ci,{optional:!0})}applyMask(t,r,i=0,o=!1,s=!1,u=()=>{}){if(!r)return t!==this.actualValue?this.actualValue:t;if(this.maskIsShown=this.showMaskTyped?this.showMaskInInput():"","IP"===this.maskExpression&&this.showMaskTyped&&(this.maskIsShown=this.showMaskInInput(t||"#")),"CPF_CNPJ"===this.maskExpression&&this.showMaskTyped&&(this.maskIsShown=this.showMaskInInput(t||"#")),!t&&this.showMaskTyped)return this.formControlResult(this.prefix),this.prefix+this.maskIsShown;const c=t&&"number"==typeof this.selStart?t[this.selStart]??"":"";let d="";if(void 0!==this.hiddenInput&&!this.writingValue){let y=t&&1===t.length?t.split(""):this.actualValue.split("");"object"==typeof this.selStart&&"object"==typeof this.selEnd?(this.selStart=Number(this.selStart),this.selEnd=Number(this.selEnd)):""!==t&&y.length?"number"==typeof this.selStart&&"number"==typeof this.selEnd&&(t.length>y.length?y.splice(this.selStart,0,c):t.length<y.length&&(y.length-t.length==1?y.splice(s?this.selStart-1:t.length-1,1):y.splice(this.selStart,this.selEnd-this.selStart))):y=[],this.showMaskTyped&&(this.hiddenInput||(t=this.removeMask(t))),d=this.actualValue.length&&y.length<=t.length?this.shiftTypedSymbols(y.join("")):t}if(o&&(this.hiddenInput||!this.hiddenInput)&&(d=t),this.deletedSpecialCharacter&&i&&(this.specialCharacters.includes(this.actualValue.slice(i,i+1))?i+=1:"M0"!==r.slice(i-1,i+1)&&(i-=2),this.deletedSpecialCharacter=!1),this.showMaskTyped&&1===this.placeHolderCharacter.length&&!this.leadZeroDateTime&&(t=this.removeMask(t)),d=this.maskChanged?t:d&&d.length?d:t,this.showMaskTyped&&this.keepCharacterPositions&&this.actualValue&&!o){const y=this.dropSpecialCharacters?this.removeMask(this.actualValue):this.actualValue;return this.formControlResult(y),this.actualValue?this.actualValue:this.prefix+this.maskIsShown+this.suffix}const f=super.applyMask(d,r,i,o,s,u);if(this.actualValue=this.getActualValue(f),"."===this.thousandSeparator&&"."===this.decimalMarker&&(this.decimalMarker=","),this.maskExpression.startsWith("separator")&&!0===this.dropSpecialCharacters&&(this.specialCharacters=this.specialCharacters.filter(y=>!this._compareOrIncludes(y,this.decimalMarker,this.thousandSeparator))),(f||""===f)&&(this._previousValue=this._currentValue,this._currentValue=f,this._emitValue=this._previousValue!==this._currentValue||this.maskChanged||this._previousValue===this._currentValue&&o),this._emitValue&&this.formControlResult(f),!this.showMaskTyped||this.showMaskTyped&&this.hiddenInput)return this.hiddenInput?s?this.hideInput(f,this.maskExpression):this.hideInput(f,this.maskExpression)+this.maskIsShown.slice(f.length):f;const m=f.length,g=this.prefix+this.maskIsShown;if(this.maskExpression.includes("H")){const y=this._numberSkipedSymbols(f);return f+g.slice(m+y)}return"IP"===this.maskExpression||"CPF_CNPJ"===this.maskExpression?f+g:f+g.slice(m)}_numberSkipedSymbols(t){const r=/(^|\D)(\d\D)/g;let i=r.exec(t),o=0;for(;null!=i;)o+=1,i=r.exec(t);return o}applyValueChanges(t,r,i,o=()=>{}){const s=this._elementRef?.nativeElement;s&&(s.value=this.applyMask(s.value,this.maskExpression,t,r,i,o),s!==this._getActiveElement()&&this.clearIfNotMatchFn())}hideInput(t,r){return t.split("").map((i,o)=>this.patterns&&this.patterns[r[o]??""]&&this.patterns[r[o]??""]?.symbol?this.patterns[r[o]??""]?.symbol:i).join("")}getActualValue(t){const r=t.split("").filter((i,o)=>{const s=this.maskExpression[o]??"";return this._checkSymbolMask(i,s)||this.specialCharacters.includes(s)&&i===s});return r.join("")===t?r.join(""):t}shiftTypedSymbols(t){let r="";return(t&&t.split("").map((o,s)=>{if(this.specialCharacters.includes(t[s+1]??"")&&t[s+1]!==this.maskExpression[s+1])return r=o,t[s+1];if(r.length){const u=r;return r="",u}return o})||[]).join("")}numberToString(t){return!t&&0!==t||this.maskExpression.startsWith("separator")&&(this.leadZero||!this.dropSpecialCharacters)||this.maskExpression.startsWith("separator")&&this.separatorLimit.length>14&&String(t).length>14?String(t):Number(t).toLocaleString("fullwide",{useGrouping:!1,maximumFractionDigits:20}).replace("/-/","-")}showMaskInInput(t){if(this.showMaskTyped&&this.shownMaskExpression){if(this.maskExpression.length!==this.shownMaskExpression.length)throw new Error("Mask expression must match mask placeholder length");return this.shownMaskExpression}if(this.showMaskTyped){if(t){if("IP"===this.maskExpression)return this._checkForIp(t);if("CPF_CNPJ"===this.maskExpression)return this._checkForCpfCnpj(t)}return this.placeHolderCharacter.length===this.maskExpression.length?this.placeHolderCharacter:this.maskExpression.replace(/\w/g,this.placeHolderCharacter)}return""}clearIfNotMatchFn(){const t=this._elementRef?.nativeElement;t&&this.clearIfNotMatch&&this.prefix.length+this.maskExpression.length+this.suffix.length!==t.value.replace(this.placeHolderCharacter,"").length&&(this.formElementProperty=["value",""],this.applyMask("",this.maskExpression))}set formElementProperty([t,r]){!this._renderer||!this._elementRef||Promise.resolve().then(()=>this._renderer?.setProperty(this._elementRef?.nativeElement,t,r))}checkDropSpecialCharAmount(t){return t.split("").filter(i=>this._findDropSpecialChar(i)).length}removeMask(t){return this._removeMask(this._removeSuffix(this._removePrefix(t)),this.specialCharacters.concat("_").concat(this.placeHolderCharacter))}_checkForIp(t){if("#"===t)return`${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}`;const r=[];for(let i=0;i<t.length;i++){const o=t[i]??"";o&&o.match("\\d")&&r.push(o)}return r.length<=3?`${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}`:r.length>3&&r.length<=6?`${this.placeHolderCharacter}.${this.placeHolderCharacter}`:r.length>6&&r.length<=9?this.placeHolderCharacter:""}_checkForCpfCnpj(t){const r=`${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}-${this.placeHolderCharacter}${this.placeHolderCharacter}`,i=`${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}/${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}-${this.placeHolderCharacter}${this.placeHolderCharacter}`;if("#"===t)return r;const o=[];for(let s=0;s<t.length;s++){const u=t[s]??"";u&&u.match("\\d")&&o.push(u)}return o.length<=3?r.slice(o.length,r.length):o.length>3&&o.length<=6?r.slice(o.length+1,r.length):o.length>6&&o.length<=9?r.slice(o.length+2,r.length):o.length>9&&o.length<11?r.slice(o.length+3,r.length):11===o.length?"":12===o.length?i.slice(17===t.length?16:15,i.length):o.length>12&&o.length<=14?i.slice(o.length+4,i.length):""}_getActiveElement(t=this.document){const r=t?.activeElement?.shadowRoot;return r?.activeElement?this._getActiveElement(r):t.activeElement}formControlResult(t){if(this.writingValue||!this.triggerOnMaskChange&&this.maskChanged)return this.maskChanged&&this.onChange(this.outputTransformFn(this._toNumber(this._checkSymbols(this._removeSuffix(this._removePrefix(t)))))),void(this.maskChanged=!1);Array.isArray(this.dropSpecialCharacters)?this.onChange(this.outputTransformFn(this._toNumber(this._checkSymbols(this._removeMask(this._removeSuffix(this._removePrefix(t)),this.dropSpecialCharacters))))):this.onChange(this.outputTransformFn(this._toNumber(this.dropSpecialCharacters||!this.dropSpecialCharacters&&this.prefix===t?this._checkSymbols(this._removeSuffix(this._removePrefix(t))):t)))}_toNumber(t){if(!this.isNumberValue||""===t||this.maskExpression.startsWith("separator")&&(this.leadZero||!this.dropSpecialCharacters))return t;if(String(t).length>16&&this.separatorLimit.length>14)return String(t);const r=Number(t);if(this.maskExpression.startsWith("separator")&&Number.isNaN(r)){const i=String(t).replace(",",".");return Number(i)}return Number.isNaN(r)?t:r}_removeMask(t,r){return this.maskExpression.startsWith("percent")&&t.includes(".")?t:t&&t.replace(this._regExpForRemove(r),"")}_removePrefix(t){return this.prefix?t&&t.replace(this.prefix,""):t}_removeSuffix(t){return this.suffix?t&&t.replace(this.suffix,""):t}_retrieveSeparatorValue(t){const r=Array.isArray(this.dropSpecialCharacters)?this.specialCharacters.filter(i=>this.dropSpecialCharacters.includes(i)):this.specialCharacters;return this._removeMask(t,r)}_regExpForRemove(t){return new RegExp(t.map(r=>`\\${r}`).join("|"),"gi")}_replaceDecimalMarkerToDot(t){const r=Array.isArray(this.decimalMarker)?this.decimalMarker:[this.decimalMarker];return t.replace(this._regExpForRemove(r),".")}_checkSymbols(t){if(""===t)return t;this.maskExpression.startsWith("percent")&&","===this.decimalMarker&&(t=t.replace(",","."));const r=this._retrieveSeparatorPrecision(this.maskExpression),i=this._replaceDecimalMarkerToDot(this._retrieveSeparatorValue(t));return this.isNumberValue&&r?t===this.decimalMarker?null:this.separatorLimit.length>14?String(i):this._checkPrecision(this.maskExpression,i):i}_retrieveSeparatorPrecision(t){const r=t.match(new RegExp("^separator\\.([^d]*)"));return r?Number(r[1]):null}_checkPrecision(t,r){const i=t.slice(10,11);return t.indexOf("2")>0||this.leadZero&&Number(i)>1?(","===this.decimalMarker&&this.leadZero&&(r=r.replace(",",".")),this.leadZero?Number(r).toFixed(Number(i)):Number(r).toFixed(2)):this.numberToString(r)}_repeatPatternSymbols(t){return t.match(/{[0-9]+}/)&&t.split("").reduce((r,i,o)=>{if(this._start="{"===i?o:this._start,"}"!==i)return this._findSpecialChar(i)?r+i:r;this._end=o;const s=Number(t.slice(this._start+1,this._end)),u=new Array(s+1).join(t[this._start-1]);if(t.slice(0,this._start).length>1&&t.includes("S")){const c=t.slice(0,this._start-1);return c.includes("{")?r+u:c+r+u}return r+u},"")||t}currentLocaleDecimalMarker(){return 1.1.toLocaleString().substring(1,2)}}return e.\u0275fac=(()=>{let n;return function(r){return(n||(n=rn(e)))(r||e)}})(),e.\u0275prov=q({token:e,factory:e.\u0275fac}),e})(),N$=(()=>{class e{constructor(){this.maskExpression="",this.specialCharacters=[],this.patterns={},this.prefix="",this.suffix="",this.thousandSeparator=" ",this.decimalMarker=".",this.dropSpecialCharacters=null,this.hiddenInput=null,this.showMaskTyped=null,this.placeHolderCharacter=null,this.shownMaskExpression=null,this.showTemplate=null,this.clearIfNotMatch=null,this.validation=null,this.separatorLimit=null,this.allowNegativeNumbers=null,this.leadZeroDateTime=null,this.leadZero=null,this.triggerOnMaskChange=null,this.apm=null,this.inputTransformFn=null,this.outputTransformFn=null,this.keepCharacterPositions=null,this.maskFilled=new ct,this._maskValue="",this._position=null,this._maskExpressionArray=[],this._justPasted=!1,this._isComposing=!1,this.document=p(an),this._maskService=p(lb,{self:!0}),this._config=p(um),this.onChange=t=>{},this.onTouch=()=>{}}ngOnChanges(t){const{maskExpression:r,specialCharacters:i,patterns:o,prefix:s,suffix:u,thousandSeparator:c,decimalMarker:d,dropSpecialCharacters:f,hiddenInput:m,showMaskTyped:g,placeHolderCharacter:y,shownMaskExpression:_,showTemplate:C,clearIfNotMatch:S,validation:I,separatorLimit:T,allowNegativeNumbers:R,leadZeroDateTime:L,leadZero:j,triggerOnMaskChange:X,apm:re,inputTransformFn:Q,outputTransformFn:vt,keepCharacterPositions:Dt}=t;if(r&&(r.currentValue!==r.previousValue&&!r.firstChange&&(this._maskService.maskChanged=!0),R&&(this._maskService.allowNegativeNumbers=R.currentValue,this._maskService.allowNegativeNumbers&&(this._maskService.specialCharacters=this._maskService.specialCharacters.filter(kt=>"-"!==kt))),r.currentValue&&r.currentValue.split("||").length>1?(this._maskExpressionArray=r.currentValue.split("||").sort((kt,Pn)=>kt.length-Pn.length),this._setMask()):(this._maskExpressionArray=[],this._maskValue=r.currentValue||"",this._maskService.maskExpression=this._maskValue)),i){if(!i.currentValue||!Array.isArray(i.currentValue))return;this._maskService.specialCharacters=i.currentValue||[]}o&&o.currentValue&&(this._maskService.patterns=o.currentValue),re&&re.currentValue&&(this._maskService.apm=re.currentValue),s&&(this._maskService.prefix=s.currentValue),u&&(this._maskService.suffix=u.currentValue),c&&(this._maskService.thousandSeparator=c.currentValue),d&&(this._maskService.decimalMarker=d.currentValue),f&&(this._maskService.dropSpecialCharacters=f.currentValue),m&&(this._maskService.hiddenInput=m.currentValue),g&&(this._maskService.showMaskTyped=g.currentValue),y&&(this._maskService.placeHolderCharacter=y.currentValue),_&&(this._maskService.shownMaskExpression=_.currentValue),C&&(this._maskService.showTemplate=C.currentValue),S&&(this._maskService.clearIfNotMatch=S.currentValue),I&&(this._maskService.validation=I.currentValue),T&&(this._maskService.separatorLimit=T.currentValue),L&&(this._maskService.leadZeroDateTime=L.currentValue),j&&(this._maskService.leadZero=j.currentValue),X&&(this._maskService.triggerOnMaskChange=X.currentValue),Q&&(this._maskService.inputTransformFn=Q.currentValue),vt&&(this._maskService.outputTransformFn=vt.currentValue),Dt&&(this._maskService.keepCharacterPositions=Dt.currentValue),this._applyMask()}validate({value:t}){if(!this._maskService.validation||!this._maskValue)return null;if(this._maskService.ipError)return this._createValidationError(t);if(this._maskService.cpfCnpjError)return this._createValidationError(t);if(this._maskValue.startsWith("separator")||k$.includes(this._maskValue)||this._maskService.clearIfNotMatch)return null;if(A$.includes(this._maskValue))return this._validateTime(t);if(t&&t.toString().length>=1){let r=0;if(this._maskValue.startsWith("percent"))return null;for(const i in this._maskService.patterns)if(this._maskService.patterns[i]?.optional&&(this._maskValue.indexOf(i)!==this._maskValue.lastIndexOf(i)?r+=this._maskValue.split("").filter(s=>s===i).join("").length:-1!==this._maskValue.indexOf(i)&&r++,-1!==this._maskValue.indexOf(i)&&t.toString().length>=this._maskValue.indexOf(i)||r===this._maskValue.length))return null;if(1===this._maskValue.indexOf("{")&&t.toString().length===this._maskValue.length+Number((this._maskValue.split("{")[1]??"").split("}")[0])-4)return null;if(this._maskValue.indexOf("*")>1&&t.toString().length<this._maskValue.indexOf("*")||this._maskValue.indexOf("?")>1&&t.toString().length<this._maskValue.indexOf("?")||1===this._maskValue.indexOf("{"))return this._createValidationError(t);if(-1===this._maskValue.indexOf("*")||-1===this._maskValue.indexOf("?")){t="number"==typeof t?String(t):t;const i=this._maskValue.split("*"),o=this._maskService.dropSpecialCharacters?this._maskValue.length-this._maskService.checkDropSpecialCharAmount(this._maskValue)-r:this.prefix?this._maskValue.length+this.prefix.length-r:this._maskValue.length-r;if(1===i.length&&t.toString().length<o)return this._createValidationError(t);if(i.length>1){const s=i[i.length-1];if(s&&this._maskService.specialCharacters.includes(s[0])&&String(t).includes(s[0]??"")&&!this.dropSpecialCharacters){const u=t.split(s[0]);return u[u.length-1].length===s.length-1?null:this._createValidationError(t)}return(s&&!this._maskService.specialCharacters.includes(s[0])||!s||this._maskService.dropSpecialCharacters)&&t.length>=o-1?null:this._createValidationError(t)}}if(1===this._maskValue.indexOf("*")||1===this._maskValue.indexOf("?"))return null}return t&&this.maskFilled.emit(),null}onPaste(){this._justPasted=!0}onModelChange(t){(""===t||null==t)&&this._maskService.actualValue&&(this._maskService.actualValue=this._maskService.getActualValue(""))}onInput(t){if(this._isComposing)return;const r=t.target,i=this._maskService.inputTransformFn(r.value);if("number"!==r.type)if("string"==typeof i||"number"==typeof i){if(r.value=i.toString(),this._inputValue=r.value,this._setMask(),!this._maskValue)return void this.onChange(r.value);let o=1===r.selectionStart?r.selectionStart+this._maskService.prefix.length:r.selectionStart;if(this.showMaskTyped&&this.keepCharacterPositions&&1===this._maskService.placeHolderCharacter.length){const d=r.value.slice(o-1,o),f=this.prefix.length,m=this._maskService._checkSymbolMask(d,this._maskService.maskExpression[o-1-f]??""),g=this._maskService._checkSymbolMask(d,this._maskService.maskExpression[o+1-f]??""),y=this._maskService.selStart===this._maskService.selEnd,_=Number(this._maskService.selStart)-f,C=Number(this._maskService.selEnd)-f;if("Backspace"===this._code)if(y){if(!this._maskService.specialCharacters.includes(this._maskService.maskExpression.slice(o-this.prefix.length,o+1-this.prefix.length))&&y)if(1===_&&this.prefix)this._maskService.actualValue=this.prefix+this._maskService.placeHolderCharacter+r.value.split(this.prefix).join("").split(this.suffix).join("")+this.suffix,o-=1;else{const S=r.value.substring(0,o),I=r.value.substring(o);this._maskService.actualValue=S+this._maskService.placeHolderCharacter+I}}else this._maskService.actualValue=this._maskService.selStart===f?this.prefix+this._maskService.maskIsShown.slice(0,C)+this._inputValue.split(this.prefix).join(""):this._maskService.selStart===this._maskService.maskIsShown.length+f?this._inputValue+this._maskService.maskIsShown.slice(_,C):this.prefix+this._inputValue.split(this.prefix).join("").slice(0,_)+this._maskService.maskIsShown.slice(_,C)+this._maskService.actualValue.slice(C+f,this._maskService.maskIsShown.length+f)+this.suffix;"Backspace"!==this._code&&(m||g||!y?this._maskService.specialCharacters.includes(r.value.slice(o,o+1))&&g&&!this._maskService.specialCharacters.includes(r.value.slice(o+1,o+2))?(this._maskService.actualValue=r.value.slice(0,o-1)+r.value.slice(o,o+1)+d+r.value.slice(o+2),o+=1):m&&(this._maskService.actualValue=r.value.slice(0,o-1)+d+r.value.slice(o+1).split(this.suffix).join("")+this.suffix):o=Number(r.selectionStart)-1)}let s=0,u=!1;if("Delete"===this._code&&(this._maskService.deletedSpecialCharacter=!0),this._inputValue.length>=this._maskService.maskExpression.length-1&&"Backspace"!==this._code&&"d0/M0/0000"===this._maskService.maskExpression&&o<10){const d=this._inputValue.slice(o-1,o);r.value=this._inputValue.slice(0,o-1)+d+this._inputValue.slice(o+1)}if("Hh:m0:s0"===this._maskService.maskExpression&&this.apm&&(this._justPasted&&"00"===r.value.slice(0,2)&&(r.value=r.value.slice(1,2)+r.value.slice(2,r.value.length)),r.value="00"===r.value?"0":r.value),this._maskService.applyValueChanges(o,this._justPasted,"Backspace"===this._code||"Delete"===this._code,(d,f)=>{this._justPasted=!1,s=d,u=f}),this._getActiveElement()!==r)return;this._maskExpressionArray.length&&(o="Backspace"===this._code?this.specialCharacters.includes(this._inputValue.slice(o-1,o))?o-1:o:1===r.selectionStart?r.selectionStart+this._maskService.prefix.length:r.selectionStart),this._position=1===this._position&&1===this._inputValue.length?null:this._position;let c=this._position?this._inputValue.length+o+s:o+("Backspace"!==this._code||u?s:0);c>this._getActualInputLength()&&(c=this._getActualInputLength()),c<0&&(c=0),r.setSelectionRange(c,c),this._position=null}else console.warn("Ngx-mask writeValue work with string | number, your current value:",typeof i);else this._maskService.applyValueChanges(r.value.length,this._justPasted,"Backspace"===this._code||"Delete"===this._code)}onCompositionStart(){this._isComposing=!0}onCompositionEnd(t){this._isComposing=!1,this._justPasted=!0,this.onInput(t)}onBlur(t){if(this._maskValue){const r=t.target;if(this.leadZero&&r.value.length>0&&"string"==typeof this.decimalMarker){const i=this._maskService.maskExpression,o=Number(this._maskService.maskExpression.slice(i.length-1,i.length));if(o>1){r.value=this.suffix?r.value.split(this.suffix).join(""):r.value;const s=r.value.split(this.decimalMarker)[1];r.value=r.value.includes(this.decimalMarker)?r.value+"0".repeat(o-s.length)+this.suffix:r.value+this.decimalMarker+"0".repeat(o)+this.suffix,this._maskService.actualValue=r.value}}this._maskService.clearIfNotMatchFn()}this.onTouch()}onClick(t){if(!this._maskValue)return;const r=t.target;null!==r&&null!==r.selectionStart&&r.selectionStart===r.selectionEnd&&r.selectionStart>this._maskService.prefix.length&&38!==t.keyCode&&this._maskService.showMaskTyped&&!this.keepCharacterPositions&&(this._maskService.maskIsShown=this._maskService.showMaskInInput(),r.setSelectionRange&&this._maskService.prefix+this._maskService.maskIsShown===r.value?(r.focus(),r.setSelectionRange(0,0)):r.selectionStart>this._maskService.actualValue.length&&r.setSelectionRange(this._maskService.actualValue.length,this._maskService.actualValue.length));const s=r&&(r.value===this._maskService.prefix?this._maskService.prefix+this._maskService.maskIsShown:r.value);r&&r.value!==s&&(r.value=s),r&&"number"!==r.type&&(r.selectionStart||r.selectionEnd)<=this._maskService.prefix.length?r.selectionStart=this._maskService.prefix.length:r&&r.selectionEnd>this._getActualInputLength()&&(r.selectionEnd=this._getActualInputLength())}onKeyDown(t){if(!this._maskValue)return;if(this._isComposing)return void("Enter"===t.key&&this.onCompositionEnd(t));this._code=t.code?t.code:t.key;const r=t.target;if(this._inputValue=r.value,this._setMask(),"number"!==r.type){if("ArrowUp"===t.key&&t.preventDefault(),"ArrowLeft"===t.key||"Backspace"===t.key||"Delete"===t.key){if("Backspace"===t.key&&0===r.value.length&&(r.selectionStart=r.selectionEnd),"Backspace"===t.key&&0!==r.selectionStart)if(this.specialCharacters=this.specialCharacters?.length?this.specialCharacters:this._config.specialCharacters,this.prefix.length>1&&r.selectionStart<=this.prefix.length)r.setSelectionRange(this.prefix.length,r.selectionEnd);else if(this._inputValue.length!==r.selectionStart&&1!==r.selectionStart)for(;this.specialCharacters.includes((this._inputValue[r.selectionStart-1]??"").toString())&&(this.prefix.length>=1&&r.selectionStart>this.prefix.length||0===this.prefix.length);)r.setSelectionRange(r.selectionStart-1,r.selectionEnd);this.checkSelectionOnDeletion(r),this._maskService.prefix.length&&r.selectionStart<=this._maskService.prefix.length&&r.selectionEnd<=this._maskService.prefix.length&&t.preventDefault(),"Backspace"===t.key&&!r.readOnly&&0===r.selectionStart&&r.selectionEnd===r.value.length&&0!==r.value.length&&(this._position=this._maskService.prefix?this._maskService.prefix.length:0,this._maskService.applyMask(this._maskService.prefix,this._maskService.maskExpression,this._position))}this.suffix&&this.suffix.length>1&&this._inputValue.length-this.suffix.length<r.selectionStart?r.setSelectionRange(this._inputValue.length-this.suffix.length,this._inputValue.length):("KeyA"===t.code&&t.ctrlKey||"KeyA"===t.code&&t.metaKey)&&(r.setSelectionRange(0,this._getActualInputLength()),t.preventDefault()),this._maskService.selStart=r.selectionStart,this._maskService.selEnd=r.selectionEnd}}writeValue(t){var r=this;return Su(function*(){if("object"==typeof t&&null!==t&&"value"in t&&("disable"in t&&r.setDisabledState(!!t.disable),t=t.value),null!==t&&(t=r.inputTransformFn?r.inputTransformFn(t):t),"string"==typeof t||"number"==typeof t||null===t){let i=t;if("number"==typeof i||r._maskValue.startsWith("separator")){i=String(i);const o=r._maskService.currentLocaleDecimalMarker();Array.isArray(r._maskService.decimalMarker)||(i=r._maskService.decimalMarker!==o?i.replace(o,r._maskService.decimalMarker):i),r._maskService.leadZero&&i&&r.maskExpression&&!1!==r.dropSpecialCharacters&&(i=r._maskService._checkPrecision(r._maskService.maskExpression,i)),","===r._maskService.decimalMarker&&(i=i.toString().replace(".",",")),r.maskExpression?.startsWith("separator")&&r.leadZero&&requestAnimationFrame(()=>{r._maskService.applyMask(i?.toString()??"",r._maskService.maskExpression)}),r._maskService.isNumberValue=!0}"string"!=typeof i&&(i=""),r._inputValue=i,r._setMask(),i&&r._maskService.maskExpression||r._maskService.maskExpression&&(r._maskService.prefix||r._maskService.showMaskTyped)?("function"!=typeof r.inputTransformFn&&(r._maskService.writingValue=!0),r._maskService.formElementProperty=["value",r._maskService.applyMask(i,r._maskService.maskExpression)],"function"!=typeof r.inputTransformFn&&(r._maskService.writingValue=!1)):r._maskService.formElementProperty=["value",i],r._inputValue=i}else console.warn("Ngx-mask writeValue work with string | number, your current value:",typeof t)})()}registerOnChange(t){this._maskService.onChange=this.onChange=t}registerOnTouched(t){this.onTouch=t}_getActiveElement(t=this.document){const r=t?.activeElement?.shadowRoot;return r?.activeElement?this._getActiveElement(r):t.activeElement}checkSelectionOnDeletion(t){t.selectionStart=Math.min(Math.max(this.prefix.length,t.selectionStart),this._inputValue.length-this.suffix.length),t.selectionEnd=Math.min(Math.max(this.prefix.length,t.selectionEnd),this._inputValue.length-this.suffix.length)}setDisabledState(t){this._maskService.formElementProperty=["disabled",t]}_applyMask(){this._maskService.maskExpression=this._maskService._repeatPatternSymbols(this._maskValue||""),this._maskService.formElementProperty=["value",this._maskService.applyMask(this._inputValue,this._maskService.maskExpression)]}_validateTime(t){const r=this._maskValue.split("").filter(i=>":"!==i).length;return t&&(0==+(t[t.length-1]??-1)&&t.length<r||t.length<=r-2)?this._createValidationError(t):null}_getActualInputLength(){return this._maskService.actualValue.length||this._maskService.actualValue.length+this._maskService.prefix.length}_createValidationError(t){return{mask:{requiredMask:this._maskValue,actualValue:t}}}_setMask(){this._maskExpressionArray.some(t=>{if(t.split("").some(i=>this._maskService.specialCharacters.includes(i))&&this._inputValue&&!t.includes("S")||t.includes("{")){const i=this._maskService.removeMask(this._inputValue)?.length<=this._maskService.removeMask(t)?.length;if(i)return this._maskValue=this.maskExpression=this._maskService.maskExpression=t.includes("{")?this._maskService._repeatPatternSymbols(t):t,i;{const o=this._maskExpressionArray[this._maskExpressionArray.length-1]??"";this._maskValue=this.maskExpression=this._maskService.maskExpression=o.includes("{")?this._maskService._repeatPatternSymbols(o):o}}else{const i=this._inputValue?.split("").every((o,s)=>{const u=t.charAt(s);return this._maskService._checkSymbolMask(o,u)});if(i)return this._maskValue=this.maskExpression=this._maskService.maskExpression=t,i}})}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=ce({type:e,selectors:[["input","mask",""],["textarea","mask",""]],hostBindings:function(t,r){1&t&&be("paste",function(){return r.onPaste()})("ngModelChange",function(o){return r.onModelChange(o)})("input",function(o){return r.onInput(o)})("compositionstart",function(o){return r.onCompositionStart(o)})("compositionend",function(o){return r.onCompositionEnd(o)})("blur",function(o){return r.onBlur(o)})("click",function(o){return r.onClick(o)})("keydown",function(o){return r.onKeyDown(o)})},inputs:{maskExpression:[0,"mask","maskExpression"],specialCharacters:"specialCharacters",patterns:"patterns",prefix:"prefix",suffix:"suffix",thousandSeparator:"thousandSeparator",decimalMarker:"decimalMarker",dropSpecialCharacters:"dropSpecialCharacters",hiddenInput:"hiddenInput",showMaskTyped:"showMaskTyped",placeHolderCharacter:"placeHolderCharacter",shownMaskExpression:"shownMaskExpression",showTemplate:"showTemplate",clearIfNotMatch:"clearIfNotMatch",validation:"validation",separatorLimit:"separatorLimit",allowNegativeNumbers:"allowNegativeNumbers",leadZeroDateTime:"leadZeroDateTime",leadZero:"leadZero",triggerOnMaskChange:"triggerOnMaskChange",apm:"apm",inputTransformFn:"inputTransformFn",outputTransformFn:"outputTransformFn",keepCharacterPositions:"keepCharacterPositions"},outputs:{maskFilled:"maskFilled"},features:[rt([{provide:_r,useExisting:Pe(()=>e),multi:!0},{provide:un,useExisting:Pe(()=>e),multi:!0},lb]),jr]}),e})();function O$(e,n){return n instanceof Function?{...e,...n()}:{...e,...n}}let R3=(()=>{class e{static forRoot(t){return{ngModule:e,providers:[{provide:N3,useValue:t},{provide:O3,useValue:P$},{provide:um,useFactory:O$,deps:[O3,N3]},lb]}}static forChild(){return{ngModule:e}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Ut({type:e}),e.\u0275inj=Ct({}),e})();const R$=[[["prefix"]],[["suffix"]]],F$=["prefix","suffix"];let F3=(()=>{class e{constructor(t,r){this.cdr=t,this.injector=r,this.value=null,this.disabled=!1,this.onChange=i=>{},this.onTouched=()=>{},this.trimAfterPaste=!1,this.autocomplete="false",this.password=!1,this.transparent=!1,this.placeholder="Enter a value...",this.type="text",this.validate=!0,this.dropSpecialCharacters=!0,this._paste=new ct}ngOnInit(){this.initFormControl()}initFormControl(){this.formControl=this.injector.get(Ji)}get isInvalidControl(){return"invalid"===this.status||function S$(e){const{invalid:n,pristine:t,touched:r}=e;return!(!n||!r||t)}(this.formControl)&&this.validate}setValue(t){this.value=_P(t),this.onChange(t),this.cdr.detectChanges()}paste(t){t.stopPropagation(),setTimeout(()=>{this._paste.emit(t.target.value),this.cdr.detectChanges()})}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}writeValue(t){this.value=_P(t),this.cdr.detectChanges()}setDisabledState(t){this.disabled=t,this.cdr.detectChanges()}static#e=this.\u0275fac=function(r){return new(r||e)(P(Cu),P(Ke))};static#t=this.\u0275cmp=ut({type:e,selectors:[["moto-form-input"]],inputs:{formControlName:"formControlName",minlength:"minlength",maxlength:"maxlength",trimAfterPaste:"trimAfterPaste",autocomplete:"autocomplete",password:"password",transparent:"transparent",placeholder:"placeholder",type:"type",mask:"mask",validate:"validate",dropSpecialCharacters:"dropSpecialCharacters",status:"status"},outputs:{_paste:"paste"},features:[rt([{provide:_r,useExisting:Pe(()=>e),multi:!0}])],ngContentSelectors:F$,decls:8,vars:13,consts:[["inputRef",""],[1,"__ndb-form-control"],[1,"__ndb-form-control-affix"],[1,"__ndb-input-container"],[1,"__ndb-form-control-input",3,"ngModelChange","blur","paste","type","placeholder","minlength","maxlength","mask","dropSpecialCharacters","ngModel"]],template:function(r,i){if(1&r){const o=sn();(function Y4(e){const n=x()[mt][tn];if(!n.projection){const r=n.projection=pf(e?e.length:1,null),i=r.slice();let o=n.child;for(;null!==o;){if(128!==o.type){const s=e?a6(o,e):0;null!==s&&(i[s]?i[s].projectionNext=o:r[s]=o,i[s]=o)}o=o.next}}})(R$),G(0,"div",1)(1,"div",2),tv(2),U(),G(3,"div",3)(4,"input",4,0),be("ngModelChange",function(u){return Ne(o),Oe(i.setValue(u))})("blur",function(){return Ne(o),Oe(i.onTouched())})("paste",function(u){return Ne(o),Oe(i.paste(u))}),U()(),G(6,"div",2),tv(7,1),U()()}2&r&&(Ur("transparent",i.transparent)("invalid",i.isInvalidControl),N(4),ee("type",i.type)("placeholder",i.placeholder)("minlength",i.minlength)("maxlength",i.maxlength)("mask",i.mask)("dropSpecialCharacters",i.dropSpecialCharacters)("ngModel",i.value),on("data-locator",i.formControlName||i.placeholder)("autocomplete",i.autocomplete))},dependencies:[N$,Up,Lu,sm,dd,nm],styles:["[_ngcontent-%COMP%]:root{--ndb-button-bg: #2c8ee8;--ndb-button-disabled-bg: rgba(201, 204, 216, .3);--ndb-button-hover-bg: #1467b4;--ndb-button-color: #fff;--ndb-card-border-color: #c9ccd8}.__ndb-form-control[_ngcontent-%COMP%]{border:1px solid #c9ccd8;border-radius:4px;display:flex;align-items:center;box-shadow:0 2px #29304d14;padding:17px 10px}.__ndb-form-control-affix[_ngcontent-%COMP%]{display:flex;align-items:center;gap:3px}.__ndb-form-control.invalid[_ngcontent-%COMP%]{border:1px solid #f44336;color:#f44336}.__ndb-form-control.invalid[_ngcontent-%COMP%] .__ndb-form-control-input[_ngcontent-%COMP%]::placeholder{color:#eb001b}.__ndb-form-control.transparent[_ngcontent-%COMP%]{border:none;box-shadow:none}.__ndb-form-control[_ngcontent-%COMP%] .__ndb-input-container[_ngcontent-%COMP%]{display:flex;flex-grow:1}.__ndb-form-control-input[_ngcontent-%COMP%]{display:block;width:100%;max-width:100%;border:none;outline:none;flex-grow:1}.__ndb-form-control-input[_ngcontent-%COMP%]::placeholder{color:#707797}"],changeDetection:0})}return e})();function L$(e,n){if(1&e&&(G(0,"span",4),fe(1),U()),2&e){const t=Z();ee("@ANTransform",void 0),N(),Xt(t.paymentsErrorMsg())}}function V$(e,n){if(1&e&&(G(0,"span",15),fe(1),U()),2&e){Z();const t=At(2);ee("@ANTransform",void 0),N(),Xt(t.errors.invalidCardHolder)}}let L3=(()=>{class e extends Hp{constructor(t,r,i){super(t),this.injector=t,this.fb=r,this.context=i,this.constants=Jn}ngOnInit(){this.settings=this.context.data.settings,this.componentState=this.context.componentsStates.cardForm,this.initForm(),this.initComputedFields(),cb(this.form,this.componentState,this,()=>!!this.settings().requiredFieldsBehavior?.markAsInvalidUntilCorrect,this.areRequiredFieldsFilled,this.onUpdate,this.context)}pasteCardNumber(t){const r=function vU(e){return e.replace(/\s/g,"")}(t);this.form.get("cardCredentials").get("cardNumber").setValue(r,{onlySelf:!0}),function I$(e,n,t=null,r=!0){n.forEach(i=>{const o=e.get(i);o||function C$(e){throw new Error(e)}(`Invalid form control name: "${i}"`),o.reset(t),r&&o.updateValueAndValidity()})}(this.form.get("cardCredentials"),["expiration","cvv"]),this.detect()}resetForm(){this.form.reset(),this.localDetect()}onFocus(t){switch(t){case"number":this.context.events.analytics.emit(new gt("card-number-field-focus"),!0);break;case"cvv":this.context.events.analytics.emit(new gt("cvv-field-focus"),!0);break;case"holder":this.context.events.analytics.emit(new gt("card-holder-field-focus"),!0);break;case"expiration":this.context.events.analytics.emit(new gt("expiration-date-field-focus"),!0)}}initForm(){this.form=this.fb.group({cardCredentials:this.fb.group({cardNumber:[null,[Ti.required,am.luhnAlgorithm,am.cardNumberLength]],expiration:[null,[Ti.required,Ti.minLength(4),Ti.maxLength(4),am.cardExpiration]],cvv:[null,[Ti.required,am.cardCodeLength()]]}),cardHolder:[null,[Ti.required,Ti.maxLength(Jn.card.holder.length.max)]]})}initComputedFields(){this.isCredentialsErrorShown=Ve(()=>{const t=this.form.get("cardCredentials");return this.componentState().canShowError&&t.invalid}),this.isCardHolderErrorShown=Ve(()=>{const t=this.form.get("cardHolder");return this.componentState().canShowError&&t.invalid}),this.paymentDetailsHeader=Ve(()=>{const t=this.settings();return`${t.language.requisites.paymentDetailsHeader}${this.componentState().isRequired&&t.requiredFieldsBehavior?.showStars?" *":""}`}),this.nameOnCardHeader=Ve(()=>{const t=this.settings();return`${t.language.requisites.cardHolderHeader}${this.componentState().isRequired&&t.requiredFieldsBehavior?.showStars?" *":""}`}),this.paymentsErrorMsg=Ve(()=>{const t=this.form.get("cardCredentials"),[r]=function M$(e){return function T$(e){return Object.entries(e.controls).filter(([,n])=>n.invalid)}(e).map(([n])=>n)}(t),i=this.settings().language.errors;switch(this.componentState(),r){case"cardNumber":return i.invalidCardNumber;case"expiration":return i.invalidCardExpiration;case"cvv":return i.invalidCvv}})}areRequiredFieldsFilled(t){const{cardCredentials:r,cardHolder:i}=t;return r?.cvv&&r?.cardNumber&&r?.expiration&&i}onUpdate(t,r){const{cardCredentials:i,cardHolder:o}=t;r.data.userProvidedInfo.update(s=>({...s,paymentSystemName:"card",requisites:{type:"card",value:{cvv:i.cvv,expiration:i.expiration,number:i.cardNumber,holder:o}}}))}static#e=this.\u0275fac=function(r){return new(r||e)(P(Ke),P(ub),P(st))};static#t=this.\u0275cmp=ut({type:e,selectors:[["moto-card-form"]],features:[Fe],decls:32,vars:49,consts:[[1,"__ndb-form",3,"formGroup"],[1,"__ndb-form-stage"],[1,"__ndb-form-stage-header"],[1,"__ndb-form-stage-header-title","fz-14","fw-500"],["data-locator","card-credentials-error",1,"__ndb-form-stage-header-error","fz-14","fw-500","font-error"],["formGroupName","cardCredentials",1,"__ndb-form-stage-controls","__ndb-form-stage-controls_credentials"],["id","card-number-field","formControlName","cardNumber","type","tel","autocomplete","cc-number",1,"__ndb-form-stage-controls_card-number",3,"paste","focusin","placeholder","mask","transparent","validate","status"],["ngProjectAs","suffix",5,["suffix"],1,"__ndb-form-stage-controls_card-number-logo",3,"src"],[1,"__ndb-form-stage-controls-separator","__ndb-form-stage-controls-separator_x"],[1,"__ndb-form-stage-controls-group"],["id","card-expiration-field","formControlName","expiration","mask","00 / 00","type","tel","autocomplete","cc-exp",1,"__ndb-form-stage-controls_expiration",3,"focusin","placeholder","transparent","validate","status"],[1,"__ndb-form-stage-controls-separator","__ndb-form-stage-controls-separator_y"],["id","card-cvv-field","formControlName","cvv","type","tel",1,"__ndb-form-stage-controls_cvv",3,"focusin","mask","dropSpecialCharacters","placeholder","transparent","validate","status"],["tabindex","-1","ngProjectAs","suffix",5,["suffix"]],[1,"material-icons","font-description","block","fz-18","cursor-default"],["data-locator","card-holder-error",1,"__ndb-form-stage-header-error","fz-14","fw-500","font-error"],[1,"__ndb-form-stage-controls"],["id","card-holder-field","formControlName","cardHolder","autocomplete","cc-name",3,"focusin","placeholder","maxlength","validate","status"]],template:function(r,i){if(1&r){const o=sn();hr(0)(1)(2),G(3,"form",0)(4,"div",1)(5,"div",2)(6,"h6",3),fe(7),U(),De(8,L$,2,2,"span",4),U(),G(9,"div",5)(10,"moto-form-input",6),it(11,"cardInfo"),be("paste",function(u){return Ne(o),Oe(i.pasteCardNumber(u))})("focusin",function(){return Ne(o),Oe(i.onFocus("number"))}),He(12,"moto-picture",7),it(13,"cardInfo"),U(),He(14,"div",8),G(15,"div",9)(16,"moto-form-input",10),be("focusin",function(){return Ne(o),Oe(i.onFocus("expiration"))}),U(),He(17,"div",11),G(18,"moto-form-input",12),it(19,"cardInfo"),it(20,"cardInfo"),be("focusin",function(){return Ne(o),Oe(i.onFocus("cvv"))}),G(21,"div",13),it(22,"cardInfo"),G(23,"i",14),fe(24,"error"),U()()()()()(),G(25,"div",1)(26,"div",2)(27,"h6",3),fe(28),U(),De(29,V$,2,2,"span",15),U(),G(30,"div",16)(31,"moto-form-input",17),be("focusin",function(){return Ne(o),Oe(i.onFocus("holder"))}),U()()()()}if(2&r){const o=i.isCardHolderErrorShown(),s=i.isCredentialsErrorShown();N(2);const u=Hn(i.settings().language);N(),ee("formGroup",i.form),N(4),lt(" ",i.paymentDetailsHeader()," "),N(),Le(s?8:-1),N(),Ur("invalid",s),N(),ee("placeholder",u.requisites.cardNumberPlaceholder)("mask",_u(11,29,i.form.value.cardCredentials.cardNumber,"card-number-mask","0000 0000 0000 0000"))("transparent",!0)("validate",!1)("status",s?"invalid":"valid"),N(2),ee("src",hn(13,33,i.form.value.cardCredentials.cardNumber,"logo")),N(4),ee("placeholder",u.requisites.cardExpirationPlaceholder)("transparent",!0)("validate",!1)("status",s?"invalid":"valid"),N(2),ee("mask",_u(19,36,i.form.value.cardCredentials.cardNumber,"code-mask","000"))("dropSpecialCharacters",!1)("placeholder",function RS(e,n,t,r,i,o){const s=e+J,u=x(),c=ds(u,s);return Ol(u,s)?NS(u,wn(),n,c.transform,t,r,i,o,c):c.transform(t,r,i,o)}(20,40,i.form.value.cardCredentials.cardNumber,"code","CVV",u.requisites.cvvPlaceholder))("transparent",!0)("validate",!1)("status",s?"invalid":"valid"),N(3),on("data-tooltip",_u(22,45,i.form.value.cardCredentials.cardNumber,"secure-text",u.requisites.cvvHint)),N(7),lt(" ",i.nameOnCardHeader()," "),N(),Le(o?29:-1),N(2),ee("placeholder",u.requisites.cardHolderPlaceholder)("maxlength",i.constants.card.holder.length.max)("validate",!1)("status",o?"invalid":"valid")}},dependencies:[rm,Lu,Wp,dd,Bu,ld,im,Pu,F3,G_],data:{animation:[A_()]},changeDetection:0})}return e})();function j$(e,n){if(1&e&&(G(0,"span",4),fe(1),U()),2&e){Z();const t=At(0);ee("@ANTransform",void 0),N(),lt(" ",t.errors.invalidPhoneNumber,"")}}let V3=(()=>{class e extends Hp{constructor(t,r,i){super(t),this.injector=t,this.fb=r,this.context=i,this.phoneConstants=Jn.phoneNumber}ngOnInit(){this.componentState=this.context.componentsStates.additionalForm,this.cardFormState=this.context.componentsStates.cardForm,this.settings=this.context.data.settings,this.initComputed(),this.initForm(),cb(this.form,this.componentState,this,()=>!!this.settings().requiredFieldsBehavior?.markAsInvalidUntilCorrect,t=>!!t.phoneNumber)}onFocus(){this.context.events.analytics.emit(new gt("number-field-focus"),!0)}initForm(){this.form=this.fb.group({phoneNumber:["",[Ti.minLength(Jn.phoneNumber.length.min),Ti.maxLength(Jn.phoneNumber.length.max)]]})}initComputed(){this.header=Ve(()=>{const t=this.settings();return`${t.language.phone.header}${this.componentState().isRequired&&t.requiredFieldsBehavior?.showStars?" *":""}`}),this.isErrorShown=Ve(()=>{const t=this.componentState();return t.canShowError&&!t.isValid})}static#e=this.\u0275fac=function(r){return new(r||e)(P(Ke),P(ub),P(st))};static#t=this.\u0275cmp=ut({type:e,selectors:[["moto-additional-form"]],features:[Fe],decls:10,vars:9,consts:[[1,"__ndb-form",3,"formGroup"],[1,"__ndb-form-stage"],[1,"__ndb-form-stage-header"],[1,"__ndb-form-stage-header-title","fz-14","fw-500"],["data-locator","phone-error",1,"__ndb-form-stage-header-error","fz-14","fw-500","font-error"],[1,"__ndb-form-stage-controls"],["id","phone-number-field","formControlName","phoneNumber","autocomplete","tel","type","tel",3,"focusin","placeholder","minlength","maxlength","validate","status"]],template:function(r,i){if(1&r){const o=sn();hr(0)(1),G(2,"form",0)(3,"div",1)(4,"div",2)(5,"h6",3),fe(6),U(),De(7,j$,2,2,"span",4),U(),G(8,"div",5)(9,"moto-form-input",6),be("focusin",function(){return Ne(o),Oe(i.onFocus())}),U()()()()}if(2&r){const o=Hn(i.settings().language),s=i.isErrorShown();N(2),ee("formGroup",i.form),N(4),Xt(i.header()),N(),Le(s?7:-1),N(2),ee("placeholder",o.phone.placeholder)("minlength",i.phoneConstants.length.min)("maxlength",i.phoneConstants.length.max)("validate",!1)("status",s?"invalid":"valid")}},dependencies:[rm,Lu,Wp,sm,dd,Bu,ld,F3],data:{animation:[A_()]},changeDetection:0})}return e})(),cm=(()=>{class e{constructor(t){this.sanitizer=t}transform(t,r){if(!t)return t;const i=this.parseLinks(t,r);return this.sanitizer.bypassSecurityTrustHtml(i)}parseLinks(t,r){return t.replace(/\{\s*href:\s*['"]([^'"]+)['"],\s*text:\s*['"]([^'"]+)['"]\s*\}/g,`<a href="$1" ${r?`class="${r}"`:""} target="_blank">$2</a>`)}static#e=this.\u0275fac=function(r){return new(r||e)(P(l_,16))};static#t=this.\u0275pipe=Nt({name:"linkify",type:e,pure:!0})}return e})();function B$(e,n){if(1&e){const t=sn();G(0,"label",5)(1,"input",6),be("ngModelChange",function(i){Ne(t);const o=Z(),s=o.$implicit,u=o.$index;return Oe(Z(2).onChange(s,u,i))})("focusin",function(){Ne(t);const i=Z(),o=i.$implicit,s=i.$index;return Oe(Z(2).onFocus(o,s))}),U(),He(2,"span",7)(3,"span",8),it(4,"linkify"),U()}if(2&e){const t=Z(),r=t.$implicit,i=t.$index,o=Z(2),s=At(2);N(),ee("name","charge-term-"+i)("id","charge-term-"+i)("formControlName",i),N(),Ur("invalid",s&&!o.form.get("checkboxes").get(i.toString()).value),N(),ee("innerHTML",hn(4,6,r,"__ndb-settings-checkboxes-checkbox-link fz-12 fw-500 font-description"),_o)}}function H$(e,n){1&e&&De(0,B$,5,9,"label",5),2&e&&Le(n.$implicit?0:-1)}function G$(e,n){if(1&e&&(G(0,"form",1),mu(1,4),Wr(2,H$,1,1,null,null,Wi),gu(),U()),2&e){const t=Z(),r=At(1);ee("formGroup",t.form),N(2),qr(r.checkboxes)}}function U$(e,n){if(1&e&&(G(0,"p",2),it(1,"linkify"),fe(2),U()),2&e){Z();const t=At(1);ee("innerHTML",hn(1,2,t.text,"fz-12 fw-500 font-description"),_o),N(2),lt(" ",t.text," ")}}function $$(e,n){if(1&e&&(G(0,"span",3),fe(1),U()),2&e){Z();const t=At(0);ee("@ANTransform",void 0),N(),lt(" ",t.language.errors.notCheckedCheckboxes," ")}}let j3=(()=>{class e extends Hp{constructor(t,r,i){super(r),this.context=t,this.injector=r,this.fb=i}ngOnInit(){this.settings=this.context.data.settings,this.componentState=this.context.componentsStates.chargeTerms,this.isErrorShown=Ve(()=>this.componentState().canShowError&&!this.componentState().isValid),this.initForm()?cb(this.form,this.componentState,this,()=>!!this.settings().requiredFieldsBehavior?.markAsInvalidUntilCorrect,()=>!0):this.componentState.update(t=>({...t,isValid:!0}))}onChange(t,r,i){this.context.events.analytics.emit(new gt(i?`charge-term-checkbox-${r}-check`:`charge-term-checkbox-${r}-uncheck`,{text:t}))}onFocus(t,r){this.context.events.analytics.emit(new gt(`charge-term-checkbox-${r}-focus`,{text:t}),!0)}initForm(){const t=this.settings().chargeTerms;if(!t.checkboxes?.length)return!1;const r=t.checkboxes.map(()=>this.fb.control(!1,Ti.requiredTrue));return this.form=this.fb.group({checkboxes:this.fb.array(r)}),!0}static#e=this.\u0275fac=function(r){return new(r||e)(P(st),P(Ke),P(ub))};static#t=this.\u0275cmp=ut({type:e,selectors:[["moto-charge-terms"]],features:[Fe],decls:7,vars:6,consts:[[1,"__ndb-settings"],[1,"__ndb-settings-checkboxes",3,"formGroup"],[1,"__ndb-settings-text","fz-11","fw-500",3,"innerHTML"],["data-locator","charge-terms-error",1,"fz-14","fw-500","font-error"],["formArrayName","checkboxes"],[1,"__ndb-settings-checkboxes-checkbox","fz-11","fw-500","font-description"],["type","checkbox",1,"__ndb-settings-checkboxes-checkbox-input",3,"ngModelChange","focusin","name","id","formControlName"],[1,"__ndb-settings-checkboxes-checkbox-checkmark"],[1,"__ndb-settings-checkboxes-checkbox-text",3,"innerHTML"]],template:function(r,i){if(1&r&&(hr(0)(1)(2),G(3,"div",0),De(4,G$,4,1,"form",1)(5,U$,3,5,"p",2)(6,$$,2,2,"span",3),U()),2&r){const o=Hn(i.settings());N();const s=Hn(o.chargeTerms);N();const u=Hn(i.isErrorShown());N(2),Le(null!=s.checkboxes&&s.checkboxes.length?4:-1),N(),Le(s.text?5:-1),N(),Le(u?6:-1)}},dependencies:[rm,Gp,Lu,Wp,Bu,ld,om,cm],data:{animation:[A_()]},changeDetection:0})}return e})();function db(e){const n=function W$(e){return`\n <!DOCTYPE html>\n <html>\n <head>\n <meta charset="UTF-8">\n <meta name="viewport" content="width=device-width, initial-scale=1.0">\n <meta name="description" content="Waiting payment approval">\n\n <title>Moto pay</title>\n </head>\n <body>\n <div class="waiting">\n <div class="section">\n <h2 class="waiting__title">${e.paymentProcessing}</h2>\n <div class="section__content __ndb-spinner-container">\n <div class="spinner">\n <div class="lds-ring">\n <div></div>\n <div></div>\n <div></div>\n <div></div>\n </div>\n <div class="spinner__extra"></div>\n </div>\n </div>\n </div>\n </div>\n </body>\n </html>`}(e);let s=n.replace("</head>",'<style>\n\n .waiting__title {\n position: relative;\n z-index: 101;\n font-family: "Poppins", Helvetica, Arial, sans-serif;\n color: #29304d;\n font-size: 16px;\n margin: 0;\n text-align: center;\n transform: translateY(108px);\n }\n .__ndb__moto-modal-backdrop {\n background-color: #e5e5e5 !important;\n }\n .__ndb__moto-modal .header {\n margin: 0;\n }\n .section__content {\n margin: 0 auto;\n width: 870px;\n }\n @media screen and (max-width: 1000px) {\n .section__content {\n width: 720px;\n }\n }\n @media screen and (max-width: 768px) {\n .section__content {\n width: 375px;\n }\n }\n @media screen and (max-width: 375px) {\n .section__content {\n width: 320px;\n }\n }\n .spinner {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n height: 330px;\n }\n .spinner_small {\n height: 70px;\n }\n .spinner_extra {\n height: 550px;\n }\n .lds-ring {\n display: inline-block;\n position: relative;\n width: 80px;\n height: 80px;\n }\n .lds-ring div {\n box-sizing: border-box;\n display: block;\n position: absolute;\n width: 64px;\n height: 64px;\n margin: 8px;\n border: 8px solid #6936d3;\n border-radius: 50%;\n animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;\n border-color: #6936d3 transparent transparent transparent;\n }\n .lds-ring div:nth-child(1) {\n animation-delay: -0.45s;\n }\n .lds-ring div:nth-child(2) {\n animation-delay: -0.3s;\n }\n .lds-ring div:nth-child(3) {\n animation-delay: -0.15s;\n }\n @keyframes lds-ring {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n }\n</style>\n</head>');return s=s.replace("</body>","<script>\n\n const messageKey = '__moto_pay_message';\n\n function inputTemplate(name, value) {\n return `<input type=\"hidden\" name=\"${name}\" value=\"${value}\" />`;\n }\n \n function formTemplate(redirectUrl, inputsTpl) {\n return `<form action=\"${redirectUrl}\" method=\"post\">${inputsTpl}</form>`;\n }\n \n function makeFormTemplate(threeDsData) {\n const inputsTemplate = Object.entries(threeDsData).reduce((accum, [key, value]) => {\n const inputTpl = inputTemplate(key, value);\n return (accum += `${inputTpl}\n`);\n }, '');\n const template = formTemplate(threeDsData.acsurl, inputsTemplate);\n return template;\n }\n \n function simpleRedirect(url) {\n window.location.replace(url);\n }\n \n function postRedirect(threeDsData) {\n const template = makeFormTemplate(threeDsData);\n \n setTimeout(() => {\n document.body.innerHTML = template;\n const form = document.body.querySelector('form');\n form.submit();\n });\n }\n \n function onMessageReceived(event) {\n if (event.data && event.data.key == messageKey) {\n if (event.data.type == 'simpleRedirect') {\n simpleRedirect(event.data?.redirectData?.location);\n }\n \n if (event.data.type == 'postRedirect') {\n postRedirect(event.data.threeDsData);\n }\n }\n }\n\n window.addEventListener('message', onMessageReceived, false);\n \n<\/script>\n</body>"),s}mx();class lm{constructor(){this.postMessageKey="__moto_pay_message"}tryOpenBlankWindow(n){return this.window||(this.window=window.open("","_blank")??void 0,n&&this.window?.document?.write(n)),this.window}threeDsRedirect(n){this.window?.postMessage({key:this.postMessageKey,type:"postRedirect",threeDsData:n})}redirect(n){this.window?.postMessage({key:this.postMessageKey,type:"simpleRedirect",redirectData:n})}closeWindow(){this.window?.close(),this.window=void 0}}let B3=(()=>{class e{constructor(t){this.window=t}transform(t,r){return Number(t).toLocaleString(this.window.navigator.language,{style:"currency",currency:r})}static#e=this.\u0275fac=function(r){return new(r||e)(P(bP,16))};static#t=this.\u0275pipe=Nt({name:"currencySymbol",type:e,pure:!0})}return e})(),Z$=(()=>{class e{transform(t,r,i){return r&&i&&"net"==i?t+r:t}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275pipe=Nt({name:"price",type:e,pure:!0})}return e})();function Y$(e,n){if(1&e&&(G(0,"span",4),fe(1),U()),2&e){Z();const t=At(3);N(),Xt(t.taxDescription)}}function K$(e,n){if(1&e&&(He(0,"div",9),G(1,"div",10),He(2,"moto-picture",11),it(3,"cardInfo"),G(4,"span",12),fe(5),it(6,"slice"),U()()),2&e){const t=n;N(2),ee("src",hn(3,2,t.name,"logo")),N(3),lt(" \u2022\u2022",hn(6,5,t.name,-4)," ")}}let H3=(()=>{class e{constructor(t,r,i){this.context=t,this.processing=r,this.windowService=i}ngOnInit(){this.settings=this.context.data.settings,this.payment=this.context.data.payment,this.userProvidedInfo=this.context.data.userProvidedInfo,this.paymentAvailability=this.context.computed.paymentAvailability,this.existingCard=Ve(()=>{const t=this.userProvidedInfo();if("existing-card"===t?.requisites?.type&&t.requisites?.value)return t.requisites.value})}pay(){if(this.context.events.analytics.emit(new gt("pay-button-click")),!this.context.computed.paymentAvailability().canPay.byCard)return void this.context.updateCanShowError(!0);this.windowService.tryOpenBlankWindow(db(this.settings().language));const t=this.processing.pay();this.context.data.state.set({type:"payLoading",payload:{observable:t}})}onFocus(){this.context.events.analytics.emit(new gt("pay-button-focus"),!0)}static#e=this.\u0275fac=function(r){return new(r||e)(P(st),P(Fu),P(lm))};static#t=this.\u0275cmp=ut({type:e,selectors:[["moto-pay-button"]],decls:23,vars:23,consts:[[1,"__ndb-pay"],[1,"__ndb-pay-info"],[1,"__ndb-pay-title","fz-18","fw-600"],["data-locator","total-cost",1,"fz-24","fw-700"],["id","tax-description",1,"fz-11","fw-500","font-description"],["id","pay-button","data-locator","btn-submit",1,"__ndb-pay-btn","button-submit","full-width",3,"click","focusin","ngClass","disabled"],[1,"__ndb-pay-btn-content"],[1,"__ndb-pay-btn-cost-side"],["data-locator","btn-submit-cost"],[1,"__ndb-pay-btn-separator"],[1,"__ndb-pay-btn-card-side"],[1,"__ndb-pay-btn-card-side-logo",3,"src"],["data-locator","btn-submit-card-number",1,"__ndb-pay-btn-card-side-number"]],template:function(r,i){if(1&r){const o=sn();hr(0)(1)(2)(3),G(4,"div",0)(5,"div",1)(6,"span",2),fe(7),U(),G(8,"span",3),fe(9),it(10,"price"),it(11,"currencySymbol"),U()(),De(12,Y$,2,1,"span",4),G(13,"button",5),be("click",function(){return Ne(o),Oe(i.pay())})("focusin",function(){return Ne(o),Oe(i.onFocus())}),G(14,"div",6)(15,"div",7)(16,"span"),fe(17),G(18,"span",8),fe(19),it(20,"price"),it(21,"currencySymbol"),U()()(),De(22,K$,7,8),U()()()}if(2&r){let o;const s=i.payment(),u=i.paymentAvailability(),c=i.settings();N(3);const d=Hn(c.language);N(4),Xt(d.totalHeader),N(2),Xt(hn(11,13,_u(10,9,s.amount,s.tax,s.amountType),s.currency)),N(3),Le(c.isTaxVisible&&d.taxDescription?12:-1),N(),ee("ngClass",u.buttonDisableClass)("disabled",u.isPayButtonDisabled),N(4),lt(" ",d.pay," "),N(2),lt(" ",hn(21,20,_u(20,16,s.amount,s.tax,s.amountType),s.currency)," "),N(3),Le((o=i.existingCard())?22:-1,o)}},dependencies:[zv,Pu,B3,Xv,G_,Z$],styles:["[_ngcontent-%COMP%]:root{--ndb-button-bg: #2c8ee8;--ndb-button-disabled-bg: rgba(201, 204, 216, .3);--ndb-button-hover-bg: #1467b4;--ndb-button-color: #fff;--ndb-card-border-color: #c9ccd8}.full-width[_ngcontent-%COMP%]{width:100%}@media (min-width: 769px){.ndb-mobile[_ngcontent-%COMP%]{display:none}}@media (max-width: 768px){.ndb-desktop[_ngcontent-%COMP%]{display:none}}.margin-auto[_ngcontent-%COMP%]{margin:auto}.flex[_ngcontent-%COMP%]{display:flex}.flex-column[_ngcontent-%COMP%]{display:flex;flex-direction:column}.none[_ngcontent-%COMP%]{display:none}.block[_ngcontent-%COMP%]{display:block}.events-none[_ngcontent-%COMP%]{pointer-events:none}.cursor-default[_ngcontent-%COMP%]{cursor:default}.pointer[_ngcontent-%COMP%]{cursor:pointer}.bold[_ngcontent-%COMP%]{font-weight:700!important}.font-middle[_ngcontent-%COMP%]{vertical-align:middle}.rotate[_ngcontent-%COMP%]{transform:rotate(-180deg)}.__ndb-pay[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center}.__ndb-pay-info[_ngcontent-%COMP%]{display:flex;width:100%;align-items:center;justify-content:space-between;gap:20px;margin-bottom:7px}.__ndb-pay-btn[_ngcontent-%COMP%]{margin-top:7px}.__ndb-pay-btn-content[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;gap:16px;width:100%}.__ndb-pay-btn-separator[_ngcontent-%COMP%]{width:2px;height:18px;opacity:.3;background-color:var(--ndb-button-color)}.__ndb-pay-btn-card-side[_ngcontent-%COMP%]{display:flex;align-items:center;gap:10px}.__ndb-pay-btn-card-side-logo[_ngcontent-%COMP%]{height:24px;width:36px}"],changeDetection:0})}return e})(),dm=(()=>{class e{constructor(){this.signals={}}getOrSetItemSignal(t,r){const i=window.sessionStorage.getItem(t);return i?this.signals[t]?JSON.stringify(this.signals[t]())!==i&&this.signals[t].set(JSON.parse(i)):this.signals[t]=Ie(JSON.parse(i)):this.setItem(t,r),this.signals[t]}setItem(t,r){window.sessionStorage.setItem(t,JSON.stringify(r)),this.signals[t]?this.signals[t].set(r):this.signals[t]=Ie(r)}removeItem(t){window.sessionStorage.removeItem(t),this.signals[t]?.set(void 0)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=q({token:e,factory:e.\u0275fac})}return e})(),X$=(()=>{class e{constructor(t,r){this.renderer=t,this.elRef=r,this.buttonClick=new ct,this.buttonStyle="white-outline",this.locale="en-US",this.type="continue"}ngAfterViewInit(){this.createButton()}ngOnDestroy(){this.buttonClickListener&&(this.buttonClickListener(),this.buttonClickListener=void 0)}createButton(){const t=this.renderer.createElement("apple-pay-button");this.renderer.setAttribute(t,"type",this.type),this.renderer.setAttribute(t,"buttonstyle",this.buttonStyle),this.renderer.setAttribute(t,"locale",this.locale),this.buttonClickListener=this.renderer.listen(t,"click",r=>this.buttonClick.emit(r)),this.renderer.appendChild(this.elRef.nativeElement,t),this.renderer.setStyle(t,"display","inline-block")}static#e=this.\u0275fac=function(r){return new(r||e)(P(Ci),P(Ln))};static#t=this.\u0275dir=ce({type:e,selectors:[["","motoApplePayButton",""]],inputs:{buttonStyle:"buttonStyle",locale:"locale",type:"type"},outputs:{buttonClick:"buttonClick"}})}return e})(),Q$=(()=>{class e{constructor(t,r,i){this.renderer=t,this.elRef=r,this.context=i,this.buttonClick=new ct}ngAfterViewInit(){this.createButton()}ngOnDestroy(){this.buttonClickListener&&(this.buttonClickListener(),this.buttonClickListener=void 0)}createButton(){if(!this.context.clients.googlePay)return;const t=this.context.clients.googlePay.createButton({buttonSizeMode:"fill",buttonRadius:4,onClick:r=>this.buttonClick.emit(r)});this.renderer.appendChild(this.elRef.nativeElement,t),this.renderer.setStyle(t,"display","inline-block")}static#e=this.\u0275fac=function(r){return new(r||e)(P(Ci),P(Ln),P(st))};static#t=this.\u0275dir=ce({type:e,selectors:[["","motoGooglePayButton",""]],outputs:{buttonClick:"buttonClick"}})}return e})(),J$=(()=>{class e{set _let(t){this.context.let=t}constructor(t,r){this.viewContainer=t,this.tpl=r,this.context={let:null}}ngOnInit(){this.viewContainer.createEmbeddedView(this.tpl,this.context)}static#e=this.\u0275fac=function(r){return new(r||e)(P(Gr),P(wi))};static#t=this.\u0275dir=ce({type:e,selectors:[["","let",""]],inputs:{_let:[0,"let","_let"]}})}return e})();const ez=(e,n)=>n.name,tz=(e,n)=>({applepay:e,googlepay:n}),nz=e=>({$implicit:e});function rz(e,n){if(1&e){const t=sn();G(0,"div",5)(1,"span",7),be("click",function(){return Ne(t),Oe(Z(2).apmsCollapseClick())}),fe(2),U()()}if(2&e){Z(2);const t=At(2);N(),ee("ngClass",t.apmsCollapse?"__ndb-apm-list__delimiter-text__apms-collapse":""),N(),Xt(t.apmsCollapse?t.language.apms.orUseAlternative:t.language.apms.or)}}function iz(e,n){if(1&e&&yu(0,8),2&e){const t=n.$implicit,r=Z(2).let;Z();const i=Lh(5);ee("ngTemplateOutlet",t.logo?i:r[t.name])("ngTemplateOutletContext",function IS(e,n,t,r){return AS(x(),wn(),e,n,t,r)}(2,nz,t))}}function oz(e,n){if(1&e&&(G(0,"div",6),Wr(1,iz,1,4,"ng-container",8,ez),U()),2&e){Z(2);const t=At(0);N(),qr(t)}}function sz(e,n){if(1&e&&(G(0,"div",4),De(1,rz,3,2,"div",5)(2,oz,3,0,"div",6),U()),2&e){let t;const r=Z(),i=At(2);N(),Le(r.cardPaymentAvailable()?1:-1),N(),Le(i.apmsCollapse&&r.apmsCollapsed&&(null===(t=r.apmsCollapsed())||void 0===t||t)?-1:2)}}function az(e,n){if(1&e){const t=sn();G(0,"button",9),be("focusin",function(){const i=Ne(t).$implicit;return Oe(Z().onFocus(i))})("click",function(){const i=Ne(t).$implicit;return Oe(Z().pay(i))}),He(1,"img",10),U()}if(2&e){const t=n.$implicit;Z();const r=At(1);ee("id","apm-"+(null==t?null:t.name)+"-button")("ngClass",r.elementDisableClass),N(),ee("src",t.logo,el)("alt",t.name)}}function uz(e,n){if(1&e){const t=sn();G(0,"div",11),be("buttonClick",function(){const i=Ne(t).$implicit;return Oe(Z().pay(i))})("focusin",function(){const i=Ne(t).$implicit;return Oe(Z().onFocus(i))}),U()}2&e&&(Z(),ee("ngClass",At(1).elementDisableClass))}function cz(e,n){if(1&e){const t=sn();G(0,"div",12),be("buttonClick",function(){const i=Ne(t).$implicit;return Oe(Z().pay(i))})("focusin",function(){const i=Ne(t).$implicit;return Oe(Z().onFocus(i))}),U()}2&e&&(Z(),ee("ngClass",At(1).elementDisableClass))}let G3=(()=>{class e{constructor(t,r,i,o,s,u,c){this.context=t,this.processingService=r,this.mapper=i,this.applePayService=o,this.googlePayService=s,this.sessionStorage=u,this.windowService=c,this.apms=Ie([])}ngOnInit(){this.settings=this.context.data.settings,this.paymentInfo=this.context.data.payment,this.settings().apmsCollapse&&(this.apmsCollapsed=this.sessionStorage.getOrSetItemSignal(Jn.keys.apmsCollapse,!0)),this.paymentAvailability=this.context.computed.paymentAvailability,this.apms=Ve(()=>{let t=this.context.data.loadedPaymentSystems().filter(i=>"card"!==i.name);return this.mapper.mapApms(t)}),this.cardPaymentAvailable=Ve(()=>this.context.componentsStates.cardForm().enabled||this.context.componentsStates.cardList().enabled)}pay(t){if(this.context.events.analytics.emit(new gt(`${t.name}-button-click`)),this.paymentAvailability().canPay.byApm)if("applepay"===t.name){const r=Qi(this.settings().urls.processing,`api/applepay/${this.paymentInfo().merchantId}/merchantValidation`);this.applePayService.pay(this.paymentInfo(),r).subscribe({next:i=>{t.token=i,this.makePaymentAndRedirect(t)},error:()=>this.apmTokenError()})}else"googlepay"===t.name?this.googlePayService.pay(this.paymentInfo()).subscribe({next:r=>{this.windowService.tryOpenBlankWindow(db(this.settings().language)),t.token=r,this.makePaymentAndRedirect(t)},error:()=>this.apmTokenError()}):(this.windowService.tryOpenBlankWindow(db(this.settings().language)),this.makePaymentAndRedirect(t));else this.context.updateCanShowErrorForApm(!0)}onFocus(t){this.context.events.analytics.emit(new gt(`${t.name}-button-focus`),!0)}apmsCollapseClick(){if(this.settings().apmsCollapse){const t=this.apmsCollapsed();this.sessionStorage.setItem(Jn.keys.apmsCollapse,!t),this.context.events.analytics.emit(new gt("apms-show-button-click",{show:t}))}}makePaymentAndRedirect(t){this.context.data.userProvidedInfo.update(i=>({...i,paymentSystemName:t.name,requisites:{type:"apm",value:t}}));const r=this.processingService.pay();this.context.data.state.set({type:"payLoading",payload:{observable:r}})}apmTokenError(){this.windowService.closeWindow(),this.context.data.state.set({type:"result",payload:{}})}static#e=this.\u0275fac=function(r){return new(r||e)(P(st),P(Fu),P(Hu),P(j_),P(B_),P(dm),P(lm))};static#t=this.\u0275cmp=ut({type:e,selectors:[["moto-apm-list"]],decls:10,vars:7,consts:[["apmDefaultRef",""],["applePayRef",""],["googlePayRef",""],["class","__ndb-apm-list",4,"let"],[1,"__ndb-apm-list"],[1,"__ndb-apm-list__delimiter"],[1,"__ndb-apm-list-apms"],["id","apms-collapse-button",1,"__ndb-apm-list__delimiter-text","fz-12",3,"click","ngClass"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"__ndb-apm-list-apms__item",3,"focusin","click","id","ngClass"],[1,"__ndb-apm-list-apms__item-img",3,"src","alt"],["id","apm-applepay-button","motoApplePayButton","",1,"__ndb-apm-list-apms__item","moto-apple-pay-button",3,"buttonClick","focusin","ngClass"],["id","apm-googlepay-button","motoGooglePayButton","",1,"__ndb-apm-list-apms__item","moto-google-pay-button",3,"buttonClick","focusin","ngClass"]],template:function(r,i){if(1&r&&(hr(0)(1)(2),De(3,sz,3,2,"div",3)(4,az,2,4,"ng-template",null,0,Bh)(6,uz,1,1,"ng-template",null,1,Bh)(8,cz,1,1,"ng-template",null,2,Bh)),2&r){const o=Lh(7),s=Lh(9);Hn(i.apms()),N(),Hn(i.paymentAvailability()),N(),Hn(i.settings()),N(),ee("let",function PS(e,n,t,r,i){return kS(x(),wn(),e,n,t,r,i)}(4,tz,o,s))}},dependencies:[zv,pM,X$,Q$,J$],styles:['[_ngcontent-%COMP%]:root{--ndb-button-bg: #2c8ee8;--ndb-button-disabled-bg: rgba(201, 204, 216, .3);--ndb-button-hover-bg: #1467b4;--ndb-button-color: #fff;--ndb-card-border-color: #c9ccd8}.__ndb-apm-list__delimiter[_ngcontent-%COMP%]{margin-bottom:28px;display:flex;flex-direction:row;justify-content:center;align-items:center}.__ndb-apm-list__delimiter[_ngcontent-%COMP%]:before, .__ndb-apm-list__delimiter[_ngcontent-%COMP%]:after{content:"";height:1px;flex:1;background-color:#c9ccd8}.__ndb-apm-list__delimiter[_ngcontent-%COMP%]:before{margin-right:10px}.__ndb-apm-list__delimiter[_ngcontent-%COMP%]:after{margin-left:10px}.__ndb-apm-list__delimiter-text[_ngcontent-%COMP%]{font-weight:500;color:#636b8a}.__ndb-apm-list__delimiter-text__apms-collapse[_ngcontent-%COMP%]{-webkit-text-decoration:underline #636b8a dotted;text-decoration:underline #636b8a dotted;cursor:pointer;-webkit-user-select:none;user-select:none}.__ndb-apm-list-apms[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:10px}.__ndb-apm-list-apms__item[_ngcontent-%COMP%]{position:relative;width:100%;height:60px;display:flex;flex-direction:row;justify-content:center;align-items:center;background-color:#e8eaf3;transition:box-shadow .25s ease-out;will-change:box-shadow;border-radius:4px}.__ndb-apm-list-apms__item[_ngcontent-%COMP%]:hover:not(.disabled-element):not(.hidden-enabled-element){box-shadow:0 2px 3px #2f45704d}.__ndb-apm-list-apms__item[_ngcontent-%COMP%]:not(.disabled-element):not(.hidden-enabled-element){cursor:pointer}.__ndb-apm-list-apms__item-img[_ngcontent-%COMP%]{position:absolute;width:60%;height:100%;left:20%;top:0;object-fit:contain}.moto-apple-pay-button[_ngcontent-%COMP%]{--apple-pay-button-height: 60px;--apple-pay-button-width: 100%;width:100%;height:60px;padding:0}.moto-google-pay-button[_ngcontent-%COMP%]{width:100%;height:60px;padding:0}'],changeDetection:0})}return e})();function lz(e,n){if(1&e){const t=sn();G(0,"label",3)(1,"input",4),ov("ngModelChange",function(i){Ne(t);const o=Z().$implicit;return function ES(e,n){const t=sD(e);return t&&e.set(n),t}(o.value,i)||(o.value=i),Oe(i)}),be("ngModelChange",function(){Ne(t);const i=Z(),o=i.$implicit,s=i.$index;return Oe(Z(2).onChange(o,s))})("focusin",function(){Ne(t);const i=Z(),o=i.$implicit,s=i.$index;return Oe(Z(2).onFocus(o,s))}),U(),He(2,"span",5)(3,"span",6),it(4,"linkify"),U()}if(2&e){const t=Z().$implicit;N(),ee("name","user-preference-"+t.name)("id","user-preference-"+t.name),iv("ngModel",t.value),N(2),ee("innerHTML",hn(4,4,t.text,"__ndb-settings-checkboxes-checkbox-link fz-12 fw-500 font-description"),_o)}}function dz(e,n){1&e&&De(0,lz,5,7,"label",3),2&e&&Le(n.$implicit.text?0:-1)}function fz(e,n){if(1&e&&(G(0,"div",1),Wr(1,dz,1,1,null,null,Wi),U()),2&e){const t=Z();N(),qr(t.userPreferenceCheckboxes)}}function hz(e,n){1&e&&(He(0,"p",2),it(1,"linkify")),2&e&&(Z(),ee("innerHTML",hn(1,1,At(0).userPreferences.text,"fz-12 fw-500 font-description"),_o))}let U3=(()=>{class e extends Hp{constructor(t,r){super(t),this.injector=t,this.context=r,this.userPreferenceCheckboxes=[]}ngOnInit(){this.settings=this.context.data.settings,this.update(this.settings().userPreferences)}reset(){this.update(this.settings().userPreferences)}onChange(t,r){this.context.data.userProvidedInfo.update(o=>({...o,userPreferences:this.userPreferenceCheckboxes}));this.context.events.analytics.emit(new gt(t.value?`user-preference-checkbox-${r}-check`:`user-preference-checkbox-${r}-uncheck`,{name:t.name,text:t.text}))}onFocus(t,r){this.context.events.analytics.emit(new gt(`user-preference-checkbox-${r}-focus`,{name:t.name,text:t.text}),!0)}update(t){t?.checkboxes?.length?(this.userPreferenceCheckboxes=t.checkboxes.map(r=>({name:r.name,text:r.text,value:!!r.defaultValue})),this.context.data.userProvidedInfo.update(r=>({...r,userPreferences:this.userPreferenceCheckboxes})),this.localDetect()):this.userPreferenceCheckboxes=[]}static#e=this.\u0275fac=function(r){return new(r||e)(P(Ke),P(st))};static#t=this.\u0275cmp=ut({type:e,selectors:[["moto-user-preferences"]],features:[Fe],decls:4,vars:3,consts:[[1,"__ndb-settings"],[1,"__ndb-settings-checkboxes"],[1,"__ndb-settings-text","fz-11","fw-500",3,"innerHTML"],[1,"__ndb-settings-checkboxes-checkbox","fz-11","fw-500","font-description"],["type","checkbox",1,"__ndb-settings-checkboxes-checkbox-input",3,"ngModelChange","focusin","name","id","ngModel"],[1,"__ndb-settings-checkboxes-checkbox-checkmark"],[1,"__ndb-settings-checkboxes-checkbox-text",3,"innerHTML"]],template:function(r,i){if(1&r&&(hr(0),G(1,"div",0),De(2,fz,3,0,"div",1)(3,hz,2,4,"p",2),U()),2&r){const o=Hn(i.settings());N(2),Le(i.userPreferenceCheckboxes.length?2:-1),N(),Le(null!=o&&null!=o.userPreferences&&o.userPreferences.text?3:-1)}},dependencies:[Gp,Lu,nm,cm],styles:[".__ndb-settings-checkboxes-checkbox-checkmark[_ngcontent-%COMP%]{border-radius:2px}"],changeDetection:0})}return e})();function pz(e,n){1&e&&(G(0,"span",4),fe(1,"\xb7"),U())}function mz(e,n){if(1&e&&(G(0,"a",3),fe(1),U(),De(2,pz,2,0,"span",4)),2&e){const t=n.$implicit,r=n.$index,i=n.$count;ee("href",t.href,el),N(),lt(" ",t.text," "),N(),Le(r!==i-1?2:-1)}}function gz(e,n){if(1&e&&(G(0,"div",1),Wr(1,mz,3,3,null,null,Wi),U()),2&e){Z(2);const t=At(0);N(),qr(t.links)}}function yz(e,n){1&e&&(He(0,"p",2),it(1,"linkify")),2&e&&(Z(2),ee("innerHTML",hn(1,1,At(0).text,"__ndb-merchant-info-checkbox-link fz-12 fw-500 font-description"),_o))}function vz(e,n){if(1&e&&(G(0,"div",0),De(1,gz,3,0,"div",1)(2,yz,2,4,"p",2),U()),2&e){Z();const t=At(0);N(),Le(null!=t.links&&t.links.length?1:-1),N(),Le(t.text?2:-1)}}let $3=(()=>{class e{constructor(t){this.context=t}ngOnInit(){this.settings=this.context.data.settings}static#e=this.\u0275fac=function(r){return new(r||e)(P(st))};static#t=this.\u0275cmp=ut({type:e,selectors:[["moto-merchant-info"]],decls:2,vars:2,consts:[[1,".__ndb-merchant-info"],[1,"__ndb-merchant-info-links"],[1,"__ndb-merchant-info-description","fz-11","fw-500","font-description",3,"innerHTML"],["target","_blank",1,"__ndb-merchant-info-links-link","fz-12","fw-500","font-description",3,"href"],[1,"__ndb-merchant-info-links-separator","fz-12","fw-500","font-description"]],template:function(r,i){if(1&r&&(hr(0),De(1,vz,3,2,"div",0)),2&r){const o=Hn(i.settings().merchantInfo);N(),Le(null!=o.links&&o.links.length||o.text?1:-1)}},dependencies:[cm],styles:["[_ngcontent-%COMP%]:root{--ndb-button-bg: #2c8ee8;--ndb-button-disabled-bg: rgba(201, 204, 216, .3);--ndb-button-hover-bg: #1467b4;--ndb-button-color: #fff;--ndb-card-border-color: #c9ccd8}.__ndb-merchant-info[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:28px;padding:0 28px 28px}@media (max-width: 768px){.__ndb-merchant-info[_ngcontent-%COMP%]{padding-bottom:14px}}.__ndb-merchant-info-links[_ngcontent-%COMP%]{display:flex;justify-content:center;flex-wrap:wrap}.__ndb-merchant-info-links-link[_ngcontent-%COMP%]{white-space:nowrap;text-decoration-line:underline}.__ndb-merchant-info-links-separator[_ngcontent-%COMP%]{margin:0 10px;white-space:nowrap}.__ndb-merchant-info-description[_ngcontent-%COMP%]{text-align:left;line-height:1.1;color:#000}"],changeDetection:0})}return e})(),z3=(()=>{class e{transform(t){return`https://cdn.motopays.com/images/${t}`}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275pipe=Nt({name:"image",type:e,pure:!0})}return e})();function _z(e,n){1&e&&(He(0,"moto-picture",3),it(1,"image")),2&e&&ee("src",Nl(1,1,"visa-secure.svg"))}function bz(e,n){1&e&&(He(0,"moto-picture",3),it(1,"image")),2&e&&ee("src",Nl(1,1,"master-card-secure.svg"))}function wz(e,n){if(1&e&&(G(0,"div",0)(1,"p",1),fe(2),U(),G(3,"div",2),De(4,_z,2,3,"moto-picture",3)(5,bz,2,3,"moto-picture",3),U()()),2&e){const t=Z();N(2),lt(" ",t.settings().language.transactionProtectedBy," "),N(2),Le(t.isVisaAvailable()?4:-1),N(),Le(t.isMastercardAvailable()?5:-1)}}let W3=(()=>{class e{constructor(t){this.context=t}ngOnInit(){this.settings=this.context.data.settings,this.isMastercardAvailable=Ve(()=>!!this.settings().availableCardBrands?.some(t=>"mastercard"===t)),this.isVisaAvailable=Ve(()=>!!this.settings().availableCardBrands?.some(t=>"visa"===t))}static#e=this.\u0275fac=function(r){return new(r||e)(P(st))};static#t=this.\u0275cmp=ut({type:e,selectors:[["moto-protected-by"]],decls:1,vars:1,consts:[[1,"__ndb-secure"],[1,"__ndb-secure-phrase","fz-12","fw-500","font-description"],[1,"__ndb-secure-logos"],[1,"__ndb-secure-logos-logo",3,"src"]],template:function(r,i){1&r&&De(0,wz,6,3,"div",0),2&r&&Le(i.isMastercardAvailable()||i.isVisaAvailable()?0:-1)},dependencies:[Pu,z3],styles:["[_ngcontent-%COMP%]:root{--ndb-button-bg: #2c8ee8;--ndb-button-disabled-bg: rgba(201, 204, 216, .3);--ndb-button-hover-bg: #1467b4;--ndb-button-color: #fff;--ndb-card-border-color: #c9ccd8}.__ndb-secure[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;gap:10px}.__ndb-secure-phrase[_ngcontent-%COMP%]{color:#000}.__ndb-secure-logos[_ngcontent-%COMP%]{display:flex;justify-content:center;gap:2px}.__ndb-secure-logos-logo[_ngcontent-%COMP%]{height:40px;width:max-content}"],changeDetection:0})}return e})(),q3=(()=>{class e{constructor(t){this.context=t}ngOnInit(){this.settings=this.context.data.settings}static#e=this.\u0275fac=function(r){return new(r||e)(P(st))};static#t=this.\u0275cmp=ut({type:e,selectors:[["moto-no-payments"]],decls:2,vars:1,consts:[[1,"__ndb-no-methods"]],template:function(r,i){1&r&&(G(0,"h2",0),fe(1),U()),2&r&&(N(),lt(" ",i.settings().language.noAvailablePaymentMethods,"\n"))},styles:[".__ndb-no-methods[_ngcontent-%COMP%]{text-align:center}"],changeDetection:0})}return e})(),Hu=(()=>{class e{mapApms(t){return t.map(r=>({...r}))}mapPaymentRequest(t,r,i,o){let s=t.details;r.userPreferences?.length&&(s=r.userPreferences.reduce((d,f)=>(d[f.name]=f.value,d),s||{}));const u={amount:t.amount,amountType:this.mapAmountType(t.amountType),tax:t.tax,currency:t.currency,description:t.description?.substring(0,127),details:s?JSON.stringify(s):void 0,type:this.mapOrderType(t.orderType)},c={id:t.userId,email:t.email,phoneNumber:r.phoneNumber??t.phoneNumber,ipAddress:t.ipAddress,deviceInfo:o,billingAddress:t.billingAddress};return{id:t.paymentId,initiator:this.mapInitiatorType(t.initiator)??"Customer",returnUrl:t.returnUrl,webhookUrl:t.webhookUrl,order:u,payer:c,requisites:this.mapRequisites(r.requisites),signature:t.signature,rejectionPreferences:{showResolvingTips:i.isProblemTipsListVisible??!1}}}mapComponents(t,r){return t.map(i=>{switch(i){case"available-card-brands":return{component:jI,visible:r.availableCardBrands};case"no-methods":return{component:q3,visible:r.noMethods};case"card-list":return{component:U_,visible:r.cardList};case"requisites":return{component:L3,visible:r.cardForm};case"phone-number":return{component:V3,visible:r.additionalForm};case"charge-terms":return{component:j3,visible:r.chargeTerms};case"pay-button":return{component:H3,visible:r.payButton};case"apm-list":return{component:G3,visible:r.apmList};case"user-preferences":return{component:U3,visible:r.userPreferences};case"merchant-info":return{component:$3,visible:r.merchantInfo};case"protected-by":return{component:W3,visible:r.protectedBy}}})}mapInterfaceSettingsToDomain(t){let r=t.languageSettings.code;t.languageSettings.languages[r]||(r="en-US");const i=t.languageSettings.languages[r],o=t.chargeTerms?{text:t.chargeTerms.text?t.chargeTerms.text[r]:void 0,checkboxes:t.chargeTerms.checkboxes?.length?t.chargeTerms.checkboxes.map(c=>c[r]).filter(c=>!!c):void 0}:void 0,s=t.userPreferences?{text:t.userPreferences.text?t.userPreferences.text[r]:void 0,checkboxes:t.userPreferences.checkboxes?.length?t.userPreferences.checkboxes.map(c=>({name:c.name,defaultValue:c.defaultValue,text:c.text[r]})).filter(c=>!!c.text):void 0}:void 0,u=t.merchantInfo?{links:t.merchantInfo.links?.length?t.merchantInfo.links.map(c=>({href:c.href,text:c.text[r]})).filter(c=>!!c.text):void 0,text:t.merchantInfo.text?t.merchantInfo.text[r]:void 0}:void 0;return{availableCardBrands:t.availableCardBrands,closePaymentRedirect:t.closePaymentRedirect,isTaxVisible:t.isTaxVisible,components:t.components,events:t.events,isCloseButtonVisible:t.isCloseButtonVisible,isHeaderVisible:t.isHeaderVisible,isProblemTipsListVisible:t.isProblemTipsListVisible,isSignatureRequired:t.isSignatureRequired,language:i??LI,requiredFieldsBehavior:{buttonStateUntilFilled:t.requiredFieldsBehavior.buttonStateUntilFilled,markAsInvalidUntilCorrect:t.requiredFieldsBehavior.markAsInvalidUntilCorrect,showStars:t.requiredFieldsBehavior.showStars},resultComponentsStructure:t.resultComponentsStructure,urls:t.urls,chargeTerms:o,userPreferences:s,merchantInfo:u,apmsCollapse:!!t.apmsCollapse,paymentFlow:{tokenizeCard:t.paymentFlow?.tokenizeCard??!0,type:t.paymentFlow?.type??"default"}}}mapRequisites(t){switch(t.type){case"apm":const r=t.value;return{type:r.name,paymentToken:r.token};case"existing-card":return{anchor:t.value.rebill,type:"rebill"};case"card":const o=t.value;return{cardHolder:o.holder,cardNumber:o.number,expiration:o.expiration,cvv:o.cvv,type:"card"};default:throw new Error("Unknown requisites type")}}mapInitiatorType(t){if(t){if("customer"===t)return"Customer";if("merchant"===t)return"Merchant";throw new Error("Unknown payment initiator type")}}mapAmountType(t){if(t){if("gross"===t)return"Gross";if("gross-without-gst"===t)return"GrossWithoutGst";if("net"===t)return"Net";throw new Error("Unknown amount type")}}mapOrderType(t){if(t){if("free-trial"===t)return"FreeTrial";if("regular"===t)return"Regular";if("gems"===t)return"Gems";throw new Error("Unknown order type")}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=q({token:e,factory:e.\u0275fac})}return e})(),Z3=(()=>{class e{constructor(t){this.mapper=t}preparePaymentOrError(t){let r=FI(t);return this.validatePayment(r)||(r.userAuthToken&&!/^[^\s]+\s+/i.test(r.userAuthToken)&&(r.userAuthToken=`Bearer ${r.userAuthToken}`),r.currency&&(r.currency=r.currency.toUpperCase()),r.amount=+r.amount,r.tax&&(r.tax=+r.tax),r)}prepareSettingsOrError(t){let r=FI(t);const i=this.validateSettings(r);if(i)return i;const o=xH(OH,r);return this.mapper.mapInterfaceSettingsToDomain(o)}validateModelsCompatibility(t,r){return!t.signature&&r.isSignatureRequired?"not-exist-signature":t.userAuthToken||"default"===r.paymentFlow.type?void 0:"not-exist-auth-for-payment-flow"}validatePayment(t){return t?t.userId?t.paymentId?t.merchantId?null==t.amount||null==t.amount?"not-exist-amount":t.email?t.currency?void 0:"not-exist-currency":"not-exist-email":"not-exist-merchant-id":"not-exist-payment-id":"not-exist-customer-id":"not-exist-payment"}validateSettings(t){return t?t.urls&&t.urls.billingProfiles&&t.urls.processing?void 0:"invalid-urls":"not-exist-settings"}static#e=this.\u0275fac=function(r){return new(r||e)(l(Hu))};static#t=this.\u0275prov=q({token:e,factory:e.\u0275fac})}return e})();function Cz(e,n){if(1&e){const t=sn();G(0,"div",2)(1,"i",3),be("click",function(){return Ne(t),Oe(Z().close())}),fe(2,"close"),U()()}if(2&e){let t;Z();const r=At(0);on("data-tooltip",null!==(t=null==r||null==r.language?null:r.language.close)&&void 0!==t?t:"Close")}}let Y3=(()=>{class e{constructor(t){this.context=t}ngOnInit(){this.settings=this.context.data.settings}close(){this.context.events.close.emit()}static#e=this.\u0275fac=function(r){return new(r||e)(P(st))};static#t=this.\u0275cmp=ut({type:e,selectors:[["moto-header"]],decls:5,vars:3,consts:[[1,"__ndb-header"],[1,"__ndb-header-title","fz-24","fw-700"],[1,"__ndb-header-close"],[1,"material-icons","pointer",3,"click"]],template:function(r,i){if(1&r&&(hr(0),G(1,"header",0)(2,"h6",1),fe(3),U(),De(4,Cz,3,1,"div",2),U()),2&r){let o,s;const u=Hn(i.settings());N(3),lt(" ",null!==(o=null==u||null==u.language?null:u.language.header)&&void 0!==o?o:"Checkout"," "),N(),Le(null===(s=null==u?null:u.isCloseButtonVisible)||void 0===s||s?4:-1)}},styles:["[_ngcontent-%COMP%]:root{--ndb-button-bg: #2c8ee8;--ndb-button-disabled-bg: rgba(201, 204, 216, .3);--ndb-button-hover-bg: #1467b4;--ndb-button-color: #fff;--ndb-card-border-color: #c9ccd8}.__ndb-header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;padding:28px;border-bottom:1px solid #c9ccd8}@media (max-width: 768px){.__ndb-header[_ngcontent-%COMP%]{padding:20px}}.__ndb-header-close[_ngcontent-%COMP%]{display:flex;align-items:center}"],changeDetection:0})}return e})(),K3=(()=>{class e{constructor(){this.shadow=!0}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=ut({type:e,selectors:[["moto-loader"]],hostVars:1,hostBindings:function(r,i){2&r&&xh("@ANFade",i.fadeAnimation)},inputs:{shadow:"shadow"},decls:3,vars:5,consts:[[1,"__ndb-loader"],["alt","spinner",1,"__ndb-loader-picture",3,"src"]],template:function(r,i){1&r&&(G(0,"div",0),He(1,"moto-picture",1),it(2,"image"),U()),2&r&&(Ur("shadow",i.shadow),N(),ee("src",Nl(2,3,"spinner-small.gif")))},dependencies:[Pu,z3],styles:[".__ndb-loader[_ngcontent-%COMP%]{border-radius:4px}.__ndb-loader[_ngcontent-%COMP%]:not(.shadow){height:40px;width:40px}.__ndb-loader.shadow[_ngcontent-%COMP%]{position:absolute;top:0;left:0;height:100%;width:100%;background-color:#fff9;display:flex}.__ndb-loader.shadow[_ngcontent-%COMP%] .__ndb-loader-picture[_ngcontent-%COMP%]{margin:auto;height:40px;width:40px}"],data:{animation:[ZH({animationName:"ANFade",fromStyles:{opacity:"0"},toStyles:{opacity:"1"}})]},changeDetection:0})}return e})();function Ez(e,n){1&e&&yu(0)}function Dz(e,n){1&e&&De(0,Ez,1,0,"ng-container",0),2&e&&ee("ngComponentOutlet",Z().$implicit.component)}function Sz(e,n){1&e&&De(0,Dz,1,1,"ng-container"),2&e&&Le(n.$implicit.visible()?0:-1)}function Tz(e,n){1&e&&He(0,"moto-loader")}let Mz=(()=>{class e{constructor(t,r,i){this.context=t,this.mapper=r,this.refreshService=i,this.components=[]}ngOnInit(){this.isLoaderShown=this.context.computed.isLoading,this.refreshService.refreshPaymentSystems(),this.refreshService.refreshExistingCards(),this.components=this.mapper.mapComponents(this.context.data.settings().components,this.context.visibility)}static#e=this.\u0275fac=function(r){return new(r||e)(P(st),P(Hu),P(H_))};static#t=this.\u0275cmp=ut({type:e,selectors:[["moto-pay-form"]],decls:3,vars:1,consts:[[4,"ngComponentOutlet"]],template:function(r,i){1&r&&(Wr(0,Sz,1,1,null,null,b4),De(2,Tz,1,0,"moto-loader")),2&r&&(qr(i.components),N(2),Le(i.isLoaderShown()?2:-1))},dependencies:[K3,Wv],styles:["[_nghost-%COMP%]{display:flex;gap:28px;flex-direction:column}"],changeDetection:0})}return e})();const X3={message:"You cannot make a payment!",errors:{"not-exist-payment":'Input parameter "payment" is required in the payment model',"not-exist-customer-id":'The field "userId" is required in the payment model',"not-exist-payment-id":"The field paymentId is required in the payment model","not-exist-settings":'Input parameter "settings" is required in the payment model',"not-exist-signature":'The field "signature" is configured as required in the payment model',"not-exist-amount":'The field "amount" is required in the payment model',"not-exist-currency":'The field "currency" is required in the payment model',"not-exist-email":'The field "email" is required in the payment model',"not-exist-merchant-id":'The field "merchant id" is required in the payment model',"invalid-urls":'The field "urls" is required and processing/billingProfiles must to be set',"not-exist-auth-for-payment-flow":'The field "userAuthToken" is required for selected payment flow'}};let Iz=(()=>{class e{constructor(t){this.context=t}ngOnInit(){const t=this.context.data.state().payload;this.error=X3.errors[t.error],this.message=X3.message}static#e=this.\u0275fac=function(r){return new(r||e)(P(st))};static#t=this.\u0275cmp=ut({type:e,selectors:[["moto-invalid-pay-form"]],decls:7,vars:2,consts:[[1,"__ndb-error-content"],[1,"material-icons-round","__ndb-error-content-icon"],[1,"__ndb-error-content-header","fz-24","fw-700"],[1,"__ndb-error-content-description","fz-14","fw-500","font-center"]],template:function(r,i){1&r&&(G(0,"div",0)(1,"i",1),fe(2,"cancel"),U(),G(3,"h6",2),fe(4),U(),G(5,"p",3),fe(6),U()()),2&r&&(N(4),Xt(i.error),N(2),lt(" ",i.message," "))},styles:[".__ndb-error-content[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;gap:10px;padding:28px}@media (max-width: 768px){.__ndb-error-content[_ngcontent-%COMP%]{padding:14px 20px}}.__ndb-error-content-icon[_ngcontent-%COMP%]{font-size:95px;color:#000;margin-bottom:10px}.__ndb-error-content-header[_ngcontent-%COMP%], .__ndb-error-content-description[_ngcontent-%COMP%]{width:100%;text-align:center}"],changeDetection:0})}return e})(),Pz=(()=>{class e{constructor(t,r,i,o){this.context=t,this.processing=r,this.sessionStorage=i,this.windowService=o}ngOnInit(){this.settings=this.context.data.settings,this.context.data.state().payload.observable.subscribe({next:r=>this.afterPay(r),error:r=>this.showResult(void 0,r)})}afterPay(t){"needAction"===t.payment?.state?(this.handleConfirmation(t.action),this.waitingPaymentCompleted(t)):(this.showResult(t),this.windowService.closeWindow())}handleConfirmation(t){switch(t.name){case"3ds":this.windowService.threeDsRedirect(t.data);break;case"redirect":this.windowService.redirect(t.data);break;default:throw new Error("Unexpected action name")}}waitingPaymentCompleted(t){(function jG(e,n,t){return e.pipe(St(r=>{if(n(r))return r;throw new Error(pP)}),function VG(e=1/0){let n;n=e&&"object"==typeof e?e:{count:e};const{count:t=1/0,delay:r,resetOnSuccess:i=!1}=n;return t<=0?Ho:mn((o,s)=>{let c,u=0;const d=()=>{let f=!1;c=o.subscribe(Kt(s,m=>{i&&(u=0),s.next(m)},void 0,m=>{if(u++<t){const g=()=>{c?(c.unsubscribe(),c=null,d()):f=!0};if(null!=r){const y="number"==typeof r?fP(r):Qr(r(m,u)),_=Kt(s,()=>{_.unsubscribe(),g()},()=>{s.complete()});y.subscribe(_)}else g()}else s.error(m)})),f&&(c.unsubscribe(),c=null,d())};d()})}({delay:r=>r.message==pP?fP(t):F_(()=>r)}))})(this.processing.getPaymentInfo(t.payment.paymentId),i=>"needAction"!=i.payment.state,1500).subscribe({next:i=>this.showResult(i),error:i=>{this.showResult(void 0,i),this.context.events.error.emit(i)}})}showResult(t,r){const i=this.settings();i.closePaymentRedirect&&this.windowService.closeWindow(),i.apmsCollapse&&t&&"rejected"===t.payment.state&&"card"===t.payment.info.paymentType&&this.sessionStorage.setItem(Jn.keys.apmsCollapse,!1),this.context.data.state.set({type:"result",payload:{result:t,error:r}}),t&&this.context.events.paid.emit(t)}static#e=this.\u0275fac=function(r){return new(r||e)(P(st),P(Fu),P(dm),P(lm))};static#t=this.\u0275cmp=ut({type:e,selectors:[["moto-processing"]],decls:12,vars:1,consts:[[1,"waiting"],[1,"section"],[1,"waiting__title"],[1,"section__content","__ndb-spinner-container"],[1,"spinner"],[1,"lds-ring"],[1,"spinner__extra"]],template:function(r,i){1&r&&(G(0,"div",0)(1,"div",1)(2,"h2",2),fe(3),U(),G(4,"div",3)(5,"div",4)(6,"div",5),He(7,"div")(8,"div")(9,"div")(10,"div"),U(),He(11,"div",6),U()()()()),2&r&&(N(3),Xt(i.settings().language.paymentProcessing))},styles:[".waiting__title[_ngcontent-%COMP%]{position:relative;z-index:101;font-family:Poppins,Helvetica,Arial,sans-serif;color:#29304d;font-size:16px;margin:0;text-align:center;transform:translateY(108px)}.__ndb__moto-modal-backdrop[_ngcontent-%COMP%]{background-color:#e5e5e5!important}.__ndb__moto-modal[_ngcontent-%COMP%] .header[_ngcontent-%COMP%]{margin:0}.section__content[_ngcontent-%COMP%]{margin:0 auto}.spinner[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:center;align-items:center;height:330px}.spinner_small[_ngcontent-%COMP%]{height:70px}.spinner_extra[_ngcontent-%COMP%]{height:550px}.lds-ring[_ngcontent-%COMP%]{display:inline-block;position:relative;width:80px;height:80px}.lds-ring[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{box-sizing:border-box;display:block;position:absolute;width:64px;height:64px;margin:8px;border:8px solid #6936d3;border-radius:50%;animation:_ngcontent-%COMP%_lds-ring 1.2s cubic-bezier(.5,0,.5,1) infinite;border-color:#6936d3 transparent transparent transparent}.lds-ring[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:nth-child(1){animation-delay:-.45s}.lds-ring[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:nth-child(2){animation-delay:-.3s}.lds-ring[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:nth-child(3){animation-delay:-.15s}@keyframes _ngcontent-%COMP%_lds-ring{0%{transform:rotate(0)}to{transform:rotate(360deg)}}"],changeDetection:0})}return e})();function Az(e,n){1&e&&yu(0)}function kz(e,n){1&e&&De(0,Az,1,0,"ng-container",5),2&e&&ee("ngComponentOutlet",Z().$implicit.component)}function xz(e,n){1&e&&De(0,kz,1,1,"ng-container"),2&e&&Le(n.$implicit.visible()?0:-1)}function Nz(e,n){if(1&e&&(G(0,"p",3),fe(1),U()),2&e){const t=Z();N(),lt(" ",t.resultModel.description," ")}}function Oz(e,n){if(1&e&&(G(0,"li",6)(1,"p",7),fe(2),U()()),2&e){const t=n.$implicit;N(2),lt(" ",t," ")}}function Rz(e,n){if(1&e&&(G(0,"ul",4),Wr(1,Oz,3,1,"li",6,Wi),U()),2&e){const t=Z();N(),qr(null==t.paymentResult.payment.rejectionDetails?null:t.paymentResult.payment.rejectionDetails.problemSolvingTips)}}function Fz(e,n){1&e&&yu(0)}function Lz(e,n){1&e&&De(0,Fz,1,0,"ng-container",5),2&e&&ee("ngComponentOutlet",Z().$implicit.component)}function Vz(e,n){1&e&&De(0,Lz,1,1,"ng-container"),2&e&&Le(n.$implicit.visible()?0:-1)}let jz=(()=>{class e{constructor(t,r){this.context=t,this.mapper=r,this.aboveComponents=[],this.belowComponents=[]}ngOnInit(){const t=this.context.data.state().payload;this.paymentResult=t.result,this.error=t.error,this.settings=this.context.data.settings,this.resultModel=this.getResultModel(),this.initAdditionalComponents()}getResultModel(){const t=this.settings().language;if(!this.paymentResult||this.error)return{icon:"cancel",title:t.paymentResult.failure.main,description:t.paymentResult.failure.paymentFailed};switch(this.paymentResult.payment.state){case"completed":return{icon:"check_circle",description:void 0,title:t.paymentResult.success};case"rejected":return{icon:"cancel",title:t.paymentResult.failure.main,description:t.paymentResult.failure.paymentFailed};default:throw new Error("unknown result")}}initAdditionalComponents(){const t=this.settings().resultComponentsStructure;t.aboveResult.length&&(this.aboveComponents=this.mapper.mapComponents(t.aboveResult,this.context.visibility)),t.belowResult.length&&(this.belowComponents=this.mapper.mapComponents(t.belowResult,this.context.visibility))}static#e=this.\u0275fac=function(r){return new(r||e)(P(st),P(Hu))};static#t=this.\u0275cmp=ut({type:e,selectors:[["moto-result"]],decls:11,vars:4,consts:[[1,"__ndb-result"],[1,"material-icons-round","__ndb-result-icon"],[1,"__ndb-result-header","fz-24","fw-700"],[1,"__ndb-result-description","fz-14","fw-500","font-center"],[1,"__ndb-result-tips"],[4,"ngComponentOutlet"],[1,"__ndb-result-tips-tip"],[1,"__ndb-result-tips-tip-text","fz-11","fw-500","font-center"]],template:function(r,i){1&r&&(Wr(0,xz,1,1,null,null,Wi),G(2,"div",0)(3,"i",1),fe(4),U(),G(5,"h6",2),fe(6),U(),De(7,Nz,2,1,"p",3)(8,Rz,3,0,"ul",4),U(),Wr(9,Vz,1,1,null,null,Wi)),2&r&&(qr(i.aboveComponents),N(4),Xt(i.resultModel.icon),N(2),Xt(i.resultModel.title),N(),Le(i.resultModel.description?7:-1),N(),Le(i.paymentResult&&i.settings().isProblemTipsListVisible&&null!=i.paymentResult.payment.rejectionDetails&&null!=i.paymentResult.payment.rejectionDetails.problemSolvingTips&&i.paymentResult.payment.rejectionDetails.problemSolvingTips.length?8:-1),N(),qr(i.belowComponents))},dependencies:[Wv],styles:["[_nghost-%COMP%]{display:flex;gap:28px;flex-direction:column}.__ndb-result[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;gap:10px}@media (max-width: 768px){.__ndb-result[_ngcontent-%COMP%]{padding:14px 20px}}.__ndb-result-icon[_ngcontent-%COMP%]{font-size:95px;color:#000;margin-bottom:10px}.__ndb-result-header[_ngcontent-%COMP%], .__ndb-result-description[_ngcontent-%COMP%]{width:100%;text-align:center}.__ndb-result-tips[_ngcontent-%COMP%]{gap:5px;padding-inline-start:0px}.__ndb-result-tips-tip[_ngcontent-%COMP%]{list-style-type:disc}.__ndb-result-tips-tip-text[_ngcontent-%COMP%]{width:100%;text-align:left}"],changeDetection:0})}return e})();function Bz(e,n){1&e&&He(0,"moto-header")}function Hz(e,n){1&e&&He(0,"moto-pay-form")}function Gz(e,n){1&e&&He(0,"moto-invalid-pay-form")}function Uz(e,n){1&e&&He(0,"moto-processing")}function $z(e,n){1&e&&He(0,"moto-result")}function zz(e,n){}let Wz=(()=>{class e{constructor(t,r,i){this.context=t,this.dataHandler=r,this.sessionStorage=i,this.state=this.context.data.state,this.closeEvent=t.events.close.emitter,this.paidEvent=t.events.paid.emitter,this.analyticsEvent=t.events.analytics.emitter,this.error=t.events.error.emitter,Ov(()=>{this.context.computed.isLoading()?this.context.events.analytics.emit(new gt("init-start")):this.context.events.analytics.emit(new gt("loading-finish"))})}ngOnInit(){this.closeEvent=this.context.events.close.emitter,this.analyticsEvent=this.context.events.analytics.emitter,this.paidEvent=this.context.events.paid.emitter,this.error=this.context.events.error.emitter,AH().subscribe(t=>{this.context.data.deviceInfo.set(t)}),this.settingsSignal=Ve(()=>this.context.data.settings())}ngOnChanges(t){if(t.payment){const r=this.dataHandler.preparePaymentOrError(t.payment.currentValue);if("string"==typeof r)return void this.state.set({type:"invalid",payload:{error:r}});this.context.data.payment.set(r)}if(t.settings){const r=this.dataHandler.prepareSettingsOrError(t.settings.currentValue);if("string"==typeof r)return void this.state.set({type:"invalid",payload:{error:r}});this.context.data.settings.set(r)}this.validate(!!t.settings||!!t.payment)}ngOnDestroy(){this.context.data.settings()?.apmsCollapse&&this.sessionStorage.removeItem(Jn.keys.apmsCollapse)}validate(t){const r=this.context.data.settings(),i=this.context.data.payment(),o=this.dataHandler.validateModelsCompatibility(i,r);o?this.state.set({type:"invalid",payload:{error:o}}):(this.applySettings(),this.context.callbacks.createInvoice=this.createInvoice?s=>this.createInvoice(s):void 0,this.context.callbacks.makePayment=this.makePayment?s=>this.makePayment(s):void 0,this.context.data.settings()?.requiredFieldsBehavior?.markAsInvalidUntilCorrect?this.context.updateCanShowError(!0):this.context.updateCanShowError(!1),t&&this.context.data.userProvidedInfo.set({}),this.state.set({type:"correct",payload:{}}))}applySettings(){const t=this.context.data.settings(),r=t.components,i=this.context.componentsStates;(!t.availableCardBrands.length||!r.some(o=>"available-card-brands"===o))&&i.availableCardBrands.update(o=>({...o,enabled:!1,isRequired:!1})),(!t.chargeTerms?.checkboxes?.length&&!t.chargeTerms?.text||!r.some(o=>"charge-terms"===o))&&i.chargeTerms.update(o=>({...o,enabled:!1,isRequired:!1})),(!t.userPreferences?.checkboxes?.length&&!t.userPreferences?.text||!r.some(o=>"user-preferences"===o))&&i.userPreferences.update(o=>({...o,enabled:!1,isRequired:!1})),r.some(o=>"phone-number"===o)||i.additionalForm.update(o=>({...o,enabled:!1,isRequired:!1})),(!t.merchantInfo?.text&&!t.merchantInfo?.links?.length||!r.some(o=>"merchant-info"===o))&&i.merchantInfo.update(o=>({...o,enabled:!1,isRequired:!1})),r.some(o=>"apm-list"===o)||i.apmList.update(o=>({...o,enabled:!1,isRequired:!1})),r.some(o=>"requisites"===o)||i.cardForm.update(o=>({...o,enabled:!1,isRequired:!1})),r.some(o=>"card-list"===o)||i.cardList.update(o=>({...o,enabled:!1,isRequired:!1})),r.some(o=>"pay-button"===o)||i.payButton.update(o=>({...o,enabled:!1,isRequired:!1})),(!t.availableCardBrands.length||!r.some(o=>"protected-by"===o))&&i.protectedBy.update(o=>({...o,enabled:!1,isRequired:!1})),this.context.events.analytics.emitEnabled=t.events.analytics.required,this.context.events.analytics.optionalEmitEnabled=t.events.analytics.optional,this.context.events.error.emitEnabled=t.events.error,t.apmsCollapse&&this.sessionStorage.getOrSetItemSignal(Jn.keys.apmsCollapse,!0)}static#e=this.\u0275fac=function(r){return new(r||e)(P(st),P(Z3),P(dm))};static#t=this.\u0275cmp=ut({type:e,selectors:[["moto-payment-form"]],inputs:{payment:"payment",settings:"settings",createInvoice:"createInvoice",makePayment:"makePayment"},outputs:{closeEvent:"close",paidEvent:"paid",analyticsEvent:"analyticsTracked",error:"error"},features:[jr],decls:9,vars:2,consts:[[1,"__ndb-wrapper"],[1,"__ndb-wrapper-content"],[1,"__ndb-wrapper-content-main"]],template:function(r,i){if(1&r&&(G(0,"div",0)(1,"div",1),De(2,Bz,1,0,"moto-header"),G(3,"div",2),De(4,Hz,1,0,"moto-pay-form")(5,Gz,1,0,"moto-invalid-pay-form")(6,Uz,1,0,"moto-processing")(7,$z,1,0,"moto-result")(8,zz,0,0),U()()()),2&r){let o,s;N(2),Le(null===(o=null==(o=i.settingsSignal())?null:o.isHeaderVisible)||void 0===o||o?2:-1),N(2),Le("correct"===(s=i.state().type)?4:"invalid"===s?5:"payLoading"===s?6:"result"===s?7:"empty"===s?8:-1)}},dependencies:[Y3,Mz,Iz,Pz,jz],styles:["[_ngcontent-%COMP%]:root{--ndb-button-bg: #2c8ee8;--ndb-button-disabled-bg: rgba(201, 204, 216, .3);--ndb-button-hover-bg: #1467b4;--ndb-button-color: #fff;--ndb-card-border-color: #c9ccd8}.__ndb-wrapper[_ngcontent-%COMP%]{max-width:560px;width:100%;margin:0 auto;transition:max-width .3s cubic-bezier(.25,.1,.25,1)}@media (max-width: 768px){.__ndb-wrapper[_ngcontent-%COMP%]{max-width:318px}}.__ndb-wrapper-content[_ngcontent-%COMP%]{margin:0 auto;position:relative;border:1px solid #c9ccd8;box-shadow:inset 0 -1px #29304d1a;border-radius:4px}.__ndb-wrapper-content-main[_ngcontent-%COMP%]{padding:28px;gap:40px;flex-direction:column;display:flex}"],changeDetection:0})}return e})(),Q3=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Ut({type:e});static#n=this.\u0275inj=Ct({})}return e})();function J3(e){return new k(3e3,!1)}function Oo(e){switch(e.length){case 0:return new Ql;case 1:return e[0];default:return new BI(e)}}function eA(e,n,t=new Map,r=new Map){const i=[],o=[];let s=-1,u=null;if(n.forEach(c=>{const d=c.get("offset"),f=d==s,m=f&&u||new Map;c.forEach((g,y)=>{let _=y,C=g;if("offset"!==y)switch(_=e.normalizePropertyName(_,i),C){case"!":C=t.get(y);break;case Ki:C=r.get(y);break;default:C=e.normalizeStyleValue(y,_,C,i)}m.set(_,C)}),f||o.push(m),u=m,s=d}),i.length)throw function mW(){return new k(3502,!1)}();return o}function fb(e,n,t,r){switch(n){case"start":e.onStart(()=>r(t&&hb(t,"start",e)));break;case"done":e.onDone(()=>r(t&&hb(t,"done",e)));break;case"destroy":e.onDestroy(()=>r(t&&hb(t,"destroy",e)))}}function hb(e,n,t){const o=pb(e.element,e.triggerName,e.fromState,e.toState,n||e.phaseName,t.totalTime??e.totalTime,!!t.disabled),s=e._data;return null!=s&&(o._data=s),o}function pb(e,n,t,r,i="",o=0,s){return{element:e,triggerName:n,fromState:t,toState:r,phaseName:i,totalTime:o,disabled:!!s}}function rr(e,n,t){let r=e.get(n);return r||e.set(n,r=t),r}function tA(e){const n=e.indexOf(":");return[e.substring(1,n),e.slice(n+1)]}const MW=typeof document>"u"?null:document.documentElement;function mb(e){const n=e.parentNode||e.host||null;return n===MW?null:n}let js=null,nA=!1;function rA(e,n){for(;n;){if(n===e)return!0;n=mb(n)}return!1}function iA(e,n,t){if(t)return Array.from(e.querySelectorAll(n));const r=e.querySelector(n);return r?[r]:[]}let gb=(()=>{class e{validateStyleProperty(t){return function PW(e){js||(js=function AW(){return typeof document<"u"?document.body:null}()||{},nA=!!js.style&&"WebkitAppearance"in js.style);let n=!0;return js.style&&!function IW(e){return"ebkit"==e.substring(1,6)}(e)&&(n=e in js.style,!n&&nA&&(n="Webkit"+e.charAt(0).toUpperCase()+e.slice(1)in js.style)),n}(t)}containsElement(t,r){return rA(t,r)}getParentElement(t){return mb(t)}query(t,r,i){return iA(t,r,i)}computeStyle(t,r,i){return i||""}animate(t,r,i,o,s,u=[],c){return new Ql(i,o)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=q({token:e,factory:e.\u0275fac})}return e})();class yb{static#e=this.NOOP=new gb}class vb{}const xW=1e3,_b="ng-enter",fm="ng-leave",hm="ng-trigger",pm=".ng-trigger",sA="ng-animating",bb=".ng-animating";function eo(e){if("number"==typeof e)return e;const n=e.match(/^(-?[\.\d]+)(m?s)/);return!n||n.length<2?0:wb(parseFloat(n[1]),n[2])}function wb(e,n){return"s"===n?e*xW:e}function mm(e,n,t){return e.hasOwnProperty("duration")?e:function OW(e,n,t){let i,o=0,s="";if("string"==typeof e){const u=e.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===u)return n.push(J3()),{duration:0,delay:0,easing:""};i=wb(parseFloat(u[1]),u[2]);const c=u[3];null!=c&&(o=wb(parseFloat(c),u[4]));const d=u[5];d&&(s=d)}else i=e;if(!t){let u=!1,c=n.length;i<0&&(n.push(function qz(){return new k(3100,!1)}()),u=!0),o<0&&(n.push(function Zz(){return new k(3101,!1)}()),u=!0),u&&n.splice(c,0,J3())}return{duration:i,delay:o,easing:s}}(e,n,t)}function Mi(e,n,t){n.forEach((r,i)=>{const o=Eb(i);t&&!t.has(i)&&t.set(i,e.style[o]),e.style[o]=r})}function Bs(e,n){n.forEach((t,r)=>{const i=Eb(r);e.style[i]=""})}function fd(e){return Array.isArray(e)?1==e.length?e[0]:function BH(e,n=null){return{type:he.Sequence,steps:e,options:n}}(e):e}const Cb=new RegExp("{{\\s*(.+?)\\s*}}","g");function uA(e){let n=[];if("string"==typeof e){let t;for(;t=Cb.exec(e);)n.push(t[1]);Cb.lastIndex=0}return n}function hd(e,n,t){const r=`${e}`,i=r.replace(Cb,(o,s)=>{let u=n[s];return null==u&&(t.push(function Kz(){return new k(3003,!1)}()),u=""),u.toString()});return i==r?e:i}const LW=/-+([a-z0-9])/g;function Eb(e){return e.replace(LW,(...n)=>n[1].toUpperCase())}function ir(e,n,t){switch(n.type){case he.Trigger:return e.visitTrigger(n,t);case he.State:return e.visitState(n,t);case he.Transition:return e.visitTransition(n,t);case he.Sequence:return e.visitSequence(n,t);case he.Group:return e.visitGroup(n,t);case he.Animate:return e.visitAnimate(n,t);case he.Keyframes:return e.visitKeyframes(n,t);case he.Style:return e.visitStyle(n,t);case he.Reference:return e.visitReference(n,t);case he.AnimateChild:return e.visitAnimateChild(n,t);case he.AnimateRef:return e.visitAnimateRef(n,t);case he.Query:return e.visitQuery(n,t);case he.Stagger:return e.visitStagger(n,t);default:throw function Xz(){return new k(3004,!1)}()}}function Db(e,n){return window.getComputedStyle(e)[n]}const BW=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class cA extends vb{normalizePropertyName(n,t){return Eb(n)}normalizeStyleValue(n,t,r,i){let o="";const s=r.toString().trim();if(BW.has(t)&&0!==r&&"0"!==r)if("number"==typeof r)o="px";else{const u=r.match(/^[+-]?[\d\.]+([a-z]*)$/);u&&0==u[1].length&&i.push(function Qz(){return new k(3005,!1)}())}return s+o}}const gm="*";const ym=new Set(["true","1"]),vm=new Set(["false","0"]);function lA(e,n){const t=ym.has(e)||vm.has(e),r=ym.has(n)||vm.has(n);return(i,o)=>{let s=e==gm||e==i,u=n==gm||n==o;return!s&&t&&"boolean"==typeof i&&(s=i?ym.has(e):vm.has(e)),!u&&r&&"boolean"==typeof o&&(u=o?ym.has(n):vm.has(n)),s&&u}}const $W=new RegExp("s*:selfs*,?","g");function Sb(e,n,t,r){return new zW(e).build(n,t,r)}class zW{constructor(n){this._driver=n}build(n,t,r){const i=new ZW(t);return this._resetContextStyleTimingState(i),ir(this,fd(n),i)}_resetContextStyleTimingState(n){n.currentQuerySelector="",n.collectedStyles=new Map,n.collectedStyles.set("",new Map),n.currentTime=0}visitTrigger(n,t){let r=t.queryCount=0,i=t.depCount=0;const o=[],s=[];return"@"==n.name.charAt(0)&&t.errors.push(function Jz(){return new k(3006,!1)}()),n.definitions.forEach(u=>{if(this._resetContextStyleTimingState(t),u.type==he.State){const c=u,d=c.name;d.toString().split(/\s*,\s*/).forEach(f=>{c.name=f,o.push(this.visitState(c,t))}),c.name=d}else if(u.type==he.Transition){const c=this.visitTransition(u,t);r+=c.queryCount,i+=c.depCount,s.push(c)}else t.errors.push(function eW(){return new k(3007,!1)}())}),{type:he.Trigger,name:n.name,states:o,transitions:s,queryCount:r,depCount:i,options:null}}visitState(n,t){const r=this.visitStyle(n.styles,t),i=n.options&&n.options.params||null;if(r.containsDynamicStyles){const o=new Set,s=i||{};r.styles.forEach(u=>{u instanceof Map&&u.forEach(c=>{uA(c).forEach(d=>{s.hasOwnProperty(d)||o.add(d)})})}),o.size&&t.errors.push(function tW(){return new k(3008,!1)}(0,o.values()))}return{type:he.State,name:n.name,style:r,options:i?{params:i}:null}}visitTransition(n,t){t.queryCount=0,t.depCount=0;const r=ir(this,fd(n.animation),t),i=function HW(e,n){const t=[];return"string"==typeof e?e.split(/\s*,\s*/).forEach(r=>function GW(e,n,t){if(":"==e[0]){const c=function UW(e,n){switch(e){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,r)=>parseFloat(r)>parseFloat(t);case":decrement":return(t,r)=>parseFloat(r)<parseFloat(t);default:return n.push(function dW(){return new k(3016,!1)}()),"* => *"}}(e,t);if("function"==typeof c)return void n.push(c);e=c}const r=e.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==r||r.length<4)return t.push(function lW(){return new k(3015,!1)}()),n;const i=r[1],o=r[2],s=r[3];n.push(lA(i,s)),"<"==o[0]&&(i!=gm||s!=gm)&&n.push(lA(s,i))}(r,t,n)):t.push(e),t}(n.expr,t.errors);return{type:he.Transition,matchers:i,animation:r,queryCount:t.queryCount,depCount:t.depCount,options:Hs(n.options)}}visitSequence(n,t){return{type:he.Sequence,steps:n.steps.map(r=>ir(this,r,t)),options:Hs(n.options)}}visitGroup(n,t){const r=t.currentTime;let i=0;const o=n.steps.map(s=>{t.currentTime=r;const u=ir(this,s,t);return i=Math.max(i,t.currentTime),u});return t.currentTime=i,{type:he.Group,steps:o,options:Hs(n.options)}}visitAnimate(n,t){const r=function KW(e,n){if(e.hasOwnProperty("duration"))return e;if("number"==typeof e)return Tb(mm(e,n).duration,0,"");const t=e;if(t.split(/\s+/).some(o=>"{"==o.charAt(0)&&"{"==o.charAt(1))){const o=Tb(0,0,"");return o.dynamic=!0,o.strValue=t,o}const i=mm(t,n);return Tb(i.duration,i.delay,i.easing)}(n.timings,t.errors);t.currentAnimateTimings=r;let i,o=n.styles?n.styles:Et({});if(o.type==he.Keyframes)i=this.visitKeyframes(o,t);else{let s=n.styles,u=!1;if(!s){u=!0;const d={};r.easing&&(d.easing=r.easing),s=Et(d)}t.currentTime+=r.duration+r.delay;const c=this.visitStyle(s,t);c.isEmptyStep=u,i=c}return t.currentAnimateTimings=null,{type:he.Animate,timings:r,style:i,options:null}}visitStyle(n,t){const r=this._makeStyleAst(n,t);return this._validateStyleAst(r,t),r}_makeStyleAst(n,t){const r=[],i=Array.isArray(n.styles)?n.styles:[n.styles];for(let u of i)"string"==typeof u?u===Ki?r.push(u):t.errors.push(new k(3002,!1)):r.push(new Map(Object.entries(u)));let o=!1,s=null;return r.forEach(u=>{if(u instanceof Map&&(u.has("easing")&&(s=u.get("easing"),u.delete("easing")),!o))for(let c of u.values())if(c.toString().indexOf("{{")>=0){o=!0;break}}),{type:he.Style,styles:r,easing:s,offset:n.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(n,t){const r=t.currentAnimateTimings;let i=t.currentTime,o=t.currentTime;r&&o>0&&(o-=r.duration+r.delay),n.styles.forEach(s=>{"string"!=typeof s&&s.forEach((u,c)=>{const d=t.collectedStyles.get(t.currentQuerySelector),f=d.get(c);let m=!0;f&&(o!=i&&o>=f.startTime&&i<=f.endTime&&(t.errors.push(function rW(){return new k(3010,!1)}()),m=!1),o=f.startTime),m&&d.set(c,{startTime:o,endTime:i}),t.options&&function FW(e,n,t){const r=n.params||{},i=uA(e);i.length&&i.forEach(o=>{r.hasOwnProperty(o)||t.push(function Yz(){return new k(3001,!1)}())})}(u,t.options,t.errors)})})}visitKeyframes(n,t){const r={type:he.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(function iW(){return new k(3011,!1)}()),r;let o=0;const s=[];let u=!1,c=!1,d=0;const f=n.steps.map(I=>{const T=this._makeStyleAst(I,t);let R=null!=T.offset?T.offset:function YW(e){if("string"==typeof e)return null;let n=null;if(Array.isArray(e))e.forEach(t=>{if(t instanceof Map&&t.has("offset")){const r=t;n=parseFloat(r.get("offset")),r.delete("offset")}});else if(e instanceof Map&&e.has("offset")){const t=e;n=parseFloat(t.get("offset")),t.delete("offset")}return n}(T.styles),L=0;return null!=R&&(o++,L=T.offset=R),c=c||L<0||L>1,u=u||L<d,d=L,s.push(L),T});c&&t.errors.push(function oW(){return new k(3012,!1)}()),u&&t.errors.push(function sW(){return new k(3200,!1)}());const m=n.steps.length;let g=0;o>0&&o<m?t.errors.push(function aW(){return new k(3202,!1)}()):0==o&&(g=1/(m-1));const y=m-1,_=t.currentTime,C=t.currentAnimateTimings,S=C.duration;return f.forEach((I,T)=>{const R=g>0?T==y?1:g*T:s[T],L=R*S;t.currentTime=_+C.delay+L,C.duration=L,this._validateStyleAst(I,t),I.offset=R,r.styles.push(I)}),r}visitReference(n,t){return{type:he.Reference,animation:ir(this,fd(n.animation),t),options:Hs(n.options)}}visitAnimateChild(n,t){return t.depCount++,{type:he.AnimateChild,options:Hs(n.options)}}visitAnimateRef(n,t){return{type:he.AnimateRef,animation:this.visitReference(n.animation,t),options:Hs(n.options)}}visitQuery(n,t){const r=t.currentQuerySelector,i=n.options||{};t.queryCount++,t.currentQuery=n;const[o,s]=function WW(e){const n=!!e.split(/\s*,\s*/).find(t=>":self"==t);return n&&(e=e.replace($W,"")),e=e.replace(/@\*/g,pm).replace(/@\w+/g,t=>pm+"-"+t.slice(1)).replace(/:animating/g,bb),[e,n]}(n.selector);t.currentQuerySelector=r.length?r+" "+o:o,rr(t.collectedStyles,t.currentQuerySelector,new Map);const u=ir(this,fd(n.animation),t);return t.currentQuery=null,t.currentQuerySelector=r,{type:he.Query,selector:o,limit:i.limit||0,optional:!!i.optional,includeSelf:s,animation:u,originalSelector:n.selector,options:Hs(n.options)}}visitStagger(n,t){t.currentQuery||t.errors.push(function uW(){return new k(3013,!1)}());const r="full"===n.timings?{duration:0,delay:0,easing:"full"}:mm(n.timings,t.errors,!0);return{type:he.Stagger,animation:ir(this,fd(n.animation),t),timings:r,options:null}}}class ZW{constructor(n){this.errors=n,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function Hs(e){return e?(e={...e}).params&&(e.params=function qW(e){return e?{...e}:null}(e.params)):e={},e}function Tb(e,n,t){return{duration:e,delay:n,easing:t}}function Mb(e,n,t,r,i,o,s=null,u=!1){return{type:1,element:e,keyframes:n,preStyleProps:t,postStyleProps:r,duration:i,delay:o,totalTime:i+o,easing:s,subTimeline:u}}class _m{constructor(){this._map=new Map}get(n){return this._map.get(n)||[]}append(n,t){let r=this._map.get(n);r||this._map.set(n,r=[]),r.push(...t)}has(n){return this._map.has(n)}clear(){this._map.clear()}}const JW=new RegExp(":enter","g"),tq=new RegExp(":leave","g");function Ib(e,n,t,r,i,o=new Map,s=new Map,u,c,d=[]){return(new nq).buildKeyframes(e,n,t,r,i,o,s,u,c,d)}class nq{buildKeyframes(n,t,r,i,o,s,u,c,d,f=[]){d=d||new _m;const m=new Pb(n,t,d,i,o,f,[]);m.options=c;const g=c.delay?eo(c.delay):0;m.currentTimeline.delayNextStep(g),m.currentTimeline.setStyles([s],null,m.errors,c),ir(this,r,m);const y=m.timelines.filter(_=>_.containsAnimation());if(y.length&&u.size){let _;for(let C=y.length-1;C>=0;C--){const S=y[C];if(S.element===t){_=S;break}}_&&!_.allowOnlyTimelineStyles()&&_.setStyles([u],null,m.errors,c)}return y.length?y.map(_=>_.buildKeyframes()):[Mb(t,[],[],[],0,g,"",!1)]}visitTrigger(n,t){}visitState(n,t){}visitTransition(n,t){}visitAnimateChild(n,t){const r=t.subInstructions.get(t.element);if(r){const i=t.createSubContext(n.options),o=t.currentTimeline.currentTime,s=this._visitSubInstructions(r,i,i.options);o!=s&&t.transformIntoNewTimeline(s)}t.previousNode=n}visitAnimateRef(n,t){const r=t.createSubContext(n.options);r.transformIntoNewTimeline(),this._applyAnimationRefDelays([n.options,n.animation.options],t,r),this.visitReference(n.animation,r),t.transformIntoNewTimeline(r.currentTimeline.currentTime),t.previousNode=n}_applyAnimationRefDelays(n,t,r){for(const i of n){const o=i?.delay;if(o){const s="number"==typeof o?o:eo(hd(o,i?.params??{},t.errors));r.delayNextStep(s)}}}_visitSubInstructions(n,t,r){let o=t.currentTimeline.currentTime;const s=null!=r.duration?eo(r.duration):null,u=null!=r.delay?eo(r.delay):null;return 0!==s&&n.forEach(c=>{const d=t.appendInstructionToTimeline(c,s,u);o=Math.max(o,d.duration+d.delay)}),o}visitReference(n,t){t.updateOptions(n.options,!0),ir(this,n.animation,t),t.previousNode=n}visitSequence(n,t){const r=t.subContextCount;let i=t;const o=n.options;if(o&&(o.params||o.delay)&&(i=t.createSubContext(o),i.transformIntoNewTimeline(),null!=o.delay)){i.previousNode.type==he.Style&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=bm);const s=eo(o.delay);i.delayNextStep(s)}n.steps.length&&(n.steps.forEach(s=>ir(this,s,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>r&&i.transformIntoNewTimeline()),t.previousNode=n}visitGroup(n,t){const r=[];let i=t.currentTimeline.currentTime;const o=n.options&&n.options.delay?eo(n.options.delay):0;n.steps.forEach(s=>{const u=t.createSubContext(n.options);o&&u.delayNextStep(o),ir(this,s,u),i=Math.max(i,u.currentTimeline.currentTime),r.push(u.currentTimeline)}),r.forEach(s=>t.currentTimeline.mergeTimelineCollectedStyles(s)),t.transformIntoNewTimeline(i),t.previousNode=n}_visitTiming(n,t){if(n.dynamic){const r=n.strValue;return mm(t.params?hd(r,t.params,t.errors):r,t.errors)}return{duration:n.duration,delay:n.delay,easing:n.easing}}visitAnimate(n,t){const r=t.currentAnimateTimings=this._visitTiming(n.timings,t),i=t.currentTimeline;r.delay&&(t.incrementTime(r.delay),i.snapshotCurrentStyles());const o=n.style;o.type==he.Keyframes?this.visitKeyframes(o,t):(t.incrementTime(r.duration),this.visitStyle(o,t),i.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=n}visitStyle(n,t){const r=t.currentTimeline,i=t.currentAnimateTimings;!i&&r.hasCurrentStyleProperties()&&r.forwardFrame();const o=i&&i.easing||n.easing;n.isEmptyStep?r.applyEmptyStep(o):r.setStyles(n.styles,o,t.errors,t.options),t.previousNode=n}visitKeyframes(n,t){const r=t.currentAnimateTimings,i=t.currentTimeline.duration,o=r.duration,u=t.createSubContext().currentTimeline;u.easing=r.easing,n.styles.forEach(c=>{u.forwardTime((c.offset||0)*o),u.setStyles(c.styles,c.easing,t.errors,t.options),u.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(u),t.transformIntoNewTimeline(i+o),t.previousNode=n}visitQuery(n,t){const r=t.currentTimeline.currentTime,i=n.options||{},o=i.delay?eo(i.delay):0;o&&(t.previousNode.type===he.Style||0==r&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=bm);let s=r;const u=t.invokeQuery(n.selector,n.originalSelector,n.limit,n.includeSelf,!!i.optional,t.errors);t.currentQueryTotal=u.length;let c=null;u.forEach((d,f)=>{t.currentQueryIndex=f;const m=t.createSubContext(n.options,d);o&&m.delayNextStep(o),d===t.element&&(c=m.currentTimeline),ir(this,n.animation,m),m.currentTimeline.applyStylesToKeyframe(),s=Math.max(s,m.currentTimeline.currentTime)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(s),c&&(t.currentTimeline.mergeTimelineCollectedStyles(c),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=n}visitStagger(n,t){const r=t.parentContext,i=t.currentTimeline,o=n.timings,s=Math.abs(o.duration),u=s*(t.currentQueryTotal-1);let c=s*t.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":c=u-c;break;case"full":c=r.currentStaggerTime}const f=t.currentTimeline;c&&f.delayNextStep(c);const m=f.currentTime;ir(this,n.animation,t),t.previousNode=n,r.currentStaggerTime=i.currentTime-m+(i.startTime-r.currentTimeline.startTime)}}const bm={};class Pb{constructor(n,t,r,i,o,s,u,c){this._driver=n,this.element=t,this.subInstructions=r,this._enterClassName=i,this._leaveClassName=o,this.errors=s,this.timelines=u,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=bm,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=c||new wm(this._driver,t,0),u.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(n,t){if(!n)return;const r=n;let i=this.options;null!=r.duration&&(i.duration=eo(r.duration)),null!=r.delay&&(i.delay=eo(r.delay));const o=r.params;if(o){let s=i.params;s||(s=this.options.params={}),Object.keys(o).forEach(u=>{(!t||!s.hasOwnProperty(u))&&(s[u]=hd(o[u],s,this.errors))})}}_copyOptions(){const n={};if(this.options){const t=this.options.params;if(t){const r=n.params={};Object.keys(t).forEach(i=>{r[i]=t[i]})}}return n}createSubContext(n=null,t,r){const i=t||this.element,o=new Pb(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,r||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(n),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(n){return this.previousNode=bm,this.currentTimeline=this.currentTimeline.fork(this.element,n),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(n,t,r){const i={duration:t??n.duration,delay:this.currentTimeline.currentTime+(r??0)+n.delay,easing:""},o=new rq(this._driver,n.element,n.keyframes,n.preStyleProps,n.postStyleProps,i,n.stretchStartingKeyframe);return this.timelines.push(o),i}incrementTime(n){this.currentTimeline.forwardTime(this.currentTimeline.duration+n)}delayNextStep(n){n>0&&this.currentTimeline.delayNextStep(n)}invokeQuery(n,t,r,i,o,s){let u=[];if(i&&u.push(this.element),n.length>0){n=(n=n.replace(JW,"."+this._enterClassName)).replace(tq,"."+this._leaveClassName);let d=this._driver.query(this.element,n,1!=r);0!==r&&(d=r<0?d.slice(d.length+r,d.length):d.slice(0,r)),u.push(...d)}return!o&&0==u.length&&s.push(function cW(){return new k(3014,!1)}()),u}}class wm{constructor(n,t,r,i){this._driver=n,this.element=t,this.startTime=r,this._elementTimelineStylesLookup=i,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(n){const t=1===this._keyframes.size&&this._pendingStyles.size;this.duration||t?(this.forwardTime(this.currentTime+n),t&&this.snapshotCurrentStyles()):this.startTime+=n}fork(n,t){return this.applyStylesToKeyframe(),new wm(this._driver,n,t||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(n){this.applyStylesToKeyframe(),this.duration=n,this._loadKeyframe()}_updateStyle(n,t){this._localTimelineStyles.set(n,t),this._globalTimelineStyles.set(n,t),this._styleSummary.set(n,{time:this.currentTime,value:t})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(n){n&&this._previousKeyframe.set("easing",n);for(let[t,r]of this._globalTimelineStyles)this._backFill.set(t,r||Ki),this._currentKeyframe.set(t,Ki);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(n,t,r,i){t&&this._previousKeyframe.set("easing",t);const o=i&&i.params||{},s=function iq(e,n){const t=new Map;let r;return e.forEach(i=>{if("*"===i){r??=n.keys();for(let o of r)t.set(o,Ki)}else for(let[o,s]of i)t.set(o,s)}),t}(n,this._globalTimelineStyles);for(let[u,c]of s){const d=hd(c,o,r);this._pendingStyles.set(u,d),this._localTimelineStyles.has(u)||this._backFill.set(u,this._globalTimelineStyles.get(u)??Ki),this._updateStyle(u,d)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((n,t)=>{this._currentKeyframe.set(t,n)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((n,t)=>{this._currentKeyframe.has(t)||this._currentKeyframe.set(t,n)}))}snapshotCurrentStyles(){for(let[n,t]of this._localTimelineStyles)this._pendingStyles.set(n,t),this._updateStyle(n,t)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const n=[];for(let t in this._currentKeyframe)n.push(t);return n}mergeTimelineCollectedStyles(n){n._styleSummary.forEach((t,r)=>{const i=this._styleSummary.get(r);(!i||t.time>i.time)&&this._updateStyle(r,t.value)})}buildKeyframes(){this.applyStylesToKeyframe();const n=new Set,t=new Set,r=1===this._keyframes.size&&0===this.duration;let i=[];this._keyframes.forEach((u,c)=>{const d=new Map([...this._backFill,...u]);d.forEach((f,m)=>{"!"===f?n.add(m):f===Ki&&t.add(m)}),r||d.set("offset",c/this.duration),i.push(d)});const o=[...n.values()],s=[...t.values()];if(r){const u=i[0],c=new Map(u);u.set("offset",0),c.set("offset",1),i=[u,c]}return Mb(this.element,i,o,s,this.duration,this.startTime,this.easing,!1)}}class rq extends wm{constructor(n,t,r,i,o,s,u=!1){super(n,t,s.delay),this.keyframes=r,this.preStyleProps=i,this.postStyleProps=o,this._stretchStartingKeyframe=u,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let n=this.keyframes,{delay:t,duration:r,easing:i}=this.timings;if(this._stretchStartingKeyframe&&t){const o=[],s=r+t,u=t/s,c=new Map(n[0]);c.set("offset",0),o.push(c);const d=new Map(n[0]);d.set("offset",hA(u)),o.push(d);const f=n.length-1;for(let m=1;m<=f;m++){let g=new Map(n[m]);const y=g.get("offset");g.set("offset",hA((t+y*r)/s)),o.push(g)}r=s,t=0,i="",n=o}return Mb(this.element,n,this.preStyleProps,this.postStyleProps,r,t,i,!0)}}function hA(e,n=3){const t=Math.pow(10,n-1);return Math.round(e*t)/t}function pA(e,n,t,r,i,o,s,u,c,d,f,m,g){return{type:0,element:e,triggerName:n,isRemovalTransition:i,fromState:t,fromStyles:o,toState:r,toStyles:s,timelines:u,queriedElements:c,preStyleProps:d,postStyleProps:f,totalTime:m,errors:g}}const Ab={};class mA{constructor(n,t,r){this._triggerName=n,this.ast=t,this._stateStyles=r}match(n,t,r,i){return function oq(e,n,t,r,i){return e.some(o=>o(n,t,r,i))}(this.ast.matchers,n,t,r,i)}buildStyles(n,t,r){let i=this._stateStyles.get("*");return void 0!==n&&(i=this._stateStyles.get(n?.toString())||i),i?i.buildStyles(t,r):new Map}build(n,t,r,i,o,s,u,c,d,f){const m=[],g=this.ast.options&&this.ast.options.params||Ab,_=this.buildStyles(r,u&&u.params||Ab,m),C=c&&c.params||Ab,S=this.buildStyles(i,C,m),I=new Set,T=new Map,R=new Map,L="void"===i,j={params:gA(C,g),delay:this.ast.options?.delay},X=f?[]:Ib(n,t,this.ast.animation,o,s,_,S,j,d,m);let re=0;return X.forEach(Q=>{re=Math.max(Q.duration+Q.delay,re)}),m.length?pA(t,this._triggerName,r,i,L,_,S,[],[],T,R,re,m):(X.forEach(Q=>{const vt=Q.element,Dt=rr(T,vt,new Set);Q.preStyleProps.forEach(Pn=>Dt.add(Pn));const kt=rr(R,vt,new Set);Q.postStyleProps.forEach(Pn=>kt.add(Pn)),vt!==t&&I.add(vt)}),pA(t,this._triggerName,r,i,L,_,S,X,[...I.values()],T,R,re))}}function gA(e,n){const t={...n};return Object.entries(e).forEach(([r,i])=>{null!=i&&(t[r]=i)}),t}class sq{constructor(n,t,r){this.styles=n,this.defaultParams=t,this.normalizer=r}buildStyles(n,t){const r=new Map,i=gA(n,this.defaultParams);return this.styles.styles.forEach(o=>{"string"!=typeof o&&o.forEach((s,u)=>{s&&(s=hd(s,i,t));const c=this.normalizer.normalizePropertyName(u,t);s=this.normalizer.normalizeStyleValue(u,c,s,t),r.set(u,s)})}),r}}class uq{constructor(n,t,r){this.name=n,this.ast=t,this._normalizer=r,this.transitionFactories=[],this.states=new Map,t.states.forEach(i=>{this.states.set(i.name,new sq(i.style,i.options&&i.options.params||{},r))}),yA(this.states,"true","1"),yA(this.states,"false","0"),t.transitions.forEach(i=>{this.transitionFactories.push(new mA(n,i,this.states))}),this.fallbackTransition=function cq(e,n){return new mA(e,{type:he.Transition,animation:{type:he.Sequence,steps:[],options:null},matchers:[(s,u)=>!0],options:null,queryCount:0,depCount:0},n)}(n,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(n,t,r,i){return this.transitionFactories.find(s=>s.match(n,t,r,i))||null}matchStyles(n,t,r){return this.fallbackTransition.buildStyles(n,t,r)}}function yA(e,n,t){e.has(n)?e.has(t)||e.set(t,e.get(n)):e.has(t)&&e.set(n,e.get(t))}const lq=new _m;class dq{constructor(n,t,r){this.bodyNode=n,this._driver=t,this._normalizer=r,this._animations=new Map,this._playersById=new Map,this.players=[]}register(n,t){const r=[],o=Sb(this._driver,t,r,[]);if(r.length)throw function gW(){return new k(3503,!1)}();this._animations.set(n,o)}_buildPlayer(n,t,r){const i=n.element,o=eA(this._normalizer,n.keyframes,t,r);return this._driver.animate(i,o,n.duration,n.delay,n.easing,[],!0)}create(n,t,r={}){const i=[],o=this._animations.get(n);let s;const u=new Map;if(o?(s=Ib(this._driver,t,o,_b,fm,new Map,new Map,r,lq,i),s.forEach(f=>{const m=rr(u,f.element,new Map);f.postStyleProps.forEach(g=>m.set(g,null))})):(i.push(function yW(){return new k(3300,!1)}()),s=[]),i.length)throw function vW(){return new k(3504,!1)}();u.forEach((f,m)=>{f.forEach((g,y)=>{f.set(y,this._driver.computeStyle(m,y,Ki))})});const d=Oo(s.map(f=>{const m=u.get(f.element);return this._buildPlayer(f,new Map,m)}));return this._playersById.set(n,d),d.onDestroy(()=>this.destroy(n)),this.players.push(d),d}destroy(n){const t=this._getPlayer(n);t.destroy(),this._playersById.delete(n);const r=this.players.indexOf(t);r>=0&&this.players.splice(r,1)}_getPlayer(n){const t=this._playersById.get(n);if(!t)throw function _W(){return new k(3301,!1)}();return t}listen(n,t,r,i){const o=pb(t,"","","");return fb(this._getPlayer(n),r,o,i),()=>{}}command(n,t,r,i){if("register"==r)return void this.register(n,i[0]);if("create"==r)return void this.create(n,t,i[0]||{});const o=this._getPlayer(n);switch(r){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(n)}}}const vA="ng-animate-queued",kb="ng-animate-disabled",gq=[],_A={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},yq={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},ri="__ng_removed";class xb{get params(){return this.options.params}constructor(n,t=""){this.namespaceId=t;const r=n&&n.hasOwnProperty("value");if(this.value=function wq(e){return e??null}(r?n.value:n),r){const{value:o,...s}=n;this.options=s}else this.options={};this.options.params||(this.options.params={})}absorbOptions(n){const t=n.params;if(t){const r=this.options.params;Object.keys(t).forEach(i=>{null==r[i]&&(r[i]=t[i])})}}}const pd="void",Nb=new xb(pd);class vq{constructor(n,t,r){this.id=n,this.hostElement=t,this._engine=r,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+n,br(t,this._hostClassName)}listen(n,t,r,i){if(!this._triggers.has(t))throw function bW(){return new k(3302,!1)}();if(null==r||0==r.length)throw function wW(){return new k(3303,!1)}();if(!function Cq(e){return"start"==e||"done"==e}(r))throw function CW(){return new k(3400,!1)}();const o=rr(this._elementListeners,n,[]),s={name:t,phase:r,callback:i};o.push(s);const u=rr(this._engine.statesByElement,n,new Map);return u.has(t)||(br(n,hm),br(n,hm+"-"+t),u.set(t,Nb)),()=>{this._engine.afterFlush(()=>{const c=o.indexOf(s);c>=0&&o.splice(c,1),this._triggers.has(t)||u.delete(t)})}}register(n,t){return!this._triggers.has(n)&&(this._triggers.set(n,t),!0)}_getTrigger(n){const t=this._triggers.get(n);if(!t)throw function EW(){return new k(3401,!1)}();return t}trigger(n,t,r,i=!0){const o=this._getTrigger(t),s=new Ob(this.id,t,n);let u=this._engine.statesByElement.get(n);u||(br(n,hm),br(n,hm+"-"+t),this._engine.statesByElement.set(n,u=new Map));let c=u.get(t);const d=new xb(r,this.id);if(!(r&&r.hasOwnProperty("value"))&&c&&d.absorbOptions(c.options),u.set(t,d),c||(c=Nb),d.value!==pd&&c.value===d.value){if(!function Sq(e,n){const t=Object.keys(e),r=Object.keys(n);if(t.length!=r.length)return!1;for(let i=0;i<t.length;i++){const o=t[i];if(!n.hasOwnProperty(o)||e[o]!==n[o])return!1}return!0}(c.params,d.params)){const C=[],S=o.matchStyles(c.value,c.params,C),I=o.matchStyles(d.value,d.params,C);C.length?this._engine.reportError(C):this._engine.afterFlush(()=>{Bs(n,S),Mi(n,I)})}return}const g=rr(this._engine.playersByElement,n,[]);g.forEach(C=>{C.namespaceId==this.id&&C.triggerName==t&&C.queued&&C.destroy()});let y=o.matchTransition(c.value,d.value,n,d.params),_=!1;if(!y){if(!i)return;y=o.fallbackTransition,_=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:t,transition:y,fromState:c,toState:d,player:s,isFallbackTransition:_}),_||(br(n,vA),s.onStart(()=>{Gu(n,vA)})),s.onDone(()=>{let C=this.players.indexOf(s);C>=0&&this.players.splice(C,1);const S=this._engine.playersByElement.get(n);if(S){let I=S.indexOf(s);I>=0&&S.splice(I,1)}}),this.players.push(s),g.push(s),s}deregister(n){this._triggers.delete(n),this._engine.statesByElement.forEach(t=>t.delete(n)),this._elementListeners.forEach((t,r)=>{this._elementListeners.set(r,t.filter(i=>i.name!=n))})}clearElementCache(n){this._engine.statesByElement.delete(n),this._elementListeners.delete(n);const t=this._engine.playersByElement.get(n);t&&(t.forEach(r=>r.destroy()),this._engine.playersByElement.delete(n))}_signalRemovalForInnerTriggers(n,t){const r=this._engine.driver.query(n,pm,!0);r.forEach(i=>{if(i[ri])return;const o=this._engine.fetchNamespacesByElement(i);o.size?o.forEach(s=>s.triggerLeaveAnimation(i,t,!1,!0)):this.clearElementCache(i)}),this._engine.afterFlushAnimationsDone(()=>r.forEach(i=>this.clearElementCache(i)))}triggerLeaveAnimation(n,t,r,i){const o=this._engine.statesByElement.get(n),s=new Map;if(o){const u=[];if(o.forEach((c,d)=>{if(s.set(d,c.value),this._triggers.has(d)){const f=this.trigger(n,d,pd,i);f&&u.push(f)}}),u.length)return this._engine.markElementAsRemoved(this.id,n,!0,t,s),r&&Oo(u).onDone(()=>this._engine.processLeaveNode(n)),!0}return!1}prepareLeaveAnimationListeners(n){const t=this._elementListeners.get(n),r=this._engine.statesByElement.get(n);if(t&&r){const i=new Set;t.forEach(o=>{const s=o.name;if(i.has(s))return;i.add(s);const c=this._triggers.get(s).fallbackTransition,d=r.get(s)||Nb,f=new xb(pd),m=new Ob(this.id,s,n);this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:s,transition:c,fromState:d,toState:f,player:m,isFallbackTransition:!0})})}}removeNode(n,t){const r=this._engine;if(n.childElementCount&&this._signalRemovalForInnerTriggers(n,t),this.triggerLeaveAnimation(n,t,!0))return;let i=!1;if(r.totalAnimations){const o=r.players.length?r.playersByQueriedElement.get(n):[];if(o&&o.length)i=!0;else{let s=n;for(;s=s.parentNode;)if(r.statesByElement.get(s)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(n),i)r.markElementAsRemoved(this.id,n,!1,t);else{const o=n[ri];(!o||o===_A)&&(r.afterFlush(()=>this.clearElementCache(n)),r.destroyInnerAnimations(n),r._onRemovalComplete(n,t))}}insertNode(n,t){br(n,this._hostClassName)}drainQueuedTransitions(n){const t=[];return this._queue.forEach(r=>{const i=r.player;if(i.destroyed)return;const o=r.element,s=this._elementListeners.get(o);s&&s.forEach(u=>{if(u.name==r.triggerName){const c=pb(o,r.triggerName,r.fromState.value,r.toState.value);c._data=n,fb(r.player,u.phase,c,u.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):t.push(r)}),this._queue=[],t.sort((r,i)=>{const o=r.transition.ast.depCount,s=i.transition.ast.depCount;return 0==o||0==s?o-s:this._engine.driver.containsElement(r.element,i.element)?1:-1})}destroy(n){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,n)}}class _q{_onRemovalComplete(n,t){this.onRemovalComplete(n,t)}constructor(n,t,r){this.bodyNode=n,this.driver=t,this._normalizer=r,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(i,o)=>{}}get queuedPlayers(){const n=[];return this._namespaceList.forEach(t=>{t.players.forEach(r=>{r.queued&&n.push(r)})}),n}createNamespace(n,t){const r=new vq(n,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(r,t):(this.newHostElements.set(t,r),this.collectEnterElement(t)),this._namespaceLookup[n]=r}_balanceNamespaceList(n,t){const r=this._namespaceList,i=this.namespacesByHostElement;if(r.length-1>=0){let s=!1,u=this.driver.getParentElement(t);for(;u;){const c=i.get(u);if(c){const d=r.indexOf(c);r.splice(d+1,0,n),s=!0;break}u=this.driver.getParentElement(u)}s||r.unshift(n)}else r.push(n);return i.set(t,n),n}register(n,t){let r=this._namespaceLookup[n];return r||(r=this.createNamespace(n,t)),r}registerTrigger(n,t,r){let i=this._namespaceLookup[n];i&&i.register(t,r)&&this.totalAnimations++}destroy(n,t){n&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const r=this._fetchNamespace(n);this.namespacesByHostElement.delete(r.hostElement);const i=this._namespaceList.indexOf(r);i>=0&&this._namespaceList.splice(i,1),r.destroy(t),delete this._namespaceLookup[n]}))}_fetchNamespace(n){return this._namespaceLookup[n]}fetchNamespacesByElement(n){const t=new Set,r=this.statesByElement.get(n);if(r)for(let i of r.values())if(i.namespaceId){const o=this._fetchNamespace(i.namespaceId);o&&t.add(o)}return t}trigger(n,t,r,i){if(Cm(t)){const o=this._fetchNamespace(n);if(o)return o.trigger(t,r,i),!0}return!1}insertNode(n,t,r,i){if(!Cm(t))return;const o=t[ri];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;const s=this.collectedLeaveElements.indexOf(t);s>=0&&this.collectedLeaveElements.splice(s,1)}if(n){const s=this._fetchNamespace(n);s&&s.insertNode(t,r)}i&&this.collectEnterElement(t)}collectEnterElement(n){this.collectedEnterElements.push(n)}markElementAsDisabled(n,t){t?this.disabledNodes.has(n)||(this.disabledNodes.add(n),br(n,kb)):this.disabledNodes.has(n)&&(this.disabledNodes.delete(n),Gu(n,kb))}removeNode(n,t,r){if(Cm(t)){const i=n?this._fetchNamespace(n):null;i?i.removeNode(t,r):this.markElementAsRemoved(n,t,!1,r);const o=this.namespacesByHostElement.get(t);o&&o.id!==n&&o.removeNode(t,r)}else this._onRemovalComplete(t,r)}markElementAsRemoved(n,t,r,i,o){this.collectedLeaveElements.push(t),t[ri]={namespaceId:n,setForRemoval:i,hasAnimation:r,removedBeforeQueried:!1,previousTriggersValues:o}}listen(n,t,r,i,o){return Cm(t)?this._fetchNamespace(n).listen(t,r,i,o):()=>{}}_buildInstruction(n,t,r,i,o){return n.transition.build(this.driver,n.element,n.fromState.value,n.toState.value,r,i,n.fromState.options,n.toState.options,t,o)}destroyInnerAnimations(n){let t=this.driver.query(n,pm,!0);t.forEach(r=>this.destroyActiveAnimationsForElement(r)),0!=this.playersByQueriedElement.size&&(t=this.driver.query(n,bb,!0),t.forEach(r=>this.finishActiveQueriedAnimationOnElement(r)))}destroyActiveAnimationsForElement(n){const t=this.playersByElement.get(n);t&&t.forEach(r=>{r.queued?r.markedForDestroy=!0:r.destroy()})}finishActiveQueriedAnimationOnElement(n){const t=this.playersByQueriedElement.get(n);t&&t.forEach(r=>r.finish())}whenRenderingDone(){return new Promise(n=>{if(this.players.length)return Oo(this.players).onDone(()=>n());n()})}processLeaveNode(n){const t=n[ri];if(t&&t.setForRemoval){if(n[ri]=_A,t.namespaceId){this.destroyInnerAnimations(n);const r=this._fetchNamespace(t.namespaceId);r&&r.clearElementCache(n)}this._onRemovalComplete(n,t.setForRemoval)}n.classList?.contains(kb)&&this.markElementAsDisabled(n,!1),this.driver.query(n,".ng-animate-disabled",!0).forEach(r=>{this.markElementAsDisabled(r,!1)})}flush(n=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((r,i)=>this._balanceNamespaceList(r,i)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let r=0;r<this.collectedEnterElements.length;r++)br(this.collectedEnterElements[r],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const r=[];try{t=this._flushAnimations(r,n)}finally{for(let i=0;i<r.length;i++)r[i]()}}else for(let r=0;r<this.collectedLeaveElements.length;r++)this.processLeaveNode(this.collectedLeaveElements[r]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(r=>r()),this._flushFns=[],this._whenQuietFns.length){const r=this._whenQuietFns;this._whenQuietFns=[],t.length?Oo(t).onDone(()=>{r.forEach(i=>i())}):r.forEach(i=>i())}}reportError(n){throw function DW(){return new k(3402,!1)}()}_flushAnimations(n,t){const r=new _m,i=[],o=new Map,s=[],u=new Map,c=new Map,d=new Map,f=new Set;this.disabledNodes.forEach(Y=>{f.add(Y);const te=this.driver.query(Y,".ng-animate-queued",!0);for(let ue=0;ue<te.length;ue++)f.add(te[ue])});const m=this.bodyNode,g=Array.from(this.statesByElement.keys()),y=CA(g,this.collectedEnterElements),_=new Map;let C=0;y.forEach((Y,te)=>{const ue=_b+C++;_.set(te,ue),Y.forEach(we=>br(we,ue))});const S=[],I=new Set,T=new Set;for(let Y=0;Y<this.collectedLeaveElements.length;Y++){const te=this.collectedLeaveElements[Y],ue=te[ri];ue&&ue.setForRemoval&&(S.push(te),I.add(te),ue.hasAnimation?this.driver.query(te,".ng-star-inserted",!0).forEach(we=>I.add(we)):T.add(te))}const R=new Map,L=CA(g,Array.from(I));L.forEach((Y,te)=>{const ue=fm+C++;R.set(te,ue),Y.forEach(we=>br(we,ue))}),n.push(()=>{y.forEach((Y,te)=>{const ue=_.get(te);Y.forEach(we=>Gu(we,ue))}),L.forEach((Y,te)=>{const ue=R.get(te);Y.forEach(we=>Gu(we,ue))}),S.forEach(Y=>{this.processLeaveNode(Y)})});const j=[],X=[];for(let Y=this._namespaceList.length-1;Y>=0;Y--)this._namespaceList[Y].drainQueuedTransitions(t).forEach(ue=>{const we=ue.player,Vt=ue.element;if(j.push(we),this.collectedEnterElements.length){const pn=Vt[ri];if(pn&&pn.setForMove){if(pn.previousTriggersValues&&pn.previousTriggersValues.has(ue.triggerName)){const Us=pn.previousTriggersValues.get(ue.triggerName),Er=this.statesByElement.get(ue.element);if(Er&&Er.has(ue.triggerName)){const Sm=Er.get(ue.triggerName);Sm.value=Us,Er.set(ue.triggerName,Sm)}}return void we.destroy()}}const Cr=!m||!this.driver.containsElement(m,Vt),An=R.get(Vt),Ii=_.get(Vt),dt=this._buildInstruction(ue,r,Ii,An,Cr);if(dt.errors&&dt.errors.length)return void X.push(dt);if(Cr)return we.onStart(()=>Bs(Vt,dt.fromStyles)),we.onDestroy(()=>Mi(Vt,dt.toStyles)),void i.push(we);if(ue.isFallbackTransition)return we.onStart(()=>Bs(Vt,dt.fromStyles)),we.onDestroy(()=>Mi(Vt,dt.toStyles)),void i.push(we);const Dm=[];dt.timelines.forEach(pn=>{pn.stretchStartingKeyframe=!0,this.disabledNodes.has(pn.element)||Dm.push(pn)}),dt.timelines=Dm,r.append(Vt,dt.timelines),s.push({instruction:dt,player:we,element:Vt}),dt.queriedElements.forEach(pn=>rr(u,pn,[]).push(we)),dt.preStyleProps.forEach((pn,Us)=>{if(pn.size){let Er=c.get(Us);Er||c.set(Us,Er=new Set),pn.forEach((Sm,Lb)=>Er.add(Lb))}}),dt.postStyleProps.forEach((pn,Us)=>{let Er=d.get(Us);Er||d.set(Us,Er=new Set),pn.forEach((Sm,Lb)=>Er.add(Lb))})});if(X.length){const Y=[];X.forEach(te=>{Y.push(function SW(){return new k(3505,!1)}())}),j.forEach(te=>te.destroy()),this.reportError(Y)}const re=new Map,Q=new Map;s.forEach(Y=>{const te=Y.element;r.has(te)&&(Q.set(te,te),this._beforeAnimationBuild(Y.player.namespaceId,Y.instruction,re))}),i.forEach(Y=>{const te=Y.element;this._getPreviousPlayers(te,!1,Y.namespaceId,Y.triggerName,null).forEach(we=>{rr(re,te,[]).push(we),we.destroy()})});const vt=S.filter(Y=>DA(Y,c,d)),Dt=new Map;wA(Dt,this.driver,T,d,Ki).forEach(Y=>{DA(Y,c,d)&&vt.push(Y)});const Pn=new Map;y.forEach((Y,te)=>{wA(Pn,this.driver,new Set(Y),c,"!")}),vt.forEach(Y=>{const te=Dt.get(Y),ue=Pn.get(Y);Dt.set(Y,new Map([...te?.entries()??[],...ue?.entries()??[]]))});const Ro=[],wr=[],Gs={};s.forEach(Y=>{const{element:te,player:ue,instruction:we}=Y;if(r.has(te)){if(f.has(te))return ue.onDestroy(()=>Mi(te,we.toStyles)),ue.disabled=!0,ue.overrideTotalTime(we.totalTime),void i.push(ue);let Vt=Gs;if(Q.size>1){let An=te;const Ii=[];for(;An=An.parentNode;){const dt=Q.get(An);if(dt){Vt=dt;break}Ii.push(An)}Ii.forEach(dt=>Q.set(dt,Vt))}const Cr=this._buildAnimation(ue.namespaceId,we,re,o,Pn,Dt);if(ue.setRealPlayer(Cr),Vt===Gs)Ro.push(ue);else{const An=this.playersByElement.get(Vt);An&&An.length&&(ue.parentPlayer=Oo(An)),i.push(ue)}}else Bs(te,we.fromStyles),ue.onDestroy(()=>Mi(te,we.toStyles)),wr.push(ue),f.has(te)&&i.push(ue)}),wr.forEach(Y=>{const te=o.get(Y.element);if(te&&te.length){const ue=Oo(te);Y.setRealPlayer(ue)}}),i.forEach(Y=>{Y.parentPlayer?Y.syncPlayerEvents(Y.parentPlayer):Y.destroy()});for(let Y=0;Y<S.length;Y++){const te=S[Y],ue=te[ri];if(Gu(te,fm),ue&&ue.hasAnimation)continue;let we=[];if(u.size){let Cr=u.get(te);Cr&&Cr.length&&we.push(...Cr);let An=this.driver.query(te,bb,!0);for(let Ii=0;Ii<An.length;Ii++){let dt=u.get(An[Ii]);dt&&dt.length&&we.push(...dt)}}const Vt=we.filter(Cr=>!Cr.destroyed);Vt.length?Eq(this,te,Vt):this.processLeaveNode(te)}return S.length=0,Ro.forEach(Y=>{this.players.push(Y),Y.onDone(()=>{Y.destroy();const te=this.players.indexOf(Y);this.players.splice(te,1)}),Y.play()}),Ro}afterFlush(n){this._flushFns.push(n)}afterFlushAnimationsDone(n){this._whenQuietFns.push(n)}_getPreviousPlayers(n,t,r,i,o){let s=[];if(t){const u=this.playersByQueriedElement.get(n);u&&(s=u)}else{const u=this.playersByElement.get(n);if(u){const c=!o||o==pd;u.forEach(d=>{d.queued||!c&&d.triggerName!=i||s.push(d)})}}return(r||i)&&(s=s.filter(u=>!(r&&r!=u.namespaceId||i&&i!=u.triggerName))),s}_beforeAnimationBuild(n,t,r){const o=t.element,s=t.isRemovalTransition?void 0:n,u=t.isRemovalTransition?void 0:t.triggerName;for(const c of t.timelines){const d=c.element,f=d!==o,m=rr(r,d,[]);this._getPreviousPlayers(d,f,s,u,t.toState).forEach(y=>{const _=y.getRealPlayer();_.beforeDestroy&&_.beforeDestroy(),y.destroy(),m.push(y)})}Bs(o,t.fromStyles)}_buildAnimation(n,t,r,i,o,s){const u=t.triggerName,c=t.element,d=[],f=new Set,m=new Set,g=t.timelines.map(_=>{const C=_.element;f.add(C);const S=C[ri];if(S&&S.removedBeforeQueried)return new Ql(_.duration,_.delay);const I=C!==c,T=function Dq(e){const n=[];return EA(e,n),n}((r.get(C)||gq).map(re=>re.getRealPlayer())).filter(re=>!!re.element&&re.element===C),R=o.get(C),L=s.get(C),j=eA(this._normalizer,_.keyframes,R,L),X=this._buildPlayer(_,j,T);if(_.subTimeline&&i&&m.add(C),I){const re=new Ob(n,u,C);re.setRealPlayer(X),d.push(re)}return X});d.forEach(_=>{rr(this.playersByQueriedElement,_.element,[]).push(_),_.onDone(()=>function bq(e,n,t){let r=e.get(n);if(r){if(r.length){const i=r.indexOf(t);r.splice(i,1)}0==r.length&&e.delete(n)}return r}(this.playersByQueriedElement,_.element,_))}),f.forEach(_=>br(_,sA));const y=Oo(g);return y.onDestroy(()=>{f.forEach(_=>Gu(_,sA)),Mi(c,t.toStyles)}),m.forEach(_=>{rr(i,_,[]).push(y)}),y}_buildPlayer(n,t,r){return t.length>0?this.driver.animate(n.element,t,n.duration,n.delay,n.easing,r):new Ql(n.duration,n.delay)}}class Ob{constructor(n,t,r){this.namespaceId=n,this.triggerName=t,this.element=r,this._player=new Ql,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(n){this._containsRealPlayer||(this._player=n,this._queuedCallbacks.forEach((t,r)=>{t.forEach(i=>fb(n,r,void 0,i))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(n.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(n){this.totalTime=n}syncPlayerEvents(n){const t=this._player;t.triggerCallback&&n.onStart(()=>t.triggerCallback("start")),n.onDone(()=>this.finish()),n.onDestroy(()=>this.destroy())}_queueEvent(n,t){rr(this._queuedCallbacks,n,[]).push(t)}onDone(n){this.queued&&this._queueEvent("done",n),this._player.onDone(n)}onStart(n){this.queued&&this._queueEvent("start",n),this._player.onStart(n)}onDestroy(n){this.queued&&this._queueEvent("destroy",n),this._player.onDestroy(n)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(n){this.queued||this._player.setPosition(n)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(n){const t=this._player;t.triggerCallback&&t.triggerCallback(n)}}function Cm(e){return e&&1===e.nodeType}function bA(e,n){const t=e.style.display;return e.style.display=n??"none",t}function wA(e,n,t,r,i){const o=[];t.forEach(c=>o.push(bA(c)));const s=[];r.forEach((c,d)=>{const f=new Map;c.forEach(m=>{const g=n.computeStyle(d,m,i);f.set(m,g),(!g||0==g.length)&&(d[ri]=yq,s.push(d))}),e.set(d,f)});let u=0;return t.forEach(c=>bA(c,o[u++])),s}function CA(e,n){const t=new Map;if(e.forEach(u=>t.set(u,[])),0==n.length)return t;const i=new Set(n),o=new Map;function s(u){if(!u)return 1;let c=o.get(u);if(c)return c;const d=u.parentNode;return c=t.has(d)?d:i.has(d)?1:s(d),o.set(u,c),c}return n.forEach(u=>{const c=s(u);1!==c&&t.get(c).push(u)}),t}function br(e,n){e.classList?.add(n)}function Gu(e,n){e.classList?.remove(n)}function Eq(e,n,t){Oo(t).onDone(()=>e.processLeaveNode(n))}function EA(e,n){for(let t=0;t<e.length;t++){const r=e[t];r instanceof BI?EA(r.players,n):n.push(r)}}function DA(e,n,t){const r=t.get(e);if(!r)return!1;let i=n.get(e);return i?r.forEach(o=>i.add(o)):n.set(e,r),t.delete(e),!0}class md{constructor(n,t,r){this._driver=t,this._normalizer=r,this._triggerCache={},this.onRemovalComplete=(i,o)=>{},this._transitionEngine=new _q(n.body,t,r),this._timelineEngine=new dq(n.body,t,r),this._transitionEngine.onRemovalComplete=(i,o)=>this.onRemovalComplete(i,o)}registerTrigger(n,t,r,i,o){const s=n+"-"+i;let u=this._triggerCache[s];if(!u){const c=[],f=Sb(this._driver,o,c,[]);if(c.length)throw function pW(){return new k(3404,!1)}();u=function aq(e,n,t){return new uq(e,n,t)}(i,f,this._normalizer),this._triggerCache[s]=u}this._transitionEngine.registerTrigger(t,i,u)}register(n,t){this._transitionEngine.register(n,t)}destroy(n,t){this._transitionEngine.destroy(n,t)}onInsert(n,t,r,i){this._transitionEngine.insertNode(n,t,r,i)}onRemove(n,t,r){this._transitionEngine.removeNode(n,t,r)}disableAnimations(n,t){this._transitionEngine.markElementAsDisabled(n,t)}process(n,t,r,i){if("@"==r.charAt(0)){const[o,s]=tA(r);this._timelineEngine.command(o,t,s,i)}else this._transitionEngine.trigger(n,t,r,i)}listen(n,t,r,i,o){if("@"==r.charAt(0)){const[s,u]=tA(r);return this._timelineEngine.listen(s,t,u,o)}return this._transitionEngine.listen(n,t,r,i,o)}flush(n=-1){this._transitionEngine.flush(n)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(n){this._transitionEngine.afterFlushAnimationsDone(n)}}class gd{static#e=this.initialStylesByElement=new WeakMap;constructor(n,t,r){this._element=n,this._startStyles=t,this._endStyles=r,this._state=0;let i=gd.initialStylesByElement.get(n);i||gd.initialStylesByElement.set(n,i=new Map),this._initialStyles=i}start(){this._state<1&&(this._startStyles&&Mi(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Mi(this._element,this._initialStyles),this._endStyles&&(Mi(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(gd.initialStylesByElement.delete(this._element),this._startStyles&&(Bs(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Bs(this._element,this._endStyles),this._endStyles=null),Mi(this._element,this._initialStyles),this._state=3)}}function Rb(e){let n=null;return e.forEach((t,r)=>{(function Mq(e){return"display"===e||"position"===e})(r)&&(n=n||new Map,n.set(r,t))}),n}class SA{constructor(n,t,r,i){this.element=n,this.keyframes=t,this.options=r,this._specialStyles=i,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=r.duration,this._delay=r.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const n=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,n,this.options),this._finalKeyframe=n.length?n[n.length-1]:new Map;const t=()=>this._onFinish();this.domPlayer.addEventListener("finish",t),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",t)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(n){const t=[];return n.forEach(r=>{t.push(Object.fromEntries(r))}),t}_triggerWebAnimation(n,t,r){return n.animate(this._convertKeyframesToObject(t),r)}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(n=>n()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}setPosition(n){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=n*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const n=new Map;this.hasStarted()&&this._finalKeyframe.forEach((r,i)=>{"offset"!==i&&n.set(i,this._finished?r:Db(this.element,i))}),this.currentSnapshot=n}triggerCallback(n){const t="start"===n?this._onStartFns:this._onDoneFns;t.forEach(r=>r()),t.length=0}}class TA{validateStyleProperty(n){return!0}validateAnimatableStyleProperty(n){return!0}containsElement(n,t){return rA(n,t)}getParentElement(n){return mb(n)}query(n,t,r){return iA(n,t,r)}computeStyle(n,t,r){return Db(n,t)}animate(n,t,r,i,o,s=[]){const c={duration:r,delay:i,fill:0==i?"both":"forwards"};o&&(c.easing=o);const d=new Map,f=s.filter(y=>y instanceof SA);(function VW(e,n){return 0===e||0===n})(r,i)&&f.forEach(y=>{y.currentSnapshot.forEach((_,C)=>d.set(C,_))});let m=function RW(e){return e.length?e[0]instanceof Map?e:e.map(n=>new Map(Object.entries(n))):[]}(t).map(y=>new Map(y));m=function jW(e,n,t){if(t.size&&n.length){let r=n[0],i=[];if(t.forEach((o,s)=>{r.has(s)||i.push(s),r.set(s,o)}),i.length)for(let o=1;o<n.length;o++){let s=n[o];i.forEach(u=>s.set(u,Db(e,u)))}}return n}(n,m,d);const g=function Tq(e,n){let t=null,r=null;return Array.isArray(n)&&n.length?(t=Rb(n[0]),n.length>1&&(r=Rb(n[n.length-1]))):n instanceof Map&&(t=Rb(n)),t||r?new gd(e,t,r):null}(n,m);return new SA(n,m,c,g)}}const MA="@.disabled";class IA{constructor(n,t,r,i){this.namespaceId=n,this.delegate=t,this.engine=r,this._onDestroy=i,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(n){this.delegate.destroyNode?.(n)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(n,t){return this.delegate.createElement(n,t)}createComment(n){return this.delegate.createComment(n)}createText(n){return this.delegate.createText(n)}appendChild(n,t){this.delegate.appendChild(n,t),this.engine.onInsert(this.namespaceId,t,n,!1)}insertBefore(n,t,r,i=!0){this.delegate.insertBefore(n,t,r),this.engine.onInsert(this.namespaceId,t,n,i)}removeChild(n,t,r){this.parentNode(t)&&this.engine.onRemove(this.namespaceId,t,this.delegate)}selectRootElement(n,t){return this.delegate.selectRootElement(n,t)}parentNode(n){return this.delegate.parentNode(n)}nextSibling(n){return this.delegate.nextSibling(n)}setAttribute(n,t,r,i){this.delegate.setAttribute(n,t,r,i)}removeAttribute(n,t,r){this.delegate.removeAttribute(n,t,r)}addClass(n,t){this.delegate.addClass(n,t)}removeClass(n,t){this.delegate.removeClass(n,t)}setStyle(n,t,r,i){this.delegate.setStyle(n,t,r,i)}removeStyle(n,t,r){this.delegate.removeStyle(n,t,r)}setProperty(n,t,r){"@"==t.charAt(0)&&t==MA?this.disableAnimations(n,!!r):this.delegate.setProperty(n,t,r)}setValue(n,t){this.delegate.setValue(n,t)}listen(n,t,r){return this.delegate.listen(n,t,r)}disableAnimations(n,t){this.engine.disableAnimations(n,t)}}class Iq extends IA{constructor(n,t,r,i,o){super(t,r,i,o),this.factory=n,this.namespaceId=t}setProperty(n,t,r){"@"==t.charAt(0)?"."==t.charAt(1)&&t==MA?this.disableAnimations(n,r=void 0===r||!!r):this.engine.process(this.namespaceId,n,t.slice(1),r):this.delegate.setProperty(n,t,r)}listen(n,t,r){if("@"==t.charAt(0)){const i=function Pq(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}(n);let o=t.slice(1),s="";return"@"!=o.charAt(0)&&([o,s]=function Aq(e){const n=e.indexOf(".");return[e.substring(0,n),e.slice(n+1)]}(o)),this.engine.listen(this.namespaceId,i,o,s,u=>{this.factory.scheduleListenerCallback(u._data||-1,r,u)})}return this.delegate.listen(n,t,r)}}class kq{constructor(n,t,r){this.delegate=n,this.engine=t,this._zone=r,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,t.onRemovalComplete=(i,o)=>{o?.removeChild(null,i)}}createRenderer(n,t){const i=this.delegate.createRenderer(n,t);if(!n||!t?.data?.animation){const d=this._rendererCache;let f=d.get(i);return f||(f=new IA("",i,this.engine,()=>d.delete(i)),d.set(i,f)),f}const o=t.id,s=t.id+"-"+this._currentId;this._currentId++,this.engine.register(s,n);const u=d=>{Array.isArray(d)?d.forEach(u):this.engine.registerTrigger(o,s,n,d.name,d)};return t.data.animation.forEach(u),new Iq(this,s,i,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(n,t,r){if(n>=0&&n<this._microtaskId)return void this._zone.run(()=>t(r));const i=this._animationCallbacksBuffer;0==i.length&&queueMicrotask(()=>{this._zone.run(()=>{i.forEach(o=>{const[s,u]=o;s(u)}),this._animationCallbacksBuffer=[]})}),i.push([t,r])}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}const PA=[{provide:vb,useFactory:function Nq(){return new cA}},{provide:md,useClass:(()=>{class e extends md{constructor(t,r,i){super(t,r,i)}ngOnDestroy(){this.flush()}static#e=this.\u0275fac=function(r){return new(r||e)(l(an),l(yb),l(vb))};static#t=this.\u0275prov=q({token:e,factory:e.\u0275fac})}return e})()},{provide:yh,useFactory:function Oq(e,n,t){return new kq(e,n,t)},deps:[a_,md,Re]}],Fb=[{provide:yb,useFactory:()=>new TA},{provide:QC,useValue:"BrowserAnimations"},...PA],AA=[{provide:yb,useClass:gb},{provide:QC,useValue:"NoopAnimations"},...PA];let kA=(()=>{class e{static withConfig(t){return{ngModule:e,providers:t.disableAnimations?AA:Fb}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Ut({type:e});static#n=this.\u0275inj=Ct({providers:Fb,imports:[_p]})}return e})();const xA={merchantCapabilities:["supports3DS"],supportedNetworks:["visa","masterCard","amex","discover"]},Rq=Gn(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"}),NA=new $("APPLE_PAY_SESSION_TOKEN",{factory:()=>p(an).defaultView.ApplePaySession});let OA=(()=>{class e{constructor(t){this.applePaySession=t}canMakePayments(){return ApplePaySession.canMakePayments()}createPaySession(t,r,i){return new _t(o=>{const s=u=>{o.error(u),console.error(u)};try{const u=new this.applePaySession(t,r),c=(d,f)=>{u.abort(),s({event:d,error:f})};u.onvalidatemerchant=function(){var d=Su(function*(f){try{const m=yield function Fq(e,n){const t="object"==typeof n;return new Promise((r,i)=>{let s,o=!1;e.subscribe({next:u=>{s=u,o=!0},error:i,complete:()=>{o?r(s):t?r(n.defaultValue):i(new Rq)}})})}(i(f));u.completeMerchantValidation(m)}catch(m){c(f,m)}});return function(f){return d.apply(this,arguments)}}(),u.onpaymentmethodselected=d=>{const f={newTotal:{...r.total}};u.completePaymentMethodSelection(f)},u.onshippingmethodselected=d=>{u.completeShippingMethodSelection({})},u.onshippingcontactselected=d=>{u.completeShippingContactSelection({})},u.onpaymentauthorized=d=>{u.completePayment({status:ApplePaySession.STATUS_SUCCESS}),o.next(d),o.complete()},u.oncancel=d=>{s(d)},u.begin()}catch(u){s(u)}})}static#e=this.\u0275fac=function(r){return new(r||e)(l(NA))};static#t=this.\u0275prov=q({token:e,factory:e.\u0275fac})}return e})(),RA=(()=>{class e{constructor(t,r){this.nativeService=t,this.http=r}canMakePayment(){return tr(this.nativeService.canMakePayments())}pay(t){const{version:r=10}=t;return this.nativeService.createPaySession(r,this.mapData(t),o=>this.validate(o,t))}validate(t,r){const{validationURL:i}=t,{merchantId:o,processingUrl:s,userToken:u}=r;return this.http.post(s,{validationUrl:i},{params:{merchantId:o},headers:u?{Authorization:u}:void 0})}mapData(t){const{total:r,countryCode:i,supportedNetworks:o=xA.supportedNetworks,merchantCapabilities:s=xA.merchantCapabilities}=t;return{countryCode:i,currencyCode:r.currency,supportedNetworks:o,merchantCapabilities:s,total:{amount:r.amount,label:r.label}}}static#e=this.\u0275fac=function(r){return new(r||e)(l(OA),l(Fp))};static#t=this.\u0275prov=q({token:e,factory:e.\u0275fac})}return e})();const Lq=new $("APPLE_PAY_SESSION_SUPPORT_TOKEN",{factory:()=>!!p(NA)}),FA="https://applepay.cdn-apple.com/jsapi/v1.3.2/apple-pay-sdk.js";let Vq=(()=>{class e{constructor(t,r){this.doc=t,this.platformId=r}load(){return function vj(e){return e===gM}(this.platformId)?(this.loadPromise||(this.loadPromise=new Promise((t,r)=>{const i=this.doc.querySelector(`script[src="${FA}"]`);if(i)return i.addEventListener("load",()=>t(),{once:!0}),void i.addEventListener("error",()=>r(new Error("Apple Pay SDK failed to load")),{once:!0});const o=this.doc.createElement("script");o.src=FA,o.async=!0,o.onload=()=>t(),o.onerror=()=>r(new Error("Apple Pay SDK failed to load")),this.doc.head.appendChild(o)})),this.loadPromise):Promise.resolve()}static#e=this.\u0275fac=function(r){return new(r||e)(l(an),l(Gi))};static#t=this.\u0275prov=q({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const jq={canMakePayment:()=>tr(!1),pay(e){throw new Error("not implemented")}};function Bq(e){return()=>{try{return e.load().catch(n=>{console.warn("Apple Pay preload failed (network or CDN issue):",n)})}catch(n){return void console.warn("Apple Pay preload threw synchronously:",n)}}}let LA=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Ut({type:e});static#n=this.\u0275inj=Ct({providers:[OA,RA,{provide:rT,deps:[Vq],useFactory:Bq,multi:!0},{provide:CP,deps:[Lq,RA],useFactory:(t,r)=>t?r:jq}]})}return e})();M(463);let VA=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Ut({type:e});static#n=this.\u0275inj=Ct({providers:[EP]})}return e})(),jA=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Ut({type:e});static#n=this.\u0275inj=Ct({providers:[IP],imports:[R3.forRoot(),Q3,A3,P3,Qv,_p,kA,LA,VA,R3,Q3,A3,P3,Qv,_p,kA,LA,VA]})}return e})(),Hq=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Ut({type:e});static#n=this.\u0275inj=Ct({providers:[st,Hu,H_,j_,B_,dm,lm],imports:[jA]})}return e})(),Gq=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Ut({type:e});static#n=this.\u0275inj=Ct({providers:[V_,Fu]})}return e})(),Uq=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Ut({type:e});static#n=this.\u0275inj=Ct({providers:[Z3]})}return e})();function $q(e,n){let t=e;const r=p(st),i=p(Bp),o=r.data.settings().language,s=!!e.headers.get(ku_customHeaders_skipToastr);return s&&(t=e.clone({headers:e.headers.delete(ku_customHeaders_skipToastr)})),n(t).pipe(Nu(u=>(s||i.error(o.notifications.error.default.text,o.notifications.error.default.title),r.events.error.emit(u),F_(()=>u))))}function zq(e,n){let t=e;const r=p(st);if(!e.headers.get("Authorization")){const o=r.data.payment()?.userAuthToken;o&&(t=e.clone({headers:e.headers.append("Authorization",o)}))}return n(t)}let Wq=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Ut({type:e});static#n=this.\u0275inj=Ct({providers:[EG(DG([$q,zq]))],imports:[aU.forRoot(),Hq,jA,Gq,Uq]})}return e})(),qq=(()=>{class e{constructor(t){this.injector=t}ngDoBootstrap(t){const{injector:r}=this,i=function yB(e,n){const t=function lB(e,n){return n.get(Ss).resolveComponentFactory(e).inputs}(e,n.injector),r=n.strategyFactory||new pB(e,n.injector),i=function cB(e){const n={};return e.forEach(({propName:t,templateName:r,transform:i})=>{n[function iB(e){return e.replace(/[A-Z]/g,n=>`-${n.toLowerCase()}`)}(r)]=[t,i]}),n}(t);class o extends gB{static#e=this.observedAttributes=Object.keys(i);get ngElementStrategy(){if(!this._ngElementStrategy){const u=this._ngElementStrategy=r.create(this.injector||n.injector);t.forEach(({propName:c,transform:d})=>{if(!this.hasOwnProperty(c))return;const f=this[c];delete this[c],u.setInputValue(c,f,d)})}return this._ngElementStrategy}constructor(u){super(),this.injector=u}attributeChangedCallback(u,c,d,f){const[m,g]=i[u];this.ngElementStrategy.setInputValue(m,d,g)}connectedCallback(){let u=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),u=!0),this.ngElementStrategy.connect(this),u||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(u=>{const c=new CustomEvent(u.name,{detail:u.value});this.dispatchEvent(c)})}}return t.forEach(({propName:s,transform:u})=>{Object.defineProperty(o.prototype,s,{get(){return this.ngElementStrategy.getInputValue(s)},set(c){this.ngElementStrategy.setInputValue(s,c,u)},configurable:!0,enumerable:!0})}),o}(Wz,{injector:r});customElements.define("moto-payment-form",i)}static#e=this.\u0275fac=function(r){return new(r||e)(l(Ke))};static#t=this.\u0275mod=Ut({type:e});static#n=this.\u0275inj=Ct({imports:[_p,Wq]})}return e})();p8().bootstrapModule(qq).catch(e=>console.log(e))},634:function(F,A,M){"use strict";var D=this&&this.__assign||function(){return D=Object.assign||function(Ce){for(var _e,Ye=1,ft=arguments.length;Ye<ft;Ye++)for(var Tr in _e=arguments[Ye])Object.prototype.hasOwnProperty.call(_e,Tr)&&(Ce[Tr]=_e[Tr]);return Ce},D.apply(this,arguments)},Me=M(990),Se=M(402),Te=M(987),z=M(250),ie=M(507),H={},me={VISA:"visa",MASTERCARD:"mastercard",AMERICAN_EXPRESS:"american-express",DINERS_CLUB:"diners-club",DISCOVER:"discover",JCB:"jcb",UNIONPAY:"unionpay",MAESTRO:"maestro",ELO:"elo",MIR:"mir",HIPER:"hiper",HIPERCARD:"hipercard"},Dr=[me.VISA,me.MASTERCARD,me.AMERICAN_EXPRESS,me.DINERS_CLUB,me.DISCOVER,me.JCB,me.UNIONPAY,me.MAESTRO,me.ELO,me.MIR,me.HIPER,me.HIPERCARD],jt=(0,ie.clone)(Dr);function Sr(Ce){return H[Ce]||Me[Ce]}function to(Ce,_e){void 0===_e&&(_e=!1);var Ye=jt.indexOf(Ce);if(!_e&&-1===Ye)throw new Error('"'+Ce+'" is not a supported card type.');return Ye}function kn(Ce){var _e=[];if(!(0,Te.isValidInputType)(Ce))return _e;if(0===Ce.length)return function Fo(){return jt.map(function(Ce){return(0,ie.clone)(Sr(Ce))})}();jt.forEach(function(ft){var Tr=Sr(ft);(0,Se.addMatchingCardsToResults)(Ce,Tr,_e)});var Ye=(0,z.findBestMatch)(_e);return Ye?[Ye]:_e}kn.getTypeInfo=function(Ce){return(0,ie.clone)(Sr(Ce))},kn.removeCard=function(Ce){var _e=to(Ce);jt.splice(_e,1)},kn.addCard=function(Ce){var _e=to(Ce.type,!0);H[Ce.type]=Ce,-1===_e&&jt.push(Ce.type)},kn.updateCard=function(Ce,_e){var Ye=H[Ce]||Me[Ce];if(!Ye)throw new Error('"'.concat(Ce,"\" is not a recognized type. Use `addCard` instead.'"));if(_e.type&&Ye.type!==_e.type)throw new Error("Cannot overwrite type parameter.");var ft=(0,ie.clone)(Ye);ft=D(D({},ft),_e),H[ft.type]=ft},kn.changeOrder=function(Ce,_e){var Ye=to(Ce);jt.splice(Ye,1),jt.splice(_e,0,Ce)},kn.resetModifications=function(){jt=(0,ie.clone)(Dr),H={}},kn.types=me,F.exports=kn},402:(F,A,M)=>{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.addMatchingCardsToResults=void 0;var D=M(507),Me=M(595);A.addMatchingCardsToResults=function Se(Te,z,ie){var H,me;for(H=0;H<z.patterns.length;H++){var Dr=z.patterns[H];if((0,Me.matches)(Te,Dr)){var jt=(0,D.clone)(z);me=Array.isArray(Dr)?String(Dr[0]).length:String(Dr).length,Te.length>=me&&(jt.matchStrength=me),ie.push(jt);break}}}},990:F=>{"use strict";F.exports={visa:{niceType:"Visa",type:"visa",patterns:[4],gaps:[4,8,12],lengths:[16,18,19],code:{name:"CVV",size:3}},mastercard:{niceType:"Mastercard",type:"mastercard",patterns:[[51,55],[2221,2229],[223,229],[23,26],[270,271],2720],gaps:[4,8,12],lengths:[16],code:{name:"CVC",size:3}},"american-express":{niceType:"American Express",type:"american-express",patterns:[34,37],gaps:[4,10],lengths:[15],code:{name:"CID",size:4}},"diners-club":{niceType:"Diners Club",type:"diners-club",patterns:[[300,305],36,38,39],gaps:[4,10],lengths:[14,16,19],code:{name:"CVV",size:3}},discover:{niceType:"Discover",type:"discover",patterns:[6011,[644,649],65],gaps:[4,8,12],lengths:[16,19],code:{name:"CID",size:3}},jcb:{niceType:"JCB",type:"jcb",patterns:[2131,1800,[3528,3589]],gaps:[4,8,12],lengths:[16,17,18,19],code:{name:"CVV",size:3}},unionpay:{niceType:"UnionPay",type:"unionpay",patterns:[620,[62100,62182],[62184,62187],[62185,62197],[62200,62205],[622010,622999],622018,[62207,62209],[623,626],6270,6272,6276,[627700,627779],[627781,627799],[6282,6289],6291,6292,810,[8110,8131],[8132,8151],[8152,8163],[8164,8171]],gaps:[4,8,12],lengths:[14,15,16,17,18,19],code:{name:"CVN",size:3}},maestro:{niceType:"Maestro",type:"maestro",patterns:[493698,[5e5,504174],[504176,506698],[506779,508999],[56,59],63,67,6],gaps:[4,8,12],lengths:[12,13,14,15,16,17,18,19],code:{name:"CVC",size:3}},elo:{niceType:"Elo",type:"elo",patterns:[401178,401179,438935,457631,457632,431274,451416,457393,504175,[506699,506778],[509e3,509999],627780,636297,636368,[650031,650033],[650035,650051],[650405,650439],[650485,650538],[650541,650598],[650700,650718],[650720,650727],[650901,650978],[651652,651679],[655e3,655019],[655021,655058]],gaps:[4,8,12],lengths:[16],code:{name:"CVE",size:3}},mir:{niceType:"Mir",type:"mir",patterns:[[2200,2204]],gaps:[4,8,12],lengths:[16,17,18,19],code:{name:"CVP2",size:3}},hiper:{niceType:"Hiper",type:"hiper",patterns:[637095,63737423,63743358,637568,637599,637609,637612],gaps:[4,8,12],lengths:[16],code:{name:"CVC",size:3}},hipercard:{niceType:"Hipercard",type:"hipercard",patterns:[606282],gaps:[4,8,12],lengths:[16],code:{name:"CVC",size:3}}}},507:(F,A)=>{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.clone=void 0,A.clone=function M(D){return D?JSON.parse(JSON.stringify(D)):null}},250:(F,A)=>{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.findBestMatch=void 0,A.findBestMatch=function D(Me){return function M(Me){var Se=Me.filter(function(Te){return Te.matchStrength}).length;return Se>0&&Se===Me.length}(Me)?Me.reduce(function(Se,Te){return!Se||Number(Se.matchStrength)<Number(Te.matchStrength)?Te:Se}):null}},987:(F,A)=>{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.isValidInputType=void 0,A.isValidInputType=function M(D){return"string"==typeof D||D instanceof String}},595:(F,A)=>{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.matches=void 0,A.matches=function Me(Se,Te){return Array.isArray(Te)?function M(Se,Te,z){var ie=String(Te).length,H=Se.substr(0,ie),me=parseInt(H,10);return Te=parseInt(String(Te).substr(0,H.length),10),z=parseInt(String(z).substr(0,H.length),10),me>=Te&&me<=z}(Se,Te[0],Te[1]):function D(Se,Te){return(Te=String(Te)).substring(0,Se.length)===Se.substring(0,Te.length)}(Se,Te)}},463:function(){(function(){window.denylistedDomainsHashedValueListForGpayButtonWithCardInfo=[-718583466,-651407173,1501053020,1270931793,1878965203,1359979311,-1556396599,-929820290,-1993966558,969369487,813004726,545283320,1144403640]}).call(this),function(){window.whitelistedDomainsHashedValueListForGpayButtonWithCardInfo=[1432838318]}.call(this),function(){window.denylistedMerchentIdsHashedValueListForGpayButtonWithCardInfo=[1260893,211376492,-383338062,621213554,-1574521140,318272649,-1021013306]}.call(this),function(){window.denylistedMerchantIdsHashedValueListForGpayButtonVariant=[]}.call(this),function(){window.allowlistedMerchantDomainsForBnplDynamicButton=[1605359444,1058617217,-1952496552,1475577307,-266458566,-1100178842,82073654,1871160076,1512037837,-324377671,-1836633316,1257306572,-490810357,914948972,1312509109,1456172824,1359979311,2119319518,1000705814,-557041780,217951089,-733157279,545927057,-1637503934,587727802,439938499,-82521450,1010792251,-1600155240,501105821,1687733144,-594871460,-292702292,1047750569,1757603081,1277798904,140429097,830662232,-1591032177,409676547,388255805,14664163,-888714055,2024616735,-1854751591,969369487,-1671782663,-364941361,1459357773,1285145032,949802706,-965096850,-800621897,-705555514,-1274801837,-371468606,401692316,596576164]}.call(this),function(){window.allowlistedMerchantDomainsForRlmiaDynamicButton=[1030427005,-1467922549,-539967585]}.call(this),function(){window.allowlistedMerchantDomainsForPopupModeLoadingScreen=[-1952239152,-1239320691,1567214642,697229904,486133992,-31862958,-1800077669]}.call(this),function(){window.dynamicGpayButtonVariant="GPAY_BUTTON_VARIANT_TYPE_NONE"}.call(this),function(){this.google=this.google||{},this.google.payments=this.google.payments||{},this.google.payments.api=this.google.payments.api||{},this.google.payments.api.ButtonTypePolicyInPayjs=0}.call(this),function(){this.google=this.google||{},this.google.payments=this.google.payments||{},this.google.payments.api=this.google.payments.api||{},this.google.payments.api.IsAnonymousUser=!1}.call(this),function(){for(var D,F=this||self,A=["google","payments","api","ReadyToPayAdditionalBrowsers"],M=window||F;A.length&&(D=A.shift());)A.length?M=M[D]&&M[D]!==Object.prototype[D]?M[D]:M[D]={}:M[D]=!0}.call(this),function(){for(var D,F=this||self,A=["google","payments","api","PaymentHandlerLaunchPayjs"],M=window||F;A.length&&(D=A.shift());)A.length?M=M[D]&&M[D]!==Object.prototype[D]?M[D]:M[D]={}:M[D]=!0}.call(this),function(){for(var D,F=this||self,A=["google","payments","api","PaymentHandlerDynamicUpdatesLaunchPayjs"],M=window||F;A.length&&(D=A.shift());)A.length?M=M[D]&&M[D]!==Object.prototype[D]?M[D]:M[D]={}:M[D]=!0}.call(this),function(){for(var D,F=this||self,A=["google","payments","api","EnablePopupForChromeAndroid"],M=window||F;A.length&&(D=A.shift());)A.length?M=M[D]&&M[D]!==Object.prototype[D]?M[D]:M[D]={}:M[D]=!0}.call(this),function(){for(var D,F=this||self,A=["google","payments","api","EnableDynamicGpayButton"],M=window||F;A.length&&(D=A.shift());)A.length?M=M[D]&&M[D]!==Object.prototype[D]?M[D]:M[D]={}:M[D]=!0}.call(this),function(){for(var D,F=this||self,A=["google","payments","api","EnableDynamicUpdateForClank"],M=window||F;A.length&&(D=A.shift());)A.length?M=M[D]&&M[D]!==Object.prototype[D]?M[D]:M[D]={}:M[D]=!0}.call(this),function(){for(var D,F=this||self,A=["google","payments","api","EnableGpayButtonAriaLabelLocalization"],M=window||F;A.length&&(D=A.shift());)A.length?M=M[D]&&M[D]!==Object.prototype[D]?M[D]:M[D]={}:M[D]=!0}.call(this),function(){for(var D,F=this||self,A=["google","payments","api","EnablePaymentRequest"],M=window||F;A.length&&(D=A.shift());)A.length?M=M[D]&&M[D]!==Object.prototype[D]?M[D]:M[D]={}:M[D]=!0}.call(this),function(){for(var D,F=this||self,A=["google","payments","api","EnableLoadPaymentDataTimeout"],M=window||F;A.length&&(D=A.shift());)A.length?M=M[D]&&M[D]!==Object.prototype[D]?M[D]:M[D]={}:M[D]=!0}.call(this),function(){for(var D,F=this||self,A=["google","payments","api","EnableOfferCallback"],M=window||F;A.length&&(D=A.shift());)A.length?M=M[D]&&M[D]!==Object.prototype[D]?M[D]:M[D]={}:M[D]=!0}.call(this),function(){for(var D,F=this||self,A=["google","payments","api","UseCanMakePaymentForFallbackOnMobile"],M=window||F;A.length&&(D=A.shift());)A.length?M=M[D]&&M[D]!==Object.prototype[D]?M[D]:M[D]={}:M[D]=!0}.call(this),function(){for(var D,F=this||self,A=["google","payments","api","EnableImprovedIsrtpLogging"],M=window||F;A.length&&(D=A.shift());)A.length?M=M[D]&&M[D]!==Object.prototype[D]?M[D]:M[D]={}:M[D]=!0}.call(this),function(){for(var D,F=this||self,A=["google","payments","api","EnableClosePopupOnHostingPageUnload"],M=window||F;A.length&&(D=A.shift());)A.length?M=M[D]&&M[D]!==Object.prototype[D]?M[D]:M[D]={}:M[D]=!0}.call(this),function(){for(var D,F=this||self,A=["google","payments","api","EnablePaymentHandlerSandboxBuyflow"],M=window||F;A.length&&(D=A.shift());)A.length?M=M[D]&&M[D]!==Object.prototype[D]?M[D]:M[D]={}:M[D]=!0}.call(this),function(){for(var D,F=this||self,A=["google","payments","api","EnableGpayButtonDynamicRadius"],M=window||F;A.length&&(D=A.shift());)A.length?M=M[D]&&M[D]!==Object.prototype[D]?M[D]:M[D]={}:M[D]=!0}.call(this),function(){for(var D,F=this||self,A=["google","payments","api","EnableWebNgbfForCallbackIntents"],M=window||F;A.length&&(D=A.shift());)A.length?M=M[D]&&M[D]!==Object.prototype[D]?M[D]:M[D]={}:M[D]=!0}.call(this),function(){for(var D,F=this||self,A=["google","payments","api","EnableDynamicGpayButtonForPayButton"],M=window||F;A.length&&(D=A.shift());)A.length?M=M[D]&&M[D]!==Object.prototype[D]?M[D]:M[D]={}:M[D]=!0}.call(this),function(){for(var D,F=this||self,A=["google","payments","api","EnableDynamicGpayButtonForPlainButton"],M=window||F;A.length&&(D=A.shift());)A.length?M=M[D]&&M[D]!==Object.prototype[D]?M[D]:M[D]={}:M[D]=!0}.call(this),function(){for(var D,F=this||self,A=["google","payments","api","EnableRlmiaButtonAnimation"],M=window||F;A.length&&(D=A.shift());)A.length?M=M[D]&&M[D]!==Object.prototype[D]?M[D]:M[D]={}:M[D]=!0}.call(this),function(){for(var D,F=this||self,A=["google","payments","api","EnableCreateButtonApiOnClickLogging"],M=window||F;A.length&&(D=A.shift());)A.length?M=M[D]&&M[D]!==Object.prototype[D]?M[D]:M[D]={}:M[D]=!0}.call(this),function(){for(var D,F=this||self,A=["google","payments","api","EnableLoadingScreenForPopupMode"],M=window||F;A.length&&(D=A.shift());)A.length?M=M[D]&&M[D]!==Object.prototype[D]?M[D]:M[D]={}:M[D]=!0}.call(this),function(){for(var D,F=this||self,A=["google","payments","api","EnableButtonBorderInset"],M=window||F;A.length&&(D=A.shift());)A.length?M=M[D]&&M[D]!==Object.prototype[D]?M[D]:M[D]={}:M[D]=!0}.call(this),function(){for(var D,F=this||self,A=["google","payments","api","EnableRlmiaSmallerText"],M=window||F;A.length&&(D=A.shift());)A.length?M=M[D]&&M[D]!==Object.prototype[D]?M[D]:M[D]={}:M[D]=!0}.call(this),function(){var F,A,M=function(a){var l=0;return function(){return l<a.length?{done:!1,value:a[l++]}:{done:!0}}},D="function"==typeof Object.defineProperties?Object.defineProperty:function(a,l,h){return a==Array.prototype||a==Object.prototype||(a[l]=h.value),a},Se=function(a){a=["object"==typeof globalThis&&globalThis,a,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var l=0;l<a.length;++l){var h=a[l];if(h&&h.Math==Math)return h}throw Error("Cannot find global object")}(this),Te="function"==typeof Symbol&&"symbol"==typeof Symbol("x"),z={},ie={},H=function(a,l,h){if(!h||null!=a)return null==(h=ie[l])?a[l]:void 0!==(h=a[h])?h:a[l]},me=function(a,l,h){if(l)e:{var p=a.split("."),v=p[0];v=!(a=1===p.length)&&v in z?z:Se;for(var b=0;b<p.length-1;b++){var w=p[b];if(!(w in v))break e;v=v[w]}p=p[p.length-1],null!=(l=l(h=Te&&"es6"===h?v[p]:null))&&(a?D(z,p,{configurable:!0,writable:!0,value:l}):l!==h&&(void 0===ie[p]&&(a=1e9*Math.random()>>>0,ie[p]=Te?Se.Symbol(p):"$jscp$"+a+"$"+p),D(v,ie[p],{configurable:!0,writable:!0,value:l})))}};me("Symbol",function(a){if(a)return a;var l=function(b,w){this.kc=b,D(this,"description",{configurable:!0,writable:!0,value:w})};l.prototype.toString=function(){return this.kc};var h="jscomp_symbol_"+(1e9*Math.random()>>>0)+"_",p=0,v=function(b){if(this instanceof v)throw new TypeError("Symbol is not a constructor");return new l(h+(b||"")+"_"+p++,b)};return v},"es6"),me("Symbol.iterator",function(a){if(a)return a;a=(0,z.Symbol)("Symbol.iterator");for(var l="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),h=0;h<l.length;h++){var p=Se[l[h]];"function"==typeof p&&"function"!=typeof p.prototype[a]&&D(p.prototype,a,{configurable:!0,writable:!0,value:function(){return Dr(M(this))}})}return a},"es6");var Sr,Dr=function(a){return(a={next:a})[H(z.Symbol,"iterator")]=function(){return this},a},jt="function"==typeof Object.create?Object.create:function(a){var l=function(){};return l.prototype=a,new l};if(Te&&"function"==typeof Object.setPrototypeOf)Sr=Object.setPrototypeOf;else{var Fo;e:{var kn={};try{kn.__proto__={a:!0},Fo=kn.a;break e}catch{}Fo=!1}Sr=Fo?function(a,l){if(a.__proto__=l,a.__proto__!==l)throw new TypeError(a+" is not extensible");return a}:null}var Ce=Sr,_e=function(a){var l=typeof z.Symbol<"u"&&H(z.Symbol,"iterator")&&a[H(z.Symbol,"iterator")];if(l)return l.call(a);if("number"==typeof a.length)return{next:M(a)};throw Error(String(a)+" is not an iterable or ArrayLike")},Ye=function(a){if(!(a instanceof Array)){a=_e(a);for(var l,h=[];!(l=a.next()).done;)h.push(l.value);a=h}return a},ft=function(a,l){return Object.prototype.hasOwnProperty.call(a,l)},Tr=Te&&"function"==typeof H(Object,"assign")?H(Object,"assign"):function(a,l){for(var h=1;h<arguments.length;h++){var p=arguments[h];if(p)for(var v in p)ft(p,v)&&(a[v]=p[v])}return a};me("Object.assign",function(a){return a||Tr},"es6");var no=function(){this.Ja=!1,this.la=null,this.Xa=void 0,this.X=1,this.Rb=this.ob=0,this.wa=null},$s=function(a){if(a.Ja)throw new TypeError("Generator is already running");a.Ja=!0};no.prototype.Ka=function(a){this.Xa=a},no.prototype.Ta=function(a){this.wa={vc:a,zc:!0},this.X=this.ob||this.Rb},no.prototype.return=function(a){this.wa={return:a},this.X=this.Rb};var ro=function(a,l,h){return a.X=h,{value:l}},Pi=function(a){this.h=new no,this.Gc=a};Pi.prototype.Ka=function(a){return $s(this.h),this.h.la?Ws(this,this.h.la.next,a,this.h.Ka):(this.h.Ka(a),io(this))},Pi.prototype.Ta=function(a){return $s(this.h),this.h.la?Ws(this,this.h.la.throw,a,this.h.Ka):(this.h.Ta(a),io(this))};var Ws=function(a,l,h,p){try{var v=l.call(a.h.la,h);if(!(v instanceof Object))throw new TypeError("Iterator result "+v+" is not an object");if(!v.done)return a.h.Ja=!1,v;var b=v.value}catch(w){return a.h.la=null,a.h.Ta(w),io(a)}return a.h.la=null,p.call(a.h,b),io(a)},io=function(a){for(;a.h.X;)try{var l=a.Gc(a.h);if(l)return a.h.Ja=!1,{value:l.value,done:!1}}catch(h){a.h.Xa=void 0,a.h.Ta(h)}if(a.h.Ja=!1,a.h.wa){if(l=a.h.wa,a.h.wa=null,l.zc)throw l.vc;return{value:l.return,done:!0}}return{value:void 0,done:!0}},Tm=function(a){this.next=function(l){return a.Ka(l)},this.throw=function(l){return a.Ta(l)},this.return=function(l){return function(a,l){$s(a.h);var h=a.h.la;return h?Ws(a,"return"in h?h.return:function(p){return{value:p,done:!0}},l,a.h.return):(a.h.return(l),io(a))}(a,l)},this[H(z.Symbol,"iterator")]=function(){return this}},Lo=function(a){return function(a){function l(p){return a.next(p)}function h(p){return a.throw(p)}return new z.Promise(function(p,v){!function b(w){w.done?p(w.value):z.Promise.resolve(w.value).then(l,h).then(b,v)}(a.next())})}(new Tm(new Pi(a)))},Vo=function(){for(var a=Number(this),l=[],h=a;h<arguments.length;h++)l[h-a]=arguments[h];return l};me("globalThis",function(a){return a||Se},"es_2020"),me("Promise",function(a){function l(){this.Z=null}function h(w){return w instanceof v?w:new v(function(E){E(w)})}if(a)return a;l.prototype.Kb=function(w){if(null==this.Z){this.Z=[];var E=this;this.Lb(function(){E.wc()})}this.Z.push(w)};var p=Se.setTimeout;l.prototype.Lb=function(w){p(w,0)},l.prototype.wc=function(){for(;this.Z&&this.Z.length;){var w=this.Z;this.Z=[];for(var E=0;E<w.length;++E){var V=w[E];w[E]=null;try{V()}catch(O){this.rc(O)}}}this.Z=null},l.prototype.rc=function(w){this.Lb(function(){throw w})};var v=function(w){this.Ba=0,this.ea=void 0,this.Aa=[],this.Tb=!1;var E=this.rb();try{w(E.resolve,E.reject)}catch(V){E.reject(V)}};v.prototype.rb=function(){function w(O){return function(K){V||(V=!0,O.call(E,K))}}var E=this,V=!1;return{resolve:w(this.Lc),reject:w(this.Bb)}},v.prototype.Lc=function(w){if(w===this)this.Bb(new TypeError("A Promise cannot resolve to itself"));else if(w instanceof v)this.Oc(w);else{e:switch(typeof w){case"object":var E=null!=w;break e;case"function":E=!0;break e;default:E=!1}E?this.Kc(w):this.Sb(w)}},v.prototype.Kc=function(w){var E=void 0;try{E=w.then}catch(V){return void this.Bb(V)}"function"==typeof E?this.Pc(E,w):this.Sb(w)},v.prototype.Bb=function(w){this.ic(2,w)},v.prototype.Sb=function(w){this.ic(1,w)},v.prototype.ic=function(w,E){if(0!=this.Ba)throw Error("Cannot settle("+w+", "+E+"): Promise already settled in state"+this.Ba);this.Ba=w,this.ea=E,2===this.Ba&&this.Mc(),this.xc()},v.prototype.Mc=function(){var w=this;p(function(){if(w.Cc()){var E=Se.console;typeof E<"u"&&E.error(w.ea)}},1)},v.prototype.Cc=function(){if(this.Tb)return!1;var w=Se.CustomEvent,E=Se.Event,V=Se.dispatchEvent;return typeof V>"u"||("function"==typeof w?w=new w("unhandledrejection",{cancelable:!0}):"function"==typeof E?w=new E("unhandledrejection",{cancelable:!0}):(w=Se.document.createEvent("CustomEvent")).initCustomEvent("unhandledrejection",!1,!0,w),w.promise=this,w.reason=this.ea,V(w))},v.prototype.xc=function(){if(null!=this.Aa){for(var w=0;w<this.Aa.length;++w)b.Kb(this.Aa[w]);this.Aa=null}};var b=new l;return v.prototype.Oc=function(w){var E=this.rb();w.bb(E.resolve,E.reject)},v.prototype.Pc=function(w,E){var V=this.rb();try{w.call(E,V.resolve,V.reject)}catch(O){V.reject(O)}},v.prototype.then=function(w,E){function V(ht,Gt){return"function"==typeof ht?function(ss){try{O(ht(ss))}catch(vn){K(vn)}}:Gt}var O,K,We=new v(function(ht,Gt){O=ht,K=Gt});return this.bb(V(w,O),V(E,K)),We},v.prototype.catch=function(w){return this.then(void 0,w)},v.prototype.bb=function(w,E){function V(){switch(O.Ba){case 1:w(O.ea);break;case 2:E(O.ea);break;default:throw Error("Unexpected state: "+O.Ba)}}var O=this;null==this.Aa?b.Kb(V):this.Aa.push(V),this.Tb=!0},v.resolve=h,v.reject=function(w){return new v(function(E,V){V(w)})},v.race=function(w){return new v(function(E,V){for(var O=_e(w),K=O.next();!K.done;K=O.next())h(K.value).bb(E,V)})},v.all=function(w){var E=_e(w),V=E.next();return V.done?h([]):new v(function(O,K){function We(ss){return function(vn){ht[ss]=vn,0==--Gt&&O(ht)}}var ht=[],Gt=0;do{ht.push(void 0),Gt++,h(V.value).bb(We(ht.length-1),K),V=E.next()}while(!V.done)})},v},"es6"),me("Symbol.dispose",function(a){return a||(0,z.Symbol)("Symbol.dispose")},"es_next"),me("WeakMap",function(a){function l(){}function h(w){var E=typeof w;return"object"===E&&null!==w||"function"===E}if(function(){if(!a||!Object.seal)return!1;try{var w=Object.seal({}),E=Object.seal({}),V=new a([[w,2],[E,3]]);return 2==V.get(w)&&3==V.get(E)&&(V.delete(w),V.set(E,4),!V.has(w)&&4==V.get(E))}catch{return!1}}())return a;var p="$jscomp_hidden_"+Math.random(),v=0,b=function(w){if(this.Ha=(v+=Math.random()+1).toString(),w){w=_e(w);for(var E;!(E=w.next()).done;)this.set((E=E.value)[0],E[1])}};return b.prototype.set=function(w,E){if(!h(w))throw Error("Invalid WeakMap key");if(!ft(w,p)){var V=new l;D(w,p,{value:V})}if(!ft(w,p))throw Error("WeakMap key fail: "+w);return w[p][this.Ha]=E,this},b.prototype.get=function(w){return h(w)&&ft(w,p)?w[p][this.Ha]:void 0},b.prototype.has=function(w){return h(w)&&ft(w,p)&&ft(w[p],this.Ha)},b.prototype.delete=function(w){return!!(h(w)&&ft(w,p)&&ft(w[p],this.Ha))&&delete w[p][this.Ha]},b},"es6"),me("Map",function(a){if(function(){if(!a||"function"!=typeof a||!H(a.prototype,"entries")||"function"!=typeof Object.seal)return!1;try{var E=Object.seal({x:4}),V=new a(_e([[E,"s"]]));if("s"!=V.get(E)||1!=V.size||V.get({x:4})||V.set({x:4},"t")!=V||2!=V.size)return!1;var O=H(V,"entries").call(V),K=O.next();return!K.done&&K.value[0]==E&&"s"==K.value[1]&&!((K=O.next()).done||4!=K.value[0].x||"t"!=K.value[1]||!O.next().done)}catch{return!1}}())return a;var l=new z.WeakMap,h=function(E){if(this[0]={},this[1]=b(),this.size=0,E){E=_e(E);for(var V;!(V=E.next()).done;)this.set((V=V.value)[0],V[1])}};h.prototype.set=function(E,V){var O=p(this,E=0===E?0:E);return O.list||(O.list=this[0][O.id]=[]),O.C?O.C.value=V:(O.C={next:this[1],Y:this[1].Y,head:this[1],key:E,value:V},O.list.push(O.C),this[1].Y.next=O.C,this[1].Y=O.C,this.size++),this},h.prototype.delete=function(E){return!(!(E=p(this,E)).C||!E.list||(E.list.splice(E.index,1),E.list.length||delete this[0][E.id],E.C.Y.next=E.C.next,E.C.next.Y=E.C.Y,E.C.head=null,this.size--,0))},h.prototype.clear=function(){this[0]={},this[1]=this[1].Y=b(),this.size=0},h.prototype.has=function(E){return!!p(this,E).C},h.prototype.get=function(E){return(E=p(this,E).C)&&E.value},h.prototype.entries=function(){return v(this,function(E){return[E.key,E.value]})},h.prototype.keys=function(){return v(this,function(E){return E.key})},h.prototype.values=function(){return v(this,function(E){return E.value})},h.prototype.forEach=function(E,V){for(var K,O=H(this,"entries").call(this);!(K=O.next()).done;)E.call(V,(K=K.value)[1],K[0],this)},h.prototype[H(z.Symbol,"iterator")]=H(h.prototype,"entries");var p=function(E,V){var O=V&&typeof V;"object"==O||"function"==O?l.has(V)?O=l.get(V):(O=""+ ++w,l.set(V,O)):O="p_"+V;var K=E[0][O];if(K&&ft(E[0],O))for(E=0;E<K.length;E++){var We=K[E];if(V!=V&&We.key!=We.key||V===We.key)return{id:O,list:K,index:E,C:We}}return{id:O,list:K,index:-1,C:void 0}},v=function(E,V){var O=E[1];return Dr(function(){if(O){for(;O.head!=E[1];)O=O.Y;for(;O.next!=O.head;)return{done:!1,value:V(O=O.next)};O=null}return{done:!0,value:void 0}})},b=function(){var E={};return E.Y=E.next=E.head=E},w=0;return h},"es6");var $u=function(a,l){a instanceof String&&(a+="");var h=0,p=!1,v={next:function(){if(!p&&h<a.length){var b=h++;return{value:l(b,a[b]),done:!1}}return p=!0,{done:!0,value:void 0}}};return v[H(z.Symbol,"iterator")]=function(){return v},v};me("Array.prototype.entries",function(a){return a||function(){return $u(this,function(l,h){return[l,h]})}},"es6"),me("Array.prototype.keys",function(a){return a||function(){return $u(this,function(l){return l})}},"es6"),me("Object.entries",function(a){return a||function(l){var p,h=[];for(p in l)ft(l,p)&&h.push([p,l[p]]);return h}},"es8"),me("Array.prototype.values",function(a){return a||function(){return $u(this,function(l,h){return h})}},"es8"),me("Array.from",function(a){return a||function(l,h,p){h=h??function(E){return E};var v=[],b=typeof z.Symbol<"u"&&H(z.Symbol,"iterator")&&l[H(z.Symbol,"iterator")];if("function"==typeof b){l=b.call(l);for(var w=0;!(b=l.next()).done;)v.push(h.call(p,b.value,w++))}else for(b=l.length,w=0;w<b;w++)v.push(h.call(p,l[w],w));return v}},"es6"),me("Object.values",function(a){return a||function(l){var p,h=[];for(p in l)ft(l,p)&&h.push(l[p]);return h}},"es8"),me("Object.is",function(a){return a||function(l,h){return l===h?0!==l||1/l==1/h:l!=l&&h!=h}},"es6"),me("Array.prototype.includes",function(a){return a||function(l,h){var p=this;p instanceof String&&(p=String(p));var v=p.length;for((h=h||0)<0&&(h=Math.max(h+v,0));h<v;h++){var b=p[h];if(b===l||H(Object,"is").call(Object,b,l))return!0}return!1}},"es7"),me("String.prototype.includes",function(a){return a||function(l,h){if(null==this)throw new TypeError("The 'this' value for String.prototype.includes must not be null or undefined");if(l instanceof RegExp)throw new TypeError("First argument to String.prototype.includes must not be a regular expression");return-1!==(this+"").indexOf(l,h||0)}},"es6");var oo=this||self,zu=function(a,l){a=a.split(".");for(var p,h=window||oo;a.length&&(p=a.shift());)a.length||void 0===l?h=h[p]&&h[p]!==Object.prototype[p]?h[p]:h[p]={}:h[p]=l},qs=function(a){var l=typeof a;return"object"!=l?l:a?Array.isArray(a)?"array":l:"null"},Zs=function(a){var l=qs(a);return"array"==l||"object"==l&&"number"==typeof a.length},or=function(a){var l=typeof a;return"object"==l&&null!=a||"function"==l},Mm=function(a,l,h){return a.call.apply(a.bind,arguments)},Vb=function(a,l,h){if(!a)throw Error();if(arguments.length>2){var p=Array.prototype.slice.call(arguments,2);return function(){var v=Array.prototype.slice.call(arguments);return Array.prototype.unshift.apply(v,p),a.apply(l,v)}}return function(){return a.apply(l,arguments)}},Wu=function(a,l,h){return(Wu=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?Mm:Vb).apply(null,arguments)},so=function(a,l){function h(){}h.prototype=l.prototype,a.Da=l.prototype,a.prototype=new h,a.prototype.constructor=a,a.zd=function(p,v,b){for(var w=Array(arguments.length-2),E=2;E<arguments.length;E++)w[E-2]=arguments[E];return l.prototype[v].apply(p,w)}};function jo(a,l){if(Error.captureStackTrace)Error.captureStackTrace(this,jo);else{var h=Error().stack;h&&(this.stack=h)}a&&(this.message=String(a)),void 0!==l&&(this.cause=l)}function qu(a,l){for(var h="",p=(a=a.split("%s")).length-1,v=0;v<p;v++)h+=a[v]+(v<l.length?l[v]:"%s");jo.call(this,h+a[p])}function Zu(a,l,h,p){var v="Assertion failed";if(h){v+=": "+h;var b=p}else a&&(v+=": "+a,b=l);throw new qu(""+v,b||[])}so(jo,Error),jo.prototype.name="CustomError",so(qu,jo),qu.prototype.name="AssertionError";var xn=function(a,l,h){return a||Zu("",null,l,Array.prototype.slice.call(arguments,2)),a},Ai=function(a,l,h){return"number"!=typeof a&&Zu("Expected number but got %s: %s.",[qs(a),a],l,Array.prototype.slice.call(arguments,2)),a},Ys=function(a,l){this.jc=a===Bo&&l||"",this.oc=Ks};Ys.prototype.toString=function(){return this.jc};var Je=function(a){return a instanceof Ys&&a.constructor===Ys&&a.oc===Ks?a.jc:(function(a,l){throw new qu("Failure"+(a?": "+a:""),Array.prototype.slice.call(arguments,1))}("expected object of type Const, got '"+a+"'"),"type_error:Const")},Gn=function(a){return new Ys(Bo,a)},Ks={},Bo={},cn={lc:"PAYMENT_AUTHORIZATION",mc:"SHIPPING_ADDRESS",nc:"SHIPPING_OPTION",vd:"UNKNOWN_INTENT"},yd={Wc:"CANARY",fd:"LOCAL",od:"PREPROD",pd:"PRODUCTION",qd:"SANDBOX",td:"TEST",ud:"TIN"},vd={Yc:"CRYPTOGRAM_3DS",ld:"PAN_ONLY"},_d={bd:"ESTIMATED",dd:"FINAL",hd:"NOT_CURRENTLY_KNOWN"},ki={SHORT:"short",gd:"long",nd:"plain",Vc:"buy",ad:"donate",Uc:"book",Xc:"checkout",kd:"order",md:"pay",sd:"subscribe"},Xs={Zc:"default",Tc:"black",xd:"white"},bd={rd:"static",cd:"fill"},ao={buy:{en:152,ar:189,bg:163,ca:182,cs:192,da:154,de:183,el:178,es:183,et:147,fi:148,fr:183,hr:157,id:186,it:182,ja:148,ko:137,ms:186,nl:167,no:158,pl:182,pt:193,ru:206,sk:157,sl:211,sr:146,sv:154,th:146,tr:161,uk:207,zh:156},book:{ar:205,bg:233,ca:187,cs:213,da:162,de:176,el:180,en:161,es:188,et:186,fi:152,fr:197,hr:198,id:195,it:178,ja:150,ko:150,ms:211,nl:178,no:195,pl:221,pt:208,ru:265,sk:206,sl:266,sr:196,sv:161,th:150,tr:238,uk:248,zh:158},checkout:{ar:245,bg:200,ca:268,cs:175,da:162,de:188,el:286,en:201,es:188,et:171,fi:158,fr:170,hr:166,id:226,it:256,ja:150,ko:150,ms:291,nl:178,no:230,pl:187,pt:271,ru:283,sk:176,sl:313,sr:153,sv:172,th:168,tr:195,uk:216,zh:158},donate:{ar:205,bg:205,ca:162,cs:212,da:171,de:186,el:163,en:180,es:165,et:150,fi:171,fr:225,hr:182,id:237,it:157,ja:167,ko:150,ms:201,nl:187,no:171,pl:252,pt:175,ru:342,sk:178,sl:242,sr:171,sv:181,th:158,tr:181,uk:256,zh:158},order:{ar:198,bg:195,ca:247,cs:198,da:166,de:190,el:208,en:170,es:157,et:150,fi:150,fr:226,hr:201,id:195,it:171,ja:150,ko:150,ms:195,nl:192,no:171,pl:190,pt:177,ru:207,sk:190,sl:240,sr:165,sv:176,th:151,tr:188,uk:216,zh:158},pay:{ar:202,bg:200,ca:160,cs:183,da:162,de:188,el:185,en:150,es:162,et:150,fi:158,fr:170,hr:172,id:192,it:155,ja:150,ko:150,ms:192,nl:178,no:162,pl:187,pt:182,ru:213,sk:176,sl:225,sr:153,sv:172,th:168,tr:150,uk:216,zh:158},subscribe:{ar:221,bg:217,ca:226,cs:201,da:192,de:208,el:180,en:202,es:206,et:150,fi:150,fr:206,hr:178,id:260,it:190,ja:150,ko:150,ms:216,nl:208,no:192,pl:221,pt:196,ru:243,sk:193,sl:333,sr:217,sv:228,th:213,tr:173,uk:305,zh:158}},xi={buy:{ar:"\u0627\u0644\u0634\u0631\u0627\u0621 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 GPay",bg:"\u041a\u0443\u043f\u0443\u0432\u0430\u043d\u0435 \u0447\u0440\u0435\u0437 GPay",ca:"Compra amb GPay",cs:"Koupit s GPay",da:"K\xf8b med GPay",de:"Mit GPay kaufen",el:"\u0391\u03b3\u03bf\u03c1\u03ac \u03bc\u03b5 GPay",en:"Buy with GPay",es:"Comprar con GPay",et:"Osta GPayga",fi:"Osta GPaylla",fr:"Acheter avec GPay",hr:"Kupnja uz GPay",id:"Beli dengan GPay",it:"Acquista con GPay",ja:"GPay \u3067\u8cfc\u5165\u3059\u308b",ko:"GPay\ub85c \uad6c\ub9e4",ms:"Beli dengan GPay",nl:"Kopen met GPay",no:"Kj\xf8p med GPay",pl:"Kup to z GPay",pt:"Comprar com o GPay",ru:"\u041a\u0443\u043f\u0438\u0442\u044c \u0447\u0435\u0440\u0435\u0437 GPay",sk:"K\xfapi\u0165 cez GPay",sl:"Nakup s storitvijo GPay",sr:"\u041a\u0443\u043f\u0438 \u0443\u0437 GPay",sv:"K\xf6pa med GPay",th:"\u0e0b\u0e37\u0e49\u0e2d\u0e14\u0e49\u0e27\u0e22 GPay",tr:"GPayile sat\u0131n al",uk:"\u041a\u0443\u043f\u0438\u0442\u0438 \u0447\u0435\u0440\u0435\u0437 GPay",zh:"\u901a\u8fc7 GPay \u8d2d\u4e70"},book:{ar:"\u0627\u0644\u062d\u062c\u0632 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 GPay",bg:"\u0420\u0435\u0437\u0435\u0440\u0432\u0438\u0440\u0430\u043d\u0435 \u0447\u0440\u0435\u0437 GPay",ca:"Reserva amb GPay",cs:"Rezervovat s GPay",da:"Book med GPay",de:"Mit GPay buchen",el:"\u039a\u03c1\u03ac\u03c4\u03b7\u03c3\u03b7 \u03bc\u03b5 GPay",en:"Book with GPay",es:"Reservar con GPay",et:"Broneeri GPayga",fi:"Varaa GPaylla",fr:"R\xe9server avec GPay",hr:"Rezervacija uz GPay",id:"Reservasi dengan GPay",it:"Prenota con GPay",ja:"GPay \u3067\u4e88\u7d04\u3059\u308b",ko:"GPay\ub85c \uc608\uc57d",ms:"Tempah dengan GPay",nl:"Boeken met GPay",no:"Bestill med GPay",pl:"Zarezerwuj z GPay",pt:"Reservar com o GPay",ru:"\u0417\u0430\u0431\u0440\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0447\u0435\u0440\u0435\u0437 GPay",sk:"Rezervova\u0165 cez GPay",sl:"Rezervacija s storitvijo GPay",sr:"\u0420\u0435\u0437\u0435\u0440\u0432\u0438\u0448\u0438 \u0443\u0437 GPay",sv:"Boka med GPay",th:"\u0e08\u0e2d\u0e07\u0e14\u0e49\u0e27\u0e22 GPay",tr:"GPayile rezervasyon yap",uk:"\u0417\u0430\u0431\u0440\u043e\u043d\u044e\u0432\u0430\u0442\u0438 \u0447\u0435\u0440\u0435\u0437 GPay",zh:"\u901a\u8fc7 GPay \u9884\u8ba2"},checkout:{ar:"\u0625\u062a\u0645\u0627\u0645 \u0627\u0644\u062f\u0641\u0639 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 GPay",bg:"\u041f\u043b\u0430\u0449\u0430\u043d\u0435 \u0447\u0440\u0435\u0437 GPay",ca:"Tramita la compra amb GPay",cs:"Zaplatit s GPay",da:"Betal med GPay",de:"Mit GPay bezahlen",el:"\u039f\u03bb\u03bf\u03ba\u03bb\u03ae\u03c1\u03c9\u03c3\u03b7 \u03b1\u03b3\u03bf\u03c1\u03ac\u03c2 \u03bc\u03b5 GPay",en:"Checkout with GPay",es:"Confirmar compra con GPay",et:"Tasu GPayga",fi:"Osta GPaylla",fr:"R\xe9gler avec GPay",hr:"Naplata uz GPay",id:"Checkout dengan GPay",it:"Vai al pagamento con GPay",ja:"GPay \u3067\u6c7a\u6e08\u3059\u308b",ko:"GPay\ub85c \uacb0\uc81c",ms:"Semak keluar dengan GPay",nl:"Betalen met GPay",no:"Betal med GPay",pl:"Zap\u0142a\u0107 przez GPay",pt:"Pagar com o GPay",ru:"\u041e\u043f\u043b\u0430\u0442\u0438\u0442\u044c \u0447\u0435\u0440\u0435\u0437 GPay",sk:"Zaplati\u0165 cez GPay",sl:"Zaklju\u010dek nakupa s storitvijo GPay",sr:"\u041f\u043b\u0430\u0442\u0438 \u0443\u0437 GPay",sv:"Handla med GPay",th:"\u0e0a\u0e33\u0e23\u0e30\u0e40\u0e07\u0e34\u0e19\u0e14\u0e49\u0e27\u0e22 GPay",tr:"GPayile \xf6deme yap",uk:"\u041e\u043f\u043b\u0430\u0442\u0438\u0442\u0438 \u0447\u0435\u0440\u0435\u0437 GPay",zh:"\u901a\u8fc7 GPay \u7ed3\u8d26"},donate:{ar:"\u0627\u0644\u062a\u0628\u0631\u0651\u0639 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 GPay",bg:"\u0414\u0430\u0440\u044f\u0432\u0430\u043d\u0435 \u0447\u0440\u0435\u0437 GPay",ca:"Fes una donaci\xf3 amb GPay",cs:"Darovat s GPay",da:"Doner med GPay",de:"Mit GPay spenden",el:"\u0394\u03c9\u03c1\u03b5\u03ac \u03bc\u03b5 GPay",en:"Donate with GPay",es:"Donar con GPay",et:"Anneta GPayga",fi:"Lahjoita GPaylla",fr:"Donner avec GPay",hr:"Donacija uz GPay",id:"Beri donasi dengan GPay",it:"Fai una donazione con GPay",ja:"GPay \u3067\u5bc4\u4ed8\u3059\u308b",ko:"GPay\ub85c \uae30\ubd80",ms:"Derma dengan GPay",nl:"Doneren met GPay",no:"Don\xe9r med GPay",pl:"Przeka\u017c darowizn\u0119 przez GPay",pt:"Doar com o GPay",ru:"\u041f\u043e\u0436\u0435\u0440\u0442\u0432\u043e\u0432\u0430\u0442\u044c \u0447\u0435\u0440\u0435\u0437 GPay",sk:"Darova\u0165 cez GPay",sl:"Donacija s storitvijo GPay",sr:"\u0414\u043e\u043d\u0438\u0440\u0430\u0458 \u0443\u0437 GPay",sv:"Donera med GPay",th:"\u0e1a\u0e23\u0e34\u0e08\u0e32\u0e04\u0e14\u0e49\u0e27\u0e22 GPay",tr:"GPayile ba\u011f\u0131\u015f yap",uk:"\u041f\u043e\u0436\u0435\u0440\u0442\u0432\u0443\u0432\u0430\u0442\u0438 \u0447\u0435\u0440\u0435\u0437 GPay",zh:"\u901a\u8fc7 GPay \u6350\u6b3e"},order:{ar:"\u0627\u0644\u0637\u0644\u0628 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 GPay",bg:"\u041f\u043e\u0440\u044a\u0447\u0432\u0430\u043d\u0435 \u0447\u0440\u0435\u0437 GPay",ca:"Fes una comanda amb GPay",cs:"Objednat s GPay",da:"Bestil med GPay",de:"Mit GPay bestellen",el:"\u03a0\u03b1\u03c1\u03b1\u03b3\u03b3\u03b5\u03bb\u03af\u03b1 \u03bc\u03b5 GPay",en:"Order with GPay",es:"Realizar pedido con GPay",et:"Telli GPayga",fi:"Tee tilaus GPaylla",fr:"Commander avec GPay",hr:"Narud\u017eba uz GPay",id:"Pesan dengan GPay",it:"Ordina con GPay",ja:"GPay \u3067\u6ce8\u6587\u3059\u308b",ko:"GPay\ub85c \uc8fc\ubb38",ms:"Pesan dengan GPay",nl:"Bestellen met GPay",no:"Bestill med GPay",pl:"Zam\xf3w z GPay",pt:"Pedir com o GPay",ru:"\u0417\u0430\u043a\u0430\u0437\u0430\u0442\u044c \u0447\u0435\u0440\u0435\u0437 GPay",sk:"Objedna\u0165 cez GPay",sl:"Naro\u010dilo s storitvijo GPay",sr:"\u041f\u043e\u0440\u0443\u0447\u0438 \u0443\u0437 GPay ",sv:"Best\xe4lla med GPay",th:"\u0e2a\u0e31\u0e48\u0e07\u0e0b\u0e37\u0e49\u0e2d\u0e14\u0e49\u0e27\u0e22 GPay",tr:"GPayile sipari\u015f ver",uk:"\u0417\u0430\u043c\u043e\u0432\u0438\u0442\u0438 \u0447\u0435\u0440\u0435\u0437 GPay",zh:"\u901a\u8fc7 GPay \u8ba2\u8d2d"},pay:{ar:"\u0627\u0644\u062f\u0641\u0639 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 GPay",bg:"\u041f\u043b\u0430\u0449\u0430\u043d\u0435 \u0447\u0440\u0435\u0437 GPay",ca:"Paga amb GPay",cs:"Zaplatit s GPay",da:"Betal med GPay",de:"Mit GPay bezahlen",el:"\u03a0\u03bb\u03b7\u03c1\u03c9\u03bc\u03ae \u03bc\u03b5 GPay",en:"Pay with GPay",es:"Pagar con GPay",et:"Maksa GPayga",fi:"Maksa GPaylla",fr:"Payer avec GPay",hr:"Pla\u0107anje uz GPay",id:"Bayar dengan GPay",it:"Paga con GPay",ja:"GPay \u3067\u652f\u6255\u3046",ko:"GPay\ub85c \uacb0\uc81c",ms:"Bayar dengan GPay",nl:"Betalen met GPay",no:"Betal med GPay",pl:"Zap\u0142a\u0107 przez GPay",pt:"Pagar com o GPay",ru:"\u0420\u0430\u0441\u043f\u043b\u0430\u0442\u0438\u0442\u044c\u0441\u044f \u0447\u0435\u0440\u0435\u0437 GPay",sk:"Zaplati\u0165 cez GPay",sl:"Pla\u010dilo s storitvijo GPay",sr:"\u041f\u043b\u0430\u0442\u0438 \u0443\u0437 GPay",sv:"Betala med GPay",th:"\u0e0a\u0e33\u0e23\u0e30\u0e40\u0e07\u0e34\u0e19\u0e14\u0e49\u0e27\u0e22 GPay",tr:"GPayile \xf6de",uk:"\u0421\u043f\u043b\u0430\u0442\u0438\u0442\u0438 \u0447\u0435\u0440\u0435\u0437 GPay",zh:"\u901a\u8fc7 GPay \u4ed8\u6b3e"},subscribe:{ar:"\u0627\u0644\u0627\u0634\u062a\u0631\u0627\u0643 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 GPay",bg:"\u0410\u0431\u043e\u043d\u0438\u0440\u0430\u043d\u0435 \u0447\u0440\u0435\u0437 GPay",ca:"Subscriu-te amb GPay",cs:"P\u0159edplatit s GPay",da:"Abonner med GPay",de:"Mit GPay abonnieren",el:"\u0395\u03b3\u03b3\u03c1\u03b1\u03c6\u03ae \u03bc\u03b5 GPay",en:"Subscribe with GPay",es:"Suscribirse con GPay",et:"Telli GPayga",fi:"Tilaa GPaylla",fr:"S'abonner avecGPay",hr:"Pretplata uz GPay",id:"Berlangganan dengan GPay",it:"Abbonati con GPay",ja:"GPay \u3067\u5b9a\u671f\u8cfc\u5165\u3059\u308b",ko:"GPay\ub85c \uad6c\ub3c5",ms:"Langgan dengan GPay",nl:"Abonneren met GPay",no:"Abonner med GPay",pl:"Zasubskrybuj z GPay",pt:"Assinar com o GPay",ru:"\u041f\u043e\u0434\u043f\u0438\u0441\u0430\u0442\u044c\u0441\u044f \u0447\u0435\u0440\u0435\u0437 GPay",sk:"Odobera\u0165 cez GPay",sl:"Sklenitev naro\u010dnine s storitvijo GPay",sr:"\u041f\u0440\u0435\u0442\u043f\u043b\u0430\u0442\u0430 \u0443\u0437 GPay",sv:"Prenumerera med GPay",th:"\u0e2a\u0e21\u0e31\u0e04\u0e23\u0e43\u0e0a\u0e49\u0e1a\u0e23\u0e34\u0e01\u0e32\u0e23\u0e14\u0e49\u0e27\u0e22 GPay",tr:"GPayile abone ol",uk:"\u041e\u0444\u043e\u0440\u043c\u0438\u0442\u0438 \u043f\u0456\u0434\u043f\u0438\u0441\u043a\u0443 \u0447\u0435\u0440\u0435\u0437 GPay",zh:"\u901a\u8fc7 GPay \u8ba2\u9605"}},Qs={GPAY_BUTTON_VARIANT_TYPE_BNPL_CARD:{ar:"\u0627\u0644\u062f\u0641\u0639 \u0627\u0644\u0622\u0646 \u0623\u0648 \u0644\u0627\u062d\u0642\u064b\u0627 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 Google Pay",bg:"\u041f\u043b\u0430\u0442\u0435\u0442\u0435 \u0441\u0435\u0433\u0430 \u0438\u043b\u0438 \u043f\u043e-\u043a\u044a\u0441\u043d\u043e \u0441 Google Pay",ca:"Paga ara o m\xe9s tard amb Google Pay",cs:"Pla\u0165te ihned nebo pozd\u011bji s Google Pay",da:"Betal nu eller senere med Google Pay",de:"Jetzt oder sp\xe4ter mit Google Pay bezahlen",el:"\u03a0\u03bb\u03b7\u03c1\u03c9\u03bc\u03ae \u03c4\u03ce\u03c1\u03b1 \u03ae \u03b1\u03c1\u03b3\u03cc\u03c4\u03b5\u03c1\u03b1 \u03bc\u03b5 \u03c4\u03bf Google Pay",en:"Pay Now or Later with Google Pay",es:"Paga ahora o m\xe1s tarde con Google Pay",et:"Makske kohe v\xf5i hiljem koos Google Payga",fi:"Maksa nyt tai my\xf6hemmin Google Paylla",fr:"Payer maintenant ou plus tard avec Google Pay",hr:"Platite odmah ili kasnije uz Google Pay",id:"Bayar Sekarang atau Nanti dengan Google Pay",it:"Paga ora o dopo con Google Pay",ja:"Google Pay \u3067\u4eca\u3059\u3050\u652f\u6255\u3046\u304b\u3001\u5f8c\u3067\u652f\u6255\u3046",ko:"Google Pay\uc5d0\uc11c \uc9c0\uae08 \ub610\ub294 \ub098\uc911\uc5d0 \uacb0\uc81c",ms:"Bayar Sekarang atau Kemudian dengan Google Pay",nl:"Betaal nu of later met Google Pay",no:"Betal n\xe5 eller senere med Google Pay",pl:"Zap\u0142a\u0107 teraz lub p\xf3\u017aniej za pomoc\u0105 Google Pay",pt:"Pagar agora ou depois com o Google Pay",ru:"\u041f\u043b\u0430\u0442\u0438\u0442\u0435 \u0447\u0435\u0440\u0435\u0437 Google Pay \u0441\u0440\u0430\u0437\u0443 \u0438\u043b\u0438 \u0432 \u0440\u0430\u0441\u0441\u0440\u043e\u0447\u043a\u0443",sk:"Zaplati\u0165 teraz alebo nesk\xf4r cez Google Pay",sl:"Pla\u010dajte zdaj ali pozneje z Googlom Pay",sr:"\u041f\u043b\u0430\u0442\u0438\u0442\u0435 \u043e\u0434\u043c\u0430\u0445 \u0438\u043b\u0438 \u043a\u0430\u0441\u043d\u0438\u0458\u0435 \u043f\u043e\u043c\u043e\u045b\u0443 Google Pay-\u0430",sv:"Betala nu eller senare med Google Pay",th:"\u0e08\u0e48\u0e32\u0e22\u0e15\u0e2d\u0e19\u0e19\u0e35\u0e49\u0e2b\u0e23\u0e37\u0e2d\u0e08\u0e48\u0e32\u0e22\u0e17\u0e35\u0e2b\u0e25\u0e31\u0e07\u0e44\u0e14\u0e49\u0e14\u0e49\u0e27\u0e22 Google Pay",tr:"Google Pay ile \u015eimdi veya Sonra \xd6de",uk:"\u041e\u043f\u043b\u0430\u0442\u0456\u0442\u044c \u0437\u0430\u0440\u0430\u0437 \u0430\u0431\u043e \u043f\u0456\u0437\u043d\u0456\u0448\u0435 \u0447\u0435\u0440\u0435\u0437 Google Pay",zh:"\u901a\u8fc7 Google Pay \u53ef\u7acb\u5373\u4ed8\u6b3e\u6216\u65e5\u540e\u4ed8\u6b3e"},GPAY_BUTTON_VARIANT_TYPE_BNPL_ONLY:{ar:'\u0645\u064a\u0632\u0629 "\u0627\u0644\u062f\u0641\u0639 \u0644\u0627\u062d\u0642\u064b\u0627" \u0645\u062a\u0627\u062d\u0629 \u0645\u0639 Google Pay',bg:"\u0424\u0443\u043d\u043a\u0446\u0438\u044f\u0442\u0430 \u201e\u041f\u043b\u0430\u0449\u0430\u043d\u0435 \u043f\u043e-\u043a\u044a\u0441\u043d\u043e\u201c \u0435 \u043d\u0430\u043b\u0438\u0446\u0435 \u0441 Google Pay",ca:"Paga m\xe9s tard disponible amb Google Pay",cs:"Zaplatit pozd\u011bji dostupn\xe9 s Google Pay",da:"Betal senere er tilg\xe6ngeligt med Google Pay",de:"\u201eSp\xe4ter bezahlen\u201c mit Google Pay verf\xfcgbar",el:"\u039c\u03b5 \u03c4\u03bf Google Pay, \u03b4\u03b9\u03b1\u03c4\u03af\u03b8\u03b5\u03c4\u03b1\u03b9 \u03b7 \u03b5\u03c0\u03b9\u03bb\u03bf\u03b3\u03ae \u03a0\u03bb\u03b7\u03c1\u03c9\u03bc\u03ae \u03b1\u03c1\u03b3\u03cc\u03c4\u03b5\u03c1\u03b1",en:"Pay Later available with Google Pay",es:"Pago m\xe1s tarde disponible con Google Pay",et:"Funktsioon Maksa hiljem saadaval koos Google Payga",fi:"Maksa my\xf6hemmin Google Paylla",fr:"Payer plus tard avec Google Pay",hr:"Pla\u0107anje kasnije dostupno je uz Google Pay",id:"Bayar Nanti tersedia dengan Google Pay",it:"Paga dopo disponibile con Google Pay",ja:"Google Pay \u3067\u5f8c\u6255\u3044\u304c\u5229\u7528\u53ef\u80fd",ko:"Google Pay\uc5d0\uc11c \ub098\uc911\uc5d0 \uacb0\uc81c \uac00\ub2a5",ms:"Bayar Kemudian tersedia dengan Google Pay",nl:"Betaal later is beschikbaar met Google Pay",no:"\xabBetal senere\xbb er tilgjengelig med Google Pay",pl:"Funkcja Zap\u0142a\u0107 p\xf3\u017aniej jest dost\u0119pna w Google Pay",pt:"Pagar depois dispon\xedvel com o Google Pay",ru:"\u0427\u0435\u0440\u0435\u0437 Google Pay \u043c\u043e\u0436\u043d\u043e \u043f\u043b\u0430\u0442\u0438\u0442\u044c \u0432 \u0440\u0430\u0441\u0441\u0440\u043e\u0447\u043a\u0443",sk:"Mo\u017enos\u0165 Zaplati\u0165 nesk\xf4r je k dispoz\xedcii v slu\u017ebe Google Pay",sl:"Poznej\u0161e pla\u010dilo je na voljo z Googlom Pay",sr:"\u041e\u043f\u0446\u0438\u0458\u0430 \u041f\u043b\u0430\u0442\u0438 \u043a\u0430\u0441\u043d\u0438\u0458\u0435 \u0458\u0435 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u0430 \u0443\u0437 Google Pay",sv:"Betala senare \xe4r tillg\xe4ngligt med Google Pay",th:"\u0e08\u0e48\u0e32\u0e22\u0e17\u0e35\u0e2b\u0e25\u0e31\u0e07\u0e44\u0e14\u0e49\u0e14\u0e49\u0e27\u0e22 Google Pay",tr:"Google Pay ile Sonra \xd6de se\xe7ene\u011fi kullan\u0131labilir.",uk:"\u041e\u043f\u043b\u0430\u0442\u0456\u0442\u044c \u043f\u0456\u0437\u043d\u0456\u0448\u0435 \u0447\u0435\u0440\u0435\u0437 Google Pay",zh:"Google Pay \u652f\u6301\u65e5\u540e\u4ed8\u6b3e"},GPAY_BUTTON_VARIANT_TYPE_OLYMPICS:{buy:{ar:"\u0627\u0644\u0634\u0631\u0627\u0621 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 Google Pay (\u0645\u0646\u0627\u0641\u0633\u0648\u0646 \u062f\u0648\u0644\u064a\u0648\u0646 \u064a\u0633\u0628\u062d\u0648\u0646 \u0644\u062a\u062d\u0642\u064a\u0642 \u0627\u0644\u0641\u0648\u0632)",bg:"\u041a\u0443\u043f\u0435\u0442\u0435 \u0441 Google Pay. \u041c\u0435\u0436\u0434\u0443\u043d\u0430\u0440\u043e\u0434\u043d\u0438 \u043a\u043e\u043d\u043a\u0443\u0440\u0435\u043d\u0442\u0438, \u043f\u043b\u0443\u0432\u0430\u0449\u0438 \u043a\u044a\u043c \u043f\u043e\u0431\u0435\u0434\u0430\u0442\u0430",ca:"Compra amb Google Pay. Competidors internacionals nedant cap a la vict\xf2ria.",cs:"Nakupujte pomoc\xed Google Pay. Mezin\xe1rodn\xed z\xe1vodn\xedci plavou k v\xedt\u011bzstv\xed",da:"K\xf8b med Google Pay. Internationale konkurrenter sv\xf8mmer mod sejren",de:"Mit Google Pay kaufen. Internationale Schwimmer auf dem Weg zu Gold",el:"\u0391\u03b3\u03bf\u03c1\u03ac \u03bc\u03b5 Google Pay. \u0391\u03bd\u03c4\u03af\u03c0\u03b1\u03bb\u03bf\u03b9 \u03b1\u03c0\u03cc \u03cc\u03bb\u03bf \u03c4\u03bf\u03bd \u03ba\u03cc\u03c3\u03bc\u03bf \u03ba\u03bf\u03bb\u03c5\u03bc\u03c0\u03bf\u03cd\u03bd \u03c0\u03c1\u03bf\u03c2 \u03c4\u03b7 \u03bd\u03af\u03ba\u03b7",en:"Buy with Google Pay. International competitors swimming toward victory",es:"Comprar con Google Pay. Competidores internacionales nadando hacia la victoria",et:"Ostke Google Payga. Rahvusvahelisel v\xf5istlusel v\xf5idu poole ujujad",fi:"Osta Google Paylla. Kansainv\xe4liset kilpailijat uimassa kohti voittoa",fr:"Acheter avec Google Pay. Nageurs qui s'\xe9lancent vers la victoire dans une comp\xe9tition internationale.",hr:"Kupite uz Google Pay. Me\u0111unarodni natjecatelji plivaju prema pobjedi",id:"Beli dengan Google Pay. Peserta dari berbagai negara berupaya meraih kemenangan",it:"Acquista con Google Pay. Atleti internazionali che nuotano verso la vittoria",ja:"Google Pay \u3067\u8cfc\u5165\u3002\u52dd\u5229\u3092\u76ee\u6307\u3057\u3066\u6cf3\u3050\u5404\u56fd\u306e\u9078\u624b\u305f\u3061",ko:"Google Pay\ub85c \uad6c\ub9e4. \uc2b9\ub9ac\ub97c \ud5a5\ud574 \ud5e4\uc5c4\uce58\ub294 \uc804 \uc138\uacc4 \uc120\uc218\ub4e4",ms:"Beli melalui Google Pay. Pesaing antarabangsa berenang untuk meraih kejayaan",nl:"Kopen met Google Pay. Internationale concurrenten zwemmen naar de overwinning.",no:"Kj\xf8p med Google Pay. Konkurrenter fra ulike land sv\xf8mmer mot seier",pl:"Zap\u0142a\u0107 przez Google Pay Mi\u0119dzynarodowi zawodnicy p\u0142yn\u0105cy po zwyci\u0119stwo",pt:"Comprar com o Google Pay. Os competidores internacionais est\xe3o nadando em dire\xe7\xe3o \xe0 vit\xf3ria",ru:"\u041e\u043f\u043b\u0430\u0442\u0438\u0442\u044c \u0447\u0435\u0440\u0435\u0437 Google Pay. \u0423\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u0438 \u043c\u0435\u0436\u0434\u0443\u043d\u0430\u0440\u043e\u0434\u043d\u043e\u0433\u043e \u0441\u043e\u0440\u0435\u0432\u043d\u043e\u0432\u0430\u043d\u0438\u044f \u043f\u043b\u044b\u0432\u0443\u0442 \u043a \u0444\u0438\u043d\u0438\u0448\u0443",sk:"K\xfapi\u0165 cez Google Pay. Medzin\xe1rodn\xed pretek\xe1ri pl\xe1vaj\xfaci za v\xed\u0165azstvom",sl:"Nakup z Googlom Pay. Mednarodni tekmovalci, ki plavajo proti zmagi",sr:"\u041a\u0443\u043f\u0438\u0442\u0435 \u043f\u043e\u043c\u043e\u045b\u0443 Google Pay-\u0430. \u041c\u0435\u0452\u0443\u043d\u0430\u0440\u043e\u0434\u043d\u0438 \u0442\u0430\u043a\u043c\u0438\u0447\u0430\u0440\u0438 \u043f\u043b\u0438\u0432\u0430\u0458\u0443 \u043a\u0430 \u043f\u043e\u0431\u0435\u0434\u0438",sv:"K\xf6p med Google Pay. Internationella konkurrenter som simmar mot seger",th:"\u0e0b\u0e37\u0e49\u0e2d\u0e14\u0e49\u0e27\u0e22 Google Pay \u0e40\u0e2b\u0e25\u0e48\u0e32\u0e19\u0e31\u0e01\u0e01\u0e35\u0e2c\u0e32\u0e27\u0e48\u0e32\u0e22\u0e19\u0e49\u0e33\u0e08\u0e32\u0e01\u0e19\u0e32\u0e19\u0e32\u0e1b\u0e23\u0e30\u0e40\u0e17\u0e28\u0e15\u0e48\u0e32\u0e07\u0e21\u0e38\u0e48\u0e07\u0e40\u0e02\u0e49\u0e32\u0e2a\u0e39\u0e48\u0e40\u0e2a\u0e49\u0e19\u0e0a\u0e31\u0e22",tr:"Google pay ile sat\u0131n al. Zafere do\u011fru y\xfczen uluslararas\u0131 yar\u0131\u015fmac\u0131lar.",uk:"\u041e\u043f\u043b\u0430\u0442\u0438\u0442\u0438 \u0447\u0435\u0440\u0435\u0437 Google Pay. \u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043d\u0438\u043a\u0438 \u0440\u0456\u0437\u043d\u0438\u0445 \u043a\u0440\u0430\u0457\u043d \u0437\u043c\u0430\u0433\u0430\u044e\u0442\u044c\u0441\u044f \u0437\u0430 \u043f\u0435\u0440\u0435\u043c\u043e\u0433\u0443 \u0432 \u043f\u043b\u0430\u0432\u0430\u043d\u043d\u0456.",zh:"\u4f7f\u7528 Google Pay \u4ed8\u6b3e\u3002\u591a\u540d\u56fd\u9645\u9009\u624b\u5728\u6e38\u5411\u80dc\u5229"},pay:{ar:"\u0627\u0644\u062f\u0641\u0639 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 Google Pay (\u0645\u0646\u0627\u0641\u0633\u0648\u0646 \u062f\u0648\u0644\u064a\u0648\u0646 \u064a\u0633\u0628\u062d\u0648\u0646 \u0644\u062a\u062d\u0642\u064a\u0642 \u0627\u0644\u0641\u0648\u0632)",bg:"\u041f\u043b\u0430\u0442\u0435\u0442\u0435 \u0441 Google Pay. \u041c\u0435\u0436\u0434\u0443\u043d\u0430\u0440\u043e\u0434\u043d\u0438 \u043a\u043e\u043d\u043a\u0443\u0440\u0435\u043d\u0442\u0438, \u043f\u043b\u0443\u0432\u0430\u0449\u0438 \u043a\u044a\u043c \u043f\u043e\u0431\u0435\u0434\u0430\u0442\u0430",ca:"Paga amb Google Pay. Competidors internacionals nedant cap a la vict\xf2ria.",cs:"Pla\u0165te pomoc\xed Google Pay. Mezin\xe1rodn\xed z\xe1vodn\xedci plavou k v\xedt\u011bzstv\xed",da:"Betal med Google Pay. Internationale konkurrenter sv\xf8mmer mod sejren",de:"\xdcber mein Google-Konto bezahlen. Internationale Schwimmer auf dem Weg zu Gold",el:"\u03a0\u03bb\u03b7\u03c1\u03ce\u03c3\u03c4\u03b5 \u03bc\u03ad\u03c3\u03c9 Google Pay. \u0391\u03bd\u03c4\u03af\u03c0\u03b1\u03bb\u03bf\u03b9 \u03b1\u03c0\u03cc \u03cc\u03bb\u03bf \u03c4\u03bf\u03bd \u03ba\u03cc\u03c3\u03bc\u03bf \u03ba\u03bf\u03bb\u03c5\u03bc\u03c0\u03bf\u03cd\u03bd \u03c0\u03c1\u03bf\u03c2 \u03c4\u03b7 \u03bd\u03af\u03ba\u03b7",en:"Pay with Google Pay. International competitors swimming toward victory",es:"Pagar con Google Pay. Competidores internacionales nadando hacia la victoria",et:"Makske Google Payga. Rahvusvahelisel v\xf5istlusel v\xf5idu poole ujujad",fi:"Maksa Google Paylla. Kansainv\xe4liset kilpailijat uimassa kohti voittoa",fr:"Payer avec Google Pay. Nageurs qui s'\xe9lancent vers la victoire dans une comp\xe9tition internationale.",hr:"Platite uz Google Pay. Me\u0111unarodni natjecatelji plivaju prema pobjedi",id:"Bayar dengan Google Pay. Peserta dari berbagai negara berupaya meraih kemenangan",it:"Paga con Google Pay. Atleti internazionali che nuotano verso la vittoria",ja:"Google Pay \u3067\u304a\u652f\u6255\u3044\u3002\u52dd\u5229\u3092\u76ee\u6307\u3057\u3066\u6cf3\u3050\u5404\u56fd\u306e\u9078\u624b\u305f\u3061",ko:"Google Pay\ub85c \uacb0\uc81c. \uc2b9\ub9ac\ub97c \ud5a5\ud574 \ud5e4\uc5c4\uce58\ub294 \uc804 \uc138\uacc4 \uc120\uc218\ub4e4",ms:"Bayar dengan Google Pay. Pesaing antarabangsa berenang untuk meraih kejayaan",nl:"Betalen met Google Pay. Internationale concurrenten zwemmen naar de overwinning.",no:"Betal med Google Pay. Konkurrenter fra ulike land sv\xf8mmer mot seier",pl:"Zap\u0142a\u0107 przez Google Pay Mi\u0119dzynarodowi zawodnicy p\u0142yn\u0105cy po zwyci\u0119stwo",pt:"Pagar com o Google Pay. Os competidores internacionais est\xe3o nadando em dire\xe7\xe3o \xe0 vit\xf3ria",ru:"\u041e\u043f\u043b\u0430\u0442\u0438\u0442\u044c \u0447\u0435\u0440\u0435\u0437 Google Pay. \u0423\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u0438 \u043c\u0435\u0436\u0434\u0443\u043d\u0430\u0440\u043e\u0434\u043d\u043e\u0433\u043e \u0441\u043e\u0440\u0435\u0432\u043d\u043e\u0432\u0430\u043d\u0438\u044f \u043f\u043b\u044b\u0432\u0443\u0442 \u043a \u0444\u0438\u043d\u0438\u0448\u0443",sk:"Zaplati\u0165 cez Google Pay. Medzin\xe1rodn\xed pretek\xe1ri pl\xe1vaj\xfaci za v\xed\u0165azstvom",sl:"Pla\u010dajte z Googlom Pay. Mednarodni tekmovalci, ki plavajo proti zmagi",sr:"\u041f\u043b\u0430\u0442\u0438\u0442\u0435 \u043f\u043e\u043c\u043e\u045b\u0443 Google Pay-\u0430. \u041c\u0435\u0452\u0443\u043d\u0430\u0440\u043e\u0434\u043d\u0438 \u0442\u0430\u043a\u043c\u0438\u0447\u0430\u0440\u0438 \u043f\u043b\u0438\u0432\u0430\u0458\u0443 \u043a\u0430 \u043f\u043e\u0431\u0435\u0434\u0438",sv:"Betala med Google Pay. Internationella konkurrenter som simmar mot seger",th:"\u0e0a\u0e33\u0e23\u0e30\u0e40\u0e07\u0e34\u0e19\u0e14\u0e49\u0e27\u0e22 Google Pay \u0e40\u0e2b\u0e25\u0e48\u0e32\u0e19\u0e31\u0e01\u0e01\u0e35\u0e2c\u0e32\u0e27\u0e48\u0e32\u0e22\u0e19\u0e49\u0e33\u0e08\u0e32\u0e01\u0e19\u0e32\u0e19\u0e32\u0e1b\u0e23\u0e30\u0e40\u0e17\u0e28\u0e15\u0e48\u0e32\u0e07\u0e21\u0e38\u0e48\u0e07\u0e40\u0e02\u0e49\u0e32\u0e2a\u0e39\u0e48\u0e40\u0e2a\u0e49\u0e19\u0e0a\u0e31\u0e22",tr:"Google Pay ile \xf6de. Zafere do\u011fru y\xfczen uluslararas\u0131 yar\u0131\u015fmac\u0131lar.",uk:"\u041e\u043f\u043b\u0430\u0442\u0438\u0442\u0438 \u0447\u0435\u0440\u0435\u0437 Google Pay. \u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043d\u0438\u043a\u0438 \u0440\u0456\u0437\u043d\u0438\u0445 \u043a\u0440\u0430\u0457\u043d \u0437\u043c\u0430\u0433\u0430\u044e\u0442\u044c\u0441\u044f \u0437\u0430 \u043f\u0435\u0440\u0435\u043c\u043e\u0433\u0443 \u0432 \u043f\u043b\u0430\u0432\u0430\u043d\u043d\u0456.",zh:"\u901a\u8fc7 Google Pay \u4ed8\u6b3e\u3002\u591a\u540d\u56fd\u9645\u9009\u624b\u5728\u6e38\u5411\u80dc\u5229"},plain:{ar:"\u202bGoogle Pay (\u0645\u0646\u0627\u0641\u0633\u0648\u0646 \u062f\u0648\u0644\u064a\u0648\u0646 \u064a\u0633\u0628\u062d\u0648\u0646 \u0644\u062a\u062d\u0642\u064a\u0642 \u0627\u0644\u0641\u0648\u0632)",bg:"Google Pay. \u041c\u0435\u0436\u0434\u0443\u043d\u0430\u0440\u043e\u0434\u043d\u0438 \u043a\u043e\u043d\u043a\u0443\u0440\u0435\u043d\u0442\u0438, \u043f\u043b\u0443\u0432\u0430\u0449\u0438 \u043a\u044a\u043c \u043f\u043e\u0431\u0435\u0434\u0430\u0442\u0430",ca:"Google Pay. Competidors internacionals nedant cap a la vict\xf2ria.",cs:"Google Pay. Mezin\xe1rodn\xed z\xe1vodn\xedci plavou k v\xedt\u011bzstv\xed",da:"Google Pay. Internationale konkurrenter sv\xf8mmer mod sejren",de:"Google Pay. Internationale Schwimmer auf dem Weg zu Gold",el:"Google Pay. \u0391\u03bd\u03c4\u03af\u03c0\u03b1\u03bb\u03bf\u03b9 \u03b1\u03c0\u03cc \u03cc\u03bb\u03bf \u03c4\u03bf\u03bd \u03ba\u03cc\u03c3\u03bc\u03bf \u03ba\u03bf\u03bb\u03c5\u03bc\u03c0\u03bf\u03cd\u03bd \u03c0\u03c1\u03bf\u03c2 \u03c4\u03b7 \u03bd\u03af\u03ba\u03b7",en:"Google Pay. International competitors swimming toward victory",es:"Google Pay. Competidores internacionales nadando hacia la victoria",et:"Google Pay. Rahvusvahelisel v\xf5istlusel v\xf5idu poole ujujad",fi:"Google Pay. Kansainv\xe4liset kilpailijat uimassa kohti voittoa",fr:"Google Pay. Nageurs qui s'\xe9lancent vers la victoire dans une comp\xe9tition internationale.",hr:"Google Pay. Me\u0111unarodni natjecatelji plivaju prema pobjedi",id:"Google Pay. Peserta dari berbagai negara berupaya meraih kemenangan",it:"Google Pay. Atleti internazionali che nuotano verso la vittoria",ja:"Google Pay\u3002\u52dd\u5229\u3092\u76ee\u6307\u3057\u3066\u6cf3\u3050\u5404\u56fd\u306e\u9078\u624b\u305f\u3061",ko:"Google Pay. \uc2b9\ub9ac\ub97c \ud5a5\ud574 \ud5e4\uc5c4\uce58\ub294 \uc804 \uc138\uacc4 \uc120\uc218\ub4e4",ms:"Google Pay. Pesaing antarabangsa berenang untuk meraih kejayaan",nl:"Google Pay. Internationale concurrenten zwemmen naar de overwinning.",no:"Google Pay. Konkurrenter fra ulike land sv\xf8mmer mot seier",pl:"Google Pay Mi\u0119dzynarodowi zawodnicy p\u0142yn\u0105cy po zwyci\u0119stwo",pt:"Google Pay. Os competidores internacionais est\xe3o nadando em dire\xe7\xe3o \xe0 vit\xf3ria",ru:"Google Pay. \u0423\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u0438 \u043c\u0435\u0436\u0434\u0443\u043d\u0430\u0440\u043e\u0434\u043d\u043e\u0433\u043e \u0441\u043e\u0440\u0435\u0432\u043d\u043e\u0432\u0430\u043d\u0438\u044f \u043f\u043b\u044b\u0432\u0443\u0442 \u043a \u0444\u0438\u043d\u0438\u0448\u0443",sk:"Google Pay. Medzin\xe1rodn\xed pretek\xe1ri pl\xe1vaj\xfaci za v\xed\u0165azstvom",sl:"Google Pay. Mednarodni tekmovalci, ki plavajo proti zmagi",sr:"Google Pay. \u041c\u0435\u0452\u0443\u043d\u0430\u0440\u043e\u0434\u043d\u0438 \u0442\u0430\u043a\u043c\u0438\u0447\u0430\u0440\u0438 \u043f\u043b\u0438\u0432\u0430\u0458\u0443 \u043a\u0430 \u043f\u043e\u0431\u0435\u0434\u0438",sv:"Google Pay. Internationella konkurrenter som simmar mot seger",th:"Google Pay \u0e40\u0e2b\u0e25\u0e48\u0e32\u0e19\u0e31\u0e01\u0e01\u0e35\u0e2c\u0e32\u0e27\u0e48\u0e32\u0e22\u0e19\u0e49\u0e33\u0e08\u0e32\u0e01\u0e19\u0e32\u0e19\u0e32\u0e1b\u0e23\u0e30\u0e40\u0e17\u0e28\u0e15\u0e48\u0e32\u0e07\u0e21\u0e38\u0e48\u0e07\u0e40\u0e02\u0e49\u0e32\u0e2a\u0e39\u0e48\u0e40\u0e2a\u0e49\u0e19\u0e0a\u0e31\u0e22",tr:"Google Pay. Zafere do\u011fru y\xfczen uluslararas\u0131 yar\u0131\u015fmac\u0131lar.",uk:"Google Pay. \u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043d\u0438\u043a\u0438 \u0440\u0456\u0437\u043d\u0438\u0445 \u043a\u0440\u0430\u0457\u043d \u0437\u043c\u0430\u0433\u0430\u044e\u0442\u044c\u0441\u044f \u0437\u0430 \u043f\u0435\u0440\u0435\u043c\u043e\u0433\u0443 \u0432 \u043f\u043b\u0430\u0432\u0430\u043d\u043d\u0456.",zh:"Google Pay\u3002 \u591a\u540d\u56fd\u9645\u9009\u624b\u5728\u6e38\u5411\u80dc\u5229"}},GPAY_BUTTON_VARIANT_TYPE_RLMIA:{af:"Koop met Google Pay. Met Rolling Loud-10e-herdenkingkleure (pienk en grys) met palmbome om Miami voor te stel",am:"\u1260Google Pay \u12ed\u130d\u12d9\u1362 \u12e8\u122e\u120a\u1295\u130d \u120b\u12cd\u12f5 10\u129b \u12d3\u1218\u1275 \u12a2\u12ee\u1264\u120d\u12e9 \u1240\u1208\u121b\u1275\u1295 (\u1210\u121d\u122b\u12ca \u12a5\u1293 \u130d\u122b\u132b) \u121b\u12eb\u121a\u1295 \u12a8\u121a\u12c8\u12ad\u1209 \u12e8\u12d8\u1295\u1263\u1263 \u12db\u134e\u127d \u130b\u122d \u1208\u12ed\u1276 \u1260\u121b\u1245\u1228\u1265 \u120b\u12ed",ar:'\u0632\u0631 "\u0627\u0644\u0634\u0631\u0627\u0621 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 Google Pay" \u0628\u0623\u0644\u0648\u0627\u0646 \u062a\u062d\u062a\u0641\u0644 \u0628\u0627\u0644\u0630\u0643\u0631\u0649 \u0627\u0644\u0640 10 \u0644\u0645\u0647\u0631\u062c\u0627\u0646 Rolling Loud (\u0627\u0644\u0648\u0631\u062f\u064a \u0648\u0627\u0644\u0631\u0645\u0627\u062f\u064a) \u0645\u0639 \u0623\u0634\u062c\u0627\u0631 \u0646\u062e\u064a\u0644 \u062a\u0645\u062b\u0644 \u0645\u062f\u064a\u0646\u0629 \u0645\u064a\u0627\u0645\u064a',az:"Google Pay il\u0259 al\u0131n. Mayamini t\u0259msil etm\u0259k \xfc\xe7\xfcn xurma a\u011faclar\u0131 il\u0259 Rolling Loud 10-cu ild\xf6n\xfcm\xfc r\u0259ngl\u0259ri (\xe7\u0259hray\u0131 v\u0259 boz) t\u0259qdim edilir",be:"\u0410\u043f\u043b\u0430\u0446\u0456\u0446\u044c \u043f\u0440\u0430\u0437 Google Pay. \u0412\u044b\u043a\u0430\u0440\u044b\u0441\u0442\u0430\u043d\u044b \u043a\u043e\u043b\u0435\u0440\u044b, \u0432\u044b\u0431\u0440\u0430\u043d\u044b\u044f \u0434\u043b\u044f 10-\u0439 \u0433\u0430\u0434\u0430\u0432\u0456\u043d\u044b \u0444\u0435\u0441\u0442\u044b\u0432\u0430\u043b\u044e Rolling Loud (\u0440\u0443\u0436\u043e\u0432\u044b \u0456 \u0448\u044d\u0440\u044b), \u0430 \u0442\u0430\u043a\u0441\u0430\u043c\u0430 \u0432\u0456\u0434\u0430\u0440\u044b\u0441\u044b \u043f\u0430\u043b\u044c\u043c\u0430\u045e, \u044f\u043a\u0456\u044f \u0441\u0456\u043c\u0432\u0430\u043b\u0456\u0437\u0443\u044e\u0446\u044c \u041c\u0430\u044f\u043c\u0456.",bg:"\u041a\u0443\u043f\u0435\u0442\u0435 \u0441 Google Pay. \u0412\u043a\u043b\u044e\u0447\u0432\u0430 \u0446\u0432\u0435\u0442\u043e\u0432\u0435\u0442\u0435 (\u0440\u043e\u0437\u043e\u0432\u043e \u0438 \u0441\u0438\u0432\u043e) \u043e\u0442 10-\u0430\u0442\u0430 \u0433\u043e\u0434\u0438\u0448\u043d\u0438\u043d\u0430 \u043d\u0430 Rolling Loud \u0441 \u043f\u0430\u043b\u043c\u0438, \u043a\u043e\u0438\u0442\u043e \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0432\u0430\u0442 \u041c\u0430\u044f\u043c\u0438",bn:"Google Pay \u09ac\u09cd\u09af\u09ac\u09b9\u09be\u09b0 \u0995\u09b0\u09c7 \u0995\u09bf\u09a8\u09c1\u09a8\u0964 Rolling Loud-\u098f\u09b0 \u09e7\u09e6\u09ae \u09ac\u09b0\u09cd\u09b7\u09aa\u09c2\u09b0\u09cd\u09a4\u09bf\u09b0 \u09a5\u09bf\u09ae \u09b0\u0999 (\u0997\u09cb\u09b2\u09be\u09aa\u09bf \u0993 \u09a7\u09c2\u09b8\u09b0) \u098f\u09ac\u0982 \u09ae\u09bf\u09df\u09be\u09ae\u09bf\u09b0 \u09aa\u09cd\u09b0\u09a4\u09c0\u0995 \u09b9\u09bf\u09b8\u09c7\u09ac\u09c7 \u09aa\u09be\u09ae \u0997\u09be\u099b \u09a6\u09c7\u0996\u09be\u09a8\u09cb \u09b9\u09df\u09c7\u099b\u09c7",bs:"Kupite putem Google Paya. Uklju\u010duje boje 10. godi\u0161njice Rolling Louda (ru\u017ei\u010dastu i sivu) s palmama koje simboliziraju Miami",ca:"Compra amb Google Pay. Amb els colors del des\xe8 aniversari de Rolling Loud (rosa i gris) i palmeres que representen Miami.",cs:"Nakupte pomoc\xed Google Pay. S barvami 10. jubilejn\xedho ro\u010dn\xedku hudebn\xedho festivalu Rolling Loud (r\u016f\u017eovou a \u0161edou) a palmami reprezentuj\xedc\xedmi Miami",cy:"Prynu gyda Google Pay. Yn cynnwys lliwiau 10fed pen-blwydd Rolling Loud (pinc a llwyd) gyda choed palmwydd i gynrychioli Miami",da:"K\xf8b med Google Pay. Med farverne fra Rolling Louds 10-\xe5rs jubil\xe6um (pink og gr\xe5) og palmer, der repr\xe6senterer Miami",de:"Mit Google Pay kaufen. Anl\xe4sslich der 10. Ausgabe des Rolling Loud Festivals in den Jubil\xe4umsfarben Rosa und Grau gehalten. Die Palmen sollen den Veranstaltungsort Miami symbolisieren.",el:"\u0391\u03b3\u03bf\u03c1\u03ac \u03bc\u03b5 Google Pay. \u039c\u03b5 \u03c4\u03b1 \u03c7\u03c1\u03ce\u03bc\u03b1\u03c4\u03b1 \u03c4\u03b7\u03c2 10\u03b7\u03c2 \u03b5\u03c0\u03b5\u03c4\u03b5\u03af\u03bf\u03c5 \u03c4\u03bf\u03c5 Rolling Loud (\u03c1\u03bf\u03b6 \u03ba\u03b1\u03b9 \u03b3\u03ba\u03c1\u03b9) \u03ba\u03b1\u03b9 \u03c6\u03bf\u03af\u03bd\u03b9\u03ba\u03b5\u03c2 \u03c0\u03bf\u03c5 \u03b1\u03bd\u03c4\u03b9\u03c0\u03c1\u03bf\u03c3\u03c9\u03c0\u03b5\u03cd\u03bf\u03c5\u03bd \u03c4\u03bf \u039c\u03b1\u03ca\u03ac\u03bc\u03b9",en:"Buy with Google Pay. Featuring Rolling Loud 10th anniversary colours (pink and grey) with palm trees to represent Miami",es:"Comprar con Google Pay. Con los colores del d\xe9cimo aniversario de Rolling Loud (rosa y gris) y palmeras que representan Miami",La:"Comprar con Google Pay. Con los colores del 10\xba aniversario de Rolling Loud (rosa y gris) y palmeras que representan a Miami",et:"Ostke Google Payga. Kasutatud on festivali Rolling Loud 10. aastap\xe4eva v\xe4rve (roosa ja hall) ning Miamit s\xfcmboliseerivaid palmipuid",eu:"Erosi Google Pay-rekin. Rolling Loud-en 10. urteurrenaren koloreak ditu (arrosa eta grisa), Miami irudikatzen duten palmondo eta guzti.",fa:"\u062e\u0631\u06cc\u062f\u0646 \u0628\u0627 Google Pay. \u0628\u0627 \u0646\u0645\u0627\u06cc\u0634 \u0648\u06cc\u0698\u0647 \u0631\u0646\u06af\u200c\u0647\u0627\u06cc \u062f\u0647\u0645\u06cc\u0646 \u0633\u0627\u0644\u06af\u0631\u062f Rolling Loud (\u0635\u0648\u0631\u062a\u06cc \u0648 \u062e\u0627\u06a9\u0633\u062a\u0631\u06cc) \u0628\u0647\u200c\u0647\u0645\u0631\u0627\u0647 \u062f\u0631\u062e\u062a\u0627\u0646 \u0646\u062e\u0644 \u0628\u0631\u0627\u06cc \u0627\u06cc\u062c\u0627\u062f \u062d\u0627\u0644\u200c\u0648\u0647\u0648\u0627\u06cc \u0645\u06cc\u0627\u0645\u06cc",fi:"Osta Google Paylla. Kuvituksena Rolling Loudin 10-vuotisjuhlav\xe4rit (pinkki ja harmaa) ja Miamia symboloivat palmut.",fi__1:"Bumili gamit ang Google Pay. Tampok ang mga kulay ng ika-10 anibersaryo (pink at gray) ng Rolling Loud na may mga palm tree na kumakatawan sa Miami",fr:"Acheter avec Google Pay. Aux couleurs du 10e anniversaire de Rolling Loud (rose et gris) et avec des palmiers pour repr\xe9senter Miami",Ca:"Acheter avec Google Pay. Avec les couleurs du 10\u1d49 anniversaire de Rolling Loud (rose et gris) et des palmiers pour repr\xe9senter Miami",ga:"Ceannaigh le Google Pay. Ina bhfuil dathanna chom\xf3radh 10 mbliana Rolling Loud le feice\xe1il (b\xe1ndearg agus liath) agus crainn phailme chun Miami a l\xe9iri\xfa",gl:"Comprar con Google Pay. Coas as cores (rosa e gris) do X aniversario do festival Rolling Loud con palmeiras que representan Miami",gu:"Google Pay \u0ab5\u0aa1\u0ac7 \u0a96\u0ab0\u0ac0\u0aa6\u0ac0 \u0a95\u0ab0\u0acb. \u0aae\u0abe\u0aaf\u0abe\u0aae\u0ac0\u0aa8\u0ac7 \u0ab0\u0a9c\u0ac2 \u0a95\u0ab0\u0aa4\u0abe \u0aa4\u0abe\u0aa1\u0aa8\u0abe \u0ab5\u0ac3\u0a95\u0acd\u0ab7\u0acb \u0ab8\u0abe\u0aa5\u0ac7 Rolling Loud\u0aa8\u0ac0 10\u0aae\u0ac0 \u0ab5\u0ab0\u0acd\u0ab7\u0a97\u0abe\u0a82\u0aa0\u0aa8\u0abe \u0ab0\u0a82\u0a97\u0acb (\u0a97\u0ac1\u0ab2\u0abe\u0aac\u0ac0 \u0a85\u0aa8\u0ac7 \u0ab0\u0abe\u0a96\u0acb\u0aa1\u0ac0) \u0aa6\u0ab0\u0acd\u0ab6\u0abe\u0ab5\u0aa4\u0ac1\u0a82",hi:"Google Pay \u0915\u0940 \u092e\u0926\u0926 \u0938\u0947 \u0916\u0930\u0940\u0926\u0947\u0902. \u0907\u092e\u0947\u091c \u092e\u0947\u0902 \u0930\u094b\u0932\u093f\u0902\u0917 \u0932\u093e\u0909\u0921 \u092b\u093c\u0947\u0938\u094d\u091f\u093f\u0935\u0932 \u0915\u0940 10\u0935\u0940\u0902 \u0938\u093e\u0932\u0917\u093f\u0930\u0939 \u0915\u0940 \u0925\u0940\u092e, \u091c\u094b \u0917\u0941\u0932\u093e\u092c\u0940 \u0914\u0930 \u0938\u094d\u0932\u0947\u091f\u0940 \u0930\u0902\u0917\u094b\u0902 \u0915\u0947 \u0938\u093e\u0925-\u0938\u093e\u0925 \u092e\u093f\u092f\u093e\u092e\u0940 \u0915\u0940 \u092a\u0939\u091a\u093e\u0928 \u0915\u0947 \u0924\u094c\u0930 \u092a\u0930 \u0924\u093e\u0921\u093c \u0915\u0947 \u092a\u0947\u0921\u093c\u094b\u0902 \u0915\u094b \u0926\u093f\u0916\u093e\u0924\u0940 \u0939\u0948",hr:"Kupite uz Google Pay. Uklju\u010duje boje 10. godi\u0161njice festivala Rolling Loud (ru\u017ei\u010dastu i sivu) s palmama koje simboliziraju Miami",hu:"V\xe1s\xe1rl\xe1s a Google Pay haszn\xe1lat\xe1val. A Rolling Loud fesztiv\xe1l 10. \xe9vfordul\xf3j\xe1nak sz\xedneivel (r\xf3zsasz\xedn \xe9s sz\xfcrke) \xe9s p\xe1lmaf\xe1kkal, amelyek Miamit szimboliz\xe1lj\xe1k",hy:"\u0533\u0576\u0565\u056c Google Pay-\u0578\u057e\u0589 Rolling Loud \u0583\u0561\u057c\u0561\u057f\u0578\u0576\u056b 10-\u0561\u0574\u0575\u0561\u056f\u056b \u0563\u0578\u0582\u0575\u0576\u0565\u0580\u0568 (\u057e\u0561\u0580\u0564\u0561\u0563\u0578\u0582\u0575\u0576 \u0587 \u0574\u0578\u056d\u0580\u0561\u0563\u0578\u0582\u0575\u0576) \u0587 \u0561\u0580\u0574\u0561\u057e\u0565\u0576\u056b\u0576\u0565\u0580\u0568 \u056d\u0578\u0580\u0570\u0580\u0564\u0561\u0576\u0577\u0578\u0582\u0574 \u0565\u0576 \u0544\u0561\u0575\u0561\u0574\u056b\u0576",id:"Beli dengan Google Pay. Menampilkan warna ulang tahun ke-10 Rolling Loud (merah muda dan abu-abu) dengan pohon palem untuk mewakili Miami",is:"Kaupa me\xf0 Google Pay. Me\xf0 afm\xe6lislitum Rolling Loud \xed tilefni af 10 \xe1ra afm\xe6li h\xe1t\xed\xf0arinnar (bleikur og gr\xe1r) me\xf0 p\xe1lmatrj\xe1m sem t\xe1kna Miami",it:"Acquista con Google Pay. Con i colori di Rolling Loud per il 10\xb0 anniversario (rosa e grigio) e palme per rappresentare Miami",iw:"\u05ea\u05e9\u05dc\u05d5\u05dd \u05d3\u05e8\u05da Google Pay. \u05e2\u05dd \u05d4\u05e6\u05d1\u05e2\u05d9\u05dd \u05e9\u05dc \u05d9\u05d5\u05dd \u05d4\u05e9\u05e0\u05d4 \u05d4\u05e2\u05e9\u05d9\u05e8\u05d9 \u05e9\u05dc \u05e4\u05e1\u05d8\u05d9\u05d1\u05dc Rolling Loud (\u05d5\u05e8\u05d5\u05d3 \u05d5\u05d0\u05e4\u05d5\u05e8) \u05d5\u05e2\u05e6\u05d9 \u05d3\u05e7\u05dc \u05e9\u05de\u05d9\u05d9\u05e6\u05d2\u05d9\u05dd \u05d0\u05ea \u05de\u05d9\u05d0\u05de\u05d9",ja:"Google Pay \u3067\u8cfc\u5165\u3002Rolling Loud \u306e 10 \u5468\u5e74\u8a18\u5ff5\u30ab\u30e9\u30fc\uff08\u30d4\u30f3\u30af\u3068\u30b0\u30ec\u30fc\uff09\u306b\u3001\u30de\u30a4\u30a2\u30df\u3092\u8c61\u5fb4\u3059\u308b\u30e4\u30b7\u306e\u6728\u304c\u63cf\u304b\u308c\u3066\u3044\u308b",ka:"Google Pay-\u10e1 \u10db\u10d4\u10e8\u10d5\u10d4\u10dd\u10d1\u10d8\u10d7 \u10e8\u10d4\u10eb\u10d4\u10dc\u10d0. \u10e8\u10d4\u10e5\u10db\u10dc\u10d8\u10da\u10d8\u10d0 Rolling Loud-\u10d8\u10e1 \u10db\u10d4-10 \u10ec\u10da\u10d8\u10e1\u10d7\u10d0\u10d5\u10d8\u10e1 \u10e4\u10d4\u10e0\u10d4\u10d1\u10e8\u10d8 (\u10d5\u10d0\u10e0\u10d3\u10d8\u10e1\u10e4\u10d4\u10e0\u10d8 \u10d3\u10d0 \u10dc\u10d0\u10ea\u10e0\u10d8\u10e1\u10e4\u10d4\u10e0\u10d8) \u10e4\u10d8\u10dc\u10d8\u10d9\u10d8\u10e1 \u10de\u10d0\u10da\u10db\u10d4\u10d1\u10d8\u10d7 \u10db\u10d0\u10d8\u10d0\u10db\u10d8\u10e1 \u10ec\u10d0\u10e0\u10db\u10dd\u10e1\u10d0\u10d3\u10d2\u10d4\u10dc\u10d0\u10d3",kk:"Google Pay-\u043c\u0435\u043d \u0441\u0430\u0442\u044b\u043f \u0430\u043b\u0443 Rolling Loud \u0444\u0435\u0441\u0442\u0438\u0432\u0430\u043b\u0456\u043d\u0456\u04a3 10 \u0436\u044b\u043b\u0434\u044b\u0493\u044b\u043d\u0430 \u0430\u0440\u043d\u0430\u043b\u044b\u043f, \u049b\u044b\u0437\u0493\u044b\u043b\u0442 \u0436\u04d9\u043d\u0435 \u0441\u04b1\u0440 \u0442\u04af\u0441\u0442\u0435\u0440, \u0441\u043e\u043d\u0434\u0430\u0439-\u0430\u049b \u041c\u0430\u0439\u0430\u043c\u0438\u0434\u0456\u04a3 \u0431\u0435\u043b\u0433\u0456\u0441\u0456 \u0441\u0430\u043d\u0430\u043b\u0430\u0442\u044b\u043d \u043f\u0430\u043b\u044c\u043c\u0430 \u0430\u0493\u0430\u0448\u0442\u0430\u0440\u044b \u0431\u0435\u0439\u043d\u0435\u043b\u0435\u043d\u0433\u0435\u043d.",km:"\u1791\u17b7\u1789\u178f\u17b6\u1798 Google Pay\u17d4 \u1780\u17b6\u179a\u178f\u17b6\u17c6\u1784\u179a\u17c6\u179b\u17c1\u1785\u1796\u178e\u17cc\u1782\u1798\u17d2\u179a\u1794\u17cb\u1781\u17bd\u1794 10 \u1786\u17d2\u1793\u17b6\u17c6\u1793\u17c3 Rolling Loud (\u1795\u17d2\u1780\u17b6\u1788\u17bc\u1780 \u1793\u17b7\u1784\u1794\u17d2\u179a\u1795\u17c1\u17c7) \u178a\u17c2\u179b\u1798\u17b6\u1793\u178a\u17be\u1798\u178a\u17bc\u1784\u178f\u17c6\u178e\u17b6\u1784\u17b1\u17d2\u1799 Miami",kn:"Google Pay \u0cac\u0cb3\u0cb8\u0cbf\u0c95\u0cca\u0c82\u0ca1\u0cc1 \u0c96\u0cb0\u0cc0\u0ca6\u0cbf\u0cb8\u0cbf. Rolling Loud \u0ca8 10 \u0ca8\u0cc7 \u0cb5\u0cbe\u0cb0\u0ccd\u0cb7\u0cbf\u0c95\u0ccb\u0ca4\u0ccd\u0cb8\u0cb5\u0ca6 \u0cac\u0ca3\u0ccd\u0ca3\u0c97\u0cb3 (\u0c97\u0cc1\u0cb2\u0cbe\u0cac\u0cbf \u0cae\u0ca4\u0ccd\u0ca4\u0cc1 \u0cac\u0cc2\u0ca6\u0cc1) \u0c9c\u0cca\u0ca4\u0cc6\u0c97\u0cc6 \u0cae\u0cbf\u0caf\u0cbe\u0cae\u0cbf\u0caf\u0ca8\u0ccd\u0ca8\u0cc1 \u0caa\u0ccd\u0cb0\u0ca4\u0cbf\u0ca8\u0cbf\u0ca7\u0cbf\u0cb8\u0cb2\u0cc1 \u0ca4\u0cbe\u0cb3\u0cc6 \u0cae\u0cb0\u0c97\u0cb3\u0ca8\u0ccd\u0ca8\u0cc1 \u0ca4\u0ccb\u0cb0\u0cbf\u0cb8\u0cb2\u0cbe\u0c97\u0cbf\u0ca6\u0cc6",ko:"Google Pay\ub85c \uad6c\ub9e4. Rolling Loud 10\uc8fc\ub144\uc744 \uae30\ub150\ud558\ub294 \uc0c9\uc0c1(\ud551\ud06c\uc0c9\uacfc \ud68c\uc0c9)\uc774 \uc0ac\uc6a9\ub418\uc5c8\uc73c\uba70 \ub9c8\uc774\uc560\ubbf8\ub97c \uc0c1\uc7a5\ud558\ub294 \uc57c\uc790\uc218 \uc774\ubbf8\uc9c0\uac00 \ud45c\uc2dc\ub418\uc5b4 \uc788\uc2b5\ub2c8\ub2e4.",ky:"Google Pay \u0430\u0440\u043a\u044b\u043b\u0443\u0443 \u0441\u0430\u0442\u044b\u043f \u0430\u043b\u0443\u0443. Rolling Loud \u0444\u0435\u0441\u0442\u0438\u0432\u0430\u043b\u044b\u043d\u044b\u043d 10 \u0436\u044b\u043b\u0434\u044b\u0433\u044b\u043d\u0430 \u043a\u0430\u0440\u0430\u0442\u0430 \u043a\u044b\u0437\u0433\u044b\u043b\u0442\u044b\u043c \u0436\u0430\u043d\u0430 \u0431\u043e\u0437 \u0442\u04af\u0441\u0442\u04e9\u0440 \u043a\u043e\u043b\u0434\u043e\u043d\u0443\u043b\u0443\u043f, \u041c\u0430\u0439\u0430\u043c\u0438\u043d\u0438\u043d c\u0438\u043c\u0432\u043e\u043b\u0443 \u0431\u043e\u043b\u0433\u043e\u043d \u043f\u0430\u043b\u044c\u043c\u0430 \u0434\u0430\u0440\u0430\u043a\u0442\u0430\u0440\u044b \u0447\u0430\u0433\u044b\u043b\u0434\u044b\u0440\u044b\u043b\u0434\u044b",lo:"\u0e8a\u0eb7\u0ec9\u0ec2\u0e94\u0e8d\u0ec3\u0e8a\u0ec9 Google Pay. \u0e99\u0eb3\u0eaa\u0eb0\u0ec0\u0edc\u0eb5\u0eaa\u0eb5\u0e84\u0ebb\u0e9a\u0eae\u0ead\u0e9a 10 \u0e9b\u0eb5 Rolling Loud (\u0eaa\u0eb5\u0e9a\u0ebb\u0ea7 \u0ec1\u0ea5\u0eb0 \u0eaa\u0eb5\u0ec0\u0e97\u0ebb\u0eb2) \u0e9e\u0ec9\u0ead\u0ea1\u0e95\u0ebb\u0ec9\u0e99\u0e9b\u0eb2\u0ea1\u0ec0\u0e9e\u0eb7\u0ec8\u0ead\u0ec0\u0e9b\u0eb1\u0e99\u0e95\u0ebb\u0ea7\u0ec1\u0e97\u0e99\u0ec3\u0eab\u0ec9 Miami",lt:"Pirkti naudojant \u201eGoogle Pay\u201c. Jubiliejinio de\u0161imtojo festivalio \u201eRolling Loud\u201c spalvos (ro\u017ein\u0117 ir pilka) su palm\u0117mis, simbolizuojan\u010diomis Majam\u012f.",lv:"Ieg\u0101d\u0101jieties, izmantojot Google Pay. Festiv\u0101la \u201cRolling Loud\u201d 10. gadadienas kr\u0101sas (roz\u0101 un pel\u0113ka) un palmas, kas simboliz\u0113 Maiami",mk:"\u041a\u0443\u043f\u0435\u0442\u0435 \u0441\u043e Google Pay. \u0412\u043e \u0431\u043e\u0438\u0442\u0435 \u043d\u0430 10-\u0433\u043e\u0434\u0438\u0448\u043d\u0438\u043d\u0430\u0442\u0430 \u043d\u0430 \u0444\u0435\u0441\u0442\u0438\u0432\u0430\u043b\u043e\u0442 Rolling Loud (\u0440\u043e\u0437\u043e\u0432\u0430 \u0438 \u0441\u0438\u0432\u0430) \u0441\u043e \u043f\u0430\u043b\u043c\u0438 \u0448\u0442\u043e \u0433\u043e \u043f\u0440\u0435\u0442\u0441\u0442\u0430\u0432\u0443\u0432\u0430\u0430\u0442 \u041c\u0430\u0458\u0430\u043c\u0438",ml:"Google Pay-\u0d2f\u0d3f\u0d32\u0d42\u0d1f\u0d46 \u0d35\u0d3e\u0d19\u0d4d\u0d19\u0d42. \u0d2e\u0d3f\u0d2f\u0d3e\u0d2e\u0d3f\u0d2f\u0d46 \u0d2a\u0d4d\u0d30\u0d24\u0d3f\u0d28\u0d3f\u0d27\u0d40\u0d15\u0d30\u0d3f\u0d15\u0d4d\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d24\u0d3f\u0d28\u0d4d \u0d08\u0d28\u0d4d\u0d24\u0d2a\u0d4d\u0d2a\u0d28 \u0d2e\u0d30\u0d19\u0d4d\u0d19\u0d7e\u0d15\u0d4d\u0d15\u0d4a\u0d2a\u0d4d\u0d2a\u0d02 Rolling Loud 10-\u0d3e\u0d02 \u0d35\u0d3e\u0d7c\u0d37\u0d3f\u0d15 \u0d28\u0d3f\u0d31\u0d19\u0d4d\u0d19\u0d7e (\u0d2a\u0d3f\u0d19\u0d4d\u0d15\u0d4d, \u0d1a\u0d3e\u0d30\u0d28\u0d3f\u0d31\u0d02) \u0d2b\u0d40\u0d1a\u0d4d\u0d1a\u0d7c \u0d1a\u0d46\u0d2f\u0d4d\u0d2f\u0d41\u0d28\u0d4d\u0d28\u0d41",mn:"Google Pay-\u0440 \u0445\u0443\u0434\u0430\u043b\u0434\u0430\u043d \u0430\u0432\u0430\u0445. \u041c\u0430\u0439\u0430\u043c\u0438\u0433 \u0442\u04e9\u043b\u04e9\u04e9\u043b\u0434\u04e9\u0433 \u0434\u0430\u043b\u0434\u0443\u0443 \u043c\u043e\u0434\u043e\u043e\u0440 Rolling Loud-\u043d 10 \u0436\u0438\u043b\u0438\u0439\u043d \u043e\u0439\u043d \u04e9\u043d\u0433\u04e9 \u0442\u04e9\u0440\u0445\u0438\u0439\u0433 (\u044f\u0433\u0430\u0430\u043d, \u0441\u0430\u0430\u0440\u0430\u043b) \u043e\u043d\u0446\u043e\u043b\u0436 \u0431\u0430\u0439\u043d\u0430",mr:"Google Pay \u0935\u093e\u092a\u0930\u0942\u0928 \u0916\u0930\u0947\u0926\u0940 \u0915\u0930\u093e. \u092e\u093e\u092f\u093e\u092e\u0940\u091a\u0947 \u092a\u094d\u0930\u0924\u093f\u0928\u093f\u0927\u093f\u0924\u094d\u0935 \u0915\u0930\u0923\u094d\u092f\u093e\u0938\u093e\u0920\u0940 \u0924\u093e\u0921\u093e\u091a\u094d\u092f\u093e \u091d\u093e\u0921\u093e\u0902\u0938\u0939 \u0930\u094b\u0932\u093f\u0902\u0917 \u0932\u093e\u090a\u0921 \u091a\u094d\u092f\u093e \u0967\u0966 \u0935\u094d\u092f\u093e \u0935\u0930\u094d\u0927\u093e\u092a\u0928 \u0926\u093f\u0928\u093e\u091a\u0947 \u0930\u0902\u0917 (\u0917\u0941\u0932\u093e\u092c\u0940 \u0906\u0923\u093f \u0930\u093e\u0916\u093e\u0921\u0940) \u0926\u093e\u0916\u0935\u0932\u0947 \u0906\u0939\u0947\u0924",ms:"Beli melalui Google Pay. Menampilkan warna ulang tahun ke-10 Rolling Loud (merah jambu dan kelabu) dengan pokok palma untuk mewakili Miami",my:"Google Pay \u1016\u103c\u1004\u1037\u103a \u101d\u101a\u103a\u101b\u1014\u103a\u104b \u1019\u102d\u102f\u1004\u103a\u101a\u102c\u1019\u102e\u1000\u102d\u102f \u1000\u102d\u102f\u101a\u103a\u1005\u102c\u1038\u1015\u103c\u102f\u101b\u1014\u103a\u1021\u1010\u103d\u1000\u103a \u1021\u102f\u1014\u103a\u1038\u1015\u1004\u103a\u1019\u103b\u102c\u1038\u1016\u103c\u1004\u1037\u103a Rolling Loud \u104f \u1041\u1040 \u1014\u103e\u1005\u103a\u1015\u103c\u100a\u1037\u103a\u1014\u103e\u1005\u103a\u1015\u1010\u103a\u101c\u100a\u103a \u1021\u101b\u1031\u102c\u1004\u103a\u1019\u103b\u102c\u1038 (\u1015\u1014\u103a\u1038\u101b\u1031\u102c\u1004\u103a\u1014\u103e\u1004\u1037\u103a \u1019\u102e\u1038\u1001\u102d\u102f\u1038\u101b\u1031\u102c\u1004\u103a) \u1000\u102d\u102f \u1021\u101e\u102c\u1038\u1015\u1031\u1038\u1016\u1031\u102c\u103a\u1015\u103c\u1011\u102c\u1038\u101e\u100a\u103a",ne:"Google Pay \u092a\u094d\u0930\u092f\u094b\u0917 \u0917\u0930\u0940 \u0916\u0930\u093f\u0926 \u0917\u0930\u094d\u0928\u0941\u0939\u094b\u0938\u094d\u0964 \u0930\u094b\u0932\u093f\u0919 \u0932\u093e\u0909\u0921 \u0938\u0919\u094d\u0917\u0940\u0924 \u092e\u0939\u094b\u0924\u094d\u0938\u0935\u0915\u094b \u0967\u0966 \u0914\u0901 \u0935\u093e\u0930\u094d\u0937\u093f\u0915\u094b\u0924\u094d\u0938\u0935\u0915\u094b \u0925\u093f\u092e (\u0917\u0941\u0932\u093e\u092c\u0940 \u0924\u0925\u093e \u0916\u0948\u0930\u094b \u0930\u0919\u0915\u094b) \u0915\u093e \u0938\u093e\u0925\u0948 \u092e\u093e\u092f\u093e\u092e\u0940\u0915\u094b \u092a\u094d\u0930\u0924\u093f\u0928\u093f\u0927\u093f\u0924\u094d\u0935 \u0917\u0930\u094d\u0928\u0947 \u0924\u093e\u0921\u0915\u093e \u0930\u0942\u0916\u0939\u0930\u0942 \u0926\u0947\u0916\u093e\u0907\u090f\u0915\u094b \u091b",nl:"Kopen met Google Pay. De Rolling Loud-kleuren voor het 10-jarig bestaan (roze en grijs) en palmbomen om Miami te vertegenwoordigen",Bo:"Kj\xf8p med Google Pay. Med fargene for Rolling Louds 10-\xe5rsjubileum (rosa og gr\xe5) og palmer som representerer Miami.",pa:"Google Pay \u0a28\u0a3e\u0a32 \u0a16\u0a30\u0a40\u0a26\u0a4b\u0964 '\u0a30\u0a4b\u0a32\u0a3f\u0a70\u0a17 \u0a32\u0a3e\u0a09\u0a21' \u0a38\u0a70\u0a17\u0a40\u0a24 \u0a09\u0a24\u0a38\u0a35 \u0a26\u0a40 10\u0a35\u0a40\u0a02 \u0a35\u0a30\u0a4d\u0a39\u0a47\u0a17\u0a70\u0a22 \u0a26\u0a47 \u0a30\u0a70\u0a17\u0a3e\u0a02 (\u0a17\u0a41\u0a32\u0a3e\u0a2c\u0a40 \u0a05\u0a24\u0a47 \u0a38\u0a32\u0a47\u0a1f\u0a40) \u0a35\u0a3e\u0a32\u0a3e \u0a25\u0a40\u0a2e \u0a2e\u0a3f\u0a06\u0a2e\u0a40 \u0a26\u0a40 \u0a2a\u0a1b\u0a3e\u0a23 \u0a26\u0a47 \u0a24\u0a4c\u0a30 '\u0a24\u0a47 \u0a24\u0a3e\u0a5c \u0a26\u0a47 \u0a30\u0a41\u0a71\u0a16\u0a3e\u0a02 \u0a28\u0a42\u0a70 \u0a26\u0a30\u0a38\u0a3e\u0a09\u0a02\u0a26\u0a3e \u0a39\u0a48",pl:"Zap\u0142a\u0107 przez Google Pay Kolory 10 rocznicy festiwalu Rolling Loud (r\xf3\u017cowy i szary) oraz palmy symbolizuj\u0105ce Miami",Br:"Comprar com o Google Pay. As cores do 10\xba anivers\xe1rio do Rolling Loud (rosa e cinza) com palmeiras para representar Miami",Po:"Comprar com Google Pay. Com as cores do 10.\xba anivers\xe1rio do Rolling Loud (rosa e cinzento) com palmeiras a representar Miami",ro:"Cump\u0103r\u0103 cu Google Pay. Are culorile celei de-a zecea aniversare a festivalului Rolling Loud (roz \u0219i gri) \u0219i palmieri pentru a reprezenta Miami.",ru:"\u041e\u043f\u043b\u0430\u0442\u0438\u0442\u044c \u0447\u0435\u0440\u0435\u0437 Google Pay. \u0418\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u0432 \u0446\u0432\u0435\u0442\u0430\u0445, \u043d\u0430\u043f\u043e\u043c\u0438\u043d\u0430\u044e\u0449\u0438\u0445 \u043e 10-\u043b\u0435\u0442\u043d\u0435\u0439 \u0433\u043e\u0434\u043e\u0432\u0449\u0438\u043d\u0435 Rolling Loud (\u0441\u0435\u0440\u043e\u043c \u0438 \u0440\u043e\u0437\u043e\u0432\u043e\u043c), \u0438 \u0441 \u043f\u0430\u043b\u044c\u043c\u0430\u043c\u0438, \u0445\u0430\u0440\u0430\u043a\u0442\u0435\u0440\u043d\u044b\u043c\u0438 \u0434\u043b\u044f \u041c\u0430\u0439\u0430\u043c\u0438.",si:"Google Pay \u0dc3\u0db8\u0d9c\u0dd2\u0db1\u0dca \u0db8\u0dd2\u0dbd \u0daf\u0dd3 \u0d9c\u0db1\u0dca\u0db1. Miami \u0db1\u0dd2\u0dba\u0ddd\u0da2\u0db1\u0dba \u0d9a\u0dd2\u0dbb\u0dd3\u0db8 \u0dc3\u0db3\u0dc4\u0dcf \u0dad\u0dbd\u0dca \u0d9c\u0dc3\u0dca \u0dc3\u0db8\u0d9c Rolling Loud 10 \u0dc0\u0dd0\u0db1\u0dd2 \u0dc3\u0d82\u0dc0\u0dad\u0dca\u0dc3\u0dbb \u0dc0\u0dbb\u0dca\u0dab (\u0dbb\u0ddd\u0dc3 \u0dc3\u0dc4 \u0d85\u0dc5\u0dd4) \u0dc0\u0dd2\u0dc1\u0dda\u0dc2\u0dcf\u0d82\u0d9c\u0dba",sk:"K\xfapi\u0165 cez Google Pay. Obsahuje farby jubilejn\xe9ho 10. ro\u010dn\xedka festivalu Rolling Loud (ru\u017eov\xfa a siv\xfa) a palmy, ktor\xe9 s\xfa symbolom Miami.",sl:"Nakup z Googlom Pay. Z barvami 10. obletnice festivala Rolling Loud (ro\u017enato in sivo) in palmami, ki predstavljajo Miami",sq:"Bli me Google Pay. P\xebrfshin ngjyrat e p\xebrvjetorit t\xeb 10-t\xeb t\xeb Rolling Loud (roz\xeb dhe gri) me pem\xeb palme p\xebr t\xeb p\xebrfaq\xebsuar Majamin",sr:"\u041a\u0443\u043f\u0438 \u043f\u043e\u043c\u043e\u045b\u0443 Google Pay-\u0430. \u0423\u0437 \u0431\u043e\u0458\u0435 \u043a\u043e\u0458\u0435 \u043e\u0431\u0435\u043b\u0435\u0436\u0430\u0432\u0430\u0458\u0443 10. \u0433\u043e\u0434\u0438\u0448\u045a\u0438\u0446\u0443 \u0444\u0435\u0441\u0442\u0438\u0432\u0430\u043b\u0430 Rolling Loud (\u0440\u0443\u0436\u0438\u0447\u0430\u0441\u0442\u0430 \u0438 \u0441\u0438\u0432\u0430) \u0438 \u043f\u0430\u043b\u043c\u0435 \u043a\u043e\u0458\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0459\u0430\u0458\u0443 \u041c\u0430\u0458\u0430\u043c\u0438",sv:"K\xf6p med Google Pay. I f\xe4rgerna fr\xe5n Rolling Louds tio\xe5rsjubileum (rosa och gr\xe5tt) med palmer som representerar Miami",sw:"Nunua kupitia Google Pay. Inaangazia rangi (waridi na kijivu) za kumbukumbu ya miaka 10 ya tamasha la Rolling Loud pamoja na minazi ili kuwakilisha Miami",ta:"Google Pay \u0bae\u0bc2\u0bb2\u0bae\u0bcd \u0bb5\u0bbe\u0b99\u0bcd\u0b95\u0bc1\u0b95. \u0bae\u0bbf\u0baf\u0bbe\u0bae\u0bbf\u0baf\u0bc8\u0b95\u0bcd \u0b95\u0bc1\u0bb1\u0bbf\u0b95\u0bcd\u0b95\u0bc1\u0bae\u0bcd \u0bb5\u0b95\u0bc8\u0baf\u0bbf\u0bb2\u0bcd \u0baa\u0ba9\u0bc8 \u0bae\u0bb0\u0b99\u0bcd\u0b95\u0bb3\u0bc1\u0b9f\u0ba9\u0bcd, \u0bb0\u0bcb\u0bb2\u0bbf\u0b99\u0bcd \u0bb2\u0bcc\u0b9f\u0bc1 10\u0bb5\u0ba4\u0bc1 \u0b86\u0ba3\u0bcd\u0b9f\u0bc1\u0bb5\u0bbf\u0bb4\u0bbe\u0bb5\u0bbf\u0ba9\u0bcd \u0bb5\u0ba3\u0bcd\u0ba3\u0b99\u0bcd\u0b95\u0bb3\u0bcd (\u0baa\u0bbf\u0b99\u0bcd\u0b95\u0bcd \u0bae\u0bb1\u0bcd\u0bb1\u0bc1\u0bae\u0bcd \u0b9a\u0bbe\u0bae\u0bcd\u0baa\u0bb2\u0bcd) \u0b87\u0b9f\u0bae\u0bcd\u0baa\u0bc6\u0bb1\u0bcd\u0bb1\u0bc1\u0bb3\u0bcd\u0bb3\u0ba9.",te:"Google Pay\u0c24\u0c4b \u0c15\u0c4a\u0c28\u0c02\u0c21\u0c3f. Rolling Loud 10\u0c35 \u0c35\u0c3e\u0c30\u0c4d\u0c37\u0c3f\u0c15\u0c4b\u0c24\u0c4d\u0c38\u0c35 \u0c25\u0c40\u0c2e\u0c4d\u200c\u0c28\u0c41 \u0c2b\u0c40\u0c1a\u0c30\u0c4d \u0c1a\u0c47\u0c38\u0c4d\u0c24\u0c4b\u0c02\u0c26\u0c3f, \u0c07\u0c02\u0c26\u0c41\u0c32\u0c4b \u0c2e\u0c3f\u0c2f\u0c3e\u0c2e\u0c40\u0c15\u0c3f \u0c1a\u0c3f\u0c39\u0c4d\u0c28\u0c02\u0c17\u0c3e \u0c17\u0c41\u0c32\u0c3e\u0c2c\u0c40 \u0c30\u0c02\u0c17\u0c41, \u0c32\u0c47\u0c24 \u0c2c\u0c42\u0c21\u0c3f\u0c26\u0c30\u0c02\u0c17\u0c41, \u0c24\u0c3e\u0c1f\u0c3f \u0c1a\u0c46\u0c1f\u0c4d\u0c32\u0c41 \u0c09\u0c28\u0c4d\u0c28\u0c3e\u0c2f\u0c3f",th:"\u0e0b\u0e37\u0e49\u0e2d\u0e14\u0e49\u0e27\u0e22 Google Pay \u0e21\u0e32\u0e1e\u0e23\u0e49\u0e2d\u0e21\u0e2a\u0e35\u0e09\u0e25\u0e2d\u0e07\u0e04\u0e23\u0e1a\u0e23\u0e2d\u0e1a 10 \u0e1b\u0e35\u0e02\u0e2d\u0e07 Rolling Loud (\u0e2a\u0e35\u0e0a\u0e21\u0e1e\u0e39\u0e41\u0e25\u0e30\u0e40\u0e17\u0e32) \u0e1e\u0e23\u0e49\u0e2d\u0e21\u0e15\u0e49\u0e19\u0e1b\u0e32\u0e25\u0e4c\u0e21\u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e2a\u0e37\u0e48\u0e2d\u0e16\u0e36\u0e07\u0e44\u0e21\u0e2d\u0e32\u0e21\u0e35",tr:"Google Pay ile sat\u0131n al. Rolling Loud M\xfczik Festivali'nin 10. y\u0131l d\xf6n\xfcm\xfc renkleri (pembe ve gri) ve Miami'yi temsil eden palmiye a\u011fa\xe7lar\u0131",uk:"\u041e\u043f\u043b\u0430\u0442\u0438\u0442\u0438 \u0447\u0435\u0440\u0435\u0437 Google Pay. \u0417 \u043d\u0430\u0433\u043e\u0434\u0438 10-\u0457 \u0440\u0456\u0447\u043d\u0438\u0446\u0456 \u0444\u0435\u0441\u0442\u0438\u0432\u0430\u043b\u044e Rolling Loud Miami \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u0430\u043d\u043e \u0440\u043e\u0436\u0435\u0432\u0438\u0439 \u0456 \u0441\u0456\u0440\u0438\u0439 \u043a\u043e\u043b\u044c\u043e\u0440\u0438, \u0430 \u0442\u0430\u043a\u043e\u0436 \u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u043e \u043f\u0430\u043b\u044c\u043c\u0438, \u044f\u043a\u0456 \u0441\u0438\u043c\u0432\u043e\u043b\u0456\u0437\u0443\u044e\u0442\u044c \u041c\u0430\u044f\u043c\u0456.",ur:"\u202bGoogle Pay \u06a9\u06d2 \u0633\u0627\u062a\u06be \u062e\u0631\u06cc\u062f\u06cc\u06ba\u06d4 \u0645\u06cc\u0627\u0645\u06cc \u06a9\u06cc \u0646\u0645\u0627\u0626\u0646\u062f\u06af\u06cc \u06a9\u0631\u0646\u06d2 \u06a9\u06d2 \u0644\u06cc\u06d2 \u06a9\u06be\u062c\u0648\u0631 \u06a9\u06d2 \u062f\u0631\u062e\u062a\u0648\u06ba \u06a9\u06d2 \u0633\u0627\u062a\u06be \u0631\u0648\u0644\u0646\u06af \u0644\u0627\u0624\u0688 \u06a9\u06cc 10\u0648\u06cc\u06ba \u0633\u0627\u0644\u06af\u0631\u06c1 \u06a9\u06d2 \u0631\u0646\u06af\u0648\u06ba (\u06af\u0644\u0627\u0628\u06cc \u0627\u0648\u0631 \u0633\u0631\u0645\u0626\u06cc) \u06a9\u0648 \u0646\u0645\u0627\u06cc\u0627\u06ba \u06a9\u06cc\u0627 \u062c\u0627 \u0631\u06c1\u0627 \u06c1\u06d2",vi:"Mua b\u1eb1ng Google Pay C\xf3 m\xe0u s\u1eafc k\u1ef7 ni\u1ec7m 10 n\u0103m l\u1ec5 h\u1ed9i Rolling Loud (m\xe0u h\u1ed3ng v\xe0 x\xe1m) v\u1edbi h\xe0ng c\xe2y c\u1ecd, \u0111\u1ea1i di\u1ec7n cho Miami",Si:"\u4f7f\u7528 Google Pay \u4ed8\u6b3e\u3002\u91c7\u7528 Rolling Loud \u5341\u5468\u5e74\u7eaa\u5ff5\u8272\uff08\u7c89\u8272\u548c\u7070\u8272\uff09\uff0c\u5e76\u4ee5\u68d5\u6988\u6811\u4ee3\u8868\u8fc8\u963f\u5bc6",Ho:"\u7528 Google Pay \u4ed8\u6b3e\u3002\u4ee5 Rolling Loud 10 \u9031\u5e74\u7d00\u5ff5\u984f\u8272 (\u7c89\u7d05\u8272\u548c\u7070\u8272) \u70ba\u4e3b\u8272\uff0c\u4e26\u4ee5\u68d5\u6ada\u6a39\u4ee3\u8868\u9081\u963f\u5bc6",Tr:"\u4f7f\u7528 Google Pay \u7d50\u5e33\u3002\u63a1\u7528 Rolling Loud 10 \u9031\u5e74\u7d00\u5ff5\u8272 (\u7c89\u7d05\u8272\u548c\u7070\u8272)\uff0c\u4e26\u642d\u914d\u4ee3\u8868\u9081\u963f\u5bc6\u7684\u68d5\u6ada\u6a39",zu:"Thenga ngeGoogle Pay Ifaka imibala yesikhumbuzo seminyaka eyi-10 seRolling Loud (okuphinki nokumpunga) ngezihlahla zamasundu ezimelela iMiami"}},Am=Gn('<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" direction="ltr" height="36px" width="130px"><style>@import url(//fonts.googleapis.com/css?family=Google+Sans_old:500)</style><line x1="2" y1="10.5" x2="2" y2="29.5" style="stroke: #d9d9d9; stroke-width:2"></line><image x="11" y="6" width="37.5" height="29" preserveAspectRatio="none" xlink:href="https://www.gstatic.com/images/icons/material/system/1x/payment_grey600_36dp.png"></image><text x="52" y="25.5" class="small" style="font: 15px \'Google Sans\', sans-serif; fill: #5F6368">\u2022\u2022\u2022\u2022\u2022\u2022</text></svg>'),Yu=Gn('<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" direction="ltr" height="36px" width="130px"><style>@import url(//fonts.googleapis.com/css?family=Google+Sans_old:500)</style><line x1="2" y1="10.5" x2="2" y2="29.5" style="stroke: #5F6368; stroke-width:2"></line><image x="11" y="6" width="37.5" height="29" preserveAspectRatio="none" xlink:href="https://www.gstatic.com/images/icons/material/system/1x/payment_white_36dp.png"></image><text x="52" y="25.5" class="small" style="font: 15px \'Google Sans\', sans-serif; fill: #FFFFFF">\u2022\u2022\u2022\u2022\u2022\u2022</text></svg>'),Ni=Gn('<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" direction="ltr" viewBox="0 0 130 36"><style>@import url(//fonts.googleapis.com/css?family=Google+Sans_old:500)</style><line x1="8" y1="7" x2="8" y2="26" style="stroke: #d9d9d9; stroke-width:2"></line><image x="16" y="2.5" width="37.5" height="29" preserveAspectRatio="none" xlink:href="https://www.gstatic.com/images/icons/material/system/1x/payment_grey600_36dp.png"></image><text x="57" y="22" class="small" style="font: 15px \'Google Sans\', sans-serif; fill: #5f6368">\u2022\u2022\u2022\u2022\u2022\u2022</text></svg>'),Js=Gn('<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" direction="ltr" viewBox="0 0 130 36"><style>@import url(//fonts.googleapis.com/css?family=Google+Sans_old:500)</style><line x1="8" y1="7" x2="8" y2="26" style="stroke: #5f6368; stroke-width:2"></line><image x="16" y="2.5" width="37.5" height="29" preserveAspectRatio="none" xlink:href="https://www.gstatic.com/images/icons/material/system/1x/payment_white_36dp.png"></image><text x="57" y="22" class="small" style="font: 15px \'Google Sans\', sans-serif; fill: #fff">\u2022\u2022\u2022\u2022\u2022\u2022</text></svg>'),wd=["ELECTRON","MAESTRO","ELO_DEBIT"];function Nn(a,l){l=void 0===l?document:l;var h=document.createElement("style");if(h.type="text/css",h.textContent=a,l instanceof HTMLDocument)document.head.appendChild(h);else{if(!(l instanceof ShadowRoot))throw Error("Parameter 'buttonRootNode' should be either document or a shadowroot.");l.appendChild(h)}return h}var Cd=function(){this.Sc=Un.contentWindow};Cd.prototype.postMessage=function(a,l){this.Sc.postMessage(a,l)};var Ku=Array.prototype.indexOf?function(a,l){return xn(null!=a.length),Array.prototype.indexOf.call(a,l,void 0)}:function(a,l){if("string"==typeof a)return"string"!=typeof l||1!=l.length?-1:a.indexOf(l,0);for(var h=0;h<a.length;h++)if(h in a&&a[h]===l)return h;return-1},km=Array.prototype.forEach?function(a,l){xn(null!=a.length),Array.prototype.forEach.call(a,l,void 0)}:function(a,l){for(var h=a.length,p="string"==typeof a?a.split(""):a,v=0;v<h;v++)v in p&&l.call(void 0,p[v],v,a)};function ea(a){var l=a.length;if(l>0){for(var h=Array(l),p=0;p<l;p++)h[p]=a[p];return h}return[]}var na="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");var ia,Om=z.globalThis.trustedTypes;function Xu(){return void 0===ia&&(ia=function _t(){var a=null;if(!Om)return a;try{var l=function(h){return h};a=Om.createPolicy("goog#html",{createHTML:l,createScript:l,createScriptURL:l})}catch(h){throw h}return a}()),ia}var Qu=function(a){this.ac=a};function Ed(a){var l=Xu();return new Qu(l?l.createScriptURL(a):a)}function Ju(a){if(a instanceof Qu)return a.ac;throw Error("Unexpected type when unwrapping TrustedResourceUrl")}Qu.prototype.toString=function(){return this.ac+""};var bt=function(a){this.bc=a};bt.prototype.toString=function(){return this.bc},new bt("about:blank"),new bt("about:invalid#zClosurez");var Dd=/^\s*(?!javascript:)(?:[\w+.-]+:|[^:/?#]*(?:[/?#]|$))/i,ec=[],Sd=function(){};!function mn(a){-1===ec.indexOf(a)&&ec.push(a),Sd=function(l){ec.forEach(function(h){h(l)})}}(function(a){console.warn("A URL with content '"+a+"' was sanitized away.")});var Kt=function(a){this.Zb=a};function Td(a,l){a.src=Ju(l).toString()}function St(a,l,h,p){if(l instanceof bt){if(!(l instanceof bt))throw Error("Unexpected type when unwrapping SafeUrl, got '"+l+"' of type '"+typeof l+"'");l=l.bc}else{var v=!Dd.test(l);v&&Sd(l),l=v?void 0:l}return void 0!==l?a.open(l,h,p):null}function Md(a){if("string"!=typeof a||""===a.trim())throw Error("Calls to uncheckedconversion functions must go through security review. A justification must be provided to capture what security assumptions are being made. See go/unchecked-conversions")}function Mr(){var a=oo.navigator;return a&&(a=a.userAgent)?a:""}Kt.prototype.toString=function(){return this.Zb+""};var Pd=!(-1==Mr().indexOf("Gecko")||-1!=Mr().toLowerCase().indexOf("webkit")&&-1==Mr().indexOf("Edge")||-1!=Mr().indexOf("Trident")||-1!=Mr().indexOf("MSIE")||-1!=Mr().indexOf("Edge")),Uo=-1!=Mr().toLowerCase().indexOf("webkit")&&-1==Mr().indexOf("Edge"),Lm={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",frameborder:"frameBorder",height:"height",maxlength:"maxLength",nonce:"nonce",role:"role",rowspan:"rowSpan",type:"type",usemap:"useMap",valign:"vAlign",width:"width"},jb=function(a,l,h){function p(E){E&&l.appendChild("string"==typeof E?a.createTextNode(E):E)}for(var v=2;v<h.length;v++){var b=h[v];if(!Zs(b)||or(b)&&b.nodeType>0)p(b);else{e:{if(b&&"number"==typeof b.length){if(or(b)){var w="function"==typeof b.item||"string"==typeof b.item;break e}if("function"==typeof b){w="function"==typeof b.item;break e}}w=!1}km(w?ea(b):b,p)}}},Ad=function(a,l){return l=String(l),"application/xhtml+xml"===a.contentType&&(l=l.toLowerCase()),a.createElement(l)},tc=function(a){var l=Array.prototype.map.call(arguments,Je).join("");Md("Constant HTML string, that gets turned into a Node later, so it will be automatically balanced.");var h=Xu(),p=new Kt(h?h.createHTML(l):l);if(h=document,1===(l=Ad(h,"DIV")).nodeType){var v=l.tagName;if(/^(script|style)$/i.test(v))throw l="script"===v.toLowerCase()?"Use setScriptTextContent with a SafeScript.":"Use setStyleTextContent with a SafeStyleSheet.",Error(l)}if(!(p instanceof Kt))throw Error("Unexpected type when unwrapping SafeHtml");if(l.innerHTML=p=p.Zb,1==l.childNodes.length)l=l.removeChild(xn(l.firstChild));else{for(h=h.createDocumentFragment();l.firstChild;)h.appendChild(l.firstChild);l=h}return l};function nc(a,l){var h=Je(a);if(!jm.test(h))throw Error("Invalid TrustedResourceUrl format: "+h);return a=h.replace(Vm,function(p,v){if(!Object.prototype.hasOwnProperty.call(l,v))throw Error('Found marker, "'+v+'", in format string, "'+h+'", but no valid label mapping found in args: '+JSON.stringify(l));return(p=l[v])instanceof Ys?Je(p):encodeURIComponent(String(p))}),Md("Deprecated, but safe closure/html builder"),Ed(a)}var Vm=/%{(\w+)}/g,jm=RegExp("^((https:)?//[0-9a-z.:[\\]-]+/|/[^/\\\\]|[^:/\\\\%]+/|[^:/\\\\%]*[?#]|about:blank#)","i"),Bb={wd:0,ed:1,lc:2,mc:3,nc:4,jd:5},Un=null,rc=null,$e=null,Bm=null,Hm=Date.now(),Ir=null,kd=!1,ic=[],oa=function(a,l,h,p){window.addEventListener("message",function v(b){xd(h,b)&&(p(b),sc(v))}),a=H(Object,"assign").call(Object,{eventType:l},a),je(a)},xd=function(a,l){for(var h=0;h<a.length;h++)if(l.data[a[h]])return!0;return!1},sc=function(a){window.removeEventListener("message",a)},je=function(a){kd&&rc?Gm(a):ic.push(a)},Gm=function(a){if(rc){if(a=H(Object,"assign").call(Object,{buyFlowActivityMode:Ir,googleTransactionId:Bm,originTimeMs:Hm},a),"CANARY"==$e)var l="https://ibfe-canary.corp.google.com";else l="https://pay","SANDBOX"==$e?l+=".sandbox":"PREPROD"==$e&&(l+="-preprod.sandbox"),l+=".google.com";rc.postMessage(a,l)}else google.payments.api.LogInternally&&console.log("postMessageService is null when expected to exist.")},Um=function(a,l){kd||(l>30?(google.payments.api.LogInternally&&console.log("PayJS-PayFrame handshake unsuccessful."),je({eventType:20,clientLatencyStartMs:Date.now()}),a&&sc(a),Nd()):(a||(a=function h(p){xd(["pingResponse"],p)&&(je({eventType:19,clientLatencyStartMs:Date.now()}),a&&sc(a),Nd())},window.addEventListener("message",a)),Gm({eventType:14}),setTimeout(function(){return Um(a,l+1)},10)))},Nd=function(){kd=!0,ic.forEach(function(a){je(a)}),ic.length=0};!function(){if(!Un){var a=window.gpayInitParams||{};"PRODUCTION"!==($e=a.environment||"PRODUCTION")&&"TEST"!==$e||function(){var a=function(a,l,h){var p=arguments,v=document,b=p[1],w=Ad(v,String(p[0]));return b&&("string"==typeof b?w.className=b:Array.isArray(b)?w.className=b.join(" "):function(a,l){!function ta(a,l){for(var h in a)l.call(void 0,a[h],h,a)}(l,function(h,p){"style"==p?a.style.cssText=h:"class"==p?a.className=h:"for"==p?a.htmlFor=h:Lm.hasOwnProperty(p)?a.setAttribute(Lm[p],h):0==p.lastIndexOf("aria-",0)||0==p.lastIndexOf("data-",0)?a.setAttribute(p,h):a[p]=h})}(w,b)),p.length>2&&jb(v,w,p),w}("META");a.httpEquiv="origin-trial",a.id="origin-trial",a.content="Ayudt5SzRWp86yExqv4T3+PiWzcX+WBtprm+ux6vfIGn5Dg3JSrZL2Y5UkppRzYnVyYzu8hvj+Q4pdGSWsLVYgMAAABgeyJvcmlnaW4iOiJodHRwczovL3BheS5nb29nbGUuY29tOjQ0MyIsImZlYXR1cmUiOiJUcGNkIiwiZXhwaXJ5IjoxNzM1MzQzOTk5LCJpc1RoaXJkUGFydHkiOnRydWV9",document.head.append(a)}(),Td(Un=document.createElement("iframe"),nc(Gn(("CANARY"==$e?"https://ibfe-canary.corp":"https://pay")+("PREPROD"==$e?"-preprod.sandbox":"SANDBOX"==$e?".sandbox":"")+".google.com/gp/p/ui/payframe?origin=%{windowOrigin}&mid=%{merchantId}"),{windowOrigin:window.location.origin,merchantId:a.merchantInfo&&a.merchantInfo.merchantId||""})),je({eventType:15,clientLatencyStartMs:Date.now()}),oa({},11,["canMakePaymentForPaymentHandlerResponse"],function(){}),Un.height="0",Un.width="0",Un.style.display="none",Un.style.visibility="hidden",Un.setAttribute("allowpaymentrequest",!0),Un.onload=function(){rc=new Cd,je({eventType:17,clientLatencyStartMs:Date.now()}),je({eventType:16,clientLatencyStartMs:Date.now()}),je({eventType:18,clientLatencyStartMs:Date.now()}),Um(null,0)},document.body?document.body.appendChild(Un):document.addEventListener("DOMContentLoaded",function(){document.body.appendChild(Un)})}}();var Gb="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split("");function Od(a,l){if("object"!=typeof l||null===l)return a;for(var h in l)l.hasOwnProperty(h)&&void 0!==l[h]&&(null==l[h]?a[h]=null:null==a[h]||"object"!=typeof a[h]||"object"!=typeof l[h]||Array.isArray(l[h])||Array.isArray(a[h])?a[h]=l[h]:Od(a[h],l[h]));return a}function ii(a){var h,l=0;if(0==a.length)return l;for(h=0;h<a.length;h++)l=(l<<5)-l+a.charCodeAt(h),l&=l;return l}function $n(a){console.error("DEVELOPER_ERROR in "+a.M+": "+a.errorMessage)}var Ub=function(a,l,h){if(a.forEach&&"function"==typeof a.forEach)a.forEach(l,h);else if(Zs(a)||"string"==typeof a)Array.prototype.forEach.call(a,l,h);else for(var p=function(a){if(a.sb&&"function"==typeof a.sb)return a.sb();if(!a.oa||"function"!=typeof a.oa){if(typeof z.Map<"u"&&a instanceof z.Map)return H(Array,"from").call(Array,H(a,"keys").call(a));if(!(typeof Set<"u"&&a instanceof Set)){if(Zs(a)||"string"==typeof a){var l=[];a=a.length;for(var h=0;h<a;h++)l.push(h);return l}for(var p in l=[],h=0,a)l[h++]=p;return l}}}(a),v=function(a){if(a.oa&&"function"==typeof a.oa)return a.oa();if(typeof z.Map<"u"&&a instanceof z.Map||typeof Set<"u"&&a instanceof Set)return H(Array,"from").call(Array,H(a,"values").call(a));if("string"==typeof a)return a.split("");if(Zs(a)){for(var l=[],h=a.length,p=0;p<h;p++)l.push(a[p]);return l}for(p in l=[],h=0,a)l[h++]=a[p];return l}(a),b=v.length,w=0;w<b;w++)l.call(h,v[w],p&&p[w],a)},Rd=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$"),ac=function(a){var l=a.match(Rd);a=l[1];var h=l[3];l=l[4];var p="";return a&&(p+=a+":"),h&&(p=p+"//"+h,l&&(p+=":"+l)),p},sr=function(a){if(this.U=this.va=this.ha="",this.o=null,this.R=this.S="",this.J=this.Ac=!1,a instanceof sr){this.J=a.J,sa(this,a.ha);var l=a.va;Bt(this),this.va=l,l=a.U,Bt(this),this.U=l,aa(this,a.o),l=a.S,Bt(this),this.S=l,uc(this,a.K.clone()),a=a.R,Bt(this),this.R=a}else a&&(l=String(a).match(Rd))?(this.J=!1,sa(this,l[1]||"",!0),a=l[2]||"",Bt(this),this.va=$o(a),a=l[3]||"",Bt(this),this.U=$o(a,!0),aa(this,l[4]),a=l[5]||"",Bt(this),this.S=$o(a,!0),uc(this,l[6]||"",!0),a=l[7]||"",Bt(this),this.R=$o(a)):(this.J=!1,this.K=new gn(null,this.J))};sr.prototype.toString=function(){var a=[],l=this.ha;l&&a.push(zo(l,Fd,!0),":");var h=this.U;return(h||"file"==l)&&(a.push("//"),(l=this.va)&&a.push(zo(l,Fd,!0),"@"),a.push(encodeURIComponent(String(h)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),null!=(h=this.o)&&a.push(":",String(h))),(h=this.S)&&(this.U&&"/"!=h.charAt(0)&&a.push("/"),a.push(zo(h,"/"==h.charAt(0)?Km:zb,!0))),(h=this.K.toString())&&a.push("?",h),(h=this.R)&&a.push("#",zo(h,Ld)),a.join("")},sr.prototype.resolve=function(a){var l=this.clone(),h=!!a.ha;if(h?sa(l,a.ha):h=!!a.va,h){var p=a.va;Bt(l),l.va=p}else h=!!a.U;if(h?(p=a.U,Bt(l),l.U=p):h=null!=a.o,p=a.S,h)aa(l,a.o);else if(h=!!a.S){if("/"!=p.charAt(0))if(this.U&&!this.S)p="/"+p;else{var v=l.S.lastIndexOf("/");-1!=v&&(p=l.S.slice(0,v+1)+p)}if(".."==(v=p)||"."==v)p="";else if(-1!=v.indexOf("./")||-1!=v.indexOf("/.")){p=0==v.lastIndexOf("/",0),v=v.split("/");for(var b=[],w=0;w<v.length;){var E=v[w++];"."==E?p&&w==v.length&&b.push(""):".."==E?((b.length>1||1==b.length&&""!=b[0])&&b.pop(),p&&w==v.length&&b.push("")):(b.push(E),p=!0)}p=b.join("/")}else p=v}return h?(Bt(l),l.S=p):h=""!==a.K.toString(),h?uc(l,a.K.clone()):h=!!a.R,h&&(a=a.R,Bt(l),l.R=a),l},sr.prototype.clone=function(){return new sr(this)};var sa=function(a,l,h){Bt(a),a.ha=h?$o(l,!0):l,a.ha&&(a.ha=a.ha.replace(/:$/,""))},aa=function(a,l){if(Bt(a),l){if(l=Number(l),isNaN(l)||l<0)throw Error("Bad port number "+l);a.o=l}else a.o=null},uc=function(a,l,h){Bt(a),l instanceof gn?(a.K=l,a.K.Eb(a.J)):(h||(l=zo(l,oi)),a.K=new gn(l,a.J))};sr.prototype.getQuery=function(){return this.K.toString()};var Oi=function(a,l,h){Bt(a),a.K.set(l,h)};sr.prototype.removeParameter=function(a){return Bt(this),this.K.remove(a),this};var Bt=function(a){if(a.Ac)throw Error("Tried to modify a read-only Uri")};sr.prototype.Eb=function(a){this.J=a,this.K&&this.K.Eb(a)};var $o=function(a,l){return a?l?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},zo=function(a,l,h){return"string"==typeof a?(a=encodeURI(a).replace(l,$b),h&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},$b=function(a){return"%"+((a=a.charCodeAt(0))>>4&15).toString(16)+(15&a).toString(16)},Fd=/[#\/\?@]/g,zb=/[#\?:]/g,Km=/[#\?]/g,oi=/[#\?@]/g,Ld=/#/g,gn=function(a,l){this.F=this.j=null,this.H=a||null,this.J=!!l},Pr=function(a){a.j||(a.j=new z.Map,a.F=0,a.H&&function(a,l){if(a){a=a.split("&");for(var h=0;h<a.length;h++){var p=a[h].indexOf("="),v=null;if(p>=0){var b=a[h].substring(0,p);v=a[h].substring(p+1)}else b=a[h];l(b,v?decodeURIComponent(v.replace(/\+/g," ")):"")}}}(a.H,function(l,h){a.add(decodeURIComponent(l.replace(/\+/g," ")),h)}))};gn.prototype.add=function(a,l){Pr(this),this.H=null,a=Ri(this,a);var h=this.j.get(a);return h||this.j.set(a,h=[]),h.push(l),this.F=Ai(this.F)+1,this},gn.prototype.remove=function(a){return Pr(this),a=Ri(this,a),!!this.j.has(a)&&(this.H=null,this.F=Ai(this.F)-this.j.get(a).length,this.j.delete(a))},gn.prototype.clear=function(){this.j=this.H=null,this.F=0};var cc=function(a,l){return Pr(a),l=Ri(a,l),a.j.has(l)};(F=gn.prototype).forEach=function(a,l){Pr(this),this.j.forEach(function(h,p){h.forEach(function(v){a.call(l,v,p,this)},this)},this)},F.sb=function(){Pr(this);for(var a=H(Array,"from").call(Array,H(this.j,"values").call(this.j)),l=H(Array,"from").call(Array,H(this.j,"keys").call(this.j)),h=[],p=0;p<l.length;p++)for(var v=a[p],b=0;b<v.length;b++)h.push(l[p]);return h},F.oa=function(a){Pr(this);var l=[];if("string"==typeof a)cc(this,a)&&(l=l.concat(this.j.get(Ri(this,a))));else{a=H(Array,"from").call(Array,H(this.j,"values").call(this.j));for(var h=0;h<a.length;h++)l=l.concat(a[h])}return l},F.set=function(a,l){return Pr(this),this.H=null,a=Ri(this,a),cc(this,a)&&(this.F=Ai(this.F)-this.j.get(a).length),this.j.set(a,[l]),this.F=Ai(this.F)+1,this},F.get=function(a,l){return a&&(a=this.oa(a)).length>0?String(a[0]):l},F.toString=function(){if(this.H)return this.H;if(!this.j)return"";for(var a=[],l=H(Array,"from").call(Array,H(this.j,"keys").call(this.j)),h=0;h<l.length;h++){var p=l[h],v=encodeURIComponent(String(p));p=this.oa(p);for(var b=0;b<p.length;b++){var w=v;""!==p[b]&&(w+="="+encodeURIComponent(String(p[b]))),a.push(w)}}return this.H=a.join("&")},F.clone=function(){var a=new gn;return a.H=this.H,this.j&&(a.j=new z.Map(this.j),a.F=this.F),a};var Ri=function(a,l){return l=String(l),a.J&&(l=l.toLowerCase()),l};gn.prototype.Eb=function(a){a&&!this.J&&(Pr(this),this.H=null,this.j.forEach(function(l,h){var p=h.toLowerCase();h!=p&&(this.remove(h),this.remove(p),l.length>0&&(this.H=null,this.j.set(Ri(this,p),ea(l)),this.F=Ai(this.F)+l.length))},this)),this.J=a},gn.prototype.extend=function(a){for(var l=0;l<arguments.length;l++)Ub(arguments[l],function(h,p){this.add(p,h)},this)};var Wo=[],ua=[],lc=null,dc=[],Ar=window.location.hostname,fc=window.location.ancestorOrigins,ca=window.whitelistedDomainsHashedValueListForGpayButtonWithCardInfo||[],Xm=window.denylistedDomainsHashedValueListForGpayButtonWithCardInfo||[],qo=window.denylistedMerchentIdsHashedValueListForGpayButtonWithCardInfo||[],Vd=window.denylistedMerchantIdsHashedValueListForGpayButtonVariant||[],jd=window.allowlistedMerchantDomainsForBnplDynamicButton||[],hc=window.allowlistedMerchantDomainsForRlmiaDynamicButton||[],Qm=window.allowlistedMerchantDomainsForPopupModeLoadingScreen||[],Bd=window.dynamicGpayButtonVariant||"",la=window.testOnlyLocalIbfeUrl||"";function Zo(){switch(Bd){case"GPAY_BUTTON_VARIANT_TYPE_NONE":return 1;case"GPAY_BUTTON_VARIANT_TYPE_DEBIT":return 2;case"GPAY_BUTTON_VARIANT_TYPE_SECURE":return 3;case"GPAY_BUTTON_VARIANT_TYPE_SPEED":return 4;case"GPAY_BUTTON_VARIANT_TYPE_SNOWFALL":return 5;case"GPAY_BUTTON_VARIANT_TYPE_BNPL_ONLY":return 6;case"GPAY_BUTTON_VARIANT_TYPE_BNPL_CARD":return 7;case"GPAY_BUTTON_VARIANT_TYPE_OLYMPICS":return 8;case"GPAY_BUTTON_VARIANT_TYPE_RLMIA":return 9;default:return 0}}function pc(a){["mouseover","mouseout"].map(function(l){a.addEventListener(l,function(h){a.classList.toggle("hover","mouseover"==h.type);var p=document.querySelector(".gpay-card-info-animation-container");null!==p&&p.classList.toggle("hover","mouseover"==h.type)})}),["mousedown","mouseup","mouseout"].map(function(l){a.addEventListener(l,function(h){a.classList.toggle("active","mousedown"==h.type)})}),["focus","blur"].map(function(l){a.addEventListener(l,function(h){a.classList.toggle("focus","focus"==h.type)})})}function Hd(a,l){a.setAttribute("type","button");var h="Google Pay";if(google.payments.api.EnableGpayButtonAriaLabelLocalization){var p=Fi(l.buttonLocale,!0);switch(l.buttonType){case"buy":case"long":var v;h=null!=(v=xi.buy[p])?v:h;break;case"book":var b;h=null!=(b=xi.book[p])?b:h;break;case"checkout":var w;h=null!=(w=xi.checkout[p])?w:h;break;case"donate":var E;h=null!=(E=xi.donate[p])?E:h;break;case"order":var V;h=null!=(V=xi.order[p])?V:h;break;case"pay":var O;h=null!=(O=xi.pay[p])?O:h;break;case"subscribe":var K;h=null!=(K=xi.subscribe[p])?K:h;break;default:h="Google Pay"}}a.setAttribute("aria-label",h)}function Gd(a,l){google.payments.api.EnableGpayButtonDynamicRadius&&null!=l.buttonRadius&&null!=l.buttonRadius&&(lc&&lc.remove(),lc=Nn(".gpay-card-info-container.gpay-card-info-custom-radius, .gpay-button.gpay-card-info-custom-radius\n {\n border-radius: "+l.buttonRadius+"px;\n overflow: hidden;\n }\n",l.buttonRootNode),a.forEach(function(h){return h.classList.add("gpay-card-info-custom-radius")}))}function Ud(a){var l="white";Yo(a)||(l="black");var h=a.buttonType||"buy";return"buy"===a.buttonType?h="buy long":"plain"===a.buttonType&&(h="plain short"),l+" "+h+" "+Fi(a.buttonLocale)}function Yo(a){return"white"==a.buttonColor}function Fi(a,l){var h=null!=navigator.language?navigator.language.substring(0,5):"en",p=(a||h||"en").substring(0,5);return p in ao.buy?p:(p!==h&&void 0!==l&&l&&$n({M:"createButton",errorMessage:'Button locale "'+a+'" is not supported, falling back to browser locale.'}),h in ao.buy?h:"en")}function zd(a){2===a&&H(Qm,"includes").call(Qm,ii(Ar))&&St(window,"about:blank","gp-js-popup","width=600,height=600,menubar=no,toolbar=no,scrollbars=no")}var da=function(){},Wd=function(a,l){return new z.Promise(function(h,p){setTimeout(function(){p({reason:"OTHER_ERROR",intent:a,message:"REQUEST_TIMEOUT"})},l)})},ng=function(a,l){return{error:{reason:a.reason||"OTHER_ERROR",intent:a.intent||l,message:a.message}}},qd=function(a,l,h){$n({M:"loadPaymentData",errorMessage:"An error occurred in call back, please try to avoid this by setting structured error in callback response"}),a&&je({eventType:l,merchantCallbackInfo:{callbackTrigger:h||0}})};da.prototype.Wb=function(a,l,h){return null===l.error&&(console.warn("Please remove null fields in callback returns."),delete l.error),{modifiers:[{supportedMethods:[h&&"SANDBOX"===h&&google.payments.api.EnablePaymentHandlerSandboxBuyflow?"https://pay.sandbox.google.com/gp/p/payment_method_manifest.json":"https://google.com/pay"],data:l}]}},da.prototype.hb=function(a,l){return{type:a,data:l}};var Zd=function(a,l,h,p,v){return z.Promise.resolve(z.Promise.race([Wd("PAYMENT_AUTHORIZATION",h),l.onPaymentAuthorized(a)])).then(function(b){return p("paymentAuthorizationResponse",b,v)},function(b){return qd("REQUEST_TIMEOUT"===b.message,27,2),p("paymentAuthorizationResponse",ng(b,"PAYMENT_AUTHORIZATION"),v)})},gc=function(a,l,h,p,v){return z.Promise.resolve(z.Promise.race([Wd(a.callbackTrigger in cn?cn[a.callbackTrigger]:"UNKNOWN_INTENT",h),l.onPaymentDataChanged(a)])).then(function(b){return p("paymentDataCallbackResponse",b,v)},function(b){return qd("REQUEST_TIMEOUT"===b.message,26,Bb[a.callbackTrigger]),p("paymentDataCallbackResponse",ng(b,a.callbackTrigger||"UNKNOWN_INTENT"),v)})},yc=function(){var a=window.document,l=this;this.Qb=a,this.V=a.createElement("gpay-graypane"),Ko(this.V,{"z-index":2147483647,display:"none",position:"fixed",top:0,right:0,bottom:0,left:0,"background-color":"rgba(32, 33, 36, .6)"}),this.kb=null,this.V.addEventListener("click",function(){l.O()})};function Ko(a,l){for(var h in l)a.style.setProperty(h,l[h].toString(),"important")}function si(a,l){var h=a.ownerDocument.defaultView,p=a.style.transition||"";return new z.Promise(function(v){h.setTimeout(function(){h.setTimeout(v,300),Ko(a,H(Object,"assign").call(Object,{transition:"transform 300ms ease-out, opacity 300ms ease-out"},l))})}).then(function(){Ko(a,H(Object,"assign").call(Object,{transition:p},l))})}yc.prototype.show=function(a){return this.kb=a||null,this.Qb.body.appendChild(this.V),Ko(this.V,{display:"block",opacity:0}),si(this.V,{opacity:1})},yc.prototype.O=function(){if(this.kb)try{this.kb.focus()}catch{}};var ig=function(a){this.m=a,this.yb=this.zb=this.A=this.ma=null,this.sa=3e4};(F=ig.prototype).Ab=function(a){this.A=a},F.Ma=function(a){this.ma=a},F.isReadyToPay=function(a){var l=Yd(a);return new z.Promise(function(h){var p=!1;if(null!=l.hasEnrolledInstrument){var v=l.hasEnrolledInstrument();p=!0}else v=l.canMakePayment();v.then(function(b){window.sessionStorage.setItem("google.payments.api.storage.isreadytopay.result",b.toString());var w={result:b};a.apiVersion>=2&&a.existingPaymentMethodRequired&&(w.paymentMethodPresent=b),google.payments.api.EnableImprovedIsrtpLogging&&!w.result&&(w.notReadyToPayFactors=[p?8:9]),h(w)}).catch(function(){if(window.sessionStorage.getItem("google.payments.api.storage.isreadytopay.result")){var b={result:"true"==window.sessionStorage.getItem("google.payments.api.storage.isreadytopay.result")};google.payments.api.EnableImprovedIsrtpLogging&&!b.result&&(b.notReadyToPayFactors=[p?10:11,12]),h(b)}else b={result:!1},google.payments.api.EnableImprovedIsrtpLogging&&(b.notReadyToPayFactors=[p?10:11]),h(b)})})},F.prefetchPaymentData=function(a){Yd(a,this.m,a.transactionInfo.currencyCode,a.transactionInfo.totalPrice)},F.loadPaymentData=function(a){Kd(this,a)},F.O=function(){};var Yd=function(a,l,h,p){var v={};return a&&(v=JSON.parse(JSON.stringify(a))),v.apiVersion||(v.apiVersion=1),v.swg&&(v.allowedPaymentMethods=["CARD"]),l&&"TEST"==l&&(v.environment=l),new PaymentRequest([{supportedMethods:[l&&"SANDBOX"===l&&google.payments.api.EnablePaymentHandlerSandboxBuyflow?"https://pay.sandbox.google.com/gp/p/payment_method_manifest.json":"https://google.com/pay"],data:v}],{total:{label:"Estimated Total Price",amount:{currency:h||"USD",value:p||"0"}}})},Kd=function(a,l){(l=Yd(l,a.m,l.transactionInfo&&l.transactionInfo.currencyCode||void 0,l.transactionInfo&&l.transactionInfo.totalPrice||void 0)).onpaymentmethodchange=function(h){var p=new da;p=h.methodDetails.callbackTrigger?gc(h.methodDetails,a.A,a.sa,p.Wb,a.m):Zd(h.methodDetails,a.A,a.sa,p.Wb,a.m),h.updateWith(p)},a.ma(l.show().then(function(h){return google.payments.api.LogInternally&&console.log("payment response",h),h.complete("success"),h.details.statusCode?(google.payments.api.LogInternally&&console.log("status code",h.details.statusCode),{error:h.details}):h.details}).catch(function(h){throw google.payments.api.LogInternally&&console.log("payment response with err",h),h.statusCode="CANCELED",h}))},vc=["SHIPPING_ADDRESS","SHIPPING_OPTION"];function Xd(a){if(a.apiVersion>=2){var l=sg(a);if(l&&1==l.length&&"CRYPTOGRAM_3DS"==l[0])return!0}return 1==a.allowedPaymentMethods.length&&"TOKENIZED_CARD"==a.allowedPaymentMethods[0]}function _c(a,l){return!!(a.apiVersion>=2&&(a=sg(a))&&H(a,"includes").call(a,l))}function Xo(a){return!!(a.apiVersion>=2&&a.allowedPaymentMethods&&bc(a,"EWALLET"))}function Qo(){var a=window.location.hostname,l=a.length-11;return l>=0&&a.indexOf(".google.com",l)==l||void 0===window.isSecureContext||window.isSecureContext?null:"Google Pay APIs should be called in secure context!"}function Kb(a){return"CARD"===a||"TOKENIZED_CARD"===a}function Xb(a){return(A=H(Object,"values").call(Object,vd),H(A,"includes")).call(A,a)}function Qd(a){return a?a.encryptedParameters?null:a.apiVersion<2||!a.allowedPaymentMethods||!bc(a,"UPI")?a.swg?(a=a.swg)?a.skuId&&a.publicationId?null:"Both skuId and publicationId must be provided":"Swg parameters must be provided":a.transactionInfo?a.transactionInfo.currencyCode?a.transactionInfo.totalPriceStatus&&(A=H(Object,"values").call(Object,_d),H(A,"includes")).call(A,a.transactionInfo.totalPriceStatus)?"NOT_CURRENTLY_KNOWN"===a.transactionInfo.totalPriceStatus||a.transactionInfo.totalPrice?null:"totalPrice in transactionInfo must be set when totalPriceStatus is ESTIMATED or FINAL!":"totalPriceStatus in transactionInfo must be set to one of NOT_CURRENTLY_KNOWN, ESTIMATED or FINAL!":"currencyCode in transactionInfo must be set!":"transactionInfo must be set!":"UPI not supported":"paymentDataRequest must be set!"}function og(a,l){if(a.callbackIntents&&!l)return"paymentDataCallbacks must be set";if(H(a.callbackIntents,"includes").call(a.callbackIntents,"PAYMENT_AUTHORIZATION")!==!!l.onPaymentAuthorized)return"Both PAYMENT_AUTHORIZATION intent and onPaymentAuthorized must be set";var h=vc.slice();return google.payments.api.EnableOfferCallback&&h.push("OFFER"),h.push("PAYMENT_METHOD"),!!h.filter(function(p){return H(a.callbackIntents,"includes").call(a.callbackIntents,p)}).length!=!!l.onPaymentDataChanged?"onPaymentDataChanged callback must be set if any of "+h+" callback intent is set.":null}function sg(a){return a.allowedPaymentMethods&&(a=bc(a,"CARD"))&&a.parameters?a.parameters.allowedAuthMethods:null}function bc(a,l){for(var h=0;h<a.allowedPaymentMethods.length;h++){var p=a.allowedPaymentMethods[h];if(p.type==l)return p}return null}var k={},uo=function(a,l){Array.isArray(l)||(l=[l]),xn(l.length>0,"At least one Css3Property should be specified."),l=l.map(function(h){if("string"==typeof h)return h;!function(a,l,h){or(a)||Zu("Expected object but got %s: %s.",[qs(a),a],l,Array.prototype.slice.call(arguments,2))}(h,"Expected css3 property to be an object.");var p=h.Hc+" "+h.duration+"s "+h.timing+" "+h.delay+"s";return xn(h.Hc&&"number"==typeof h.duration&&h.timing&&"number"==typeof h.delay,"Unexpected css3 property value: %s",p),p}),function(a,l){var h=k.transition;if(!h){var p="transition".replace(/\-([a-z])/g,function(a,l){return l.toUpperCase()});h=p,void 0===a.style[p]&&(p=(Uo?"Webkit":Pd?"Moz":null)+function(a){return a.replace(RegExp("(^|[\\s]+)([a-z])","g"),function(l,h,p){return h+p.toUpperCase()})}(p),void 0!==a.style[p]&&(h=p)),k.transition=h}h&&(a.style[h]=l)}(a,l.join(","))},kr=function(){this.cb=this.cb,this.jb=this.jb};kr.prototype.cb=!1,kr.prototype.dispose=function(){this.cb||(this.cb=!0,this.Fa())},kr.prototype[H(z.Symbol,"dispose")]=function(){this.dispose()},kr.prototype.Fa=function(){if(this.jb)for(;this.jb.length;)this.jb.shift()()};var ai=function(a,l){this.type=a,this.currentTarget=this.target=l,this.defaultPrevented=this.Pa=!1};ai.prototype.stopPropagation=function(){this.Pa=!0},ai.prototype.preventDefault=function(){this.defaultPrevented=!0};var Qb=function(){if(!oo.addEventListener||!Object.defineProperty)return!1;var a=!1,l=Object.defineProperty({},"passive",{get:function(){a=!0}});try{var h=function(){};oo.addEventListener("test",h,l),oo.removeEventListener("test",h,l)}catch{}return a}(),co=function(a,l){if(ai.call(this,a?a.type:""),this.relatedTarget=this.currentTarget=this.target=null,this.button=this.screenY=this.screenX=this.clientY=this.clientX=this.offsetY=this.offsetX=0,this.key="",this.charCode=this.keyCode=0,this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1,this.state=null,this.pointerId=0,this.pointerType="",this.timeStamp=0,this.Ga=null,a){var h=this.type=a.type,p=a.changedTouches&&a.changedTouches.length?a.changedTouches[0]:null;this.target=a.target||a.srcElement,this.currentTarget=l,(l=a.relatedTarget)||("mouseover"==h?l=a.fromElement:"mouseout"==h&&(l=a.toElement)),this.relatedTarget=l,p?(this.clientX=void 0!==p.clientX?p.clientX:p.pageX,this.clientY=void 0!==p.clientY?p.clientY:p.pageY,this.screenX=p.screenX||0,this.screenY=p.screenY||0):(this.offsetX=Uo||void 0!==a.offsetX?a.offsetX:a.layerX,this.offsetY=Uo||void 0!==a.offsetY?a.offsetY:a.layerY,this.clientX=void 0!==a.clientX?a.clientX:a.pageX,this.clientY=void 0!==a.clientY?a.clientY:a.pageY,this.screenX=a.screenX||0,this.screenY=a.screenY||0),this.button=a.button,this.keyCode=a.keyCode||0,this.key=a.key||"",this.charCode=a.charCode||("keypress"==h?a.keyCode:0),this.ctrlKey=a.ctrlKey,this.altKey=a.altKey,this.shiftKey=a.shiftKey,this.metaKey=a.metaKey,this.pointerId=a.pointerId||0,this.pointerType=a.pointerType,this.state=a.state,this.timeStamp=a.timeStamp,this.Ga=a,a.defaultPrevented&&co.Da.preventDefault.call(this)}};so(co,ai),co.prototype.stopPropagation=function(){co.Da.stopPropagation.call(this),this.Ga.stopPropagation?this.Ga.stopPropagation():this.Ga.cancelBubble=!0},co.prototype.preventDefault=function(){co.Da.preventDefault.call(this);var a=this.Ga;a.preventDefault?a.preventDefault():a.returnValue=!1};var lo="closure_listenable_"+(1e6*Math.random()|0),xr=0,fo=function(a,l,h,p,v){this.listener=a,this.proxy=null,this.src=l,this.type=h,this.capture=!!p,this.fb=v,this.key=++xr,this.Qa=this.ab=!1},Nr=function(a){a.Qa=!0,a.listener=null,a.proxy=null,a.src=null,a.fb=null};function On(a){this.src=a,this.D={},this.Va=0}On.prototype.add=function(a,l,h,p,v){var b=a.toString();(a=this.D[b])||(a=this.D[b]=[],this.Va++);var w=Jo(a,l,p,v);return w>-1?(l=a[w],h||(l.ab=!1)):((l=new fo(l,this.src,b,!!p,v)).ab=h,a.push(l)),l},On.prototype.remove=function(a,l,h,p){if(!((a=a.toString())in this.D))return!1;var v=this.D[a];return(l=Jo(v,l,h,p))>-1&&(Nr(v[l]),xn(null!=v.length),Array.prototype.splice.call(v,l,1),0==v.length&&(delete this.D[a],this.Va--),!0)};var fa=function(a,l){var h=l.type;if(h in a.D){var b,p=a.D[h],v=Ku(p,l);(b=v>=0)&&(xn(null!=p.length),Array.prototype.splice.call(p,v,1)),b&&(Nr(l),0==a.D[h].length&&(delete a.D[h],a.Va--))}};On.prototype.tb=function(a,l,h,p){var v=-1;return(a=this.D[a.toString()])&&(v=Jo(a,l,h,p)),v>-1?a[v]:null},On.prototype.hasListener=function(a,l){var h=void 0!==a,p=h?a.toString():"",v=void 0!==l;return function xm(a,l){for(var h in a)if(l.call(void 0,a[h],h,a))return!0;return!1}(this.D,function(b){for(var w=0;w<b.length;++w)if(!(h&&b[w].type!=p||v&&b[w].capture!=l))return!0;return!1})};var Jo=function(a,l,h,p){for(var v=0;v<a.length;++v){var b=a[v];if(!b.Qa&&b.listener==l&&b.capture==!!h&&b.fb==p)return v}return-1},ui="closure_lm_"+(1e6*Math.random()|0),ef={},ag=function(a,l,h,p,v){if(p&&p.once)tf(a,l,h,p,v);else if(Array.isArray(l))for(var b=0;b<l.length;b++)ag(a,l[b],h,p,v);else h=ho(h),a&&a[lo]?(p=or(p)?!!p.capture:!!p,nf(a),a.N.add(String(l),h,!1,p,v)):ug(a,l,h,!1,p,v)},ug=function(a,l,h,p,v,b){if(!l)throw Error("Invalid event type");var w=or(v)?!!v.capture:!!v,E=Pe(a);if(E||(a[ui]=E=new On(a)),!(h=E.add(l,h,p,w,b)).proxy)if(p=Be(),h.proxy=p,p.src=a,p.listener=h,a.addEventListener)Qb||(v=w),void 0===v&&(v=!1),a.addEventListener(l.toString(),p,v);else if(a.attachEvent)a.attachEvent(cg(l.toString()),p);else{if(!a.addListener||!a.removeListener)throw Error("addEventListener and attachEvent are unavailable.");xn("change"===l,"MediaQueryList only has a change event"),a.addListener(p)}},Be=function(){var a=lg,l=function(h){return a.call(l.src,l.listener,h)};return l},tf=function(a,l,h,p,v){if(Array.isArray(l))for(var b=0;b<l.length;b++)tf(a,l[b],h,p,v);else h=ho(h),a&&a[lo]?a.N.add(String(l),h,!0,or(p)?!!p.capture:!!p,v):ug(a,l,h,!0,p,v)},wt=function(a,l,h,p,v){if(Array.isArray(l))for(var b=0;b<l.length;b++)wt(a,l[b],h,p,v);else p=or(p)?!!p.capture:!!p,h=ho(h),a&&a[lo]?a.N.remove(String(l),h,p,v):a&&(a=Pe(a))&&(l=a.tb(l,h,p,v))&&ha(l)},ha=function(a){if("number"!=typeof a&&a&&!a.Qa){var l=a.src;if(l&&l[lo])fa(l.N,a);else{var h=a.type,p=a.proxy;l.removeEventListener?l.removeEventListener(h,p,a.capture):l.detachEvent?l.detachEvent(cg(h),p):l.addListener&&l.removeListener&&l.removeListener(p),(h=Pe(l))?(fa(h,a),0==h.Va&&(h.src=null,l[ui]=null)):Nr(a)}}},cg=function(a){return a in ef?ef[a]:ef[a]="on"+a},lg=function(a,l){if(a.Qa)a=!0;else{l=new co(l,this);var h=a.listener,p=a.fb||a.src;a.ab&&ha(a),a=h.call(p,l)}return a},Pe=function(a){return(a=a[ui])instanceof On?a:null},ae="__closure_events_fn_"+(1e9*Math.random()>>>0),ho=function(a){return xn(a,"Listener can not be null."),"function"==typeof a?a:(xn(a.handleEvent,"An object listener must have handleEvent method."),a[ae]||(a[ae]=function(l){return a.handleEvent(l)}),a[ae])},at=function(){kr.call(this),this.N=new On(this),this.pc=this,this.xb=null};so(at,kr),at.prototype[lo]=!0,at.prototype.addEventListener=function(a,l,h,p){ag(this,a,l,h,p)},at.prototype.removeEventListener=function(a,l,h,p){wt(this,a,l,h,p)},at.prototype.dispatchEvent=function(a){nf(this);var b,l=this.xb;if(l)for(var h=[],p=1;l;l=l.xb)h.push(l),xn(++p<1e3,"infinite loop");if(l=this.pc,p=a.type||a,"string"==typeof a)a=new ai(a,l);else if(a instanceof ai)a.target=a.target||l;else{var v=a;!function Nm(a,l){for(var h,p,v=1;v<arguments.length;v++){for(h in p=arguments[v])a[h]=p[h];for(var b=0;b<na.length;b++)h=na[b],Object.prototype.hasOwnProperty.call(p,h)&&(a[h]=p[h])}}(a=new ai(p,l),v)}if(v=!0,h)for(b=h.length-1;!a.Pa&&b>=0;b--){var w=a.currentTarget=h[b];v=wc(w,p,!0,a)&&v}if(a.Pa||(w=a.currentTarget=l,v=wc(w,p,!0,a)&&v,a.Pa||(v=wc(w,p,!1,a)&&v)),h)for(b=0;!a.Pa&&b<h.length;b++)w=a.currentTarget=h[b],v=wc(w,p,!1,a)&&v;return v},at.prototype.Fa=function(){if(at.Da.Fa.call(this),this.N){var h,a=this.N;for(h in a.D){for(var p=a.D[h],v=0;v<p.length;v++)Nr(p[v]);delete a.D[h],a.Va--}}this.xb=null};var wc=function(a,l,h,p){if(!(l=a.N.D[String(l)]))return!0;l=l.concat();for(var v=!0,b=0;b<l.length;++b){var w=l[b];if(w&&!w.Qa&&w.capture==h){var E=w.listener,V=w.fb||w.src;w.ab&&fa(a.N,w),v=!1!==E.call(V,p)&&v}}return v&&!p.defaultPrevented};at.prototype.tb=function(a,l,h,p){return this.N.tb(String(a),l,h,p)},at.prototype.hasListener=function(a,l){return this.N.hasListener(void 0!==a?String(a):void 0,l)};var nf=function(a){xn(a.N,"Event target is not initialized. Did you call the superclass (goog.events.EventTarget) constructor?")},Cc=function(a,l){at.call(this),this.gb=a||1,this.Ua=l||oo,this.Nb=Wu(this.Rc,this),this.Ub=Date.now()};so(Cc,at),(F=Cc.prototype).enabled=!1,F.P=null,F.setInterval=function(a){this.gb=a,this.P&&this.enabled?(this.stop(),this.start()):this.P&&this.stop()},F.Rc=function(){if(this.enabled){var a=Date.now()-this.Ub;a>0&&a<.8*this.gb?this.P=this.Ua.setTimeout(this.Nb,this.gb-a):(this.P&&(this.Ua.clearTimeout(this.P),this.P=null),this.dispatchEvent("tick"),this.enabled&&(this.stop(),this.start()))}},F.start=function(){this.enabled=!0,this.P||(this.P=this.Ua.setTimeout(this.Nb,this.gb),this.Ub=Date.now())},F.stop=function(){this.enabled=!1,this.P&&(this.Ua.clearTimeout(this.P),this.P=null)},F.Fa=function(){Cc.Da.Fa.call(this),this.stop(),delete this.Ua};var ar=function(a,l,h,p,v,b){this.code=a,this.data="ok"==a?l:null,this.mode=h,this.origin=p,this.wb=v,this.Nc=b,this.ok="ok"==a,this.error="failed"==a?Error(String(l)||""):null};function Jb(a){var l=a.indexOf("#");return-1==l?a:a.substring(0,l)}function rf(a,l,h){if(l.ok)h(l);else{var p;if(!(p=l.error)){if(p=null,"function"==typeof a.DOMException){a=a.DOMException;try{p=new a("AbortError","AbortError")}catch{}}p||((p=Error("AbortError")).name="AbortError",p.code=20)}(a=p).yd=l,h(z.Promise.reject(a))}}var ci=function(a,l,h){this.g=a,this.Gb=l,this.G=h,this.Jc=!0,this.Hb=null,this.Ib=!1,this.aa=this.ib=this.ba=this.o=null,this.Mb=this.yc.bind(this)};ci.prototype.connect=function(a){if(this.ba)throw Error("already connected");this.ba=a,this.g.addEventListener("message",this.Mb)},ci.prototype.disconnect=function(){if(this.ba&&(this.ba=null,this.o&&(pa(this.o),this.o=null),this.g.removeEventListener("message",this.Mb),this.aa)){for(var a in this.aa){var l=this.aa[a];l.port1&&pa(l.port1),l.port2&&pa(l.port2)}this.aa=null}},ci.prototype.isConnected=function(){return null!=this.G};var sf=function(a){return a.ba&&!a.Hb&&(a.Hb="function"==typeof a.Gb?a.Gb():a.Gb),a.Hb},Qt=function(a){if(null==a.G)throw Error("not connected");return a.G},se=function(a,l){var h=null;a.Ib&&"function"==typeof a.g.MessageChannel&&(h=new a.g.MessageChannel),h?(es(a,"start",l,[h.port2]),hg(a,h.port1)):es(a,"start",l)},es=function(a,l,h,p){if(h={sentinel:"__ACTIVITIES__",cmd:l,payload:h||null},a.o)a.o.postMessage(h,p||void 0);else{var v=sf(a);if(!v)throw Error("not connected");a="connect"==l?null!=a.G?a.G:"*":Qt(a),v.postMessage(h,a,p||void 0)}};ci.prototype.customMessage=function(a){es(this,"msg",a)};var fg=function(a,l){a.aa||(a.aa={});var p,h=a.aa[l];return h||(h=new z.Promise(function(v){p=v}),a.aa[l]=h={port1:null,port2:null,fc:p,promise:h}),h},hg=function(a,l){a.o&&pa(a.o),a.o=l,a.o.onmessage=function(h){var p=h.data,v=p&&p.cmd;p=p&&p.payload||null,v&&a.za(v,p,h)}};function pa(a){try{a.close()}catch{}}ci.prototype.yc=function(a){if(!this.Jc||sf(this)==a.source){var l=a.data;if(l&&"__ACTIVITIES__"==l.sentinel){var h=l.cmd;if(!this.o||"connect"==h||"start"==h){var p=a.origin;l=l.payload||null,null==this.G&&"start"==h&&(this.G=p),null==this.G&&a.source&&sf(this)==a.source&&(this.G=p),p==this.G&&this.za(h,l,a)}}}},ci.prototype.za=function(a,l,h){"connect"==a?(this.o&&(pa(this.o),this.o=null),this.Ib=l&&l.acceptsChannel||!1,this.ba(a,l)):"start"==a?((h=h.ports&&h.ports[0])&&hg(this,h),this.ba(a,l)):"msg"==a?null!=this.ib&&null!=l&&this.ib(l):"cnget"==a?((a=fg(this,l=l.name||"")).port1||(h=new this.g.MessageChannel,a.port1=h.port1,a.port2=h.port2,a.fc(a.port1)),a.port2&&(es(this,"cnset",{name:l},[a.port2]),a.port2=null)):"cnset"==a?(a=h.ports[0],(l=fg(this,l.name)).port1=a,l.fc(a)):this.ba(a,l)};var pg=function(a,l,h){var p=this;this.Ia=a,this.nb=l,this.Za=h||null,this.g=this.Ia.ownerDocument.defaultView,this.G=ac(Ju(l).toString()),this.Ea=null,this.qb=new z.Promise(function(v){p.Ea=v}),this.lb=null,new z.Promise(function(v){p.lb=v}),this.L=null,this.mb=new z.Promise(function(v){p.L=v}),this.ec=this.Xb=null,this.u=new ci(this.g,function(){return p.Ia.contentWindow},this.G)};(F=pg.prototype).connect=function(){var a=this.Ia;if("isConnected"in a)a=a.isConnected;else{var l=a.ownerDocument&&a.ownerDocument.documentElement;a=l&&l.contains(a)||!1}if(!a)throw Error("iframe must be in DOM");return this.u.connect(this.za.bind(this)),Td(this.Ia,this.nb),this.qb},F.disconnect=function(){this.u.disconnect()},F.Ya=function(){return this.mb},F.eb=function(){return this.Ia.contentWindow||null},F.message=function(a){this.u.customMessage(a)},F.onMessage=function(a){this.u.ib=a},F.za=function(a,l){"connect"==a?(se(this.u,this.Za),this.Ea()):"result"==a?this.L&&(l=new ar(a=l.code,"failed"==a?Error(l.data||""):l.data,"iframe",Qt(this.u),!0,!0),rf(this.g,l,this.L),this.L=null,es(this.u,"close"),this.disconnect()):"ready"==a?this.lb&&(this.lb(),this.lb=null):"resize"==a&&(this.ec=l.height,this.Xb&&this.Xb(this.ec))};var q=function(a,l,h,p,v,b){var w=this;if(!p||"_blank"!=p&&"_top"!=p&&"_"==p[0])throw Error('The only allowed targets are "_blank", "_top" and name targets');this.g=a,this.Ic=l,this.nb=h,this.Ec=p,this.Za=v||null,this.ra=b||{},this.Ea=null,this.qb=new z.Promise(function(E){w.Ea=E}),this.L=null,this.mb=new z.Promise(function(E){w.L=E}),this.u=this.W=this.ia=null};(F=q.prototype).open=function(){return rw(this)},F.disconnect=function(){if(this.W&&(this.W.stop(),this.W=null),this.u&&(this.u.disconnect(),this.u=null),this.ia){try{this.ia.close()}catch{}this.ia=null}this.L=null},F.eb=function(){return this.ia},F.Ya=function(){return this.mb},F.message=function(a){this.u.customMessage(a)},F.onMessage=function(a){this.u.ib=a};var rw=function(a){var l=Ct(a),h=a.nb;if(!a.ra.Cd){var p=function tw(a){var l={requestId:a.requestId,returnUrl:a.hc,args:a.qc};return void 0!==a.origin&&(l.origin=a.origin),void 0!==a.wb&&(l.originVerified=a.wb),JSON.stringify(l)}({requestId:a.Ic,hc:a.ra.hc||Jb(a.g.location.href),qc:a.Za});h=h+(-1==h.indexOf("#")?"#":"&")+encodeURIComponent("__WA__")+"="+encodeURIComponent(p)}"_top"!=(p=a.Ec)&&function dg(a){return/Trident|MSIE|IEMobile/i.test((a=a.navigator)&&a.userAgent)}(a.g)&&(p="_top");try{var v=St(a.g,h,p,l)}catch{}if(!v&&"_top"!=p&&!a.ra.Ad){p="_top";try{v=St(a.g,h,p)}catch{}}return v?(a.ia=v,"_top"!=p&&ma(a)):Ec(a,Error("failed to open window")),a.mb.catch(function(){})},Ct=function(a){var l=a.g.screen,h=l.availWidth||l.width,p=l.availHeight||l.height,v=a.g==a.g.top,b=a.g.navigator;b=/Edge/i.test(b&&b.userAgent),h=Math.max(h-(v&&a.g.outerWidth>a.g.innerWidth?Math.min(100,a.g.outerWidth-a.g.innerWidth):b?100:0),.5*h);var w=Math.max(p-(v&&a.g.outerHeight>a.g.innerHeight?Math.min(100,a.g.outerHeight-a.g.innerHeight):b?100:0),.5*p);for(var E in p=Math.floor(Math.min(600,.9*h)),v=Math.floor(Math.min(600,.9*w)),a.ra.width&&(p=Math.min(a.ra.width,h)),a.ra.height&&(v=Math.min(a.ra.height,w)),a=Math.floor((l.width-p)/2),l=Math.floor((l.height-v)/2),h={height:v,width:p,resizable:"yes",scrollbars:"yes"},b||(h.left=a,h.top=l),b="",h)b&&(b+=","),b+=E+"="+h[E];return b},ma=function(a){a.W=new Cc(500),a.W.addEventListener("tick",function(){mg(a,!0)}),a.W.start(),a.u=new ci(a.g,a.ia,null),a.u.connect(a.za.bind(a))},mg=function(a,l){(!a.ia||a.ia.closed)&&(a.W&&(a.W.stop(),a.W=null),a.g.setTimeout(function(){try{a.ea("canceled",null)}catch(h){Ec(a,h)}},l?3e3:0))},Ec=function(a,l){a.L&&a.L(z.Promise.reject(l)),a.disconnect()};q.prototype.ea=function(a,l){if(this.L){var h=this.u.isConnected();a=new ar(a,l,"popup",h?Qt(this.u):ac(this.nb),h,h),rf(this.g,a,this.L),this.L=null}this.u&&es(this.u,"close"),this.disconnect()},q.prototype.za=function(a,l){var h=this;"connect"==a?(se(this.u,this.Za),this.Ea()):"result"==a?this.ea(a=l.code,"failed"==a?Error(l.data||""):l.data):"check"==a&&this.g.setTimeout(function(){return mg(h)},200)};var af=function(a,l,h,p,v){this.g=a,this.tc=l,this.uc=h,this.G=p,this.Qc=v};af.prototype.Ya=function(){var a=this,l=new ar(this.tc,this.uc,"redirect",this.G,this.Qc,!1);return new z.Promise(function(h){rf(a.g,l,h)})};var po=function(){var a=window,l=this;this.version="1.23",this.g=a,this.R=a.location.hash,this.Cb={},this.Db={},this.cc=null,new z.Promise(function(h){l.cc=h})};po.prototype.open=function(a,l,h,p,v){return{Dd:Sc(this,a,l,h,p,v).eb()}},po.prototype.Ma=function(a,l){var h=this.Cb[a];if(h||(this.Cb[a]=h=[]),h.push(l),!(h=this.Db[a])&&this.R){try{var p=this.g,v=function ew(a){return a?(/^[?#]/.test(a)?a.slice(1):a).split("&").reduce(function(l,h){var p=h.split("=");return h=decodeURIComponent(p[0]||""),p=decodeURIComponent(p[1]||""),h&&(l[h]=p),l},{}):{}}(this.R).__WA_RES__;if(v){var b=JSON.parse(v);if(b&&b.requestId==a){var w=p.location.hash;if(w){var E=encodeURIComponent("__WA_RES__")+"=";v=-1;do{if(-1!=(v=w.indexOf(E,v))){var V=v>0?w.substring(v-1,v):"";if(""==V||"?"==V||"#"==V||"&"==V){var O=w.indexOf("&",v+1);-1==O&&(O=w.length),w=w.substring(0,v)+w.substring(O+1)}else v++}}while(-1!=v&&v<w.length)}var K=w;if((K=K||"")!=p.location.hash&&p.history&&p.history.replaceState)try{p.history.replaceState(p.history.state,"",K)}catch{}var We=b.code,ht=b.data,Gt=b.origin,ss=p.document.referrer&&ac(p.document.referrer);h=new af(p,We,ht,Gt,Gt==ss)}else h=null}else h=null}catch(vn){(function nw(a){setTimeout(function(){throw a})})(vn),this.cc(vn)}h&&(this.Db[a]=h)}(a=h)&&uf(a,l)};var Sc=function(a,l,h,p,v,b){var w=new q(a.g,l,h,p,v,b);return w.open().then(function(){$(a,l,w)}),w},uf=function(a,l){z.Promise.resolve().then(function(){l(a)})},$=function(a,l,h){var p=a.Cb[l];p&&p.forEach(function(v){uf(h,v)}),a.Db[l]=h},ya=window.testOnlyLocalIbfeUrl||"",va=window.testOnlyLocalWeb5Url||"",Tc=window.integratorExperimentIds||[],Rn=function(a,l,h,p){this.m=a,this.Wa=l||!1,this.Jb=h||new po,this.ub=new yc,this.Oa=this.ma=null,this.Fb=!1,this.Pb=this.o=null,this.dc=p||null,this.yb=this.zb=this.A=this.Ra=null,this.sa=3e4,this.Wa&&Nn("\n.google-payments-dialog {\n animation: none 0s ease 0s 1 normal none running;\n background: none 0 0 / auto repeat scroll padding-box border-box #fff;\n border: 0 none #333;\n border-collapse: separate;\n bottom: 0;\n box-shadow: #808080 0 3px 0 0, #808080 0 0 22px;\n box-sizing: border-box;\n letter-spacing: normal;\n max-height: 100%;\n overflow: visible;\n position: fixed;\n width: 100%;\n appearance: none;\n left: 0;\n}\n@media (min-width: 600px) {\n .google-payments-dialog {\n width: 480px;\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n max-height: 600px;\n }\n}\n.google-payments-dialogContainer {\n position: fixed;\n z-index: 2147483647;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n overflow: hidden;\n background-color: rgba(0,0,0,0.4);\n}\n")};Rn.prototype.Ma=function(a){this.ma||(this.ma=a,this.Jb.Ma("GPAY",this.Dc.bind(this)))},Rn.prototype.O=function(){this.ub.O()},Rn.prototype.Dc=function(a){var l=this;(function(a){a.kb=null,a.V.parentElement&&si(a.V,{opacity:0}).then(function(){Ko(a.V,{display:"none"}),a.Qb.body.removeChild(a.V)})})(this.ub),this.ma(a.Ya().then(function(h){if("TIN"!=l.m&&h.origin!=cf(l))throw Error("channel mismatch");var p=h.data;if(p.redirectEncryptedCallbackData)return Ir=3,gg(l,p.redirectEncryptedCallbackData).then(function(v){var b=H(Object,"assign").call(Object,{},p);return delete b.redirectEncryptedCallbackData,H(Object,"assign").call(Object,b,v)});if(!h.wb||!h.Nc)throw Error("channel mismatch");return p},function(h){var p=h.message;h=h.message;try{h=JSON.parse(p.substring(7))}catch{}return h.statusCode&&-1==["DEVELOPER_ERROR","MERCHANT_ACCOUNT_ERROR"].indexOf(h.statusCode)&&(h={statusCode:"CANCELED"}),"AbortError"==h&&(h={statusCode:"CANCELED"}),z.Promise.reject(h)}))};var gg=function(a,l){return new z.Promise(function(h,p){var v=ow(a),b=new XMLHttpRequest;b.open("POST",v,!0),"withCredentials"in b&&(b.withCredentials=!0),b.onreadystatechange=function(){if(!(b.readyState<2))if(b.status<100||b.status>599)b.onreadystatechange=null,p(Error("Unknown HTTP status "+b.status));else if(4==b.readyState)try{h(JSON.parse(b.responseText))}catch(w){p(w)}},b.onerror=function(){p(Error("Network failure"))},b.onabort=function(){p(Error("Request aborted"))},b.send(l)})};Rn.prototype.isReadyToPay=function(a){var l=this;return new z.Promise(function(h,p){if(Xd(a)){var v={result:!1};google.payments.api.EnableImprovedIsrtpLogging&&(v.notReadyToPayFactors=[1]),h(v)}else{if(google.payments.api.EnableImprovedIsrtpLogging&&(v=function(a){var l=window.navigator.userAgent,h=l.indexOf("OPA/")>0&&l.indexOf("AppleWebKit")>0,p=l.indexOf("Instagram")>0,v=l.indexOf("Instagram")>0&&l.indexOf("IABMV/1")>0,b=l.indexOf("FB_IAB")>0||l.indexOf("FBIOS")>0,w=(l.indexOf("FB_IAB")>0||l.indexOf("FBIOS")>0)&&l.indexOf("IABMV/1")>0,E=l.indexOf("AndroidMapsWebView")>0;if(!a.Wa){if(h)return{result:!1,notReadyToPayFactors:[2]};if(p&&!v)return{result:!1,notReadyToPayFactors:[3]};if(b&&!w)return{result:!1,notReadyToPayFactors:[4]};if(E)return{result:!1,notReadyToPayFactors:[5]}}return a=l.indexOf("UCMini")>0,google.payments.api.ReadyToPayAdditionalBrowsers&&a?{result:!1,notReadyToPayFactors:[6]}:(a=google.payments.api.ReadyToPayAdditionalBrowsers&&(l.indexOf("OPT")>0||l.indexOf("UCBrowser")>0),l.indexOf("Chrome")>0||l.indexOf("Firefox")>0||l.indexOf("Safari")>0||a||h||v||w?{result:!0,notReadyToPayFactors:[]}:{result:!1,notReadyToPayFactors:[7]})}(l),!v.result))return void h(v);var b=(v=window.navigator.userAgent).indexOf("OPA/")>0&&v.indexOf("AppleWebKit")>0,w=v.indexOf("Instagram")>0,E=v.indexOf("Instagram")>0&&v.indexOf("IABMV/1")>0,V=v.indexOf("FB_IAB")>0||v.indexOf("FBIOS")>0,O=(v.indexOf("FB_IAB")>0||v.indexOf("FBIOS")>0)&&v.indexOf("IABMV/1")>0,K=v.indexOf("AndroidMapsWebView")>0;if((b||w&&!E||V&&!O||K)&&!l.Wa)h({result:!1});else{if(w=!1,google.payments.api.ReadyToPayAdditionalBrowsers){if(v.indexOf("UCMini")>0)return void h({result:!1});w=v.indexOf("OPT")>0||v.indexOf("UCBrowser")>0}var We=v.indexOf("Chrome")>0||v.indexOf("Firefox")>0||v.indexOf("Safari")>0||w||b||E||O;We&&a.apiVersion>=2&&a.existingPaymentMethodRequired?(a.environment=l.m,oa(a,6,["isReadyToPayResponse","isReadyToPayError"],function(ht){var Gt={result:We};a.existingPaymentMethodRequired&&(ht.data.isReadyToPayError?p({statusCode:"DEVELOPER_ERROR",statusMessage:"Ready to pay error. Cause : "+ht.data.isReadyToPayError}):Gt.paymentMethodPresent="READY_TO_PAY"==ht.data.isReadyToPayResponse),h(Gt)})):h({result:We})}}})},Rn.prototype.prefetchPaymentData=function(a){if(this.Wa){this.xa(a);var l=_a(this),h=mo(this,l.container,l.iframe,a,yg(a));this.Oa={container:l.container,iframe:l.iframe,request:a,dataPromise:h}}},Rn.prototype.loadPaymentData=function(a){var l=this;if(a.swg||a.apiVersion||(a.apiVersion=1),a.forceRedirect&&this.A)throw Error("Callback is not supported in redirect mode");a.environment=this.m,this.xa(a);var h=yg(a);if(!this.Wa)return Ir=a.forceRedirect?3:2,function(a,l,h,p,v){var b=Sc(a,"GPAY",l,h,p,v);return b.qb.then(function(){return b})}(this.Jb,Ic(this,h),a.forceRedirect?"_top":"gp-js-popup",a,iw(a)).then(function(b){var w=new da;l.ub.show(b&&b.eb()),google.payments.api.EnableClosePopupOnHostingPageUnload&&window.addEventListener("beforeunload",function(){var E;null==(E=b.eb())||E.close()}),b.onMessage(function(E){"partialPaymentDataCallback"==E.type?l.zb=gc(E.data,l.A,l.sa,w.hb,l.m).then(function(V){return b.message(V)}):"fullPaymentDataCallback"==E.type&&(l.yb=Zd(E.data,l.A,l.sa,w.hb,l.m).then(function(V){b.message(V)}))})});if(Ir=1,this.Oa){var p=this.Oa;a=this.Oa.dataPromise,this.Oa=null}else p=_a(this),a=mo(this,p.container,p.iframe,a,h);lf(this,p.container,p.iframe),history.pushState({},"",window.location.href);var v=function(b){b.preventDefault(),(b=p).container.parentNode&&(l.Pb(z.Promise.reject({errorCode:"CANCELED"})),ns(b.container,b.iframe),l.o&&l.o.disconnect()),window.removeEventListener("popstate",v)};window.addEventListener("popstate",v),h=new z.Promise(function(b){l.Pb=b}),this.ma(z.Promise.race([a,h]))};var iw=function(a){var l={width:600,height:550};return a.forceRedirect||a.swg||(l.disableRedirectFallback=!0),l};Rn.prototype.Ab=function(a){this.A=a};var cf=function(a){return"LOCAL"==a.m?"":"TEST"==a.m&&""!=ya?ya:"https://"+("PREPROD"==a.m?"pay-preprod.sandbox":"SANDBOX"==a.m?"pay.sandbox":"CANARY"==a.m?"ibfe-canary.corp":"pay")+".google.com"},ow=function(a){var l=cf(a)+"/gp/p/apis/buyflow/process";return a.dc&&(l+="?rk="+encodeURIComponent(a.dc)),l},yg=function(a){var l,h;if(null!=(l=a.i)&&l.disableNgbf)return!1;if(null!=(h=a.callbackIntents)&&h.length&&(l=H(a.callbackIntents,"includes").call(a.callbackIntents,"OFFER"),!google.payments.api.EnableWebNgbfForCallbackIntents||l&&!google.payments.api.EnableWebNgbfForOfferCallbackIntent)||a.Bd)return!1;if(a.allowedPaymentMethods)for(l=(a=_e(a.allowedPaymentMethods)).next();!l.done;l=a.next())if((l=l.value).parameters&&l.parameters.cvcRequired&&!google.payments.api.EnableWebNgbfForCvcRequired)return!1;return!0},Ic=function(a,l){var h="TIN"==a.m?"/ui/pay":cf(a)+"/gp/p/ui/pay",p=!1;return l&&(p=!0,h+="?ng=true","TEST"==a.m&&""!=va&&(h+="&_web5host="+va)),Tc.length>0&&(h+=(p?"&":"?")+"expids="+Tc.join(",")),h},ns=function(a,l){yn(l,"all 250ms ease 0s"),l.height="0px",setTimeout(function(){a.parentNode&&a.parentNode.removeChild(a)},250)},_a=function(a){var l=document.createElement("div");l.classList.add("google-payments-dialogContainer");var h=document.createElement("div");h.classList.add("iframeContainer");var p=document.createElement("iframe");return p.classList.add("google-payments-dialog"),p.setAttribute("frameborder","0"),p.setAttribute("scrolling","no"),h.appendChild(p),l.appendChild(h),document.body.appendChild(l),h=(l={container:l,iframe:p}).iframe,(p=l.container).addEventListener("click",Wu(a.sc,a,l)),p.style.display="none",h.style.display="none",h.height="0px",yn(h,"all 250ms ease 0s"),a.Fb=!1,l};Rn.prototype.sc=function(a){a.container.parentNode&&history.back()};var lf=function(a,l,h){l.style.display="block",h.style.display="block",setTimeout(function(){h.height="280px",setTimeout(function(){a.Fb=!0,a.Ra&&(yn(h,a.Ra.transition),h.height=a.Ra.height,a.Ra=null)},250)},1)},yn=function(a,l){uo(a,l),a.style.setProperty("-webkit-transition",l)},mo=function(a,l,h,p,v){p.swg||p.apiVersion||(p.apiVersion=1);var w,b="";return p.i&&p.i.coordinationToken&&(b=p.i.coordinationToken),p.environment=a.m,v=function(a,l,h,p){var v=window.location.origin;h=void 0===h?"":h,p=void 0===p?"":p;var b=Gn("https://pay.google.com/%{path}");return"CANARY"==a?b=Gn("https://ibfe-canary.corp.google.com/%{path}"):("SANDBOX"==a||"PREPROD"==a)&&(b=Gn("https://pay"+("PREPROD"==a?"-preprod":"")+".sandbox.google.com/%{path}")),l={origin:v,coordination_token:h,ng:l,hl:p},p=(h=Ju(a=nc(b,{path:Gn("gp/p/ui/pay")})).toString()).split(/[?#]/),v=/[?]/.test(h)?"?"+p[1]:"",function Rm(a,l,h,p){function v(w,E){null!=w&&(Array.isArray(w)?w.forEach(function(V){return v(V,E)}):(l+=b+encodeURIComponent(E)+"="+encodeURIComponent(w),b="&"))}var b=l.length?"&":"?";return p.constructor===Object&&(p=H(Object,"entries").call(Object,p)),Array.isArray(p)?p.forEach(function(w){return v(w[1],w[0])}):p.forEach(v),Ed(a+l+h)}(p[0],v,/[#]/.test(h)?"#"+(v?p[2]:p[1]):"",l)}(a.m,v,b,p.i.firstPartyLocale),function(a,l,h){var p=new pg(a,l,h);return p.connect().then(function(){return p})}(h,v,p).then(function(E){a.o=E;var V=new da;return E.onMessage(function(O){"partialPaymentDataCallback"==O.type?a.zb=gc(O.data,a.A,a.sa,V.hb).then(function(K){return E.message(K)}):"fullPaymentDataCallback"==O.type?a.yb=Zd(O.data,a.A,a.sa,V.hb).then(function(K){return E.message(K)}):"resize"==O.type&&(a.Fb?(w||(w=Date.now()),Date.now()<w+250?yn(h,O.transition+", height 250ms"):yn(h,O.transition),h.height=O.height):a.Ra={height:O.height,transition:O.transition})}),E.Ya()}).then(function(E){return ns(l,h),history.back(),E.data},function(E){return ns(l,h),history.back(),z.Promise.reject(E)})};Rn.prototype.xa=function(a){var l={startTimeMs:Date.now()};a.i=a.i?H(Object,"assign").call(Object,l,a.i):l};var Ee,Pc="actions.google.com amp-actions.sandbox.google.com amp-actions-staging.sandbox.google.com amp-actions-autopush.sandbox.google.com payments.developers.google.com payments.google.com".split(" "),W=function(a,l,h,p){this.qa=l,function Zb(a){if(a.environment&&!(A=H(Object,"values").call(Object,yd),H(A,"includes")).call(A,a.environment))throw Error("Parameter environment in PaymentsClientOptions can optionally be set to PRODUCTION, otherwise it defaults to TEST.")}(a),this.vb=null,this.m=a.environment||"TEST",Ee||(Ee=-1!=Pc.indexOf(window.location.hostname)&&a.i&&a.i.googleTransactionId?a.i.googleTransactionId:function zm(a){for(var p,l=Array(36),h=0,v=0;v<36;v++)8==v||13==v||18==v||23==v?l[v]="-":14==v?l[v]="4":(h<=2&&(h=33554432+16777216*Math.random()|0),p=15&h,h>>=4,l[v]=Gb[19==v?3&p|8:p]);return l.join("")+"."+a}(this.m)),this.v=a,this.Ob=a.merchantInfo&&a.merchantInfo.merchantId?a.merchantInfo.merchantId:"",a.paymentDataCallback&&(a.paymentDataCallbacks={onPaymentDataChanged:a.paymentDataCallback}),this.A=null,this.l=new os(a,h),this.T=new Rn(this.m,h,p,a.i&&a.i.redirectKey),this.I=5,this.B=null,this.na=5===(l=this.l.mode)||4===l?new ig(this.m):this.T,a.paymentDataCallbacks&&(this.A=a.paymentDataCallbacks,this.na.Ab(a.paymentDataCallbacks),this.T.Ab(a.paymentDataCallbacks)),this.T.Ma(this.Yb.bind(this)),this.na.Ma(this.Yb.bind(this)),Ir=l,Bm=Ee,je({eventType:9,clientLatencyStartMs:Date.now(),buyFlowActivityReason:this.l.s,softwareInfo:xt(this),merchantInfo:Ht(this),merchantPageAddress:google.payments.api.EnableImprovedMerchantLogging?""+window.location.origin+window.location.pathname:null}),window.addEventListener("message",function(v){-1!=Pc.indexOf(window.location.hostname)&&"logPaymentData"===v.data.name&&je(v.data.data)})},xt=function(a){return a.v.merchantInfo&&a.v.merchantInfo.softwareInfo?a.v.merchantInfo.softwareInfo:null},Ht=function(a){var l,h,p,v;return null!=(l=a.v.merchantInfo)&&l.merchantId||null!=(h=a.v.merchantInfo)&&h.merchantName?(l={},null!=(p=a.v.merchantInfo)&&p.merchantId&&(l.merchantId=a.v.merchantInfo.merchantId),null!=(v=a.v.merchantInfo)&&v.merchantName&&(l.merchantName=a.v.merchantInfo.merchantName),l):null};W.prototype.isReadyToPay=function(a){var l=this;if(a){var h={};this.v.environment&&(h.environment=this.v.environment),this.v.merchantInfo&&(h.merchantInfo=this.v.merchantInfo),this.v.i&&(h.i=this.v.i),a=H(Object,"assign").call(Object,{},h,a),this.Ob=a.merchantInfo&&a.merchantInfo.merchantId?a.merchantInfo.merchantId:""}var p=Date.now(),v=[].concat(Ye(this.l.s));je({eventType:12,clientLatencyStartMs:p,buyFlowActivityReason:v,softwareInfo:xt(this),isReadyToPayRequest:a});var b=Qo()||function Yb(a){if(!a)return"isReadyToPayRequest must be set!";if(!(a.apiVersion<2)&&a.allowedPaymentMethods&&bc(a,"UPI"))return"UPI not supported";if(a.apiVersion>=2){if(!("apiVersionMinor"in a))return"apiVersionMinor must be set!";if(!a.allowedPaymentMethods||!Array.isArray(a.allowedPaymentMethods)||0==a.allowedPaymentMethods.length)return"for v2 allowedPaymentMethods must be set to an array containing a list of accepted payment methods";for(var l=0;l<a.allowedPaymentMethods.length;l++){var h=a.allowedPaymentMethods[l];if("CARD"==h.type){if(!h.parameters)return"Field parameters must be setup in each allowedPaymentMethod";var p=h.parameters.allowedCardNetworks;if(!p||!Array.isArray(p)||0==p.length)return"allowedCardNetworks must be setup in parameters for type CARD";if(!(h=h.parameters.allowedAuthMethods)||!Array.isArray(h)||0==h.length||!h.every(Xb))return"allowedAuthMethods must be setup in parameters for type 'CARD' and must contain 'CRYPTOGRAM_3DS' and/or 'PAN_ONLY'"}}}else if(!a.allowedPaymentMethods||!Array.isArray(a.allowedPaymentMethods)||0==a.allowedPaymentMethods.length||!a.allowedPaymentMethods.every(Kb))return"allowedPaymentMethods must be set to an array containing 'CARD' and/or 'TOKENIZED_CARD'!";return null}(a);if(b)return new z.Promise(function(O,K){$n({M:"isReadyToPay",errorMessage:b}),je({eventType:0,buyFlowActivityReason:v,error:2,errorMessage:b,softwareInfo:xt(l),merchantInfo:Ht(l)}),K({statusCode:"DEVELOPER_ERROR",statusMessage:b})});var w=[].concat(Ye(this.l.s)),E=ve(this,a,w);if(a.activityModeRequired){var V=null;return is.then(function(O){return V=O,E},function(){return V=!1,E}).then(function(O){return V||(w.push(40),5===l.l.mode&&(l.l.mode=2)),O.activityMode=l.l.mode,df(l,p,O,w,a),google.payments.api.EnableImprovedIsrtpLogging?vg(O):O}).catch(function(O){throw ba(l,O,w,a),O})}return E.then(function(O){return df(l,p,O,w,a),google.payments.api.EnableImprovedIsrtpLogging?vg(O):O}).catch(function(O){throw ba(l,O,w,a),O})};var vg=function(a){return a.hasOwnProperty("notReadyToPayFactors")&&delete(a=H(Object,"assign").call(Object,{},a)).notReadyToPayFactors,a},df=function(a,l,h,p,v){je({eventType:0,clientLatencyStartMs:l,isReadyToPayApiResponse:h,buyFlowActivityReason:p,softwareInfo:xt(a),merchantInfo:Ht(a),isReadyToPayRequest:v})},ba=function(a,l,h,p){l=l.statusCode?"INTERNAL_ERROR"==(l=l.statusCode)?1:"DEVELOPER_ERROR"==l?2:"MERCHANT_ACCOUNT_ERROR"==l?4:"UNSUPPORTED_API_VERSION"==l?5:"BUYER_CANCEL"==l?6:0:1,je({eventType:0,buyFlowActivityReason:h,error:l,softwareInfo:xt(a),merchantInfo:Ht(a),isReadyToPayRequest:p})},ve=function(a,l,h){var p=4===a.l.mode&&!li(l);if(Xo(l)&&!p&&(!(l=Jt(l)).allowedPaymentMethods||0===l.allowedPaymentMethods.length))return google.payments.api.EnableImprovedIsrtpLogging?rs(l,[13]):rs(l,[]);if(p){if(l.apiVersion>=2)return Ac(a,l,h);var v=a.T.isReadyToPay(l);return p=a.na.isReadyToPay(l),Xd(l)&&!a.l.ua?(h.push(6),p):(h.push(7),p.then(function(){return v}))}return a.T.isReadyToPay(l)},Ac=function(a,l,h){var p=rs(l,[]);google.payments.api.EnableImprovedIsrtpLogging&&(p=rs(l,[14]));var v=p;if(_c(l,"CRYPTOGRAM_3DS")||Xo(l)){v=JSON.parse(JSON.stringify(l));for(var b=0;b<v.allowedPaymentMethods.length;b++)"CARD"==v.allowedPaymentMethods[b].type&&(v.allowedPaymentMethods[b].parameters.allowedAuthMethods=["CRYPTOGRAM_3DS"]);h.push(8),v=a.na.isReadyToPay(v)}var w=p;return _c(l,"PAN_ONLY")&&(h.push(9),h=Xo(l)?Jt(l):l,w=a.T.isReadyToPay(h)),v.then(function(E){return 1==(E&&E.result)||google.payments.api.EnableImprovedIsrtpLogging&&E&&0==E.result&&!_c(l,"PAN_ONLY")?E:w})},rs=function(a,l){var h={result:!1};return a.existingPaymentMethodRequired&&(h.paymentMethodPresent=!1),google.payments.api.EnableImprovedIsrtpLogging&&l&&l.length>0&&(h.notReadyToPayFactors=l),z.Promise.resolve(h)},Jt=function(a){var l=H(Object,"assign").call(Object,{},a);return l.allowedPaymentMethods=a.allowedPaymentMethods.filter(function(h){return"EWALLET"!=h.type}),l},kc=function(a){var l=H(Object,"assign").call(Object,{},a);return l.allowedPaymentMethods=a.allowedPaymentMethods.filter(function(h){return"EWALLET"!=h.type}),l};(F=W.prototype).prefetchPaymentData=function(a){var l=Qo()||Qd(a);l?$n({M:"prefetchPaymentData",errorMessage:l}):(this.xa(a),this.l.Sa&&!li(a)?this.na.prefetchPaymentData(a):this.T.prefetchPaymentData(a))},F.notifyAvailableOffers=function(){},F.loadPaymentData=function(a){var l=this,h=[].concat(Ye(this.l.s)),p=Date.now(),v=function(){var O={eventType:5,buyFlowActivityReason:h.length?h:[99],softwareInfo:xt(l),merchantInfo:Ht(l),buttonInfo:l.B};google.payments.api.EnableCreateButtonApiOnClickLogging&&(O.clientLatencyStartMs=p),je(O)},b=Qo()||Qd(a);if(this.I=a&&a.swg?6:5,Ir=this.l.mode,b)this.qa(new z.Promise(function(O,K){je({eventType:1,error:2,buyFlowMode:l.I,softwareInfo:xt(l),merchantInfo:Ht(l),buttonInfo:l.B}),$n({M:"loadPaymentData",errorMessage:b}),K({statusCode:"DEVELOPER_ERROR",statusMessage:b})})),v();else{if(this.A||a.callbackIntents){var w=og(a,this.A);if(w)return this.qa(new z.Promise(function(O,K){je({eventType:1,error:2,buyFlowMode:l.I,softwareInfo:xt(l),merchantInfo:Ht(l),buttonInfo:l.B}),$n({M:"loadPaymentData",errorMessage:w}),K({statusCode:"DEVELOPER_ERROR",statusMessage:w})})),void v()}this.vb=Date.now();var E=Ca(this.l,a,h),V=5===E||4===E?this.na:this.T;if(E!==this.l.mode&&(Ir=E),this.xa(a),v(),Xo(a)&&(4!=this.l.mode||li(a))&&(!(a=kc(a)).allowedPaymentMethods||0===a.allowedPaymentMethods.length))return this.qa(new z.Promise(function(O,K){je({eventType:1,error:2,buyFlowMode:l.I,softwareInfo:xt(l),merchantInfo:Ht(l),buttonInfo:l.B}),$n({M:"loadPaymentData",errorMessage:"EWALLET is not supported in this environment."}),K({statusCode:"DEVELOPER_ERROR",statusMessage:"EWALLET is not supported in this environment."})})),void v();V.loadPaymentData(a)}},F.Vb=function(a){var h,p,v,b,w,E,V,l=this;return Lo(function(O){return 1==O.X?(h=[].concat(Ye(l.l.s)),p=Date.now(),v=function(){var K={eventType:5,buyFlowActivityReason:h.length?h:[99],softwareInfo:xt(l),merchantInfo:Ht(l),buttonInfo:l.B};google.payments.api.EnableCreateButtonApiOnClickLogging&&(K.clientLatencyStartMs=p),je(K)},b=Qo()||Qd(a),l.I=a&&a.swg?6:5,Ir=l.l.mode,b?(l.qa(new z.Promise(function(K,We){je({eventType:1,error:2,buyFlowMode:l.I,softwareInfo:xt(l),merchantInfo:Ht(l),buttonInfo:l.B}),$n({M:"loadPaymentData",errorMessage:b}),We({statusCode:"DEVELOPER_ERROR",statusMessage:b})})),v(),O.return()):(l.A||a.callbackIntents)&&(w=og(a,l.A))?(l.qa(new z.Promise(function(K,We){je({eventType:1,error:2,buyFlowMode:l.I,softwareInfo:xt(l),merchantInfo:Ht(l),buttonInfo:l.B}),$n({M:"loadPaymentData",errorMessage:w}),We({statusCode:"DEVELOPER_ERROR",statusMessage:w})})),v(),O.return()):(l.vb=Date.now(),ro(O,_g(l.l,a,h),2))):(V=5===(E=O.Xa)||4===E?l.na:l.T,E!==l.l.mode&&(Ir=E),l.xa(a),v(),!Xo(a)||4==l.l.mode&&!li(a)||(a=kc(a)).allowedPaymentMethods&&0!==a.allowedPaymentMethods.length?(V.loadPaymentData(a),void(O.X=0)):(l.qa(new z.Promise(function(K,We){je({eventType:1,error:2,buyFlowMode:l.I,softwareInfo:xt(l),merchantInfo:Ht(l),buttonInfo:l.B}),$n({M:"loadPaymentData",errorMessage:"EWALLET is not supported in this environment."}),We({statusCode:"DEVELOPER_ERROR",statusMessage:"EWALLET is not supported in this environment."})})),v(),O.return()))})},F.createButton=function(a){this.B=function(a){var l=0,h=0;switch(a.buttonType){case"short":l=1;break;case"long":l=2;break;case"plain":l=3;break;case"buy":l=4;break;case"donate":l=5;break;case"book":l=6;break;case"checkout":l=7;break;case"order":l=8;break;case"pay":l=9;break;case"subscribe":l=10}switch(a.buttonSizeMode){case"static":h=1;break;case"fill":h=2}var p=void 0===a.buttonRootNode?0:3;a.buttonRootNode instanceof ShadowRoot?p=1:a.buttonRootNode instanceof HTMLDocument&&(p=2);var v=null;return null!=a.buttonRadius&&null!=a.buttonRadius&&(v=Number(a.buttonRadius)),{buttonType:l,buttonSizeMode:h,buttonRootNode:p,buttonRadius:v}}(a=void 0===a?{}:a);var l=function Jm(a,l,h,p,v){if(a=void 0===a?{}:a,l=void 0===l?"":l,h=void 0===h?"":h,v=void 0===v?0:v,(A=H(Object,"values").call(Object,ki),H(A,"includes")).call(A,a.buttonType)||(a.buttonType="long"),(A=H(Object,"values").call(Object,bd),H(A,"includes")).call(A,a.buttonSizeMode)||(a.buttonSizeMode="static"),(A=H(Object,"values").call(Object,Xs),H(A,"includes")).call(A,a.buttonColor)||(a.buttonColor="black"),void 0!==a.allowedPaymentMethods&&!Array.isArray(a.allowedPaymentMethods)&&"object"==typeof a.allowedPaymentMethods&&null!==a.allowedPaymentMethods&&a.allowedPaymentMethods.hasOwnProperty("type")&&a.allowedPaymentMethods.hasOwnProperty("parameters")&&(a.allowedPaymentMethods=[a.allowedPaymentMethods]),function qb(a,l){l=l&&H(qo,"includes").call(qo,ii(l));var h=H(ca,"includes").call(ca,ii(Ar)),p=H(Xm,"includes").call(Xm,ii(Ar));return(google.payments.api.EnableDynamicGpayButtonForTesting||google.payments.api.EnableDynamicGpayButton||h)&&!l&&!p&&("long"===a.buttonType||"buy"===a.buttonType||google.payments.api.EnableDynamicGpayButtonForPayButton&&"pay"===a.buttonType||google.payments.api.EnableDynamicGpayButtonForPlainButton&&"plain"===a.buttonType)}(a,l)&&(p?.({eventType:13,isAnonymousUser:google.payments.api.IsAnonymousUser}),function Wb(a,l,h,p){if(void 0!==p)if(H(Vd,"includes").call(Vd,ii(a)))p.buttonVariant=1;else{var v=6===(a=Zo())||7===a,b=H(jd,"includes").call(jd,ii(Ar))&&"en"===h,w=H(hc,"includes").call(hc,ii(Ar))||function $d(){if(!fc)return!1;var a=H(Array,"from").call(Array,Array.prototype.slice.call(fc));if(!a||0===a.length)return!1;for(var l=(a=_e(a)).next();!l.done;l=a.next()){l=l.value;try{var h=ii(new URL(l).hostname);if(H(hc,"includes").call(hc,h))return!0}catch{}}return!1}();if(google.payments.api.EnableRlmiaButtonAnimation&&w)p.buttonVariant=9;else if(google.payments.api.EnableRlmiaSmallerText&&w)p.buttonVariant=10;else{if(w=google.payments.api.EnableOlympicsButtonAnimation,(!v||!b)&&(google.payments.api.LogOlympicsButtonAnimation&&(p.olympicsAnimationConditionsMet=!0),w))return void(p.buttonVariant=8);if(2===a){if("pt"===h&&void 0!==l)for(h=(l=_e(l)).next();!h.done;h=l.next())if("CARD"===(a=h.value).type)for(h=void 0,a=null==(h=a.parameters)?void 0:h.allowedCardNetworks,a=(h=_e(a)).next();!a.done;a=h.next())if(H(wd,"includes").call(wd,a.value))return void(p.buttonVariant=2);p.buttonVariant=1}else p.buttonVariant=v&&!b?1:a}}}(l,a.allowedPaymentMethods||[],Fi(a.buttonLocale)||"",a),!google.payments.api.ForceDisableDynamicGpayButton&&1!=google.payments.api.ButtonTypePolicyInPayjs))return function eg(a,l,h,p){p=void 0===p?0:p,H(dc,"includes").call(dc,a.buttonRootNode||document)||(Nn("\n .gpay-card-info-container {\n padding: 0;\n position: relative;\n min-width: 240px;\n height: 40px;\n min-height: 40px;\n border-radius: 4px;\n box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 1px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;\n cursor: pointer;\n border: 0px;\n }\n\n .gpay-card-info-container.black,\n .gpay-card-info-animation-container.black {\n background-color: #000;\n box-shadow: none;\n }\n\n .gpay-card-info-container.white,\n .gpay-card-info-animation-container.white {\n background-color: #fff;\n }\n\n .gpay-card-info-container.black.border-inset,\n .gpay-card-info-animation-container.black.border-inset {\n outline: 1px solid #757575;\n outline-offset: -1px;\n }\n\n .gpay-card-info-container.white.border-inset,\n .gpay-card-info-animation-container.white.border-inset {\n outline: 1px solid #3C4043;\n outline-offset: -1px;\n }\n\n .gpay-card-info-container.black.active {\n background-color: #5f6368;\n }\n\n .gpay-card-info-container.black.hover,\n .gpay-card-info-animation-container.black.hover {\n background-color: #3c4043;\n }\n\n .gpay-card-info-container.white.active {\n background-color: #fff;\n }\n\n .gpay-card-info-container.white.focus {\n box-shadow: #e8e8e8 0 1px 1px 0, #e8e8e8 0 1px 3px;\n }\n\n .gpay-card-info-container.white.hover,\n .gpay-card-info-animation-container.white.hover {\n background-color: #f8f8f8;\n }\n\n .gpay-card-info-iframe {\n border: 0;\n display: block;\n height: 100%;\n margin: auto;\n max-width: 100%;\n width: 240px;\n }\n\n .gpay-card-info-container-fill .gpay-card-info-iframe{\n position: absolute;\n top: 0;\n height: 100%;\n width: 100%;\n }\n\n .gpay-card-info-container-fill,\n .gpay-card-info-container-fill > .gpay-card-info-container{\n width: 100%;\n height: inherit;\n }\n\n\n .gpay-card-info-container-fill .gpay-card-info-placeholder-container {\n align-items: center;\n justify-content: center;\n width: 100%;\n padding-top: 3px;\n box-sizing: border-box;\n overflow: hidden;\n }\n\n .gpay-card-info-container-fill .gpay-card-info-placeholder-svg-container{\n position: relative;\n width: 60%;\n height: inherit;\n max-height: 80%;\n margin-right: -20%;\n }\n\n .gpay-card-info-container-fill .gpay-card-info-placeholder-svg-container > svg {\n position: absolute;\n left: 0;\n height: 100%;\n max-width: 100%;\n }\n",a.buttonRootNode),Nn('\n .gpay-card-info-animation-container {\n display: flex;\n width:100%;\n position: absolute;\n z-index: 100;\n height: 40px;\n border-radius: 4px;\n }\n\n .gpay-card-info-placeholder-container {\n display: flex;\n width: 100%;\n height: 100%;\n margin: auto;\n justify-content: center;\n }\n\n .gpay-card-info-animated-progress-bar-container {\n display: flex;\n box-sizing: border-box;\n position: absolute;\n width: 100%;\n }\n\n .gpay-card-info-animated-progress-bar-container.border-inset {\n z-index: -1;\n }\n\n .gpay-card-info-animated-progress-bar {\n border-radius: 4px 4px 0px 0px;\n animation-duration: 0.5s;\n animation-fill-mode: forwards;\n animation-iteration-count: 1;\n animation-name: gpayProgressFill;\n animation-timing-function: cubic-bezier(0.97, 0.33, 1, 1);\n background: #caccce;\n width: 100%;\n height: 3px;\n max-height: 3px;\n }\n\n .gpay-card-info-animated-progress-bar-indicator {\n border-radius: 4px 4px 0px 0px;\n max-width: 20px;\n min-width: 20px;\n height: 3px;\n max-height: 3px;\n background: linear-gradient(to right, #caccce 30%, #acaeaf 60%);\n animation-delay: 0.5s;\n animation-duration: 1.7s;\n animation-fill-mode: forwards;\n animation-iteration-count: infinite;\n animation-name: gpayPlaceHolderShimmer;\n }\n\n .gpay-card-info-animated-progress-bar.no-radius {\n border-radius: 0;\n }\n\n .gpay-card-info-animated-progress-bar-indicator.no-radius {\n border-radius: 0;\n }\n\n .gpay-card-info-iframe-fade-in {\n animation-fill-mode: forwards;\n animation-duration: 0.6s;\n animation-name: gpayIframeFadeIn;\n }\n\n .gpay-card-info-animation-container-fade-out {\n animation-fill-mode: forwards;\n animation-duration: 0.6s;\n animation-name: gpayPlaceHolderFadeOut;\n }\n\n .gpay-card-info-animation-gpay-logo {\n margin: 13px 7px 0px 39px;\n background-origin: content-box;\n background-position: center center;\n background-repeat: no-repeat;\n background-size: contain;\n height: 17px;\n max-height: 17px;\n max-width: 41px;\n min-width: 41px;\n }\n\n .gpay-card-info-animation-gpay-logo.black {\n background-image: url("https://www.gstatic.com/instantbuy/svg/dark_gpay.svg");\n }\n\n .gpay-card-info-animation-gpay-logo.white {\n background-image: url("https://www.gstatic.com/instantbuy/svg/light_gpay.svg");\n }\n\n @keyframes gpayPlaceHolderShimmer{\n 0% {\n margin-left: 0px;\n }\n 100% {\n margin-left: calc(100% - 20px);\n }\n }\n\n @keyframes gpayIframeFadeIn {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n }\n\n @keyframes gpayPlaceHolderFadeOut {\n from {\n opacity: 1;\n }\n\n to {\n opacity: 0;\n }\n }\n\n @keyframes gpayProgressFill {\n from {\n width: 0;\n }\n to {\n width: 100%;\n }\n }\n\n .gpay-card-info-container-fill .gpay-card-info-animation-container{\n top: 0;\n width: 100%;\n height: 100%;\n }\n\n .gpay-card-info-container-fill .gpay-card-info-animation-gpay-logo{\n background-position: right;\n margin: 0 0 0 0;\n max-width: none;\n width: 25%;\n height:inherit;\n max-height: 50%;\n }\n\n',a.buttonRootNode),google.payments.api.EnableGpayButtonDynamicRadius&&Nn("\n .gpay-card-info-container.black,\n .gpay-button.black {\n outline: 1px solid #757575;\n box-shadow: none;\n }\n .gpay-card-info-container.black.focus,\n .gpay-button.black.focus {\n outline: 1px auto Highlight;\n outline: 1px auto -webkit-focus-ring-color;\n box-shadow: none;\n }\n .gpay-card-info-container.white,\n .gpay-button.white {\n outline: 1px solid #3C4043;\n box-shadow: none;\n }\n .gpay-card-info-container.white.focus,\n .gpay-button.white.focus {\n outline: 1px auto Highlight;\n outline: 1px auto -webkit-focus-ring-color;\n box-shadow: none;\n }\n",a.buttonRootNode||document),5===Zo()&&Nn("\n .gpay-card-info-container,\n .gpay-button {\n overflow: hidden;\n }\n",a.buttonRootNode||document),dc.push(a.buttonRootNode||document));var v=Ud(a),b=document.createElement("button");Hd(b,a),0!==a.buttonVariant&&function tg(a,l){var h=Fi(l.buttonLocale,!0);7===l.buttonVariant?a.setAttribute("aria-label",Qs.GPAY_BUTTON_VARIANT_TYPE_BNPL_CARD[h]):6===l.buttonVariant?a.setAttribute("aria-label",Qs.GPAY_BUTTON_VARIANT_TYPE_BNPL_ONLY[h]):8===l.buttonVariant?("buy"!==(l=l.buttonType)&&"pay"!==l&&"plain"!==l&&(l="buy"),h in(l=Qs.GPAY_BUTTON_VARIANT_TYPE_OLYMPICS[l])||(h="en"),a.setAttribute("aria-label",l[h])):9===l.buttonVariant&&(h in(l=Qs.GPAY_BUTTON_VARIANT_TYPE_RLMIA)||(h="en"),a.setAttribute("aria-label",l[h]))}(b,a),v=(-1658203989===ii(Ar)?"gpay-button":"")+" gpay-card-info-container "+v,b.setAttribute("id","gpay-button-online-api-id"),b.setAttribute("class",v),Gd([b],a),google.payments.api.EnableButtonBorderInset&&b.classList.add("border-inset");var w=document.createElement("div");w.setAttribute("class",Yo(a)?"gpay-card-info-animation-container white":"gpay-card-info-animation-container black"),google.payments.api.EnableButtonBorderInset&&w.classList.add("border-inset"),(v=document.createElement("div")).setAttribute("class","gpay-card-info-placeholder-container");var E=document.createElement("div");E.setAttribute("class",Yo(a)?"gpay-card-info-animation-gpay-logo white":"gpay-card-info-animation-gpay-logo black");var V=tc(Yo(a)?Am:Yu),O=document.createElement("div");O.setAttribute("class","gpay-card-info-animated-progress-bar-container"),google.payments.api.EnableButtonBorderInset&&O.classList.add("border-inset");var K=document.createElement("div");K.setAttribute("class","gpay-card-info-animated-progress-bar"),google.payments.api.EnableGpayButtonDynamicRadius&&K.classList.add("no-radius");var We=document.createElement("div");We.setAttribute("class","gpay-card-info-animated-progress-bar-indicator"),google.payments.api.EnableGpayButtonDynamicRadius&&We.classList.add("no-radius"),K.appendChild(We),v.appendChild(E),"fill"!==a.buttonSizeMode||(E=tc(Yo(a)?Ni:Js),(V=document.createElement("div")).appendChild(E),V.setAttribute("class","gpay-card-info-placeholder-svg-container")),v.appendChild(V),O.appendChild(K),w.appendChild(v),w.appendChild(O),pc(w),b.appendChild(w);var ht=document.createElement("iframe");ht.setAttribute("class","gpay-card-info-iframe"),ht.setAttribute("scrolling","no");e:if("TEST"==l&&null!=la&&""!=la)l=la+"/gp/p/generate_gpay_btn_img";else{if("SANDBOX"===l){l="https://pay.sandbox.google.com/gp/p/generate_gpay_btn_img";break e}l="https://pay.google.com/gp/p/generate_gpay_btn_img"}return l=new sr(l),Oi(l,"buttonColor",a.buttonColor),Oi(l,"browserLocale",Fi(a.buttonLocale)),Oi(l,"hl",Fi(a.buttonLocale)),Oi(l,"buttonSizeMode",a.buttonSizeMode),Array.isArray(a.allowedPaymentMethods)&&a.allowedPaymentMethods.length>0&&Oi(l,"allowedPaymentMethods",JSON.stringify(a.allowedPaymentMethods)),Oi(l,"gpayButtonVariantType",a.buttonVariant),Oi(l,"gpayButtonType",a.buttonType),ht.src=l.toString(),ht.onload=function(){ht.classList.add("gpay-card-info-iframe-fade-in"),w.classList.add("gpay-card-info-animation-container-fade-out"),google.payments.api.EnableFastPayFeatureDemo&&b.click()},a.onClick&&(google.payments.api.EnableCreateButtonApiOnClickLogging?b.addEventListener("click",function(){var Gt=Vo.apply(0,arguments);h?.({eventType:21,clientLatencyStartMs:Date.now()}),google.payments.api.EnableLoadingScreenForPopupMode&&zd(p),a.onClick.apply(a,Ye(Gt))}):b.addEventListener("click",a.onClick)),pc(b),b.appendChild(ht),l=document.createElement("div"),"fill"===a.buttonSizeMode&&l.setAttribute("class","gpay-card-info-container-fill"),l.appendChild(b),l}(a,h,p,v);!function mc(a){var l=Fi(a.buttonLocale,!0),h=a.buttonRootNode||document;H(Wo,"includes").call(Wo,h)||(Nn("\n.gpay-button {\n background-origin: content-box;\n background-position: center center;\n background-repeat: no-repeat;\n background-size: contain;\n border: 0px;\n border-radius: 4px;\n box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 1px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;\n cursor: pointer;\n height: 40px;\n min-height: 40px;\n padding: 12px 24px 10px;\n width: 240px;\n}\n\n.gpay-button.black {\n background-color: #000;\n box-shadow: none;\n}\n\n.gpay-button.white {\n background-color: #fff;\n}\n\n.gpay-button.black.border-inset,\n.gpay-button.black.border-inset {\n outline: 1px solid #757575;\n outline-offset: -1px;\n}\n\n.gpay-button.white.border-inset,\n.gpay-button.white.border-inset {\n outline: 1px solid #3C4043;\n outline-offset: -1px;\n}\n\n.gpay-button.short, .gpay-button.plain {\n min-width: 90px;\n width: 160px;\n}\n\n.gpay-button.black.short, .gpay-button.black.plain {\n background-image: url(https://www.gstatic.com/instantbuy/svg/dark_gpay.svg);\n}\n\n.gpay-button.white.short, .gpay-button.white.plain {\n background-image: url(https://www.gstatic.com/instantbuy/svg/light_gpay.svg);\n}\n\n.gpay-button.black.active {\n background-color: #5f6368;\n}\n\n.gpay-button.black.hover {\n background-color: #3c4043;\n}\n\n.gpay-button.white.active {\n background-color: #fff;\n}\n\n.gpay-button.white.focus {\n box-shadow: #e8e8e8 0 1px 1px 0, #e8e8e8 0 1px 3px;\n}\n\n.gpay-button.white.hover {\n background-color: #f8f8f8;\n}\n\n.gpay-button-fill, .gpay-button-fill > .gpay-button.white, .gpay-button-fill > .gpay-button.black {\n width: 100%;\n height: inherit;\n}\n\n.gpay-button-fill > .gpay-button.white,\n .gpay-button-fill > .gpay-button.black {\n padding: 12px 15% 10px;\n}\n\n.gpay-button.donate, .gpay-button.book,\n.gpay-button.checkout,\n.gpay-button.subscribe, .gpay-button.pay,\n.gpay-button.order {\n padding: 9px 24px;\n}\n\n.gpay-button-fill > .gpay-button.donate,\n.gpay-button-fill > .gpay-button.book,\n.gpay-button-fill > .gpay-button.checkout,\n.gpay-button-fill > .gpay-button.order,\n.gpay-button-fill > .gpay-button.pay,\n.gpay-button-fill > .gpay-button.subscribe {\n padding: 9px 15%;\n}\n\n",h),google.payments.api.EnableGpayButtonDynamicRadius&&Nn("\n .gpay-card-info-container.black,\n .gpay-button.black {\n outline: 1px solid #757575;\n box-shadow: none;\n }\n .gpay-card-info-container.black.focus,\n .gpay-button.black.focus {\n outline: 1px auto Highlight;\n outline: 1px auto -webkit-focus-ring-color;\n box-shadow: none;\n }\n .gpay-card-info-container.white,\n .gpay-button.white {\n outline: 1px solid #3C4043;\n box-shadow: none;\n }\n .gpay-card-info-container.white.focus,\n .gpay-button.white.focus {\n outline: 1px auto Highlight;\n outline: 1px auto -webkit-focus-ring-color;\n box-shadow: none;\n }\n",h),5===Zo()&&Nn("\n .gpay-card-info-container,\n .gpay-button {\n overflow: hidden;\n }\n",h),Wo.push(h),ua.push([]));var p=Wo.indexOf(h),v=Yo(a)?"white":"black",b=l+"_"+a.buttonType+"_"+v,w=a.buttonType;if(w&&"short"!=w&&"plain"!=w&&!H(ua[p],"includes").call(ua[p],b)){w="white"===v?"light":"dark";var E="long"===(a=a.buttonType)?ao.buy[l]:ao[a||"buy"][l];Nn("long"==a||"buy"==a?"\n .gpay-button."+v+".long."+l+", .gpay-button."+v+".buy."+l+" {\n background-image: url(https://www.gstatic.com/instantbuy/svg/"+w+"/"+l+".svg);\n min-width: "+E+"px;\n }":"\n .gpay-button."+v+"."+a+"."+l+" {\n background-image: url(https://www.gstatic.com/instantbuy/svg/"+w+"/"+a+"/"+l+".svg);\n min-width: "+E+"px;\n }\n ",h),ua[p].push(b)}}(a);var b=document.createElement("button");if(Hd(b,a),"default"==a.buttonColor&&(a.buttonColor="black"),l=Ud(a),b.setAttribute("class","gpay-button "+l),b.setAttribute("id","gpay-button-online-api-id"),pc(b),Gd([b],a),google.payments.api.EnableButtonBorderInset&&b.classList.add("border-inset"),!a.onClick)throw Error("Parameter 'onClick' must be set.");return google.payments.api.EnableCreateButtonApiOnClickLogging?b.addEventListener("click",function(){var w=Vo.apply(0,arguments);p?.({eventType:21,clientLatencyStartMs:Date.now()}),google.payments.api.EnableLoadingScreenForPopupMode&&zd(v),a.onClick.apply(a,Ye(w))}):b.addEventListener("click",a.onClick),l=document.createElement("div"),"fill"===a.buttonSizeMode&&l.setAttribute("class","gpay-button-fill"),l.appendChild(b),google.payments.api.EnableFastPayFeatureDemo&&setTimeout(function(){return b.click()},100),l}(a,this.Ob,this.m,function(h){return je(h)},this.l.mode);return null!=a.buttonVariant&&(this.B.buttonVariant=Number(a.buttonVariant)),null!=a.olympicsAnimationConditionsMet&&(this.B.olympicsAnimationConditionsMet=a.olympicsAnimationConditionsMet),je({eventType:2,clientLatencyStartMs:Date.now(),buyFlowActivityReason:this.l.s,softwareInfo:xt(this),merchantInfo:Ht(this),buttonInfo:this.B}),l},F.O=function(){google.payments.api.EnableFocusPaymentSheetApi&&(je({eventType:34,buyFlowMode:this.I,buyFlowActivityReason:this.l.s,softwareInfo:xt(this),merchantInfo:Ht(this)}),this.T.O())},F.Yb=function(a){var l=this;(a=a.then(function(h){if(google.payments.api.LogInternally&&console.log("payment data",h),h.error){var p=Error();throw p.statusCode=h.error.statusCode,p.statusMessage=h.error.statusMessage,$n({M:"loadPaymentData",errorMessage:p.statusMessage}),p}return h})).then(function(h){google.payments.api.LogInternally&&console.log("payment data resolve to ",h),je({eventType:1,clientLatencyStartMs:l.vb,buyFlowMode:l.I,buyFlowActivityReason:l.l.s,softwareInfo:xt(l),merchantInfo:Ht(l),buttonInfo:l.B})}).catch(function(h){google.payments.api.LogInternally&&console.log("payment data has error",h),je(h.errorCode?{eventType:1,error:h.errorCode,buyFlowMode:l.I,buyFlowActivityReason:l.l.s,softwareInfo:xt(l),merchantInfo:Ht(l),buttonInfo:l.B}:{eventType:1,error:6,buyFlowMode:l.I,buyFlowActivityReason:l.l.s,softwareInfo:xt(l),merchantInfo:Ht(l),buttonInfo:l.B})}),this.qa(a)},F.xa=function(a){var l={googleTransactionId:Ee,usingPayJs:!0};a.i=a.i?H(Object,"assign").call(Object,l,a.i):l,a.i.firstPartyMerchantIdentifier&&delete a.i.firstPartyMerchantIdentifier,this.v.i&&this.v.i.firstPartyMerchantIdentifier&&(a.i.firstPartyMerchantIdentifier=this.v.i.firstPartyMerchantIdentifier)},W.prototype.focusPaymentSheet=W.prototype.O,W.prototype.createButton=W.prototype.createButton,W.prototype.loadPaymentDataAsync=W.prototype.Vb,W.prototype.loadPaymentData=W.prototype.loadPaymentData,W.prototype.notifyAvailableOffers=W.prototype.notifyAvailableOffers,W.prototype.prefetchPaymentData=W.prototype.prefetchPaymentData,W.prototype.isReadyToPay=W.prototype.isReadyToPay;var is=null,wa=null,os=function(a,l){l=void 0!==l&&l,this.pb=a,this.s=[],null!=window.navigator.userAgent.match(/Android|iPhone|iPad|iPod|BlackBerry|IEMobile/i)?(this.s.push(37),a=!1):(a=window.navigator.userAgent.match(/Chrome\/([0-9]+)\./i),"PaymentRequest"in window&&null!=a&&Number(a[1])>=70&&"Google Inc."==window.navigator.vendor?(this.s.push(98),this.pb.paymentDataCallbacks&&this.s.push(97),a=!0):(this.s.push(36),a=!1)),this.ua=a,this.Sa=bg(this),this.mode=2,l?(this.s=[38],this.mode=1):this.Sa&&this.ua?this.mode=5:this.Sa&&(this.mode=4),this.pb.paymentDataCallbacks&&this.s.push(1)},li=function(a){return!0===(a.i&&a.i.disableNative)},Ca=function(a,l,h){return 2===a.mode||1===a.mode?a.mode:li(l)?(h.push(3),2):!wa&&(a.ua||google.payments.api.UseCanMakePaymentForFallbackOnMobile&&a.Sa)?(h.push(40),2):a.ua&&l.swg?(h.push(5),2):a.mode},_g=function(a,l,h){return Lo(function(p){return 1==p.X?2===a.mode||1===a.mode?p.return(a.mode):li(l)?(h.push(3),p.return(2)):ro(p,Lo(function(a){return 1==a.X?null!=wa?a.return(wa):is?(a.ob=2,ro(a,is,4)):a.return(!1):2!=a.X?a.return(a.Xa):(a.ob=0,a.wa=null,a.return(!1))}),2):!p.Xa&&(a.ua||google.payments.api.UseCanMakePaymentForFallbackOnMobile&&a.Sa)?(h.push(40),p.return(2)):a.ua&&l.swg?(h.push(5),p.return(2)):p.return(a.mode)})},bg=function(a){if(!window.PaymentRequest)return a.s.push(41),!1;var l=-1!==window.navigator.userAgent.indexOf("OPT/"),h=-1!==window.navigator.userAgent.indexOf("SamsungBrowser/");return-1!==window.navigator.userAgent.indexOf("OPR/")||l||h?(a.s.push(35),!1):!(!a.ua&&(google.payments.api.EnablePaymentRequest?(l=window.navigator.userAgent.match(/Android/i),h=window.navigator.userAgent.match(/Chrome\/([0-9]+)\./i),null!=l&&"PaymentRequest"in window&&"Google Inc."==window.navigator.vendor&&null!=h&&Number(h[1])>=59?a.pb.paymentDataCallbacks&&(Number(h[1])<92||(a.s.push(96),!google.payments.api.EnableDynamicUpdateForClank&&(a.s.push(42),1))):(a.s.push(34),1)):(a.s.push(3),1)))};zu("google.payments.api.PaymentsAsyncClient",W),W.prototype.isReadyToPay=W.prototype.isReadyToPay,W.prototype.prefetchPaymentData=W.prototype.prefetchPaymentData,W.prototype.loadPaymentData=W.prototype.loadPaymentData,W.prototype.createButton=W.prototype.createButton,W.prototype.notifyAvailableOffers=W.prototype.notifyAvailableOffers,W.prototype.focusPaymentSheet=W.prototype.O;var Or=function(){var a=Error.call(this,"This method can only be called one at a time");this.message=a.message,"stack"in a&&(this.stack=a.stack)},Li=Error;if((Or.prototype=jt(Li.prototype)).constructor=Or,Ce)Ce(Or,Li);else for(var ur in Li)if("prototype"!=ur)if(Object.defineProperties){var ff=Object.getOwnPropertyDescriptor(Li,ur);ff&&Object.defineProperty(Or,ur,ff)}else Or[ur]=Li[ur];Or.Da=Li.prototype;var Ae=function(a,l){a=void 0===a?{}:a,this.Bc=function Wm(a){for(var l=1;l<arguments.length;l++)a=Od(a,arguments[l]);return a}({},window.gpayMerchantIdFromUrl?{merchantInfo:{merchantId:window.gpayMerchantIdFromUrl}}:{},window.gpayInitParams,a),this.ya=new W(this.Bc,this.Fc.bind(this),l),this.Na=null};(F=Ae.prototype).Fc=function(a){this.Na(a)},F.isReadyToPay=function(a){return this.ya.isReadyToPay(a)},F.prefetchPaymentData=function(a){this.ya.prefetchPaymentData(a)},F.notifyAvailableOffers=function(){},F.loadPaymentData=function(a){var l=this;return new z.Promise(function(h,p){if(l.Na)throw new Or;l.Na=h,google.payments.api.EnableCanMakePaymentConsistency?l.ya.Vb(a).catch(p):l.ya.loadPaymentData(a)}).then(function(h){return l.Na=null,h},function(h){throw h instanceof Or||(l.Na=null),h})},F.createButton=function(a){return this.ya.createButton(a=void 0===a?{}:a)},F.O=function(){this.ya.O()},Ae.prototype.createButton=Ae.prototype.createButton,Ae.prototype.loadPaymentData=Ae.prototype.loadPaymentData,Ae.prototype.notifyAvailableOffers=Ae.prototype.notifyAvailableOffers,Ae.prototype.prefetchPaymentData=Ae.prototype.prefetchPaymentData,Ae.prototype.isReadyToPay=Ae.prototype.isReadyToPay,zu("google.payments.api.PaymentsClient",Ae),Ae.prototype.isReadyToPay=Ae.prototype.isReadyToPay,Ae.prototype.prefetchPaymentData=Ae.prototype.prefetchPaymentData,Ae.prototype.loadPaymentData=Ae.prototype.loadPaymentData,Ae.prototype.createButton=Ae.prototype.createButton,Ae.prototype.notifyAvailableOffers=Ae.prototype.notifyAvailableOffers,Ae.prototype.focusPaymentSheet=Ae.prototype.O;try{is=new PaymentRequest([{supportedMethods:["https://google.com/pay"],data:{apiVersion:2,apiVersionMinor:0,allowedPaymentMethods:[{type:"CARD",parameters:{allowedAuthMethods:["PAN_ONLY","CRYPTOGRAM_3DS"],allowedCardNetworks:["VISA","MASTERCARD"]}}]}}],{total:{label:"Estimated Total Price",amount:{currency:"USD",value:"10"}}}).canMakePayment()}catch{is=z.Promise.resolve(!1)}is.then(function(a){return wa=a}).catch(function(){return wa=!1})}.call(this)}},F=>{F(F.s=88)}]);